From 8bf142dc217414810a6766ae6f0d318b0cca82e7 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期二, 16 五月 2023 10:45:51 +0800
Subject: [PATCH] page modify
---
src/main/webapp/static/wcs/layui/layui.js | 0
src/main/webapp/static/wcs/layui/font/iconfont.eot | 0
src/main/webapp/views/userLogin/userLogin.html | 16
src/main/webapp/views/userLogin/userLogin_detail.html | 16
src/main/webapp/static/wms/css/font/montserrat/Montserrat-ExtraBoldItalic.ttf | 0
src/main/webapp/static/wms/layuiadmin/layui/lay/modules/laytpl.js | 2
src/main/webapp/static/wms/js/nodeTree.js | 87
src/main/webapp/static/wms/image/nav/fn_3.png | 0
src/main/webapp/static/wms/image/instancing/cubemap_px.png | 0
src/main/webapp/views/report/viewStayTime.html | 16
src/main/webapp/static/wms/layui/font/iconfont.woff | 0
src/main/webapp/static/wms/layuiadmin/json/table/user.js | 2
src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/skin/4.jpg | 0
src/main/webapp/static/wcs/images/loginBg.jpg | 0
src/main/webapp/static/wcs/layui/css/modules/layer/default/layer.css | 0
src/main/webapp/static/wms/js/pakStore/emptyOut.js | 189
src/main/webapp/static/wcs/js/console.map.js | 0
src/main/webapp/static/wcs/layui/lay/modules/mobile.js | 0
src/main/webapp/static/wcs/layui/lay/modules/slider.js | 0
src/main/webapp/static/wms/layui/images/face/52.gif | 0
src/main/webapp/static/wms/layui/images/face/44.gif | 0
src/main/webapp/static/wcs/images/siteclose.png | 0
src/main/webapp/static/wms/layui/lay/modules/tableMerge.js | 75
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_list.scss | 0
src/main/webapp/static/wms/js/rowLastno/rowLastno.js | 482
src/main/webapp/static/wms/layer/theme/default/loading-1.gif | 0
src/main/webapp/static/wms/css/font/montserrat/Montserrat-BlackItalic.ttf | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/68.gif | 0
src/main/webapp/static/wms/layui/images/face/28.gif | 0
src/main/webapp/static/wms/layuiadmin/json/user/forget.js | 7
src/main/webapp/views/report/viewWorkIn.html | 16
src/main/webapp/static/wcs/layui/images/face/55.gif | 0
src/main/webapp/static/wms/css/font/montserrat/Montserrat-Light.ttf | 0
src/main/webapp/static/wms/layui/images/face/59.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/9.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/13.gif | 0
src/main/webapp/static/wcs/layui/images/face/71.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/2.gif | 0
src/main/webapp/static/wms/layui/lay/modules/notice/1.wav | 0
src/main/webapp/static/wcs/layui/images/face/0.gif | 0
src/main/webapp/static/wcs/layui/lay/modules/flow.js | 0
src/main/webapp/static/wms/layuiadmin/config.js | 102
src/main/webapp/static/wms/css/font/montserrat/Montserrat-Black.ttf | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/44.gif | 0
src/main/webapp/static/wcs/images/fork_l.png | 0
src/main/webapp/static/wcs/layui/images/face/31.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/60.gif | 0
src/main/webapp/static/wms/layuiadmin/style/admin.css | 535 +
src/main/webapp/static/wms/js/pakStore/locMove.js | 135
src/main/webapp/static/wms/layuiadmin/lib/admin.js | 866 +
src/main/webapp/static/wms/js/basWrkStatus/basWrkStatus.js | 441
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_variables.scss | 0
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_fixed-width.scss | 0
src/main/webapp/static/wms/js/stoMan/stoQue.js | 14
src/main/webapp/static/wms/layuiadmin/modules/message.js | 132
src/main/webapp/static/wcs/layui/images/face/7.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/29.gif | 0
src/main/webapp/static/wms/layuiadmin/modules/forum.js | 136
src/main/webapp/static/wms/layui/images/face/13.gif | 0
src/main/webapp/static/wms/layui/css/layui.css | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/37.gif | 0
src/main/webapp/static/wcs/css/animate.min.css | 0
src/main/webapp/static/wms/layuiadmin/modules/sample.js | 299
src/main/webapp/static/wms/layuiadmin/json/layim/getMembers.js | 67
src/main/webapp/static/wms/layui/images/face/2.gif | 0
src/main/webapp/static/wms/js/report/locMap.js | 0
src/main/webapp/static/wcs/layui/images/face/16.gif | 0
src/main/webapp/static/wms/layui/css/modules/layer/default/icon.png | 0
src/main/webapp/static/wms/layui/images/face/60.gif | 0
src/main/webapp/static/wcs/images/wcs_logo.png | 0
src/main/webapp/static/wcs/layui/images/face/46.gif | 0
src/main/webapp/static/wms/layui/images/face/67.gif | 0
src/main/webapp/static/wms/layuiadmin/json/useradmin/role.js | 54
src/main/webapp/static/wms/js/operateLog/operateLog.js | 0
src/main/webapp/static/wms/layui/images/face/9.gif | 0
src/main/webapp/static/wcs/layui/images/face/63.gif | 0
src/main/webapp/static/wms/layuiadmin/json/说明.txt | 3
src/main/webapp/static/wms/layuiadmin/layui/images/face/52.gif | 0
src/main/webapp/views/api/api_detail.html | 16
src/main/webapp/static/wms/layuiadmin/layui/images/face/22.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/skin/3.jpg | 0
src/main/webapp/static/wcs/js/echarts/echarts.min.js | 0
src/main/webapp/static/wms/layuiadmin/json/mall/order.js | 42
src/main/webapp/static/wms/layui/lay/modules/util.js | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/14.gif | 0
src/main/webapp/static/wms/layui/images/face/68.gif | 0
src/main/webapp/static/wms/layuiadmin/style/res/bg-none.jpg | 0
src/main/webapp/static/wcs/css/animsition.css | 0
src/main/webapp/static/wcs/images/Crane_manual1.png | 0
src/main/webapp/static/wms/layui/images/face/43.gif | 0
src/main/webapp/static/wms/layui/lay/modules/laytpl.js | 0
src/main/webapp/static/wms/layuiadmin/layui/lay/modules/mobile/layer-mobile.js | 189
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/font-awesome.less | 0
src/main/webapp/static/wms/js/waitPakinLog/waitPakinLog.js | 482
src/main/webapp/static/wms/layui/images/face/35.gif | 0
src/main/webapp/static/wms/layui/css/modules/layer/default/icon-ext.png | 0
src/main/webapp/static/wms/layuiadmin/lib/index.js | 95
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_bordered-pulled.scss | 0
src/main/webapp/static/wms/layuiadmin/modules/console.js | 219
src/main/webapp/static/wms/js/tools/main.min.js | 2
src/main/webapp/static/wcs/layui/images/face/8.gif | 0
src/main/webapp/static/wms/layuiadmin/json/user/login.js | 7
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_stacked.scss | 0
src/main/webapp/static/wms/layuiadmin/layui/lay/modules/upload.js | 2
src/main/webapp/static/wms/js/report/workCountIn.js | 0
src/main/webapp/static/wms/js/basCrnOpt/basCrnOpt.js | 413
src/main/webapp/static/wcs/layui/images/face/38.gif | 0
src/main/webapp/static/wms/image/favicon.ico | 0
src/main/webapp/static/wms/layui/images/face/58.gif | 0
src/main/webapp/views/report/viewWorkCountIn.html | 16
src/main/webapp/static/wcs/layui/lay/modules/carousel.js | 0
src/main/webapp/static/wms/layui/images/face/29.gif | 0
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/fixed-width.less | 0
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_rotated-flipped.scss | 0
src/main/webapp/static/wms/layer/theme/default/loading-2.gif | 0
src/main/webapp/static/wcs/layui/images/face/24.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/font/iconfont.woff | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/69.gif | 0
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/css/font-awesome.css | 0
src/main/webapp/views/role/role.html | 16
src/main/webapp/static/wms/layui/images/face/20.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/1.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/lay/modules/layer.js | 2
src/main/webapp/static/wms/image/nav/bg_1.png | 0
src/main/webapp/static/wcs/images/logo.png | 0
src/main/webapp/static/wms/layuiadmin/json/table/demo2.js | 61
src/main/webapp/static/wms/layuiadmin/layui/lay/modules/rate.js | 2
src/main/webapp/static/wcs/layui/images/face/23.gif | 0
src/main/webapp/views/config/config.html | 16
src/main/webapp/static/wms/css/font/montserrat/Montserrat-SemiBold.ttf | 0
src/main/webapp/static/wms/layui/font/iconfont.eot | 0
src/main/webapp/static/wms/layuiadmin/json/message/all.js | 46
src/main/webapp/static/wms/layuiadmin/layui/images/face/19.gif | 0
src/main/webapp/static/wms/image/login_bg.jpg | 0
src/main/webapp/static/wcs/images/start48.png | 0
src/main/webapp/static/wms/layer/theme/default/icon-ext.png | 0
src/main/webapp/static/wms/layui/images/face/21.gif | 0
src/main/webapp/static/wcs/images/Crane_retrieve.png | 0
src/main/webapp/static/wcs/layui/lay/modules/laydate.js | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/53.gif | 0
src/main/webapp/static/wcs/layui/images/face/40.gif | 0
src/main/webapp/static/wms/css/font/montserrat/Montserrat-ExtraBold.ttf | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/36.gif | 0
src/main/webapp/static/wms/layuiadmin/modules/set.js | 153
src/main/webapp/static/wcs/layui/images/face/30.gif | 0
src/main/webapp/static/wms/layuiadmin/style/res/template/huge.jpg | 0
src/main/webapp/static/wcs/css/car_vue.css | 0
src/main/webapp/static/wms/layui/layer_mobile/layer.js | 2
src/main/webapp/static/wms/layuiadmin/json/layim/getList.js | 96
src/main/webapp/views/index.html | 20
src/main/webapp/static/wms/layer/theme/default/icon.png | 0
src/main/webapp/static/wms/layui/images/face/14.gif | 0
src/main/webapp/static/wms/js/adjDetl/adjDetl.js | 397
src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/mobile/layim.css | 2
src/main/webapp/static/wcs/layui/images/face/17.gif | 0
src/main/webapp/static/wcs/layui/images/face/56.gif | 0
src/main/webapp/static/wcs/images/line.png | 0
src/main/webapp/static/wcs/layui/layui.all.js | 0
src/main/webapp/static/wms/layui/images/face/36.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/css/modules/layer/default/layer.css | 2
src/main/webapp/static/wcs/layui/images/face/39.gif | 0
src/main/webapp/static/wms/js/mat/mat.js | 480
src/main/webapp/static/wms/layui/images/face/53.gif | 0
src/main/webapp/static/wms/layui/images/face/8.gif | 0
src/main/webapp/static/wms/layui/images/face/19.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/21.gif | 0
src/main/webapp/static/wms/layui/lay/modules/jquery.js | 0
src/main/webapp/static/wcs/images/status_bar_1.png | 0
src/main/webapp/static/wms/css/admin.css | 0
src/main/webapp/static/wms/layui/lay/modules/rate.js | 0
src/main/webapp/static/wcs/layui/images/face/62.gif | 0
src/main/webapp/static/wms/js/wrkDetlLog/wrkDetlLog.js | 484
src/main/webapp/static/wms/css/tree.css | 0
src/main/webapp/static/wcs/layui/images/face/45.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/70.gif | 0
src/main/webapp/static/wms/css/font/montserrat/Montserrat-Thin.ttf | 0
src/main/webapp/static/wms/js/role/rolePower.js | 0
src/main/webapp/static/wms/layuiadmin/layui/font/iconfont.eot | 0
src/main/webapp/static/wms/layuiadmin/layui/layui.js | 2
src/main/webapp/views/404.html | 2
src/main/webapp/static/wms/js/pack/pack.js | 260
src/main/webapp/static/wms/layui/images/face/50.gif | 0
src/main/webapp/static/wms/layuiadmin/json/console/top-card.js | 76
src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/voice/default.mp3 | 0
src/main/webapp/static/wms/layui/lay/modules/form.js | 0
src/main/webapp/views/home/map_edit.html | 2
src/main/webapp/static/wms/layuiadmin/layui/css/modules/layer/default/loading-2.gif | 0
src/main/webapp/views/report/viewStockUse.html | 16
src/main/webapp/views/wrkMastLog/wrkMastLog_detail.html | 16
src/main/webapp/static/wms/js/tagTree.js | 86
src/main/webapp/static/wms/js/docType/docType.js | 279
src/main/webapp/static/wcs/images/Popup-yellow.png | 0
src/main/webapp/static/wcs/layui/images/face/29.gif | 0
src/main/webapp/static/wms/image/nav/fn_1.png | 0
src/main/webapp/static/wms/js/echarts/echarts.min.js | 0
src/main/webapp/static/wms/js/orderTable.js | 173
src/main/webapp/static/wms/layui/images/face/3.gif | 0
src/main/webapp/static/wms/layui/lay/modules/layer.js | 0
src/main/webapp/static/wms/layui/images/face/18.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/lay/modules/mobile/upload-mobile.js | 166
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_core.scss | 0
src/main/webapp/static/wms/layui/lay/modules/upload.js | 0
src/main/webapp/static/wms/layuiadmin/json/user/logout.js | 5
src/main/webapp/views/basErrLog/basErrLog.html | 16
src/main/webapp/static/wcs/js/layer/mobile/layer.js | 0
src/main/webapp/static/wcs/images/bscanner.png | 0
src/main/webapp/static/wms/js/basWrkIotype/basWrkIotype.js | 443
src/main/webapp/static/wcs/css/index.css | 0
src/main/webapp/static/wms/image/instancing/cubemap_pz.png | 0
src/main/webapp/static/wms/layuiadmin/layui/lay/modules/table.js | 2
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_screen-reader.scss | 0
src/main/webapp/static/wms/image/Excel.png | 0
src/main/webapp/static/wcs/layui/images/face/37.gif | 0
src/main/webapp/static/wms/layui/lay/modules/notice/notice.css | 0
src/main/webapp/static/wms/css/font/montserrat/Montserrat-SemiBoldItalic.ttf | 0
src/main/webapp/static/wms/image/nav/icon.png | 0
src/main/webapp/static/wms/layui/images/face/46.gif | 0
src/main/webapp/static/wcs/layui/images/face/41.gif | 0
src/main/webapp/static/wms/js/waitPakin/waitPakin.js | 513
src/main/webapp/static/wms/js/orderSettle/orderSettle.js | 256
src/main/webapp/static/wcs/layui/images/face/5.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/27.gif | 0
src/main/webapp/static/wcs/layui/images/face/14.gif | 0
src/main/webapp/static/wcs/layui/images/face/57.gif | 0
src/main/webapp/static/wms/layui/images/face/0.gif | 0
src/main/webapp/static/wms/css/font/montserrat/Montserrat-Regular.ttf | 0
src/main/webapp/static/wcs/layui/lay/modules/code.js | 0
src/main/webapp/static/wms/layui/images/face/30.gif | 0
src/main/webapp/static/wcs/layui/images/face/65.gif | 0
src/main/webapp/static/wms/js/config/config.js | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/54.gif | 0
src/main/webapp/static/wms/layui/images/face/65.gif | 0
src/main/webapp/static/wcs/layui/images/face/22.gif | 0
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_icons.scss | 0
src/main/webapp/static/wms/layuiadmin/layui/lay/modules/util.js | 2
src/main/webapp/static/wcs/images/cancellation.png | 0
src/main/webapp/static/wms/layui/lay/modules/dropdown/dropdown.css | 0
src/main/webapp/static/wms/layui/images/face/22.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/11.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/20.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/63.gif | 0
src/main/webapp/static/wms/layuiadmin/json/table/user30.js | 2
src/main/webapp/static/wms/layui/lay/modules/xmSelect.js | 0
src/main/webapp/static/wcs/images/status_bar_2.png | 0
src/main/webapp/static/wcs/css/crn.css | 0
src/main/webapp/static/wms/js/permission/permission.js | 0
src/main/webapp/static/wms/js/tools/anime.min.js | 33
src/main/webapp/static/wms/layuiadmin/lib/extend/echarts.js | 39
src/main/webapp/views/permission/permission.html | 16
src/main/webapp/static/wcs/layui/lay/modules/colorpicker.js | 0
src/main/webapp/views/home/navigation.html | 26
src/main/webapp/static/wms/css/font/montserrat/Montserrat-BoldItalic.ttf | 0
src/main/webapp/static/wms/layui/lay/modules/tree.js | 0
src/main/webapp/static/wms/js/user/user.js | 2
src/main/webapp/static/wms/layuiadmin/json/message/direct.js | 46
src/main/webapp/views/wrkMastLog/wrkDetlLog.html | 16
src/main/webapp/static/wms/layuiadmin/layui/css/layui.css | 2
src/main/webapp/static/wms/layui/lay/modules/element.js | 0
src/main/webapp/static/wcs/js/jquery/jquery-3.3.1.min.js | 0
src/main/webapp/static/wcs/layui/images/face/50.gif | 0
src/main/webapp/static/wcs/js/layer/mobile/need/layer.css | 0
src/main/webapp/static/wms/layui/images/face/37.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/35.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/lay/modules/mobile/zepto.js | 1646 +++
src/main/webapp/static/wms/image/nav/fn_2.png | 0
src/main/webapp/static/wms/layui/images/face/17.gif | 0
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/font-awesome.scss | 0
src/main/webapp/static/wcs/layui/images/face/36.gif | 0
src/main/webapp/static/wms/layui/images/face/51.gif | 0
src/main/webapp/static/wms/layuiadmin/json/user/resetpass.js | 7
src/main/webapp/static/wms/layuiadmin/layui/images/face/40.gif | 0
src/main/webapp/static/wcs/layui/images/face/70.gif | 0
src/main/webapp/static/wms/css/common.css | 225
src/main/webapp/static/wms/layuiadmin/json/useradmin/mangadmin.js | 78
src/main/webapp/static/wms/layuiadmin/layui/images/face/49.gif | 0
src/main/webapp/static/wms/js/staDesc/staDesc.js | 618 +
src/main/webapp/static/wms/css/road.css | 0
src/main/webapp/static/wms/layuiadmin/layui/lay/modules/carousel.js | 2
src/main/webapp/static/wcs/images/stop48.png | 0
src/main/webapp/static/wms/js/wrkLastno/wrkLastno.js | 475
src/main/webapp/static/wms/layuiadmin/lib/extend/echartsTheme.js | 267
src/main/webapp/static/wms/js/basPlcerror/basPlcerror.js | 369
src/main/webapp/static/wms/layui/css/modules/layer/default/layer.css | 0
src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/layim.css | 2
src/main/webapp/static/wcs/js/layer/theme/default/icon.png | 0
src/main/webapp/static/wms/css/font/montserrat/Montserrat-ThinItalic.ttf | 0
src/main/webapp/static/wms/js/report/inOut.js | 0
src/main/webapp/static/wms/layer/theme/default/loading-0.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/lay/modules/layim.js | 3
src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/skin/5.jpg | 0
src/main/webapp/static/wcs/css/pipeline.css | 0
src/main/webapp/static/wms/layui/lay/modules/slider.js | 0
src/main/webapp/static/wms/image/instancing/cubemap_py.png | 0
src/main/webapp/static/wms/layuiadmin/style/res/logo-black.png | 0
src/main/webapp/static/wms/js/handlebars/handlebars-v4.5.3.js | 0
src/main/webapp/static/wms/js/report/workOut.js | 0
src/main/webapp/static/wms/js/wrkDetl/wrkDetl.js | 486
src/main/webapp/static/wms/layuiadmin/json/forum/list.js | 62
src/main/webapp/static/wms/layuiadmin/layui/images/face/55.gif | 0
src/main/webapp/static/wms/layuiadmin/style/template.css | 162
src/main/webapp/static/wms/layuiadmin/layui/images/face/12.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/3.gif | 0
src/main/webapp/static/wms/layui/lay/modules/notice/2.wav | 0
src/main/webapp/static/wms/layui/images/face/45.gif | 0
src/main/webapp/static/wcs/layui/images/face/42.gif | 0
src/main/webapp/views/wrkMastLog/wrkMastLog.html | 16
src/main/webapp/static/wms/js/report/reportStockUse.js | 0
src/main/webapp/static/wms/layui/lay/modules/treeTable.js | 0
src/main/webapp/static/wms/layuiadmin/json/table/demo.js | 96
src/main/webapp/static/wms/image/nav/fn_3_h.png | 0
src/main/webapp/static/wms/js/basCrnStatus/basCrnStatus.js | 473
src/main/webapp/static/wms/layuiadmin/layui/images/face/61.gif | 0
src/main/webapp/static/wms/js/manLocDetl/manLocDetl.js | 559 +
src/main/webapp/static/wcs/js/cool.js | 0
src/main/webapp/static/wcs/layui/css/layui.css | 0
src/main/webapp/static/wcs/layui/images/face/6.gif | 0
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_animated.scss | 0
src/main/webapp/static/wms/layui/images/face/38.gif | 0
src/main/webapp/static/wcs/images/Crane_auto.png | 0
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_path.scss | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/62.gif | 0
src/main/webapp/static/wms/image/nav/fn_1_h.png | 0
src/main/webapp/static/wms/js/locDetl/locDetl.js | 557 +
src/main/webapp/static/wms/layuiadmin/layui/css/modules/laydate/default/laydate.css | 2
src/main/webapp/static/wms/image/instancing/cubemap_nx.png | 0
src/main/webapp/static/wms/layuiadmin/tpl/说明.txt | 3
src/main/webapp/static/wms/layuiadmin/layui/images/face/4.gif | 0
src/main/webapp/static/wms/layuiadmin/modules/user.js | 65
src/main/webapp/static/wcs/images/Crane_hptoohp.png | 0
src/main/webapp/static/wms/css/font/montserrat/Montserrat-MediumItalic.ttf | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/28.gif | 0
src/main/webapp/static/wcs/css/render.css | 0
src/main/webapp/static/wms/layuiadmin/json/upload/demo.js | 7
src/main/webapp/static/wms/layuiadmin/tpl/system/about.html | 21
src/main/webapp/static/wms/image/nav/fn_2_h.png | 0
src/main/webapp/static/wms/layui/images/face/23.gif | 0
src/main/webapp/static/wms/js/wrkMastLog/wrkMastLog.js | 0
src/main/webapp/static/wms/layui/css/modules/layer/default/loading-0.gif | 0
src/main/webapp/static/wcs/layui/images/face/64.gif | 0
src/main/webapp/static/wms/layui/lay/modules/notice/3.wav | 0
src/main/webapp/static/wcs/layui/images/face/21.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/lay/modules/element.js | 2
src/main/webapp/static/wms/layui/images/face/66.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/34.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/lay/modules/flow.js | 2
src/main/webapp/static/wms/layuiadmin/tpl/layim/demo.html | 25
src/main/webapp/static/wcs/images/Crane_loctoloc.png | 0
src/main/webapp/static/wms/layui/layui.all.js | 0
src/main/webapp/static/wms/css/main.min.css | 0
src/main/webapp/static/wms/layuiadmin/layui/lay/modules/jquery.js | 5
src/main/webapp/static/wms/css/font/montserrat/Montserrat-Bold.ttf | 0
src/main/webapp/static/wms/layui/font/iconfont.ttf | 0
src/main/webapp/static/wcs/layui/lay/modules/jquery.js | 0
src/main/webapp/static/wms/layuiadmin/style/res/template/character.jpg | 0
src/main/webapp/static/wms/layui/lay/modules/layedit.js | 0
src/main/webapp/static/wcs/layui/images/face/15.gif | 0
src/main/webapp/static/wms/layui/images/face/1.gif | 0
src/main/webapp/static/wms/layuiadmin/json/user/session.js | 9
src/main/webapp/static/wcs/layui/images/face/58.gif | 0
src/main/webapp/static/wms/layui/images/face/5.gif | 0
src/main/webapp/static/wcs/layui/lay/modules/laytpl.js | 0
src/main/webapp/static/wms/layuiadmin/json/message/detail.js | 10
src/main/webapp/static/wms/layuiadmin/layui/css/modules/code.css | 2
src/main/webapp/static/wms/layuiadmin/layui/layui.all.js | 5
src/main/webapp/static/wcs/layui/images/face/27.gif | 0
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/fonts/fontawesome-webfont.ttf | 0
src/main/webapp/static/wcs/layui/images/face/35.gif | 0
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_mixins.scss | 0
src/main/webapp/static/wms/layuiadmin/tpl/system/theme.html | 43
src/main/webapp/static/wms/js/jquery/jquery-3.3.1.min.js | 0
src/main/webapp/views/report/viewWorkOut.html | 16
src/main/webapp/static/wms/layuiadmin/layui/css/layui.mobile.css | 2
src/main/webapp/static/wms/js/handWrkMast/handWrkMast.js | 493
src/main/webapp/static/wms/layuiadmin/layui/images/face/41.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/lay/modules/code.js | 2
src/main/webapp/static/wms/layuiadmin/lib/view.js | 355
src/main/webapp/static/wms/layuiadmin/modules/useradmin.js | 209
src/main/webapp/static/wcs/layui/lay/modules/layedit.js | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/33.gif | 0
src/main/webapp/views/basErrLog/basErrLog_detail.html | 16
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/screen-reader.less | 0
src/main/webapp/static/wcs/css/common.css | 0
src/main/webapp/static/wcs/layui/images/face/43.gif | 0
src/main/webapp/static/wms/layuiadmin/json/menu1.js | 271
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/animated.less | 0
src/main/webapp/static/wms/layuiadmin/layui/lay/modules/mobile.js | 2
src/main/webapp/static/wcs/images/Crane_manual.png | 0
src/main/webapp/static/wms/js/orderDetl/orderDetl.js | 271
src/main/webapp/static/wcs/js/layer/theme/default/icon-ext.png | 0
src/main/java/com/zy/system/controller/UserController.java | 7
src/main/webapp/static/wms/layuiadmin/layui/images/face/25.gif | 0
src/main/webapp/static/wcs/layui/images/face/12.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/lay/modules/mobile/layim-mobile.js | 1167 ++
src/main/webapp/static/wcs/images/login.png | 0
src/main/webapp/static/wms/layuiadmin/json/console/top-search.js | 46
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/fonts/fontawesome-webfont.woff2 | 0
src/main/webapp/views/config/config_detail.html | 16
src/main/webapp/static/wms/css/font/montserrat/Montserrat-LightItalic.ttf | 0
src/main/webapp/static/wms/js/role/role.js | 0
src/main/webapp/static/wms/layui/images/face/32.gif | 0
src/main/webapp/static/wcs/js/layer/theme/default/loading-1.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/css/modules/layer/default/loading-0.gif | 0
src/main/webapp/static/wcs/images/stacker.png | 0
src/main/webapp/static/wms/layui/images/face/16.gif | 0
src/main/webapp/views/permission/permission_detail.html | 16
src/main/webapp/static/wcs/js/handlebars/handlebars-v4.5.3.js | 0
src/main/webapp/static/wms/js/pakStore/stockAdjust.js | 241
src/main/webapp/static/wms/layuiadmin/layui/images/face/56.gif | 0
src/main/webapp/static/wcs/layui/lay/modules/util.js | 0
src/main/webapp/static/wcs/layui/images/face/19.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/lay/modules/tree.js | 2
src/main/webapp/static/wms/layuiadmin/modules/workorder.js | 76
src/main/webapp/static/wms/layuiadmin/layui/font/iconfont.ttf | 0
src/main/webapp/static/wms/layui/images/face/39.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/5.gif | 0
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/variables.less | 0
src/main/webapp/static/wms/layui/images/face/56.gif | 0
src/main/webapp/static/wms/layuiadmin/style/res/template/portrait.png | 0
src/main/webapp/static/wms/layui/images/face/71.gif | 0
src/main/webapp/static/wms/js/userLogin/userLogin.js | 0
src/main/webapp/static/wcs/layui/font/iconfont.woff | 0
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/list.less | 0
src/main/webapp/static/wms/layuiadmin/json/content/comment.js | 56
src/main/webapp/static/wcs/images/Popup-green.png | 0
src/main/webapp/static/wms/css/font/montserrat/Montserrat-ExtraLightItalic.ttf | 0
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/rotated-flipped.less | 0
src/main/webapp/static/wms/layui/images/face/48.gif | 0
src/main/webapp/static/wms/layui/font/iconfont.woff2 | 0
src/main/webapp/static/wcs/layui/images/face/3.gif | 0
src/main/webapp/static/wms/css/font/montserrat/Montserrat-Italic.ttf | 0
src/main/webapp/static/wms/css/index.css | 125
src/main/webapp/static/wcs/js/tools/md5.js | 0
src/main/webapp/static/wms/layui/lay/modules/colorpicker.js | 0
src/main/webapp/static/wms/image/instancing/cubemap_ny.png | 0
src/main/webapp/static/wcs/layui/images/face/20.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/html/getmsg.json | 87
src/main/webapp/static/wms/layuiadmin/layui/lay/modules/layedit.js | 2
src/main/webapp/static/wcs/layui/lay/modules/transfer.js | 0
src/main/webapp/static/wms/js/host/host.js | 353
src/main/webapp/static/wcs/layui/images/face/59.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/48.gif | 0
src/main/webapp/views/home/map.html | 16
src/main/webapp/static/wms/layui/images/face/24.gif | 0
src/main/webapp/static/wms/layui/images/face/41.gif | 0
src/main/webapp/static/wms/layui/lay/modules/notice/4.wav | 0
src/main/webapp/static/wms/layui/css/modules/layer/default/loading-1.gif | 0
src/main/webapp/static/wms/layuiadmin/json/message/new.js | 7
src/main/webapp/static/wms/layui/lay/modules/index.js | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/65.gif | 0
src/main/webapp/static/wms/css/font/montserrat/Montserrat-Medium.ttf | 0
src/main/webapp/static/wms/js/basCrnp/basCrnp.js | 731 +
src/main/webapp/static/wms/layui/font/iconfont.svg | 0
src/main/webapp/static/wms/layuiadmin/json/forum/replys.js | 69
src/main/webapp/static/wcs/layui/images/face/28.gif | 0
src/main/webapp/static/wms/layui/lay/modules/mobile.js | 0
src/main/webapp/static/wms/layuiadmin/layui/css/modules/layer/default/loading-1.gif | 0
src/main/webapp/static/wms/js/pakStore/locCheckOut.js | 138
src/main/webapp/static/wms/layui/images/face/25.gif | 0
src/main/webapp/static/wms/js/stkPlcm/stkPlcm.js | 596 +
src/main/webapp/static/wms/layuiadmin/layui/images/face/57.gif | 0
src/main/webapp/static/wcs/layui/images/face/44.gif | 0
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/fonts/fontawesome-webfont.svg | 0
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/core.less | 0
src/main/webapp/static/wms/js/locDetlStatis/locDetlStatis.js | 256
src/main/webapp/views/resource/resource.html | 18
src/main/webapp/static/wms/layui/images/face/4.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/32.gif | 0
src/main/webapp/static/wcs/js/echarts/highcharts.js | 0
src/main/webapp/static/wms/css/originTable.css | 0
src/main/webapp/static/wms/layui/lay/modules/admin.js | 0
src/main/webapp/static/wms/layuiadmin/json/useradmin/webuser.js | 143
src/main/webapp/static/wms/js/trayCode/trayCode.js | 451
src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/html/find.html | 38
src/main/webapp/views/role/role_detail.html | 16
src/main/webapp/static/wcs/layui/css/layui.mobile.css | 0
src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/skin/logo.jpg | 0
src/main/webapp/static/wcs/layui/images/face/52.gif | 0
src/main/webapp/static/wms/js/pakStore/emptyIn.js | 67
src/main/webapp/static/wms/layui/layer_mobile/need/layer.css | 0
src/main/webapp/static/wms/layer/theme/default/layer.css | 0
src/main/webapp/static/wcs/js/jquery/jquery.animsition.js | 0
src/main/webapp/static/wms/js/jquery/jQuery.print.js | 279
src/main/webapp/views/report/locDetl.html | 16
src/main/webapp/static/wms/layui/images/face/15.gif | 0
src/main/webapp/static/wms/layui/lay/modules/transfer.js | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/42.gif | 0
src/main/webapp/static/wcs/images/Crane_error.png | 0
src/main/webapp/static/wcs/layui/lay/modules/upload.js | 0
src/main/webapp/static/wcs/layui/images/face/18.gif | 0
src/main/webapp/static/wcs/layui/font/iconfont.svg | 0
src/main/webapp/static/wms/js/tools/md5.js | 0
src/main/webapp/static/wcs/layui/css/modules/code.css | 0
src/main/webapp/static/wcs/layui/css/modules/layer/default/loading-0.gif | 0
src/main/webapp/static/wms/css/font/montserrat/OFL.txt | 0
src/main/webapp/views/user/user.html | 22
src/main/webapp/static/wms/layui/css/layui.mobile.css | 0
src/main/webapp/static/wms/layui/images/face/63.gif | 0
src/main/webapp/static/wms/layuiadmin/tpl/system/get.html | 61
src/main/webapp/static/wcs/layui/lay/modules/table.js | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/26.gif | 0
src/main/webapp/static/wcs/layui/images/face/67.gif | 0
src/main/webapp/static/wms/layuiadmin/tpl/system/说明.txt | 3
src/main/webapp/static/wms/js/basWhs/basWhs.js | 474
src/main/webapp/static/wms/layui/layui.js | 0
src/main/webapp/static/wcs/js/layer/theme/default/loading-2.gif | 0
src/main/webapp/static/wms/layui/lay/modules/dropdown/dropdown.js | 0
src/main/webapp/static/wcs/js/common.js | 0
src/main/webapp/static/wcs/layui/images/face/66.gif | 0
src/main/webapp/static/wms/layui/lay/modules/notice/5.wav | 0
src/main/webapp/static/wms/layui/images/face/64.gif | 0
src/main/webapp/static/wms/layuiadmin/modules/im.js | 418
src/main/webapp/static/wcs/layui/images/face/49.gif | 0
src/main/webapp/static/wms/layui/css/modules/layer/default/loading-2.gif | 0
src/main/webapp/static/wms/js/report/workCountOut.js | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/10.gif | 0
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/larger.less | 0
src/main/webapp/static/wms/js/pakStore/pakStore.js | 279
src/main/webapp/static/wms/layer/mobile/layer.js | 0
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/css/font-awesome.min.css | 0
src/main/webapp/static/wms/layui/images/face/47.gif | 0
src/main/webapp/static/wms/layui/lay/modules/table.js | 0
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/mixins.less | 0
src/main/webapp/static/wcs/layui/lay/modules/element.js | 0
src/main/webapp/static/wms/layui/images/face/70.gif | 0
src/main/webapp/views/stoMan/stoQue.html | 16
src/main/webapp/static/wcs/layui/images/face/13.gif | 0
src/main/webapp/static/wms/layui/images/face/57.gif | 0
src/main/webapp/static/wms/layuiadmin/style/login.css | 55
src/main/webapp/static/wms/layui/images/face/31.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/css/modules/layer/default/icon-ext.png | 0
src/main/webapp/static/wcs/js/layer/layer.js | 0
src/main/webapp/static/wcs/layui/lay/modules/rate.js | 0
src/main/webapp/static/wms/layuiadmin/layui/css/modules/laydate/default/font.css | 16
src/main/webapp/static/wms/layui/images/face/10.gif | 0
src/main/webapp/static/wms/layuiadmin/tpl/system/more.html | 22
src/main/webapp/static/wcs/layui/images/face/34.gif | 0
src/main/webapp/static/wms/layui/css/modules/code.css | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/64.gif | 0
src/main/webapp/static/wcs/layui/images/face/51.gif | 0
src/main/webapp/static/wms/css/loader.css | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/47.gif | 0
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/bordered-pulled.less | 0
src/main/webapp/static/wcs/images/Crane_stntostn.png | 0
src/main/webapp/views/password.html | 10
src/main/webapp/views/report/viewWorkCountOut.html | 16
src/main/webapp/static/wcs/layui/images/face/4.gif | 0
src/main/webapp/static/wms/image/instancing/cubemap_nz.png | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/6.gif | 0
src/main/webapp/static/wcs/images/bg.jpg | 0
src/main/webapp/static/wms/css/print.css | 0
src/main/webapp/static/wms/layuiadmin/style/res/logo.png | 0
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/fonts/FontAwesome.otf | 0
src/main/webapp/static/wms/css/font/montserrat/Montserrat-ExtraLight.ttf | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/31.gif | 0
src/main/webapp/static/wcs/layui/images/face/53.gif | 0
src/main/webapp/static/wms/css/optimize.css | 0
src/main/webapp/static/wms/layui/images/face/42.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/66.gif | 0
src/main/webapp/static/wcs/layui/images/face/10.gif | 0
src/main/webapp/static/wcs/layui/css/modules/layer/default/loading-1.gif | 0
src/main/webapp/static/wcs/layui/images/face/61.gif | 0
src/main/webapp/static/wms/layuiadmin/style/res/layui-logo.jpg | 0
src/main/webapp/static/wms/layui/images/face/69.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/58.gif | 0
src/main/webapp/static/wms/js/order/out.js | 384
src/main/webapp/static/wms/layuiadmin/layui/images/face/0.gif | 0
src/main/webapp/static/wms/layui/images/face/34.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/23.gif | 0
src/main/webapp/static/wms/js/echarts/highcharts.js | 0
src/main/webapp/static/wms/layuiadmin/modules/senior.js | 1166 ++
src/main/webapp/static/wcs/layui/images/face/2.gif | 0
src/main/webapp/static/wms/layuiadmin/json/menu.js | 227
src/main/webapp/static/wms/layui/images/face/26.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/15.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/css/modules/layer/default/icon.png | 0
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/fonts/fontawesome-webfont.eot | 0
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_larger.scss | 0
src/main/webapp/static/wms/layui/images/face/7.gif | 0
src/main/webapp/static/wms/layuiadmin/json/user/reg.js | 7
src/main/webapp/static/wcs/layui/images/face/68.gif | 0
src/main/webapp/static/wcs/layui/images/face/25.gif | 0
src/main/webapp/static/wms/layuiadmin/modules/common.js | 43
src/main/webapp/static/wms/layui/images/face/62.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/38.gif | 0
src/main/webapp/static/wms/layuiadmin/json/console/prograss.js | 36
src/main/webapp/static/wcs/layui/font/iconfont.ttf | 0
src/main/webapp/static/wms/js/api/api.js | 0
src/main/webapp/static/wms/js/errorWrkMast/errorWrkMast.js | 497
src/main/webapp/static/wms/layuiadmin/layui/images/face/43.gif | 0
src/main/webapp/static/wcs/layui/images/face/9.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/skin/2.jpg | 0
src/main/webapp/static/wcs/images/Crane_store.png | 0
src/main/webapp/views/operateLog/operateLog.html | 16
src/main/webapp/static/wcs/layui/lay/modules/layer.js | 0
src/main/webapp/static/wms/layuiadmin/json/workorder/demo.js | 78
src/main/webapp/views/report/viewLocMap.html | 18
src/main/webapp/static/wms/js/apiLog/apiLog.js | 264
src/main/webapp/static/wms/layuiadmin/json/content/list.js | 62
src/main/webapp/static/wcs/images/zy-logo.png | 0
src/main/webapp/static/wms/js/resource/resource.js | 0
src/main/webapp/views/report/viewInOut.html | 16
src/main/webapp/static/wms/layui/lay/modules/notice/6.wav | 0
src/main/webapp/static/wms/layui/lay/modules/code.js | 0
src/main/webapp/static/wms/js/common.js | 259
src/main/webapp/static/wms/layuiadmin/layui/lay/modules/mobile/layim-mobile-open.js | 11
src/main/webapp/static/wms/layer/mobile/need/layer.css | 0
src/main/webapp/static/wcs/layui/css/modules/laydate/default/laydate.css | 0
src/main/webapp/static/wcs/layui/css/modules/layer/default/icon.png | 0
src/main/webapp/static/wcs/layui/images/face/48.gif | 0
src/main/webapp/static/wms/css/login.css | 0
src/main/webapp/static/wcs/images/barcode.png | 0
src/main/webapp/static/wms/layuiadmin/modules/contlist.js | 187
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/path.less | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/46.gif | 0
src/main/webapp/static/wcs/js/layer/theme/default/loading-0.gif | 0
src/main/webapp/static/wcs/layui/lay/modules/laypage.js | 0
src/main/webapp/static/wms/js/pakStore/stockOut.js | 177
src/main/webapp/static/wms/js/basLocSts/basLocSts.js | 440
src/main/webapp/static/wms/js/wrkMast/wrkMast.js | 686 +
src/main/webapp/static/wcs/css/console.css | 0
src/main/webapp/static/wms/layui/lay/modules/laydate.js | 0
src/main/webapp/static/wms/css/pda.css | 0
src/main/webapp/static/wcs/layui/images/face/33.gif | 0
src/main/webapp/static/wcs/layui/lay/modules/tree.js | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/7.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/71.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/lay/modules/laypage.js | 2
src/main/webapp/static/wms/layuiadmin/layui/images/face/18.gif | 0
src/main/webapp/static/wms/layui/images/face/11.gif | 0
src/main/webapp/static/wms/layui/images/face/54.gif | 0
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/fonts/fontawesome-webfont.woff | 0
src/main/webapp/static/wms/layui/lay/modules/tableX.js | 645 +
src/main/webapp/static/wms/layuiadmin/layui/lay/all-mobile.js | 11
src/main/webapp/static/wcs/layui/font/iconfont.woff2 | 0
src/main/webapp/static/wcs/css/index-0.css | 0
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/icons.less | 0
src/main/webapp/static/wms/js/report/stayTime.js | 0
src/main/webapp/views/home/console.html | 12
src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/html/chatlog.html | 96
src/main/webapp/static/wms/layui/lay/modules/carousel.js | 2
src/main/webapp/static/wms/js/order/order.js | 480
src/main/webapp/static/wms/layuiadmin/layui/lay/all.js | 15
src/main/webapp/static/wcs/js/console.js | 0
src/main/webapp/static/wcs/layui/images/face/1.gif | 0
src/main/webapp/static/wcs/images/fork_r.png | 0
src/main/webapp/static/wcs/layui/lay/modules/form.js | 0
src/main/webapp/static/wms/css/bg.css | 0
src/main/webapp/static/wms/layuiadmin/json/content/tags.js | 21
src/main/webapp/static/wcs/layui/images/face/60.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/67.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/24.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/59.gif | 0
src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/stacked.less | 0
src/main/webapp/static/wcs/layui/css/modules/layer/default/loading-2.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/16.gif | 0
src/main/webapp/static/wms/layui/images/face/27.gif | 0
src/main/webapp/static/wcs/layui/images/face/26.gif | 0
src/main/webapp/static/wms/js/report/workIn.js | 0
src/main/webapp/static/wms/layui/lay/modules/notice/notice.js | 0
src/main/webapp/static/wcs/layui/images/face/69.gif | 0
src/main/webapp/views/role/role_power_detail.html | 12
src/main/webapp/static/wms/js/basDevp/basDevp.js | 603 +
src/main/webapp/static/wms/layui/lay/modules/flow.js | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/50.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/8.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/skin/1.jpg | 0
src/main/webapp/static/wms/image/logo.png | 0
src/main/webapp/static/wcs/layui/images/face/11.gif | 0
src/main/webapp/static/wcs/layui/images/face/54.gif | 0
src/main/webapp/views/detail.html | 8
src/main/webapp/static/wms/layui/images/face/6.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/30.gif | 0
src/main/webapp/static/wms/layuiadmin/json/message/notice.js | 46
src/main/webapp/static/wms/layuiadmin/layui/images/face/39.gif | 0
src/main/webapp/static/wms/layui/lay/modules/contextMenu.js | 0
src/main/webapp/static/wms/layuiadmin/layui/font/iconfont.svg | 468
src/main/webapp/views/login.html | 12
src/main/webapp/static/wcs/js/layer/theme/default/layer.css | 0
src/main/webapp/static/wms/layui/images/face/33.gif | 0
src/main/webapp/static/wms/image/bg.jpg | 0
src/main/webapp/static/wcs/js/particles.min.js | 0
src/main/webapp/static/wms/layuiadmin/layui/lay/modules/form.js | 2
src/main/webapp/static/wms/layui/images/face/55.gif | 0
src/main/webapp/views/user/user_detail.html | 18
src/main/webapp/static/wms/layui/images/face/12.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/45.gif | 0
src/main/webapp/static/wms/layuiadmin/json/user/sms.js | 7
src/main/webapp/views/api/api.html | 16
src/main/webapp/static/wms/layuiadmin/json/layer/photos.js | 39
src/main/webapp/static/wcs/layui/css/modules/layer/default/icon-ext.png | 0
src/main/webapp/static/wms/js/basErrLog/basErrLog.js | 0
src/main/webapp/static/wms/js/basCrnError/basCrnError.js | 474
src/main/webapp/static/wms/js/cool.js | 153
src/main/webapp/static/wms/layuiadmin/layui/lay/modules/laydate.js | 2
src/main/webapp/static/wcs/layui/images/face/47.gif | 0
src/main/webapp/static/wms/layui/images/face/61.gif | 0
src/main/webapp/static/wms/layui/images/face/40.gif | 0
src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/html/msgbox.html | 208
src/main/webapp/static/wms/layuiadmin/layui/images/face/17.gif | 0
src/main/webapp/static/wms/css/cool.css | 3
src/main/webapp/static/wcs/css/normalize.css | 0
src/main/webapp/static/wms/layuiadmin/layui/images/face/51.gif | 0
src/main/webapp/static/wms/layui/css/modules/laydate/default/laydate.css | 0
src/main/webapp/static/wms/layui/images/face/49.gif | 0
/dev/null | 0
src/main/webapp/static/wms/js/locMast/locMast.js | 0
src/main/webapp/static/wms/layer/layer.js | 0
src/main/webapp/static/wcs/css/console-0.css | 0
src/main/webapp/static/wcs/layui/images/face/32.gif | 0
src/main/webapp/static/wms/layui/lay/modules/laypage.js | 0
710 files changed, 31,436 insertions(+), 312 deletions(-)
diff --git a/src/main/java/com/zy/system/controller/UserController.java b/src/main/java/com/zy/system/controller/UserController.java
index f3ec1c2..70bc84f 100644
--- a/src/main/java/com/zy/system/controller/UserController.java
+++ b/src/main/java/com/zy/system/controller/UserController.java
@@ -118,11 +118,10 @@
@RequestMapping(value = "/user/delete/auth")
@ManagerAuth(memo = "绯荤粺鐢ㄦ埛鍒犻櫎")
- public R delete(Integer[] ids){
- if (Cools.isEmpty(ids)){
- return R.error();
+ public R delete(@RequestParam(value="ids[]") Long[] ids){
+ for (Long id : ids){
+ userService.deleteById(id);
}
- userService.deleteBatchIds(Arrays.asList(ids));
return R.ok();
}
diff --git a/src/main/webapp/static/image/logo.png b/src/main/webapp/static/image/logo.png
deleted file mode 100644
index e2fc662..0000000
--- a/src/main/webapp/static/image/logo.png
+++ /dev/null
Binary files differ
diff --git a/src/main/webapp/static/layer/mobile/need/layer.css b/src/main/webapp/static/layer/mobile/need/layer.css
deleted file mode 100644
index b9dbf20..0000000
--- a/src/main/webapp/static/layer/mobile/need/layer.css
+++ /dev/null
@@ -1 +0,0 @@
-.layui-m-layer{position:relative;z-index:19891014}.layui-m-layer *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.layui-m-layermain,.layui-m-layershade{position:fixed;left:0;top:0;width:100%;height:100%}.layui-m-layershade{background-color:rgba(0,0,0,.7);pointer-events:auto}.layui-m-layermain{display:table;font-family:Helvetica,arial,sans-serif;pointer-events:none}.layui-m-layermain .layui-m-layersection{display:table-cell;vertical-align:middle;text-align:center}.layui-m-layerchild{position:relative;display:inline-block;text-align:left;background-color:#fff;font-size:14px;border-radius:5px;box-shadow:0 0 8px rgba(0,0,0,.1);pointer-events:auto;-webkit-overflow-scrolling:touch;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.2s;animation-duration:.2s}@-webkit-keyframes layui-m-anim-scale{0%{opacity:0;-webkit-transform:scale(.5);transform:scale(.5)}100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes layui-m-anim-scale{0%{opacity:0;-webkit-transform:scale(.5);transform:scale(.5)}100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.layui-m-anim-scale{animation-name:layui-m-anim-scale;-webkit-animation-name:layui-m-anim-scale}@-webkit-keyframes layui-m-anim-up{0%{opacity:0;-webkit-transform:translateY(800px);transform:translateY(800px)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes layui-m-anim-up{0%{opacity:0;-webkit-transform:translateY(800px);transform:translateY(800px)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}.layui-m-anim-up{-webkit-animation-name:layui-m-anim-up;animation-name:layui-m-anim-up}.layui-m-layer0 .layui-m-layerchild{width:90%;max-width:640px}.layui-m-layer1 .layui-m-layerchild{border:none;border-radius:0}.layui-m-layer2 .layui-m-layerchild{width:auto;max-width:260px;min-width:40px;border:none;background:0 0;box-shadow:none;color:#fff}.layui-m-layerchild h3{padding:0 10px;height:60px;line-height:60px;font-size:16px;font-weight:400;border-radius:5px 5px 0 0;text-align:center}.layui-m-layerbtn span,.layui-m-layerchild h3{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.layui-m-layercont{padding:50px 30px;line-height:22px;text-align:center}.layui-m-layer1 .layui-m-layercont{padding:0;text-align:left}.layui-m-layer2 .layui-m-layercont{text-align:center;padding:0;line-height:0}.layui-m-layer2 .layui-m-layercont i{width:25px;height:25px;margin-left:8px;display:inline-block;background-color:#fff;border-radius:100%;-webkit-animation:layui-m-anim-loading 1.4s infinite ease-in-out;animation:layui-m-anim-loading 1.4s infinite ease-in-out;-webkit-animation-fill-mode:both;animation-fill-mode:both}.layui-m-layerbtn,.layui-m-layerbtn span{position:relative;text-align:center;border-radius:0 0 5px 5px}.layui-m-layer2 .layui-m-layercont p{margin-top:20px}@-webkit-keyframes layui-m-anim-loading{0%,100%,80%{transform:scale(0);-webkit-transform:scale(0)}40%{transform:scale(1);-webkit-transform:scale(1)}}@keyframes layui-m-anim-loading{0%,100%,80%{transform:scale(0);-webkit-transform:scale(0)}40%{transform:scale(1);-webkit-transform:scale(1)}}.layui-m-layer2 .layui-m-layercont i:first-child{margin-left:0;-webkit-animation-delay:-.32s;animation-delay:-.32s}.layui-m-layer2 .layui-m-layercont i.layui-m-layerload{-webkit-animation-delay:-.16s;animation-delay:-.16s}.layui-m-layer2 .layui-m-layercont>div{line-height:22px;padding-top:7px;margin-bottom:20px;font-size:14px}.layui-m-layerbtn{display:box;display:-moz-box;display:-webkit-box;width:100%;height:50px;line-height:50px;font-size:0;border-top:1px solid #D0D0D0;background-color:#F2F2F2}.layui-m-layerbtn span{display:block;-moz-box-flex:1;box-flex:1;-webkit-box-flex:1;font-size:14px;cursor:pointer}.layui-m-layerbtn span[yes]{color:#40AFFE}.layui-m-layerbtn span[no]{border-right:1px solid #D0D0D0;border-radius:0 0 0 5px}.layui-m-layerbtn span:active{background-color:#F6F6F6}.layui-m-layerend{position:absolute;right:7px;top:10px;width:30px;height:30px;border:0;font-weight:400;background:0 0;cursor:pointer;-webkit-appearance:none;font-size:30px}.layui-m-layerend::after,.layui-m-layerend::before{position:absolute;left:5px;top:15px;content:'';width:18px;height:1px;background-color:#999;transform:rotate(45deg);-webkit-transform:rotate(45deg);border-radius:3px}.layui-m-layerend::after{transform:rotate(-45deg);-webkit-transform:rotate(-45deg)}body .layui-m-layer .layui-m-layer-footer{position:fixed;width:95%;max-width:100%;margin:0 auto;left:0;right:0;bottom:10px;background:0 0}.layui-m-layer-footer .layui-m-layercont{padding:20px;border-radius:5px 5px 0 0;background-color:rgba(255,255,255,.8)}.layui-m-layer-footer .layui-m-layerbtn{display:block;height:auto;background:0 0;border-top:none}.layui-m-layer-footer .layui-m-layerbtn span{background-color:rgba(255,255,255,.8)}.layui-m-layer-footer .layui-m-layerbtn span[no]{color:#FD482C;border-top:1px solid #c2c2c2;border-radius:0 0 5px 5px}.layui-m-layer-footer .layui-m-layerbtn span[yes]{margin-top:10px;border-radius:5px}body .layui-m-layer .layui-m-layer-msg{width:auto;max-width:90%;margin:0 auto;bottom:-150px;background-color:rgba(0,0,0,.7);color:#fff}.layui-m-layer-msg .layui-m-layercont{padding:10px 20px}
\ No newline at end of file
diff --git a/src/main/webapp/static/layer/theme/default/icon-ext.png b/src/main/webapp/static/layer/theme/default/icon-ext.png
deleted file mode 100644
index bbbb669..0000000
--- a/src/main/webapp/static/layer/theme/default/icon-ext.png
+++ /dev/null
Binary files differ
diff --git a/src/main/webapp/static/layer/theme/default/icon.png b/src/main/webapp/static/layer/theme/default/icon.png
deleted file mode 100644
index 3e17da8..0000000
--- a/src/main/webapp/static/layer/theme/default/icon.png
+++ /dev/null
Binary files differ
diff --git a/src/main/webapp/static/layer/theme/default/loading-0.gif b/src/main/webapp/static/layer/theme/default/loading-0.gif
deleted file mode 100644
index 6f3c953..0000000
--- a/src/main/webapp/static/layer/theme/default/loading-0.gif
+++ /dev/null
Binary files differ
diff --git a/src/main/webapp/static/layer/theme/default/loading-1.gif b/src/main/webapp/static/layer/theme/default/loading-1.gif
deleted file mode 100644
index db3a483..0000000
--- a/src/main/webapp/static/layer/theme/default/loading-1.gif
+++ /dev/null
Binary files differ
diff --git a/src/main/webapp/static/layer/theme/default/loading-2.gif b/src/main/webapp/static/layer/theme/default/loading-2.gif
deleted file mode 100644
index 5bb90fd..0000000
--- a/src/main/webapp/static/layer/theme/default/loading-2.gif
+++ /dev/null
Binary files differ
diff --git a/src/main/webapp/static/css/animate.min.css b/src/main/webapp/static/wcs/css/animate.min.css
similarity index 100%
rename from src/main/webapp/static/css/animate.min.css
rename to src/main/webapp/static/wcs/css/animate.min.css
diff --git a/src/main/webapp/static/css/animsition.css b/src/main/webapp/static/wcs/css/animsition.css
similarity index 100%
rename from src/main/webapp/static/css/animsition.css
rename to src/main/webapp/static/wcs/css/animsition.css
diff --git a/src/main/webapp/static/css/car_vue.css b/src/main/webapp/static/wcs/css/car_vue.css
similarity index 100%
rename from src/main/webapp/static/css/car_vue.css
rename to src/main/webapp/static/wcs/css/car_vue.css
diff --git a/src/main/webapp/static/css/common.css b/src/main/webapp/static/wcs/css/common.css
similarity index 100%
rename from src/main/webapp/static/css/common.css
rename to src/main/webapp/static/wcs/css/common.css
diff --git a/src/main/webapp/static/css/console-0.css b/src/main/webapp/static/wcs/css/console-0.css
similarity index 100%
rename from src/main/webapp/static/css/console-0.css
rename to src/main/webapp/static/wcs/css/console-0.css
diff --git a/src/main/webapp/static/css/console.css b/src/main/webapp/static/wcs/css/console.css
similarity index 100%
rename from src/main/webapp/static/css/console.css
rename to src/main/webapp/static/wcs/css/console.css
diff --git a/src/main/webapp/static/css/crn.css b/src/main/webapp/static/wcs/css/crn.css
similarity index 100%
rename from src/main/webapp/static/css/crn.css
rename to src/main/webapp/static/wcs/css/crn.css
diff --git a/src/main/webapp/static/css/index-0.css b/src/main/webapp/static/wcs/css/index-0.css
similarity index 100%
rename from src/main/webapp/static/css/index-0.css
rename to src/main/webapp/static/wcs/css/index-0.css
diff --git a/src/main/webapp/static/css/index.css b/src/main/webapp/static/wcs/css/index.css
similarity index 100%
rename from src/main/webapp/static/css/index.css
rename to src/main/webapp/static/wcs/css/index.css
diff --git a/src/main/webapp/static/css/normalize.css b/src/main/webapp/static/wcs/css/normalize.css
similarity index 100%
rename from src/main/webapp/static/css/normalize.css
rename to src/main/webapp/static/wcs/css/normalize.css
diff --git a/src/main/webapp/static/css/pipeline.css b/src/main/webapp/static/wcs/css/pipeline.css
similarity index 100%
rename from src/main/webapp/static/css/pipeline.css
rename to src/main/webapp/static/wcs/css/pipeline.css
diff --git a/src/main/webapp/static/css/render.css b/src/main/webapp/static/wcs/css/render.css
similarity index 100%
rename from src/main/webapp/static/css/render.css
rename to src/main/webapp/static/wcs/css/render.css
diff --git a/src/main/webapp/static/images/Crane_auto.png b/src/main/webapp/static/wcs/images/Crane_auto.png
similarity index 100%
rename from src/main/webapp/static/images/Crane_auto.png
rename to src/main/webapp/static/wcs/images/Crane_auto.png
Binary files differ
diff --git a/src/main/webapp/static/images/Crane_error.png b/src/main/webapp/static/wcs/images/Crane_error.png
similarity index 100%
rename from src/main/webapp/static/images/Crane_error.png
rename to src/main/webapp/static/wcs/images/Crane_error.png
Binary files differ
diff --git a/src/main/webapp/static/images/Crane_hptoohp.png b/src/main/webapp/static/wcs/images/Crane_hptoohp.png
similarity index 100%
rename from src/main/webapp/static/images/Crane_hptoohp.png
rename to src/main/webapp/static/wcs/images/Crane_hptoohp.png
Binary files differ
diff --git a/src/main/webapp/static/images/Crane_loctoloc.png b/src/main/webapp/static/wcs/images/Crane_loctoloc.png
similarity index 100%
rename from src/main/webapp/static/images/Crane_loctoloc.png
rename to src/main/webapp/static/wcs/images/Crane_loctoloc.png
Binary files differ
diff --git a/src/main/webapp/static/images/Crane_manual.png b/src/main/webapp/static/wcs/images/Crane_manual.png
similarity index 100%
rename from src/main/webapp/static/images/Crane_manual.png
rename to src/main/webapp/static/wcs/images/Crane_manual.png
Binary files differ
diff --git a/src/main/webapp/static/images/Crane_manual1.png b/src/main/webapp/static/wcs/images/Crane_manual1.png
similarity index 100%
rename from src/main/webapp/static/images/Crane_manual1.png
rename to src/main/webapp/static/wcs/images/Crane_manual1.png
Binary files differ
diff --git a/src/main/webapp/static/images/Crane_retrieve.png b/src/main/webapp/static/wcs/images/Crane_retrieve.png
similarity index 100%
rename from src/main/webapp/static/images/Crane_retrieve.png
rename to src/main/webapp/static/wcs/images/Crane_retrieve.png
Binary files differ
diff --git a/src/main/webapp/static/images/Crane_stntostn.png b/src/main/webapp/static/wcs/images/Crane_stntostn.png
similarity index 100%
rename from src/main/webapp/static/images/Crane_stntostn.png
rename to src/main/webapp/static/wcs/images/Crane_stntostn.png
Binary files differ
diff --git a/src/main/webapp/static/images/Crane_store.png b/src/main/webapp/static/wcs/images/Crane_store.png
similarity index 100%
rename from src/main/webapp/static/images/Crane_store.png
rename to src/main/webapp/static/wcs/images/Crane_store.png
Binary files differ
diff --git a/src/main/webapp/static/images/Popup-green.png b/src/main/webapp/static/wcs/images/Popup-green.png
similarity index 100%
rename from src/main/webapp/static/images/Popup-green.png
rename to src/main/webapp/static/wcs/images/Popup-green.png
Binary files differ
diff --git a/src/main/webapp/static/images/Popup-yellow.png b/src/main/webapp/static/wcs/images/Popup-yellow.png
similarity index 100%
rename from src/main/webapp/static/images/Popup-yellow.png
rename to src/main/webapp/static/wcs/images/Popup-yellow.png
Binary files differ
diff --git a/src/main/webapp/static/images/barcode.png b/src/main/webapp/static/wcs/images/barcode.png
similarity index 100%
rename from src/main/webapp/static/images/barcode.png
rename to src/main/webapp/static/wcs/images/barcode.png
Binary files differ
diff --git a/src/main/webapp/static/images/bg.jpg b/src/main/webapp/static/wcs/images/bg.jpg
similarity index 100%
rename from src/main/webapp/static/images/bg.jpg
rename to src/main/webapp/static/wcs/images/bg.jpg
Binary files differ
diff --git a/src/main/webapp/static/images/bscanner.png b/src/main/webapp/static/wcs/images/bscanner.png
similarity index 100%
rename from src/main/webapp/static/images/bscanner.png
rename to src/main/webapp/static/wcs/images/bscanner.png
Binary files differ
diff --git a/src/main/webapp/static/images/cancellation.png b/src/main/webapp/static/wcs/images/cancellation.png
similarity index 100%
rename from src/main/webapp/static/images/cancellation.png
rename to src/main/webapp/static/wcs/images/cancellation.png
Binary files differ
diff --git a/src/main/webapp/static/images/fork_l.png b/src/main/webapp/static/wcs/images/fork_l.png
similarity index 100%
rename from src/main/webapp/static/images/fork_l.png
rename to src/main/webapp/static/wcs/images/fork_l.png
Binary files differ
diff --git a/src/main/webapp/static/images/fork_r.png b/src/main/webapp/static/wcs/images/fork_r.png
similarity index 100%
rename from src/main/webapp/static/images/fork_r.png
rename to src/main/webapp/static/wcs/images/fork_r.png
Binary files differ
diff --git a/src/main/webapp/static/images/line.png b/src/main/webapp/static/wcs/images/line.png
similarity index 100%
rename from src/main/webapp/static/images/line.png
rename to src/main/webapp/static/wcs/images/line.png
Binary files differ
diff --git a/src/main/webapp/static/images/login.png b/src/main/webapp/static/wcs/images/login.png
similarity index 100%
rename from src/main/webapp/static/images/login.png
rename to src/main/webapp/static/wcs/images/login.png
Binary files differ
diff --git a/src/main/webapp/static/images/loginBg.jpg b/src/main/webapp/static/wcs/images/loginBg.jpg
similarity index 100%
rename from src/main/webapp/static/images/loginBg.jpg
rename to src/main/webapp/static/wcs/images/loginBg.jpg
Binary files differ
diff --git a/src/main/webapp/static/images/logo.png b/src/main/webapp/static/wcs/images/logo.png
similarity index 100%
rename from src/main/webapp/static/images/logo.png
rename to src/main/webapp/static/wcs/images/logo.png
Binary files differ
diff --git a/src/main/webapp/static/images/siteclose.png b/src/main/webapp/static/wcs/images/siteclose.png
similarity index 100%
rename from src/main/webapp/static/images/siteclose.png
rename to src/main/webapp/static/wcs/images/siteclose.png
Binary files differ
diff --git a/src/main/webapp/static/images/stacker.png b/src/main/webapp/static/wcs/images/stacker.png
similarity index 100%
rename from src/main/webapp/static/images/stacker.png
rename to src/main/webapp/static/wcs/images/stacker.png
Binary files differ
diff --git a/src/main/webapp/static/images/start48.png b/src/main/webapp/static/wcs/images/start48.png
similarity index 100%
rename from src/main/webapp/static/images/start48.png
rename to src/main/webapp/static/wcs/images/start48.png
Binary files differ
diff --git a/src/main/webapp/static/images/status_bar_1.png b/src/main/webapp/static/wcs/images/status_bar_1.png
similarity index 100%
rename from src/main/webapp/static/images/status_bar_1.png
rename to src/main/webapp/static/wcs/images/status_bar_1.png
Binary files differ
diff --git a/src/main/webapp/static/images/status_bar_2.png b/src/main/webapp/static/wcs/images/status_bar_2.png
similarity index 100%
rename from src/main/webapp/static/images/status_bar_2.png
rename to src/main/webapp/static/wcs/images/status_bar_2.png
Binary files differ
diff --git a/src/main/webapp/static/images/stop48.png b/src/main/webapp/static/wcs/images/stop48.png
similarity index 100%
rename from src/main/webapp/static/images/stop48.png
rename to src/main/webapp/static/wcs/images/stop48.png
Binary files differ
diff --git a/src/main/webapp/static/images/wcs_logo.png b/src/main/webapp/static/wcs/images/wcs_logo.png
similarity index 100%
rename from src/main/webapp/static/images/wcs_logo.png
rename to src/main/webapp/static/wcs/images/wcs_logo.png
Binary files differ
diff --git a/src/main/webapp/static/images/zy-logo.png b/src/main/webapp/static/wcs/images/zy-logo.png
similarity index 100%
rename from src/main/webapp/static/images/zy-logo.png
rename to src/main/webapp/static/wcs/images/zy-logo.png
Binary files differ
diff --git a/src/main/webapp/static/js/common.js b/src/main/webapp/static/wcs/js/common.js
similarity index 100%
rename from src/main/webapp/static/js/common.js
rename to src/main/webapp/static/wcs/js/common.js
diff --git a/src/main/webapp/static/js/console.js b/src/main/webapp/static/wcs/js/console.js
similarity index 100%
rename from src/main/webapp/static/js/console.js
rename to src/main/webapp/static/wcs/js/console.js
diff --git a/src/main/webapp/static/js/console.map.js b/src/main/webapp/static/wcs/js/console.map.js
similarity index 100%
rename from src/main/webapp/static/js/console.map.js
rename to src/main/webapp/static/wcs/js/console.map.js
diff --git a/src/main/webapp/static/js/cool.js b/src/main/webapp/static/wcs/js/cool.js
similarity index 100%
rename from src/main/webapp/static/js/cool.js
rename to src/main/webapp/static/wcs/js/cool.js
diff --git a/src/main/webapp/static/js/echarts/echarts.min.js b/src/main/webapp/static/wcs/js/echarts/echarts.min.js
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/js/echarts/echarts.min.js
rename to src/main/webapp/static/wcs/js/echarts/echarts.min.js
diff --git a/src/main/webapp/static/js/echarts/highcharts.js b/src/main/webapp/static/wcs/js/echarts/highcharts.js
similarity index 100%
rename from src/main/webapp/static/js/echarts/highcharts.js
rename to src/main/webapp/static/wcs/js/echarts/highcharts.js
diff --git a/src/main/webapp/static/js/handlebars/handlebars-v4.5.3.js b/src/main/webapp/static/wcs/js/handlebars/handlebars-v4.5.3.js
similarity index 100%
rename from src/main/webapp/static/js/handlebars/handlebars-v4.5.3.js
rename to src/main/webapp/static/wcs/js/handlebars/handlebars-v4.5.3.js
diff --git a/src/main/webapp/static/js/jquery/jquery-3.3.1.min.js b/src/main/webapp/static/wcs/js/jquery/jquery-3.3.1.min.js
similarity index 100%
rename from src/main/webapp/static/js/jquery/jquery-3.3.1.min.js
rename to src/main/webapp/static/wcs/js/jquery/jquery-3.3.1.min.js
diff --git a/src/main/webapp/static/js/jquery/jquery.animsition.js b/src/main/webapp/static/wcs/js/jquery/jquery.animsition.js
similarity index 100%
rename from src/main/webapp/static/js/jquery/jquery.animsition.js
rename to src/main/webapp/static/wcs/js/jquery/jquery.animsition.js
diff --git a/src/main/webapp/static/js/layer/layer.js b/src/main/webapp/static/wcs/js/layer/layer.js
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/js/layer/layer.js
rename to src/main/webapp/static/wcs/js/layer/layer.js
diff --git a/src/main/webapp/static/js/layer/mobile/layer.js b/src/main/webapp/static/wcs/js/layer/mobile/layer.js
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/js/layer/mobile/layer.js
rename to src/main/webapp/static/wcs/js/layer/mobile/layer.js
diff --git a/src/main/webapp/static/js/layer/mobile/need/layer.css b/src/main/webapp/static/wcs/js/layer/mobile/need/layer.css
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/js/layer/mobile/need/layer.css
rename to src/main/webapp/static/wcs/js/layer/mobile/need/layer.css
diff --git a/src/main/webapp/static/js/layer/theme/default/icon-ext.png b/src/main/webapp/static/wcs/js/layer/theme/default/icon-ext.png
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/js/layer/theme/default/icon-ext.png
rename to src/main/webapp/static/wcs/js/layer/theme/default/icon-ext.png
Binary files differ
diff --git a/src/main/webapp/static/js/layer/theme/default/icon.png b/src/main/webapp/static/wcs/js/layer/theme/default/icon.png
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/js/layer/theme/default/icon.png
rename to src/main/webapp/static/wcs/js/layer/theme/default/icon.png
Binary files differ
diff --git a/src/main/webapp/static/js/layer/theme/default/layer.css b/src/main/webapp/static/wcs/js/layer/theme/default/layer.css
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/js/layer/theme/default/layer.css
rename to src/main/webapp/static/wcs/js/layer/theme/default/layer.css
diff --git a/src/main/webapp/static/js/layer/theme/default/loading-0.gif b/src/main/webapp/static/wcs/js/layer/theme/default/loading-0.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/js/layer/theme/default/loading-0.gif
rename to src/main/webapp/static/wcs/js/layer/theme/default/loading-0.gif
Binary files differ
diff --git a/src/main/webapp/static/js/layer/theme/default/loading-1.gif b/src/main/webapp/static/wcs/js/layer/theme/default/loading-1.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/js/layer/theme/default/loading-1.gif
rename to src/main/webapp/static/wcs/js/layer/theme/default/loading-1.gif
Binary files differ
diff --git a/src/main/webapp/static/js/layer/theme/default/loading-2.gif b/src/main/webapp/static/wcs/js/layer/theme/default/loading-2.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/js/layer/theme/default/loading-2.gif
rename to src/main/webapp/static/wcs/js/layer/theme/default/loading-2.gif
Binary files differ
diff --git a/src/main/webapp/static/js/particles.min.js b/src/main/webapp/static/wcs/js/particles.min.js
similarity index 100%
rename from src/main/webapp/static/js/particles.min.js
rename to src/main/webapp/static/wcs/js/particles.min.js
diff --git a/src/main/webapp/static/js/tools/md5.js b/src/main/webapp/static/wcs/js/tools/md5.js
similarity index 100%
rename from src/main/webapp/static/js/tools/md5.js
rename to src/main/webapp/static/wcs/js/tools/md5.js
diff --git a/src/main/webapp/static/layui/css/layui.css b/src/main/webapp/static/wcs/layui/css/layui.css
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/css/layui.css
rename to src/main/webapp/static/wcs/layui/css/layui.css
diff --git a/src/main/webapp/static/layui/css/layui.mobile.css b/src/main/webapp/static/wcs/layui/css/layui.mobile.css
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/css/layui.mobile.css
rename to src/main/webapp/static/wcs/layui/css/layui.mobile.css
diff --git a/src/main/webapp/static/layui/css/modules/code.css b/src/main/webapp/static/wcs/layui/css/modules/code.css
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/css/modules/code.css
rename to src/main/webapp/static/wcs/layui/css/modules/code.css
diff --git a/src/main/webapp/static/layui/css/modules/laydate/default/laydate.css b/src/main/webapp/static/wcs/layui/css/modules/laydate/default/laydate.css
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/css/modules/laydate/default/laydate.css
rename to src/main/webapp/static/wcs/layui/css/modules/laydate/default/laydate.css
diff --git a/src/main/webapp/static/layui/css/modules/layer/default/icon-ext.png b/src/main/webapp/static/wcs/layui/css/modules/layer/default/icon-ext.png
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/css/modules/layer/default/icon-ext.png
rename to src/main/webapp/static/wcs/layui/css/modules/layer/default/icon-ext.png
Binary files differ
diff --git a/src/main/webapp/static/layui/css/modules/layer/default/icon.png b/src/main/webapp/static/wcs/layui/css/modules/layer/default/icon.png
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/css/modules/layer/default/icon.png
rename to src/main/webapp/static/wcs/layui/css/modules/layer/default/icon.png
Binary files differ
diff --git a/src/main/webapp/static/layui/css/modules/layer/default/layer.css b/src/main/webapp/static/wcs/layui/css/modules/layer/default/layer.css
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/css/modules/layer/default/layer.css
rename to src/main/webapp/static/wcs/layui/css/modules/layer/default/layer.css
diff --git a/src/main/webapp/static/layui/css/modules/layer/default/loading-0.gif b/src/main/webapp/static/wcs/layui/css/modules/layer/default/loading-0.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/css/modules/layer/default/loading-0.gif
rename to src/main/webapp/static/wcs/layui/css/modules/layer/default/loading-0.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/css/modules/layer/default/loading-1.gif b/src/main/webapp/static/wcs/layui/css/modules/layer/default/loading-1.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/css/modules/layer/default/loading-1.gif
rename to src/main/webapp/static/wcs/layui/css/modules/layer/default/loading-1.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/css/modules/layer/default/loading-2.gif b/src/main/webapp/static/wcs/layui/css/modules/layer/default/loading-2.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/css/modules/layer/default/loading-2.gif
rename to src/main/webapp/static/wcs/layui/css/modules/layer/default/loading-2.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/font/iconfont.eot b/src/main/webapp/static/wcs/layui/font/iconfont.eot
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/font/iconfont.eot
rename to src/main/webapp/static/wcs/layui/font/iconfont.eot
Binary files differ
diff --git a/src/main/webapp/static/layui/font/iconfont.svg b/src/main/webapp/static/wcs/layui/font/iconfont.svg
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/font/iconfont.svg
rename to src/main/webapp/static/wcs/layui/font/iconfont.svg
diff --git a/src/main/webapp/static/layui/font/iconfont.ttf b/src/main/webapp/static/wcs/layui/font/iconfont.ttf
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/font/iconfont.ttf
rename to src/main/webapp/static/wcs/layui/font/iconfont.ttf
Binary files differ
diff --git a/src/main/webapp/static/layui/font/iconfont.woff b/src/main/webapp/static/wcs/layui/font/iconfont.woff
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/font/iconfont.woff
rename to src/main/webapp/static/wcs/layui/font/iconfont.woff
Binary files differ
diff --git a/src/main/webapp/static/layui/font/iconfont.woff2 b/src/main/webapp/static/wcs/layui/font/iconfont.woff2
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/font/iconfont.woff2
rename to src/main/webapp/static/wcs/layui/font/iconfont.woff2
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/0.gif b/src/main/webapp/static/wcs/layui/images/face/0.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/0.gif
rename to src/main/webapp/static/wcs/layui/images/face/0.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/1.gif b/src/main/webapp/static/wcs/layui/images/face/1.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/1.gif
rename to src/main/webapp/static/wcs/layui/images/face/1.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/10.gif b/src/main/webapp/static/wcs/layui/images/face/10.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/10.gif
rename to src/main/webapp/static/wcs/layui/images/face/10.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/11.gif b/src/main/webapp/static/wcs/layui/images/face/11.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/11.gif
rename to src/main/webapp/static/wcs/layui/images/face/11.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/12.gif b/src/main/webapp/static/wcs/layui/images/face/12.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/12.gif
rename to src/main/webapp/static/wcs/layui/images/face/12.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/13.gif b/src/main/webapp/static/wcs/layui/images/face/13.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/13.gif
rename to src/main/webapp/static/wcs/layui/images/face/13.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/14.gif b/src/main/webapp/static/wcs/layui/images/face/14.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/14.gif
rename to src/main/webapp/static/wcs/layui/images/face/14.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/15.gif b/src/main/webapp/static/wcs/layui/images/face/15.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/15.gif
rename to src/main/webapp/static/wcs/layui/images/face/15.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/16.gif b/src/main/webapp/static/wcs/layui/images/face/16.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/16.gif
rename to src/main/webapp/static/wcs/layui/images/face/16.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/17.gif b/src/main/webapp/static/wcs/layui/images/face/17.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/17.gif
rename to src/main/webapp/static/wcs/layui/images/face/17.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/18.gif b/src/main/webapp/static/wcs/layui/images/face/18.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/18.gif
rename to src/main/webapp/static/wcs/layui/images/face/18.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/19.gif b/src/main/webapp/static/wcs/layui/images/face/19.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/19.gif
rename to src/main/webapp/static/wcs/layui/images/face/19.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/2.gif b/src/main/webapp/static/wcs/layui/images/face/2.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/2.gif
rename to src/main/webapp/static/wcs/layui/images/face/2.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/20.gif b/src/main/webapp/static/wcs/layui/images/face/20.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/20.gif
rename to src/main/webapp/static/wcs/layui/images/face/20.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/21.gif b/src/main/webapp/static/wcs/layui/images/face/21.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/21.gif
rename to src/main/webapp/static/wcs/layui/images/face/21.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/22.gif b/src/main/webapp/static/wcs/layui/images/face/22.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/22.gif
rename to src/main/webapp/static/wcs/layui/images/face/22.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/23.gif b/src/main/webapp/static/wcs/layui/images/face/23.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/23.gif
rename to src/main/webapp/static/wcs/layui/images/face/23.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/24.gif b/src/main/webapp/static/wcs/layui/images/face/24.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/24.gif
rename to src/main/webapp/static/wcs/layui/images/face/24.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/25.gif b/src/main/webapp/static/wcs/layui/images/face/25.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/25.gif
rename to src/main/webapp/static/wcs/layui/images/face/25.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/26.gif b/src/main/webapp/static/wcs/layui/images/face/26.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/26.gif
rename to src/main/webapp/static/wcs/layui/images/face/26.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/27.gif b/src/main/webapp/static/wcs/layui/images/face/27.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/27.gif
rename to src/main/webapp/static/wcs/layui/images/face/27.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/28.gif b/src/main/webapp/static/wcs/layui/images/face/28.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/28.gif
rename to src/main/webapp/static/wcs/layui/images/face/28.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/29.gif b/src/main/webapp/static/wcs/layui/images/face/29.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/29.gif
rename to src/main/webapp/static/wcs/layui/images/face/29.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/3.gif b/src/main/webapp/static/wcs/layui/images/face/3.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/3.gif
rename to src/main/webapp/static/wcs/layui/images/face/3.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/30.gif b/src/main/webapp/static/wcs/layui/images/face/30.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/30.gif
rename to src/main/webapp/static/wcs/layui/images/face/30.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/31.gif b/src/main/webapp/static/wcs/layui/images/face/31.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/31.gif
rename to src/main/webapp/static/wcs/layui/images/face/31.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/32.gif b/src/main/webapp/static/wcs/layui/images/face/32.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/32.gif
rename to src/main/webapp/static/wcs/layui/images/face/32.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/33.gif b/src/main/webapp/static/wcs/layui/images/face/33.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/33.gif
rename to src/main/webapp/static/wcs/layui/images/face/33.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/34.gif b/src/main/webapp/static/wcs/layui/images/face/34.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/34.gif
rename to src/main/webapp/static/wcs/layui/images/face/34.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/35.gif b/src/main/webapp/static/wcs/layui/images/face/35.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/35.gif
rename to src/main/webapp/static/wcs/layui/images/face/35.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/36.gif b/src/main/webapp/static/wcs/layui/images/face/36.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/36.gif
rename to src/main/webapp/static/wcs/layui/images/face/36.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/37.gif b/src/main/webapp/static/wcs/layui/images/face/37.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/37.gif
rename to src/main/webapp/static/wcs/layui/images/face/37.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/38.gif b/src/main/webapp/static/wcs/layui/images/face/38.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/38.gif
rename to src/main/webapp/static/wcs/layui/images/face/38.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/39.gif b/src/main/webapp/static/wcs/layui/images/face/39.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/39.gif
rename to src/main/webapp/static/wcs/layui/images/face/39.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/4.gif b/src/main/webapp/static/wcs/layui/images/face/4.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/4.gif
rename to src/main/webapp/static/wcs/layui/images/face/4.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/40.gif b/src/main/webapp/static/wcs/layui/images/face/40.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/40.gif
rename to src/main/webapp/static/wcs/layui/images/face/40.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/41.gif b/src/main/webapp/static/wcs/layui/images/face/41.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/41.gif
rename to src/main/webapp/static/wcs/layui/images/face/41.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/42.gif b/src/main/webapp/static/wcs/layui/images/face/42.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/42.gif
rename to src/main/webapp/static/wcs/layui/images/face/42.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/43.gif b/src/main/webapp/static/wcs/layui/images/face/43.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/43.gif
rename to src/main/webapp/static/wcs/layui/images/face/43.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/44.gif b/src/main/webapp/static/wcs/layui/images/face/44.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/44.gif
rename to src/main/webapp/static/wcs/layui/images/face/44.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/45.gif b/src/main/webapp/static/wcs/layui/images/face/45.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/45.gif
rename to src/main/webapp/static/wcs/layui/images/face/45.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/46.gif b/src/main/webapp/static/wcs/layui/images/face/46.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/46.gif
rename to src/main/webapp/static/wcs/layui/images/face/46.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/47.gif b/src/main/webapp/static/wcs/layui/images/face/47.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/47.gif
rename to src/main/webapp/static/wcs/layui/images/face/47.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/48.gif b/src/main/webapp/static/wcs/layui/images/face/48.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/48.gif
rename to src/main/webapp/static/wcs/layui/images/face/48.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/49.gif b/src/main/webapp/static/wcs/layui/images/face/49.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/49.gif
rename to src/main/webapp/static/wcs/layui/images/face/49.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/5.gif b/src/main/webapp/static/wcs/layui/images/face/5.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/5.gif
rename to src/main/webapp/static/wcs/layui/images/face/5.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/50.gif b/src/main/webapp/static/wcs/layui/images/face/50.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/50.gif
rename to src/main/webapp/static/wcs/layui/images/face/50.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/51.gif b/src/main/webapp/static/wcs/layui/images/face/51.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/51.gif
rename to src/main/webapp/static/wcs/layui/images/face/51.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/52.gif b/src/main/webapp/static/wcs/layui/images/face/52.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/52.gif
rename to src/main/webapp/static/wcs/layui/images/face/52.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/53.gif b/src/main/webapp/static/wcs/layui/images/face/53.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/53.gif
rename to src/main/webapp/static/wcs/layui/images/face/53.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/54.gif b/src/main/webapp/static/wcs/layui/images/face/54.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/54.gif
rename to src/main/webapp/static/wcs/layui/images/face/54.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/55.gif b/src/main/webapp/static/wcs/layui/images/face/55.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/55.gif
rename to src/main/webapp/static/wcs/layui/images/face/55.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/56.gif b/src/main/webapp/static/wcs/layui/images/face/56.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/56.gif
rename to src/main/webapp/static/wcs/layui/images/face/56.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/57.gif b/src/main/webapp/static/wcs/layui/images/face/57.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/57.gif
rename to src/main/webapp/static/wcs/layui/images/face/57.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/58.gif b/src/main/webapp/static/wcs/layui/images/face/58.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/58.gif
rename to src/main/webapp/static/wcs/layui/images/face/58.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/59.gif b/src/main/webapp/static/wcs/layui/images/face/59.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/59.gif
rename to src/main/webapp/static/wcs/layui/images/face/59.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/6.gif b/src/main/webapp/static/wcs/layui/images/face/6.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/6.gif
rename to src/main/webapp/static/wcs/layui/images/face/6.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/60.gif b/src/main/webapp/static/wcs/layui/images/face/60.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/60.gif
rename to src/main/webapp/static/wcs/layui/images/face/60.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/61.gif b/src/main/webapp/static/wcs/layui/images/face/61.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/61.gif
rename to src/main/webapp/static/wcs/layui/images/face/61.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/62.gif b/src/main/webapp/static/wcs/layui/images/face/62.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/62.gif
rename to src/main/webapp/static/wcs/layui/images/face/62.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/63.gif b/src/main/webapp/static/wcs/layui/images/face/63.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/63.gif
rename to src/main/webapp/static/wcs/layui/images/face/63.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/64.gif b/src/main/webapp/static/wcs/layui/images/face/64.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/64.gif
rename to src/main/webapp/static/wcs/layui/images/face/64.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/65.gif b/src/main/webapp/static/wcs/layui/images/face/65.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/65.gif
rename to src/main/webapp/static/wcs/layui/images/face/65.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/66.gif b/src/main/webapp/static/wcs/layui/images/face/66.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/66.gif
rename to src/main/webapp/static/wcs/layui/images/face/66.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/67.gif b/src/main/webapp/static/wcs/layui/images/face/67.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/67.gif
rename to src/main/webapp/static/wcs/layui/images/face/67.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/68.gif b/src/main/webapp/static/wcs/layui/images/face/68.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/68.gif
rename to src/main/webapp/static/wcs/layui/images/face/68.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/69.gif b/src/main/webapp/static/wcs/layui/images/face/69.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/69.gif
rename to src/main/webapp/static/wcs/layui/images/face/69.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/7.gif b/src/main/webapp/static/wcs/layui/images/face/7.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/7.gif
rename to src/main/webapp/static/wcs/layui/images/face/7.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/70.gif b/src/main/webapp/static/wcs/layui/images/face/70.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/70.gif
rename to src/main/webapp/static/wcs/layui/images/face/70.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/71.gif b/src/main/webapp/static/wcs/layui/images/face/71.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/71.gif
rename to src/main/webapp/static/wcs/layui/images/face/71.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/8.gif b/src/main/webapp/static/wcs/layui/images/face/8.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/8.gif
rename to src/main/webapp/static/wcs/layui/images/face/8.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/9.gif b/src/main/webapp/static/wcs/layui/images/face/9.gif
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/images/face/9.gif
rename to src/main/webapp/static/wcs/layui/images/face/9.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/lay/modules/carousel.js b/src/main/webapp/static/wcs/layui/lay/modules/carousel.js
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/carousel.js
rename to src/main/webapp/static/wcs/layui/lay/modules/carousel.js
diff --git a/src/main/webapp/static/layui/lay/modules/code.js b/src/main/webapp/static/wcs/layui/lay/modules/code.js
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/code.js
rename to src/main/webapp/static/wcs/layui/lay/modules/code.js
diff --git a/src/main/webapp/static/layui/lay/modules/colorpicker.js b/src/main/webapp/static/wcs/layui/lay/modules/colorpicker.js
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/colorpicker.js
rename to src/main/webapp/static/wcs/layui/lay/modules/colorpicker.js
diff --git a/src/main/webapp/static/layui/lay/modules/element.js b/src/main/webapp/static/wcs/layui/lay/modules/element.js
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/element.js
rename to src/main/webapp/static/wcs/layui/lay/modules/element.js
diff --git a/src/main/webapp/static/layui/lay/modules/flow.js b/src/main/webapp/static/wcs/layui/lay/modules/flow.js
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/flow.js
rename to src/main/webapp/static/wcs/layui/lay/modules/flow.js
diff --git a/src/main/webapp/static/layui/lay/modules/form.js b/src/main/webapp/static/wcs/layui/lay/modules/form.js
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/form.js
rename to src/main/webapp/static/wcs/layui/lay/modules/form.js
diff --git a/src/main/webapp/static/layui/lay/modules/jquery.js b/src/main/webapp/static/wcs/layui/lay/modules/jquery.js
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/jquery.js
rename to src/main/webapp/static/wcs/layui/lay/modules/jquery.js
diff --git a/src/main/webapp/static/layui/lay/modules/laydate.js b/src/main/webapp/static/wcs/layui/lay/modules/laydate.js
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/laydate.js
rename to src/main/webapp/static/wcs/layui/lay/modules/laydate.js
diff --git a/src/main/webapp/static/layui/lay/modules/layedit.js b/src/main/webapp/static/wcs/layui/lay/modules/layedit.js
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/layedit.js
rename to src/main/webapp/static/wcs/layui/lay/modules/layedit.js
diff --git a/src/main/webapp/static/layui/lay/modules/layer.js b/src/main/webapp/static/wcs/layui/lay/modules/layer.js
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/layer.js
rename to src/main/webapp/static/wcs/layui/lay/modules/layer.js
diff --git a/src/main/webapp/static/layui/lay/modules/laypage.js b/src/main/webapp/static/wcs/layui/lay/modules/laypage.js
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/laypage.js
rename to src/main/webapp/static/wcs/layui/lay/modules/laypage.js
diff --git a/src/main/webapp/static/layui/lay/modules/laytpl.js b/src/main/webapp/static/wcs/layui/lay/modules/laytpl.js
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/laytpl.js
rename to src/main/webapp/static/wcs/layui/lay/modules/laytpl.js
diff --git a/src/main/webapp/static/layui/lay/modules/mobile.js b/src/main/webapp/static/wcs/layui/lay/modules/mobile.js
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/mobile.js
rename to src/main/webapp/static/wcs/layui/lay/modules/mobile.js
diff --git a/src/main/webapp/static/layui/lay/modules/rate.js b/src/main/webapp/static/wcs/layui/lay/modules/rate.js
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/rate.js
rename to src/main/webapp/static/wcs/layui/lay/modules/rate.js
diff --git a/src/main/webapp/static/layui/lay/modules/slider.js b/src/main/webapp/static/wcs/layui/lay/modules/slider.js
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/slider.js
rename to src/main/webapp/static/wcs/layui/lay/modules/slider.js
diff --git a/src/main/webapp/static/layui/lay/modules/table.js b/src/main/webapp/static/wcs/layui/lay/modules/table.js
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/table.js
rename to src/main/webapp/static/wcs/layui/lay/modules/table.js
diff --git a/src/main/webapp/static/layui/lay/modules/transfer.js b/src/main/webapp/static/wcs/layui/lay/modules/transfer.js
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/transfer.js
rename to src/main/webapp/static/wcs/layui/lay/modules/transfer.js
diff --git a/src/main/webapp/static/layui/lay/modules/tree.js b/src/main/webapp/static/wcs/layui/lay/modules/tree.js
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/tree.js
rename to src/main/webapp/static/wcs/layui/lay/modules/tree.js
diff --git a/src/main/webapp/static/layui/lay/modules/upload.js b/src/main/webapp/static/wcs/layui/lay/modules/upload.js
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/upload.js
rename to src/main/webapp/static/wcs/layui/lay/modules/upload.js
diff --git a/src/main/webapp/static/layui/lay/modules/util.js b/src/main/webapp/static/wcs/layui/lay/modules/util.js
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/util.js
rename to src/main/webapp/static/wcs/layui/lay/modules/util.js
diff --git a/src/main/webapp/static/layui/layui.all.js b/src/main/webapp/static/wcs/layui/layui.all.js
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/layui.all.js
rename to src/main/webapp/static/wcs/layui/layui.all.js
diff --git a/src/main/webapp/static/layui/layui.js b/src/main/webapp/static/wcs/layui/layui.js
old mode 100755
new mode 100644
similarity index 100%
rename from src/main/webapp/static/layui/layui.js
rename to src/main/webapp/static/wcs/layui/layui.js
diff --git a/src/main/webapp/static/css/admin.css b/src/main/webapp/static/wms/css/admin.css
similarity index 100%
rename from src/main/webapp/static/css/admin.css
rename to src/main/webapp/static/wms/css/admin.css
diff --git a/src/main/webapp/static/css/bg.css b/src/main/webapp/static/wms/css/bg.css
similarity index 100%
rename from src/main/webapp/static/css/bg.css
rename to src/main/webapp/static/wms/css/bg.css
diff --git a/src/main/webapp/static/wms/css/common.css b/src/main/webapp/static/wms/css/common.css
new file mode 100644
index 0000000..5562fb9
--- /dev/null
+++ b/src/main/webapp/static/wms/css/common.css
@@ -0,0 +1,225 @@
+/**, *::before, *::after {*/
+/* -webkit-box-sizing: border-box;*/
+/* box-sizing: border-box;*/
+/* margin: 0;*/
+/* padding: 0;*/
+/*}*/
+
+body {
+ background-color: #fff;
+}
+
+input::placeholder {
+ color: #b4b4b4;
+}
+input::-webkit-input-placeholder { /* WebKit browsers 閫傞厤璋锋瓕 */
+ color: #b4b4b4;
+}
+.layui-input input:-moz-placeholder { /* Mozilla Firefox 4 to 18 閫傞厤鐏嫄 */
+ color: #b4b4b4;
+}
+.layui-input input::-moz-placeholder { /* Mozilla Firefox 19+ 閫傞厤鐏嫄 */
+ color: #b4b4b4;
+}
+.layui-input input:-ms-input-placeholder { /* Internet Explorer 10+ 閫傞厤ie*/
+ color: #b4b4b4;
+}
+
+/* layui浼樺寲 */
+.layui-form-label {
+ /*color: #595959;*/
+}
+.layui-input:focus {
+ border-color: #007bff !important;
+}
+/*鎼滅储鏍�*/
+.layui-form.layui-card-header {
+ padding: 20px 0 5px 0;
+ height: auto;
+}
+#search-box {
+ margin-left: 10px;
+ z-index: 999;
+ position: relative;
+ padding: 30px 30px 10px 30px;
+}
+#search-box .layui-inline{
+ margin-bottom: 10px;
+ margin-right: 5px;
+}
+#search-box .layui-input-inline {
+ width: 150px;
+}
+.layui-form-label{
+ font-size: 100%;
+ padding: 13px 0 9px 5px;
+ text-align: right;
+}
+#data-search-btn {
+ display: inline-block;
+ margin: 8px 0 0 10px;
+ justify-content: center;
+ align-items: center;
+}
+#data-search-btn.layui-btn-container .layui-btn{
+ margin-right: 20px;
+}
+
+/*澶村伐鍏锋爮*/
+.layui-table-tool-temp {
+ padding-right: 70px;
+}
+.layui-btn .layui-icon {
+ margin: 1px 5px;
+}
+#btn-add{
+ background: #007DDB
+}
+#btn-delete{
+ background: #ff5722
+}
+#btn-export{
+ float: right;
+}
+
+/*琛ㄦ牸*/
+.layui-table thead th {
+ font-weight: bold;
+ text-align: center;
+}
+div .layui-table-tool .layui-table-tool-self .layui-inline[title='瀵煎嚭']{
+ display: none;
+}
+.layui-form.layui-border-box.layui-table-view{
+ margin: 15px 0 35px 0;
+ width: 100%;
+ border-width: 0;
+}
+.layui-table-box{
+ padding-bottom: 10px;
+}
+/*.layui-table-body.layui-table-main{*/
+/* overflow: hidden;*/
+/*}*/
+.layui-table-page{
+ border-width: 0;
+}
+.layui-table tbody tr:hover, .layui-table thead tr, .layui-table-click, .layui-table-header, .layui-table-hover, .layui-table-mend, .layui-table-patch, .layui-table-tool, .layui-table-total, .layui-table-total tr, .layui-table[lay-even] tr:nth-child(even) {
+ background-color: #f9f9f9;
+}
+.layui-table-tool {
+ /*background-color: #fff;*/
+}
+/* table 锛堟崲琛�/璇︽儏锛夋樉绀烘帶鍒� */
+/*.layui-table-cell {*/
+ /*font-size:14px;*/
+ /*padding:0 5px;*/
+ /*height:auto;*/
+ /*overflow:visible;*/
+ /*text-overflow:inherit;*/
+ /*white-space:normal;*/
+ /*word-break: break-all;*/
+/*}*/
+/*.layui-table-grid-down {*/
+/* display: none;*/
+/*}*/
+
+/*璇︽儏*/
+#detail .layui-form-label{
+ white-space: nowrap;
+ font-size: 100%;
+ padding: 9px 0 9px 5px;
+ text-align: right;
+}
+#detail {
+ padding: 25px 0;
+ margin: 0 20px 0 30px;
+}
+#detail .layui-inline {
+ margin: 10px 15px 15px 0;
+}
+#detail .layui-input-inline {
+ margin-right: 40px;
+ margin-left: 95px;
+ display: block;
+}
+.layui-bg-gray {
+ margin-top: 40px;
+}
+#prompt {
+ margin-top: 20px;
+ width: 90%;
+ text-indent: 40px;
+ color: #505050;
+}
+#data-detail-btn {
+ padding-top: 25px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
+#data-detail-btn.layui-btn-container .layui-btn{
+ margin-right: 30px;
+}
+.not-null {
+ color:red;
+}
+
+#detail .layui-form-checkbox {
+ top: 10px;
+}
+
+/*鍥剧墖*/
+.cool-img {
+ cursor:pointer;
+ width: 200px;
+ height: 200px;
+}
+
+/*
+ 甯冨眬
+ */
+.col:empty{min-height:32px;height: inherit;z-index:1;position:relative;box-sizing: border-box;}
+.col:empty:after{
+ z-index:0;display:flex;align-items: center;justify-content: center;
+ clear: both;content:attr(title);position:absolute;
+ background:rgba(0,0,0,0.04);top:2px;left:2px;right:2px;bottom:2px;
+ text-align:center;color:rgba(0,0,0,0.1); border-radius: inherit;
+}
+.col{
+ height: inherit;
+}
+
+/*鏉冮檺*/
+#btn-add {
+ display: none;
+}
+.btn-edit {
+ display: none;
+}
+#btn-delete {
+ display: none;
+}
+#btn-export {
+ display: none;
+}
+#btn-into {
+ display: none;
+}
+
+/*淇敼澶嶉�夋棰滆壊*/
+/*.layui-form-checked[lay-skin=primary] i {*/
+ /*border-color: #4c95b8!important;*/
+ /*background-color: #4c95b8;*/
+ /*color: #fff;*/
+/*}*/
+/*.layui-form-checkbox[lay-skin=primary]:hover i {*/
+ /*border-color: #4c95b8;*/
+ /*color: #fff;*/
+/*}*/
+
+/* 濯掍綋鏌ヨ 鈥斺�� 鍝嶅簲甯冨眬 */
+/* 鍋氬搷搴斿紡甯冨眬鏃讹紝涓嶅缓璁敤鍥哄畾灏哄锛屽敖閲忕敤% */
+@media only screen and (max-width: 800px) {
+
+}
diff --git a/src/main/webapp/static/css/cool.css b/src/main/webapp/static/wms/css/cool.css
similarity index 93%
rename from src/main/webapp/static/css/cool.css
rename to src/main/webapp/static/wms/css/cool.css
index b592730..2e7d68b 100644
--- a/src/main/webapp/static/css/cool.css
+++ b/src/main/webapp/static/wms/css/cool.css
@@ -43,6 +43,3 @@
color:#aaaaaa;
}
-/*.layui-table-grid-down {*/
-/* display: none;*/
-/*}*/
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/css/font-awesome.css b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/css/font-awesome.css
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/css/font-awesome.css
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/css/font-awesome.css
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/css/font-awesome.min.css b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/css/font-awesome.min.css
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/css/font-awesome.min.css
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/css/font-awesome.min.css
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/fonts/FontAwesome.otf b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/fonts/FontAwesome.otf
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/fonts/FontAwesome.otf
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/fonts/FontAwesome.otf
Binary files differ
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/fonts/fontawesome-webfont.eot b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/fonts/fontawesome-webfont.eot
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/fonts/fontawesome-webfont.eot
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/fonts/fontawesome-webfont.eot
Binary files differ
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/fonts/fontawesome-webfont.svg b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/fonts/fontawesome-webfont.svg
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/fonts/fontawesome-webfont.svg
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/fonts/fontawesome-webfont.svg
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/fonts/fontawesome-webfont.ttf b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/fonts/fontawesome-webfont.ttf
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/fonts/fontawesome-webfont.ttf
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/fonts/fontawesome-webfont.ttf
Binary files differ
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/fonts/fontawesome-webfont.woff b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/fonts/fontawesome-webfont.woff
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/fonts/fontawesome-webfont.woff
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/fonts/fontawesome-webfont.woff
Binary files differ
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/fonts/fontawesome-webfont.woff2 b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/fonts/fontawesome-webfont.woff2
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/fonts/fontawesome-webfont.woff2
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/fonts/fontawesome-webfont.woff2
Binary files differ
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/less/animated.less b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/animated.less
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/less/animated.less
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/animated.less
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/less/bordered-pulled.less b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/bordered-pulled.less
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/less/bordered-pulled.less
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/bordered-pulled.less
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/less/core.less b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/core.less
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/less/core.less
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/core.less
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/less/fixed-width.less b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/fixed-width.less
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/less/fixed-width.less
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/fixed-width.less
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/less/font-awesome.less b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/font-awesome.less
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/less/font-awesome.less
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/font-awesome.less
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/less/icons.less b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/icons.less
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/less/icons.less
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/icons.less
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/less/larger.less b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/larger.less
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/less/larger.less
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/larger.less
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/less/list.less b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/list.less
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/less/list.less
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/list.less
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/less/mixins.less b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/mixins.less
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/less/mixins.less
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/mixins.less
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/less/path.less b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/path.less
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/less/path.less
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/path.less
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/less/rotated-flipped.less b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/rotated-flipped.less
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/less/rotated-flipped.less
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/rotated-flipped.less
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/less/screen-reader.less b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/screen-reader.less
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/less/screen-reader.less
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/screen-reader.less
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/less/stacked.less b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/stacked.less
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/less/stacked.less
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/stacked.less
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/less/variables.less b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/variables.less
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/less/variables.less
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/less/variables.less
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/scss/_animated.scss b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_animated.scss
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/scss/_animated.scss
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_animated.scss
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/scss/_bordered-pulled.scss b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_bordered-pulled.scss
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/scss/_bordered-pulled.scss
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_bordered-pulled.scss
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/scss/_core.scss b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_core.scss
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/scss/_core.scss
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_core.scss
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/scss/_fixed-width.scss b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_fixed-width.scss
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/scss/_fixed-width.scss
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_fixed-width.scss
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/scss/_icons.scss b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_icons.scss
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/scss/_icons.scss
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_icons.scss
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/scss/_larger.scss b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_larger.scss
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/scss/_larger.scss
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_larger.scss
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/scss/_list.scss b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_list.scss
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/scss/_list.scss
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_list.scss
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/scss/_mixins.scss b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_mixins.scss
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/scss/_mixins.scss
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_mixins.scss
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/scss/_path.scss b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_path.scss
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/scss/_path.scss
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_path.scss
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/scss/_rotated-flipped.scss b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_rotated-flipped.scss
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/scss/_rotated-flipped.scss
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_rotated-flipped.scss
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/scss/_screen-reader.scss b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_screen-reader.scss
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/scss/_screen-reader.scss
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_screen-reader.scss
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/scss/_stacked.scss b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_stacked.scss
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/scss/_stacked.scss
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_stacked.scss
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/scss/_variables.scss b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_variables.scss
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/scss/_variables.scss
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/_variables.scss
diff --git a/src/main/webapp/static/css/font/font-awesome-4.7.0/scss/font-awesome.scss b/src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/font-awesome.scss
similarity index 100%
rename from src/main/webapp/static/css/font/font-awesome-4.7.0/scss/font-awesome.scss
rename to src/main/webapp/static/wms/css/font/font-awesome-4.7.0/scss/font-awesome.scss
diff --git a/src/main/webapp/static/css/font/montserrat/Montserrat-Black.ttf b/src/main/webapp/static/wms/css/font/montserrat/Montserrat-Black.ttf
similarity index 100%
rename from src/main/webapp/static/css/font/montserrat/Montserrat-Black.ttf
rename to src/main/webapp/static/wms/css/font/montserrat/Montserrat-Black.ttf
Binary files differ
diff --git a/src/main/webapp/static/css/font/montserrat/Montserrat-BlackItalic.ttf b/src/main/webapp/static/wms/css/font/montserrat/Montserrat-BlackItalic.ttf
similarity index 100%
rename from src/main/webapp/static/css/font/montserrat/Montserrat-BlackItalic.ttf
rename to src/main/webapp/static/wms/css/font/montserrat/Montserrat-BlackItalic.ttf
Binary files differ
diff --git a/src/main/webapp/static/css/font/montserrat/Montserrat-Bold.ttf b/src/main/webapp/static/wms/css/font/montserrat/Montserrat-Bold.ttf
similarity index 100%
rename from src/main/webapp/static/css/font/montserrat/Montserrat-Bold.ttf
rename to src/main/webapp/static/wms/css/font/montserrat/Montserrat-Bold.ttf
Binary files differ
diff --git a/src/main/webapp/static/css/font/montserrat/Montserrat-BoldItalic.ttf b/src/main/webapp/static/wms/css/font/montserrat/Montserrat-BoldItalic.ttf
similarity index 100%
rename from src/main/webapp/static/css/font/montserrat/Montserrat-BoldItalic.ttf
rename to src/main/webapp/static/wms/css/font/montserrat/Montserrat-BoldItalic.ttf
Binary files differ
diff --git a/src/main/webapp/static/css/font/montserrat/Montserrat-ExtraBold.ttf b/src/main/webapp/static/wms/css/font/montserrat/Montserrat-ExtraBold.ttf
similarity index 100%
rename from src/main/webapp/static/css/font/montserrat/Montserrat-ExtraBold.ttf
rename to src/main/webapp/static/wms/css/font/montserrat/Montserrat-ExtraBold.ttf
Binary files differ
diff --git a/src/main/webapp/static/css/font/montserrat/Montserrat-ExtraBoldItalic.ttf b/src/main/webapp/static/wms/css/font/montserrat/Montserrat-ExtraBoldItalic.ttf
similarity index 100%
rename from src/main/webapp/static/css/font/montserrat/Montserrat-ExtraBoldItalic.ttf
rename to src/main/webapp/static/wms/css/font/montserrat/Montserrat-ExtraBoldItalic.ttf
Binary files differ
diff --git a/src/main/webapp/static/css/font/montserrat/Montserrat-ExtraLight.ttf b/src/main/webapp/static/wms/css/font/montserrat/Montserrat-ExtraLight.ttf
similarity index 100%
rename from src/main/webapp/static/css/font/montserrat/Montserrat-ExtraLight.ttf
rename to src/main/webapp/static/wms/css/font/montserrat/Montserrat-ExtraLight.ttf
Binary files differ
diff --git a/src/main/webapp/static/css/font/montserrat/Montserrat-ExtraLightItalic.ttf b/src/main/webapp/static/wms/css/font/montserrat/Montserrat-ExtraLightItalic.ttf
similarity index 100%
rename from src/main/webapp/static/css/font/montserrat/Montserrat-ExtraLightItalic.ttf
rename to src/main/webapp/static/wms/css/font/montserrat/Montserrat-ExtraLightItalic.ttf
Binary files differ
diff --git a/src/main/webapp/static/css/font/montserrat/Montserrat-Italic.ttf b/src/main/webapp/static/wms/css/font/montserrat/Montserrat-Italic.ttf
similarity index 100%
rename from src/main/webapp/static/css/font/montserrat/Montserrat-Italic.ttf
rename to src/main/webapp/static/wms/css/font/montserrat/Montserrat-Italic.ttf
Binary files differ
diff --git a/src/main/webapp/static/css/font/montserrat/Montserrat-Light.ttf b/src/main/webapp/static/wms/css/font/montserrat/Montserrat-Light.ttf
similarity index 100%
rename from src/main/webapp/static/css/font/montserrat/Montserrat-Light.ttf
rename to src/main/webapp/static/wms/css/font/montserrat/Montserrat-Light.ttf
Binary files differ
diff --git a/src/main/webapp/static/css/font/montserrat/Montserrat-LightItalic.ttf b/src/main/webapp/static/wms/css/font/montserrat/Montserrat-LightItalic.ttf
similarity index 100%
rename from src/main/webapp/static/css/font/montserrat/Montserrat-LightItalic.ttf
rename to src/main/webapp/static/wms/css/font/montserrat/Montserrat-LightItalic.ttf
Binary files differ
diff --git a/src/main/webapp/static/css/font/montserrat/Montserrat-Medium.ttf b/src/main/webapp/static/wms/css/font/montserrat/Montserrat-Medium.ttf
similarity index 100%
rename from src/main/webapp/static/css/font/montserrat/Montserrat-Medium.ttf
rename to src/main/webapp/static/wms/css/font/montserrat/Montserrat-Medium.ttf
Binary files differ
diff --git a/src/main/webapp/static/css/font/montserrat/Montserrat-MediumItalic.ttf b/src/main/webapp/static/wms/css/font/montserrat/Montserrat-MediumItalic.ttf
similarity index 100%
rename from src/main/webapp/static/css/font/montserrat/Montserrat-MediumItalic.ttf
rename to src/main/webapp/static/wms/css/font/montserrat/Montserrat-MediumItalic.ttf
Binary files differ
diff --git a/src/main/webapp/static/css/font/montserrat/Montserrat-Regular.ttf b/src/main/webapp/static/wms/css/font/montserrat/Montserrat-Regular.ttf
similarity index 100%
rename from src/main/webapp/static/css/font/montserrat/Montserrat-Regular.ttf
rename to src/main/webapp/static/wms/css/font/montserrat/Montserrat-Regular.ttf
Binary files differ
diff --git a/src/main/webapp/static/css/font/montserrat/Montserrat-SemiBold.ttf b/src/main/webapp/static/wms/css/font/montserrat/Montserrat-SemiBold.ttf
similarity index 100%
rename from src/main/webapp/static/css/font/montserrat/Montserrat-SemiBold.ttf
rename to src/main/webapp/static/wms/css/font/montserrat/Montserrat-SemiBold.ttf
Binary files differ
diff --git a/src/main/webapp/static/css/font/montserrat/Montserrat-SemiBoldItalic.ttf b/src/main/webapp/static/wms/css/font/montserrat/Montserrat-SemiBoldItalic.ttf
similarity index 100%
rename from src/main/webapp/static/css/font/montserrat/Montserrat-SemiBoldItalic.ttf
rename to src/main/webapp/static/wms/css/font/montserrat/Montserrat-SemiBoldItalic.ttf
Binary files differ
diff --git a/src/main/webapp/static/css/font/montserrat/Montserrat-Thin.ttf b/src/main/webapp/static/wms/css/font/montserrat/Montserrat-Thin.ttf
similarity index 100%
rename from src/main/webapp/static/css/font/montserrat/Montserrat-Thin.ttf
rename to src/main/webapp/static/wms/css/font/montserrat/Montserrat-Thin.ttf
Binary files differ
diff --git a/src/main/webapp/static/css/font/montserrat/Montserrat-ThinItalic.ttf b/src/main/webapp/static/wms/css/font/montserrat/Montserrat-ThinItalic.ttf
similarity index 100%
rename from src/main/webapp/static/css/font/montserrat/Montserrat-ThinItalic.ttf
rename to src/main/webapp/static/wms/css/font/montserrat/Montserrat-ThinItalic.ttf
Binary files differ
diff --git a/src/main/webapp/static/css/font/montserrat/OFL.txt b/src/main/webapp/static/wms/css/font/montserrat/OFL.txt
similarity index 100%
rename from src/main/webapp/static/css/font/montserrat/OFL.txt
rename to src/main/webapp/static/wms/css/font/montserrat/OFL.txt
diff --git a/src/main/webapp/static/wms/css/index.css b/src/main/webapp/static/wms/css/index.css
new file mode 100644
index 0000000..9ec0f2c
--- /dev/null
+++ b/src/main/webapp/static/wms/css/index.css
@@ -0,0 +1,125 @@
+body {
+ display : none;
+}
+
+/* 鐢ㄦ埛鍔熻兘鏍�*/
+.layui-side.layui-bg-black.layui-side-menu::-webkit-scrollbar {
+ width: 0 !important
+}
+#person {
+ position: relative;
+ z-index:2;
+ margin: 40px 0;
+ text-align: center
+}
+#person-username {
+ font-size: large;
+ top: 35px;
+ left: 70px;
+}
+.dropdown-list {
+ display: inline-block
+}
+.dropdown-item {
+ background:transparent;
+ position: absolute;
+ width: 100%;
+ left: 0;
+}
+#person:hover dd {
+ display: block;
+}
+#person:hover dt {
+ transform: rotate(180deg) translate(0, 4px);
+}
+/*灏忕澶�*/
+.dropdown-list dt {
+ border-left: 6px solid transparent;
+ border-right: 6px solid transparent;
+ border-top: 6px solid;
+ border-top-color: rgba(255,255,255,.7);
+ padding-top: 3px;
+}
+/*閫夐」*/
+#person dd {
+ top: 100%;
+ left: 0;
+ width:100%;
+ position: absolute;
+ line-height: 32px;
+ display: none;
+ padding-top: 3px;
+ z-index:999;
+}
+.dropdown-item ul {
+ width:80%;
+ margin:0 auto;
+ background:#222;
+ box-shadow: 0 0 5px rgba(200,200,200,0.03);
+ border-radius: 5px;
+ letter-spacing: 2px;
+}
+.dropdown-item ul li a {
+ color:#555;
+}
+
+
+
+
+/*渚ц竟鑿滃崟鏍�*/
+#cool-menu-tree li {
+ cursor:pointer;
+}
+.site-active {
+ text-indent: 1em;
+}
+
+.layui-side.layui-bg-black.layui-side-menu {
+ position: absolute;
+ top: 0;
+ z-index: 1;
+}
+.layui-side-scroll {
+ height: auto;
+}
+
+/* <!--鍐呭涓讳綋--> */
+.layui-tab-title {
+ box-sizing: border-box;
+ box-shadow: 0 1px 2px 0 rgba(0,0,0,.1);
+}
+.layui-layout-admin .layui-body {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ z-index: -1;
+}
+/*閫夐」鍗�*/
+.layui-body .layui-tab.layui-tab-card {
+ height: 100%;
+ margin: 0;
+ border-width: 0;
+}
+/*閫夐」鍗℃爣棰�*/
+.layui-tab-title {
+ border-bottom-width: 0px;
+}
+/*閫夐」鍗″唴瀹�*/
+.layui-tab-content {
+ position: absolute;
+ top: 40px;
+ bottom: 4px;
+ width: 100%;
+ padding: 0;
+}
+.layui-tab-item.layui-show {
+ height: 100%;
+}
+
+.site-active {
+ -moz-user-select:none;/*鐏嫄*/
+ -webkit-user-select:none;/*webkit娴忚鍣�*/
+ -ms-user-select:none;/*IE10*/
+ -khtml-user-select:none;/*鏃╂湡娴忚鍣�*/
+ user-select:none;
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/css/loader.css b/src/main/webapp/static/wms/css/loader.css
similarity index 100%
rename from src/main/webapp/static/css/loader.css
rename to src/main/webapp/static/wms/css/loader.css
diff --git a/src/main/webapp/static/css/login.css b/src/main/webapp/static/wms/css/login.css
similarity index 100%
rename from src/main/webapp/static/css/login.css
rename to src/main/webapp/static/wms/css/login.css
diff --git a/src/main/webapp/static/css/main.min.css b/src/main/webapp/static/wms/css/main.min.css
similarity index 100%
rename from src/main/webapp/static/css/main.min.css
rename to src/main/webapp/static/wms/css/main.min.css
diff --git a/src/main/webapp/static/css/optimize.css b/src/main/webapp/static/wms/css/optimize.css
similarity index 100%
rename from src/main/webapp/static/css/optimize.css
rename to src/main/webapp/static/wms/css/optimize.css
diff --git a/src/main/webapp/static/css/originTable.css b/src/main/webapp/static/wms/css/originTable.css
similarity index 100%
rename from src/main/webapp/static/css/originTable.css
rename to src/main/webapp/static/wms/css/originTable.css
diff --git a/src/main/webapp/static/css/pda.css b/src/main/webapp/static/wms/css/pda.css
similarity index 100%
rename from src/main/webapp/static/css/pda.css
rename to src/main/webapp/static/wms/css/pda.css
diff --git a/src/main/webapp/static/css/print.css b/src/main/webapp/static/wms/css/print.css
similarity index 100%
rename from src/main/webapp/static/css/print.css
rename to src/main/webapp/static/wms/css/print.css
diff --git a/src/main/webapp/static/css/road.css b/src/main/webapp/static/wms/css/road.css
similarity index 100%
rename from src/main/webapp/static/css/road.css
rename to src/main/webapp/static/wms/css/road.css
diff --git a/src/main/webapp/static/css/tree.css b/src/main/webapp/static/wms/css/tree.css
similarity index 100%
rename from src/main/webapp/static/css/tree.css
rename to src/main/webapp/static/wms/css/tree.css
diff --git a/src/main/webapp/static/image/Excel.png b/src/main/webapp/static/wms/image/Excel.png
similarity index 100%
rename from src/main/webapp/static/image/Excel.png
rename to src/main/webapp/static/wms/image/Excel.png
Binary files differ
diff --git a/src/main/webapp/static/image/bg.jpg b/src/main/webapp/static/wms/image/bg.jpg
similarity index 100%
rename from src/main/webapp/static/image/bg.jpg
rename to src/main/webapp/static/wms/image/bg.jpg
Binary files differ
diff --git a/src/main/webapp/static/image/favicon.ico b/src/main/webapp/static/wms/image/favicon.ico
similarity index 100%
rename from src/main/webapp/static/image/favicon.ico
rename to src/main/webapp/static/wms/image/favicon.ico
Binary files differ
diff --git a/src/main/webapp/static/image/instancing/cubemap_nx.png b/src/main/webapp/static/wms/image/instancing/cubemap_nx.png
similarity index 100%
rename from src/main/webapp/static/image/instancing/cubemap_nx.png
rename to src/main/webapp/static/wms/image/instancing/cubemap_nx.png
Binary files differ
diff --git a/src/main/webapp/static/image/instancing/cubemap_ny.png b/src/main/webapp/static/wms/image/instancing/cubemap_ny.png
similarity index 100%
rename from src/main/webapp/static/image/instancing/cubemap_ny.png
rename to src/main/webapp/static/wms/image/instancing/cubemap_ny.png
Binary files differ
diff --git a/src/main/webapp/static/image/instancing/cubemap_nz.png b/src/main/webapp/static/wms/image/instancing/cubemap_nz.png
similarity index 100%
rename from src/main/webapp/static/image/instancing/cubemap_nz.png
rename to src/main/webapp/static/wms/image/instancing/cubemap_nz.png
Binary files differ
diff --git a/src/main/webapp/static/image/instancing/cubemap_px.png b/src/main/webapp/static/wms/image/instancing/cubemap_px.png
similarity index 100%
rename from src/main/webapp/static/image/instancing/cubemap_px.png
rename to src/main/webapp/static/wms/image/instancing/cubemap_px.png
Binary files differ
diff --git a/src/main/webapp/static/image/instancing/cubemap_py.png b/src/main/webapp/static/wms/image/instancing/cubemap_py.png
similarity index 100%
rename from src/main/webapp/static/image/instancing/cubemap_py.png
rename to src/main/webapp/static/wms/image/instancing/cubemap_py.png
Binary files differ
diff --git a/src/main/webapp/static/image/instancing/cubemap_pz.png b/src/main/webapp/static/wms/image/instancing/cubemap_pz.png
similarity index 100%
rename from src/main/webapp/static/image/instancing/cubemap_pz.png
rename to src/main/webapp/static/wms/image/instancing/cubemap_pz.png
Binary files differ
diff --git a/src/main/webapp/static/image/login_bg.jpg b/src/main/webapp/static/wms/image/login_bg.jpg
similarity index 100%
rename from src/main/webapp/static/image/login_bg.jpg
rename to src/main/webapp/static/wms/image/login_bg.jpg
Binary files differ
diff --git a/src/main/webapp/static/wms/image/logo.png b/src/main/webapp/static/wms/image/logo.png
new file mode 100644
index 0000000..094646e
--- /dev/null
+++ b/src/main/webapp/static/wms/image/logo.png
Binary files differ
diff --git a/src/main/webapp/static/image/nav/bg_1.png b/src/main/webapp/static/wms/image/nav/bg_1.png
similarity index 100%
rename from src/main/webapp/static/image/nav/bg_1.png
rename to src/main/webapp/static/wms/image/nav/bg_1.png
Binary files differ
diff --git a/src/main/webapp/static/image/nav/fn_1.png b/src/main/webapp/static/wms/image/nav/fn_1.png
similarity index 100%
rename from src/main/webapp/static/image/nav/fn_1.png
rename to src/main/webapp/static/wms/image/nav/fn_1.png
Binary files differ
diff --git a/src/main/webapp/static/image/nav/fn_1_h.png b/src/main/webapp/static/wms/image/nav/fn_1_h.png
similarity index 100%
rename from src/main/webapp/static/image/nav/fn_1_h.png
rename to src/main/webapp/static/wms/image/nav/fn_1_h.png
Binary files differ
diff --git a/src/main/webapp/static/image/nav/fn_2.png b/src/main/webapp/static/wms/image/nav/fn_2.png
similarity index 100%
rename from src/main/webapp/static/image/nav/fn_2.png
rename to src/main/webapp/static/wms/image/nav/fn_2.png
Binary files differ
diff --git a/src/main/webapp/static/image/nav/fn_2_h.png b/src/main/webapp/static/wms/image/nav/fn_2_h.png
similarity index 100%
rename from src/main/webapp/static/image/nav/fn_2_h.png
rename to src/main/webapp/static/wms/image/nav/fn_2_h.png
Binary files differ
diff --git a/src/main/webapp/static/image/nav/fn_3.png b/src/main/webapp/static/wms/image/nav/fn_3.png
similarity index 100%
rename from src/main/webapp/static/image/nav/fn_3.png
rename to src/main/webapp/static/wms/image/nav/fn_3.png
Binary files differ
diff --git a/src/main/webapp/static/image/nav/fn_3_h.png b/src/main/webapp/static/wms/image/nav/fn_3_h.png
similarity index 100%
rename from src/main/webapp/static/image/nav/fn_3_h.png
rename to src/main/webapp/static/wms/image/nav/fn_3_h.png
Binary files differ
diff --git a/src/main/webapp/static/image/nav/icon.png b/src/main/webapp/static/wms/image/nav/icon.png
similarity index 100%
rename from src/main/webapp/static/image/nav/icon.png
rename to src/main/webapp/static/wms/image/nav/icon.png
Binary files differ
diff --git a/src/main/webapp/static/wms/js/adjDetl/adjDetl.js b/src/main/webapp/static/wms/js/adjDetl/adjDetl.js
new file mode 100644
index 0000000..cf5c1f8
--- /dev/null
+++ b/src/main/webapp/static/wms/js/adjDetl/adjDetl.js
@@ -0,0 +1,397 @@
+var pageCurr;
+layui.use(['table','laydate', 'form'], function(){
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#adjDetl',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/adjDetl/list/auth',
+ page: true,
+ limit: 16,
+ limits: [16, 30, 50, 100, 200, 500],
+ even: true,
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ cols: [[
+ // {type: 'checkbox'}
+// ,{field: 'id', title: 'ID', sort: true,align: 'center', fixed: 'left', width: 80}
+// {field: 'adjId', align: 'center',title: '搴忓彿'}
+ {field: 'locNo', align: 'center',title: '搴撲綅鍙�'}
+ ,{field: 'matnr', align: 'center',title: '鍟嗗搧缂栧彿'}
+ ,{field: 'batch', align: 'center',title: '鎵瑰彿'}
+ // ,{field: 'oriCtns', align: 'center',title: '鍘熺鏁�'}
+ ,{field: 'oriQty', align: 'center',title: '鍘熸暟閲�'}
+ // ,{field: 'oriWt', align: 'center',title: '鍘熼噸閲�'}
+ // ,{field: 'adjCtns', align: 'center',title: '鍙樻洿绠辨暟'}
+ ,{field: 'adjQty', align: 'center',title: '鍙樻洿鏁伴噺'}
+ // ,{field: 'adjWt', align: 'center',title: '鍙樻洿閲嶉噺'}
+ ,{field: 'memo', align: 'center',title: '澶囨敞',hide:true}
+ ,{field: 'modiUser$', align: 'center',title: '淇敼浜哄憳'}
+ ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿'}
+ // ,{field: 'appeUser', align: 'center',title: '鍒涘缓鑰�'}
+ // ,{field: 'appeTime$', align: 'center',title: '娣诲姞鏃堕棿'}
+
+ // ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:100}
+ ]],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ form.on('checkbox(tableCheckbox)', function (data) {
+ var _index = $(data.elem).attr('table-index')||0;
+ if(data.elem.checked){
+ res.data[_index][data.value] = 'Y';
+ }else{
+ res.data[_index][data.value] = 'N';
+ }
+ });
+ }
+ });
+
+ // 鐩戝惉鎺掑簭浜嬩欢
+ table.on('sort(locMast)', function (obj) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ searchData['orderByField'] = obj.field;
+ searchData['orderByType'] = obj.type;
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: 1
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(adjDetl)', function (obj) {
+ var checkStatus = table.checkStatus(obj.config.id);
+ switch(obj.event) {
+ case 'deleteData':
+ var data = checkStatus.data;
+ if (data.length === 0){
+ layer.msg('璇烽�夋嫨鏁版嵁');
+ } else {
+ layer.confirm('纭畾鍒犻櫎'+(data.length===1?'姝�':data.length)+'鏉℃暟鎹悧', function(){
+ $.ajax({
+ url: baseUrl+"/adjDetl/delete/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {param: JSON.stringify(data)},
+ method: 'POST',
+ traditional:true,
+ success: function (res) {
+ if (res.code === 200){
+ layer.closeAll();
+ tableReload(false);
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ });
+ }
+ break;
+ case 'exportData':
+ layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+ var titles=[];
+ var fields=[];
+ obj.config.cols[0].map(function (col) {
+ if (col.type === 'normal' && col.hide === false && col.toolbar == null) {
+ titles.push(col.title);
+ fields.push(col.field);
+ }
+ });
+ var exportData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ exportData[this.name] = this.value;
+ });
+ var param = {
+ 'adjDetl': exportData,
+ 'fields': fields
+ };
+ $.ajax({
+ url: baseUrl+"/adjDetl/export/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ layer.closeAll();
+ if (res.code === 200) {
+ table.exportFile(titles,res.data,'xls');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ });
+ });
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(adjDetl)', function(obj){
+ var data = obj.data;
+ switch (obj.event) {
+ // 璇︽儏
+ case 'detail':
+ layer.open({
+ type: 2,
+ title: '璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: true,
+ content: 'adjDetl_detail.html',
+ success: function(layero, index){
+ setFormVal(layer.getChildFrame('#detail', index), data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+ // 缂栬緫
+ case 'edit':
+ layer.open({
+ type: 2,
+ title: '淇敼',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ content: 'adjDetl_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-save', index).hide();
+ setFormVal(layer.getChildFrame('#detail', index), data, false);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), false);
+ top.convertDisabled(layer.getChildFrame('#adjId', index), true);
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+
+ }
+ });
+
+ // 鏁版嵁淇濆瓨鍔ㄤ綔
+ form.on('submit(save)', function () {
+ if (banMsg != null){
+ layer.msg(banMsg);
+ return;
+ }
+ method("add");
+ });
+
+ // 鏁版嵁淇敼鍔ㄤ綔
+ form.on('submit(edit)', function () {
+ method("update")
+ });
+
+ function method(name){
+ var index = layer.load(1, {
+ shade: [0.5,'#000'] //0.1閫忔槑搴︾殑鑳屾櫙
+ });
+ var data = {
+// id: $('#id').val(),
+ adjId: $('#adjId').val(),
+ locNo: $('#locNo').val(),
+ matNo: $('#matNo').val(),
+ oriCtns: $('#oriCtns').val(),
+ oriQty: $('#oriQty').val(),
+ oriWt: $('#oriWt').val(),
+ adjCtns: $('#adjCtns').val(),
+ adjQty: $('#adjQty').val(),
+ adjWt: $('#adjWt').val(),
+ memo: $('#memo').val(),
+ modiUser: $('#modiUser').val(),
+ modiTime: top.strToDate($('#modiTime\\$').val()),
+ appeUser: $('#appeUser').val(),
+ appeTime: top.strToDate($('#appeTime\\$').val()),
+
+ };
+ $.ajax({
+ url: baseUrl+"/adjDetl/"+name+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: top.reObject(data),
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ parent.layer.closeAll();
+ parent.$(".layui-laypage-btn")[0].click();
+ $("#data-detail :input").each(function () {
+ $(this).val("");
+ });
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ layer.close(index);
+ }
+ })
+ }
+
+ // 澶嶉�夋浜嬩欢
+ form.on('checkbox(detailCheckbox)', function (data) {
+ var el = data.elem;
+ if (el.checked) {
+ $(el).val('Y');
+ } else {
+ $(el).val('N');
+ }
+ });
+
+ // 鎼滅储鏍忔悳绱簨浠�
+ form.on('submit(search)', function (data) {
+ pageCurr = 1;
+ tableReload(false);
+ });
+
+ // 鎼滅储鏍忛噸缃簨浠�
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ tableReload(false);
+ });
+
+ // 鏃堕棿閫夋嫨鍣�
+ layDate.render({
+ elem: '#modiTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#appeTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '.layui-laydate-range'
+ ,type: 'datetime'
+ ,range: true
+ });
+
+});
+
+// 鍏抽棴鍔ㄤ綔
+$(document).on('click','#data-detail-close', function () {
+ parent.layer.closeAll();
+});
+
+function tableReload(child) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ (child ? parent.tableIns : tableIns).reload({
+ where: searchData,
+ page: {
+ curr: pageCurr
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ if (res.data.length === 0 && count !== 0) {
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: pageCurr-1
+ }
+ });
+ pageCurr -= 1;
+ }
+ limit(child);
+ }
+ });
+}
+
+function setFormVal(el, data, showImg) {
+ for (var val in data) {
+ var find = el.find(":input[id='" + val + "']");
+ if (find[0]!=null){
+ if (find[0].type === 'checkbox'){
+ if (data[val]==='Y'){
+ find.attr("checked","checked");
+ find.val('Y');
+ } else {
+ find.remove("checked");
+ find.val('N');
+ }
+ continue;
+ }
+ }
+ find.val(data[val]);
+ if (showImg){
+ var next = find.next();
+ if (next.get(0)){
+ if (next.get(0).localName === "img") {
+ find.hide();
+ next.attr("src", data[val]);
+ next.show();
+ }
+ }
+ }
+ }
+}
+
+function clearFormVal(el) {
+ $(':input', el)
+ .val('')
+ .removeAttr('checked')
+ .removeAttr('selected');
+}
+
+function detailScreen(index) {
+ var detail = layer.getChildFrame('#data-detail', index);
+ var height = detail.height()+60;
+ if (height > ($(window).height()*0.9)) {
+ height = ($(window).height()*0.8);
+ }
+ layer.style(index, {
+// top: (($(window).height()-height)/3)+"px",
+ height: height+'px'
+ });
+}
+
+$('body').keydown(function () {
+ if (event.keyCode === 13) {
+ $("#search").click();
+ }
+});
diff --git a/src/main/webapp/static/js/api/api.js b/src/main/webapp/static/wms/js/api/api.js
similarity index 100%
rename from src/main/webapp/static/js/api/api.js
rename to src/main/webapp/static/wms/js/api/api.js
diff --git a/src/main/webapp/static/wms/js/apiLog/apiLog.js b/src/main/webapp/static/wms/js/apiLog/apiLog.js
new file mode 100644
index 0000000..9e7dd31
--- /dev/null
+++ b/src/main/webapp/static/wms/js/apiLog/apiLog.js
@@ -0,0 +1,264 @@
+var pageCurr;
+layui.config({
+ base: baseUrl + "/static/layui/lay/modules/"
+}).use(['table','laydate', 'form', 'admin'], function(){
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+ var admin = layui.admin;
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#apiLog',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/apiLog/list/auth',
+ page: true,
+ limit: 15,
+ limits: [15, 30, 50, 100, 200, 500],
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ height: 'full-120',
+ cols: [[
+ {type: 'checkbox'}
+ // ,{field: 'id', align: 'center',title: 'ID'}
+ // ,{field: 'uuid', align: 'center',title: '鏃ュ織缂栧彿'}
+ ,{field: 'namespace', align: 'center',title: '鍚嶇О绌洪棿'}
+ ,{field: 'url', align: 'center',title: '鎺ュ彛鍦板潃'}
+ ,{field: 'appkey', align: 'center',title: '骞冲彴瀵嗛挜'}
+ // ,{field: 'timestamp', align: 'center',title: '鏃堕棿鎴�'}
+ ,{field: 'clientIp', align: 'center',title: '瀹㈡埛绔疘P'}
+ ,{field: 'request', align: 'center',title: '璇锋眰鍐呭'}
+ ,{field: 'response', align: 'center',title: '鍝嶅簲鍐呭'}
+ // ,{field: 'err', align: 'center',title: '寮傚父鍐呭'}
+ ,{field: 'result$', align: 'center',title: '缁撴灉', templet: '#resTpl', width: 80}
+ // ,{field: 'status$', align: 'center',title: '鐘舵��'}
+ ,{field: 'createTime$', align: 'center',title: '娣诲姞鏃堕棿'}
+ // ,{field: 'updateTime$', align: 'center',title: '淇敼鏃堕棿'}
+ ,{field: 'memo', align: 'center',title: '澶囨敞', hide: true}
+
+ ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width: 80}
+ ]],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+
+ // 鐩戝惉鎺掑簭浜嬩欢
+ table.on('sort(apiLog)', function (obj) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ searchData['orderByField'] = obj.field;
+ searchData['orderByType'] = obj.type;
+ tableIns.reload({
+ where: searchData,
+ page: {curr: 1}
+ });
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(apiLog)', function (obj) {
+ var checkStatus = table.checkStatus(obj.config.id).data;
+ switch(obj.event) {
+ case 'addData':
+ showEditModel();
+ break;
+ case 'deleteData':
+ if (checkStatus.length === 0) {
+ layer.msg('璇烽�夋嫨瑕佸垹闄ょ殑鏁版嵁', {icon: 2});
+ return;
+ }
+ del(checkStatus.map(function (d) {
+ return d.id;
+ }));
+ break;
+ case 'exportData':
+ admin.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+ var titles=[];
+ var fields=[];
+ obj.config.cols[0].map(function (col) {
+ if (col.type === 'normal' && col.hide === false && col.toolbar == null) {
+ titles.push(col.title);
+ fields.push(col.field);
+ }
+ });
+ var exportData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ exportData[this.name] = this.value;
+ });
+ var param = {
+ 'apiLog': exportData,
+ 'fields': fields
+ };
+ $.ajax({
+ url: baseUrl+"/apiLog/export/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ layer.closeAll();
+ if (res.code === 200) {
+ table.exportFile(titles,res.data,'xls');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg, {icon: 2})
+ }
+ }
+ });
+ });
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(apiLog)', function(obj){
+ var data = obj.data;
+ switch (obj.event) {
+ case 'edit':
+ showEditModel(data);
+ break;
+ case "del":
+ del([data.id]);
+ break;
+ }
+ });
+
+ /* 寮圭獥 - 鏂板銆佷慨鏀� */
+ function showEditModel(mData) {
+ admin.open({
+ type: 1,
+ area: '600px',
+ title: (mData ? '淇敼' : '娣诲姞') + '璁㈠崟鐘舵��',
+ content: $('#editDialog').html(),
+ success: function (layero, dIndex) {
+ layDateRender(mData);
+ form.val('detail', mData);
+ form.on('submit(editSubmit)', function (data) {
+ var loadIndex = layer.load(2);
+ $.ajax({
+ url: baseUrl+"/apiLog/"+(mData?'update':'add')+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: data.field,
+ method: 'POST',
+ success: function (res) {
+ layer.close(loadIndex);
+ if (res.code === 200){
+ layer.close(dIndex);
+ layer.msg(res.msg, {icon: 1});
+ tableReload();
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg, {icon: 2});
+ }
+ }
+ })
+ return false;
+ });
+ $(layero).children('.layui-layer-content').css('overflow', 'visible');
+ layui.form.render('select');
+ }
+ });
+ }
+
+ /* 鍒犻櫎 */
+ function del(ids) {
+ layer.confirm('纭畾瑕佸垹闄ら�変腑鏁版嵁鍚楋紵', {
+ skin: 'layui-layer-admin',
+ shade: .1
+ }, function (i) {
+ layer.close(i);
+ var loadIndex = layer.load(2);
+ $.ajax({
+ url: baseUrl+"/apiLog/delete/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {ids: ids},
+ method: 'POST',
+ success: function (res) {
+ layer.close(loadIndex);
+ if (res.code === 200){
+ layer.msg(res.msg, {icon: 1});
+ tableReload();
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg, {icon: 2});
+ }
+ }
+ })
+ });
+ }
+
+ // 鎼滅储
+ form.on('submit(search)', function (data) {
+ pageCurr = 1;
+ tableReload(false);
+ });
+
+ // 閲嶇疆
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ tableReload(false);
+ });
+
+ // 鏃堕棿閫夋嫨鍣�
+ function layDateRender(data) {
+ setTimeout(function () {
+ layDate.render({
+ elem: '#createTime\\$',
+ type: 'datetime',
+ value: data!==undefined?data['createTime\\$']:null
+ });
+ layDate.render({
+ elem: '#updateTime\\$',
+ type: 'datetime',
+ value: data!==undefined?data['updateTime\\$']:null
+ });
+
+ }, 300);
+ }
+ layDateRender();
+
+});
+
+// 鍏抽棴鍔ㄤ綔
+$(document).on('click','#data-detail-close', function () {
+ parent.layer.closeAll();
+});
+
+function tableReload(child) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ tableIns.reload({
+ where: searchData,
+ page: {curr: pageCurr}
+ });
+}
diff --git a/src/main/webapp/static/wms/js/basCrnError/basCrnError.js b/src/main/webapp/static/wms/js/basCrnError/basCrnError.js
new file mode 100644
index 0000000..5b7d565
--- /dev/null
+++ b/src/main/webapp/static/wms/js/basCrnError/basCrnError.js
@@ -0,0 +1,474 @@
+var pageCurr;
+layui.use(['table','laydate', 'form'], function(){
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#basCrnError',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/basCrnError/list/auth',
+ page: true,
+ limit: 16,
+ limits: [16, 30, 50, 100, 200, 500],
+ even: true,
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ cols: [[
+ {type: 'checkbox', fixed: 'left'}
+// ,{field: 'id', title: 'ID', sort: true,align: 'center', fixed: 'left', width: 80}
+ ,{field: 'errorCode', align: 'center',title: '寮傚父浠e彿', sort:true}
+ ,{field: 'errName', align: 'center',title: '寮傚父鎻忚堪'}
+ ,{field: 'modiUser$', align: 'center',title: '淇敼浜哄憳'}
+ ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿'}
+ // ,{field: 'appeUser$', align: 'center',title: '鍒涘缓鑰�',event: 'appeUser', style: 'text-decoration: underline;cursor:pointer'}
+ // ,{field: 'appeTime$', align: 'center',title: '娣诲姞鏃堕棿'}
+
+ ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:150}
+ ]],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ form.on('checkbox(tableCheckbox)', function (data) {
+ var _index = $(data.elem).attr('table-index')||0;
+ if(data.elem.checked){
+ res.data[_index][data.value] = 'Y';
+ }else{
+ res.data[_index][data.value] = 'N';
+ }
+ });
+ }
+ });
+
+ // 鐩戝惉鎺掑簭浜嬩欢
+ table.on('sort(basCrnError)', function (obj) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ searchData['orderByField'] = obj.field;
+ searchData['orderByType'] = obj.type;
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: 1
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(basCrnError)', function (obj) {
+ var checkStatus = table.checkStatus(obj.config.id);
+ switch(obj.event) {
+ case 'addData':
+ layer.open({
+ type: 2,
+ title: '鏂板',
+ maxmin: true,
+ area: ['500px', top.detailHeight],
+ shadeClose: false,
+ content: 'basCrnError_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-edit', index).hide();
+ // layer.getChildFrame('#errorCode', index).parent().parent().hide();
+ clearFormVal(layer.getChildFrame('#detail', index));
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ }
+ });
+ break;
+ case 'refreshData':
+ tableIns.reload({
+ page: {
+ curr: pageCurr
+ }
+ });
+ limit();
+ break;
+ case 'deleteData':
+ var data = checkStatus.data;
+ if (data.length === 0){
+ layer.msg('璇烽�夋嫨鏁版嵁');
+ } else {
+ layer.confirm('纭畾鍒犻櫎'+(data.length===1?'姝�':data.length)+'鏉℃暟鎹悧', function(){
+ $.ajax({
+ url: baseUrl+"/basCrnError/delete/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {param: JSON.stringify(data)},
+ method: 'POST',
+ traditional:true,
+ success: function (res) {
+ if (res.code === 200){
+ layer.closeAll();
+ tableReload(false);
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ });
+ }
+ break;
+ case 'exportData':
+ layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+ var titles=[];
+ var fields=[];
+ obj.config.cols[0].map(function (col) {
+ if (col.type === 'normal' && col.hide === false && col.toolbar == null) {
+ titles.push(col.title);
+ fields.push(col.field);
+ }
+ });
+ var exportData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ exportData[this.name] = this.value;
+ });
+ var param = {
+ 'basCrnError': exportData,
+ 'fields': fields
+ };
+ $.ajax({
+ url: baseUrl+"/basCrnError/export/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ layer.closeAll();
+ if (res.code === 200) {
+ table.exportFile(titles,res.data,'xls');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ });
+ });
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(basCrnError)', function(obj){
+ var data = obj.data;
+ switch (obj.event) {
+ // 璇︽儏
+ case 'detail':
+ layer.open({
+ type: 2,
+ title: '璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: 'basCrnError_detail.html',
+ success: function(layero, index){
+ setFormVal(layer.getChildFrame('#detail', index), data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+ // 缂栬緫
+ case 'edit':
+ layer.open({
+ type: 2,
+ title: '淇敼',
+ maxmin: true,
+ area: ['500px', top.detailHeight],
+ shadeClose: false,
+ content: 'basCrnError_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-save', index).hide();
+ setFormVal(layer.getChildFrame('#detail', index), data, false);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), false);
+ top.convertDisabled(layer.getChildFrame('#errorCode', index), true);
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+ case 'modiUser':
+ var param = top.reObject(data).modiUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '淇敼璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#password,#createTime\\$,#status', index).parent().parent().hide();
+ layer.getChildFrame('#data-detail-submit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+ case 'appeUser':
+ var param = top.reObject(data).appeUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '鍒涜鎯�',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+
+ }
+ });
+
+ // 鏁版嵁淇濆瓨鍔ㄤ綔
+ form.on('submit(save)', function () {
+ if (banMsg != null){
+ layer.msg(banMsg);
+ return;
+ }
+ method("add");
+ });
+
+ // 鏁版嵁淇敼鍔ㄤ綔
+ form.on('submit(edit)', function () {
+ method("update")
+ });
+
+ function method(name){
+ var index = layer.load(1, {
+ shade: [0.5,'#000'] //0.1閫忔槑搴︾殑鑳屾櫙
+ });
+ var data = {
+// id: $('#id').val(),
+ errorCode: $('#errorCode').val(),
+ errName: $('#errName').val(),
+ modiUser: $('#modiUser').val(),
+ modiTime: top.strToDate($('#modiTime\\$').val()),
+ appeUser: $('#appeUser').val(),
+ appeTime: top.strToDate($('#appeTime\\$').val()),
+
+ };
+ $.ajax({
+ url: baseUrl+"/basCrnError/"+name+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: top.reObject(data),
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ parent.layer.closeAll();
+ parent.$(".layui-laypage-btn")[0].click();
+ $("#data-detail :input").each(function () {
+ $(this).val("");
+ });
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ layer.close(index);
+ }
+ })
+ }
+
+ // 澶嶉�夋浜嬩欢
+ form.on('checkbox(detailCheckbox)', function (data) {
+ var el = data.elem;
+ if (el.checked) {
+ $(el).val('Y');
+ } else {
+ $(el).val('N');
+ }
+ });
+
+ // 鎼滅储鏍忔悳绱簨浠�
+ form.on('submit(search)', function (data) {
+ pageCurr = 1;
+ tableReload(false);
+ });
+
+ // 鎼滅储鏍忛噸缃簨浠�
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ tableReload(false);
+ });
+
+ // 鏃堕棿閫夋嫨鍣�
+ layDate.render({
+ elem: '#modiTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#appeTime\\$',
+ type: 'datetime'
+ });
+
+
+});
+
+// 鍏抽棴鍔ㄤ綔
+$(document).on('click','#data-detail-close', function () {
+ parent.layer.closeAll();
+});
+
+function tableReload(child) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ (child ? parent.tableIns : tableIns).reload({
+ where: searchData,
+ page: {
+ curr: pageCurr
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ if (res.data.length === 0 && count !== 0) {
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: pageCurr-1
+ }
+ });
+ pageCurr -= 1;
+ }
+ limit(child);
+ }
+ });
+}
+
+function setFormVal(el, data, showImg) {
+ for (var val in data) {
+ var find = el.find(":input[id='" + val + "']");
+ if (find[0]!=null){
+ if (find[0].type === 'checkbox'){
+ if (data[val]==='Y'){
+ find.attr("checked","checked");
+ find.val('Y');
+ } else {
+ find.remove("checked");
+ find.val('N');
+ }
+ continue;
+ }
+ }
+ find.val(data[val]);
+ if (showImg){
+ var next = find.next();
+ if (next.get(0)){
+ if (next.get(0).localName === "img") {
+ find.hide();
+ next.attr("src", data[val]);
+ next.show();
+ }
+ }
+ }
+ }
+}
+
+function clearFormVal(el) {
+ $(':input', el)
+ .val('')
+ .removeAttr('checked')
+ .removeAttr('selected');
+}
+
+function detailScreen(index) {
+ var detail = layer.getChildFrame('#data-detail', index);
+ var height = detail.height()+60;
+ if (height > ($(window).height()*0.9)) {
+ height = ($(window).height()*0.8);
+ }
+ layer.style(index, {
+// top: (($(window).height()-height)/3)+"px",
+ height: height+'px'
+ });
+}
+
+$('body').keydown(function () {
+ if (event.keyCode === 13) {
+ $("#search").click();
+ }
+});
diff --git a/src/main/webapp/static/wms/js/basCrnOpt/basCrnOpt.js b/src/main/webapp/static/wms/js/basCrnOpt/basCrnOpt.js
new file mode 100644
index 0000000..dd37a3f
--- /dev/null
+++ b/src/main/webapp/static/wms/js/basCrnOpt/basCrnOpt.js
@@ -0,0 +1,413 @@
+var pageCurr;
+layui.use(['table','laydate', 'form'], function(){
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#basCrnOpt',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/basCrnOpt/list/auth',
+ page: true,
+ limit: 16,
+ limits: [16, 30, 50, 100, 200, 500],
+ even: true,
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ cols: [[
+ {type: 'checkbox'}
+// ,{field: 'id', title: 'ID', sort: true,align: 'center', fixed: 'left', width: 80}
+ ,{field: 'wrkNo', align: 'center',title: '浠诲姟鍙�'}
+ ,{field: 'crnNo', align: 'center',title: '鍫嗗灈鏈�'}
+ ,{field: 'sendTime$', align: 'center',title: '涓嬪彂鏃堕棿'}
+ ,{field: 'mode', align: 'center',title: '妯″紡'}
+ ,{field: 'sourceRow', align: 'center',title: '婧愭帓'}
+ ,{field: 'sourceBay', align: 'center',title: '婧愬垪'}
+ ,{field: 'sourceLev', align: 'center',title: '婧愬眰'}
+ ,{field: 'sourceSta', align: 'center',title: '婧愮珯'}
+ ,{field: 'posRow', align: 'center',title: '鐩爣鎺�'}
+ ,{field: 'posBay', align: 'center',title: '鐩爣鍒�'}
+ ,{field: 'posLev', align: 'center',title: '鐩爣灞�'}
+ ,{field: 'posSta', align: 'center',title: '鐩爣绔�'}
+ ,{field: 'response$', align: 'center',title: '鍝嶅簲缁撴灉',hide: true}
+ ,{field: 'updateTime$', align: 'center',title: '淇敼鏃堕棿',hide: true}
+ ,{field: 'updateBy$', align: 'center',title: '淇敼浜哄憳',hide: true}
+
+ // ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:150}
+ ]],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ form.on('checkbox(tableCheckbox)', function (data) {
+ var _index = $(data.elem).attr('table-index')||0;
+ if(data.elem.checked){
+ res.data[_index][data.value] = 'Y';
+ }else{
+ res.data[_index][data.value] = 'N';
+ }
+ });
+ }
+ });
+
+ // 鐩戝惉鎺掑簭浜嬩欢
+ table.on('sort(locMast)', function (obj) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ searchData['orderByField'] = obj.field;
+ searchData['orderByType'] = obj.type;
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: 1
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(basCrnOpt)', function (obj) {
+ var checkStatus = table.checkStatus(obj.config.id);
+ switch(obj.event) {
+ case 'addData':
+ layer.open({
+ type: 2,
+ title: '鏂板',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ content: 'basCrnOpt_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-edit', index).hide();
+ clearFormVal(layer.getChildFrame('#detail', index));
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ }
+ });
+ break;
+ case 'deleteData':
+ var data = checkStatus.data;
+ if (data.length === 0){
+ layer.msg('璇烽�夋嫨鏁版嵁');
+ } else {
+ layer.confirm('纭畾鍒犻櫎'+(data.length===1?'姝�':data.length)+'鏉℃暟鎹悧', function(){
+ $.ajax({
+ url: baseUrl+"/basCrnOpt/delete/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {param: JSON.stringify(data)},
+ method: 'POST',
+ traditional:true,
+ success: function (res) {
+ if (res.code === 200){
+ layer.closeAll();
+ tableReload(false);
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ });
+ }
+ break;
+ case 'exportData':
+ layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+ var titles=[];
+ var fields=[];
+ obj.config.cols[0].map(function (col) {
+ if (col.type === 'normal' && col.hide === false && col.toolbar == null) {
+ titles.push(col.title);
+ fields.push(col.field);
+ }
+ });
+ var exportData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ exportData[this.name] = this.value;
+ });
+ var param = {
+ 'basCrnOpt': exportData,
+ 'fields': fields
+ };
+ $.ajax({
+ url: baseUrl+"/basCrnOpt/export/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ layer.closeAll();
+ if (res.code === 200) {
+ table.exportFile(titles,res.data,'xls');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ });
+ });
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(basCrnOpt)', function(obj){
+ var data = obj.data;
+ switch (obj.event) {
+ // 璇︽儏
+ case 'detail':
+ layer.open({
+ type: 2,
+ title: '璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: true,
+ content: 'basCrnOpt_detail.html',
+ success: function(layero, index){
+ setFormVal(layer.getChildFrame('#detail', index), data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+ // 缂栬緫
+ case 'edit':
+ layer.open({
+ type: 2,
+ title: '淇敼',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ content: 'basCrnOpt_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-save', index).hide();
+ setFormVal(layer.getChildFrame('#detail', index), data, false);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), false);
+ top.convertDisabled(layer.getChildFrame('#id', index), true);
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+
+ }
+ });
+
+ // 鏁版嵁淇濆瓨鍔ㄤ綔
+ form.on('submit(save)', function () {
+ if (banMsg != null){
+ layer.msg(banMsg);
+ return;
+ }
+ method("add");
+ });
+
+ // 鏁版嵁淇敼鍔ㄤ綔
+ form.on('submit(edit)', function () {
+ method("update")
+ });
+
+ function method(name){
+ var index = layer.load(1, {
+ shade: [0.5,'#000'] //0.1閫忔槑搴︾殑鑳屾櫙
+ });
+ var data = {
+// id: $('#id').val(),
+ id: $('#id').val(),
+ wrkNo: $('#wrkNo').val(),
+ crnNo: $('#crnNo').val(),
+ sendTime: top.strToDate($('#sendTime\\$').val()),
+ mode: $('#mode').val(),
+ sourceRow: $('#sourceRow').val(),
+ sourceBay: $('#sourceBay').val(),
+ sourceLev: $('#sourceLev').val(),
+ sourceSta: $('#sourceSta').val(),
+ posRow: $('#posRow').val(),
+ posBay: $('#posBay').val(),
+ posLev: $('#posLev').val(),
+ posSta: $('#posSta').val(),
+ response: $('#response').val(),
+ updateTime: top.strToDate($('#updateTime\\$').val()),
+ updateBy: $('#updateBy').val(),
+
+ };
+ $.ajax({
+ url: baseUrl+"/basCrnOpt/"+name+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: top.reObject(data),
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ parent.layer.closeAll();
+ parent.$(".layui-laypage-btn")[0].click();
+ $("#data-detail :input").each(function () {
+ $(this).val("");
+ });
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ layer.close(index);
+ }
+ })
+ }
+
+ // 澶嶉�夋浜嬩欢
+ form.on('checkbox(detailCheckbox)', function (data) {
+ var el = data.elem;
+ if (el.checked) {
+ $(el).val('Y');
+ } else {
+ $(el).val('N');
+ }
+ });
+
+ // 鎼滅储鏍忔悳绱簨浠�
+ form.on('submit(search)', function (data) {
+ pageCurr = 1;
+ tableReload(false);
+ });
+
+ // 鎼滅储鏍忛噸缃簨浠�
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ tableReload(false);
+ });
+
+ // 鏃堕棿閫夋嫨鍣�
+ layDate.render({
+ elem: '#sendTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#updateTime\\$',
+ type: 'datetime'
+ });
+
+ layDate.render({
+ elem: '.layui-laydate-range'
+ ,type: 'datetime'
+ ,range: true
+ });
+});
+
+// 鍏抽棴鍔ㄤ綔
+$(document).on('click','#data-detail-close', function () {
+ parent.layer.closeAll();
+});
+
+function tableReload(child) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ (child ? parent.tableIns : tableIns).reload({
+ where: searchData,
+ page: {
+ curr: pageCurr
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ if (res.data.length === 0 && count !== 0) {
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: pageCurr-1
+ }
+ });
+ pageCurr -= 1;
+ }
+ limit(child);
+ }
+ });
+}
+
+function setFormVal(el, data, showImg) {
+ for (var val in data) {
+ var find = el.find(":input[id='" + val + "']");
+ if (find[0]!=null){
+ if (find[0].type === 'checkbox'){
+ if (data[val]==='Y'){
+ find.attr("checked","checked");
+ find.val('Y');
+ } else {
+ find.remove("checked");
+ find.val('N');
+ }
+ continue;
+ }
+ }
+ find.val(data[val]);
+ if (showImg){
+ var next = find.next();
+ if (next.get(0)){
+ if (next.get(0).localName === "img") {
+ find.hide();
+ next.attr("src", data[val]);
+ next.show();
+ }
+ }
+ }
+ }
+}
+
+function clearFormVal(el) {
+ $(':input', el)
+ .val('')
+ .removeAttr('checked')
+ .removeAttr('selected');
+}
+
+function detailScreen(index) {
+ var detail = layer.getChildFrame('#data-detail', index);
+ var height = detail.height()+60;
+ if (height > ($(window).height()*0.9)) {
+ height = ($(window).height()*0.8);
+ }
+ layer.style(index, {
+// top: (($(window).height()-height)/3)+"px",
+ height: height+'px'
+ });
+}
+
+$('body').keydown(function () {
+ if (event.keyCode === 13) {
+ $("#search").click();
+ }
+});
diff --git a/src/main/webapp/static/wms/js/basCrnStatus/basCrnStatus.js b/src/main/webapp/static/wms/js/basCrnStatus/basCrnStatus.js
new file mode 100644
index 0000000..efb0c3f
--- /dev/null
+++ b/src/main/webapp/static/wms/js/basCrnStatus/basCrnStatus.js
@@ -0,0 +1,473 @@
+var pageCurr;
+layui.use(['table','laydate', 'form'], function(){
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#basCrnStatus',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/basCrnStatus/list/auth',
+ page: true,
+ limit: 16,
+ limits: [16, 30, 50, 100, 200, 500],
+ even: true,
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ cols: [[
+ {type: 'checkbox', fixed: 'left'}
+// ,{field: 'id', title: 'ID', sort: true,align: 'center', fixed: 'left', width: 80}
+ ,{field: 'stsNo', align: 'center', sort:true ,title: '鐘舵�佷唬鍙�'}
+ ,{field: 'stsDesc', align: 'center',title: '鐘舵�佹弿杩�'}
+ ,{field: 'modiUser$', align: 'center',title: '淇敼浜哄憳'}
+ ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿'}
+ // ,{field: 'appeUser$', align: 'center',title: '鍒涘缓鑰�',event: 'appeUser', style: 'text-decoration: underline;cursor:pointer'}
+ // ,{field: 'appeTime$', align: 'center',title: '娣诲姞鏃堕棿'}
+
+ ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:150}
+ ]],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ form.on('checkbox(tableCheckbox)', function (data) {
+ var _index = $(data.elem).attr('table-index')||0;
+ if(data.elem.checked){
+ res.data[_index][data.value] = 'Y';
+ }else{
+ res.data[_index][data.value] = 'N';
+ }
+ });
+ }
+ });
+
+ // 鐩戝惉鎺掑簭浜嬩欢
+ table.on('sort(basCrnStatus)', function (obj) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ searchData['orderByField'] = obj.field;
+ searchData['orderByType'] = obj.type;
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: 1
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(basCrnStatus)', function (obj) {
+ var checkStatus = table.checkStatus(obj.config.id);
+ switch(obj.event) {
+ case 'addData':
+ layer.open({
+ type: 2,
+ title: '鏂板',
+ maxmin: true,
+ area: ['500px', top.detailHeight],
+ shadeClose: false,
+ content: 'basCrnStatus_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-edit', index).hide();
+ clearFormVal(layer.getChildFrame('#detail', index));
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ }
+ });
+ break;
+ case 'refreshData':
+ tableIns.reload({
+ page: {
+ curr: pageCurr
+ }
+ });
+ limit();
+ break;
+ case 'deleteData':
+ var data = checkStatus.data;
+ if (data.length === 0){
+ layer.msg('璇烽�夋嫨鏁版嵁');
+ } else {
+ layer.confirm('纭畾鍒犻櫎'+(data.length===1?'姝�':data.length)+'鏉℃暟鎹悧', function(){
+ $.ajax({
+ url: baseUrl+"/basCrnStatus/delete/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {param: JSON.stringify(data)},
+ method: 'POST',
+ traditional:true,
+ success: function (res) {
+ if (res.code === 200){
+ layer.closeAll();
+ tableReload(false);
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ });
+ }
+ break;
+ case 'exportData':
+ layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+ var titles=[];
+ var fields=[];
+ obj.config.cols[0].map(function (col) {
+ if (col.type === 'normal' && col.hide === false && col.toolbar == null) {
+ titles.push(col.title);
+ fields.push(col.field);
+ }
+ });
+ var exportData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ exportData[this.name] = this.value;
+ });
+ var param = {
+ 'basCrnStatus': exportData,
+ 'fields': fields
+ };
+ $.ajax({
+ url: baseUrl+"/basCrnStatus/export/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ layer.closeAll();
+ if (res.code === 200) {
+ table.exportFile(titles,res.data,'xls');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ });
+ });
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(basCrnStatus)', function(obj){
+ var data = obj.data;
+ switch (obj.event) {
+ // 璇︽儏
+ case 'detail':
+ layer.open({
+ type: 2,
+ title: '璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: 'basCrnStatus_detail.html',
+ success: function(layero, index){
+ setFormVal(layer.getChildFrame('#detail', index), data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+ // 缂栬緫
+ case 'edit':
+ layer.open({
+ type: 2,
+ title: '淇敼',
+ maxmin: true,
+ area: ['500px', top.detailHeight],
+ shadeClose: false,
+ content: 'basCrnStatus_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-save', index).hide();
+ setFormVal(layer.getChildFrame('#detail', index), data, false);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), false);
+ top.convertDisabled(layer.getChildFrame('#stsNo', index), true);
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+ case 'modiUser':
+ var param = top.reObject(data).modiUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '淇敼璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#password,#createTime\\$,#status', index).parent().parent().hide();
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+ case 'appeUser':
+ var param = top.reObject(data).appeUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '鍒涜鎯�',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+
+ }
+ });
+
+ // 鏁版嵁淇濆瓨鍔ㄤ綔
+ form.on('submit(save)', function () {
+ if (banMsg != null){
+ layer.msg(banMsg);
+ return;
+ }
+ method("add");
+ });
+
+ // 鏁版嵁淇敼鍔ㄤ綔
+ form.on('submit(edit)', function () {
+ method("update")
+ });
+
+ function method(name){
+ var index = layer.load(1, {
+ shade: [0.5,'#000'] //0.1閫忔槑搴︾殑鑳屾櫙
+ });
+ var data = {
+// id: $('#id').val(),
+ stsNo: $('#stsNo').val(),
+ stsDesc: $('#stsDesc').val(),
+ modiUser: $('#modiUser').val(),
+ modiTime: top.strToDate($('#modiTime\\$').val()),
+ appeUser: $('#appeUser').val(),
+ appeTime: top.strToDate($('#appeTime\\$').val()),
+
+ };
+ $.ajax({
+ url: baseUrl+"/basCrnStatus/"+name+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: top.reObject(data),
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ parent.layer.closeAll();
+ parent.$(".layui-laypage-btn")[0].click();
+ $("#data-detail :input").each(function () {
+ $(this).val("");
+ });
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ layer.close(index);
+ }
+ })
+ }
+
+ // 澶嶉�夋浜嬩欢
+ form.on('checkbox(detailCheckbox)', function (data) {
+ var el = data.elem;
+ if (el.checked) {
+ $(el).val('Y');
+ } else {
+ $(el).val('N');
+ }
+ });
+
+ // 鎼滅储鏍忔悳绱簨浠�
+ form.on('submit(search)', function (data) {
+ pageCurr = 1;
+ tableReload(false);
+ });
+
+ // 鎼滅储鏍忛噸缃簨浠�
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ tableReload(false);
+ });
+
+ // 鏃堕棿閫夋嫨鍣�
+ layDate.render({
+ elem: '#modiTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#appeTime\\$',
+ type: 'datetime'
+ });
+
+
+});
+
+// 鍏抽棴鍔ㄤ綔
+$(document).on('click','#data-detail-close', function () {
+ parent.layer.closeAll();
+});
+
+function tableReload(child) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ (child ? parent.tableIns : tableIns).reload({
+ where: searchData,
+ page: {
+ curr: pageCurr
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ if (res.data.length === 0 && count !== 0) {
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: pageCurr-1
+ }
+ });
+ pageCurr -= 1;
+ }
+ limit(child);
+ }
+ });
+}
+
+function setFormVal(el, data, showImg) {
+ for (var val in data) {
+ var find = el.find(":input[id='" + val + "']");
+ if (find[0]!=null){
+ if (find[0].type === 'checkbox'){
+ if (data[val]==='Y'){
+ find.attr("checked","checked");
+ find.val('Y');
+ } else {
+ find.remove("checked");
+ find.val('N');
+ }
+ continue;
+ }
+ }
+ find.val(data[val]);
+ if (showImg){
+ var next = find.next();
+ if (next.get(0)){
+ if (next.get(0).localName === "img") {
+ find.hide();
+ next.attr("src", data[val]);
+ next.show();
+ }
+ }
+ }
+ }
+}
+
+function clearFormVal(el) {
+ $(':input', el)
+ .val('')
+ .removeAttr('checked')
+ .removeAttr('selected');
+}
+
+function detailScreen(index) {
+ var detail = layer.getChildFrame('#data-detail', index);
+ var height = detail.height()+60;
+ if (height > ($(window).height()*0.9)) {
+ height = ($(window).height()*0.8);
+ }
+ layer.style(index, {
+// top: (($(window).height()-height)/3)+"px",
+ height: height+'px'
+ });
+}
+
+$('body').keydown(function () {
+ if (event.keyCode === 13) {
+ $("#search").click();
+ }
+});
diff --git a/src/main/webapp/static/wms/js/basCrnp/basCrnp.js b/src/main/webapp/static/wms/js/basCrnp/basCrnp.js
new file mode 100644
index 0000000..555a2aa
--- /dev/null
+++ b/src/main/webapp/static/wms/js/basCrnp/basCrnp.js
@@ -0,0 +1,731 @@
+var pageCurr;
+layui.use(['table','laydate', 'form'], function(){
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#basCrnp',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/basCrnp/list/auth',
+ page: true,
+ limit: 16,
+ limits: [16, 30, 50, 100, 200, 500],
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ cols: [[
+ {type: 'checkbox', fixed: 'left'}
+// ,{field: 'id', title: 'ID', sort: true,align: 'center', fixed: 'left', width: 80}
+ ,{field: 'crnNo', align: 'center',title: '缂栧彿',sort:true,width:80}
+ ,{field: 'inEnable', align: 'center',title: '鍙叆', templet:function(row){
+ var html = "<input value='inEnable' type='checkbox' lay-skin='primary' lay-filter='tableCheckbox' table-index='"+row.LAY_TABLE_INDEX+"'";
+ if(row.inEnable === 'Y'){html += " checked ";}
+ html += ">";
+ return html;
+ },width:80}
+ ,{field: 'outEnable', align: 'center',title: '鍙嚭', templet:function(row){
+ var html = "<input value='outEnable' type='checkbox' lay-skin='primary' lay-filter='tableCheckbox' table-index='"+row.LAY_TABLE_INDEX+"'";
+ if(row.outEnable === 'Y'){html += " checked ";}
+ html += ">";
+ return html;
+ },width:80}
+ ,{field: 'crnSts$', align: 'center',title: '鐘舵��'}
+ ,{field: 'wrkNo', align: 'center',title: '宸ヤ綔鍙�'}
+ ,{field: 'crnErr$', align: 'center',title: '寮傚父鐮�'}
+ ,{field: 'frmLocno$', align: 'center',title: '婧愬簱浣�',sort: true}
+ ,{field: 'toLocno$', align: 'center',title: '鐩爣搴撲綅', sort: true}
+ ,{field: 'frmSta$', align: 'center',title: '婧愮珯', sort: true}
+ ,{field: 'toSta$', align: 'center',title: '鐩爣绔�', sort: true}
+ // ,{field: 'appeUser$', align: 'center',title: '鍒涘缓鑰�',event: 'appeUser', style: 'text-decoration: underline;cursor:pointer'}
+ // ,{field: 'appeTime$', align: 'center',title: '鍒涘缓鏃堕棿'}
+ ,{field: 'modiUser$', align: 'center',title: '淇敼浜哄憳', hide:true}
+ ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿', hide:true}
+ // ,{field: 'hpMk', align: 'center',title: ''}
+ // ,{field: 'retrieveMk', align: 'center',title: ''}
+ // ,{field: 'ctlHp', align: 'center',title: ''}
+ // ,{field: 'ctlRest', align: 'center',title: ''}
+ // ,{field: 'empIn', align: 'center',title: ''}
+ // ,{field: 'tankQty', align: 'center',title: ''}
+ // ,{field: 'tankQty1', align: 'center',title: ''}
+
+ ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:150}
+ ]],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ form.on('checkbox(tableCheckbox)', function (data) {
+ var _index = $(data.elem).attr('table-index')||0;
+ if(data.elem.checked){
+ res.data[_index][data.value] = 'Y';
+ }else{
+ res.data[_index][data.value] = 'N';
+ }
+ });
+ }
+ });
+
+ // 鐩戝惉鎺掑簭浜嬩欢
+ table.on('sort(basCrnp)', function (obj) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ searchData['orderByField'] = obj.field;
+ searchData['orderByType'] = obj.type;
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: 1
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(basCrnp)', function (obj) {
+ var checkStatus = table.checkStatus(obj.config.id);
+ switch(obj.event) {
+ case 'addData':
+ layer.open({
+ type: 2,
+ title: '鏂板',
+ maxmin: true,
+ area: ['500px', top.detailHeight],
+ shadeClose: false,
+ content: 'basCrnp_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#crnSts,#wrkNo,#crnErr,#frmLocno,#frmSta,#toSta,#toLocno', index).parent().parent().hide();
+ layer.getChildFrame('#data-detail-submit-edit', index).hide();
+ clearFormVal(layer.getChildFrame('#detail', index));
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ }
+ });
+ break;
+ case 'refreshData':
+ tableIns.reload({
+ page: {
+ curr: pageCurr
+ }
+ });
+ limit();
+ break;
+ case 'deleteData':
+ var data = checkStatus.data;
+ if (data.length === 0){
+ layer.msg('璇烽�夋嫨鏁版嵁');
+ } else {
+ layer.confirm('纭畾鍒犻櫎'+(data.length===1?'姝�':data.length)+'鏉℃暟鎹悧', function(){
+ $.ajax({
+ url: baseUrl+"/basCrnp/delete/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {param: JSON.stringify(data)},
+ method: 'POST',
+ traditional:true,
+ success: function (res) {
+ if (res.code === 200){
+ layer.closeAll();
+ tableReload(false);
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ });
+ }
+ break;
+ case 'exportData':
+ layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+ var titles=[];
+ var fields=[];
+ obj.config.cols[0].map(function (col) {
+ if (col.type === 'normal' && col.hide === false && col.toolbar == null) {
+ titles.push(col.title);
+ fields.push(col.field);
+ }
+ });
+ var exportData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ exportData[this.name] = this.value;
+ });
+ var param = {
+ 'basCrnp': exportData,
+ 'fields': fields
+ };
+ $.ajax({
+ url: baseUrl+"/basCrnp/export/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ layer.closeAll();
+ if (res.code === 200) {
+ table.exportFile(titles,res.data,'xls');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ });
+ });
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(basCrnp)', function(obj){
+ var data = obj.data;
+ switch (obj.event) {
+ // 璇︽儏
+ case 'detail':
+ layer.open({
+ type: 2,
+ title: '璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: 'basCrnp_detail.html',
+ success: function(layero, index){
+ setFormVal(layer.getChildFrame('#detail', index), data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+ // 缂栬緫
+ case 'edit':
+ layer.open({
+ type: 2,
+ title: '淇敼',
+ maxmin: true,
+ area: ['500px', top.detailHeight],
+ shadeClose: false,
+ content: 'basCrnp_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#wrkNo,#crnErr,#frmLocno,#frmSta,#toSta,#toLocno', index).parent().parent().hide();
+ layer.getChildFrame('#data-detail-submit-save', index).hide();
+ setFormVal(layer.getChildFrame('#detail', index), data, false);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), false);
+ top.convertDisabled(layer.getChildFrame('#crnNo', index), true);
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+ case 'crnSts':
+ var param = top.reObject(data).crnSts;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../basCrnStatus/basCrnStatus_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/basCrnStatus/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+ case 'crnErr':
+ var param = top.reObject(data).crnErr;
+ if (param === undefined || param === 0) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '寮傝鎯�',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../basCrnError/basCrnError_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/basCrnError/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+ case 'frmLocno':
+ var param = top.reObject(data).frmLocno;
+ if (param === undefined || param ===0 || param.trim() === '') {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '婧愯鎯�',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../locMast/locMast_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/locMast/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+ case 'toLocno':
+ var param = top.reObject(data).toLocno;
+ if (param === undefined || param === 0 || param.trim() === '') {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '鐩爣璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../locMast/locMast_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/locMast/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#password,#createTime\\$,#status', index).parent().parent().hide();
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+ case 'frmSta':
+ var param = top.reObject(data).frmSta;
+ if (param === undefined || param === 0 || param.trim() === '') {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../basDevp/basDevp_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/basDevp/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+ case 'toSta':
+ var param = top.reObject(data).toSta;
+ if (param === undefined || param === 0) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '鐩鎯�',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../basDevp/basDevp_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/basDevp/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+
+ case 'appeUser':
+ var param = top.reObject(data).appeUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '鍒涜鎯�',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+ case 'modiUser':
+ var param = top.reObject(data).modiUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '淇敼璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+
+ }
+ });
+
+ // 鏁版嵁淇濆瓨鍔ㄤ綔
+ form.on('submit(save)', function () {
+ if (banMsg != null){
+ layer.msg(banMsg);
+ return;
+ }
+ method("add");
+ });
+
+ // 鏁版嵁淇敼鍔ㄤ綔
+ form.on('submit(edit)', function () {
+ method("update")
+ });
+
+ function method(name){
+ var index = layer.load(1, {
+ shade: [0.5,'#000'] //0.1閫忔槑搴︾殑鑳屾櫙
+ });
+ var data = {
+// id: $('#id').val(),
+ crnNo: $('#crnNo').val(),
+ inEnable: $('#inEnable').val(),
+ outEnable: $('#outEnable').val(),
+ crnSts: $('#crnSts').val(),
+ wrkNo: $('#wrkNo').val(),
+ crnErr: $('#crnErr').val(),
+ frmLocno: $('#frmLocno').val(),
+ frmSta: $('#frmSta').val(),
+ toSta: $('#toSta').val(),
+ toLocno: $('#toLocno').val(),
+ appeUser: $('#appeUser').val(),
+ appeTime: top.strToDate($('#appeTime\\$').val()),
+ modiUser: $('#modiUser').val(),
+ modiTime: top.strToDate($('#modiTime\\$').val()),
+ hpMk: $('#hpMk').val(),
+ retrieveMk: $('#retrieveMk').val(),
+ ctlHp: $('#ctlHp').val(),
+ ctlRest: $('#ctlRest').val(),
+ empIn: $('#empIn').val(),
+ tankQty: $('#tankQty').val(),
+ tankQty1: $('#tankQty1').val(),
+
+ };
+ $.ajax({
+ url: baseUrl+"/basCrnp/"+name+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: top.reObject(data),
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ parent.layer.closeAll();
+ parent.$(".layui-laypage-btn")[0].click();
+ $("#data-detail :input").each(function () {
+ $(this).val("");
+ });
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ layer.close(index);
+ }
+ })
+ }
+
+ // 澶嶉�夋浜嬩欢
+ form.on('checkbox(detailCheckbox)', function (data) {
+ var el = data.elem;
+ if (el.checked) {
+ $(el).val('Y');
+ } else {
+ $(el).val('N');
+ }
+ });
+
+ // 鎼滅储鏍忔悳绱簨浠�
+ form.on('submit(search)', function (data) {
+ pageCurr = 1;
+ tableReload(false);
+ });
+
+ // 鎼滅储鏍忛噸缃簨浠�
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ tableReload(false);
+ });
+
+ // 鏃堕棿閫夋嫨鍣�
+ layDate.render({
+ elem: '#appeTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#modiTime\\$',
+ type: 'datetime'
+ });
+
+
+});
+
+// 鍏抽棴鍔ㄤ綔
+$(document).on('click','#data-detail-close', function () {
+ parent.layer.closeAll();
+});
+
+function tableReload(child) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ (child ? parent.tableIns : tableIns).reload({
+ where: searchData,
+ page: {
+ curr: pageCurr
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ if (res.data.length === 0 && count !== 0) {
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: pageCurr-1
+ }
+ });
+ pageCurr -= 1;
+ }
+ limit(child);
+ }
+ });
+}
+
+function setFormVal(el, data, showImg) {
+ for (var val in data) {
+ var find = el.find(":input[id='" + val + "']");
+ if (find[0]!=null){
+ if (find[0].type === 'checkbox'){
+ if (data[val]==='Y'){
+ find.attr("checked","checked");
+ find.val('Y');
+ } else {
+ find.remove("checked");
+ find.val('N');
+ }
+ continue;
+ }
+ }
+ find.val(data[val]);
+ if (showImg){
+ var next = find.next();
+ if (next.get(0)){
+ if (next.get(0).localName === "img") {
+ find.hide();
+ next.attr("src", data[val]);
+ next.show();
+ }
+ }
+ }
+ }
+}
+
+function clearFormVal(el) {
+ $(':input', el)
+ .val('')
+ .removeAttr('checked')
+ .removeAttr('selected');
+}
+
+function detailScreen(index) {
+ var detail = layer.getChildFrame('#data-detail', index);
+ var height = detail.height()+60;
+ if (height > ($(window).height()*0.9)) {
+ height = ($(window).height()*0.8);
+ }
+ layer.style(index, {
+// top: (($(window).height()-height)/3)+"px",
+ height: height+'px'
+ });
+}
+
+$('body').keydown(function () {
+ if (event.keyCode === 13) {
+ $("#search").click();
+ }
+});
diff --git a/src/main/webapp/static/wms/js/basDevp/basDevp.js b/src/main/webapp/static/wms/js/basDevp/basDevp.js
new file mode 100644
index 0000000..7fea76d
--- /dev/null
+++ b/src/main/webapp/static/wms/js/basDevp/basDevp.js
@@ -0,0 +1,603 @@
+var pageCurr;
+layui.use(['table','laydate', 'form'], function(){
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#basDevp',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/basDevp/list/auth',
+ page: true,
+ limit: 16,
+ limits: [16, 30, 50, 100, 200, 500],
+ even: true,
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ cols: [[
+ {type: 'checkbox', fixed: 'left'}
+// ,{field: 'id', title: 'ID', sort: true,align: 'center', fixed: 'left', width: 80}
+ ,{field: 'devNo', align: 'center',sort:true,title: '缂栧彿'}
+ // ,{field: 'decDesc', align: 'center',title: '璁惧鎻忚堪'}
+ // ,{field: 'devMk', align: 'center',title: '澶囨敞'}
+ ,{field: 'inEnable', align: 'center',title: '鍙叆', templet:function(row){
+ var html = "<input value='inEnable' type='checkbox' lay-skin='primary' lay-filter='tableCheckbox' table-index='"+row.LAY_TABLE_INDEX+"'";
+ if(row.inEnable === 'Y'){html += " checked ";}
+ html += ">";
+ return html;
+ }}
+ ,{field: 'outEnable', align: 'center',title: '鍙嚭', templet:function(row){
+ var html = "<input value='outEnable' type='checkbox' lay-skin='primary' lay-filter='tableCheckbox' table-index='"+row.LAY_TABLE_INDEX+"'";
+ if(row.outEnable === 'Y'){html += " checked ";}
+ html += ">";
+ return html;
+ }}
+ ,{field: 'autoing', align: 'center',title: '鑷姩', templet:function(row){
+ var html = "<input value='autoing' type='checkbox' lay-skin='primary' lay-filter='tableCheckbox' table-index='"+row.LAY_TABLE_INDEX+"'";
+ if(row.autoing === 'Y'){html += " checked ";}
+ html += ">";
+ return html;
+ }}
+ ,{field: 'loading', align: 'center',title: '鏈夌墿', templet:function(row){
+ var html = "<input value='loading' type='checkbox' lay-skin='primary' lay-filter='tableCheckbox' table-index='"+row.LAY_TABLE_INDEX+"'";
+ if(row.loading === 'Y'){html += " checked ";}
+ html += ">";
+ return html;
+ }}
+ ,{field: 'canining', align: 'center',title: '鑳藉叆', templet:function(row){
+ var html = "<input value='canining' type='checkbox' lay-skin='primary' lay-filter='tableCheckbox' table-index='"+row.LAY_TABLE_INDEX+"'";
+ if(row.canining === 'Y'){html += " checked ";}
+ html += ">";
+ return html;
+ }}
+ ,{field: 'canouting', align: 'center',title: '鑳藉嚭', templet:function(row){
+ var html = "<input value='canouting' type='checkbox' lay-skin='primary' lay-filter='tableCheckbox' table-index='"+row.LAY_TABLE_INDEX+"'";
+ if(row.canouting === 'Y'){html += " checked ";}
+ html += ">";
+ return html;
+ }}
+ // ,{field: 'fronting', align: 'center',title: ''}
+ // ,{field: 'rearing', align: 'center',title: ''}
+ // ,{field: 'uping', align: 'center',title: ''}
+ // ,{field: 'downing', align: 'center',title: ''}
+ ,{field: 'inreq1', align: 'center',title: '闇�姹�1', templet:function(row){
+ var html = "<input value='inreq1' type='checkbox' lay-skin='primary' lay-filter='tableCheckbox' table-index='"+row.LAY_TABLE_INDEX+"'";
+ if(row.inreq1 === 'Y'){html += " checked ";}
+ html += ">";
+ return html;
+ }}
+ ,{field: 'inreq2', align: 'center',title: '闇�姹�2', templet:function(row){
+ var html = "<input value='inreq2' type='checkbox' lay-skin='primary' lay-filter='tableCheckbox' table-index='"+row.LAY_TABLE_INDEX+"'";
+ if(row.inreq2 === 'Y'){html += " checked ";}
+ html += ">";
+ return html;
+ }}
+ ,{field: 'wrkNo', align: 'center',title: '宸ヤ綔鍙�', edit:true, style:'color: blue;font-weight: bold'}
+ // ,{field: 'wrkNo1', align: 'center',title: ''}
+ ,{field: 'locType1$', align: 'center',title: '妗剁被鍨�'}
+ // ,{field: 'barcode', align: 'center',title: '鏉″舰鐮�'}
+ ,{field: 'inQty', align: 'center',title: '鍏ュ簱鏆傚瓨'}
+ // ,{field: 'row1', align: 'center',title: ''}
+ // ,{field: 'ioTime$', align: 'center',title: ''}
+ // ,{field: 'area', align: 'center',title: ''}
+ // ,{field: 'inOk', align: 'center',title: ''}
+ // ,{field: 'outOk', align: 'center',title: ''}
+ ,{field: 'modiUser$', align: 'center',title: '淇敼浜哄憳',event: 'modiUser', hide:true}
+ ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿', hide:true}
+ // ,{field: 'appeUser$', align: 'center',title: '鍒涘缓鑰�',event: 'appeUser', style: 'text-decoration: underline;cursor:pointer'}
+ // ,{field: 'appeTime$', align: 'center',title: '娣诲姞鏃堕棿'}
+ // ,{field: 'stdQty', align: 'center',title: ''}
+ // ,{field: 'minWt', align: 'center',title: ''}
+ // ,{field: 'maxWt', align: 'center',title: ''}
+ ,{field: 'grossWt', align: 'center',title: '閲嶉噺'}
+ // ,{field: 'cartPos', align: 'center',title: ''}
+
+ ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:150}
+ ]],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ form.on('checkbox(tableCheckbox)', function (data) {
+ var _index = $(data.elem).attr('table-index')||0;
+ if(data.elem.checked){
+ res.data[_index][data.value] = 'Y';
+ }else{
+ res.data[_index][data.value] = 'N';
+ }
+ });
+ }
+ });
+
+ // 椤甸潰淇敼
+ table.on('edit(basDevp)', function (obj) {
+ if (isNaN(obj.value)) {
+ layer.msg("璇疯緭鍏ユ暟瀛�");
+ tableReload();
+ return;
+ }
+ $.ajax({
+ url: baseUrl+"/basDevp/update/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: top.reObject({
+ devNo: obj.data.devNo,
+ wrkNo: obj.value
+ }),
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ $(".layui-laypage-btn")[0].click();
+ layer.msg(res.msg);
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ });
+
+ // 鐩戝惉鎺掑簭浜嬩欢
+ table.on('sort(basDevp)', function (obj) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ searchData['orderByField'] = obj.field;
+ searchData['orderByType'] = obj.type;
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: 1
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(basDevp)', function (obj) {
+ var checkStatus = table.checkStatus(obj.config.id);
+ switch(obj.event) {
+ case 'addData':
+ layer.open({
+ type: 2,
+ title: '鏂板',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: 'basDevp_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#autoing,#loading,#canining,#canouting,#inreq1,#inreq2,#wrkNo,#barcode,#ctnType,#grossWt', index).parent().parent().hide();
+ layer.getChildFrame('#data-detail-submit-edit', index).hide();
+ clearFormVal(layer.getChildFrame('#detail', index));
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ }
+ });
+ break;
+ case 'refreshData':
+ tableIns.reload({
+ page: {
+ curr: pageCurr
+ }
+ });
+ limit();
+ break;
+ case 'deleteData':
+ var data = checkStatus.data;
+ if (data.length === 0){
+ layer.msg('璇烽�夋嫨鏁版嵁');
+ } else {
+ layer.confirm('纭畾鍒犻櫎'+(data.length===1?'姝�':data.length)+'鏉℃暟鎹悧', function(){
+ $.ajax({
+ url: baseUrl+"/basDevp/delete/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {param: JSON.stringify(data)},
+ method: 'POST',
+ traditional:true,
+ success: function (res) {
+ if (res.code === 200){
+ layer.closeAll();
+ tableReload(false);
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ });
+ }
+ break;
+ case 'exportData':
+ layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+ var titles=[];
+ var fields=[];
+ obj.config.cols[0].map(function (col) {
+ if (col.type === 'normal' && col.hide === false && col.toolbar == null) {
+ titles.push(col.title);
+ fields.push(col.field);
+ }
+ });
+ var exportData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ exportData[this.name] = this.value;
+ });
+ var param = {
+ 'basDevp': exportData,
+ 'fields': fields
+ };
+ $.ajax({
+ url: baseUrl+"/basDevp/export/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ layer.closeAll();
+ if (res.code === 200) {
+ table.exportFile(titles,res.data,'xls');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ });
+ });
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(basDevp)', function(obj){
+ var data = obj.data;
+ switch (obj.event) {
+ // 璇︽儏
+ case 'detail':
+ layer.open({
+ type: 2,
+ title: '璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: 'basDevp_detail.html',
+ success: function(layero, index){
+ setFormVal(layer.getChildFrame('#detail', index), data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#prompt', index).hide();
+ layer.getChildFrame('#data-detail-submit-edit', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+ // 缂栬緫
+ case 'edit':
+ layer.open({
+ type: 2,
+ title: '淇敼',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: 'basDevp_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-save', index).hide();
+ setFormVal(layer.getChildFrame('#detail', index), data, false);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), false);
+ top.convertDisabled(layer.getChildFrame('#devNo', index), true);
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+ case 'modiUser':
+ var param = top.reObject(data).modiUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '淇敼璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#password,#createTime\\$,#status', index).parent().parent().hide();
+ layer.getChildFrame('#data-detail-submit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+ case 'appeUser':
+ var param = top.reObject(data).appeUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '鍒涜鎯�',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+
+ }
+ });
+
+ // 鏁版嵁淇濆瓨鍔ㄤ綔
+ form.on('submit(save)', function () {
+ if (banMsg != null){
+ layer.msg(banMsg);
+ return;
+ }
+ method("add");
+ });
+
+ // 鏁版嵁淇敼鍔ㄤ綔
+ form.on('submit(edit)', function () {
+ method("update")
+ });
+
+ function method(name){
+ var index = layer.load(1, {
+ shade: [0.5,'#000'] //0.1閫忔槑搴︾殑鑳屾櫙
+ });
+ var data = {
+// id: $('#id').val(),
+ devNo: $('#devNo').val(),
+ decDesc: $('#decDesc').val(),
+ devMk: $('#devMk').val(),
+ inEnable: $('#inEnable').val(),
+ outEnable: $('#outEnable').val(),
+ autoing: $('#autoing').val(),
+ loading: $('#loading').val(),
+ canining: $('#canining').val(),
+ canouting: $('#canouting').val(),
+ fronting: $('#fronting').val(),
+ rearing: $('#rearing').val(),
+ uping: $('#uping').val(),
+ downing: $('#downing').val(),
+ inreq1: $('#inreq1').val(),
+ inreq2: $('#inreq2').val(),
+ wrkNo: $('#wrkNo').val(),
+ wrkNo1: $('#wrkNo1').val(),
+ ctnType: $('#ctnType').val(),
+ barcode: $('#barcode').val(),
+ inQty: $('#inQty').val(),
+ row1: $('#row1').val(),
+ ioTime: top.strToDate($('#ioTime\\$').val()),
+ area: $('#area').val(),
+ inOk: $('#inOk').val(),
+ outOk: $('#outOk').val(),
+ modiUser: $('#modiUser').val(),
+ modiTime: top.strToDate($('#modiTime\\$').val()),
+ appeUser: $('#appeUser').val(),
+ appeTime: top.strToDate($('#appeTime\\$').val()),
+ stdQty: $('#stdQty').val(),
+ minWt: $('#minWt').val(),
+ maxWt: $('#maxWt').val(),
+ grossWt: $('#grossWt').val(),
+ cartPos: $('#cartPos').val(),
+ locType1:$('#locType1').val()
+ };
+ $.ajax({
+ url: baseUrl+"/basDevp/"+name+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: top.reObject(data),
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ parent.layer.closeAll();
+ parent.$(".layui-laypage-btn")[0].click();
+ $("#data-detail :input").each(function () {
+ $(this).val("");
+ });
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ layer.close(index);
+ }
+ })
+ }
+
+ // 澶嶉�夋浜嬩欢
+ form.on('checkbox(detailCheckbox)', function (data) {
+ var el = data.elem;
+ if (el.checked) {
+ $(el).val('Y');
+ } else {
+ $(el).val('N');
+ }
+ });
+
+ // 鎼滅储鏍忔悳绱簨浠�
+ form.on('submit(search)', function (data) {
+ pageCurr = 1;
+ tableReload(false);
+ });
+
+ // 鎼滅储鏍忛噸缃簨浠�
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ tableReload(false);
+ });
+
+ // 鏃堕棿閫夋嫨鍣�
+ layDate.render({
+ elem: '#ioTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#modiTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#appeTime\\$',
+ type: 'datetime'
+ });
+
+
+});
+
+// 鍏抽棴鍔ㄤ綔
+$(document).on('click','#data-detail-close', function () {
+ parent.layer.closeAll();
+});
+
+function tableReload(child) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ (child ? parent.tableIns : tableIns).reload({
+ where: searchData,
+ page: {
+ curr: pageCurr
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ if (res.data.length === 0 && count !== 0) {
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: pageCurr-1
+ }
+ });
+ pageCurr -= 1;
+ }
+ limit(child);
+ }
+ });
+}
+
+function setFormVal(el, data, showImg) {
+ for (var val in data) {
+ var find = el.find(":input[id='" + val + "']");
+ if (find[0]!=null){
+ if (find[0].type === 'checkbox'){
+ if (data[val]==='Y'){
+ find.attr("checked","checked");
+ find.val('Y');
+ } else {
+ find.remove("checked");
+ find.val('N');
+ }
+ continue;
+ }
+ }
+ find.val(data[val]);
+ if (showImg){
+ var next = find.next();
+ if (next.get(0)){
+ if (next.get(0).localName === "img") {
+ find.hide();
+ next.attr("src", data[val]);
+ next.show();
+ }
+ }
+ }
+ }
+}
+
+function clearFormVal(el) {
+ $(':input', el)
+ .val('')
+ .removeAttr('checked')
+ .removeAttr('selected');
+}
+
+function detailScreen(index) {
+ var detail = layer.getChildFrame('#data-detail', index);
+ var height = detail.height()+60;
+ if (height > ($(window).height()*0.9)) {
+ height = ($(window).height()*0.8);
+ }
+ layer.style(index, {
+// top: (($(window).height()-height)/3)+"px",
+ height: height+'px'
+ });
+}
+
+$('body').keydown(function () {
+ if (event.keyCode === 13) {
+ $("#search").click();
+ }
+});
diff --git a/src/main/webapp/static/js/basErrLog/basErrLog.js b/src/main/webapp/static/wms/js/basErrLog/basErrLog.js
similarity index 100%
rename from src/main/webapp/static/js/basErrLog/basErrLog.js
rename to src/main/webapp/static/wms/js/basErrLog/basErrLog.js
diff --git a/src/main/webapp/static/wms/js/basLocSts/basLocSts.js b/src/main/webapp/static/wms/js/basLocSts/basLocSts.js
new file mode 100644
index 0000000..47ac4ca
--- /dev/null
+++ b/src/main/webapp/static/wms/js/basLocSts/basLocSts.js
@@ -0,0 +1,440 @@
+var pageCurr;
+layui.use(['table','laydate', 'form'], function(){
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#basLocSts',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/basLocSts/list/auth',
+ page: true,
+ limit: 16,
+ limits: [16, 30, 50, 100, 200, 500],
+ even: true,
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ cols: [[
+ {type: 'checkbox', fixed: 'left'}
+// ,{field: 'id', title: 'ID', sort: true,align: 'center', fixed: 'left', width: 80}
+ ,{field: 'locSts', align: 'center',sort:true,title: '搴撲綅鐘舵�佷唬鍙�'}
+ ,{field: 'locDesc', align: 'center',sort: true,title: '搴撲綅鐘舵�佹弿杩�'}
+ ,{field: 'modiUser$', align: 'center',title: '淇敼浜哄憳'}
+ ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿'}
+ // ,{field: 'appeUser$', align: 'center',title: '鍒涘缓鑰�',event: 'appeUser', style: 'text-decoration: underline;cursor:pointer'}
+ // ,{field: 'appeTime$', align: 'center',title: '娣诲姞鏃堕棿'}
+
+ ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:150}
+ ]],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+
+ // 鐩戝惉鎺掑簭浜嬩欢
+ table.on('sort(basLocSts)', function (obj) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ searchData['orderByField'] = obj.field;
+ searchData['orderByType'] = obj.type;
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: 1
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(basLocSts)', function (obj) {
+ var checkStatus = table.checkStatus(obj.config.id);
+ switch(obj.event) {
+ case 'addData':
+ layer.open({
+ type: 2,
+ title: '鏂板',
+ maxmin: true,
+ area: ['500px', top.detailHeight],
+ shadeClose: false,
+ content: 'basLocSts_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-edit', index).hide();
+ clearFormVal(layer.getChildFrame('#detail', index));
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ }
+ });
+ break;
+ case 'refreshData':
+ tableIns.reload({
+ page: {
+ curr: pageCurr
+ }
+ });
+ limit();
+ break;
+ case 'deleteData':
+ var data = checkStatus.data;
+ if (data.length === 0){
+ layer.msg('璇烽�夋嫨鏁版嵁');
+ } else {
+ layer.confirm('纭畾鍒犻櫎'+(data.length===1?'姝�':data.length)+'鏉℃暟鎹悧', function(){
+ $.ajax({
+ url: baseUrl+"/basLocSts/delete/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {param: JSON.stringify(data)},
+ method: 'POST',
+ traditional:true,
+ success: function (res) {
+ if (res.code === 200){
+ layer.closeAll();
+ tableReload(false);
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ });
+ }
+ break;
+ case 'exportData':
+ layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+ var titles=[];
+ var fields=[];
+ obj.config.cols[0].map(function (col) {
+ if (col.type === 'normal' && col.hide === false && col.toolbar == null) {
+ titles.push(col.title);
+ fields.push(col.field);
+ }
+ });
+ var exportData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ exportData[this.name] = this.value;
+ });
+ var param = {
+ 'basLocSts': exportData,
+ 'fields': fields
+ };
+ $.ajax({
+ url: baseUrl+"/basLocSts/export/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ layer.closeAll();
+ if (res.code === 200) {
+ table.exportFile(titles,res.data,'xls');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ });
+ });
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(basLocSts)', function(obj){
+ var data = obj.data;
+ switch (obj.event) {
+ // 璇︽儏
+ case 'detail':
+ layer.open({
+ type: 2,
+ title: '璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: 'basLocSts_detail.html',
+ success: function(layero, index){
+ setFormVal(layer.getChildFrame('#detail', index), data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#prompt', index).hide();
+ layer.getChildFrame('#data-detail-submit-edit', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ }
+ });
+ break;
+ // 缂栬緫
+ case 'edit':
+ layer.open({
+ type: 2,
+ title: '淇敼',
+ maxmin: true,
+ area: ['500px', top.detailHeight],
+ shadeClose: false,
+ content: 'basLocSts_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-save', index).hide();
+ setFormVal(layer.getChildFrame('#detail', index), data, false);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), false);
+ top.convertDisabled(layer.getChildFrame('#locSts', index), true);
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ }
+ });
+ break;
+ case 'modiUser':
+ var param = top.reObject(data).modiUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '淇敼璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#password,#createTime\\$,#status', index).parent().parent().hide();
+ layer.getChildFrame('#data-detail-submit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+ case 'appeUser':
+ var param = top.reObject(data).appeUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '鍒涜鎯�',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+
+ }
+ });
+
+ // 鏁版嵁淇濆瓨鍔ㄤ綔
+ form.on('submit(save)', function () {
+ if (banMsg != null){
+ layer.msg(banMsg);
+ return;
+ }
+ method("add");
+ });
+
+ // 鏁版嵁淇敼鍔ㄤ綔
+ form.on('submit(edit)', function () {
+ method("update")
+ });
+
+ function method(name){
+ var index = layer.load(1, {
+ shade: [0.5,'#000'] //0.1閫忔槑搴︾殑鑳屾櫙
+ });
+ var data = {
+// id: $('#id').val(),
+ locSts: $('#locSts').val(),
+ locDesc: $('#locDesc').val(),
+ modiUser: $('#modiUser').val(),
+ modiTime: top.strToDate($('#modiTime\\$').val()),
+ appeUser: $('#appeUser').val(),
+ appeTime: top.strToDate($('#appeTime\\$').val()),
+
+ };
+ $.ajax({
+ url: baseUrl+"/basLocSts/"+name+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: top.reObject(data),
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ parent.layer.closeAll();
+ tableReload(true);
+ $("#data-detail :input").each(function () {
+ $(this).val("");
+ });
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ layer.close(index);
+ }
+ })
+ }
+
+ // 鎼滅储鏍忔悳绱簨浠�
+ form.on('submit(search)', function (data) {
+ pageCurr = 1;
+ tableReload(false);
+ });
+
+ // 鎼滅储鏍忛噸缃簨浠�
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ tableReload(false);
+ });
+
+ // 鏃堕棿閫夋嫨鍣�
+ layDate.render({
+ elem: '#modiTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#appeTime\\$',
+ type: 'datetime'
+ });
+
+
+});
+
+// 鍏抽棴鍔ㄤ綔
+$(document).on('click','#data-detail-close', function () {
+ parent.layer.closeAll();
+});
+
+function tableReload(child) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ (child ? parent.tableIns : tableIns).reload({
+ where: searchData,
+ page: {
+ curr: pageCurr
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ if (res.data.length === 0 && count !== 0) {
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: pageCurr-1
+ }
+ });
+ pageCurr -= 1;
+ }
+ limit(child);
+ }
+ });
+}
+
+function setFormVal(el, data, showImg) {
+ for (var val in data) {
+ var find = el.find(":input[id='" + val + "']");
+ find.val(data[val]);
+ if (showImg){
+ var next = find.next();
+ if (next.get(0)){
+ if (next.get(0).localName === "img") {
+ find.hide();
+ next.attr("src", data[val]);
+ next.show();
+ }
+ }
+ }
+ }
+}
+
+function clearFormVal(el) {
+ $(':input', el)
+ .val('')
+ .removeAttr('checked')
+ .removeAttr('selected');
+}
+
+function detailScreen(index) {
+ var detail = layer.getChildFrame('#data-detail', index);
+ var height = detail.height()+60;
+ if (height > ($(window).height()*0.9)) {
+ height = ($(window).height()*0.9);
+ }
+ layer.style(index, {
+// top: (($(window).height()-height)/3)+"px",
+ height: height+'px'
+ });
+}
+
+$('body').keydown(function () {
+ if (event.keyCode === 13) {
+ $("#search").click();
+ }
+});
diff --git a/src/main/webapp/static/wms/js/basPlcerror/basPlcerror.js b/src/main/webapp/static/wms/js/basPlcerror/basPlcerror.js
new file mode 100644
index 0000000..7bd32da
--- /dev/null
+++ b/src/main/webapp/static/wms/js/basPlcerror/basPlcerror.js
@@ -0,0 +1,369 @@
+var pageCurr;
+layui.use(['table','laydate', 'form'], function(){
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#basPlcerror',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/basPlcerror/list/auth',
+ page: true,
+ limit: 16,
+ limits: [16, 30, 50, 100, 200, 500],
+ even: true,
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ cols: [[
+ {type: 'checkbox'}
+// ,{field: 'id', title: 'ID', sort: true,align: 'center', fixed: 'left', width: 80}
+ ,{field: 'errorCode', align: 'center',title: '寮傚父缂栧彿'}
+ ,{field: 'errorDesc', align: 'center',title: '寮傚父鎻忚堪'}
+ ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿'}
+ ,{field: 'modiUser$', align: 'center',title: '淇敼浜哄憳'}
+
+ ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:150}
+ ]],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ form.on('checkbox(tableCheckbox)', function (data) {
+ var _index = $(data.elem).attr('table-index')||0;
+ if(data.elem.checked){
+ res.data[_index][data.value] = 'Y';
+ }else{
+ res.data[_index][data.value] = 'N';
+ }
+ });
+ }
+ });
+
+ // 鐩戝惉鎺掑簭浜嬩欢
+ table.on('sort(locMast)', function (obj) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ searchData['orderByField'] = obj.field;
+ searchData['orderByType'] = obj.type;
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: 1
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(basPlcerror)', function (obj) {
+ var checkStatus = table.checkStatus(obj.config.id);
+ switch(obj.event) {
+ case 'addData':
+ layer.open({
+ type: 2,
+ title: '鏂板',
+ maxmin: true,
+ area: ['50%', top.detailHeight],
+ content: 'basPlcerror_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-edit', index).hide();
+ clearFormVal(layer.getChildFrame('#detail', index));
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ }
+ });
+ break;
+ case 'deleteData':
+ var data = checkStatus.data;
+ if (data.length === 0){
+ layer.msg('璇烽�夋嫨鏁版嵁');
+ } else {
+ layer.confirm('纭畾鍒犻櫎'+(data.length===1?'姝�':data.length)+'鏉℃暟鎹悧', function(){
+ $.ajax({
+ url: baseUrl+"/basPlcerror/delete/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {param: JSON.stringify(data)},
+ method: 'POST',
+ traditional:true,
+ success: function (res) {
+ if (res.code === 200){
+ layer.closeAll();
+ tableReload(false);
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ });
+ }
+ break;
+ case 'exportData':
+ layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+ var titles=[];
+ var fields=[];
+ obj.config.cols[0].map(function (col) {
+ if (col.type === 'normal' && col.hide === false && col.toolbar == null) {
+ titles.push(col.title);
+ fields.push(col.field);
+ }
+ });
+ var exportData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ exportData[this.name] = this.value;
+ });
+ var param = {
+ 'basPlcerror': exportData,
+ 'fields': fields
+ };
+ $.ajax({
+ url: baseUrl+"/basPlcerror/export/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ layer.closeAll();
+ if (res.code === 200) {
+ table.exportFile(titles,res.data,'xls');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ });
+ });
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(basPlcerror)', function(obj){
+ var data = obj.data;
+ switch (obj.event) {
+ // 缂栬緫
+ case 'edit':
+ layer.open({
+ type: 2,
+ title: '淇敼',
+ maxmin: true,
+ area: ['50%', top.detailHeight],
+ content: 'basPlcerror_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-save', index).hide();
+ setFormVal(layer.getChildFrame('#detail', index), data, false);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), false);
+ top.convertDisabled(layer.getChildFrame('#errorCode', index), true);
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+
+ }
+ });
+
+ // 鏁版嵁淇濆瓨鍔ㄤ綔
+ form.on('submit(save)', function () {
+ if (banMsg != null){
+ layer.msg(banMsg);
+ return;
+ }
+ method("add");
+ });
+
+ // 鏁版嵁淇敼鍔ㄤ綔
+ form.on('submit(edit)', function () {
+ method("update")
+ });
+
+ function method(name){
+ var index = layer.load(1, {
+ shade: [0.5,'#000'] //0.1閫忔槑搴︾殑鑳屾櫙
+ });
+ var data = {
+// id: $('#id').val(),
+ errorCode: $('#errorCode').val(),
+ errorDesc: $('#errorDesc').val(),
+ modiTime: top.strToDate($('#modiTime\\$').val()),
+ modiUser: $('#modiUser').val(),
+ appeTime: top.strToDate($('#appeTime\\$').val()),
+ appeUser: $('#appeUser').val(),
+
+ };
+ $.ajax({
+ url: baseUrl+"/basPlcerror/"+name+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: top.reObject(data),
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ parent.layer.closeAll();
+ parent.$(".layui-laypage-btn")[0].click();
+ $("#data-detail :input").each(function () {
+ $(this).val("");
+ });
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ layer.close(index);
+ }
+ })
+ }
+
+ // 澶嶉�夋浜嬩欢
+ form.on('checkbox(detailCheckbox)', function (data) {
+ var el = data.elem;
+ if (el.checked) {
+ $(el).val('Y');
+ } else {
+ $(el).val('N');
+ }
+ });
+
+ // 鎼滅储鏍忔悳绱簨浠�
+ form.on('submit(search)', function (data) {
+ pageCurr = 1;
+ tableReload(false);
+ });
+
+ // 鎼滅储鏍忛噸缃簨浠�
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ tableReload(false);
+ });
+
+ // 鏃堕棿閫夋嫨鍣�
+ layDate.render({
+ elem: '#modiTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#appeTime\\$',
+ type: 'datetime'
+ });
+
+
+});
+
+// 鍏抽棴鍔ㄤ綔
+$(document).on('click','#data-detail-close', function () {
+ parent.layer.closeAll();
+});
+
+function tableReload(child) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ (child ? parent.tableIns : tableIns).reload({
+ where: searchData,
+ page: {
+ curr: pageCurr
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ if (res.data.length === 0 && count !== 0) {
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: pageCurr-1
+ }
+ });
+ pageCurr -= 1;
+ }
+ limit(child);
+ }
+ });
+}
+
+function setFormVal(el, data, showImg) {
+ for (var val in data) {
+ var find = el.find(":input[id='" + val + "']");
+ if (find[0]!=null){
+ if (find[0].type === 'checkbox'){
+ if (data[val]==='Y'){
+ find.attr("checked","checked");
+ find.val('Y');
+ } else {
+ find.remove("checked");
+ find.val('N');
+ }
+ continue;
+ }
+ }
+ find.val(data[val]);
+ if (showImg){
+ var next = find.next();
+ if (next.get(0)){
+ if (next.get(0).localName === "img") {
+ find.hide();
+ next.attr("src", data[val]);
+ next.show();
+ }
+ }
+ }
+ }
+}
+
+function clearFormVal(el) {
+ $(':input', el)
+ .val('')
+ .removeAttr('checked')
+ .removeAttr('selected');
+}
+
+function detailScreen(index) {
+ var detail = layer.getChildFrame('#data-detail', index);
+ var height = detail.height()+60;
+ if (height > ($(window).height()*0.9)) {
+ height = ($(window).height()*0.8);
+ }
+ layer.style(index, {
+// top: (($(window).height()-height)/3)+"px",
+ height: height+'px'
+ });
+}
+
+$('body').keydown(function () {
+ if (event.keyCode === 13) {
+ $("#search").click();
+ }
+});
diff --git a/src/main/webapp/static/wms/js/basWhs/basWhs.js b/src/main/webapp/static/wms/js/basWhs/basWhs.js
new file mode 100644
index 0000000..387672a
--- /dev/null
+++ b/src/main/webapp/static/wms/js/basWhs/basWhs.js
@@ -0,0 +1,474 @@
+var pageCurr;
+layui.use(['table','laydate', 'form'], function(){
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#basWhs',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/basWhs/list/auth',
+ page: true,
+ limit: 16,
+ limits: [16, 30, 50, 100, 200, 500],
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ cols: [[
+ {type: 'checkbox', fixed: 'left'}
+// ,{field: 'id', title: 'ID', sort: true,align: 'center', fixed: 'left', width: 80}
+ ,{field: 'id', align: 'center',title: '缂栧彿', sort: true}
+ ,{field: 'whsDesc', align: 'center',title: '搴撲綅绫诲瀷'}
+ ,{field: 'modiUser$', align: 'center',title: '淇敼浜哄憳'}
+ ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿'}
+ // ,{field: 'appeUser$', align: 'center',title: '鍒涘缓鑰�',event: 'appeUser', style: 'text-decoration: underline;cursor:pointer'}
+ // ,{field: 'appeTime$', align: 'center',title: '娣诲姞鏃堕棿'}
+
+ ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:150}
+ ]],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ form.on('checkbox(tableCheckbox)', function (data) {
+ var _index = $(data.elem).attr('table-index')||0;
+ if(data.elem.checked){
+ res.data[_index][data.value] = 'Y';
+ }else{
+ res.data[_index][data.value] = 'N';
+ }
+ });
+ }
+ });
+
+ // 鐩戝惉鎺掑簭浜嬩欢
+ table.on('sort(basWhs)', function (obj) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ searchData['orderByField'] = obj.field;
+ searchData['orderByType'] = obj.type;
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: 1
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(basWhs)', function (obj) {
+ var checkStatus = table.checkStatus(obj.config.id);
+ switch(obj.event) {
+ case 'addData':
+ layer.open({
+ type: 2,
+ title: '鏂板',
+ maxmin: true,
+ area: ['500px', top.detailHeight],
+ shadeClose: false,
+ content: 'basWhs_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-edit', index).hide();
+ layer.getChildFrame('#id', index).parent().parent().hide();
+ clearFormVal(layer.getChildFrame('#detail', index));
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ }
+ });
+ break;
+ case 'refreshData':
+ tableIns.reload({
+ page: {
+ curr: pageCurr
+ }
+ });
+ limit();
+ break;
+ case 'deleteData':
+ var data = checkStatus.data;
+ if (data.length === 0){
+ layer.msg('璇烽�夋嫨鏁版嵁');
+ } else {
+ layer.confirm('纭畾鍒犻櫎'+(data.length===1?'姝�':data.length)+'鏉℃暟鎹悧', function(){
+ $.ajax({
+ url: baseUrl+"/basWhs/delete/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {param: JSON.stringify(data)},
+ method: 'POST',
+ traditional:true,
+ success: function (res) {
+ if (res.code === 200){
+ layer.closeAll();
+ tableReload(false);
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ });
+ }
+ break;
+ case 'exportData':
+ layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+ var titles=[];
+ var fields=[];
+ obj.config.cols[0].map(function (col) {
+ if (col.type === 'normal' && col.hide === false && col.toolbar == null) {
+ titles.push(col.title);
+ fields.push(col.field);
+ }
+ });
+ var exportData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ exportData[this.name] = this.value;
+ });
+ var param = {
+ 'basWhs': exportData,
+ 'fields': fields
+ };
+ $.ajax({
+ url: baseUrl+"/basWhs/export/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ layer.closeAll();
+ if (res.code === 200) {
+ table.exportFile(titles,res.data,'xls');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ });
+ });
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(basWhs)', function(obj){
+ var data = obj.data;
+ switch (obj.event) {
+ // 璇︽儏
+ case 'detail':
+ layer.open({
+ type: 2,
+ title: '璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: 'basWhs_detail.html',
+ success: function(layero, index){
+ setFormVal(layer.getChildFrame('#detail', index), data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#prompt', index).hide();
+ layer.getChildFrame('#data-detail-submit-edit', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+ // 缂栬緫
+ case 'edit':
+ layer.open({
+ type: 2,
+ title: '淇敼',
+ maxmin: true,
+ area: ['500px', top.detailHeight],
+ shadeClose: false,
+ content: 'basWhs_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-save', index).hide();
+ setFormVal(layer.getChildFrame('#detail', index), data, false);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), false);
+ top.convertDisabled(layer.getChildFrame('#id', index), true);
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+ case 'modiUser':
+ var param = top.reObject(data).modiUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '淇敼璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#password,#createTime\\$,#status', index).parent().parent().hide();
+ layer.getChildFrame('#data-detail-submit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+ case 'appeUser':
+ var param = top.reObject(data).appeUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '鍒涜鎯�',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+
+ }
+ });
+
+ // 鏁版嵁淇濆瓨鍔ㄤ綔
+ form.on('submit(save)', function () {
+ if (banMsg != null){
+ layer.msg(banMsg);
+ return;
+ }
+ method("add");
+ });
+
+ // 鏁版嵁淇敼鍔ㄤ綔
+ form.on('submit(edit)', function () {
+ method("update")
+ });
+
+ function method(name){
+ var index = layer.load(1, {
+ shade: [0.5,'#000'] //0.1閫忔槑搴︾殑鑳屾櫙
+ });
+ var data = {
+// id: $('#id').val(),
+ id: $('#id').val(),
+ whsDesc: $('#whsDesc').val(),
+ modiUser: $('#modiUser').val(),
+ modiTime: top.strToDate($('#modiTime\\$').val()),
+ appeUser: $('#appeUser').val(),
+ appeTime: top.strToDate($('#appeTime\\$').val()),
+
+ };
+ $.ajax({
+ url: baseUrl+"/basWhs/"+name+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: top.reObject(data),
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ parent.layer.closeAll();
+ parent.$(".layui-laypage-btn")[0].click();
+ $("#data-detail :input").each(function () {
+ $(this).val("");
+ });
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ layer.close(index);
+ }
+ })
+ }
+
+ // 澶嶉�夋浜嬩欢
+ form.on('checkbox(detailCheckbox)', function (data) {
+ var el = data.elem;
+ if (el.checked) {
+ $(el).val('Y');
+ } else {
+ $(el).val('N');
+ }
+ });
+
+ // 鎼滅储鏍忔悳绱簨浠�
+ form.on('submit(search)', function (data) {
+ pageCurr = 1;
+ tableReload(false);
+ });
+
+ // 鎼滅储鏍忛噸缃簨浠�
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ tableReload(false);
+ });
+
+ // 鏃堕棿閫夋嫨鍣�
+ layDate.render({
+ elem: '#modiTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#appeTime\\$',
+ type: 'datetime'
+ });
+
+
+});
+
+// 鍏抽棴鍔ㄤ綔
+$(document).on('click','#data-detail-close', function () {
+ parent.layer.closeAll();
+});
+
+function tableReload(child) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ (child ? parent.tableIns : tableIns).reload({
+ where: searchData,
+ page: {
+ curr: pageCurr
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ if (res.data.length === 0 && count !== 0) {
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: pageCurr-1
+ }
+ });
+ pageCurr -= 1;
+ }
+ limit(child);
+ }
+ });
+}
+
+function setFormVal(el, data, showImg) {
+ for (var val in data) {
+ var find = el.find(":input[id='" + val + "']");
+ if (find[0]!=null){
+ if (find[0].type === 'checkbox'){
+ if (data[val]==='Y'){
+ find.attr("checked","checked");
+ find.val('Y');
+ } else {
+ find.remove("checked");
+ find.val('N');
+ }
+ continue;
+ }
+ }
+ find.val(data[val]);
+ if (showImg){
+ var next = find.next();
+ if (next.get(0)){
+ if (next.get(0).localName === "img") {
+ find.hide();
+ next.attr("src", data[val]);
+ next.show();
+ }
+ }
+ }
+ }
+}
+
+function clearFormVal(el) {
+ $(':input', el)
+ .val('')
+ .removeAttr('checked')
+ .removeAttr('selected');
+}
+
+function detailScreen(index) {
+ var detail = layer.getChildFrame('#data-detail', index);
+ var height = detail.height()+60;
+ if (height > ($(window).height()*0.9)) {
+ height = ($(window).height()*0.8);
+ }
+ layer.style(index, {
+// top: (($(window).height()-height)/3)+"px",
+ height: height+'px'
+ });
+}
+
+$('body').keydown(function () {
+ if (event.keyCode === 13) {
+ $("#search").click();
+ }
+});
diff --git a/src/main/webapp/static/wms/js/basWrkIotype/basWrkIotype.js b/src/main/webapp/static/wms/js/basWrkIotype/basWrkIotype.js
new file mode 100644
index 0000000..723120b
--- /dev/null
+++ b/src/main/webapp/static/wms/js/basWrkIotype/basWrkIotype.js
@@ -0,0 +1,443 @@
+var pageCurr;
+layui.use(['table','laydate', 'form'], function(){
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#basWrkIotype',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/basWrkIotype/list/auth',
+ page: true,
+ limit: 16,
+ limits: [16, 30, 50, 100, 200, 500],
+ // skin: 'line',
+ even: true,
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ cols: [[
+ {type: 'checkbox', fixed: 'left'}
+// ,{field: 'id', title: 'ID', sort: true,align: 'center', fixed: 'left', width: 80}
+ ,{field: 'ioType', align: 'center',sort:true,title: '鍏ュ嚭绫诲瀷浠e彿'}
+ // ,{field: 'ioPri', align: 'center',title: '涓昏'}
+ ,{field: 'ioDesc', align: 'center',title: '鍏ュ嚭绫诲瀷鎻忚堪'}
+ ,{field: 'modiUser$', align: 'center',title: '淇敼浜哄憳'}
+ ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿'}
+ // ,{field: 'appeUser$', align: 'center',title: '鍒涘缓鑰�',event: 'appeUser', style: 'text-decoration: underline;cursor:pointer'}
+ // ,{field: 'appeTime$', align: 'center',title: '娣诲姞鏃堕棿'}
+
+ ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:150}
+ ]],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+
+ // 鐩戝惉鎺掑簭浜嬩欢
+ table.on('sort(basWrkIotype)', function (obj) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ searchData['orderByField'] = obj.field;
+ searchData['orderByType'] = obj.type;
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: 1
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(basWrkIotype)', function (obj) {
+ var checkStatus = table.checkStatus(obj.config.id);
+ switch(obj.event) {
+ case 'addData':
+ layer.open({
+ type: 2,
+ title: '鏂板',
+ maxmin: true,
+ area: ['500px', top.detailHeight],
+ shadeClose: false,
+ content: 'basWrkIotype_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-edit', index).hide();
+ clearFormVal(layer.getChildFrame('#detail', index));
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ }
+ });
+ break;
+ case 'refreshData':
+ tableIns.reload({
+ page: {
+ curr: pageCurr
+ }
+ });
+ limit();
+ break;
+ case 'deleteData':
+ var data = checkStatus.data;
+ if (data.length === 0){
+ layer.msg('璇烽�夋嫨鏁版嵁');
+ } else {
+ layer.confirm('纭畾鍒犻櫎'+(data.length===1?'姝�':data.length)+'鏉℃暟鎹悧', function(){
+ $.ajax({
+ url: baseUrl+"/basWrkIotype/delete/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {param: JSON.stringify(data)},
+ method: 'POST',
+ traditional:true,
+ success: function (res) {
+ if (res.code === 200){
+ layer.closeAll();
+ tableReload(false);
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ });
+ }
+ break;
+ case 'exportData':
+ layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+ var titles=[];
+ var fields=[];
+ obj.config.cols[0].map(function (col) {
+ if (col.type === 'normal' && col.hide === false && col.toolbar == null) {
+ titles.push(col.title);
+ fields.push(col.field);
+ }
+ });
+ var exportData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ exportData[this.name] = this.value;
+ });
+ var param = {
+ 'basWrkIotype': exportData,
+ 'fields': fields
+ };
+ $.ajax({
+ url: baseUrl+"/basWrkIotype/export/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ layer.closeAll();
+ if (res.code === 200) {
+ table.exportFile(titles,res.data,'xls');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ });
+ });
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(basWrkIotype)', function(obj){
+ var data = obj.data;
+ switch (obj.event) {
+ // 璇︽儏
+ case 'detail':
+ layer.open({
+ type: 2,
+ title: '璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: 'basWrkIotype_detail.html',
+ success: function(layero, index){
+ setFormVal(layer.getChildFrame('#detail', index), data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#prompt', index).hide();
+ layer.getChildFrame('#data-detail-submit-edit', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ }
+ });
+ break;
+ // 缂栬緫
+ case 'edit':
+ layer.open({
+ type: 2,
+ title: '淇敼',
+ maxmin: true,
+ area: ['500px', top.detailHeight],
+ shadeClose: false,
+ content: 'basWrkIotype_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-save', index).hide();
+ setFormVal(layer.getChildFrame('#detail', index), data, false);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), false);
+ top.convertDisabled(layer.getChildFrame('#ioType', index), true);
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ }
+ });
+ break;
+ case 'modiUser':
+ var param = top.reObject(data).modiUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '淇敼璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#password,#createTime\\$,#status', index).parent().parent().hide();
+ layer.getChildFrame('#data-detail-submit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+ case 'appeUser':
+ var param = top.reObject(data).appeUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '鍒涜鎯�',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+
+ }
+ });
+
+ // 鏁版嵁淇濆瓨鍔ㄤ綔
+ form.on('submit(save)', function () {
+ if (banMsg != null){
+ layer.msg(banMsg);
+ return;
+ }
+ method("add");
+ });
+
+ // 鏁版嵁淇敼鍔ㄤ綔
+ form.on('submit(edit)', function () {
+ method("update")
+ });
+
+ function method(name){
+ var index = layer.load(1, {
+ shade: [0.5,'#000'] //0.1閫忔槑搴︾殑鑳屾櫙
+ });
+ var data = {
+// id: $('#id').val(),
+ ioType: $('#ioType').val(),
+ ioPri: $('#ioPri').val(),
+ ioDesc: $('#ioDesc').val(),
+ modiUser: $('#modiUser').val(),
+ modiTime: top.strToDate($('#modiTime\\$').val()),
+ appeUser: $('#appeUser').val(),
+ appeTime: top.strToDate($('#appeTime\\$').val()),
+
+ };
+ $.ajax({
+ url: baseUrl+"/basWrkIotype/"+name+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: top.reObject(data),
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ parent.layer.closeAll();
+ tableReload(true);
+ $("#data-detail :input").each(function () {
+ $(this).val("");
+ });
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ layer.close(index);
+ }
+ })
+ }
+
+ // 鎼滅储鏍忔悳绱簨浠�
+ form.on('submit(search)', function (data) {
+ pageCurr = 1;
+ tableReload(false);
+ });
+
+ // 鎼滅储鏍忛噸缃簨浠�
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ tableReload(false);
+ });
+
+ // 鏃堕棿閫夋嫨鍣�
+ layDate.render({
+ elem: '#modiTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#appeTime\\$',
+ type: 'datetime'
+ });
+
+
+});
+
+// 鍏抽棴鍔ㄤ綔
+$(document).on('click','#data-detail-close', function () {
+ parent.layer.closeAll();
+});
+
+function tableReload(child) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ (child ? parent.tableIns : tableIns).reload({
+ where: searchData,
+ page: {
+ curr: pageCurr
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ if (res.data.length === 0 && count !== 0) {
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: pageCurr-1
+ }
+ });
+ pageCurr -= 1;
+ }
+ limit(child);
+ }
+ });
+}
+
+function setFormVal(el, data, showImg) {
+ for (var val in data) {
+ var find = el.find(":input[id='" + val + "']");
+ find.val(data[val]);
+ if (showImg){
+ var next = find.next();
+ if (next.get(0)){
+ if (next.get(0).localName === "img") {
+ find.hide();
+ next.attr("src", data[val]);
+ next.show();
+ }
+ }
+ }
+ }
+}
+
+function clearFormVal(el) {
+ $(':input', el)
+ .val('')
+ .removeAttr('checked')
+ .removeAttr('selected');
+}
+
+function detailScreen(index) {
+ var detail = layer.getChildFrame('#data-detail', index);
+ var height = detail.height()+60;
+ if (height > ($(window).height()*0.9)) {
+ height = ($(window).height()*0.9);
+ }
+ layer.style(index, {
+// top: (($(window).height()-height)/3)+"px",
+ height: height+'px'
+ });
+}
+
+$('body').keydown(function () {
+ if (event.keyCode === 13) {
+ $("#search").click();
+ }
+});
diff --git a/src/main/webapp/static/wms/js/basWrkStatus/basWrkStatus.js b/src/main/webapp/static/wms/js/basWrkStatus/basWrkStatus.js
new file mode 100644
index 0000000..a64f6da
--- /dev/null
+++ b/src/main/webapp/static/wms/js/basWrkStatus/basWrkStatus.js
@@ -0,0 +1,441 @@
+var pageCurr;
+layui.use(['table','laydate', 'form'], function(){
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#basWrkStatus',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/basWrkStatus/list/auth',
+ page: true,
+ limit: 16,
+ limits: [16, 30, 50, 100, 200, 500],
+ // skin: 'line',
+ even: true,
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ cols: [[
+ {type: 'checkbox', fixed: 'left'}
+// ,{field: 'id', title: 'ID', sort: true,align: 'center', fixed: 'left', width: 80}
+ ,{field: 'wrkSts', align: 'center',sort:true,title: '浠e彿'}
+ ,{field: 'wrkDesc', align: 'center',title: '鐘舵�佹弿杩�'}
+ ,{field: 'modiUser$', align: 'center',title: '淇敼浜哄憳'}
+ ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿'}
+ // ,{field: 'appeUser$', align: 'center',title: '鍒涘缓鑰�',event: 'appeUser', style: 'text-decoration: underline;cursor:pointer'}
+ // ,{field: 'appeTime$', align: 'center',title: '娣诲姞鏃堕棿'}
+
+ ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:150}
+ ]],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+
+ // 鐩戝惉鎺掑簭浜嬩欢
+ table.on('sort(basWrkStatus)', function (obj) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ searchData['orderByField'] = obj.field;
+ searchData['orderByType'] = obj.type;
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: 1
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(basWrkStatus)', function (obj) {
+ var checkStatus = table.checkStatus(obj.config.id);
+ switch(obj.event) {
+ case 'addData':
+ layer.open({
+ type: 2,
+ title: '鏂板',
+ maxmin: true,
+ area: ['500px', top.detailHeight],
+ shadeClose: false,
+ content: 'basWrkStatus_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-edit', index).hide();
+ clearFormVal(layer.getChildFrame('#detail', index));
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ }
+ });
+ break;
+ case 'refreshData':
+ tableIns.reload({
+ page: {
+ curr: pageCurr
+ }
+ });
+ limit();
+ break;
+ case 'deleteData':
+ var data = checkStatus.data;
+ if (data.length === 0){
+ layer.msg('璇烽�夋嫨鏁版嵁');
+ } else {
+ layer.confirm('纭畾鍒犻櫎'+(data.length===1?'姝�':data.length)+'鏉℃暟鎹悧', function(){
+ $.ajax({
+ url: baseUrl+"/basWrkStatus/delete/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {param: JSON.stringify(data)},
+ method: 'POST',
+ traditional:true,
+ success: function (res) {
+ if (res.code === 200){
+ layer.closeAll();
+ tableReload(false);
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ });
+ }
+ break;
+ case 'exportData':
+ layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+ var titles=[];
+ var fields=[];
+ obj.config.cols[0].map(function (col) {
+ if (col.type === 'normal' && col.hide === false && col.toolbar == null) {
+ titles.push(col.title);
+ fields.push(col.field);
+ }
+ });
+ var exportData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ exportData[this.name] = this.value;
+ });
+ var param = {
+ 'basWrkStatus': exportData,
+ 'fields': fields
+ };
+ $.ajax({
+ url: baseUrl+"/basWrkStatus/export/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ layer.closeAll();
+ if (res.code === 200) {
+ table.exportFile(titles,res.data,'xls');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ });
+ });
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(basWrkStatus)', function(obj){
+ var data = obj.data;
+ switch (obj.event) {
+ // 璇︽儏
+ case 'detail':
+ layer.open({
+ type: 2,
+ title: '璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: 'basWrkStatus_detail.html',
+ success: function(layero, index){
+ setFormVal(layer.getChildFrame('#detail', index), data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#prompt', index).hide();
+ layer.getChildFrame('#data-detail-submit-edit', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ }
+ });
+ break;
+ // 缂栬緫
+ case 'edit':
+ layer.open({
+ type: 2,
+ title: '淇敼',
+ maxmin: true,
+ area: ['500px', top.detailHeight],
+ shadeClose: false,
+ content: 'basWrkStatus_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-save', index).hide();
+ setFormVal(layer.getChildFrame('#detail', index), data, false);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), false);
+ top.convertDisabled(layer.getChildFrame('#wrkSts', index), true);
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ }
+ });
+ break;
+ case 'modiUser':
+ var param = top.reObject(data).modiUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '淇敼璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit,#prompt', index).hide();
+ layer.getChildFrame('#password,#createTime\\$,#status', index).parent().parent().hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+ case 'appeUser':
+ var param = top.reObject(data).appeUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '鍒涜鎯�',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+
+ }
+ });
+
+ // 鏁版嵁淇濆瓨鍔ㄤ綔
+ form.on('submit(save)', function () {
+ if (banMsg != null){
+ layer.msg(banMsg);
+ return;
+ }
+ method("add");
+ });
+
+ // 鏁版嵁淇敼鍔ㄤ綔
+ form.on('submit(edit)', function () {
+ method("update")
+ });
+
+ function method(name){
+ var index = layer.load(1, {
+ shade: [0.5,'#000'] //0.1閫忔槑搴︾殑鑳屾櫙
+ });
+ var data = {
+// id: $('#id').val(),
+ wrkSts: $('#wrkSts').val(),
+ wrkDesc: $('#wrkDesc').val(),
+ modiUser: $('#modiUser').val(),
+ modiTime: top.strToDate($('#modiTime\\$').val()),
+ appeUser: $('#appeUser').val(),
+ appeTime: top.strToDate($('#appeTime\\$').val()),
+
+ };
+ $.ajax({
+ url: baseUrl+"/basWrkStatus/"+name+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: top.reObject(data),
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ parent.layer.closeAll();
+ tableReload(true);
+ $("#data-detail :input").each(function () {
+ $(this).val("");
+ });
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ layer.close(index);
+ }
+ })
+ }
+
+ // 鎼滅储鏍忔悳绱簨浠�
+ form.on('submit(search)', function (data) {
+ pageCurr = 1;
+ tableReload(false);
+ });
+
+ // 鎼滅储鏍忛噸缃簨浠�
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ tableReload(false);
+ });
+
+ // 鏃堕棿閫夋嫨鍣�
+ layDate.render({
+ elem: '#modiTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#appeTime\\$',
+ type: 'datetime'
+ });
+
+
+});
+
+// 鍏抽棴鍔ㄤ綔
+$(document).on('click','#data-detail-close', function () {
+ parent.layer.closeAll();
+});
+
+function tableReload(child) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ (child ? parent.tableIns : tableIns).reload({
+ where: searchData,
+ page: {
+ curr: pageCurr
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ if (res.data.length === 0 && count !== 0) {
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: pageCurr-1
+ }
+ });
+ pageCurr -= 1;
+ }
+ limit(child);
+ }
+ });
+}
+
+function setFormVal(el, data, showImg) {
+ for (var val in data) {
+ var find = el.find(":input[id='" + val + "']");
+ find.val(data[val]);
+ if (showImg){
+ var next = find.next();
+ if (next.get(0)){
+ if (next.get(0).localName === "img") {
+ find.hide();
+ next.attr("src", data[val]);
+ next.show();
+ }
+ }
+ }
+ }
+}
+
+function clearFormVal(el) {
+ $(':input', el)
+ .val('')
+ .removeAttr('checked')
+ .removeAttr('selected');
+}
+
+function detailScreen(index) {
+ var detail = layer.getChildFrame('#data-detail', index);
+ var height = detail.height()+60;
+ if (height > ($(window).height()*0.9)) {
+ height = ($(window).height()*0.9);
+ }
+ layer.style(index, {
+// top: (($(window).height()-height)/3)+"px",
+ height: height+'px'
+ });
+}
+
+$('body').keydown(function () {
+ if (event.keyCode === 13) {
+ $("#search").click();
+ }
+});
diff --git a/src/main/webapp/static/wms/js/common.js b/src/main/webapp/static/wms/js/common.js
new file mode 100644
index 0000000..fcb5b63
--- /dev/null
+++ b/src/main/webapp/static/wms/js/common.js
@@ -0,0 +1,259 @@
+var baseUrl = "/wcs";
+
+// 璇︽儏绐楀彛-楂樺害
+var detailHeight = '80%';
+// 璇︽儏绐楀彛-瀹藉害
+var detailWidth = '90%';
+
+// 闈炵┖鍒ゆ柇
+function isEmpty(obj){
+ return typeof obj == "undefined" || obj == null || obj === "";
+}
+
+// let loadIndex = layer.msg('璇锋眰涓�...', {icon: 16, shade: 0.01, time: false});
+// layer.close(loadIndex);
+
+// 鏃堕棿 ==>> 瀛楃涓�
+function dateToStr(date, millisecond) {
+ var time = new Date(date);
+ var y = time.getFullYear();
+ var M = time.getMonth() + 1;
+ M = M < 10 ? ("0" + M) : M;
+ var d = time.getDate();
+ d = d < 10 ? ("0" + d) : d;
+ var h = time.getHours();
+ h = h < 10 ? ("0" + h) : h;
+ var m = time.getMinutes();
+ m = m < 10 ? ("0" + m) : m;
+ var s = time.getSeconds();
+ s = s < 10 ? ("0" + s) : s;
+ if (!millisecond) {
+ return y + "-" + M + "-" + d + " " + h + ":" + m + ":" + s;
+ } else {
+ var p = time.getMilliseconds();
+ if (p < 10) {
+ p = "00" + p;
+ }
+ if (p < 100) {
+ p = "0" + p;
+ }
+ return y + "-" + M + "-" + d + " " + h + ":" + m + ":" + s + "," + p;
+ }
+}
+
+// 瀛楃涓� ===>> 鏃堕棿
+function strToDate(str) {
+ var t = Date.parse(str);
+ if (!isNaN(t)) {
+ return new Date(Date.parse(str.replace(/-/g, "/")));
+ } else {
+ return null;
+ }
+}
+
+// 娓呯悊瀵硅薄null鍊�
+function reObject(data) {
+ for (var obj in data) {
+ if (data[obj]===null){
+ delete data[obj];
+ }
+ }
+ return data;
+}
+
+/**
+ * disabled 灞炴�ц浆鎹�
+ */
+function convertDisabled(el, param) {
+ el.each(function () {
+ $(this).attr("disabled", param);
+ });
+}
+
+// 鏉冮檺
+function limit(child){
+ if (child == null){
+ child = false;
+ }
+ var param = (child?parent.window:window).location.href.split("?")[1];
+ if (null != param) {
+ var resourceId = param.split("=")[1];
+ $.ajax({
+ url: baseUrl+"/power/menu/"+resourceId+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ async: false,
+ success: function (res) {
+ if (res.code === 200){
+ for(var i = 0, len = res.data.length; i < len; i++) {
+ (child?parent:window).$('#'+res.data[i].code).css("display", "inline-block");
+ (child?parent:window).$('.'+res.data[i].code).css("display", "inline-block");
+ }
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ });
+ }
+}
+
+
+// http璇锋眰
+!function (n) {
+ "use strict";
+
+ var http = {
+ toAjax: function (params) {
+ $.ajax(params);
+ },
+ get: function (url, data, callback) {
+ http.toAjax({
+ method: 'GET',
+ url: url,
+ data: data,
+ dataType: 'json',
+ header: {'token': localStorage.getItem('token')},
+ timeout: 10000,
+ cache: false,
+ success: function (res) {
+ if (res.code === 200){
+ callback(res);
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg);
+ }
+ },
+ error: function (res, type) {
+
+ }
+ })
+ },
+ // 榛樿琛ㄥ崟
+ post: function (url, param, callback, type) {
+ var headerType;
+ if (type === 'json') {
+ headerType = {'Content-Type': 'application/json'}
+ } else {
+ headerType = {'Content-Type': 'application/x-www-form-urlencoded'}
+ }
+ headerType['token'] = localStorage.getItem('token');
+ http.toAjax({
+ method: 'POST',
+ url: url,
+ data: param,
+ dataType: 'json',
+ headers: headerType,
+ timeout: 10000,
+ cache: false,
+ success: function (res) {
+ if (res.code === 200){
+ callback(res);
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg);
+ }
+ },
+ error: function (res, type) {
+
+ }
+ })
+ },
+ };
+ "function" == typeof define && define.amd ? define(function () {
+ return http
+ }) : "object" == typeof module && module.exports ? module.exports = http : n.http = http
+}(this);
+
+/*************************************************************************************************************/
+/********************************************** 鐗╂枡涓氬姟鎶借薄 ***************************************************/
+/*************************************************************************************************************/
+
+function arrRemove(arr, key, val) {
+ for(var i=arr.length-1; i>=0; i--){
+ if(arr[i][key] === val){
+ arr.splice(i,1);
+ }
+ }
+}
+
+var matCols = [
+ {field: 'matnr', align: 'center',title: '鍟嗗搧缂栧彿', width: 180}
+ // {field: 'id', align: 'center',title: 'ID'}
+ // ,{field: 'uuid', align: 'center',title: '缂栧彿'}
+ // ,{field: 'tagId$', align: 'center',title: '鎵�灞炲綊绫�'}
+ ,{field: 'maktx', align: 'center',title: '鍟嗗搧鍚嶇О', width: 200}
+ // ,{field: 'name', align: 'center',title: '鍒悕'}
+ // ,{field: 'specs', align: 'center',title: '閰嶇疆'}
+ // ,{field: 'model', align: 'center',title: '浠g爜', hide: false}
+ // ,{field: 'color', align: 'center',title: '棰滆壊', hide: true}
+ ,{field: 'brand', align: 'center',title: '鍝佺墝', hide: true}
+ ,{field: 'unit', align: 'center',title: '鍗曚綅', hide: true}
+ // ,{field: 'price', align: 'center',title: '鍗曚环', hide: true}
+ ,{field: 'sku', align: 'center',title: 'sku', hide: true}
+ ,{field: 'units', align: 'center',title: '鍗曚綅閲�', hide: true}
+ // ,{field: 'barcode', align: 'center',title: '鏉$爜', hide: true}
+ ,{field: 'origin', align: 'center',title: '浜у湴', hide: true}
+ ,{field: 'manu', align: 'center',title: '鍘傚', hide: true}
+ ,{field: 'manuDate', align: 'center',title: '鐢熶骇鏃ユ湡', hide: true}
+ ,{field: 'itemNum', align: 'center',title: '鍝侀」鏁�', hide: true}
+ ,{field: 'safeQty', align: 'center',title: '瀹夊叏搴撳瓨閲�', hide: true}
+ ,{field: 'weight', align: 'center',title: '鍑�閲�', hide: false}
+ ,{field: 'length', align: 'center',title: '姣涢噸', hide: false}
+ ,{field: 'volume', align: 'center',title: '浣撶Н', hide: false}
+ ,{field: 'threeCode', align: 'center',title: '灏哄', hide: false}
+ ,{field: 'supp', align: 'center',title: '渚涘簲鍟�', hide: true}
+ ,{field: 'suppCode', align: 'center',title: '渚涘簲鍟嗙紪鐮�', hide: true}
+ ,{field: 'beBatch$', align: 'center',title: '鏄惁鎵规', hide: true}
+ // ,{field: 'deadTime', align: 'center',title: '淇濊川鏈�', hide: true}
+ ,{field: 'deadWarn', align: 'center',title: '棰勮澶╂暟', hide: true}
+ ,{field: 'source$', align: 'center',title: '鍒惰喘', hide: true}
+ ,{field: 'check$', align: 'center',title: '瑕佹眰妫�楠�', hide: true}
+ ,{field: 'danger$', align: 'center',title: '鍗遍櫓鍝�', hide: true}
+ // ,{field: 'status$', align: 'center',title: '鐘舵��'}
+ // ,{field: 'createBy$', align: 'center',title: '娣诲姞浜哄憳'}
+ // ,{field: 'createTime$', align: 'center',title: '娣诲姞鏃堕棿'}
+ ,{field: 'updateBy$', align: 'center',title: '淇敼浜哄憳', hide: true}
+ ,{field: 'updateTime$', align: 'center',title: '淇敼鏃堕棿', hide: true}
+ ,{field: 'memo', align: 'center',title: '澶囨敞', hide: true}
+]
+
+var detlCols = [
+ {field: 'matnr', align: 'center',title: '鍟嗗搧缂栧彿', sort:true}
+ ,{field: 'maktx', align: 'center',title: '鍟嗗搧鍚嶇О', sort:true}
+ // ,{field: 'orderNo', align: 'center',title: '鍗曟嵁缂栧彿', hide: false}
+ ,{field: 'batch', align: 'center',title: '鎵瑰彿', sort:true}
+ ,{field: 'anfme', align: 'center',title: '閲嶉噺锛坘g锛�'}
+ // ,{field: 'zpallet', align: 'center',title: '鎵樼洏鏉$爜'}
+
+ ,{field: 'specs', align: 'center',title: '閰嶇疆'}
+ ,{field: 'model', align: 'center',title: '浠g爜', hide: false}
+ ,{field: 'color', align: 'center',title: '棰滆壊', hide: true}
+ ,{field: 'brand', align: 'center',title: '鍝佺墝', hide: true}
+ ,{field: 'unit', align: 'center',title: '鍗曚綅', hide: true}
+ // ,{field: 'price', align: 'center',title: '鍗曚环', hide: true}
+ ,{field: 'sku', align: 'center',title: 'sku', hide: true}
+ ,{field: 'units', align: 'center',title: '鍗曚綅閲�', hide: true}
+ // ,{field: 'barcode', align: 'center',title: '鏉$爜', hide: true}
+ ,{field: 'origin', align: 'center',title: '浜у湴', hide: true}
+ ,{field: 'manu', align: 'center',title: '鍘傚', hide: true}
+ ,{field: 'manuDate', align: 'center',title: '鐢熶骇鏃ユ湡', hide: true}
+ ,{field: 'itemNum', align: 'center',title: '鍝侀」鏁�', hide: true}
+ ,{field: 'safeQty', align: 'center',title: '瀹夊叏搴撳瓨閲�', hide: true}
+ ,{field: 'weight', align: 'center',title: '鍑�閲�', hide: false}
+ ,{field: 'length', align: 'center',title: '姣涢噸', hide: false}
+ ,{field: 'volume', align: 'center',title: '浣撶Н', hide: false}
+ ,{field: 'threeCode', align: 'center',title: '灏哄', hide: false}
+ ,{field: 'supp', align: 'center',title: '渚涘簲鍟�', hide: true}
+ ,{field: 'suppCode', align: 'center',title: '渚涘簲鍟嗙紪鐮�', hide: true}
+ ,{field: 'beBatch$', align: 'center',title: '鏄惁鎵规', hide: true}
+ ,{field: 'deadTime', align: 'center',title: '淇濊川鏈�', hide: true}
+ ,{field: 'deadWarn', align: 'center',title: '棰勮澶╂暟', hide: true}
+ ,{field: 'source$', align: 'center',title: '鍒惰喘', hide: true}
+ ,{field: 'check$', align: 'center',title: '瑕佹眰妫�楠�', hide: true}
+ ,{field: 'danger$', align: 'center',title: '鍗遍櫓鍝�', hide: true}
+]
+
diff --git a/src/main/webapp/static/js/config/config.js b/src/main/webapp/static/wms/js/config/config.js
similarity index 100%
rename from src/main/webapp/static/js/config/config.js
rename to src/main/webapp/static/wms/js/config/config.js
diff --git a/src/main/webapp/static/wms/js/cool.js b/src/main/webapp/static/wms/js/cool.js
new file mode 100644
index 0000000..d817c09
--- /dev/null
+++ b/src/main/webapp/static/wms/js/cool.js
@@ -0,0 +1,153 @@
+/**
+ * 鎼滅储鑷姩琛ュ叏 -- 灞�澶栫偣鍑婚殣钘�
+ */
+$(function(){
+ $(document).on("click",function(e){
+ if(!$(e.target).parents(".cool-auto-complete").length){
+ $(".cool-auto-complete-window").hide();
+ }
+ });
+});
+
+
+/**
+ * 鎼滅储鑷姩琛ュ叏 -- div
+ */
+function autoShow(id) {
+ var cac = document.getElementById(id).parentNode;
+ var cacw = cac.getElementsByClassName("cool-auto-complete-window")[0];
+ if (cacw.style.display === "none" || cacw.style.display === ""){
+ cacw.style.display = "block";
+ var cacwi = cacw.getElementsByClassName("cool-auto-complete-window-input")[0];
+ cacwi.focus();
+ autoLoad(cacwi.getAttribute('data-key'));
+ }else {
+ cacw.style.display = "none";
+ }
+}
+
+/**
+ * 鎼滅储鑷姩琛ュ叏 -- input
+ */
+function autoLoad(val) {
+ var inputDomVal = document.querySelector("input[data-key="+val+"]").value;
+ var selectDom = document.querySelector("select[data-key="+val+"Select]");
+ selectDom.length = 0;
+ var defaultOption = new Option("鍙栨秷閫夋嫨", "");
+ defaultOption.title = "";
+ selectDom.appendChild(defaultOption);
+ selectDom.style.display='none';
+ $.ajax({
+ url: baseUrl+"/"+getForeignKeyQuery(val)+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {condition: inputDomVal},
+ method: 'POST',
+ traditional:true,
+ success: function (res) {
+ if (res.code === 200){
+ var list = res.data;
+ for (var i=0;i<list.length;i++){
+ var option = new Option(list[i].value, i);
+ option.title = list[i].id;
+ selectDom.options[i+1] = option;
+ }
+ selectDom.style.display='block';
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ });
+}
+
+/**
+ * 鎼滅储鑷姩琛ュ叏 -- select
+ */
+function confirmed(val){
+ var inputDom = $("input[data-key="+val.substring(0,val.length - 6)+"]");
+ var selectDom = $("select[data-key="+val+"]");
+
+ selectDom.dblclick(function(){
+ inputDom.focus();
+ selectDom.css("display","none");
+ });
+
+ // 淇グ瀛楁
+ var cacw = inputDom.parent();
+ cacw.css("display", "none");
+ var cacd = cacw.parent().find(".cool-auto-complete-div");
+ var realDom = cacd.prev();
+ // id瀛楁
+ var selectOptionDom = selectDom.find("option:selected");
+ var html = selectOptionDom.html();
+ if (html === "鍙栨秷閫夋嫨"){
+ cacd.val("");
+ realDom.val("");
+ } else {
+ cacd.val(selectOptionDom.html());
+ realDom.val(selectOptionDom.attr("title"));
+ }
+ inputDom.val("");
+}
+
+function reviewImg(src) {
+ window.open().document.write("<img src="+src+" />");
+}
+
+/**
+ * 鎴彇By涔嬪墠鐨勫瓧绗︿覆
+ */
+function getForeignKeyQuery(str) {
+ var index = str.indexOf('By');
+ if (index !== -1){
+ return str.substring(0, index);
+ }
+ return str;
+}
+
+// 琛ㄥ崟鍊兼竻绌�
+function clearFormVal(el) {
+ $(':input', el)
+ .val('')
+ .removeAttr('checked')
+ .removeAttr('selected');
+}
+
+var banMsg;
+var tips;
+// 涓婚敭鏍¢獙
+function check(id, domain) {
+ var param = {
+ key: id,
+ val: $('#'+id).val()
+ };
+ $.ajax({
+ url: baseUrl+"/"+domain+"/check/column/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200) {
+ layer.close(tips);
+ banMsg = null;
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else if (res.code === 407) {
+ banMsg = res.data + "涓嶅彲鐢�";
+ tips = layer.tips(
+ "<span style='color:red;'>宸插瓨鍦�</span>",
+ '#'+id,
+ {
+ // tipsMore: true,
+ tips: [2,'#fff'],
+ time:0
+ ,area: 'auto'
+ ,maxWidth:500
+ });
+ }
+ }
+ });
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/js/docType/docType.js b/src/main/webapp/static/wms/js/docType/docType.js
new file mode 100644
index 0000000..55a7e40
--- /dev/null
+++ b/src/main/webapp/static/wms/js/docType/docType.js
@@ -0,0 +1,279 @@
+var pageCurr;
+var tableData;
+layui.config({
+ base: baseUrl + "/static/layui/lay/modules/"
+}).use(['table','laydate', 'form', 'admin'], function(){
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+ var admin = layui.admin;
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#docType',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/docType/list/auth',
+ page: true,
+ limit: 15,
+ limits: [15, 30, 50, 100, 200, 500],
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ height: 'full-120',
+ cols: [[
+ {type: 'checkbox'}
+ ,{field: 'docId', align: 'center',title: '绫诲瀷缂栧彿'}
+ ,{field: 'docName', align: 'center',title: '绫诲瀷鍚嶇О'}
+ ,{field: 'pakin', align: 'center',title: '鍏ュ簱', templet: '#pakinTpl', width: 120, unresize: true}
+ ,{field: 'pakout', align: 'center',title: '鍑哄簱', templet: '#pakoutTpl', width: 120, unresize: true}
+ ,{field: 'status$', align: 'center',title: '鐘舵��'}
+ // ,{field: 'createBy$', align: 'center',title: '娣诲姞浜哄憳'}
+ // ,{field: 'createTime$', align: 'center',title: '娣诲姞鏃堕棿'}
+ ,{field: 'updateBy$', align: 'center',title: '淇敼浜哄憳'}
+ ,{field: 'updateTime$', align: 'center',title: '淇敼鏃堕棿'}
+ ,{field: 'memo', align: 'center',title: '澶囨敞', hide: true}
+
+ ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:120}
+ ]],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ tableData = table.cache.docType;
+ pageCurr=curr;
+ limit();
+ }
+ });
+
+ // 鐩戝惉鎺掑簭浜嬩欢
+ table.on('sort(docType)', function (obj) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ searchData['orderByField'] = obj.field;
+ searchData['orderByType'] = obj.type;
+ tableIns.reload({
+ where: searchData,
+ page: {curr: 1}
+ });
+ });
+
+ form.on('switch(pakinSwitch)', function (obj) {
+ let index = obj.othis.parents('tr').attr("data-index");
+ let data = tableData[index];
+ data[this.name] = obj.elem.checked?1:0;
+ http.post(baseUrl+"/docType/update/auth", {docId: data.docId, pakin: data[this.name]}, function (res) {
+ layer.msg(res.msg, {icon: 1});
+ })
+ })
+
+ form.on('switch(pakoutSwitch)', function (obj) {
+ let index = obj.othis.parents('tr').attr("data-index");
+ let data = tableData[index];
+ data[this.name] = obj.elem.checked?1:0;
+ http.post(baseUrl+"/docType/update/auth", {docId: data.docId, pakout: data[this.name]}, function (res) {
+ layer.msg(res.msg, {icon: 1});
+ })
+ })
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(docType)', function (obj) {
+ var checkStatus = table.checkStatus(obj.config.id).data;
+ switch(obj.event) {
+ case 'addData':
+ showEditModel();
+ break;
+ case 'deleteData':
+ if (checkStatus.length === 0) {
+ layer.msg('璇烽�夋嫨瑕佸垹闄ょ殑鏁版嵁', {icon: 2});
+ return;
+ }
+ del(checkStatus.map(function (d) {
+ return d.docId;
+ }));
+ break;
+ case 'exportData':
+ admin.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+ var titles=[];
+ var fields=[];
+ obj.config.cols[0].map(function (col) {
+ if (col.type === 'normal' && col.hide === false && col.toolbar == null) {
+ titles.push(col.title);
+ fields.push(col.field);
+ }
+ });
+ var exportData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ exportData[this.name] = this.value;
+ });
+ var param = {
+ 'docType': exportData,
+ 'fields': fields
+ };
+ $.ajax({
+ url: baseUrl+"/docType/export/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ layer.closeAll();
+ if (res.code === 200) {
+ table.exportFile(titles,res.data,'xls');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg, {icon: 2})
+ }
+ }
+ });
+ });
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(docType)', function(obj){
+ var data = obj.data;
+ switch (obj.event) {
+ case 'edit':
+ showEditModel(data);
+ break;
+ case "del":
+ del([data.docId]);
+ break;
+ }
+ });
+
+ /* 寮圭獥 - 鏂板銆佷慨鏀� */
+ function showEditModel(mData) {
+ admin.open({
+ type: 1,
+ area: '600px',
+ title: (mData ? '淇敼' : '娣诲姞') + '璁㈠崟鐘舵��',
+ content: $('#editDialog').html(),
+ success: function (layero, dIndex) {
+ layDateRender(mData);
+ form.val('detail', mData);
+ form.on('submit(editSubmit)', function (data) {
+ var loadIndex = layer.load(2);
+ $.ajax({
+ url: baseUrl+"/docType/"+(mData?'update':'add')+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: data.field,
+ method: 'POST',
+ success: function (res) {
+ layer.close(loadIndex);
+ if (res.code === 200){
+ layer.close(dIndex);
+ layer.msg(res.msg, {icon: 1});
+ tableReload();
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg, {icon: 2});
+ }
+ }
+ })
+ return false;
+ });
+ $(layero).children('.layui-layer-content').css('overflow', 'visible');
+ layui.form.render('select');
+ }
+ });
+ }
+
+ /* 鍒犻櫎 */
+ function del(ids) {
+ layer.confirm('纭畾瑕佸垹闄ら�変腑鏁版嵁鍚楋紵', {
+ skin: 'layui-layer-admin',
+ shade: .1
+ }, function (i) {
+ layer.close(i);
+ var loadIndex = layer.load(2);
+ $.ajax({
+ url: baseUrl+"/docType/delete/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {ids: ids},
+ method: 'POST',
+ success: function (res) {
+ layer.close(loadIndex);
+ if (res.code === 200){
+ layer.msg(res.msg, {icon: 1});
+ tableReload();
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg, {icon: 2});
+ }
+ }
+ })
+ });
+ }
+
+ // 鎼滅储
+ form.on('submit(search)', function (data) {
+ pageCurr = 1;
+ tableReload(false);
+ });
+
+ // 閲嶇疆
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ tableReload(false);
+ });
+
+ // 鏃堕棿閫夋嫨鍣�
+ function layDateRender(data) {
+ setTimeout(function () {
+ layDate.render({
+ elem: '#createTime\\$',
+ type: 'datetime',
+ value: data!==undefined?data['createTime\\$']:null
+ });
+ layDate.render({
+ elem: '#updateTime\\$',
+ type: 'datetime',
+ value: data!==undefined?data['updateTime\\$']:null
+ });
+
+ }, 300);
+ }
+ layDateRender();
+
+});
+
+// 鍏抽棴鍔ㄤ綔
+$(document).on('click','#data-detail-close', function () {
+ parent.layer.closeAll();
+});
+
+function tableReload(child) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ tableIns.reload({
+ where: searchData,
+ page: {curr: pageCurr}
+ });
+}
diff --git a/src/main/webapp/static/js/echarts/echarts.min.js b/src/main/webapp/static/wms/js/echarts/echarts.min.js
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/js/echarts/echarts.min.js
copy to src/main/webapp/static/wms/js/echarts/echarts.min.js
diff --git a/src/main/webapp/static/js/echarts/highcharts.js b/src/main/webapp/static/wms/js/echarts/highcharts.js
similarity index 100%
copy from src/main/webapp/static/js/echarts/highcharts.js
copy to src/main/webapp/static/wms/js/echarts/highcharts.js
diff --git a/src/main/webapp/static/wms/js/errorWrkMast/errorWrkMast.js b/src/main/webapp/static/wms/js/errorWrkMast/errorWrkMast.js
new file mode 100644
index 0000000..bff82e3
--- /dev/null
+++ b/src/main/webapp/static/wms/js/errorWrkMast/errorWrkMast.js
@@ -0,0 +1,497 @@
+var pageCurr;
+var wrkNo;
+layui.use(['table','laydate', 'form'], function(){
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#wrkMast',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/wrkMast/list/auth',
+ page: true,
+ where: {upd_mk : 'X'},
+ limit: 50,
+ limits: [50, 100, 200, 500],
+ even: true,
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ cols: [[
+ // {type: 'checkbox'}
+ {field: 'wrkNo', align: 'center',title: '宸ヤ綔鍙�',sort: true}
+ ,{field: 'ioTime$', align: 'center',title: '宸ヤ綔鏃堕棿',sort: true, hide:true}
+ ,{field: 'wrkSts$', align: 'center',title: '宸ヤ綔鐘舵��'}
+ ,{field: 'ioType$', align: 'center',title: '鍏ュ嚭搴撶被鍨�'}
+ ,{field: 'crnNo$', align: 'center',title: '鍫嗗灈鏈�', hide:true}
+ ,{field: 'sourceStaNo$', align: 'center',title: '婧愮珯', hide:true}
+ ,{field: 'staNo$', align: 'center',title: '鐩爣绔�', hide:true}
+ ,{field: 'sourceLocNo$', align: 'center',title: '婧愬簱浣�', hide:true}
+ ,{field: 'locNo$', align: 'center',title: '鐩爣搴撲綅', hide:true}
+ ,{field: 'barcode', align: 'center',title: '鏉$爜', hide:true}
+ ,{field: 'updMk', align: 'center',title: '寮傚父鏍囪'}
+ ,{field: 'errorTime$', align: 'center',title: '寮傚父璁板綍鏃堕棿'}
+ ,{field: 'errorMemo', align: 'center',title: '寮傚父鍐呭'}
+ ,{field: 'modiUser$', align: 'center',title: '淇敼浜哄憳', hide:true}
+ ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿', hide:true}
+ ]],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+
+ // 姣忕鍒锋柊
+ setInterval(function () {
+ if ($(".layui-laypage-btn").length > 0) {
+ $(".layui-laypage-btn")[0].click();
+ }
+ }, 1000);
+
+ // 鐩戝惉鎺掑簭浜嬩欢
+ table.on('sort(wrkMast)', function (obj) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ searchData['orderByField'] = obj.field;
+ searchData['orderByType'] = obj.type;
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: 1
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(wrkMast)', function (obj) {
+ var checkStatus = table.checkStatus(obj.config.id);
+ switch(obj.event) {
+ case 'exportData':
+ layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+ var titles=[];
+ var fields=[];
+ obj.config.cols[0].map(function (col) {
+ if (col.type === 'normal' && col.hide === false && col.toolbar == null) {
+ titles.push(col.title);
+ fields.push(col.field);
+ }
+ });
+ var exportData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ exportData[this.name] = this.value;
+ });
+ var param = {
+ 'wrkMast': exportData,
+ 'fields': fields
+ };
+ $.ajax({
+ url: baseUrl+"/wrkMast/export/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ layer.closeAll();
+ if (res.code === 200) {
+ table.exportFile(titles,res.data,'xls');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ });
+ });
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(wrkMast)', function(obj){
+ var data = obj.data;
+ switch (obj.event) {
+ // 鏄庣粏灞曠ず todo
+ case 'detlShow':
+ wrkNo = data.wrkNo;
+ // 琛ㄦ牸涓嬫柟鏄剧ず
+ // locDetl(data.wrkNo);
+ // 寮瑰眰鏄剧ず
+ layer.open({
+ type: 2,
+ title: '宸ヤ綔妗f槑缁�',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: true,
+ content: 'wrkDetl.html',
+ success: function(layero, index){
+ }
+ });
+ break;
+ }
+ });
+
+ // 鏁版嵁淇濆瓨鍔ㄤ綔
+ form.on('submit(save)', function () {
+ if (banMsg != null){
+ layer.msg(banMsg);
+ return;
+ }
+ method("add");
+ });
+
+ // 鏁版嵁淇敼鍔ㄤ綔
+ form.on('submit(edit)', function () {
+ method("update")
+ });
+
+ function method(name){
+ var index = layer.load(1, {
+ shade: [0.5,'#000'] //0.1閫忔槑搴︾殑鑳屾櫙
+ });
+ var data = {
+ wrkNo: $('#wrkNo').val(),
+ invWh: $('#invWh').val(),
+ ymd: top.strToDate($('#ymd\\$').val()),
+ mk: $('#mk').val(),
+ whsType: $('#whsType').val(),
+ wrkSts: $('#wrkSts').val(),
+ ioType: $('#ioType').val(),
+ crnNo: $('#crnNo').val(),
+ sheetNo: $('#sheetNo').val(),
+ ioPri: $('#ioPri').val(),
+ wrkDate: top.strToDate($('#wrkDate\\$').val()),
+ locNo: $('#locNo').val(),
+ staNo: $('#staNo').val(),
+ sourceStaNo: $('#sourceStaNo').val(),
+ sourceLocNo: $('#sourceLocNo').val(),
+ locSts: $('#locSts').val(),
+ picking: $('#picking').val(),
+ linkMis: $('#linkMis').val(),
+ onlineYn: $('#onlineYn').val(),
+ updMk: $('#updMk').val(),
+ exitMk: $('#exitMk').val(),
+ pltType: $('#pltType').val(),
+ emptyMk: $('#emptyMk').val(),
+ ioTime: top.strToDate($('#ioTime\\$').val()),
+ ctnType: $('#ctnType').val(),
+ packed: $('#packed').val(),
+ oveMk: $('#oveMk').val(),
+ mtnType: $('#mtnType').val(),
+ userNo: $('#userNo').val(),
+ crnStrTime: top.strToDate($('#crnStrTime\\$').val()),
+ crnEndTime: top.strToDate($('#crnEndTime\\$').val()),
+ plcStrTime: top.strToDate($('#plcStrTime\\$').val()),
+ crnPosTime: top.strToDate($('#crnPosTime\\$').val()),
+ loadTime: $('#loadTime').val(),
+ expTime: $('#expTime').val(),
+ refWrkno: $('#refWrkno').val(),
+ refIotime: top.strToDate($('#refIotime\\$').val()),
+ modiUser: $('#modiUser').val(),
+ modiTime: top.strToDate($('#modiTime\\$').val()),
+ appeUser: $('#appeUser').val(),
+ appeTime: top.strToDate($('#appeTime\\$').val()),
+ pauseMk: $('#pauseMk').val(),
+ errorTime: top.strToDate($('#errorTime\\$').val()),
+ errorMemo: $('#errorMemo').val(),
+ ctnKind: $('#ctnKind').val(),
+ manuType: $('#manuType').val(),
+ memo: $('#memo').val(),
+ scWeight: $('#scWeight').val(),
+ logMk: $('#logMk').val(),
+ logErrTime: top.strToDate($('#logErrTime\\$').val()),
+ logErrMemo: $('#logErrMemo').val(),
+ barcode: $('#barcode').val(),
+ PdcType: $('#PdcType').val(),
+ ctnNo: $('#ctnNo').val(),
+ fullPlt: $('#fullPlt').val(),
+
+ };
+ $.ajax({
+ url: baseUrl+"/wrkMast/"+name+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: top.reObject(data),
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ parent.layer.closeAll();
+ parent.$(".layui-laypage-btn")[0].click();
+ $("#data-detail :input").each(function () {
+ $(this).val("");
+ });
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ layer.close(index);
+ }
+ })
+ }
+
+ // 澶嶉�夋浜嬩欢
+ form.on('checkbox(detailCheckbox)', function (data) {
+ var el = data.elem;
+ if (el.checked) {
+ $(el).val('Y');
+ } else {
+ $(el).val('N');
+ }
+ });
+
+ // 鎼滅储鏍忔悳绱簨浠�
+ form.on('submit(search)', function (data) {
+ pageCurr = 1;
+ $('#detlTable').css("display", 'none');
+ tableReload(false);
+ });
+
+ // 鎼滅储鏍忛噸缃簨浠�
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ $('#detlTable').css("display", 'none');
+ tableReload(false);
+ });
+
+ // 鏃堕棿閫夋嫨鍣�
+ layDate.render({
+ elem: '#ymd\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#wrkDate\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#ioTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#crnStrTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#crnEndTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#plcStrTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#crnPosTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#refIotime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#modiTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#appeTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#errorTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#logErrTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '.layui-laydate-range'
+ ,type: 'datetime'
+ ,range: true
+ });
+
+ var pageCur;
+ function locDetl(param){
+ $('#detlTable').css("display", 'block');
+ // 鏁版嵁娓叉煋
+ $('#wrkNo').val(param);
+ // 鏁版嵁娓叉煋
+ tableIns1 = table.render({
+ elem: '#wrkDetlByMap',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/wrkDetl/list/auth',
+ where: {wrk_no: param},
+ page: true,
+ limit: 16,
+ limits: [16, 30, 50, 100, 200, 500],
+ even: true,
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ cols: [[
+ {type: 'checkbox'}
+ ,{field: 'wrkNo', align: 'center',title: '宸ヤ綔鍙�'}
+ ,{field: 'ioTime$', align: 'center',title: '宸ヤ綔鏃堕棿'}
+ ,{field: 'matnr', align: 'center',title: '鐗╂枡'}
+ ,{field: 'lgnum', align: 'center',title: '浠撳簱鍙�'}
+ ,{field: 'tbnum', align: 'center',title: '杞偍璇锋眰缂栧彿'}
+ ,{field: 'tbpos', align: 'center',title: '琛岄」鐩�'}
+ ,{field: 'zmatid', align: 'center',title: '鐗╂枡鏍囩ID'}
+ ,{field: 'maktx', align: 'center',title: '鐗╂枡鎻忚堪'}
+ ,{field: 'werks', align: 'center',title: '宸ュ巶'}
+ ,{field: 'anfme', align: 'center',title: '鏁伴噺'}
+ ,{field: 'altme', align: 'center',title: '鍗曚綅'}
+ ,{field: 'zpallet', align: 'center',title: '鎵樼洏鏉$爜'}
+ ,{field: 'bname', align: 'center',title: '鐢ㄦ埛ID'}
+ ,{field: 'memo', align: 'center',title: '澶囨敞'}
+
+ ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:50}
+ ]],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCur=curr;
+ form.on('checkbox(tableCheckbox)', function (data) {
+ var _index = $(data.elem).attr('table-index')||0;
+ if(data.elem.checked){
+ res.data[_index][data.value] = 'Y';
+ }else{
+ res.data[_index][data.value] = 'N';
+ }
+ });
+ }
+ });
+ }
+
+});
+
+// 鍏抽棴鍔ㄤ綔
+$(document).on('click','#data-detail-close', function () {
+ parent.layer.closeAll();
+});
+
+function tableReload(child) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ (child ? parent.tableIns : tableIns).reload({
+ where: searchData,
+ page: {
+ curr: pageCurr
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ if (res.data.length === 0 && count !== 0) {
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: pageCurr-1
+ }
+ });
+ pageCurr -= 1;
+ }
+ limit(child);
+ }
+ });
+}
+
+function setFormVal(el, data, showImg) {
+ for (var val in data) {
+ var find = el.find(":input[id='" + val + "']");
+ if (find[0]!=null){
+ if (find[0].type === 'checkbox'){
+ if (data[val]==='Y'){
+ find.attr("checked","checked");
+ find.val('Y');
+ } else {
+ find.remove("checked");
+ find.val('N');
+ }
+ continue;
+ }
+ }
+ find.val(data[val]);
+ if (showImg){
+ var next = find.next();
+ if (next.get(0)){
+ if (next.get(0).localName === "img") {
+ find.hide();
+ next.attr("src", data[val]);
+ next.show();
+ }
+ }
+ }
+ }
+}
+
+function clearFormVal(el) {
+ $(':input', el)
+ .val('')
+ .removeAttr('checked')
+ .removeAttr('selected');
+}
+
+function detailScreen(index) {
+ var detail = layer.getChildFrame('#data-detail', index);
+ var height = detail.height()+60;
+ if (height > ($(window).height()*0.9)) {
+ height = ($(window).height()*0.8);
+ }
+ layer.style(index, {
+// top: (($(window).height()-height)/3)+"px",
+ height: height+'px'
+ });
+}
+
+$('body').keydown(function () {
+ if (event.keyCode === 13) {
+ $("#search").click();
+ }
+});
diff --git a/src/main/webapp/static/wms/js/handWrkMast/handWrkMast.js b/src/main/webapp/static/wms/js/handWrkMast/handWrkMast.js
new file mode 100644
index 0000000..686640d
--- /dev/null
+++ b/src/main/webapp/static/wms/js/handWrkMast/handWrkMast.js
@@ -0,0 +1,493 @@
+var pageCurr;
+var wrkNo;
+layui.use(['table','laydate', 'form'], function(){
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#wrkMast',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/wrkMastLog/list/auth',
+ page: true,
+ where: {manu_type : '鎵嬪姩'},
+ limit: 50,
+ limits: [50, 100, 200, 500],
+ even: true,
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ cols: [[
+ // {type: 'checkbox'}
+ {field: 'wrkNo', align: 'center',title: '宸ヤ綔鍙�',sort: true}
+ ,{field: 'ioTime$', align: 'center',title: '宸ヤ綔鏃堕棿',sort: true, hide:true}
+ ,{field: 'wrkSts$', align: 'center',title: '宸ヤ綔鐘舵��'}
+ ,{field: 'ioType$', align: 'center',title: '鍏ュ嚭搴撶被鍨�'}
+ ,{field: 'crnNo$', align: 'center',title: '鍫嗗灈鏈�', hide:true}
+ ,{field: 'sourceStaNo$', align: 'center',title: '婧愮珯', hide:true}
+ ,{field: 'staNo$', align: 'center',title: '鐩爣绔�', hide:true}
+ ,{field: 'sourceLocNo$', align: 'center',title: '婧愬簱浣�', hide:true}
+ ,{field: 'locNo$', align: 'center',title: '鐩爣搴撲綅', hide:true}
+ ,{field: 'barcode', align: 'center',title: '鏉$爜', hide:true}
+
+ ,{field: 'manuType', align: 'center',title: '澶勭悊鏂瑰紡'}
+
+ ,{field: 'modiUser$', align: 'center',title: '鎿嶄綔浜哄憳'}
+ ,{field: 'modiTime$', align: 'center',title: '鎿嶄綔鏃堕棿'}
+
+ ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:100}
+ ]],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+
+
+ // 鐩戝惉鎺掑簭浜嬩欢
+ table.on('sort(wrkMast)', function (obj) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ searchData['orderByField'] = obj.field;
+ searchData['orderByType'] = obj.type;
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: 1
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(wrkMast)', function (obj) {
+ var checkStatus = table.checkStatus(obj.config.id);
+ switch(obj.event) {
+ case 'exportData':
+ layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+ var titles=[];
+ var fields=[];
+ obj.config.cols[0].map(function (col) {
+ if (col.type === 'normal' && col.hide === false && col.toolbar == null) {
+ titles.push(col.title);
+ fields.push(col.field);
+ }
+ });
+ var exportData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ exportData[this.name] = this.value;
+ });
+ var param = {
+ 'wrkMast': exportData,
+ 'fields': fields
+ };
+ $.ajax({
+ url: baseUrl+"/wrkMast/export/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ layer.closeAll();
+ if (res.code === 200) {
+ table.exportFile(titles,res.data,'xls');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ });
+ });
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(wrkMast)', function(obj){
+ var data = obj.data;
+ switch (obj.event) {
+ // 鏄庣粏灞曠ず todo
+ case 'detlShow':
+ wrkNo = data.wrkNo;
+ // 琛ㄦ牸涓嬫柟鏄剧ず
+ // locDetl(data.wrkNo);
+ // 寮瑰眰鏄剧ず
+ layer.open({
+ type: 2,
+ title: '宸ヤ綔妗f槑缁�',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: true,
+ content: 'wrkDetlLog.html',
+ success: function(layero, index){
+ }
+ });
+ break;
+ }
+ });
+
+ // 鏁版嵁淇濆瓨鍔ㄤ綔
+ form.on('submit(save)', function () {
+ if (banMsg != null){
+ layer.msg(banMsg);
+ return;
+ }
+ method("add");
+ });
+
+ // 鏁版嵁淇敼鍔ㄤ綔
+ form.on('submit(edit)', function () {
+ method("update")
+ });
+
+ function method(name){
+ var index = layer.load(1, {
+ shade: [0.5,'#000'] //0.1閫忔槑搴︾殑鑳屾櫙
+ });
+ var data = {
+ wrkNo: $('#wrkNo').val(),
+ invWh: $('#invWh').val(),
+ ymd: top.strToDate($('#ymd\\$').val()),
+ mk: $('#mk').val(),
+ whsType: $('#whsType').val(),
+ wrkSts: $('#wrkSts').val(),
+ ioType: $('#ioType').val(),
+ crnNo: $('#crnNo').val(),
+ sheetNo: $('#sheetNo').val(),
+ ioPri: $('#ioPri').val(),
+ wrkDate: top.strToDate($('#wrkDate\\$').val()),
+ locNo: $('#locNo').val(),
+ staNo: $('#staNo').val(),
+ sourceStaNo: $('#sourceStaNo').val(),
+ sourceLocNo: $('#sourceLocNo').val(),
+ locSts: $('#locSts').val(),
+ picking: $('#picking').val(),
+ linkMis: $('#linkMis').val(),
+ onlineYn: $('#onlineYn').val(),
+ updMk: $('#updMk').val(),
+ exitMk: $('#exitMk').val(),
+ pltType: $('#pltType').val(),
+ emptyMk: $('#emptyMk').val(),
+ ioTime: top.strToDate($('#ioTime\\$').val()),
+ ctnType: $('#ctnType').val(),
+ packed: $('#packed').val(),
+ oveMk: $('#oveMk').val(),
+ mtnType: $('#mtnType').val(),
+ userNo: $('#userNo').val(),
+ crnStrTime: top.strToDate($('#crnStrTime\\$').val()),
+ crnEndTime: top.strToDate($('#crnEndTime\\$').val()),
+ plcStrTime: top.strToDate($('#plcStrTime\\$').val()),
+ crnPosTime: top.strToDate($('#crnPosTime\\$').val()),
+ loadTime: $('#loadTime').val(),
+ expTime: $('#expTime').val(),
+ refWrkno: $('#refWrkno').val(),
+ refIotime: top.strToDate($('#refIotime\\$').val()),
+ modiUser: $('#modiUser').val(),
+ modiTime: top.strToDate($('#modiTime\\$').val()),
+ appeUser: $('#appeUser').val(),
+ appeTime: top.strToDate($('#appeTime\\$').val()),
+ pauseMk: $('#pauseMk').val(),
+ errorTime: top.strToDate($('#errorTime\\$').val()),
+ errorMemo: $('#errorMemo').val(),
+ ctnKind: $('#ctnKind').val(),
+ manuType: $('#manuType').val(),
+ memo: $('#memo').val(),
+ scWeight: $('#scWeight').val(),
+ logMk: $('#logMk').val(),
+ logErrTime: top.strToDate($('#logErrTime\\$').val()),
+ logErrMemo: $('#logErrMemo').val(),
+ barcode: $('#barcode').val(),
+ PdcType: $('#PdcType').val(),
+ ctnNo: $('#ctnNo').val(),
+ fullPlt: $('#fullPlt').val(),
+
+ };
+ $.ajax({
+ url: baseUrl+"/wrkMast/"+name+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: top.reObject(data),
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ parent.layer.closeAll();
+ parent.$(".layui-laypage-btn")[0].click();
+ $("#data-detail :input").each(function () {
+ $(this).val("");
+ });
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ layer.close(index);
+ }
+ })
+ }
+
+ // 澶嶉�夋浜嬩欢
+ form.on('checkbox(detailCheckbox)', function (data) {
+ var el = data.elem;
+ if (el.checked) {
+ $(el).val('Y');
+ } else {
+ $(el).val('N');
+ }
+ });
+
+ // 鎼滅储鏍忔悳绱簨浠�
+ form.on('submit(search)', function (data) {
+ pageCurr = 1;
+ $('#detlTable').css("display", 'none');
+ tableReload(false);
+ });
+
+ // 鎼滅储鏍忛噸缃簨浠�
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ $('#detlTable').css("display", 'none');
+ tableReload(false);
+ });
+
+ // 鏃堕棿閫夋嫨鍣�
+ layDate.render({
+ elem: '#ymd\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#wrkDate\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#ioTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#crnStrTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#crnEndTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#plcStrTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#crnPosTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#refIotime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#modiTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#appeTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#errorTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#logErrTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '.layui-laydate-range'
+ ,type: 'datetime'
+ ,range: true
+ });
+
+ var pageCur;
+ function locDetl(param){
+ $('#detlTable').css("display", 'block');
+ // 鏁版嵁娓叉煋
+ $('#wrkNo').val(param);
+ // 鏁版嵁娓叉煋
+ tableIns1 = table.render({
+ elem: '#wrkDetlByMap',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/wrkDetl/list/auth',
+ where: {wrk_no: param},
+ page: true,
+ limit: 16,
+ limits: [16, 30, 50, 100, 200, 500],
+ even: true,
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ cols: [[
+ {type: 'checkbox'}
+ ,{field: 'wrkNo', align: 'center',title: '宸ヤ綔鍙�'}
+ ,{field: 'ioTime$', align: 'center',title: '宸ヤ綔鏃堕棿'}
+ ,{field: 'matnr', align: 'center',title: '鐗╂枡'}
+ ,{field: 'lgnum', align: 'center',title: '浠撳簱鍙�'}
+ ,{field: 'tbnum', align: 'center',title: '杞偍璇锋眰缂栧彿'}
+ ,{field: 'tbpos', align: 'center',title: '琛岄」鐩�'}
+ ,{field: 'zmatid', align: 'center',title: '鐗╂枡鏍囩ID'}
+ ,{field: 'maktx', align: 'center',title: '鐗╂枡鎻忚堪'}
+ ,{field: 'werks', align: 'center',title: '宸ュ巶'}
+ ,{field: 'anfme', align: 'center',title: '鏁伴噺'}
+ ,{field: 'altme', align: 'center',title: '鍗曚綅'}
+ ,{field: 'zpallet', align: 'center',title: '鎵樼洏鏉$爜'}
+ ,{field: 'bname', align: 'center',title: '鐢ㄦ埛ID'}
+ ,{field: 'memo', align: 'center',title: '澶囨敞'}
+
+ ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:50}
+ ]],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCur=curr;
+ form.on('checkbox(tableCheckbox)', function (data) {
+ var _index = $(data.elem).attr('table-index')||0;
+ if(data.elem.checked){
+ res.data[_index][data.value] = 'Y';
+ }else{
+ res.data[_index][data.value] = 'N';
+ }
+ });
+ }
+ });
+ }
+
+});
+
+// 鍏抽棴鍔ㄤ綔
+$(document).on('click','#data-detail-close', function () {
+ parent.layer.closeAll();
+});
+
+function tableReload(child) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ (child ? parent.tableIns : tableIns).reload({
+ where: searchData,
+ page: {
+ curr: pageCurr
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ if (res.data.length === 0 && count !== 0) {
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: pageCurr-1
+ }
+ });
+ pageCurr -= 1;
+ }
+ limit(child);
+ }
+ });
+}
+
+function setFormVal(el, data, showImg) {
+ for (var val in data) {
+ var find = el.find(":input[id='" + val + "']");
+ if (find[0]!=null){
+ if (find[0].type === 'checkbox'){
+ if (data[val]==='Y'){
+ find.attr("checked","checked");
+ find.val('Y');
+ } else {
+ find.remove("checked");
+ find.val('N');
+ }
+ continue;
+ }
+ }
+ find.val(data[val]);
+ if (showImg){
+ var next = find.next();
+ if (next.get(0)){
+ if (next.get(0).localName === "img") {
+ find.hide();
+ next.attr("src", data[val]);
+ next.show();
+ }
+ }
+ }
+ }
+}
+
+function clearFormVal(el) {
+ $(':input', el)
+ .val('')
+ .removeAttr('checked')
+ .removeAttr('selected');
+}
+
+function detailScreen(index) {
+ var detail = layer.getChildFrame('#data-detail', index);
+ var height = detail.height()+60;
+ if (height > ($(window).height()*0.9)) {
+ height = ($(window).height()*0.8);
+ }
+ layer.style(index, {
+// top: (($(window).height()-height)/3)+"px",
+ height: height+'px'
+ });
+}
+
+$('body').keydown(function () {
+ if (event.keyCode === 13) {
+ $("#search").click();
+ }
+});
diff --git a/src/main/webapp/static/js/handlebars/handlebars-v4.5.3.js b/src/main/webapp/static/wms/js/handlebars/handlebars-v4.5.3.js
similarity index 100%
copy from src/main/webapp/static/js/handlebars/handlebars-v4.5.3.js
copy to src/main/webapp/static/wms/js/handlebars/handlebars-v4.5.3.js
diff --git a/src/main/webapp/static/wms/js/host/host.js b/src/main/webapp/static/wms/js/host/host.js
new file mode 100644
index 0000000..6591e45
--- /dev/null
+++ b/src/main/webapp/static/wms/js/host/host.js
@@ -0,0 +1,353 @@
+var pageCurr;
+layui.use(['table','laydate', 'form'], function(){
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#host',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/host/list/auth',
+ page: true,
+ limit: 16,
+ limits: [16, 30, 50, 100, 200, 500],
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ cols: [[
+ {type: 'checkbox', fixed: 'left'}
+ ,{field: 'id', title: 'ID', sort: true,align: 'center', fixed: 'left', width: 80}
+ ,{field: 'name', align: 'center',title: '鍟嗘埛鍚嶇О'}
+ ,{field: 'flag', align: 'center',title: '鏍囪瘑'}
+ ,{field: 'createTime$', align: 'center',title: '娣诲姞鏃堕棿'}
+ ,{field: 'updateTime$', align: 'center',title: '淇敼鏃堕棿'}
+ ,{field: 'status$', align: 'center',title: '鐘舵��'}
+
+ ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:150}
+ ]],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+
+ // 鐩戝惉鎺掑簭浜嬩欢
+ table.on('sort(host)', function (obj) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ searchData['orderByField'] = obj.field;
+ searchData['orderByType'] = obj.type;
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: 1
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(host)', function (obj) {
+ var checkStatus = table.checkStatus(obj.config.id);
+ switch(obj.event) {
+ case 'addData':
+ layer.open({
+ type: 2,
+ title: '鏂板',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: 'host_detail.html',
+ success: function(layero, index){
+ clearFormVal(layer.getChildFrame('#detail', index));
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ }
+ });
+ break;
+ case 'refreshData':
+ tableIns.reload({
+ page: {
+ curr: pageCurr
+ }
+ });
+ limit();
+ break;
+ case 'deleteData':
+ var data = checkStatus.data;
+ var ids=[];
+ data.map(function (track) {
+ ids.push(track.id);
+ });
+ if (ids.length === 0){
+ layer.msg('璇烽�夋嫨鏁版嵁');
+ } else {
+ layer.confirm('纭畾鍒犻櫎'+(ids.length===1?'姝�':ids.length)+'鏉℃暟鎹悧', function(){
+ $.ajax({
+ url: baseUrl+"/host/delete/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {ids: ids},
+ method: 'POST',
+ traditional:true,
+ success: function (res) {
+ if (res.code === 200){
+ layer.closeAll();
+ tableReload(false);
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ });
+ }
+ break;
+ case 'exportData':
+ layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+ var titles=[];
+ var fields=[];
+ obj.config.cols[0].map(function (col) {
+ if (col.type === 'normal' && col.hide === false && col.toolbar == null) {
+ titles.push(col.title);
+ fields.push(col.field);
+ }
+ });
+ var exportData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ exportData[this.name] = this.value;
+ });
+ var param = {
+ 'host': exportData,
+ 'fields': fields
+ };
+ $.ajax({
+ url: baseUrl+"/host/export/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ layer.closeAll();
+ if (res.code === 200) {
+ table.exportFile(titles,res.data,'xls');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ });
+ });
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(host)', function(obj){
+ var data = obj.data;
+ switch (obj.event) {
+ // 璇︽儏
+ case 'detail':
+ layer.open({
+ type: 2,
+ title: '璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: 'host_detail.html',
+ success: function(layero, index){
+ setFormVal(layer.getChildFrame('#detail', index), data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ }
+ });
+ break;
+ // 缂栬緫
+ case 'edit':
+ layer.open({
+ type: 2,
+ title: '淇敼',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: 'host_detail.html',
+ success: function(layero, index){
+ setFormVal(layer.getChildFrame('#detail', index), data, false);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), false);
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ }
+ });
+ break;
+
+ }
+ });
+
+ // 鏁版嵁淇敼鍔ㄤ綔
+ form.on('submit(edit)', function () {
+ var index = layer.load(1, {
+ shade: [0.5,'#000'] //0.1閫忔槑搴︾殑鑳屾櫙
+ });
+ var data = {
+ id: $('#id').val(),
+ name: $('#name').val(),
+ flag: $('#flag').val(),
+ createTime: top.strToDate($('#createTime\\$').val()),
+ updateTime: top.strToDate($('#updateTime\\$').val()),
+ status: $('#status').val(),
+
+ };
+ $.ajax({
+ url: baseUrl+"/host/edit/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: top.reObject(data),
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ parent.layer.closeAll();
+ tableReload(true);
+ $("#data-detail :input").each(function () {
+ $(this).val("");
+ });
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ layer.close(index);
+ }
+ })
+ });
+
+ // 鎼滅储鏍忔悳绱簨浠�
+ form.on('submit(search)', function (data) {
+ pageCurr = 1;
+ tableReload(false);
+ });
+
+ // 鎼滅储鏍忛噸缃簨浠�
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ tableReload(false);
+ });
+
+ // 鏃堕棿閫夋嫨鍣�
+ layDate.render({
+ elem: '#createTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#updateTime\\$',
+ type: 'datetime'
+ });
+
+});
+
+// 鍏抽棴鍔ㄤ綔
+$(document).on('click','#data-detail-close', function () {
+ parent.layer.closeAll();
+});
+
+function tableReload(child) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ (child ? parent.tableIns : tableIns).reload({
+ where: searchData,
+ page: {
+ curr: pageCurr
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ if (res.data.length === 0 && count !== 0) {
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: pageCurr-1
+ }
+ });
+ pageCurr -= 1;
+ }
+ limit(child);
+ }
+ });
+}
+
+function setFormVal(el, data, showImg) {
+ for (var val in data) {
+ var find = el.find(":input[id='" + val + "']");
+ find.val(data[val]);
+ if (showImg){
+ var next = find.next();
+ if (next.get(0)){
+ if (next.get(0).localName === "img") {
+ find.hide();
+ next.attr("src", data[val]);
+ next.show();
+ }
+ }
+ }
+ }
+}
+
+function clearFormVal(el) {
+ $(':input', el)
+ .val('')
+ .removeAttr('checked')
+ .removeAttr('selected');
+}
+
+function detailScreen(index) {
+ var detail = layer.getChildFrame('#data-detail', index);
+ var height = detail.height()+60;
+ if (height > ($(window).height()*0.9)) {
+ height = ($(window).height()*0.9);
+ }
+ layer.style(index, {
+ top: (($(window).height()-height)/3)+"px",
+ height: height+'px'
+ });
+ $(".layui-layer-shade").remove();
+}
+
+$('body').keydown(function () {
+ if (event.keyCode === 13) {
+ $("#search").click();
+ }
+});
diff --git a/src/main/webapp/static/wms/js/jquery/jQuery.print.js b/src/main/webapp/static/wms/js/jquery/jQuery.print.js
new file mode 100644
index 0000000..de758f7
--- /dev/null
+++ b/src/main/webapp/static/wms/js/jquery/jQuery.print.js
@@ -0,0 +1,279 @@
+/* @license
+ * jQuery.print, version 1.6.0
+ * (c) Sathvik Ponangi, Doers' Guild
+ * Licence: CC-By (http://creativecommons.org/licenses/by/3.0/)
+ *--------------------------------------------------------------------------*/
+(function ($) {
+ "use strict";
+ // A nice closure for our definitions
+
+ function jQueryCloneWithSelectAndTextAreaValues(elmToClone, withDataAndEvents, deepWithDataAndEvents) {
+ // Replacement jQuery clone that also clones the values in selects and textareas as jQuery doesn't for performance reasons - https://stackoverflow.com/questions/742810/clone-isnt-cloning-select-values
+ // Based on https://github.com/spencertipping/jquery.fix.clone
+ var $elmToClone = $(elmToClone),
+ $result = $elmToClone.clone(withDataAndEvents, deepWithDataAndEvents),
+ $myTextareas = $elmToClone.find('textarea').add($elmToClone.filter('textarea')),
+ $resultTextareas = $result.find('textarea').add($result.filter('textarea')),
+ $mySelects = $elmToClone.find('select').add($elmToClone.filter('select')),
+ $resultSelects = $result.find('select').add($result.filter('select')),
+ i, l, j, m;
+
+ for (i = 0, l = $myTextareas.length; i < l; ++i) {
+ $($resultTextareas[i]).val($($myTextareas[i]).val());
+ }
+ for (i = 0, l = $mySelects.length; i < l; ++i) {
+ for (j = 0, m = $mySelects[i].options.length; j < m; ++j) {
+ if ($mySelects[i].options[j].selected === true) {
+ $resultSelects[i].options[j].selected = true;
+ }
+ }
+ }
+ return $result;
+ }
+
+ function getjQueryObject(string) {
+ // Make string a vaild jQuery thing
+ var jqObj = $("");
+ try {
+ jqObj = jQueryCloneWithSelectAndTextAreaValues(string);
+ } catch (e) {
+ jqObj = $("<span />")
+ .html(string);
+ }
+ return jqObj;
+ }
+
+ function printFrame(frameWindow, content, options) {
+ // Print the selected window/iframe
+ var def = $.Deferred();
+ try {
+ frameWindow = frameWindow.contentWindow || frameWindow.contentDocument || frameWindow;
+ var wdoc = frameWindow.document || frameWindow.contentDocument || frameWindow;
+ if(options.doctype) {
+ wdoc.write(options.doctype);
+ }
+ wdoc.write(content);
+ wdoc.close();
+ var printed = false,
+ callPrint = function () {
+ if(printed) {
+ return;
+ }
+ // Fix for IE : Allow it to render the iframe
+ frameWindow.focus();
+ try {
+ // Fix for IE11 - printng the whole page instead of the iframe content
+ if (!frameWindow.document.execCommand('print', false, null)) {
+ // document.execCommand returns false if it failed -http://stackoverflow.com/a/21336448/937891
+ frameWindow.print();
+ }
+ // focus body as it is losing focus in iPad and content not getting printed
+ $('body').focus();
+ } catch (e) {
+ frameWindow.print();
+ }
+ frameWindow.close();
+ printed = true;
+ def.resolve();
+ };
+ // Print once the frame window loads - seems to work for the new-window option but unreliable for the iframe
+ $(frameWindow).on("load", callPrint);
+ // Fallback to printing directly if the frame doesn't fire the load event for whatever reason
+ setTimeout(callPrint, options.timeout);
+ } catch (err) {
+ def.reject(err);
+ }
+ return def;
+ }
+
+ function printContentInIFrame(content, options) {
+ var $iframe = $(options.iframe + "");
+ var iframeCount = $iframe.length;
+ if (iframeCount === 0) {
+ // Create a new iFrame if none is given
+ $iframe = $('<iframe height="0" width="0" border="0" wmode="Opaque"/>')
+ .prependTo('body')
+ .css({
+ "position": "absolute",
+ "top": -999,
+ "left": -999
+ });
+ }
+ var frameWindow = $iframe.get(0);
+ return printFrame(frameWindow, content, options)
+ .done(function () {
+ // Success
+ setTimeout(function () {
+ // Wait for IE
+ if (iframeCount === 0) {
+ // Destroy the iframe if created here
+ $iframe.remove();
+ }
+ }, 1000);
+ })
+ .fail(function (err) {
+ // Use the pop-up method if iframe fails for some reason
+ console.error("Failed to print from iframe", err);
+ printContentInNewWindow(content, options);
+ })
+ .always(function () {
+ try {
+ options.deferred.resolve();
+ } catch (err) {
+ console.warn('Error notifying deferred', err);
+ }
+ });
+ }
+
+ function printContentInNewWindow(content, options) {
+ // Open a new window and print selected content
+ var frameWindow = window.open();
+ return printFrame(frameWindow, content, options)
+ .always(function () {
+ try {
+ options.deferred.resolve();
+ } catch (err) {
+ console.warn('Error notifying deferred', err);
+ }
+ });
+ }
+
+ function isNode(o) {
+ /* http://stackoverflow.com/a/384380/937891 */
+ return !!(typeof Node === "object" ? o instanceof Node : o && typeof o === "object" && typeof o.nodeType === "number" && typeof o.nodeName === "string");
+ }
+ $.print = $.fn.print = function () {
+ // Print a given set of elements
+ var options, $this, self = this;
+ // console.log("Printing", this, arguments);
+ if (self instanceof $) {
+ // Get the node if it is a jQuery object
+ self = self.get(0);
+ }
+ if (isNode(self)) {
+ // If `this` is a HTML element, i.e. for
+ // $(selector).print()
+ $this = $(self);
+ if (arguments.length > 0) {
+ options = arguments[0];
+ }
+ } else {
+ if (arguments.length > 0) {
+ // $.print(selector,options)
+ $this = $(arguments[0]);
+ if (isNode($this[0])) {
+ if (arguments.length > 1) {
+ options = arguments[1];
+ }
+ } else {
+ // $.print(options)
+ options = arguments[0];
+ $this = $("html");
+ }
+ } else {
+ // $.print()
+ $this = $("html");
+ }
+ }
+ // Default options
+ var defaults = {
+ globalStyles: true,
+ mediaPrint: false,
+ stylesheet: null,
+ noPrintSelector: ".no-print",
+ iframe: true,
+ append: null,
+ prepend: null,
+ manuallyCopyFormValues: true,
+ deferred: $.Deferred(),
+ timeout: 750,
+ title: null,
+ doctype: '<!doctype html>'
+ };
+ // Merge with user-options
+ options = $.extend({}, defaults, (options || {}));
+ var $styles = $("");
+ if (options.globalStyles) {
+ // Apply the stlyes from the current sheet to the printed page
+ $styles = $("style, link, meta, base, title");
+ } else if (options.mediaPrint) {
+ // Apply the media-print stylesheet
+ $styles = $("link[media=print]");
+ }
+ if (options.stylesheet) {
+ // Add a custom stylesheet if given
+ $styles = $.merge($styles, $('<link rel="stylesheet" href="' + options.stylesheet + '">'));
+ }
+ // Create a copy of the element to print
+ var copy = jQueryCloneWithSelectAndTextAreaValues($this);
+ // Wrap it in a span to get the HTML markup string
+ copy = $("<span/>")
+ .append(copy);
+ // Remove unwanted elements
+ copy.find(options.noPrintSelector)
+ .remove();
+ // Add in the styles
+ copy.append(jQueryCloneWithSelectAndTextAreaValues($styles));
+ // Update title
+ if (options.title) {
+ var title = $("title", copy);
+ if (title.length === 0) {
+ title = $("<title />");
+ copy.append(title);
+ }
+ title.text(options.title);
+ }
+ // Appedned content
+ copy.append(getjQueryObject(options.append));
+ // Prepended content
+ copy.prepend(getjQueryObject(options.prepend));
+ if (options.manuallyCopyFormValues) {
+ // Manually copy form values into the HTML for printing user-modified input fields
+ // http://stackoverflow.com/a/26707753
+ copy.find("input")
+ .each(function () {
+ var $field = $(this);
+ if ($field.is("[type='radio']") || $field.is("[type='checkbox']")) {
+ if ($field.prop("checked")) {
+ $field.attr("checked", "checked");
+ }
+ } else {
+ $field.attr("value", $field.val());
+ }
+ });
+ copy.find("select").each(function () {
+ var $field = $(this);
+ $field.find(":selected").attr("selected", "selected");
+ });
+ copy.find("textarea").each(function () {
+ // Fix for https://github.com/DoersGuild/jQuery.print/issues/18#issuecomment-96451589
+ var $field = $(this);
+ $field.text($field.val());
+ });
+ }
+ // Get the HTML markup string
+ var content = copy.html();
+ // Notify with generated markup & cloned elements - useful for logging, etc
+ try {
+ options.deferred.notify('generated_markup', content, copy);
+ } catch (err) {
+ console.warn('Error notifying deferred', err);
+ }
+ // Destroy the copy
+ copy.remove();
+ if (options.iframe) {
+ // Use an iframe for printing
+ try {
+ printContentInIFrame(content, options);
+ } catch (e) {
+ // Use the pop-up method if iframe fails for some reason
+ console.error("Failed to print from iframe", e.stack, e.message);
+ printContentInNewWindow(content, options);
+ }
+ } else {
+ // Use a new window for printing
+ printContentInNewWindow(content, options);
+ }
+ return this;
+ };
+})(jQuery);
diff --git a/src/main/webapp/static/js/jquery/jquery-3.3.1.min.js b/src/main/webapp/static/wms/js/jquery/jquery-3.3.1.min.js
similarity index 100%
copy from src/main/webapp/static/js/jquery/jquery-3.3.1.min.js
copy to src/main/webapp/static/wms/js/jquery/jquery-3.3.1.min.js
diff --git a/src/main/webapp/static/wms/js/locDetl/locDetl.js b/src/main/webapp/static/wms/js/locDetl/locDetl.js
new file mode 100644
index 0000000..3148e75
--- /dev/null
+++ b/src/main/webapp/static/wms/js/locDetl/locDetl.js
@@ -0,0 +1,557 @@
+var pageCurr;
+function getCol() {
+ var cols = [
+ {field: 'locNo$', align: 'center',title: '搴撲綅鍙�'},
+ {field: 'matnr', align: 'center',title: '鍟嗗搧缂栧彿', sort:true}
+ ,{field: 'maktx', align: 'center',title: '鍟嗗搧鍚嶇О', sort:true}
+ // ,{field: 'orderNo', align: 'center',title: '鍗曟嵁缂栧彿', hide: false}
+ ,{field: 'batch', align: 'center',title: '鎵瑰彿', width: 300, sort:true}
+ ,{field: 'anfme', align: 'center',title: '閲嶉噺锛坘g锛�'}
+ ,{field: 'zpallet', align: 'center',title: '鎵樼洏鏉$爜'}
+ ,{field: 'specs', align: 'center',title: '閰嶇疆'}
+ ,{field: 'model', align: 'center',title: '浠g爜', hide: true}
+ ,{field: 'color', align: 'center',title: '棰滆壊', hide: true}
+ ,{field: 'brand', align: 'center',title: '鍝佺墝', hide: true}
+ ,{field: 'unit', align: 'center',title: '鍗曚綅', hide: true}
+ ,{field: 'price', align: 'center',title: '鍗曚环', hide: true}
+ ,{field: 'sku', align: 'center',title: 'sku', hide: true}
+ ,{field: 'units', align: 'center',title: '鍗曚綅閲�', hide: true}
+ ,{field: 'barcode', align: 'center',title: '鏉$爜', hide: true}
+ ,{field: 'origin', align: 'center',title: '浜у湴', hide: true}
+ ,{field: 'manu', align: 'center',title: '鍘傚', hide: true}
+ ,{field: 'manuDate', align: 'center',title: '鐢熶骇鏃ユ湡', hide: true}
+ ,{field: 'itemNum', align: 'center',title: '鍝侀」鏁�', hide: true}
+ ,{field: 'safeQty', align: 'center',title: '瀹夊叏搴撳瓨閲�', hide: true}
+ ,{field: 'weight', align: 'center',title: '鍑�閲�', hide: true}
+ ,{field: 'length', align: 'center',title: '姣涢噸', hide: true}
+ ,{field: 'volume', align: 'center',title: '浣撶Н', hide: true}
+ ,{field: 'threeCode', align: 'center',title: '绠卞瓙灏哄', hide: true}
+ ,{field: 'supp', align: 'center',title: '渚涘簲鍟�', hide: true}
+ ,{field: 'suppCode', align: 'center',title: '渚涘簲鍟嗙紪鐮�', hide: true}
+ ,{field: 'beBatch$', align: 'center',title: '鏄惁鎵规', hide: true}
+ ,{field: 'deadTime', align: 'center',title: '淇濊川鏈�', hide: true}
+ ,{field: 'deadWarn', align: 'center',title: '棰勮澶╂暟', hide: true}
+ ,{field: 'source$', align: 'center',title: '鍒惰喘', hide: true}
+ ,{field: 'check$', align: 'center',title: '瑕佹眰妫�楠�', hide: true}
+ ,{field: 'danger$', align: 'center',title: '鍗遍櫓鍝�', hide: true}
+
+ ];
+
+ // cols.push.apply(cols, detlCols);
+ cols.push({field: 'modiUser$', align: 'center',title: '淇敼浜哄憳',hide: true}
+ ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿'}
+ )
+ return cols;
+}
+
+layui.use(['table','laydate', 'form'], function(){
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#locDetl',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/locDetl/list/auth',
+ page: true,
+ limit: 16,
+ limits: [16, 30, 50, 100, 200, 500],
+ even: true,
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ cols: [getCol()],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ form.on('checkbox(tableCheckbox)', function (data) {
+ var _index = $(data.elem).attr('table-index')||0;
+ if(data.elem.checked){
+ res.data[_index][data.value] = 'Y';
+ }else{
+ res.data[_index][data.value] = 'N';
+ }
+ });
+ }
+ });
+
+ // 鐩戝惉鎺掑簭浜嬩欢
+ table.on('sort(locDetl)', function (obj) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ searchData['orderByField'] = obj.field;
+ searchData['orderByType'] = obj.type;
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: 1
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(locDetl)', function (obj) {
+ var checkStatus = table.checkStatus(obj.config.id);
+ switch(obj.event) {
+ case 'addData':
+ layer.open({
+ type: 2,
+ title: '鏂板',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: 'locDetl_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-edit', index).hide();
+ clearFormVal(layer.getChildFrame('#detail', index));
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ }
+ });
+ break;
+ case 'refreshData':
+ tableIns.reload({
+ page: {
+ curr: pageCurr
+ }
+ });
+ limit();
+ break;
+ case 'deleteData':
+ var data = checkStatus.data;
+ if (data.length === 0){
+ layer.msg('璇烽�夋嫨鏁版嵁');
+ } else {
+ layer.confirm('纭畾鍒犻櫎'+(data.length===1?'姝�':data.length)+'鏉℃暟鎹悧', function(){
+ $.ajax({
+ url: baseUrl+"/locDetl/delete/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {param: JSON.stringify(data)},
+ method: 'POST',
+ traditional:true,
+ success: function (res) {
+ if (res.code === 200){
+ layer.closeAll();
+ tableReload(false);
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ });
+ }
+ break;
+ case 'exportData':
+ layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+ var titles=[];
+ var fields=[];
+ obj.config.cols[0].map(function (col) {
+ if (col.type === 'normal' && col.hide === false && col.toolbar == null) {
+ titles.push(col.title);
+ fields.push(col.field);
+ }
+ });
+ var exportData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ exportData[this.name] = this.value;
+ });
+ var param = {
+ 'locDetl': exportData,
+ 'fields': fields
+ };
+ var loadIndex = layer.msg('姝e湪瀵煎嚭...', {icon: 16, shade: 0.01, time: false});
+ $.ajax({
+ url: baseUrl+"/locDetl/export/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ layer.close(loadIndex);
+ layer.closeAll();
+ if (res.code === 200) {
+ table.exportFile(titles,res.data,'xls');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ });
+ });
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(locDetl)', function(obj){
+ var data = obj.data;
+ switch (obj.event) {
+ // 璇︽儏
+ case 'detail':
+ layer.open({
+ type: 2,
+ title: '璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: 'locDetl_detail.html',
+ success: function(layero, index){
+ setFormVal(layer.getChildFrame('#detail', index), data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+ // 缂栬緫
+ case 'edit':
+ layer.open({
+ type: 2,
+ title: '淇敼',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: 'locDetl_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-save', index).hide();
+ setFormVal(layer.getChildFrame('#detail', index), data, false);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), false);
+ top.convertDisabled(layer.getChildFrame('#locNo,#matnr', index), true);
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+ case 'locNo':
+ var param = top.reObject(data).locNo;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '搴撲綅鍙疯鎯�',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../locMast/locMast_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/locMast/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+ case 'modiUser':
+ var param = top.reObject(data).modiUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '淇敼浜哄憳璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+ case 'appeUser':
+ var param = top.reObject(data).appeUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '鍒涘缓鑰呰鎯�',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+
+ }
+ });
+
+ // 鏁版嵁淇濆瓨鍔ㄤ綔
+ form.on('submit(save)', function () {
+ if (banMsg != null){
+ layer.msg(banMsg);
+ return;
+ }
+ method("add");
+ });
+
+ // 鏁版嵁淇敼鍔ㄤ綔
+ form.on('submit(edit)', function () {
+ method("update")
+ });
+
+ function method(name){
+ var index = layer.load(1, {
+ shade: [0.5,'#000'] //0.1閫忔槑搴︾殑鑳屾櫙
+ });
+ var data = {
+// id: $('#id').val(),
+ locNo: $('#locNo').val(),
+ matnr: $('#matnr').val(),
+ lgnum: $('#lgnum').val(),
+ tbnum: $('#tbnum').val(),
+ tbpos: $('#tbpos').val(),
+ zmatid: $('#zmatid').val(),
+ maktx: $('#maktx').val(),
+ werks: $('#werks').val(),
+ anfme: $('#anfme').val(),
+ altme: $('#altme').val(),
+ zpallet: $('#zpallet').val(),
+ bname: $('#bname').val(),
+ memo: $('#memo').val(),
+ modiUser: $('#modiUser').val(),
+ modiTime: top.strToDate($('#modiTime\\$').val()),
+ appeUser: $('#appeUser').val(),
+ appeTime: top.strToDate($('#appeTime\\$').val()),
+
+ };
+ $.ajax({
+ url: baseUrl+"/locDetl/"+name+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: top.reObject(data),
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ parent.layer.closeAll();
+ parent.$(".layui-laypage-btn")[0].click();
+ $("#data-detail :input").each(function () {
+ $(this).val("");
+ });
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ layer.close(index);
+ }
+ })
+ }
+
+ // 澶嶉�夋浜嬩欢
+ form.on('checkbox(detailCheckbox)', function (data) {
+ var el = data.elem;
+ if (el.checked) {
+ $(el).val('Y');
+ } else {
+ $(el).val('N');
+ }
+ });
+
+ // 鎼滅储鏍忔悳绱簨浠�
+ form.on('submit(search)', function (data) {
+ pageCurr = 1;
+ tableReload(false);
+ });
+
+
+ // 鎼滅储鏍忛噸缃簨浠�
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ tableReload(false);
+ });
+
+ // 鏃堕棿閫夋嫨鍣�
+ layDate.render({
+ elem: '#modiTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#appeTime\\$',
+ type: 'datetime'
+ });
+
+
+});
+
+// 鍏抽棴鍔ㄤ綔
+$(document).on('click','#data-detail-close', function () {
+ parent.layer.closeAll();
+});
+
+function tableReload(child) {
+ var searchData = {
+ };
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ (child ? parent.tableIns : tableIns).reload({
+ where: searchData,
+ page: {
+ curr: pageCurr
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ if (res.data.length === 0 && count !== 0) {
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: pageCurr-1
+ }
+ });
+ pageCurr -= 1;
+ }
+ limit(child);
+ }
+ });
+}
+
+function setFormVal(el, data, showImg) {
+ for (var val in data) {
+ var find = el.find(":input[id='" + val + "']");
+ if (find[0]!=null){
+ if (find[0].type === 'checkbox'){
+ if (data[val]==='Y'){
+ find.attr("checked","checked");
+ find.val('Y');
+ } else {
+ find.remove("checked");
+ find.val('N');
+ }
+ continue;
+ }
+ }
+ find.val(data[val]);
+ if (showImg){
+ var next = find.next();
+ if (next.get(0)){
+ if (next.get(0).localName === "img") {
+ find.hide();
+ next.attr("src", data[val]);
+ next.show();
+ }
+ }
+ }
+ }
+}
+
+function clearFormVal(el) {
+ $(':input', el)
+ .val('')
+ .removeAttr('checked')
+ .removeAttr('selected');
+}
+
+function detailScreen(index) {
+ var detail = layer.getChildFrame('#data-detail', index);
+ var height = detail.height()+60;
+ if (height > ($(window).height()*0.9)) {
+ height = ($(window).height()*0.8);
+ }
+ layer.style(index, {
+// top: (($(window).height()-height)/3)+"px",
+ height: height+'px'
+ });
+}
+
+$('body').keydown(function () {
+ if (event.keyCode === 13) {
+ $("#search").click();
+ }
+});
diff --git a/src/main/webapp/static/wms/js/locDetlStatis/locDetlStatis.js b/src/main/webapp/static/wms/js/locDetlStatis/locDetlStatis.js
new file mode 100644
index 0000000..3393ce6
--- /dev/null
+++ b/src/main/webapp/static/wms/js/locDetlStatis/locDetlStatis.js
@@ -0,0 +1,256 @@
+var pageCurr;
+function getCol() {
+ var cols = [
+ {field: 'anfme', align: 'center',title: '搴撳瓨閲嶉噺锛坘g锛�', style: 'font-weight: bold'}
+ ];
+ arrRemove(detlCols, "field", "anfme")
+ arrRemove(detlCols, "field", "zpallet")
+ cols.push.apply(cols, detlCols);
+ // cols.push({field: 'anfme', align: 'center',title: '鏁伴噺', style: 'font-weight: bold'}
+ // )
+ return cols;
+}
+
+layui.use(['table','laydate', 'form'], function(){
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#locDetlStatis',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/locDetl/statis/auth',
+ page: true,
+ limit: 20,
+ limits: [20, 30, 50, 100, 200, 500],
+ even: true,
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ cols: [getCol()],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ form.on('checkbox(tableCheckbox)', function (data) {
+ var _index = $(data.elem).attr('table-index')||0;
+ if(data.elem.checked){
+ res.data[_index][data.value] = 'Y';
+ }else{
+ res.data[_index][data.value] = 'N';
+ }
+ });
+ /**
+ * 鏄剧ず搴撳瓨鎬绘暟閲�
+ */
+ $.ajax({
+ url: baseUrl+"/locDetl/count",
+ headers: {'token': localStorage.getItem('token')},
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ $("#countNum").text(res.data + 'kg');
+ }
+ });
+
+ }
+ });
+
+ // 鐩戝惉鎺掑簭浜嬩欢
+ table.on('sort(locDetlStatis)', function (obj) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ searchData['orderByField'] = obj.field;
+ searchData['orderByType'] = obj.type;
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: 1
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(locDetlStatis)', function (obj) {
+ var checkStatus = table.checkStatus(obj.config.id);
+ switch(obj.event) {
+ case 'exportAll':
+ layer.closeAll();
+ layer.load(1, {shade: [0.1,'#fff']});
+ location.href = baseUrl + "/locDetl/statis/export";
+ layer.closeAll('loading');
+ break;
+ case 'exportData':
+ layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+ var titles=[];
+ var fields=[];
+ obj.config.cols[0].map(function (col) {
+ if (col.type === 'normal' && col.hide === false && col.toolbar == null) {
+ titles.push(col.title);
+ fields.push(col.field);
+ }
+ });
+ var exportData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ exportData[this.name] = this.value;
+ });
+ var param = {
+ 'locDetl': exportData,
+ 'fields': fields
+ };
+ $.ajax({
+ url: baseUrl+"/locDetl/export/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ layer.closeAll();
+ if (res.code === 200) {
+ table.exportFile(titles,res.data,'xls');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ });
+ });
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(locDetlStatis)', function(obj){
+ var data = obj.data;
+ switch (obj.event) {
+ // 璇︽儏
+ case 'detail':
+ layer.open({
+ type: 2,
+ title: '璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: 'locDetl_detail.html',
+ success: function(layero, index){
+ setFormVal(layer.getChildFrame('#detail', index), data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+
+ }
+ });
+
+
+ // 鎼滅储鏍忔悳绱簨浠�
+ form.on('submit(search)', function (data) {
+ pageCurr = 1;
+ tableReload(false);
+ });
+
+ // 鎼滅储鏍忛噸缃簨浠�
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ tableReload(false);
+ });
+
+ // 鏃堕棿閫夋嫨鍣�
+ layDate.render({
+ elem: '#modiTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#appeTime\\$',
+ type: 'datetime'
+ });
+
+
+});
+
+// 鍏抽棴鍔ㄤ綔
+$(document).on('click','#data-detail-close', function () {
+ parent.layer.closeAll();
+});
+
+function tableReload(child) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ (child ? parent.tableIns : tableIns).reload({
+ where: searchData,
+ page: {
+ curr: pageCurr
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ if (res.data.length === 0 && count !== 0) {
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: pageCurr-1
+ }
+ });
+ pageCurr -= 1;
+ }
+ limit(child);
+ }
+ });
+}
+
+function detailScreen(index) {
+ var detail = layer.getChildFrame('#data-detail', index);
+ var height = detail.height()+60;
+ if (height > ($(window).height()*0.9)) {
+ height = ($(window).height()*0.8);
+ }
+ layer.style(index, {
+// top: (($(window).height()-height)/3)+"px",
+ height: height+'px'
+ });
+}
+
+$('body').keydown(function () {
+ if (event.keyCode === 13) {
+ $("#search").click();
+ }
+});
diff --git a/src/main/webapp/static/js/locMast/locMast.js b/src/main/webapp/static/wms/js/locMast/locMast.js
similarity index 100%
rename from src/main/webapp/static/js/locMast/locMast.js
rename to src/main/webapp/static/wms/js/locMast/locMast.js
diff --git a/src/main/webapp/static/wms/js/manLocDetl/manLocDetl.js b/src/main/webapp/static/wms/js/manLocDetl/manLocDetl.js
new file mode 100644
index 0000000..ff281b0
--- /dev/null
+++ b/src/main/webapp/static/wms/js/manLocDetl/manLocDetl.js
@@ -0,0 +1,559 @@
+var pageCurr;
+function getCol() {
+ var cols = [
+ {field: 'locNo', align: 'center',title: '搴撲綅鍙�'},
+ {field: 'matnr', align: 'center',title: '鍟嗗搧缂栧彿', sort:true}
+ ,{field: 'maktx', align: 'center',title: '鍟嗗搧鍚嶇О', sort:true}
+ ,{field: 'orderNo', align: 'center',title: '鍗曟嵁缂栧彿', hide: false}
+ ,{field: 'batch', align: 'center',title: '鎵瑰彿', width: 300, sort:true}
+ ,{field: 'anfme', align: 'center',title: '鏁伴噺'}
+ //,{field: 'zpallet', align: 'center',title: '鎵樼洏鏉$爜'}
+ ,{field: 'specs', align: 'center',title: '閰嶇疆'}
+ ,{field: 'model', align: 'center',title: '浠g爜', hide: true}
+ ,{field: 'color', align: 'center',title: '棰滆壊', hide: true}
+ ,{field: 'brand', align: 'center',title: '鍝佺墝', hide: true}
+ ,{field: 'unit', align: 'center',title: '鍗曚綅', hide: true}
+ ,{field: 'price', align: 'center',title: '鍗曚环', hide: true}
+ ,{field: 'sku', align: 'center',title: 'sku', hide: true}
+ ,{field: 'units', align: 'center',title: '鍗曚綅閲�', hide: true}
+ ,{field: 'barcode', align: 'center',title: '鏉$爜', hide: true}
+ ,{field: 'origin', align: 'center',title: '浜у湴', hide: true}
+ ,{field: 'manu', align: 'center',title: '鍘傚', hide: true}
+ ,{field: 'manuDate', align: 'center',title: '鐢熶骇鏃ユ湡', hide: true}
+ ,{field: 'itemNum', align: 'center',title: '鍝侀」鏁�', hide: true}
+ ,{field: 'safeQty', align: 'center',title: '瀹夊叏搴撳瓨閲�', hide: true}
+ ,{field: 'weight', align: 'center',title: '鍗曠鍑�閲�', hide: true}
+ ,{field: 'length', align: 'center',title: '鍗曠姣涢噸', hide: true}
+ ,{field: 'volume', align: 'center',title: '鍗曠浣撶Н', hide: true}
+ ,{field: 'threeCode', align: 'center',title: '绠卞瓙灏哄', hide: true}
+ ,{field: 'supp', align: 'center',title: '渚涘簲鍟�', hide: true}
+ ,{field: 'suppCode', align: 'center',title: '渚涘簲鍟嗙紪鐮�', hide: true}
+ ,{field: 'beBatch$', align: 'center',title: '鏄惁鎵规', hide: true}
+ ,{field: 'deadTime', align: 'center',title: '淇濊川鏈�', hide: true}
+ ,{field: 'deadWarn', align: 'center',title: '棰勮澶╂暟', hide: true}
+ ,{field: 'source$', align: 'center',title: '鍒惰喘', hide: true}
+ ,{field: 'check$', align: 'center',title: '瑕佹眰妫�楠�', hide: true}
+ ,{field: 'danger$', align: 'center',title: '鍗遍櫓鍝�', hide: true}
+
+ ];
+
+ // cols.push.apply(cols, detlCols);
+ cols.push({field: 'modiUser$', align: 'center',title: '淇敼浜哄憳',hide: true}
+ ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿'}
+ )
+ return cols;
+}
+
+layui.use(['table','laydate', 'form'], function(){
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#locDetl',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/manLocDetl/list/auth',
+ page: true,
+ limit: 16,
+ limits: [16, 30, 50, 100, 200, 500],
+ even: true,
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ cols: [getCol()],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ console.log(res)
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ form.on('checkbox(tableCheckbox)', function (data) {
+ var _index = $(data.elem).attr('table-index')||0;
+ if(data.elem.checked){
+ res.data[_index][data.value] = 'Y';
+ }else{
+ res.data[_index][data.value] = 'N';
+ }
+ });
+ }
+ });
+
+ // 鐩戝惉鎺掑簭浜嬩欢
+ table.on('sort(locDetl)', function (obj) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ searchData['orderByField'] = obj.field;
+ searchData['orderByType'] = obj.type;
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: 1
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(locDetl)', function (obj) {
+ var checkStatus = table.checkStatus(obj.config.id);
+ switch(obj.event) {
+ case 'addData':
+ layer.open({
+ type: 2,
+ title: '鏂板',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: 'locDetl_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-edit', index).hide();
+ clearFormVal(layer.getChildFrame('#detail', index));
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ }
+ });
+ break;
+ case 'refreshData':
+ tableIns.reload({
+ page: {
+ curr: pageCurr
+ }
+ });
+ limit();
+ break;
+ case 'deleteData':
+ var data = checkStatus.data;
+ if (data.length === 0){
+ layer.msg('璇烽�夋嫨鏁版嵁');
+ } else {
+ layer.confirm('纭畾鍒犻櫎'+(data.length===1?'姝�':data.length)+'鏉℃暟鎹悧', function(){
+ $.ajax({
+ url: baseUrl+"/locDetl/delete/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {param: JSON.stringify(data)},
+ method: 'POST',
+ traditional:true,
+ success: function (res) {
+ if (res.code === 200){
+ layer.closeAll();
+ tableReload(false);
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ });
+ }
+ break;
+ case 'exportData':
+ layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+ var titles=[];
+ var fields=[];
+ obj.config.cols[0].map(function (col) {
+ if (col.type === 'normal' && col.hide === false && col.toolbar == null) {
+ titles.push(col.title);
+ fields.push(col.field);
+ }
+ });
+ var exportData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ exportData[this.name] = this.value;
+ });
+ var param = {
+ 'locDetl': exportData,
+ 'fields': fields
+ };
+ var loadIndex = layer.msg('姝e湪瀵煎嚭...', {icon: 16, shade: 0.01, time: false});
+ $.ajax({
+ url: baseUrl+"/locDetl/export/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ layer.close(loadIndex);
+ layer.closeAll();
+ if (res.code === 200) {
+ table.exportFile(titles,res.data,'xls');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ });
+ });
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(locDetl)', function(obj){
+ var data = obj.data;
+ switch (obj.event) {
+ // 璇︽儏
+ case 'detail':
+ layer.open({
+ type: 2,
+ title: '璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: 'locDetl_detail.html',
+ success: function(layero, index){
+ setFormVal(layer.getChildFrame('#detail', index), data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+ // 缂栬緫
+ case 'edit':
+ layer.open({
+ type: 2,
+ title: '淇敼',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: 'locDetl_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-save', index).hide();
+ setFormVal(layer.getChildFrame('#detail', index), data, false);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), false);
+ top.convertDisabled(layer.getChildFrame('#locNo,#matnr', index), true);
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+ case 'locNo':
+ var param = top.reObject(data).locNo;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '搴撲綅鍙疯鎯�',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../locMast/locMast_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/locMast/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+ case 'modiUser':
+ var param = top.reObject(data).modiUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '淇敼浜哄憳璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+ case 'appeUser':
+ var param = top.reObject(data).appeUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '鍒涘缓鑰呰鎯�',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+
+ }
+ });
+
+ // 鏁版嵁淇濆瓨鍔ㄤ綔
+ form.on('submit(save)', function () {
+ if (banMsg != null){
+ layer.msg(banMsg);
+ return;
+ }
+ method("add");
+ });
+
+ // 鏁版嵁淇敼鍔ㄤ綔
+ form.on('submit(edit)', function () {
+ method("update")
+ });
+
+ function method(name){
+
+ var index = layer.load(1, {
+ shade: [0.5,'#000'] //0.1閫忔槑搴︾殑鑳屾櫙
+ });
+ var data = {
+// id: $('#id').val(),
+ locNo: $('#locNo').val(),
+ matnr: $('#matnr').val(),
+ lgnum: $('#lgnum').val(),
+ tbnum: $('#tbnum').val(),
+ tbpos: $('#tbpos').val(),
+ zmatid: $('#zmatid').val(),
+ maktx: $('#maktx').val(),
+ werks: $('#werks').val(),
+ anfme: $('#anfme').val(),
+ altme: $('#altme').val(),
+ zpallet: $('#zpallet').val(),
+ bname: $('#bname').val(),
+ memo: $('#memo').val(),
+ modiUser: $('#modiUser').val(),
+ modiTime: top.strToDate($('#modiTime\\$').val()),
+ appeUser: $('#appeUser').val(),
+ appeTime: top.strToDate($('#appeTime\\$').val()),
+
+ };
+ $.ajax({
+ url: baseUrl+"/locDetl/"+name+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: top.reObject(data),
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ parent.layer.closeAll();
+ parent.$(".layui-laypage-btn")[0].click();
+ $("#data-detail :input").each(function () {
+ $(this).val("");
+ });
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ layer.close(index);
+ }
+ })
+ }
+
+ // 澶嶉�夋浜嬩欢
+ form.on('checkbox(detailCheckbox)', function (data) {
+ var el = data.elem;
+ if (el.checked) {
+ $(el).val('Y');
+ } else {
+ $(el).val('N');
+ }
+ });
+
+ // 鎼滅储鏍忔悳绱簨浠�
+ form.on('submit(search)', function (data) {
+ pageCurr = 1;
+ tableReload(false);
+ });
+
+
+ // 鎼滅储鏍忛噸缃簨浠�
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ tableReload(false);
+ });
+
+ // 鏃堕棿閫夋嫨鍣�
+ layDate.render({
+ elem: '#modiTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#appeTime\\$',
+ type: 'datetime'
+ });
+
+
+});
+
+// 鍏抽棴鍔ㄤ綔
+$(document).on('click','#data-detail-close', function () {
+ parent.layer.closeAll();
+});
+
+function tableReload(child) {
+ var searchData = {
+ };
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ (child ? parent.tableIns : tableIns).reload({
+ where: searchData,
+ page: {
+ curr: pageCurr
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ if (res.data.length === 0 && count !== 0) {
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: pageCurr-1
+ }
+ });
+ pageCurr -= 1;
+ }
+ limit(child);
+ }
+ });
+}
+
+function setFormVal(el, data, showImg) {
+ for (var val in data) {
+ var find = el.find(":input[id='" + val + "']");
+ if (find[0]!=null){
+ if (find[0].type === 'checkbox'){
+ if (data[val]==='Y'){
+ find.attr("checked","checked");
+ find.val('Y');
+ } else {
+ find.remove("checked");
+ find.val('N');
+ }
+ continue;
+ }
+ }
+ find.val(data[val]);
+ if (showImg){
+ var next = find.next();
+ if (next.get(0)){
+ if (next.get(0).localName === "img") {
+ find.hide();
+ next.attr("src", data[val]);
+ next.show();
+ }
+ }
+ }
+ }
+}
+
+function clearFormVal(el) {
+ $(':input', el)
+ .val('')
+ .removeAttr('checked')
+ .removeAttr('selected');
+}
+
+function detailScreen(index) {
+ var detail = layer.getChildFrame('#data-detail', index);
+ var height = detail.height()+60;
+ if (height > ($(window).height()*0.9)) {
+ height = ($(window).height()*0.8);
+ }
+ layer.style(index, {
+// top: (($(window).height()-height)/3)+"px",
+ height: height+'px'
+ });
+}
+
+$('body').keydown(function () {
+ if (event.keyCode === 13) {
+ $("#search").click();
+ }
+});
diff --git a/src/main/webapp/static/wms/js/mat/mat.js b/src/main/webapp/static/wms/js/mat/mat.js
new file mode 100644
index 0000000..ecf879f
--- /dev/null
+++ b/src/main/webapp/static/wms/js/mat/mat.js
@@ -0,0 +1,480 @@
+var pageCurr;
+var printMatCodeNos = [];
+var admin;
+function getCol() {
+ var cols = [
+ {type: 'checkbox'}
+ ,{field: 'tagId$', align: 'center',title: '褰掔被', templet: '#tagTpl'}
+ ];
+ cols.push.apply(cols, matCols);
+ cols.push(
+ {fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:150}
+ )
+ return cols;
+}
+
+layui.config({
+ base: baseUrl + "/static/layui/lay/modules/"
+}).extend({
+ dropdown: 'dropdown/dropdown',
+}).use(['table','laydate', 'form', 'treeTable', 'admin', 'xmSelect', 'dropdown', 'element'], function(){
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+ admin = layui.admin;
+ var treeTable = layui.treeTable;
+ var xmSelect = layui.xmSelect;
+
+ // 鍟嗗搧鍒嗙被鏁版嵁
+ var insTb = treeTable.render({
+ elem: '#tag',
+ url: baseUrl+'/tag/list/auth',
+ headers: {token: localStorage.getItem('token')},
+ tree: {
+ iconIndex: 2, // 鎶樺彔鍥炬爣鏄剧ず鍦ㄧ鍑犲垪
+ isPidData: true, // 鏄惁鏄痠d銆乸id褰㈠紡鏁版嵁
+ idName: 'id', // id瀛楁鍚嶇О
+ pidName: 'parentId' // pid瀛楁鍚嶇О
+ },
+ cols: [],
+ done: function (data) {
+ $('.ew-tree-table-box').css('height', '100%');
+ insTb.expandAll();
+ }
+ });
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#mat',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/mat/list/auth',
+ page: true,
+ limit: 16,
+ limits: [16, 30, 50, 100, 200, 500],
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ height: 'full-105',
+ cols: [getCol()],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ form.on('checkbox(tableCheckbox)', function (data) {
+ var _index = $(data.elem).attr('table-index')||0;
+ if(data.elem.checked){
+ res.data[_index][data.value] = 'Y';
+ }else{
+ res.data[_index][data.value] = 'N';
+ }
+ });
+ }
+ });
+
+ // 鐩戝惉鎺掑簭浜嬩欢
+ table.on('sort(locMast)', function (obj) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ searchData['orderByField'] = obj.field;
+ searchData['orderByType'] = obj.type;
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: 1
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(mat)', function (obj) {
+ var checkStatus = table.checkStatus(obj.config.id);
+ switch(obj.event) {
+ case 'addData':
+ showEditModel()
+ break;
+ case 'deleteData':
+ var data = checkStatus.data;
+ if (data.length === 0){
+ layer.msg('璇烽�夋嫨鏁版嵁');
+ } else {
+ layer.confirm('纭畾鍒犻櫎'+(data.length===1?'姝�':data.length)+'鏉℃暟鎹悧', function(){
+ $.ajax({
+ url: baseUrl+"/mat/delete/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {param: JSON.stringify(data)},
+ method: 'POST',
+ traditional:true,
+ success: function (res) {
+ if (res.code === 200){
+ layer.closeAll();
+ tableReload(false);
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ });
+ }
+ break;
+ case 'exportData':
+ layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+ var titles=[];
+ var fields=[];
+ obj.config.cols[0].map(function (col) {
+ if (col.type === 'normal' && col.hide === false && col.toolbar == null) {
+ titles.push(col.title);
+ fields.push(col.field);
+ }
+ });
+ var exportData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ exportData[this.name] = this.value;
+ });
+ var param = {
+ 'mat': exportData,
+ 'fields': fields
+ };
+ $.ajax({
+ url: baseUrl+"/mat/export/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ layer.closeAll();
+ if (res.code === 200) {
+ table.exportFile(titles,res.data,'xls');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ });
+ });
+ break;
+ // 鎵归噺鎵撳嵃
+ case "btnPrintBatch":
+ printMatCodeNos = [];
+ var data = checkStatus.data;
+ if (data.length === 0){
+ layer.msg('璇烽�夋嫨鎵撳嵃鏁版嵁');
+ } else {
+ layer.open({
+ type: 1,
+ title: '鎵归噺鎵撳嵃 [鏁伴噺'+ data.length +']',
+ area: ['500px'],
+ shadeClose: true,
+ content: $('#printDataDiv'),
+ success: function(layero, index){
+ for (var i = 0; i<data.length;i++) {
+ printMatCodeNos.push(data[i].matnr);
+ }
+ },
+ end: function () {
+ }
+ });
+ }
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(mat)', function(obj){
+ var data = obj.data;
+ switch (obj.event) {
+ // 鎵撳嵃
+ case "btnPrint":
+ printMatCodeNos = [];
+ layer.open({
+ type: 1,
+ title: data.matnr + ' [鏁伴噺锛�1]',
+ area: ['500px'],
+ shadeClose: true,
+ content: $('#printDataDiv'),
+ success: function(layero, index){
+ layer.iframeAuto(index);
+ printMatCodeNos.push(data.matnr);
+ },
+ end: function () {
+ }
+ });
+ break;
+ // 缂栬緫
+ case 'edit':
+ showEditModel(data)
+ break;
+ }
+ });
+
+ /* 鏄剧ず琛ㄥ崟寮圭獥 */
+ function showEditModel(mData) {
+ admin.open({
+ type: 1,
+ area: '600px',
+ title: (mData ? '淇敼' : '娣诲姞') + '鍟嗗搧',
+ content: $('#editDialog').html(),
+ success: function (layero, dIndex) {
+ // 鍥炴樉琛ㄥ崟鏁版嵁
+ form.val('detail', mData);
+ // 鏂板鑷姩鐢熸垚鍟嗗搧缂栧彿
+ if (!mData) {
+ http.get(baseUrl + "/mat/auto/matnr/auth", null, function (res) {
+ $('#matnr').val(res.data);
+ })
+ }
+ // 琛ㄥ崟鎻愪氦浜嬩欢
+ form.on('submit(editSubmit)', function (data) {
+ data.field.tagId = insXmSel.getValue('valueStr');
+ if (isEmpty(data.field.tagId)) {
+ layer.msg('鍒嗙被涓嶈兘涓虹┖', {icon: 2});
+ return false;
+ }
+ var loadIndex = layer.load(2);
+ $.ajax({
+ url: baseUrl+"/mat/"+(mData?'update':'add')+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: data.field,
+ method: 'POST',
+ success: function (res) {
+ layer.close(loadIndex);
+ if (res.code === 200){
+ layer.close(dIndex);
+ layer.msg(res.msg, {icon: 1});
+ $(".layui-laypage-btn")[0].click();
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg, {icon: 2});
+ }
+ }
+ })
+ return false;
+ });
+ // 娓叉煋涓嬫媺鏍�
+ var insXmSel = xmSelect.render({
+ el: '#tagSel',
+ height: '250px',
+ data: insTb.options.data,
+ initValue: mData ? [mData.tagId] : [],
+ model: {label: {type: 'text'}},
+ prop: {
+ name: 'name',
+ value: 'id'
+ },
+ radio: true,
+ clickClose: true,
+ tree: {
+ show: true,
+ indent: 15,
+ strict: false,
+ expandedKeys: true
+ }
+ });
+ // 寮圭獥涓嶅嚭鐜版粴鍔ㄦ潯
+ $(layero).children('.layui-layer-content').css('overflow', 'visible');
+ layui.form.render('select');
+ }
+ });
+ }
+
+ // 妯℃澘閫夋嫨
+ form.on('radio(selectTemplateRadio)', function (data) {
+ $('.template-preview').hide();
+ $('#template-preview-'+data.value).show();
+ });
+
+ // 寮�濮嬫墦鍗�
+ form.on('submit(doPrint)', function (data) {
+ var templateNo = data.field.selectTemplate;
+ $.ajax({
+ url: baseUrl+"/mat/print/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {param: printMatCodeNos},
+ method: 'POST',
+ async: false,
+ success: function (res) {
+ if (res.code === 200){
+ layer.closeAll();
+ for (let i=0;i<res.data.length;i++){
+ var templateDom = $("#templatePreview"+templateNo);
+ var className = templateDom.attr("class");
+ if (className === 'template-barcode') {
+ res.data[i]["barcodeUrl"]=baseUrl+"/mac/code/auth?type=1¶m="+res.data[i].matnr;
+ } else {
+ res.data[i]["barcodeUrl"]=baseUrl+"/mac/code/auth?type=2¶m="+res.data[i].matnr;
+ }
+ }
+ var tpl = templateDom.html();
+ var template = Handlebars.compile(tpl);
+ var html = template(res);
+ var box = $("#box");
+ box.html(html);box.show();
+ box.print({mediaPrint:true});
+ box.hide();
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ });
+
+ // 鎼滅储鏍忔悳绱簨浠�
+ form.on('submit(search)', function (data) {
+ pageCurr = 1;
+ tableReload(false);
+ });
+
+ // 鎼滅储鏍忛噸缃簨浠�
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ tableReload(false);
+ });
+
+ // 鏃堕棿閫夋嫨鍣�
+ layDate.render({
+ elem: '#createTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#updateTime\\$',
+ type: 'datetime'
+ });
+
+
+});
+
+// excel瀵煎叆妯℃澘涓嬭浇
+function excelMouldDownload(){
+ layer.load(1, {shade: [0.1,'#fff']});
+ location.href = baseUrl + "/mat/excel/import/mould";
+ layer.closeAll('loading');
+}
+
+// excel瀵煎叆
+function importExcel() {
+ $("#importExcel").trigger("click");
+}
+function upload(obj){
+ if(!obj.files) {
+ return;
+ }
+ var file = obj.files[0];
+ admin.confirm('纭鍚屾 [' + file.name +'] 鏂囦欢鍚楋紵', function (index) {
+ layer.load(1, {shade: [0.1,'#fff']});
+ var url = baseUrl + "/mat/excel/import/auth";
+ var form = new FormData();
+ form.append("file", file);
+ xhr = new XMLHttpRequest();
+ xhr.open("post", url, true); //post鏂瑰紡锛寀rl涓烘湇鍔″櫒璇锋眰鍦板潃锛宼rue 璇ュ弬鏁拌瀹氳姹傛槸鍚﹀紓姝ュ鐞嗐��
+ xhr.setRequestHeader('token', localStorage.getItem('token'));
+ xhr.onload = uploadComplete; //璇锋眰瀹屾垚
+ xhr.onerror = uploadFailed; //璇锋眰澶辫触
+ xhr.onloadend = function () { // // 涓婁紶瀹屾垚閲嶇疆鏂囦欢娴�
+ layer.closeAll('loading');
+ $("#importExcel").val("");
+ };
+ // xhr.upload.onprogress = progressFunction;//銆愪笂浼犺繘搴﹁皟鐢ㄦ柟娉曞疄鐜般��
+ xhr.upload.onloadstart = function(){//涓婁紶寮�濮嬫墽琛屾柟娉�
+ ot = new Date().getTime(); //璁剧疆涓婁紶寮�濮嬫椂闂�
+ oloaded = 0;//璁剧疆涓婁紶寮�濮嬫椂锛屼互涓婁紶鐨勬枃浠跺ぇ灏忎负0
+ };
+ xhr.send(form);
+ }, function(index){
+ $("#importExcel").val("");
+ });
+}
+function uploadComplete(evt) {
+ var res = JSON.parse(evt.target.responseText);
+ if(res.code === 200) {
+ layer.msg(res.msg, {icon: 1});
+ loadTree("");
+ } else {
+ layer.msg(res.msg, {icon: 2});
+ }
+}
+function uploadFailed(evt) {
+ var res = JSON.parse(evt.target.responseText);
+ layer.msg(res.msg, {icon: 2});
+}
+
+// excel瀵煎嚭
+function exportExcel() {
+
+}
+
+
+function tableReload(child) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ (child ? parent.tableIns : tableIns).reload({
+ where: searchData,
+ page: {
+ curr: pageCurr
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ if (res.data.length === 0 && count !== 0) {
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: pageCurr-1
+ }
+ });
+ pageCurr -= 1;
+ }
+ limit(child);
+ }
+ });
+}
+
+function clearFormVal(el) {
+ $(':input', el)
+ .val('')
+ .removeAttr('checked')
+ .removeAttr('selected');
+}
+
+$('body').keydown(function () {
+ if (event.keyCode === 13) {
+ $("#search").click();
+ }
+});
diff --git a/src/main/webapp/static/wms/js/nodeTree.js b/src/main/webapp/static/wms/js/nodeTree.js
new file mode 100644
index 0000000..ee9c67f
--- /dev/null
+++ b/src/main/webapp/static/wms/js/nodeTree.js
@@ -0,0 +1,87 @@
+var currentTemId;
+var currentTemName;
+var currentTemSsbm;
+var init = false;
+
+layui.config({
+ base: baseUrl + "/static/layui/lay/modules/" // 閰嶇疆妯″潡鎵�鍦ㄧ殑鐩綍
+}).use(['table','laydate', 'form', 'tree', 'xmSelect'], function() {
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+ var tree = layui.tree;
+ var xmSelect = layui.xmSelect;
+ var selObj, treeData; // 宸︽爲閫変腑鏁版嵁
+
+ var organizationTree;
+ window.loadTree = function(condition){
+ var loadIndex = layer.load(2);
+ $.ajax({
+ url: baseUrl+"/node/tree/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {
+ 'condition': condition
+ },
+ method: 'POST',
+ success: function (res) {
+ console.log(res)
+ if (res.code === 200){
+ layer.close(loadIndex);
+ // 鏍戝舰鍥�
+ organizationTree = tree.render({
+ elem: '#organizationTree',
+ id: 'organizationTree',
+ onlyIconControl: true,
+ data: res.data,
+ click: function (obj) {
+ currentTemId = obj.data.id;
+ currentTemName = obj.data.title.split(" - ")[0];
+ currentTemSsbm = obj.data.title.split(" - ")[1];
+ selObj = obj;
+ $('#organizationTree').find('.ew-tree-click').removeClass('ew-tree-click');
+ $(obj.elem).children('.layui-tree-entry').addClass('ew-tree-click');
+ tableIns.reload({
+ where: {node_id: obj.data.id},
+ page: {curr: 1}
+ });
+ }
+ });
+ treeData = res.data;
+ if (isEmpty(condition) && init) {
+ tableIns.reload({
+ where: {node_id: ""},
+ page: {curr: 1}
+ });
+ }
+ if (!init) {
+ init = true;
+ }
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ loadTree();
+
+ /* 鏍戝舰鍥鹃噸缃� */
+ $('#treeReset').click(function () {
+ $("#condition").val("");
+ loadTree("");
+ })
+
+})
+
+function closeDialog() {
+ layer.closeAll();
+}
+
+/* 鏍戝舰鍥炬悳绱� */
+function findData(el) {
+ var condition = $(el).val();
+ loadTree(condition)
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/js/operateLog/operateLog.js b/src/main/webapp/static/wms/js/operateLog/operateLog.js
similarity index 100%
rename from src/main/webapp/static/js/operateLog/operateLog.js
rename to src/main/webapp/static/wms/js/operateLog/operateLog.js
diff --git a/src/main/webapp/static/wms/js/order/order.js b/src/main/webapp/static/wms/js/order/order.js
new file mode 100644
index 0000000..e277615
--- /dev/null
+++ b/src/main/webapp/static/wms/js/order/order.js
@@ -0,0 +1,480 @@
+var insTbCount = 0;
+layui.config({
+ base: baseUrl + "/static/layui/lay/modules/"
+}).use(['layer', 'form', 'table', 'util', 'admin', 'xmSelect', 'laydate'], function () {
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var form = layui.form;
+ var table = layui.table;
+ var util = layui.util;
+ var admin = layui.admin;
+ var xmSelect = layui.xmSelect;
+ var layDate = layui.laydate;
+
+ // 娓叉煋鎼滅储妯℃澘
+ $.ajax({
+ url: baseUrl+"/docType/list/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {
+ limit: 9999
+ },
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ let template = Handlebars.compile($('#docTypeTpl').html());
+ $('#docType-query').html(template(res.data));
+ layui.form.render('select');
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg, {icon: 2})
+ }
+ }
+ })
+
+ // 娓叉煋琛ㄦ牸
+ var insTb = table.render({
+ elem: '#order',
+ url: baseUrl+'/order/head/page/auth',
+ headers: {token: localStorage.getItem('token')},
+ page: true,
+ cellMinWidth: 100,
+ cols: [[
+ {type: 'numbers'},
+ {field: 'orderNo', title: '鍗曟嵁缂栧彿'},
+ {field: 'docType$', align: 'center', title: '绫诲瀷', minWidth: 160, width: 160},
+ {align: 'center', title: '鏄庣粏', toolbar: '#tbLook', minWidth: 160, width: 160},
+ {field: 'createTime$', title: '鍒涘缓鏃堕棿', minWidth: 200, width: 200},
+ {field: 'settle$', align: 'center', title: '鐘舵��', templet: '#settleTpl', minWidth: 160, width: 160},
+ {field: 'memo', align: 'center',title: '澶囨敞', hide: true},
+ {align: 'center', title: '鎿嶄綔', toolbar: '#operate', width: 180}
+ ]],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function (res, curr, count) {
+ limit();
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ insTbCount = count;
+ }
+ });
+
+ // 鎼滅储
+ form.on('submit(tbSearch)', function (data) {
+ insTb.reload({where: data.field, page: {curr: 1}});
+ });
+
+ // 娣诲姞
+ $("#orderAddBtn").click(function () {
+ showEditModel();
+ });
+
+ // 宸ュ叿鏉$偣鍑讳簨浠�
+ table.on('tool(order)', function (obj) {
+ var data = obj.data;
+ var layEvent = obj.event;
+ if (layEvent === 'edit') {
+ showEditModel(data);
+ } else if (layEvent === 'del') {
+ doDel(data.id);
+ } else if (layEvent === 'complete') {
+ doModify(data.id, data.orderNo, 4);
+ } else if (layEvent === 'look') {
+ var $a = $(obj.tr).find('a[lay-event="look"]');
+ var offset = $a.offset();
+ var top = offset.top;
+ var left = offset.left;
+ layer.open({
+ type: 1,
+ title: false,
+ area: '820px',
+ offset: [top + 'px', (left - 530 + $a.outerWidth()) + 'px'],
+ shade: .01,
+ shadeClose: true,
+ fixed: false,
+ content: '<table id="lookSSXMTable" lay-filter="lookSSXMTable"></table>',
+ success: function (layero) {
+ table.render({
+ elem: '#lookSSXMTable',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/orderDetl/list/auth',
+ where: {
+ order_id: data.id
+ },
+ page: true,
+ cellMinWidth: 100,
+ cols: [[
+ {type: 'numbers'},
+ {field: 'matnr', title: '鍟嗗搧缂栫爜', width: 160},
+ {field: 'maktx', title: '鍟嗗搧鍚嶇О', width: 160},
+ {field: 'batch', title: '鎵瑰彿'},
+ {field: 'anfme', title: '鏁伴噺'},
+ {field: 'workQty', title: '浣滀笟鏁伴噺'},
+ {field: 'qty', title: '瀹屾垚鏁伴噺', style: 'font-weight: bold'},
+ // {field: 'unit', title: '鍗曚綅'},
+ // {
+ // field: 'createTime$', title: '鍒涘缓鏃堕棿', sort: true, templet: function (d) {
+ // return util.toDateString(d.createTime);
+ // }, width: 180
+ // },
+ // {field: 'inQty', title: '宸插叆搴撻噺'},
+ // {field: 'color', title: '棰滆壊'},
+ {field: 'specs', title: '瑙勬牸'}
+ ]],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function () {
+ $(layero).find('.layui-table-view').css('margin', '0');
+ },
+ size: ''
+ });
+ }
+ });
+ }
+ });
+
+ // 鏄剧ず琛ㄥ崟寮圭獥
+ function showEditModel(expTpe) {
+ admin.open({
+ type: 1,
+ title: (expTpe ? '淇敼' : '娣诲姞') + '鍗曟嵁',
+ content: $('#editDialog').html(),
+ area: '1300px',
+ success: function (layero, dIndex) {
+ $(layero).children('.layui-layer-content').css('overflow', 'visible');
+ var isExpAdd = !expTpe;
+ // 鍥炴樉鏁版嵁
+ form.val('editForm', expTpe);
+ if (expTpe) {
+ $('#orderNo').attr("disabled", "disabled");
+ }
+ // 琛ㄥ崟鎻愪氦浜嬩欢
+ form.on('submit(orderEditSubmit)', function (data) {
+ // 缁勮鏁版嵁
+ if (xxDataList.length <= 0) {
+ layer.tips('璇锋坊鍔犲崟鎹槑缁�', '#matAddBtnComment', {tips: [1, '#ff4c4c']});
+ return false;
+ }
+ let nList = admin.util.deepClone(xxDataList);
+ for (let xi = 0; xi < nList.length; xi++) {
+ if (nList[xi].anfme <= 0){
+ layer.msg('鏄庣粏淇敼鏁伴噺涓嶅悎娉�', {icon: 2});
+ return false;
+ }
+ if (nList[xi].anfme < nList[xi].workQty){
+ layer.msg('鏁伴噺涓嶈兘灏忎簬宸蹭綔涓氭暟閲�', {icon: 2});
+ return false;
+ }
+ }
+ layer.load(2);
+ $.ajax({
+ url: baseUrl+"/order/form/" + (isExpAdd?"add":"modify") + "/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify({
+ orderId: Number(data.field.id),
+ docType: Number(data.field.docType),
+ orderNo: data.field.orderNo,
+ orderDetlList: nList
+ }),
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ layer.closeAll('loading');
+ if (res.code === 200){
+ layer.close(dIndex);
+ $(".layui-laypage-btn")[0].click();
+ layer.msg(res.msg, {icon: 1});
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg, {icon: 2});
+ }
+ }
+ })
+ return false;
+ });
+ // 鏄庣粏琛ㄦ牸
+ var xxDataList = [];
+ var tbOptions = {
+ elem: '#formSSXMTable',
+ headers: {token: localStorage.getItem('token')},
+ data: xxDataList,
+ page: true,
+ height: '350px;',
+ cellMinWidth: 100,
+ cols: [[
+ {type: 'numbers', title: '#'},
+ {field: 'matnr', title: '鍟嗗搧缂栫爜', width: 160},
+ {field: 'maktx', title: '鍟嗗搧鍚嶇О', width: 200},
+ {field: 'batch', title: '鎵瑰彿', edit: true},
+ {field: 'specs', title: '瑙勬牸'},
+ {field: 'anfme', title: '鏁伴噺(淇敼)', style: 'color: blue;font-weight: bold', edit: true, minWidth: 110, width: 110},
+ {field: 'workQty', title: '浣滀笟鏁伴噺', minWidth: 100, width: 100},
+ // {field: 'unit', title: '鍗曚綅', width: 80},
+ {field: 'memo', title: '澶囨敞' , edit: true},
+ {align: 'center', title: '鎿嶄綔', toolbar: '#formSSXMTableBar', minWidth: 80, width: 80, fixed: 'right'}
+ ]],
+ done: function (res) {
+ $(layero).find('.layui-table-view').css('margin', '0');
+ },
+ size: ''
+ };
+ if (!isExpAdd) {
+ $.ajax({
+ url: baseUrl+"/order/detl/all/auth?orderId=" + expTpe.id,
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ async: false,
+ success: function (res) {
+ if (res.code === 200){
+ xxDataList = res.data;
+ tbOptions.data = xxDataList;
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg, {icon: 2})
+ }
+ }
+ })
+ }
+ var insTbSSXM = table.render(tbOptions);
+ // 宸ュ叿鏉$偣鍑讳簨浠�
+ table.on('tool(formSSXMTable)', function (obj) {
+ var data = obj.data;
+ var layEvent = obj.event;
+ if (layEvent === 'edit') {
+ showEditModel2(data);
+ } else if (layEvent === 'del') {
+ if(data.workQty > 0){
+ layer.msg("宸插瓨鍦ㄤ綔涓氭暟閲忥紝涓嶈兘鍒犻櫎", {icon: 2});
+ return;
+ }
+ layer.confirm('纭畾瑕佸垹闄ゅ悧锛�', {
+ shade: .1,
+ skin: 'layui-layer-admin'
+ }, function (i) {
+ layer.close(i);
+ for (var j = 0; j < xxDataList.length; j++) {
+ if (xxDataList[j].matnr === data.matnr && xxDataList[j].batch === data.batch) {
+ xxDataList.splice(j, 1);
+ break;
+ }
+ }
+ insTbSSXM.reload({data: xxDataList, page: {curr: 1}});
+ });
+ }
+ });
+ // 鏄庣粏鏁版嵁淇敼
+ table.on('edit(formSSXMTable)', function (obj) {
+ let index = obj.tr.attr("data-index");
+ let data = xxDataList[index];
+ if (obj.field === 'anfme'){
+ let vle = Number(obj.value);
+ if (isNaN(vle)) {
+ layer.msg("璇疯緭鍏ユ暟瀛�", {icon: 2});
+ return false;
+ } else {
+ if (vle <= 0) {
+ layer.msg("鏁伴噺蹇呴』澶т簬闆�", {icon: 2});
+ // data[obj.field] = 0;
+ // insTbSSXM.reload({data: xxDataList});
+ return false;
+ }
+ if(obj.value < data.workQty){
+ layer.msg("杈撳叆鏁伴噺涓嶈兘灏忎簬浣滀笟涓暟閲�", {icon: 2});
+ // data[obj.field] = 0;
+ // insTbSSXM.reload({data: xxDataList});
+ return false;
+ }
+ }
+ }
+ data[obj.field] = obj.value;
+ insTbSSXM.reload({data: xxDataList});
+ });
+
+ $('#matAddBtnComment').click(function () {
+ showEditModel2();
+ });
+
+ // 鏄剧ず娣诲姞鏄庣粏琛ㄥ崟寮圭獥
+ function showEditModel2(exp) {
+ admin.open({
+ type: 1,
+ offset: '150px',
+ area: '680px',
+ title: (exp ? '淇敼' : '娣诲姞') + '鏄庣粏',
+ content: $('#matEditDialog').html(),
+ success: function (layero, dIndex) {
+ // 鍥炴樉鏁版嵁
+ form.val('matEditForm', exp);
+ // 琛ㄥ崟鎻愪氦浜嬩欢
+ form.on('submit(matEditSubmit)', function (data) {
+ let selectList = matXmSelect.getValue();
+ for (let i = 0; i<selectList.length; i++) {
+ let item = selectList[i];
+ // 鏌ヨ鐗╂枡璇︽儏
+ $.ajax({
+ url: baseUrl+"/mat/covert/"+item.value+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ async: false,
+ success: function (res) {
+ if (res.code === 200){
+ xxDataList.push(res.data);
+ insTbSSXM.reload({data: xxDataList, page: {curr: 1}});
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg, {icon: 2})
+ }
+ }
+ })
+ }
+ layer.close(dIndex);
+ return false;
+ });
+ // 娓叉煋鐗╂枡閫夋嫨
+ var matXmSelect = xmSelect.render({
+ el: '#mat',
+ style: {
+ width: '340px',
+ },
+ autoRow: true,
+ toolbar: { show: true },
+ filterable: true,
+ remoteSearch: true,
+ remoteMethod: function(val, cb, show){
+ $.ajax({
+ url: baseUrl+"/mat/all/get/kv",
+ headers: {'token': localStorage.getItem('token')},
+ data: {
+ condition: val
+ },
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ cb(res.data)
+ } else {
+ cb([]);
+ layer.msg(res.msg, {icon: 2});
+ }
+ }
+ });
+ }
+ })
+ // 寮圭獥涓嶅嚭鐜版粴鍔ㄦ潯
+ $(layero).children('.layui-layer-content').css('overflow', 'visible');
+ layui.form.render('select');
+ }
+ });
+ }
+
+ }
+ });
+ }
+
+ // 鍒犻櫎鍗曟嵁
+ function doDel(orderId) {
+ layer.confirm('纭畾瑕佸垹闄ゅ悧锛�', {
+ shade: .1,
+ skin: 'layui-layer-admin'
+ }, function (i) {
+ layer.close(i);
+ layer.load(2);
+ $.ajax({
+ url: baseUrl+"/order/delete/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {
+ orderId: orderId
+ },
+ method: 'POST',
+ success: function (res) {
+ layer.closeAll('loading');
+ if (res.code === 200){
+ if (insTbCount === 0) {
+ insTb.reload({page: {curr: 1}});
+ } else {
+ $(".layui-laypage-btn")[0].click();
+ }
+ layer.msg(res.msg, {icon: 1});
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg, {icon: 2});
+ }
+ }
+ })
+ });
+ }
+
+ // 淇敼璁㈠崟鐘舵��
+ function doModify(orderId, orderNo, settle) {
+ layer.confirm('纭畾瑕佹墜鍔ㄥ畬缁撳悧锛�', {
+ shade: .1,
+ skin: 'layui-layer-admin'
+ }, function (i) {
+ layer.close(i);
+ layer.load(2);
+ console.log(orderId);
+ console.log(settle);
+ $.ajax({
+ url: baseUrl+"/order/update/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {
+ id: orderId,
+ orderNo: orderNo,
+ settle: settle
+ },
+ method: 'POST',
+ success: function (res) {
+ layer.closeAll('loading');
+ if (res.code === 200){
+ if (insTbCount === 0) {
+ insTb.reload({page: {curr: 1}});
+ } else {
+ $(".layui-laypage-btn")[0].click();
+ }
+ layer.msg(res.msg, {icon: 1});
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg, {icon: 2});
+ }
+ }
+ })
+ });
+ }
+
+ layDate.render({
+ elem: '.layui-laydate-range'
+ ,type: 'datetime'
+ ,range: true
+ });
+});
diff --git a/src/main/webapp/static/wms/js/order/out.js b/src/main/webapp/static/wms/js/order/out.js
new file mode 100644
index 0000000..be85831
--- /dev/null
+++ b/src/main/webapp/static/wms/js/order/out.js
@@ -0,0 +1,384 @@
+var pageCurr;
+var insTb2;
+layui.config({
+ base: baseUrl + "/static/layui/lay/modules/"
+}).extend({
+ notice: 'notice/notice',
+}).use(['table','laydate', 'form', 'util', 'admin', 'notice', 'treeTable', 'xmSelect', 'tableMerge', 'tableX'], function(){
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+ var admin = layui.admin;
+ var util = layui.util;
+ var notice = layui.notice;
+ var treeTable = layui.treeTable;
+ var xmSelect = layui.xmSelect;
+ var tableMerge = layui.tableMerge;
+ var tableX = layui.tableX;
+
+ insTb2 = table.render({
+ elem: '#orderDetlTable',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/orderDetl/pakout/list/auth',
+ page: true,
+ limit: 15,
+ limits: [15, 30, 50, 100, 200, 500],
+ toolbar: '#orderDetToolbar',
+ height: 'full-120',
+ where: {order_id: 9999999999},
+ cols: [[
+ {type: 'checkbox'}
+ ,{type: 'numbers', title: '#'}
+ ,{field: 'orderNo', align: 'center',title: '鍗曟嵁缂栧彿', templet: '#orderNoTpl', width: 160}
+ ,{field: 'matnr', align: 'center',title: '鍟嗗搧缂栫爜', width: 160}
+ ,{field: 'maktx', align: 'center',title: '鍟嗗搧鍚嶇О', width: 200}
+ ,{field: 'batch', align: 'center',title: '搴忓垪鐮�'}
+ ,{field: 'specs', align: 'center',title: '瑙勬牸'}
+ // ,{field: 'anfme', align: 'center',title: '鏁伴噺'}
+ // ,{field: 'qty', align: 'center',title: '浣滀笟鏁伴噺', style: 'font-weight: bold'}
+ ,{field: 'enableQty', align: 'center',title: '寰呭嚭鏁伴噺', style: 'font-weight: bold'}
+ // ,{field: 'name', align: 'center',title: '鍚嶇О'}
+ // ,{field: 'model', align: 'center',title: '鍨嬪彿'}
+ ,{field: 'unit', align: 'center',title: '鍗曚綅', hide: true}
+ ,{field: 'barcode', align: 'center',title: '鍟嗗搧鏉$爜', hide: true}
+ // ,{field: 'supplier', align: 'center',title: '渚涘簲鍟�'}
+ // ,{field: 'unitPrice', align: 'center',title: '鍗曚环'}
+ // ,{field: 'itemNum', align: 'center',title: '鍝侀」鏁�'}
+ // ,{field: 'count', align: 'center',title: '鏁伴噺'}
+ // ,{field: 'weight', align: 'center',title: '閲嶉噺'}
+ // ,{field: 'status$', align: 'center',title: '鐘舵��'}
+ // ,{field: 'createBy$', align: 'center',title: '娣诲姞浜哄憳'}
+ // ,{field: 'createTime$', align: 'center',title: '娣诲姞鏃堕棿'}
+ // ,{field: 'updateBy$', align: 'center',title: '淇敼浜哄憳'}
+ // ,{field: 'updateTime$', align: 'center',title: '淇敼鏃堕棿'}
+ // ,{field: 'memo', align: 'center',title: '澶囨敞'}
+ ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width: 160}
+ ]],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+
+ /* 琛ㄦ牸2鎼滅储 */
+ form.on('submit(sensorTbSearch)', function (data) {
+ insTb2.reload({where: data.field, page: {curr: 1}});
+ return false;
+ });
+
+ /* 琛ㄦ牸2澶村伐鍏锋爮鐐瑰嚮浜嬩欢 */
+ table.on('toolbar(orderDetlTable)', function (obj) {
+
+ var checkStatus = table.checkStatus(obj.config.id).data;
+ if (obj.event === 'pakoutPreview') { // 娣诲姞
+ if (checkStatus.length === 0) {
+ layer.msg('璇烽�夋嫨鑷冲皯涓�鏉″嚭搴撴槑缁�', {icon: 2});
+ return;
+ }
+ pakoutPreview(checkStatus.map(function (d) {
+ return d.id;
+ }));
+ } else if (obj.event === 'del') { // 鍒犻櫎
+ var checkRows = table.checkStatus('sensorTable');
+ if (checkRows.data.length === 0) {
+ layer.msg('璇烽�夋嫨瑕佸垹闄ょ殑鏁版嵁', {icon: 2});
+ return;
+ }
+ var ids = checkRows.data.map(function (d) {
+ return d.id;
+ });
+ doDelSensor({ids: ids});
+ }
+ });
+
+ /* 琛ㄦ牸2宸ュ叿鏉$偣鍑讳簨浠� */
+ table.on('tool(orderDetlTable)', function (obj) {
+ console.log(obj);
+ var data = obj.data;
+ switch (obj.event) {
+ // 鍑哄簱
+ case 'pakoutPreview':
+ pakoutPreview([data.id])
+ break;
+ }
+ });
+
+ function pakoutPreview(ids) {
+ let loadIndex = layer.load(2);
+ $.ajax({
+ url: baseUrl + "/out/pakout/preview/auth",
+ headers: {'token': localStorage.getItem('token')},
+ contentType: 'application/json;charset=UTF-8',
+ data: JSON.stringify(ids),
+ method: 'POST',
+ success: function (res) {
+ layer.close(loadIndex);
+ var tableCache;
+ if (res.code === 200){
+ layer.open({
+ type: 1
+ ,title: false
+ ,closeBtn: false
+ ,offset: '50px'
+ ,area: ['1200px', '700px']
+ ,shade: 0.5
+ ,shadeClose: false
+ ,btn: ['绔嬪嵆鍑哄簱', '绋嶅悗澶勭悊']
+ ,btnAlign: 'c'
+ ,moveType: 1 //鎷栨嫿妯″紡锛�0鎴栬��1
+ ,content: $('#pakoutPreviewBox').html()
+ ,success: function(layero, index){
+ stoPreTabIdx = table.render({
+ elem: '#stoPreTab',
+ data: res.data,
+ height: 520,
+ page: false,
+ limit: Number.MAX_VALUE,
+ cellMinWidth: 100,
+ cols: [[
+ // {type: 'checkbox', merge: ['orderNo']},
+ {field: 'orderNo', title: '鍗曟嵁缂栧彿', merge: true, align: 'center'},
+ {field: 'title', title: '鍟嗗搧', merge: true, align: 'center', width: 350},
+ {field: 'batch', title: '搴忓垪鐮�', align: 'center'},
+ {field: 'anfme', title: '鏁伴噺', align: 'center', width: 90, style: 'font-weight: bold'},
+ {field: 'locNo', title: '璐т綅', align: 'center', width: 100, templet: '#locNoTpl'},
+ {field: 'staNos', align: 'center', title: '鍑哄簱绔�', merge: ['locNo'], templet: '#tbBasicTbStaNos'},
+ {type: 'checkbox', merge: ['locNo']},
+ ]],
+ done: function (res) {
+ tableMerge.render(this);
+ $('.layui-table-body.layui-table-main').css("overflow", "auto");
+ tableCache = tableData = table.cache.stoPreTab;
+ }
+ });
+ // 淇敼鍑哄簱绔�
+ form.on('select(tbBasicTbStaNos)', function (obj) {
+ let index = obj.othis.parents('tr').attr("data-index");
+ let data = tableCache[index];
+ for (let i = 0; i<tableCache.length; i++) {
+ if (tableCache[i].locNo === data.locNo) {
+ tableCache[i]['staNo'] = Number(obj.elem.value);
+ }
+ }
+ obj.othis.children().find("input").css("color", "blue");
+ return false;
+ });
+ // 鎵归噺淇敼鍑哄簱绔�
+ form.on('submit(batchModifySta)', function () {
+ let stoPreTabData = layui.table.checkStatus('stoPreTab').data;
+ if (stoPreTabData.length < 1) {
+ layer.msg("璇疯嚦灏戦�夋嫨涓�鏉′互涓婂悎骞舵暟鎹�", {icon: 7});
+ return false;
+ }
+ modifySta(stoPreTabData);
+ });
+ // 鎵归噺淇敼鍑哄簱绔� - 绔欑偣閫夋嫨
+ function modifySta(stoPreTabData) {
+ // 鍑哄簱绔欏彇浜ら泦
+ let staBatchSelectVal = [];
+ for(let i = 0; i<stoPreTabData.length; i++) {
+ let staNos = stoPreTabData[i].staNos;
+ if (staNos !== null) {
+ if (staBatchSelectVal.length === 0) {
+ staBatchSelectVal = staNos;
+ } else {
+ staBatchSelectVal = staBatchSelectVal.filter(val =>
+ {
+ return new Set(staNos).has(val)
+ }
+ )
+ }
+ }
+ }
+ if (staBatchSelectVal.length === 0) {
+ layer.msg("鍑哄簱绔欐病鏈変氦闆嗭紝鏃犳硶鎵归噺淇敼", {icon: 2});
+ return;
+ }
+ admin.open({
+ type: 1,
+ area: '300px',
+ offset: 'auto',
+ title: '璇烽�夋嫨绔欑偣',
+ content: $('#staBatchSelectDialog').html(),
+ success: function (layero, ddIndex) {
+ // 娓叉煋涓嬫媺妗�
+ let template = Handlebars.compile($('#batchStaSelectTpl').html());
+ $('#batchSelectStaBox').html(template({list: staBatchSelectVal}));
+ // 纭
+ form.on('submit(staBatchSelectConfirm)', function (obj) {
+ let loadIdx = layer.load(2);
+ let batchSta = Number(obj.field.batchSta);
+ let arr = [];
+ for (let j = 0; j<stoPreTabData.length; j++) {
+ for (let i = 0; i<tableCache.length; i++) {
+ if (tableCache[i].orderNo === stoPreTabData[j].orderNo
+ && tableCache[i].matnr === stoPreTabData[j].matnr
+ && tableCache[i].locNo === stoPreTabData[j].locNo) {
+ tableCache[i]['staNo'] = batchSta;
+ arr.push(i);
+ }
+ }
+ }
+ stoPreTabIdx.reload({data: tableCache});
+ arr.forEach(item => {
+ $('div[lay-id=stoPreTab] tr[data-index="' + item + '"] .order-sta-select').val(batchSta);
+ });
+ layui.form.render('select');
+ arr.forEach(item => {
+ $('div[lay-id=stoPreTab] tr[data-index="' + item + '"] .layui-select-title').find("input").css("color", "blue");
+ });
+ layer.close(loadIdx); layer.close(ddIndex);
+ return false;
+ });
+ // 寮圭獥涓嶅嚭鐜版粴鍔ㄦ潯
+ $(layero).children('.layui-layer-content').css('overflow', 'visible');
+ layui.form.render('select');
+ },
+ })
+ }
+
+ }
+ ,yes: function(index, layero){
+ //鎸夐挳銆愮珛鍗冲嚭搴撱�戠殑鍥炶皟
+ pakout(tableCache, index);
+ }
+ ,btn2: function(index, layero){
+ //鎸夐挳銆愮◢鍚庡鐞嗐�戠殑鍥炶皟
+ layer.close(index)
+ //return false 寮�鍚浠g爜鍙姝㈢偣鍑昏鎸夐挳鍏抽棴
+ }
+ });
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg, {icon: 2})
+ }
+ }
+ })
+ }
+
+ function pakout(tableCache, layerIndex) {
+ // let loadIndex = layer.load(2);
+ notice.msg('姝e湪鐢熸垚鍑哄簱浠诲姟......', {icon: 4});
+ $.ajax({
+ url: baseUrl + "/out/pakout/auth",
+ headers: {'token': localStorage.getItem('token')},
+ contentType: 'application/json;charset=UTF-8',
+ data: JSON.stringify(tableCache),
+ method: 'POST',
+ success: function (res) {
+ notice.destroy();
+ if (res.code === 200) {
+ layer.close(layerIndex);
+ layer.msg(res.msg, {icon: 1});
+ insTb.reload({where: null});
+ insTb2.reload({where: null, page: {curr: 1}});
+ } else if (res.code === 403) {
+ top.location.href = baseUrl + "/";
+ } else {
+ layer.msg(res.msg, {icon: 2})
+ }
+ }
+ });
+ }
+
+
+
+ /* 鍒犻櫎璁㈠崟 */
+ function doDelSensor(obj) {
+ layer.confirm('纭畾瑕佸垹闄ら�変腑鏁版嵁鍚楋紵', {
+ skin: 'layui-layer-admin',
+ shade: .1
+ }, function (i) {
+ layer.close(i);
+ var loadIndex = layer.load(2);
+ $.ajax({
+ url: baseUrl+"/sensor/delete/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {ids: obj.ids},
+ method: 'POST',
+ success: function (res) {
+ layer.close(loadIndex);
+ if (res.code === 200){
+ layer.msg(res.msg, {icon: 1});
+ $(".layui-laypage-btn")[0].click();
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg, {icon: 2});
+ }
+ }
+ })
+
+ });
+ }
+
+ // 淇敼鐘舵��
+ form.on('switch(statusSwitch)', function (obj) {
+ var index = obj.othis.parents('tr').attr("data-index");
+ var data = tableData[index];
+ data[this.name] = obj.elem.checked?1:0;
+ http.post(baseUrl+"/sensor/edit/auth", {id: data.id, status: data[this.name]}, function (res) {
+ layer.msg(res.msg, {icon: 1});
+ })
+ })
+
+ window.pakoutPreview = pakoutPreview;
+
+});
+
+function tableReload(child) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ (child ? parent.tableIns : tableIns).reload({
+ where: searchData,
+ page: {
+ curr: pageCurr
+ }
+ });
+}
+
+/**
+ * 涓�閿嚭搴�
+ */
+function autoOut(orderId) {
+ let loadIndex = layer.msg('璇锋眰涓�...', {icon: 16, shade: 0.01, time: false});
+ $.ajax({
+ url: baseUrl + "/out/pakout/orderDetlIds/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: { orderId : orderId },
+ method: 'POST',
+ success: function (res) {
+ layer.close(loadIndex);
+ if (res.code === 200){
+ pakoutPreview(res.data);
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg, {icon: 2});
+ }
+ }
+ })
+}
diff --git a/src/main/webapp/static/wms/js/orderDetl/orderDetl.js b/src/main/webapp/static/wms/js/orderDetl/orderDetl.js
new file mode 100644
index 0000000..caef270
--- /dev/null
+++ b/src/main/webapp/static/wms/js/orderDetl/orderDetl.js
@@ -0,0 +1,271 @@
+var pageCurr;
+layui.config({
+ base: baseUrl + "/static/layui/lay/modules/"
+}).use(['table','laydate', 'form', 'admin'], function(){
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+ var admin = layui.admin;
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#orderDetl',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/orderDetl/list/auth',
+ page: true,
+ limit: 15,
+ limits: [15, 30, 50, 100, 200, 500],
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ height: 'full-120',
+ cols: [[
+ {type: 'checkbox'}
+ ,{field: 'id', align: 'center',title: 'ID'}
+ ,{field: 'orderId$', align: 'center',title: '璁㈠崟鍐呯爜'}
+ ,{field: 'anfme', align: 'center',title: '鏁伴噺'}
+ ,{field: 'matnr', align: 'center',title: '鍟嗗搧缂栫爜'}
+ ,{field: 'maktx', align: 'center',title: '鍟嗗搧鍚嶇О'}
+ ,{field: 'name', align: 'center',title: '鍚嶇О'}
+ ,{field: 'specs', align: 'center',title: '瑙勬牸'}
+ ,{field: 'model', align: 'center',title: '鍨嬪彿'}
+ ,{field: 'batch', align: 'center',title: '鎵瑰彿'}
+ ,{field: 'unit', align: 'center',title: '鍗曚綅'}
+ ,{field: 'barcode', align: 'center',title: '鍟嗗搧鏉$爜'}
+ ,{field: 'supplier', align: 'center',title: '渚涘簲鍟�'}
+ ,{field: 'unitPrice', align: 'center',title: '鍗曚环'}
+ ,{field: 'itemNum', align: 'center',title: '鍝侀」鏁�'}
+ ,{field: 'count', align: 'center',title: '鏁伴噺'}
+ ,{field: 'weight', align: 'center',title: '閲嶉噺'}
+ ,{field: 'status$', align: 'center',title: '鐘舵��'}
+ ,{field: 'createBy$', align: 'center',title: '娣诲姞浜哄憳'}
+ ,{field: 'createTime$', align: 'center',title: '娣诲姞鏃堕棿'}
+ ,{field: 'updateBy$', align: 'center',title: '淇敼浜哄憳'}
+ ,{field: 'updateTime$', align: 'center',title: '淇敼鏃堕棿'}
+ ,{field: 'memo', align: 'center',title: '澶囨敞'}
+
+ ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:120}
+ ]],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+
+ // 鐩戝惉鎺掑簭浜嬩欢
+ table.on('sort(orderDetl)', function (obj) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ searchData['orderByField'] = obj.field;
+ searchData['orderByType'] = obj.type;
+ tableIns.reload({
+ where: searchData,
+ page: {curr: 1}
+ });
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(orderDetl)', function (obj) {
+ var checkStatus = table.checkStatus(obj.config.id).data;
+ switch(obj.event) {
+ case 'addData':
+ showEditModel();
+ break;
+ case 'deleteData':
+ if (checkStatus.length === 0) {
+ layer.msg('璇烽�夋嫨瑕佸垹闄ょ殑鏁版嵁', {icon: 2});
+ return;
+ }
+ del(checkStatus.map(function (d) {
+ return d.id;
+ }));
+ break;
+ case 'exportData':
+ admin.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+ var titles=[];
+ var fields=[];
+ obj.config.cols[0].map(function (col) {
+ if (col.type === 'normal' && col.hide === false && col.toolbar == null) {
+ titles.push(col.title);
+ fields.push(col.field);
+ }
+ });
+ var exportData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ exportData[this.name] = this.value;
+ });
+ var param = {
+ 'orderDetl': exportData,
+ 'fields': fields
+ };
+ $.ajax({
+ url: baseUrl+"/orderDetl/export/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ layer.closeAll();
+ if (res.code === 200) {
+ table.exportFile(titles,res.data,'xls');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg, {icon: 2})
+ }
+ }
+ });
+ });
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(orderDetl)', function(obj){
+ var data = obj.data;
+ switch (obj.event) {
+ case 'edit':
+ showEditModel(data);
+ break;
+ case "del":
+ del([data.id]);
+ break;
+ }
+ });
+
+ /* 寮圭獥 - 鏂板銆佷慨鏀� */
+ function showEditModel(mData) {
+ admin.open({
+ type: 1,
+ area: '600px',
+ title: (mData ? '淇敼' : '娣诲姞') + '璁㈠崟鐘舵��',
+ content: $('#editDialog').html(),
+ success: function (layero, dIndex) {
+ layDateRender(mData);
+ form.val('detail', mData);
+ form.on('submit(editSubmit)', function (data) {
+ var loadIndex = layer.load(2);
+ $.ajax({
+ url: baseUrl+"/orderDetl/"+(mData?'update':'add')+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: data.field,
+ method: 'POST',
+ success: function (res) {
+ layer.close(loadIndex);
+ if (res.code === 200){
+ layer.close(dIndex);
+ layer.msg(res.msg, {icon: 1});
+ tableReload();
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg, {icon: 2});
+ }
+ }
+ })
+ return false;
+ });
+ $(layero).children('.layui-layer-content').css('overflow', 'visible');
+ layui.form.render('select');
+ }
+ });
+ }
+
+ /* 鍒犻櫎 */
+ function del(ids) {
+ layer.confirm('纭畾瑕佸垹闄ら�変腑鏁版嵁鍚楋紵', {
+ skin: 'layui-layer-admin',
+ shade: .1
+ }, function (i) {
+ layer.close(i);
+ var loadIndex = layer.load(2);
+ $.ajax({
+ url: baseUrl+"/orderDetl/delete/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {ids: ids},
+ method: 'POST',
+ success: function (res) {
+ layer.close(loadIndex);
+ if (res.code === 200){
+ layer.msg(res.msg, {icon: 1});
+ tableReload();
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg, {icon: 2});
+ }
+ }
+ })
+ });
+ }
+
+ // 鎼滅储
+ form.on('submit(search)', function (data) {
+ pageCurr = 1;
+ tableReload(false);
+ });
+
+ // 閲嶇疆
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ tableReload(false);
+ });
+
+ // 鏃堕棿閫夋嫨鍣�
+ function layDateRender(data) {
+ setTimeout(function () {
+ layDate.render({
+ elem: '#createTime\\$',
+ type: 'datetime',
+ value: data!==undefined?data['createTime\\$']:null
+ });
+ layDate.render({
+ elem: '#updateTime\\$',
+ type: 'datetime',
+ value: data!==undefined?data['updateTime\\$']:null
+ });
+
+ }, 300);
+ }
+ layDateRender();
+
+});
+
+// 鍏抽棴鍔ㄤ綔
+$(document).on('click','#data-detail-close', function () {
+ parent.layer.closeAll();
+});
+
+function tableReload(child) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ tableIns.reload({
+ where: searchData,
+ page: {curr: pageCurr}
+ });
+}
diff --git a/src/main/webapp/static/wms/js/orderSettle/orderSettle.js b/src/main/webapp/static/wms/js/orderSettle/orderSettle.js
new file mode 100644
index 0000000..5c27b5e
--- /dev/null
+++ b/src/main/webapp/static/wms/js/orderSettle/orderSettle.js
@@ -0,0 +1,256 @@
+var pageCurr;
+layui.config({
+ base: baseUrl + "/static/layui/lay/modules/"
+}).use(['table','laydate', 'form', 'admin'], function(){
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+ var admin = layui.admin;
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#orderSettle',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/orderSettle/list/auth',
+ page: true,
+ limit: 15,
+ limits: [15, 30, 50, 100, 200, 500],
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ height: 'full-120',
+ cols: [[
+ {type: 'checkbox'}
+ ,{field: 'orderSettle', align: 'center',title: '璁㈠崟鐘舵��'}
+ ,{field: 'settleName', align: 'center',title: '鐘舵�佹弿杩�'}
+ // ,{field: 'createBy$', align: 'center',title: '娣诲姞浜哄憳'}
+ // ,{field: 'createTime$', align: 'center',title: '娣诲姞鏃堕棿'}
+ ,{field: 'updateBy$', align: 'center',title: '淇敼浜哄憳'}
+ ,{field: 'updateTime$', align: 'center',title: '淇敼鏃堕棿'}
+ ,{field: 'memo', align: 'center',title: '澶囨敞'}
+
+ ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:120}
+ ]],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+
+ // 鐩戝惉鎺掑簭浜嬩欢
+ table.on('sort(orderSettle)', function (obj) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ searchData['orderByField'] = obj.field;
+ searchData['orderByType'] = obj.type;
+ tableIns.reload({
+ where: searchData,
+ page: {curr: 1}
+ });
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(orderSettle)', function (obj) {
+ var checkStatus = table.checkStatus(obj.config.id).data;
+ switch(obj.event) {
+ case 'addData':
+ showEditModel();
+ break;
+ case 'deleteData':
+ if (checkStatus.length === 0) {
+ layer.msg('璇烽�夋嫨瑕佸垹闄ょ殑鏁版嵁', {icon: 2});
+ return;
+ }
+ del(checkStatus.map(function (d) {
+ return d.orderSettle;
+ }));
+ break;
+ case 'exportData':
+ admin.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+ var titles=[];
+ var fields=[];
+ obj.config.cols[0].map(function (col) {
+ if (col.type === 'normal' && col.hide === false && col.toolbar == null) {
+ titles.push(col.title);
+ fields.push(col.field);
+ }
+ });
+ var exportData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ exportData[this.name] = this.value;
+ });
+ var param = {
+ 'orderSettle': exportData,
+ 'fields': fields
+ };
+ $.ajax({
+ url: baseUrl+"/orderSettle/export/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ layer.closeAll();
+ if (res.code === 200) {
+ table.exportFile(titles,res.data,'xls');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg, {icon: 2})
+ }
+ }
+ });
+ });
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(orderSettle)', function(obj){
+ var data = obj.data;
+ switch (obj.event) {
+ case 'edit':
+ showEditModel(data);
+ break;
+ case "del":
+ del([data.orderSettle]);
+ break;
+ }
+ });
+
+ /* 寮圭獥 - 鏂板銆佷慨鏀� */
+ function showEditModel(mData) {
+ admin.open({
+ type: 1,
+ area: '600px',
+ title: (mData ? '淇敼' : '娣诲姞') + '璁㈠崟鐘舵��',
+ content: $('#editDialog').html(),
+ success: function (layero, dIndex) {
+ layDateRender(mData);
+ form.val('detail', mData);
+ form.on('submit(editSubmit)', function (data) {
+ var loadIndex = layer.load(2);
+ $.ajax({
+ url: baseUrl+"/orderSettle/"+(mData?'update':'add')+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: data.field,
+ method: 'POST',
+ success: function (res) {
+ layer.close(loadIndex);
+ if (res.code === 200){
+ layer.close(dIndex);
+ layer.msg(res.msg, {icon: 1});
+ tableReload();
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg, {icon: 2});
+ }
+ }
+ })
+ return false;
+ });
+ $(layero).children('.layui-layer-content').css('overflow', 'visible');
+ layui.form.render('select');
+ }
+ });
+ }
+
+ /* 鍒犻櫎 */
+ function del(ids) {
+ layer.confirm('纭畾瑕佸垹闄ら�変腑鏁版嵁鍚楋紵', {
+ skin: 'layui-layer-admin',
+ shade: .1
+ }, function (i) {
+ layer.close(i);
+ var loadIndex = layer.load(2);
+ $.ajax({
+ url: baseUrl+"/orderSettle/delete/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {ids: ids},
+ method: 'POST',
+ success: function (res) {
+ layer.close(loadIndex);
+ if (res.code === 200){
+ layer.msg(res.msg, {icon: 1});
+ tableReload();
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg, {icon: 2});
+ }
+ }
+ })
+ });
+ }
+
+ // 鎼滅储
+ form.on('submit(search)', function (data) {
+ pageCurr = 1;
+ tableReload(false);
+ });
+
+ // 閲嶇疆
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ tableReload(false);
+ });
+
+ // 鏃堕棿閫夋嫨鍣�
+ function layDateRender(data) {
+ setTimeout(function () {
+ layDate.render({
+ elem: '#createTime\\$',
+ type: 'datetime',
+ value: data!==undefined?data['createTime\\$']:null
+ });
+ layDate.render({
+ elem: '#updateTime\\$',
+ type: 'datetime',
+ value: data!==undefined?data['updateTime\\$']:null
+ });
+
+ }, 300);
+ }
+ layDateRender();
+
+});
+
+// 鍏抽棴鍔ㄤ綔
+$(document).on('click','#data-detail-close', function () {
+ parent.layer.closeAll();
+});
+
+function tableReload(child) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ tableIns.reload({
+ where: searchData,
+ page: {curr: pageCurr}
+ });
+}
diff --git a/src/main/webapp/static/wms/js/orderTable.js b/src/main/webapp/static/wms/js/orderTable.js
new file mode 100644
index 0000000..8d65b03
--- /dev/null
+++ b/src/main/webapp/static/wms/js/orderTable.js
@@ -0,0 +1,173 @@
+var insTb;
+layui.config({
+ base: baseUrl + "/static/layui/lay/modules/" // 閰嶇疆妯″潡鎵�鍦ㄧ殑鐩綍
+}).use(['table','laydate', 'form', 'admin', 'tableX'], function() {
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+ var admin = layui.admin;
+ var tableX = layui.tableX;
+
+ /****************************************** 宸﹁竟琛� *************************************************/
+
+ insTb = table.render({
+ elem: '#originTable',
+ url: baseUrl + '/order/nav/list/auth',
+ height: 'full-120',
+ headers: {token: localStorage.getItem('token')},
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ page: false,
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'data': res.data
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ // toolbar: ['<p>',
+ // '<button lay-event="add" class="layui-btn layui-btn-sm icon-btn"><i class="layui-icon"></i>娣诲姞</button> ',
+ // '<button lay-event="edit" class="layui-btn layui-btn-sm layui-btn-warm icon-btn"><i class="layui-icon"></i>淇敼</button> ',
+ // '<button lay-event="del" class="layui-btn layui-btn-sm layui-btn-danger icon-btn"><i class="layui-icon"></i>鍒犻櫎</button>',
+ // '</p>'].join(''),
+ defaultToolbar: [],
+ cols: [[
+ // {type: 'numbers', title: '#'},
+ {field: 'orderTime', title: '鏃ユ湡'},
+ {field: 'orderNo', title: '鍗曟嵁缂栧彿', align: 'center'}
+ ]],
+ done: function (res, curr, count) {
+ $('#dictTable+.layui-table-view .layui-table-body tbody>tr:first').trigger('click');
+
+ // 缁戝畾榧犳爣鍙抽敭
+ tableX.bindCtxMenu('originTable', function (d) {
+ return [
+ {
+ icon: 'layui-icon layui-icon-ok',
+ name: '涓�閿嚭搴�',
+ click: function (d) {
+ autoOut(d.id);
+ }
+ }
+ ]
+
+ })
+
+ }
+ });
+
+ /* 琛ㄦ牸鎼滅储 */
+ form.on('submit(originTableSearch)', function (data) {
+ insTb.reload({where: data.field});
+ return false;
+ });
+
+ /* 琛ㄦ牸閲嶇疆 */
+ form.on('submit(originTbReset)', function (data) {
+ insTb.reload({where: null});
+ insTb2.reload({where: null, page: {curr: 1}});
+ return false;
+ });
+
+ /* 琛ㄦ牸澶村伐鍏锋爮鐐瑰嚮浜嬩欢 */
+ table.on('toolbar(originTable)', function (obj) {
+ if (obj.event === 'add') { // 娣诲姞
+ showEdit();
+ } else if (obj.event === 'edit') { // 淇敼
+ if (selObj == null) {
+ return;
+ }
+ showEdit(selObj.data);
+ } else if (obj.event === 'del') { // 鍒犻櫎
+ if (selObj == null) {
+ return;
+ }
+ doDel(selObj);
+ }
+ });
+
+
+ /* 鐩戝惉琛屽崟鍑讳簨浠� */
+ var selObj;
+ table.on('row(originTable)', function (obj) {
+
+ selObj = obj;
+ obj.tr.addClass('layui-table-click').siblings().removeClass('layui-table-click');
+ insTb2.reload({where: {order_id: obj.data.id}, page: {curr: 1}});
+ });
+
+ /* 鏄剧ず琛ㄥ崟寮圭獥 */
+ function showEdit(mData) {
+ admin.open({
+ type: 1,
+ title: (mData ? '淇敼' : '娣诲姞') + '椤圭洰',
+ content: $('#hostEditDialog').html(),
+ success: function (layero, dIndex) {
+ // 鍥炴樉琛ㄥ崟鏁版嵁
+ form.val('hostEditForm', mData);
+ // 琛ㄥ崟鎻愪氦浜嬩欢
+ form.on('submit(hostEditSubmit)', function (data) {
+ var loadIndex = layer.load(2);
+ $.ajax({
+ url: baseUrl+"/host/"+(mData?'update':'add')+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: data.field,
+ method: 'POST',
+ success: function (res) {
+ layer.close(loadIndex);
+ selObj = null;
+ if (res.code === 200){
+ layer.close(dIndex);
+ layer.msg(res.msg, {icon: 1});
+ insTb.reload();
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg, {icon: 2});
+ }
+ }
+ })
+ return false;
+ });
+ }
+ });
+ }
+
+ /* 鍒犻櫎 */
+ function doDel(obj) {
+ layer.confirm('纭畾瑕佸垹闄ゆ鍗曟嵁绫诲瀷鍚楋紵', {
+ skin: 'layui-layer-admin',
+ shade: .1
+ }, function (i) {
+ layer.close(i);
+ var loadIndex = layer.load(2);
+ $.ajax({
+ url: baseUrl+"/host/delete/one/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {param: JSON.stringify(obj.data)},
+ method: 'POST',
+ success: function (res) {
+ selObj = null;
+ layer.close(loadIndex);
+ if (res.code === 200){
+ layer.closeAll();
+ insTb.reload();
+ $('#dictTable+.layui-table-view .layui-table-body tbody>tr:first').trigger('click');
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg, {icon: 2});
+ }
+ }
+ })
+ });
+ }
+
+})
diff --git a/src/main/webapp/static/wms/js/pack/pack.js b/src/main/webapp/static/wms/js/pack/pack.js
new file mode 100644
index 0000000..7236aae
--- /dev/null
+++ b/src/main/webapp/static/wms/js/pack/pack.js
@@ -0,0 +1,260 @@
+var pageCurr;
+layui.config({
+ base: baseUrl + "/static/layui/lay/modules/"
+}).use(['table','laydate', 'form', 'admin'], function(){
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+ var admin = layui.admin;
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#pack',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/pack/list/auth',
+ page: true,
+ limit: 15,
+ limits: [15, 30, 50, 100, 200, 500],
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ height: 'full-120',
+ cols: [[
+ {type: 'checkbox'}
+ // ,{field: 'id', align: 'center',title: 'ID'}
+ ,{field: 'barcode',title: '鏉$爜'}
+ ,{field: 'matnr', align: 'center',title: '鍟嗗搧缂栧彿', minWidth: 250, width: 250}
+ ,{field: 'batch', align: 'center',title: '鎵瑰彿', hide: true}
+ ,{field: 'settle$', align: 'center',title: '鐘舵��', templet: '#settleTpl', minWidth: 160, width: 160}
+ // ,{field: 'status$', align: 'center',title: '鐘舵��'}
+ // ,{field: 'createTime$', align: 'center',title: '娣诲姞鏃堕棿'}
+ // ,{field: 'createBy$', align: 'center',title: '娣诲姞浜哄憳'}
+ ,{field: 'updateTime$', align: 'center',title: '淇敼鏃堕棿', minWidth: 200, width: 200}
+ // ,{field: 'updateBy$', align: 'center',title: '淇敼浜哄憳'}
+ ,{field: 'memo', align: 'center',title: '澶囨敞', hide: true}
+
+ ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:120}
+ ]],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+
+ // 鐩戝惉鎺掑簭浜嬩欢
+ table.on('sort(pack)', function (obj) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ searchData['orderByField'] = obj.field;
+ searchData['orderByType'] = obj.type;
+ tableIns.reload({
+ where: searchData,
+ page: {curr: 1}
+ });
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(pack)', function (obj) {
+ var checkStatus = table.checkStatus(obj.config.id).data;
+ switch(obj.event) {
+ case 'addData':
+ showEditModel();
+ break;
+ case 'deleteData':
+ if (checkStatus.length === 0) {
+ layer.msg('璇烽�夋嫨瑕佸垹闄ょ殑鏁版嵁', {icon: 2});
+ return;
+ }
+ del(checkStatus.map(function (d) {
+ return d.id;
+ }));
+ break;
+ case 'exportData':
+ admin.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+ var titles=[];
+ var fields=[];
+ obj.config.cols[0].map(function (col) {
+ if (col.type === 'normal' && col.hide === false && col.toolbar == null) {
+ titles.push(col.title);
+ fields.push(col.field);
+ }
+ });
+ var exportData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ exportData[this.name] = this.value;
+ });
+ var param = {
+ 'pack': exportData,
+ 'fields': fields
+ };
+ $.ajax({
+ url: baseUrl+"/pack/export/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ layer.closeAll();
+ if (res.code === 200) {
+ table.exportFile(titles,res.data,'xls');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg, {icon: 2})
+ }
+ }
+ });
+ });
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(pack)', function(obj){
+ var data = obj.data;
+ switch (obj.event) {
+ case 'edit':
+ showEditModel(data);
+ break;
+ case "del":
+ del([data.id]);
+ break;
+ }
+ });
+
+ /* 寮圭獥 - 鏂板銆佷慨鏀� */
+ function showEditModel(mData) {
+ admin.open({
+ type: 1,
+ area: '600px',
+ title: (mData ? '淇敼' : '娣诲姞') + '鏁版嵁',
+ content: $('#editDialog').html(),
+ success: function (layero, dIndex) {
+ layDateRender(mData);
+ form.val('detail', mData);
+ form.on('submit(editSubmit)', function (data) {
+ var loadIndex = layer.load(2);
+ $.ajax({
+ url: baseUrl+"/pack/"+(mData?'update':'add')+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: data.field,
+ method: 'POST',
+ success: function (res) {
+ layer.close(loadIndex);
+ if (res.code === 200){
+ layer.close(dIndex);
+ layer.msg(res.msg, {icon: 1});
+ tableReload();
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg, {icon: 2});
+ }
+ }
+ })
+ return false;
+ });
+ $(layero).children('.layui-layer-content').css('overflow', 'visible');
+ layui.form.render('select');
+ }
+ });
+ }
+
+ /* 鍒犻櫎 */
+ function del(ids) {
+ layer.confirm('纭畾瑕佸垹闄ら�変腑鏁版嵁鍚楋紵', {
+ skin: 'layui-layer-admin',
+ shade: .1
+ }, function (i) {
+ layer.close(i);
+ var loadIndex = layer.load(2);
+ $.ajax({
+ url: baseUrl+"/pack/delete/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {ids: ids},
+ method: 'POST',
+ success: function (res) {
+ layer.close(loadIndex);
+ if (res.code === 200){
+ layer.msg(res.msg, {icon: 1});
+ tableReload();
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg, {icon: 2});
+ }
+ }
+ })
+ });
+ }
+
+ // 鎼滅储
+ form.on('submit(search)', function (data) {
+ pageCurr = 1;
+ tableReload(false);
+ });
+
+ // 閲嶇疆
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ tableReload(false);
+ });
+
+ // 鏃堕棿閫夋嫨鍣�
+ function layDateRender(data) {
+ setTimeout(function () {
+ layDate.render({
+ elem: '#createTime\\$',
+ type: 'datetime',
+ value: data!==undefined?data['createTime\\$']:null
+ });
+ layDate.render({
+ elem: '#updateTime\\$',
+ type: 'datetime',
+ value: data!==undefined?data['updateTime\\$']:null
+ });
+
+ }, 300);
+ }
+ layDateRender();
+
+});
+
+// 鍏抽棴鍔ㄤ綔
+$(document).on('click','#data-detail-close', function () {
+ parent.layer.closeAll();
+});
+
+function tableReload(child) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ tableIns.reload({
+ where: searchData,
+ page: {curr: pageCurr}
+ });
+}
diff --git a/src/main/webapp/static/wms/js/pakStore/emptyIn.js b/src/main/webapp/static/wms/js/pakStore/emptyIn.js
new file mode 100644
index 0000000..d5c36dc
--- /dev/null
+++ b/src/main/webapp/static/wms/js/pakStore/emptyIn.js
@@ -0,0 +1,67 @@
+var pageCurr;
+layui.use(['table','laydate', 'form'], function() {
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+
+ getInBound();
+ limit();
+
+ // 鑾峰彇鍏ュ簱鍙�
+ function getInBound(){
+ $.ajax({
+ url: baseUrl+"/available/empty/put/site",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'POST',
+ async: false,
+ success: function (res) {
+ if (res.code === 200){
+ var tpl = $("#putSiteSelectTemplate").html();
+ var template = Handlebars.compile(tpl);
+ var html = template(res);
+ $('#inSiteSelect').append(html);
+ form.render('select');
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+
+ // 绌烘澘鍏ュ簱
+ form.on('submit(inbound)', function (data) {
+ var inSite = $('#inSiteSelect').val();
+ let bucket = $("input:radio[name='bucketSelect']:checked").val();
+ if (isEmpty(bucket)) {
+ layer.msg("璇烽�夋嫨妗剁被鍨�", {icon: 2});
+ return;
+ }
+ $.ajax({
+ url: baseUrl+"/empty/plate/in/start",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'POST',
+ data: {
+ sourceStaNo: inSite,
+ bucket: Number(bucket),
+ },
+ async: false,
+ success: function (res) {
+ if (res.code === 200){
+ layer.msg("鍏ュ簱鍚姩鎴愬姛锛岀洰鏍囧簱浣嶏細" + res.data);
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ });
+
+
+
+})
+
diff --git a/src/main/webapp/static/wms/js/pakStore/emptyOut.js b/src/main/webapp/static/wms/js/pakStore/emptyOut.js
new file mode 100644
index 0000000..8bbc97c
--- /dev/null
+++ b/src/main/webapp/static/wms/js/pakStore/emptyOut.js
@@ -0,0 +1,189 @@
+var pageCurr;
+
+layui.config({
+ base: baseUrl + "/static/layui/lay/modules/"
+}).use(['table','laydate', 'form', 'admin'], function() {
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+ var admin = layui.admin;
+
+ // 鑾峰彇鍑哄簱鍙�
+ function getOutBound(){
+ $.ajax({
+ url: baseUrl+"/available/empty/take/site",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'POST',
+ async: false,
+ success: function (res) {
+ if (res.code === 200){
+ var tpl = $("#takeSiteSelectTemplate").html();
+ var template = Handlebars.compile(tpl);
+ var html = template(res);
+ $('#staNoSelect').append(html);
+ form.render('select');
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#locMast',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/locMast/list/auth',
+ page: true,
+ limit: 16,
+ limits: [16, 30, 50, 100, 200, 500],
+ where: {loc_sts: "D"},
+ even: true,
+ toolbar: '#toolbar',
+ defaultToolbar: ['filter'],
+ cellMinWidth: 50,
+ cols: [[
+ {type: 'checkbox', fixed: 'left'}
+ ,{field: 'locNo', align: 'center',title: '搴撲綅鍙�',sort:true}
+ ,{field: 'locSts$', align: 'center',title: '搴撲綅鐘舵��',width:200}
+ // ,{field: 'whsType$', align: 'center',title: '搴撲綅绫诲瀷'}
+ ,{field: 'crnNo', align: 'center',title: '鍫嗗灈鏈哄彿'}
+ ,{field: 'row1', align: 'center',title: '鎺�'}
+ ,{field: 'bay1', align: 'center',title: '鍒�'}
+ ,{field: 'lev1', align: 'center',title: '灞�'}
+ ,{field: 'fullPlt', align: 'center',title: '婊℃澘', templet:function(row){
+ var html = "<input value='fullPlt' type='checkbox' disabled=鈥榙isabled鈥� lay-skin='primary' lay-filter='tableCheckbox' table-index='"+row.LAY_TABLE_INDEX+"'";
+ if(row.fullPlt === 'Y'){html += " checked ";}
+ html += ">";
+ return html;
+ },width:80}
+ ,{field: 'modiUser$', align: 'center',title: '淇敼浜哄憳',event: 'modiUser'}
+ ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿'}
+ ]],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ getOutBound();
+ limit();
+ form.on('checkbox(tableCheckbox)', function (data) {
+ var _index = $(data.elem).attr('table-index')||0;
+ if(data.elem.checked){
+ res.data[_index][data.value] = 'Y';
+ }else{
+ res.data[_index][data.value] = 'N';
+ }
+ });
+ }
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(locMast)', function (obj) {
+ var data = table.checkStatus(obj.config.id).data;
+ switch (obj.event) {
+ case 'outbound':
+ var staNo = $("#staNoSelect").val();
+ if (staNo === "" || staNo === null){
+ layer.msg("璇烽�夋嫨鍑哄簱鍙�");
+ return;
+ }
+ var locNos = [];
+ data.forEach(function(elem) {
+ locNos.push(elem.locNo);
+ });
+ if (data.length === 0){
+ layer.msg('璇疯嚦灏戦�変腑涓�琛屾暟鎹�');
+ } else {
+ $.ajax({
+ url: baseUrl+"/empty/plate/out/start",
+ headers: {'token': localStorage.getItem('token')},
+ data: {
+ outSite: staNo,
+ locNos: locNos
+ },
+ method: 'POST',
+ traditional:true,
+ success: function (res) {
+ if (res.code === 200){
+ tableReload(); // 閲嶈浇琛ㄦ牸
+ getOutBound(); // 閲嶈浇鍑哄簱鍙�
+ layer.msg(res.msg);
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ });
+ }
+ break;
+ }
+ });
+
+ // 鎼滅储鏍忔悳绱簨浠�
+ form.on('submit(search)', function (data) {
+ pageCurr = 1;
+ $('#detlTable').css("display", 'none');
+ tableReload(false);
+ getOutBound();
+ });
+
+ // 鎼滅储鏍忛噸缃簨浠�
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ $('#detlTable').css("display", 'none');
+ tableReload(false);
+ getOutBound();
+ });
+
+})
+
+function tableReload(child) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ (child ? parent.tableIns : tableIns).reload({
+ where: searchData,
+ page: {
+ curr: pageCurr
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ if (res.data.length === 0 && count !== 0) {
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: pageCurr-1
+ }
+ });
+ pageCurr -= 1;
+ }
+ limit(child);
+ }
+ });
+}
diff --git a/src/main/webapp/static/wms/js/pakStore/locCheckOut.js b/src/main/webapp/static/wms/js/pakStore/locCheckOut.js
new file mode 100644
index 0000000..d2e5b58
--- /dev/null
+++ b/src/main/webapp/static/wms/js/pakStore/locCheckOut.js
@@ -0,0 +1,138 @@
+var locDetlLayerIdx;
+var tableIns;
+var locDetlData = [];
+function getCol() {
+ var cols = [
+ {field: 'locNo', align: 'center',title: '搴撲綅鍙�', merge: true, style: 'font-weight: bold'}
+ ];
+ cols.push.apply(cols, detlCols);
+ return cols;
+}
+
+layui.config({
+ base: baseUrl + "/static/layui/lay/modules/"
+}).use(['table','laydate', 'form', 'admin', 'tableMerge'], function() {
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+ var admin = layui.admin;
+ var tableMerge = layui.tableMerge;
+
+ tableIns = table.render({
+ elem: '#chooseData',
+ headers: {token: localStorage.getItem('token')},
+ data: [],
+ even: true,
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ cols: [getCol()],
+ done: function(res, curr, count) {
+ tableMerge.render(this);
+ limit();
+ getOutBound();
+ }
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(chooseData)', function (obj) {
+ switch (obj.event) {
+ case 'outbound':
+ if (locDetlData.length === 0){
+ layer.msg('璇峰厛娣诲姞鐩樼偣搴撳瓨', {icon: 2});
+ } else {
+ var staNo = $("#staNoSelect").val();
+ if (staNo === "" || staNo === null){
+ layer.msg("璇烽�夋嫨鐩樼偣绔�", {icon: 2});
+ return;
+ }
+ let param = {
+ outSite: staNo,
+ locDetls: locDetlData
+ }
+ $.ajax({
+ url: baseUrl+"/locCheck/out/start",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ locDetlData = [];
+ tableIns.reload({data: locDetlData});
+ layer.msg(res.msg, {icon: 1});
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg, {icon: 2})
+ }
+ }
+ });
+ }
+ break;
+ }
+ });
+
+ // 鑾峰彇鍑哄簱鍙�
+ function getOutBound(){
+ $.ajax({
+ url: baseUrl+"/available/take/check/site",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'POST',
+ async: false,
+ success: function (res) {
+ if (res.code === 200){
+ var tpl = $("#takeSiteSelectTemplate").html();
+ var template = Handlebars.compile(tpl);
+ var html = template(res);
+ $('#staNoSelect').append(html);
+ form.render('select');
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+
+ $(document).on('click','#mat-query', function () {
+ let loadIndex = layer.msg('璇锋眰涓�...', {icon: 16, shade: 0.01, time: false});
+ locDetlLayerIdx = layer.open({
+ type: 2,
+ title: false,
+ closeBtn: false,
+ maxmin: false,
+ area: ['90%', '85%'],
+ shadeClose: true,
+ content: 'locDetlCheckQuery.html',
+ success: function(layero, index){
+ layer.close(loadIndex);
+ }
+ });
+ })
+
+})
+
+// 娣诲姞琛ㄦ牸鏁版嵁
+function addTableData(data) {
+ for (let i=0;i<data.length;i++){
+ let pass = false;
+ for (let j=0;j<locDetlData.length;j++){
+ if (data[i].matnr === locDetlData[j].matnr && data[i].batch === locDetlData[j].batch && data[i].locNo$ === locDetlData[j].locNo$) {
+ pass = true;
+ break;
+ }
+ }
+ if (pass) {
+ data.splice(i--, 1);
+ } else {
+ data[i]["count"] = data[i]["anfme"];
+ }
+
+ }
+ locDetlData.push.apply(locDetlData, data);
+ tableIns.reload({data: locDetlData});
+ layer.close(locDetlLayerIdx);
+}
diff --git a/src/main/webapp/static/wms/js/pakStore/locMove.js b/src/main/webapp/static/wms/js/pakStore/locMove.js
new file mode 100644
index 0000000..542f6b9
--- /dev/null
+++ b/src/main/webapp/static/wms/js/pakStore/locMove.js
@@ -0,0 +1,135 @@
+var pageCurr = 0;
+var tableIns;
+function getCol() {
+ var cols = [
+ {field: 'locNo', align: 'center',title: '搴撲綅鍙�', merge: true, style: 'font-weight: bold'}
+ ];
+ cols.push.apply(cols, detlCols);
+ return cols;
+}
+
+layui.config({
+ base: baseUrl + "/static/layui/lay/modules/"
+}).use(['table','laydate', 'form', 'tableMerge'], function() {
+ var table = layui.table;
+ var $ = layui.jquery;
+ var form = layui.form;
+ var tableMerge = layui.tableMerge;
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#locMatCode',
+ headers: {token: localStorage.getItem('token')},
+ // url: baseUrl+'/locDetl/list/auth',
+ data:[],
+ page: true,
+ limit: 16,
+ limits: [16, 50, 100, 200, 500],
+ even: true,
+ cellMinWidth: 50,
+ cols: [getCol()],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ tableMerge.render(this);
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ clearSelect();
+ }
+ });
+
+});
+
+// 鎼滅储搴撲綅鐗╂枡
+function getLoc(el) {
+ tableIns.reload({
+ url: baseUrl+'/locDetl/list/auth'
+ , where: {loc_no: el.value}
+ , done:function (res) {
+ limit();
+ clearSelect();
+ // 鑾峰彇鍚屼竴鍫嗗灈鏈虹殑绌哄簱浣�
+ http.post(baseUrl + "/group/empty/stock", {sourceLocNo: el.value}, function (res) {
+ if (res.data != null) {
+ var tpl = $("#emptyLocStock").html();
+ var template = Handlebars.compile(tpl);
+ var html = template(res);
+ $('#targetLocNo').append(html);
+ layui.form.render('select');
+ }
+ });
+ }
+ });
+}
+
+// 绉诲簱鍚姩
+function locMove() {
+ var sourceLocNo = $("#sourceLocNo").val();
+ var targetLocNo = $("#targetLocNo").val();
+ if (sourceLocNo === null || sourceLocNo === ""){
+ $("#sourceLocNo").css("border-color", "red");
+ setTimeout(function () {
+ $("#sourceLocNo").css("border-color", "#b8b8b8");
+ }, 1000);
+ layer.msg("璇疯緭鍏ユ簮搴撲綅");
+ return;
+ }
+ if (targetLocNo === null || targetLocNo === "") {
+ $(".layui-select-title .layui-input").css("border-color", "red");
+ setTimeout(function () {
+ $(".layui-select-title .layui-input").css("border-color", "#b8b8b8");
+ }, 1000);
+ layer.msg("璇疯緭鍏ョ洰鏍囧簱浣�");
+ return;
+ }
+ $.ajax({
+ url: baseUrl + "/loc/move/start",
+ headers: {'token': localStorage.getItem('token')},
+ dataType: 'json',
+ data: {
+ sourceLocNo: sourceLocNo,
+ targetLocNo: targetLocNo
+ },
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200) {
+ $("#sourceLocNo").val("");
+ $("#targetLocNo").empty();
+ layui.form.render('select');
+ tableIns.reload({
+ data: [],
+ url: '',
+ done:function (res) {
+ limit();clearSelect();
+ }
+ });
+ layer.msg(res.msg);
+ } else if (res.code === 403) {
+ top.location.href = baseUrl + "/";
+ } else {
+ layer.msg(res.msg);
+ }
+ }
+ })
+}
+
+function clearSelect() {
+ $("#targetLocNo").empty();
+ layui.form.render('select');
+}
diff --git a/src/main/webapp/static/wms/js/pakStore/pakStore.js b/src/main/webapp/static/wms/js/pakStore/pakStore.js
new file mode 100644
index 0000000..45847ff
--- /dev/null
+++ b/src/main/webapp/static/wms/js/pakStore/pakStore.js
@@ -0,0 +1,279 @@
+var matCodeLayerIdx;
+var initCountVal = 0;
+var matCodeData = [];
+var grosswt=0.0;
+function getCol() {
+ var cols = [
+ {fixed: 'left', field: 'anfme', title: '閲嶉噺(kg)', align: 'center', edit:'text', width: 120, style:'color: blue;font-weight: bold'},
+ {field: 'batch', title: '鎵瑰彿锛堥�夊~锛�', align: 'center', edit:'text', width: 200, style:'color: block;font-weight: bold'}
+ ];
+ cols.push.apply(cols, matCols);
+ cols.push({fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width: 80})
+ return cols;
+}
+
+layui.config({
+ base: baseUrl + "/static/layui/lay/modules/"
+}).use(['admin', 'table','laydate', 'form'], function() {
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var form = layui.form;
+ var admin = layui.admin;
+
+ tableIns = table.render({
+ elem: '#chooseData',
+ data: [],
+ even: true,
+ limit: 500,
+ cellMinWidth: 50,
+ toolbar: '#toolbar',
+ cols: [getCol()],
+ done: function (res, curr, count) {
+ limit();
+ getInBound();
+ }
+ });
+
+ // 椤甸潰淇敼
+ table.on('edit(chooseData)', function (obj) {
+ let index = obj.tr.attr("data-index");
+ let data = matCodeData[index];
+ let modify = true;
+ if (obj.field === 'anfme'){
+ let vle = Number(obj.value);
+ if (isNaN(vle)) {
+ layer.msg("璇疯緭鍏ユ暟瀛�", {icon: 2});
+ modify = false;
+ } else {
+ if (vle <= 0) {
+ layer.msg("閲嶉噺蹇呴』澶т簬闆�", {icon: 2});
+ modify = false;
+ }
+ }
+ }
+ if (modify) {
+ data[obj.field] = obj.value;
+ }
+ tableIns.reload({data: matCodeData});
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(chooseData)', function (obj) {
+ var checkStatus = table.checkStatus(obj.config.id);
+ var data = checkStatus.data;
+ switch(obj.event) {
+ case 'comb':
+ // 鍒ゆ柇鏄惁瀛樺湪鐗╂枡
+ if (matCodeData.length === 0) {
+ layer.msg("璇峰厛鎻愬彇鍟嗗搧", {icon: 2});
+ return;
+ }
+ // 鍒ゆ柇鐗╂枡閲嶉噺鏄惁瀛樺湪寮傚父
+ for (var i=0;i<matCodeData.length;i++){
+ if (isNaN(matCodeData[i].anfme)) {
+ layer.msg("璇疯緭鍏ユ暟瀛�", {icon: 2});
+ return;
+ }
+ if (matCodeData[i].anfme <= 0){
+ layer.msg("閲嶉噺蹇呴』澶т簬闆�", {icon: 2});
+ return;
+ }
+ }
+ // let devpNo = $('#putSiteSelect').val();
+ // if (isEmpty(devpNo)) {
+ // layer.msg("璇烽�夋嫨鍏ュ簱绔�", {icon: 2});
+ // return;
+ // }
+ //鑾峰彇妗剁被鍨�
+ let devpNo = $("input:radio[name='bucketSelect']:checked").val();
+ if (isEmpty(devpNo)) {
+ layer.msg("璇烽�夋嫨绔欑偣鍙�", {icon: 2});
+ return;
+ }
+ $.ajax({
+ url: baseUrl+"/full/store/put/start",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify({
+ devpNo: Number(devpNo),
+ list: matCodeData
+ }),
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ async: false,
+ success: function (res) {
+ if (res.code === 200){
+ layer.msg("鍏ュ簱鍚姩鎴愬姛锛岀洰鏍囧簱浣嶏細" + res.data, {icon: 1});
+ matCodeData = [];
+ $('#focusMatByMat').val("");
+ tableIns.reload({data: matCodeData,done:function (res) { limit(); getInBound();}});
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg, {icon: 2})
+ }
+ }
+ })
+ break;
+ default:
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(chooseData)', function(obj){
+ switch (obj.event) {
+ case 'remove':
+ let index = obj.tr.attr("data-index");
+ matCodeData.splice(index, 1);
+ tableIns.reload({data: matCodeData});
+ break;
+ }
+ });
+
+ // 鑾峰彇鍙敤鍏ュ簱绔欑偣
+ function getInBound() {
+ $.ajax({
+ url: baseUrl + "/available/put/site",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200) {
+ var tpl = $("#putSiteSelectTemplate").html();
+ var template = Handlebars.compile(tpl);
+ var html = template(res);
+ $('#putSiteSelect').append(html);
+ form.render('select');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl + "/";
+ } else {
+ layer.msg(res.msg, {icon: 2})
+ }
+ }
+ })
+ }
+
+ // 鎻愬彇鐗╂枡
+ $(document).on('click','#mat-query', function () {
+ let loadIndex = layer.msg('璇锋眰涓�...', {icon: 16, shade: 0.01, time: false});
+ matCodeLayerIdx = admin.open({
+ type: 2,
+ title: false,
+ closeBtn: false,
+ maxmin: false,
+ area: ['90%', '85%'],
+ shadeClose: true,
+ content: 'matQuery.html',
+ success: function(layero, index){
+ layer.close(loadIndex);
+ }
+ });
+ })
+
+ //閫夋嫨绔欑偣鏃惰嚜鍔ㄨ幏鍙栫珯鐐圭О閲嶄俊鎭苟鏄剧ず
+ form.on('select(site)', function (data) {
+ if (data.value!=''){
+ $.ajax({
+ url: baseUrl + "/basDevp/weigh/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {
+ dev_no:Number(data.value)
+ },
+ method: 'GET',
+ async: false,
+ success: function (res) {
+ if (res == '' || res == 0){
+ if (matCodeData!=''){
+ matCodeData[0]['anfme']= 0;
+ tableIns.reload({data: matCodeData});
+ }
+ layer.msg("鏈幏鍙栧埌绔欑偣閲嶉噺淇℃伅", {icon: 2});
+ }else{
+ if (matCodeData!=''){
+ matCodeData[0]['anfme']= res;
+ tableIns.reload({data: matCodeData});
+ } else {
+ grosswt=res;
+ }
+ }
+ }
+ })
+ }
+ });
+ $("input[type='radio']").on("click",function(){
+ var devNo=$(this).val();
+ console.log(devNo);
+ if (devNo!=''){
+ $.ajax({
+ url: baseUrl + "/basDevp/weigh/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {
+ dev_no:Number(devNo)
+ },
+ method: 'GET',
+ async: false,
+ success: function (res) {
+ if (res == '' || res == 0){
+ if (matCodeData!=''){
+ matCodeData[0]['anfme']= 0;
+ tableIns.reload({data: matCodeData});
+ }
+ layer.msg("鏈幏鍙栧埌绔欑偣閲嶉噺淇℃伅", {icon: 2});
+ }else{
+ if (matCodeData!=''){
+ matCodeData[0]['anfme']= res;
+ tableIns.reload({data: matCodeData});
+ } else {
+ grosswt=res;
+ }
+ }
+ }
+ })
+ }
+ })
+});
+
+
+
+// 鎵爜
+function focusMat(el) {
+ if (isEmpty(el.value)) {
+ return
+ }
+ $.ajax({
+ url: baseUrl + "/mat/" + el.value + "/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200) {
+ matCodeData = [];
+ var param = new Array();
+ param[0] = res.data;
+ addTableData(param);
+ } else if (res.code === 403) {
+ top.location.href = baseUrl + "/";
+ } else {
+ layer.msg(res.msg, {icon: 2})
+ }
+ }
+ })
+}
+
+// 娣诲姞琛ㄦ牸鏁版嵁
+function addTableData(list) {
+ if (list.length==1&&matCodeData.length==0){
+ list.map(function (d) {
+ d['anfme'] = grosswt;
+ })
+ matCodeData.push.apply(matCodeData, list);
+ tableIns.reload({data: matCodeData});
+ layer.close(matCodeLayerIdx);
+ if (grosswt!=0){
+ grosswt=0;
+ }
+ }else if(matCodeData.length==1){
+ layer.msg("宸叉彁鍙栦竴鏉℃暟鎹�,閲嶆柊鎻愬彇璇峰垹闄ゅ凡鎻愬彇鏁版嵁", {icon: 2});
+ }else{
+ layer.msg("鍙兘鎻愬彇涓�鏉℃暟鎹�", {icon: 2});
+ }
+}
diff --git a/src/main/webapp/static/wms/js/pakStore/stockAdjust.js b/src/main/webapp/static/wms/js/pakStore/stockAdjust.js
new file mode 100644
index 0000000..8fbd4b5
--- /dev/null
+++ b/src/main/webapp/static/wms/js/pakStore/stockAdjust.js
@@ -0,0 +1,241 @@
+var initCountVal = 0;
+var initAnfmeVal = "-";
+var matCodeData = [];
+var currLocNo;
+var matCodeLayerIdx;
+function getCol() {
+ var cols = [
+ {fixed: 'left', field: 'count', title: '瀹為檯閲嶉噺', align: 'center', edit:'text', width: 120, style:'color: blue;font-weight: bold'}
+ ,{field: 'anfme', align: 'center',title: '閲嶉噺'}
+ ,{field: 'batch', align: 'center',title: '鎵瑰彿锛堢紪杈戯級', edit: true, style: 'font-weight:bold'}
+ ];
+ arrRemove(detlCols, "field", "anfme");
+ arrRemove(detlCols, "field", "batch");
+ cols.push.apply(cols, detlCols);
+ cols.push({fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:80})
+ return cols;
+}
+
+layui.config({
+ base: baseUrl + "/static/layui/lay/modules/"
+}).use(['table','laydate', 'form', 'admin'], function() {
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+ var admin = layui.admin;
+
+ tableIns = table.render({
+ elem: '#chooseData',
+ data: [],
+ even: true,
+ limit: 500,
+ cellMinWidth: 50,
+ toolbar: '#toolbar',
+ cols: [getCol()],
+ done: function (res, curr, count) {
+ limit();
+ }
+ });
+
+ // 椤甸潰淇敼
+ table.on('edit(chooseData)', function (obj) {
+ let index = obj.tr.attr("data-index");
+ let data = matCodeData[index];
+ let modify = true;
+ if (obj.field === 'count'){
+ let vle = Number(obj.value);
+ if (isNaN(vle)) {
+ layer.msg("璇疯緭鍏ユ暟瀛�", {icon: 2});
+ modify = false;
+ } else {
+ if (vle <= 0) {
+ layer.msg("閲嶉噺蹇呴』澶т簬闆�", {icon: 2});
+ modify = false;
+ }
+ }
+ }
+ if (modify) {
+ data[obj.field] = obj.value;
+ }
+ tableIns.reload({data: matCodeData});
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(chooseData)', function (obj) {
+ switch(obj.event) {
+ case 'adjust':
+ if (isEmpty(currLocNo)) {
+ layer.msg("璇峰厛妫�绱㈠簱浣�", {icon: 2})
+ inputTip($("#searchLocNo"));
+ return;
+ }
+ if (matCodeData.length === 0) {
+ layer.msg("璇峰厛娣诲姞鏄庣粏", {icon: 2});
+ return;
+ }
+ for (var i=0;i<matCodeData.length;i++){
+ if (isNaN(matCodeData[i].count)) {
+ layer.msg("璇疯緭鍏ユ暟瀛�", {icon: 2});
+ return;
+ }
+ if (matCodeData[i].count < 0){
+ layer.msg("閲嶉噺涓嶈兘灏忎簬闆�", {icon: 2});
+ return;
+ }
+ }
+ layer.confirm('纭畾璋冩暣'+currLocNo+'搴撲綅鐨勬槑缁嗗悧锛�', {shadeClose: true}, function(){
+ $.ajax({
+ url: baseUrl+"/locDdetl/adjust/start",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify({
+ locNo: currLocNo,
+ list: matCodeData
+ }),
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ async: false,
+ success: function (res) {
+ if (res.code === 200){
+ layer.msg(currLocNo + res.msg, {icon: 1});
+ init(currLocNo)
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg, {icon: 2})
+ }
+ }
+ })
+ });
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(chooseData)', function(obj){
+ var data = obj.data;
+ switch (obj.event) {
+ case 'remove':
+ let index = obj.tr.attr("data-index");
+ matCodeData.splice(index, 1);
+ tableIns.reload({data: matCodeData});
+ break;
+ }
+ });
+
+ // 妫�绱簨浠�
+ form.on('submit(search)', function (data) {
+ let locNo = data.field.loc_no;
+ if (locNo === "") {
+ inputTip($("#searchLocNo"));
+ layer.msg("璇疯緭鍏ュ簱浣嶅彿");
+ return;
+ }
+ init(locNo);
+ });
+
+ // 閲嶇疆浜嬩欢
+ form.on('submit(reset)', function (data) {
+ reset();
+ });
+
+ function init(locNo) {
+ http.post(baseUrl + "/locDetl/list/auth", {locNo: locNo,limit: 1000}, function (res) {
+ matCodeData = [];
+ matCodeData = res.data.records;
+ for (var i = 0; i<matCodeData.length; i++) {
+ matCodeData[i]["count"] = matCodeData[i]["anfme"];
+ }
+ locTips(true, locNo);
+ tableReload();
+ })
+ }
+
+ function reset() {
+ clearFormVal($('#search-box'));
+ matCodeData = [];
+ tableReload();
+ locTips(false);
+ }
+
+ // 閲嶈浇琛ㄦ牸
+ function tableReload() {
+ tableIns.reload({data: matCodeData});
+ }
+
+ // 搴撲綅鎻愮ず妗�
+ function locTips(retrieve, locNo) {
+ if (retrieve) {
+ http.post(baseUrl+"/locMast/"+locNo+"/auth", null, function (res) {
+ let data = res.data;
+ if (data != null) {
+ $(".retrieve").show();
+ $("#locMsg").html(locNo + " ,搴撲綅鐘舵�侊細" + data.locSts$);
+ $('.not-retrieve').hide();
+ currLocNo = locNo;
+ } else {
+ layer.msg("璇疯緭鍏ユ湁鏁堝簱浣嶅彿", {icon: 2});
+ $('.not-retrieve').show();
+ $("#locMsg").html("");
+ $(".retrieve").hide();
+ currLocNo = null;
+ inputTip($("#searchLocNo"));
+ }
+ })
+ } else {
+ $('.not-retrieve').show();
+ $("#locMsg").html("");
+ $(".retrieve").hide();
+ currLocNo = null;
+ }
+ }
+
+ $(document).on('click','#mat-query', function () {
+ if (isEmpty(currLocNo)) {
+ layer.msg("璇峰厛妫�绱㈠簱浣�")
+ inputTip($("#searchLocNo"));
+ return;
+ }
+ let loadIndex = layer.msg('璇锋眰涓�...', {icon: 16, shade: 0.01, time: false});
+ matCodeLayerIdx = admin.open({
+ type: 2,
+ title: false,
+ closeBtn: false,
+ maxmin: false,
+ area: ['90%', '85%'],
+ shadeClose: true,
+ content: 'matQuery.html',
+ success: function(layero, index){
+ layer.close(loadIndex);
+ }
+ });
+ })
+
+})
+
+// 鎼滅储妗嗙┖鍊兼彁绀�
+function inputTip(el) {
+ el.css("border-color", "red");
+ setTimeout(function () {
+ el.css("border-color", "#b8b8b8");
+ }, 1000);
+}
+
+// 娣诲姞琛ㄦ牸鏁版嵁
+function addTableData(data) {
+ for (let i=0;i<data.length;i++){
+ for (let j=0;j<matCodeData.length;j++){
+ if (data[i].matnr === matCodeData[j].matnr && data[i].batch === matCodeData[j].batch) {
+ data.splice(i, 1);
+ break;
+ } else {
+ data[i]['anfme'] = initAnfmeVal;
+ data[i]['count'] = initCountVal;
+ }
+ }
+ }
+ matCodeData.push.apply(matCodeData, data);
+ tableIns.reload({data: matCodeData});
+ layer.close(matCodeLayerIdx);
+}
diff --git a/src/main/webapp/static/wms/js/pakStore/stockOut.js b/src/main/webapp/static/wms/js/pakStore/stockOut.js
new file mode 100644
index 0000000..830e4fa
--- /dev/null
+++ b/src/main/webapp/static/wms/js/pakStore/stockOut.js
@@ -0,0 +1,177 @@
+var locDetlLayerIdx;
+var locDetlData = [];
+function getCol() {
+ var cols = [
+ {field: 'count', align: 'center',title: '閲嶉噺锛坘g锛�',edit:'text', width: 130, style:'color: blue;font-weight: bold'}
+ // ,{field: 'anfme', align: 'center',title: '搴撳瓨閲嶉噺'}
+ ,{field: 'locNo$', align: 'center',title: '搴撲綅鍙�'}
+ ];
+ arrRemove(detlCols, 'field', 'anfme');
+ cols.push.apply(cols, detlCols);
+ cols.push({fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width: 80})
+ return cols;
+}
+
+layui.config({
+ base: baseUrl + "/static/layui/lay/modules/"
+}).use(['table','laydate', 'form', 'admin'], function() {
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var form = layui.form;
+ var admin = layui.admin;
+
+ tableIns = table.render({
+ elem: '#chooseData',
+ headers: {token: localStorage.getItem('token')},
+ data: [],
+ even: true,
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ limit: 500,
+ cols: [getCol()],
+ done: function(res, curr, count) {
+ limit();
+ getOutBound();
+ }
+ });
+
+ // 椤甸潰淇敼
+ table.on('edit(chooseData)', function (obj) {
+ let index = obj.tr.attr("data-index");
+ let data = locDetlData[index];
+ let modify = true;
+ if (obj.field === 'count'){
+ let vle = Number(obj.value);
+ if (isNaN(vle)) {
+ layer.msg("璇疯緭鍏ユ暟瀛�", {icon: 2});
+ modify = false;
+ } else {
+ if (vle <= 0) {
+ layer.msg("鏁伴噺蹇呴』澶т簬闆�", {icon: 2});
+ modify = false;
+ }
+ if (vle > Number(data.anfme)) {
+ layer.msg("鍑哄簱鏁伴噺涓嶅緱澶т簬搴撳瓨鏁伴噺", {icon: 2});
+ modify = false;
+ }
+ }
+ }
+ if (modify) {
+ data[obj.field] = obj.value;
+ }
+ tableIns.reload({data: locDetlData});
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(chooseData)', function (obj) {
+ switch (obj.event) {
+ case 'outbound':
+ if (locDetlData.length === 0){
+ layer.msg('璇峰厛鎻愬彇鍟嗗搧搴撳瓨', {icon: 2});
+ } else {
+ var staNo = $("#staNoSelect").val();
+ if (staNo === "" || staNo === null){
+ layer.msg("璇烽�夋嫨鍑哄簱鍙�", {icon: 2});
+ return;
+ }
+ let param = {
+ outSite: staNo,
+ locDetls: locDetlData
+ }
+ $.ajax({
+ url: baseUrl+"/plate/out/start",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ locDetlData = [];
+ tableIns.reload({data: locDetlData,done:function (res) {limit();getOutBound();}});
+ layer.msg(res.msg, {icon: 1});
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg, {icon: 2})
+ }
+ }
+ });
+ }
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(chooseData)', function(obj){
+ switch (obj.event) {
+ case 'remove':
+ let index = obj.tr.attr("data-index");
+ locDetlData.splice(index, 1);
+ tableIns.reload({data: locDetlData});
+ break;
+ }
+ });
+
+ // 鑾峰彇鍑哄簱鍙�
+ function getOutBound(){
+ $.ajax({
+ url: baseUrl+"/available/take/site",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'POST',
+ async: false,
+ success: function (res) {
+ if (res.code === 200){
+ var tpl = $("#takeSiteSelectTemplate").html();
+ var template = Handlebars.compile(tpl);
+ var html = template(res);
+ $('#staNoSelect').append(html);
+ form.render('select');
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+
+
+ $(document).on('click','#mat-query', function () {
+ let loadIndex = layer.msg('璇锋眰涓�...', {icon: 16, shade: 0.01, time: false});
+ locDetlLayerIdx = layer.open({
+ type: 2,
+ title: false,
+ closeBtn: false,
+ maxmin: false,
+ area: ['90%', '85%'],
+ shadeClose: true,
+ content: 'locDetlQuery.html',
+ success: function(layero, index){
+ layer.close(loadIndex);
+ }
+ });
+ })
+
+})
+
+// 娣诲姞琛ㄦ牸鏁版嵁
+function addTableData(data) {
+ for (var i=0;i<data.length;i++){
+ let pass = false;
+ for (var j=0;j<locDetlData.length;j++){
+ if (data[i].matnr === locDetlData[j].matnr && data[i].batch === locDetlData[j].batch && data[i].locNo$ === locDetlData[j].locNo$) {
+ pass = true;
+ break;
+ }
+ }
+ if (pass) {
+ data.splice(i--, 1);
+ } else {
+ data[i]["count"] = data[i]["anfme"];
+ }
+ }
+ locDetlData.push.apply(locDetlData, data);
+ tableIns.reload({data: locDetlData});
+ layer.close(locDetlLayerIdx);
+}
diff --git a/src/main/webapp/static/js/permission/permission.js b/src/main/webapp/static/wms/js/permission/permission.js
similarity index 100%
rename from src/main/webapp/static/js/permission/permission.js
rename to src/main/webapp/static/wms/js/permission/permission.js
diff --git a/src/main/webapp/static/js/report/inOut.js b/src/main/webapp/static/wms/js/report/inOut.js
similarity index 100%
rename from src/main/webapp/static/js/report/inOut.js
rename to src/main/webapp/static/wms/js/report/inOut.js
diff --git a/src/main/webapp/static/js/report/locMap.js b/src/main/webapp/static/wms/js/report/locMap.js
similarity index 100%
rename from src/main/webapp/static/js/report/locMap.js
rename to src/main/webapp/static/wms/js/report/locMap.js
diff --git a/src/main/webapp/static/js/report/reportStockUse.js b/src/main/webapp/static/wms/js/report/reportStockUse.js
similarity index 100%
rename from src/main/webapp/static/js/report/reportStockUse.js
rename to src/main/webapp/static/wms/js/report/reportStockUse.js
diff --git a/src/main/webapp/static/js/report/stayTime.js b/src/main/webapp/static/wms/js/report/stayTime.js
similarity index 100%
rename from src/main/webapp/static/js/report/stayTime.js
rename to src/main/webapp/static/wms/js/report/stayTime.js
diff --git a/src/main/webapp/static/js/report/workCountIn.js b/src/main/webapp/static/wms/js/report/workCountIn.js
similarity index 100%
rename from src/main/webapp/static/js/report/workCountIn.js
rename to src/main/webapp/static/wms/js/report/workCountIn.js
diff --git a/src/main/webapp/static/js/report/workCountOut.js b/src/main/webapp/static/wms/js/report/workCountOut.js
similarity index 100%
rename from src/main/webapp/static/js/report/workCountOut.js
rename to src/main/webapp/static/wms/js/report/workCountOut.js
diff --git a/src/main/webapp/static/js/report/workIn.js b/src/main/webapp/static/wms/js/report/workIn.js
similarity index 100%
rename from src/main/webapp/static/js/report/workIn.js
rename to src/main/webapp/static/wms/js/report/workIn.js
diff --git a/src/main/webapp/static/js/report/workOut.js b/src/main/webapp/static/wms/js/report/workOut.js
similarity index 100%
rename from src/main/webapp/static/js/report/workOut.js
rename to src/main/webapp/static/wms/js/report/workOut.js
diff --git a/src/main/webapp/static/js/resource/resource.js b/src/main/webapp/static/wms/js/resource/resource.js
similarity index 100%
rename from src/main/webapp/static/js/resource/resource.js
rename to src/main/webapp/static/wms/js/resource/resource.js
diff --git a/src/main/webapp/static/js/role/role.js b/src/main/webapp/static/wms/js/role/role.js
similarity index 100%
rename from src/main/webapp/static/js/role/role.js
rename to src/main/webapp/static/wms/js/role/role.js
diff --git a/src/main/webapp/static/js/role/rolePower.js b/src/main/webapp/static/wms/js/role/rolePower.js
similarity index 100%
rename from src/main/webapp/static/js/role/rolePower.js
rename to src/main/webapp/static/wms/js/role/rolePower.js
diff --git a/src/main/webapp/static/wms/js/rowLastno/rowLastno.js b/src/main/webapp/static/wms/js/rowLastno/rowLastno.js
new file mode 100644
index 0000000..bd2356e
--- /dev/null
+++ b/src/main/webapp/static/wms/js/rowLastno/rowLastno.js
@@ -0,0 +1,482 @@
+var pageCurr;
+layui.use(['table','laydate', 'form'], function(){
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#rowLastno',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/rowLastno/list/auth',
+ page: true,
+ limit: 16,
+ limits: [16, 30, 50, 100, 200, 500],
+ even: true,
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ cols: [[
+ {type: 'checkbox', fixed: 'left'}
+// ,{field: 'id', title: 'ID', sort: true,align: 'center', fixed: 'left', width: 80}
+ ,{field: 'whsType', align: 'center',title: '绫诲埆', width:80}
+ ,{field: 'wrkMk', align: 'center',title: '褰撳墠宸ヤ綔鍙�'}
+ ,{field: 'sRow', align: 'center',title: '璧峰鎺掑彿'}
+ ,{field: 'currentRow', align: 'center',title: '褰撳墠鎺掑彿', style: 'color: #AA3130;font-weight: bold'}
+ ,{field: 'eRow', align: 'center',title: '缁堟鎺掑彿'}
+ ,{field: 'crnQty', align: 'center',title: '鍫嗗灈鏈烘暟閲�'}
+ ,{field: 'memo', align: 'center',title: '澶囨敞'}
+ ,{field: 'modiUser$', align: 'center',title: '淇敼浜哄憳', hide:true}
+ ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿', hide:true}
+
+ ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:120}
+ ]],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ form.on('checkbox(tableCheckbox)', function (data) {
+ var _index = $(data.elem).attr('table-index')||0;
+ if(data.elem.checked){
+ res.data[_index][data.value] = 'Y';
+ }else{
+ res.data[_index][data.value] = 'N';
+ }
+ });
+ }
+ });
+
+ // 鐩戝惉鎺掑簭浜嬩欢
+ table.on('sort(rowLastno)', function (obj) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ searchData['orderByField'] = obj.field;
+ searchData['orderByType'] = obj.type;
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: 1
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(rowLastno)', function (obj) {
+ var checkStatus = table.checkStatus(obj.config.id);
+ switch(obj.event) {
+ case 'addData':
+ layer.open({
+ type: 2,
+ title: '鏂板',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: 'rowLastno_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-edit', index).hide();
+ clearFormVal(layer.getChildFrame('#detail', index));
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ }
+ });
+ break;
+ case 'refreshData':
+ tableIns.reload({
+ page: {
+ curr: pageCurr
+ }
+ });
+ limit();
+ break;
+ case 'deleteData':
+ var data = checkStatus.data;
+ if (data.length === 0){
+ layer.msg('璇烽�夋嫨鏁版嵁');
+ } else {
+ layer.confirm('纭畾鍒犻櫎'+(data.length===1?'姝�':data.length)+'鏉℃暟鎹悧', function(){
+ $.ajax({
+ url: baseUrl+"/rowLastno/delete/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {param: JSON.stringify(data)},
+ method: 'POST',
+ traditional:true,
+ success: function (res) {
+ if (res.code === 200){
+ layer.closeAll();
+ tableReload(false);
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ });
+ }
+ break;
+ case 'exportData':
+ layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+ var titles=[];
+ var fields=[];
+ obj.config.cols[0].map(function (col) {
+ if (col.type === 'normal' && col.hide === false && col.toolbar == null) {
+ titles.push(col.title);
+ fields.push(col.field);
+ }
+ });
+ var exportData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ exportData[this.name] = this.value;
+ });
+ var param = {
+ 'rowLastno': exportData,
+ 'fields': fields
+ };
+ $.ajax({
+ url: baseUrl+"/rowLastno/export/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ layer.closeAll();
+ if (res.code === 200) {
+ table.exportFile(titles,res.data,'xls');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ });
+ });
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(rowLastno)', function(obj){
+ var data = obj.data;
+ switch (obj.event) {
+ // 璇︽儏
+ case 'detail':
+ layer.open({
+ type: 2,
+ title: '璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: 'rowLastno_detail.html',
+ success: function(layero, index){
+ setFormVal(layer.getChildFrame('#detail', index), data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+ // 缂栬緫
+ case 'edit':
+ layer.open({
+ type: 2,
+ title: '淇敼',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: 'rowLastno_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-save', index).hide();
+ setFormVal(layer.getChildFrame('#detail', index), data, false);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), false);
+ top.convertDisabled(layer.getChildFrame('#whsType', index), true);
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+ case 'modiUser':
+ var param = top.reObject(data).modiUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '淇敼璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+ case 'appeUser':
+ var param = top.reObject(data).appeUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '鍒涜鎯�',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#password,#createTime\\$,#status', index).parent().parent().hide();
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+
+ }
+ });
+
+ // 鏁版嵁淇濆瓨鍔ㄤ綔
+ form.on('submit(save)', function () {
+ if (banMsg != null){
+ layer.msg(banMsg);
+ return;
+ }
+ method("add");
+ });
+
+ // 鏁版嵁淇敼鍔ㄤ綔
+ form.on('submit(edit)', function () {
+ method("update")
+ });
+
+ function method(name){
+ var index = layer.load(1, {
+ shade: [0.5,'#000'] //0.1閫忔槑搴︾殑鑳屾櫙
+ });
+ var data = {
+// id: $('#id').val(),
+ whsType: $('#whsType').val(),
+ wrkMk: $('#wrkMk').val(),
+ currentRow: $('#currentRow').val(),
+ sRow: $('#sRow').val(),
+ eRow: $('#eRow').val(),
+ crnQty: $('#crnQty').val(),
+ memo: $('#memo').val(),
+ modiUser: $('#modiUser').val(),
+ modiTime: top.strToDate($('#modiTime\\$').val()),
+ appeUser: $('#appeUser').val(),
+ appeTime: top.strToDate($('#appeTime\\$').val()),
+ limintLoc: $('#limintLoc').val(),
+
+ };
+ $.ajax({
+ url: baseUrl+"/rowLastno/"+name+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: top.reObject(data),
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ parent.layer.closeAll();
+ parent.$(".layui-laypage-btn")[0].click();
+ $("#data-detail :input").each(function () {
+ $(this).val("");
+ });
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ layer.close(index);
+ }
+ })
+ }
+
+ // 澶嶉�夋浜嬩欢
+ form.on('checkbox(detailCheckbox)', function (data) {
+ var el = data.elem;
+ if (el.checked) {
+ $(el).val('Y');
+ } else {
+ $(el).val('N');
+ }
+ });
+
+ // 鎼滅储鏍忔悳绱簨浠�
+ form.on('submit(search)', function (data) {
+ pageCurr = 1;
+ tableReload(false);
+ });
+
+ // 鎼滅储鏍忛噸缃簨浠�
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ tableReload(false);
+ });
+
+ // 鏃堕棿閫夋嫨鍣�
+ layDate.render({
+ elem: '#modiTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#appeTime\\$',
+ type: 'datetime'
+ });
+
+
+});
+
+// 鍏抽棴鍔ㄤ綔
+$(document).on('click','#data-detail-close', function () {
+ parent.layer.closeAll();
+});
+
+function tableReload(child) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ (child ? parent.tableIns : tableIns).reload({
+ where: searchData,
+ page: {
+ curr: pageCurr
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ if (res.data.length === 0 && count !== 0) {
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: pageCurr-1
+ }
+ });
+ pageCurr -= 1;
+ }
+ limit(child);
+ }
+ });
+}
+
+function setFormVal(el, data, showImg) {
+ for (var val in data) {
+ var find = el.find(":input[id='" + val + "']");
+ if (find[0]!=null){
+ if (find[0].type === 'checkbox'){
+ if (data[val]==='Y'){
+ find.attr("checked","checked");
+ find.val('Y');
+ } else {
+ find.remove("checked");
+ find.val('N');
+ }
+ continue;
+ }
+ }
+ find.val(data[val]);
+ if (showImg){
+ var next = find.next();
+ if (next.get(0)){
+ if (next.get(0).localName === "img") {
+ find.hide();
+ next.attr("src", data[val]);
+ next.show();
+ }
+ }
+ }
+ }
+}
+
+function clearFormVal(el) {
+ $(':input', el)
+ .val('')
+ .removeAttr('checked')
+ .removeAttr('selected');
+}
+
+function detailScreen(index) {
+ var detail = layer.getChildFrame('#data-detail', index);
+ var height = detail.height()+60;
+ if (height > ($(window).height()*0.9)) {
+ height = ($(window).height()*0.8);
+ }
+ layer.style(index, {
+// top: (($(window).height()-height)/3)+"px",
+ height: height+'px'
+ });
+}
+
+$('body').keydown(function () {
+ if (event.keyCode === 13) {
+ $("#search").click();
+ }
+});
diff --git a/src/main/webapp/static/wms/js/staDesc/staDesc.js b/src/main/webapp/static/wms/js/staDesc/staDesc.js
new file mode 100644
index 0000000..8e38517
--- /dev/null
+++ b/src/main/webapp/static/wms/js/staDesc/staDesc.js
@@ -0,0 +1,618 @@
+var pageCurr;
+layui.use(['table','laydate', 'form'], function(){
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#staDesc',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/staDesc/list/auth',
+ page: true,
+ limit: 16,
+ limits: [16, 30, 50, 100, 200, 500],
+ even: true,
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ cols: [[
+ {type: 'checkbox'}
+// ,{field: 'id', title: 'ID', sort: true,align: 'center', fixed: 'left', width: 80}
+// ,{field: 'typeId', align: 'center',title: '璺緞ID'}
+ ,{field: 'typeNo$', align: 'center',title: '鍏ュ嚭搴撶被鍨�'}
+ // ,{field: 'typeDesc', align: 'center',title: '浣滀笟绫诲瀷'}
+ ,{field: 'stnNo$', align: 'center',title: '浣滀笟绔欑偣'}
+ ,{field: 'stnDesc', align: 'center',title: '绔欑偣鍚嶇О', edit:'text'}
+ ,{field: 'crnNo$', align: 'center',title: '鍫嗗灈鏈哄彿'}
+ ,{field: 'crnStn$', align: 'center',title: '鍫嗗灈鏈虹珯鐐�'}
+ ,{field: 'memo', align: 'center',title: '澶囨敞'}
+ ,{field: 'modiUser$', align: 'center',title: '淇敼浜哄憳', hide:true}
+ ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿', hide:true}
+ // ,{field: 'appeUser$', align: 'center',title: '鍒涘缓鑰�',event: 'appeUser', style: 'cursor:pointer'}
+ // ,{field: 'appeTime$', align: 'center',title: '娣诲姞鏃堕棿'}
+
+ ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:150}
+ ]],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ form.on('checkbox(tableCheckbox)', function (data) {
+ var _index = $(data.elem).attr('table-index')||0;
+ if(data.elem.checked){
+ res.data[_index][data.value] = 'Y';
+ }else{
+ res.data[_index][data.value] = 'N';
+ }
+ });
+ }
+ });
+
+ // 椤甸潰淇敼
+ table.on('edit(staDesc)', function (obj) {
+ layer.confirm('淇濆瓨淇敼?', function(){
+ $.ajax({
+ url: baseUrl+"/staDesc/update/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: top.reObject({
+ typeId: obj.data.typeId,
+ stnDesc: obj.value,
+ memo: obj.data.memo
+ }),
+ method: 'POST',
+ async: false,
+ success: function (res) {
+ layer.closeAll();
+ if (res.code === 200){
+ $(".layui-laypage-btn")[0].click();
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ });
+ });
+
+ // 鐩戝惉鎺掑簭浜嬩欢
+ table.on('sort(staDesc)', function (obj) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ searchData['orderByField'] = obj.field;
+ searchData['orderByType'] = obj.type;
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: 1
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(staDesc)', function (obj) {
+ var checkStatus = table.checkStatus(obj.config.id);
+ switch(obj.event) {
+ case 'addData':
+ layer.open({
+ type: 2,
+ title: '鏂板',
+ maxmin: true,
+ area: ['40%', top.detailHeight],
+ shadeClose: false,
+ content: 'staDesc_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-edit', index).hide();
+ clearFormVal(layer.getChildFrame('#detail', index));
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ }
+ });
+ break;
+ case 'refreshData':
+ tableIns.reload({
+ page: {
+ curr: pageCurr
+ }
+ });
+ limit();
+ break;
+ case 'deleteData':
+ var data = checkStatus.data;
+ if (data.length === 0){
+ layer.msg('璇烽�夋嫨鏁版嵁');
+ } else {
+ layer.confirm('纭畾鍒犻櫎'+(data.length===1?'姝�':data.length)+'鏉℃暟鎹悧', function(){
+ $.ajax({
+ url: baseUrl+"/staDesc/delete/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {param: JSON.stringify(data)},
+ method: 'POST',
+ traditional:true,
+ success: function (res) {
+ if (res.code === 200){
+ layer.closeAll();
+ tableReload(false);
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ });
+ }
+ break;
+ case 'exportData':
+ layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+ var titles=[];
+ var fields=[];
+ obj.config.cols[0].map(function (col) {
+ if (col.type === 'normal' && col.hide === false && col.toolbar == null) {
+ titles.push(col.title);
+ fields.push(col.field);
+ }
+ });
+ var exportData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ exportData[this.name] = this.value;
+ });
+ var param = {
+ 'staDesc': exportData,
+ 'fields': fields
+ };
+ $.ajax({
+ url: baseUrl+"/staDesc/export/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ layer.closeAll();
+ if (res.code === 200) {
+ table.exportFile(titles,res.data,'xls');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ });
+ });
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(staDesc)', function(obj){
+ var data = obj.data;
+ switch (obj.event) {
+ // 璇︽儏
+ case 'detail':
+ layer.open({
+ type: 2,
+ title: '璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: true,
+ content: 'staDesc_detail.html',
+ success: function(layero, index){
+ setFormVal(layer.getChildFrame('#detail', index), data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+ // 缂栬緫
+ case 'edit':
+ layer.open({
+ type: 2,
+ title: '淇敼',
+ maxmin: true,
+ area: ['40%', top.detailHeight],
+ shadeClose: false,
+ content: 'staDesc_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-save', index).hide();
+ setFormVal(layer.getChildFrame('#detail', index), data, false);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), false);
+ top.convertDisabled(layer.getChildFrame('#typeId,#typeNo,#stnNo,#crnNo', index), true);
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+ case 'typeNo':
+ var param = top.reObject(data).typeNo;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '鍏ュ嚭搴撹鎯�',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: true,
+ content: '../basWrkIotype/basWrkIotype_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/basWrkIotype/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+ case 'stnNo':
+ var param = top.reObject(data).stnNo;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '浣滀笟璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: true,
+ content: '../basDevp/basDevp_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/basDevp/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+ case 'crnNo':
+ var param = top.reObject(data).crnNo;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '鍫嗗灈鏈鸿鎯�',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: true,
+ content: '../basCrnp/basCrnp_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/basCrnp/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+ case 'crnStn':
+ var param = top.reObject(data).crnStn;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '鍫嗗灈鏈虹珯鐐硅鎯�',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: true,
+ content: '../basDevp/basDevp_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/basDevp/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+ case 'modiUser':
+ var param = top.reObject(data).modiUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '淇敼璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: true,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+ }
+ });
+
+ // 鏁版嵁淇濆瓨鍔ㄤ綔
+ form.on('submit(save)', function () {
+ if (banMsg != null){
+ layer.msg(banMsg);
+ return;
+ }
+ method("add");
+ });
+
+ // 鏁版嵁淇敼鍔ㄤ綔
+ form.on('submit(edit)', function () {
+ method("update")
+ });
+
+ function method(name){
+ var index = layer.load(1, {
+ shade: [0.5,'#000'] //0.1閫忔槑搴︾殑鑳屾櫙
+ });
+ var data = {
+// id: $('#id').val(),
+ typeId: $('#typeId').val(),
+ typeNo: $('#typeNo').val(),
+ typeDesc: $('#typeDesc').val(),
+ stnNo: $('#stnNo').val(),
+ stnDesc: $('#stnDesc').val(),
+ crnNo: $('#crnNo').val(),
+ crnStn: $('#crnStn').val(),
+ memo: $('#memo').val(),
+ modiUser: $('#modiUser').val(),
+ modiTime: top.strToDate($('#modiTime\\$').val()),
+ appeUser: $('#appeUser').val(),
+ appeTime: top.strToDate($('#appeTime\\$').val()),
+
+ };
+ $.ajax({
+ url: baseUrl+"/staDesc/"+name+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: top.reObject(data),
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ parent.layer.closeAll();
+ parent.$(".layui-laypage-btn")[0].click();
+ $("#data-detail :input").each(function () {
+ $(this).val("");
+ });
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ layer.close(index);
+ }
+ })
+ }
+
+ // 澶嶉�夋浜嬩欢
+ form.on('checkbox(detailCheckbox)', function (data) {
+ var el = data.elem;
+ if (el.checked) {
+ $(el).val('Y');
+ } else {
+ $(el).val('N');
+ }
+ });
+
+ // 鎼滅储鏍忔悳绱簨浠�
+ form.on('submit(search)', function (data) {
+ pageCurr = 1;
+ tableReload(false);
+ });
+
+ // 鎼滅储鏍忛噸缃簨浠�
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ tableReload(false);
+ });
+
+ // 鏃堕棿閫夋嫨鍣�
+ layDate.render({
+ elem: '#modiTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#appeTime\\$',
+ type: 'datetime'
+ });
+
+
+});
+
+// 鍏抽棴鍔ㄤ綔
+$(document).on('click','#data-detail-close', function () {
+ parent.layer.closeAll();
+});
+
+function tableReload(child) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ (child ? parent.tableIns : tableIns).reload({
+ where: searchData,
+ page: {
+ curr: pageCurr
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ if (res.data.length === 0 && count !== 0) {
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: pageCurr-1
+ }
+ });
+ pageCurr -= 1;
+ }
+ limit(child);
+ }
+ });
+}
+
+function setFormVal(el, data, showImg) {
+ for (var val in data) {
+ var find = el.find(":input[id='" + val + "']");
+ if (find[0]!=null){
+ if (find[0].type === 'checkbox'){
+ if (data[val]==='Y'){
+ find.attr("checked","checked");
+ find.val('Y');
+ } else {
+ find.remove("checked");
+ find.val('N');
+ }
+ continue;
+ }
+ }
+ find.val(data[val]);
+ if (showImg){
+ var next = find.next();
+ if (next.get(0)){
+ if (next.get(0).localName === "img") {
+ find.hide();
+ next.attr("src", data[val]);
+ next.show();
+ }
+ }
+ }
+ }
+}
+
+function clearFormVal(el) {
+ $(':input', el)
+ .val('')
+ .removeAttr('checked')
+ .removeAttr('selected');
+}
+
+function detailScreen(index) {
+ var detail = layer.getChildFrame('#data-detail', index);
+ var height = detail.height()+60;
+ if (height > ($(window).height()*0.9)) {
+ height = ($(window).height()*0.8);
+ }
+ layer.style(index, {
+// top: (($(window).height()-height)/3)+"px",
+ height: height+'px'
+ });
+}
+
+$('body').keydown(function () {
+ if (event.keyCode === 13) {
+ $("#search").click();
+ }
+});
diff --git a/src/main/webapp/static/wms/js/stkPlcm/stkPlcm.js b/src/main/webapp/static/wms/js/stkPlcm/stkPlcm.js
new file mode 100644
index 0000000..e9e1e00
--- /dev/null
+++ b/src/main/webapp/static/wms/js/stkPlcm/stkPlcm.js
@@ -0,0 +1,596 @@
+var pageCurr;
+layui.use(['table','laydate', 'form'], function(){
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#stkPlcm',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/stkPlcm/list/auth',
+ page: true,
+ limit: 10,
+ even: true,
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ cols: [[
+ // {type: 'checkbox'}
+ {field: 'ioTime$', align: 'center',title: '鏃ユ湡'}
+ ,{field: 'wrkNo', align: 'center',title: '宸ヤ綔鍙�'}
+ ,{field: 'locNo$', align: 'center',title: '搴撲綅鍙�',event: 'locNo', style: 'cursor:pointer'}
+ ,{field: 'crnError$', align: 'center',title: '寮傚父鐮�'}
+ ,{field: 'modiTime$', align: 'center',title: '寮傚父鏃堕棿'}
+ ,{field: 'devNo$', align: 'center',title: '鍫嗗灈鏈哄彿',event: 'devNo', style: 'cursor:pointer'}
+ ,{field: 'wrkTime$', align: 'center',title: '宸ヤ綔妗f椂闂�'}
+
+ ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:100}
+ ]],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ form.on('checkbox(tableCheckbox)', function (data) {
+ var _index = $(data.elem).attr('table-index')||0;
+ if(data.elem.checked){
+ res.data[_index][data.value] = 'Y';
+ }else{
+ res.data[_index][data.value] = 'N';
+ }
+ });
+ }
+ });
+
+ // 鐩戝惉鎺掑簭浜嬩欢
+ table.on('sort(stkPlcm)', function (obj) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ searchData['orderByField'] = obj.field;
+ searchData['orderByType'] = obj.type;
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: 1
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(stkPlcm)', function (obj) {
+ var checkStatus = table.checkStatus(obj.config.id);
+ switch(obj.event) {
+ case 'addData':
+ layer.open({
+ type: 2,
+ title: '鏂板',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: 'stkPlcm_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-edit', index).hide();
+ clearFormVal(layer.getChildFrame('#detail', index));
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ }
+ });
+ break;
+ case 'refreshData':
+ tableIns.reload({
+ page: {
+ curr: pageCurr
+ }
+ });
+ limit();
+ break;
+ case 'deleteData':
+ var data = checkStatus.data;
+ if (data.length === 0){
+ layer.msg('璇烽�夋嫨鏁版嵁');
+ } else {
+ layer.confirm('纭畾鍒犻櫎'+(data.length===1?'姝�':data.length)+'鏉℃暟鎹悧', function(){
+ $.ajax({
+ url: baseUrl+"/stkPlcm/delete/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {param: JSON.stringify(data)},
+ method: 'POST',
+ traditional:true,
+ success: function (res) {
+ if (res.code === 200){
+ layer.closeAll();
+ tableReload(false);
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ });
+ }
+ break;
+ case 'exportData':
+ layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+ var titles=[];
+ var fields=[];
+ obj.config.cols[0].map(function (col) {
+ if (col.type === 'normal' && col.hide === false && col.toolbar == null) {
+ titles.push(col.title);
+ fields.push(col.field);
+ }
+ });
+ var exportData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ exportData[this.name] = this.value;
+ });
+ var param = {
+ 'stkPlcm': exportData,
+ 'fields': fields
+ };
+ $.ajax({
+ url: baseUrl+"/stkPlcm/export/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ layer.closeAll();
+ if (res.code === 200) {
+ table.exportFile(titles,res.data,'xls');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ });
+ });
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(stkPlcm)', function(obj){
+ var data = obj.data;
+ switch (obj.event) {
+ // 璇︽儏
+ case 'detail':
+ layer.open({
+ type: 2,
+ title: '璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: 'stkPlcm_detail.html',
+ success: function(layero, index){
+ setFormVal(layer.getChildFrame('#detail', index), data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+ // 缂栬緫
+ case 'edit':
+ layer.open({
+ type: 2,
+ title: '淇敼',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: 'stkPlcm_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-save', index).hide();
+ setFormVal(layer.getChildFrame('#detail', index), data, false);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), false);
+ top.convertDisabled(layer.getChildFrame('', index), true);
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+ case 'locNo':
+ var param = top.reObject(data).locNo;
+ if (param === undefined || param.trim() === '') {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '搴撲綅鍙疯鎯�',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../locMast/locMast_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/locMast/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+ case 'crnError':
+ var param = top.reObject(data).crnError;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '寮傚父鐮佽鎯�',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../basCrnError/basCrnError_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/basCrnError/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+ case 'modiUser':
+ var param = top.reObject(data).modiUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '淇敼浜哄憳璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+ case 'appeUser':
+ var param = top.reObject(data).appeUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '鍒涘缓鑰呰鎯�',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+ case 'devNo':
+ var param = top.reObject(data).devNo;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '鍫嗗灈鏈哄彿璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../basCrnp/basCrnp_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/basCrnp/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+
+ }
+ });
+
+ // 鏁版嵁淇濆瓨鍔ㄤ綔
+ form.on('submit(save)', function () {
+ if (banMsg != null){
+ layer.msg(banMsg);
+ return;
+ }
+ method("add");
+ });
+
+ // 鏁版嵁淇敼鍔ㄤ綔
+ form.on('submit(edit)', function () {
+ method("update")
+ });
+
+ function method(name){
+ var index = layer.load(1, {
+ shade: [0.5,'#000'] //0.1閫忔槑搴︾殑鑳屾櫙
+ });
+ var data = {
+// id: $('#id').val(),
+ ioTime: top.strToDate($('#ioTime\\$').val()),
+ wrkNo: $('#wrkNo').val(),
+ wrkType: $('#wrkType').val(),
+ sStation: $('#sStation').val(),
+ locNo: $('#locNo').val(),
+ crnError: $('#crnError').val(),
+ oStation: $('#oStation').val(),
+ modiUser: $('#modiUser').val(),
+ modiTime: top.strToDate($('#modiTime\\$').val()),
+ appeUser: $('#appeUser').val(),
+ appeTime: top.strToDate($('#appeTime\\$').val()),
+ devNo: $('#devNo').val(),
+ inputType: $('#inputType').val(),
+ wrkTime: top.strToDate($('#wrkTime\\$').val()),
+ tag: $('#tag').val(),
+
+ };
+ $.ajax({
+ url: baseUrl+"/stkPlcm/"+name+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: top.reObject(data),
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ parent.layer.closeAll();
+ parent.$(".layui-laypage-btn")[0].click();
+ $("#data-detail :input").each(function () {
+ $(this).val("");
+ });
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ layer.close(index);
+ }
+ })
+ }
+
+ // 澶嶉�夋浜嬩欢
+ form.on('checkbox(detailCheckbox)', function (data) {
+ var el = data.elem;
+ if (el.checked) {
+ $(el).val('Y');
+ } else {
+ $(el).val('N');
+ }
+ });
+
+ // 鎼滅储鏍忔悳绱簨浠�
+ form.on('submit(search)', function (data) {
+ pageCurr = 1;
+ tableReload(false);
+ });
+
+ // 鎼滅储鏍忛噸缃簨浠�
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ tableReload(false);
+ });
+
+ // 鏃堕棿閫夋嫨鍣�
+ layDate.render({
+ elem: '#ioTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#modiTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#appeTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#wrkTime\\$',
+ type: 'datetime'
+ });
+
+
+});
+
+// 鍏抽棴鍔ㄤ綔
+$(document).on('click','#data-detail-close', function () {
+ parent.layer.closeAll();
+});
+
+function tableReload(child) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ (child ? parent.tableIns : tableIns).reload({
+ where: searchData,
+ page: {
+ curr: pageCurr
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ if (res.data.length === 0 && count !== 0) {
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: pageCurr-1
+ }
+ });
+ pageCurr -= 1;
+ }
+ limit(child);
+ }
+ });
+}
+
+function setFormVal(el, data, showImg) {
+ for (var val in data) {
+ var find = el.find(":input[id='" + val + "']");
+ if (find[0]!=null){
+ if (find[0].type === 'checkbox'){
+ if (data[val]==='Y'){
+ find.attr("checked","checked");
+ find.val('Y');
+ } else {
+ find.remove("checked");
+ find.val('N');
+ }
+ continue;
+ }
+ }
+ find.val(data[val]);
+ if (showImg){
+ var next = find.next();
+ if (next.get(0)){
+ if (next.get(0).localName === "img") {
+ find.hide();
+ next.attr("src", data[val]);
+ next.show();
+ }
+ }
+ }
+ }
+}
+
+function clearFormVal(el) {
+ $(':input', el)
+ .val('')
+ .removeAttr('checked')
+ .removeAttr('selected');
+}
+
+function detailScreen(index) {
+ var detail = layer.getChildFrame('#data-detail', index);
+ var height = detail.height()+60;
+ if (height > ($(window).height()*0.9)) {
+ height = ($(window).height()*0.8);
+ }
+ layer.style(index, {
+// top: (($(window).height()-height)/3)+"px",
+ height: height+'px'
+ });
+}
+
+$('body').keydown(function () {
+ if (event.keyCode === 13) {
+ $("#search").click();
+ }
+});
diff --git a/src/main/webapp/static/js/stoMan/stoQue.js b/src/main/webapp/static/wms/js/stoMan/stoQue.js
similarity index 94%
rename from src/main/webapp/static/js/stoMan/stoQue.js
rename to src/main/webapp/static/wms/js/stoMan/stoQue.js
index a4630e5..0914cb3 100644
--- a/src/main/webapp/static/js/stoMan/stoQue.js
+++ b/src/main/webapp/static/wms/js/stoMan/stoQue.js
@@ -33,12 +33,14 @@
,{field: 'row1', align: 'center',title: '鎺�'}
,{field: 'bay1', align: 'center',title: '鍒�'}
,{field: 'lev1', align: 'center',title: '灞�'}
- ,{field: 'fullPlt', align: 'center',title: '婊℃澘', templet:function(row){
- var html = "<input value='fullPlt' type='checkbox' lay-skin='primary' lay-filter='tableCheckbox' table-index='"+row.LAY_TABLE_INDEX+"'";
- if(row.fullPlt === 'Y'){html += " checked ";}
- html += "disabled='disabled' >";
- return html;
- },width:80}
+ ,{field: 'locType1$', align: 'center',title: '搴撲綅绫诲瀷'}
+ // ,{field: 'fullPlt', align: 'center',title: '婊℃澘', templet:function(row){
+ // var html = "<input value='fullPlt' type='checkbox' lay-skin='primary' lay-filter='tableCheckbox' table-index='"+row.LAY_TABLE_INDEX+"'";
+ // if(row.fullPlt === 'Y'){html += " checked ";}
+ // html += "disabled='disabled' >";
+ // return html;
+ // },width:80}
+ // ,{field: 'barcode', align: 'center',title: '鏉$爜鍙�'}
,{field: 'modiUser$', align: 'center',title: '淇敼浜哄憳'}
,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿', width: 180}
,{ fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate'}
diff --git a/src/main/webapp/static/wms/js/tagTree.js b/src/main/webapp/static/wms/js/tagTree.js
new file mode 100644
index 0000000..dcbbca5
--- /dev/null
+++ b/src/main/webapp/static/wms/js/tagTree.js
@@ -0,0 +1,86 @@
+var currentTemId;
+var currentTemName;
+var currentTemSsbm;
+var init = false;
+
+layui.config({
+ base: baseUrl + "/static/layui/lay/modules/" // 閰嶇疆妯″潡鎵�鍦ㄧ殑鐩綍
+}).use(['table','laydate', 'form', 'tree', 'xmSelect'], function() {
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+ var tree = layui.tree;
+ var xmSelect = layui.xmSelect;
+ var selObj, treeData; // 宸︽爲閫変腑鏁版嵁
+
+ var organizationTree;
+ window.loadTree = function(condition){
+ var loadIndex = layer.load(2);
+ $.ajax({
+ url: baseUrl+"/tag/tree/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {
+ 'condition': condition
+ },
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ layer.close(loadIndex);
+ // 鏍戝舰鍥�
+ organizationTree = tree.render({
+ elem: '#organizationTree',
+ id: 'organizationTree',
+ onlyIconControl: true,
+ data: res.data,
+ click: function (obj) {
+ currentTemId = obj.data.id;
+ currentTemName = obj.data.title.split(" - ")[0];
+ currentTemSsbm = obj.data.title.split(" - ")[1];
+ selObj = obj;
+ $('#organizationTree').find('.ew-tree-click').removeClass('ew-tree-click');
+ $(obj.elem).children('.layui-tree-entry').addClass('ew-tree-click');
+ tableIns.reload({
+ where: {tag_id: obj.data.id},
+ page: {curr: 1}
+ });
+ }
+ });
+ treeData = res.data;
+ if (isEmpty(condition) && init) {
+ tableIns.reload({
+ where: {tag_id: ""},
+ page: {curr: 1}
+ });
+ }
+ if (!init) {
+ init = true;
+ }
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ loadTree();
+
+ /* 鏍戝舰鍥鹃噸缃� */
+ $('#treeReset').click(function () {
+ $("#condition").val("");
+ loadTree("");
+ })
+
+})
+
+function closeDialog() {
+ layer.closeAll();
+}
+
+/* 鏍戝舰鍥炬悳绱� */
+function findData(el) {
+ var condition = $(el).val();
+ loadTree(condition)
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/js/tools/anime.min.js b/src/main/webapp/static/wms/js/tools/anime.min.js
new file mode 100644
index 0000000..c399324
--- /dev/null
+++ b/src/main/webapp/static/wms/js/tools/anime.min.js
@@ -0,0 +1,33 @@
+/*
+ 2017 Julian Garnier
+ Released under the MIT license
+*/
+var $jscomp={scope:{}};$jscomp.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(e,r,p){if(p.get||p.set)throw new TypeError("ES3 does not support getters and setters.");e!=Array.prototype&&e!=Object.prototype&&(e[r]=p.value)};$jscomp.getGlobal=function(e){return"undefined"!=typeof window&&window===e?e:"undefined"!=typeof global&&null!=global?global:e};$jscomp.global=$jscomp.getGlobal(this);$jscomp.SYMBOL_PREFIX="jscomp_symbol_";
+$jscomp.initSymbol=function(){$jscomp.initSymbol=function(){};$jscomp.global.Symbol||($jscomp.global.Symbol=$jscomp.Symbol)};$jscomp.symbolCounter_=0;$jscomp.Symbol=function(e){return $jscomp.SYMBOL_PREFIX+(e||"")+$jscomp.symbolCounter_++};
+$jscomp.initSymbolIterator=function(){$jscomp.initSymbol();var e=$jscomp.global.Symbol.iterator;e||(e=$jscomp.global.Symbol.iterator=$jscomp.global.Symbol("iterator"));"function"!=typeof Array.prototype[e]&&$jscomp.defineProperty(Array.prototype,e,{configurable:!0,writable:!0,value:function(){return $jscomp.arrayIterator(this)}});$jscomp.initSymbolIterator=function(){}};$jscomp.arrayIterator=function(e){var r=0;return $jscomp.iteratorPrototype(function(){return r<e.length?{done:!1,value:e[r++]}:{done:!0}})};
+$jscomp.iteratorPrototype=function(e){$jscomp.initSymbolIterator();e={next:e};e[$jscomp.global.Symbol.iterator]=function(){return this};return e};$jscomp.array=$jscomp.array||{};$jscomp.iteratorFromArray=function(e,r){$jscomp.initSymbolIterator();e instanceof String&&(e+="");var p=0,m={next:function(){if(p<e.length){var u=p++;return{value:r(u,e[u]),done:!1}}m.next=function(){return{done:!0,value:void 0}};return m.next()}};m[Symbol.iterator]=function(){return m};return m};
+$jscomp.polyfill=function(e,r,p,m){if(r){p=$jscomp.global;e=e.split(".");for(m=0;m<e.length-1;m++){var u=e[m];u in p||(p[u]={});p=p[u]}e=e[e.length-1];m=p[e];r=r(m);r!=m&&null!=r&&$jscomp.defineProperty(p,e,{configurable:!0,writable:!0,value:r})}};$jscomp.polyfill("Array.prototype.keys",function(e){return e?e:function(){return $jscomp.iteratorFromArray(this,function(e){return e})}},"es6-impl","es3");var $jscomp$this=this;
+(function(e,r){"function"===typeof define&&define.amd?define([],r):"object"===typeof module&&module.exports?module.exports=r():e.anime=r()})(this,function(){function e(a){if(!h.col(a))try{return document.querySelectorAll(a)}catch(c){}}function r(a,c){for(var d=a.length,b=2<=arguments.length?arguments[1]:void 0,f=[],n=0;n<d;n++)if(n in a){var k=a[n];c.call(b,k,n,a)&&f.push(k)}return f}function p(a){return a.reduce(function(a,d){return a.concat(h.arr(d)?p(d):d)},[])}function m(a){if(h.arr(a))return a;
+h.str(a)&&(a=e(a)||a);return a instanceof NodeList||a instanceof HTMLCollection?[].slice.call(a):[a]}function u(a,c){return a.some(function(a){return a===c})}function C(a){var c={},d;for(d in a)c[d]=a[d];return c}function D(a,c){var d=C(a),b;for(b in a)d[b]=c.hasOwnProperty(b)?c[b]:a[b];return d}function z(a,c){var d=C(a),b;for(b in c)d[b]=h.und(a[b])?c[b]:a[b];return d}function T(a){a=a.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(a,c,d,k){return c+c+d+d+k+k});var c=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(a);
+a=parseInt(c[1],16);var d=parseInt(c[2],16),c=parseInt(c[3],16);return"rgba("+a+","+d+","+c+",1)"}function U(a){function c(a,c,b){0>b&&(b+=1);1<b&&--b;return b<1/6?a+6*(c-a)*b:.5>b?c:b<2/3?a+(c-a)*(2/3-b)*6:a}var d=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(a)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(a);a=parseInt(d[1])/360;var b=parseInt(d[2])/100,f=parseInt(d[3])/100,d=d[4]||1;if(0==b)f=b=a=f;else{var n=.5>f?f*(1+b):f+b-f*b,k=2*f-n,f=c(k,n,a+1/3),b=c(k,n,a);a=c(k,n,a-1/3)}return"rgba("+
+255*f+","+255*b+","+255*a+","+d+")"}function y(a){if(a=/([\+\-]?[0-9#\.]+)(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(a))return a[2]}function V(a){if(-1<a.indexOf("translate")||"perspective"===a)return"px";if(-1<a.indexOf("rotate")||-1<a.indexOf("skew"))return"deg"}function I(a,c){return h.fnc(a)?a(c.target,c.id,c.total):a}function E(a,c){if(c in a.style)return getComputedStyle(a).getPropertyValue(c.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase())||"0"}function J(a,c){if(h.dom(a)&&
+u(W,c))return"transform";if(h.dom(a)&&(a.getAttribute(c)||h.svg(a)&&a[c]))return"attribute";if(h.dom(a)&&"transform"!==c&&E(a,c))return"css";if(null!=a[c])return"object"}function X(a,c){var d=V(c),d=-1<c.indexOf("scale")?1:0+d;a=a.style.transform;if(!a)return d;for(var b=[],f=[],n=[],k=/(\w+)\((.+?)\)/g;b=k.exec(a);)f.push(b[1]),n.push(b[2]);a=r(n,function(a,b){return f[b]===c});return a.length?a[0]:d}function K(a,c){switch(J(a,c)){case "transform":return X(a,c);case "css":return E(a,c);case "attribute":return a.getAttribute(c)}return a[c]||
+0}function L(a,c){var d=/^(\*=|\+=|-=)/.exec(a);if(!d)return a;var b=y(a)||0;c=parseFloat(c);a=parseFloat(a.replace(d[0],""));switch(d[0][0]){case "+":return c+a+b;case "-":return c-a+b;case "*":return c*a+b}}function F(a,c){return Math.sqrt(Math.pow(c.x-a.x,2)+Math.pow(c.y-a.y,2))}function M(a){a=a.points;for(var c=0,d,b=0;b<a.numberOfItems;b++){var f=a.getItem(b);0<b&&(c+=F(d,f));d=f}return c}function N(a){if(a.getTotalLength)return a.getTotalLength();switch(a.tagName.toLowerCase()){case "circle":return 2*
+Math.PI*a.getAttribute("r");case "rect":return 2*a.getAttribute("width")+2*a.getAttribute("height");case "line":return F({x:a.getAttribute("x1"),y:a.getAttribute("y1")},{x:a.getAttribute("x2"),y:a.getAttribute("y2")});case "polyline":return M(a);case "polygon":var c=a.points;return M(a)+F(c.getItem(c.numberOfItems-1),c.getItem(0))}}function Y(a,c){function d(b){b=void 0===b?0:b;return a.el.getPointAtLength(1<=c+b?c+b:0)}var b=d(),f=d(-1),n=d(1);switch(a.property){case "x":return b.x;case "y":return b.y;
+case "angle":return 180*Math.atan2(n.y-f.y,n.x-f.x)/Math.PI}}function O(a,c){var d=/-?\d*\.?\d+/g,b;b=h.pth(a)?a.totalLength:a;if(h.col(b))if(h.rgb(b)){var f=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(b);b=f?"rgba("+f[1]+",1)":b}else b=h.hex(b)?T(b):h.hsl(b)?U(b):void 0;else f=(f=y(b))?b.substr(0,b.length-f.length):b,b=c&&!/\s/g.test(b)?f+c:f;b+="";return{original:b,numbers:b.match(d)?b.match(d).map(Number):[0],strings:h.str(a)||c?b.split(d):[]}}function P(a){a=a?p(h.arr(a)?a.map(m):m(a)):[];return r(a,
+function(a,d,b){return b.indexOf(a)===d})}function Z(a){var c=P(a);return c.map(function(a,b){return{target:a,id:b,total:c.length}})}function aa(a,c){var d=C(c);if(h.arr(a)){var b=a.length;2!==b||h.obj(a[0])?h.fnc(c.duration)||(d.duration=c.duration/b):a={value:a}}return m(a).map(function(a,b){b=b?0:c.delay;a=h.obj(a)&&!h.pth(a)?a:{value:a};h.und(a.delay)&&(a.delay=b);return a}).map(function(a){return z(a,d)})}function ba(a,c){var d={},b;for(b in a){var f=I(a[b],c);h.arr(f)&&(f=f.map(function(a){return I(a,
+c)}),1===f.length&&(f=f[0]));d[b]=f}d.duration=parseFloat(d.duration);d.delay=parseFloat(d.delay);return d}function ca(a){return h.arr(a)?A.apply(this,a):Q[a]}function da(a,c){var d;return a.tweens.map(function(b){b=ba(b,c);var f=b.value,e=K(c.target,a.name),k=d?d.to.original:e,k=h.arr(f)?f[0]:k,w=L(h.arr(f)?f[1]:f,k),e=y(w)||y(k)||y(e);b.from=O(k,e);b.to=O(w,e);b.start=d?d.end:a.offset;b.end=b.start+b.delay+b.duration;b.easing=ca(b.easing);b.elasticity=(1E3-Math.min(Math.max(b.elasticity,1),999))/
+1E3;b.isPath=h.pth(f);b.isColor=h.col(b.from.original);b.isColor&&(b.round=1);return d=b})}function ea(a,c){return r(p(a.map(function(a){return c.map(function(b){var c=J(a.target,b.name);if(c){var d=da(b,a);b={type:c,property:b.name,animatable:a,tweens:d,duration:d[d.length-1].end,delay:d[0].delay}}else b=void 0;return b})})),function(a){return!h.und(a)})}function R(a,c,d,b){var f="delay"===a;return c.length?(f?Math.min:Math.max).apply(Math,c.map(function(b){return b[a]})):f?b.delay:d.offset+b.delay+
+b.duration}function fa(a){var c=D(ga,a),d=D(S,a),b=Z(a.targets),f=[],e=z(c,d),k;for(k in a)e.hasOwnProperty(k)||"targets"===k||f.push({name:k,offset:e.offset,tweens:aa(a[k],d)});a=ea(b,f);return z(c,{children:[],animatables:b,animations:a,duration:R("duration",a,c,d),delay:R("delay",a,c,d)})}function q(a){function c(){return window.Promise&&new Promise(function(a){return p=a})}function d(a){return g.reversed?g.duration-a:a}function b(a){for(var b=0,c={},d=g.animations,f=d.length;b<f;){var e=d[b],
+k=e.animatable,h=e.tweens,n=h.length-1,l=h[n];n&&(l=r(h,function(b){return a<b.end})[0]||l);for(var h=Math.min(Math.max(a-l.start-l.delay,0),l.duration)/l.duration,w=isNaN(h)?1:l.easing(h,l.elasticity),h=l.to.strings,p=l.round,n=[],m=void 0,m=l.to.numbers.length,t=0;t<m;t++){var x=void 0,x=l.to.numbers[t],q=l.from.numbers[t],x=l.isPath?Y(l.value,w*x):q+w*(x-q);p&&(l.isColor&&2<t||(x=Math.round(x*p)/p));n.push(x)}if(l=h.length)for(m=h[0],w=0;w<l;w++)p=h[w+1],t=n[w],isNaN(t)||(m=p?m+(t+p):m+(t+" "));
+else m=n[0];ha[e.type](k.target,e.property,m,c,k.id);e.currentValue=m;b++}if(b=Object.keys(c).length)for(d=0;d<b;d++)H||(H=E(document.body,"transform")?"transform":"-webkit-transform"),g.animatables[d].target.style[H]=c[d].join(" ");g.currentTime=a;g.progress=a/g.duration*100}function f(a){if(g[a])g[a](g)}function e(){g.remaining&&!0!==g.remaining&&g.remaining--}function k(a){var k=g.duration,n=g.offset,w=n+g.delay,r=g.currentTime,x=g.reversed,q=d(a);if(g.children.length){var u=g.children,v=u.length;
+if(q>=g.currentTime)for(var G=0;G<v;G++)u[G].seek(q);else for(;v--;)u[v].seek(q)}if(q>=w||!k)g.began||(g.began=!0,f("begin")),f("run");if(q>n&&q<k)b(q);else if(q<=n&&0!==r&&(b(0),x&&e()),q>=k&&r!==k||!k)b(k),x||e();f("update");a>=k&&(g.remaining?(t=h,"alternate"===g.direction&&(g.reversed=!g.reversed)):(g.pause(),g.completed||(g.completed=!0,f("complete"),"Promise"in window&&(p(),m=c()))),l=0)}a=void 0===a?{}:a;var h,t,l=0,p=null,m=c(),g=fa(a);g.reset=function(){var a=g.direction,c=g.loop;g.currentTime=
+0;g.progress=0;g.paused=!0;g.began=!1;g.completed=!1;g.reversed="reverse"===a;g.remaining="alternate"===a&&1===c?2:c;b(0);for(a=g.children.length;a--;)g.children[a].reset()};g.tick=function(a){h=a;t||(t=h);k((l+h-t)*q.speed)};g.seek=function(a){k(d(a))};g.pause=function(){var a=v.indexOf(g);-1<a&&v.splice(a,1);g.paused=!0};g.play=function(){g.paused&&(g.paused=!1,t=0,l=d(g.currentTime),v.push(g),B||ia())};g.reverse=function(){g.reversed=!g.reversed;t=0;l=d(g.currentTime)};g.restart=function(){g.pause();
+g.reset();g.play()};g.finished=m;g.reset();g.autoplay&&g.play();return g}var ga={update:void 0,begin:void 0,run:void 0,complete:void 0,loop:1,direction:"normal",autoplay:!0,offset:0},S={duration:1E3,delay:0,easing:"easeOutElastic",elasticity:500,round:0},W="translateX translateY translateZ rotate rotateX rotateY rotateZ scale scaleX scaleY scaleZ skewX skewY perspective".split(" "),H,h={arr:function(a){return Array.isArray(a)},obj:function(a){return-1<Object.prototype.toString.call(a).indexOf("Object")},
+pth:function(a){return h.obj(a)&&a.hasOwnProperty("totalLength")},svg:function(a){return a instanceof SVGElement},dom:function(a){return a.nodeType||h.svg(a)},str:function(a){return"string"===typeof a},fnc:function(a){return"function"===typeof a},und:function(a){return"undefined"===typeof a},hex:function(a){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(a)},rgb:function(a){return/^rgb/.test(a)},hsl:function(a){return/^hsl/.test(a)},col:function(a){return h.hex(a)||h.rgb(a)||h.hsl(a)}},A=function(){function a(a,
+d,b){return(((1-3*b+3*d)*a+(3*b-6*d))*a+3*d)*a}return function(c,d,b,f){if(0<=c&&1>=c&&0<=b&&1>=b){var e=new Float32Array(11);if(c!==d||b!==f)for(var k=0;11>k;++k)e[k]=a(.1*k,c,b);return function(k){if(c===d&&b===f)return k;if(0===k)return 0;if(1===k)return 1;for(var h=0,l=1;10!==l&&e[l]<=k;++l)h+=.1;--l;var l=h+(k-e[l])/(e[l+1]-e[l])*.1,n=3*(1-3*b+3*c)*l*l+2*(3*b-6*c)*l+3*c;if(.001<=n){for(h=0;4>h;++h){n=3*(1-3*b+3*c)*l*l+2*(3*b-6*c)*l+3*c;if(0===n)break;var m=a(l,c,b)-k,l=l-m/n}k=l}else if(0===
+n)k=l;else{var l=h,h=h+.1,g=0;do m=l+(h-l)/2,n=a(m,c,b)-k,0<n?h=m:l=m;while(1e-7<Math.abs(n)&&10>++g);k=m}return a(k,d,f)}}}}(),Q=function(){function a(a,b){return 0===a||1===a?a:-Math.pow(2,10*(a-1))*Math.sin(2*(a-1-b/(2*Math.PI)*Math.asin(1))*Math.PI/b)}var c="Quad Cubic Quart Quint Sine Expo Circ Back Elastic".split(" "),d={In:[[.55,.085,.68,.53],[.55,.055,.675,.19],[.895,.03,.685,.22],[.755,.05,.855,.06],[.47,0,.745,.715],[.95,.05,.795,.035],[.6,.04,.98,.335],[.6,-.28,.735,.045],a],Out:[[.25,
+.46,.45,.94],[.215,.61,.355,1],[.165,.84,.44,1],[.23,1,.32,1],[.39,.575,.565,1],[.19,1,.22,1],[.075,.82,.165,1],[.175,.885,.32,1.275],function(b,c){return 1-a(1-b,c)}],InOut:[[.455,.03,.515,.955],[.645,.045,.355,1],[.77,0,.175,1],[.86,0,.07,1],[.445,.05,.55,.95],[1,0,0,1],[.785,.135,.15,.86],[.68,-.55,.265,1.55],function(b,c){return.5>b?a(2*b,c)/2:1-a(-2*b+2,c)/2}]},b={linear:A(.25,.25,.75,.75)},f={},e;for(e in d)f.type=e,d[f.type].forEach(function(a){return function(d,f){b["ease"+a.type+c[f]]=h.fnc(d)?
+d:A.apply($jscomp$this,d)}}(f)),f={type:f.type};return b}(),ha={css:function(a,c,d){return a.style[c]=d},attribute:function(a,c,d){return a.setAttribute(c,d)},object:function(a,c,d){return a[c]=d},transform:function(a,c,d,b,f){b[f]||(b[f]=[]);b[f].push(c+"("+d+")")}},v=[],B=0,ia=function(){function a(){B=requestAnimationFrame(c)}function c(c){var b=v.length;if(b){for(var d=0;d<b;)v[d]&&v[d].tick(c),d++;a()}else cancelAnimationFrame(B),B=0}return a}();q.version="2.2.0";q.speed=1;q.running=v;q.remove=
+function(a){a=P(a);for(var c=v.length;c--;)for(var d=v[c],b=d.animations,f=b.length;f--;)u(a,b[f].animatable.target)&&(b.splice(f,1),b.length||d.pause())};q.getValue=K;q.path=function(a,c){var d=h.str(a)?e(a)[0]:a,b=c||100;return function(a){return{el:d,property:a,totalLength:N(d)*(b/100)}}};q.setDashoffset=function(a){var c=N(a);a.setAttribute("stroke-dasharray",c);return c};q.bezier=A;q.easings=Q;q.timeline=function(a){var c=q(a);c.pause();c.duration=0;c.add=function(d){c.children.forEach(function(a){a.began=
+!0;a.completed=!0});m(d).forEach(function(b){var d=z(b,D(S,a||{}));d.targets=d.targets||a.targets;b=c.duration;var e=d.offset;d.autoplay=!1;d.direction=c.direction;d.offset=h.und(e)?b:L(e,b);c.began=!0;c.completed=!0;c.seek(d.offset);d=q(d);d.began=!0;d.completed=!0;d.duration>b&&(c.duration=d.duration);c.children.push(d)});c.seek(0);c.reset();c.autoplay&&c.restart();return c};return c};q.random=function(a,c){return Math.floor(Math.random()*(c-a+1))+a};return q});
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/js/tools/main.min.js b/src/main/webapp/static/wms/js/tools/main.min.js
new file mode 100644
index 0000000..82028a8
--- /dev/null
+++ b/src/main/webapp/static/wms/js/tools/main.min.js
@@ -0,0 +1,2 @@
+/*! For license information please see main.js.LICENSE.txt */
+!function(){var e={26981:function(e,t,n){"use strict";n(11983);var r,i=(r=n(40115))&&r.__esModule?r:{default:r};i.default._babelPolyfill&&"undefined"!=typeof console&&console.warn&&console.warn("@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended and may have consequences if different versions of the polyfills are applied sequentially. If you do need to load the polyfill more than once, use @babel/polyfill/noConflict instead to bypass the warning."),i.default._babelPolyfill=!0},11983:function(e,t,n){"use strict";n(16266),n(10990),n(70911),n(14160),n(6197),n(96728),n(54039),n(93568),n(78051),n(38250),n(15434),n(54952),n(96337),n(35666)},67084:function(e,t,n){"use strict";var r=n(90887);t.Z={updateVelocity:function(e,t,n){r.vec3.scale(t,t,1/n),r.vec3.add(e,e,t)},applyFriction:function(e,t,n){var i=[0,0,0];r.vec3.scale(i,e,-1),r.vec3.normalize(i,i),r.vec3.scale(i,i,t),r.vec3.add(e,e,i)},applyDrag:function(e,t){var n=[0,0,0];r.vec3.scale(n,e,-1),r.vec3.normalize(n,n),r.vec3.scale(n,n,r.vec3.length(e)*t),r.vec3.add(e,e,n)},applyHook:function(e,t,n,i,o){var a=[0,0,0];r.vec3.sub(a,e,n);var s=r.vec3.length(a)-i;r.vec3.normalize(a,a),r.vec3.scale(a,a,-1*o*s),r.vec3.add(t,t,a)}}},97355:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:function(){return l}});var c=n(2212),u=n(67084).Z,l=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(f,e);var t,n,r,c,l=(r=f,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=s(r);if(c){var n=s(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return a(this,e)});function f(e,t,n,r){var i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),(i=l.call(this,e,t,n,r)).k=.02,i.d=.2,i.velocity=[0,0,0],i.acceleration=[0,0,0],i.anchor=[0,0,0],i.lookK=.02,i.lookD=.2,i.lookVelocity=[0,0,0],i.lookAcceleration=[0,0,0],i.lookAnchor=[0,0,0],i}return t=f,(n=[{key:"updatePosition",value:function(){u.applyHook(this.velocity,this.acceleration,this.anchor,0,this.k),u.applyDrag(this.acceleration,this.d),u.updateVelocity(this.velocity,this.acceleration,1)}},{key:"updateLook",value:function(){u.applyHook(this.lookVelocity,this.lookAcceleration,this.lookAnchor,0,this.lookK),u.applyDrag(this.lookAcceleration,this.lookD),u.updateVelocity(this.lookVelocity,this.lookAcceleration,1)}},{key:"render",value:function(){this.updatePosition(),this.updateLook(),this.position.set(this.velocity[0],this.velocity[1],this.velocity[2]),this.lookAt(this.lookVelocity[0],this.lookVelocity[1],this.lookVelocity[2])}}])&&i(t.prototype,n),f}(c.PerspectiveCamera)},46365:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=function(){function e(t,n,r,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.side=0,this.aScene=new i.Scene,this.vScene=new i.Scene,this.camera=new i.PerspectiveCamera(45,1,1,1e3),this.option={type:i.FloatType,minFilter:i.LinearFilter,magFilter:i.NearestFilter},this.acceleration=[new i.WebGLRenderTarget(0,0,this.option),new i.WebGLRenderTarget(0,0,this.option)],this.velocity=[new i.WebGLRenderTarget(0,0,this.option),new i.WebGLRenderTarget(0,0,this.option)],this.aUniforms={resolution:{type:"v2",value:new i.Vector2(document.body.clientWidth,window.innerHeight)},velocity:{type:"t",value:null},acceleration:{type:"t",value:null},time:{type:"f",value:0}},this.vUniforms={resolution:{type:"v2",value:new i.Vector2(document.body.clientWidth,window.innerHeight)},side:{type:"f",value:0},velocityInit:{type:"t",value:null},velocity:{type:"t",value:null},acceleration:{type:"t",value:null},time:{type:"f",value:0}},this.accelerationMesh=this.createMesh(this.aUniforms,t,n),this.velocityMesh=this.createMesh(this.vUniforms,r,o),this.uvs=[],this.targetIndex=0}var t,o;return t=e,(o=[{key:"init",value:function(e,t,r,o){this.side=Math.ceil(Math.sqrt(t.length/3)),this.vUniforms.side.value=this.side;for(var a=[],s=0;s<3*Math.pow(this.side,2);s+=3)null!=t[s]?(a[s+0]=t[s+0],a[s+1]=t[s+1],a[s+2]=t[s+2],this.uvs[s/3*2+0]=s/3%this.side/(this.side-1),this.uvs[s/3*2+1]=Math.floor(s/3/this.side)/(this.side-1)):(a[s+0]=0,a[s+1]=0,a[s+2]=0);if(r){var c=Object.keys(r);if(c.length)for(s=0;s<c.length;s++){for(var u=r[c[s]],l=u.array.length;l<a.length/3*u.itemSize;l++)u.array.push(0);this.accelerationMesh.geometry.setAttribute(c[s],new i.BufferAttribute(new Float32Array(u.array),u.itemSize))}}if(o){var f=Object.keys(o);if(f.length)for(s=0;s<f.length;s++){var h=o[f[s]];for(l=h.array.length;l<a.length/3*h.itemSize;l++)h.array.push(0);this.velocityMesh.geometry.setAttribute(f[s],new i.BufferAttribute(new Float32Array(h.array),h.itemSize))}}this.vUniforms.velocityInit.value=new i.DataTexture(new Float32Array(a),this.side,this.side,i.RGBFormat,i.FloatType),this.vUniforms.velocityInit.value.needsUpdate=!0;var v=new i.Mesh(new i.PlaneGeometry(2,2),new i.ShaderMaterial({uniforms:{velocity:{type:"t",value:this.vUniforms.velocityInit.value}},vertexShader:n(58679).Z,fragmentShader:n(4575).Z}));for(s=0;s<2;s++)this.acceleration[s].setSize(this.side,this.side),this.velocity[s].setSize(this.side,this.side);this.vScene.add(this.camera),this.vScene.add(v),e.setRenderTarget(this.velocity[0]),e.render(this.vScene,this.camera),e.setRenderTarget(this.velocity[1]),e.render(this.vScene,this.camera),this.vScene.remove(v),this.vScene.add(this.velocityMesh),this.aScene.add(this.accelerationMesh)}},{key:"createMesh",value:function(e,t,n){return new i.Mesh(new i.PlaneGeometry(2,2),new i.ShaderMaterial({uniforms:e,vertexShader:t,fragmentShader:n}))}},{key:"render",value:function(e,t){var n=Math.abs(this.targetIndex-1),r=this.targetIndex;this.aUniforms.acceleration.value=this.acceleration[n].texture,this.aUniforms.velocity.value=this.velocity[r].texture,e.setRenderTarget(this.acceleration[r]),e.render(this.aScene,this.camera),this.vUniforms.acceleration.value=this.acceleration[r].texture,this.vUniforms.velocity.value=this.velocity[r].texture,e.setRenderTarget(this.velocity[n]),e.render(this.vScene,this.camera),this.targetIndex=n,this.aUniforms.time.value+=t,this.vUniforms.time.value+=t}},{key:"getBufferAttributeUv",value:function(){return new i.BufferAttribute(new Float32Array(this.uvs),2)}},{key:"getCurrentVelocity",value:function(){return this.velocity[Math.abs(this.targetIndex-1)].texture}},{key:"getCurrentAcceleration",value:function(){return this.acceleration[Math.abs(this.targetIndex-1)].texture}},{key:"mergeAUniforms",value:function(e){this.aUniforms=Object.assign(this.aUniforms,e)}},{key:"mergeVUniforms",value:function(e){this.vUniforms=Object.assign(this.vUniforms,e)}},{key:"resize",value:function(e){this.aUniforms.resolution.value.set(document.body.clientWidth,window.clientHeight),this.vUniforms.resolution.value.set(document.body.clientWidth,window.clientHeight)}}])&&r(t.prototype,o),e}()},59170:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(2212),i=new r.TextureLoader;function o(e,t){var n=Object.keys(e).length,o={},a=0,s=function(){var s=c;e.hasOwnProperty(s)&&i.load(e[s],(function(e){e.repeat=r.RepeatWrapping,o[s]=e,++a>=n&&t(o)}))};for(var c in e)s()}},89813:function(e,t,n){"use strict";function r(e){e.x=e.x/document.body.clientWidth*2-1,e.y=-e.y/window.innerHeight*2+1}n.d(t,{Z:function(){return r}})},60287:function(e,t,n){"use strict";function r(){for(var e=decodeURIComponent(location.search.substring(1)).split("&"),t=0;t<e.length;t++)if(!(e[t].indexOf("sketch_id")<0)){var n=e[t].replace("sketch_id=","");switch(n=parseInt(n,10)){case 9:location.href="/sketch-threejs/sketch/attract.html";break;case 8:location.href="/sketch-threejs/sketch/hole.html";break;case 7:location.href="/sketch-threejs/sketch/metal_cube.html";break;case 6:location.href="/sketch-threejs/sketch/distort.html";break;case 5:location.href="/sketch-threejs/sketch/image_data.html";break;case 4:location.href="/sketch-threejs/sketch/gallery.html";break;case 3:location.href="/sketch-threejs/sketch/comet.html";break;case 2:location.href="/sketch-threejs/sketch/hyper_space.html";break;case 1:location.href="/sketch-threejs/sketch/fire_ball.html"}}}n.d(t,{Z:function(){return r}})},79268:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=(n(17393),function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0},rotate:{type:"f",value:10*Math.random()}},this.obj=this.createObj(),this.obj.position.set(t,n,r)}var t,o;return t=e,(o=[{key:"createObj",value:function(){return new i.Mesh(new i.BoxGeometry(100,100,100),new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(38577).Z,fragmentShader:n(85458).Z,transparent:!0,wireframe:!0}))}},{key:"render",value:function(e){this.uniforms.time.value+=e}}])&&r(t.prototype,o),e}())},14908:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return a}});var i=n(2212),o=n(17393),a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0}},this.obj=this.createObj(),this.obj.position.set(0,-200,0),this.obj.rotation.set(o.radians(-90),0,0)}var t,a;return t=e,(a=[{key:"createObj",value:function(){return new i.Mesh(new i.PlaneGeometry(1024,1024,32,32),new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(72406).Z,fragmentShader:n(5860).Z,transparent:!0,wireframe:!0}))}},{key:"render",value:function(e){this.uniforms.time.value+=e}}])&&r(t.prototype,a),e}()},49115:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0},resolution:{type:"v2",value:new i.Vector2(document.body.clientWidth,window.innerHeight)},texture:{type:"t",value:t}},this.obj=this.createObj(t),this.time=1}var t,o;return t=e,(o=[{key:"createObj",value:function(){return new i.Mesh(new i.PlaneGeometry(2,2),new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(47925).Z,fragmentShader:n(6595).Z}))}},{key:"render",value:function(e){this.uniforms.time.value+=e*this.time}},{key:"resize",value:function(){this.uniforms.resolution.value.set(document.body.clientWidth,window.innerHeight)}}])&&r(t.prototype,o),e}()},98899:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return a}});var i=n(2212),o=function(e,t,n){var r=[],i=[t[0]-e[0],t[1]-e[1],t[2]-e[2]],o=[n[0]-e[0],n[1]-e[1],n[2]-e[2]];r[0]=i[1]*o[2]-i[2]*o[1],r[1]=i[2]*o[0]-i[0]*o[2],r[2]=i[0]*o[1]-i[1]*o[0];for(var a=Math.sqrt(r[0]*r[0]+r[1]*r[1]+r[2]*r[2],2),s=0;s<r.length;s++)r[s]=r[s]/a;return r},a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0}},this.obj=this.createObj()}var t,a;return t=e,(a=[{key:"createObj",value:function(){for(var e=new i.OctahedronGeometry(90,20),t=e.attributes.position.array,r=[],a=[],s=[],c=0;c<t.length;c+=9){var u=o([t[c+0],t[c+1],t[c+2]],[t[c+3],t[c+4],t[c+5]],[t[c+6],t[c+7],t[c+8]]);r.push(u[0],u[1],u[2],u[0],u[1],u[2],u[0],u[1],u[2]);var l=[(t[c+0]+t[c+3]+t[c+6])/3,(t[c+1]+t[c+4]+t[c+7])/3,(t[c+2]+t[c+5]+t[c+8])/3],f=.5*Math.random();a.push(l[0],l[1],l[2],l[0],l[1],l[2],l[0],l[1],l[2]),s.push(f,f,f)}var h=new Float32Array(r),v=new Float32Array(a),d=new Float32Array(s);return e.setAttribute("faceNormal",new i.BufferAttribute(h,3)),e.setAttribute("center",new i.BufferAttribute(v,3)),e.setAttribute("delay",new i.BufferAttribute(d,1)),new i.Mesh(e,new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(33821).Z,fragmentShader:n(1483).Z,transparent:!0,side:i.DoubleSide}))}},{key:"render",value:function(e){this.uniforms.time.value+=e}}])&&r(t.prototype,a),e}()},68396:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0}},this.obj=this.createObj()}var t,o;return t=e,(o=[{key:"createObj",value:function(){var e=new i.OctahedronGeometry(150,20);return new i.Mesh(e,new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(14595).Z,fragmentShader:n(99133).Z,transparent:!0,side:i.DoubleSide,depthWrite:!1}))}},{key:"render",value:function(e){this.uniforms.time.value+=e}}])&&r(t.prototype,o),e}()},77583:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0},resolution:{type:"v2",value:new i.Vector2},texture:{type:"t",value:null}},this.obj,this.isLoaded=!1}var t,o;return t=e,(o=[{key:"loadTexture",value:function(e){var t=this;(new i.TextureLoader).load("/sketch-threejs/img/index/tex_title.png",(function(n){n.magFilter=i.NearestFilter,n.minFilter=i.NearestFilter,t.uniforms.texture.value=n,t.obj=t.createObj(),t.isLoaded=!0,e()}))}},{key:"createObj",value:function(){return new i.Mesh(new i.PlaneGeometry(256,64,40,10),new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(47807).Z,fragmentShader:n(47272).Z,transparent:!0}))}},{key:"render",value:function(e){this.isLoaded&&(this.uniforms.time.value+=e)}}])&&r(t.prototype,o),e}()},78948:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(2212),i=n(38314),o=n(93604).Z,a=n(77583).Z,s=n(98899).Z,c=n(68396).Z,u=n(14908).Z,l=n(79268).Z,f=n(49115).Z;function h(){var e=new o,t=document.getElementById("canvas-webgl"),n=new r.WebGL1Renderer({antialias:!1,canvas:t}),h=new r.WebGLRenderTarget(document.body.clientWidth,window.innerHeight),v=new r.Scene,d=new r.Scene,p=new r.OrthographicCamera(-1,1,1,-1,0,1),m=new r.PerspectiveCamera(45,document.body.clientWidth/window.innerHeight,1,1e4),y=new r.Clock,g=new a,x=new s,b=new c,w=new u,M=[new l(400,-500,200),new l(-350,-600,-50),new l(-150,-700,-150),new l(-500,-900,0),new l(100,-1100,250),new l(-100,-1200,-300),new l(150,-1500,-100)],_=new f(h.texture),S=document.getElementsByClassName("js-transition-intro"),P=function(){t.width=document.body.clientWidth,t.height=window.innerHeight,m.aspect=document.body.clientWidth/window.innerHeight,m.updateProjectionMatrix(),h.setSize(document.body.clientWidth,window.innerHeight),n.setSize(document.body.clientWidth,window.innerHeight),_.resize()};n.setSize(document.body.clientWidth,window.innerHeight),n.setClearColor(1118481,1),m.position.z=800,v.add(_.obj),g.loadTexture((function(){d.add(g.obj),d.add(x.obj),d.add(b.obj),d.add(w.obj);for(var e=0;e<M.length;e++)d.add(M[e].obj);!function(){for(var e=0;e<S.length;e++)S[e].classList.add("is-shown")}()})),y.start(),window.addEventListener("resize",i((function(){P()})),1e3),e.renderNext=function(){e.isValidSmooth()?m.position.y=.6*e.hookes.contents.velocity[1]:m.position.y=-1*e.scrollTop},P(),function e(){!function(){var e=y.getDelta();g.render(e),x.render(e),b.render(e),w.render(e);for(var t=0;t<M.length;t++)M[t].render(e);n.setRenderTarget(h),n.render(d,m),_.render(e),n.setRenderTarget(null),n.render(v,p)}(),requestAnimationFrame(e)}(),e.start()}},12390:function(e,t,n){var r,i=n(2212);n(45695),e.exports=((r=function(){this.velocity=new i.Vector2,this.acceleration=new i.Vector2,this.anchor=new i.Vector2,this.mass=1}).prototype.updateVelocity=function(){this.acceleration.divideScalar(this.mass),this.velocity.add(this.acceleration)},r.prototype.applyForce=function(e){this.acceleration.add(e)},r.prototype.applyFriction=function(e,t){var n=this.acceleration.clone();t||(t=1),n.multiplyScalar(-1),n.normalize(),n.multiplyScalar(e),this.applyForce(n)},r.prototype.applyDrag=function(e){var t=this.acceleration.clone();t.multiplyScalar(-1),t.normalize(),t.multiplyScalar(this.acceleration.length()*e),this.applyForce(t)},r.prototype.applyHook=function(e,t){var n=this.velocity.clone().sub(this.anchor),r=n.length()-e;n.normalize(),n.multiplyScalar(-1*t*r),this.applyForce(n)},r)},69338:function(e,t,n){var r,i=n(2212);n(45695),e.exports=((r=function(){this.velocity=new i.Vector3,this.acceleration=new i.Vector3,this.anchor=new i.Vector3,this.mass=1}).prototype.updateVelocity=function(){this.acceleration.divideScalar(this.mass),this.velocity.add(this.acceleration)},r.prototype.applyForce=function(e){this.acceleration.add(e)},r.prototype.applyFriction=function(e,t){var n=this.acceleration.clone();t||(t=1),n.multiplyScalar(-1),n.normalize(),n.multiplyScalar(e),this.applyForce(n)},r.prototype.applyDrag=function(e){var t=this.acceleration.clone();t.multiplyScalar(-1),t.normalize(),t.multiplyScalar(this.acceleration.length()*e),this.applyForce(t)},r.prototype.applyHook=function(e,t){var n=this.velocity.clone().sub(this.anchor),r=n.length()-e;n.normalize(),n.multiplyScalar(-1*t*r),this.applyForce(n)},r)},97719:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(2212),i=n(45695),o=n.n(i),a=n(69338),s=n.n(a);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(c,e);var t,n,r,i,a=(r=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=h(r);if(i){var n=h(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return f(this,e)});function c(e,t,n,r){var i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(i=a.call(this,e,t,n,r)).force={position:new(s()),look:new(s())},i.up.set(0,1,0),i}return t=c,(n=[{key:"updatePosition",value:function(){this.position.copy(this.force.position.velocity)}},{key:"updateLook",value:function(){this.lookAt(this.force.look.velocity.x,this.force.look.velocity.y,this.force.look.velocity.z)}},{key:"reset",value:function(){this.setPolarCoord(),this.lookAtCenter()}},{key:"resize",value:function(e,t){this.aspect=e/t,this.updateProjectionMatrix()}},{key:"setPolarCoord",value:function(e,t,n){this.force.position.anchor.copy(o().getPolarCoord(e,t,n))}},{key:"lookAtCenter",value:function(){this.lookAt(0,0,0)}}])&&u(t.prototype,n),c}(r.PerspectiveCamera)},5097:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(2212),i=n(45695),o=n.n(i),a=n(69338),s=n.n(a);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(c,e);var t,n,r,i,a=(r=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=h(r);if(i){var n=h(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return f(this,e)});function c(e,t,n){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(r=a.call(this,e,t,n)).force=new(s()),r}return t=c,(n=[{key:"updatePosition",value:function(){this.position.copy(this.force.velocity)}},{key:"setPolarCoord",value:function(e,t,n){this.position.copy(o().getPolarCoord(e,t,n))}}])&&u(t.prototype,n),c}(r.HemisphereLight)},42935:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(2212),i=n(45695),o=n.n(i),a=n(69338),s=n.n(a);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(c,e);var t,n,r,i,a=(r=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=h(r);if(i){var n=h(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return f(this,e)});function c(e,t,n,r){var i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(i=a.call(this,e,t,n,r)).force=new(s()),i}return t=c,(n=[{key:"updatePosition",value:function(){this.position.copy(this.force.velocity)}},{key:"setPolarCoord",value:function(e,t,n){this.position.copy(o().getPolarCoord(e,t,n))}}])&&u(t.prototype,n),c}(r.PointLight)},33286:function(e,t,n){n(2212),n(45695);var r,i=n(69338);e.exports=(((r=function(){this.size=0,this.time=0,this.is_active=!1,i.call(this)}).prototype=Object.create(i.prototype)).constructor=r,r.prototype.init=function(e){this.velocity=e.clone(),this.anchor=e.clone(),this.acceleration.set(0,0,0),this.time=0},r.prototype.activate=function(){this.is_active=!0},r.prototype.inactivate=function(){this.is_active=!1},r)},7318:function(e,t,n){var r,i=n(2212),o=(n(45695),n(69338));e.exports=(((r=function(){this.geometry=new i.BufferGeometry,this.material=null,this.obj,o.call(this)}).prototype=Object.create(o.prototype)).constructor=r,r.prototype.init=function(e){this.material=new i.ShaderMaterial({uniforms:{color:{type:"c",value:new i.Color(16777215)},texture:{type:"t",value:e.texture}},vertexShader:e.vs,fragmentShader:e.fs,transparent:!0,depthWrite:!1,blending:e.blending}),this.geometry.setAttribute("position",new i.BufferAttribute(e.positions,3)),this.geometry.setAttribute("customColor",new i.BufferAttribute(e.colors,3)),this.geometry.setAttribute("vertexOpacity",new i.BufferAttribute(e.opacities,1)),this.geometry.setAttribute("size",new i.BufferAttribute(e.sizes,1)),this.obj=new i.Points(this.geometry,this.material),e.scene.add(this.obj)},r.prototype.updatePoints=function(){this.obj.position.copy(this.velocity),this.obj.geometry.attributes.position.needsUpdate=!0,this.obj.geometry.attributes.vertexOpacity.needsUpdate=!0,this.obj.geometry.attributes.size.needsUpdate=!0,this.obj.geometry.attributes.customColor.needsUpdate=!0},r)},45695:function(e,t,n){var r=n(2212);e.exports={getRandomInt:function(e,t){return Math.floor(Math.random()*(t-e))+e},getDegree:function(e){return e/Math.PI*180},getRadian:function(e){return e*Math.PI/180},getPolarCoord:function(e,t,n){var i=Math.cos(e)*Math.cos(t)*n,o=Math.cos(e)*Math.sin(t)*n,a=Math.sin(e)*n;return new r.Vector3(i,a,o)}}},22732:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(2212),i=n(38314),o=n.n(i),a=n(89813),s=n(46365),c=n(97719),u=n(45695),l=n.n(u);function f(){var e,t,i,u,f,h,v=document.getElementById("canvas-webgl"),d=new r.WebGL1Renderer({antialias:!0,canvas:v}),p=new r.Scene,m=new c.Z(35,window.innerWidth/window.innerHeight,1,1e4),y=(new r.Clock,1e3),g=null,x=function(){for(var e=new r.BufferGeometry,t=[],i=[],o=[],a=[],s=0;s<Math.pow(y,2);s++)t.push(0,0,0),i.push(s%y*(1/999),Math.floor(s/y)*(1/999)),o.push(l().getRandomInt(0,120)/360,.8,1),a.push(l().getRandomInt(1,100));var c=new Float32Array(t);e.setAttribute("position",new r.BufferAttribute(c,3));var u=new Float32Array(i);e.setAttribute("uv2",new r.BufferAttribute(u,2));var f=new Float32Array(o);e.setAttribute("color",new r.BufferAttribute(f,3));var h=new Float32Array(a);e.setAttribute("mass",new r.BufferAttribute(h,1));var v=new r.ShaderMaterial({uniforms:{time:{type:"f",value:0},velocity:{type:"t",value:new r.Texture},acceleration:{type:"t",value:new r.Texture}},vertexShader:n(33524).Z,fragmentShader:n(46663).Z,transparent:!0,depthWrite:!1,blending:r.AdditiveBlending});return new r.Points(e,v)}(),b=function(){v.width=window.innerWidth,v.height=window.innerHeight,m.aspect=window.innerWidth/window.innerHeight,m.updateProjectionMatrix(),d.setSize(window.innerWidth,window.innerHeight)};d.setSize(window.innerWidth,window.innerHeight),d.setClearColor(1118481,1),m.position.set(1e3,1e3,1e3),m.lookAt(new r.Vector3),e=new r.Vector2,t=new r.Vector2,i=new r.Vector2,u=function(t,n,r){e.set(t,n),(0,a.Z)(e)},f=function(e,n,r){t.set(e,n),(0,a.Z)(t),g.accelerationMesh.material.uniforms.anchor.value.copy(t)},h=function(e,t,n){i.set(e,t)},window.addEventListener("resize",o()((function(){b()})),1e3),v.addEventListener("mousedown",(function(e){e.preventDefault(),u(e.clientX,e.clientY)})),v.addEventListener("mousemove",(function(e){e.preventDefault(),f(e.clientX,e.clientY)})),v.addEventListener("mouseup",(function(e){e.preventDefault(),h(e.clientX,e.clientY)})),v.addEventListener("touchstart",(function(e){e.preventDefault(),u(e.touches[0].clientX,e.touches[0].clientY)})),v.addEventListener("touchmove",(function(e){e.preventDefault(),f(e.touches[0].clientX,e.touches[0].clientY)})),v.addEventListener("touchend",(function(e){e.preventDefault(),h(e.changedTouches[0].clientX,e.changedTouches[0].clientY)})),window.addEventListener("mouseout",(function(){event.preventDefault(),i.set(0,0),g.accelerationMesh.material.uniforms.anchor.value.set(0,0,0)})),(g=new s.Z(n(47347).Z,n(64928).Z,n(40354).Z,n(95669).Z)).init(d,function(){for(var e=[],t=0;t<Math.pow(y,2);t++){var n=l().getPolarCoord(l().getRadian(l().getRandomInt(0,360)),l().getRadian(l().getRandomInt(0,360)),l().getRandomInt(10,1e3));e.push(n.x,n.y/10,n.z)}return e}()),g.accelerationMesh.material.uniforms.anchor={type:"v2",value:new r.Vector2},p.add(x),m.force.position.anchor.set(0,15,600),m.force.look.anchor.set(0,0,0),b(),function e(){g.render(d),x.material.uniforms.time.value++,x.material.uniforms.velocity.value=g.getCurrentVelocity(),x.material.uniforms.acceleration.value=g.getCurrentAcceleration(),m.force.position.applyHook(0,.025),m.force.position.applyDrag(.2),m.force.position.updateVelocity(),m.updatePosition(),m.force.look.applyHook(0,.2),m.force.look.applyDrag(.4),m.force.look.updateVelocity(),m.updateLook(),d.setRenderTarget(null),d.render(p,m),requestAnimationFrame(e)}()}},88811:function(e,t,n){"use strict";n.d(t,{Z:function(){return ae}});var r=n(2212),i=n(38314),o=n.n(i);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(f,e);var t,n,i,o,a=(i=f,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=l(i);if(o){var n=l(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return u(this,e)});function f(e,t,n,r){var i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),(i=a.call(this,e,t,n,r)).time=0,i.isActive=!1,i}return t=f,(n=[{key:"start",value:function(){this.aspect=1.5,this.far=1e3,this.setFocalLength(50),this.position.set(0,14,45),this.lookAt(new r.Vector3(0,-1,0)),this.isActive=!0}},{key:"update",value:function(e){!1!==this.isActive&&(this.time+=e)}},{key:"resize",value:function(e){this.aspect=e.x/e.y,this.updateProjectionMatrix()}}])&&s(t.prototype,n),f}(r.PerspectiveCamera),h=n(17393),v=n.n(h);function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=g(i);if(o){var n=g(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return y(this,e)});function s(e,t,n,r){var i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(i=a.call(this,e,t,n,r)).distance=0,i}return t=s,(n=[{key:"start",value:function(){this.aspect=1,this.far=1e3,this.setFocalLength(50),this.distance=30*Math.abs(2*Math.tan(v().radians(this.fov)/2))}},{key:"update",value:function(e){this.position.copy(e.position).normalize().multiplyScalar(this.distance),this.lookAt(new r.Vector3)}}])&&p(t.prototype,n),s}(r.PerspectiveCamera);function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function M(e,t){return(M=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(e,t){return!t||"object"!==b(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var P=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&M(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=S(i);if(o){var n=S(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return _(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.TorusKnotGeometry(2,.5,60,4),n=new r.RawShaderMaterial({uniforms:{time:{type:"f",value:0},alpha:{type:"f",value:0},renderOutline:{type:"f",value:0}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec3 normal;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform float time;\nuniform float renderOutline;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\n\nvoid main(void) {\n // coordinate transformation\n vec4 mPosition = modelMatrix * vec4(position + normal * renderOutline * 0.3, 1.0);\n\n vPosition = mPosition.xyz;\n vUv = uv;\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n",fragmentShader:"#extension GL_OES_standard_derivatives : enable\nprecision highp float;\n#define GLSLIFY 1\n\nuniform float alpha;\nuniform float renderOutline;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n // Flat Shading\n vec3 light = normalize(vec3(-1.0, 1.0, -1.0));\n vec3 normal = normalize(cross(dFdx(vPosition), dFdy(vPosition)));\n float diff = dot(normal, light) * 0.5;\n\n vec3 hsv = vec3(0.5 + alpha + diff * 0.8, 0.4, 0.8);\n vec3 rgb = convertHsvToRgb(hsv);\n\n vec3 color = (rgb + diff) * (1.0 - renderOutline);\n vec3 colorOutline = vec3(1.0) * renderOutline;\n\n gl_FragColor = vec4(color + colorOutline, 1.0);\n}\n"});return(e=a.call(this,t,n)).name="TorusKnot",e.isActive=!1,e}return t=s,(n=[{key:"start",value:function(e){this.isActive=!0,this.rotation.set(v().radians(360*Math.random()),v().radians(360*Math.random()),v().radians(360*Math.random())),this.material.uniforms.alpha.value=e}},{key:"update",value:function(e,t){!1!==this.isActive&&(this.rotation.set(this.rotation.x+e,this.rotation.y+e,this.rotation.z),this.material.uniforms.time.value+=e)}}])&&w(t.prototype,n),s}(r.Mesh);function T(e){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function R(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function z(e,t){return!t||"object"!==T(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function L(e){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var C=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=L(i);if(o){var n=L(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return z(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.PlaneGeometry(15,15),n=new r.RawShaderMaterial({uniforms:{time:{type:"f",value:0},alpha:{type:"f",value:0},outlineTex:{type:"t",value:null},noiseTex:{type:"t",value:null}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\n\nvoid main(void) {\n // coordinate transformation\n vec4 mPosition = modelMatrix * vec4(position, 1.0);\n\n vPosition = position;\n vUv = uv;\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform float alpha;\nuniform sampler2D outlineTex;\nuniform sampler2D noiseTex;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\n\nconst float blurIteration = 8.0;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n // calculate blur mask.\n vec4 destColor = vec4(0.0);\n for (float i = 0.0; i < blurIteration; i++) {\n for (float j = 0.0; j < blurIteration; j++) {\n vec2 p = (vec2(i, j) / blurIteration * 2.0 - 1.0) / 512.0 * 60.0;\n destColor += texture2D(outlineTex, vUv + p) / pow(blurIteration, 2.0);\n }\n }\n float blurMask = smoothstep(0.0, 0.8, destColor.r) * (1.0 - smoothstep(0.5, 1.0, destColor.r));\n\n float noise1 = texture2D(noiseTex, vUv + vec2(0.0, time * 0.1 + alpha)).r;\n float noise2 = texture2D(noiseTex, vUv * 2.0 - vec2(0.0, time * 0.4 + alpha)).g;\n float noise3 = texture2D(noiseTex, vUv * 3.0 + vec2(0.0, time * 0.8 + alpha)).b;\n float noise = noise1 * 0.65 + noise2 * 0.3 + noise3 * 0.05;\n\n float mask = blurMask * pow(smoothstep(0.2, 1.0, noise), 3.0) * 15.0;\n\n vec3 hsv = vec3(1.0 + mask * 0.5 + alpha, 0.8 - mask * 0.6, 0.5 + mask * 0.5);\n\n gl_FragColor = vec4(convertHsvToRgb(hsv), mask);\n}\n",transparent:!0});return(e=a.call(this,t,n)).name="Aura",e.isActive=!1,e}return t=s,(n=[{key:"start",value:function(e,t,n){this.isActive=!0,this.material.uniforms.alpha.value=e,this.material.uniforms.outlineTex.value=t,this.material.uniforms.noiseTex.value=n}},{key:"update",value:function(e,t){!1!==this.isActive&&(this.rotation.copy(t.rotation),this.material.uniforms.time.value+=e)}}])&&R(t.prototype,n),s}(r.Mesh);function A(e){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function I(e,t){return!t||"object"!==A(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var F=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=k(i);if(o){var n=k(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return I(this,e)});function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=a.call(this)).name="AuraObject",t.obj=new P,t.aura=new C,t.add(t.aura),t.add(t.obj),t.renderTarget=new r.WebGLRenderTarget(512,512),t.alpha=e,t.radian=v().radians(360*e),t.time=0,t.isActive=!1,t}return t=s,(n=[{key:"start",value:function(e){this.obj.start(this.alpha),this.aura.start(this.alpha,this.renderTarget.texture,e),this.isActive=!0}},{key:"update",value:function(e,t,n,r,i){!1!==this.isActive&&(this.time+=e,this.radian+=e,this.obj.update(e,r),this.aura.update(e,r),t.setRenderTarget(this.renderTarget),n.add(this.obj),this.obj.material.uniforms.renderOutline.value=1,t.render(n,i),t.setRenderTarget(null),n.remove(this.obj),this.add(this.obj),this.obj.material.uniforms.renderOutline.value=0,this.position.set(11*Math.cos(this.radian),0,11*Math.sin(this.radian)))}},{key:"resize",value:function(e){}}])&&O(t.prototype,n),s}(r.Group);function j(e){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function U(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function B(e,t){return(B=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function G(e,t){return!t||"object"!==j(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var H,V=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=N(i);if(o){var n=N(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return G(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.SphereGeometry(100,12,12),n=new r.RawShaderMaterial({uniforms:{time:{type:"f",value:0},hex:{type:"f",value:0}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n // coordinate transformation\n vec4 mPosition = modelMatrix * vec4(position, 1.0);\n\n vUv = uv;\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform float hex;\n\nvarying vec2 vUv;\nvarying vec3 vColor;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n vec3 rgb = mix(\n convertHsvToRgb(vec3(0.5, 0.8, 0.05)),\n convertHsvToRgb(vec3(0.0, 0.4, 0.4)),\n vUv.y * 4.0 - 1.15\n );\n\n gl_FragColor = vec4(rgb, 1.0);\n}\n",side:r.BackSide});return(e=a.call(this,t,n)).name="Background",e}return t=s,(n=[{key:"start",value:function(){}},{key:"update",value:function(){}}])&&U(t.prototype,n),s}(r.Mesh);function W(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function Z(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}for(var q=new r.Scene,Y=new f,X=new r.Clock({autoStart:!1}),K=new r.Scene,Q=new x,J=new Array(7),$=0;$<J.length;$++){var ee=$/J.length;J[$]=new F(ee)}var te=new V,ne=new r.TextureLoader,re=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i,o;return t=e,(n=[{key:"start",value:(i=regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(H=new r.WebGL1Renderer({alpha:!0,antialias:!0,canvas:t})).setPixelRatio(window.devicePixelRatio),H.setClearColor(0,1),e.next=5,Promise.all([ne.loadAsync("/sketch-threejs/img/sketch/splash/noise.png")]).then((function(e){var t=e[0];t.wrapS=r.RepeatWrapping,t.wrapT=r.RepeatWrapping,Y.start(),Q.start();for(var n=0;n<J.length;n++)J[n].start(t),q.add(J[n]);te.start(),q.add(te)}));case 5:case"end":return e.stop()}}),e)})),o=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){W(o,n,r,a,s,"next",e)}function s(e){W(o,n,r,a,s,"throw",e)}a(void 0)}))},function(e){return o.apply(this,arguments)})},{key:"play",value:function(){X.start(),this.update()}},{key:"pause",value:function(){X.stop()}},{key:"update",value:function(){if(!1!==X.running){var e=X.getDelta();Y.update(e),Q.update(Y);for(var t=0;t<J.length;t++)J[t].update(e,H,K,Y,Q);H.render(q,Y)}}},{key:"resize",value:function(e){Y.resize(e);for(var t=0;t<J.length;t++)J[t].resize(Y);H.setSize(e.x,e.y)}}])&&Z(t.prototype,n),e}();function ie(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function oe(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){ie(o,r,i,a,s,"next",e)}function s(e){ie(o,r,i,a,s,"throw",e)}a(void 0)}))}}function ae(){return se.apply(this,arguments)}function se(){return(se=oe(regeneratorRuntime.mark((function e(){var t,n,i,a,s,c,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=new re,n=new r.Vector2,i=document.getElementById("canvas-webgl"),a=document.querySelector(".p-preloader"),s=function(){n.set(document.body.clientWidth,window.innerHeight),i.width=n.x,i.height=n.y,t.resize(n)},c=function(){window.addEventListener("blur",(function(){t.pause()})),window.addEventListener("focus",(function(){t.play()})),window.addEventListener("resize",o()(s,100))},u=function e(){t.update(),requestAnimationFrame(e)},e.next=9,t.start(i);case 9:c(),s(),a.classList.add("is-hidden"),t.play(),u();case 14:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},24491:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return a}});var i=n(2212),o=n(17393),a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0}},this.instances=500,this.obj}var t,a;return t=e,(a=[{key:"createObj",value:function(){var e=new i.InstancedBufferGeometry,t=new i.BoxGeometry(1,1e3,1,2,128);e.copy(t);for(var r=new i.InstancedBufferAttribute(new Float32Array(3*this.instances),3),a=new i.InstancedBufferAttribute(new Float32Array(this.instances),1),s=new i.InstancedBufferAttribute(new Float32Array(this.instances),1),c=0,u=this.instances;c<u;c++)r.setXYZ(c,300*((Math.random()+Math.random()+Math.random())/3*2-1),0,150*((Math.random()+Math.random()+Math.random())/3*2-1)),a.setXYZ(c,90*(2*o.randomInt(0,1)-1)+60*(2*Math.random()-1)),s.setXYZ(c,2*Math.random());e.setAttribute("instancePosition",r),e.setAttribute("rotate",a),e.setAttribute("delay",s);var l=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(61915).Z,fragmentShader:n(71883).Z,depthWrite:!1,transparent:!0,side:i.DoubleSide,blending:i.AdditiveBlending});this.obj=new i.InstancedMesh(e,l,this.instances)}},{key:"render",value:function(e){this.uniforms.time.value+=e}}])&&r(t.prototype,a),e}()},45032:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(2212),i=n(38314),o=n(24491).Z;function a(){var e=new r.Vector2,t=document.getElementById("canvas-webgl"),n=new r.WebGL1Renderer({antialias:!0,canvas:t}),a=new r.Scene,s=new r.PerspectiveCamera(120,1,1,1e4),c=new r.Clock,u=new r.Vector2,l=new r.Vector2,f=new r.Vector2,h=new o,v=function(){e.set(document.body.clientWidth,window.innerHeight),t.width=e.x,t.height=e.y,s.aspect=e.x/e.y,s.updateProjectionMatrix(),n.setSize(e.x,e.y)};window.addEventListener("resize",i(v,1e3)),t.addEventListener("mousedown",(function(e){e.preventDefault(),u.set(e.clientX,e.clientY)})),document.addEventListener("mousemove",(function(e){e.preventDefault(),l.set(e.clientX,e.clientY)})),document.addEventListener("mouseup",(function(e){e.preventDefault(),f.set(e.clientX,e.clientY)})),t.addEventListener("touchstart",(function(e){e.preventDefault(),u.set(e.touches[0].clientX,e.touches[0].clientY)})),t.addEventListener("touchmove",(function(e){e.preventDefault(),l.set(e.touches[0].clientX,e.touches[0].clientY)})),t.addEventListener("touchend",(function(e){e.preventDefault(),f.set(e.changedTouches[0].clientX,e.changedTouches[0].clientY)})),v(),h.createObj(),a.add(h.obj),n.setClearColor(921102,1),s.position.set(0,0,100),s.lookAt(new r.Vector3(0,0,0)),function e(){var t;t=c.getDelta(),h.render(t),n.render(a,s),requestAnimationFrame(e)}()}},53739:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0}},this.obj}var t,o;return t=e,(o=[{key:"createObj",value:function(){for(var e=new i.BufferGeometry,t=[],r=50,o=0;o<r;o++)for(var a=0;a<r;a++)for(var s=0;s<r;s++){var c=70*(s/r*2-1),u=70*(a/r*2-1),l=70*(o/r*2-1);t.push(c,u,l)}var f=new i.BufferAttribute(new Float32Array(t),3);e.setAttribute("position",f);var h=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(61765).Z,fragmentShader:n(7401).Z,transparent:!0,depthWrite:!1});this.obj=new i.Points(e,h)}},{key:"render",value:function(e){this.uniforms.time.value+=e,this.obj.rotation.set(.005*this.uniforms.time.value,.02*this.uniforms.time.value,.004*this.uniforms.time.value)}}])&&r(t.prototype,o),e}()},75255:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(2212),i=n(38314),o=n(53739).Z;function a(){var e=new r.Vector2,t=document.getElementById("canvas-webgl"),n=new r.WebGL1Renderer({antialias:!1,canvas:t}),a=new r.Scene,s=new r.PerspectiveCamera(90,1,1,1e4),c=new r.Clock,u=new r.Vector2,l=new r.Vector2,f=new r.Vector2,h=new o,v=function(){e.set(document.body.clientWidth,window.innerHeight),t.width=e.x,t.height=e.y,s.aspect=e.x/e.y,s.updateProjectionMatrix(),n.setSize(e.x,e.y)};window.addEventListener("resize",i(v,1e3)),t.addEventListener("mousedown",(function(e){e.preventDefault(),u.set(e.clientX,e.clientY)})),document.addEventListener("mousemove",(function(e){e.preventDefault(),l.set(e.clientX,e.clientY)})),document.addEventListener("mouseup",(function(e){e.preventDefault(),f.set(e.clientX,e.clientY)})),t.addEventListener("touchstart",(function(e){e.preventDefault(),u.set(e.touches[0].clientX,e.touches[0].clientY)})),t.addEventListener("touchmove",(function(e){e.preventDefault(),l.set(e.touches[0].clientX,e.touches[0].clientY)})),t.addEventListener("touchend",(function(e){e.preventDefault(),f.set(e.changedTouches[0].clientX,e.changedTouches[0].clientY)})),v(),h.createObj(),a.add(h.obj),n.setClearColor(15329769,1),s.position.set(10,10,50),s.lookAt(new r.Vector3),function e(){var t;t=c.getDelta(),h.render(t),n.render(a,s),requestAnimationFrame(e)}()}},54614:function(e,t,n){"use strict";n.d(t,{Z:function(){return H}});var r=n(2212),i=n(38314),o=n.n(i),a=n(29130),s=n.n(a),c=n(17393),u=n.n(c);function l(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var h=new(n(48840).L),v=new r.TextureLoader,d=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0},tex:{type:"t",value:null}},this.obj}var t,i,o,a;return t=e,(i=[{key:"createObj",value:(o=regeneratorRuntime.mark((function e(){var t,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h.loadAsync("/sketch-threejs/model/buddha/buddha_head.obj");case 2:return t=e.sent,e.next=5,v.loadAsync("/sketch-threejs/model/buddha/buddha_ao.jpg");case 5:this.uniforms.tex.value=e.sent,i=new r.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(11530).Z,fragmentShader:n(34566).Z}),this.obj=new r.Mesh(t.children[0].geometry,i),this.obj.position.y=16,this.obj.scale.set(7,7,7);case 10:case"end":return e.stop()}}),e,this)})),a=function(){var e=this,t=arguments;return new Promise((function(n,r){var i=o.apply(e,t);function a(e){l(i,n,r,a,s,"next",e)}function s(e){l(i,n,r,a,s,"throw",e)}a(void 0)}))},function(){return a.apply(this,arguments)})},{key:"render",value:function(e,t,n){this.uniforms.time.value+=e,this.obj.rotation.set(u().radians(t-15),u().radians(n+15-5*this.uniforms.time.value),u().radians(-20))}}])&&f(t.prototype,i),e}();function p(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var y=new r.TextureLoader,g=void 0,x=void 0,b=void 0,w=void 0,M=void 0,_=void 0,S=void 0,P=0,T=0,R=0,E=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0},texHannyaShingyo:{type:"t",value:void 0},unitUv:{type:"f",value:0},duration:{type:"f",value:4}},this.obj}var t,i,o,a;return t=e,(i=[{key:"createObj",value:(o=regeneratorRuntime.mark((function e(){var t,i,o,a,s,c,l,f;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(t="瑕宠嚜鍦ㄨ彥钖╄娣辫埇鑻ユ尝缇呰湝澶氭檪鐓ц浜旇槉鐨嗙┖搴︿竴鍒囪嫤鍘勮垘鍒╁瓙鑹蹭笉鐣扮┖绌轰笉鐣拌壊鑹插嵆鏄┖绌哄嵆鏄壊鍙楁兂琛岃瓨浜﹀京濡傛槸鑸庡埄瀛愭槸璜告硶绌虹浉涓嶇敓涓嶆粎涓嶅灑涓嶆祫涓嶅涓嶆笡鏄晠绌轰腑鐒¤壊鐒″彈鎯宠璀樼劇鐪艰�抽蓟鑸岃韩鎰忕劇鑹插0棣欏懗瑙︽硶鐒$溂鐣屼箖鑷崇劇鎰忚瓨鐣岀劇鐒℃槑浜︾劇鐒℃槑灏戒箖鑷崇劇鑰佹浜︾劇鑰佹灏界劇鑻﹂泦婊呴亾鐒℃櫤浜︾劇寰椾互鐒℃墍寰楁晠鑿╂彁钖╁煹渚濊埇鑻ユ尝缇呰湝澶氭晠蹇冪劇缃g鐒$剑绀欐晠鐒℃湁鎭愭�栭仩闆竴鍒囬鍊掑あ鎯崇┒绔熸秴妲冧笁涓栬浠忎緷鑸嫢娉㈢緟铚滃鏁呭緱闃胯�ㄥ缇呬笁钘愪笁鑿╂彁鏁呯煡鑸嫢娉㈢緟铚滃鏄ぇ绁炲應鏄ぇ鏄庡應鏄劇涓婂應鏄劇绛夌瓑鍛兘闄や竴鍒囪嫤鐪熷疅涓嶈櫄鏁呰鑸嫢娉㈢緟铚滃鍛嵆瑾應鏃ョ警璜︾警璜︽尝缇呯警璜︽尝缇呭儳缇鑿╂彁钖╁﹩瑷惰埇鑻ュ績绲�",i=Math.ceil(Math.sqrt(t.length)),o=new r.InstancedBufferGeometry,a=new r.PlaneGeometry(6,6),o.copy(a),P=t.length,g=new r.InstancedBufferAttribute(new Float32Array(3*P),3),x=new r.InstancedBufferAttribute(new Float32Array(2*P),2),b=new r.InstancedBufferAttribute(new Float32Array(P),1),w=new r.InstancedBufferAttribute(new Float32Array(P),1),M=new r.InstancedBufferAttribute(new Float32Array(P),1),_=new r.InstancedBufferAttribute(new Float32Array(P),1),S=new r.InstancedBufferAttribute(new Float32Array(P),1),s=0;s<i;s++)for(c=0;c<i;c++)l=s*i+c,u().radians(360*Math.random()),Math.random(),x.setXY(l,c/i,(i-s-1)/i),b.setX(l,l);return o.setAttribute("iPosition",g),o.setAttribute("iUv",x),o.setAttribute("iId",b),o.setAttribute("iTime",w),o.setAttribute("iIsAnimated",M),o.setAttribute("iScale",_),o.setAttribute("iMove",S),f=new r.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(46301).Z,fragmentShader:n(83257).Z,transparent:!0,depthWrite:!1}),e.next=26,y.loadAsync("/sketch-threejs/img/sketch/buddha/hannya_text.png");case 26:this.uniforms.texHannyaShingyo.value=e.sent,this.uniforms.unitUv.value=1/i,this.obj=new r.InstancedMesh(o,f,i*i),this.obj.position.y=0,this.obj.frustumCulled=!1;case 31:case"end":return e.stop()}}),e,this)})),a=function(){var e=this,t=arguments;return new Promise((function(n,r){var i=o.apply(e,t);function a(e){p(i,n,r,a,s,"next",e)}function s(e){p(i,n,r,a,s,"throw",e)}a(void 0)}))},function(){return a.apply(this,arguments)})},{key:"render",value:function(e){if(this.uniforms.time.value+=e,(R+=e)>.5){var t=u().radians(270*Math.random()-45),n=12*Math.random()+12;g.setXYZ(T,Math.cos(t)*n,0,Math.sin(t)*n),M.setX(T,1),_.setX(T,.1*(Math.random()+Math.random()-1)+1),S.setX(T,5*(Math.random()+Math.random()-1)+30),g.needsUpdate=!0,M.needsUpdate=!0,_.needsUpdate=!0,S.needsUpdate=!0,R=0,T=T>=P-1?0:T+1}for(var r=0;r<P;r++)if(0!==M.getX(r)){var i=w.getX(r);i>4?(M.setX(r,0),w.setX(r,0)):w.setX(r,i+e)}M.needsUpdate=!0,w.needsUpdate=!0}}])&&m(t.prototype,i),e}();function z(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var L=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0}},this.obj}var t,i;return t=e,(i=[{key:"createObj",value:function(){var e=new r.PlaneGeometry(70,70,512,512),t=new r.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(67467).Z,fragmentShader:n(76100).Z,transparent:!0});this.obj=new r.Mesh(e,t),this.obj.rotation.set(u().radians(-90),0,0)}},{key:"render",value:function(e){this.uniforms.time.value+=e}}])&&z(t.prototype,i),e}();function C(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var A=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0}},this.obj}var t,i;return t=e,(i=[{key:"createObj",value:function(){for(var e=new r.BufferGeometry,t=[],i=[],o=[],a=0;a<1800;a+=3){var s=Math.random()*Math.random()*60+20,c=u().radians(360*Math.random());t[a+0]=Math.cos(c)*s,t[a+1]=0,t[a+2]=Math.sin(c)*s,i[a/3]=120*Math.random(),o[a/3]=120*Math.random()}var l=new r.BufferAttribute(new Float32Array(t),3),f=new r.BufferAttribute(new Float32Array(i),1),h=new r.BufferAttribute(new Float32Array(o),1);e.setAttribute("position",l),e.setAttribute("delay1",f),e.setAttribute("delay2",h);var v=new r.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(47869).Z,fragmentShader:n(29808).Z,transparent:!0,depthWrite:!1,blending:r.AdditiveBlending});this.obj=new r.Points(e,v)}},{key:"render",value:function(e){this.uniforms.time.value+=e}}])&&C(t.prototype,i),e}();function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var D=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0}},this.obj}var t,i;return t=e,(i=[{key:"createObj",value:function(){var e=new r.PlaneGeometry(60,60,512,512),t=new r.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(42832).Z,fragmentShader:n(29608).Z,transparent:!0});this.obj=new r.Mesh(e,t),this.obj.position.y=16,this.obj.position.z=-30}},{key:"render",value:function(e){this.uniforms.time.value+=e}}])&&O(t.prototype,i),e}();function I(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var k=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0}},this.obj}var t,i;return t=e,(i=[{key:"createObj",value:function(){var e=new r.SphereGeometry(100,128,128),t=new r.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(6834).Z,fragmentShader:n(51261).Z,side:r.BackSide});this.obj=new r.Mesh(e,t),this.obj.position.y=16}},{key:"render",value:function(e){this.uniforms.time.value+=e}}])&&I(t.prototype,i),e}();function F(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var j=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0},texture:{type:"t",value:t},resolution:{type:"v2",value:new r.Vector2}},this.obj}var t,i;return t=e,(i=[{key:"createObj",value:function(){var e=new r.PlaneGeometry(2,2),t=new r.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(59933).Z,fragmentShader:n(16918).Z});this.obj=new r.Mesh(e,t)}},{key:"resize",value:function(e,t){this.uniforms.resolution.value.set(e,t)}},{key:"render",value:function(e){this.uniforms.time.value+=e}}])&&F(t.prototype,i),e}();function U(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var B=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.resolution=t,this.vTouchStart=new r.Vector2,this.vPrev=new r.Vector2,this.v=new r.Vector2,this.a=new r.Vector2,this.anchor=new r.Vector2,this.isTouched=!1}var t,n;return t=e,(n=[{key:"touchStart",value:function(e){e.touches||e.preventDefault(),this.vPrev.copy(this.v),this.a.set(0,0),this.vTouchStart.set(e.touches?e.touches[0].clientX:e.clientX,e.touches?e.touches[0].clientY:e.clientY),this.isTouched=!0}},{key:"touchMove",value:function(e){e.touches&&e.preventDefault();var t=e.touches?e.touches[0].clientX:e.clientX,n=e.touches?e.touches[0].clientY:e.clientY;!1!==this.isTouched&&this.anchor.set((t-this.vTouchStart.x)/(this.resolution.x/200)+this.vPrev.x,u().clamp((n-this.vTouchStart.y)/(this.resolution.y/200)+this.vPrev.y,-90,90))}},{key:"touchEnd",value:function(e){this.isTouched=!1}},{key:"render",value:function(){this.a.set((this.anchor.x-this.v.x)/10,(this.anchor.y-this.v.y)/10),this.v.add(this.a)}}])&&U(t.prototype,n),e}();function G(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function N(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){G(o,r,i,a,s,"next",e)}function s(e){G(o,r,i,a,s,"throw",e)}a(void 0)}))}}function H(){return V.apply(this,arguments)}function V(){return(V=N(regeneratorRuntime.mark((function e(){var t,n,i,a,c,u,l,f,h,v,p,m,y,g,x,b,w,M,_,S,P,T,R;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=new r.Vector2,n=document.getElementById("canvas-webgl"),i=new r.WebGL1Renderer({alpha:!0,antialias:!0,canvas:n}),a=new r.Scene,c=new r.PerspectiveCamera,u=new r.Clock({autoStart:!1}),l=new r.WebGLRenderTarget,f=new r.Scene,h=new r.OrthographicCamera(-1,1,1,-1,1,2),v=document.querySelector(".p-preloader"),p=new d,m=new E,y=new L,g=new A,x=new D,b=new k,w=new B(t),(M=new j(l.texture)).createObj(),f.add(M.obj),_=function(){var e=u.getDelta();w.render(t),p.render(e,w.v.y,w.v.x),m.render(e),y.render(e),g.render(e),x.render(e),i.setRenderTarget(l),i.render(a,c),M.render(e),i.setRenderTarget(null),i.render(f,h)},S=function e(){_(),requestAnimationFrame(e)},P=function(){c.setFocalLength(35*Math.min(t.x/1200,1)+15),c.setViewOffset(1200,800,(t.x-1200)/-2,(t.y-800)/-2,t.x,t.y),c.updateProjectionMatrix()},T=function(){t.set(document.body.clientWidth,window.innerHeight),n.width=t.x,n.height=t.y,P(),i.setSize(t.x,t.y),l.setSize(t.x,t.y),M.resize(t.x,t.y)},R=function(){var e=function(e){w.touchStart(e)},t=function(e){w.touchMove(e)},r=function(e){w.touchEnd(e)};n.addEventListener("mousedown",e,{passive:!1}),window.addEventListener("mousemove",t,{passive:!1}),window.addEventListener("mouseup",r),n.addEventListener("touchstart",e,{passive:!1}),window.addEventListener("touchmove",t,{passive:!1}),window.addEventListener("touchend",r),window.addEventListener("resize",o()(T,100))},i.setClearColor(592137,1),c.aspect=1.5,c.far=1e3,c.position.set(0,12,85),c.lookAt(new r.Vector3(0,14,0)),e.next=32,p.createObj();case 32:return e.next=34,m.createObj();case 34:return y.createObj(),g.createObj(),x.createObj(),b.createObj(),m.obj.renderOrder=10,a.add(p.obj),a.add(m.obj),a.add(y.obj),a.add(g.obj),a.add(x.obj),a.add(b.obj),R(),T(),v.classList.add("is-hidden"),e.next=50,s()(200);case 50:u.start(),S();case 52:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},97018:function(e,t,n){"use strict";n.d(t,{Z:function(){return K}});var r=n(2212),i=n(38314),o=n.n(i);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(f,e);var t,n,i,o,a=(i=f,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=l(i);if(o){var n=l(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return u(this,e)});function f(e,t,n,i){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),(o=a.call(this,e,t,n,i)).cameraResolution=new r.Vector2,o}return t=f,(n=[{key:"start",value:function(){this.aspect=1.5,this.far=1e3,this.setFocalLength(50),this.position.set(0,0,50),this.lookAt(new r.Vector3)}},{key:"update",value:function(e){}},{key:"resize",value:function(e){this.aspect=e.x/e.y,this.updateProjectionMatrix()}}])&&s(t.prototype,n),f}(r.PerspectiveCamera),h=n(31430),v=n(17393),d=n.n(v);function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=x(i);if(o){var n=x(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return g(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.PlaneGeometry(1,1,64,64),n=new r.RawShaderMaterial({uniforms:{time:{type:"f",value:0},easeTransition:{type:"f",value:0},noiseTex:{type:"t",value:null},imgPrevTex:{type:"t",value:null},imgNextTex:{type:"t",value:null},imgRatio:{type:"v2",value:new r.Vector2}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform float time;\nuniform float easeTransition;\nuniform vec2 imgRatio;\nuniform sampler2D noiseTex;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying vec2 vUpdateUv;\nvarying float vTime;\n\nvoid main(void) {\n vec2 updateUv = uv * imgRatio + vec2(\n (1.0 - imgRatio.x) * 0.5,\n (1.0 - imgRatio.y) * 0.5\n );\n\n float noiseR = texture2D(noiseTex, updateUv + vec2(time * 0.1, 0.0)).r;\n float noiseG = texture2D(noiseTex, updateUv + vec2(time * 0.2, 0.0)).g;\n float slide = texture2D(noiseTex, uv * vec2(0.998) + 0.001).b;\n\n float mask = easeTransition * 1.6 - slide;\n float maskPrev = smoothstep(0.0, 0.3, mask);\n float maskNext = 1.0 - smoothstep(0.3, 0.6, mask);\n float height = maskPrev * maskNext * 4.0;\n\n // coordinate transformation\n vec4 mPosition = modelMatrix * vec4(position + vec3(0.0, 0.0, height), 1.0);\n\n vPosition = position;\n vUv = uv;\n vUpdateUv = updateUv;\n vTime = easeTransition;\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform float easeTransition;\nuniform vec2 imgRatio;\nuniform sampler2D noiseTex;\nuniform sampler2D imgPrevTex;\nuniform sampler2D imgNextTex;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying vec2 vUpdateUv;\nvarying float vTime;\n\nvoid main() {\n vec2 ratio = vec2(\n min(imgRatio.x / imgRatio.y / 3.0 * 2.0, 1.0),\n min(imgRatio.y / imgRatio.x / 2.0 * 3.0, 1.0) / 3.0 * 2.0\n );\n vec2 imgUv = vec2(\n vUv.x * ratio.x + (1.0 - ratio.x) * 0.5,\n vUv.y * ratio.y + (1.0 - ratio.y) * 0.5\n );\n\n float noiseR = texture2D(noiseTex, vUpdateUv + vec2(time * 0.1, 0.0)).r;\n float noiseG = texture2D(noiseTex, vUpdateUv + vec2(time * 0.2, 0.0)).g;\n float slide = texture2D(noiseTex, vUv * vec2(0.998) + 0.001).b;\n\n float mask = vTime * 1.24 - (slide * 0.6 + noiseR * 0.2 + noiseG * 0.2);\n float maskPrev = 1.0 - smoothstep(0.12, 0.16, mask);\n float maskNext = smoothstep(0.16, 0.2, mask);\n float maskEdge = smoothstep(0.04, 0.12, mask) * (1.0 - smoothstep(0.2, 0.28, mask));\n\n vec4 imgPrev = texture2D(imgPrevTex, imgUv * (0.95 - 0.05 * easeTransition) + 0.025 + 0.025 * easeTransition);\n vec4 imgNext = texture2D(imgNextTex, imgUv * (1.0 - 0.05 * easeTransition) + 0.025 * easeTransition);\n\n // 0.9 - 0.8\n // 1.0 - 0.9\n\n vec3 color1 = imgPrev.rgb * maskPrev;\n vec3 color2 = imgNext.rgb * maskNext;\n vec3 color3 = vec3(0.0, 0.2, 1.0) * maskEdge;\n\n gl_FragColor = vec4(color1 + color2 - color3, 1.0);\n}\n"});return(e=a.call(this,t,n)).name="Image",e.imgIndexPrev=0,e.imgIndexNext=1,e}return t=s,(n=[{key:"start",value:function(e,t){this.imgTexes=t,this.material.uniforms.noiseTex.value=e,this.material.uniforms.imgPrevTex.value=this.imgTexes[this.imgIndexPrev],this.material.uniforms.imgNextTex.value=this.imgTexes[this.imgIndexNext]}},{key:"update",value:function(e,t){this.material.uniforms.time.value+=e,this.material.uniforms.easeTransition.value=t}},{key:"resize",value:function(e){this.material.uniforms.imgRatio.value.set(Math.min(1,e.x/e.y),Math.min(1,e.y/e.x)),this.scale.copy(e)}},{key:"changeTex",value:function(){this.imgIndexPrev=this.imgIndexNext,this.imgIndexNext=this.imgIndexNext+1>=this.imgTexes.length?0:this.imgIndexNext+1,this.material.uniforms.imgPrevTex.value=this.imgTexes[this.imgIndexPrev],this.material.uniforms.imgNextTex.value=this.imgTexes[this.imgIndexNext]}}])&&m(t.prototype,n),s}(r.Mesh);function w(e){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function M(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e,t){return!t||"object"!==w(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function P(e){return(P=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var T=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=P(i);if(o){var n=P(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return S(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.PlaneGeometry(1,1,128,128),n=new r.RawShaderMaterial({uniforms:{time:{type:"f",value:0},easeTransition:{type:"f",value:0},noiseTex:{type:"t",value:null},imgRatio:{type:"v2",value:new r.Vector2}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform float time;\nuniform float easeTransition;\nuniform vec2 imgRatio;\nuniform sampler2D noiseTex;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying float vOpacity;\nvarying float vTime;\n\nvoid main(void) {\n vec2 p = uv * 2.0 - 1.0;\n float edge = abs(p.x);\n\n vec2 updateUv = uv * imgRatio + vec2(\n (1.0 - imgRatio.x) * 0.5,\n (1.0 - imgRatio.y) * 0.5\n );\n\n float noiseR = texture2D(noiseTex, updateUv + vec2(time * 0.1, 0.0)).r;\n float noiseG = texture2D(noiseTex, updateUv + vec2(time * 0.2, 0.0)).g;\n float slide = texture2D(noiseTex, uv * vec2(0.998) + 0.001).b;\n\n float mask = easeTransition * 1.24 - (slide * 0.6 + noiseR * 0.2 + noiseG * 0.2);\n float h1 = (1.0 - smoothstep(0.14, 0.24, mask)) * 12.0;\n\n float mask2 = easeTransition * 1.6 - slide;\n float maskPrev = smoothstep(0.0, 0.3, mask2);\n float maskNext = 1.0 - smoothstep(0.3, 0.6, mask2);\n float h2 = maskPrev * maskNext * 8.0;\n\n float h = h1 + h2;\n\n // coordinate transformation\n vec4 mPosition = modelMatrix * vec4(position + vec3(slide * 0.2, slide * 0.2 + h * 0.006, h), 1.0);\n\n float opacity = smoothstep(0.0, 2.0, h1) * (1.0 - smoothstep(8.0, 12.0, h1)) * (1.0 - pow(edge, 2.0));\n\n vPosition = mPosition.xyz;\n vUv = uv;\n vOpacity = opacity;\n vTime = easeTransition;\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform float duration;\nuniform vec2 imgRatio;\nuniform sampler2D noiseTex;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying float vOpacity;\nvarying float vTime;\n\nvoid main() {\n vec2 updateUv = vUv * imgRatio + vec2(\n (1.0 - imgRatio.x) * 0.5,\n (1.0 - imgRatio.y) * 0.5\n );\n\n float noiseR = texture2D(noiseTex, updateUv + vec2(time * 0.1, 0.0)).r;\n float noiseG = texture2D(noiseTex, updateUv + vec2(time * 0.2, 0.0)).g;\n\n gl_FragColor = vec4(1.0, 0.38, 0.0, vOpacity * smoothstep(0.4, 0.6, noiseR));\n}\n",transparent:!0,blending:r.AdditiveBlending});return(e=a.call(this,t,n)).name="ImageFire",e}return t=s,(n=[{key:"start",value:function(e){this.material.uniforms.noiseTex.value=e}},{key:"update",value:function(e,t){this.material.uniforms.time.value+=e,this.material.uniforms.easeTransition.value=t}},{key:"resize",value:function(e){this.material.uniforms.imgRatio.value.set(Math.min(1,e.x/e.y),Math.min(1,e.y/e.x)),this.scale.copy(e)}}])&&M(t.prototype,n),s}(r.Mesh);function R(e){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function z(e,t){return(z=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function L(e,t){return!t||"object"!==R(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var A=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&z(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=C(i);if(o){var n=C(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return L(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.PlaneGeometry(1,1,32,32),n=new r.BufferGeometry;n.setAttribute("position",t.attributes.position),n.setAttribute("uv",t.attributes.uv);var i=new r.RawShaderMaterial({uniforms:{time:{type:"f",value:0},easeTransition:{type:"f",value:0},noiseTex:{type:"t",value:null},imgRatio:{type:"v2",value:new r.Vector2},pixelRatio:{type:"f",value:window.devicePixelRatio}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform float time;\nuniform float easeTransition;\nuniform vec2 imgRatio;\nuniform sampler2D noiseTex;\nuniform float pixelRatio;\n\nvarying float vOpacity;\n\nvoid main(void) {\n vec2 updateUv = uv * imgRatio + vec2(\n (1.0 - imgRatio.x) * 0.5,\n (1.0 - imgRatio.y) * 0.5\n );\n\n float noiseR = texture2D(noiseTex, updateUv + vec2(time * 0.1, 0.0)).r;\n float noiseG = texture2D(noiseTex, updateUv + vec2(time * 0.2, 0.0)).g;\n float slide = texture2D(noiseTex, uv * vec2(0.99) + 0.005).b;\n\n float mask = easeTransition * 1.24 - (slide * 0.6 + noiseR * 0.2 + noiseG * 0.2);\n float h = (easeTransition - slide) * 30.0;\n\n float opacity = smoothstep(0.3, 0.5, easeTransition * 2.0 - slide) * (1.0 - smoothstep(0.8, 1.0, easeTransition * 2.0 - slide)) * 0.8;\n\n // coordinate transformation\n vec4 mPosition = modelMatrix * vec4(position + vec3(\n cos(radians(noiseR * 360.0 + time * 200.0)) * 0.1,\n sin(radians(noiseG * 360.0 + time * 200.0)) * 0.1,\n h\n ), 1.0);\n\n float distanceFromCamera = length((viewMatrix * mPosition).xyz);\n float pointSize = pixelRatio * 50.0 / distanceFromCamera * 4.0;\n\n vOpacity = opacity;\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n gl_PointSize = pointSize;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nvarying float vOpacity;\n\nvoid main() {\n // Convert PointCoord to the other vec2 has a range from -1.0 to 1.0.\n vec2 p = gl_PointCoord * 2.0 - 1.0;\n\n // Draw circle\n float radius = length(p);\n float opacity = (1.0 - smoothstep(0.5, 1.0, radius));\n\n // Define Colors\n vec3 color = vec3(1.0, 0.38, 0.0);\n\n gl_FragColor = vec4(color, opacity * vOpacity);\n}\n",transparent:!0,blending:r.AdditiveBlending});return(e=a.call(this,n,i)).name="ImagePoints",e}return t=s,(n=[{key:"start",value:function(e){this.material.uniforms.noiseTex.value=e}},{key:"update",value:function(e,t){this.material.uniforms.time.value+=e,this.material.uniforms.easeTransition.value=t}},{key:"resize",value:function(e){this.material.uniforms.imgRatio.value.set(Math.min(1,e.x/e.y),Math.min(1,e.y/e.x)),this.scale.copy(e)}}])&&E(t.prototype,n),s}(r.Points);function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function D(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(e,t){return!t||"object"!==O(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var j,U=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=F(i);if(o){var n=F(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return k(this,e)});function s(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(e=a.call(this)).name="ImageGroup",e.size=new r.Vector3,e.margin=new r.Vector2,e.timeTransition=0,e}return t=s,(n=[{key:"start",value:function(e,t){var n=new b,r=new T,i=new A;n.start(e,t),r.start(e),i.start(e),r.renderOrder=10,i.position.z=5,this.add(n),this.add(r),this.add(i)}},{key:"update",value:function(e){if(this.timeTransition+=e,this.timeTransition/3>=1)this.timeTransition=0,this.children[0].changeTex(),this.children[0].update(e,0),this.children[1].update(e,0),this.children[2].update(e,0);else{var t=(0,h.easeInOutQuad)(Math.min(this.timeTransition/3,1));this.children[0].update(e,t),this.children[1].update(e,t),this.children[2].update(e,t)}}},{key:"resize",value:function(e,t){var n=Math.abs((e.position.z-this.position.z)*Math.tan(d().radians(e.fov)/2)*2),r=n*e.aspect;this.margin.set(t.x>t.y?.2*t.y:.1*t.x,t.x>t.y?.2*t.y:.333*t.y),this.size.set(r*(t.x-this.margin.x)/t.x,n*(t.y-this.margin.y)/t.y,1),this.children[0].resize(this.size),this.children[1].resize(this.size),this.children[2].resize(this.size)}}])&&D(t.prototype,n),s}(r.Group);function B(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function G(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var N=new r.Scene,H=new f,V=new r.Clock({autoStart:!1}),W=new r.TextureLoader,Z=new U,q=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i,o;return t=e,(n=[{key:"start",value:(i=regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(j=new r.WebGL1Renderer({alpha:!0,antialias:!0,canvas:t})).setPixelRatio(window.devicePixelRatio),j.setClearColor(921102,1),e.next=5,Promise.all([W.loadAsync("/sketch-threejs/img/sketch/burn/noise.png"),W.loadAsync("/sketch-threejs/img/sketch/burn/image01.jpg"),W.loadAsync("/sketch-threejs/img/sketch/burn/image02.jpg"),W.loadAsync("/sketch-threejs/img/sketch/burn/image03.jpg")]).then((function(e){var t=e[0],n=e.slice(1);t.wrapS=r.RepeatWrapping,t.wrapT=r.RepeatWrapping,Z.start(t,n),N.add(Z)}));case 5:H.start();case 6:case"end":return e.stop()}}),e)})),o=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){B(o,n,r,a,s,"next",e)}function s(e){B(o,n,r,a,s,"throw",e)}a(void 0)}))},function(e){return o.apply(this,arguments)})},{key:"play",value:function(){V.start(),this.update()}},{key:"pause",value:function(){V.stop()}},{key:"update",value:function(){if(!1!==V.running){var e=V.getDelta();H.update(e),Z.update(e),j.render(N,H)}}},{key:"resize",value:function(e){H.resize(e),j.setSize(e.x,e.y),Z.resize(H,e)}}])&&G(t.prototype,n),e}();function Y(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function X(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){Y(o,r,i,a,s,"next",e)}function s(e){Y(o,r,i,a,s,"throw",e)}a(void 0)}))}}function K(){return Q.apply(this,arguments)}function Q(){return(Q=X(regeneratorRuntime.mark((function e(){var t,n,i,a,s,c,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=new q,n=new r.Vector2,i=document.getElementById("canvas-webgl"),a=document.querySelector(".p-preloader"),s=function(){n.set(document.body.clientWidth,window.innerHeight),i.width=n.x,i.height=n.y,t.resize(n)},c=function(){window.addEventListener("blur",(function(){t.pause()})),window.addEventListener("focus",(function(){t.play()})),window.addEventListener("resize",o()(s,100))},u=function e(){t.update(),requestAnimationFrame(e)},e.next=9,t.start(i);case 9:c(),s(),a.classList.add("is-hidden"),t.play(),u();case 14:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},94429:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={index:{type:"f",value:t},time:{type:"f",value:0},size:{type:"f",value:280},texture:{type:"t",value:n},colorH:{type:"f",value:Math.random()}},this.obj=this.createObj(),this.obj.renderOrder=10}var t,o;return t=e,(o=[{key:"createObj",value:function(){var e=new i.PlaneGeometry(280,140,24,12),t=new i.Mesh(e,new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(72648).Z,fragmentShader:n(34326).Z,side:i.DoubleSide,transparent:!0}));return t.position.y=140+280*(2*Math.random()-1)*.1,t.rotation.set(-45*Math.PI/180,0,0),t}},{key:"render",value:function(e,t){this.uniforms.time.value+=t,this.obj.position.z-=4,this.obj.position.z<-900&&(this.obj.position.x=280*(2*Math.random()-1),this.obj.position.z=900,this.uniforms.colorH.value=Math.random())}}])&&r(t.prototype,o),e}()},65722:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return a}});var i=n(2212),o=n(78934).Z,a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.mirrorCamera=new i.PerspectiveCamera(30,t.x/t.y,1,15e3),this.mirrorRender=new i.WebGLRenderTarget(t.x,t.y),this.textureMatrix=new i.Matrix4,this.uniforms={time:{type:"f",value:0},texture:{type:"t",value:this.mirrorRender.texture},textureMatrix:{type:"m4",value:this.textureMatrix}},this.renderBack1=new i.WebGLRenderTarget(t.x,t.y),this.renderBack2=new i.WebGLRenderTarget(t.x,t.y),this.postEffectBlurX=new o(this.renderBack1.texture,1,0,4),this.postEffectBlurY=new o(this.renderBack2.texture,0,1,4),this.mirrorCamera.up.set(0,-1,0),this.obj=this.createObj()}var t,a;return t=e,(a=[{key:"add",value:function(e,t){t.add(this.obj),e.add(this.postEffectBlurX.obj),e.add(this.postEffectBlurY.obj)}},{key:"createObj",value:function(){var e=new i.Mesh(new i.PlaneGeometry(1e3,2e3),new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(440).Z,fragmentShader:n(3410).Z,transparent:!0}));return e.rotation.set(-.5*Math.PI,0,0),e}},{key:"updateTextureMatrix",value:function(){this.textureMatrix.set(.5,0,0,.5,0,.5,0,.5,0,0,1,0,0,0,0,1),this.textureMatrix.multiply(this.mirrorCamera.projectionMatrix),this.textureMatrix.multiply(this.mirrorCamera.matrixWorldInverse)}},{key:"render",value:function(e,t,n,r,i){this.uniforms.time.value+=i,this.updateTextureMatrix(),this.obj.visible=!1,e.setRenderTarget(this.renderBack1),e.render(n,this.mirrorCamera),this.obj.visible=!0,this.postEffectBlurX.render(e,t,r,this.renderBack2),this.postEffectBlurY.render(e,t,r,this.mirrorRender)}},{key:"resize",value:function(e){this.mirrorCamera.aspect=e.x/e.y,this.mirrorCamera.updateProjectionMatrix(),this.mirrorRender.setSize(e.x,e.y),this.renderBack1.setSize(e.x,e.y),this.renderBack2.setSize(e.x,e.y),this.postEffectBlurX.resize(e),this.postEffectBlurY.resize(e)}}])&&r(t.prototype,a),e}()},87344:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return a}});var i=n(2212),o=n(17393),a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.interval=4,this.attr={position:new i.BufferAttribute(new Float32Array(3*t),3),colorH:new i.BufferAttribute(new Float32Array(t),1),index:new i.BufferAttribute(new Float32Array(t),1),valid:new i.BufferAttribute(new Float32Array(t),1)},this.geometry=new i.BufferGeometry,this.uniforms={size:{type:"f",value:t},interval:{type:"f",value:this.interval},time:{type:"f",value:0}},this.butterflies=null,this.butterfliesLengh=0,this.obj=this.createObj(),this.obj.renderOrder=20}var t,a;return t=e,(a=[{key:"createObj",value:function(){for(var e=0;e<this.uniforms.size.value;e++)this.attr.index.setX(e,e);return this.geometry.setAttribute("position",this.attr.position),this.geometry.setAttribute("colorH",this.attr.colorH),this.geometry.setAttribute("i",this.attr.index),this.geometry.setAttribute("valid",this.attr.valid),new i.Points(this.geometry,new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(13677).Z,fragmentShader:n(13190).Z,depthWrite:!1,transparent:!0}))}},{key:"addButterflies",value:function(e){this.butterflies=e,this.butterfliesLengh=e.length}},{key:"render",value:function(e){this.uniforms.time.value+=e;for(var t=0;t<this.uniforms.size.value;t++){var n=(this.uniforms.time.value+this.attr.index.getX(t)/this.uniforms.size.value*this.interval)%this.interval,r=this.attr.valid.getX(t);if(n>=.9*this.interval&&1==r)this.attr.valid.setX(t,0);else if(n<=.9*this.interval&&0==r){var i=Math.floor(Math.random()*this.butterfliesLengh),a=this.butterflies[i],s=(-90*Math.random()-90)*Math.PI/180,c=-180*Math.random()*Math.PI/180,u=Math.random()*a.uniforms.size.value/4+a.uniforms.size.value/8,l=o.spherical(s,c,u);this.attr.position.setXYZ(t,l[0]+a.obj.position.x,.2*l[1]+a.obj.position.y+20*Math.sin(a.uniforms.time.value),.5*l[2]+a.obj.position.z),this.attr.colorH.setX(t,a.uniforms.colorH.value),this.attr.valid.setX(t,1)}}this.attr.position.needsUpdate=!0,this.attr.colorH.needsUpdate=!0}}])&&r(t.prototype,a),e}()},9406:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={texture1:{type:"t",value:t},texture2:{type:"t",value:n}},this.obj=this.createObj(),this.obj.visible=!1}var t,o;return t=e,(o=[{key:"createObj",value:function(){return new i.Mesh(new i.PlaneGeometry(2,2),new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(56500).Z,fragmentShader:n(50413).Z}))}},{key:"render",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;this.obj.visible=!0,e.setRenderTarget(r),e.render(t,n),this.obj.visible=!1}}])&&r(t.prototype,o),e}()},78934:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=function(){function e(t,n,r,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={resolution:{type:"v2",value:new i.Vector2},direction:{type:"v2",value:new i.Vector2(n,r)},radius:{type:"f",value:o},texture:{type:"t",value:t}},this.obj=this.createObj(),this.obj.visible=!1}var t,o;return t=e,(o=[{key:"createObj",value:function(){return new i.Mesh(new i.PlaneGeometry(2,2),new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(56500).Z,fragmentShader:n(92586).Z}))}},{key:"resize",value:function(e){this.uniforms.resolution.value.set(e.x,e.y)}},{key:"render",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;this.obj.visible=!0,e.setRenderTarget(r),e.render(t,n),this.obj.visible=!1}}])&&r(t.prototype,o),e}()},22607:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={minBright:{type:"f",value:.3},texture:{type:"t",value:t}},this.obj=this.createObj(),this.obj.visible=!1}var t,o;return t=e,(o=[{key:"createObj",value:function(){return new i.Mesh(new i.PlaneGeometry(2,2),new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(56500).Z,fragmentShader:n(38913).Z}))}},{key:"render",value:function(e,t,n,r){this.obj.visible=!0,e.setRenderTarget(r),e.render(t,n),this.obj.visible=!1}}])&&r(t.prototype,o),e}()},58238:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(2212),i=n(38314),o=n(89813).Z,a=n(94429).Z,s=n(87344).Z,c=n(65722).Z,u=n(22607).Z,l=n(78934).Z,f=n(9406).Z;function h(){var e={x:0,y:0},t=document.getElementById("canvas-webgl"),n=new r.WebGL1Renderer({antialias:!1,canvas:t,alpha:!0}),h=new r.WebGLRenderTarget(0,0),v=new r.WebGLRenderTarget(0,0),d=new r.WebGLRenderTarget(0,0),p=new r.Scene,m=new r.Scene,y=new r.OrthographicCamera(-1,1,1,-1,0,1),g=new r.PerspectiveCamera(30,1,1,15e3),x=new r.Clock,b=new r.TextureLoader,w=new r.Vector2,M=new r.Vector2,_=new r.Vector2,S=[],P=new s(720),T=new c(e),R=new u(h.texture),E=new l(v.texture,1,0,1),z=new l(d.texture,0,1,1),L=new f(h.texture,v.texture),C=function(){e.x=document.body.clientWidth,e.y=window.innerHeight,t.width=e.x,t.height=e.y,g.aspect=e.x/e.y,g.updateProjectionMatrix(),T.resize(e),E.resize(e),z.resize(e),h.setSize(e.x,e.y),v.setSize(e.x,e.y),d.setSize(e.x,e.y),n.setSize(e.x,e.y)},A=function e(){!function(){for(var e=x.getDelta(),t=0;t<S.length;t++)S[t].render(n,e);P.render(e),T.render(n,p,m,y,e),n.setRenderTarget(h),n.render(m,g),R.render(n,p,y,v),E.render(n,p,y,d),z.render(n,p,y,v),L.render(n,p,y)}(),requestAnimationFrame(e)};C(),window.addEventListener("resize",i(C,1e3)),t.addEventListener("mousedown",(function(e){e.preventDefault(),w.set(e.clientX,e.clientY),o(w)})),t.addEventListener("mousemove",(function(e){e.preventDefault(),M.set(e.clientX,e.clientY),o(M)})),t.addEventListener("mouseup",(function(e){e.preventDefault(),_.set(e.clientX,e.clientY),o(_)})),t.addEventListener("touchstart",(function(e){e.preventDefault(),w.set(e.touches[0].clientX,e.touches[0].clientY),o(w),e.touches[0].clientX,e.touches[0].clientY})),t.addEventListener("touchmove",(function(e){e.preventDefault(),M.set(e.touches[0].clientX,e.touches[0].clientY),o(M)})),t.addEventListener("touchend",(function(e){e.preventDefault(),_.set(e.changedTouches[0].clientX,e.changedTouches[0].clientY),o(_)})),window.addEventListener("mouseout",(function(){event.preventDefault(),_.set(0,0)})),n.setClearColor(15658734,1),g.position.set(400,500,800),T.mirrorCamera.position.set(g.position.x,-1*g.position.y,g.position.z),g.lookAt(new r.Vector3(0,100,0)),T.mirrorCamera.lookAt(new r.Vector3(0,-100,0)),b.load("/sketch-threejs/img/sketch/butterfly/tex.png",(function(e){e.magFilter=r.NearestFilter,e.minFilter=r.NearestFilter;for(var t=0;t<12;t++)S[t]=new a(t,e),S[t].obj.position.x=280*(2*Math.random()-1),S[t].obj.position.z=150*t,m.add(S[t].obj);P.addButterflies(S),m.add(P.obj),T.add(p,m),p.add(R.obj),p.add(E.obj),p.add(z.obj),p.add(L.obj),A()}))}},87848:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(2212),i=n(38314),o=n.n(i),a=n(89813),s=n(12390),c=n.n(s),u=n(97719),l=n(42935),f=n(5097),h=n(33286),v=n.n(h),d=n(7318),p=n.n(d),m=n(45695),y=n.n(m);function g(){var e,t,i,s,h,d,m=document.getElementById("canvas-webgl"),g=new r.WebGL1Renderer({antialias:!0,canvas:m}),x=new r.Scene,b=new u.Z(35,window.innerWidth/window.innerHeight,1,1e4),w=1e4,M=[],_=2,S=new(p()),P=null,T=null,R=null,E=new Float32Array(3e4),z=new Float32Array(3e4),L=new Float32Array(w),C=new Float32Array(w),A=null,O=new(c()),D=null,I=Date.now(),k=Date.now(),F=Date.now(),j=Date.now(),U=0,B=!1,G=!1,N=!0,H=function(){var e=document.createElement("canvas"),t=e.getContext("2d"),n=null,i=null;return e.width=200,e.height=200,(n=t.createRadialGradient(100,100,20,100,100,100)).addColorStop(.9,"rgba(255, 255, 255, 1)"),n.addColorStop(1,"rgba(255, 255, 255, 0)"),t.fillStyle=n,t.arc(100,100,100,0,Math.PI/180,!0),t.fill(),(i=new r.Texture(e)).minFilter=r.NearestFilter,i.needsUpdate=!0,i},V=function(){m.width=window.innerWidth,m.height=window.innerHeight,b.aspect=window.innerWidth/window.innerHeight,b.updateProjectionMatrix(),g.setSize(window.innerWidth,window.innerHeight)};g.setSize(window.innerWidth,window.innerHeight),g.setClearColor(0,1),b.position.set(1e3,1e3,1e3),b.lookAt(new r.Vector3),e=new r.Vector2,t=new r.Vector2,i=new r.Vector2,s=function(t,n,r){e.set(t,n),(0,a.Z)(e),B=!0,j=Date.now()},h=function(e,n,r){t.set(e,n),(0,a.Z)(t)},d=function(e,t,n){i.set(e,t),B=!1,Date.now()-j<100&&(!0===N?(b.force.position.anchor.set(1200,1200,0),b.force.look.anchor.set(0,0,0),N=!1):N=!0)},window.addEventListener("resize",o()((function(){V()})),1e3),m.addEventListener("mousedown",(function(e){e.preventDefault(),s(e.clientX,e.clientY)})),m.addEventListener("mousemove",(function(e){e.preventDefault(),h(e.clientX,e.clientY)})),m.addEventListener("mouseup",(function(e){e.preventDefault(),d(e.clientX,e.clientY)})),m.addEventListener("touchstart",(function(e){e.preventDefault(),s(e.touches[0].clientX,e.touches[0].clientY)})),m.addEventListener("touchmove",(function(e){e.preventDefault(),h(e.touches[0].clientX,e.touches[0].clientY)})),m.addEventListener("touchend",(function(e){e.preventDefault(),d(e.changedTouches[0].clientX,e.changedTouches[0].clientY)})),window.addEventListener("mouseout",(function(){event.preventDefault(),i.set(0,0),B=!1,Date.now()-j<100&&(!0===N?(b.force.position.anchor.set(1200,1200,0),b.force.look.anchor.set(0,0,0),N=!1):N=!0)})),function(){var e,t;e=new r.OctahedronGeometry(30,2),t=new r.MeshPhongMaterial({color:new r.Color("hsl(140, 100%, 100%)"),flatShading:!0}),A=new r.Mesh(e,t),x.add(A),D=function(){var e=new r.OctahedronGeometry(250,4),t=new r.MeshPhongMaterial({color:2236962,flatShading:!0});return new r.Mesh(e,t)}(),x.add(D);for(var i=0;i<w;i++){var o=new(v()),a=y().getRandomInt(95,185),s=y().getRandomInt(60,80);o.init(new r.Vector3(y().getRandomInt(-100,100),0,0)),o.color=new r.Color("hsl("+a+", "+s+"%, 70%)"),M.push(o),E[3*i+0]=o.velocity.x,E[3*i+1]=o.velocity.y,E[3*i+2]=o.velocity.z,z[3*i+0]=o.color.r,z[3*i+1]=o.color.g,z[3*i+2]=o.color.b,L[i]=o.a,C[i]=o.size}S.init({scene:x,vs:n(99173).Z,fs:n(77911).Z,positions:E,colors:z,opacities:L,sizes:C,texture:H(),blending:r.NormalBlending}),S.rad1=0,S.rad1_base=0,S.rad2=0,S.rad3=0,P=new f.Z(new r.Color("hsl(95, 50%, 60%)").getHex(),new r.Color("hsl(185, 50%, 60%)").getHex(),1),x.add(P),T=new l.Z("hsl(95, 60%, 50%)",1,500,1),x.add(T),R=new l.Z("hsl(95, 60%, 50%)",1,500,1),x.add(R),b.anchor=new r.Vector3(1500,0,0)}(),V(),function e(){B&&U<200?U+=1:U>0&&(U-=1),S.velocity=(A.rotation.x+=.03+U/1e3,A.rotation.y+=.01+U/1e3,A.rotation.z+=.01+U/1e3,S.rad1_base+=y().getRadian(.6),S.rad1=y().getRadian(45*Math.sin(S.rad1_base)+U/100),S.rad2+=y().getRadian(.8+U/100),S.rad3+=.01,y().getPolarCoord(S.rad1,S.rad2,350)),!0===N&&(b.force.position.anchor.copy(S.velocity.clone().add(S.velocity.clone().sub(S.obj.position).normalize().multiplyScalar(-400))),b.force.position.anchor.y+=2*S.velocity.y,b.force.look.anchor.copy(S.velocity)),S.updatePoints(),A.position.copy(S.velocity),P.color.setHSL((95-U/1.5)/360,.5,.6),P.groundColor.setHSL((185-U/1.5)/360,.5,.6),T.position.copy(S.velocity),T.color.setHSL((95-U/1.5)/360,.5,.6),R.position.copy(S.velocity),R.color.setHSL((185-U/1.5)/360,.5,.6),function(){var e=0;if(Date.now()-I>10){for(var t=0;t<M.length;t++){var n=M[t];if(!n.is_active){var r=y().getRadian(y().getRandomInt(0,360)),i=y().getRadian(y().getRandomInt(0,360)),o=y().getRandomInt(1,30),a=y().getPolarCoord(r,i,o),s=y().getPolarCoord(r,i,o/20),c=y().getRandomInt(95,185)-U/1.5,u=y().getRandomInt(60,80);if(a.add(S.velocity),n.activate(),n.init(a),n.color.setHSL(c/360,u/100,.7),n.applyForce(s),n.a=1,n.size=25,++e>=_)break}}I=Date.now()}}(),function(){for(var e=0;e<M.length;e++){var t=M[e];t.is_active&&(t.time++,t.applyDrag(.1),t.updateVelocity(),t.time>10&&(t.size-=2),t.size<=0&&(t.init(new r.Vector3(0,0,0)),t.time=0,t.a=0,t.inactivate())),E[3*e+0]=t.velocity.x-S.velocity.x,E[3*e+1]=t.velocity.y-S.velocity.y,E[3*e+2]=t.velocity.z-S.velocity.z,z[3*e+0]=t.color.r,z[3*e+1]=t.color.g,z[3*e+2]=t.color.b,L[e]=t.a,C[e]=t.size}S.updatePoints()}(),b.force.position.applyHook(0,.025),b.force.position.applyDrag(.2),b.force.position.updateVelocity(),b.updatePosition(),b.force.look.applyHook(0,.2),b.force.look.applyDrag(.4),b.force.look.updateVelocity(),b.updateLook(),T.position.copy(y().getPolarCoord(y().getRadian(0),y().getRadian(0),24).add(S.velocity)),R.position.copy(y().getPolarCoord(y().getRadian(180),y().getRadian(0),24).add(S.velocity)),Date.now()-F>1e3-3*U&&(O.applyForce(new r.Vector2(.08+U/5e3,0)),F=Date.now(),G=!0,k=Date.now()),_=G&&Date.now()-k<500?6+Math.floor(U/40):1+Math.floor(U/40),O.applyHook(0,.1),O.applyDrag(.12),O.updateVelocity(),A.scale.set(1+O.velocity.x,1+O.velocity.x,1+O.velocity.x),g.render(x,b),requestAnimationFrame(e)}()}},44428:function(e,t,n){"use strict";n.d(t,{Z:function(){return Ie}});var r=n(2212),i=n(38314),o=n.n(i),a=n(17393),s=n.n(a),c=n(48840);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=function(e,t,n){t.multiplyScalar(1/n),e.add(t)},p=function(e,t,n){n.copy(e.clone().multiplyScalar(-1)).normalize().multiplyScalar(e.length()*t),e.add(n)},m=function(e,t,n,r,i,o){o.copy(e.clone().sub(n));var a=o.length()-r;o.normalize().multiplyScalar(-1*i*a),t.add(o)},y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=v(i);if(o){var n=v(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return h(this,e)});function s(e,t,n,i){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(o=a.call(this,e,t,n,i)).cameraResolution=new r.Vector2,o.drag=new r.Vector3,o.hook=new r.Vector3,o.k=.02,o.d=.3,o.velocity=new r.Vector3,o.acceleration=new r.Vector3,o.anchor=new r.Vector3,o.lookK=.02,o.lookD=.3,o.lookVelocity=new r.Vector3,o.lookAcceleration=new r.Vector3,o.lookAnchor=new r.Vector3,o}return t=s,(n=[{key:"start",value:function(){this.aspect=1.5,this.far=1e3,this.setFocalLength(50),this.position.set(0,0,50),this.lookAt(new r.Vector3)}},{key:"update",value:function(){m(this.velocity,this.acceleration,this.anchor,0,this.k,this.hook),p(this.acceleration,this.d,this.drag),d(this.velocity,this.acceleration,1),m(this.lookVelocity,this.lookAcceleration,this.lookAnchor,0,this.lookK,this.hook),p(this.lookAcceleration,this.lookD,this.drag),d(this.lookVelocity,this.lookAcceleration,1),this.position.copy(this.velocity),this.lookAt(this.lookVelocity)}},{key:"resize",value:function(e){e.x>e.y?this.cameraResolution.set(e.x>=1200?1200:e.x,e.x>=1200?800:.66*e.x):this.cameraResolution.set(.6*(e.y>=1200?800:.66*e.y),.6*(e.y>=1200?1200:e.y)),this.setViewOffset(this.cameraResolution.x,this.cameraResolution.y,(e.x-this.cameraResolution.x)/-2,(e.y-this.cameraResolution.y)/-2,e.x,e.y),this.updateProjectionMatrix()}}])&&l(t.prototype,n),s}(r.PerspectiveCamera);function g(e){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function x(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function w(e,t){return!t||"object"!==g(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function M(e){return(M=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}(c,e);var t,n,i,o,a=(i=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=M(i);if(o){var n=M(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return w(this,e)});function c(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);var n=new r.RawShaderMaterial({uniforms:{time:{type:"f",value:0},hsv:{type:"v3",value:new r.Vector3},normalMap:{type:"t",value:null},surfaceTex:{type:"t",value:null},fogTex:{type:"t",value:null}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\n\nvoid main(void) {\n // coordinate transformation\n vec4 mPosition = modelMatrix * vec4(position, 1.0);\n\n vPosition = mPosition.xyz;\n vUv = uv;\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n",fragmentShader:"#extension GL_OES_standard_derivatives : enable\nprecision highp float;\n#define GLSLIFY 1\n\nuniform vec3 hsv;\nuniform float time;\nuniform sampler2D normalMap;\nuniform sampler2D surfaceTex;\nuniform sampler2D fogTex;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n // Get normal vector from the normal map.\n vec3 n = texture2D(normalMap, vUv).xyz;\n\n // Flat Shading\n vec3 light = normalize(vec3(-1.0, 1.0, -1.0));\n vec3 normal = normalize(cross(dFdx(vPosition), dFdy(vPosition)));\n float diff = (dot(normal + n, light) + 1.0) / 2.0;\n\n // the pointyness color\n vec3 surface = texture2D(surfaceTex, vUv).rgb;\n vec4 fog1 = texture2D(fogTex, vUv + vec2(0.0, time * 0.06));\n vec4 fog2 = texture2D(fogTex, vUv + vec2(0.0, time * -0.03));\n vec4 fog3 = texture2D(fogTex, vUv + vec2(0.0, time * 0.03));\n vec4 fog4 = texture2D(fogTex, vUv + vec2(0.0, time * -0.06));\n\n vec3 rgb = convertHsvToRgb(hsv + vec3((fog3.r + fog4.r - 1.0) * 0.16, (1.0 - surface.r) * 0.05, surface.r + (fog1.r + fog2.g - 1.0) + 0.5));\n vec3 color = rgb;\n\n gl_FragColor = vec4(color, 1.0);\n}\n"});return(t=a.call(this,e,n)).name="Mesh",t.rotation.set(s().radians(30*(2*Math.random()-1)),0,s().radians(30*(2*Math.random()-1))),t.axisBodyRotate=(new r.Vector3).copy(t.up).applyEuler(t.rotation),t.quaternionPrev=new r.Quaternion,t}return t=c,(n=[{key:"start",value:function(e,t,n,r){this.material.uniforms.hsv.value.set(e,.65,0),this.material.uniforms.normalMap.value=t,this.material.uniforms.surfaceTex.value=n,this.material.uniforms.fogTex.value=r}},{key:"update",value:function(e){this.material.uniforms.time.value+=e,this.quaternionPrev.copy(this.quaternion),this.quaternion.setFromAxisAngle(this.axisBodyRotate,.1*e).multiply(this.quaternionPrev)}}])&&x(t.prototype,n),c}(r.Mesh);function S(e){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function P(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function R(e,t){return!t||"object"!==S(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function E(e){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var z=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T(e,t)}(c,e);var t,n,i,o,a=(i=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=E(i);if(o){var n=E(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return R(this,e)});function c(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);for(var t=new r.BufferGeometry,n=new r.BufferAttribute(new Float32Array(1500),3),i=new r.BufferAttribute(new Float32Array(500),1,1),o=new r.BufferAttribute(new Float32Array(500),1,1),u=0;u<500;u++){var l=s().radians(s().randomArbitrary(0,150)-75),f=s().radians(s().randomArbitrary(0,360)),h=Math.random()*Math.random()*4+2,v=s().spherical(l,f,h);n.setXYZ(u,v[0],v[1],v[2]),i.setXYZ(u,Math.random()),o.setXYZ(u,s().randomArbitrary(1,10)*(2*s().randomInt(0,1)-1))}t.setAttribute("position",n),t.setAttribute("delay",i),t.setAttribute("speed",o);var d=new r.RawShaderMaterial({uniforms:{time:{type:"f",value:0},pixelRatio:{type:"f",value:window.devicePixelRatio},hex:{type:"f",value:0}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute float delay;\nattribute float speed;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\nuniform float time;\nuniform float pixelRatio;\nuniform float hex;\n\nvarying vec3 vColor;\nvarying float vOpacity;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nmat4 calcRotateMat4X(float radian) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, cos(radian), -sin(radian), 0.0,\n 0.0, sin(radian), cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Y(float radian) {\n return mat4(\n cos(radian), 0.0, sin(radian), 0.0,\n 0.0, 1.0, 0.0, 0.0,\n -sin(radian), 0.0, cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Z(float radian) {\n return mat4(\n cos(radian), -sin(radian), 0.0, 0.0,\n sin(radian), cos(radian), 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4(vec3 radian) {\n return calcRotateMat4X(radian.x) * calcRotateMat4Y(radian.y) * calcRotateMat4Z(radian.z);\n}\n\nconst float duration = 3.0;\n\nvoid main() {\n // calculate interval time from 0 to 1\n float interval = mod(time + delay * duration, duration) / duration;\n\n // update position and size\n float size = 3.0 * sin(interval * 4.0);\n float blink = max(\n (sin(interval * 4.0) + cos(interval * 27.0) * 0.3 + cos(interval * 36.0) * 0.2) / 1.5 * 2.0 - 1.0,\n 0.0\n );\n mat4 rotateMat = calcRotateMat4(vec3(\n radians(time * speed * 0.3),\n radians(time * speed),\n radians(time * speed * 0.3)\n ));\n\n // calculate colors\n vec3 hsv = vec3(hex, 0.6, 1.0);\n vec3 rgb = convertHsvToRgb(hsv);\n\n // coordinate transformation\n vec4 mvPosition = modelViewMatrix * rotateMat * vec4(position, 1.0);\n float distanceFromCamera = 35.0 / length(mvPosition.xyz);\n\n vColor = rgb;\n vOpacity = blink * clamp(distanceFromCamera, 0.5, 1.0);\n\n gl_Position = projectionMatrix * mvPosition;\n gl_PointSize = distanceFromCamera * pixelRatio * size;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform sampler2D texture;\n\nvarying vec3 vColor;\nvarying float vOpacity;\n\nvoid main() {\n // convert PointCoord to range from -1.0 to 1.0\n vec2 p = gl_PointCoord * 2.0 - 1.0;\n\n // draw double circle\n float r = (1.0 - smoothstep(0.95, 1.0, length(p)));\n\n gl_FragColor = vec4(vColor * r, vOpacity);\n}\n",transparent:!0,depthWrite:!1,blending:r.AdditiveBlending});return(e=a.call(this,t,d)).name="CrystalSparkle",e}return t=c,(n=[{key:"start",value:function(e){this.material.uniforms.hex.value=e}},{key:"update",value:function(e){this.material.uniforms.time.value+=e}}])&&P(t.prototype,n),c}(r.Points);function L(e){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function C(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function A(e,t){return(A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function O(e,t){return!t||"object"!==L(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function D(e){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var I=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&A(e,t)}(c,e);var t,n,i,o,a=(i=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=D(i);if(o){var n=D(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return O(this,e)});function c(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);var t=new r.PlaneGeometry(55,55),n=new r.RawShaderMaterial({uniforms:{time:{type:"f",value:0},hex:{type:"f",value:0},fogTex:{type:"t",value:null},maskTex:{type:"t",value:null},direction:{type:"v2",value:new r.Vector2}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\n\nvoid main(void) {\n // coordinate transformation\n vec4 mPosition = modelMatrix * vec4(position, 1.0);\n\n vPosition = position;\n vUv = uv;\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform float hex;\nuniform sampler2D fogTex;\nuniform vec2 direction;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n vec2 p = vUv * 2.0 - 1.0;\n\n vec4 fog1 = texture2D(fogTex, vUv - direction * time * 0.05);\n vec4 fog2 = texture2D(\n fogTex,\n vUv\n + direction * time * 0.025\n + vec2(\n cos(radians(fog1.g * 360.0)) * 0.01 * cos(radians(fog1.b * 360.0)),\n sin(radians(fog1.g * 360.0)) * 0.01 * cos(radians(fog1.b * 360.0))\n )\n );\n float opacity = (pow(fog2.r, 2.0) - smoothstep(0.5, 1.0, abs(p.x)) - smoothstep(0.25, 1.0, abs(p.y)));\n\n vec3 hsv = vec3(hex + fog2.b * 0.16, 0.9, 0.24);\n vec3 rgb = convertHsvToRgb(hsv);\n\n gl_FragColor = vec4(rgb, opacity);\n}\n",transparent:!0,blending:r.AdditiveBlending,depthWrite:!1});(e=a.call(this,t,n)).name="Fog";var i=s().radians(360*Math.random());return e.material.uniforms.direction.value.set(Math.cos(i),Math.sin(i)),e}return t=c,(n=[{key:"start",value:function(e,t,n){this.material.uniforms.hex.value=e,this.material.uniforms.fogTex.value=t,this.material.uniforms.maskTex.value=n}},{key:"update",value:function(e){this.material.uniforms.time.value+=e}}])&&C(t.prototype,n),c}(r.Mesh);function k(e){return(k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function F(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function j(e,t){return(j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function U(e,t){return!t||"object"!==k(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function B(e){return(B=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var G=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=B(i);if(o){var n=B(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return U(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.SphereGeometry(100,12,12),n=new r.RawShaderMaterial({uniforms:{time:{type:"f",value:0},hex:{type:"f",value:0}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n // coordinate transformation\n vec4 mPosition = modelMatrix * vec4(position, 1.0);\n\n vUv = uv;\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform float hex;\n\nvarying vec2 vUv;\nvarying vec3 vColor;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n vec3 rgb = mix(\n convertHsvToRgb(vec3(hex, 0.6, 0.6)),\n convertHsvToRgb(vec3(hex, 0.4, 0.2)),\n vUv.y * 4.0 - 1.0\n );\n\n gl_FragColor = vec4(rgb, 1.0);\n}\n",side:r.BackSide,depthTest:!1});return(e=a.call(this,t,n)).name="Background",e}return t=s,(n=[{key:"start",value:function(){}},{key:"update",value:function(e,t){this.material.uniforms.time.value+=e,this.material.uniforms.hex.value=t}}])&&F(t.prototype,n),s}(r.Mesh),N="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nvarying vec2 vUv;\n\nvoid main() {\n vUv = uv;\n\n gl_Position = vec4(position, 1.0);\n}\n";function H(e){return(H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function V(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function W(e,t){return(W=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Z(e,t){return!t||"object"!==H(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function q(e){return(q=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&W(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=q(i);if(o){var n=q(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Z(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.PlaneGeometry(2,2),n=new r.RawShaderMaterial({uniforms:{minBright:{type:"f",value:.5},texture:{type:"t",value:null}},vertexShader:N,fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform float minBright;\nuniform sampler2D texture;\n\nvarying vec2 vUv;\n\nvoid main() {\n vec4 bright = max(vec4(0.0), (texture2D(texture, vUv) - minBright));\n gl_FragColor = bright;\n}\n"});return(e=a.call(this,t,n)).name="PostEffectBright",e}return t=s,(n=[{key:"start",value:function(e){this.material.uniforms.texture.value=e}}])&&V(t.prototype,n),s}(r.Mesh);function X(e){return(X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function K(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Q(e,t){return(Q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function J(e,t){return!t||"object"!==X(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function $(e){return($=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ee=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Q(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=$(i);if(o){var n=$(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return J(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.PlaneGeometry(2,2),n=new r.RawShaderMaterial({uniforms:{resolution:{type:"v2",value:new r.Vector2},direction:{type:"v2",value:new r.Vector2},texture:{type:"t",value:null}},vertexShader:N,fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform vec2 resolution;\nuniform vec2 direction;\nuniform sampler2D texture;\n\nvarying vec2 vUv;\n\nvec4 gaussianBlur(sampler2D texture, vec2 uv, float radius, vec2 resolution, vec2 direction) {\n vec4 color = vec4(0.0);\n vec2 step = radius / resolution * direction;\n color += texture2D(texture, uv - 4.0 * step) * 0.02699548325659403;\n color += texture2D(texture, uv - 3.0 * step) * 0.06475879783294587;\n color += texture2D(texture, uv - 2.0 * step) * 0.12098536225957168;\n color += texture2D(texture, uv - 1.0 * step) * 0.17603266338214976;\n color += texture2D(texture, uv) * 0.19947114020071635;\n color += texture2D(texture, uv + 1.0 * step) * 0.17603266338214976;\n color += texture2D(texture, uv + 2.0 * step) * 0.12098536225957168;\n color += texture2D(texture, uv + 3.0 * step) * 0.06475879783294587;\n color += texture2D(texture, uv + 4.0 * step) * 0.02699548325659403;\n return color;\n}\n\nvoid main() {\n vec4 color = gaussianBlur(texture, vUv, 1.0, resolution, direction);\n gl_FragColor = color;\n}\n"});return(e=a.call(this,t,n)).name="PostEffectBlur",e}return t=s,(n=[{key:"start",value:function(e,t,n){this.material.uniforms.texture.value=e,this.material.uniforms.direction.value.set(t,n)}},{key:"resize",value:function(e,t){this.material.uniforms.resolution.value.set(e,t)}}])&&K(t.prototype,n),s}(r.Mesh);function te(e){return(te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function re(e,t){return(re=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ie(e,t){return!t||"object"!==te(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function oe(e){return(oe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ae,se=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&re(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=oe(i);if(o){var n=oe(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ie(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.PlaneGeometry(2,2),n=new r.RawShaderMaterial({uniforms:{texture1:{type:"t",value:null},texture2:{type:"t",value:null}},vertexShader:N,fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform sampler2D texture1;\nuniform sampler2D texture2;\n\nvarying vec2 vUv;\n\nvoid main() {\n vec4 color1 = texture2D(texture1, vUv);\n vec4 color2 = texture2D(texture2, vUv);\n gl_FragColor = color1 + color2;\n}\n"});return(e=a.call(this,t,n)).name="PostEffectBloom",e}return t=s,(n=[{key:"start",value:function(e,t){this.material.uniforms.texture1.value=e,this.material.uniforms.texture2.value=t}}])&&ne(t.prototype,n),s}(r.Mesh);function ce(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function ue(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var le=new r.Scene,fe=new y,he=new r.Clock({autoStart:!1}),ve=new c.L,de=new r.TextureLoader,pe=new r.WebGLRenderTarget,me=new r.WebGLRenderTarget,ye=new r.WebGLRenderTarget,ge=new r.Scene,xe=new r.OrthographicCamera(-1,1,1,-1,1,2),be=[],we=[],Me=[],_e=new r.Vector3,Se=new r.Vector3,Pe=new G,Te=new Y,Re=new ee,Ee=new ee,ze=new se,Le=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i,o;return t=e,(n=[{key:"start",value:(i=regeneratorRuntime.mark((function e(t){var n,i,o,a,c,u,l,f;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(ae=new r.WebGL1Renderer({alpha:!0,antialias:!0,canvas:t})).setPixelRatio(window.devicePixelRatio),ae.setClearColor(921102,1),fe.start(),Te.start(pe.texture),Re.start(me.texture,1,0),Ee.start(ye.texture,0,1),ze.start(pe.texture,me.texture),e.next=10,Promise.all([ve.loadAsync("/sketch-threejs/model/crystal/crystal.obj"),de.loadAsync("/sketch-threejs/img/sketch/crystal/normal.jpg"),de.loadAsync("/sketch-threejs/img/sketch/crystal/surface.jpg"),de.loadAsync("/sketch-threejs/img/sketch/crystal/fog.jpg")]).then((function(e){n=e[0].children.map((function(e){return e.geometry})),i=e[1],o=e[2],(a=e[3]).wrapS=r.RepeatWrapping,a.wrapT=r.RepeatWrapping})).catch((function(e){console.log(e)}));case 10:for(c=0;c<20;c++)u=s().radians(c/20*360),be[c]=new _(n[c%3]),be[c].position.set(35*Math.cos(u),0,35*Math.sin(u)),be[c].start(c/20,i,o,a),le.add(be[c]),we[c]=new z,we[c].position.copy(be[c].position),we[c].start(c/20),le.add(we[c]);for(c=0;c<40;c++)l=s().radians(c/40*360),f=s().radians(c/40*-360-90),Me[c]=new I,Me[c].position.set(100*Math.cos(l),-18-8*Math.sin(s().radians(c/40*360*8)),100*Math.sin(l)),Me[c].rotation.set(0,f,0),Me[c].start(c/40,a),le.add(Me[c]);le.add(Pe),_e.copy(be[0].position);case 14:case"end":return e.stop()}}),e)})),o=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){ce(o,n,r,a,s,"next",e)}function s(e){ce(o,n,r,a,s,"throw",e)}a(void 0)}))},function(e){return o.apply(this,arguments)})},{key:"stop",value:function(){this.pause()}},{key:"play",value:function(e){he.start(),this.update(e)}},{key:"pause",value:function(){he.stop()}},{key:"update",value:function(e){if(!1!==he.running){for(var t=he.getDelta(),n=0;n<be.length;n++)be[n].update(t),we[n].update(t);for(n=0;n<Me.length;n++)Me[n].update(t);Pe.update(t,Math.atan2(fe.lookVelocity.z,fe.lookVelocity.x)/s().radians(360)),_e.set(Math.cos(s().radians(.6*-e.anchor.x)),0,Math.sin(s().radians(.6*-e.anchor.x))),fe.lookAnchor.copy(_e.clone().add(Se.clone().applyQuaternion(fe.quaternion))),fe.update(),ae.setRenderTarget(pe),ae.render(le,fe),ge.add(Te),ae.setRenderTarget(me),ae.render(ge,xe),ge.remove(Te),ge.add(Re),ae.setRenderTarget(ye),ae.render(ge,xe),ge.remove(Re),ge.add(Ee),ae.setRenderTarget(me),ae.render(ge,xe),ge.remove(Ee),ge.add(ze),ae.setRenderTarget(null),ae.render(ge,xe),ge.remove(ze)}}},{key:"resize",value:function(e){fe.resize(e),ae.setSize(e.x,e.y),pe.setSize(e.x*ae.getPixelRatio(),e.y*ae.getPixelRatio()),me.setSize(e.x*ae.getPixelRatio(),e.y*ae.getPixelRatio()),ye.setSize(e.x*ae.getPixelRatio(),e.y*ae.getPixelRatio()),Ee.resize(e.x/3,e.y/3),Re.resize(e.x/3,e.y/3)}},{key:"pan",value:function(e){Se.copy(e)}}])&&ue(t.prototype,n),e}();function Ce(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Ae=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.resolution=t,this.vTouchStart=new r.Vector2,this.vPrev=new r.Vector2,this.v=new r.Vector2,this.a=new r.Vector2,this.anchor=new r.Vector2,this.isTouched=!1}var t,n;return t=e,(n=[{key:"update",value:function(){this.a.set((this.anchor.x-this.v.x)/10,(this.anchor.y-this.v.y)/10),this.v.add(this.a)}},{key:"touchStart",value:function(e){e.touches||e.preventDefault(),this.vPrev.copy(this.v),this.a.set(0,0),this.vTouchStart.set(e.touches?e.touches[0].clientX:e.clientX,e.touches?e.touches[0].clientY:e.clientY),this.isTouched=!0}},{key:"touchMove",value:function(e){e.preventDefault();var t=e.touches?e.touches[0].clientX:e.clientX,n=e.touches?e.touches[0].clientY:e.clientY;!1!==this.isTouched&&this.anchor.set((t-this.vTouchStart.x)/(this.resolution.x/200)+this.vPrev.x,s().clamp((n-this.vTouchStart.y)/(this.resolution.y/200)+this.vPrev.y,-90,90))}},{key:"touchEnd",value:function(e){this.isTouched=!1}}])&&Ce(t.prototype,n),e}();function Oe(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function De(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){Oe(o,r,i,a,s,"next",e)}function s(e){Oe(o,r,i,a,s,"throw",e)}a(void 0)}))}}function Ie(){return ke.apply(this,arguments)}function ke(){return(ke=De(regeneratorRuntime.mark((function e(){var t,n,i,a,s,c,u,l,f,h,v,d;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=new Le,n=new r.Vector2,i=new r.Vector3,a=document.getElementById("canvas-webgl"),s=document.querySelector(".p-preloader"),c=new Ae(n),u=function(){n.set(document.body.clientWidth,window.innerHeight),a.width=n.x,a.height=n.y,t.resize(n)},l=function(e){c.touchStart(e)},f=function(e){c.touchMove(e)},h=function(e){c.touchEnd(e)},v=function(){a.addEventListener("mousedown",l,{passive:!1}),window.addEventListener("mousemove",(function(e){f(e),i.set(.1*(e.clientX/n.x*2-1),.1*(-e.clientY/n.y*2+1),0),t.pan(i)})),document.addEventListener("mouseleave",(function(e){i.set(0,0,0),t.pan(i)})),window.addEventListener("mouseup",h),a.addEventListener("touchstart",l,{passive:!1}),window.addEventListener("touchmove",f,{passive:!1}),window.addEventListener("touchend",h),window.addEventListener("resize",o()(u,100))},d=function e(){c.update(n),t.update(c),requestAnimationFrame(e)},e.next=14,t.start(a);case 14:v(),u(),s.classList.add("is-hidden"),t.play(c),d();case 19:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},12700:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return a}});var i=n(2212),o=n(17393),a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0}},this.instances=2e3,this.obj}var t,a;return t=e,(a=[{key:"createObj",value:function(){var e=new i.InstancedBufferGeometry,t=new i.BoxGeometry(100,4e3,2,2,2);e.copy(t);for(var r=new i.InstancedBufferAttribute(new Float32Array(3*this.instances),3),a=new i.InstancedBufferAttribute(new Float32Array(this.instances),1),s=new i.InstancedBufferAttribute(new Float32Array(this.instances),1),c=0,u=this.instances;c<u;c++)r.setXYZ(c,o.randomArbitrary(-5e3,5e3),0,o.randomArbitrary(-500,500)+700*(2*o.randomInt(0,1)-1)),a.setXYZ(c,2*Math.random()),s.setXYZ(c,.3*Math.random());e.setAttribute("instancePosition",r),e.setAttribute("delay",a),e.setAttribute("h",s);var l=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(75923).Z,fragmentShader:n(83528).Z,depthWrite:!1,transparent:!0,side:i.DoubleSide,blending:i.AdditiveBlending});this.obj=new i.InstancedMesh(e,l,this.instances)}},{key:"render",value:function(e){this.uniforms.time.value+=e}}])&&r(t.prototype,a),e}()},30131:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=(n(17393),function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0}},this.isShown=!1,this.obj}var t,o;return t=e,(o=[{key:"createObj",value:function(){var e=new i.SphereGeometry(1e4,32,32),t=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(97550).Z,fragmentShader:n(63819).Z,side:i.BackSide});this.obj=new i.Mesh(e,t)}},{key:"render",value:function(e){this.uniforms.time.value+=e}}])&&r(t.prototype,o),e}())},2925:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=(n(17393),function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0},wave1:{type:"f",value:0},wave2:{type:"f",value:0},wave3:{type:"f",value:0},wave4:{type:"f",value:0}},this.obj}var t,o;return t=e,(o=[{key:"createObj",value:function(e,t,r,o,a){var s=new i.SphereGeometry(e,64,64),c=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(21750).Z,fragmentShader:n(57139).Z,transparent:!0,depthWrite:!1,side:i.BackSide,blending:i.AdditiveBlending});this.uniforms.wave1.value=t,this.uniforms.wave2.value=r,this.uniforms.wave3.value=o,this.uniforms.wave4.value=a,this.obj=new i.Mesh(s,c)}},{key:"render",value:function(e,t,n,r){this.uniforms.time.value+=e,this.obj.rotation.set(t,this.uniforms.time.value*n,r)}}])&&r(t.prototype,o),e}())},67735:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}}),n(2212);var i=n(90887),o=(n(17393),function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.camera=t,this.anchorTilt=[0,0,0]}var t,n;return t=e,(n=[{key:"init",value:function(e,t){for(var n=0;n<e.length;n++)this.camera.anchor[n]=this.camera.velocity[n]=e[n],this.camera.lookAnchor[n]=this.camera.lookVelocity[n]=t[n]}},{key:"tilt",value:function(e){this.anchorTilt=[-50*e.x,25*e.y,0]}},{key:"move",value:function(e,t,n){for(var r=0;r<e.length;r++)this.camera.anchor[r]=e[r],this.camera.lookAnchor[r]=t[r];n>0&&this.focalLength.next!==n&&(this.focalLength.prev=this.focalLength.next,this.focalLength.next=n,this.focalLength.time=0)}},{key:"render",value:function(e,t){this.tilt(t),i.vec3.add(this.camera.velocity,this.camera.velocity,this.anchorTilt),this.camera.render()}}])&&r(t.prototype,n),e}())},40602:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return a}});var i=n(2212),o=n(17393),a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0}},this.num=2e3,this.obj}var t,a;return t=e,(a=[{key:"createObj",value:function(){for(var e=new i.BufferGeometry,t=new i.BufferAttribute(new Float32Array(3*this.num),3,1),r=new i.BufferAttribute(new Float32Array(this.num),1,1),a=new i.BufferAttribute(new Float32Array(this.num),1,1),s=0,c=this.num;s<c;s++){var u=o.radians(o.randomArbitrary(0,150)-75),l=o.radians(o.randomArbitrary(0,360)),f=o.randomArbitrary(600,2500),h=o.spherical(u,l,f);t.setXYZ(s,h[0],h[1],h[2]),r.setXYZ(s,Math.random()),a.setXYZ(s,o.randomArbitrary(5,10)*(2*o.randomInt(0,1)-1))}e.setAttribute("position",t),e.setAttribute("delay",r),e.setAttribute("speed",a);var v=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(51263).Z,fragmentShader:n(80261).Z,transparent:!0,depthWrite:!1,blending:i.AdditiveBlending});this.obj=new i.Points(e,v)}},{key:"render",value:function(e){this.uniforms.time.value+=e}}])&&r(t.prototype,a),e}()},15642:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=(n(17393),function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0},texture1:{type:"t",value:null},texture2:{type:"t",value:null},texture3:{type:"t",value:null}},this.num=6,this.obj}var t,o;return t=e,(o=[{key:"createObj",value:function(e){var t=new i.InstancedBufferGeometry,r=new i.PlaneGeometry(1200,1200,2,2);t.copy(r);for(var o=new i.InstancedBufferAttribute(new Float32Array(3*this.num),3),a=new i.InstancedBufferAttribute(new Float32Array(this.num),1),s=new i.InstancedBufferAttribute(new Float32Array(this.num),1),c=new i.InstancedBufferAttribute(new Float32Array(this.num),1),u=new i.InstancedBufferAttribute(new Float32Array(this.num),1),l=0,f=this.num;l<f;l++)o.setXYZ(l,0,0,-150*(this.num-l)),a.setXYZ(l,2*Math.random()-1),s.setXYZ(l,2*Math.random()-1),c.setXYZ(l,2*Math.random()-1),u.setXYZ(l,.15*(2*Math.random()-1));t.setAttribute("instancePosition",o),t.setAttribute("rotate1",a),t.setAttribute("rotate2",s),t.setAttribute("rotate3",c),t.setAttribute("h",u);var h=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(40233).Z,fragmentShader:n(54691).Z,transparent:!0,blending:i.AdditiveBlending});this.uniforms.texture1.value=e[0],this.uniforms.texture2.value=e[1],this.uniforms.texture3.value=e[2],this.obj=new i.InstancedMesh(t,h,this.num)}},{key:"render",value:function(e){this.uniforms.time.value+=e}}])&&r(t.prototype,o),e}())},58525:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return a}});var i=n(2212),o=n(17393),a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0}},this.obj,this.objWire=null,this.objPoints=null}var t,a;return t=e,(a=[{key:"createObj",value:function(){var e=new i.RingGeometry(1550,1600,36,2,o.radians(135),o.radians(270)),t=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(85345).Z,fragmentShader:n(45943).Z,depthWrite:!1,transparent:!0,blending:i.AdditiveBlending}),r=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(85345).Z,fragmentShader:n(2766).Z,depthWrite:!1,transparent:!0,blending:i.AdditiveBlending,wireframe:!0}),a=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(4798).Z,fragmentShader:n(97125).Z,depthWrite:!1,transparent:!0,blending:i.AdditiveBlending});this.obj=new i.Mesh(e,t),this.objWire=new i.Mesh(e,r),this.objPoints=new i.Points(e,a),this.obj.position.set(0,0,-1200),this.objWire.position.set(0,0,-1200),this.objPoints.position.set(0,0,-1200)}},{key:"render",value:function(e){this.uniforms.time.value+=e;var t=[o.radians(20*Math.sin(.1*this.uniforms.time.value)+90),o.radians(20*Math.sin(.05*this.uniforms.time.value)),0];this.obj.rotation.set(t[0],t[1],t[2]),this.objWire.rotation.set(t[0],t[1],t[2]),this.objPoints.rotation.set(t[0],t[1],t[2])}}])&&r(t.prototype,a),e}()},57262:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(2212),i=n(38314),o=n(17393),a=n(4679),s=n(71243),c=n(97355).Z,u=n(59170).Z,l=n(67735).Z,f=n(15642).Z,h=n(12700).Z,v=n(58525).Z,d=n(40602).Z,p=n(30131).Z,m=n(2925).Z;function y(){var e=new r.Vector2,t=new r.Vector2,n=document.getElementById("canvas-webgl"),y=new r.WebGL1Renderer({alpha:!0,antialias:!0,canvas:n}),g=new r.Scene,x=new c,b=new l(x),w=new r.Clock;x.far=5e4,x.setFocalLength(24);var M=new f,_=new h,S=new v,P=new d,T=new p,R=new m,E=new m,z=function e(){var n;n=w.getDelta(),M.render(n),_.render(n),S.render(n),P.render(n),T.render(n),R.render(n,.1,.1,.3),E.render(n,-.2,.02,-.8),b.render(n,t),y.render(g,x),requestAnimationFrame(e)},L=function(){e.set(document.body.clientWidth,window.innerHeight),n.width=e.x,n.height=e.y,x.aspect=e.x/e.y,x.updateProjectionMatrix(),y.setSize(e.x,e.y)};u({gui1:"img/cyberspace/tex_gui01.png",gui2:"img/cyberspace/tex_gui02.png",gui3:"img/cyberspace/tex_gui03.png"},(function(n){M.createObj([n.gui1,n.gui2,n.gui3]),_.createObj(),S.createObj(),P.createObj(),T.createObj(),R.createObj(1200,284.1,398.6,601.2,828.4),E.createObj(2400,222.6,412.4,683.9,961.2),g.add(M.obj),g.add(_.obj),g.add(S.obj),g.add(S.objWire),g.add(S.objPoints),g.add(P.obj),g.add(T.obj),g.add(R.obj),g.add(E.obj),T.obj.position.set(0,0,-2e3),y.setClearColor(0,1),b.init([0,0,1e3],[0,0,0]),w.start(),window.addEventListener("resize",i(L,1e3)),a()||s()?window.addEventListener("deviceorientation",(function(n){e.x/e.y<1?t.set(n.gamma/60,o.clamp(Math.abs(n.beta)-90,-90,90)/-30):t.set(0,0)})):(window.addEventListener("mousemove",(function(n){t.set(n.clientX/e.x*2-1,-(n.clientY/e.y*2-1))})),window.addEventListener("mouseout",(function(e){t.set(0,0)}))),L(),z()}))}},37175:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(2212),i=n(38314),o=n.n(i),a=n(29130),s=n.n(a);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(c,e);var t,i,o,a,s=(o=c,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=h(o);if(a){var n=h(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return f(this,e)});function c(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);var t=new r.PlaneGeometry(2,2),i=new r.RawShaderMaterial({uniforms:{time:{type:"f",value:0},interval:{type:"f",value:5},duration:{type:"f",value:3},resolution:{type:"v2",value:new r.Vector2},imageResolution:{type:"v2",value:new r.Vector2(2048,1356)},textures:{type:"f",value:0}},vertexShader:n(54312).Z,fragmentShader:n(88940).Z});return(e=s.call(this,t,i)).name="Mesh",e}return t=c,(i=[{key:"start",value:function(e,t){this.resize(e);for(var n=0;n<t.length;n++)t[n].magFilter=r.NearestFilter,t[n].minFilter=r.NearestFilter;this.material.uniforms.textures.value=t}},{key:"update",value:function(e){this.material.uniforms.time.value+=e}},{key:"resize",value:function(e){this.material.uniforms.resolution.value.copy(e)}}])&&u(t.prototype,i),c}(r.Mesh);function d(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function p(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){d(o,r,i,a,s,"next",e)}function s(e){d(o,r,i,a,s,"throw",e)}a(void 0)}))}}var m=new r.TextureLoader;function y(){return g.apply(this,arguments)}function g(){return(g=p(regeneratorRuntime.mark((function e(){var t,n,i,a,c,u,l,f,h,d,p,y,g;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=new r.Vector2,n=document.getElementById("canvas-webgl"),i=new r.WebGL1Renderer({alpha:!0,antialias:!0,canvas:n}),a=new r.Scene,c=new r.PerspectiveCamera,u=new r.Clock({autoStart:!1}),l=document.querySelector(".p-preloader"),f=new v,h=function(){var e=u.getDelta();f.update(e),i.render(a,c)},d=function e(){h(),requestAnimationFrame(e)},p=function(){c.setViewOffset(1200,800,(t.x-1200)/-2,(t.y-800)/-2,t.x,t.y),c.updateProjectionMatrix()},y=function(){t.set(document.body.clientWidth,window.innerHeight),n.width=t.x,n.height=t.y,p(),f.resize(t),i.setSize(t.x,t.y)},g=function(){window.addEventListener("resize",o()(y,1e3))},i.setClearColor(15658734,1),c.aspect=1.5,c.far=1e3,c.setFocalLength(50),c.position.set(0,0,300),c.lookAt(new r.Vector3),g(),y(),e.next=23,Promise.all([m.loadAsync("/sketch-threejs/img/sketch/dissolve/osaka01.jpg"),m.loadAsync("/sketch-threejs/img/sketch/dissolve/osaka02.jpg"),m.loadAsync("/sketch-threejs/img/sketch/dissolve/osaka03.jpg"),m.loadAsync("/sketch-threejs/img/sketch/dissolve/osaka04.jpg"),m.loadAsync("/sketch-threejs/img/sketch/dissolve/osaka05.jpg")]).then((function(e){f.start(t,e)}));case 23:return a.add(f),l.classList.add("is-hidden"),e.next=27,s()(200);case 27:u.start(),d();case 29:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},19963:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(2212),i=n(38314),o=n.n(i),a=n(89813),s=n(12390),c=n.n(s),u=n(97719);function l(){var e,t,i,s,l,f,h,v,d=document.getElementById("canvas-webgl"),p=new r.WebGL1Renderer({antialias:!0,canvas:d}),m=new r.Scene,y=new u.Z(35,window.innerWidth/window.innerHeight,1,1e4),g=(new r.Clock,null),x=null,b=new r.HemisphereLight(16777215,6710886,1),w=new r.Scene,M=new u.Z(45,window.innerWidth/window.innerHeight,1,1e4),_=new r.HemisphereLight(16777215,6710886,1),S=new(c()),P=1,T=new r.WebGLRenderTarget(window.innerWidth,window.innerHeight,{magFilter:r.NearestFilter,minFilter:r.NearestFilter,wrapS:r.ClampToEdgeWrapping,wrapT:r.ClampToEdgeWrapping}),R=null,E=function(){d.width=window.innerWidth,d.height=window.innerHeight,y.aspect=window.innerWidth/window.innerHeight,y.updateProjectionMatrix(),p.setSize(window.innerWidth,window.innerHeight),T.setSize(window.innerWidth,window.innerHeight),M.resize(window.innerWidth,window.innerHeight),R.material.uniforms.resolution.value.set(window.innerWidth,window.innerHeight)};p.setSize(window.innerWidth,window.innerHeight),p.setClearColor(15658734,1),y.position.set(1e3,1e3,1e3),y.lookAt(new r.Vector3),i=new r.Vector2,s=new r.Vector2,l=new r.Vector2,f=function(e,t,n){i.set(e,t),(0,a.Z)(i),S.anchor.x<3?(S.k+=.005,S.d-=.02,S.anchor.x+=.8,P+=.4):(S.k=.05,S.d=.16,S.anchor.x=1,P=1)},h=function(e,t,n){s.set(e,t),(0,a.Z)(s)},v=function(e,t,n){l.set(e,t)},window.addEventListener("resize",o()((function(){E()})),1e3),d.addEventListener("mousedown",(function(e){e.preventDefault(),f(e.clientX,e.clientY)})),d.addEventListener("mousemove",(function(e){e.preventDefault(),h(e.clientX,e.clientY)})),d.addEventListener("mouseup",(function(e){e.preventDefault(),v(e.clientX,e.clientY)})),d.addEventListener("touchstart",(function(e){e.preventDefault(),f(e.touches[0].clientX,e.touches[0].clientY)})),d.addEventListener("touchmove",(function(e){e.preventDefault(),h(e.touches[0].clientX,e.touches[0].clientY)})),d.addEventListener("touchend",(function(e){e.preventDefault(),v(e.changedTouches[0].clientX,e.changedTouches[0].clientY)})),window.addEventListener("mouseout",(function(){event.preventDefault(),l.set(0,0)})),document.body.className="bg-white",e=new r.OctahedronGeometry(200,16),t=new r.ShaderMaterial({uniforms:r.UniformsUtils.merge([r.UniformsLib.lights,{time:{type:"f",value:0},radius:{type:"f",value:1},distort:{type:"f",value:.4}}]),vertexShader:n(67112).Z,fragmentShader:n(61786).Z,lights:!0}),g=new r.Mesh(e,t),w.add(g),x=function(){var e=new r.SphereGeometry(1800),t=new r.MeshPhongMaterial({side:r.BackSide});return new r.Mesh(e,t)}(),w.add(x),w.add(_),M.force.position.anchor.set(1800,1800,0),M.force.look.anchor.set(0,0,0),R=function(){var e=new r.PlaneGeometry(2,2),t=new r.ShaderMaterial({uniforms:{time:{type:"f",value:0},resolution:{type:"v2",value:new r.Vector2(window.innerWidth,window.innerHeight)},acceleration:{type:"f",value:0},texture:{type:"t",value:T.texture}},vertexShader:n(11697).Z,fragmentShader:n(19820).Z});return new r.Mesh(e,t)}(),m.add(R),m.add(b),y.force.position.anchor.set(1800,1800,0),y.force.look.anchor.set(0,0,0),S.anchor.set(1,0),S.anchor.set(1,0),S.velocity.set(1,0),S.k=.045,S.d=.16,E(),function e(){S.applyHook(0,S.k),S.applyDrag(S.d),S.updateVelocity(),g.material.uniforms.time.value+=P,g.material.uniforms.radius.value=S.velocity.x,g.material.uniforms.distort.value=S.velocity.x/2-.1,M.force.position.applyHook(0,.025),M.force.position.applyDrag(.2),M.force.position.updateVelocity(),M.updatePosition(),M.force.look.applyHook(0,.2),M.force.look.applyDrag(.4),M.force.look.updateVelocity(),M.updateLook(),R.material.uniforms.time.value+=P,R.material.uniforms.acceleration.value=S.acceleration.length(),y.force.position.applyHook(0,.025),y.force.position.applyDrag(.2),y.force.position.updateVelocity(),y.updatePosition(),y.force.look.applyHook(0,.2),y.force.look.applyDrag(.4),y.force.look.updateVelocity(),y.lookAt(y.force.look.velocity),p.setRenderTarget(T),p.render(w,M),p.setRenderTarget(null),p.render(m,y),requestAnimationFrame(e)}()}},67687:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(2212),i=n(38314),o=n.n(i),a=n(29130),s=n.n(a),c=n(17393),u=n.n(c);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(c,e);var t,i,o,a,s=(o=c,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=d(o);if(a){var n=d(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return v(this,e)});function c(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);for(var t=new r.BufferGeometry,i=6e3,o=12e3,a=new r.BufferAttribute(new Float32Array(36e3),3),l=new r.BufferAttribute(new Float32Array(o),1),f=new r.BufferAttribute(new Float32Array(o),1),h=new r.BufferAttribute(new Float32Array(o),1),v=0;v<i;v++){var d=Math.random(),p={x:(2*Math.random()-1)*d*6,y:(2*Math.random()-1)*d*6,z:(2*Math.random()-1)*d*6};a.setXYZ(v,150*(v/i*2-1)+p.x,p.y,p.z),l.setX(v,u().radians(v/i*900+v%2*180)),f.setX(v,18),h.setX(v,u().radians(360*Math.random()))}for(var m=0;m<60;m++)for(var y=u().radians(m/60*900),g=0;g<100;g++){var x=100*m+g+i,b=Math.random(),w={x:(2*Math.random()-1)*b*1,y:(2*Math.random()-1)*b*1,z:(2*Math.random()-1)*b*1};a.setXYZ(x,150*(m/60*2-1)+w.x,w.y,w.z),l.setX(x,y),f.setX(x,18*(g/100*2-1)),h.setX(x,u().radians(360*Math.random()))}t.setAttribute("position",a),t.setAttribute("radian",l),t.setAttribute("radius",f),t.setAttribute("delay",h);var M=new r.RawShaderMaterial({uniforms:{time:{type:"f",value:0}},vertexShader:n(29277).Z,fragmentShader:n(90217).Z,transparent:!0,blending:r.AdditiveBlending,depthWrite:!1});return(e=s.call(this,t,M)).name="DNA Herix",e}return t=c,(i=[{key:"render",value:function(e){this.material.uniforms.time.value+=e}}])&&f(t.prototype,i),c}(r.Points);function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var y=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0},texture:{type:"t",value:t},resolution:{type:"v2",value:new r.Vector2}},this.obj}var t,i;return t=e,(i=[{key:"createObj",value:function(){var e=new r.PlaneGeometry(2,2),t=new r.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(60125).Z,fragmentShader:n(59339).Z});this.obj=new r.Mesh(e,t),this.obj.name="PostEffect"}},{key:"resize",value:function(e,t){this.uniforms.resolution.value.set(e,t)}},{key:"render",value:function(e){this.uniforms.time.value+=e}}])&&m(t.prototype,i),e}();function g(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function x(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){g(o,r,i,a,s,"next",e)}function s(e){g(o,r,i,a,s,"throw",e)}a(void 0)}))}}function b(){return w.apply(this,arguments)}function w(){return(w=x(regeneratorRuntime.mark((function e(){var t,n,i,a,c,u,l,f,h,v,d,m,g,x,b,w,M;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=new r.Vector2,n=document.getElementById("canvas-webgl"),i=new r.WebGL1Renderer({alpha:!0,antialias:!0,canvas:n}),a=new r.Scene,c=new r.PerspectiveCamera,u=new r.Clock({autoStart:!1}),l=new r.WebGLRenderTarget,f=new r.Scene,h=new r.OrthographicCamera(-1,1,1,-1,1,2),v=document.querySelector(".p-preloader"),d=new p,(m=new y(l.texture)).createObj(),f.add(m.obj),g=function(){var e=u.getDelta();d.render(e),i.setRenderTarget(l),i.render(a,c),m.render(e),i.setRenderTarget(null),i.render(f,h)},x=function e(){g(),requestAnimationFrame(e)},b=function(){c.setFocalLength(50),c.setViewOffset(1200,800,(t.x-1200)/-2,(t.y-800)/-2,t.x,t.y),c.updateProjectionMatrix()},w=function(){t.set(document.body.clientWidth,window.innerHeight),n.width=t.x,n.height=t.y,b(),i.setSize(t.x,t.y),l.setSize(t.x,t.y),m.resize(t.x,t.y)},M=function(){window.addEventListener("blur",(function(){u.stop()})),window.addEventListener("focus",(function(){u.start()})),window.addEventListener("resize",o()(w,1e3))},i.setClearColor(0,1),c.aspect=1.5,c.far=1e3,c.position.set(-110,-75,45),c.lookAt(new r.Vector3(0,0,0)),a.add(d),M(),w(),v.classList.add("is-hidden"),e.next=30,s()(200);case 30:u.start(),x();case 32:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},61954:function(e,t,n){"use strict";n.d(t,{Z:function(){return L}});var r=n(2212),i=n(38314),o=n.n(i),a=n(29130),s=n.n(a),c=n(17393),u=n.n(c);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=d(i);if(o){var n=d(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return v(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.PlaneGeometry(20,10),n=new r.RawShaderMaterial({uniforms:{time:{type:"f",value:0},texture:{type:"t",value:null},textureNoise:{type:"t",value:null}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\n\nvoid main(void) {\n // coordinate transformation\n vec4 mPosition = modelMatrix * vec4(position, 1.0);\n\n vPosition = position;\n vUv = uv;\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform sampler2D texture;\nuniform sampler2D textureNoise;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\n\nfloat random(vec2 c){\n return fract(sin(dot(c.xy ,vec2(12.9898,78.233))) * 43758.5453);\n}\n\nvec4 getGlitchColor(vec2 uv, float force) {\n vec2 r = vec2(\n random(vec2(ceil(time * 20.0), 0.0)) * 2.0 - 1.0,\n random(vec2(0.0, ceil(time * 20.0))) * 2.0 - 1.0\n );\n vec2 noiseUv = uv + r * 0.001;\n float mask = smoothstep(\n length(vec3(1.0)) - force * 0.004,\n length(vec3(1.0)),\n length(texture2D(textureNoise, uv * vec2(0.2, 0.4) * r).rgb)\n );\n vec4 texColor = texture2D(texture, noiseUv + r * 0.01 * force) * (1.0 - mask);\n vec4 texColorDiff = texture2D(texture, noiseUv + r * force) * mask;\n return texColor + texColorDiff;\n}\n\nvoid main() {\n float shake = random(vec2(time));\n float force = smoothstep(0.5, 1.0, sin(time * 4.0) * 0.8 + sin(time * 5.0) + 0.2);\n\n vec2 uvR = vUv + vec2(-0.008 - shake * 0.002, 0.0);\n vec2 uvG = vUv + vec2( 0.0, 0.0);\n vec2 uvB = vUv + vec2( 0.008 + shake * 0.002, 0.0);\n\n vec4 r = getGlitchColor(uvR, force) * vec4(1.0, 0.0, 0.0, 1.0);\n vec4 g = getGlitchColor(uvG, force) * vec4(0.0, 1.0, 0.0, 1.0);\n vec4 b = getGlitchColor(uvB, force) * vec4(0.0, 0.0, 1.0, 1.0);\n vec4 color = r + g + b;\n\n if (color.a < 0.1) discard;\n\n gl_FragColor = color;\n}\n",transparent:!0,blending:r.AdditiveBlending});return(e=a.call(this,t,n)).name="Typo",e}return t=s,(n=[{key:"start",value:function(e,t){this.material.uniforms.texture.value=e,this.material.uniforms.textureNoise.value=t}},{key:"update",value:function(e){this.material.uniforms.time.value+=e}}])&&f(t.prototype,n),s}(r.Mesh);function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function x(e,t){return!t||"object"!==m(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=b(i);if(o){var n=b(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return x(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.InstancedBufferGeometry,n=new r.OctahedronGeometry(2,0);t.copy(n);for(var i=new r.InstancedBufferAttribute(new Float32Array(90),3),o=new r.InstancedBufferAttribute(new Float32Array(30),1),c=(new r.Vector3,0);c<30;c++)i.setXYZ(c,3*c+15,0,0),o.setXYZ(c,c);t.setAttribute("iPosition",i),t.setAttribute("iIds",o);var l=new r.RawShaderMaterial({uniforms:{time:{type:"f",value:0}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\nattribute vec3 iPosition;\nattribute float iIds;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform float time;\n\nvarying vec3 vPosition;\n\nmat4 calcRotateMat4X(float radian) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, cos(radian), -sin(radian), 0.0,\n 0.0, sin(radian), cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Y(float radian) {\n return mat4(\n cos(radian), 0.0, sin(radian), 0.0,\n 0.0, 1.0, 0.0, 0.0,\n -sin(radian), 0.0, cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Z(float radian) {\n return mat4(\n cos(radian), -sin(radian), 0.0, 0.0,\n sin(radian), cos(radian), 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4(vec3 radian) {\n return calcRotateMat4X(radian.x) * calcRotateMat4Y(radian.y) * calcRotateMat4Z(radian.z);\n}\n\nvoid main(void) {\n // coordinate transformation\n mat4 rotateMat = calcRotateMat4(vec3(radians(iIds * 20.0 + time * 4.0)));\n vec3 rotatePosition = (rotateMat * vec4(position, 1.0)).xyz;\n mat4 rotateMatWorld = calcRotateMat4Y(radians(iIds * 56.0 + time * 0.5));\n vec4 mPosition = modelMatrix * rotateMatWorld * vec4(iPosition + rotatePosition, 1.0);\n\n vPosition = mPosition.xyz;\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n",fragmentShader:"#extension GL_OES_standard_derivatives : enable\nprecision highp float;\n#define GLSLIFY 1\n\nvarying vec3 vPosition;\n\nvoid main() {\n vec3 light = normalize(vec3(1.0, 1.0, 1.0));\n vec3 normal = normalize(cross(dFdx(vPosition), dFdy(vPosition)));\n float diff = pow((dot(normal, light) + 1.0) / 2.0, 3.0);\n\n vec3 rgb = vec3(10.0 / 255.0, 20.0 / 255.0, 38.0 / 255.0);\n\n gl_FragColor = vec4(rgb + diff * 0.2, 1.0);\n}\n"});return(e=a.call(this,t,l,30)).rotation.set(0,u().radians(40),u().radians(30)),e.name="Debris",e}return t=s,(n=[{key:"start",value:function(){}},{key:"update",value:function(e){this.material.uniforms.time.value+=e}}])&&y(t.prototype,n),s}(r.InstancedMesh);function M(e){return(M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function P(e,t){return!t||"object"!==M(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var R=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=T(i);if(o){var n=T(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return P(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.SphereGeometry(100,12,12),n=new r.RawShaderMaterial({uniforms:{time:{type:"f",value:0}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n // coordinate transformation\n vec4 mPosition = modelMatrix * vec4(position, 1.0);\n\n vUv = uv;\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\n\nvarying vec2 vUv;\nvarying vec3 vColor;\n\nfloat random(vec2 c){\n return fract(sin(dot(c.xy ,vec2(12.9898,78.233))) * 43758.5453);\n}\n\nconst vec3 rgb1 = vec3(0.0 / 255.0, 0.0 / 255.0, 0.0 / 255.0);\nconst vec3 rgb2 = vec3(44.0 / 255.0, 58.0 / 255.0, 83.0 / 255.0);\n\nvoid main() {\n vec3 rgb = mix(rgb1, rgb2, vUv.y * 4.0 - 1.0);\n float noise = random(vUv + vec2(0.0, time * 0.01)) * 0.04;\n\n gl_FragColor = vec4(rgb + noise, 1.0);\n}\n",side:r.BackSide});return(e=a.call(this,t,n)).name="Background",e}return t=s,(n=[{key:"start",value:function(){}},{key:"update",value:function(e){this.material.uniforms.time.value+=e}}])&&_(t.prototype,n),s}(r.Mesh);function E(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function z(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){E(o,r,i,a,s,"next",e)}function s(e){E(o,r,i,a,s,"throw",e)}a(void 0)}))}}function L(){return C.apply(this,arguments)}function C(){return(C=z(regeneratorRuntime.mark((function e(){var t,n,i,a,c,u,l,f,h,v,d,m,y,g,x,b,M,_;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=new r.Vector2,n=document.getElementById("canvas-webgl"),i=new r.WebGL1Renderer({alpha:!0,antialias:!0,canvas:n}),a=new r.Scene,c=new r.PerspectiveCamera,u=new r.Vector2,l=new r.Clock({autoStart:!1}),f=new r.TextureLoader,h=document.querySelector(".p-preloader"),v=new p,d=new w,m=new R,g=function(){var e=l.getDelta();v.update(e),d.update(e),m.update(e),i.render(a,c)},x=function e(){g(),requestAnimationFrame(e)},b=function(){t.x>t.y?u.set(t.x>=1200?1200:t.x,t.x>=1200?800:.66*t.x):u.set(.6*(t.y>=1200?800:.66*t.y),.6*(t.y>=1200?1200:t.y)),c.setViewOffset(u.x,u.y,(t.x-u.x)/-2,(t.y-u.y)/-2,t.x,t.y),c.updateProjectionMatrix()},M=function(){t.set(document.body.clientWidth,window.innerHeight),n.width=t.x,n.height=t.y,b(),i.setSize(t.x,t.y)},_=function(){window.addEventListener("blur",(function(){l.stop()})),window.addEventListener("focus",(function(){l.start()})),window.addEventListener("resize",o()(M,100))},i.setClearColor(1118481,1),c.aspect=1.5,c.far=1e3,c.setFocalLength(50),c.position.set(0,0,50),c.lookAt(new r.Vector3),e.next=25,Promise.all([f.loadAsync("../img/sketch/easy_glitch/typo.png"),f.loadAsync("../img/sketch/easy_glitch/noise.png")]).then((function(e){y=e}));case 25:return y&&(y[0].wrapS=r.RepeatWrapping,y[0].wrapT=r.RepeatWrapping,y[1].wrapS=r.RepeatWrapping,y[1].wrapT=r.RepeatWrapping,y[1].minFilter=r.NearestFilter,y[1].magFilter=r.NearestFilter,v.start(y[0],y[1]),a.add(v)),d.start(),m.start(),a.add(d),a.add(m),_(),M(),h.classList.add("is-hidden"),e.next=35,s()(200);case 35:l.start(),x();case 37:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},99729:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0},noiseRange:{type:"f",value:3*Math.random()},speed:{type:"f",value:.08},circleOutStepMin:{type:"f",value:.1},circleOutStepMax:{type:"f",value:1},circleInStepMin:{type:"f",value:0},circleInStepMax:{type:"f",value:.3},noisePosition:{type:"f",value:.8},noiseSize:{type:"f",value:.5}},this.obj=this.createObj()}var t,o;return t=e,(o=[{key:"createObj",value:function(){var e=new i.Mesh(new i.PlaneGeometry(640,640),new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(28914).Z,fragmentShader:n(24678).Z,transparent:!0}));return e.position.set(80,0,0),e}},{key:"render",value:function(e){this.obj.visible&&(this.uniforms.time.value+=e)}}])&&r(t.prototype,o),e}()},59895:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(2212),i=n(38314),o=n(99729).Z;function a(){var e={x:0,y:0},t=document.getElementById("canvas-webgl"),n=new r.WebGL1Renderer({antialias:!1,canvas:t}),a=new r.Scene,s=new r.OrthographicCamera(-1,1,1,-1,1,1e4),c=new r.Clock,u=new r.Vector2,l=new r.Vector2,f=new r.Vector2,h=new o,v=function(){var r,i;e.x=document.body.clientWidth,e.y=window.innerHeight,t.width=e.x,t.height=e.y,r=640*Math.min(e.x/e.y/(640/480),1),i=480*Math.min(e.y/e.x/.75,1),s.left=-.5*r,s.right=.5*r,s.top=.5*i,s.bottom=-.5*i,s.updateProjectionMatrix(),n.setSize(e.x,e.y)};window.addEventListener("resize",i(v,1e3)),t.addEventListener("mousedown",(function(e){e.preventDefault(),u.set(e.clientX,e.clientY)})),document.addEventListener("mousemove",(function(e){e.preventDefault(),l.set(e.clientX,e.clientY)})),document.addEventListener("mouseup",(function(e){e.preventDefault(),f.set(e.clientX,e.clientY)})),t.addEventListener("touchstart",(function(e){e.preventDefault(),u.set(e.touches[0].clientX,e.touches[0].clientY)})),t.addEventListener("touchmove",(function(e){e.preventDefault(),l.set(e.touches[0].clientX,e.touches[0].clientY)})),t.addEventListener("touchend",(function(e){e.preventDefault(),f.set(e.changedTouches[0].clientX,e.changedTouches[0].clientY)})),v(),n.setClearColor(16711406,1),s.position.set(0,0,100),s.lookAt(new r.Vector3),a.add(h.obj),function e(){var t;t=c.getDelta(),h.render(t),n.render(a,s),requestAnimationFrame(e)}()}},56160:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(2212),i=n(38314),o=n.n(i),a=n(89813),s=n(97719),c=n(42935),u=n(33286),l=n.n(u),f=n(7318),h=n.n(f),v=n(45695),d=n.n(v);function p(){var e,t,i,u,f,v,p=document.getElementById("canvas-webgl"),m=new r.WebGL1Renderer({antialias:!0,canvas:p}),y=new r.Scene,g=new s.Z(35,window.innerWidth/window.innerHeight,1,1e4),x=(new r.Clock,1e4),b=[],w=new(h()),M=new c.Z(16737792,1,1800,1),_=new Float32Array(3e4),S=new Float32Array(3e4),P=new Float32Array(x),T=new Float32Array(x),R=new r.Vector3(0,.1,0),E=null,z=Date.now(),L=!1,C=function(e){var t=e.y*window.innerHeight/3,n=e.x*window.innerWidth/-3;w.anchor.y=t,w.anchor.z=n,M.force.anchor.y=t,M.force.anchor.z=n},A=function(){var e=document.createElement("canvas"),t=e.getContext("2d"),n=null,i=null;return e.width=200,e.height=200,(n=t.createRadialGradient(100,100,20,100,100,100)).addColorStop(.2,"rgba(255, 255, 255, 1)"),n.addColorStop(.5,"rgba(255, 255, 255, 0.3)"),n.addColorStop(1,"rgba(255, 255, 255, 0)"),t.fillStyle=n,t.arc(100,100,100,0,Math.PI/180,!0),t.fill(),(i=new r.Texture(e)).minFilter=r.NearestFilter,i.needsUpdate=!0,i},O=function(){p.width=window.innerWidth,p.height=window.innerHeight,g.aspect=window.innerWidth/window.innerHeight,g.updateProjectionMatrix(),m.setSize(window.innerWidth,window.innerHeight)};m.setSize(window.innerWidth,window.innerHeight),m.setClearColor(0,1),g.position.set(1e3,1e3,1e3),g.lookAt(new r.Vector3),e=new r.Vector2,t=new r.Vector2,i=new r.Vector2,u=function(t,n,r){e.set(t,n),(0,a.Z)(e),C(e),L=!0},f=function(e,n,r){t.set(e,n),(0,a.Z)(t),L&&C(t)},v=function(e,t,n){i.set(e,t),L=!1,w.anchor.set(0,0,0),M.force.anchor.set(0,0,0)},window.addEventListener("resize",o()((function(){O()})),1e3),p.addEventListener("mousedown",(function(e){e.preventDefault(),u(e.clientX,e.clientY)})),p.addEventListener("mousemove",(function(e){e.preventDefault(),f(e.clientX,e.clientY)})),p.addEventListener("mouseup",(function(e){e.preventDefault(),v(e.clientX,e.clientY)})),p.addEventListener("touchstart",(function(e){e.preventDefault(),u(e.touches[0].clientX,e.touches[0].clientY)})),p.addEventListener("touchmove",(function(e){e.preventDefault(),f(e.touches[0].clientX,e.touches[0].clientY)})),p.addEventListener("touchend",(function(e){e.preventDefault(),v(e.changedTouches[0].clientX,e.changedTouches[0].clientY)})),window.addEventListener("mouseout",(function(){event.preventDefault(),i.set(0,0),L=!1,w.anchor.set(0,0,0),M.force.anchor.set(0,0,0)})),function(){for(var e=0;e<x;e++){var t=new(l()),i=d().getRandomInt(0,45),o=d().getRandomInt(60,90),a=new r.Color("hsl("+i+", "+o+"%, 50%)");t.init(new r.Vector3(d().getRandomInt(-100,100),0,0)),b.push(t),_[3*e+0]=t.velocity.x,_[3*e+1]=t.velocity.y,_[3*e+2]=t.velocity.z,a.toArray(S,3*e),P[e]=t.a,T[e]=t.size}var s,c;w.init({scene:y,vs:n(99173).Z,fs:n(77911).Z,positions:_,colors:S,opacities:P,sizes:T,texture:A(),blending:r.AdditiveBlending}),y.add(M),s=new r.OctahedronGeometry(1500,3),c=new r.MeshPhongMaterial({color:16777215,flatShading:!0,side:r.BackSide}),E=new r.Mesh(s,c),y.add(E),g.setPolarCoord(d().getRadian(25),0,1e3),M.setPolarCoord(d().getRadian(25),0,200)}(),O(),function e(){w.applyHook(0,.08),w.applyDrag(.2),w.updateVelocity(),M.force.applyHook(0,.08),M.force.applyDrag(.2),M.force.updateVelocity(),M.updatePosition(),function(){var e=0;if(Date.now()-z>10){for(var t=0;t<b.length;t++){var n=b[t];if(!n.is_active){var i=d().getRadian(Math.log(d().getRandomInt(0,256))/Math.log(256)*260),o=d().getRadian(d().getRandomInt(0,360)),a=12*(1-Math.log(d().getRandomInt(32,256))/Math.log(256)),s=new r.Vector3,c=d().getPolarCoord(i,o,a);if(s.add(w.velocity),n.activate(),n.init(s),n.applyForce(c),n.a=.2,n.size=Math.pow(12-a,2)*d().getRandomInt(1,24)/10,++e>=6)break}}z=Date.now()}}(),function(){for(var e=0;e<b.length;e++){var t=b[e];t.is_active&&(t.time++,t.applyForce(R),t.applyDrag(.01),t.updateVelocity(),t.time>50&&(t.size-=.7,t.a-=.009),t.a<=0&&(t.init(new r.Vector3(0,0,0)),t.time=0,t.a=0,t.inactivate())),_[3*e+0]=t.velocity.x-w.velocity.x,_[3*e+1]=t.velocity.y-w.velocity.y,_[3*e+2]=t.velocity.z-w.velocity.z,P[e]=t.a,T[e]=t.size}w.updatePoints()}(),g.force.position.applyHook(0,.004),g.force.position.applyDrag(.1),g.force.position.updateVelocity(),g.updatePosition(),g.lookAtCenter(),m.render(y,g),requestAnimationFrame(e)}()}},14449:function(e,t,n){"use strict";n.d(t,{Z:function(){return We}});var r=n(2212),i=n(38314),o=n.n(i),a=n(17393),s=n.n(a);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=h(i);if(o){var n=h(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return f(this,e)});function s(e,t,n,i){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(o=a.call(this,e,t,n,i)).cameraResolution=new r.Vector2,o.time=0,o}return t=s,(n=[{key:"start",value:function(){this.far=5e3,this.setFocalLength(50),this.position.set(0,0,130),this.lookAt(new r.Vector3)}},{key:"update",value:function(e){this.time+=e}},{key:"resize",value:function(e){this.aspect=e.x/e.y,this.updateProjectionMatrix(),this.position.z=this.aspect<1?150:120}}])&&u(t.prototype,n),s}(r.PerspectiveCamera);function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=g(i);if(o){var n=g(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return y(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.OctahedronGeometry(10,6),n=new r.RawShaderMaterial({uniforms:{time:{value:0},noiseTex:{value:null}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec3 normal;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform vec3 cameraPosition;\n\nvarying vec2 vUv;\nvarying float vEdge;\n\nvoid main(void) {\n // coordinate transformation\n vec4 mPosition = modelMatrix * vec4(position, 1.0);\n\n float angleToCamera = acos(dot(normalize(cameraPosition), normal));\n\n vUv = uv;\n vEdge = smoothstep(0.4, 1.0, abs(sin(angleToCamera)));\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform sampler2D noiseTex;\n\nvarying vec2 vUv;\nvarying float vEdge;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n vec2 p = vUv * 2.0 - 1.0;\n\n float noise1 = texture2D(noiseTex, vUv + vec2(time * 0.1, 0.0)).r;\n float noise2 = texture2D(noiseTex, vUv + vec2(time * -0.1, 0.0)).g;\n vec3 hsv = vec3(\n (noise1 + noise2) * 0.35 + time * 0.1,\n 1.0 - vEdge,\n 0.02 + vEdge * 0.98\n );\n vec3 rgb = convertHsvToRgb(hsv);\n\n gl_FragColor = vec4(rgb, 1.0);\n}\n"});return(e=a.call(this,t,n)).name="Core",e.acceleration=new r.Vector3,e.anchor=new r.Vector3,e}return t=s,(n=[{key:"start",value:function(e){this.material.uniforms.noiseTex.value=e}},{key:"update",value:function(e,t){this.material.uniforms.time.value+=e,this.applyHook(0,.2),this.applyDrag(.6),this.position.add(this.acceleration),this.lookAt(t.position)}},{key:"applyDrag",value:function(e){var t=this.acceleration.clone();t.multiplyScalar(-1),t.normalize(),t.multiplyScalar(this.acceleration.length()*e),this.acceleration.add(t)}},{key:"applyHook",value:function(e,t){var n=this.position.clone().sub(this.anchor),r=n.length()-e;n.normalize(),n.multiplyScalar(-1*t*r),this.acceleration.add(n)}}])&&p(t.prototype,n),s}(r.Mesh);function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function M(e,t){return(M=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(e,t){return!t||"object"!==b(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var P=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&M(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=S(i);if(o){var n=S(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return _(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.PlaneGeometry(30,30),n=new r.RawShaderMaterial({uniforms:{time:{value:0},noiseTex:{value:null},acceleration:{value:new r.Vector3}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec3 normal;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform vec3 cameraPosition;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n // coordinate transformation\n vec4 mPosition = modelMatrix * vec4(position, 1.0);\n\n vUv = uv;\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform sampler2D noiseTex;\n\nvarying vec2 vUv;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n vec2 p = vUv * 2.0 - 1.0;\n\n float noise1 = texture2D(noiseTex, vUv * 0.25 + vec2(time * 0.1, 0.0)).r;\n float noise2 = texture2D(noiseTex, vUv * 0.25 + vec2(time * -0.1, 0.0)).g;\n float noise = (noise1 + noise2) / 2.0;\n vec3 hsv = vec3(\n noise * 0.5 + time * 0.1,\n 0.7,\n 0.7\n );\n vec3 rgb = convertHsvToRgb(hsv) * (1.0 - smoothstep(0.4, 1.0, length(p))) + (1.0 - smoothstep(0.67, 0.74, length(p)));\n float opacity = 1.0 - smoothstep(0.9, 1.0, length(p));\n\n if (opacity < 0.01) discard;\n\n gl_FragColor = vec4(rgb, opacity);\n}\n",transparent:!0,blending:r.AdditiveBlending});return(e=a.call(this,t,n)).name="CoreLight",e}return t=s,(n=[{key:"start",value:function(e){this.material.uniforms.noiseTex.value=e}},{key:"update",value:function(e,t){var n=this.material.uniforms;n.time.value+=e,n.acceleration.value.copy(t.acceleration),this.position.copy(t.position)}}])&&w(t.prototype,n),s}(r.Mesh);function T(e){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function R(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function z(e,t){return!t||"object"!==T(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function L(e){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var C=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=L(i);if(o){var n=L(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return z(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.OctahedronGeometry(10.1,10),n=new r.RawShaderMaterial({uniforms:{time:{value:0},noiseTex:{value:null},acceleration:{value:new r.Vector3}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec3 normal;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\n\nuniform float time;\nuniform sampler2D noiseTex;\nuniform vec3 acceleration;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n float noise1 = texture2D(noiseTex, uv * 0.25 + vec2(0.1, -0.1) * time).r;\n float noise2 = texture2D(noiseTex, uv * 0.25 + vec2(-0.1, -0.1) * time).g;\n float noise = (noise1 + noise2) * 0.5 * (1.0 - min(length(acceleration) / 5.0, 1.0));\n\n vec3 transformed = vec3(position + normalize(position) * smoothstep(0.2, 1.0, noise) * 15.0);\n\n vec4 mPosition = modelMatrix * vec4(transformed, 1.0);\n\n vUv = uv;\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform sampler2D noiseTex;\nuniform vec3 acceleration;\n\nvarying vec2 vUv;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n float noise1 = texture2D(noiseTex, vUv * vec2(1.0, 0.5) + vec2(0.4, -0.3) * time).r;\n float noise2 = texture2D(noiseTex, vUv * vec2(1.0, 0.5) + vec2(-0.4, -0.6) * time).g;\n float noise3 = texture2D(noiseTex, vUv * vec2(1.0, 0.5) + vec2(0.0, -0.6) * time).b;\n float noise = (noise1 + noise2) / 2.0 * smoothstep(0.0, 0.15, vUv.y) * (1.0 - smoothstep(0.9, 1.0, vUv.y));\n noise = smoothstep(0.5 - min(length(acceleration) / 5.0, 1.0) * 0.15, 1.0, noise);\n vec3 hsv = vec3(\n noise * 0.5 + time * 0.1 + noise3 * 0.4,\n 0.7 - noise * 3.0,\n 0.6 + noise * 0.6\n );\n vec3 rgb = convertHsvToRgb(hsv);\n float opacity = noise;\n\n if (opacity < 0.01) discard;\n\n gl_FragColor = vec4(rgb, opacity);\n}\n",side:r.DoubleSide});return(e=a.call(this,t,n)).name="Aura",e}return t=s,(n=[{key:"start",value:function(e){this.material.uniforms.noiseTex.value=e}},{key:"update",value:function(e,t){var n=this.material.uniforms;n.time.value+=e,n.acceleration.value.copy(t.acceleration),this.position.copy(t.position)}}])&&R(t.prototype,n),s}(r.Mesh);function A(e){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function I(e,t){return!t||"object"!==A(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var F=400,j=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D(e,t)}(c,e);var t,n,i,o,a=(i=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=k(i);if(o){var n=k(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return I(this,e)});function c(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);var t=new r.InstancedBufferGeometry,n=new r.PlaneGeometry(1,1);t.copy(n);for(var i=new r.InstancedBufferAttribute(new Float32Array(1200),3),o=new r.InstancedBufferAttribute(new Float32Array(1200),3),u=new r.InstancedBufferAttribute(new Float32Array(F),1),l=new r.InstancedBufferAttribute(new Float32Array(F),1),f=new r.InstancedBufferAttribute(new Float32Array(F),1),h=new r.InstancedBufferAttribute(new Float32Array(F),1),v=new r.InstancedBufferAttribute(new Float32Array(1200),3),d=new r.InstancedBufferAttribute(new Float32Array(800),2),p=0;p<400;p++){var m=s().radians(75*(2*Math.random()-1)),y=s().radians(360*Math.random()),g=s().spherical(m,y,1);i.setXYZ(p,5*g[0],5*g[1],5*g[2]),o.setXYZ(p,g[0],g[1],g[2]),u.setXYZ(p,0-5*Math.random()),l.setXYZ(p,2+4*Math.random()),f.setXYZ(p,20+15*Math.random()),h.setXYZ(p,1+1*Math.random()),v.setXYZ(p,2*Math.random()-1,2*Math.random()-1,2*Math.random()-1),d.setXYZ(p,2*Math.random()-1,2*Math.random()-1)}t.setAttribute("iPosition",i),t.setAttribute("iDirection",o),t.setAttribute("iTime",u),t.setAttribute("iDuration",l),t.setAttribute("iDistance",f),t.setAttribute("iScale",h),t.setAttribute("iRotate",v),t.setAttribute("iUvDiff",d);var x=new r.RawShaderMaterial({uniforms:{time:{value:0},noiseTex:{value:null}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\nattribute vec3 iPosition;\nattribute vec3 iDirection;\nattribute float iTime;\nattribute float iDuration;\nattribute float iDistance;\nattribute float iScale;\nattribute vec3 iRotate;\nattribute vec2 iUvDiff;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform float time;\n\nvarying vec2 vUv;\nvarying vec2 vUvDiff;\nvarying float vOpacity;\nvarying float vStep;\n\nmat4 calcRotateMat4X(float radian) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, cos(radian), -sin(radian), 0.0,\n 0.0, sin(radian), cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Y(float radian) {\n return mat4(\n cos(radian), 0.0, sin(radian), 0.0,\n 0.0, 1.0, 0.0, 0.0,\n -sin(radian), 0.0, cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Z(float radian) {\n return mat4(\n cos(radian), -sin(radian), 0.0, 0.0,\n sin(radian), cos(radian), 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4(vec3 radian) {\n return calcRotateMat4X(radian.x) * calcRotateMat4Y(radian.y) * calcRotateMat4Z(radian.z);\n}\n\nmat4 calcScaleMat4(vec3 scale) {\n return mat4(\n scale.x, 0.0, 0.0, 0.0,\n 0.0, scale.y, 0.0, 0.0,\n 0.0, 0.0, scale.z, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nvoid main(void) {\n float stp = iTime / iDuration;\n\n mat4 rotateMat = calcRotateMat4(iRotate * time * 2.0);\n mat4 scaleMat = calcScaleMat4(vec3(iScale));\n vec3 transformed = position + vec3(cos(time * 3.0) * 6.0 * stp, 0.0, sin(time * 3.0) * 6.0 * stp);\n transformed = (rotateMat * scaleMat * vec4(transformed, 1.0)).xyz;\n transformed = transformed + iPosition + iDirection * iDistance * stp;\n vec4 mPosition = modelMatrix * vec4(transformed, 1.0);\n\n vUv = uv;\n vUvDiff = iUvDiff;\n vOpacity = step(0.0, iTime);\n vStep = stp;\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform sampler2D noiseTex;\n\nvarying vec2 vUv;\nvarying vec2 vUvDiff;\nvarying float vOpacity;\nvarying float vStep;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n vec2 p = vUv * 2.0 - 1.0;\n\n float noise = texture2D(noiseTex, (vUv + vUvDiff) * 0.25 + time * 0.1).r * 2.0 - 1.0;\n float stp = smoothstep(0.25, 1.0, vStep);\n noise = smoothstep(0.0 + stp, 0.2 + stp, noise * (1.0 - length(p)));\n float noise2 = texture2D(noiseTex, (vUv + vUvDiff) * 0.125 + time * 0.1).g;\n\n vec3 hsv = vec3(\n noise2 * 0.5 + time * 0.1,\n 0.4 - stp * 5.0,\n 0.95\n );\n vec3 rgb = convertHsvToRgb(hsv);\n float opacity = noise * vOpacity;\n\n gl_FragColor = vec4(rgb, opacity);\n}\n",transparent:!0,side:r.DoubleSide,depthWrite:!1});return(e=a.call(this,t,x,F)).name="Sparks",e.frustumCulled=!1,e}return t=c,(n=[{key:"start",value:function(e){this.material.uniforms.noiseTex.value=e}},{key:"update",value:function(e,t){var n=this.geometry.attributes,r=n.iPosition,i=n.iDirection,o=n.iTime,a=n.iDuration;this.material.uniforms.time.value+=e;for(var s=0;s<o.count;s++){var c=a.getX(s),u=o.getX(s);(u>c||u<0&&u+e>0)&&(u%=c,r.setXYZ(s,5*i.getX(s)+t.position.x,5*i.getY(s)+t.position.y,5*i.getZ(s)+t.position.z)),o.setX(s,u+e)}r.needsUpdate=!0,o.needsUpdate=!0}}])&&O(t.prototype,n),c}(r.InstancedMesh);function U(e){return(U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function B(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function G(e,t){return(G=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function N(e,t){return!t||"object"!==U(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function H(e){return(H=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var V=function(e,t){var n=e.clone();n.multiplyScalar(-1),n.normalize(),n.multiplyScalar(e.length()*t),e.add(n)},W=function(e,t,n,r,i){var o=e.clone().sub(n),a=o.length()-r;o.normalize(),o.multiplyScalar(-1*i*a),t.add(o)},Z=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&G(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=H(i);if(o){var n=H(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return N(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);for(var t=[],n=new r.CylinderGeometry(5,10,40,24,60,!0),i=n.attributes.position,o=new r.Vector3,c=[],u=[],l=[],f=new r.Bone,h=0;h<i.count;h++){o.fromBufferAttribute(i,h);var v=o.y+20,d=Math.floor(v/2),p=v%2/2;c.push(d,d+1,0,0),u.push(1-p,p,0,0)}for(var m=0;m<=20;m++){if(0===m)f.position.y=-20,l.push(f);else{var y=new r.Bone;y.position.y=2,l.push(y),f.add(y),f=y}t.push({velocity:new r.Vector3,acceleration:new r.Vector3})}n.setAttribute("skinIndex",new r.Uint16BufferAttribute(c,4)),n.setAttribute("skinWeight",new r.Float32BufferAttribute(u,4));var g=new r.RawShaderMaterial({uniforms:{time:{value:0},noiseTex:{value:null},acceleration:{value:new r.Vector3}},vertexShader:"precision highp float;\n#define GLSLIFY 1\n\n#define MAX_BONES 1024\n\nattribute vec3 position;\nattribute vec2 uv;\nattribute vec4 skinIndex;\nattribute vec4 skinWeight;\n\nuniform mat4 modelMatrix;\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\n\nuniform mat4 bindMatrix;\nuniform mat4 bindMatrixInverse;\nuniform highp sampler2D boneTexture;\nuniform int boneTextureSize;\n\nuniform float time;\nuniform sampler2D noiseTex;\nuniform vec3 acceleration;\n\nmat4 getBoneMatrix(const in float i) {\n float j = i * 4.0;\n float x = mod(j, float(boneTextureSize));\n float y = floor(j / float(boneTextureSize));\n float dx = 1.0 / float(boneTextureSize);\n float dy = 1.0 / float(boneTextureSize);\n\n y = dy * (y + 0.5);\n\n vec4 v1 = texture2D(boneTexture, vec2(dx * (x + 0.5), y));\n vec4 v2 = texture2D(boneTexture, vec2(dx * (x + 1.5), y));\n vec4 v3 = texture2D(boneTexture, vec2(dx * (x + 2.5), y));\n vec4 v4 = texture2D(boneTexture, vec2(dx * (x + 3.5), y));\n mat4 bone = mat4(v1, v2, v3, v4);\n\n return bone;\n}\n\nvarying vec2 vUv;\n\nvoid main() {\n float noise1 = texture2D(noiseTex, uv + vec2(0.4, -0.8) * time).r;\n float noise2 = texture2D(noiseTex, uv + vec2(-0.4, -1.4) * time).g;\n float noise = ((noise1 + noise2) - 1.0) * (uv.y * 0.9 + 0.1) * min(length(acceleration) / 3.0, 1.0);\n\n vec3 transformed = vec3(position + normalize(position) * vec3(1.0, 0.0, 1.0) * noise * 40.0);\n\n mat4 boneMatX = getBoneMatrix(skinIndex.x);\n mat4 boneMatY = getBoneMatrix(skinIndex.y);\n mat4 boneMatZ = getBoneMatrix(skinIndex.z);\n mat4 boneMatW = getBoneMatrix(skinIndex.w);\n vec4 skinVertex = bindMatrix * vec4(transformed, 1.0);\n vec4 skinned = vec4(0.0);\n\n skinned += boneMatX * skinVertex * skinWeight.x;\n skinned += boneMatY * skinVertex * skinWeight.y;\n skinned += boneMatZ * skinVertex * skinWeight.z;\n skinned += boneMatW * skinVertex * skinWeight.w;\n transformed = (bindMatrixInverse * skinned).xyz;\n\n vec4 mvPosition = modelViewMatrix * vec4(transformed, 1.0);\n\n vUv = uv;\n\n gl_Position = projectionMatrix * mvPosition;\n}",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform sampler2D noiseTex;\n\nvarying vec2 vUv;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n float noise1 = texture2D(noiseTex, vUv + vec2(0.4, -1.6) * time).r;\n float noise2 = texture2D(noiseTex, vUv + vec2(-0.4, -2.4) * time).g;\n float noise3 = texture2D(noiseTex, vUv + vec2(0.0, -0.6) * time).b;\n float noise = (noise1 + noise2) / 2.0 * (1.0 - vUv.y) * smoothstep(0.0, 0.05, vUv.y);\n noise = smoothstep(0.3, 1.0, noise);\n vec3 hsv = vec3(\n noise * 0.5 + time * 0.1 + noise3 * 0.4,\n 0.7 - noise * 3.0,\n 0.6 + noise * 0.6\n );\n vec3 rgb = convertHsvToRgb(hsv);\n float opacity = noise;\n\n if (opacity < 0.01) discard;\n\n gl_FragColor = vec4(rgb, opacity);\n}\n",skinning:!0,side:r.DoubleSide}),x=new r.Skeleton(l);return(e=a.call(this,n,g)).top=new r.Vector3(0,1,0),e.hookes=t,e.time=0,e.add(l[0]),e.bind(x),e}return t=s,(n=[{key:"start",value:function(e){this.material.uniforms.noiseTex.value=e}},{key:"update",value:function(e,t){var n=this.material.uniforms,i=this.skeleton.bones,o=new r.Quaternion,a=new r.Quaternion;this.time+=e,n.time.value+=e;for(var s=0;s<this.hookes.length;s++){var c=this.hookes[s],u=c.velocity,l=c.acceleration;if(0===s)u.copy(t.position);else{var f=this.hookes[s-1].velocity;W(u,l,f,0,1),V(l,.7),u.add(l)}}n.acceleration.value.copy(t.acceleration);for(var h=0;h<i.length;h++){var v=i[h],d=this.hookes[h].velocity;if(0===h){var p=this.hookes[h+1].velocity.clone().sub(d).normalize(),m=(new r.Vector3).crossVectors(this.top,p).normalize(),y=Math.acos(this.top.clone().dot(p));o.setFromAxisAngle(m,y),v.rotation.setFromQuaternion(o),v.position.copy(t.position)}else if(h<i.length-1){var g=this.hookes[h-1].velocity,x=d.clone().sub(g).normalize(),b=(new r.Vector3).crossVectors(this.top,x).normalize(),w=Math.acos(this.top.clone().dot(x)),M=this.hookes[h+1].velocity.clone().sub(d).normalize(),_=(new r.Vector3).crossVectors(this.top,M).normalize(),S=Math.acos(this.top.clone().dot(M));o.setFromAxisAngle(b,w),a.setFromAxisAngle(_,S),o.conjugate().multiply(a),v.rotation.setFromQuaternion(o),v.position.y=d.distanceTo(g)}}}}])&&B(t.prototype,n),s}(r.SkinnedMesh);function q(e){return(q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function X(e,t){return(X=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function K(e,t){return!t||"object"!==q(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Q(e){return(Q=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var J=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&X(e,t)}(c,e);var t,n,i,o,a=(i=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Q(i);if(o){var n=Q(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return K(this,e)});function c(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);var t=new r.PlaneGeometry(1,1),n=new r.RawShaderMaterial({uniforms:{time:{value:0},resolution:{value:new r.Vector2},noiseTex:{value:null}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\n\nvarying vec2 vUv;\n\nvoid main() {\n // coordinate transformation\n vec4 mPosition = modelMatrix * vec4(position, 1.0);\n\n vUv = uv;\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform vec2 resolution;\nuniform sampler2D noiseTex;\n\nvarying vec2 vUv;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n vec2 updateUv = vec2(\n vUv.x * min(resolution.x / resolution.y, 1.0) + max(1.0 - resolution.x / resolution.y, 0.0) / 2.0,\n vUv.y * min(resolution.y / resolution.x, 1.0) + max(1.0 - resolution.y / resolution.x, 0.0) / 2.0\n );\n vec2 p = updateUv * 2.0 - 1.0;\n vec4 texColor1 = texture2D(noiseTex, updateUv + vec2(0.0, time * 0.01));\n vec4 texColor2 = texture2D(noiseTex, updateUv - vec2(0.0, time * 0.02));\n vec3 hsv1 = vec3(0.5 + time * 0.1 + vUv.y * 0.2, 0.4, 0.05);\n vec3 hsv2 = vec3(0.0 + time * 0.1 + vUv.y * 0.2, 0.4, 0.4);\n float hsvAlpha = pow((texColor1.r + texColor2.g) / 2.0, 3.0) * 2.0;\n vec3 color = convertHsvToRgb(mix(hsv1, hsv2, hsvAlpha) - (1.0 - smoothstep(0.0, 1.0, length(p))) * 0.3);\n\n gl_FragColor = vec4(color, 1.0);\n}\n"});return(e=a.call(this,t,n)).name="Background",e.position.z=-1e3,e}return t=c,(n=[{key:"start",value:function(e){this.material.uniforms.noiseTex.value=e}},{key:"update",value:function(e){this.material.uniforms.time.value+=e}},{key:"resize",value:function(e,t){var n=this.material.uniforms,r=Math.abs((e.position.z-this.position.z)*Math.tan(s().radians(e.fov)/2)*2),i=r*e.aspect;this.scale.set(i,r,1),n.resolution.value.copy(t)}}])&&Y(t.prototype,n),c}(r.Mesh),$="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nvarying vec2 vUv;\n\nvoid main() {\n vUv = uv;\n\n gl_Position = vec4(position, 1.0);\n}\n";function ee(e){return(ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function te(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ne(e,t){return(ne=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function re(e,t){return!t||"object"!==ee(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ie(e){return(ie=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var oe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ne(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ie(i);if(o){var n=ie(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return re(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.PlaneGeometry(2,2),n=new r.RawShaderMaterial({uniforms:{minBright:{value:.5},texture:{value:null}},vertexShader:$,fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform float minBright;\nuniform sampler2D texture;\n\nvarying vec2 vUv;\n\nvoid main() {\n vec4 bright = max(vec4(0.0), (texture2D(texture, vUv) - minBright));\n gl_FragColor = bright;\n}\n"});return(e=a.call(this,t,n)).name="PostEffectBright",e}return t=s,(n=[{key:"start",value:function(e){this.material.uniforms.texture.value=e}}])&&te(t.prototype,n),s}(r.Mesh);function ae(e){return(ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function se(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ce(e,t){return(ce=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ue(e,t){return!t||"object"!==ae(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function le(e){return(le=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var fe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ce(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=le(i);if(o){var n=le(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ue(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.PlaneGeometry(2,2),n=new r.RawShaderMaterial({uniforms:{resolution:{value:new r.Vector2},direction:{value:new r.Vector2},texture:{value:null}},vertexShader:$,fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform vec2 resolution;\nuniform vec2 direction;\nuniform sampler2D texture;\n\nvarying vec2 vUv;\n\nvec4 gaussianBlur(sampler2D texture, vec2 uv, float radius, vec2 resolution, vec2 direction) {\n vec4 color = vec4(0.0);\n vec2 step = radius / resolution * direction;\n color += texture2D(texture, uv - 4.0 * step) * 0.02699548325659403;\n color += texture2D(texture, uv - 3.0 * step) * 0.06475879783294587;\n color += texture2D(texture, uv - 2.0 * step) * 0.12098536225957168;\n color += texture2D(texture, uv - 1.0 * step) * 0.17603266338214976;\n color += texture2D(texture, uv) * 0.19947114020071635;\n color += texture2D(texture, uv + 1.0 * step) * 0.17603266338214976;\n color += texture2D(texture, uv + 2.0 * step) * 0.12098536225957168;\n color += texture2D(texture, uv + 3.0 * step) * 0.06475879783294587;\n color += texture2D(texture, uv + 4.0 * step) * 0.02699548325659403;\n return color;\n}\n\nvoid main() {\n vec4 color = gaussianBlur(texture, vUv, 1.0, resolution, direction);\n gl_FragColor = color;\n}\n"});return(e=a.call(this,t,n)).name="PostEffectBlur",e}return t=s,(n=[{key:"start",value:function(e,t,n){this.material.uniforms.texture.value=e,this.material.uniforms.direction.value.set(t,n)}},{key:"resize",value:function(e,t){this.material.uniforms.resolution.value.set(e,t)}}])&&se(t.prototype,n),s}(r.Mesh);function he(e){return(he="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ve(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function de(e,t){return(de=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function pe(e,t){return!t||"object"!==he(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function me(e){return(me=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ye,ge=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&de(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=me(i);if(o){var n=me(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return pe(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.PlaneGeometry(2,2),n=new r.RawShaderMaterial({uniforms:{texture1:{value:null},texture2:{value:null}},vertexShader:$,fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform sampler2D texture1;\nuniform sampler2D texture2;\n\nvarying vec2 vUv;\n\nvoid main() {\n vec4 color1 = texture2D(texture1, vUv);\n vec4 color2 = texture2D(texture2, vUv);\n gl_FragColor = color1 + color2;\n}\n"});return(e=a.call(this,t,n)).name="PostEffectBloom",e}return t=s,(n=[{key:"start",value:function(e,t){this.material.uniforms.texture1.value=e,this.material.uniforms.texture2.value=t}}])&&ve(t.prototype,n),s}(r.Mesh);function xe(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function be(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var we=new r.Scene,Me=new v,_e=new r.Clock({autoStart:!1}),Se=new r.WebGLRenderTarget,Pe=new r.WebGLRenderTarget,Te=new r.WebGLRenderTarget,Re=new r.Scene,Ee=new r.OrthographicCamera(-1,1,1,-1,1,2),ze=new x,Le=new P,Ce=new C,Ae=new j,Oe=new Z,De=new J,Ie=new r.TextureLoader,ke=new r.Vector2,Fe=!1,je=new oe,Ue=new fe,Be=new fe,Ge=new ge,Ne=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i,o;return t=e,(n=[{key:"start",value:(i=regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(ye=new r.WebGL1Renderer({alpha:!0,antialias:!0,canvas:t})).setPixelRatio(window.devicePixelRatio),ye.setClearColor(921102,1),e.next=5,Promise.all([Ie.loadAsync("/sketch-threejs/img/sketch/flow_field/noise.jpg")]).then((function(e){var t=e[0];t.wrapS=r.RepeatWrapping,t.wrapT=r.RepeatWrapping,t.format=r.RGBFormat,t.type=r.FloatType,t.minFilter=r.NearestFilter,t.magFilter=r.NearestFilter,ze.start(t),Le.start(t),Ce.start(t),Ae.start(t),Oe.start(t),De.start(t)}));case 5:we.add(ze),we.add(Le),we.add(Ce),we.add(Ae),we.add(Oe),we.add(De),Me.start(),je.start(Se.texture),Ue.start(Pe.texture,1,0),Be.start(Te.texture,0,1),Ge.start(Se.texture,Pe.texture);case 16:case"end":return e.stop()}}),e)})),o=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){xe(o,n,r,a,s,"next",e)}function s(e){xe(o,n,r,a,s,"throw",e)}a(void 0)}))},function(e){return o.apply(this,arguments)})},{key:"play",value:function(){_e.start(),this.update()}},{key:"pause",value:function(){_e.stop()}},{key:"update",value:function(){if(!1!==_e.running){var e=_e.getDelta();Me.update(e),ze.update(e,Me),Le.update(e,ze),Ce.update(e,ze),Ae.update(e,ze),Oe.update(e,ze),De.update(e),ye.setRenderTarget(Se),ye.render(we,Me),Re.add(je),ye.setRenderTarget(Pe),ye.render(Re,Ee),Re.remove(je),Re.add(Ue),ye.setRenderTarget(Te),ye.render(Re,Ee),Re.remove(Ue),Re.add(Be),ye.setRenderTarget(Pe),ye.render(Re,Ee),Re.remove(Be),Re.add(Ge),ye.setRenderTarget(null),ye.render(Re,Ee),Re.remove(Ge)}}},{key:"resize",value:function(e){Me.resize(e),De.resize(Me,e),ye.setSize(e.x,e.y),Se.setSize(e.x*ye.getPixelRatio(),e.y*ye.getPixelRatio()),Pe.setSize(e.x*ye.getPixelRatio(),e.y*ye.getPixelRatio()),Te.setSize(e.x*ye.getPixelRatio(),e.y*ye.getPixelRatio()),Be.resize(e.x/4,e.y/4),Ue.resize(e.x/4,e.y/4)}},{key:"setCoreAnchor",value:function(e){var t=70*(ke.y/e.y*2-1),n=Math.abs((Me.position.z-t)*Math.tan(s().radians(Me.fov)/2)*2),r=n*Me.aspect;ze.anchor.set((ke.x/e.x-.5)*r,-(ke.y/e.y-.5)*n,t)}},{key:"touchStart",value:function(e,t){e.touches||e.preventDefault(),ke.set(e.touches?e.touches[0].clientX:e.clientX,e.touches?e.touches[0].clientY:e.clientY),Fe=!0,this.setCoreAnchor(t)}},{key:"touchMove",value:function(e,t){e.touches||e.preventDefault(),!0===Fe&&(ke.set(e.touches?e.touches[0].clientX:e.clientX,e.touches?e.touches[0].clientY:e.clientY),this.setCoreAnchor(t))}},{key:"touchEnd",value:function(){Fe=!1}}])&&be(t.prototype,n),e}();function He(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function Ve(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){He(o,r,i,a,s,"next",e)}function s(e){He(o,r,i,a,s,"throw",e)}a(void 0)}))}}function We(){return Ze.apply(this,arguments)}function Ze(){return(Ze=Ve(regeneratorRuntime.mark((function e(){var t,n,i,a,s,c,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=new Ne,n=new r.Vector2,i=document.getElementById("canvas-webgl"),a=document.querySelector(".p-preloader"),s=function(){n.set(document.body.clientWidth,window.innerHeight),i.width=n.x,i.height=n.y,t.resize(n)},c=function(){var e=function(e){t.touchStart(e,n)},r=function(e){t.touchMove(e,n)},a=function(){t.touchEnd()};i.addEventListener("mousedown",e,{passive:!1}),window.addEventListener("mousemove",r,{passive:!1}),window.addEventListener("mouseup",a),i.addEventListener("touchstart",e,{passive:!1}),window.addEventListener("touchmove",r,{passive:!1}),window.addEventListener("touchend",a),window.addEventListener("blur",(function(){t.pause()})),window.addEventListener("focus",(function(){t.play()})),window.addEventListener("resize",o()(s,100))},u=function e(){t.update(),requestAnimationFrame(e)},e.next=9,t.start(i);case 9:c(),s(),a.classList.add("is-hidden"),t.play(),u();case 14:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},18081:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=(n(17393),function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0}},this.obj}var t,o;return t=e,(o=[{key:"createObj",value:function(){var e=new i.SphereGeometry(1e4,128,128),t=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(44873).Z,fragmentShader:n(33274).Z,side:i.BackSide});this.obj=new i.Mesh(e,t)}},{key:"render",value:function(e){this.uniforms.time.value+=e}}])&&r(t.prototype,o),e}())},56027:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}}),n(2212);var i=n(90887),o=(n(17393),function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.camera=t,this.anchorTilt=[0,0,0]}var t,n;return t=e,(n=[{key:"init",value:function(e,t){for(var n=0;n<e.length;n++)this.camera.anchor[n]=this.camera.velocity[n]=e[n],this.camera.lookAnchor[n]=this.camera.lookVelocity[n]=t[n]}},{key:"tilt",value:function(e){this.anchorTilt=[-200*e.x,200*e.y,0]}},{key:"move",value:function(e,t,n){for(var r=0;r<e.length;r++)this.camera.anchor[r]=e[r],this.camera.lookAnchor[r]=t[r];n>0&&this.focalLength.next!==n&&(this.focalLength.prev=this.focalLength.next,this.focalLength.next=n,this.focalLength.time=0)}},{key:"render",value:function(e,t){this.tilt(t),i.vec3.add(this.camera.velocity,this.camera.velocity,this.anchorTilt),this.camera.render()}}])&&r(t.prototype,n),e}())},41208:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=(n(17393),function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0}},this.obj}var t,o;return t=e,(o=[{key:"createObj",value:function(){var e=new i.OctahedronGeometry(450,10),t=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(92665).Z,fragmentShader:n(97459).Z});this.obj=new i.Mesh(e,t)}},{key:"render",value:function(e){this.uniforms.time.value+=e}}])&&r(t.prototype,o),e}())},22215:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=(n(17393),function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0}},this.obj}var t,o;return t=e,(o=[{key:"createObj",value:function(){var e=new i.PlaneGeometry(1e3,3e3,128,128),t=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(44202).Z,fragmentShader:n(4653).Z,transparent:!0,depthWrite:!1,side:i.DoubleSide,blending:i.AdditiveBlending});this.obj=new i.Mesh(e,t)}},{key:"render",value:function(e){this.uniforms.time.value+=e}}])&&r(t.prototype,o),e}())},55536:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return a}});var i=n(2212),o=n(17393),a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0}},this.num=5e3,this.obj}var t,a;return t=e,(a=[{key:"createObj",value:function(){var e=new i.InstancedBufferGeometry,t=new i.BoxGeometry(16,800,200);e.copy(t);for(var r=new i.InstancedBufferAttribute(new Float32Array(3*this.num),3),a=new i.InstancedBufferAttribute(new Float32Array(this.num),1),s=new i.InstancedBufferAttribute(new Float32Array(this.num),1),c=new i.InstancedBufferAttribute(new Float32Array(this.num),1),u=0,l=this.num;u<l;u++){o.radians(o.randomArbitrary(0,360));var f=o.randomArbitrary(1e3,7e3),h=(7e3-f)/7e3*.75+.25,v=o.randomArbitrary(.1,.4);r.setXYZ(u,f,o.randomArbitrary(-1e4,-100),0),a.setXYZ(u,h),s.setXYZ(u,u),c.setXYZ(u,v)}e.setAttribute("instancePosition",r),e.setAttribute("scale",a),e.setAttribute("rotate",s),e.setAttribute("speed",c);var d=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(25746).Z,fragmentShader:n(13292).Z});this.obj=new i.InstancedMesh(e,d,this.num)}},{key:"render",value:function(e){this.uniforms.time.value+=e}}])&&r(t.prototype,a),e}()},86918:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(2212),i=n(38314),o=n(17393),a=n(4679),s=n(71243),c=n(97355).Z,u=n(56027).Z,l=n(41208).Z,f=n(22215).Z,h=n(55536).Z,v=n(18081).Z;function d(){var e=new r.Vector2,t=new r.Vector2,n=document.getElementById("canvas-webgl"),d=new r.WebGL1Renderer({alpha:!0,antialias:!0,canvas:n}),p=new r.Scene,m=new c,y=new u(m),g=new r.Clock;m.far=5e4,m.setFocalLength(35);var x=new l,b=new f,w=new h,M=new v,_=function(){e.set(document.body.clientWidth,window.innerHeight),n.width=e.x,n.height=e.y,m.aspect=e.x/e.y,m.updateProjectionMatrix(),d.setSize(e.x,e.y)};x.createObj(),b.createObj(),w.createObj(),M.createObj(),p.add(x.obj),p.add(b.obj),p.add(w.obj),p.add(M.obj),d.setClearColor(0,1),y.init([0,1500,3e3],[0,-100,0]),g.start(),window.addEventListener("resize",i(_,1e3)),a()||s()?window.addEventListener("deviceorientation",(function(n){e.x/e.y<1?t.set(n.gamma/60,-.02*o.clamp(Math.abs(n.beta)-90,-90,90)):t.set(0,0)})):(window.addEventListener("mousemove",(function(n){t.set(n.clientX/e.x*2-1,-(n.clientY/e.y*2-1))})),window.addEventListener("mouseout",(function(e){t.set(0,0)}))),_(),function e(){var n;n=g.getDelta(),x.render(n),b.render(n),w.render(n),M.render(n),y.render(n,t),d.render(p,m),requestAnimationFrame(e)}()}},95185:function(e,t,n){"use strict";n.d(t,{Z:function(){return Q}});var r=n(2212),i=n(38314),o=n.n(i),a=n(52886);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=f(i);if(o){var n=f(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return l(this,e)});function s(e,t,n,i){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(o=a.call(this,e,t,n,i)).cameraResolution=new r.Vector2,o.time=0,o}return t=s,(n=[{key:"start",value:function(){this.far=1e3,this.setFocalLength(50),this.position.set(0,0,90),this.lookAt(new r.Vector3)}},{key:"update",value:function(e){this.time+=e}},{key:"resize",value:function(e){this.aspect=e.x/e.y,this.updateProjectionMatrix()}}])&&c(t.prototype,n),s}(r.PerspectiveCamera);function v(e){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t){return!t||"object"!==v(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=y(i);if(o){var n=y(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return m(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);for(var t=new r.BufferGeometry,n=new r.BufferAttribute(new Float32Array(3*Math.pow(32,3)),3),i=new r.BufferAttribute(new Float32Array(3*Math.pow(32,3)),3),o=new r.BufferAttribute(new Float32Array(Math.pow(32,3)),1),c=0;c<16;c++)for(var u=c/15,l=30*(2*u-1),f=0;f<16;f++)for(var h=f/15,v=30*(2*h-1),d=0;d<16;d++){var p=2*(c*Math.pow(16,2)+16*f+d),m=d/15,y=30*(2*m-1);n.setXYZ(p,l,v,y),n.setXYZ(p+1,l,v,y),i.setXYZ(p,u,h,m),i.setXYZ(p+1,u,h,m),o.setXYZ(p,0),o.setXYZ(p+1,1)}t.setAttribute("position",n),t.setAttribute("uv",i),t.setAttribute("movable",o);var g=new r.RawShaderMaterial({uniforms:{time:{value:0},resolution:{value:new r.Vector2},pixelRatio:{value:window.devicePixelRatio},noiseTex:{value:null},multiTime:{value:new r.Vector2}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec3 uv;\nattribute float movable;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform float time;\nuniform vec2 resolution;\nuniform float pixelRatio;\nuniform sampler2D noiseTex;\nuniform vec2 multiTime;\n\nvarying vec3 vColor;\n\nvoid main() {\n // Coordinate transformation\n vec3 v = position;\n float texColorR = texture2D(noiseTex, (v.yz + v.x + time * multiTime * 14.0) * 0.01).r;\n float texColorG = texture2D(noiseTex, (v.zx + v.y + time * multiTime * 14.0) * 0.01).g;\n float texColorB = texture2D(noiseTex, (v.xy + v.z + time * multiTime * 14.0) * 0.01).b;\n vec3 noise = vec3(\n texColorR,\n texColorG * 2.0 - 1.0,\n texColorB * 2.0 - 1.0\n );\n vec4 mvPosition = viewMatrix * modelMatrix * vec4(position + noise * movable * 2.0, 1.0);\n float distanceFromCamera = length(mvPosition.xyz);\n\n vColor = vec3(texColorR, texColorG, texColorB);\n\n gl_Position = projectionMatrix * mvPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nvarying vec3 vColor;\n\nvoid main() {\n gl_FragColor = vec4(vColor, 0.2);\n}\n",transparent:!0,depthWrite:!1,blending:r.AdditiveBlending});return(e=a.call(this,t,g)).name="Points",e}return t=s,(n=[{key:"start",value:function(e,t){var n=this.material.uniforms;n.noiseTex.value=e,n.multiTime.value.copy(t)}},{key:"update",value:function(e){this.material.uniforms.time.value+=e}},{key:"resize",value:function(e){this.material.uniforms.resolution.value.copy(e)}}])&&d(t.prototype,n),s}(r.LineSegments),x=n(17393),b=n.n(x),w="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n vUv = uv;\n gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n}\n",M="precision highp float;\n#define GLSLIFY 1\n\nuniform sampler2D initData;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n gl_FragColor = texture2D(initData, vUv);\n}\n";function _(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var S=function(e,t,n){return new r.Mesh(new r.PlaneGeometry(2,2),new r.RawShaderMaterial({uniforms:e,vertexShader:t,fragmentShader:n}))},P=function(){function e(t,n,i,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var a={type:/(iPad|iPhone|iPod)/g.test(navigator.userAgent)?r.HalfFloatType:r.FloatType,minFilter:r.NearestFilter,magFilter:r.NearestFilter};this.side=0,this.aScene=new r.Scene,this.vScene=new r.Scene,this.camera=new r.OrthographicCamera,this.acceleration=[new r.WebGLRenderTarget(0,0,a),new r.WebGLRenderTarget(0,0,a)],this.velocity=[new r.WebGLRenderTarget(0,0,a),new r.WebGLRenderTarget(0,0,a)],this.aUniforms={velocity:{value:null},acceleration:{value:null},time:{value:0}},this.vUniforms={side:{value:0},velocity:{value:null},acceleration:{value:null},time:{value:0}},this.aMesh=S(this.aUniforms,t,n),this.vMesh=S(this.vUniforms,i,o),this.uvs=[],this.targetIndex=0}var t,n;return t=e,(n=[{key:"start",value:function(e,t,n,i,o){this.side=this.vUniforms.side.value=Math.ceil(Math.sqrt(n.length/3)),this.camera.top=.5*this.side,this.camera.bottom=-.5*this.side,this.camera.right=.5*this.side,this.camera.left=-.5*this.side,this.camera.position.z=10;for(var a=[],s=[],c=0;c<3*Math.pow(this.side,2);c+=3)t&&null!=t[c]?(a[c+0]=t[c+0],a[c+1]=t[c+1],a[c+2]=t[c+2]):(a[c+0]=0,a[c+1]=0,a[c+2]=0),n&&null!=n[c]?(s[c+0]=n[c+0],s[c+1]=n[c+1],s[c+2]=n[c+2]):(s[c+0]=0,s[c+1]=0,s[c+2]=0),this.uvs[c/3*2+0]=c/3%this.side/(this.side-1),this.uvs[c/3*2+1]=Math.floor(c/3/this.side)/(this.side-1);if(i){var u=Object.keys(i);if(u.length)for(c=0;c<u.length;c++){for(var l=i[u[c]],f=l.array.length;f<s.length/3*l.itemSize;f++)l.array.push(0);this.aMesh.geometry.setAttribute(u[c],new r.BufferAttribute(new Float32Array(l.array),l.itemSize))}}if(o){var h=Object.keys(o);if(h.length)for(c=0;c<h.length;c++){var v=o[h[c]];for(f=v.array.length;f<s.length/3*v.itemSize;f++)v.array.push(0);this.vMesh.geometry.setAttribute(h[c],new r.BufferAttribute(new Float32Array(v.array),v.itemSize))}}for(c=0;c<2;c++)this.acceleration[c].setSize(this.side,this.side),this.velocity[c].setSize(this.side,this.side);var d=new r.DataTexture(new Float32Array(a),this.side,this.side,r.RGBFormat,r.FloatType);d.format=r.RGBFormat,d.type=r.FloatType,d.magFilter=r.NearestFilter,d.minFilter=r.NearestFilter,d.needsUpdate=!0;var p=new r.Mesh(new r.PlaneGeometry(2,2),new r.RawShaderMaterial({uniforms:{initData:{value:d}},vertexShader:w,fragmentShader:M}));this.aScene.add(this.camera),this.aScene.add(p),e.setRenderTarget(this.acceleration[Math.abs(this.targetIndex-1)]),e.render(this.aScene,this.camera),this.aScene.remove(p),this.aScene.add(this.aMesh);var m=new r.DataTexture(new Float32Array(s),this.side,this.side);m.format=r.RGBFormat,m.type=r.FloatType,m.magFilter=r.NearestFilter,m.minFilter=r.NearestFilter,m.needsUpdate=!0;var y=new r.Mesh(new r.PlaneGeometry(2,2),new r.RawShaderMaterial({uniforms:{initData:{value:m}},vertexShader:w,fragmentShader:M}));this.vScene.add(this.camera),this.vScene.add(y),e.setRenderTarget(this.velocity[this.targetIndex]),e.render(this.vScene,this.camera),this.vScene.remove(y),this.vScene.add(this.vMesh)}},{key:"update",value:function(e,t){var n=Math.abs(this.targetIndex-1),r=this.targetIndex;this.aUniforms.acceleration.value=this.acceleration[n].texture,this.aUniforms.velocity.value=this.velocity[r].texture,e.setRenderTarget(this.acceleration[r]),e.render(this.aScene,this.camera),this.vUniforms.acceleration.value=this.acceleration[r].texture,this.vUniforms.velocity.value=this.velocity[r].texture,e.setRenderTarget(this.velocity[n]),e.render(this.vScene,this.camera),this.targetIndex=n,this.aUniforms.time.value+=t,this.vUniforms.time.value+=t}},{key:"getBufferAttributeUv",value:function(){return new r.BufferAttribute(new Float32Array(this.uvs),2)}},{key:"getCurrentVelocity",value:function(){return this.velocity[Math.abs(this.targetIndex-1)].texture}},{key:"getCurrentAcceleration",value:function(){return this.acceleration[Math.abs(this.targetIndex-1)].texture}},{key:"mergeAUniforms",value:function(e){this.aUniforms=Object.assign(this.aUniforms,e)}},{key:"mergeVUniforms",value:function(e){this.vUniforms=Object.assign(this.vUniforms,e)}},{key:"createDataTexture",value:function(e){for(var t=[],n=0;n<3*Math.pow(this.side,2);n+=3)null!=e[n]?(t[n+0]=e[n+0],t[n+1]=e[n+1],t[n+2]=e[n+2]):(t[n+0]=0,t[n+1]=0,t[n+2]=0);return new r.DataTexture(new Float32Array(t),this.side,this.side,r.RGBFormat,r.FloatType)}}])&&_(t.prototype,n),e}();function T(e){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function R(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function z(e,t){return!t||"object"!==T(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function L(e){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var C=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=L(i);if(o){var n=L(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return z(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);for(var t=new r.BufferGeometry,n=new r.BufferAttribute(new Float32Array(45e4),3),i=0;i<15e4;i++)n.setXYZ(i,0,0,0);t.setAttribute("position",n);var o=new r.RawShaderMaterial({uniforms:{time:{value:0},resolution:{value:new r.Vector2},pixelRatio:{value:window.devicePixelRatio},acceleration:{value:null},velocity:{value:null}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uvVelocity;\n\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\nuniform float time;\nuniform vec2 resolution;\nuniform float pixelRatio;\nuniform sampler2D acceleration;\nuniform sampler2D velocity;\n\nvarying vec3 vColor;\nvarying float vOpacity;\n\nvoid main() {\n vec3 a = texture2D(acceleration, uvVelocity).xyz;\n vec3 v = texture2D(velocity, uvVelocity).xyz;\n vec4 mvPosition = modelViewMatrix * vec4(v, 1.0);\n\n // Define the point size.\n float distanceFromCamera = length(mvPosition.xyz);\n float pointSize = 4.0 * resolution.y / 1024.0 * pixelRatio * 50.0 / distanceFromCamera;\n\n vColor = a * 0.4 + 0.4;\n vOpacity = length(a);\n\n gl_PointSize = pointSize;\n gl_Position = projectionMatrix * mvPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nvarying vec3 vColor;\nvarying float vOpacity;\n\nvoid main() {\n vec2 p = gl_PointCoord * 2.0 - 1.0;\n float radius = length(p);\n float opacity = 1.0 - smoothstep(0.5, 1.0, radius);\n\n if (opacity <= 0.0) discard;\n\n gl_FragColor = vec4(vColor, vOpacity * opacity);\n}\n",transparent:!0,depthWrite:!1,blending:r.AdditiveBlending});return(e=a.call(this,t,o)).name="Mover",e.frustumCulled=!1,e.physicsRenderer,e.multiTime=new r.Vector2(2*Math.random()-1,2*Math.random()-1),e}return t=s,(n=[{key:"start",value:function(e,t){for(var n=this.material.uniforms,r=this.geometry.attributes.position.array,i=[],o=[],a=[],s=[],c=0;c<r.length;c+=3){var u=b().radians(360*Math.random()),l=1*Math.random()+2;i[c+0]=-29.99,i[c+1]=Math.cos(u)*l,i[c+2]=Math.sin(u)*l,o[c+0]=i[c+0],o[c+1]=i[c+1],o[c+2]=i[c+2],a[c+0]=10*Math.random(),a[c+1]=0,a[c+2]=0,s[c+0]=Math.random(),s[c+1]=0,s[c+2]=0}this.physicsRenderer=new P("#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n vUv = uv;\n gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n}\n","precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform sampler2D velocity;\nuniform sampler2D acceleration;\nuniform sampler2D noiseTex;\nuniform sampler2D delay;\nuniform sampler2D mass;\nuniform vec2 multiTime;\n\nvarying vec2 vUv;\n\n#ifndef PRECISION\n#define PRECISION 0.000001\n#endif\n\nvec3 drag(vec3 a, float value) {\n return normalize(a * -1.0 + PRECISION) * length(a) * value;\n}\n\nvoid main(void) {\n vec3 v = texture2D(velocity, vUv).xyz;\n vec3 a = texture2D(acceleration, vUv).xyz;\n float dl = texture2D(delay, vUv).x;\n float mass = texture2D(mass, vUv).x;\n vec3 d = drag(a, 0.01 + mass * 0.01);\n\n float texColorR = texture2D(noiseTex, (v.yz + v.x + time * multiTime * 14.0) * 0.01).r;\n float texColorG = texture2D(noiseTex, (v.zx + v.y + time * multiTime * 14.0) * 0.01).g;\n float texColorB = texture2D(noiseTex, (v.xy + v.z + time * multiTime * 14.0) * 0.01).b;\n vec3 noise = vec3(\n texColorR,\n texColorG * 2.0 - 1.0,\n texColorB * 2.0 - 1.0\n );\n vec3 f = noise * 0.008 * step(dl, time);\n\n float init = clamp(step(30.0, abs(v.x)) + step(30.0, abs(v.y)) + step(30.0, abs(v.z)), 0.0, 1.0);\n vec3 ff = (f + a + d) * (1.0 - init) + vec3(0.0) * init;\n\n gl_FragColor = vec4(ff, 1.0);\n}\n","#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n vUv = uv;\n gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n}\n","precision highp float;\n#define GLSLIFY 1\n\nuniform sampler2D acceleration;\nuniform sampler2D velocity;\nuniform sampler2D velocityFirst;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n vec3 a = texture2D(acceleration, vUv).xyz;\n vec3 v = texture2D(velocity, vUv).xyz;\n vec3 vf = texture2D(velocityFirst, vUv).xyz;\n\n float init = clamp(step(30.0, abs(v.x)) + step(30.0, abs(v.y)) + step(30.0, abs(v.z)), 0.0, 1.0);\n v = (a + v) * (1.0 - init) + vf * init;\n\n gl_FragColor = vec4(v, 1.0);\n}\n"),this.physicsRenderer.start(e,[],i),this.physicsRenderer.mergeAUniforms({noiseTex:{value:t},delay:{value:this.physicsRenderer.createDataTexture(a)},mass:{value:this.physicsRenderer.createDataTexture(s)},multiTime:{value:this.multiTime}}),this.physicsRenderer.mergeVUniforms({velocityFirst:{value:this.physicsRenderer.createDataTexture(o)}}),n.acceleration.value=this.physicsRenderer.getCurrentAcceleration(),n.velocity.value=this.physicsRenderer.getCurrentVelocity(),this.geometry.setAttribute("uvVelocity",this.physicsRenderer.getBufferAttributeUv())}},{key:"update",value:function(e,t){var n=this.material.uniforms;this.physicsRenderer.update(e,t),n.acceleration.value=this.physicsRenderer.getCurrentAcceleration(),n.velocity.value=this.physicsRenderer.getCurrentVelocity(),n.time.value+=t}},{key:"resize",value:function(e){this.material.uniforms.resolution.value.copy(e)}}])&&R(t.prototype,n),s}(r.Points);function A(e){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function I(e,t){return!t||"object"!==A(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var F,j=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=k(i);if(o){var n=k(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return I(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);for(var t=new r.BufferGeometry,n=16,i=new r.BufferAttribute(new Float32Array(3*Math.pow(n,3)),3),o=new r.BufferAttribute(new Float32Array(3*Math.pow(n,3)),3),c=0;c<n;c++)for(var u=c/15,l=30*(2*u-1),f=0;f<n;f++)for(var h=f/15,v=30*(2*h-1),d=0;d<n;d++){var p=c*Math.pow(n,2)+f*n+d,m=d/15,y=30*(2*m-1);i.setXYZ(p,l,v,y),o.setXYZ(p,u,h,m)}t.setAttribute("position",i),t.setAttribute("uv",o);var g=new r.RawShaderMaterial({uniforms:{time:{value:0},resolution:{value:new r.Vector2},pixelRatio:{value:window.devicePixelRatio},noiseTex:{value:null},multiTime:{value:new r.Vector2}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform float time;\nuniform vec2 resolution;\nuniform float pixelRatio;\nuniform sampler2D noiseTex;\nuniform vec2 multiTime;\n\nvarying vec3 vColor;\n\nvoid main() {\n // Coordinate transformation\n vec3 v = position;\n float texColorR = texture2D(noiseTex, (v.yz + v.x + time * multiTime * 14.0) * 0.01).r;\n float texColorG = texture2D(noiseTex, (v.zx + v.y + time * multiTime * 14.0) * 0.01).g;\n float texColorB = texture2D(noiseTex, (v.xy + v.z + time * multiTime * 14.0) * 0.01).b;\n vec3 noise = vec3(\n texColorR,\n texColorG * 2.0 - 1.0,\n texColorB * 2.0 - 1.0\n );\n vec4 mvPosition = viewMatrix * modelMatrix * vec4(position + noise * 2.0, 1.0);\n float distanceFromCamera = length(mvPosition.xyz);\n\n // Define the point size.\n float pointSize = 3.0 * resolution.y / 1024.0 * pixelRatio * 50.0 / distanceFromCamera;\n\n vColor = vec3(texColorR, texColorG, texColorB);\n\n gl_Position = projectionMatrix * mvPosition;\n gl_PointSize = pointSize;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nvarying vec3 vColor;\n\nvoid main() {\n gl_FragColor = vec4(vColor, 0.2);\n}\n",transparent:!0,depthWrite:!1,blending:r.AdditiveBlending});return(e=a.call(this,t,g)).name="Points",e}return t=s,(n=[{key:"start",value:function(e,t){var n=this.material.uniforms;n.noiseTex.value=e,n.multiTime.value.copy(t)}},{key:"update",value:function(e){this.material.uniforms.time.value+=e}},{key:"resize",value:function(e){this.material.uniforms.resolution.value.copy(e)}}])&&O(t.prototype,n),s}(r.Points);function U(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function B(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var G=new r.Scene,N=new h,H=new r.Clock({autoStart:!1}),V=new g,W=new C,Z=new j,q=new r.TextureLoader,Y=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i,o;return t=e,(n=[{key:"start",value:(i=regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(F=new r.WebGLRenderer({alpha:!0,antialias:!0,canvas:t})).setPixelRatio(window.devicePixelRatio),F.setClearColor(921102,1),new a.z(N,F.domElement),e.next=6,Promise.all([q.loadAsync("/sketch-threejs/img/sketch/flow_field/noise.jpg")]).then((function(e){var t=e[0];t.wrapS=r.RepeatWrapping,t.wrapT=r.RepeatWrapping,t.format=r.RGBFormat,t.type=r.FloatType,t.minFilter=r.NearestFilter,t.magFilter=r.NearestFilter,W.start(F,t),V.start(t,W.multiTime),Z.start(t,W.multiTime)}));case 6:G.add(V),G.add(W),G.add(Z),N.start();case 10:case"end":return e.stop()}}),e)})),o=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){U(o,n,r,a,s,"next",e)}function s(e){U(o,n,r,a,s,"throw",e)}a(void 0)}))},function(e){return o.apply(this,arguments)})},{key:"play",value:function(){H.start(),this.update()}},{key:"pause",value:function(){H.stop()}},{key:"update",value:function(){if(!1!==H.running){var e=H.getDelta();N.update(e),V.update(e),W.update(F,e),Z.update(e),F.setRenderTarget(null),F.render(G,N)}}},{key:"resize",value:function(e){N.resize(e),V.resize(e),W.resize(e),Z.resize(e),F.setSize(e.x,e.y)}}])&&B(t.prototype,n),e}();function X(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function K(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){X(o,r,i,a,s,"next",e)}function s(e){X(o,r,i,a,s,"throw",e)}a(void 0)}))}}function Q(){return J.apply(this,arguments)}function J(){return(J=K(regeneratorRuntime.mark((function e(){var t,n,i,a,s,c,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=new Y,n=new r.Vector2,i=document.getElementById("canvas-webgl"),a=document.querySelector(".p-preloader"),s=function(){n.set(document.body.clientWidth,window.innerHeight),i.width=n.x,i.height=n.y,t.resize(n)},c=function(){window.addEventListener("blur",(function(){t.pause()})),window.addEventListener("focus",(function(){t.play()})),window.addEventListener("resize",o()(s,100))},u=function e(){t.update(),requestAnimationFrame(e)},e.next=9,t.start(i);case 9:c(),s(),a.classList.add("is-hidden"),t.play(),u();case 14:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},86139:function(e,t,n){"use strict";n.d(t,{Z:function(){return F}});var r=n(2212),i=n(38314),o=n.n(i),a=n(52886);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=f(i);if(o){var n=f(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return l(this,e)});function s(e,t,n,i){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(o=a.call(this,e,t,n,i)).cameraResolution=new r.Vector2,o.time=0,o}return t=s,(n=[{key:"start",value:function(){this.far=1e3,this.setFocalLength(50),this.position.set(80,0,0),this.lookAt(new r.Vector3)}},{key:"update",value:function(e){this.time+=e}},{key:"resize",value:function(e){this.aspect=e.x/e.y,this.updateProjectionMatrix()}}])&&c(t.prototype,n),s}(r.PerspectiveCamera),v=n(17393),d=n.n(v),p="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n vUv = uv;\n gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n}\n",m="precision highp float;\n#define GLSLIFY 1\n\nuniform sampler2D initData;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n gl_FragColor = texture2D(initData, vUv);\n}\n";function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var g=function(e,t,n){return new r.Mesh(new r.PlaneGeometry(2,2),new r.RawShaderMaterial({uniforms:e,vertexShader:t,fragmentShader:n}))},x=function(){function e(t,n,i,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var a={type:/(iPad|iPhone|iPod)/g.test(navigator.userAgent)?r.HalfFloatType:r.FloatType,minFilter:r.NearestFilter,magFilter:r.NearestFilter};this.side=0,this.aScene=new r.Scene,this.vScene=new r.Scene,this.camera=new r.OrthographicCamera,this.acceleration=[new r.WebGLRenderTarget(0,0,a),new r.WebGLRenderTarget(0,0,a)],this.velocity=[new r.WebGLRenderTarget(0,0,a),new r.WebGLRenderTarget(0,0,a)],this.aUniforms={velocity:{value:null},acceleration:{value:null},time:{value:0}},this.vUniforms={side:{value:0},velocity:{value:null},acceleration:{value:null},time:{value:0}},this.aMesh=g(this.aUniforms,t,n),this.vMesh=g(this.vUniforms,i,o),this.uvs=[],this.targetIndex=0}var t,n;return t=e,(n=[{key:"start",value:function(e,t,n,i,o){this.side=this.vUniforms.side.value=Math.ceil(Math.sqrt(n.length/3)),this.camera.top=.5*this.side,this.camera.bottom=-.5*this.side,this.camera.right=.5*this.side,this.camera.left=-.5*this.side,this.camera.position.z=10;for(var a=[],s=[],c=0;c<3*Math.pow(this.side,2);c+=3)t&&null!=t[c]?(a[c+0]=t[c+0],a[c+1]=t[c+1],a[c+2]=t[c+2]):(a[c+0]=0,a[c+1]=0,a[c+2]=0),n&&null!=n[c]?(s[c+0]=n[c+0],s[c+1]=n[c+1],s[c+2]=n[c+2]):(s[c+0]=0,s[c+1]=0,s[c+2]=0),this.uvs[c/3*2+0]=c/3%this.side/(this.side-1),this.uvs[c/3*2+1]=Math.floor(c/3/this.side)/(this.side-1);if(i){var u=Object.keys(i);if(u.length)for(c=0;c<u.length;c++){for(var l=i[u[c]],f=l.array.length;f<s.length/3*l.itemSize;f++)l.array.push(0);this.aMesh.geometry.setAttribute(u[c],new r.BufferAttribute(new Float32Array(l.array),l.itemSize))}}if(o){var h=Object.keys(o);if(h.length)for(c=0;c<h.length;c++){var v=o[h[c]];for(f=v.array.length;f<s.length/3*v.itemSize;f++)v.array.push(0);this.vMesh.geometry.setAttribute(h[c],new r.BufferAttribute(new Float32Array(v.array),v.itemSize))}}for(c=0;c<2;c++)this.acceleration[c].setSize(this.side,this.side),this.velocity[c].setSize(this.side,this.side);var d=new r.DataTexture(new Float32Array(a),this.side,this.side,r.RGBFormat,r.FloatType);d.format=r.RGBFormat,d.type=r.FloatType,d.magFilter=r.NearestFilter,d.minFilter=r.NearestFilter,d.needsUpdate=!0;var y=new r.Mesh(new r.PlaneGeometry(2,2),new r.RawShaderMaterial({uniforms:{initData:{value:d}},vertexShader:p,fragmentShader:m}));this.aScene.add(this.camera),this.aScene.add(y),e.setRenderTarget(this.acceleration[Math.abs(this.targetIndex-1)]),e.render(this.aScene,this.camera),this.aScene.remove(y),this.aScene.add(this.aMesh);var g=new r.DataTexture(new Float32Array(s),this.side,this.side);g.format=r.RGBFormat,g.type=r.FloatType,g.magFilter=r.NearestFilter,g.minFilter=r.NearestFilter,g.needsUpdate=!0;var x=new r.Mesh(new r.PlaneGeometry(2,2),new r.RawShaderMaterial({uniforms:{initData:{value:g}},vertexShader:p,fragmentShader:m}));this.vScene.add(this.camera),this.vScene.add(x),e.setRenderTarget(this.velocity[this.targetIndex]),e.render(this.vScene,this.camera),this.vScene.remove(x),this.vScene.add(this.vMesh)}},{key:"update",value:function(e,t){var n=Math.abs(this.targetIndex-1),r=this.targetIndex;this.aUniforms.acceleration.value=this.acceleration[n].texture,this.aUniforms.velocity.value=this.velocity[r].texture,e.setRenderTarget(this.acceleration[r]),e.render(this.aScene,this.camera),this.vUniforms.acceleration.value=this.acceleration[r].texture,this.vUniforms.velocity.value=this.velocity[r].texture,e.setRenderTarget(this.velocity[n]),e.render(this.vScene,this.camera),this.targetIndex=n,this.aUniforms.time.value+=t,this.vUniforms.time.value+=t}},{key:"getBufferAttributeUv",value:function(e){var t=e.instanced;return void 0!==t&&t?new r.InstancedBufferAttribute(new Float32Array(this.uvs),2):new r.BufferAttribute(new Float32Array(this.uvs),2)}},{key:"getCurrentVelocity",value:function(){return this.velocity[Math.abs(this.targetIndex-1)].texture}},{key:"getCurrentAcceleration",value:function(){return this.acceleration[Math.abs(this.targetIndex-1)].texture}},{key:"mergeAUniforms",value:function(e){this.aUniforms=Object.assign(this.aUniforms,e)}},{key:"mergeVUniforms",value:function(e){this.vUniforms=Object.assign(this.vUniforms,e)}},{key:"createDataTexture",value:function(e){for(var t=[],n=0;n<3*Math.pow(this.side,2);n+=3)null!=e[n]?(t[n+0]=e[n+0],t[n+1]=e[n+1],t[n+2]=e[n+2]):(t[n+0]=0,t[n+1]=0,t[n+2]=0);return new r.DataTexture(new Float32Array(t),this.side,this.side,r.RGBFormat,r.FloatType)}}])&&y(t.prototype,n),e}();function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function M(e,t){return(M=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(e,t){return!t||"object"!==b(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var P,T=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&M(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=S(i);if(o){var n=S(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return _(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.InstancedBufferGeometry,n=new r.ConeGeometry(.1,2,5);t.copy(n);var i=new r.RawShaderMaterial({uniforms:{time:{value:0},acceleration:{value:null},velocity:{value:null}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uvVelocity;\n\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\nuniform float time;\nuniform vec2 resolution;\nuniform float pixelRatio;\nuniform sampler2D acceleration;\nuniform sampler2D velocity;\n\nvarying vec3 vColor;\nvarying float vOpacity;\n\nmat4 calcTranslateMat4(vec3 v) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, 1.0, 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n v.x, v.y, v.z, 1.0\n );\n}\n\nmat4 calcScaleMat4(vec3 scale) {\n return mat4(\n scale.x, 0.0, 0.0, 0.0,\n 0.0, scale.y, 0.0, 0.0,\n 0.0, 0.0, scale.z, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nstruct Quaternion {\n float x;\n float y;\n float z;\n float w;\n};\n\n// https://qiita.com/aa_debdeb/items/c34a3088b2d8d3731813\nQuaternion axisAngle(vec3 axis, float radian) {\n vec3 naxis = normalize(axis);\n float h = 0.5 * radian;\n float s = sin(h);\n return Quaternion(naxis.x * s, naxis.y * s, naxis.z * s, cos(h));\n}\n\nQuaternion conjugate(Quaternion q) {\n return Quaternion(-q.x, -q.y, -q.z, q.w);\n}\n\nQuaternion mul(Quaternion q, float f) {\n return Quaternion(f * q.x, f * q.y, f * q.z, f * q.w);\n}\n\nQuaternion mul(Quaternion q1, Quaternion q2) {\n return Quaternion(\n q2.w * q1.x - q2.z * q1.y + q2.y * q1.z + q2.x * q1.w,\n q2.z * q1.x + q2.w * q1.y - q2.x * q1.z + q2.y * q1.w,\n -q2.y * q1.x + q2.x * q1.y + q2.w * q1.z + q2.z * q1.w,\n -q2.x * q1.x - q2.y * q1.y - q2.z * q1.z + q2.w * q1.w\n );\n}\n\nvec3 rotate(vec3 v, Quaternion q) {\n // norm of q must be 1.\n Quaternion vq = Quaternion(v.x, v.y, v.z, 0.0);\n Quaternion cq = conjugate(q);\n Quaternion mq = mul(mul(cq, vq), q);\n return vec3(mq.x, mq.y, mq.z);\n}\n\nvoid main() {\n vec3 a = texture2D(acceleration, uvVelocity).xyz;\n vec3 v = texture2D(velocity, uvVelocity).xyz;\n float alpha = texture2D(velocity, uvVelocity).w;\n\n // for scale.\n mat4 scaleMat = calcScaleMat4(vec3(1.0, length(a) * 3.0 + 0.1, 1.0));\n vec3 scaledPosition = (scaleMat * vec4(position, 1.0)).xyz;\n\n // for rotation.\n vec3 top = vec3(0.0, 1.0, 0.0);\n vec3 dir = normalize(a);\n vec3 axis = cross(top, dir);\n float angle = acos(dot(top, dir));\n Quaternion q = axisAngle(axis, angle);\n vec3 rotatedPosition = rotate(scaledPosition, q);\n \n vec4 mvPosition = modelViewMatrix * calcTranslateMat4(v) * vec4(rotatedPosition, 1.0);\n\n // Define the point size.\n float distanceFromCamera = length(mvPosition.xyz);\n\n vColor = convertHsvToRgb(\n vec3(\n degrees(angle) / 180.0,\n 0.45,\n 0.8\n )\n );\n vOpacity = alpha;\n\n gl_Position = projectionMatrix * mvPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nvarying vec3 vColor;\nvarying float vOpacity;\n\nvoid main() {\n if (vOpacity <= 0.01) discard;\n\n gl_FragColor = vec4(vColor, vOpacity);\n}\n",transparent:!0});return(e=a.call(this,t,i,3e4)).name="Mover",e.frustumCulled=!1,e.physicsRenderer,e.multiTime=new r.Vector2(2*Math.random()-1,2*Math.random()-1),e}return t=s,(n=[{key:"start",value:function(e,t){for(var n=this.material.uniforms,r=[],i=[],o=[],a=[],s=[],c=[],u=0;u<3*this.count;u+=3){var l=d().radians(360*Math.random()),f=d().radians(360*Math.random()),h=d().spherical(l,f,5);r[u+0]=.02*h[0],r[u+1]=.02*h[1],r[u+2]=.02*h[2],i[u+0]=h[0],i[u+1]=h[1],i[u+2]=h[2],o[u+0]=.3*r[u+0],o[u+1]=.3*r[u+1],o[u+2]=.3*r[u+2],a[u+0]=i[u+0],a[u+1]=i[u+1],a[u+2]=i[u+2],s[u+0]=0,s[u+1]=0,s[u+2]=0,c[u+0]=Math.random(),c[u+1]=0,c[u+2]=0}this.physicsRenderer=new x("#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n vUv = uv;\n gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n}\n","precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform sampler2D velocity;\nuniform sampler2D acceleration;\nuniform sampler2D accelerationFirst;\nuniform sampler2D noiseTex;\nuniform sampler2D delay;\nuniform sampler2D mass;\nuniform vec2 multiTime;\n\nvarying vec2 vUv;\n\n#ifndef PRECISION\n#define PRECISION 0.000001\n#endif\n\nvec3 drag(vec3 a, float value) {\n return normalize(a * -1.0 + PRECISION) * length(a) * value;\n}\n\nvoid main(void) {\n vec3 v = texture2D(velocity, vUv).xyz;\n vec3 a = texture2D(acceleration, vUv).xyz;\n vec3 af = texture2D(accelerationFirst, vUv).xyz;\n float dl = texture2D(delay, vUv).x;\n float mass = texture2D(mass, vUv).x;\n vec3 d = drag(a, 0.012 + mass * 0.004);\n\n float texColorR = texture2D(noiseTex, (v.yz + vec2(v.x, 0.0) + time * multiTime * 12.0) * 0.006).r;\n float texColorG = texture2D(noiseTex, (v.zx + vec2(v.y, 0.0) + time * multiTime * 12.0) * 0.006).g;\n float texColorB = texture2D(noiseTex, (v.xy + vec2(v.z, 0.0) + time * multiTime * 12.0) * 0.006).b;\n vec3 noise = vec3(\n texColorR * 2.0 - 1.0,\n texColorG * 2.0 - 1.0,\n texColorB * 2.0 - 1.0\n );\n vec3 f = noise * 0.014 * step(dl, time);\n\n float init = step(100.0, length(v));\n vec3 f2 = (f + a + d + af * 0.003) * (1.0 - init) + af * init;\n\n gl_FragColor = vec4(f2, 1.0);\n}\n","#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n vUv = uv;\n gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n}\n","precision highp float;\n#define GLSLIFY 1\n\nuniform sampler2D acceleration;\nuniform sampler2D velocity;\nuniform sampler2D velocityFirst;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n vec3 a = texture2D(acceleration, vUv).xyz;\n vec3 v = texture2D(velocity, vUv).xyz;\n vec3 vf = texture2D(velocityFirst, vUv).xyz;\n\n float init = step(100.0, length(v));\n v = (a + v) * (1.0 - init) + vf * init;\n\n gl_FragColor = vec4(v, (1.0 - init));\n}\n"),this.physicsRenderer.start(e,r,i),this.physicsRenderer.mergeAUniforms({noiseTex:{value:t},accelerationFirst:{value:this.physicsRenderer.createDataTexture(o)},delay:{value:this.physicsRenderer.createDataTexture(s)},mass:{value:this.physicsRenderer.createDataTexture(c)},multiTime:{value:this.multiTime}}),this.physicsRenderer.mergeVUniforms({velocityFirst:{value:this.physicsRenderer.createDataTexture(a)}}),n.acceleration.value=this.physicsRenderer.getCurrentAcceleration(),n.velocity.value=this.physicsRenderer.getCurrentVelocity(),this.geometry.setAttribute("uvVelocity",this.physicsRenderer.getBufferAttributeUv({instanced:!0}))}},{key:"update",value:function(e,t){var n=this.material.uniforms;this.physicsRenderer.update(e,t),n.acceleration.value=this.physicsRenderer.getCurrentAcceleration(),n.velocity.value=this.physicsRenderer.getCurrentVelocity(),n.time.value+=t}}])&&w(t.prototype,n),s}(r.InstancedMesh);function R(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var z=new r.Scene,L=new h,C=new r.Clock({autoStart:!1}),A=new T,O=new r.TextureLoader,D=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i,o;return t=e,(n=[{key:"start",value:(i=regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(P=new r.WebGLRenderer({alpha:!0,antialias:!0,canvas:t})).setPixelRatio(window.devicePixelRatio),P.setClearColor(921102,1),new a.z(L,P.domElement),e.next=6,Promise.all([O.loadAsync("/sketch-threejs/img/sketch/flow_field/noise.jpg")]).then((function(e){var t=e[0];t.wrapS=r.RepeatWrapping,t.wrapT=r.RepeatWrapping,t.format=r.RGBFormat,t.type=r.FloatType,t.minFilter=r.NearestFilter,t.magFilter=r.NearestFilter,A.start(P,t)}));case 6:z.add(A),L.start();case 8:case"end":return e.stop()}}),e)})),o=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){R(o,n,r,a,s,"next",e)}function s(e){R(o,n,r,a,s,"throw",e)}a(void 0)}))},function(e){return o.apply(this,arguments)})},{key:"play",value:function(){C.start(),this.update()}},{key:"pause",value:function(){C.stop()}},{key:"update",value:function(){if(!1!==C.running){var e=C.getDelta();L.update(e),A.update(P,e),P.setRenderTarget(null),P.render(z,L)}}},{key:"resize",value:function(e){L.resize(e),P.setSize(e.x,e.y)}}])&&E(t.prototype,n),e}();function I(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function k(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){I(o,r,i,a,s,"next",e)}function s(e){I(o,r,i,a,s,"throw",e)}a(void 0)}))}}function F(){return j.apply(this,arguments)}function j(){return(j=k(regeneratorRuntime.mark((function e(){var t,n,i,a,s,c,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=new D,n=new r.Vector2,i=document.getElementById("canvas-webgl"),a=document.querySelector(".p-preloader"),s=function(){n.set(document.body.clientWidth,window.innerHeight),i.width=n.x,i.height=n.y,t.resize(n)},c=function(){window.addEventListener("blur",(function(){t.pause()})),window.addEventListener("focus",(function(){t.play()})),window.addEventListener("resize",o()(s,100))},u=function e(){t.update(),requestAnimationFrame(e)},e.next=9,t.start(i);case 9:c(),s(),a.classList.add("is-hidden"),t.play(),u();case 14:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},76837:function(e,t,n){"use strict";n.d(t,{Z:function(){return F}});var r=n(2212),i=n(38314),o=n.n(i),a=n(52886);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=f(i);if(o){var n=f(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return l(this,e)});function s(e,t,n,i){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(o=a.call(this,e,t,n,i)).cameraResolution=new r.Vector2,o.time=0,o}return t=s,(n=[{key:"start",value:function(){this.far=1e3,this.setFocalLength(50),this.position.set(80,0,0),this.lookAt(new r.Vector3)}},{key:"update",value:function(e){this.time+=e}},{key:"resize",value:function(e){this.aspect=e.x/e.y,this.updateProjectionMatrix()}}])&&c(t.prototype,n),s}(r.PerspectiveCamera),v=n(17393),d=n.n(v),p="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n vUv = uv;\n gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n}\n",m="precision highp float;\n#define GLSLIFY 1\n\nuniform sampler2D initData;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n gl_FragColor = texture2D(initData, vUv);\n}\n";function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var g=function(e,t,n){return new r.Mesh(new r.PlaneGeometry(2,2),new r.RawShaderMaterial({uniforms:e,vertexShader:t,fragmentShader:n}))},x=function(){function e(t,n,i,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var a={type:/(iPad|iPhone|iPod)/g.test(navigator.userAgent)?r.HalfFloatType:r.FloatType,minFilter:r.NearestFilter,magFilter:r.NearestFilter};this.side=0,this.aScene=new r.Scene,this.vScene=new r.Scene,this.camera=new r.OrthographicCamera,this.acceleration=[new r.WebGLRenderTarget(0,0,a),new r.WebGLRenderTarget(0,0,a)],this.velocity=[new r.WebGLRenderTarget(0,0,a),new r.WebGLRenderTarget(0,0,a)],this.aUniforms={velocity:{value:null},acceleration:{value:null},time:{value:0}},this.vUniforms={side:{value:0},velocity:{value:null},acceleration:{value:null},time:{value:0}},this.aMesh=g(this.aUniforms,t,n),this.vMesh=g(this.vUniforms,i,o),this.uvs=[],this.targetIndex=0}var t,n;return t=e,(n=[{key:"start",value:function(e,t,n,i,o){this.side=this.vUniforms.side.value=Math.ceil(Math.sqrt(n.length/3)),this.camera.top=.5*this.side,this.camera.bottom=-.5*this.side,this.camera.right=.5*this.side,this.camera.left=-.5*this.side,this.camera.position.z=10;for(var a=[],s=[],c=0;c<3*Math.pow(this.side,2);c+=3)t&&null!=t[c]?(a[c+0]=t[c+0],a[c+1]=t[c+1],a[c+2]=t[c+2]):(a[c+0]=0,a[c+1]=0,a[c+2]=0),n&&null!=n[c]?(s[c+0]=n[c+0],s[c+1]=n[c+1],s[c+2]=n[c+2]):(s[c+0]=0,s[c+1]=0,s[c+2]=0),this.uvs[c/3*2+0]=c/3%this.side/(this.side-1),this.uvs[c/3*2+1]=Math.floor(c/3/this.side)/(this.side-1);if(i){var u=Object.keys(i);if(u.length)for(var l=0;l<u.length;l++){for(var f=i[u[l]],h=f.array.length;h<s.length/3*f.itemSize;h++)f.array.push(0);this.aMesh.geometry.setAttribute(u[l],new r.BufferAttribute(new Float32Array(f.array),f.itemSize))}}if(o){var v=Object.keys(o);if(v.length)for(var d=0;d<v.length;d++){for(var y=o[v[d]],g=y.array.length;g<s.length/3*y.itemSize;g++)y.array.push(0);this.vMesh.geometry.setAttribute(v[d],new r.BufferAttribute(new Float32Array(y.array),y.itemSize))}}for(var x=0;x<2;x++)this.acceleration[x].setSize(this.side,this.side),this.velocity[x].setSize(this.side,this.side);var b=new r.DataTexture(new Float32Array(a),this.side,this.side,r.RGBFormat,r.FloatType);b.format=r.RGBFormat,b.type=r.FloatType,b.magFilter=r.NearestFilter,b.minFilter=r.NearestFilter,b.needsUpdate=!0;var w=new r.Mesh(new r.PlaneGeometry(2,2),new r.RawShaderMaterial({uniforms:{initData:{value:b}},vertexShader:p,fragmentShader:m}));this.aScene.add(this.camera),this.aScene.add(w),e.setRenderTarget(this.acceleration[Math.abs(this.targetIndex-1)]),e.render(this.aScene,this.camera),this.aScene.remove(w),this.aScene.add(this.aMesh);var M=new r.DataTexture(new Float32Array(s),this.side,this.side);M.format=r.RGBFormat,M.type=r.FloatType,M.magFilter=r.NearestFilter,M.minFilter=r.NearestFilter,M.needsUpdate=!0;var _=new r.Mesh(new r.PlaneGeometry(2,2),new r.RawShaderMaterial({uniforms:{initData:{value:M}},vertexShader:p,fragmentShader:m}));this.vScene.add(this.camera),this.vScene.add(_),e.setRenderTarget(this.velocity[this.targetIndex]),e.render(this.vScene,this.camera),this.vScene.remove(_),this.vScene.add(this.vMesh)}},{key:"update",value:function(e,t){var n=Math.abs(this.targetIndex-1),r=this.targetIndex;this.aUniforms.acceleration.value=this.acceleration[n].texture,this.aUniforms.velocity.value=this.velocity[r].texture,e.setRenderTarget(this.acceleration[r]),e.render(this.aScene,this.camera),this.vUniforms.acceleration.value=this.acceleration[r].texture,this.vUniforms.velocity.value=this.velocity[r].texture,e.setRenderTarget(this.velocity[n]),e.render(this.vScene,this.camera),e.setRenderTarget(null),this.targetIndex=n,this.aUniforms.time.value+=t,this.vUniforms.time.value+=t}},{key:"getBufferAttributeUv",value:function(e){var t=e.instanced;return void 0!==t&&t?new r.InstancedBufferAttribute(new Float32Array(this.uvs),2):new r.BufferAttribute(new Float32Array(this.uvs),2)}},{key:"getCurrentVelocity",value:function(){return this.velocity[Math.abs(this.targetIndex-1)].texture}},{key:"getCurrentAcceleration",value:function(){return this.acceleration[Math.abs(this.targetIndex-1)].texture}},{key:"mergeAUniforms",value:function(e){this.aUniforms=Object.assign(this.aUniforms,e)}},{key:"mergeVUniforms",value:function(e){this.vUniforms=Object.assign(this.vUniforms,e)}},{key:"createDataTexture",value:function(e){for(var t=[],n=0;n<3*Math.pow(this.side,2);n+=3)null!=e[n]?(t[n+0]=e[n+0],t[n+1]=e[n+1],t[n+2]=e[n+2]):(t[n+0]=0,t[n+1]=0,t[n+2]=0);return new r.DataTexture(new Float32Array(t),this.side,this.side,r.RGBFormat,r.FloatType)}}])&&y(t.prototype,n),e}();function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function M(e,t){return(M=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(e,t){return!t||"object"!==b(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var P,T=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&M(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=S(i);if(o){var n=S(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return _(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.InstancedBufferGeometry,n=new r.BoxGeometry(.25,.5,.25,1,10,1);t.copy(n);var i=new r.RawShaderMaterial({uniforms:{acceleration:{value:null},velocity:{value:null},time:{value:0}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\nattribute vec2 uvVelocity;\n\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\nuniform float time;\nuniform sampler2D acceleration;\nuniform sampler2D velocity;\nuniform sampler2D velocity1;\nuniform sampler2D velocity2;\nuniform sampler2D velocity3;\nuniform sampler2D velocity4;\nuniform sampler2D velocity5;\nuniform sampler2D velocity6;\nuniform sampler2D velocity7;\nuniform sampler2D velocity8;\nuniform sampler2D velocity9;\n\nvarying vec3 vColor;\nvarying float vOpacity;\n\nmat4 calcTranslateMat4(vec3 v) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, 1.0, 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n v.x, v.y, v.z, 1.0\n );\n}\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nstruct Quaternion {\n float x;\n float y;\n float z;\n float w;\n};\n\n// https://qiita.com/aa_debdeb/items/c34a3088b2d8d3731813\nQuaternion axisAngle(vec3 axis, float radian) {\n vec3 naxis = normalize(axis);\n float h = 0.5 * radian;\n float s = sin(h);\n return Quaternion(naxis.x * s, naxis.y * s, naxis.z * s, cos(h));\n}\n\nQuaternion conjugate(Quaternion q) {\n return Quaternion(-q.x, -q.y, -q.z, q.w);\n}\n\nQuaternion mul(Quaternion q, float f) {\n return Quaternion(f * q.x, f * q.y, f * q.z, f * q.w);\n}\n\nQuaternion mul(Quaternion q1, Quaternion q2) {\n return Quaternion(\n q2.w * q1.x - q2.z * q1.y + q2.y * q1.z + q2.x * q1.w,\n q2.z * q1.x + q2.w * q1.y - q2.x * q1.z + q2.y * q1.w,\n -q2.y * q1.x + q2.x * q1.y + q2.w * q1.z + q2.z * q1.w,\n -q2.x * q1.x - q2.y * q1.y - q2.z * q1.z + q2.w * q1.w\n );\n}\n\nvec3 rotate(vec3 v, Quaternion q) {\n // norm of q must be 1.\n Quaternion vq = Quaternion(v.x, v.y, v.z, 0.0);\n Quaternion cq = conjugate(q);\n Quaternion mq = mul(mul(cq, vq), q);\n return vec3(mq.x, mq.y, mq.z);\n}\n\nvoid main() {\n float y = position.y + 0.5;\n vec3 a = texture2D(acceleration, uvVelocity).xyz;\n vec3 v0 = texture2D(velocity, uvVelocity).xyz;\n vec3 v1 = texture2D(velocity1, uvVelocity).xyz;\n vec3 v2 = texture2D(velocity2, uvVelocity).xyz;\n vec3 v3 = texture2D(velocity3, uvVelocity).xyz;\n vec3 v4 = texture2D(velocity4, uvVelocity).xyz;\n vec3 v5 = texture2D(velocity5, uvVelocity).xyz;\n vec3 v6 = texture2D(velocity6, uvVelocity).xyz;\n vec3 v7 = texture2D(velocity7, uvVelocity).xyz;\n vec3 v8 = texture2D(velocity8, uvVelocity).xyz;\n vec3 v9 = texture2D(velocity9, uvVelocity).xyz;\n vec3 v =\n v0 * step(0.0, y) * (1.0 - step(1.0 / 10.0, y)) +\n v1 * step(1.0 / 10.0, y) * (1.0 - step(2.0 / 10.0, y)) +\n v2 * step(2.0 / 10.0, y) * (1.0 - step(3.0 / 10.0, y)) +\n v3 * step(3.0 / 10.0, y) * (1.0 - step(4.0 / 10.0, y)) +\n v4 * step(4.0 / 10.0, y) * (1.0 - step(5.0 / 10.0, y)) +\n v5 * step(5.0 / 10.0, y) * (1.0 - step(6.0 / 10.0, y)) +\n v6 * step(6.0 / 10.0, y) * (1.0 - step(7.0 / 10.0, y)) +\n v7 * step(7.0 / 10.0, y) * (1.0 - step(8.0 / 10.0, y)) +\n v8 * step(8.0 / 10.0, y) * (1.0 - step(9.0 / 10.0, y)) +\n v9 * step(9.0 / 10.0, y);\n vec3 pv =\n (v + a) * (1.0 - step(1.0 / 10.0, y)) +\n v0 * step(1.0 / 10.0, y) * (1.0 - step(2.0 / 10.0, y)) +\n v1 * step(2.0 / 10.0, y) * (1.0 - step(3.0 / 10.0, y)) +\n v2 * step(3.0 / 10.0, y) * (1.0 - step(4.0 / 10.0, y)) +\n v3 * step(4.0 / 10.0, y) * (1.0 - step(5.0 / 10.0, y)) +\n v4 * step(5.0 / 10.0, y) * (1.0 - step(6.0 / 10.0, y)) +\n v5 * step(6.0 / 10.0, y) * (1.0 - step(7.0 / 10.0, y)) +\n v6 * step(7.0 / 10.0, y) * (1.0 - step(8.0 / 10.0, y)) +\n v7 * step(8.0 / 10.0, y) * (1.0 - step(9.0 / 10.0, y)) +\n v8 * step(9.0 / 10.0, y);\n float alpha = texture2D(velocity, uvVelocity).w;\n\n // for rotation.\n vec3 top = vec3(0.0, 1.0, 0.0);\n vec3 dir = normalize(pv - v);\n vec3 axis = cross(top, dir);\n float angle = acos(dot(top, dir));\n Quaternion q = axisAngle(axis, angle);\n vec3 rotatedPosition = rotate(position, q);\n \n vec4 mvPosition = modelViewMatrix * calcTranslateMat4(v) * vec4(rotatedPosition, 1.0);\n\n // Define the point size.\n float distanceFromCamera = length(mvPosition.xyz);\n\n vColor = convertHsvToRgb(\n vec3(\n degrees(angle) / 180.0,\n 0.45,\n 0.8\n )\n );\n vOpacity = alpha;\n\n gl_Position = projectionMatrix * mvPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nvarying vec3 vColor;\nvarying float vOpacity;\n\nvoid main() {\n if (vOpacity <= 0.01) discard;\n\n gl_FragColor = vec4(vColor, vOpacity);\n}\n"});return(e=a.call(this,t,i,5e3)).name="Mover",e.frustumCulled=!1,e.physicsRenderers=[],e.multiTime=new r.Vector2(2*Math.random()-1,2*Math.random()-1),e}return t=s,(n=[{key:"start",value:function(e,t){for(var n=this.material.uniforms,r=[],i=[],o=[],a=[],s=[],c=0;c<3*this.count;c+=3){var u=d().radians(360*Math.random()),l=d().radians(360*Math.random()),f=d().spherical(u,l,5);r[c+0]=.02*f[0],r[c+1]=.02*f[1],r[c+2]=.02*f[2],i[c+0]=f[0],i[c+1]=f[1],i[c+2]=f[2],o[c+0]=.3*r[c+0],o[c+1]=.3*r[c+1],o[c+2]=.3*r[c+2],a[c+0]=i[c+0],a[c+1]=i[c+1],a[c+2]=i[c+2],s[c+0]=Math.random(),s[c+1]=0,s[c+2]=0}for(var h=0;h<10;h++)0===h?(this.physicsRenderers[h]=new x("#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n vUv = uv;\n gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n}\n","precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform sampler2D velocity;\nuniform sampler2D acceleration;\nuniform sampler2D accelerationFirst;\nuniform sampler2D noiseTex;\nuniform sampler2D mass;\nuniform vec2 multiTime;\n\nvarying vec2 vUv;\n\n#ifndef PRECISION\n#define PRECISION 0.000001\n#endif\n\nvec3 drag(vec3 a, float value) {\n return normalize(a * -1.0 + PRECISION) * length(a) * value;\n}\n\nvoid main(void) {\n vec3 v = texture2D(velocity, vUv).xyz;\n vec3 a = texture2D(acceleration, vUv).xyz;\n vec3 af = texture2D(accelerationFirst, vUv).xyz;\n float mass = texture2D(mass, vUv).x;\n vec3 d = drag(a, 0.012 + mass * 0.004);\n\n float texColorR = texture2D(noiseTex, (v.yz + vec2(v.x, 0.0) + time * multiTime * 6.0) * 0.0045).r;\n float texColorG = texture2D(noiseTex, (v.zx + vec2(v.y, 0.0) + time * multiTime * 6.0) * 0.0045).g;\n float texColorB = texture2D(noiseTex, (v.xy + vec2(v.z, 0.0) + time * multiTime * 6.0) * 0.0045).b;\n vec3 noise = vec3(\n texColorR * 2.0 - 1.0,\n texColorG * 2.0 - 1.0,\n texColorB * 2.0 - 1.0\n );\n vec3 f = noise * 0.016;\n\n float init = step(200.0, length(v));\n vec3 f2 = (f + a + d + af * 0.003) * (1.0 - init) + af * init;\n\n gl_FragColor = vec4(f2, 1.0);\n}\n","#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n vUv = uv;\n gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n}\n","precision highp float;\n#define GLSLIFY 1\n\nuniform sampler2D acceleration;\nuniform sampler2D velocity;\nuniform sampler2D velocityFirst;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n vec3 a = texture2D(acceleration, vUv).xyz;\n vec3 v = texture2D(velocity, vUv).xyz;\n vec3 vf = texture2D(velocityFirst, vUv).xyz;\n\n float init = step(200.0, length(v));\n v = (a + v) * (1.0 - init) + vf * init;\n\n gl_FragColor = vec4(v, (1.0 - init));\n}\n"),this.physicsRenderers[h].start(e,r,i),this.physicsRenderers[h].mergeAUniforms({noiseTex:{value:t},accelerationFirst:{value:this.physicsRenderers[h].createDataTexture(o)},mass:{value:this.physicsRenderers[h].createDataTexture(s)},multiTime:{value:this.multiTime}}),this.physicsRenderers[h].mergeVUniforms({velocityFirst:{value:this.physicsRenderers[h].createDataTexture(a)}})):(this.physicsRenderers[h]=new x("#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n vUv = uv;\n gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n}\n","precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform sampler2D prevVelocity;\nuniform sampler2D headVelocity;\nuniform sampler2D velocity;\nuniform sampler2D acceleration;\nuniform sampler2D noiseTex;\nuniform sampler2D delay;\nuniform sampler2D mass;\n\nvarying vec2 vUv;\n\n#ifndef PRECISION\n#define PRECISION 0.000001\n#endif\n\nvec3 drag(vec3 a, float value) {\n return normalize(a * -1.0 + PRECISION) * length(a) * value;\n}\n\n#ifndef PRECISION\n#define PRECISION 0.000001\n#endif\n\nvec3 hook(vec3 velocity, vec3 anchor, float restLength, float k) {\n return normalize(velocity - anchor + PRECISION) * (-1.0 * k * (length(velocity - anchor) - restLength));\n}\n\nvoid main(void) {\n vec3 pv = texture2D(prevVelocity, vUv).xyz;\n vec3 hv = texture2D(headVelocity, vUv).xyz;\n vec3 v = texture2D(velocity, vUv).xyz;\n vec3 a = texture2D(acceleration, vUv).xyz;\n float mass = texture2D(mass, vUv).x;\n vec3 d = drag(a, 0.6);\n vec3 h = hook(v, pv, 0.8, 0.12);\n\n float init = step(200.0, length(hv));\n vec3 f = (a + d + h) * (1.0 - init) + vec3(0.0) * init;\n\n gl_FragColor = vec4(f, 1.0);\n}\n","#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n vUv = uv;\n gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n}\n","precision highp float;\n#define GLSLIFY 1\n\nuniform sampler2D acceleration;\nuniform sampler2D velocity;\nuniform sampler2D velocityFirst;\nuniform sampler2D headVelocity;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n vec3 a = texture2D(acceleration, vUv).xyz;\n vec3 v = texture2D(velocity, vUv).xyz;\n vec3 vf = texture2D(velocityFirst, vUv).xyz;\n vec3 hv = texture2D(headVelocity, vUv).xyz;\n\n float init = step(200.0, length(hv));\n v = (a + v) * (1.0 - init) + vf * init;\n\n gl_FragColor = vec4(v, 1.0);\n}\n"),this.physicsRenderers[h].start(e,null,i),this.physicsRenderers[h].mergeAUniforms({mass:{value:this.physicsRenderers[h].createDataTexture(s)},prevVelocity:{value:this.physicsRenderers[h-1].getCurrentVelocity()},headVelocity:{value:this.physicsRenderers[0].getCurrentVelocity()}}),this.physicsRenderers[h].mergeVUniforms({velocityFirst:{value:this.physicsRenderers[h].createDataTexture(a)},headVelocity:{value:this.physicsRenderers[0].getCurrentVelocity()}}),n["velocity".concat(h)]={value:this.physicsRenderers[h].getCurrentVelocity()});n.acceleration.value=this.physicsRenderers[0].getCurrentAcceleration(),n.velocity.value=this.physicsRenderers[0].getCurrentVelocity(),this.geometry.setAttribute("uvVelocity",this.physicsRenderers[0].getBufferAttributeUv({instanced:!0}))}},{key:"update",value:function(e,t){for(var n=this.material.uniforms,r=0;r<this.physicsRenderers.length;r++){var i=this.physicsRenderers[r];0!==r&&(i.aUniforms.prevVelocity.value=this.physicsRenderers[r-1].getCurrentVelocity(),i.aUniforms.headVelocity.value=this.physicsRenderers[0].getCurrentVelocity(),i.vUniforms.headVelocity.value=this.physicsRenderers[0].getCurrentVelocity()),i.update(e,t),0===r?(n.acceleration.value=i.getCurrentAcceleration(),n.velocity.value=i.getCurrentVelocity()):n["velocity".concat(r)].value=i.getCurrentVelocity()}n.time.value+=t}}])&&w(t.prototype,n),s}(r.InstancedMesh);function R(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var z=new r.Scene,L=new h,C=new r.Clock({autoStart:!1}),A=new T,O=new r.TextureLoader,D=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i,o;return t=e,(n=[{key:"start",value:(i=regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(P=new r.WebGLRenderer({alpha:!0,antialias:!0,canvas:t})).setPixelRatio(window.devicePixelRatio),P.setClearColor(921102,1),new a.z(L,P.domElement),e.next=6,Promise.all([O.loadAsync("/sketch-threejs/img/sketch/flow_field/noise.jpg")]).then((function(e){var t=e[0];t.wrapS=r.RepeatWrapping,t.wrapT=r.RepeatWrapping,t.format=r.RGBFormat,t.type=r.FloatType,t.minFilter=r.NearestFilter,t.magFilter=r.NearestFilter,A.start(P,t)}));case 6:z.add(A),L.start();case 8:case"end":return e.stop()}}),e)})),o=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){R(o,n,r,a,s,"next",e)}function s(e){R(o,n,r,a,s,"throw",e)}a(void 0)}))},function(e){return o.apply(this,arguments)})},{key:"play",value:function(){C.start(),this.update()}},{key:"pause",value:function(){C.stop()}},{key:"update",value:function(){if(!1!==C.running){var e=C.getDelta();L.update(e),A.update(P,e),P.setRenderTarget(null),P.render(z,L)}}},{key:"resize",value:function(e){L.resize(e),P.setSize(e.x,e.y)}}])&&E(t.prototype,n),e}();function I(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function k(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){I(o,r,i,a,s,"next",e)}function s(e){I(o,r,i,a,s,"throw",e)}a(void 0)}))}}function F(){return j.apply(this,arguments)}function j(){return(j=k(regeneratorRuntime.mark((function e(){var t,n,i,a,s,c,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=new D,n=new r.Vector2,i=document.getElementById("canvas-webgl"),a=document.querySelector(".p-preloader"),s=function(){n.set(document.body.clientWidth,window.innerHeight),i.width=n.x,i.height=n.y,t.resize(n)},c=function(){window.addEventListener("blur",(function(){t.pause()})),window.addEventListener("focus",(function(){t.play()})),window.addEventListener("resize",o()(s,100))},u=function e(){t.update(),requestAnimationFrame(e)},e.next=9,t.start(i);case 9:c(),s(),a.classList.add("is-hidden"),t.play(),u();case 14:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},87389:function(e,t,n){"use strict";n.d(t,{Z:function(){return X}});var r=n(2212),i=n(38314),o=n.n(i),a=n(52886);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=f(i);if(o){var n=f(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return l(this,e)});function s(e,t,n,i){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(o=a.call(this,e,t,n,i)).cameraResolution=new r.Vector2,o.time=0,o}return t=s,(n=[{key:"start",value:function(){this.far=5e3,this.setFocalLength(35),this.position.set(80,0,0),this.lookAt(new r.Vector3)}},{key:"update",value:function(e){this.time+=e}},{key:"resize",value:function(e){this.aspect=e.x/e.y,this.updateProjectionMatrix()}}])&&c(t.prototype,n),s}(r.PerspectiveCamera),v=n(17393),d=n.n(v);function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=x(i);if(o){var n=x(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return g(this,e)});function s(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var n=new r.InstancedBufferGeometry,i=new r.PlaneGeometry(8,8);n.copy(i);var o=new r.RawShaderMaterial({uniforms:{time:{value:0},acceleration:{value:null},velocity:{value:null}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\nattribute vec2 uvVelocity;\n\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\nuniform vec3 cameraPosition;\nuniform float time;\nuniform vec2 resolution;\nuniform float pixelRatio;\nuniform sampler2D acceleration;\nuniform sampler2D velocity;\n\nvarying vec2 vUv;\nvarying vec3 vColor;\nvarying float vOpacity;\n\nmat4 calcTranslateMat4(vec3 v) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, 1.0, 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n v.x, v.y, v.z, 1.0\n );\n}\n\nmat4 calcScaleMat4(vec3 scale) {\n return mat4(\n scale.x, 0.0, 0.0, 0.0,\n 0.0, scale.y, 0.0, 0.0,\n 0.0, 0.0, scale.z, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nstruct Quaternion {\n float x;\n float y;\n float z;\n float w;\n};\n\n// https://qiita.com/aa_debdeb/items/c34a3088b2d8d3731813\nQuaternion axisAngle(vec3 axis, float radian) {\n vec3 naxis = normalize(axis);\n float h = 0.5 * radian;\n float s = sin(h);\n return Quaternion(naxis.x * s, naxis.y * s, naxis.z * s, cos(h));\n}\n\nQuaternion conjugate(Quaternion q) {\n return Quaternion(-q.x, -q.y, -q.z, q.w);\n}\n\nQuaternion mul(Quaternion q, float f) {\n return Quaternion(f * q.x, f * q.y, f * q.z, f * q.w);\n}\n\nQuaternion mul(Quaternion q1, Quaternion q2) {\n return Quaternion(\n q2.w * q1.x - q2.z * q1.y + q2.y * q1.z + q2.x * q1.w,\n q2.z * q1.x + q2.w * q1.y - q2.x * q1.z + q2.y * q1.w,\n -q2.y * q1.x + q2.x * q1.y + q2.w * q1.z + q2.z * q1.w,\n -q2.x * q1.x - q2.y * q1.y - q2.z * q1.z + q2.w * q1.w\n );\n}\n\nvec3 rotate(vec3 v, Quaternion q) {\n // norm of q must be 1.\n Quaternion vq = Quaternion(v.x, v.y, v.z, 0.0);\n Quaternion cq = conjugate(q);\n Quaternion mq = mul(mul(cq, vq), q);\n return vec3(mq.x, mq.y, mq.z);\n}\n\nvoid main() {\n vec3 a = texture2D(acceleration, uvVelocity).xyz;\n vec3 v = texture2D(velocity, uvVelocity).xyz;\n float alpha = texture2D(velocity, uvVelocity).w;\n\n // for rotation.\n vec3 top = vec3(0.0, 0.0, 1.0);\n vec3 dir = normalize(cameraPosition - v);\n vec3 axis = cross(top, dir);\n float angle = acos(dot(top, dir));\n Quaternion q = axisAngle(axis, angle);\n vec3 rotatedPosition = rotate(position, q);\n vec4 mvPosition = modelViewMatrix * calcTranslateMat4(v) * vec4(rotatedPosition, 1.0);\n\n vec3 top2 = vec3(0.0, 1.0, 0.0);\n vec3 dir2 = normalize(a);\n float angle2 = acos(dot(top2, dir2));\n\n vUv = uv;\n vColor = vec3(\n degrees(angle2) / 90.0,\n 0.55,\n 0.3\n );\n vOpacity = alpha;\n\n gl_Position = projectionMatrix * mvPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nvarying vec2 vUv;\nvarying vec3 vColor;\nvarying float vOpacity;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n vec2 p = vUv * 2.0 - 1.0;\n vec3 color = convertHsvToRgb(\n vColor +\n vec3(\n 0.0,\n (1.0 - smoothstep(0.2, 0.6, length(p))) * -0.5,\n (1.0 - smoothstep(0.2, 0.6, length(p))) * 0.4\n )\n );\n float opacity = (1.0 - smoothstep(0.6, 1.0, length(p))) * vOpacity;\n\n if (opacity <= 0.01) discard;\n\n gl_FragColor = vec4(color, opacity);\n}\n",transparent:!0,depthWrite:!1,blending:r.AdditiveBlending});return(t=a.call(this,n,o,e)).name="MoverCore",t.frustumCulled=!1,t.renderOrder=2,t}return t=s,(n=[{key:"start",value:function(e){var t=this.material.uniforms;t.acceleration.value=e.getCurrentAcceleration(),t.velocity.value=e.getCurrentVelocity(),this.geometry.setAttribute("uvVelocity",e.getBufferAttributeUv({instanced:!0}))}},{key:"update",value:function(e,t){var n=this.material.uniforms;n.acceleration.value=e.getCurrentAcceleration(),n.velocity.value=e.getCurrentVelocity(),n.time.value+=t}}])&&m(t.prototype,n),s}(r.InstancedMesh);function w(e){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function M(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e,t){return!t||"object"!==w(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function P(e){return(P=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var T=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=P(i);if(o){var n=P(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return S(this,e)});function s(e,t){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var i=new r.InstancedBufferGeometry,o=new r.CylinderGeometry(0,2.5,2,6,t,!0);i.copy(o);var c=new r.RawShaderMaterial({uniforms:{acceleration:{value:null},velocity:{value:null},time:{value:0}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\nattribute vec2 uvVelocity;\n\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\nuniform float time;\nuniform sampler2D acceleration;\nuniform sampler2D velocity;\nuniform sampler2D velocity1;\nuniform sampler2D velocity2;\nuniform sampler2D velocity3;\nuniform sampler2D velocity4;\nuniform sampler2D velocity5;\nuniform sampler2D velocity6;\nuniform sampler2D velocity7;\nuniform sampler2D velocity8;\nuniform sampler2D velocity9;\n\nvarying vec3 vColor;\nvarying float vOpacity;\n\nmat4 calcTranslateMat4(vec3 v) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, 1.0, 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n v.x, v.y, v.z, 1.0\n );\n}\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nstruct Quaternion {\n float x;\n float y;\n float z;\n float w;\n};\n\n// https://qiita.com/aa_debdeb/items/c34a3088b2d8d3731813\nQuaternion axisAngle(vec3 axis, float radian) {\n vec3 naxis = normalize(axis);\n float h = 0.5 * radian;\n float s = sin(h);\n return Quaternion(naxis.x * s, naxis.y * s, naxis.z * s, cos(h));\n}\n\nQuaternion conjugate(Quaternion q) {\n return Quaternion(-q.x, -q.y, -q.z, q.w);\n}\n\nQuaternion mul(Quaternion q, float f) {\n return Quaternion(f * q.x, f * q.y, f * q.z, f * q.w);\n}\n\nQuaternion mul(Quaternion q1, Quaternion q2) {\n return Quaternion(\n q2.w * q1.x - q2.z * q1.y + q2.y * q1.z + q2.x * q1.w,\n q2.z * q1.x + q2.w * q1.y - q2.x * q1.z + q2.y * q1.w,\n -q2.y * q1.x + q2.x * q1.y + q2.w * q1.z + q2.z * q1.w,\n -q2.x * q1.x - q2.y * q1.y - q2.z * q1.z + q2.w * q1.w\n );\n}\n\nvec3 rotate(vec3 v, Quaternion q) {\n // norm of q must be 1.\n Quaternion vq = Quaternion(v.x, v.y, v.z, 0.0);\n Quaternion cq = conjugate(q);\n Quaternion mq = mul(mul(cq, vq), q);\n return vec3(mq.x, mq.y, mq.z);\n}\n\nvoid main() {\n float y = uv.y;\n vec3 a = texture2D(acceleration, uvVelocity).xyz;\n vec3 v0 = texture2D(velocity, uvVelocity).xyz;\n vec3 v1 = texture2D(velocity1, uvVelocity).xyz;\n vec3 v2 = texture2D(velocity2, uvVelocity).xyz;\n vec3 v3 = texture2D(velocity3, uvVelocity).xyz;\n vec3 v4 = texture2D(velocity4, uvVelocity).xyz;\n vec3 v =\n v0 * (1.0 - step(1.0 / 5.0, y)) +\n v1 * step(1.0 / 5.0, y) * (1.0 - step(2.0 / 5.0, y)) +\n v2 * step(2.0 / 5.0, y) * (1.0 - step(3.0 / 5.0, y)) +\n v3 * step(3.0 / 5.0, y) * (1.0 - step(4.0 / 5.0, y)) +\n v4 * step(4.0 / 5.0, y);\n vec3 pv =\n (v + a) * (1.0 - step(1.0 / 5.0, y)) +\n v0 * step(1.0 / 5.0, y) * (1.0 - step(2.0 / 5.0, y)) +\n v1 * step(2.0 / 5.0, y) * (1.0 - step(3.0 / 5.0, y)) +\n v2 * step(3.0 / 5.0, y) * (1.0 - step(4.0 / 5.0, y)) +\n v3 * step(4.0 / 5.0, y);\n float alpha = 1.0 - smoothstep(450.0, 490.0, abs(v.x));\n\n // for rotation.\n vec3 top = vec3(0.0, 1.0, 0.0);\n vec3 dir = normalize(pv - v);\n vec3 axis = cross(top, dir);\n float angle = acos(dot(top, dir));\n Quaternion q = axisAngle(axis, angle);\n vec3 rotatedPosition = rotate(position, q);\n \n vec4 mvPosition = modelViewMatrix * calcTranslateMat4(v) * vec4(rotatedPosition, 1.0);\n\n // Define the point size.\n float distanceFromCamera = length(mvPosition.xyz);\n\n vColor = convertHsvToRgb(\n vec3(\n degrees(angle) / 90.0,\n 0.55,\n 0.3\n )\n );\n vOpacity = (1.0 - y) * alpha;\n\n gl_Position = projectionMatrix * mvPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nvarying vec3 vColor;\nvarying float vOpacity;\n\nvoid main() {\n if (vOpacity <= 0.01) discard;\n\n gl_FragColor = vec4(vColor, vOpacity);\n}\n",transparent:!0,depthWrite:!1,blending:r.AdditiveBlending,side:r.DoubleSide});return(n=a.call(this,i,c,e)).name="MoverTrail",n.frustumCulled=!1,n.multiTime=new r.Vector2(2*Math.random()-1,2*Math.random()-1),n}return t=s,(n=[{key:"start",value:function(e){for(var t=this.material.uniforms,n=0;n<e.length;n++)n>0&&(t["velocity".concat(n)]={value:e[n].getCurrentVelocity()});t.acceleration.value=e[0].getCurrentAcceleration(),t.velocity.value=e[0].getCurrentVelocity(),this.geometry.setAttribute("uvVelocity",e[0].getBufferAttributeUv({instanced:!0}))}},{key:"update",value:function(e,t){for(var n=this.material.uniforms,r=0;r<e.length;r++){var i=e[r];0===r?(n.acceleration.value=i.getCurrentAcceleration(),n.velocity.value=i.getCurrentVelocity()):n["velocity".concat(r)].value=i.getCurrentVelocity()}n.time.value+=t}}])&&M(t.prototype,n),s}(r.InstancedMesh),R="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n vUv = uv;\n gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n}\n",E="precision highp float;\n#define GLSLIFY 1\n\nuniform sampler2D initData;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n gl_FragColor = texture2D(initData, vUv);\n}\n";function z(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var L=function(e,t,n){return new r.Mesh(new r.PlaneGeometry(2,2),new r.RawShaderMaterial({uniforms:e,vertexShader:t,fragmentShader:n}))},C=function(){function e(t,n,i,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var a={type:/(iPad|iPhone|iPod)/g.test(navigator.userAgent)?r.HalfFloatType:r.FloatType,minFilter:r.NearestFilter,magFilter:r.NearestFilter};this.side=0,this.aScene=new r.Scene,this.vScene=new r.Scene,this.camera=new r.OrthographicCamera,this.acceleration=[new r.WebGLRenderTarget(0,0,a),new r.WebGLRenderTarget(0,0,a)],this.velocity=[new r.WebGLRenderTarget(0,0,a),new r.WebGLRenderTarget(0,0,a)],this.aUniforms={velocity:{value:null},acceleration:{value:null},time:{value:0}},this.vUniforms={side:{value:0},velocity:{value:null},acceleration:{value:null},time:{value:0}},this.aMesh=L(this.aUniforms,t,n),this.vMesh=L(this.vUniforms,i,o),this.uvs=[],this.targetIndex=0}var t,n;return t=e,(n=[{key:"start",value:function(e,t,n,i,o){this.side=this.vUniforms.side.value=Math.ceil(Math.sqrt(n.length/3)),this.camera.top=.5*this.side,this.camera.bottom=-.5*this.side,this.camera.right=.5*this.side,this.camera.left=-.5*this.side,this.camera.position.z=10;for(var a=[],s=[],c=0;c<3*Math.pow(this.side,2);c+=3)t&&null!=t[c]?(a[c+0]=t[c+0],a[c+1]=t[c+1],a[c+2]=t[c+2]):(a[c+0]=0,a[c+1]=0,a[c+2]=0),n&&null!=n[c]?(s[c+0]=n[c+0],s[c+1]=n[c+1],s[c+2]=n[c+2]):(s[c+0]=0,s[c+1]=0,s[c+2]=0),this.uvs[c/3*2+0]=c/3%this.side/(this.side-1),this.uvs[c/3*2+1]=Math.floor(c/3/this.side)/(this.side-1);if(i){var u=Object.keys(i);if(u.length)for(c=0;c<u.length;c++){for(var l=i[u[c]],f=l.array.length;f<s.length/3*l.itemSize;f++)l.array.push(0);this.aMesh.geometry.setAttribute(u[c],new r.BufferAttribute(new Float32Array(l.array),l.itemSize))}}if(o){var h=Object.keys(o);if(h.length)for(c=0;c<h.length;c++){var v=o[h[c]];for(f=v.array.length;f<s.length/3*v.itemSize;f++)v.array.push(0);this.vMesh.geometry.setAttribute(h[c],new r.BufferAttribute(new Float32Array(v.array),v.itemSize))}}for(c=0;c<2;c++)this.acceleration[c].setSize(this.side,this.side),this.velocity[c].setSize(this.side,this.side);var d=new r.DataTexture(new Float32Array(a),this.side,this.side,r.RGBFormat,r.FloatType);d.format=r.RGBFormat,d.type=r.FloatType,d.magFilter=r.NearestFilter,d.minFilter=r.NearestFilter,d.needsUpdate=!0;var p=new r.Mesh(new r.PlaneGeometry(2,2),new r.RawShaderMaterial({uniforms:{initData:{value:d}},vertexShader:R,fragmentShader:E}));this.aScene.add(this.camera),this.aScene.add(p),e.setRenderTarget(this.acceleration[Math.abs(this.targetIndex-1)]),e.render(this.aScene,this.camera),this.aScene.remove(p),this.aScene.add(this.aMesh);var m=new r.DataTexture(new Float32Array(s),this.side,this.side);m.format=r.RGBFormat,m.type=r.FloatType,m.magFilter=r.NearestFilter,m.minFilter=r.NearestFilter,m.needsUpdate=!0;var y=new r.Mesh(new r.PlaneGeometry(2,2),new r.RawShaderMaterial({uniforms:{initData:{value:m}},vertexShader:R,fragmentShader:E}));this.vScene.add(this.camera),this.vScene.add(y),e.setRenderTarget(this.velocity[this.targetIndex]),e.render(this.vScene,this.camera),this.vScene.remove(y),this.vScene.add(this.vMesh),e.setRenderTarget(null)}},{key:"update",value:function(e,t){var n=Math.abs(this.targetIndex-1),r=this.targetIndex;this.aUniforms.acceleration.value=this.acceleration[n].texture,this.aUniforms.velocity.value=this.velocity[r].texture,e.setRenderTarget(this.acceleration[r]),e.render(this.aScene,this.camera),this.vUniforms.acceleration.value=this.acceleration[r].texture,this.vUniforms.velocity.value=this.velocity[r].texture,e.setRenderTarget(this.velocity[n]),e.render(this.vScene,this.camera),this.targetIndex=n,this.aUniforms.time.value+=t,this.vUniforms.time.value+=t}},{key:"getBufferAttributeUv",value:function(e){var t=e.instanced;return void 0!==t&&t?new r.InstancedBufferAttribute(new Float32Array(this.uvs),2):new r.BufferAttribute(new Float32Array(this.uvs),2)}},{key:"getCurrentVelocity",value:function(){return this.velocity[Math.abs(this.targetIndex-1)].texture}},{key:"getCurrentAcceleration",value:function(){return this.acceleration[Math.abs(this.targetIndex-1)].texture}},{key:"mergeAUniforms",value:function(e){this.aUniforms=Object.assign(this.aUniforms,e)}},{key:"mergeVUniforms",value:function(e){this.vUniforms=Object.assign(this.vUniforms,e)}},{key:"createDataTexture",value:function(e){for(var t=[],n=0;n<3*Math.pow(this.side,2);n+=3)null!=e[n]?(t[n+0]=e[n+0],t[n+1]=e[n+1],t[n+2]=e[n+2]):(t[n+0]=0,t[n+1]=0,t[n+2]=0);return new r.DataTexture(new Float32Array(t),this.side,this.side,r.RGBFormat,r.FloatType)}}])&&z(t.prototype,n),e}();function A(e){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function I(e,t){return!t||"object"!==A(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var F,j=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=k(i);if(o){var n=k(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return I(this,e)});function s(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(e=a.call(this)).name="Mover",e.core=new b(5e3),e.trail=new T(5e3,5),e.physicsRenderers=[],e.multiTime=new r.Vector2(2*Math.random()-1,2*Math.random()-1),e}return t=s,(n=[{key:"start",value:function(e,t){for(var n=[],r=[],i=[],o=[],a=[],s=[],c=0;c<15e3;c+=3){var u=d().radians(360*Math.random());n[c+0]=3,n[c+1]=5*Math.cos(u),n[c+2]=5*Math.sin(u),r[c+0]=-499.99,r[c+1]=30*Math.cos(u),r[c+2]=30*Math.sin(u),i[c+0]=n[c+0],i[c+1]=n[c+1],i[c+2]=n[c+2],o[c+0]=r[c+0],o[c+1]=r[c+1],o[c+2]=r[c+2],a[c+0]=5*Math.random(),a[c+1]=0,a[c+2]=0,s[c+0]=Math.random(),s[c+1]=0,s[c+2]=0}for(var l=0;l<5;l++)0===l?(this.physicsRenderers[l]=new C("#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n vUv = uv;\n gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n}\n","precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform sampler2D velocity;\nuniform sampler2D acceleration;\nuniform sampler2D accelerationFirst;\nuniform sampler2D noiseTex;\nuniform sampler2D delay;\nuniform sampler2D mass;\nuniform vec2 multiTime;\n\nvarying vec2 vUv;\n\n#ifndef PRECISION\n#define PRECISION 0.000001\n#endif\n\nvec3 drag(vec3 a, float value) {\n return normalize(a * -1.0 + PRECISION) * length(a) * value;\n}\n\nvoid main(void) {\n vec3 v = texture2D(velocity, vUv).xyz;\n vec3 a = texture2D(acceleration, vUv).xyz;\n vec3 af = texture2D(accelerationFirst, vUv).xyz;\n float dl = texture2D(delay, vUv).x;\n float mass = texture2D(mass, vUv).x;\n vec3 d = drag(a, 0.032 + mass * 0.006);\n\n float texColorR = texture2D(noiseTex, (v.yz + vec2(sin(v.x * 0.1), 0.0) + time * multiTime * 12.0) * 0.002).r;\n float texColorG = texture2D(noiseTex, (v.zx + vec2(sin(v.y * 0.1), 0.0) + time * multiTime * 12.0) * 0.002).g;\n float texColorB = texture2D(noiseTex, (v.xy + vec2(sin(v.z * 0.1), 0.0) + time * multiTime * 12.0) * 0.002).b;\n vec3 noise = vec3(\n texColorR,\n texColorG * 2.0 - 1.0,\n texColorB * 2.0 - 1.0\n );\n vec3 f = noise * 0.2;\n\n float init = clamp(step(500.0, v.x), 0.0, 1.0);\n vec3 f2 = (a + (f + d) * step(dl, time)) * (1.0 - init) + af * init;\n\n gl_FragColor = vec4(f2, 1.0);\n}\n","#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n vUv = uv;\n gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n}\n","precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform sampler2D acceleration;\nuniform sampler2D velocity;\nuniform sampler2D velocityFirst;\nuniform sampler2D delay;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n vec3 a = texture2D(acceleration, vUv).xyz;\n vec3 v = texture2D(velocity, vUv).xyz;\n vec3 vf = texture2D(velocityFirst, vUv).xyz;\n float dl = texture2D(delay, vUv).x;\n\n float init = clamp(step(500.0, v.x), 0.0, 1.0);\n v = (a * step(dl, time) + v) * (1.0 - init) + vf * init;\n\n float alpha = 1.0 - smoothstep(450.0, 500.0, abs(v.x));\n\n gl_FragColor = vec4(v, alpha);\n}\n"),this.physicsRenderers[l].start(e,n,r),this.physicsRenderers[l].mergeAUniforms({noiseTex:{value:t},accelerationFirst:{value:this.physicsRenderers[l].createDataTexture(i)},delay:{value:this.physicsRenderers[l].createDataTexture(a)},mass:{value:this.physicsRenderers[l].createDataTexture(s)},multiTime:{value:this.multiTime}}),this.physicsRenderers[l].mergeVUniforms({delay:{value:this.physicsRenderers[l].createDataTexture(a)},velocityFirst:{value:this.physicsRenderers[l].createDataTexture(o)}})):(this.physicsRenderers[l]=new C("#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n vUv = uv;\n gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n}\n","precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform sampler2D prevVelocity;\nuniform sampler2D headVelocity;\nuniform sampler2D velocity;\nuniform sampler2D acceleration;\nuniform sampler2D noiseTex;\nuniform sampler2D delay;\nuniform sampler2D mass;\n\nvarying vec2 vUv;\n\n#ifndef PRECISION\n#define PRECISION 0.000001\n#endif\n\nvec3 drag(vec3 a, float value) {\n return normalize(a * -1.0 + PRECISION) * length(a) * value;\n}\n\n#ifndef PRECISION\n#define PRECISION 0.000001\n#endif\n\nvec3 hook(vec3 velocity, vec3 anchor, float restLength, float k) {\n return normalize(velocity - anchor + PRECISION) * (-1.0 * k * (length(velocity - anchor) - restLength));\n}\n\nvoid main(void) {\n vec3 pv = texture2D(prevVelocity, vUv).xyz;\n vec3 hv = texture2D(headVelocity, vUv).xyz;\n vec3 v = texture2D(velocity, vUv).xyz;\n vec3 a = texture2D(acceleration, vUv).xyz;\n float mass = texture2D(mass, vUv).x;\n vec3 d = drag(a, 0.28);\n vec3 h = hook(v, pv, 1.0, 0.12);\n\n float init = clamp(step(500.0, hv.x), 0.0, 1.0);\n vec3 f = (a + d + h) * (1.0 - init) + vec3(0.0) * init;\n\n gl_FragColor = vec4(f, 1.0);\n}\n","#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n vUv = uv;\n gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n}\n","precision highp float;\n#define GLSLIFY 1\n\nuniform sampler2D acceleration;\nuniform sampler2D velocity;\nuniform sampler2D velocityFirst;\nuniform sampler2D headVelocity;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n vec3 a = texture2D(acceleration, vUv).xyz;\n vec3 v = texture2D(velocity, vUv).xyz;\n vec3 vf = texture2D(velocityFirst, vUv).xyz;\n vec3 hv = texture2D(headVelocity, vUv).xyz;\n\n float init = clamp(step(500.0, hv.x), 0.0, 1.0);\n v = (a + v) * (1.0 - init) + vf * init;\n\n gl_FragColor = vec4(v, 1.0);\n}\n"),this.physicsRenderers[l].start(e,null,r),this.physicsRenderers[l].mergeAUniforms({mass:{value:this.physicsRenderers[l].createDataTexture(s)},prevVelocity:{value:this.physicsRenderers[l-1].getCurrentVelocity()},headVelocity:{value:this.physicsRenderers[0].getCurrentVelocity()}}),this.physicsRenderers[l].mergeVUniforms({velocityFirst:{value:this.physicsRenderers[l].createDataTexture(o)},headVelocity:{value:this.physicsRenderers[0].getCurrentVelocity()}}));this.core.start(this.physicsRenderers[0]),this.trail.start(this.physicsRenderers),this.add(this.core),this.add(this.trail)}},{key:"update",value:function(e,t){for(var n=0;n<this.physicsRenderers.length;n++){var r=this.physicsRenderers[n];0!==n&&(r.aUniforms.prevVelocity.value=this.physicsRenderers[n-1].getCurrentVelocity(),r.aUniforms.headVelocity.value=this.physicsRenderers[0].getCurrentVelocity(),r.vUniforms.headVelocity.value=this.physicsRenderers[0].getCurrentVelocity()),r.update(e,t)}this.core.update(this.physicsRenderers[0],t),this.trail.update(this.physicsRenderers,t)}}])&&O(t.prototype,n),s}(r.Group);function U(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function B(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var G=new r.Scene,N=new h,H=new r.Clock({autoStart:!1}),V=new j,W=new r.TextureLoader,Z=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i,o;return t=e,(n=[{key:"start",value:(i=regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(F=new r.WebGLRenderer({alpha:!0,antialias:!0,canvas:t})).setPixelRatio(window.devicePixelRatio),F.setClearColor(921102,1),new a.z(N,F.domElement),e.next=6,Promise.all([W.loadAsync("/sketch-threejs/img/sketch/flow_field/noise.jpg")]).then((function(e){var t=e[0];t.wrapS=r.RepeatWrapping,t.wrapT=r.RepeatWrapping,t.format=r.RGBFormat,t.type=r.FloatType,t.minFilter=r.NearestFilter,t.magFilter=r.NearestFilter,V.start(F,t)}));case 6:G.add(V),N.start();case 8:case"end":return e.stop()}}),e)})),o=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){U(o,n,r,a,s,"next",e)}function s(e){U(o,n,r,a,s,"throw",e)}a(void 0)}))},function(e){return o.apply(this,arguments)})},{key:"play",value:function(){H.start(),this.update()}},{key:"pause",value:function(){H.stop()}},{key:"update",value:function(){if(!1!==H.running){var e=H.getDelta();N.update(e),V.update(F,e),F.setRenderTarget(null),F.render(G,N)}}},{key:"resize",value:function(e){N.resize(e),F.setSize(e.x,e.y)}}])&&B(t.prototype,n),e}();function q(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function Y(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){q(o,r,i,a,s,"next",e)}function s(e){q(o,r,i,a,s,"throw",e)}a(void 0)}))}}function X(){return K.apply(this,arguments)}function K(){return(K=Y(regeneratorRuntime.mark((function e(){var t,n,i,a,s,c,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=new Z,n=new r.Vector2,i=document.getElementById("canvas-webgl"),a=document.querySelector(".p-preloader"),s=function(){n.set(document.body.clientWidth,window.innerHeight),i.width=n.x,i.height=n.y,t.resize(n)},c=function(){window.addEventListener("blur",(function(){t.pause()})),window.addEventListener("focus",(function(){t.play()})),window.addEventListener("resize",o()(s,100))},u=function e(){t.update(),requestAnimationFrame(e)},e.next=9,t.start(i);case 9:c(),s(),a.classList.add("is-hidden"),t.play(),u();case 14:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},53312:function(e,t,n){"use strict";n.d(t,{Z:function(){return le}});var r=n(2212),i=n(38314),o=n.n(i),a=n(17393),s=n.n(a);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=h(i);if(o){var n=h(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return f(this,e)});function s(e,t,n,i){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(o=a.call(this,e,t,n,i)).cameraResolution=new r.Vector2,o.time=0,o}return t=s,(n=[{key:"start",value:function(){this.far=5e3,this.setFocalLength(35),this.position.set(0,0,250),this.lookAt(new r.Vector3)}},{key:"update",value:function(e){this.time+=e}},{key:"resize",value:function(e){this.aspect=e.x/e.y,this.updateProjectionMatrix()}}])&&u(t.prototype,n),s}(r.PerspectiveCamera);function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=g(i);if(o){var n=g(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return y(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.OctahedronGeometry(30,6),n=new r.RawShaderMaterial({uniforms:{time:{value:0},noiseTex:{value:null}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec3 normal;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform vec3 cameraPosition;\n\nvarying vec2 vUv;\nvarying float vEdge;\n\nvoid main(void) {\n // coordinate transformation\n vec4 mPosition = modelMatrix * vec4(position, 1.0);\n\n float angleToCamera = acos(dot(normalize(cameraPosition), normal));\n\n vUv = uv;\n vEdge = smoothstep(0.4, 1.0, abs(sin(angleToCamera)));\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform sampler2D noiseTex;\n\nvarying vec2 vUv;\nvarying float vEdge;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n vec2 p = vUv * 2.0 - 1.0;\n\n float noise1 = texture2D(noiseTex, vUv + vec2(time * 0.1, 0.0)).r;\n float noise2 = texture2D(noiseTex, vUv + vec2(time * -0.1, 0.0)).g;\n vec3 hsv = vec3(\n (noise1 + noise2) * 0.35 + time * 0.1,\n 1.0 - vEdge,\n 0.02 + vEdge * 0.98\n );\n vec3 rgb = convertHsvToRgb(hsv);\n\n gl_FragColor = vec4(rgb, 1.0);\n}\n"});return(e=a.call(this,t,n)).name="Core",e.acceleration=new r.Vector3,e.anchor=new r.Vector3,e}return t=s,(n=[{key:"start",value:function(e){this.material.uniforms.noiseTex.value=e}},{key:"update",value:function(e,t){this.material.uniforms.time.value+=e,this.applyHook(0,.2),this.applyDrag(.6),this.position.add(this.acceleration),this.lookAt(t.position)}},{key:"applyDrag",value:function(e){var t=this.acceleration.clone();t.multiplyScalar(-1),t.normalize(),t.multiplyScalar(this.acceleration.length()*e),this.acceleration.add(t)}},{key:"applyHook",value:function(e,t){var n=this.position.clone().sub(this.anchor),r=n.length()-e;n.normalize(),n.multiplyScalar(-1*t*r),this.acceleration.add(n)}}])&&p(t.prototype,n),s}(r.Mesh);function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function M(e,t){return(M=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(e,t){return!t||"object"!==b(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var P=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&M(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=S(i);if(o){var n=S(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return _(this,e)});function s(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var n=new r.InstancedBufferGeometry,i=new r.PlaneGeometry(2,2);n.copy(i);var o=new r.RawShaderMaterial({uniforms:{time:{value:0},acceleration:{value:null},velocity:{value:null}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\nattribute vec2 uvVelocity;\n\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\nuniform vec3 cameraPosition;\nuniform float time;\nuniform sampler2D acceleration;\nuniform sampler2D velocity;\n\nvarying vec2 vUv;\nvarying vec3 vColor;\nvarying float vOpacity;\n\nmat4 calcTranslateMat4(vec3 v) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, 1.0, 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n v.x, v.y, v.z, 1.0\n );\n}\n\nmat4 calcScaleMat4(vec3 scale) {\n return mat4(\n scale.x, 0.0, 0.0, 0.0,\n 0.0, scale.y, 0.0, 0.0,\n 0.0, 0.0, scale.z, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nstruct Quaternion {\n float x;\n float y;\n float z;\n float w;\n};\n\n// https://qiita.com/aa_debdeb/items/c34a3088b2d8d3731813\nQuaternion axisAngle(vec3 axis, float radian) {\n vec3 naxis = normalize(axis);\n float h = 0.5 * radian;\n float s = sin(h);\n return Quaternion(naxis.x * s, naxis.y * s, naxis.z * s, cos(h));\n}\n\nQuaternion conjugate(Quaternion q) {\n return Quaternion(-q.x, -q.y, -q.z, q.w);\n}\n\nQuaternion mul(Quaternion q, float f) {\n return Quaternion(f * q.x, f * q.y, f * q.z, f * q.w);\n}\n\nQuaternion mul(Quaternion q1, Quaternion q2) {\n return Quaternion(\n q2.w * q1.x - q2.z * q1.y + q2.y * q1.z + q2.x * q1.w,\n q2.z * q1.x + q2.w * q1.y - q2.x * q1.z + q2.y * q1.w,\n -q2.y * q1.x + q2.x * q1.y + q2.w * q1.z + q2.z * q1.w,\n -q2.x * q1.x - q2.y * q1.y - q2.z * q1.z + q2.w * q1.w\n );\n}\n\nvec3 rotate(vec3 v, Quaternion q) {\n // norm of q must be 1.\n Quaternion vq = Quaternion(v.x, v.y, v.z, 0.0);\n Quaternion cq = conjugate(q);\n Quaternion mq = mul(mul(cq, vq), q);\n return vec3(mq.x, mq.y, mq.z);\n}\n\nvoid main() {\n vec3 a = texture2D(acceleration, uvVelocity).xyz;\n vec3 v = texture2D(velocity, uvVelocity).xyz;\n\n // for rotation.\n vec3 top = vec3(0.0, 0.0, 1.0);\n vec3 dir = normalize(cameraPosition - v);\n vec3 axis = cross(top, dir);\n float angle = acos(dot(top, dir));\n Quaternion q = axisAngle(axis, angle);\n vec3 rotatedPosition = rotate(position, q);\n vec4 mvPosition = modelViewMatrix * calcTranslateMat4(v) * vec4(rotatedPosition, 1.0);\n\n vec3 top2 = vec3(0.0, 1.0, 0.0);\n vec3 dir2 = normalize(a);\n float angle2 = acos(dot(top2, dir2));\n\n vUv = uv;\n vColor = vec3(\n degrees(angle2) / 90.0 * 0.35 + time * 0.1,\n 0.7,\n 0.4\n );\n vOpacity = 0.2;\n\n gl_Position = projectionMatrix * mvPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nvarying vec2 vUv;\nvarying vec3 vColor;\nvarying float vOpacity;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n vec2 p = vUv * 2.0 - 1.0;\n vec3 color = convertHsvToRgb(\n vColor +\n vec3(\n 0.0,\n (1.0 - smoothstep(0.2, 0.6, length(p))) * -0.5,\n (1.0 - smoothstep(0.2, 0.6, length(p))) * 0.4\n )\n );\n float opacity = (1.0 - smoothstep(0.95, 1.0, length(p))) * vOpacity;\n\n if (opacity <= 0.01) discard;\n\n gl_FragColor = vec4(color, opacity);\n}\n",transparent:!0,depthWrite:!1,blending:r.AdditiveBlending});return(t=a.call(this,n,o,e)).name="MoverCore",t.renderOrder=2,t}return t=s,(n=[{key:"start",value:function(e){var t=this.material.uniforms;t.acceleration.value=e.getCurrentAcceleration(),t.velocity.value=e.getCurrentVelocity(),this.geometry.setAttribute("uvVelocity",e.getBufferAttributeUv({instanced:!0}))}},{key:"update",value:function(e,t){var n=this.material.uniforms;n.acceleration.value=e.getCurrentAcceleration(),n.velocity.value=e.getCurrentVelocity(),n.time.value+=t}}])&&w(t.prototype,n),s}(r.InstancedMesh);function T(e){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function R(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function z(e,t){return!t||"object"!==T(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function L(e){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var C=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=L(i);if(o){var n=L(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return z(this,e)});function s(e,t){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var i=new r.InstancedBufferGeometry,o=new r.CylinderGeometry(0,.8,2,3,t,!0);i.copy(o);var c=new r.RawShaderMaterial({uniforms:{acceleration:{value:null},velocity:{value:null},time:{value:0}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\nattribute vec2 uvVelocity;\n\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\nuniform float time;\nuniform sampler2D acceleration;\nuniform sampler2D velocity;\nuniform sampler2D velocity1;\nuniform sampler2D velocity2;\nuniform sampler2D velocity3;\nuniform sampler2D velocity4;\n\nvarying vec3 vColor;\nvarying float vOpacity;\n\nmat4 calcTranslateMat4(vec3 v) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, 1.0, 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n v.x, v.y, v.z, 1.0\n );\n}\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nstruct Quaternion {\n float x;\n float y;\n float z;\n float w;\n};\n\n// https://qiita.com/aa_debdeb/items/c34a3088b2d8d3731813\nQuaternion axisAngle(vec3 axis, float radian) {\n vec3 naxis = normalize(axis);\n float h = 0.5 * radian;\n float s = sin(h);\n return Quaternion(naxis.x * s, naxis.y * s, naxis.z * s, cos(h));\n}\n\nQuaternion conjugate(Quaternion q) {\n return Quaternion(-q.x, -q.y, -q.z, q.w);\n}\n\nQuaternion mul(Quaternion q, float f) {\n return Quaternion(f * q.x, f * q.y, f * q.z, f * q.w);\n}\n\nQuaternion mul(Quaternion q1, Quaternion q2) {\n return Quaternion(\n q2.w * q1.x - q2.z * q1.y + q2.y * q1.z + q2.x * q1.w,\n q2.z * q1.x + q2.w * q1.y - q2.x * q1.z + q2.y * q1.w,\n -q2.y * q1.x + q2.x * q1.y + q2.w * q1.z + q2.z * q1.w,\n -q2.x * q1.x - q2.y * q1.y - q2.z * q1.z + q2.w * q1.w\n );\n}\n\nvec3 rotate(vec3 v, Quaternion q) {\n // norm of q must be 1.\n Quaternion vq = Quaternion(v.x, v.y, v.z, 0.0);\n Quaternion cq = conjugate(q);\n Quaternion mq = mul(mul(cq, vq), q);\n return vec3(mq.x, mq.y, mq.z);\n}\n\nvoid main() {\n float y = uv.y;\n vec3 a = texture2D(acceleration, uvVelocity).xyz;\n vec3 v0 = texture2D(velocity, uvVelocity).xyz;\n vec3 v1 = texture2D(velocity1, uvVelocity).xyz;\n vec3 v2 = texture2D(velocity2, uvVelocity).xyz;\n vec3 v3 = texture2D(velocity3, uvVelocity).xyz;\n vec3 v4 = texture2D(velocity4, uvVelocity).xyz;\n vec3 v =\n v0 * (1.0 - step(1.0 / 5.0, y)) +\n v1 * step(1.0 / 5.0, y) * (1.0 - step(2.0 / 5.0, y)) +\n v2 * step(2.0 / 5.0, y) * (1.0 - step(3.0 / 5.0, y)) +\n v3 * step(3.0 / 5.0, y) * (1.0 - step(4.0 / 5.0, y)) +\n v4 * step(4.0 / 5.0, y);\n vec3 pv =\n (v + a) * (1.0 - step(1.0 / 5.0, y)) +\n v0 * step(1.0 / 5.0, y) * (1.0 - step(2.0 / 5.0, y)) +\n v1 * step(2.0 / 5.0, y) * (1.0 - step(3.0 / 5.0, y)) +\n v2 * step(3.0 / 5.0, y) * (1.0 - step(4.0 / 5.0, y)) +\n v3 * step(4.0 / 5.0, y);\n\n // for rotation.\n vec3 top = vec3(0.0, 1.0, 0.0);\n vec3 dir = normalize(pv - v);\n vec3 axis = cross(top, dir);\n float angle = acos(dot(top, dir));\n Quaternion q = axisAngle(axis, angle);\n vec3 rotatedPosition = rotate(position, q);\n \n vec4 mvPosition = modelViewMatrix * calcTranslateMat4(v) * vec4(rotatedPosition, 1.0);\n\n // Define the point size.\n float distanceFromCamera = length(mvPosition.xyz);\n\n vColor = convertHsvToRgb(\n vec3(\n degrees(angle) / 90.0 * 0.35 + time * 0.1,\n 0.65,\n 0.24\n )\n );\n vOpacity = (1.0 - y) * 0.2;\n\n gl_Position = projectionMatrix * mvPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nvarying vec3 vColor;\nvarying float vOpacity;\n\nvoid main() {\n if (vOpacity <= 0.01) discard;\n\n gl_FragColor = vec4(vColor, vOpacity);\n}\n",transparent:!0,depthWrite:!1,blending:r.AdditiveBlending,side:r.DoubleSide});return(n=a.call(this,i,c,e)).name="MoverTrail",n}return t=s,(n=[{key:"start",value:function(e){for(var t=this.material.uniforms,n=0;n<e.length;n++)n>0&&(t["velocity".concat(n)]={value:e[n].getCurrentVelocity()});t.acceleration.value=e[0].getCurrentAcceleration(),t.velocity.value=e[0].getCurrentVelocity(),this.geometry.setAttribute("uvVelocity",e[0].getBufferAttributeUv({instanced:!0}))}},{key:"update",value:function(e,t){for(var n=this.material.uniforms,r=0;r<e.length;r++){var i=e[r];0===r?(n.acceleration.value=i.getCurrentAcceleration(),n.velocity.value=i.getCurrentVelocity()):n["velocity".concat(r)].value=i.getCurrentVelocity()}n.time.value+=t}}])&&R(t.prototype,n),s}(r.InstancedMesh),A="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n vUv = uv;\n gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n}\n",O="precision highp float;\n#define GLSLIFY 1\n\nuniform sampler2D initData;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n gl_FragColor = texture2D(initData, vUv);\n}\n";function D(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var I=function(e,t,n){return new r.Mesh(new r.PlaneGeometry(2,2),new r.RawShaderMaterial({uniforms:e,vertexShader:t,fragmentShader:n}))},k=function(){function e(t,n,i,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var a={type:/(iPad|iPhone|iPod)/g.test(navigator.userAgent)?r.HalfFloatType:r.FloatType,minFilter:r.NearestFilter,magFilter:r.NearestFilter};this.side=0,this.aScene=new r.Scene,this.vScene=new r.Scene,this.camera=new r.OrthographicCamera,this.acceleration=[new r.WebGLRenderTarget(0,0,a),new r.WebGLRenderTarget(0,0,a)],this.velocity=[new r.WebGLRenderTarget(0,0,a),new r.WebGLRenderTarget(0,0,a)],this.aUniforms={velocity:{value:null},acceleration:{value:null},time:{value:0}},this.vUniforms={side:{value:0},velocity:{value:null},acceleration:{value:null},time:{value:0}},this.aMesh=I(this.aUniforms,t,n),this.vMesh=I(this.vUniforms,i,o),this.uvs=[],this.targetIndex=0}var t,n;return t=e,(n=[{key:"start",value:function(e,t,n,i,o){this.side=this.vUniforms.side.value=Math.ceil(Math.sqrt(n.length/3)),this.camera.top=.5*this.side,this.camera.bottom=-.5*this.side,this.camera.right=.5*this.side,this.camera.left=-.5*this.side,this.camera.position.z=10;for(var a=[],s=[],c=0;c<3*Math.pow(this.side,2);c+=3)t&&null!=t[c]?(a[c+0]=t[c+0],a[c+1]=t[c+1],a[c+2]=t[c+2]):(a[c+0]=0,a[c+1]=0,a[c+2]=0),n&&null!=n[c]?(s[c+0]=n[c+0],s[c+1]=n[c+1],s[c+2]=n[c+2]):(s[c+0]=0,s[c+1]=0,s[c+2]=0),this.uvs[c/3*2+0]=c/3%this.side/(this.side-1),this.uvs[c/3*2+1]=Math.floor(c/3/this.side)/(this.side-1);if(i){var u=Object.keys(i);if(u.length)for(c=0;c<u.length;c++){for(var l=i[u[c]],f=l.array.length;f<s.length/3*l.itemSize;f++)l.array.push(0);this.aMesh.geometry.setAttribute(u[c],new r.BufferAttribute(new Float32Array(l.array),l.itemSize))}}if(o){var h=Object.keys(o);if(h.length)for(c=0;c<h.length;c++){var v=o[h[c]];for(f=v.array.length;f<s.length/3*v.itemSize;f++)v.array.push(0);this.vMesh.geometry.setAttribute(h[c],new r.BufferAttribute(new Float32Array(v.array),v.itemSize))}}for(c=0;c<2;c++)this.acceleration[c].setSize(this.side,this.side),this.velocity[c].setSize(this.side,this.side);var d=new r.DataTexture(new Float32Array(a),this.side,this.side,r.RGBFormat,r.FloatType);d.magFilter=r.NearestFilter,d.minFilter=r.NearestFilter;var p=new r.Mesh(new r.PlaneGeometry(2,2),new r.RawShaderMaterial({uniforms:{initData:{value:d}},vertexShader:A,fragmentShader:O}));this.aScene.add(this.camera),this.aScene.add(p),e.setRenderTarget(this.acceleration[Math.abs(this.targetIndex-1)]),e.render(this.aScene,this.camera),this.aScene.remove(p),this.aScene.add(this.aMesh);var m=new r.DataTexture(new Float32Array(s),this.side,this.side,r.RGBFormat,r.FloatType);m.magFilter=r.NearestFilter,m.minFilter=r.NearestFilter;var y=new r.Mesh(new r.PlaneGeometry(2,2),new r.RawShaderMaterial({uniforms:{initData:{value:m}},vertexShader:A,fragmentShader:O}));this.vScene.add(this.camera),this.vScene.add(y),e.setRenderTarget(this.velocity[this.targetIndex]),e.render(this.vScene,this.camera),this.vScene.remove(y),this.vScene.add(this.vMesh),e.setRenderTarget(null)}},{key:"update",value:function(e,t){var n=Math.abs(this.targetIndex-1),r=this.targetIndex;this.aUniforms.acceleration.value=this.acceleration[n].texture,this.aUniforms.velocity.value=this.velocity[r].texture,e.setRenderTarget(this.acceleration[r]),e.render(this.aScene,this.camera),this.vUniforms.acceleration.value=this.acceleration[r].texture,this.vUniforms.velocity.value=this.velocity[r].texture,e.setRenderTarget(this.velocity[n]),e.render(this.vScene,this.camera),e.setRenderTarget(null),this.targetIndex=n,this.aUniforms.time.value+=t,this.vUniforms.time.value+=t}},{key:"getBufferAttributeUv",value:function(e){var t=e.instanced;return void 0!==t&&t?new r.InstancedBufferAttribute(new Float32Array(this.uvs),2):new r.BufferAttribute(new Float32Array(this.uvs),2)}},{key:"getCurrentVelocity",value:function(){return this.velocity[Math.abs(this.targetIndex-1)].texture}},{key:"getCurrentAcceleration",value:function(){return this.acceleration[Math.abs(this.targetIndex-1)].texture}},{key:"mergeAUniforms",value:function(e){this.aUniforms=Object.assign(this.aUniforms,e)}},{key:"mergeVUniforms",value:function(e){this.vUniforms=Object.assign(this.vUniforms,e)}},{key:"createDataTexture",value:function(e){for(var t=[],n=0;n<3*Math.pow(this.side,2);n+=3)null!=e[n]?(t[n+0]=e[n+0],t[n+1]=e[n+1],t[n+2]=e[n+2]):(t[n+0]=0,t[n+1]=0,t[n+2]=0);return new r.DataTexture(new Float32Array(t),this.side,this.side,r.RGBFormat,r.FloatType)}}])&&D(t.prototype,n),e}();function F(e){return(F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function j(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function U(e,t){return(U=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function B(e,t){return!t||"object"!==F(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function G(e){return(G=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var N=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&U(e,t)}(c,e);var t,n,i,o,a=(i=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=G(i);if(o){var n=G(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return B(this,e)});function c(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(e=a.call(this)).name="Mover",e.core=new P(5e3),e.trail=new C(5e3,5),e.physicsRenderers=[],e.multiTime=new r.Vector2(2*Math.random()-1,2*Math.random()-1),e}return t=c,(n=[{key:"start",value:function(e,t){for(var n=[],i=[],o=[],a=0;a<15e3;a+=3){var c=s().radians(360*Math.random());i[a+0]=300*Math.cos(c),i[a+1]=300*Math.sin(c),i[a+2]=2*Math.random()-1,o[a+0]=.02*Math.random()+.08,o[a+1]=.01*Math.random()+.02,o[a+2]=0}for(var u=0;u<5;u++)0===u?(this.physicsRenderers[u]=new k("#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n vUv = uv;\n gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n}\n","precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform sampler2D velocity;\nuniform sampler2D acceleration;\nuniform sampler2D noiseTex;\nuniform vec2 multiTime;\nuniform vec3 anchor;\nuniform sampler2D hookOptions;\n\nvarying vec2 vUv;\n\n#ifndef PRECISION\n#define PRECISION 0.000001\n#endif\n\nvec3 drag(vec3 a, float value) {\n return normalize(a * -1.0 + PRECISION) * length(a) * value;\n}\n\n#ifndef PRECISION\n#define PRECISION 0.000001\n#endif\n\nvec3 hook(vec3 velocity, vec3 anchor, float restLength, float k) {\n return normalize(velocity - anchor + PRECISION) * (-1.0 * k * (length(velocity - anchor) - restLength));\n}\n\nvoid main(void) {\n vec3 v = texture2D(velocity, vUv).xyz;\n vec3 a = texture2D(acceleration, vUv).xyz;\n vec3 hopt = texture2D(hookOptions, vUv).xyz;\n vec3 d = drag(a, hopt.r);\n vec3 h = hook(v, anchor, 50.0, hopt.g);\n\n float texColorR = texture2D(noiseTex, v.zy * 0.0025 + step(vUv.x, 0.333) * 0.333 + step(vUv.x, 0.666) * 0.333 + time * 0.04 + multiTime).r;\n float texColorG = texture2D(noiseTex, v.xz * 0.0025 + step(vUv.x, 0.333) * 0.333 + step(vUv.x, 0.666) * 0.333 - time * 0.04 + multiTime).g;\n float texColorB = texture2D(noiseTex, v.yx * 0.0025 + step(vUv.x, 0.333) * 0.333 + step(vUv.x, 0.666) * 0.333 + time * 0.04 - multiTime).b;\n vec3 noise = vec3(\n texColorR * 2.0 - 1.0,\n texColorG * 2.0 - 1.0,\n texColorB * 2.0 - 1.0\n );\n vec3 f = noise * 0.85;\n\n vec3 f2 = a + d + f + h;\n\n gl_FragColor = vec4(f2, 1.0);\n}\n","#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n vUv = uv;\n gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n}\n","precision highp float;\n#define GLSLIFY 1\n\nuniform sampler2D acceleration;\nuniform sampler2D velocity;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n vec3 a = texture2D(acceleration, vUv).xyz;\n vec3 v = texture2D(velocity, vUv).xyz;\n vec3 v2 = a + v;\n\n gl_FragColor = vec4(v2, 1.0);\n}\n"),this.physicsRenderers[u].start(e,n,i),this.physicsRenderers[u].mergeAUniforms({noiseTex:{value:t},multiTime:{value:this.multiTime},anchor:{value:new r.Vector3},hookOptions:{value:this.physicsRenderers[0].createDataTexture(o)}})):(this.physicsRenderers[u]=new k("#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n vUv = uv;\n gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n}\n","precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform sampler2D prevVelocity;\nuniform sampler2D velocity;\nuniform sampler2D acceleration;\nuniform sampler2D noiseTex;\n\nvarying vec2 vUv;\n\n#ifndef PRECISION\n#define PRECISION 0.000001\n#endif\n\nvec3 drag(vec3 a, float value) {\n return normalize(a * -1.0 + PRECISION) * length(a) * value;\n}\n\n#ifndef PRECISION\n#define PRECISION 0.000001\n#endif\n\nvec3 hook(vec3 velocity, vec3 anchor, float restLength, float k) {\n return normalize(velocity - anchor + PRECISION) * (-1.0 * k * (length(velocity - anchor) - restLength));\n}\n\nvoid main(void) {\n vec3 pv = texture2D(prevVelocity, vUv).xyz;\n vec3 v = texture2D(velocity, vUv).xyz;\n vec3 a = texture2D(acceleration, vUv).xyz;\n vec3 d = drag(a, 0.4);\n vec3 h = hook(v, pv, 1.0, 0.14);\n\n vec3 f = a + d + h;\n\n gl_FragColor = vec4(f, 1.0);\n}\n","#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n vUv = uv;\n gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n}\n","precision highp float;\n#define GLSLIFY 1\n\nuniform sampler2D acceleration;\nuniform sampler2D velocity;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n vec3 a = texture2D(acceleration, vUv).xyz;\n vec3 v = texture2D(velocity, vUv).xyz;\n\n gl_FragColor = vec4(a + v, 1.0);\n}\n"),this.physicsRenderers[u].start(e,null,i),this.physicsRenderers[u].mergeAUniforms({prevVelocity:{value:this.physicsRenderers[u-1].getCurrentVelocity()}}));this.core.start(this.physicsRenderers[0]),this.trail.start(this.physicsRenderers),this.add(this.core),this.add(this.trail)}},{key:"update",value:function(e,t,n){for(var r=0;r<this.physicsRenderers.length;r++){var i=this.physicsRenderers[r];0===r?i.aUniforms.anchor.value.copy(n.position):i.aUniforms.prevVelocity.value=this.physicsRenderers[r-1].getCurrentVelocity(),i.update(e,t)}this.core.update(this.physicsRenderers[0],t),this.trail.update(this.physicsRenderers,t)}}])&&j(t.prototype,n),c}(r.Group);function H(e){return(H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function V(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function W(e,t){return(W=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Z(e,t){return!t||"object"!==H(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function q(e){return(q=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Y,X=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&W(e,t)}(c,e);var t,n,i,o,a=(i=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=q(i);if(o){var n=q(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Z(this,e)});function c(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);var t=new r.PlaneGeometry(1,1),n=new r.RawShaderMaterial({uniforms:{time:{value:0},resolution:{value:new r.Vector2},noiseTex:{value:null}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\n\nvarying vec2 vUv;\n\nvoid main() {\n // coordinate transformation\n vec4 mPosition = modelMatrix * vec4(position, 1.0);\n\n vUv = uv;\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform vec2 resolution;\nuniform sampler2D noiseTex;\n\nvarying vec2 vUv;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n vec2 updateUv = vec2(\n vUv.x * min(resolution.x / resolution.y, 1.0) + max(1.0 - resolution.x / resolution.y, 0.0) / 2.0,\n vUv.y * min(resolution.y / resolution.x, 1.0) + max(1.0 - resolution.y / resolution.x, 0.0) / 2.0\n );\n vec2 p = updateUv * 2.0 - 1.0;\n vec4 texColor1 = texture2D(noiseTex, updateUv + vec2(0.0, time * 0.01));\n vec4 texColor2 = texture2D(noiseTex, updateUv - vec2(0.0, time * 0.02));\n vec3 hsv1 = vec3(0.5 + time * 0.1 + vUv.y * 0.5, 0.4, 0.05);\n vec3 hsv2 = vec3(1.2 + time * 0.1 + vUv.y * 0.5, 0.4, 0.4);\n float hsvAlpha = pow((texColor1.r + texColor2.g) / 2.0, 3.0) * 2.0;\n vec3 color = convertHsvToRgb(mix(hsv1, hsv2, hsvAlpha) - (1.0 - smoothstep(0.0, 1.0, length(p))) * 0.3);\n\n gl_FragColor = vec4(color, 1.0);\n}\n"});return(e=a.call(this,t,n)).name="Background",e.position.z=-1e3,e}return t=c,(n=[{key:"start",value:function(e){this.material.uniforms.noiseTex.value=e}},{key:"update",value:function(e){this.material.uniforms.time.value+=e}},{key:"resize",value:function(e,t){var n=this.material.uniforms,r=Math.abs((e.position.z-this.position.z)*Math.tan(s().radians(e.fov)/2)*2),i=r*e.aspect;this.scale.set(i,r,1),n.resolution.value.copy(t)}}])&&V(t.prototype,n),c}(r.Mesh);function K(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function Q(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var J=new r.Scene,$=new v,ee=new r.Clock({autoStart:!1}),te=new x,ne=new N,re=new X,ie=new r.TextureLoader,oe=new r.Vector2,ae=!1,se=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i,o;return t=e,(n=[{key:"start",value:(i=regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(Y=new r.WebGLRenderer({alpha:!0,antialias:!0,canvas:t})).setPixelRatio(window.devicePixelRatio),Y.setClearColor(921102,1),e.next=5,Promise.all([ie.loadAsync("/sketch-threejs/img/sketch/flow_field/noise.jpg")]).then((function(e){var t=e[0];t.wrapS=r.RepeatWrapping,t.wrapT=r.RepeatWrapping,t.format=r.RGBFormat,t.type=r.FloatType,t.minFilter=r.NearestFilter,t.magFilter=r.NearestFilter,te.start(t),ne.start(Y,t),re.start(t)}));case 5:J.add(te),J.add(ne),J.add(re),$.start();case 9:case"end":return e.stop()}}),e)})),o=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){K(o,n,r,a,s,"next",e)}function s(e){K(o,n,r,a,s,"throw",e)}a(void 0)}))},function(e){return o.apply(this,arguments)})},{key:"play",value:function(){ee.start(),this.update()}},{key:"pause",value:function(){ee.stop()}},{key:"update",value:function(){if(!1!==ee.running){var e=ee.getDelta();$.update(e),te.update(e,$),ne.update(Y,e,te),re.update(e),Y.setRenderTarget(null),Y.render(J,$)}}},{key:"resize",value:function(e){$.resize(e),re.resize($,e),Y.setSize(e.x,e.y)}},{key:"setCoreAnchor",value:function(e){var t=150*(oe.x/e.x*2-1)+150*(oe.y/e.y*2-1),n=Math.abs(($.position.z-t)*Math.tan(s().radians($.fov)/2)*2),r=n*$.aspect;te.anchor.set((oe.x/e.x-.5)*r,-(oe.y/e.y-.5)*n,t)}},{key:"touchStart",value:function(e,t){e.touches||e.preventDefault(),oe.set(e.touches?e.touches[0].clientX:e.clientX,e.touches?e.touches[0].clientY:e.clientY),ae=!0,this.setCoreAnchor(t)}},{key:"touchMove",value:function(e,t){e.touches||e.preventDefault(),!0===ae&&(oe.set(e.touches?e.touches[0].clientX:e.clientX,e.touches?e.touches[0].clientY:e.clientY),this.setCoreAnchor(t))}},{key:"touchEnd",value:function(){te.anchor.set(0,0,0),ae=!1}}])&&Q(t.prototype,n),e}();function ce(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function ue(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){ce(o,r,i,a,s,"next",e)}function s(e){ce(o,r,i,a,s,"throw",e)}a(void 0)}))}}function le(){return fe.apply(this,arguments)}function fe(){return(fe=ue(regeneratorRuntime.mark((function e(){var t,n,i,a,s,c,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=new se,n=new r.Vector2,i=document.getElementById("canvas-webgl"),a=document.querySelector(".p-preloader"),s=function(){n.set(document.body.clientWidth,window.innerHeight),i.width=n.x,i.height=n.y,t.resize(n)},c=function(){var e=function(e){t.touchStart(e,n)},r=function(e){t.touchMove(e,n)},a=function(){t.touchEnd()};i.addEventListener("mousedown",e,{passive:!1}),window.addEventListener("mousemove",r,{passive:!1}),window.addEventListener("mouseup",a),i.addEventListener("touchstart",e,{passive:!1}),window.addEventListener("touchmove",r,{passive:!1}),window.addEventListener("touchend",a),window.addEventListener("blur",(function(){t.pause()})),window.addEventListener("focus",(function(){t.play()})),window.addEventListener("resize",o()(s,100))},u=function e(){t.update(),requestAnimationFrame(e)},e.next=9,t.start(i);case 9:c(),s(),a.classList.add("is-hidden"),t.play(),u();case 14:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},30401:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=(n(17393),function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0},tex:{type:"t",value:null}},this.num=200,this.obj}var t,o;return t=e,(o=[{key:"createObj",value:function(e){var t=new i.InstancedBufferGeometry,r=new i.PlaneGeometry(1100,1100,20,20);t.copy(r);for(var o=new i.InstancedBufferAttribute(new Float32Array(3*this.num),3),a=new i.InstancedBufferAttribute(new Float32Array(this.num),1),s=new i.InstancedBufferAttribute(new Float32Array(this.num),1),c=0,u=this.num;c<u;c++)o.setXYZ(c,850*(2*Math.random()-1),0,300*(2*Math.random()-1)),a.setXYZ(c,Math.random()),s.setXYZ(c,2*Math.random()+1);t.setAttribute("instancePosition",o),t.setAttribute("delay",a),t.setAttribute("rotate",s);var l=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(94053).Z,fragmentShader:n(68773).Z,transparent:!0,depthWrite:!1,blending:i.AdditiveBlending});this.uniforms.tex.value=e,this.obj=new i.InstancedMesh(t,l,this.num)}},{key:"render",value:function(e){this.uniforms.time.value+=e}}])&&r(t.prototype,o),e}())},27751:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(2212),i=n(38314),o=n(59170).Z,a=n(30401).Z;function s(){var e=new r.Vector2,t=document.getElementById("canvas-webgl"),n=new r.WebGL1Renderer({alpha:!0,antialias:!0,canvas:t}),s=new r.Scene,c=new r.PerspectiveCamera,u=new r.Clock;c.far=5e4,c.setFocalLength(24);var l=new a,f=function e(){var t;t=u.getDelta(),l.render(t),n.render(s,c),requestAnimationFrame(e)},h=function(){e.set(document.body.clientWidth,window.innerHeight),t.width=e.x,t.height=e.y,c.aspect=e.x/e.y,c.updateProjectionMatrix(),n.setSize(e.x,e.y)};o({fog:"../img/sketch/fog/fog.png"},(function(e){l.createObj(e.fog),s.add(l.obj),n.setClearColor(1118481,1),c.position.set(0,0,1e3),c.lookAt(new r.Vector3),u.start(),window.addEventListener("resize",i(h,1e3)),h(),f()}))}},95432:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(2212),i=n(38314),o=n.n(i),a=n(89813),s=n(69338),c=n.n(s),u=n(97719),l=n(5097),f=n(45695),h=n.n(f);function v(){var e=document.getElementById("canvas-webgl"),t=new r.WebGL1Renderer({antialias:!0,canvas:e}),n=new r.Scene,i=new u.Z(35,window.innerWidth/window.innerHeight,1,1e4),s=[],f=null,v=new r.Raycaster,d=-1,p=-1,m=!1,y=!1,g=!1,x=function(){this.rad=0,this.obj,this.is_entered=!1,c().call(this)},b=new r.PlaneGeometry(100,100);(x.prototype=Object.create(c().prototype)).constructor=x,x.prototype.init=function(e){var t=new r.MeshPhongMaterial({side:r.DoubleSide,map:(new r.TextureLoader).load("../img/sketch/gallery/image0"+h().getRandomInt(1,9)+".jpg")});this.obj=new r.Mesh(b,t),this.velocity=e.clone(),this.anchor=e.clone(),this.acceleration.set(0,0,0)};var w,M,_,S,P,T,R=function(e){var t;g||(v.setFromCamera(e,i),(t=v.intersectObjects(n.children)).length>0&&0==y?(document.body.classList.add("is-pointed"),d=t[0].object.id):z())},E=function(e,t){g=!0,e.force.position.anchor.set(780*Math.cos(t.rad),t.obj.position.y,780*Math.sin(t.rad)),e.force.look.anchor.copy(t.obj.position),z()},z=function(){document.body.classList.remove("is-pointed"),d=-1},L=function(){e.width=window.innerWidth,e.height=window.innerHeight,i.aspect=window.innerWidth/window.innerHeight,i.updateProjectionMatrix(),t.setSize(window.innerWidth,window.innerHeight)};t.setSize(window.innerWidth,window.innerHeight),t.setClearColor(1118481,1),i.position.set(1e3,1e3,1e3),i.lookAt(new r.Vector3),w=new r.Vector2,M=new r.Vector2,_=new r.Vector2,S=function(e,t,n){w.set(e,t),(0,a.Z)(w),R(w),m=!0},P=function(e,t,r){M.set(e,t),(0,a.Z)(M),R(n),m&&w.clone().sub(M).length()>.01&&(m=!1,y=!0),1==y&&0==g&&(i.rotate_rad1=i.rotate_rad1_base+h().getRadian(50*(w.y-M.y)),i.rotate_rad2=i.rotate_rad2_base+h().getRadian(50*(w.x-M.x)),i.rotate_rad1<h().getRadian(-50)&&(i.rotate_rad1=h().getRadian(-50)),i.rotate_rad1>h().getRadian(50)&&(i.rotate_rad1=h().getRadian(50)))},T=function(e,t,n){_.set(e,t),z(),g?(i.force.position.anchor.set(0,0,0),p=-1,g=!1):m&&p>-1?E(i,s[p]):y&&(i.rotate_rad1_base=i.rotate_rad1,i.rotate_rad2_base=i.rotate_rad2),m=!1,y=!1},window.addEventListener("resize",o()((function(){L()})),1e3),e.addEventListener("mousedown",(function(e){e.preventDefault(),S(e.clientX,e.clientY)})),e.addEventListener("mousemove",(function(e){e.preventDefault(),P(e.clientX,e.clientY)})),e.addEventListener("mouseup",(function(e){e.preventDefault(),T(e.clientX,e.clientY)})),e.addEventListener("touchstart",(function(e){e.preventDefault(),S(e.touches[0].clientX,e.touches[0].clientY)})),e.addEventListener("touchmove",(function(e){e.preventDefault(),P(e.touches[0].clientX,e.touches[0].clientY)})),e.addEventListener("touchend",(function(e){e.preventDefault(),T(e.changedTouches[0].clientX,e.changedTouches[0].clientY)})),window.addEventListener("mouseout",(function(){event.preventDefault(),_.set(0,0),z(),g?(i.force.position.anchor.set(0,0,0),p=-1,g=!1):m&&p>-1?E(i,s[p]):y&&(i.rotate_rad1_base=i.rotate_rad1,i.rotate_rad2_base=i.rotate_rad2),m=!1,y=!1})),function(e){for(var t=0;t<300;t++){var n=null,i=h().getRadian(t%45*8+180),o=1e3*Math.cos(i),a=5*t-750,c=1e3*Math.sin(i),u=new r.Vector3(o,a,c);(n=new x).init(new r.Vector3),n.rad=i,n.obj.position.copy(u),e.add(n.obj),s.push(n)}}(n),f=new l.Z(16777215,16777215,1),n.add(f),i.force.position.anchor.set(0,0,0),i.rotate_rad1=h().getRadian(-35),i.rotate_rad1_base=i.rotate_rad1,i.rotate_rad2=h().getRadian(180),i.rotate_rad2_base=i.rotate_rad2,L(),function e(){!function(){for(var e=0;e<300;e++)s[e].applyHook(0,.14),s[e].applyDrag(.4),s[e].updateVelocity(),s[e].obj.lookAt(0,s[e].obj.position.y,0),s[e].obj.id==d&&0==y&&0==g?1==m?p=e:s[e].obj.material.color.set(11184810):s[e].obj.material.color.set(16777215);i.force.position.applyHook(0,.08),i.force.position.applyDrag(.4),i.force.position.updateVelocity(),i.updatePosition(),!1===g&&i.force.look.anchor.copy(h().getPolarCoord(i.rotate_rad1,i.rotate_rad2,1e3)),i.force.look.applyHook(0,.08),i.force.look.applyDrag(.4),i.force.look.updateVelocity(),i.updateLook(),t.render(n,i)}(),requestAnimationFrame(e)}()}},77010:function(e,t,n){"use strict";n.d(t,{Z:function(){return G}});var r=n(2212),i=n(38314),o=n.n(i),a=n(48840),s=n(52886);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=h(i);if(o){var n=h(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return f(this,e)});function s(e,t,n,i){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(o=a.call(this,e,t,n,i)).cameraResolution=new r.Vector2,o.time=0,o.isActive=!1,o}return t=s,(n=[{key:"start",value:function(){this.far=1e3,this.setFocalLength(50),this.position.set(0,0,11),this.lookAt(new r.Vector3),this.isActive=!0}},{key:"update",value:function(e){!1!==this.isActive&&(this.time+=e)}},{key:"resize",value:function(e){this.aspect=e.x/e.y,this.updateProjectionMatrix()}}])&&u(t.prototype,n),s}(r.PerspectiveCamera);function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=g(i);if(o){var n=g(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return y(this,e)});function s(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var n=new r.RawShaderMaterial({uniforms:{time:{value:0},resolution:{value:new r.Vector2},tScene:{value:null},tRoughness:{value:null},tNoise:{value:null}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\nattribute vec3 normal;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform vec3 cameraPosition;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying vec3 vNormal;\nvarying float vEdge;\n\nvoid main(void) {\n // coordinate transformation\n vec4 mPosition = modelMatrix * vec4(position, 1.0);\n float angleToCamera = acos(dot(normalize(cameraPosition), (modelMatrix * vec4(normal, 1.0)).xyz));\n\n vPosition = mPosition.xyz;\n vUv = uv;\n vNormal = (viewMatrix * modelMatrix * vec4(normal, 1.0)).xyz;\n vEdge = pow(smoothstep(0.3, 1.0, abs(sin(angleToCamera))), 3.0);\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform vec2 resolution;\nuniform sampler2D tScene;\nuniform sampler2D tRoughness;\nuniform sampler2D tNoise;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying vec3 vNormal;\nvarying float vEdge;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n vec2 uv = abs(gl_FragCoord.xy / resolution - vec2(0.0, 1.0));\n vec4 tSceneColor = texture2D(tScene, uv + vNormal.xy * (0.1 + vEdge * 0.9));\n vec4 tRoughnessColor = texture2D(tRoughness, vUv);\n vec4 tNoiseColor = texture2D(tNoise, vUv);\n float str =\n length(tRoughnessColor.r) * 0.8 +\n vEdge * 0.5;\n vec3 hsv = vec3(\n 0.45 + sin(radians(tNoiseColor.r * 360.0) + time) * 0.08 + cos(radians(tNoiseColor.g * 360.0) + time * 2.0) * 0.08,\n 0.35 - str * 0.34,\n 0.2 + str * 0.8\n );\n vec3 rgb = convertHsvToRgb(hsv);\n vec3 color = rgb + tSceneColor.rgb * tSceneColor.rgb * tSceneColor.rgb * 0.6 + 0.05;\n\n gl_FragColor = vec4(color, 1.0);\n}\n",transparent:!0});return(t=a.call(this,e,n)).name="Glass",t.isActive=!1,t}return t=s,(n=[{key:"start",value:function(e,t,n){var r=this.material.uniforms;r.tScene.value=e,r.tRoughness.value=t,r.tNoise.value=n,this.isActive=!0}},{key:"update",value:function(e){!1!==this.isActive&&(this.material.uniforms.time.value+=e)}},{key:"resize",value:function(e){this.material.uniforms.resolution.value.copy(e)}}])&&p(t.prototype,n),s}(r.Mesh);function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function M(e,t){return(M=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(e,t){return!t||"object"!==b(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var P,T=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&M(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=S(i);if(o){var n=S(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return _(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.SphereGeometry(100,64,64),n=new r.RawShaderMaterial({uniforms:{texture:{value:null}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\n\nvarying vec2 vUv;\n\nvoid main() {\n // coordinate transformation\n vec4 mPosition = modelMatrix * vec4(position, 1.0);\n\n vUv = uv;\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform sampler2D texture;\n\nvarying vec2 vUv;\n\nvoid main() {\n gl_FragColor = texture2D(texture, vUv);\n}\n",side:r.BackSide});return(e=a.call(this,t,n)).name="Background",e}return t=s,(n=[{key:"start",value:function(e){this.material.uniforms.texture.value=e}}])&&w(t.prototype,n),s}(r.Mesh);function R(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var z,L,C=new r.Scene,A=new v,O=new r.Clock({autoStart:!1}),D=new a.L,I=new r.TextureLoader,k=new T,F=new r.WebGLRenderTarget,j=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i,o;return t=e,(n=[{key:"start",value:(i=regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(P=new r.WebGL1Renderer({alpha:!0,antialias:!0,canvas:t})).setPixelRatio(window.devicePixelRatio),P.setClearColor(921102,1),(L=new s.z(A,P.domElement)).dampingFactor=.1,L.enableDamping=!0,L.enablePan=!1,L.enableZoom=!1,e.next=10,Promise.all([D.loadAsync("/sketch-threejs/model/glass/glass.obj"),I.loadAsync("/sketch-threejs/img/sketch/glass/landscape.jpg"),I.loadAsync("/sketch-threejs/img/sketch/glass/roughness.jpg"),I.loadAsync("/sketch-threejs/img/sketch/glass/noise.jpg")]).then((function(e){e[2].wrapT=e[2].wrapS=r.RepeatWrapping,e[3].wrapT=e[3].wrapS=r.RepeatWrapping,(z=new x(e[0].children[0].geometry)).start(F.texture,e[2],e[3]),k.start(e[1])}));case 10:C.add(z),C.add(k),A.start();case 13:case"end":return e.stop()}}),e)})),o=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){R(o,n,r,a,s,"next",e)}function s(e){R(o,n,r,a,s,"throw",e)}a(void 0)}))},function(e){return o.apply(this,arguments)})},{key:"play",value:function(){O.start(),this.update()}},{key:"pause",value:function(){O.stop()}},{key:"update",value:function(){if(!1!==O.running){var e=O.getDelta();A.update(e),z.update(e),z.visible=!1,P.setRenderTarget(F),P.render(C,A),z.visible=!0,P.setRenderTarget(null),P.render(C,A),L.update()}}},{key:"resize",value:function(e){A.resize(e),z.resize(e),P.setSize(e.x,e.y),F.setSize(e.x,e.y)}}])&&E(t.prototype,n),e}();function U(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function B(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){U(o,r,i,a,s,"next",e)}function s(e){U(o,r,i,a,s,"throw",e)}a(void 0)}))}}function G(){return N.apply(this,arguments)}function N(){return(N=B(regeneratorRuntime.mark((function e(){var t,n,i,a,s,c,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=new j,n=new r.Vector2,i=document.getElementById("canvas-webgl"),a=document.querySelector(".p-preloader"),s=function(){n.set(document.body.clientWidth,window.innerHeight),i.width=n.x,i.height=n.y,t.resize(n)},c=function(){window.addEventListener("blur",(function(){t.pause()})),window.addEventListener("focus",(function(){t.play()})),window.addEventListener("resize",o()(s,100))},u=function e(){t.update(),requestAnimationFrame(e)},e.next=9,t.start(i);case 9:c(),s(),a.classList.add("is-hidden"),t.play(),u();case 14:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},61962:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={resolution:{type:"v2",value:new i.Vector2(document.body.clientWidth,window.innerHeight)},imageResolution:{type:"v2",value:new i.Vector2(2048,1356)},texture:{type:"t",value:null}},this.obj}var t,o;return t=e,(o=[{key:"init",value:function(e){var t=this;(new i.TextureLoader).load("/sketch-threejs/img/sketch/glitch/osaka.jpg",(function(n){n.magFilter=i.NearestFilter,n.minFilter=i.NearestFilter,t.uniforms.texture.value=n,t.obj=t.createObj(),e()}))}},{key:"createObj",value:function(){return new i.Mesh(new i.PlaneGeometry(2,2),new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(2670).Z,fragmentShader:n(91481).Z}))}},{key:"resize",value:function(){this.uniforms.resolution.value.set(document.body.clientWidth,window.innerHeight)}}])&&r(t.prototype,o),e}()},35854:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0},resolution:{type:"v2",value:new i.Vector2(document.body.clientWidth,window.innerHeight)},texture:{type:"t",value:t}},this.obj=this.createObj()}var t,o;return t=e,(o=[{key:"createObj",value:function(){return new i.Mesh(new i.PlaneGeometry(2,2),new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(79541).Z,fragmentShader:n(56521).Z}))}},{key:"render",value:function(e){this.uniforms.time.value+=e}},{key:"resize",value:function(){this.uniforms.resolution.value.set(document.body.clientWidth,window.innerHeight)}}])&&r(t.prototype,o),e}()},49275:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(2212),i=n(38314),o=n(89813).Z,a=n(61962).Z,s=n(35854).Z;function c(){var e=document.getElementById("canvas-webgl"),t=new r.WebGL1Renderer({antialias:!1,canvas:e}),n=new r.WebGLRenderTarget(document.body.clientWidth,window.innerHeight),c=new r.Scene,u=new r.Scene,l=new r.OrthographicCamera(-1,1,1,-1,0,1),f=new r.PerspectiveCamera(45,document.body.clientWidth/window.innerHeight,1,2),h=new r.Clock,v=new r.Vector2,d=new r.Vector2,p=new r.Vector2,m=new a,y=new s(n.texture),g=function(){e.width=document.body.clientWidth,e.height=window.innerHeight,f.aspect=document.body.clientWidth/window.innerHeight,f.updateProjectionMatrix(),m.resize(),y.resize(),n.setSize(document.body.clientWidth,window.innerHeight),t.setSize(document.body.clientWidth,window.innerHeight)};t.setSize(document.body.clientWidth,window.innerHeight),t.setClearColor(5592405,1),m.init((function(){u.add(m.obj),c.add(y.obj)})),window.addEventListener("resize",i((function(){g()})),1e3),e.addEventListener("mousedown",(function(e){e.preventDefault(),v.set(e.clientX,e.clientY),o(v)})),document.addEventListener("mousemove",(function(e){e.preventDefault(),d.set(e.clientX,e.clientY),o(d)})),document.addEventListener("mouseup",(function(e){e.preventDefault(),p.set(e.clientX,e.clientY),o(p)})),e.addEventListener("touchstart",(function(e){e.preventDefault(),v.set(e.touches[0].clientX,e.touches[0].clientY),o(v),e.touches[0].clientX,e.touches[0].clientY})),e.addEventListener("touchmove",(function(e){e.preventDefault(),d.set(e.touches[0].clientX,e.touches[0].clientY),o(d)})),e.addEventListener("touchend",(function(e){e.preventDefault(),p.set(e.changedTouches[0].clientX,e.changedTouches[0].clientY),o(p)})),g(),function e(){var r;r=h.getDelta(),t.setRenderTarget(n),t.render(u,f),y.render(r),t.setRenderTarget(null),t.render(c,l),requestAnimationFrame(e)}()}},97531:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(2212),i=n(38314),o=n.n(i),a=n(89813),s=n(12390),c=n.n(s),u=n(97719),l=n(45695),f=n.n(l);function h(){var e,t,i,s,l,h,v,d,p=document.getElementById("canvas-webgl"),m=new r.WebGL1Renderer({antialias:!0,canvas:p}),y=new r.Scene,g=new u.Z(35,window.innerWidth/window.innerHeight,1,1e4),x=(new r.Clock,null),b=null,w=null,M=null,_=new r.DirectionalLight(16777215,1),S=new r.Scene,P=new u.Z(45,1,1,1e4),T=new r.WebGLRenderTarget(1200,1200),R=null,E=new r.Scene,z=new u.Z(45,1,1,1e4),L=new r.HemisphereLight(268435455,13421772,1),C=new r.WebGLRenderTarget(1200,1200),A=null,O=null,D=new(c()),I=function(){p.width=window.innerWidth,p.height=window.innerHeight,g.aspect=window.innerWidth/window.innerHeight,g.updateProjectionMatrix(),m.setSize(window.innerWidth,window.innerHeight),x.material.uniforms.resolution.value.set(window.innerWidth,window.innerHeight),R.material.uniforms.resolution.value.set(window.innerWidth,window.innerHeight)};m.setSize(window.innerWidth,window.innerHeight),m.setClearColor(15658734,0),g.position.set(1e3,1e3,1e3),g.lookAt(new r.Vector3),i=new r.Vector2,s=new r.Vector2,l=new r.Vector2,h=function(e,t,n){i.set(e,t),(0,a.Z)(i),D.anchor.set(2,30)},v=function(e,t,n){s.set(e,t),(0,a.Z)(s)},d=function(e,t,n){l.set(e,t),D.anchor.set(1,0)},window.addEventListener("resize",o()((function(){I()})),1e3),p.addEventListener("mousedown",(function(e){e.preventDefault(),h(e.clientX,e.clientY)})),p.addEventListener("mousemove",(function(e){e.preventDefault(),v(e.clientX,e.clientY)})),p.addEventListener("mouseup",(function(e){e.preventDefault(),d(e.clientX,e.clientY)})),p.addEventListener("touchstart",(function(e){e.preventDefault(),h(e.touches[0].clientX,e.touches[0].clientY)})),p.addEventListener("touchmove",(function(e){e.preventDefault(),v(e.touches[0].clientX,e.touches[0].clientY)})),p.addEventListener("touchend",(function(e){e.preventDefault(),d(e.changedTouches[0].clientX,e.changedTouches[0].clientY)})),window.addEventListener("mouseout",(function(){event.preventDefault(),l.set(0,0),D.anchor.set(1,0)})),D.anchor.set(1,0),z.force.position.anchor.set(1e3,300,0),z.force.look.anchor.set(0,0,0),e=new r.SphereGeometry(1e3,128,128),t=new r.ShaderMaterial({uniforms:{time:{type:"f",value:0}},vertexShader:n(19160).Z,fragmentShader:n(53944).Z,side:r.BackSide}),A=new r.Mesh(e,t),O=function(){for(var e=new r.BufferGeometry,t=[],i=0;i<2e3;i++)t.push(f().getRadian(f().getRandomInt(0,120)+120),f().getRadian(f().getRandomInt(0,3600)/10),f().getRandomInt(200,1e3));var o=new Float32Array(t);e.setAttribute("position",new r.BufferAttribute(o,3));var a=new r.ShaderMaterial({uniforms:{time:{type:"f",value:0}},vertexShader:n(14623).Z,fragmentShader:n(77644).Z});return new r.Points(e,a)}(),E.add(A),E.add(O),E.add(L),x=function(){for(var e=new r.BufferGeometry,t=[],i=[],o=0;o<32;o++){t.push(0,0,0);var a=f().getRadian(f().getRandomInt(0,360)),s=f().getRadian(f().getRandomInt(0,360)),c=f().getRadian(f().getRandomInt(0,360));i.push(a,s,c)}var u=new Float32Array(t);e.setAttribute("position",new r.BufferAttribute(u,3));var l=new Float32Array(i);e.setAttribute("radian",new r.BufferAttribute(l,3));var h=new r.ShaderMaterial({uniforms:{time:{type:"f",value:0},resolution:{type:"v2",value:new r.Vector2(window.innerWidth,window.innerHeight)},size:{type:"f",value:28},force:{type:"v2",value:D.velocity}},vertexShader:n(12978).Z,fragmentShader:n(28408).Z,transparent:!0,depthWrite:!1,blending:r.AdditiveBlending});return new r.Points(e,h)}(),S.add(x),P.position.set(0,0,3e3),P.force.look.anchor.set(0,0,0),R=function(){var e=new r.PlaneGeometry(1e3,1e3),t=new r.ShaderMaterial({uniforms:{time:{type:"f",value:0},resolution:{type:"v2",value:new r.Vector2(window.innerWidth,window.innerHeight)},texture:{type:"t",value:T.texture},texture2:{type:"t",value:C.texture}},vertexShader:n(8820).Z,fragmentShader:n(61187).Z,transparent:!0});return new r.Mesh(e,t)}(),y.add(R),b=function(){var e=new r.SphereGeometry(1200,64,64),t=new r.ShaderMaterial({uniforms:{time:{type:"f",value:0}},vertexShader:n(45582).Z,fragmentShader:n(27444).Z,side:r.BackSide});return new r.Mesh(e,t)}(),y.add(b),w=function(){var e=new r.SphereGeometry(1100,64,64),t=new r.MeshBasicMaterial({color:14540253,wireframe:!0});return new r.Mesh(e,t)}(),y.add(w),M=function(){for(var e=new r.SphereGeometry(2,4,4),t=e.attributes,i=new r.BufferGeometry,o=[],a=[],s=[],c=[],u=[],l=function(n){for(y=f().getRandomInt(300,1e3),v=f().getRadian(f().getRandomInt(0,3600)/10),d=f().getRandomInt(60,120)/100,p=0;p<t.position.array.length;p+=3)o.push(t.position.array[p+0],t.position.array[p+1],t.position.array[p+2]),a.push(y),s.push(v),c.push(d);e.index.array.map((function(e){u.push(e+n*t.position.array.length/3)}))},h=0;h<16;h++){var v,d,p;l(h)}var m=new Float32Array(o);i.setAttribute("position",new r.BufferAttribute(m,3));var y=new Float32Array(a);i.setAttribute("radius",new r.BufferAttribute(y,1));var g=new Float32Array(s);i.setAttribute("radian",new r.BufferAttribute(g,1));var x=new Float32Array(c);i.setAttribute("scale",new r.BufferAttribute(x,1));var b=new Uint32Array(u);i.setIndex(new r.BufferAttribute(b,1));var w=new r.ShaderMaterial({uniforms:r.UniformsUtils.merge([r.UniformsLib.lights,{time:{type:"f",value:0}}]),vertexShader:n(33176).Z,fragmentShader:n(5402).Z,lights:!0});return new r.Mesh(i,w)}(),y.add(M),_.position.set(0,1,0),y.add(_),g.force.position.anchor.set(1e3,300,0),g.force.look.anchor.set(0,0,0),I(),function e(){x.material.uniforms.time.value++,R.lookAt(g.position),R.material.uniforms.time.value++,A.material.uniforms.time.value++,O.material.uniforms.time.value++,w.rotation.y=x.material.uniforms.time.value/1e3,M.material.uniforms.time.value++,D.applyHook(0,.12),D.applyDrag(.18),D.updateVelocity(),g.force.position.applyHook(0,.025),g.force.position.applyDrag(.2),g.force.position.updateVelocity(),g.updatePosition(),g.force.look.anchor.y=100*Math.sin(x.material.uniforms.time.value/100),g.force.look.applyHook(0,.2),g.force.look.applyDrag(.4),g.updateLook(),z.force.position.applyHook(0,.1),z.force.position.applyDrag(.2),z.force.position.updateVelocity(),z.updatePosition(),z.force.look.applyHook(0,.2),z.force.look.applyDrag(.4),z.force.look.updateVelocity(),z.updateLook(),m.setRenderTarget(C),m.render(E,z),m.setRenderTarget(T),m.render(S,P),m.setRenderTarget(null),m.render(y,g),requestAnimationFrame(e)}()}},4625:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(89813),i=n(97719),o=n(33286),a=n.n(o),s=n(7318),c=n.n(s),u=n(45695),l=n.n(u),f=n(2212),h=n(38314);function v(){var e,t,o,s,u,v,d=document.getElementById("canvas-webgl"),p=new f.WebGL1Renderer({antialias:!0,canvas:d}),m=new f.Scene,y=new i.Z(35,window.innerWidth/window.innerHeight,1,1e4),g=(new f.Clock,2e4),x=[],b=new(c()),w=new Float32Array(6e4),M=new Float32Array(6e4),_=new Float32Array(g),S=new Float32Array(g),P=new f.Vector3(1.5,0,0),T=Date.now(),R=!1,E=function(){var e=document.createElement("canvas"),t=e.getContext("2d"),n=null,r=null;return e.width=256,e.height=256,(n=t.createRadialGradient(128,128,20,128,128,128)).addColorStop(.2,"rgba(255, 255, 255, 1)"),n.addColorStop(.5,"rgba(255, 255, 255, 0.3)"),n.addColorStop(1,"rgba(255, 255, 255, 0)"),t.fillStyle=n,t.arc(128,128,128,0,Math.PI/180,!0),t.fill(),(r=new f.Texture(e)).needsUpdate=!0,r},z=function(){d.width=window.innerWidth,d.height=window.innerHeight,y.aspect=window.innerWidth/window.innerHeight,y.updateProjectionMatrix(),p.setSize(window.innerWidth,window.innerHeight)};p.setSize(window.innerWidth,window.innerHeight),p.setClearColor(0,1),y.position.set(1e3,1e3,1e3),y.lookAt(new f.Vector3),e=new f.Vector2,t=new f.Vector2,o=new f.Vector2,s=function(t,n,i){e.set(t,n),(0,r.Z)(e),R=!0},u=function(e,n,i){t.set(e,n),(0,r.Z)(t),y.force.position.anchor.z=120*t.x,y.force.position.anchor.y=-120*t.y},v=function(e,t,n){o.set(e,t),y.force.position.anchor.z=0,y.force.position.anchor.y=0,R=!1},window.addEventListener("resize",h((function(){z()})),1e3),d.addEventListener("mousedown",(function(e){e.preventDefault(),s(e.clientX,e.clientY)})),d.addEventListener("mousemove",(function(e){e.preventDefault(),u(e.clientX,e.clientY)})),d.addEventListener("mouseup",(function(e){e.preventDefault(),v(e.clientX,e.clientY)})),d.addEventListener("touchstart",(function(e){e.preventDefault(),s(e.touches[0].clientX,e.touches[0].clientY)})),d.addEventListener("touchmove",(function(e){e.preventDefault(),u(e.touches[0].clientX,e.touches[0].clientY)})),d.addEventListener("touchend",(function(e){e.preventDefault(),v(e.changedTouches[0].clientX,e.changedTouches[0].clientY)})),window.addEventListener("mouseout",(function(){event.preventDefault(),o.set(0,0),y.force.position.anchor.z=0,y.force.position.anchor.y=0})),function(){for(var e=0;e<g;e++){var t=new(a()),r=l().getRandomInt(60,210),i=l().getRandomInt(30,90),o=new f.Color("hsl("+r+", "+i+"%, 50%)");t.init(new f.Vector3(l().getRandomInt(-100,100),0,0)),x.push(t),w[3*e+0]=t.velocity.x,w[3*e+1]=t.velocity.y,w[3*e+2]=t.velocity.z,o.toArray(M,3*e),_[e]=t.a,S[e]=t.size}b.init({scene:m,vs:n(99173).Z,fs:n(77911).Z,positions:w,colors:M,opacities:_,sizes:S,texture:E(),blending:f.AdditiveBlending}),y.force.position.anchor.set(800,0,0)}(),z(),function e(){R?P.x<6&&(P.x+=.02):P.x>1.5&&(P.x-=.1),function(){var e=0;if(Date.now()-T>16*P.x){for(var t=0;t<x.length;t++){var n=x[t];if(!n.is_active){var r=l().getRadian(3*l().getRandomInt(0,120)),i=Math.log(l().getRandomInt(2,128))/Math.log(128)*160+60,o=Math.sin(r)*i,a=Math.cos(r)*i,s=new f.Vector3(-1e3,o,a);if(s.add(b.velocity),n.activate(),n.init(s),n.a=0,n.size=l().getRandomInt(5,60),++e>=Math.pow(3*P.x,.4*P.x))break}}T=Date.now()}}(),function(){for(var e=0;e<x.length;e++){var t=x[e];t.is_active&&(t.time++,t.applyForce(P),t.applyDrag(.1),t.updateVelocity(),t.a<.8&&(t.a+=.02),t.velocity.x>1e3&&(t.init(new f.Vector3(0,0,0)),t.time=0,t.a=0,t.inactivate())),w[3*e+0]=t.velocity.x,w[3*e+1]=t.velocity.y,w[3*e+2]=t.velocity.z,_[e]=t.a,S[e]=t.size}b.updatePoints()}(),y.force.position.applyHook(0,.008),y.force.position.applyDrag(.1),y.force.position.updateVelocity(),y.updatePosition(),y.lookAtCenter(),p.render(m,y),requestAnimationFrame(e)}()}},91614:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(2212),i=n(38314),o=n.n(i),a=n(89813),s=n(33286),c=n.n(s),u=n(7318),l=n.n(u),f=n(97719),h=n(45695),v=n.n(h);function d(){var e,t,i,s,u,h,d,p=document.getElementById("canvas-webgl"),m=new r.WebGL1Renderer({antialias:!0,canvas:p}),y=new r.Scene,g=new f.Z(35,window.innerWidth/window.innerHeight,1,1e4),x=(new r.Clock,new Image),b=[],w=[],M=null,_=null,S=null,P=null,T=400,R=new(l()),E=!1,z=function(){var e=document.createElement("canvas"),t=e.getContext("2d"),n=null,i=null;return e.width=200,e.height=200,(n=t.createRadialGradient(100,100,20,100,100,100)).addColorStop(.2,"rgba(255, 255, 255, 1)"),n.addColorStop(.5,"rgba(255, 255, 255, 0.3)"),n.addColorStop(1,"rgba(255, 255, 255, 0)"),t.fillStyle=n,t.arc(100,100,100,0,Math.PI/180,!0),t.fill(),(i=new r.Texture(e)).minFilter=r.NearestFilter,i.needsUpdate=!0,i},L=function(){p.width=window.innerWidth,p.height=window.innerHeight,g.aspect=window.innerWidth/window.innerHeight,g.updateProjectionMatrix(),m.setSize(window.innerWidth,window.innerHeight)};m.setSize(window.innerWidth,window.innerHeight),m.setClearColor(1118481,1),g.position.set(1e3,1e3,1e3),g.lookAt(new r.Vector3),t=new r.Vector2,i=new r.Vector2,s=new r.Vector2,u=function(e,n,r){t.set(e,n),(0,a.Z)(t),function(){for(var e=0;e<w.length;e++){var t=w[e],n=v().getRadian(v().getRandomInt(0,360)),r=v().getRadian(v().getRandomInt(0,360)),i=v().getRandomInt(40,80);t.is_activate=!1,t.applyForce(v().getPolarCoord(n,r,i))}}()},h=function(e,t,n){i.set(e,t),(0,a.Z)(i),g.force.position.anchor.z=1e3*i.x,g.force.position.anchor.y=-1e3*i.y},d=function(e,t,n){s.set(e,t),g.force.position.anchor.z=0,g.force.position.anchor.y=0},window.addEventListener("resize",o()((function(){L()})),1e3),p.addEventListener("mousedown",(function(e){e.preventDefault(),u(e.clientX,e.clientY)})),p.addEventListener("mousemove",(function(e){e.preventDefault(),h(e.clientX,e.clientY)})),p.addEventListener("mouseup",(function(e){e.preventDefault(),d(e.clientX,e.clientY)})),p.addEventListener("touchstart",(function(e){e.preventDefault(),u(e.touches[0].clientX,e.touches[0].clientY)})),p.addEventListener("touchmove",(function(e){e.preventDefault(),h(e.touches[0].clientX,e.touches[0].clientY)})),p.addEventListener("touchend",(function(e){e.preventDefault(),d(e.changedTouches[0].clientX,e.changedTouches[0].clientY)})),window.addEventListener("mouseout",(function(){event.preventDefault(),s.set(0,0),g.force.position.anchor.z=0,g.force.position.anchor.y=0})),e=function(){!function(){var e=document.createElement("canvas"),t=e.getContext("2d");e.width=T,e.height=T,t.drawImage(x,0,0);for(var n=t.getImageData(0,0,T,T),r=0;r<T;r++)if(!(r%3>0))for(var i=0;i<T;i++)i%3>0||n.data[4*(i+r*T)]>0&&b.push(0,-1*(r-200),-1*(i-200))}(),function(e){M=new Float32Array(b),_=new Float32Array(b.length),S=new Float32Array(b.length/3),P=new Float32Array(b.length/3);for(var t=0;t<b.length/3;t++){var i=new(c()),o=new r.Color("hsl("+(b[3*t+2]+b[3*t+1]+T)/5+", 60%, 80%)");i.init(new r.Vector3(b[3*t],b[3*t+1],b[3*t+2])),i.is_activate=!0,w.push(i),o.toArray(_,3*t),S[t]=1,P[t]=12}R.init({scene:e,vs:n(99173).Z,fs:n(77911).Z,positions:M,colors:_,opacities:S,sizes:P,texture:z(),blending:r.NormalBlending}),E=!0}(y)},x.src="../img/sketch/image_data/elephant.png",x.onload=function(){e()},g.setPolarCoord(0,0,1400),L(),function e(){E&&(function(){for(var e=0;e<w.length;e++){var t=w[e];t.time++,t.acceleration.length()<1&&(t.is_activate=!0),t.is_activate?(t.applyHook(0,.18),t.applyDrag(.26)):t.applyDrag(.035),t.updateVelocity(),t.velocity.sub(R.velocity),M[3*e+0]=t.velocity.x-R.velocity.x,M[3*e+1]=t.velocity.y-R.velocity.x,M[3*e+2]=t.velocity.z-R.velocity.x,t.size=Math.log(v().getRandomInt(1,128))/Math.log(128)*Math.sqrt(document.body.clientWidth),P[e]=t.size}R.updatePoints()}(),R.updatePoints()),g.force.position.applyHook(0,.025),g.force.position.applyDrag(.2),g.force.position.updateVelocity(),g.updatePosition(),g.lookAtCenter(),m.render(y,g),requestAnimationFrame(e)}()}},60439:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return a}}),n(2212);var i=n(90887),o=n(17393),a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.camera=t,this.radian1=0,this.radian1Base=0,this.radian2=0,this.radian2Base=0,this.radius=2500,this.isZoom=!1}var t,n;return t=e,(n=[{key:"rotate",value:function(e,t){!0===this.isZoom&&(this.isZoom=!1),this.radian1=o.clamp(this.radian1Base+t,o.radians(-75),o.radians(75)),this.radian2=this.radian2Base-2*e}},{key:"zoom",value:function(e){e&&(!1===this.isZoom&&(this.isZoom=!0),this.radius,this.radius-=e/Math.abs(e)*200,this.radius=o.clamp(this.radius,700,8e3),this.radius)}},{key:"touchEnd",value:function(){this.radian1Base=this.radian1,this.radian2Base=this.radian2}},{key:"render",value:function(){this.camera.anchor=o.spherical(this.radian1,this.radian2,this.radius),this.camera.render()}},{key:"computeZoomLength",value:function(){return this.isZoom?.05*i.vec3.length(this.camera.acceleration):0}},{key:"computeAcceleration",value:function(){return.05*i.vec3.length(this.camera.acceleration)}}])&&r(t.prototype,n),e}()},90036:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return a}});var i=n(2212),o=n(17393),a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0},cubeTex:{type:"t",value:null}},this.instances=1e3,this.obj}var t,a;return t=e,(a=[{key:"init",value:function(e){this.uniforms.cubeTex.value=e,this.obj=this.createObj()}},{key:"createObj",value:function(){var e=new i.InstancedBufferGeometry,t=new i.BoxGeometry(10,10,10);e.copy(t);for(var r=new i.InstancedBufferAttribute(new Float32Array(3*this.instances),3),a=new i.InstancedBufferAttribute(new Float32Array(this.instances),1),s=new i.InstancedBufferAttribute(new Float32Array(3*this.instances),3),c=0,u=a.count;c<u;c++){var l=o.spherical(2*Math.random()*Math.PI,2*Math.random()*Math.PI,3e3*Math.random()+100);r.setXYZ(c,l[0],l[1],l[2]),a.setXYZ(c,100*Math.random()),s.setXYZ(c,Math.random()-.5,Math.random()-.5,Math.random()-.5)}return e.setAttribute("translate",r),e.setAttribute("offset",a),e.setAttribute("rotate",s),new i.InstancedMesh(e,new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(58702).Z,fragmentShader:n(7034).Z,transparent:!0,side:i.DoubleSide}),this.instances)}},{key:"render",value:function(e){this.uniforms.time.value+=e,this.obj&&(this.obj.instanceMatrix.needsUpdate=!0)}}])&&r(t.prototype,a),e}()},41442:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0},resolution:{type:"v2",value:new i.Vector2(document.body.clientWidth,window.innerHeight)},texture:{type:"t",value:t},strengthZoom:{type:"f",value:0},strengthGlitch:{type:"f",value:0}},this.obj=this.createObj()}var t,o;return t=e,(o=[{key:"createObj",value:function(){return new i.Mesh(new i.PlaneGeometry(2,2),new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(4998).Z,fragmentShader:n(64529).Z}))}},{key:"render",value:function(e){this.uniforms.time.value+=e}},{key:"resize",value:function(){this.uniforms.resolution.value.set(document.body.clientWidth,window.innerHeight)}}])&&r(t.prototype,o),e}()},22668:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0},cubeTex:{type:"t",value:null}},this.obj}var t,o;return t=e,(o=[{key:"init",value:function(e){this.uniforms.cubeTex.value=e,this.obj=this.createObj()}},{key:"createObj",value:function(){return new i.Mesh(new i.BoxGeometry(3e4,3e4,3e4,1,1,1),new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(70301).Z,fragmentShader:n(67965).Z,side:i.BackSide}))}},{key:"render",value:function(e){this.uniforms.time.value+=e}}])&&r(t.prototype,o),e}()},15758:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(2212),i=n(38314),o=n(89813).Z,a=n(97355).Z,s=n(60439).Z,c=n(90036).Z,u=n(22668).Z,l=n(41442).Z;function f(){var e=document.getElementById("canvas-webgl"),t=new r.WebGL1Renderer({antialias:!1,canvas:e,alpha:!0}),n=new r.WebGLRenderTarget(document.body.clientWidth,window.innerHeight),f=new r.Scene,h=new r.Scene,v=new r.OrthographicCamera(-1,1,1,-1,0,1),d=new a(45,document.body.clientWidth/window.innerHeight,1,1e5),p=new s(d),m=new r.Clock,y=new r.Vector2,g=new r.Vector2,x=new r.Vector2,b=!1,w=new r.CubeTextureLoader,M=new c,_=new u,S=new l(n.texture),P=function(){e.width=document.body.clientWidth,e.height=window.innerHeight,d.aspect=document.body.clientWidth/window.innerHeight,d.updateProjectionMatrix(),S.resize(),t.setSize(document.body.clientWidth,window.innerHeight),n.setSize(document.body.clientWidth,window.innerHeight)},T=function(e){b=!0},R=function(e){b&&p.rotate(y.x-g.x,y.y-g.y)},E=function(e){b=!1,p.touchEnd()};t.setSize(document.body.clientWidth,window.innerHeight),t.setClearColor(15658734,1),w.setPath("../static/image/instancing/").load(["cubemap_px.png","cubemap_nx.png","cubemap_py.png","cubemap_ny.png","cubemap_pz.png","cubemap_nz.png"],(function(e){M.init(e),_.init(e),f.add(S.obj),h.add(M.obj),h.add(_.obj)})),window.addEventListener("resize",i((function(){P()})),1e3),e.addEventListener("mousedown",(function(e){e.preventDefault(),y.set(e.clientX,e.clientY),o(y),T()})),document.addEventListener("mousemove",(function(e){e.preventDefault(),g.set(e.clientX,e.clientY),o(g),R()})),document.addEventListener("mouseup",(function(e){e.preventDefault(),x.set(e.clientX,e.clientY),o(x),E()})),e.addEventListener("wheel",(function(e){e.preventDefault(),function(e){p.zoom(e.deltaY)}(e)})),e.addEventListener("touchstart",(function(e){e.preventDefault(),y.set(e.touches[0].clientX,e.touches[0].clientY),o(y),T(e.touches[0].clientX,e.touches[0].clientY)})),e.addEventListener("touchmove",(function(e){e.preventDefault(),g.set(e.touches[0].clientX,e.touches[0].clientY),o(g),R()})),e.addEventListener("touchend",(function(e){e.preventDefault(),x.set(e.changedTouches[0].clientX,e.changedTouches[0].clientY),o(x),E()})),P(),function e(){var r;r=m.getDelta(),p.render(),M.render(r),_.render(r),S.render(r),S.uniforms.strengthZoom.value=p.computeZoomLength(),S.uniforms.strengthGlitch.value=p.computeAcceleration(),t.setRenderTarget(n),t.render(h,d),t.setRenderTarget(null),t.render(f,v),requestAnimationFrame(e)}()}},48501:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.vTouchStart=new i.Vector2,this.vPrev=new i.Vector2,this.v=new i.Vector2,this.a=new i.Vector2,this.anchor=new i.Vector2,this.isTouched=!1}var t,n;return t=e,(n=[{key:"touchStart",value:function(e){e.touches||e.preventDefault(),this.vPrev.copy(this.v),this.a.set(0,0),this.vTouchStart.set(e.touches?e.touches[0].clientX:e.clientX,e.touches?e.touches[0].clientY:e.clientY),this.isTouched=!0}},{key:"touchMove",value:function(e){var t=e.touches?e.touches[0].clientX:e.clientX,n=e.touches?e.touches[0].clientY:e.clientY;!1!==this.isTouched&&(this.anchor.set((t-this.vTouchStart.x)/10+this.vPrev.x,(n-this.vTouchStart.y)/10+this.vPrev.y),e.touches&&e.preventDefault())}},{key:"touchEnd",value:function(e){this.isTouched=!1,this.isDraging=!1}},{key:"render",value:function(){this.a.set((this.anchor.x-this.v.x)/10,(this.anchor.y-this.v.y)/10),this.v.add(this.a)}}])&&r(t.prototype,n),e}()},13490:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return s}});var i=n(2212),o=n(17393),a=n(91685),s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0},addH1:{type:"f",value:t-.5},addH2:{type:"f",value:t}},this.obj}var t,s;return t=e,(s=[{key:"createObj",value:function(){for(var e=new a(Math.random),t=new i.BoxGeometry(100,5,100,60,1,60),r=0;r<t.attributes.position.count;r++){var s=t.attributes.position.getX(r),c=t.attributes.position.getY(r),u=t.attributes.position.getZ(r),l=48*(.75*e.noise4D(s/80,c/80,u/80,1)+.25)+18*e.noise4D(s/48,c/32,u/32,1)+1.2*e.noise4D(s/6,c/6,u/6,1)+.6*e.noise4D(s/2,c/2,u/2,1),f=function(e,t,n){var r=o.clamp((n-0)/5,0,1);return r*r*(3-2*r)}(0,0,l),h=function(e,t){return t>=0?1:0}(0,c);t.attributes.position.setY(r,(c+l*f)*h)}var v=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(31382).Z,fragmentShader:n(72413).Z});this.obj=new i.Mesh(t,v)}},{key:"render",value:function(e){this.uniforms.time.value+=e}}])&&r(t.prototype,s),e}()},8189:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return a}});var i=n(2212),o=n(17393),a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0},addH:{type:"f",value:t-.5}},this.obj}var t,a;return t=e,(a=[{key:"createObj",value:function(){var e=new i.PlaneGeometry(100,100,60,60),t=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(40557).Z,fragmentShader:n(53822).Z,transparent:!0});this.obj=new i.Mesh(e,t),this.obj.translateY(8),this.obj.rotation.set(o.radians(-90),0,0)}},{key:"render",value:function(e){this.uniforms.time.value+=e}}])&&r(t.prototype,a),e}()},1867:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(2212),i=n(38314),o=n(17393),a=n(13490).Z,s=n(8189).Z,c=n(48501).Z;function u(){var e=new r.Vector2,t=document.getElementById("canvas-webgl"),n=new r.WebGL1Renderer({alpha:!0,antialias:!0,canvas:t}),u=new r.Scene,l=new r.PerspectiveCamera,f=new r.Clock({autoStart:!1});l.far=1e3,l.setFocalLength(50);var h,v,d,p=Math.random(),m=new a(p),y=new s(p),g=new r.Group,x=new c,b=function(){e.set(document.body.clientWidth,window.innerHeight),t.width=e.x,t.height=e.y,l.aspect=e.x/e.y,l.updateProjectionMatrix(),n.setSize(e.x,e.y)};n.setClearColor(15658734,1),l.position.set(0,0,300),l.lookAt(new r.Vector3(0,0,0)),m.createObj(),y.createObj(),g.add(m.obj),g.add(y.obj),u.add(g),h=function(e){x.touchStart(e)},v=function(e){x.touchMove(e)},d=function(e){x.touchEnd(e)},t.addEventListener("mousedown",h,{passive:!1}),window.addEventListener("mousemove",v,{passive:!1}),window.addEventListener("mouseup",d),t.addEventListener("touchstart",h,{passive:!1}),window.addEventListener("touchmove",v,{passive:!1}),window.addEventListener("touchend",d),window.addEventListener("resize",i(b,1e3)),b(),f.start(),function t(){var r;r=f.getDelta(),x.render(e),g.rotation.set(o.radians(x.v.y/e.x*1e3+45),o.radians(x.v.x/e.y*1e3-30),0),m.render(r),y.render(r),n.render(u,l),requestAnimationFrame(t)}()}},73262:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(2212),i=n(38314),o=n.n(i),a=n(89813),s=n(69338),c=n.n(s),u=n(97719),l=n(45695),f=n.n(l);function h(){var e=document.getElementById("canvas-webgl"),t=new r.WebGL1Renderer({antialias:!0,canvas:e}),i=new r.Scene,s=new u.Z(35,window.innerWidth/window.innerHeight,1,1e4),l=(new r.Clock,new r.Raycaster),h=null,v=new(c()),d=new(c()),p=null;v.mass=1.4;var m,y,g,x,b,w,M,_,S,P=(m=new r.PlaneGeometry(6,6),y=new r.ShaderMaterial({uniforms:{time:{type:"f",value:0},time2:{type:"f",value:0},acceleration:{type:"f",value:0},resolution:{type:"v2",value:new r.Vector2(window.innerWidth,window.innerHeight)}},vertexShader:n(30755).Z,fragmentShader:n(73845).Z,transparent:!0}),(g=new r.Mesh(m,y)).name="MetalCube",g),T=function(){var e=new r.OctahedronGeometry(30,4),t=new r.ShaderMaterial({uniforms:{time:{type:"f",value:0},acceleration:{type:"f",value:0}},vertexShader:n(30958).Z,fragmentShader:n(12294).Z,side:r.BackSide}),i=new r.Mesh(e,t);return i.name="Background",i}(),R=function(){e.width=window.innerWidth,e.height=window.innerHeight,s.aspect=window.innerWidth/window.innerHeight,s.updateProjectionMatrix(),t.setSize(window.innerWidth,window.innerHeight),P.material.uniforms.resolution.value.set(window.innerWidth,window.innerHeight)};t.setSize(window.innerWidth,window.innerHeight),t.setClearColor(15658734,1),s.position.set(1e3,1e3,1e3),s.lookAt(new r.Vector3),x=new r.Vector2,b=new r.Vector2,w=new r.Vector2,M=function(e,t,n){x.set(e,t),(0,a.Z)(x)},_=function(e,t,n){b.set(e,t),(0,a.Z)(b),p=b},S=function(e,t,n){w.set(e,t)},window.addEventListener("resize",o()((function(){R()})),1e3),e.addEventListener("mousedown",(function(e){e.preventDefault(),M(e.clientX,e.clientY)})),e.addEventListener("mousemove",(function(e){e.preventDefault(),_(e.clientX,e.clientY)})),e.addEventListener("mouseup",(function(e){e.preventDefault(),S(e.clientX,e.clientY)})),e.addEventListener("touchstart",(function(e){e.preventDefault(),M(e.touches[0].clientX,e.touches[0].clientY)})),e.addEventListener("touchmove",(function(e){e.preventDefault(),_(e.touches[0].clientX,e.touches[0].clientY)})),e.addEventListener("touchend",(function(e){e.preventDefault(),S(e.changedTouches[0].clientX,e.changedTouches[0].clientY)})),window.addEventListener("mouseout",(function(){event.preventDefault(),w.set(0,0)})),i.add(P),i.add(T),s.setPolarCoord(0,f().getRadian(90),24),R(),function e(){!function(e,t,n){v.acceleration.length()>.1||!n||(l.setFromCamera(n,t),(h=l.intersectObjects(e.children)[0])&&"MetalCube"==h.object.name&&(v.anchor.copy(f().getPolarCoord(f().getRadian(f().getRandomInt(-20,20)),f().getRadian(f().getRandomInt(0,360)),f().getRandomInt(30,90)/10)),d.applyForce(new r.Vector3(1,0,0))))}(i,s,p),v.applyHook(0,.12),v.applyDrag(.01),v.updateVelocity(),d.applyHook(0,.005),d.applyDrag(.2),d.updateVelocity(),P.position.copy(v.velocity),P.material.uniforms.time.value++,P.material.uniforms.time2.value+=1+Math.floor(4*v.acceleration.length()),P.material.uniforms.acceleration.value=v.acceleration.length(),T.material.uniforms.time.value++,T.material.uniforms.acceleration.value=d.velocity.length(),s.force.position.applyHook(0,.025),s.force.position.applyDrag(.2),s.force.position.updateVelocity(),s.updatePosition(),s.lookAtCenter(),t.render(i,s),requestAnimationFrame(e)}()}},56600:function(e,t,n){"use strict";n.d(t,{Z:function(){return Q}});var r=n(2212),i=n(48840),o=n(42238),a=n.n(o),s=n(38314),c=n.n(s),u=n(29130),l=n.n(u),f=n(17393),h=n.n(f);function v(e){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t){return!t||"object"!==v(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(c,e);var t,i,o,a,s=(o=c,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=y(o);if(a){var n=y(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return m(this,e)});function c(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);var i=new r.RawShaderMaterial({uniforms:{time:{type:"f",value:-2},drawBrightOnly:{type:"f",value:0},dissolveEdge:{type:"f",value:0}},vertexShader:n(30673).Z,fragmentShader:n(32450).Z,transparent:!0});return(t=s.call(this,e,i)).v=new r.Vector3(0,0,0),t.a=new r.Vector3,t.anchor=new r.Vector3(0,0,0),t.sv=new r.Vector3(0,0,0),t.sa=new r.Vector3,t.sanchor=new r.Vector3(0,0,0),t.isOvered=!1,t.isCoolDowned=!1,t}return t=c,(i=[{key:"rotate",value:function(e,t){this.anchor.set(e,t,0)}},{key:"render",value:function(e,t){this.material.uniforms.time.value+=e,this.material.uniforms.dissolveEdge.value=.0055*t,this.a.copy(this.anchor).sub(this.v).divideScalar(10),this.v.add(this.a),this.rotation.setFromVector3(this.v),this.sa.copy(this.sanchor).sub(this.sv).divideScalar(10),!1===this.isOvered&&this.sa.addScalar(.2*t),this.sv.add(this.sa);var n=.005*(this.sv.length()+1),r=5e-4*this.sv.length()+1;!1===this.isCoolDowned&&(this.scale.set(r,r,r),this.position.set((2*Math.random()-1)*n,(2*Math.random()-1)*n,(2*Math.random()-1)*n))}},{key:"over",value:function(){this.isOvered=!0}},{key:"coolDown",value:function(){this.isOvered=!1,this.isCoolDowned=!0}},{key:"returnFirstState",value:function(){this.sv.set(0,0,0),this.sa.set(0,0,0),this.isCoolDowned=!1}}])&&d(t.prototype,i),c}(r.Mesh);function x(e){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function b(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function M(e,t){return(M=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(e,t){return!t||"object"!==x(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var P=new r.TextureLoader,T=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&M(e,t)}(l,e);var t,i,o,a,s,c,u=(s=l,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=S(s);if(c){var n=S(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return _(this,e)});function l(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l);var t=new r.PlaneGeometry(36,36),i=new r.RawShaderMaterial({uniforms:{time:{type:"f",value:0},time2:{type:"f",value:0},tex:{type:"t",value:null},drawBrightOnly:{type:"f",value:0}},vertexShader:n(59751).Z,fragmentShader:n(71949).Z,transparent:!0});return(e=u.call(this,t,i)).position.z=40,e.isOver=!1,e}return t=l,(i=[{key:"loadTexture",value:(o=regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,P.loadAsync("/sketch-threejs/img/sketch/newyear2019/typo.png");case 2:this.material.uniforms.tex.value=e.sent;case 3:case"end":return e.stop()}}),e,this)})),a=function(){var e=this,t=arguments;return new Promise((function(n,r){var i=o.apply(e,t);function a(e){b(i,n,r,a,s,"next",e)}function s(e){b(i,n,r,a,s,"throw",e)}a(void 0)}))},function(){return a.apply(this,arguments)})},{key:"render",value:function(e){this.material.uniforms.time.value+=e,!0===this.isOver&&(this.material.uniforms.time2.value+=e)}},{key:"over",value:function(e){this.material.uniforms.time2.value=0,this.isOver=!0}},{key:"coolDown",value:function(){this.isOver=!1}}])&&w(t.prototype,i),l}(r.Mesh);function R(e){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function z(e,t){return(z=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function L(e,t){return!t||"object"!==R(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var A=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&z(e,t)}(c,e);var t,i,o,a,s=(o=c,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=C(o);if(a){var n=C(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return L(this,e)});function c(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);var t=new r.InstancedBufferGeometry,i=new r.PlaneGeometry(1.2,1.2);t.copy(i);for(var o=new r.InstancedBufferAttribute(new Float32Array(1800),3),a=new r.InstancedBufferAttribute(new Float32Array(1800),3),u=new r.InstancedBufferAttribute(new Float32Array(1800),3),l=new r.InstancedBufferAttribute(new Float32Array(600),1),f=0;f<600;f++){var v=h().radians(360*Math.random()),d=50*Math.random()+25;o.setXYZ(f,Math.cos(v)*d,Math.sin(v)*d,250*Math.random()-150),f%2==1?a.setXYZ(f,.8,.1,.1):a.setXYZ(f,1,1,1),u.setXYZ(f,h().radians(360*Math.random()),h().radians(360*Math.random()),h().radians(360*Math.random())),l.setXYZ(f,Math.random())}t.setAttribute("iPosition",o),t.setAttribute("iColor",a),t.setAttribute("iRotate",u),t.setAttribute("iDelay",l);var p=new r.RawShaderMaterial({uniforms:{time:{type:"f",value:0}},vertexShader:n(58259).Z,fragmentShader:n(94914).Z,side:r.DoubleSide,transparent:!0});return(e=s.call(this,t,p,600)).name="InstanceMesh",e.frustumCulled=!1,e.isOver=!1,e}return t=c,(i=[{key:"render",value:function(e){!0===this.isOver&&(this.material.uniforms.time.value+=e)}},{key:"over",value:function(e){this.material.uniforms.time.value=0,this.isOver=!0}},{key:"coolDown",value:function(){this.isOver=!1}}])&&E(t.prototype,i),c}(r.InstancedMesh);function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function D(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(e,t){return!t||"object"!==O(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var j=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I(e,t)}(c,e);var t,i,o,a,s=(o=c,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=F(o);if(a){var n=F(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return k(this,e)});function c(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);var t=new r.SphereGeometry(100,128,128),i=new r.RawShaderMaterial({uniforms:{time:{type:"f",value:0}},vertexShader:n(37581).Z,fragmentShader:n(9628).Z,side:r.BackSide,depthWrite:!1});return(e=s.call(this,t,i)).position.y=16,e.isOvered=!1,e}return t=c,(i=[{key:"render",value:function(e){!0===this.isOvered?this.material.uniforms.time.value+=e:this.material.uniforms.time.value-=e,this.material.uniforms.time.value=h().clamp(this.material.uniforms.time.value,0,.8)}},{key:"over",value:function(){this.material.uniforms.time.value=0,this.isOvered=!0}},{key:"coolDown",value:function(){this.material.uniforms.time.value=.2,this.isOvered=!1}}])&&D(t.prototype,i),c}(r.Mesh);function U(e){return(U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function B(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function G(e,t){return(G=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function N(e,t){return!t||"object"!==U(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function H(e){return(H=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var V=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&G(e,t)}(c,e);var t,i,o,a,s=(o=c,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=H(o);if(a){var n=H(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return N(this,e)});function c(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);var i=new r.PlaneGeometry(2,2),o=new r.RawShaderMaterial({uniforms:{time:{type:"f",value:0},texture1:{type:"t",value:e},texture2:{type:"t",value:t},resolution:{type:"v2",value:new r.Vector2}},vertexShader:n(7799).Z,fragmentShader:n(35382).Z});return s.call(this,i,o)}return t=c,(i=[{key:"resize",value:function(e,t){this.material.uniforms.resolution.value.set(e,t)}},{key:"render",value:function(e){this.material.uniforms.time.value+=e}}])&&B(t.prototype,i),c}(r.Mesh);function W(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function Z(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var q=document.querySelector(".l-page"),Y=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.os=t,this.btn=document.querySelector(".p-hold-button"),this.progress=document.querySelector(".p-hold-button__progress-in"),this.v=0,this.a=0,this.cv=new r.Vector2,this.ca=new r.Vector2,this.timeOver=0,this.state=0,this.isHolding=!1,this.isEnabled=!1}var t,n,i,o;return t=e,(n=[{key:"start",value:function(e){this.isEnabled=!0,"iOS"===this.os||"Android"===this.os?this.btn.classList.add("is-enabled","is-shown","is-smartphone"):(this.cv.set(e.x/2,e.y),this.btn.classList.add("is-pc"))}},{key:"on",value:function(e,t){var n=this;"iOS"===this.os||"Android"===this.os?(this.btn.addEventListener("touchstart",(function(e){e.preventDefault(),0===n.state&&(n.btn.classList.add("is-pressed"),n.btn.classList.remove("is-released"),n.isHolding=!0)}),{capture:!0}),this.btn.addEventListener("touchend",(function(e){e.preventDefault(),n.a=0,n.btn.classList.remove("is-pressed"),n.btn.classList.add("is-released"),n.isHolding=!1}),{capture:!0})):(e.addEventListener("mousedown",(function(t){t.preventDefault(),0===n.state&&(e.style="cursor: grabbing;",n.btn.classList.add("is-pressed"),n.btn.classList.remove("is-released"),n.isHolding=!0)}),{capture:!0}),window.addEventListener("mousemove",(function(r){!1===n.isHolding&&(e.style="cursor: grab;"),t.set(r.clientX,r.clientY)})),window.addEventListener("mouseup",(function(e){e.preventDefault(),n.a=0,n.btn.classList.remove("is-pressed"),n.btn.classList.add("is-released"),n.isHolding=!1}),{capture:!0}),e.addEventListener("mouseenter",(function(){n.btn.classList.add("is-shown"),n.btn.classList.remove("is-hidden")})),q.addEventListener("mouseleave",(function(){n.a=0,n.btn.classList.remove("is-shown","is-pressed","is-released"),n.btn.classList.add("is-hidden"),n.isHolding=!1})))}},{key:"render",value:(i=regeneratorRuntime.mark((function e(t,n){var r,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!1!==this.isEnabled){e.next=2;break}return e.abrupt("return");case 2:"iOS"!==this.os&&"Android"!==this.os&&(r=n.clone().sub(this.cv),this.ca.add(r.divideScalar(12)),i=this.ca.clone().multiplyScalar(-1).normalize().multiplyScalar(.28*this.ca.length()),this.ca.add(i),this.cv.add(this.ca),this.btn.style="transform: translate3d(".concat(this.cv.x+8,"px, ").concat(this.cv.y+8,"px, 0)")),0!==this.state&&2!==this.state||(!0===this.isHolding?this.a=(1.4*this.v+1)*t:this.a=-3*this.v*t,this.v+=this.a,this.v=h().clamp(this.v,0,100),this.progress.style="transform: skewX(-45deg) translateX(".concat(50-this.v,"%);")),e.t0=this.state,e.next=0===e.t0?7:1===e.t0?17:2===e.t0?25:33;break;case 7:if(!(this.v<100)){e.next=11;break}return e.abrupt("return",0);case 11:return this.state=1,this.a=0,this.btn.classList.remove("is-pressed"),this.btn.classList.add("is-released"),this.isHolding=!1,e.abrupt("return",1);case 17:if(this.timeOver+=t,!(this.timeOver<5)){e.next=22;break}return e.abrupt("return",2);case 22:return this.timeOver=0,this.state=2,e.abrupt("return",3);case 25:if(!(this.v>.5)){e.next=29;break}return e.abrupt("return",4);case 29:return this.state=0,this.v=0,this.a=0,e.abrupt("return",5);case 33:case"end":return e.stop()}}),e,this)})),o=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){W(o,n,r,a,s,"next",e)}function s(e){W(o,n,r,a,s,"throw",e)}a(void 0)}))},function(e,t){return o.apply(this,arguments)})}])&&Z(t.prototype,n),e}();function X(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function K(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){X(o,r,i,a,s,"next",e)}function s(e){X(o,r,i,a,s,"throw",e)}a(void 0)}))}}function Q(){return J.apply(this,arguments)}function J(){return(J=K(regeneratorRuntime.mark((function e(){var t,n,o,s,u,f,v,d,p,m,y,x,b,w,M,_,S,P,R,E,z,L,C,O,D,I,k,F;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=new(a()),n=t.getOS().name,o=new r.Vector2,s=new r.Vector2,u=document.getElementById("canvas-webgl"),f=new r.WebGL1Renderer({alpha:!0,antialias:!0,canvas:u}),v=new r.Scene,d=new r.PerspectiveCamera,p=new r.Clock({autoStart:!1}),m=new i.L,y=new r.WebGLRenderTarget,x=new r.WebGLRenderTarget,b=new r.Scene,w=new r.OrthographicCamera(-1,1,1,-1,1,2),M=document.querySelector(".p-preloader"),_=null,S=new T,P=new A,R=new j,E=new V(y.texture,x.texture),z=new Y(n),L=function(){if(!1!==p.running){var e=p.getDelta();z.render(e,s).then((function(e){switch(e){case 1:_.over(),S.over(),P.over(),R.over();break;case 3:_.coolDown(),R.coolDown();break;case 5:_.returnFirstState(),S.coolDown(),P.coolDown()}})),_.render(e,z.v),S.render(e),P.render(e),R.render(e),_.material.uniforms.drawBrightOnly.value=0,S.material.uniforms.drawBrightOnly.value=0,P.visible=!0,R.visible=!0,f.setRenderTarget(y),f.render(v,d),_.material.uniforms.drawBrightOnly.value=1,S.material.uniforms.drawBrightOnly.value=1,P.visible=!1,R.visible=!1,f.setRenderTarget(x),f.render(v,d),E.render(e),f.setRenderTarget(null),f.render(b,w)}},C=function e(){L(),requestAnimationFrame(e)},O=function(){d.setFocalLength(50*Math.min(o.x/1200,1)*h().step(1,o.x/o.y)+50*Math.min(o.x/818,1)*h().step(1,o.y/o.x)),d.setViewOffset(1200,800,(o.x-1200)/-2,(o.y-800)/-2,o.x,o.y),d.updateProjectionMatrix()},D=function(){o.set(document.body.clientWidth,window.innerHeight),u.width=o.x,u.height=o.y,O(),f.setSize(o.x,o.y),y.setSize(o.x,o.y),x.setSize(o.x,o.y),E.resize(o.x,o.y)},I=function(){window.addEventListener("blur",(function(){p.stop(),z.isEnabled=!1})),window.addEventListener("focus",(function(){p.start(),z.isEnabled=!0})),window.addEventListener("resize",c()(D,100)),"iOS"===n||"Android"===n?window.addEventListener("deviceorientation",(function(e){var t=h().radians(.3*(90-e.beta)),n=h().radians(e.gamma)*Math.cos(h().radians(e.beta));_.rotate(t,n)})):(window.addEventListener("mousemove",(function(e){_.rotate(h().radians(-20*-(e.clientY/o.y*2-1)),h().radians(20*(e.clientX/o.x*2-1)))})),window.addEventListener("mouseout",(function(e){_.rotate(0,0)}))),z.on(u,s)},f.setClearColor(0,1),d.aspect=1.5,d.far=1e3,d.position.z=140,d.lookAt(new r.Vector3),e.next=33,m.loadAsync("/sketch-threejs/model/newyear2019/boar_head.obj");case 33:return k=e.sent,F=k.children[0].geometry,_=new g(F),e.next=38,S.loadTexture();case 38:return v.add(_),v.add(S),v.add(P),v.add(R),b.add(E),I(),D(),s.set(o.x/2,1.5*o.y),M.classList.add("is-hidden"),e.next=49,l()(200);case 49:z.start(o),p.start(),C();case 52:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},87420:function(e,t,n){"use strict";n.d(t,{Z:function(){return U}});var r=n(2212),i=n(38314),o=n.n(i),a=(n(29130),n(17393)),s=n.n(a);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=new r.Vector2,d=new r.Vector3,p=new r.Vector3,m=function(e){var t=e.fov*Math.PI/180,n=Math.abs(e.position.z*Math.tan(t/2)*2);v.set(n*e.aspect,n)},y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(c,e);var t,n,i,o,a=(i=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=h(i);if(o){var n=h(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return f(this,e)});function c(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);var n=new r.BufferGeometry,i=new r.BufferAttribute(new Float32Array(300),3),o=new r.BufferAttribute(new Float32Array(300),3),u=new r.BufferAttribute(new Float32Array(100),1);m(e);for(var l=0;l<100;l++){i.setXYZ(l,v.x*(Math.random()-.5),v.y*(Math.random()-.5),0);var f=6*Math.random()+1,h=s().radians(360*Math.random());o.setXYZ(l,Math.cos(h)*(.1-.01*f),Math.sin(h)*(.1-.01*f),0),u.setX(l,f)}n.setAttribute("position",i),n.setAttribute("acceralation",o),n.setAttribute("size",u);var d=new r.RawShaderMaterial({uniforms:{time:{type:"f",value:0}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute float size;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\n\nvoid main() {\n // coordinate transformation\n vec4 mvPosition = viewMatrix * modelMatrix * vec4(position, 1.0);\n\n gl_Position = projectionMatrix * mvPosition;\n gl_PointSize = 5.0 + size;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nvoid main() {\n // Convert PointCoord to the other vec2 has a range from -1.0 to 1.0.\n vec2 p = gl_PointCoord * 2.0 - 1.0;\n\n // Draw circle\n float radius = length(p);\n float opacity = (1.0 - smoothstep(0.9, 1.0, radius));\n\n vec3 color = vec3(0.1);\n\n gl_FragColor = vec4(color, opacity);\n}\n",transparent:!0,depthTest:!1});return(t=a.call(this,n,d)).name="NodePoints",t}return t=c,(n=[{key:"start",value:function(){}},{key:"update",value:function(e,t){m(t);for(var n=0;n<100;n++)d.set(this.geometry.attributes.position.getX(n),this.geometry.attributes.position.getY(n),this.geometry.attributes.position.getZ(n)),p.set(this.geometry.attributes.acceralation.getX(n),this.geometry.attributes.acceralation.getY(n),this.geometry.attributes.acceralation.getZ(n)),d.add(p),d.x>=.6*v.x?d.x=.6*-v.x:d.x<-.6*v.x&&(d.x=.6*v.x),d.y>=.6*v.y?d.y=.6*-v.y:d.y<-.6*v.y&&(d.y=.6*v.y),this.geometry.attributes.position.setXYZ(n,d.x,d.y,d.z),this.geometry.attributes.acceralation.setXYZ(n,p.x,p.y,p.z);this.geometry.attributes.position.needsUpdate=!0,this.geometry.attributes.acceralation.needsUpdate=!0}}])&&u(t.prototype,n),c}(r.Points);function g(e){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function x(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function w(e,t){return!t||"object"!==g(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function M(e){return(M=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _=new r.Vector2,S=new r.Vector3,P=new r.Vector3,T=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=M(i);if(o){var n=M(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return w(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);for(var t=new r.BufferGeometry,n=new r.BufferAttribute(new Float32Array(6e3),3),i=new r.BufferAttribute(new Float32Array(2e3),1),o=[],c=0;c<2e3;c++)o.push(c);t.setAttribute("position",n),t.setAttribute("opacity",i),t.setIndex(new r.BufferAttribute(new Uint16Array(o),1));var u=new r.RawShaderMaterial({vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute float opacity;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\n\nvarying float vOpacity;\n\nvoid main(void) {\n // coordinate transformation\n vec4 mPosition = modelMatrix * vec4(position, 1.0);\n\n vOpacity = opacity;\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nvarying float vOpacity;\n\nvoid main() {\n vec3 color = vec3(0.1);\n\n gl_FragColor = vec4(color, vOpacity);\n}\n",transparent:!0,depthTest:!1,linewidth:1});return(e=a.call(this,t,u)).name="NodeLine",e}return t=s,(n=[{key:"start",value:function(){}},{key:"update",value:function(e,t){!function(e){var t=e.fov*Math.PI/180,n=Math.abs(e.position.z*Math.tan(t/2)*2);_.set(n*e.aspect,n)}(t);for(var n=0,r=0;r<e.geometry.attributes.position.count;r++)for(var i=r+1;i<e.geometry.attributes.position.count;i++){S.set(e.geometry.attributes.position.getX(r),e.geometry.attributes.position.getY(r),e.geometry.attributes.position.getZ(r)),P.set(e.geometry.attributes.position.getX(i),e.geometry.attributes.position.getY(i),e.geometry.attributes.position.getZ(i));var o=S.distanceTo(P);o<.15*_.y&&(this.geometry.attributes.position.setXYZ(2*n,S.x,S.y,S.z),this.geometry.attributes.position.setXYZ(2*n+1,P.x,P.y,P.z),this.geometry.attributes.opacity.setXYZ(2*n,3-o),this.geometry.attributes.opacity.setXYZ(2*n+1,3-o),n++)}for(var a=2*(n+1);a<this.geometry.attributes.position.count;a++)this.geometry.attributes.position.setXYZ(a,0,0,0);this.geometry.attributes.position.needsUpdate=!0,this.geometry.attributes.opacity.needsUpdate=!0}}])&&x(t.prototype,n),s}(r.LineSegments);function R(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var z,L,C=document.getElementById("canvas-webgl"),A=new r.WebGL1Renderer({alpha:!0,antialias:!0,canvas:C}),O=new r.Scene,D=new r.PerspectiveCamera,I=(new r.Vector2,new r.Clock({autoStart:!1})),k=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i,o;return t=e,(n=[{key:"init",value:(i=regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:A.setClearColor(16762368,1),D.aspect=1.5,D.far=1e3,D.setFocalLength(50),D.position.set(0,0,50),D.lookAt(new r.Vector3),z=new y(D),L=new T,O.add(z),O.add(L),this.resize(t);case 11:case"end":return e.stop()}}),e,this)})),o=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){R(o,n,r,a,s,"next",e)}function s(e){R(o,n,r,a,s,"throw",e)}a(void 0)}))},function(e){return o.apply(this,arguments)})},{key:"start",value:function(){this.play()}},{key:"stop",value:function(){this.pause()}},{key:"play",value:function(){I.start()}},{key:"pause",value:function(){I.stop()}},{key:"update",value:function(){if(!1!==I.running){var e=I.getDelta();z.update(e,D),L.update(z,D),A.render(O,D)}}},{key:"resize",value:function(e){C.width=e.x,C.height=e.y,function(e){D.aspect=e.x/e.y,D.updateProjectionMatrix()}(e),A.setSize(e.x,e.y)}}])&&E(t.prototype,n),e}();function F(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function j(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){F(o,r,i,a,s,"next",e)}function s(e){F(o,r,i,a,s,"throw",e)}a(void 0)}))}}function U(){return B.apply(this,arguments)}function B(){return(B=j(regeneratorRuntime.mark((function e(){var t,n,i,a,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=new k,n=new r.Vector2,i=document.querySelector(".p-preloader"),a=function(){n.set(document.body.clientWidth,window.innerHeight),t.resize(n)},s=function e(){t.update(),requestAnimationFrame(e)},window.addEventListener("resize",o()(a,100)),a(),e.next=10,t.init(n);case 10:i.classList.add("is-hidden"),t.start(),s();case 13:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},90339:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=(n(17393),function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0}},this.obj}var t,o;return t=e,(o=[{key:"createObj",value:function(){var e=new i.SphereGeometry(1e4,128,128),t=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(67127).Z,fragmentShader:n(17203).Z,side:i.BackSide});this.obj=new i.Mesh(e,t)}},{key:"render",value:function(e){this.uniforms.time.value+=e}}])&&r(t.prototype,o),e}())},46384:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return a}});var i=n(2212),o=n(17393),a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.durationTransform=.8,this.uniforms={time:{type:"f",value:0},timeTransform:{type:"f",value:this.durationTransform},durationTransform:{type:"f",value:this.durationTransform},prevIndex:{type:"f",value:1},nextIndex:{type:"f",value:0}},this.isTransform=!1,this.obj,this.objWire=null,this.objPoints=null}var t,a;return t=e,(a=[{key:"createObj",value:function(e){var t={font:e,size:300,height:0,curveSegments:1},r=[new i.TextGeometry("HELLO",t),new i.TextGeometry("WORLD",t)],o=new i.BufferGeometry,a=0;r.map((function(e,t){e.center(),e.attributes.position.count>a&&(a=e.attributes.position.count)})),r.map((function(e,t){var n=t>0?t+1:"";if(e.attributes.position.count<a){for(var r=e.attributes.position.array,s=[],c=[],u=0;u<3*a;u+=3)if(u<(3*a-r.length)/2)s[u]=700*(2*Math.random()-1),s[u+1]=250*(2*Math.random()-1),s[u+2]=250*(2*Math.random()-1),c[u/3]=0;else if(u>=r.length+(3*a-r.length)/2)s[u]=700*(2*Math.random()-1),s[u+1]=250*(2*Math.random()-1),s[u+2]=250*(2*Math.random()-1),c[u/3]=0;else{var l=u-(3*a-r.length)/2;s[u]=e.attributes.position.array[l],s[u+1]=e.attributes.position.array[l+1],s[u+2]=e.attributes.position.array[l+2],c[u/3]=1}o.setAttribute("position".concat(n),new i.Float32BufferAttribute(s,3,1)),o.setAttribute("opacity".concat(n),new i.Float32BufferAttribute(c,1,1))}else{var f=[];for(u=0;u<a;u++)f[u]=1;o.setAttribute("position".concat(n),e.attributes.position),o.setAttribute("opacity".concat(n),new i.Float32BufferAttribute(f,1,1)),o.setAttribute("normal",e.attributes.normal),o.setAttribute("uv",e.attributes.uv),o.setIndex(e.index)}}));var s=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(58764).Z,fragmentShader:n(55643).Z,depthWrite:!1,transparent:!0}),c=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(58764).Z,fragmentShader:n(85530).Z,depthWrite:!1,transparent:!0,wireframe:!0}),u=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(99886).Z,fragmentShader:n(37094).Z,depthWrite:!1,transparent:!0});this.obj=new i.Mesh(o,s),this.objWire=new i.Mesh(o,c),this.objPoints=new i.Points(o,u)}},{key:"transform",value:function(){this.isTransform=!0,this.uniforms.timeTransform.value=0,this.uniforms.prevIndex.value=this.uniforms.prevIndex.value<1?this.uniforms.prevIndex.value+1:0,this.uniforms.nextIndex.value=this.uniforms.nextIndex.value<1?this.uniforms.nextIndex.value+1:0}},{key:"render",value:function(e){this.uniforms.time.value+=e,this.isTransform&&(this.uniforms.timeTransform.value=o.clamp(this.uniforms.timeTransform.value+e,0,this.durationTransform)),this.uniforms.timeTransform.value===this.durationTransform&&(this.isTransform=!1)}}])&&r(t.prototype,a),e}()},49363:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(2212),i=n(38314),o=n(46384).Z,a=n(90339).Z;function s(){var e=new r.Vector2,t=document.getElementById("canvas-webgl"),n=new r.WebGL1Renderer({alpha:!0,antialias:!0,canvas:t}),s=new r.Scene,c=new r.PerspectiveCamera,u=new r.Clock,l=new r.FontLoader;c.far=5e4,c.setFocalLength(24);var f=new o,h=new a,v=function e(){var t;t=u.getDelta(),f.render(t),n.render(s,c),requestAnimationFrame(e)},d=function(){e.set(document.body.clientWidth,window.innerHeight),t.width=e.x,t.height=e.y,c.aspect=e.x/e.y,c.updateProjectionMatrix(),n.setSize(e.x,e.y)};l.load("https://threejs.org/examples/fonts/helvetiker_bold.typeface.json",(function(e){f.createObj(e),h.createObj(),s.add(f.objWire),s.add(f.objPoints),s.add(h.obj),n.setClearColor(1118481,1),c.position.set(0,0,1e3),c.lookAt(new r.Vector3),u.start(),window.addEventListener("resize",i(d,1e3)),window.addEventListener("click",(function(){f.transform()})),d(),v()}))}},52262:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return a}});var i=n(2212),o=n(46365).Z,a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0},velocity:{type:"t",value:null},acceleration:{type:"t",value:null}},this.physicsRenderer=null,this.vectorTouchMove=new i.Vector2(0,0),this.vectorTouchMoveDiff=new i.Vector2(0,0),this.obj}var t,a;return t=e,(a=[{key:"init",value:function(e){this.obj=this.createObj(e)}},{key:"createObj",value:function(e){for(var t=window.innerWidth>768?200:150,r=new i.OctahedronGeometry(100,t),a=r.attributes.position.array,s=[],c=0;c<a.length;c+=3)s[c+0]=a[c+0]+10*(2*Math.random()-1),s[c+1]=a[c+1]+10*(2*Math.random()-1),s[c+2]=a[c+2]+10*(2*Math.random()-1);return this.physicsRenderer=new o(n(30231).Z,n(31180).Z,n(50474).Z,n(60791).Z),this.physicsRenderer.init(e,s),this.physicsRenderer.mergeAUniforms({vTouchMove:{type:"v2",value:this.vectorTouchMoveDiff}}),this.uniforms.velocity.value=this.physicsRenderer.getCurrentVelocity(),this.uniforms.acceleration.value=this.physicsRenderer.getCurrentAcceleration(),r.setAttribute("uvVelocity",this.physicsRenderer.getBufferAttributeUv()),new i.Points(r,new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(8924).Z,fragmentShader:n(79511).Z,transparent:!0,depthWrite:!1,blending:i.AdditiveBlending}))}},{key:"render",value:function(e,t){this.physicsRenderer.render(e,t),this.uniforms.time.value+=t}},{key:"touchStart",value:function(e){this.vectorTouchMove.copy(e)}},{key:"touchMove",value:function(e){this.vectorTouchMoveDiff.set(e.x-this.vectorTouchMove.x,e.y-this.vectorTouchMove.y),this.vectorTouchMove.copy(e)}},{key:"touchEnd",value:function(){this.vectorTouchMove.set(0,0),this.vectorTouchMoveDiff.set(0,0)}},{key:"resize",value:function(){this.physicsRenderer&&this.physicsRenderer.resize()}}])&&r(t.prototype,a),e}()},8642:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={texture1:{type:"t",value:t},texture2:{type:"t",value:n}},this.obj=this.createObj()}var t,o;return t=e,(o=[{key:"createObj",value:function(){return new i.Mesh(new i.PlaneGeometry(2,2),new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(98640).Z,fragmentShader:n(58113).Z}))}}])&&r(t.prototype,o),e}()},86649:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={resolution:{type:"v2",value:new i.Vector2(document.body.clientWidth,window.innerHeight)},direction:{type:"v2",value:new i.Vector2(n,r)},texture:{type:"t",value:t}},this.obj=this.createObj()}var t,o;return t=e,(o=[{key:"createObj",value:function(){return new i.Mesh(new i.PlaneGeometry(2,2),new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(98640).Z,fragmentShader:n(143).Z}))}},{key:"resize",value:function(e,t){this.uniforms.resolution.value.set(e,t)}}])&&r(t.prototype,o),e}()},14683:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={minBright:{type:"f",value:.3},texture:{type:"t",value:t}},this.obj=this.createObj()}var t,o;return t=e,(o=[{key:"createObj",value:function(){return new i.Mesh(new i.PlaneGeometry(2,2),new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(98640).Z,fragmentShader:n(29336).Z}))}}])&&r(t.prototype,o),e}()},73552:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(2212),i=n(38314),o=n(89813).Z,a=n(14683).Z,s=n(86649).Z,c=n(8642).Z,u=n(52262).Z;function l(){var e=document.getElementById("canvas-webgl"),t=new r.WebGL1Renderer({antialias:!1,canvas:e}),n=new r.WebGLRenderTarget(document.body.clientWidth,window.innerHeight),l=new r.WebGLRenderTarget(document.body.clientWidth,window.innerHeight),f=new r.WebGLRenderTarget(document.body.clientWidth,window.innerHeight),h=new r.Scene,v=new r.Scene,d=new r.OrthographicCamera(-1,1,1,-1,0,1),p=new r.PerspectiveCamera(45,document.body.clientWidth/window.innerHeight,1,1e4),m=new r.Clock,y=new r.Vector2,g=new r.Vector2,x=new r.Vector2,b=!1,w=new u,M=new a(n.texture),_=new s(l.texture,1,0),S=new s(f.texture,0,1),P=new c(n.texture,l.texture);w.init(t);var T=function(){var r=document.body.clientWidth,i=window.innerHeight;e.width=r,e.height=i,p.aspect=r/i,p.updateProjectionMatrix(),_.resize(r,i),S.resize(r,i),n.setSize(r,i),l.setSize(r,i),f.setSize(r,i),t.setSize(r,i)},R=function(e){b=!0,w.touchStart(y)},E=function(e){b&&w.touchMove(g)},z=function(e){b=!1,w.touchEnd()};t.setSize(document.body.clientWidth,window.innerHeight),t.setClearColor(1118481,1),p.position.set(0,0,1e3),p.lookAt(new r.Vector3),v.add(w.obj),window.addEventListener("resize",i((function(){T()})),1e3),e.addEventListener("mousedown",(function(e){e.preventDefault(),y.set(e.clientX,e.clientY),o(y),R()})),e.addEventListener("mousemove",(function(e){e.preventDefault(),g.set(e.clientX,e.clientY),o(g),E()})),e.addEventListener("mouseup",(function(e){e.preventDefault(),x.set(e.clientX,e.clientY),o(x),z()})),e.addEventListener("touchstart",(function(e){e.preventDefault(),y.set(e.touches[0].clientX,e.touches[0].clientY),o(y),R(e.touches[0].clientX,e.touches[0].clientY)})),e.addEventListener("touchmove",(function(e){e.preventDefault(),g.set(e.touches[0].clientX,e.touches[0].clientY),o(g),E()})),e.addEventListener("touchend",(function(e){e.preventDefault(),o(x),x.set(e.changedTouches[0].clientX,e.changedTouches[0].clientY),z()})),window.addEventListener("mouseout",(function(){event.preventDefault(),x.set(0,0),b=!1,w.touchEnd()})),T(),function e(){var r;r=m.getDelta(),w.render(t,r),t.setRenderTarget(n),t.render(v,p),h.add(M.obj),t.setRenderTarget(l),t.render(h,p),h.remove(M.obj),h.add(_.obj),t.setRenderTarget(f),t.render(h,p),h.remove(_.obj),h.add(S.obj),t.setRenderTarget(l),t.render(h,p),h.remove(S.obj),h.add(P.obj),t.setRenderTarget(null),t.render(h,d),h.remove(P.obj),requestAnimationFrame(e)}()}},99063:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=(n(17393),function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0},addH:{type:"f",value:t+.3}},this.obj}var t,o;return t=e,(o=[{key:"createObj",value:function(){var e=new i.SphereGeometry(200,128,128),t=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(74766).Z,fragmentShader:n(48448).Z,side:i.BackSide});this.obj=new i.Mesh(e,t)}},{key:"render",value:function(e){this.uniforms.time.value+=e}}])&&r(t.prototype,o),e}())},71773:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return a}});var i=n(2212),o=n(17393),a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0}},this.obj}var t,a;return t=e,(a=[{key:"createObj",value:function(){var e=new i.InstancedBufferGeometry,t=new i.BoxGeometry(2,2,20,2,2,6);e.copy(t);for(var r=new i.InstancedBufferAttribute(new Float32Array(120),3),a=new i.InstancedBufferAttribute(new Float32Array(120),3),s=new i.InstancedBufferAttribute(new Float32Array(120),3),c=new i.InstancedBufferAttribute(new Float32Array(40),1),u=0;u<40;u++){var l=o.radians(30*(2*Math.random()-1)),f=o.radians(180*(2*Math.random()-1)),h=o.spherical(l,f,12*Math.random()+65);r.setXYZ(u,h[0],h[1],h[2]),a.setXYZ(u,0,f,-l),s.setXYZ(u,1,.2*Math.random()+1,.4*Math.random()+.8),c.setXYZ(u,.05*Math.random()+.01)}e.setAttribute("instancePosition",r),e.setAttribute("instanceRotate",a),e.setAttribute("instanceScale",s),e.setAttribute("speed",c);var v=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(23234).Z,fragmentShader:n(82636).Z});this.obj=new i.InstancedMesh(e,v,40),this.obj.frustumCulled=!1}},{key:"render",value:function(e){this.uniforms.time.value+=e}}])&&r(t.prototype,a),e}()},89555:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return a}});var i=n(2212),o=n(17393),a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.resolution=t,this.vTouchStart=new i.Vector2,this.vPrev=new i.Vector2,this.v=new i.Vector2,this.a=new i.Vector2,this.anchor=new i.Vector2,this.isTouched=!1}var t,n;return t=e,(n=[{key:"touchStart",value:function(e){e.touches||e.preventDefault(),this.vPrev.copy(this.v),this.a.set(0,0),this.vTouchStart.set(e.touches?e.touches[0].clientX:e.clientX,e.touches?e.touches[0].clientY:e.clientY),this.isTouched=!0}},{key:"touchMove",value:function(e){e.preventDefault();var t=e.touches?e.touches[0].clientX:e.clientX,n=e.touches?e.touches[0].clientY:e.clientY;!1!==this.isTouched&&this.anchor.set((t-this.vTouchStart.x)/(this.resolution.x/200)+this.vPrev.x,o.clamp((n-this.vTouchStart.y)/(this.resolution.y/200)+this.vPrev.y,-90,90))}},{key:"touchEnd",value:function(e){this.isTouched=!1}},{key:"render",value:function(){this.a.set((this.anchor.x-this.v.x)/10,(this.anchor.y-this.v.y)/10),this.v.add(this.a)}}])&&r(t.prototype,n),e}()},60137:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return s}});var i=n(2212),o=n(17393),a=n(91685),s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0},addH1:{type:"f",value:t},addH2:{type:"f",value:t-.5}},this.obj}var t,s;return t=e,(s=[{key:"createObj",value:function(){for(var e=new a(Math.random),t=new i.OctahedronGeometry(50,30),r=0;r<t.attributes.position.count;r++){var s=new i.Vector3(t.attributes.position.getX(r),t.attributes.position.getY(r),t.attributes.position.getZ(r)),c=e.noise4D(s.x/72,s.y/64,s.z/72,1),u=e.noise4D(s.x/28,s.y/24,s.z/28,1),l=e.noise4D(s.x/4,s.y/4,s.z/4,1),f=(2*o.smoothstep(-.05,.05,c+u)-1)*(2+2*o.smoothstep(.1,.2,Math.pow(c+u,2))+6*o.smoothstep(.6,.7,Math.pow(c+u,2))+.2*l);s.add(s.clone().normalize().multiplyScalar(f)),t.attributes.position.setXYZ(r,s.x,s.y,s.z)}var h=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(59870).Z,fragmentShader:n(64557).Z});this.obj=new i.Mesh(t,h)}},{key:"render",value:function(e){this.uniforms.time.value+=e}}])&&r(t.prototype,s),e}()},53165:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=(n(17393),function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0},addH:{type:"f",value:t}},this.obj}var t,o;return t=e,(o=[{key:"createObj",value:function(){var e=new i.OctahedronGeometry(50,30),t=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(78081).Z,fragmentShader:n(76161).Z,transparent:!0});this.obj=new i.Mesh(e,t)}},{key:"render",value:function(e){this.uniforms.time.value+=e}}])&&r(t.prototype,o),e}())},13532:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){var a=e.apply(t,n);function s(e){r(a,i,o,s,c,"next",e)}function c(e){r(a,i,o,s,c,"throw",e)}s(void 0)}))}}n.d(t,{Z:function(){return v}});var o=n(2212),a=n(38314),s=n(17393),c=n(60137).Z,u=n(53165).Z,l=n(71773).Z,f=n(99063).Z,h=n(89555).Z;function v(){return d.apply(this,arguments)}function d(){return(d=i(regeneratorRuntime.mark((function e(){var t,n,r,i,v,d,p,m,y,g,x,b,w,M,_,S,P;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=new o.Vector2,n=document.getElementById("canvas-webgl"),r=new o.WebGL1Renderer({alpha:!0,antialias:!0,canvas:n}),i=new o.Scene,v=new o.PerspectiveCamera,d=new o.Clock({autoStart:!1}),p=Math.random(),m=new c(p),y=new u(p),g=new l,x=new f(p),b=new o.Group,w=new h(t),M=function(){var e=d.getDelta();w.render(t),b.rotation.set(s.radians(w.v.y),s.radians(w.v.x),0),m.render(e),y.render(e),g.render(e),x.render(e),r.render(i,v)},_=function e(){M(),requestAnimationFrame(e)},S=function(){v.aspect=t.x/t.y,v.updateProjectionMatrix(),v.setFocalLength(15*s.step(1,t.y/t.x)+35)},P=function(){t.set(document.body.clientWidth,window.innerHeight),n.width=t.x,n.height=t.y,S(),r.setSize(t.x,t.y)},T=void 0,R=void 0,E=void 0,T=function(e){w.touchStart(e)},R=function(e){w.touchMove(e)},E=function(e){w.touchEnd(e)},n.addEventListener("mousedown",T,{passive:!1}),window.addEventListener("mousemove",R,{passive:!1}),window.addEventListener("mouseup",E),n.addEventListener("touchstart",T,{passive:!1}),window.addEventListener("touchmove",R,{passive:!1}),window.addEventListener("touchend",E),window.addEventListener("resize",a(P,1e3)),P(),r.setClearColor(15658734,1),v.far=1e3,v.setFocalLength(15*s.step(1,t.y/t.x)+35),v.position.set(0,0,300),v.lookAt(new o.Vector3(0,0,0)),m.createObj(),y.createObj(),g.createObj(),x.createObj(),b.add(m.obj),b.add(y.obj),b.add(g.obj),i.add(b),i.add(x.obj),d.start(),_(),e.abrupt("return");case 37:case"end":return e.stop()}var T,R,E}),e)})))).apply(this,arguments)}},65331:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0},colorH:{type:"f",value:0},noiseRange:{type:"f",value:0}},this.obj=this.createObj(),this.obj.visible=!1}var t,o;return t=e,(o=[{key:"createObj",value:function(){return new i.Mesh(new i.PlaneGeometry(1500,1500),new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(52402).Z,fragmentShader:n(29014).Z,transparent:!0}))}},{key:"show",value:function(e){this.uniforms.time.value=0,this.uniforms.colorH.value=Math.random(),this.uniforms.noiseRange.value=3*Math.random(),this.obj.visible=!0,this.obj.position.set((2*Math.random()-1)*window.innerWidth,(2*Math.random()-1)*window.innerHeight,0)}},{key:"render",value:function(e){this.obj.visible&&(this.uniforms.time.value+=e,this.obj.position.z-=3)}}])&&r(t.prototype,o),e}()},18388:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(2212),i=n(38314),o=n(89813).Z,a=n(65331).Z;function s(){for(var e=document.getElementById("canvas-webgl"),t=new r.WebGL1Renderer({antialias:!1,canvas:e,alpha:!0}),n=new r.Scene,s=new r.PerspectiveCamera(90,document.body.clientWidth/window.innerHeight,1,1e4),c=new r.Clock,u=new r.Vector2,l=new r.Vector2,f=new r.Vector2,h=0,v=0,d=[],p=0;p<20;p++)d[p]=new a,n.add(d[p].obj);var m=function(){e.width=document.body.clientWidth,e.height=window.innerHeight,s.aspect=document.body.clientWidth/window.innerHeight,s.updateProjectionMatrix(),t.setSize(document.body.clientWidth,window.innerHeight)};t.setSize(document.body.clientWidth,window.innerHeight),t.setClearColor(15856113,1),s.position.set(0,0,1e3),s.lookAt(new r.Vector3),window.addEventListener("resize",i((function(){m()})),1e3),e.addEventListener("mousedown",(function(e){e.preventDefault(),u.set(e.clientX,e.clientY),o(u)})),document.addEventListener("mousemove",(function(e){e.preventDefault(),l.set(e.clientX,e.clientY),o(l)})),document.addEventListener("mouseup",(function(e){e.preventDefault(),f.set(e.clientX,e.clientY),o(f)})),e.addEventListener("touchstart",(function(e){e.preventDefault(),u.set(e.touches[0].clientX,e.touches[0].clientY),o(u),e.touches[0].clientX,e.touches[0].clientY})),e.addEventListener("touchmove",(function(e){e.preventDefault(),l.set(e.touches[0].clientX,e.touches[0].clientY),o(l)})),e.addEventListener("touchend",(function(e){e.preventDefault(),f.set(e.changedTouches[0].clientX,e.changedTouches[0].clientY),o(f)})),m(),function e(){(function(){var e=c.getDelta();!function(e){(v+=e)>1&&(d[h].show(),h=h+1>=d.length-1?0:h+1,v=0)}(e);for(var r=0;r<d.length;r++)d[r].render(e);t.render(n,s)})(),requestAnimationFrame(e)}()}},66327:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return s}});var i=n(67084).Z,o=n(84544).Z,a=n(80767).Z,s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.velocity=[0,0,0],this.acceleration=[0,0,0],this.anchor=[0,0,0],this.instances=36,this.core=new o(this.instances),this.wire=new a(this.instances)}var t,n;return t=e,(n=[{key:"updateRotation",value:function(){i.applyHook(this.velocity,this.acceleration,this.anchor,0,.02),i.applyDrag(this.acceleration,.3),i.updateVelocity(this.velocity,this.acceleration,1),this.core.uniforms.rotate.value=this.velocity[0],this.wire.uniforms.rotate.value=this.velocity[0]}},{key:"rotate",value:function(e){e&&(this.anchor[0]-=.05*e)}},{key:"picked",value:function(e){this.core.uniforms.pickedId.value=e,this.wire.uniforms.pickedId.value=e,e<this.instances&&e>-1?document.body.classList.add("is-picked"):document.body.classList.remove("is-picked")}},{key:"render",value:function(e){this.core.uniforms.time.value+=e,this.wire.render(e),this.updateRotation()}}])&&r(t.prototype,n),e}()},84544:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return a}});var i=n(2212),o=n(17393),a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0},rotate:{type:"f",value:0},pickedId:{type:"f",value:-1}},this.instances=t,this.obj=this.createObj()}var t,a;return t=e,(a=[{key:"createObj",value:function(){var e=new i.InstancedBufferGeometry,t=new i.OctahedronGeometry(30,4);e.copy(t);for(var r=new i.InstancedBufferAttribute(new Float32Array(this.instances),1),a=new i.InstancedBufferAttribute(new Float32Array(3*this.instances),3),s=new i.InstancedBufferAttribute(new Float32Array(this.instances),1),c=new i.InstancedBufferAttribute(new Float32Array(this.instances),1),u=0;u<this.instances;u++)r.setXYZ(u,o.radians(u/this.instances*360)),a.setXYZ(u,u/this.instances-.25,.2,.9),s.setXYZ(u,Math.random()),c.setXYZ(u,.5*(Math.random()+1));return e.setAttribute("radian",r),e.setAttribute("hsv",a),e.setAttribute("noiseDiff",s),e.setAttribute("speed",c),new i.InstancedMesh(e,new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(58754).Z,fragmentShader:n(54864).Z,transparent:!0}),this.instances)}}])&&r(t.prototype,a),e}()},75363:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.mirrorCamera=new i.PerspectiveCamera(24,document.body.clientWidth/window.innerHeight,1,15e3),this.mirrorRender=new i.WebGLRenderTarget(document.body.clientWidth,window.innerHeight),this.textureMatrix=new i.Matrix4,this.uniforms={time:{type:"f",value:0},texture:{type:"t",value:this.mirrorRender.texture},textureMatrix:{type:"m4",value:this.textureMatrix},mirrorPosition:{type:"v3",value:this.mirrorCamera.position}},this.mirrorCamera.up.set(0,-1,0),this.obj=this.createObj()}var t,o;return t=e,(o=[{key:"createObj",value:function(){return new i.Mesh(new i.PlaneGeometry(4e3,4e3),new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(84450).Z,fragmentShader:n(71955).Z,transparent:!0}))}},{key:"updateTextureMatrix",value:function(){this.textureMatrix.set(.5,0,0,.5,0,.5,0,.5,0,0,1,0,0,0,0,1),this.textureMatrix.multiply(this.mirrorCamera.projectionMatrix),this.textureMatrix.multiply(this.mirrorCamera.matrixWorldInverse)}},{key:"render",value:function(e,t,n){this.uniforms.time.value+=n,this.updateTextureMatrix(),this.obj.visible=!1,e.setRenderTarget(this.mirrorRender),e.render(t,this.mirrorCamera),this.obj.visible=!0}},{key:"resize",value:function(){this.mirrorCamera.aspect=document.body.clientWidth/window.innerHeight,this.mirrorCamera.updateProjectionMatrix(),this.mirrorRender.setSize(document.body.clientWidth,window.innerHeight)}}])&&r(t.prototype,o),e}()},47960:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var t=new i.WebGLCubeRenderTarget(128);this.cubeCamera=new i.CubeCamera(1,15e3,t),this.instances=6,this.uniforms={time:{type:"f",value:0}},this.obj=this.createObj(),this.obj.rotation.set(0,.3*Math.PI,0)}var t,o;return t=e,(o=[{key:"createObj",value:function(){var e=new i.InstancedBufferGeometry,t=new i.BoxGeometry(40,1,10);e.copy(t);for(var r=new i.InstancedBufferAttribute(new Float32Array(this.instances),1),o=new i.InstancedBufferAttribute(new Float32Array(this.instances),1),a=0,s=this.instances;a<s;a++)r.setXYZ(a,150*(a+1)+200),o.setXYZ(a,120*(a-(this.instances-1)/2));return e.setAttribute("height",r),e.setAttribute("offsetX",o),new i.InstancedMesh(e,new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(8757).Z,fragmentShader:n(69805).Z}),this.instances)}},{key:"render",value:function(e,t,n){this.uniforms.time.value+=n,this.obj.visible=!1,this.cubeCamera.update(e,t),this.obj.visible=!0}}])&&r(t.prototype,o),e}()},80767:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return a}});var i=n(2212),o=n(17393),a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.size=120,this.baseGeometry=new i.BoxGeometry(this.size,this.size,this.size),this.uniforms={time:{type:"f",value:0},rotate:{type:"f",value:0},pickedId:{type:"f",value:-1}},this.instances=t,this.obj=this.createObj(),this.objPicked=this.createObjPicked()}var t,a;return t=e,(a=[{key:"createObj",value:function(){var e=new i.InstancedBufferGeometry;e.copy(this.baseGeometry);for(var t=new i.InstancedBufferAttribute(new Float32Array(this.instances),1),r=new i.InstancedBufferAttribute(new Float32Array(3*this.instances),3),a=new i.InstancedBufferAttribute(new Float32Array(this.instances),1),s=0;s<this.instances;s++)t.setXYZ(s,o.radians(s/this.instances*360)),r.setXYZ(s,s/this.instances-.25,.2,1),a.setXYZ(s,0);return e.setAttribute("radian",t),e.setAttribute("hsv",r),e.setAttribute("timeHover",a),new i.InstancedMesh(e,new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(24192).Z,fragmentShader:n(46060).Z,depthWrite:!1,transparent:!0,side:i.DoubleSide}),this.instances)}},{key:"createObjPicked",value:function(){var e=new i.InstancedBufferGeometry;e.copy(this.baseGeometry);for(var t=new i.InstancedBufferAttribute(new Float32Array(this.instances),1),r=new i.InstancedBufferAttribute(new Float32Array(3*this.instances),3),a=new i.Color,s=new i.InstancedBufferAttribute(new Float32Array(this.instances),1),c=0;c<this.instances;c++)t.setXYZ(c,o.radians(c/this.instances*360)),a.setHex(c),r.setXYZ(c,a.r,a.g,a.b),s.setXYZ(c,0);return e.setAttribute("radian",t),e.setAttribute("pickedColor",r),e.setAttribute("timeHover",s),new i.InstancedMesh(e,new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(22984).Z,fragmentShader:n(66977).Z}),this.instances)}},{key:"render",value:function(e){var t=this.obj.geometry.attributes.timeHover,n=this.objPicked.geometry.attributes.timeHover;this.uniforms.time.value+=e;for(var r=0;r<t.array.length;r++)this.uniforms.pickedId.value==r?(t.array[r]=Math.min(t.array[r]+e,.3),n.array[r]=Math.min(n.array[r]+e,.3)):(t.array[r]=Math.max(t.array[r]-e,0),n.array[r]=Math.max(n.array[r]-e,0));t.needsUpdate=!0,n.needsUpdate=!0}}])&&r(t.prototype,a),e}()},39990:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(2212),i=n(38314),o=n(66327).Z,a=n(75363).Z,s=n(47960).Z;function c(){var e=document.getElementById("canvas-webgl"),t=new r.WebGL1Renderer({antialias:!0,canvas:e}),n=new r.WebGLRenderTarget(document.body.clientWidth,window.innerHeight),c=new r.Scene,u=new r.Scene,l=new r.PerspectiveCamera(24,document.body.clientWidth/window.innerHeight,1,15e3),f=new r.Clock,h=new r.Vector2,v=new r.Vector2,d=new r.Vector2,p=new r.Vector2,m=new Uint8Array(4),y=!1,g=new o,x=new a,b=new s,w=function(){e.width=document.body.clientWidth,e.height=window.innerHeight,l.aspect=document.body.clientWidth/window.innerHeight,l.updateProjectionMatrix(),t.setSize(document.body.clientWidth,window.innerHeight),n.setSize(document.body.clientWidth,window.innerHeight),x.resize()},M=function(){y=!0},_=function(e){y?e&&g.rotate(2*(v.x-d.x)):(t.setClearColor(16777215,1),t.setRenderTarget(n),t.render(u,l),t.setRenderTarget(null),t.readRenderTargetPixels(n,v.x,n.height-v.y,1,1,m),g.picked(m[0]<<16|m[1]<<8|m[2]))},S=function(){y=!1};t.setSize(document.body.clientWidth,window.innerHeight),l.position.set(0,400,-3e3),l.lookAt(new r.Vector3(0,0,0)),x.mirrorCamera.position.set(0,-400,-3e3),x.mirrorCamera.lookAt(new r.Vector3(0,0,0)),g.core.obj.position.set(0,80,0),g.wire.obj.position.set(0,80,0),g.wire.objPicked.position.set(0,80,0),x.obj.rotation.set(-.5*Math.PI,0,0),c.add(g.core.obj),c.add(g.wire.obj),c.add(x.obj),c.add(b.obj),c.add(b.cubeCamera),u.add(g.wire.objPicked),window.addEventListener("resize",i((function(){w()})),1e3),e.addEventListener("mousedown",(function(e){e.preventDefault(),h.set(e.clientX,e.clientY),M()})),document.addEventListener("mousemove",(function(e){e.preventDefault(),v.set(e.clientX,e.clientY),_(!1)})),document.addEventListener("mouseup",(function(e){e.preventDefault(),p.set(e.clientX,e.clientY),S()})),e.addEventListener("wheel",(function(e){e.preventDefault(),function(e){g.rotate(e.deltaY)}(e)})),e.addEventListener("touchstart",(function(e){e.preventDefault(),h.set(e.touches[0].clientX,e.touches[0].clientY),v.set(e.touches[0].clientX,e.touches[0].clientY),d.set(e.touches[0].clientX,e.touches[0].clientY),M(e.touches[0].clientX,e.touches[0].clientY)})),e.addEventListener("touchmove",(function(e){e.preventDefault(),v.set(e.touches[0].clientX,e.touches[0].clientY),_(!0),d.set(e.touches[0].clientX,e.touches[0].clientY)})),e.addEventListener("touchend",(function(e){e.preventDefault(),p.set(e.changedTouches[0].clientX,e.changedTouches[0].clientY),S()})),w(),function e(){var n;n=f.getDelta(),t.setClearColor(15856113,1),g.render(n),x.render(t,c,n),b.render(t,c,n),t.setRenderTarget(null),t.render(c,l),requestAnimationFrame(e)}()}},43051:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=(n(17393),function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0},tex:{type:"t",value:null},mouse:{type:"v3",value:new i.Vector3}},this.obj}var t,o;return t=e,(o=[{key:"createObj",value:function(e){var t=new i.PlaneGeometry(800,800,200,200),r=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(78615).Z,fragmentShader:n(80170).Z,transparent:!0});this.uniforms.tex.value=e,this.obj=new i.Points(t,r)}},{key:"render",value:function(e,t,n){this.uniforms.time.value+=e;var r=new i.Vector3;r.set(n.x,n.y,-1),r.unproject(t);var o=r.sub(t.position).normalize(),a=-t.position.z/o.z,s=t.position.clone().add(o.multiplyScalar(a));this.uniforms.mouse.value.copy(s)}}])&&r(t.prototype,o),e}())},8141:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(2212),i=n(38314),o=n(59170).Z,a=n(43051).Z;function s(){var e=new r.Vector2,t=new r.Vector2,n=document.getElementById("canvas-webgl"),s=new r.WebGL1Renderer({alpha:!0,antialias:!0,canvas:n}),c=new r.Scene,u=new r.PerspectiveCamera,l=new r.Clock;u.far=5e4,u.setFocalLength(24);var f=new a,h=function e(){var n;n=l.getDelta(),f.render(n,u,t),s.render(c,u),requestAnimationFrame(e)},v=function(){e.set(document.body.clientWidth,window.innerHeight),n.width=e.x,n.height=e.y,u.aspect=e.x/e.y,u.updateProjectionMatrix(),s.setSize(e.x,e.y)},d=function(n){t.set(n.clientX/e.x*2-1,-n.clientY/e.y*2+1)};o({points:"../img/sketch/image_data/elephant.png"},(function(e){s.setClearColor(8037324,1),u.position.set(0,0,1e3),u.lookAt(0,0,0),l.start(),f.createObj(e.points),c.add(f.obj),window.addEventListener("resize",i(v,1e3)),window.addEventListener("mousemove",d),v(),h()}))}},68993:function(e,t,n){"use strict";n.d(t,{Z:function(){return K}});var r=n(2212),i=n(38314),o=n.n(i);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n(29130);var f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(f,e);var t,n,i,o,a=(i=f,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=l(i);if(o){var n=l(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return u(this,e)});function f(e,t,n,i){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),(o=a.call(this,e,t,n,i)).cameraResolution=new r.Vector2,o}return t=f,(n=[{key:"start",value:function(){this.aspect=1.5,this.far=1e3,this.setFocalLength(50),this.position.set(0,6,50),this.lookAt(new r.Vector3(0,6,0))}},{key:"update",value:function(e){}},{key:"resize",value:function(e){e.x>e.y?this.cameraResolution.set(e.x>=1200?1200:e.x,e.x>=1200?800:.66*e.x):this.cameraResolution.set(.6*(e.y>=1200?800:.66*e.y),.6*(e.y>=1200?1200:e.y)),this.setViewOffset(this.cameraResolution.x,this.cameraResolution.y,(e.x-this.cameraResolution.x)/-2,(e.y-this.cameraResolution.y)/-2,e.x,e.y),this.updateProjectionMatrix()}}])&&s(t.prototype,n),f}(r.PerspectiveCamera),h=n(17393),v=n.n(h);function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function x(e,t){return(x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var M=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=w(i);if(o){var n=w(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return b(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.TorusKnotGeometry(2.4,.8,200,32),n=new r.RawShaderMaterial({uniforms:m(m({},r.UniformsLib.lights),{},{time:{type:"f",value:0}}),vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec3 normal;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\n\nvarying vec3 vPosition;\nvarying vec3 vNormal;\nvarying vec2 vUv;\nvarying vec3 vColor;\nvarying mat4 invertMatrix;\n\nfloat inverse(float m) {\n return 1.0 / m;\n}\n\nmat2 inverse(mat2 m) {\n return mat2(m[1][1],-m[0][1],\n -m[1][0], m[0][0]) / (m[0][0]*m[1][1] - m[0][1]*m[1][0]);\n}\n\nmat3 inverse(mat3 m) {\n float a00 = m[0][0], a01 = m[0][1], a02 = m[0][2];\n float a10 = m[1][0], a11 = m[1][1], a12 = m[1][2];\n float a20 = m[2][0], a21 = m[2][1], a22 = m[2][2];\n\n float b01 = a22 * a11 - a12 * a21;\n float b11 = -a22 * a10 + a12 * a20;\n float b21 = a21 * a10 - a11 * a20;\n\n float det = a00 * b01 + a01 * b11 + a02 * b21;\n\n return mat3(b01, (-a22 * a01 + a02 * a21), (a12 * a01 - a02 * a11),\n b11, (a22 * a00 - a02 * a20), (-a12 * a00 + a02 * a10),\n b21, (-a21 * a00 + a01 * a20), (a11 * a00 - a01 * a10)) / det;\n}\n\nmat4 inverse(mat4 m) {\n float\n a00 = m[0][0], a01 = m[0][1], a02 = m[0][2], a03 = m[0][3],\n a10 = m[1][0], a11 = m[1][1], a12 = m[1][2], a13 = m[1][3],\n a20 = m[2][0], a21 = m[2][1], a22 = m[2][2], a23 = m[2][3],\n a30 = m[3][0], a31 = m[3][1], a32 = m[3][2], a33 = m[3][3],\n\n b00 = a00 * a11 - a01 * a10,\n b01 = a00 * a12 - a02 * a10,\n b02 = a00 * a13 - a03 * a10,\n b03 = a01 * a12 - a02 * a11,\n b04 = a01 * a13 - a03 * a11,\n b05 = a02 * a13 - a03 * a12,\n b06 = a20 * a31 - a21 * a30,\n b07 = a20 * a32 - a22 * a30,\n b08 = a20 * a33 - a23 * a30,\n b09 = a21 * a32 - a22 * a31,\n b10 = a21 * a33 - a23 * a31,\n b11 = a22 * a33 - a23 * a32,\n\n det = b00 * b11 - b01 * b10 + b02 * b09 + b03 * b08 - b04 * b07 + b05 * b06;\n\n return mat4(\n a11 * b11 - a12 * b10 + a13 * b09,\n a02 * b10 - a01 * b11 - a03 * b09,\n a31 * b05 - a32 * b04 + a33 * b03,\n a22 * b04 - a21 * b05 - a23 * b03,\n a12 * b08 - a10 * b11 - a13 * b07,\n a00 * b11 - a02 * b08 + a03 * b07,\n a32 * b02 - a30 * b05 - a33 * b01,\n a20 * b05 - a22 * b02 + a23 * b01,\n a10 * b10 - a11 * b08 + a13 * b06,\n a01 * b08 - a00 * b10 - a03 * b06,\n a30 * b04 - a31 * b02 + a33 * b00,\n a21 * b02 - a20 * b04 - a23 * b00,\n a11 * b07 - a10 * b09 - a12 * b06,\n a00 * b09 - a01 * b07 + a02 * b06,\n a31 * b01 - a30 * b03 - a32 * b00,\n a20 * b03 - a21 * b01 + a22 * b00) / det;\n}\n\nvoid main(void) {\n // coordinate transformation\n vec4 mPosition = modelMatrix * vec4(position, 1.0);\n\n vPosition = position;\n vNormal = normal;\n vUv = uv;\n vColor = vec3(1.0, 0.0, 0.0);\n invertMatrix = inverse(modelMatrix);\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform vec3 cameraPosition;\n\n#if NUM_DIR_LIGHTS > 0\n struct DirectionalLight {\n vec3 direction;\n vec3 color;\n };\n uniform DirectionalLight directionalLights[ NUM_DIR_LIGHTS ];\n#endif\n\nvarying vec3 vPosition;\nvarying vec3 vNormal;\nvarying vec2 vUv;\nvarying vec3 vColor;\nvarying mat4 invertMatrix;\n\nvoid main() {\n // Phong Shading\n vec3 diff;\n vec3 specular;\n vec3 invLight;\n vec3 invEye;\n vec3 halfLE;\n\n #if NUM_DIR_LIGHT_SHADOWS > 0\n #pragma unroll_loop\n for ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\n invLight = normalize(invertMatrix * vec4(directionalLights[ i ].direction, 0.0)).xyz;\n invEye = normalize(invertMatrix * vec4(cameraPosition, 0.0)).xyz;\n diff += clamp(dot(vNormal, invLight), 0.0, 1.0);\n\n halfLE = normalize(invLight + invEye);\n specular += directionalLights[ i ].color * pow(max(dot(vNormal, halfLE), 0.0), 30.0);\n }\n #endif\n\n vec4 destColor = vec4(vColor * diff + specular, 1.0);\n\n gl_FragColor = destColor;\n}\n",lights:!0});return(e=a.call(this,t,n)).name="Blob",e.position.set(0,8,0),e.castShadow=!0,e.receiveShadow=!1,e}return t=s,(n=[{key:"start",value:function(){}},{key:"update",value:function(e){this.material.uniforms.time.value+=e,this.rotation.set(this.material.uniforms.time.value,this.material.uniforms.time.value,0)}}])&&g(t.prototype,n),s}(r.Mesh);function _(e){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function R(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function z(e,t){return!t||"object"!==_(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function L(e){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var C=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=L(i);if(o){var n=L(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return z(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.PlaneGeometry(30,30,128,128),n=new r.RawShaderMaterial({uniforms:P(P({},r.UniformsLib.lights),{},{time:{type:"f",value:0}}),vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform mat4 directionalShadowMatrix[NUM_DIR_LIGHT_SHADOWS];\nuniform float time;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying vec4 vDirectionalShadowCoord[NUM_DIR_LIGHT_SHADOWS];\n\nvoid main(void) {\n // coordinate transformation\n vec4 mPosition = modelMatrix * vec4(position + sin((uv.x + uv.y) * 10.0 + time) * 0.5, 1.0);\n\n vPosition = mPosition.xyz;\n vUv = uv;\n\n #if NUM_DIR_LIGHT_SHADOWS > 0\n #pragma unroll_loop\n for ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\n vDirectionalShadowCoord[ i ] = directionalShadowMatrix[ i ] * mPosition;\n }\n #endif\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n",fragmentShader:"#extension GL_OES_standard_derivatives : enable\nprecision highp float;\n#define GLSLIFY 1\n\n#if NUM_DIR_LIGHTS > 0\n struct DirectionalLight {\n vec3 direction;\n vec3 color;\n };\n uniform DirectionalLight directionalLights[ NUM_DIR_LIGHTS ];\n#endif\n\nuniform sampler2D directionalShadowMap[NUM_DIR_LIGHT_SHADOWS];\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying vec4 vDirectionalShadowCoord[NUM_DIR_LIGHT_SHADOWS];\n\nvoid main() {\n // Phong Shading\n vec3 normal;\n vec3 diff;\n vec3 lightColor;\n\n #if NUM_DIR_LIGHT_SHADOWS > 0\n #pragma unroll_loop\n for ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\n normal = normalize(cross(dFdx(vPosition), dFdy(vPosition)));\n diff += (dot(normal, directionalLights[ i ].direction) + 1.0) / 2.0;\n lightColor += directionalLights[ i ].color;\n }\n #endif\n\n vec4 shadow;\n\n #if NUM_DIR_LIGHT_SHADOWS > 0\n #pragma unroll_loop\n for ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\n shadow += texture2DProj(directionalShadowMap[ i ], vDirectionalShadowCoord[ i ]);\n }\n #endif\n\n gl_FragColor = vec4(lightColor * diff, 1.0) * shadow;\n}\n"});return(e=a.call(this,t,n)).name="Floor",e.rotation.set(v().radians(-90),0,0),e.receiveShadow=!0,e}return t=s,(n=[{key:"start",value:function(){console.log(this.material.uniforms)}},{key:"update",value:function(e){this.material.uniforms.time.value+=e}}])&&R(t.prototype,n),s}(r.Mesh);function A(e){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function I(e,t){return!t||"object"!==A(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var F,j=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D(e,t)}(a,e);var t,n,r,i,o=(r=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=k(r);if(i){var n=k(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return I(this,e)});function a(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(e=o.call(this,16776960,.5)).name="Light",e.castShadow=!0,e.shadow.camera.left=e.shadow.camera.bottom=-10,e.shadow.camera.right=e.shadow.camera.top=10,e.time=0,e.isActive=!1,e}return t=a,(n=[{key:"start",value:function(){this.isActive=!0}},{key:"update",value:function(e){!1!==this.isActive&&(this.time+=e)}}])&&O(t.prototype,n),a}(r.DirectionalLight);function U(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var B=new r.Scene,G=new f,N=new r.Clock({autoStart:!1}),H=new M,V=new C,W=new j,Z=new j,q=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,(n=[{key:"start",value:function(e){(F=new r.WebGL1Renderer({alpha:!0,antialias:!0,canvas:e})).setPixelRatio(window.devicePixelRatio),F.setClearColor(921102,1),F.shadowMap.enabled=!0,F.shadowMap.type=r.PCFSoftShadowMap,H.start(),V.start(),W.position.set(-10,16,10),Z.position.set(10,16,-10),B.add(H),B.add(V),B.add(W),B.add(Z),G.start()}},{key:"play",value:function(){N.start(),this.update()}},{key:"pause",value:function(){N.stop()}},{key:"update",value:function(){if(!1!==N.running){var e=N.getDelta();G.update(e),H.update(e),V.update(e),W.update(e),Z.update(e),F.render(B,G)}}},{key:"resize",value:function(e){G.resize(e),F.setSize(e.x,e.y)}}])&&U(t.prototype,n),e}();function Y(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function X(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){Y(o,r,i,a,s,"next",e)}function s(e){Y(o,r,i,a,s,"throw",e)}a(void 0)}))}}function K(){return Q.apply(this,arguments)}function Q(){return(Q=X(regeneratorRuntime.mark((function e(){var t,n,i,a,s,c,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=new q,n=new r.Vector2,i=document.getElementById("canvas-webgl"),a=document.querySelector(".p-preloader"),s=function(){n.set(document.body.clientWidth,window.innerHeight),i.width=n.x,i.height=n.y,t.resize(n)},c=function(){window.addEventListener("blur",(function(){t.pause()})),window.addEventListener("focus",(function(){t.play()})),window.addEventListener("resize",o()(s,100))},u=function e(){t.update(),requestAnimationFrame(e)},e.next=9,t.start(i);case 9:c(),s(),a.classList.add("is-hidden"),t.play(),u();case 14:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},29355:function(e,t,n){"use strict";n.d(t,{Z:function(){return we}});var r=n(2212),i=n(38314),o=n.n(i),a=n(48840);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=f(i);if(o){var n=f(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return l(this,e)});function s(e,t,n,r){var i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(i=a.call(this,e,t,n,r)).time=0,i.isActive=!1,i}return t=s,(n=[{key:"start",value:function(){this.aspect=1.5,this.far=1e3,this.setFocalLength(50),this.position.set(0,10,40),this.lookAt(new r.Vector3(0,0,0)),this.isActive=!0}},{key:"update",value:function(e){!1!==this.isActive&&(this.time+=e)}},{key:"resize",value:function(e){this.aspect=e.x/e.y,this.updateProjectionMatrix()}}])&&c(t.prototype,n),s}(r.PerspectiveCamera),v=n(17393),d=n.n(v);function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=x(i);if(o){var n=x(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return g(this,e)});function s(e,t,n,r){var i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(i=a.call(this,e,t,n,r)).distance=0,i}return t=s,(n=[{key:"start",value:function(){this.aspect=1,this.far=1e3,this.setFocalLength(50),this.distance=20*Math.abs(2*Math.tan(d().radians(this.fov)/2))*2}},{key:"update",value:function(e){this.position.copy(e.position).normalize().multiplyScalar(this.distance),this.lookAt(new r.Vector3)}}])&&m(t.prototype,n),s}(r.PerspectiveCamera);function w(e){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function M(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e,t){return!t||"object"!==w(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function P(e){return(P=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var T=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=P(i);if(o){var n=P(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return S(this,e)});function s(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(n=a.call(this)).material=new r.RawShaderMaterial({uniforms:{time:{type:"f",value:0},renderOutline:{type:"f",value:0},noiseTex:{type:"t",value:null}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec3 normal;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform vec3 cameraPosition;\nuniform float time;\nuniform float renderOutline;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying vec3 vColor;\n\nvoid main(void) {\n // coordinate transformation\n vec4 mPosition = modelMatrix * vec4(position + normal * renderOutline * 0.5, 1.0);\n\n float angleToCamera = acos(dot(normalize(cameraPosition), normalize(mPosition.xyz)));\n\n vPosition = mPosition.xyz;\n vUv = uv;\n vColor = vec3(smoothstep(0.8, 1.0, abs(sin(angleToCamera))));\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n",fragmentShader:"#extension GL_OES_standard_derivatives : enable\nprecision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform float renderOutline;\nuniform sampler2D noiseTex;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying vec3 vColor;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n // Flat Shading\n vec3 light = normalize(vec3(-1.0, 1.0, 0.2));\n vec3 normal = normalize(cross(dFdx(vPosition), dFdy(vPosition)));\n float diff = dot(normal, light);\n\n float noiseR = texture2D(\n noiseTex,\n normal.yz * 0.2 + vec2(time * 0.02, 0.0)\n ).r * 2.0 - 1.0;\n float noiseG = texture2D(\n noiseTex,\n normal.zx * 0.2 + vec2(0.0, time * 0.02)\n ).g * 2.0 - 1.0;\n float noiseB = texture2D(\n noiseTex,\n normal.xy * 0.2 - time * 0.02\n ).b * 2.0 - 1.0;\n float noise = length(vec3(noiseR, noiseG, noiseB));\n\n vec3 hsvNoise = vec3(noise * 0.1, noise * 0.1, -noise * 0.1);\n vec3 hsv1 = vec3(0.55, 0.55, 0.8) + hsvNoise;\n vec3 hsv2 = vec3(0.88, 0.55, 1.0) + hsvNoise;\n vec3 rgb = mix(convertHsvToRgb(hsv1), convertHsvToRgb(hsv2), diff);\n\n vec3 hsv3 = vec3(0.55, 0.05, 0.95);\n vec3 color = (rgb * (1.0 - vColor) + convertHsvToRgb(hsv3) * vColor) * (1.0 - renderOutline);\n vec3 colorOutline = vec3(1.0) * renderOutline;\n\n gl_FragColor = vec4(color + colorOutline, 1.0);\n}\n"}),n.head=new r.Mesh(e,n.material),n.jaw=new r.Mesh(t,n.material),n.add(n.head),n.add(n.jaw),n.name="Skull",n.isActive=!1,n}return t=s,(n=[{key:"start",value:function(e){this.isActive=!0,this.material.uniforms.noiseTex.value=e}},{key:"update",value:function(e,t){!1!==this.isActive&&(this.material.uniforms.time.value+=e,this.head.rotation.set(d().radians(8*-(.7*Math.sin(this.material.uniforms.time.value)+.7)),0,0),this.jaw.rotation.set(d().radians(8*(.7*Math.sin(this.material.uniforms.time.value)+.7)),0,0))}}])&&M(t.prototype,n),s}(r.Group);function R(e){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function z(e,t){return(z=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function L(e,t){return!t||"object"!==R(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var A=n(2212),O=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&z(e,t)}(a,e);var t,n,r,i,o=(r=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=C(r);if(i){var n=C(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return L(this,e)});function a(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var t=new A.PlaneGeometry(2,2),n=new A.RawShaderMaterial({uniforms:{resolution:{type:"v2",value:new A.Vector2(512,512)},direction:{type:"v2",value:new A.Vector2(0,0)},radius:{type:"f",value:1},texture:{type:"t",value:null}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nvarying vec2 vUv;\n\nvoid main() {\n vUv = uv;\n gl_Position = vec4(position, 1.0);\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform vec2 resolution;\nuniform vec2 direction;\nuniform float radius;\nuniform sampler2D texture;\n\nvarying vec2 vUv;\n\nvec4 gaussianBlur(sampler2D texture, vec2 uv, float radius, vec2 resolution, vec2 direction) {\n vec4 color = vec4(0.0);\n vec2 step = radius / resolution * direction;\n color += texture2D(texture, uv + -30.0 * step) * 0.000044463576696752694;\n color += texture2D(texture, uv + -29.0 * step) * 0.00007045416494915056;\n color += texture2D(texture, uv + -28.0 * step) * 0.0001099096126906708;\n color += texture2D(texture, uv + -27.0 * step) * 0.00016880723998699519;\n color += texture2D(texture, uv + -26.0 * step) * 0.00025525396029412817;\n color += texture2D(texture, uv + -25.0 * step) * 0.0003799964739478872;\n color += texture2D(texture, uv + -24.0 * step) * 0.0005569445069582366;\n color += texture2D(texture, uv + -23.0 * step) * 0.0008036541345232365;\n color += texture2D(texture, uv + -22.0 * step) * 0.0011416972770451463;\n color += texture2D(texture, uv + -21.0 * step) * 0.001596823459247415;\n color += texture2D(texture, uv + -20.0 * step) * 0.002198804676697693;\n color += texture2D(texture, uv + -19.0 * step) * 0.0029808483791945177;\n color += texture2D(texture, uv + -18.0 * step) * 0.003978472126807061;\n color += texture2D(texture, uv + -17.0 * step) * 0.005227760816555183;\n color += texture2D(texture, uv + -16.0 * step) * 0.006762976274064666;\n color += texture2D(texture, uv + -15.0 * step) * 0.008613559380852844;\n color += texture2D(texture, uv + -14.0 * step) * 0.010800652851120281;\n color += texture2D(texture, uv + -13.0 * step) * 0.013333369986564198;\n color += texture2D(texture, uv + -12.0 * step) * 0.016205128746770582;\n color += texture2D(texture, uv + -11.0 * step) * 0.01939044575559005;\n color += texture2D(texture, uv + -10.0 * step) * 0.022842624955526088;\n color += texture2D(texture, uv + -9.0 * step) * 0.02649276597348318;\n color += texture2D(texture, uv + -8.0 * step) * 0.030250448423666733;\n color += texture2D(texture, uv + -7.0 * step) * 0.03400631888443281;\n color += texture2D(texture, uv + -6.0 * step) * 0.037636625557126956;\n color += texture2D(texture, uv + -5.0 * step) * 0.0410095302098648;\n color += texture2D(texture, uv + -4.0 * step) * 0.04399280495100364;\n color += texture2D(texture, uv + -3.0 * step) * 0.04646232452009806;\n color += texture2D(texture, uv + -2.0 * step) * 0.048310624731385546;\n color += texture2D(texture, uv + -1.0 * step) * 0.04945474015528432;\n color += texture2D(texture, uv + 0.0 * step) * 0.049842336475142184;\n color += texture2D(texture, uv + 1.0 * step) * 0.04945474015528432;\n color += texture2D(texture, uv + 2.0 * step) * 0.048310624731385546;\n color += texture2D(texture, uv + 3.0 * step) * 0.04646232452009806;\n color += texture2D(texture, uv + 4.0 * step) * 0.04399280495100364;\n color += texture2D(texture, uv + 5.0 * step) * 0.0410095302098648;\n color += texture2D(texture, uv + 6.0 * step) * 0.037636625557126956;\n color += texture2D(texture, uv + 7.0 * step) * 0.03400631888443281;\n color += texture2D(texture, uv + 8.0 * step) * 0.030250448423666733;\n color += texture2D(texture, uv + 9.0 * step) * 0.02649276597348318;\n color += texture2D(texture, uv + 10.0 * step) * 0.022842624955526088;\n color += texture2D(texture, uv + 11.0 * step) * 0.01939044575559005;\n color += texture2D(texture, uv + 12.0 * step) * 0.016205128746770582;\n color += texture2D(texture, uv + 13.0 * step) * 0.013333369986564198;\n color += texture2D(texture, uv + 14.0 * step) * 0.010800652851120281;\n color += texture2D(texture, uv + 15.0 * step) * 0.008613559380852844;\n color += texture2D(texture, uv + 16.0 * step) * 0.006762976274064666;\n color += texture2D(texture, uv + 17.0 * step) * 0.005227760816555183;\n color += texture2D(texture, uv + 18.0 * step) * 0.003978472126807061;\n color += texture2D(texture, uv + 19.0 * step) * 0.0029808483791945177;\n color += texture2D(texture, uv + 20.0 * step) * 0.002198804676697693;\n color += texture2D(texture, uv + 21.0 * step) * 0.001596823459247415;\n color += texture2D(texture, uv + 22.0 * step) * 0.0011416972770451463;\n color += texture2D(texture, uv + 23.0 * step) * 0.0008036541345232365;\n color += texture2D(texture, uv + 24.0 * step) * 0.0005569445069582366;\n color += texture2D(texture, uv + 25.0 * step) * 0.0003799964739478872;\n color += texture2D(texture, uv + 26.0 * step) * 0.00025525396029412817;\n color += texture2D(texture, uv + 27.0 * step) * 0.00016880723998699519;\n color += texture2D(texture, uv + 28.0 * step) * 0.0001099096126906708;\n color += texture2D(texture, uv + 29.0 * step) * 0.00007045416494915056;\n color += texture2D(texture, uv + 30.0 * step) * 0.000044463576696752694;\n return color;\n}\n\nvoid main() {\n vec4 color = gaussianBlur(texture, vUv, radius, resolution, direction);\n gl_FragColor = color;\n}\n"});return(e=o.call(this,t,n)).name="AuraPostEffect",e}return t=a,(n=[{key:"setDirection",value:function(e,t){this.material.uniforms.direction.value.set(e,t)}},{key:"setTexture",value:function(e){this.material.uniforms.texture.value=e}},{key:"update",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;this.obj.visible=!0,e.setRenderTarget(r),e.render(t,n),this.obj.visible=!1}}])&&E(t.prototype,n),a}(A.Mesh);function D(e){return(D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function I(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function F(e,t){return!t||"object"!==D(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function j(e){return(j=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var U=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=j(i);if(o){var n=j(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return F(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.PlaneGeometry(20,20),n=new r.RawShaderMaterial({uniforms:{time:{type:"f",value:0},postEffectTex:{type:"t",value:null},noiseTex:{type:"t",value:null}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\n\nvoid main(void) {\n // coordinate transformation\n vec4 mPosition = modelMatrix * vec4(position, 1.0);\n\n vPosition = position;\n vUv = uv;\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform vec2 direction;\nuniform vec2 resolution;\nuniform float radius;\nuniform sampler2D postEffectTex;\nuniform sampler2D noiseTex;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\n\nconst float blurIteration = 12.0;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n vec4 texColor1 = texture2D(postEffectTex, vUv * 1.05 - 0.025);\n vec4 texColor2 = texture2D(postEffectTex, vUv * vec2(0.8, 0.75) + vec2(0.1, 0.075));\n vec4 texColor3 = texture2D(postEffectTex, vUv * vec2(0.6, 0.55) + vec2(0.2, 0.175));\n\n float noise1 = texture2D(noiseTex, vUv - vec2(0.0, time * 0.6)).r;\n float noise2 = texture2D(noiseTex, vUv * 2.0 - vec2(0.0, time * 0.7)).g;\n float noise3 = texture2D(noiseTex, vUv * 3.0 + vec2(0.0, time * 0.8)).b;\n float noise = (noise1 * 0.65 + noise2 * 0.3 + noise3 * 0.05);\n\n float mask1 = (texColor1.r + noise) / 2.0;\n float mask2 = (texColor2.r + (noise * 2.0 - 1.0)) * (1.0 - mask1);\n float mask3 = smoothstep(0.5, 1.0, texColor3.r + noise * 0.5);\n float mask = (mask1 * 2.0 + mask2) / 3.0 * mask3;\n\n float strength = smoothstep(0.05, 0.17, pow(mask, 3.0));\n vec3 hsv1 = vec3(0.84, 0.4, 0.85);\n vec3 hsv2 = vec3(0.55, 0.05, 0.95);\n vec3 rgb = convertHsvToRgb(mix(hsv1, hsv2, strength));\n\n float opacity = smoothstep(0.05, 0.055, pow(mask, 3.0));\n\n if (opacity < 0.01) {\n discard;\n }\n\n gl_FragColor = vec4(rgb, opacity);\n}\n",transparent:!0});return(e=a.call(this,t,n)).name="Aura",e.isActive=!1,e}return t=s,(n=[{key:"start",value:function(e,t){this.isActive=!0,this.material.uniforms.postEffectTex.value=e,this.material.uniforms.noiseTex.value=t}},{key:"update",value:function(e,t){!1!==this.isActive&&(this.rotation.copy(t.rotation),this.material.uniforms.time.value+=e)}}])&&I(t.prototype,n),s}(r.Mesh);function B(e){return(B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function G(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function H(e,t){return!t||"object"!==B(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function V(e){return(V=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var W=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=V(i);if(o){var n=V(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return H(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);for(var t=new r.BufferGeometry,n=new r.BufferAttribute(new Float32Array(1080),3),i=new r.BufferAttribute(new Float32Array(360),1),o=0;o<360;o++){var c=d().radians(360*Math.random()),u=4*Math.random()+1;n.setXYZ(o,Math.cos(c)*u,0,Math.sin(c)*u),i.setX(o,4*Math.random())}t.setAttribute("position",n),t.setAttribute("delay",i);var l=new r.RawShaderMaterial({uniforms:{time:{type:"f",value:0},duration:{type:"f",value:4},resolution:{type:"v2",value:new r.Vector2},pixelRatio:{type:"f",value:window.devicePixelRatio},noiseTex:{type:"t",value:null}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute float delay;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform float time;\nuniform float duration;\nuniform vec2 resolution;\nuniform float pixelRatio;\nuniform sampler2D noiseTex;\n\nvarying vec3 vColor;\nvarying float vAlpha;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n // Coordinate transformation\n float alpha = mod(time - delay, duration) / duration;\n vec3 risePosition = vec3(0.0, alpha * 10.0 - 4.0, 0.0);\n\n float noiseR = texture2D(\n noiseTex,\n position.yz * 0.4 + vec2(time * 0.02, 0.0)\n ).r * 2.0 - 1.0;\n float noiseG = texture2D(\n noiseTex,\n position.zx * 0.4 + vec2(0.0, time * 0.02)\n ).g * 2.0 - 1.0;\n float noiseB = texture2D(\n noiseTex,\n position.xy * 0.4 - time * 0.02\n ).b * 2.0 - 1.0;\n vec3 noisePosition = vec3(noiseR, noiseG, noiseB) * alpha * 12.0;\n\n vec4 mvPosition = viewMatrix * modelMatrix * vec4(position + noisePosition + risePosition, 1.0);\n float distanceFromCamera = length(mvPosition.xyz);\n\n // Define the point size.\n float pointSize = 7.0 * pixelRatio * 40.0 / distanceFromCamera * resolution.y / 1024.0;\n\n vColor = convertHsvToRgb(\n vec3(\n 0.55 + delay * 0.33,\n 0.8,\n 0.4\n )\n );\n vAlpha = alpha;\n\n gl_Position = projectionMatrix * mvPosition;\n gl_PointSize = pointSize;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform float alpha;\n\nvarying vec3 vColor;\nvarying float vAlpha;\n\nvoid main() {\n // Convert PointCoord to the other vec2 has a range from -1.0 to 1.0.\n vec2 p = gl_PointCoord * 2.0 - 1.0;\n\n // Draw circle\n float radius = length(p);\n float opacity = smoothstep(0.0, 0.2, vAlpha)\n * (1.0 - smoothstep(0.8, 1.0, vAlpha))\n * (1.0 - smoothstep(0.5, 1.0, radius))\n * 0.6;\n\n // Define Colors\n vec3 color = vColor;\n\n gl_FragColor = vec4(color, opacity);\n}\n",transparent:!0,blending:r.AdditiveBlending,depthWrite:!1});return(e=a.call(this,t,l)).name="Points",e}return t=s,(n=[{key:"start",value:function(e){this.material.uniforms.noiseTex.value=e}},{key:"update",value:function(e){this.material.uniforms.time.value+=e,this.rotation.set(0,.2*this.material.uniforms.time.value,0)}},{key:"resize",value:function(e){this.material.uniforms.resolution.value.copy(e)}}])&&G(t.prototype,n),s}(r.Points);function Z(e){return(Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function q(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Y(e,t){return(Y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function X(e,t){return!t||"object"!==Z(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Q=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Y(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=K(i);if(o){var n=K(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return X(this,e)});function s(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(e=a.call(this)).name="AuraSkull",e.skull,e.auraPostEffect,e.aura,e.points,e.renderTarget1=new r.WebGLRenderTarget(256,256),e.renderTarget2=new r.WebGLRenderTarget(256,256),e.time=0,e.isActive=!1,e}return t=s,(n=[{key:"start",value:function(e,t,n){this.skull=new T(e,t),this.auraPostEffect=new O,this.aura=new U,this.points=new W,this.add(this.skull),this.add(this.aura),this.add(this.points),this.skull.start(n),this.aura.start(this.renderTarget1.texture,n),this.points.start(n),this.isActive=!0}},{key:"update",value:function(e,t,n,r,i,o){!1!==this.isActive&&(this.time+=e,this.radian+=e,o&&this.skull.rotation.set(d().radians(o.v.y-15),d().radians(o.v.x+15),d().radians(-20)),this.skull.update(e,n),this.aura.update(e,n),this.points.update(e),t.setRenderTarget(this.renderTarget1),r.add(this.skull),this.skull.material.uniforms.renderOutline.value=1,t.render(r,i),t.setRenderTarget(this.renderTarget2),r.remove(this.skull),r.add(this.auraPostEffect),this.auraPostEffect.setDirection(1,0),this.auraPostEffect.setTexture(this.renderTarget1.texture),t.render(r,i),t.setRenderTarget(this.renderTarget1),this.auraPostEffect.setDirection(0,1),this.auraPostEffect.setTexture(this.renderTarget2.texture),t.render(r,i),t.setRenderTarget(null),r.remove(this.auraPostEffect),this.add(this.skull),this.skull.material.uniforms.renderOutline.value=0)}},{key:"resize",value:function(e){this.points.resize(e)}}])&&q(t.prototype,n),s}(r.Group);function J(e){return(J="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ee(e,t){return(ee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function te(e,t){return!t||"object"!==J(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ne(e){return(ne=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var re,ie=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ee(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ne(i);if(o){var n=ne(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return te(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.SphereGeometry(100,12,12),n=new r.RawShaderMaterial({uniforms:{time:{type:"f",value:0},hex:{type:"f",value:0}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n // coordinate transformation\n vec4 mPosition = modelMatrix * vec4(position, 1.0);\n\n vUv = uv;\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform float hex;\n\nvarying vec2 vUv;\nvarying vec3 vColor;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n vec3 rgb = mix(\n convertHsvToRgb(vec3(0.5, 0.8, 0.7)),\n convertHsvToRgb(vec3(0.0, 0.2, 0.95)),\n vUv.y * 4.0 - 1.15\n );\n\n gl_FragColor = vec4(rgb, 1.0);\n}\n",side:r.BackSide});return(e=a.call(this,t,n)).name="Background",e}return t=s,(n=[{key:"start",value:function(){}},{key:"update",value:function(){}}])&&$(t.prototype,n),s}(r.Mesh);function oe(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function ae(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var se=new r.Scene,ce=new h,ue=new r.Clock({autoStart:!1}),le=new r.Scene,fe=new b,he=new a.L,ve=new r.TextureLoader,de=new Q,pe=new ie,me=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i,o;return t=e,(n=[{key:"start",value:(i=regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(re=new r.WebGL1Renderer({alpha:!0,antialias:!0,canvas:t})).setPixelRatio(window.devicePixelRatio),re.setClearColor(0,1),e.next=5,Promise.all([he.loadAsync("/sketch-threejs/model/skull/SkullHead.obj"),ve.loadAsync("/sketch-threejs/img/sketch/splash/noise.png")]).then((function(e){var t=e[0].children[1].geometry,n=e[0].children[0].geometry,i=e[1];i.wrapS=r.RepeatWrapping,i.wrapT=r.RepeatWrapping,ce.start(),fe.start(),de.start(t,n,i),pe.start(),se.add(de),se.add(pe)}));case 5:case"end":return e.stop()}}),e)})),o=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){oe(o,n,r,a,s,"next",e)}function s(e){oe(o,n,r,a,s,"throw",e)}a(void 0)}))},function(e){return o.apply(this,arguments)})},{key:"play",value:function(){ue.start(),this.update()}},{key:"pause",value:function(){ue.stop()}},{key:"update",value:function(e){if(!1!==ue.running){var t=ue.getDelta();ce.update(t),fe.update(ce),de.update(t,re,ce,le,fe,e),re.render(se,ce)}}},{key:"resize",value:function(e){ce.resize(e),de.resize(e),re.setSize(e.x,e.y)}}])&&ae(t.prototype,n),e}();function ye(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var ge=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.resolution=t,this.vTouchStart=new r.Vector2,this.vPrev=new r.Vector2,this.v=new r.Vector2,this.a=new r.Vector2,this.anchor=new r.Vector2,this.isTouched=!1}var t,n;return t=e,(n=[{key:"touchStart",value:function(e){e.touches||e.preventDefault(),this.vPrev.copy(this.v),this.a.set(0,0),this.vTouchStart.set(e.touches?e.touches[0].clientX:e.clientX,e.touches?e.touches[0].clientY:e.clientY),this.isTouched=!0}},{key:"touchMove",value:function(e){e.touches&&e.preventDefault();var t=e.touches?e.touches[0].clientX:e.clientX,n=e.touches?e.touches[0].clientY:e.clientY;!1!==this.isTouched&&this.anchor.set((t-this.vTouchStart.x)/(this.resolution.x/200)+this.vPrev.x,d().clamp((n-this.vTouchStart.y)/(this.resolution.y/200)+this.vPrev.y,-90,90))}},{key:"touchEnd",value:function(e){this.isTouched=!1}},{key:"update",value:function(){this.a.set((this.anchor.x-this.v.x)/10,(this.anchor.y-this.v.y)/10),this.v.add(this.a)}}])&&ye(t.prototype,n),e}();function xe(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function be(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){xe(o,r,i,a,s,"next",e)}function s(e){xe(o,r,i,a,s,"throw",e)}a(void 0)}))}}function we(){return Me.apply(this,arguments)}function Me(){return(Me=be(regeneratorRuntime.mark((function e(){var t,n,i,a,s,c,u,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=new me,n=new r.Vector2,i=document.getElementById("canvas-webgl"),a=document.querySelector(".p-preloader"),s=new ge(n),c=function(){n.set(document.body.clientWidth,window.innerHeight),i.width=n.x,i.height=n.y,t.resize(n)},u=function(){var e=function(e){s.touchStart(e)},n=function(e){s.touchMove(e)},r=function(e){s.touchEnd(e)};i.addEventListener("mousedown",e,{passive:!1}),window.addEventListener("mousemove",n,{passive:!1}),window.addEventListener("mouseup",r),i.addEventListener("touchstart",e,{passive:!1}),window.addEventListener("touchmove",n,{passive:!1}),window.addEventListener("touchend",r),window.addEventListener("blur",(function(){t.pause()})),window.addEventListener("focus",(function(){t.play()})),window.addEventListener("resize",o()(c,100))},l=function e(){s.update(n),t.update(s),requestAnimationFrame(e)},e.next=10,t.start(i);case 10:u(),c(),a.classList.add("is-hidden"),t.play(),l();case 15:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},17194:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}});var r=n(2212),i=n(38314),o=n.n(i);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(f,e);var t,n,i,o,a=(i=f,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=l(i);if(o){var n=l(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return u(this,e)});function f(e,t,n,i){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),(o=a.call(this,e,t,n,i)).cameraResolution=new r.Vector2,o}return t=f,(n=[{key:"start",value:function(){this.aspect=1.5,this.far=1e3,this.setFocalLength(50),this.position.set(0,0,50),this.lookAt(new r.Vector3)}},{key:"update",value:function(e){}},{key:"resize",value:function(e){e.x>e.y?this.cameraResolution.set(e.x>=1200?1200:e.x,e.x>=1200?800:.66*e.x):this.cameraResolution.set(.6*(e.y>=1200?800:.66*e.y),.6*(e.y>=1200?1200:e.y)),this.setViewOffset(this.cameraResolution.x,this.cameraResolution.y,(e.x-this.cameraResolution.x)/-2,(e.y-this.cameraResolution.y)/-2,e.x,e.y),this.updateProjectionMatrix()}}])&&s(t.prototype,n),f}(r.PerspectiveCamera);function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e,t){return!t||"object"!==h(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n(17393);var y,g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=m(i);if(o){var n=m(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return p(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.IcosahedronGeometry(1,100),n=new r.RawShaderMaterial({uniforms:{time:{value:0},alpha:{value:0},pixelRatio:{value:window.devicePixelRatio},noiseTex:{value:null}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform float time;\nuniform float alpha;\nuniform float pixelRatio;\nuniform sampler2D noiseTex;\n\nvarying vec3 vColor;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n // Coordinate transformation\n float noiseR = texture2D(\n noiseTex,\n position.yz * 0.4 + vec2(time * 0.1, 0.0)\n ).r * 2.0 - 1.0;\n float noiseG = texture2D(\n noiseTex,\n position.zx * 0.4 + vec2(0.0, time * 0.1)\n ).g * 2.0 - 1.0;\n float noiseB = texture2D(\n noiseTex,\n position.xy * 0.4 - time * 0.1\n ).b * 2.0 - 1.0;\n vec3 noisePosition = vec3(noiseR, noiseG, noiseB) * (alpha * 0.6 + 0.6);\n vec4 mvPosition = viewMatrix * modelMatrix * vec4(position + noisePosition, 1.0);\n float distanceFromCamera = length(mvPosition.xyz);\n\n // Define the point size.\n float pointSize = pixelRatio * 240.0 / distanceFromCamera;\n\n vColor = convertHsvToRgb(\n vec3(\n (noiseR + noiseG + noiseB) * 0.2 + time * 0.1,\n 0.8,\n 0.4\n )\n );\n\n gl_Position = projectionMatrix * mvPosition;\n gl_PointSize = pointSize;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform float alpha;\n\nvarying vec3 vColor;\n\nvoid main() {\n // Convert PointCoord to the other vec2 has a range from -1.0 to 1.0.\n vec2 p = gl_PointCoord * 2.0 - 1.0;\n\n // Draw circle\n float radius = length(p);\n float opacity =\n (\n (1.0 - smoothstep(0.1, 0.2, radius)) * 0.2\n + (1.0 - smoothstep(0.2, 1.0, radius)) * 0.1\n )\n * smoothstep(0.0, 0.1, alpha)\n * (1.0 - smoothstep(0.1, 1.0, alpha));\n\n // Define Colors\n vec3 color = vColor;\n\n gl_FragColor = vec4(color, opacity);\n}\n",transparent:!0,blending:r.AdditiveBlending,depthWrite:!1});return(e=a.call(this,t,n)).name="Points",e.time=0,e.scale.set(10,10,10),e}return t=s,(n=[{key:"start",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.time=-4*t,this.material.uniforms.noiseTex.value=e}},{key:"update",value:function(e){this.time+=e;var t=this.time%4/4,n=30*t;this.scale.set(n,n,n),this.material.uniforms.time.value+=e,this.material.uniforms.alpha.value=t}}])&&v(t.prototype,n),s}(r.Points);function x(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var w=new r.Scene,M=new f,_=new r.Clock({autoStart:!1}),S=new r.TextureLoader,P=new g,T=new g,R=new g,E=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i,o;return t=e,(n=[{key:"start",value:(i=regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(y=new r.WebGL1Renderer({alpha:!0,antialias:!0,canvas:t})).setPixelRatio(window.devicePixelRatio),y.setClearColor(921102,1),e.next=5,Promise.all([S.loadAsync("/sketch-threejs/img/sketch/splash/noise.png")]).then((function(e){var t=e[0];t.wrapS=r.RepeatWrapping,t.wrapT=r.RepeatWrapping,P.start(t),T.start(t,.33),R.start(t,.66),w.add(P),w.add(T),w.add(R)}));case 5:M.start();case 6:case"end":return e.stop()}}),e)})),o=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){x(o,n,r,a,s,"next",e)}function s(e){x(o,n,r,a,s,"throw",e)}a(void 0)}))},function(e){return o.apply(this,arguments)})},{key:"play",value:function(){_.start(),this.update()}},{key:"pause",value:function(){_.stop()}},{key:"update",value:function(){if(!1!==_.running){var e=_.getDelta();M.update(e),P.update(e),T.update(e),R.update(e),y.render(w,M)}}},{key:"resize",value:function(e){M.resize(e),y.setSize(e.x,e.y)}}])&&b(t.prototype,n),e}();function z(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function L(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){z(o,r,i,a,s,"next",e)}function s(e){z(o,r,i,a,s,"throw",e)}a(void 0)}))}}function C(){return A.apply(this,arguments)}function A(){return(A=L(regeneratorRuntime.mark((function e(){var t,n,i,a,s,c,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=new E,n=new r.Vector2,i=document.getElementById("canvas-webgl"),a=document.querySelector(".p-preloader"),s=function(){n.set(document.body.clientWidth,window.innerHeight),i.width=n.x,i.height=n.y,t.resize(n)},c=function(){window.addEventListener("resize",o()(s,100))},u=function e(){t.update(),requestAnimationFrame(e)},e.next=9,t.start(i);case 9:c(),s(),a.classList.add("is-hidden"),t.play(),u();case 14:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},4055:function(e,t,n){"use strict";n.d(t,{Z:function(){return X}});var r=n(2212),i=n(38314),o=n.n(i),a=n(29130),s=n.n(a),c=n(17393),u=n.n(c);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(a,e);var t,n,r,i,o=(r=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=d(r);if(i){var n=d(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return v(this,e)});function a(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(e=o.call(this)).time=0,e.name="Sun",e}return t=a,(n=[{key:"start",value:function(){}},{key:"update",value:function(e){this.time+=e,this.rotation.set(0,u().radians(8*this.time),0)}}])&&f(t.prototype,n),a}(r.Group);function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function x(e,t){return!t||"object"!==m(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=b(i);if(o){var n=b(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return x(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.SphereGeometry(6,32,32),n=new r.RawShaderMaterial({uniforms:{time:{type:"f",value:0},texture:{type:"t",value:null},textureNormal:{type:"t",value:null}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform vec3 cameraPosition;\nuniform float time;\n\nvarying vec2 vUv;\nvarying vec3 vColor;\n\nvoid main(void) {\n // coordinate transformation\n vec4 mPosition = modelMatrix * vec4(position, 1.0);\n\n float angleToCamera = acos(dot(normalize(cameraPosition), normalize(mPosition.xyz)));\n\n vUv = uv;\n vColor = vec3(smoothstep(0.7, 1.0, abs(sin(angleToCamera)))) * 0.9;\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform sampler2D texture;\nuniform sampler2D textureNormal;\n\nvarying vec2 vUv;\nvarying vec3 vColor;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n vec2 p = vUv * 2.0 - 1.0;\n\n vec2 normal = texture2D(textureNormal, vUv + vec2(0.5, 0.0)).xy;\n vec2 updateUv = vUv + vec2(\n cos(radians(normal.x * 360.0 + time * 60.0)) * 0.006,\n sin(radians(normal.y * 360.0 + time * 60.0)) * 0.006\n );\n\n vec4 texColor = texture2D(texture, updateUv);\n vec3 hsv = vec3(\n texColor.r * 0.14 + 0.03,\n 0.95 - texColor.r * 0.7,\n texColor.r * 0.4 + 0.8\n );\n vec3 rgb = convertHsvToRgb(hsv);\n\n gl_FragColor = vec4(rgb + vColor, 1.0);\n}\n"});return(e=a.call(this,t,n)).name="Core",e}return t=s,(n=[{key:"start",value:function(e,t){this.material.uniforms.texture.value=e,this.material.uniforms.textureNormal.value=t}},{key:"update",value:function(e){this.material.uniforms.time.value+=e}}])&&y(t.prototype,n),s}(r.Mesh);function M(e){return(M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function P(e,t){return!t||"object"!==M(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var R=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=T(i);if(o){var n=T(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return P(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.SphereGeometry(7.5,128,128),n=new r.RawShaderMaterial({uniforms:{time:{type:"f",value:0},texture:{type:"t",value:null},textureNormal:{type:"t",value:null}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform vec3 cameraPosition;\nuniform float time;\n\nvarying vec2 vUv;\nvarying float vOpacity;\n\nvoid main(void) {\n float wave1 = sin((position.x + position.y) * 0.8 + time * 0.4);\n float wave2 = sin((position.z - position.x) * 0.6 + time * 0.2);\n float wave = wave1 * 0.4 + wave2 * 0.6;\n vec3 wavePosition = normalize(position) * wave * 2.2;\n\n // coordinate transformation\n vec4 mPosition = modelMatrix * vec4(position + wavePosition, 1.0);\n\n float angleToCamera = acos(dot(normalize(cameraPosition), normalize(mPosition.xyz)));\n\n vUv = uv + vec2(0.5, 0.0);\n vOpacity = smoothstep(0.1, 0.6, abs(sin(angleToCamera)));\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform sampler2D texture;\nuniform sampler2D textureNormal;\n\nvarying vec2 vUv;\nvarying float vOpacity;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n vec2 p = vUv * 2.0 - 1.0;\n\n vec2 normal = texture2D(textureNormal, vUv + vec2(0.5, 0.0)).xy;\n vec2 updateUv = vUv + vec2(\n cos(radians(normal.x * 360.0 + time * 60.0)) * 0.018,\n sin(radians(normal.y * 360.0 + time * 60.0)) * 0.018\n );\n\n vec4 texColor = texture2D(texture, updateUv);\n float opacity = texColor.r * vOpacity;\n vec3 hsv = vec3(\n opacity * 0.1 + 0.03,\n 0.95 - opacity * 0.7,\n opacity * 0.4 + 0.8\n );\n vec3 rgb = convertHsvToRgb(hsv);\n\n gl_FragColor = vec4(rgb, smoothstep(0.3, 0.9, opacity) * 0.9);\n}\n",transparent:!0,depthWrite:!1,side:r.DoubleSide});return(e=a.call(this,t,n)).name="Shell",e}return t=s,(n=[{key:"start",value:function(e,t){this.material.uniforms.texture.value=e,this.material.uniforms.textureNormal.value=t}},{key:"update",value:function(e){this.material.uniforms.time.value+=e}}])&&_(t.prototype,n),s}(r.Mesh);function E(e){return(E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function z(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function L(e,t){return(L=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function C(e,t){return!t||"object"!==E(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var O=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&L(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=A(i);if(o){var n=A(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return C(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);for(var t=new r.BufferGeometry,n=new r.BufferAttribute(new Float32Array(3600),3),i=new r.BufferAttribute(new Float32Array(1200),1,1),o=new r.BufferAttribute(new Float32Array(1200),1,1),c=0;c<1200;c++){var l=u().radians(u().randomArbitrary(0,150)-75),f=u().radians(u().randomArbitrary(0,360)),h=Math.random()*Math.random()*8+6,v=u().spherical(l,f,h);n.setXYZ(c,v[0],v[1],v[2]),i.setXYZ(c,Math.random()),o.setXYZ(c,u().randomArbitrary(5,10)*(2*u().randomInt(0,1)-1))}t.setAttribute("position",n),t.setAttribute("delay",i),t.setAttribute("speed",o);var d=new r.RawShaderMaterial({uniforms:{time:{type:"f",value:0}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute float delay;\nattribute float speed;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\nuniform float time;\n\nvarying vec3 vColor;\nvarying float vOpacity;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nmat4 calcRotateMat4X(float radian) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, cos(radian), -sin(radian), 0.0,\n 0.0, sin(radian), cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Y(float radian) {\n return mat4(\n cos(radian), 0.0, sin(radian), 0.0,\n 0.0, 1.0, 0.0, 0.0,\n -sin(radian), 0.0, cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Z(float radian) {\n return mat4(\n cos(radian), -sin(radian), 0.0, 0.0,\n sin(radian), cos(radian), 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4(vec3 radian) {\n return calcRotateMat4X(radian.x) * calcRotateMat4Y(radian.y) * calcRotateMat4Z(radian.z);\n}\n\nconst float duration = 3.0;\n\nvoid main() {\n // calculate interval time from 0 to 1\n float interval = mod(time + delay * duration, duration) / duration;\n\n // update position and size\n float size = 10.0 * sin(interval * 4.0);\n float blink = max(sin(interval * 4.0) * 2.0 - 1.0, 0.0);\n mat4 rotateMat = calcRotateMat4(vec3(\n radians(time * speed * 0.3),\n radians(time * speed),\n radians(time * speed * 0.3)\n ));\n\n // calculate colors\n vec3 hsv = vec3(0.1 + sin(delay + time) * 0.05, 0.6, 1.0);\n vec3 rgb = convertHsvToRgb(hsv);\n\n // coordinate transformation\n vec4 mvPosition = modelViewMatrix * rotateMat * vec4(position, 1.0);\n float distanceFromCamera = 20.0 / length(mvPosition.xyz);\n\n vColor = rgb;\n vOpacity = blink * clamp(distanceFromCamera, 0.1, 0.3);\n\n gl_Position = projectionMatrix * mvPosition;\n gl_PointSize = distanceFromCamera * size;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform sampler2D texture;\n\nvarying vec3 vColor;\nvarying float vOpacity;\n\nvoid main() {\n // convert PointCoord to range from -1.0 to 1.0\n vec2 p = gl_PointCoord * 2.0 - 1.0;\n\n // draw double circle\n float r = (1.0 - smoothstep(0.95, 1.0, length(p)));\n\n gl_FragColor = vec4(vColor * r, vOpacity);\n}\n",transparent:!0,depthWrite:!1,blending:r.AdditiveBlending});return(e=a.call(this,t,d)).name="Points",e}return t=s,(n=[{key:"start",value:function(){}},{key:"update",value:function(e){this.material.uniforms.time.value+=e}}])&&z(t.prototype,n),s}(r.Points);function D(e){return(D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function I(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function F(e,t){return!t||"object"!==D(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function j(e){return(j=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var U=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=j(i);if(o){var n=j(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return F(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.RingGeometry(4,24,64),n=new r.RawShaderMaterial({uniforms:{time:{type:"f",value:0},texture:{type:"t",value:null}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\n\nvoid main(void) {\n // coordinate transformation\n vec4 mPosition = modelMatrix * vec4(position, 1.0);\n\n vPosition = position;\n vUv = uv;\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform sampler2D texture;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\n\nmat3 calcRotateMat3(float radian) {\n return mat3(\n cos(radian), -sin(radian), 0.0,\n sin(radian), cos(radian), 0.0,\n 0.0, 0.0, 1.0\n );\n}\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n vec2 p = vUv * 2.0 - 1.0;\n vec2 rotateUv = (calcRotateMat3(time * 0.04) * vec3(p, 1.0)).xy * 0.5 + 0.5;\n vec4 texColor = texture2D(texture, rotateUv);\n\n float l = length(vPosition);\n vec2 rotateMask = (calcRotateMat3(time * -0.02) * vec3(p, 1.0)).xy;\n float opacityIn = pow(1.0 - smoothstep(6.0, 10.0, l), 2.0);\n float opacityOut = 1.0 - smoothstep(8.0, 24.0, l);\n float opacityRay = sin(acos(dot(normalize(rotateMask), vec2(1.0, 0.0))) * 2.4 + time) * 0.4 + 0.6;\n float opacity = opacityIn * 0.7 + opacityOut * 0.1 + opacityRay * texColor.r;\n\n vec3 hsv = vec3(\n opacity * 0.12 + 0.98,\n 1.0 - opacity * 0.8,\n opacity * 0.4 + 0.8\n );\n vec3 rgb = convertHsvToRgb(hsv);\n\n gl_FragColor = vec4(rgb, opacity);\n}\n",transparent:!0});return(e=a.call(this,t,n)).position.z=-5,e.name="SunShine",e}return t=s,(n=[{key:"start",value:function(e){this.material.uniforms.texture.value=e}},{key:"update",value:function(e){this.material.uniforms.time.value+=e}}])&&I(t.prototype,n),s}(r.Mesh);function B(e){return(B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function G(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function H(e,t){return!t||"object"!==B(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function V(e){return(V=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var W=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=V(i);if(o){var n=V(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return H(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.SphereGeometry(50,12,12),n=new r.RawShaderMaterial({uniforms:{time:{type:"f",value:0}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n // coordinate transformation\n vec4 mPosition = modelMatrix * vec4(position, 1.0);\n\n vUv = uv;\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\n\nvarying vec2 vUv;\nvarying vec3 vColor;\n\nfloat random(vec2 c){\n return fract(sin(dot(c.xy ,vec2(12.9898,78.233))) * 43758.5453);\n}\n\nconst vec3 rgb1 = vec3(24.0 / 255.0, 32.0 / 255.0, 76.0 / 255.0);\nconst vec3 rgb2 = vec3(5.0 / 255.0, 6.0 / 255.0, 15.0 / 255.0);\n\nvoid main() {\n vec3 rgb = mix(rgb1, rgb2, vUv.y * 4.0 - 1.0);\n float noise = random(vUv + vec2(0.0, time * 0.01)) * 0.04;\n\n gl_FragColor = vec4(rgb + noise, 1.0);\n}\n",side:r.BackSide});return(e=a.call(this,t,n)).name="Background",e}return t=s,(n=[{key:"start",value:function(){}},{key:"update",value:function(e){this.material.uniforms.time.value+=e}}])&&G(t.prototype,n),s}(r.Mesh);function Z(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function q(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){Z(o,r,i,a,s,"next",e)}function s(e){Z(o,r,i,a,s,"throw",e)}a(void 0)}))}}var Y=new r.TextureLoader;function X(){return K.apply(this,arguments)}function K(){return(K=q(regeneratorRuntime.mark((function e(){var t,n,i,a,c,u,l,f,h,v,d,m,y,g,x,b,M,_,S,P;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=new r.Vector2,n=document.getElementById("canvas-webgl"),(i=new r.WebGL1Renderer({alpha:!0,antialias:!0,canvas:n})).setPixelRatio(window.devicePixelRatio),a=new r.Scene,c=new r.PerspectiveCamera,u=new r.Vector2,l=new r.Clock({autoStart:!1}),f=document.querySelector(".p-preloader"),h=new p,v=new w,d=new R,m=new O,y=new U,g=new W,b=function(){var e=l.getDelta();h.update(e),v.update(e),d.update(e),m.update(e),y.update(e),i.render(a,c)},M=function e(){b(),requestAnimationFrame(e)},_=function(){t.x>t.y?u.set(t.x>=1200?1200:t.x,t.x>=1200?800:.66*t.x):u.set(.6*(t.y>=1200?800:.66*t.y),.6*(t.y>=1200?1200:t.y)),c.setViewOffset(u.x,u.y,(t.x-u.x)/-2,(t.y-u.y)/-2,t.x,t.y),c.updateProjectionMatrix()},S=function(){t.set(document.body.clientWidth,window.innerHeight),n.width=t.x,n.height=t.y,_(),i.setSize(t.x,t.y)},P=function(){window.addEventListener("blur",(function(){l.stop()})),window.addEventListener("focus",(function(){l.start()})),window.addEventListener("resize",o()(S,100))},i.setClearColor(15658734,1),c.aspect=1.5,c.far=1e3,c.setFocalLength(50),c.position.set(0,0,50),c.lookAt(new r.Vector3),P(),S(),e.next=30,Promise.all([Y.loadAsync("../img/sketch/sun/core.png"),Y.loadAsync("../img/sketch/sun/core_normal.png"),Y.loadAsync("../img/sketch/sun/sunshine.png")]).then((function(e){x=e}));case 30:return x&&(x[0].wrapS=r.RepeatWrapping,x[0].wrapT=r.RepeatWrapping,x[1].wrapS=r.RepeatWrapping,x[1].wrapT=r.RepeatWrapping,v.start(x[0],x[1]),d.start(x[0],x[1]),y.start(x[2])),h.add(v),h.add(d),a.add(h),a.add(m),a.add(y),a.add(g),f.classList.add("is-hidden"),e.next=40,s()(200);case 40:l.start(),M();case 42:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},84269:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.size=280,this.interval=1.2,this.uniforms={index:{type:"f",value:t},time:{type:"f",value:0},timeTransform:{type:"f",value:0},interval:{type:"f",value:this.interval},size:{type:"f",value:this.size},texButterfly:{type:"t",value:n},texPicture:{type:"t",value:r},colorH:{type:"f",value:.08}},this.obj,this.isTransform=!1,this.createObj()}var t,o;return t=e,(o=[{key:"createObj",value:function(){var e=new i.PlaneGeometry(this.size,this.size/2,64,32),t=new i.SphereGeometry(.1*this.size,64,32,-.5*Math.PI,2*Math.PI),r=new i.PlaneGeometry(1.1*this.size,.55*this.size,64,32);e.setAttribute("spherePosition",t.attributes.position),e.setAttribute("squarePosition",r.attributes.position);var o=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(70124).Z,fragmentShader:n(75473).Z,side:i.DoubleSide,transparent:!0});this.obj=new i.Mesh(e,o),this.obj.position.y=.3*this.size,this.obj.renderOrder=10}},{key:"render",value:function(e,t){this.uniforms.time.value+=t,this.uniforms.timeTransform.value<this.interval&&!0===this.isTransform?this.uniforms.timeTransform.value=Math.min(this.uniforms.timeTransform.value+t,this.interval):this.uniforms.timeTransform.value>0&&!1===this.isTransform&&(this.uniforms.timeTransform.value=Math.max(this.uniforms.timeTransform.value-t,0))}}])&&r(t.prototype,o),e}()},76947:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return a}});var i=n(2212),o=n(41588).Z,a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.mirrorCamera=new i.PerspectiveCamera(30,t.x/t.y,1,15e3),this.mirrorRender=new i.WebGLRenderTarget(t.x,t.y),this.textureMatrix=new i.Matrix4,this.uniforms={time:{type:"f",value:0},texture:{type:"t",value:this.mirrorRender.texture},textureMatrix:{type:"m4",value:this.textureMatrix}},this.renderBack1=new i.WebGLRenderTarget(t.x,t.y),this.renderBack2=new i.WebGLRenderTarget(t.x,t.y),this.postEffectBlurX=new o(this.renderBack1.texture,1,0,4),this.postEffectBlurY=new o(this.renderBack2.texture,0,1,4),this.mirrorCamera.up.set(0,-1,0),this.obj,this.createObj()}var t,a;return t=e,(a=[{key:"add",value:function(e,t){t.add(this.obj),e.add(this.postEffectBlurX.obj),e.add(this.postEffectBlurY.obj)}},{key:"createObj",value:function(){var e=new i.PlaneGeometry(4e3,4e3),t=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(47741).Z,fragmentShader:n(41639).Z,transparent:!0});this.obj=new i.Mesh(e,t),this.obj.rotation.set(-.5*Math.PI,0,0)}},{key:"updateTextureMatrix",value:function(){this.textureMatrix.set(.5,0,0,.5,0,.5,0,.5,0,0,1,0,0,0,0,1),this.textureMatrix.multiply(this.mirrorCamera.projectionMatrix),this.textureMatrix.multiply(this.mirrorCamera.matrixWorldInverse)}},{key:"render",value:function(e,t,n,r,i){this.uniforms.time.value+=i,this.updateTextureMatrix(),this.obj.visible=!1,e.setRenderTarget(this.renderBack1),e.render(n,this.mirrorCamera),this.obj.visible=!0,this.postEffectBlurX.render(e,t,r,this.renderBack2),this.postEffectBlurY.render(e,t,r,this.mirrorRender)}},{key:"resize",value:function(e){this.mirrorCamera.aspect=e.x/e.y,this.mirrorCamera.updateProjectionMatrix(),this.mirrorRender.setSize(e.x,e.y),this.renderBack1.setSize(e.x,e.y),this.renderBack2.setSize(e.x,e.y),this.postEffectBlurX.resize(e),this.postEffectBlurY.resize(e)}}])&&r(t.prototype,a),e}()},5721:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return a}});var i=n(2212),o=n(17393),a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.interval=4,this.attr={position:new i.BufferAttribute(new Float32Array(3*t),3),colorH:new i.BufferAttribute(new Float32Array(t),1),index:new i.BufferAttribute(new Float32Array(t),1),opacity:new i.BufferAttribute(new Float32Array(t),1),valid:new i.BufferAttribute(new Float32Array(t),1)},this.uniforms={size:{type:"f",value:t},interval:{type:"f",value:this.interval},time:{type:"f",value:0}},this.butterflies=null,this.butterfliesLengh=0,this.obj,this.createObj()}var t,a;return t=e,(a=[{key:"createObj",value:function(){for(var e=new i.BufferGeometry,t=0;t<this.uniforms.size.value;t++)this.attr.index.setX(t,t);e.setAttribute("position",this.attr.position),e.setAttribute("colorH",this.attr.colorH),e.setAttribute("i",this.attr.index),e.setAttribute("opacity",this.attr.opacity),e.setAttribute("valid",this.attr.valid);var r=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(8467).Z,fragmentShader:n(27558).Z,depthWrite:!1,transparent:!0});this.obj=new i.Points(e,r),this.obj.renderOrder=20}},{key:"addButterflies",value:function(e){this.butterflies=e,this.butterfliesLengh=e.length}},{key:"render",value:function(e){this.uniforms.time.value+=e;for(var t=0;t<this.uniforms.size.value;t++){var n=(this.uniforms.time.value+this.attr.index.getX(t)/this.uniforms.size.value*this.interval)%this.interval,r=this.attr.valid.getX(t);if(n>=.9*this.interval&&1==r)this.attr.valid.setX(t,0);else if(n<=.9*this.interval&&0==r){var i=Math.floor(Math.random()*this.butterfliesLengh),a=this.butterflies[i],s=(-90*Math.random()-90)*Math.PI/180,c=-180*Math.random()*Math.PI/180,u=Math.random()*a.uniforms.size.value/4+a.uniforms.size.value/8,l=o.spherical(s,c,u),f=a.uniforms.timeTransform.value>0?0:1;this.attr.position.setXYZ(t,l[0]+a.obj.position.x,.2*l[1]+a.obj.position.y+20*Math.sin(a.uniforms.time.value),.5*l[2]+a.obj.position.z),this.attr.colorH.setX(t,a.uniforms.colorH.value),this.attr.opacity.setX(t,f),this.attr.valid.setX(t,1)}}this.attr.position.needsUpdate=!0,this.attr.colorH.needsUpdate=!0,this.attr.opacity.needsUpdate=!0,this.attr.valid.needsUpdate=!0}}])&&r(t.prototype,a),e}()},67283:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={brightMin:{type:"f",value:t},texture1:{type:"t",value:n},texture2:{type:"t",value:r}},this.obj,this.createObj()}var t,o;return t=e,(o=[{key:"createObj",value:function(){var e=new i.PlaneGeometry(2,2),t=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(86169).Z,fragmentShader:n(45014).Z});this.obj=new i.Mesh(e,t),this.obj.visible=!1}},{key:"render",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;this.obj.visible=!0,e.setRenderTarget(r),e.render(t,n),this.obj.visible=!1}}])&&r(t.prototype,o),e}()},41588:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=function(){function e(t,n,r,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={resolution:{type:"v2",value:new i.Vector2},direction:{type:"v2",value:new i.Vector2(n,r)},radius:{type:"f",value:o},texture:{type:"t",value:t}},this.obj,this.createObj()}var t,o;return t=e,(o=[{key:"createObj",value:function(){var e=new i.PlaneGeometry(2,2),t=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(86169).Z,fragmentShader:n(60479).Z});this.obj=new i.Mesh(e,t),this.obj.visible=!1}},{key:"resize",value:function(e){this.uniforms.resolution.value.set(e.x,e.y)}},{key:"render",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;this.obj.visible=!0,e.setRenderTarget(r),e.render(t,n),this.obj.visible=!1}}])&&r(t.prototype,o),e}()},68131:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={brightMin:{type:"f",value:t},texture:{type:"t",value:n}},this.obj,this.createObj()}var t,o;return t=e,(o=[{key:"createObj",value:function(){var e=new i.PlaneGeometry(2,2),t=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(86169).Z,fragmentShader:n(46045).Z});this.obj=new i.Mesh(e,t),this.obj.visible=!1}},{key:"render",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;this.obj.visible=!0,e.setRenderTarget(r),e.render(t,n),this.obj.visible=!1}}])&&r(t.prototype,o),e}()},82158:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(2212),i=n(38314),o=n(89813).Z,a=n(84269).Z,s=n(5721).Z,c=n(76947).Z,u=n(68131).Z,l=n(41588).Z,f=n(67283).Z;function h(){var e={x:0,y:0},t=document.getElementById("canvas-webgl"),n=new r.WebGL1Renderer({antialias:!0,canvas:t,alpha:!0}),h=new r.WebGLRenderTarget(0,0),v=new r.WebGLRenderTarget(0,0),d=new r.WebGLRenderTarget(0,0),p=new r.Scene,m=new r.Scene,y=new r.OrthographicCamera(-1,1,1,-1,0,1),g=new r.PerspectiveCamera(30,1,1,15e3),x=new r.Clock,b=new r.TextureLoader,w=new r.Vector2,M=new r.Vector2,_=new r.Vector2,S=[],P=new s(32),T=new c(e),R=new u(.7,h.texture),E=new l(v.texture,1,0,1),z=new l(d.texture,0,1,1),L=new f(.7,h.texture,v.texture),C=["/sketch-threejs/img/sketch/transform/tex.png","/sketch-threejs/img/sketch/transform/flower.jpg"],A=[],O=function(){e.x=document.body.clientWidth,e.y=window.innerHeight,t.width=e.x,t.height=e.y,g.aspect=e.x/e.y,g.updateProjectionMatrix(),T.resize(e),E.resize(e),z.resize(e),h.setSize(e.x,e.y),v.setSize(e.x,e.y),d.setSize(e.x,e.y),n.setSize(e.x,e.y)},D=function e(){!function(){for(var e=x.getDelta(),t=0;t<S.length;t++)S[t].render(n,e);P.render(e),T.render(n,p,m,y,e),n.setRenderTarget(h),n.render(m,g),R.render(n,p,y,v),E.render(n,p,y,d),z.render(n,p,y,v),L.render(n,p,y)}(),requestAnimationFrame(e)},I=function(e){S[0].isTransform=!S[0].isTransform};!function(){O(),window.addEventListener("resize",i(O),1e3),t.addEventListener("mousedown",(function(e){e.preventDefault(),w.set(e.clientX,e.clientY),o(w),I()})),t.addEventListener("mousemove",(function(e){e.preventDefault(),M.set(e.clientX,e.clientY),o(M)})),t.addEventListener("mouseup",(function(e){e.preventDefault(),_.set(e.clientX,e.clientY),o(_)})),t.addEventListener("touchstart",(function(e){e.preventDefault(),w.set(e.touches[0].clientX,e.touches[0].clientY),o(w),I(e.touches[0].clientX,e.touches[0].clientY)})),t.addEventListener("touchmove",(function(e){e.preventDefault(),M.set(e.touches[0].clientX,e.touches[0].clientY),o(M)})),t.addEventListener("touchend",(function(e){e.preventDefault(),_.set(e.changedTouches[0].clientX,e.changedTouches[0].clientY),o(_)})),window.addEventListener("mouseout",(function(){event.preventDefault(),_.set(0,0)})),n.setClearColor(16382457,1),g.position.set(400.1,60,-400),T.mirrorCamera.position.set(g.position.x,-1*g.position.y,g.position.z),g.lookAt(new r.Vector3(0,60,0)),T.mirrorCamera.lookAt(new r.Vector3(0,-60,0));for(var e=0,s=function(){var t=c;b.load(C[c],(function(n){if(n.magFilter=r.NearestFilter,n.minFilter=r.NearestFilter,n.repeat=r.RepeatWrapping,A[t]=n,++e>=C.length){for(var i=0;i<1;i++)S[i]=new a(i,A[0],A[1]),m.add(S[i].obj);P.addButterflies(S),m.add(P.obj),T.add(p,m),p.add(R.obj),p.add(E.obj),p.add(z.obj),p.add(L.obj),D()}}))},c=0;c<C.length;c++)s()}()}},31547:function(e,t,n){"use strict";n.d(t,{Z:function(){return Z}});var r=n(2212),i=n(38314),o=n.n(i),a=n(52886);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=f(i);if(o){var n=f(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return l(this,e)});function s(e,t,n,i){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(o=a.call(this,e,t,n,i)).cameraResolution=new r.Vector2,o.time=0,o}return t=s,(n=[{key:"start",value:function(){this.far=1e3,this.setFocalLength(50),this.position.set(0,50,0),this.lookAt(new r.Vector3)}},{key:"update",value:function(e){this.time+=e}},{key:"resize",value:function(e){this.aspect=e.x/e.y,this.updateProjectionMatrix()}}])&&c(t.prototype,n),s}(r.PerspectiveCamera);function v(e){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t){return!t||"object"!==v(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=y(i);if(o){var n=y(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return m(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.PlaneGeometry(80,80),n=new r.RawShaderMaterial({uniforms:{time:{value:0},resolution:{value:new r.Vector2},tScene:{value:null},tNormal:{value:null}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\n\nvoid main(void) {\n vec4 mPosition = modelMatrix * vec4(position, 1.0);\n\n vPosition = mPosition.xyz;\n vUv = uv;\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform mat4 modelMatrix;\nuniform vec3 cameraPosition;\nuniform float time;\nuniform vec2 resolution;\nuniform sampler2D tScene;\nuniform sampler2D tNormal;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n vec2 p = vUv * 2.0 - 1.0;\n vec3 light = normalize(vec3(0.0, 1.0, 0.0));\n\n vec3 normal1 = texture2D(tNormal, (vUv + vec2(0.0, 0.2)) + vec2( time, time) * 0.02).xyz * 2.0 - 1.0;\n vec3 normal2 = texture2D(tNormal, (vUv + vec2(0.0, 0.4)) + vec2( time, -time) * 0.02).xyz * 2.0 - 1.0;\n vec3 normal3 = texture2D(tNormal, (vUv + vec2(0.0, 0.6)) + vec2(-time, time) * 0.02).xyz * 2.0 - 1.0;\n vec3 normal4 = texture2D(tNormal, (vUv + vec2(0.0, 0.8)) + vec2(-time, -time) * 0.02).xyz * 2.0 - 1.0;\n vec3 normal = normalize(normal1 + normal2 + normal3 + normal4);\n\n float angleToCamera = acos(dot(normalize(vPosition - cameraPosition), normal));\n float diffuse = clamp(dot(normal, light), 0.0, 1.0);\n\n vec3 hsv = vec3(0.52, 1.0, 0.0);\n vec3 rgb = convertHsvToRgb(hsv);\n float edgeGradual = (1.0 - smoothstep(0.5, 1.0, length(p)));\n\n vec2 uv = gl_FragCoord.xy / resolution;\n vec4 tSceneColor = texture2D(tScene, uv + normal.xy * 0.1);\n\n gl_FragColor = vec4((rgb + diffuse) * edgeGradual + tSceneColor.rgb, 1.0);\n}\n"});return(e=a.call(this,t,n)).name="Water",e.rotation.x=Math.PI/180*-90,e}return t=s,(n=[{key:"start",value:function(e,t){var n=this.material.uniforms;n.tScene.value=e,n.tNormal.value=t}},{key:"update",value:function(e){this.material.uniforms.time.value+=e}},{key:"resize",value:function(e){this.material.uniforms.resolution.value.copy(e)}}])&&d(t.prototype,n),s}(r.Mesh);function x(e){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function M(e,t){return!t||"object"!==x(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var S=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=_(i);if(o){var n=_(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return M(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.PlaneGeometry(30,30),n=new r.RawShaderMaterial({uniforms:{time:{value:0},tImage:{value:null}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\n\nvoid main(void) {\n // coordinate transformation\n vec4 mPosition = modelMatrix * vec4(position, 1.0);\n\n vPosition = mPosition.xyz;\n vUv = uv;\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nuniform sampler2D tImage;\n\nvarying vec2 vUv;\n\nvoid main() {\n vec3 tImageColor = texture2D(tImage, vUv).xyz;\n gl_FragColor = vec4(tImageColor, 1.0);\n}\n"});return(e=a.call(this,t,n)).name="Image",e.rotation.x=Math.PI/180*-90,e.position.y=-5,e}return t=s,(n=[{key:"start",value:function(e){this.material.uniforms.tImage.value=e}}])&&b(t.prototype,n),s}(r.Mesh);function P(e){return(P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function T(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(e,t){return!t||"object"!==P(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function z(e){return(z=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var L,C=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&R(e,t)}(s,e);var t,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=z(i);if(o){var n=z(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return E(this,e)});function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=new r.SphereGeometry(100,64,64),n=new r.RawShaderMaterial({uniforms:{texture:{value:null}},vertexShader:"#define GLSLIFY 1\nattribute vec3 position;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\n\nvarying vec3 vPosition;\n\nvoid main() {\n // coordinate transformation\n vec4 mPosition = modelMatrix * vec4(position, 1.0);\n\n vPosition = mPosition.xyz;\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n",fragmentShader:"precision highp float;\n#define GLSLIFY 1\n\nvarying vec3 vPosition;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n float alpha = vPosition.z / 100.0 * 0.5 + 0.5;\n vec3 hsv1 = vec3(0.49, 0.5, 0.7);\n vec3 hsv2 = vec3(1.1, 0.1, 0.9);\n vec3 rgb = mix(convertHsvToRgb(hsv1), convertHsvToRgb(hsv2), alpha);\n\n gl_FragColor = vec4(rgb, 1.0);\n}\n",side:r.BackSide});return(e=a.call(this,t,n)).name="Background",e}return t=s,(n=[{key:"start",value:function(e){this.material.uniforms.texture.value=e}}])&&T(t.prototype,n),s}(r.Mesh);function A(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var D,I=new r.Scene,k=new h,F=new r.Clock({autoStart:!1}),j=new r.TextureLoader,U=new g,B=new S,G=new C,N=new r.WebGLRenderTarget,H=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,i,o;return t=e,(n=[{key:"start",value:(i=regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(L=new r.WebGLRenderer({alpha:!0,antialias:!0,canvas:t})).setPixelRatio(window.devicePixelRatio),L.setClearColor(16382457,1),(D=new a.z(k,L.domElement)).dampingFactor=.1,D.enableDamping=!0,D.enablePan=!1,D.enableZoom=!1,D.maxPolarAngle=Math.PI/180*80,e.next=11,Promise.all([j.loadAsync("/sketch-threejs/img/sketch/water/normal.jpg"),j.loadAsync("/sketch-threejs/img/sketch/water/image.jpg")]).then((function(e){e[0].wrapT=e[0].wrapS=r.RepeatWrapping,U.start(N.texture,e[0]),B.start(e[1])}));case 11:k.start(),I.add(B),I.add(U),I.add(G);case 15:case"end":return e.stop()}}),e)})),o=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){A(o,n,r,a,s,"next",e)}function s(e){A(o,n,r,a,s,"throw",e)}a(void 0)}))},function(e){return o.apply(this,arguments)})},{key:"play",value:function(){F.start(),this.update()}},{key:"pause",value:function(){F.stop()}},{key:"update",value:function(){if(!1!==F.running){var e=F.getDelta();k.update(e),U.update(e),U.visible=!1,L.setRenderTarget(N),L.render(I,k),U.visible=!0,L.setRenderTarget(null),L.render(I,k),D.update()}}},{key:"resize",value:function(e){k.resize(e),U.resize(e),L.setSize(e.x,e.y),N.setSize(e.x,e.y)}}])&&O(t.prototype,n),e}();function V(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function W(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){V(o,r,i,a,s,"next",e)}function s(e){V(o,r,i,a,s,"throw",e)}a(void 0)}))}}function Z(){return q.apply(this,arguments)}function q(){return(q=W(regeneratorRuntime.mark((function e(){var t,n,i,a,s,c,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=new H,n=new r.Vector2,i=document.getElementById("canvas-webgl"),a=document.querySelector(".p-preloader"),s=function(){n.set(document.body.clientWidth,window.innerHeight),i.width=n.x,i.height=n.y,t.resize(n)},c=function(){window.addEventListener("blur",(function(){t.pause()})),window.addEventListener("focus",(function(){t.play()})),window.addEventListener("resize",o()(s,100))},u=function e(){t.update(),requestAnimationFrame(e)},e.next=9,t.start(i);case 9:c(),s(),a.classList.add("is-hidden"),t.play(),u();case 14:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},68154:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return a}});var i=n(2212),o=n(17393),a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0},force:{type:"f",value:0}},this.obj}var t,a;return t=e,(a=[{key:"createObj",value:function(){var e=new i.SphereGeometry(150,128,128,0,6.3,0,1.6),t=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(33491).Z,fragmentShader:n(77855).Z,side:i.BackSide});this.obj=new i.Mesh(e,t),this.obj.rotation.set(o.radians(-90),0,0)}},{key:"render",value:function(e,t){this.uniforms.force.value=t,this.uniforms.time.value+=e*(1.2*t)}}])&&r(t.prototype,a),e}()},87006:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=(n(17393),function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.positions=void 0,this.uniforms={time:{type:"f",value:0}},this.obj}var t,o;return t=e,(o=[{key:"createObj",value:function(){var e=new i.BufferGeometry;this.positions=new i.BufferAttribute(new Float32Array(204),3),e.setAttribute("position",this.positions);var t=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(6214).Z,fragmentShader:n(90984).Z,transparent:!0,depthWrite:!1,blending:i.AdditiveBlending});this.obj=new i.Points(e,t)}},{key:"setPositions",value:function(e,t,n){var r="user"===n.facingMode?-1:1;if(this.obj.visible=t>=.3,!1!==e){for(var i=0;i<this.positions.count;i++)this.positions.setXYZ(i,25*(e[i][0]/n.resolution.x*2-1)*r,-25*(e[i][1]/n.resolution.y*2-1),10);this.positions.needsUpdate=!0}}},{key:"render",value:function(e,t,n,r){this.uniforms.time.value+=e*(1.2*r.force.v),this.setPositions(t,n,r)}}])&&r(t.prototype,o),e}())},19309:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(2212),o=(n(17393),function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0},texVideo:{type:"t",value:null},facing:{type:"f",value:0},resolution:{type:"v2",value:new i.Vector2},force:{type:"f",value:0}},this.obj}var t,o;return t=e,(o=[{key:"createObj",value:function(e){var t=new i.PlaneGeometry(50,50,2,2),r=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(3943).Z,fragmentShader:n(86607).Z,transparent:!0}),o=new i.VideoTexture(e.video);o.minFilter=i.LinearFilter,o.magFilter=i.LinearFilter,o.format=i.RGBFormat,this.uniforms.texVideo.value=o,this.uniforms.facing.value="user"===e.facingMode?1:0,this.uniforms.resolution.value.set(e.resolution.x,e.resolution.y),this.obj=new i.Mesh(t,r)}},{key:"resize",value:function(e){this.uniforms.resolution.value.set(e.resolution.x,e.resolution.y)}},{key:"render",value:function(e,t){var n=.008*t+1;this.uniforms.force.value=t,this.uniforms.time.value+=e*(1.2*t),this.obj.scale.set(n,n,n)}}])&&r(t.prototype,o),e}())},47067:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return a}});var i=n(2212),o=n(17393),a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0},force:{type:"f",value:0}},this.obj}var t,a;return t=e,(a=[{key:"createObj",value:function(){for(var e=new i.BufferGeometry,t=[],r=[],a=0;a<600;a+=3){var s=Math.random()*Math.random()*60+20,c=o.radians(360*Math.random());t[a+0]=Math.cos(c)*s,t[a+1]=Math.sin(c)*s,t[a+2]=0,r[a/3]=8*Math.random()}var u=new i.BufferAttribute(new Float32Array(t),3),l=new i.BufferAttribute(new Float32Array(r),1);e.setAttribute("position",u),e.setAttribute("delay",l);var f=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(60121).Z,fragmentShader:n(99907).Z,transparent:!0,depthWrite:!1});this.obj=new i.Points(e,f)}},{key:"render",value:function(e,t){this.uniforms.force.value=t,this.uniforms.time.value+=e*(1.2*t)}}])&&r(t.prototype,a),e}()},86711:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return a}});var i=n(2212),o=n(17393),a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.uniforms={time:{type:"f",value:0},force:{type:"f",value:0}},this.obj}var t,a;return t=e,(a=[{key:"createObj",value:function(){var e=new i.InstancedBufferGeometry,t=new i.BoxGeometry(1.2,1.2,18);e.copy(t);for(var r=new i.InstancedBufferAttribute(new Float32Array(360),3),a=new i.InstancedBufferAttribute(new Float32Array(120),1),s=0;s<120;s++){var c=Math.random()*Math.random()*40+40,u=o.radians(360*Math.random());r.setXYZ(s,Math.cos(u)*c,Math.sin(u)*c,0),a.setX(s,8*Math.random())}e.setAttribute("iPosition",r),e.setAttribute("iDelay",a);var l=new i.RawShaderMaterial({uniforms:this.uniforms,vertexShader:n(15337).Z,fragmentShader:n(19326).Z,transparent:!0,depthWrite:!1});this.obj=new i.InstancedMesh(e,l,120),this.obj.frustumCulled=!1}},{key:"render",value:function(e,t){this.uniforms.force.value=t,this.uniforms.time.value+=e*(1.2*t)}}])&&r(t.prototype,a),e}()},10988:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return s}});var o=n(2212),a=n(29130),s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.video=document.createElement("video"),this.facingMode=void 0,this.resolution={x:0,y:0},this.mouth=[new o.Vector2,new o.Vector2,new o.Vector2,new o.Vector2],this.force={a:0,v:1}}var t,n,s,c;return t=e,(n=[{key:"init",value:(s=regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(navigator.mediaDevices){e.next=2;break}return e.abrupt("return");case 2:return this.facingMode="user",e.next=5,navigator.mediaDevices.getUserMedia({audio:!1,video:{facingMode:this.facingMode}}).then((function(e){t.video.srcObject=e})).catch((function(e){window.alert("It wasn't allowed to use WebCam.")}));case 5:return this.video.setAttribute("playsinline",!0),this.video.setAttribute("controls",!0),this.video.play(),e.next=10,a(1e3);case 10:return this.resolution.x=this.video.width=this.video.videoWidth,this.resolution.y=this.video.height=this.video.videoHeight,e.abrupt("return");case 13:case"end":return e.stop()}}),e,this)})),c=function(){var e=this,t=arguments;return new Promise((function(n,i){var o=s.apply(e,t);function a(e){r(o,n,i,a,c,"next",e)}function c(e){r(o,n,i,a,c,"throw",e)}a(void 0)}))},function(){return c.apply(this,arguments)})},{key:"render",value:function(e,t){var n=0;if(t>=.3&&!1!==e){this.mouth[0].set(e[47][0],e[47][1]),this.mouth[1].set(e[60][0],e[60][1]),this.mouth[2].set(e[57][0],e[57][1]),this.mouth[3].set(e[53][0],e[53][1]);var r=this.mouth[0].distanceTo(this.mouth[1]),i=this.mouth[1].distanceTo(this.mouth[2]),o=this.mouth[2].distanceTo(this.mouth[3]);n=Math.max(i/(r+o)-1,0)}var a=.01*(1-this.force.v),s=.16*-this.force.a,c=.1*n;this.force.a+=a+s+c,this.force.v=this.force.v+this.force.a}}])&&i(t.prototype,n),e}()},89643:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){var a=e.apply(t,n);function s(e){r(a,i,o,s,c,"next",e)}function c(e){r(a,i,o,s,c,"throw",e)}s(void 0)}))}}n.d(t,{Z:function(){return d}});var o=n(2212),a=n(38314),s=n(17393),c=n(10988).Z,u=n(19309).Z,l=n(47067).Z,f=n(86711).Z,h=n(87006).Z,v=n(68154).Z;function d(){return p.apply(this,arguments)}function p(){return(p=i(regeneratorRuntime.mark((function e(){var t,n,r,d,p,m,y,g,x,b,w,M,_,S,P,T,R,E;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=new o.Vector2,n=document.getElementById("canvas-webgl"),r=new o.WebGL1Renderer({alpha:!0,antialias:!0,canvas:n}),d=new o.Scene,p=new o.PerspectiveCamera,m=new o.Clock({autoStart:!1}),y=new c,g=new u,x=new l,b=new f,w=new h,M=new v(0),_=new clm.tracker,S=function(){var e=i(regeneratorRuntime.mark((function e(){var t,n,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=m.getDelta(),n=_.getCurrentPosition(),i=_.getScore(),y.render(n,i),g.render(t,y.force.v),x.render(t,y.force.v),b.render(t,y.force.v),w.render(t,n,i,y),M.render(t,y.force.v),r.render(d,p),e.abrupt("return");case 11:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),P=function(){var e=i(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S();case 2:return requestAnimationFrame(P),e.abrupt("return");case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),T=function(){p.aspect=t.x/t.y,p.updateProjectionMatrix(),p.setFocalLength(15*s.step(1,t.y/t.x)+35)},R=function(){var e=i(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.set(document.body.clientWidth,window.innerHeight),n.width=t.x,n.height=t.y,T(),r.setSize(t.x,t.y),e.next=7,y.init();case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),E=function(){window.addEventListener("resize",a((function(){R().then((function(){g.resize(y)}))}),500))},r.setClearColor(15658734,1),p.far=1e3,p.position.set(0,0,100),p.lookAt(new o.Vector3),m.start(),E(),e.next=26,R();case 26:g.createObj(y),x.createObj(),b.createObj(),w.createObj(),M.createObj(),g.obj.renderOrder=10,x.obj.renderOrder=2,b.obj.renderOrder=1,w.obj.renderOrder=20,d.add(g.obj),d.add(x.obj),d.add(b.obj),d.add(w.obj),d.add(M.obj),_.init(pModel),_.start(y.video),P();case 43:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},63424:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return o}});var i=n(67084).Z,o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.velocity=[0,0,0],this.acceleration=[0,0,0],this.anchor=[0,0,0],this.k=t&&void 0!==t.k?t.k:.3,this.d=t&&void 0!==t.d?t.d:.7,this.m=t&&void 0!==t.m?t.m:1}var t,n;return t=e,(n=[{key:"render",value:function(){i.applyHook(this.velocity,this.acceleration,this.anchor,0,this.k),i.applyDrag(this.acceleration,this.d),i.updateVelocity(this.velocity,this.acceleration,this.m)}}])&&r(t.prototype,n),e}()},95070:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return a}});var i=n(17393),o=n(5833),a=function(){function e(t,n,r,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scrollManager=n,this.hookes=r,this.elm=t,this.height=0,this.top=0,this.rangeX=i&&i.rangeX?i.rangeX:1e4,this.ratioX=i&&i.ratioX?i.ratioX:0,this.unitX=i&&i.unitX?i.unitX:"px",this.rangeY=i&&i.rangeY?i.rangeY:10,this.ratioY=i&&i.ratioY?i.ratioY:.012,this.unitY=i&&i.unitY?i.unitY:"%"}var t,n;return t=e,(n=[{key:"init",value:function(e){this.elm.style.transform="";var t=this.elm.getBoundingClientRect();this.height=t.height,this.top=e+t.top,this.elm.style.backfaceVisibility="hidden",this.render()}},{key:"render",value:function(e){var t=e?i.clamp(this.hookes.velocity[0]*this.ratioX,-1*this.rangeX,this.rangeX):0,n=e?i.clamp((this.hookes.velocity[1]-(this.top+.5*this.height))*this.ratioY,-1*this.rangeY,this.rangeY):0;this.elm.style.transform=o()?"translate(".concat(t).concat(this.unitX,", ").concat(n).concat(this.unitY,")"):"translate3D(".concat(t).concat(this.unitX,", ").concat(n).concat(this.unitY,", 0)")}}])&&r(t.prototype,n),e}()},39378:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return i}});var i=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.elm=t,this.elmChildren=t.querySelectorAll(".js-scroll-item-child"),this.top=0,this.bottom=0}var t,n;return t=e,(n=[{key:"init",value:function(e){var t=this.elm.getBoundingClientRect();this.top=e+t.top,this.bottom=this.top+t.height}},{key:"show",value:function(e,t){if(e>this.top&&t<this.bottom){this.elm.classList.add("is-shown");for(var n=0;n<this.elmChildren.length;n++)this.elmChildren[n].classList.add("is-shown")}}}])&&r(t.prototype,n),e}()},12908:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return s}});var i=n(39378).Z,o=n(32579).Z,a=n(95070).Z,s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scrollManager=t,this.scrollItems=[],this.smoothItems=[],this.parallaxItems=[]}var t,n;return t=e,(n=[{key:"init",value:function(){var e=document.querySelectorAll(".js-scroll-item"),t=document.querySelectorAll(".js-smooth-item"),n=document.querySelectorAll(".js-parallax-item");this.scrollItems=[],this.smoothItems=[],this.parallaxItems=[];for(var r=0;r<e.length;r++)this.scrollItems[r]=new i(e[r],this.scrollManager);for(r=0;r<t.length;r++)this.smoothItems[r]=new o(t[r],this.scrollManager,this.scrollManager.hookes.smooth,t[r].dataset);for(r=0;r<n.length;r++)this.parallaxItems[r]=new a(n[r],this.scrollManager,this.scrollManager.hookes.parallax,n[r].dataset)}},{key:"scroll",value:function(){for(var e=0;e<this.scrollItems.length;e++)this.scrollItems[e].show(this.scrollManager.scrollTop+this.scrollManager.resolution.y,this.scrollManager.scrollTop)}},{key:"resize",value:function(){for(var e=0;e<this.scrollItems.length;e++)this.scrollItems[e].init(this.scrollManager.scrollTop);for(e=0;e<this.smoothItems.length;e++)this.smoothItems[e].init(this.scrollManager.scrollTop);for(e=0;e<this.parallaxItems.length;e++)this.parallaxItems[e].init(this.scrollManager.scrollTop)}},{key:"render",value:function(e){for(var t=0;t<this.smoothItems.length;t++)this.smoothItems[t].render(e);for(t=0;t<this.parallaxItems.length;t++)this.parallaxItems[t].render(e)}}])&&r(t.prototype,n),e}()},32579:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return i}});var i=function(){function e(t,n,r,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scrollManager=n,this.hookes=r,this.elm=t,this.height=0,this.top=0,this.max=i&&i.max?i.max:null,this.min=i&&i.min?i.min:null,this.ratio=i&&i.ratio?i.ratio:.1,this.unit=i&&i.unit?i.unit:"px"}var t,n;return t=e,(n=[{key:"init",value:function(e){var t=this.elm.getBoundingClientRect();this.height=t.height,this.top=e+t.top,this.elm.style.backfaceVisibility="hidden"}},{key:"render",value:function(e){var t=0;e&&(t=this.hookes.velocity[1]*this.ratio,Math.abs(this.hookes.acceleration[1])<.01&&(this.hookes.velocity[1]=this.hookes.anchor[1]),this.min&&(t=Math.max(t,this.min)),this.max&&(t=Math.min(t,this.max))),this.elm.style.transform="translate3D(0, ".concat(t).concat(this.unit,", 0)")}}])&&r(t.prototype,n),e}()},93604:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:function(){return f}});var i=n(38314),o=n(4679),a=n(71243),s=n(63424).Z,c=n(12908).Z,u=document.querySelector(".js-contents"),l=document.querySelector(".js-dummy-scroll"),f=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scrollItems=new c(this),this.scrollTop=0,this.scrollFrame=0,this.scrollTopPause=0,this.resolution={x:0,y:0},this.bodyResolution={x:0,y:0},this.X_SWITCH_SMOOTH=1024,this.hookes={},this.scrollPrev=null,this.scrollNext=null,this.resizeReset=null,this.resizePrev=null,this.resizeNext=null,this.renderPrev=null,this.renderNext=null,this.isWorking=!1,this.isWorkingSmooth=!1,this.isAlreadyAddEvent=!1}var t,n;return t=e,(n=[{key:"start",value:function(e){var t=this;setTimeout((function(){t.scrollTop=window.pageYOffset,t.initHookes(),t.scrollItems.init();var n=location.hash,r=n?document.querySelector(n):null;if(r){var i=r.getBoundingClientRect();t.scrollTop,i.top}t.resize((function(){t.scroll(),t.isWorkingSmooth=!0,t.renderLoop(),t.on(),e&&e()}))}),100)}},{key:"pause",value:function(){this.isWorking=!1,u.style.position="fixed",this.hookes.contents.velocity[1]=this.hookes.contents.anchor[1]=-1*this.scrollTop,this.scrollTopPause=this.scrollTop,window.scrollTo(0,this.scrollTop)}},{key:"play",value:function(){u.style.position="",this.scrollTop=this.scrollTopPause,this.resolution.x<=this.X_SWITCH_SMOOTH&&(this.hookes.contents.velocity[1]=this.hookes.contents.anchor[1]=0),window.scrollTo(0,this.scrollTop),this.isWorking=!0}},{key:"initDummyScroll",value:function(){this.resolution.x<=this.X_SWITCH_SMOOTH?(u.style.transform="",u.classList.remove("is-fixed"),l.style.height="0"):(u.classList.add("is-fixed"),l.style.height="".concat(u.clientHeight,"px")),this.render()}},{key:"initHookes",value:function(){this.hookes={contents:new s({k:.575,d:.8}),smooth:new s({k:.18,d:.75}),parallax:new s({k:.28,d:.7})}}},{key:"scrollBasis",value:function(){this.resolution.x>this.X_SWITCH_SMOOTH&&(this.hookes.contents.anchor[1]=-1*this.scrollTop,this.hookes.smooth.velocity[1]+=this.scrollFrame,this.hookes.parallax.anchor[1]=this.scrollTop+.5*this.resolution.y),this.scrollItems.scroll()}},{key:"scroll",value:function(e){if(!1!==this.isWorking){var t=window.pageYOffset;this.scrollFrame=t-this.scrollTop,this.scrollTop=t,this.scrollPrev&&this.scrollPrev(),this.scrollBasis(),this.scrollNext&&this.scrollNext()}}},{key:"tilt",value:function(e){!1!==this.isWorking&&this.resolution.x>this.X_SWITCH_SMOOTH&&(this.hookes.parallax.anchor[0]=-100*(e.clientX/this.resolution.x*2-1))}},{key:"resizeBasis",value:function(){this.scrollItems.resize()}},{key:"resize",value:function(e){if(this.isWorking=!1,this.resizeReset&&this.resizeReset(),this.scrollTop=window.pageYOffset,this.resolution.x=window.innerWidth,this.resolution.y=window.innerHeight,this.bodyResolution.x=document.body.clientWidth,this.bodyResolution.y=document.body.clientHeight,this.resolution.x>this.X_SWITCH_SMOOTH)this.hookes.contents.velocity[1]=this.hookes.contents.anchor[1]=-this.scrollTop,this.hookes.parallax.velocity[1]=this.hookes.parallax.anchor[1]=this.scrollTop+.5*this.resolution.y;else for(var t in this.hookes)switch(t){case"contents":case"parallax":this.hookes[t].anchor[1]=this.hookes[t].velocity[1]=0;break;default:this.hookes[t].velocity[1]=0}this.resizePrev&&this.resizePrev(),this.initDummyScroll(),this.render(),window.scrollTo(0,this.scrollTop),this.resizeBasis(),this.resizeNext&&this.resizeNext(),this.isWorking=!0,e&&e()}},{key:"render",value:function(){this.renderPrev&&this.renderPrev();var e=Math.floor(1e3*this.hookes.contents.velocity[1])/1e3;for(var t in u.style.transform="translate3D(0, ".concat(e,"px, 0)"),this.hookes)this.hookes[t].render();this.scrollItems.render(this.isValidSmooth()),this.renderNext&&this.renderNext()}},{key:"renderLoop",value:function(){var e=this;this.render(),this.isWorkingSmooth&&requestAnimationFrame((function(){e.renderLoop()}))}},{key:"on",value:function(){var e=this;if(!this.isAlreadyAddEvent){var t=o()||a()?"orientationchange":"resize";window.addEventListener("scroll",(function(t){e.scroll(t)}),!1),window.addEventListener("mousemove",(function(t){e.tilt(t)}),!1),window.addEventListener(t,i((function(t){e.resize()}),400),!1),this.isAlreadyAddEvent=!0}}},{key:"off",value:function(){this.scrollPrev=null,this.scrollNext=null,this.resizeReset=null,this.resizePrev=null,this.resizeNext=null,this.renderPrev=null,this.renderNext=null}},{key:"isValidSmooth",value:function(){return this.isWorkingSmooth&&this.resolution.x>this.X_SWITCH_SMOOTH}}])&&r(t.prototype,n),e}()},91685:function(e,t,n){var r;!function(){"use strict";var i=.5*(Math.sqrt(3)-1),o=(3-Math.sqrt(3))/6,a=1/6,s=(Math.sqrt(5)-1)/4,c=(5-Math.sqrt(5))/20;function u(e){var t;t="function"==typeof e?e:e?function(){var e=0,t=0,n=0,r=1,i=f();e=i(" "),t=i(" "),n=i(" ");for(var o=0;o<arguments.length;o++)(e-=i(arguments[o]))<0&&(e+=1),(t-=i(arguments[o]))<0&&(t+=1),(n-=i(arguments[o]))<0&&(n+=1);return i=null,function(){var i=2091639*e+2.3283064365386963e-10*r;return e=t,t=n,n=i-(r=0|i)}}(e):Math.random,this.p=l(t),this.perm=new Uint8Array(512),this.permMod12=new Uint8Array(512);for(var n=0;n<512;n++)this.perm[n]=this.p[255&n],this.permMod12[n]=this.perm[n]%12}function l(e){var t,n=new Uint8Array(256);for(t=0;t<256;t++)n[t]=t;for(t=0;t<255;t++){var r=t+~~(e()*(256-t)),i=n[t];n[t]=n[r],n[r]=i}return n}function f(){var e=4022871197;return function(t){t=t.toString();for(var n=0;n<t.length;n++){var r=.02519603282416938*(e+=t.charCodeAt(n));r-=e=r>>>0,e=(r*=e)>>>0,e+=4294967296*(r-=e)}return 2.3283064365386963e-10*(e>>>0)}}u.prototype={grad3:new Float32Array([1,1,0,-1,1,0,1,-1,0,-1,-1,0,1,0,1,-1,0,1,1,0,-1,-1,0,-1,0,1,1,0,-1,1,0,1,-1,0,-1,-1]),grad4:new Float32Array([0,1,1,1,0,1,1,-1,0,1,-1,1,0,1,-1,-1,0,-1,1,1,0,-1,1,-1,0,-1,-1,1,0,-1,-1,-1,1,0,1,1,1,0,1,-1,1,0,-1,1,1,0,-1,-1,-1,0,1,1,-1,0,1,-1,-1,0,-1,1,-1,0,-1,-1,1,1,0,1,1,1,0,-1,1,-1,0,1,1,-1,0,-1,-1,1,0,1,-1,1,0,-1,-1,-1,0,1,-1,-1,0,-1,1,1,1,0,1,1,-1,0,1,-1,1,0,1,-1,-1,0,-1,1,1,0,-1,1,-1,0,-1,-1,1,0,-1,-1,-1,0]),noise2D:function(e,t){var n,r,a=this.permMod12,s=this.perm,c=this.grad3,u=0,l=0,f=0,h=(e+t)*i,v=Math.floor(e+h),d=Math.floor(t+h),p=(v+d)*o,m=e-(v-p),y=t-(d-p);m>y?(n=1,r=0):(n=0,r=1);var g=m-n+o,x=y-r+o,b=m-1+2*o,w=y-1+2*o,M=255&v,_=255&d,S=.5-m*m-y*y;if(S>=0){var P=3*a[M+s[_]];u=(S*=S)*S*(c[P]*m+c[P+1]*y)}var T=.5-g*g-x*x;if(T>=0){var R=3*a[M+n+s[_+r]];l=(T*=T)*T*(c[R]*g+c[R+1]*x)}var E=.5-b*b-w*w;if(E>=0){var z=3*a[M+1+s[_+1]];f=(E*=E)*E*(c[z]*b+c[z+1]*w)}return 70*(u+l+f)},noise3D:function(e,t,n){var r,i,o,s,c,u,l,f,h,v,d=this.permMod12,p=this.perm,m=this.grad3,y=.3333333333333333*(e+t+n),g=Math.floor(e+y),x=Math.floor(t+y),b=Math.floor(n+y),w=(g+x+b)*a,M=e-(g-w),_=t-(x-w),S=n-(b-w);M>=_?_>=S?(c=1,u=0,l=0,f=1,h=1,v=0):M>=S?(c=1,u=0,l=0,f=1,h=0,v=1):(c=0,u=0,l=1,f=1,h=0,v=1):_<S?(c=0,u=0,l=1,f=0,h=1,v=1):M<S?(c=0,u=1,l=0,f=0,h=1,v=1):(c=0,u=1,l=0,f=1,h=1,v=0);var P=M-c+a,T=_-u+a,R=S-l+a,E=M-f+2*a,z=_-h+2*a,L=S-v+2*a,C=M-1+.5,A=_-1+.5,O=S-1+.5,D=255&g,I=255&x,k=255&b,F=.6-M*M-_*_-S*S;if(F<0)r=0;else{var j=3*d[D+p[I+p[k]]];r=(F*=F)*F*(m[j]*M+m[j+1]*_+m[j+2]*S)}var U=.6-P*P-T*T-R*R;if(U<0)i=0;else{var B=3*d[D+c+p[I+u+p[k+l]]];i=(U*=U)*U*(m[B]*P+m[B+1]*T+m[B+2]*R)}var G=.6-E*E-z*z-L*L;if(G<0)o=0;else{var N=3*d[D+f+p[I+h+p[k+v]]];o=(G*=G)*G*(m[N]*E+m[N+1]*z+m[N+2]*L)}var H=.6-C*C-A*A-O*O;if(H<0)s=0;else{var V=3*d[D+1+p[I+1+p[k+1]]];s=(H*=H)*H*(m[V]*C+m[V+1]*A+m[V+2]*O)}return 32*(r+i+o+s)},noise4D:function(e,t,n,r){var i,o,a,u,l,f,h,v,d,p,m,y,g,x,b,w,M,_=this.perm,S=this.grad4,P=(e+t+n+r)*s,T=Math.floor(e+P),R=Math.floor(t+P),E=Math.floor(n+P),z=Math.floor(r+P),L=(T+R+E+z)*c,C=e-(T-L),A=t-(R-L),O=n-(E-L),D=r-(z-L),I=0,k=0,F=0,j=0;C>A?I++:k++,C>O?I++:F++,C>D?I++:j++,A>O?k++:F++,A>D?k++:j++,O>D?F++:j++;var U=C-(f=I>=3?1:0)+c,B=A-(h=k>=3?1:0)+c,G=O-(v=F>=3?1:0)+c,N=D-(d=j>=3?1:0)+c,H=C-(p=I>=2?1:0)+2*c,V=A-(m=k>=2?1:0)+2*c,W=O-(y=F>=2?1:0)+2*c,Z=D-(g=j>=2?1:0)+2*c,q=C-(x=I>=1?1:0)+3*c,Y=A-(b=k>=1?1:0)+3*c,X=O-(w=F>=1?1:0)+3*c,K=D-(M=j>=1?1:0)+3*c,Q=C-1+4*c,J=A-1+4*c,$=O-1+4*c,ee=D-1+4*c,te=255&T,ne=255&R,re=255&E,ie=255&z,oe=.6-C*C-A*A-O*O-D*D;if(oe<0)i=0;else{var ae=_[te+_[ne+_[re+_[ie]]]]%32*4;i=(oe*=oe)*oe*(S[ae]*C+S[ae+1]*A+S[ae+2]*O+S[ae+3]*D)}var se=.6-U*U-B*B-G*G-N*N;if(se<0)o=0;else{var ce=_[te+f+_[ne+h+_[re+v+_[ie+d]]]]%32*4;o=(se*=se)*se*(S[ce]*U+S[ce+1]*B+S[ce+2]*G+S[ce+3]*N)}var ue=.6-H*H-V*V-W*W-Z*Z;if(ue<0)a=0;else{var le=_[te+p+_[ne+m+_[re+y+_[ie+g]]]]%32*4;a=(ue*=ue)*ue*(S[le]*H+S[le+1]*V+S[le+2]*W+S[le+3]*Z)}var fe=.6-q*q-Y*Y-X*X-K*K;if(fe<0)u=0;else{var he=_[te+x+_[ne+b+_[re+w+_[ie+M]]]]%32*4;u=(fe*=fe)*fe*(S[he]*q+S[he+1]*Y+S[he+2]*X+S[he+3]*K)}var ve=.6-Q*Q-J*J-$*$-ee*ee;if(ve<0)l=0;else{var de=_[te+1+_[ne+1+_[re+1+_[ie+1]]]]%32*4;l=(ve*=ve)*ve*(S[de]*Q+S[de+1]*J+S[de+2]*$+S[de+3]*ee)}return 27*(i+o+a+u+l)}},u._buildPermutationTable=l,void 0===(r=function(){return u}.call(t,n,t,e))||(e.exports=r),t.SimplexNoise=u,e.exports=u}()},16266:function(e,t,n){n(95767),n(68132),n(48388),n(37470),n(94882),n(41520),n(27476),n(79622),n(89375),n(43533),n(84672),n(64157),n(35095),n(49892),n(75115),n(99176),n(68838),n(96253),n(39730),n(6059),n(48377),n(71084),n(64299),n(11246),n(30726),n(1901),n(75972),n(53403),n(92516),n(49371),n(86479),n(91736),n(51889),n(65177),n(81246),n(76503),n(66786),n(50932),n(57526),n(21591),n(9073),n(80347),n(30579),n(4669),n(67710),n(45789),n(33514),n(99978),n(58472),n(86946),n(35068),n(413),n(50191),n(98306),n(64564),n(39115),n(29539),n(96620),n(62850),n(10823),n(17732),n(40856),n(80703),n(91539),n(5292),n(45177),n(73694),n(37648),n(27795),n(4531),n(23605),n(6780),n(69937),n(10511),n(81822),n(19977),n(91031),n(46331),n(41560),n(20774),n(30522),n(58295),n(87842),n(50110),n(20075),n(24336),n(19371),n(98837),n(26773),n(15745),n(33057),n(3750),n(23369),n(99564),n(32e3),n(48977),n(52310),n(94899),n(31842),n(56997),n(83946),n(18269),n(66108),n(76774),n(21466),n(59357),n(76142),n(51876),n(40851),n(88416),n(98184),n(30147),n(59192),n(30142),n(1786),n(75368),n(46964),n(62152),n(74821),n(79103),n(81303),n(83318),n(70162),n(33834),n(21572),n(82139),n(10685),n(85535),n(17347),n(83049),n(96633),n(68989),n(78270),n(64510),n(73984),n(75769),n(50055),n(96014),e.exports=n(25645)},70911:function(e,t,n){n(1268),e.exports=n(25645).Array.flatMap},10990:function(e,t,n){n(62773),e.exports=n(25645).Array.includes},15434:function(e,t,n){n(83276),e.exports=n(25645).Object.entries},78051:function(e,t,n){n(98351),e.exports=n(25645).Object.getOwnPropertyDescriptors},38250:function(e,t,n){n(96409),e.exports=n(25645).Object.values},54952:function(e,t,n){"use strict";n(40851),n(9865),e.exports=n(25645).Promise.finally},6197:function(e,t,n){n(92770),e.exports=n(25645).String.padEnd},14160:function(e,t,n){n(41784),e.exports=n(25645).String.padStart},54039:function(e,t,n){n(94325),e.exports=n(25645).String.trimRight},96728:function(e,t,n){n(65869),e.exports=n(25645).String.trimLeft},93568:function(e,t,n){n(79665),e.exports=n(28787).f("asyncIterator")},40115:function(e,t,n){n(34579),e.exports=n(11327).global},85663:function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},12159:function(e,t,n){var r=n(36727);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},11327:function(e){var t=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)},19216:function(e,t,n){var r=n(85663);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},89666:function(e,t,n){e.exports=!n(7929)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},97467:function(e,t,n){var r=n(36727),i=n(33938).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},83856:function(e,t,n){var r=n(33938),i=n(11327),o=n(19216),a=n(41818),s=n(27069),c=function(e,t,n){var u,l,f,h=e&c.F,v=e&c.G,d=e&c.S,p=e&c.P,m=e&c.B,y=e&c.W,g=v?i:i[t]||(i[t]={}),x=g.prototype,b=v?r:d?r[t]:(r[t]||{}).prototype;for(u in v&&(n=t),n)(l=!h&&b&&void 0!==b[u])&&s(g,u)||(f=l?b[u]:n[u],g[u]=v&&"function"!=typeof b[u]?n[u]:m&&l?o(f,r):y&&b[u]==f?function(e){var t=function(t,n,r){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,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(f):p&&"function"==typeof f?o(Function.call,f):f,p&&((g.virtual||(g.virtual={}))[u]=f,e&c.R&&x&&!x[u]&&a(x,u,f)))};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},7929:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},33938:function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},27069:function(e){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},41818:function(e,t,n){var r=n(4743),i=n(83101);e.exports=n(89666)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},33758:function(e,t,n){e.exports=!n(89666)&&!n(7929)((function(){return 7!=Object.defineProperty(n(97467)("div"),"a",{get:function(){return 7}}).a}))},36727:function(e){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},4743:function(e,t,n){var r=n(12159),i=n(33758),o=n(33206),a=Object.defineProperty;t.f=n(89666)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(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}},83101:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},33206:function(e,t,n){var r=n(36727);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},34579:function(e,t,n){var r=n(83856);r(r.G,{global:n(33938)})},24963:function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},83365:function(e,t,n){var r=n(92032);e.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},17722:function(e,t,n){var r=n(86314)("unscopables"),i=Array.prototype;null==i[r]&&n(87728)(i,r,{}),e.exports=function(e){i[r][e]=!0}},76793:function(e,t,n){"use strict";var r=n(24496)(!0);e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},83328:function(e){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},27007:function(e,t,n){var r=n(55286);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},5216:function(e,t,n){"use strict";var r=n(20508),i=n(92337),o=n(10875);e.exports=[].copyWithin||function(e,t){var n=r(this),a=o(n.length),s=i(e,a),c=i(t,a),u=arguments.length>2?arguments[2]:void 0,l=Math.min((void 0===u?a:i(u,a))-c,a-s),f=1;for(c<s&&s<c+l&&(f=-1,c+=l-1,s+=l-1);l-- >0;)c in n?n[s]=n[c]:delete n[s],s+=f,c+=f;return n}},46852:function(e,t,n){"use strict";var r=n(20508),i=n(92337),o=n(10875);e.exports=function(e){for(var t=r(this),n=o(t.length),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),c=a>2?arguments[2]:void 0,u=void 0===c?n:i(c,n);u>s;)t[s++]=e;return t}},79315:function(e,t,n){var r=n(22110),i=n(10875),o=n(92337);e.exports=function(e){return function(t,n,a){var s,c=r(t),u=i(c.length),l=o(a,u);if(e&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}}},10050:function(e,t,n){var r=n(741),i=n(49797),o=n(20508),a=n(10875),s=n(16886);e.exports=function(e,t){var n=1==e,c=2==e,u=3==e,l=4==e,f=6==e,h=5==e||f,v=t||s;return function(t,s,d){for(var p,m,y=o(t),g=i(y),x=r(s,d,3),b=a(g.length),w=0,M=n?v(t,b):c?v(t,0):void 0;b>w;w++)if((h||w in g)&&(m=x(p=g[w],w,y),e))if(n)M[w]=m;else if(m)switch(e){case 3:return!0;case 5:return p;case 6:return w;case 2:M.push(p)}else if(l)return!1;return f?-1:u||l?l:M}}},37628:function(e,t,n){var r=n(24963),i=n(20508),o=n(49797),a=n(10875);e.exports=function(e,t,n,s,c){r(t);var u=i(e),l=o(u),f=a(u.length),h=c?f-1:0,v=c?-1:1;if(n<2)for(;;){if(h in l){s=l[h],h+=v;break}if(h+=v,c?h<0:f<=h)throw TypeError("Reduce of empty array with no initial value")}for(;c?h>=0:f>h;h+=v)h in l&&(s=t(s,l[h],h,u));return s}},42736:function(e,t,n){var r=n(55286),i=n(4302),o=n(86314)("species");e.exports=function(e){var t;return i(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!i(t.prototype)||(t=void 0),r(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},16886:function(e,t,n){var r=n(42736);e.exports=function(e,t){return new(r(e))(t)}},34398:function(e,t,n){"use strict";var r=n(24963),i=n(55286),o=n(97242),a=[].slice,s={},c=function(e,t,n){if(!(t in s)){for(var r=[],i=0;i<t;i++)r[i]="a["+i+"]";s[t]=Function("F,a","return new F("+r.join(",")+")")}return s[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=a.call(arguments,1),s=function(){var r=n.concat(a.call(arguments));return this instanceof s?c(t,r.length,r):o(t,r,e)};return i(t.prototype)&&(s.prototype=t.prototype),s}},41488:function(e,t,n){var r=n(92032),i=n(86314)("toStringTag"),o="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:o?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},92032:function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},9824:function(e,t,n){"use strict";var r=n(99275).f,i=n(42503),o=n(24408),a=n(741),s=n(83328),c=n(3531),u=n(42923),l=n(15436),f=n(2974),h=n(67057),v=n(84728).fastKey,d=n(1616),p=h?"_s":"size",m=function(e,t){var n,r=v(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,u){var l=e((function(e,r){s(e,l,t,"_i"),e._t=t,e._i=i(null),e._f=void 0,e._l=void 0,e[p]=0,null!=r&&c(r,n,e[u],e)}));return o(l.prototype,{clear:function(){for(var e=d(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[p]=0},delete:function(e){var n=d(this,t),r=m(n,e);if(r){var i=r.n,o=r.p;delete n._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),n._f==r&&(n._f=i),n._l==r&&(n._l=o),n[p]--}return!!r},forEach:function(e){d(this,t);for(var n,r=a(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!m(d(this,t),e)}}),h&&r(l.prototype,"size",{get:function(){return d(this,t)[p]}}),l},def:function(e,t,n){var r,i,o=m(e,t);return o?o.v=n:(e._l=o={i:i=v(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=o),r&&(r.n=o),e[p]++,"F"!==i&&(e._i[i]=o)),e},getEntry:m,setStrong:function(e,t,n){u(e,t,(function(e,n){this._t=d(e,t),this._k=n,this._l=void 0}),(function(){for(var e=this,t=e._k,n=e._l;n&&n.r;)n=n.p;return e._t&&(e._l=n=n?n.n:e._t._f)?l(0,"keys"==t?n.k:"values"==t?n.v:[n.k,n.v]):(e._t=void 0,l(1))}),n?"entries":"values",!n,!0),f(t)}}},23657:function(e,t,n){"use strict";var r=n(24408),i=n(84728).getWeak,o=n(27007),a=n(55286),s=n(83328),c=n(3531),u=n(10050),l=n(79181),f=n(1616),h=u(5),v=u(6),d=0,p=function(e){return e._l||(e._l=new m)},m=function(){this.a=[]},y=function(e,t){return h(e.a,(function(e){return e[0]===t}))};m.prototype={get:function(e){var t=y(this,e);if(t)return t[1]},has:function(e){return!!y(this,e)},set:function(e,t){var n=y(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=v(this.a,(function(t){return t[0]===e}));return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,o){var u=e((function(e,r){s(e,u,t,"_i"),e._t=t,e._i=d++,e._l=void 0,null!=r&&c(r,n,e[o],e)}));return r(u.prototype,{delete:function(e){if(!a(e))return!1;var n=i(e);return!0===n?p(f(this,t)).delete(e):n&&l(n,this._i)&&delete n[this._i]},has:function(e){if(!a(e))return!1;var n=i(e);return!0===n?p(f(this,t)).has(e):n&&l(n,this._i)}}),u},def:function(e,t,n){var r=i(o(t),!0);return!0===r?p(e).set(t,n):r[e._i]=n,e},ufstore:p}},45795:function(e,t,n){"use strict";var r=n(3816),i=n(42985),o=n(77234),a=n(24408),s=n(84728),c=n(3531),u=n(83328),l=n(55286),f=n(74253),h=n(7462),v=n(22943),d=n(40266);e.exports=function(e,t,n,p,m,y){var g=r[e],x=g,b=m?"set":"add",w=x&&x.prototype,M={},_=function(e){var t=w[e];o(w,e,"delete"==e||"has"==e?function(e){return!(y&&!l(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return y&&!l(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof x&&(y||w.forEach&&!f((function(){(new x).entries().next()})))){var S=new x,P=S[b](y?{}:-0,1)!=S,T=f((function(){S.has(1)})),R=h((function(e){new x(e)})),E=!y&&f((function(){for(var e=new x,t=5;t--;)e[b](t,t);return!e.has(-0)}));R||((x=t((function(t,n){u(t,x,e);var r=d(new g,t,x);return null!=n&&c(n,m,r[b],r),r}))).prototype=w,w.constructor=x),(T||E)&&(_("delete"),_("has"),m&&_("get")),(E||P)&&_(b),y&&w.clear&&delete w.clear}else x=p.getConstructor(t,e,m,b),a(x.prototype,n),s.NEED=!0;return v(x,e),M[e]=x,i(i.G+i.W+i.F*(x!=g),M),y||p.setStrong(x,e,m),x}},25645:function(e){var t=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)},92811:function(e,t,n){"use strict";var r=n(99275),i=n(90681);e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},741:function(e,t,n){var r=n(24963);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},53537:function(e,t,n){"use strict";var r=n(74253),i=Date.prototype.getTime,o=Date.prototype.toISOString,a=function(e){return e>9?e:"0"+e};e.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-50000000000001))}))||!r((function(){o.call(new Date(NaN))}))?function(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=t<0?"-":t>9999?"+":"";return r+("00000"+Math.abs(t)).slice(r?-6:-4)+"-"+a(e.getUTCMonth()+1)+"-"+a(e.getUTCDate())+"T"+a(e.getUTCHours())+":"+a(e.getUTCMinutes())+":"+a(e.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}:o},870:function(e,t,n){"use strict";var r=n(27007),i=n(21689),o="number";e.exports=function(e){if("string"!==e&&e!==o&&"default"!==e)throw TypeError("Incorrect hint");return i(r(this),e!=o)}},91355:function(e){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},67057:function(e,t,n){e.exports=!n(74253)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},62457:function(e,t,n){var r=n(55286),i=n(3816).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},74430:function(e){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},5541:function(e,t,n){var r=n(47184),i=n(64548),o=n(14682);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),c=o.f,u=0;s.length>u;)c.call(e,a=s[u++])&&t.push(a);return t}},42985:function(e,t,n){var r=n(3816),i=n(25645),o=n(87728),a=n(77234),s=n(741),c=function(e,t,n){var u,l,f,h,v=e&c.F,d=e&c.G,p=e&c.S,m=e&c.P,y=e&c.B,g=d?r:p?r[t]||(r[t]={}):(r[t]||{}).prototype,x=d?i:i[t]||(i[t]={}),b=x.prototype||(x.prototype={});for(u in d&&(n=t),n)f=((l=!v&&g&&void 0!==g[u])?g:n)[u],h=y&&l?s(f,r):m&&"function"==typeof f?s(Function.call,f):f,g&&a(g,u,f,e&c.U),x[u]!=f&&o(x,u,h),m&&b[u]!=f&&(b[u]=f)};r.core=i,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},8852:function(e,t,n){var r=n(86314)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},74253:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},28082:function(e,t,n){"use strict";n(18269);var r=n(77234),i=n(87728),o=n(74253),a=n(91355),s=n(86314),c=n(21165),u=s("species"),l=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),f=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var h=s(e),v=!o((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),d=v?!o((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[u]=function(){return n}),n[h](""),!t})):void 0;if(!v||!d||"replace"===e&&!l||"split"===e&&!f){var p=/./[h],m=n(a,h,""[e],(function(e,t,n,r,i){return t.exec===c?v&&!i?{done:!0,value:p.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}})),y=m[0],g=m[1];r(String.prototype,e,y),i(RegExp.prototype,h,2==t?function(e,t){return g.call(e,this,t)}:function(e){return g.call(e,this)})}}},53218:function(e,t,n){"use strict";var r=n(27007);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},13325:function(e,t,n){"use strict";var r=n(4302),i=n(55286),o=n(10875),a=n(741),s=n(86314)("isConcatSpreadable");e.exports=function e(t,n,c,u,l,f,h,v){for(var d,p,m=l,y=0,g=!!h&&a(h,v,3);y<u;){if(y in c){if(d=g?g(c[y],y,n):c[y],p=!1,i(d)&&(p=void 0!==(p=d[s])?!!p:r(d)),p&&f>0)m=e(t,n,d,o(d.length),m,f-1)-1;else{if(m>=9007199254740991)throw TypeError();t[m]=d}m++}y++}return m}},3531:function(e,t,n){var r=n(741),i=n(28851),o=n(86555),a=n(27007),s=n(10875),c=n(69002),u={},l={},f=e.exports=function(e,t,n,f,h){var v,d,p,m,y=h?function(){return e}:c(e),g=r(n,f,t?2:1),x=0;if("function"!=typeof y)throw TypeError(e+" is not iterable!");if(o(y)){for(v=s(e.length);v>x;x++)if((m=t?g(a(d=e[x])[0],d[1]):g(e[x]))===u||m===l)return m}else for(p=y.call(e);!(d=p.next()).done;)if((m=i(p,g,d.value,t))===u||m===l)return m};f.BREAK=u,f.RETURN=l},40018:function(e,t,n){e.exports=n(3825)("native-function-to-string",Function.toString)},3816:function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},79181:function(e){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},87728:function(e,t,n){var r=n(99275),i=n(90681);e.exports=n(67057)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},40639:function(e,t,n){var r=n(3816).document;e.exports=r&&r.documentElement},1734:function(e,t,n){e.exports=!n(67057)&&!n(74253)((function(){return 7!=Object.defineProperty(n(62457)("div"),"a",{get:function(){return 7}}).a}))},40266:function(e,t,n){var r=n(55286),i=n(27375).set;e.exports=function(e,t,n){var o,a=t.constructor;return a!==n&&"function"==typeof a&&(o=a.prototype)!==n.prototype&&r(o)&&i&&i(e,o),e}},97242:function(e){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},49797:function(e,t,n){var r=n(92032);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},86555:function(e,t,n){var r=n(87234),i=n(86314)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},4302:function(e,t,n){var r=n(92032);e.exports=Array.isArray||function(e){return"Array"==r(e)}},18367:function(e,t,n){var r=n(55286),i=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&i(e)===e}},55286:function(e){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},55364:function(e,t,n){var r=n(55286),i=n(92032),o=n(86314)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},28851:function(e,t,n){var r=n(27007);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},49988:function(e,t,n){"use strict";var r=n(42503),i=n(90681),o=n(22943),a={};n(87728)(a,n(86314)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},42923:function(e,t,n){"use strict";var r=n(4461),i=n(42985),o=n(77234),a=n(87728),s=n(87234),c=n(49988),u=n(22943),l=n(468),f=n(86314)("iterator"),h=!([].keys&&"next"in[].keys()),v="keys",d="values",p=function(){return this};e.exports=function(e,t,n,m,y,g,x){c(n,t,m);var b,w,M,_=function(e){if(!h&&e in R)return R[e];switch(e){case v:case d:return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",P=y==d,T=!1,R=e.prototype,E=R[f]||R["@@iterator"]||y&&R[y],z=E||_(y),L=y?P?_("entries"):z:void 0,C="Array"==t&&R.entries||E;if(C&&(M=l(C.call(new e)))!==Object.prototype&&M.next&&(u(M,S,!0),r||"function"==typeof M[f]||a(M,f,p)),P&&E&&E.name!==d&&(T=!0,z=function(){return E.call(this)}),r&&!x||!h&&!T&&R[f]||a(R,f,z),s[t]=z,s[S]=p,y)if(b={values:P?z:_(d),keys:g?z:_(v),entries:L},x)for(w in b)w in R||o(R,w,b[w]);else i(i.P+i.F*(h||T),t,b);return b}},7462:function(e,t,n){var r=n(86314)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},e(o)}catch(e){}return n}},15436:function(e){e.exports=function(e,t){return{value:t,done:!!e}}},87234:function(e){e.exports={}},4461:function(e){e.exports=!1},13086:function(e){var t=Math.expm1;e.exports=!t||t(10)>22025.465794806718||t(10)<22025.465794806718||-2e-17!=t(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:t},34934:function(e,t,n){var r=n(61801),i=Math.pow,o=i(2,-52),a=i(2,-23),s=i(2,127)*(2-a),c=i(2,-126);e.exports=Math.fround||function(e){var t,n,i=Math.abs(e),u=r(e);return i<c?u*(i/c/a+1/o-1/o)*c*a:(n=(t=(1+a/o)*i)-(t-i))>s||n!=n?u*(1/0):u*n}},46206:function(e){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},61801:function(e){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},84728:function(e,t,n){var r=n(93953)("meta"),i=n(55286),o=n(79181),a=n(99275).f,s=0,c=Object.isExtensible||function(){return!0},u=!n(74253)((function(){return c(Object.preventExtensions({}))})),l=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!c(e))return"F";if(!t)return"E";l(e)}return e[r].i},getWeak:function(e,t){if(!o(e,r)){if(!c(e))return!0;if(!t)return!1;l(e)}return e[r].w},onFreeze:function(e){return u&&f.NEED&&c(e)&&!o(e,r)&&l(e),e}}},14351:function(e,t,n){var r=n(3816),i=n(74193).set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,c="process"==n(92032)(a);e.exports=function(){var e,t,n,u=function(){var r,i;for(c&&(r=a.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(c)n=function(){a.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);n=function(){l.then(u)}}else n=function(){i.call(r,u)};else{var f=!0,h=document.createTextNode("");new o(u).observe(h,{characterData:!0}),n=function(){h.data=f=!f}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},43499:function(e,t,n){"use strict";var r=n(24963);function i(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new i(e)}},35345:function(e,t,n){"use strict";var r=n(67057),i=n(47184),o=n(64548),a=n(14682),s=n(20508),c=n(49797),u=Object.assign;e.exports=!u||n(74253)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=r}))?function(e,t){for(var n=s(e),u=arguments.length,l=1,f=o.f,h=a.f;u>l;)for(var v,d=c(arguments[l++]),p=f?i(d).concat(f(d)):i(d),m=p.length,y=0;m>y;)v=p[y++],r&&!h.call(d,v)||(n[v]=d[v]);return n}:u},42503:function(e,t,n){var r=n(27007),i=n(35588),o=n(74430),a=n(69335)("IE_PROTO"),s=function(){},c=function(){var e,t=n(62457)("iframe"),r=o.length;for(t.style.display="none",n(40639).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;r--;)delete c.prototype[o[r]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=c(),void 0===t?n:i(n,t)}},99275:function(e,t,n){var r=n(27007),i=n(1734),o=n(21689),a=Object.defineProperty;t.f=n(67057)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(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}},35588:function(e,t,n){var r=n(99275),i=n(27007),o=n(47184);e.exports=n(67057)?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),s=a.length,c=0;s>c;)r.f(e,n=a[c++],t[n]);return e}},18693:function(e,t,n){var r=n(14682),i=n(90681),o=n(22110),a=n(21689),s=n(79181),c=n(1734),u=Object.getOwnPropertyDescriptor;t.f=n(67057)?u:function(e,t){if(e=o(e),t=a(t,!0),c)try{return u(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},39327:function(e,t,n){var r=n(22110),i=n(20616).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?function(e){try{return i(e)}catch(e){return a.slice()}}(e):i(r(e))}},20616:function(e,t,n){var r=n(60189),i=n(74430).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},64548:function(e,t){t.f=Object.getOwnPropertySymbols},468:function(e,t,n){var r=n(79181),i=n(20508),o=n(69335)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},60189:function(e,t,n){var r=n(79181),i=n(22110),o=n(79315)(!1),a=n(69335)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),c=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;t.length>c;)r(s,n=t[c++])&&(~o(u,n)||u.push(n));return u}},47184:function(e,t,n){var r=n(60189),i=n(74430);e.exports=Object.keys||function(e){return r(e,i)}},14682:function(e,t){t.f={}.propertyIsEnumerable},33160:function(e,t,n){var r=n(42985),i=n(25645),o=n(74253);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o((function(){n(1)})),"Object",a)}},51131:function(e,t,n){var r=n(67057),i=n(47184),o=n(22110),a=n(14682).f;e.exports=function(e){return function(t){for(var n,s=o(t),c=i(s),u=c.length,l=0,f=[];u>l;)n=c[l++],r&&!a.call(s,n)||f.push(e?[n,s[n]]:s[n]);return f}}},57643:function(e,t,n){var r=n(20616),i=n(64548),o=n(27007),a=n(3816).Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.f(o(e)),n=i.f;return n?t.concat(n(e)):t}},47743:function(e,t,n){var r=n(3816).parseFloat,i=n(29599).trim;e.exports=1/r(n(84644)+"-0")!=-1/0?function(e){var t=i(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},55960:function(e,t,n){var r=n(3816).parseInt,i=n(29599).trim,o=n(84644),a=/^[-+]?0[xX]/;e.exports=8!==r(o+"08")||22!==r(o+"0x16")?function(e,t){var n=i(String(e),3);return r(n,t>>>0||(a.test(n)?16:10))}:r},10188:function(e){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},50094:function(e,t,n){var r=n(27007),i=n(55286),o=n(43499);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},90681:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},24408:function(e,t,n){var r=n(77234);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},77234:function(e,t,n){var r=n(3816),i=n(87728),o=n(79181),a=n(93953)("src"),s=n(40018),c="toString",u=(""+s).split(c);n(25645).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var c="function"==typeof n;c&&(o(n,"name")||i(n,"name",t)),e[t]!==n&&(c&&(o(n,a)||i(n,a,e[t]?""+e[t]:u.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:i(e,t,n):(delete e[t],i(e,t,n)))})(Function.prototype,c,(function(){return"function"==typeof this&&this[a]||s.call(this)}))},27787:function(e,t,n){"use strict";var r=n(41488),i=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var o=n.call(e,t);if("object"!=typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(e))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},21165:function(e,t,n){"use strict";var r,i,o=n(53218),a=RegExp.prototype.exec,s=String.prototype.replace,c=a,u=(r=/a/,i=/b*/g,a.call(r,"a"),a.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),l=void 0!==/()??/.exec("")[1];(u||l)&&(c=function(e){var t,n,r,i,c=this;return l&&(n=new RegExp("^"+c.source+"$(?!\\s)",o.call(c))),u&&(t=c.lastIndex),r=a.call(c,e),u&&r&&(c.lastIndex=c.global?r.index+r[0].length:t),l&&r&&r.length>1&&s.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r}),e.exports=c},27195:function(e){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},27375:function(e,t,n){var r=n(55286),i=n(27007),o=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(741)(Function.call,n(18693).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:o}},2974:function(e,t,n){"use strict";var r=n(3816),i=n(99275),o=n(67057),a=n(86314)("species");e.exports=function(e){var t=r[e];o&&t&&!t[a]&&i.f(t,a,{configurable:!0,get:function(){return this}})}},22943:function(e,t,n){var r=n(99275).f,i=n(79181),o=n(86314)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},69335:function(e,t,n){var r=n(3825)("keys"),i=n(93953);e.exports=function(e){return r[e]||(r[e]=i(e))}},3825:function(e,t,n){var r=n(25645),i=n(3816),o="__core-js_shared__",a=i[o]||(i[o]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(4461)?"pure":"global",copyright:"漏 2020 Denis Pushkarev (zloirock.ru)"})},58364:function(e,t,n){var r=n(27007),i=n(24963),o=n(86314)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[o])?t:i(n)}},77717:function(e,t,n){"use strict";var r=n(74253);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},24496:function(e,t,n){var r=n(81467),i=n(91355);e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),c=r(n),u=s.length;return c<0||c>=u?e?"":void 0:(o=s.charCodeAt(c))<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?e?s.charAt(c):o:e?s.slice(c,c+2):a-56320+(o-55296<<10)+65536}}},42094:function(e,t,n){var r=n(55364),i=n(91355);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(e))}},29395:function(e,t,n){var r=n(42985),i=n(74253),o=n(91355),a=/"/g,s=function(e,t,n,r){var i=String(o(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(r).replace(a,""")+'"'),s+">"+i+"</"+t+">"};e.exports=function(e,t){var n={};n[e]=t(s),r(r.P+r.F*i((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})),"String",n)}},75442:function(e,t,n){var r=n(10875),i=n(68595),o=n(91355);e.exports=function(e,t,n,a){var s=String(o(e)),c=s.length,u=void 0===n?" ":String(n),l=r(t);if(l<=c||""==u)return s;var f=l-c,h=i.call(u,Math.ceil(f/u.length));return h.length>f&&(h=h.slice(0,f)),a?h+s:s+h}},68595:function(e,t,n){"use strict";var r=n(81467),i=n(91355);e.exports=function(e){var t=String(i(this)),n="",o=r(e);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(n+=t);return n}},29599:function(e,t,n){var r=n(42985),i=n(91355),o=n(74253),a=n(84644),s="["+a+"]",c=RegExp("^"+s+s+"*"),u=RegExp(s+s+"*$"),l=function(e,t,n){var i={},s=o((function(){return!!a[e]()||"鈥嬄�"!="鈥嬄�"[e]()})),c=i[e]=s?t(f):a[e];n&&(i[n]=c),r(r.P+r.F*s,"String",i)},f=l.trim=function(e,t){return e=String(i(e)),1&t&&(e=e.replace(c,"")),2&t&&(e=e.replace(u,"")),e};e.exports=l},84644:function(e){e.exports="\t\n\v\f\r 聽釟�釥庘��鈥佲�傗�冣�勨�呪�嗏�団�堚�夆�娾�仧銆�\u2028\u2029\ufeff"},74193:function(e,t,n){var r,i,o,a=n(741),s=n(97242),c=n(40639),u=n(62457),l=n(3816),f=l.process,h=l.setImmediate,v=l.clearImmediate,d=l.MessageChannel,p=l.Dispatch,m=0,y={},g=function(){var e=+this;if(y.hasOwnProperty(e)){var t=y[e];delete y[e],t()}},x=function(e){g.call(e.data)};h&&v||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return y[++m]=function(){s("function"==typeof e?e:Function(e),t)},r(m),m},v=function(e){delete y[e]},"process"==n(92032)(f)?r=function(e){f.nextTick(a(g,e,1))}:p&&p.now?r=function(e){p.now(a(g,e,1))}:d?(o=(i=new d).port2,i.port1.onmessage=x,r=a(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(e){l.postMessage(e+"","*")},l.addEventListener("message",x,!1)):r="onreadystatechange"in u("script")?function(e){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),g.call(e)}}:function(e){setTimeout(a(g,e,1),0)}),e.exports={set:h,clear:v}},92337:function(e,t,n){var r=n(81467),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):o(e,t)}},94843:function(e,t,n){var r=n(81467),i=n(10875);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=i(t);if(t!==n)throw RangeError("Wrong length!");return n}},81467:function(e){var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},22110:function(e,t,n){var r=n(49797),i=n(91355);e.exports=function(e){return r(i(e))}},10875:function(e,t,n){var r=n(81467),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},20508:function(e,t,n){var r=n(91355);e.exports=function(e){return Object(r(e))}},21689:function(e,t,n){var r=n(55286);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},78440:function(e,t,n){"use strict";if(n(67057)){var r=n(4461),i=n(3816),o=n(74253),a=n(42985),s=n(89383),c=n(91125),u=n(741),l=n(83328),f=n(90681),h=n(87728),v=n(24408),d=n(81467),p=n(10875),m=n(94843),y=n(92337),g=n(21689),x=n(79181),b=n(41488),w=n(55286),M=n(20508),_=n(86555),S=n(42503),P=n(468),T=n(20616).f,R=n(69002),E=n(93953),z=n(86314),L=n(10050),C=n(79315),A=n(58364),O=n(56997),D=n(87234),I=n(7462),k=n(2974),F=n(46852),j=n(5216),U=n(99275),B=n(18693),G=U.f,N=B.f,H=i.RangeError,V=i.TypeError,W=i.Uint8Array,Z="ArrayBuffer",q="SharedArrayBuffer",Y="BYTES_PER_ELEMENT",X=Array.prototype,K=c.ArrayBuffer,Q=c.DataView,J=L(0),$=L(2),ee=L(3),te=L(4),ne=L(5),re=L(6),ie=C(!0),oe=C(!1),ae=O.values,se=O.keys,ce=O.entries,ue=X.lastIndexOf,le=X.reduce,fe=X.reduceRight,he=X.join,ve=X.sort,de=X.slice,pe=X.toString,me=X.toLocaleString,ye=z("iterator"),ge=z("toStringTag"),xe=E("typed_constructor"),be=E("def_constructor"),we=s.CONSTR,Me=s.TYPED,_e=s.VIEW,Se="Wrong length!",Pe=L(1,(function(e,t){return Le(A(e,e[be]),t)})),Te=o((function(){return 1===new W(new Uint16Array([1]).buffer)[0]})),Re=!!W&&!!W.prototype.set&&o((function(){new W(1).set({})})),Ee=function(e,t){var n=d(e);if(n<0||n%t)throw H("Wrong offset!");return n},ze=function(e){if(w(e)&&Me in e)return e;throw V(e+" is not a typed array!")},Le=function(e,t){if(!w(e)||!(xe in e))throw V("It is not a typed array constructor!");return new e(t)},Ce=function(e,t){return Ae(A(e,e[be]),t)},Ae=function(e,t){for(var n=0,r=t.length,i=Le(e,r);r>n;)i[n]=t[n++];return i},Oe=function(e,t,n){G(e,t,{get:function(){return this._d[n]}})},De=function(e){var t,n,r,i,o,a,s=M(e),c=arguments.length,l=c>1?arguments[1]:void 0,f=void 0!==l,h=R(s);if(null!=h&&!_(h)){for(a=h.call(s),r=[],t=0;!(o=a.next()).done;t++)r.push(o.value);s=r}for(f&&c>2&&(l=u(l,arguments[2],2)),t=0,n=p(s.length),i=Le(this,n);n>t;t++)i[t]=f?l(s[t],t):s[t];return i},Ie=function(){for(var e=0,t=arguments.length,n=Le(this,t);t>e;)n[e]=arguments[e++];return n},ke=!!W&&o((function(){me.call(new W(1))})),Fe=function(){return me.apply(ke?de.call(ze(this)):ze(this),arguments)},je={copyWithin:function(e,t){return j.call(ze(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return te(ze(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return F.apply(ze(this),arguments)},filter:function(e){return Ce(this,$(ze(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return ne(ze(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return re(ze(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){J(ze(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return oe(ze(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return ie(ze(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return he.apply(ze(this),arguments)},lastIndexOf:function(e){return ue.apply(ze(this),arguments)},map:function(e){return Pe(ze(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return le.apply(ze(this),arguments)},reduceRight:function(e){return fe.apply(ze(this),arguments)},reverse:function(){for(var e,t=this,n=ze(t).length,r=Math.floor(n/2),i=0;i<r;)e=t[i],t[i++]=t[--n],t[n]=e;return t},some:function(e){return ee(ze(this),e,arguments.length>1?arguments[1]:void 0)},sort:function(e){return ve.call(ze(this),e)},subarray:function(e,t){var n=ze(this),r=n.length,i=y(e,r);return new(A(n,n[be]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,p((void 0===t?r:y(t,r))-i))}},Ue=function(e,t){return Ce(this,de.call(ze(this),e,t))},Be=function(e){ze(this);var t=Ee(arguments[1],1),n=this.length,r=M(e),i=p(r.length),o=0;if(i+t>n)throw H(Se);for(;o<i;)this[t+o]=r[o++]},Ge={entries:function(){return ce.call(ze(this))},keys:function(){return se.call(ze(this))},values:function(){return ae.call(ze(this))}},Ne=function(e,t){return w(e)&&e[Me]&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},He=function(e,t){return Ne(e,t=g(t,!0))?f(2,e[t]):N(e,t)},Ve=function(e,t,n){return!(Ne(e,t=g(t,!0))&&w(n)&&x(n,"value"))||x(n,"get")||x(n,"set")||n.configurable||x(n,"writable")&&!n.writable||x(n,"enumerable")&&!n.enumerable?G(e,t,n):(e[t]=n.value,e)};we||(B.f=He,U.f=Ve),a(a.S+a.F*!we,"Object",{getOwnPropertyDescriptor:He,defineProperty:Ve}),o((function(){pe.call({})}))&&(pe=me=function(){return he.call(this)});var We=v({},je);v(We,Ge),h(We,ye,Ge.values),v(We,{slice:Ue,set:Be,constructor:function(){},toString:pe,toLocaleString:Fe}),Oe(We,"buffer","b"),Oe(We,"byteOffset","o"),Oe(We,"byteLength","l"),Oe(We,"length","e"),G(We,ge,{get:function(){return this[Me]}}),e.exports=function(e,t,n,c){var u=e+((c=!!c)?"Clamped":"")+"Array",f="get"+e,v="set"+e,d=i[u],y=d||{},g=d&&P(d),x=!d||!s.ABV,M={},_=d&&d.prototype,R=function(e,n){G(e,n,{get:function(){return function(e,n){var r=e._d;return r.v[f](n*t+r.o,Te)}(this,n)},set:function(e){return function(e,n,r){var i=e._d;c&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),i.v[v](n*t+i.o,r,Te)}(this,n,e)},enumerable:!0})};x?(d=n((function(e,n,r,i){l(e,d,u,"_d");var o,a,s,c,f=0,v=0;if(w(n)){if(!(n instanceof K||(c=b(n))==Z||c==q))return Me in n?Ae(d,n):De.call(d,n);o=n,v=Ee(r,t);var y=n.byteLength;if(void 0===i){if(y%t)throw H(Se);if((a=y-v)<0)throw H(Se)}else if((a=p(i)*t)+v>y)throw H(Se);s=a/t}else s=m(n),o=new K(a=s*t);for(h(e,"_d",{b:o,o:v,l:a,e:s,v:new Q(o)});f<s;)R(e,f++)})),_=d.prototype=S(We),h(_,"constructor",d)):o((function(){d(1)}))&&o((function(){new d(-1)}))&&I((function(e){new d,new d(null),new d(1.5),new d(e)}),!0)||(d=n((function(e,n,r,i){var o;return l(e,d,u),w(n)?n instanceof K||(o=b(n))==Z||o==q?void 0!==i?new y(n,Ee(r,t),i):void 0!==r?new y(n,Ee(r,t)):new y(n):Me in n?Ae(d,n):De.call(d,n):new y(m(n))})),J(g!==Function.prototype?T(y).concat(T(g)):T(y),(function(e){e in d||h(d,e,y[e])})),d.prototype=_,r||(_.constructor=d));var E=_[ye],z=!!E&&("values"==E.name||null==E.name),L=Ge.values;h(d,xe,!0),h(_,Me,u),h(_,_e,!0),h(_,be,d),(c?new d(1)[ge]==u:ge in _)||G(_,ge,{get:function(){return u}}),M[u]=d,a(a.G+a.W+a.F*(d!=y),M),a(a.S,u,{BYTES_PER_ELEMENT:t}),a(a.S+a.F*o((function(){y.of.call(d,1)})),u,{from:De,of:Ie}),Y in _||h(_,Y,t),a(a.P,u,je),k(u),a(a.P+a.F*Re,u,{set:Be}),a(a.P+a.F*!z,u,Ge),r||_.toString==pe||(_.toString=pe),a(a.P+a.F*o((function(){new d(1).slice()})),u,{slice:Ue}),a(a.P+a.F*(o((function(){return[1,2].toLocaleString()!=new d([1,2]).toLocaleString()}))||!o((function(){_.toLocaleString.call([1,2])}))),u,{toLocaleString:Fe}),D[u]=z?E:L,r||z||h(_,ye,L)}}else e.exports=function(){}},91125:function(e,t,n){"use strict";var r=n(3816),i=n(67057),o=n(4461),a=n(89383),s=n(87728),c=n(24408),u=n(74253),l=n(83328),f=n(81467),h=n(10875),v=n(94843),d=n(20616).f,p=n(99275).f,m=n(46852),y=n(22943),g="ArrayBuffer",x="DataView",b="Wrong index!",w=r.ArrayBuffer,M=r.DataView,_=r.Math,S=r.RangeError,P=r.Infinity,T=w,R=_.abs,E=_.pow,z=_.floor,L=_.log,C=_.LN2,A="buffer",O="byteLength",D="byteOffset",I=i?"_b":A,k=i?"_l":O,F=i?"_o":D;function j(e,t,n){var r,i,o,a=new Array(n),s=8*n-t-1,c=(1<<s)-1,u=c>>1,l=23===t?E(2,-24)-E(2,-77):0,f=0,h=e<0||0===e&&1/e<0?1:0;for((e=R(e))!=e||e===P?(i=e!=e?1:0,r=c):(r=z(L(e)/C),e*(o=E(2,-r))<1&&(r--,o*=2),(e+=r+u>=1?l/o:l*E(2,1-u))*o>=2&&(r++,o/=2),r+u>=c?(i=0,r=c):r+u>=1?(i=(e*o-1)*E(2,t),r+=u):(i=e*E(2,u-1)*E(2,t),r=0));t>=8;a[f++]=255&i,i/=256,t-=8);for(r=r<<t|i,s+=t;s>0;a[f++]=255&r,r/=256,s-=8);return a[--f]|=128*h,a}function U(e,t,n){var r,i=8*n-t-1,o=(1<<i)-1,a=o>>1,s=i-7,c=n-1,u=e[c--],l=127&u;for(u>>=7;s>0;l=256*l+e[c],c--,s-=8);for(r=l&(1<<-s)-1,l>>=-s,s+=t;s>0;r=256*r+e[c],c--,s-=8);if(0===l)l=1-a;else{if(l===o)return r?NaN:u?-P:P;r+=E(2,t),l-=a}return(u?-1:1)*r*E(2,l-t)}function B(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function G(e){return[255&e]}function N(e){return[255&e,e>>8&255]}function H(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function V(e){return j(e,52,8)}function W(e){return j(e,23,4)}function Z(e,t,n){p(e.prototype,t,{get:function(){return this[n]}})}function q(e,t,n,r){var i=v(+n);if(i+t>e[k])throw S(b);var o=e[I]._b,a=i+e[F],s=o.slice(a,a+t);return r?s:s.reverse()}function Y(e,t,n,r,i,o){var a=v(+n);if(a+t>e[k])throw S(b);for(var s=e[I]._b,c=a+e[F],u=r(+i),l=0;l<t;l++)s[c+l]=u[o?l:t-l-1]}if(a.ABV){if(!u((function(){w(1)}))||!u((function(){new w(-1)}))||u((function(){return new w,new w(1.5),new w(NaN),w.name!=g}))){for(var X,K=(w=function(e){return l(this,w),new T(v(e))}).prototype=T.prototype,Q=d(T),J=0;Q.length>J;)(X=Q[J++])in w||s(w,X,T[X]);o||(K.constructor=w)}var $=new M(new w(2)),ee=M.prototype.setInt8;$.setInt8(0,2147483648),$.setInt8(1,2147483649),!$.getInt8(0)&&$.getInt8(1)||c(M.prototype,{setInt8:function(e,t){ee.call(this,e,t<<24>>24)},setUint8:function(e,t){ee.call(this,e,t<<24>>24)}},!0)}else w=function(e){l(this,w,g);var t=v(e);this._b=m.call(new Array(t),0),this[k]=t},M=function(e,t,n){l(this,M,x),l(e,w,x);var r=e[k],i=f(t);if(i<0||i>r)throw S("Wrong offset!");if(i+(n=void 0===n?r-i:h(n))>r)throw S("Wrong length!");this[I]=e,this[F]=i,this[k]=n},i&&(Z(w,O,"_l"),Z(M,A,"_b"),Z(M,O,"_l"),Z(M,D,"_o")),c(M.prototype,{getInt8:function(e){return q(this,1,e)[0]<<24>>24},getUint8:function(e){return q(this,1,e)[0]},getInt16:function(e){var t=q(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=q(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return B(q(this,4,e,arguments[1]))},getUint32:function(e){return B(q(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return U(q(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return U(q(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){Y(this,1,e,G,t)},setUint8:function(e,t){Y(this,1,e,G,t)},setInt16:function(e,t){Y(this,2,e,N,t,arguments[2])},setUint16:function(e,t){Y(this,2,e,N,t,arguments[2])},setInt32:function(e,t){Y(this,4,e,H,t,arguments[2])},setUint32:function(e,t){Y(this,4,e,H,t,arguments[2])},setFloat32:function(e,t){Y(this,4,e,W,t,arguments[2])},setFloat64:function(e,t){Y(this,8,e,V,t,arguments[2])}});y(w,g),y(M,x),s(M.prototype,a.VIEW,!0),t.ArrayBuffer=w,t.DataView=M},89383:function(e,t,n){for(var r,i=n(3816),o=n(87728),a=n(93953),s=a("typed_array"),c=a("view"),u=!(!i.ArrayBuffer||!i.DataView),l=u,f=0,h="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");f<9;)(r=i[h[f++]])?(o(r.prototype,s,!0),o(r.prototype,c,!0)):l=!1;e.exports={ABV:u,CONSTR:l,TYPED:s,VIEW:c}},93953:function(e){var t=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++t+n).toString(36))}},30575:function(e,t,n){var r=n(3816).navigator;e.exports=r&&r.userAgent||""},1616:function(e,t,n){var r=n(55286);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},36074:function(e,t,n){var r=n(3816),i=n(25645),o=n(4461),a=n(28787),s=n(99275).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},28787:function(e,t,n){t.f=n(86314)},86314:function(e,t,n){var r=n(3825)("wks"),i=n(93953),o=n(3816).Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},69002:function(e,t,n){var r=n(41488),i=n(86314)("iterator"),o=n(87234);e.exports=n(25645).getIteratorMethod=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},32e3:function(e,t,n){var r=n(42985);r(r.P,"Array",{copyWithin:n(5216)}),n(17722)("copyWithin")},15745:function(e,t,n){"use strict";var r=n(42985),i=n(10050)(4);r(r.P+r.F*!n(77717)([].every,!0),"Array",{every:function(e){return i(this,e,arguments[1])}})},48977:function(e,t,n){var r=n(42985);r(r.P,"Array",{fill:n(46852)}),n(17722)("fill")},98837:function(e,t,n){"use strict";var r=n(42985),i=n(10050)(2);r(r.P+r.F*!n(77717)([].filter,!0),"Array",{filter:function(e){return i(this,e,arguments[1])}})},94899:function(e,t,n){"use strict";var r=n(42985),i=n(10050)(6),o="findIndex",a=!0;o in[]&&Array(1)[o]((function(){a=!1})),r(r.P+r.F*a,"Array",{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(17722)(o)},52310:function(e,t,n){"use strict";var r=n(42985),i=n(10050)(5),o="find",a=!0;o in[]&&Array(1).find((function(){a=!1})),r(r.P+r.F*a,"Array",{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(17722)(o)},24336:function(e,t,n){"use strict";var r=n(42985),i=n(10050)(0),o=n(77717)([].forEach,!0);r(r.P+r.F*!o,"Array",{forEach:function(e){return i(this,e,arguments[1])}})},30522:function(e,t,n){"use strict";var r=n(741),i=n(42985),o=n(20508),a=n(28851),s=n(86555),c=n(10875),u=n(92811),l=n(69002);i(i.S+i.F*!n(7462)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,i,f,h=o(e),v="function"==typeof this?this:Array,d=arguments.length,p=d>1?arguments[1]:void 0,m=void 0!==p,y=0,g=l(h);if(m&&(p=r(p,d>2?arguments[2]:void 0,2)),null==g||v==Array&&s(g))for(n=new v(t=c(h.length));t>y;y++)u(n,y,m?p(h[y],y):h[y]);else for(f=g.call(h),n=new v;!(i=f.next()).done;y++)u(n,y,m?a(f,p,[i.value,y],!0):i.value);return n.length=y,n}})},23369:function(e,t,n){"use strict";var r=n(42985),i=n(79315)(!1),o=[].indexOf,a=!!o&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(77717)(o)),"Array",{indexOf:function(e){return a?o.apply(this,arguments)||0:i(this,e,arguments[1])}})},20774:function(e,t,n){var r=n(42985);r(r.S,"Array",{isArray:n(4302)})},56997:function(e,t,n){"use strict";var r=n(17722),i=n(15436),o=n(87234),a=n(22110);e.exports=n(42923)(Array,"Array",(function(e,t){this._t=a(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,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},87842:function(e,t,n){"use strict";var r=n(42985),i=n(22110),o=[].join;r(r.P+r.F*(n(49797)!=Object||!n(77717)(o)),"Array",{join:function(e){return o.call(i(this),void 0===e?",":e)}})},99564:function(e,t,n){"use strict";var r=n(42985),i=n(22110),o=n(81467),a=n(10875),s=[].lastIndexOf,c=!!s&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(c||!n(77717)(s)),"Array",{lastIndexOf:function(e){if(c)return s.apply(this,arguments)||0;var t=i(this),n=a(t.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,o(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1}})},19371:function(e,t,n){"use strict";var r=n(42985),i=n(10050)(1);r(r.P+r.F*!n(77717)([].map,!0),"Array",{map:function(e){return i(this,e,arguments[1])}})},58295:function(e,t,n){"use strict";var r=n(42985),i=n(92811);r(r.S+r.F*n(74253)((function(){function e(){}return!(Array.of.call(e)instanceof e)})),"Array",{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)i(n,e,arguments[e++]);return n.length=t,n}})},3750:function(e,t,n){"use strict";var r=n(42985),i=n(37628);r(r.P+r.F*!n(77717)([].reduceRight,!0),"Array",{reduceRight:function(e){return i(this,e,arguments.length,arguments[1],!0)}})},33057:function(e,t,n){"use strict";var r=n(42985),i=n(37628);r(r.P+r.F*!n(77717)([].reduce,!0),"Array",{reduce:function(e){return i(this,e,arguments.length,arguments[1],!1)}})},50110:function(e,t,n){"use strict";var r=n(42985),i=n(40639),o=n(92032),a=n(92337),s=n(10875),c=[].slice;r(r.P+r.F*n(74253)((function(){i&&c.call(i)})),"Array",{slice:function(e,t){var n=s(this.length),r=o(this);if(t=void 0===t?n:t,"Array"==r)return c.call(this,e,t);for(var i=a(e,n),u=a(t,n),l=s(u-i),f=new Array(l),h=0;h<l;h++)f[h]="String"==r?this.charAt(i+h):this[i+h];return f}})},26773:function(e,t,n){"use strict";var r=n(42985),i=n(10050)(3);r(r.P+r.F*!n(77717)([].some,!0),"Array",{some:function(e){return i(this,e,arguments[1])}})},20075:function(e,t,n){"use strict";var r=n(42985),i=n(24963),o=n(20508),a=n(74253),s=[].sort,c=[1,2,3];r(r.P+r.F*(a((function(){c.sort(void 0)}))||!a((function(){c.sort(null)}))||!n(77717)(s)),"Array",{sort:function(e){return void 0===e?s.call(o(this)):s.call(o(this),i(e))}})},31842:function(e,t,n){n(2974)("Array")},81822:function(e,t,n){var r=n(42985);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},91031:function(e,t,n){var r=n(42985),i=n(53537);r(r.P+r.F*(Date.prototype.toISOString!==i),"Date",{toISOString:i})},19977:function(e,t,n){"use strict";var r=n(42985),i=n(20508),o=n(21689);r(r.P+r.F*n(74253)((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(e){var t=i(this),n=o(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},41560:function(e,t,n){var r=n(86314)("toPrimitive"),i=Date.prototype;r in i||n(87728)(i,r,n(870))},46331:function(e,t,n){var r=Date.prototype,i="Invalid Date",o=r.toString,a=r.getTime;new Date(NaN)+""!=i&&n(77234)(r,"toString",(function(){var e=a.call(this);return e==e?o.call(this):i}))},39730:function(e,t,n){var r=n(42985);r(r.P,"Function",{bind:n(34398)})},48377:function(e,t,n){"use strict";var r=n(55286),i=n(468),o=n(86314)("hasInstance"),a=Function.prototype;o in a||n(99275).f(a,o,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=i(e);)if(this.prototype===e)return!0;return!1}})},6059:function(e,t,n){var r=n(99275).f,i=Function.prototype,o=/^\s*function ([^ (]*)/,a="name";a in i||n(67057)&&r(i,a,{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(e){return""}}})},88416:function(e,t,n){"use strict";var r=n(9824),i=n(1616),o="Map";e.exports=n(45795)(o,(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(e){var t=r.getEntry(i(this,o),e);return t&&t.v},set:function(e,t){return r.def(i(this,o),0===e?0:e,t)}},r,!0)},76503:function(e,t,n){var r=n(42985),i=n(46206),o=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:i(e-1+o(e-1)*o(e+1))}})},66786:function(e,t,n){var r=n(42985),i=Math.asinh;r(r.S+r.F*!(i&&1/i(0)>0),"Math",{asinh:function e(t){return isFinite(t=+t)&&0!=t?t<0?-e(-t):Math.log(t+Math.sqrt(t*t+1)):t}})},50932:function(e,t,n){var r=n(42985),i=Math.atanh;r(r.S+r.F*!(i&&1/i(-0)<0),"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},57526:function(e,t,n){var r=n(42985),i=n(61801);r(r.S,"Math",{cbrt:function(e){return i(e=+e)*Math.pow(Math.abs(e),1/3)}})},21591:function(e,t,n){var r=n(42985);r(r.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},9073:function(e,t,n){var r=n(42985),i=Math.exp;r(r.S,"Math",{cosh:function(e){return(i(e=+e)+i(-e))/2}})},80347:function(e,t,n){var r=n(42985),i=n(13086);r(r.S+r.F*(i!=Math.expm1),"Math",{expm1:i})},30579:function(e,t,n){var r=n(42985);r(r.S,"Math",{fround:n(34934)})},4669:function(e,t,n){var r=n(42985),i=Math.abs;r(r.S,"Math",{hypot:function(e,t){for(var n,r,o=0,a=0,s=arguments.length,c=0;a<s;)c<(n=i(arguments[a++]))?(o=o*(r=c/n)*r+1,c=n):o+=n>0?(r=n/c)*r:n;return c===1/0?1/0:c*Math.sqrt(o)}})},67710:function(e,t,n){var r=n(42985),i=Math.imul;r(r.S+r.F*n(74253)((function(){return-5!=i(4294967295,5)||2!=i.length})),"Math",{imul:function(e,t){var n=65535,r=+e,i=+t,o=n&r,a=n&i;return 0|o*a+((n&r>>>16)*a+o*(n&i>>>16)<<16>>>0)}})},45789:function(e,t,n){var r=n(42985);r(r.S,"Math",{log10:function(e){return Math.log(e)*Math.LOG10E}})},33514:function(e,t,n){var r=n(42985);r(r.S,"Math",{log1p:n(46206)})},99978:function(e,t,n){var r=n(42985);r(r.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},58472:function(e,t,n){var r=n(42985);r(r.S,"Math",{sign:n(61801)})},86946:function(e,t,n){var r=n(42985),i=n(13086),o=Math.exp;r(r.S+r.F*n(74253)((function(){return-2e-17!=!Math.sinh(-2e-17)})),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(i(e)-i(-e))/2:(o(e-1)-o(-e-1))*(Math.E/2)}})},35068:function(e,t,n){var r=n(42985),i=n(13086),o=Math.exp;r(r.S,"Math",{tanh:function(e){var t=i(e=+e),n=i(-e);return t==1/0?1:n==1/0?-1:(t-n)/(o(e)+o(-e))}})},413:function(e,t,n){var r=n(42985);r(r.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},11246:function(e,t,n){"use strict";var r=n(3816),i=n(79181),o=n(92032),a=n(40266),s=n(21689),c=n(74253),u=n(20616).f,l=n(18693).f,f=n(99275).f,h=n(29599).trim,v="Number",d=r.Number,p=d,m=d.prototype,y=o(n(42503)(m))==v,g="trim"in String.prototype,x=function(e){var t=s(e,!1);if("string"==typeof t&&t.length>2){var n,r,i,o=(t=g?t.trim():h(t,3)).charCodeAt(0);if(43===o||45===o){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===o){switch(t.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+t}for(var a,c=t.slice(2),u=0,l=c.length;u<l;u++)if((a=c.charCodeAt(u))<48||a>i)return NaN;return parseInt(c,r)}}return+t};if(!d(" 0o1")||!d("0b1")||d("+0x1")){d=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof d&&(y?c((function(){m.valueOf.call(n)})):o(n)!=v)?a(new p(x(t)),n,d):x(t)};for(var b,w=n(67057)?u(p):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),M=0;w.length>M;M++)i(p,b=w[M])&&!i(d,b)&&f(d,b,l(p,b));d.prototype=m,m.constructor=d,n(77234)(r,v,d)}},75972:function(e,t,n){var r=n(42985);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},53403:function(e,t,n){var r=n(42985),i=n(3816).isFinite;r(r.S,"Number",{isFinite:function(e){return"number"==typeof e&&i(e)}})},92516:function(e,t,n){var r=n(42985);r(r.S,"Number",{isInteger:n(18367)})},49371:function(e,t,n){var r=n(42985);r(r.S,"Number",{isNaN:function(e){return e!=e}})},86479:function(e,t,n){var r=n(42985),i=n(18367),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(e){return i(e)&&o(e)<=9007199254740991}})},91736:function(e,t,n){var r=n(42985);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},51889:function(e,t,n){var r=n(42985);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},65177:function(e,t,n){var r=n(42985),i=n(47743);r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},81246:function(e,t,n){var r=n(42985),i=n(55960);r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},30726:function(e,t,n){"use strict";var r=n(42985),i=n(81467),o=n(83365),a=n(68595),s=1..toFixed,c=Math.floor,u=[0,0,0,0,0,0],l="Number.toFixed: incorrect invocation!",f="0",h=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*u[n],u[n]=r%1e7,r=c(r/1e7)},v=function(e){for(var t=6,n=0;--t>=0;)n+=u[t],u[t]=c(n/e),n=n%e*1e7},d=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==u[e]){var n=String(u[e]);t=""===t?n:t+a.call(f,7-n.length)+n}return t},p=function(e,t,n){return 0===t?n:t%2==1?p(e,t-1,n*e):p(e*e,t/2,n)};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(74253)((function(){s.call({})}))),"Number",{toFixed:function(e){var t,n,r,s,c=o(this,l),u=i(e),m="",y=f;if(u<0||u>20)throw RangeError(l);if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(m="-",c=-c),c>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(c*p(2,69,1))-69)<0?c*p(2,-t,1):c/p(2,t,1),n*=4503599627370496,(t=52-t)>0){for(h(0,n),r=u;r>=7;)h(1e7,0),r-=7;for(h(p(10,r,1),0),r=t-1;r>=23;)v(1<<23),r-=23;v(1<<r),h(1,1),v(2),y=d()}else h(0,n),h(1<<-t,0),y=d()+a.call(f,u);return u>0?m+((s=y.length)<=u?"0."+a.call(f,u-s)+y:y.slice(0,s-u)+"."+y.slice(s-u)):m+y}})},1901:function(e,t,n){"use strict";var r=n(42985),i=n(74253),o=n(83365),a=1..toPrecision;r(r.P+r.F*(i((function(){return"1"!==a.call(1,void 0)}))||!i((function(){a.call({})}))),"Number",{toPrecision:function(e){var t=o(this,"Number#toPrecision: incorrect invocation!");return void 0===e?a.call(t):a.call(t,e)}})},75115:function(e,t,n){var r=n(42985);r(r.S+r.F,"Object",{assign:n(35345)})},68132:function(e,t,n){var r=n(42985);r(r.S,"Object",{create:n(42503)})},37470:function(e,t,n){var r=n(42985);r(r.S+r.F*!n(67057),"Object",{defineProperties:n(35588)})},48388:function(e,t,n){var r=n(42985);r(r.S+r.F*!n(67057),"Object",{defineProperty:n(99275).f})},89375:function(e,t,n){var r=n(55286),i=n(84728).onFreeze;n(33160)("freeze",(function(e){return function(t){return e&&r(t)?e(i(t)):t}}))},94882:function(e,t,n){var r=n(22110),i=n(18693).f;n(33160)("getOwnPropertyDescriptor",(function(){return function(e,t){return i(r(e),t)}}))},79622:function(e,t,n){n(33160)("getOwnPropertyNames",(function(){return n(39327).f}))},41520:function(e,t,n){var r=n(20508),i=n(468);n(33160)("getPrototypeOf",(function(){return function(e){return i(r(e))}}))},49892:function(e,t,n){var r=n(55286);n(33160)("isExtensible",(function(e){return function(t){return!!r(t)&&(!e||e(t))}}))},64157:function(e,t,n){var r=n(55286);n(33160)("isFrozen",(function(e){return function(t){return!r(t)||!!e&&e(t)}}))},35095:function(e,t,n){var r=n(55286);n(33160)("isSealed",(function(e){return function(t){return!r(t)||!!e&&e(t)}}))},99176:function(e,t,n){var r=n(42985);r(r.S,"Object",{is:n(27195)})},27476:function(e,t,n){var r=n(20508),i=n(47184);n(33160)("keys",(function(){return function(e){return i(r(e))}}))},84672:function(e,t,n){var r=n(55286),i=n(84728).onFreeze;n(33160)("preventExtensions",(function(e){return function(t){return e&&r(t)?e(i(t)):t}}))},43533:function(e,t,n){var r=n(55286),i=n(84728).onFreeze;n(33160)("seal",(function(e){return function(t){return e&&r(t)?e(i(t)):t}}))},68838:function(e,t,n){var r=n(42985);r(r.S,"Object",{setPrototypeOf:n(27375).set})},96253:function(e,t,n){"use strict";var r=n(41488),i={};i[n(86314)("toStringTag")]="z",i+""!="[object z]"&&n(77234)(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},64299:function(e,t,n){var r=n(42985),i=n(47743);r(r.G+r.F*(parseFloat!=i),{parseFloat:i})},71084:function(e,t,n){var r=n(42985),i=n(55960);r(r.G+r.F*(parseInt!=i),{parseInt:i})},40851:function(e,t,n){"use strict";var r,i,o,a,s=n(4461),c=n(3816),u=n(741),l=n(41488),f=n(42985),h=n(55286),v=n(24963),d=n(83328),p=n(3531),m=n(58364),y=n(74193).set,g=n(14351)(),x=n(43499),b=n(10188),w=n(30575),M=n(50094),_="Promise",S=c.TypeError,P=c.process,T=P&&P.versions,R=T&&T.v8||"",E=c.Promise,z="process"==l(P),L=function(){},C=i=x.f,A=!!function(){try{var e=E.resolve(1),t=(e.constructor={})[n(86314)("species")]=function(e){e(L,L)};return(z||"function"==typeof PromiseRejectionEvent)&&e.then(L)instanceof t&&0!==R.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(e){}}(),O=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},D=function(e,t){if(!e._n){e._n=!0;var n=e._c;g((function(){for(var r=e._v,i=1==e._s,o=0,a=function(t){var n,o,a,s=i?t.ok:t.fail,c=t.resolve,u=t.reject,l=t.domain;try{s?(i||(2==e._h&&F(e),e._h=1),!0===s?n=r:(l&&l.enter(),n=s(r),l&&(l.exit(),a=!0)),n===t.promise?u(S("Promise-chain cycle")):(o=O(n))?o.call(n,c,u):c(n)):u(r)}catch(e){l&&!a&&l.exit(),u(e)}};n.length>o;)a(n[o++]);e._c=[],e._n=!1,t&&!e._h&&I(e)}))}},I=function(e){y.call(c,(function(){var t,n,r,i=e._v,o=k(e);if(o&&(t=b((function(){z?P.emit("unhandledRejection",i,e):(n=c.onunhandledrejection)?n({promise:e,reason:i}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",i)})),e._h=z||k(e)?2:1),e._a=void 0,o&&t.e)throw t.v}))},k=function(e){return 1!==e._h&&0===(e._a||e._c).length},F=function(e){y.call(c,(function(){var t;z?P.emit("rejectionHandled",e):(t=c.onrejectionhandled)&&t({promise:e,reason:e._v})}))},j=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),D(t,!0))},U=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw S("Promise can't be resolved itself");(t=O(e))?g((function(){var r={_w:n,_d:!1};try{t.call(e,u(U,r,1),u(j,r,1))}catch(e){j.call(r,e)}})):(n._v=e,n._s=1,D(n,!1))}catch(e){j.call({_w:n,_d:!1},e)}}};A||(E=function(e){d(this,E,_,"_h"),v(e),r.call(this);try{e(u(U,this,1),u(j,this,1))}catch(e){j.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(24408)(E.prototype,{then:function(e,t){var n=C(m(this,E));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=z?P.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&D(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r;this.promise=e,this.resolve=u(U,e,1),this.reject=u(j,e,1)},x.f=C=function(e){return e===E||e===a?new o(e):i(e)}),f(f.G+f.W+f.F*!A,{Promise:E}),n(22943)(E,_),n(2974)(_),a=n(25645).Promise,f(f.S+f.F*!A,_,{reject:function(e){var t=C(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(s||!A),_,{resolve:function(e){return M(s&&this===a?E:this,e)}}),f(f.S+f.F*!(A&&n(7462)((function(e){E.all(e).catch(L)}))),_,{all:function(e){var t=this,n=C(t),r=n.resolve,i=n.reject,o=b((function(){var n=[],o=0,a=1;p(e,!1,(function(e){var s=o++,c=!1;n.push(void 0),a++,t.resolve(e).then((function(e){c||(c=!0,n[s]=e,--a||r(n))}),i)})),--a||r(n)}));return o.e&&i(o.v),n.promise},race:function(e){var t=this,n=C(t),r=n.reject,i=b((function(){p(e,!1,(function(e){t.resolve(e).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}})},21572:function(e,t,n){var r=n(42985),i=n(24963),o=n(27007),a=(n(3816).Reflect||{}).apply,s=Function.apply;r(r.S+r.F*!n(74253)((function(){a((function(){}))})),"Reflect",{apply:function(e,t,n){var r=i(e),c=o(n);return a?a(r,t,c):s.call(r,t,c)}})},82139:function(e,t,n){var r=n(42985),i=n(42503),o=n(24963),a=n(27007),s=n(55286),c=n(74253),u=n(34398),l=(n(3816).Reflect||{}).construct,f=c((function(){function e(){}return!(l((function(){}),[],e)instanceof e)})),h=!c((function(){l((function(){}))}));r(r.S+r.F*(f||h),"Reflect",{construct:function(e,t){o(e),a(t);var n=arguments.length<3?e:o(arguments[2]);if(h&&!f)return l(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(u.apply(e,r))}var c=n.prototype,v=i(s(c)?c:Object.prototype),d=Function.apply.call(e,v,t);return s(d)?d:v}})},10685:function(e,t,n){var r=n(99275),i=n(42985),o=n(27007),a=n(21689);i(i.S+i.F*n(74253)((function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})})),"Reflect",{defineProperty:function(e,t,n){o(e),t=a(t,!0),o(n);try{return r.f(e,t,n),!0}catch(e){return!1}}})},85535:function(e,t,n){var r=n(42985),i=n(18693).f,o=n(27007);r(r.S,"Reflect",{deleteProperty:function(e,t){var n=i(o(e),t);return!(n&&!n.configurable)&&delete e[t]}})},17347:function(e,t,n){"use strict";var r=n(42985),i=n(27007),o=function(e){this._t=i(e),this._i=0;var t,n=this._k=[];for(t in e)n.push(t)};n(49988)(o,"Object",(function(){var e,t=this,n=t._k;do{if(t._i>=n.length)return{value:void 0,done:!0}}while(!((e=n[t._i++])in t._t));return{value:e,done:!1}})),r(r.S,"Reflect",{enumerate:function(e){return new o(e)}})},96633:function(e,t,n){var r=n(18693),i=n(42985),o=n(27007);i(i.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return r.f(o(e),t)}})},68989:function(e,t,n){var r=n(42985),i=n(468),o=n(27007);r(r.S,"Reflect",{getPrototypeOf:function(e){return i(o(e))}})},83049:function(e,t,n){var r=n(18693),i=n(468),o=n(79181),a=n(42985),s=n(55286),c=n(27007);a(a.S,"Reflect",{get:function e(t,n){var a,u,l=arguments.length<3?t:arguments[2];return c(t)===l?t[n]:(a=r.f(t,n))?o(a,"value")?a.value:void 0!==a.get?a.get.call(l):void 0:s(u=i(t))?e(u,n,l):void 0}})},78270:function(e,t,n){var r=n(42985);r(r.S,"Reflect",{has:function(e,t){return t in e}})},64510:function(e,t,n){var r=n(42985),i=n(27007),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(e){return i(e),!o||o(e)}})},73984:function(e,t,n){var r=n(42985);r(r.S,"Reflect",{ownKeys:n(57643)})},75769:function(e,t,n){var r=n(42985),i=n(27007),o=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(e){i(e);try{return o&&o(e),!0}catch(e){return!1}}})},96014:function(e,t,n){var r=n(42985),i=n(27375);i&&r(r.S,"Reflect",{setPrototypeOf:function(e,t){i.check(e,t);try{return i.set(e,t),!0}catch(e){return!1}}})},50055:function(e,t,n){var r=n(99275),i=n(18693),o=n(468),a=n(79181),s=n(42985),c=n(90681),u=n(27007),l=n(55286);s(s.S,"Reflect",{set:function e(t,n,s){var f,h,v=arguments.length<4?t:arguments[3],d=i.f(u(t),n);if(!d){if(l(h=o(t)))return e(h,n,s,v);d=c(0)}if(a(d,"value")){if(!1===d.writable||!l(v))return!1;if(f=i.f(v,n)){if(f.get||f.set||!1===f.writable)return!1;f.value=s,r.f(v,n,f)}else r.f(v,n,c(0,s));return!0}return void 0!==d.set&&(d.set.call(v,s),!0)}})},83946:function(e,t,n){var r=n(3816),i=n(40266),o=n(99275).f,a=n(20616).f,s=n(55364),c=n(53218),u=r.RegExp,l=u,f=u.prototype,h=/a/g,v=/a/g,d=new u(h)!==h;if(n(67057)&&(!d||n(74253)((function(){return v[n(86314)("match")]=!1,u(h)!=h||u(v)==v||"/a/i"!=u(h,"i")})))){u=function(e,t){var n=this instanceof u,r=s(e),o=void 0===t;return!n&&r&&e.constructor===u&&o?e:i(d?new l(r&&!o?e.source:e,t):l((r=e instanceof u)?e.source:e,r&&o?c.call(e):t),n?this:f,u)};for(var p=function(e){e in u||o(u,e,{configurable:!0,get:function(){return l[e]},set:function(t){l[e]=t}})},m=a(l),y=0;m.length>y;)p(m[y++]);f.constructor=u,u.prototype=f,n(77234)(r,"RegExp",u)}n(2974)("RegExp")},18269:function(e,t,n){"use strict";var r=n(21165);n(42985)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},76774:function(e,t,n){n(67057)&&"g"!=/./g.flags&&n(99275).f(RegExp.prototype,"flags",{configurable:!0,get:n(53218)})},21466:function(e,t,n){"use strict";var r=n(27007),i=n(10875),o=n(76793),a=n(27787);n(28082)("match",1,(function(e,t,n,s){return[function(n){var r=e(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=s(n,e,this);if(t.done)return t.value;var c=r(e),u=String(this);if(!c.global)return a(c,u);var l=c.unicode;c.lastIndex=0;for(var f,h=[],v=0;null!==(f=a(c,u));){var d=String(f[0]);h[v]=d,""===d&&(c.lastIndex=o(u,i(c.lastIndex),l)),v++}return 0===v?null:h}]}))},59357:function(e,t,n){"use strict";var r=n(27007),i=n(20508),o=n(10875),a=n(81467),s=n(76793),c=n(27787),u=Math.max,l=Math.min,f=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,v=/\$([$&`']|\d\d?)/g;n(28082)("replace",2,(function(e,t,n,d){return[function(r,i){var o=e(this),a=null==r?void 0:r[t];return void 0!==a?a.call(r,o,i):n.call(String(o),r,i)},function(e,t){var i=d(n,e,this,t);if(i.done)return i.value;var f=r(e),h=String(this),v="function"==typeof t;v||(t=String(t));var m=f.global;if(m){var y=f.unicode;f.lastIndex=0}for(var g=[];;){var x=c(f,h);if(null===x)break;if(g.push(x),!m)break;""===String(x[0])&&(f.lastIndex=s(h,o(f.lastIndex),y))}for(var b,w="",M=0,_=0;_<g.length;_++){x=g[_];for(var S=String(x[0]),P=u(l(a(x.index),h.length),0),T=[],R=1;R<x.length;R++)T.push(void 0===(b=x[R])?b:String(b));var E=x.groups;if(v){var z=[S].concat(T,P,h);void 0!==E&&z.push(E);var L=String(t.apply(void 0,z))}else L=p(S,h,P,T,E,t);P>=M&&(w+=h.slice(M,P)+L,M=P+S.length)}return w+h.slice(M)}];function p(e,t,r,o,a,s){var c=r+e.length,u=o.length,l=v;return void 0!==a&&(a=i(a),l=h),n.call(s,l,(function(n,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(c);case"<":s=a[i.slice(1,-1)];break;default:var l=+i;if(0===l)return n;if(l>u){var h=f(l/10);return 0===h?n:h<=u?void 0===o[h-1]?i.charAt(1):o[h-1]+i.charAt(1):n}s=o[l-1]}return void 0===s?"":s}))}}))},76142:function(e,t,n){"use strict";var r=n(27007),i=n(27195),o=n(27787);n(28082)("search",1,(function(e,t,n,a){return[function(n){var r=e(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=a(n,e,this);if(t.done)return t.value;var s=r(e),c=String(this),u=s.lastIndex;i(u,0)||(s.lastIndex=0);var l=o(s,c);return i(s.lastIndex,u)||(s.lastIndex=u),null===l?-1:l.index}]}))},51876:function(e,t,n){"use strict";var r=n(55364),i=n(27007),o=n(58364),a=n(76793),s=n(10875),c=n(27787),u=n(21165),l=n(74253),f=Math.min,h=[].push,v=4294967295,d=!l((function(){RegExp(v,"y")}));n(28082)("split",2,(function(e,t,n,l){var p;return p="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,t){var i=String(this);if(void 0===e&&0===t)return[];if(!r(e))return n.call(i,e,t);for(var o,a,s,c=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,d=void 0===t?v:t>>>0,p=new RegExp(e.source,l+"g");(o=u.call(p,i))&&!((a=p.lastIndex)>f&&(c.push(i.slice(f,o.index)),o.length>1&&o.index<i.length&&h.apply(c,o.slice(1)),s=o[0].length,f=a,c.length>=d));)p.lastIndex===o.index&&p.lastIndex++;return f===i.length?!s&&p.test("")||c.push(""):c.push(i.slice(f)),c.length>d?c.slice(0,d):c}:"0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,r){var i=e(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,i,r):p.call(String(i),n,r)},function(e,t){var r=l(p,e,this,t,p!==n);if(r.done)return r.value;var u=i(e),h=String(this),m=o(u,RegExp),y=u.unicode,g=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(d?"y":"g"),x=new m(d?u:"^(?:"+u.source+")",g),b=void 0===t?v:t>>>0;if(0===b)return[];if(0===h.length)return null===c(x,h)?[h]:[];for(var w=0,M=0,_=[];M<h.length;){x.lastIndex=d?M:0;var S,P=c(x,d?h:h.slice(M));if(null===P||(S=f(s(x.lastIndex+(d?0:M)),h.length))===w)M=a(h,M,y);else{if(_.push(h.slice(w,M)),_.length===b)return _;for(var T=1;T<=P.length-1;T++)if(_.push(P[T]),_.length===b)return _;M=w=S}}return _.push(h.slice(w)),_}]}))},66108:function(e,t,n){"use strict";n(76774);var r=n(27007),i=n(53218),o=n(67057),a="toString",s=/./.toString,c=function(e){n(77234)(RegExp.prototype,a,e,!0)};n(74253)((function(){return"/a/b"!=s.call({source:"a",flags:"b"})}))?c((function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!o&&e instanceof RegExp?i.call(e):void 0)})):s.name!=a&&c((function(){return s.call(this)}))},98184:function(e,t,n){"use strict";var r=n(9824),i=n(1616);e.exports=n(45795)("Set",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(e){return r.def(i(this,"Set"),e=0===e?0:e,e)}},r)},40856:function(e,t,n){"use strict";n(29395)("anchor",(function(e){return function(t){return e(this,"a","name",t)}}))},80703:function(e,t,n){"use strict";n(29395)("big",(function(e){return function(){return e(this,"big","","")}}))},91539:function(e,t,n){"use strict";n(29395)("blink",(function(e){return function(){return e(this,"blink","","")}}))},5292:function(e,t,n){"use strict";n(29395)("bold",(function(e){return function(){return e(this,"b","","")}}))},29539:function(e,t,n){"use strict";var r=n(42985),i=n(24496)(!1);r(r.P,"String",{codePointAt:function(e){return i(this,e)}})},96620:function(e,t,n){"use strict";var r=n(42985),i=n(10875),o=n(42094),a="endsWith",s="".endsWith;r(r.P+r.F*n(8852)(a),"String",{endsWith:function(e){var t=o(this,e,a),n=arguments.length>1?arguments[1]:void 0,r=i(t.length),c=void 0===n?r:Math.min(i(n),r),u=String(e);return s?s.call(t,u,c):t.slice(c-u.length,c)===u}})},45177:function(e,t,n){"use strict";n(29395)("fixed",(function(e){return function(){return e(this,"tt","","")}}))},73694:function(e,t,n){"use strict";n(29395)("fontcolor",(function(e){return function(t){return e(this,"font","color",t)}}))},37648:function(e,t,n){"use strict";n(29395)("fontsize",(function(e){return function(t){return e(this,"font","size",t)}}))},50191:function(e,t,n){var r=n(42985),i=n(92337),o=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,a=0;r>a;){if(t=+arguments[a++],i(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?o(t):o(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},62850:function(e,t,n){"use strict";var r=n(42985),i=n(42094),o="includes";r(r.P+r.F*n(8852)(o),"String",{includes:function(e){return!!~i(this,e,o).indexOf(e,arguments.length>1?arguments[1]:void 0)}})},27795:function(e,t,n){"use strict";n(29395)("italics",(function(e){return function(){return e(this,"i","","")}}))},39115:function(e,t,n){"use strict";var r=n(24496)(!0);n(42923)(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=r(t,n),this._i+=e.length,{value:e,done:!1})}))},4531:function(e,t,n){"use strict";n(29395)("link",(function(e){return function(t){return e(this,"a","href",t)}}))},98306:function(e,t,n){var r=n(42985),i=n(22110),o=n(10875);r(r.S,"String",{raw:function(e){for(var t=i(e.raw),n=o(t.length),r=arguments.length,a=[],s=0;n>s;)a.push(String(t[s++])),s<r&&a.push(String(arguments[s]));return a.join("")}})},10823:function(e,t,n){var r=n(42985);r(r.P,"String",{repeat:n(68595)})},23605:function(e,t,n){"use strict";n(29395)("small",(function(e){return function(){return e(this,"small","","")}}))},17732:function(e,t,n){"use strict";var r=n(42985),i=n(10875),o=n(42094),a="startsWith",s="".startsWith;r(r.P+r.F*n(8852)(a),"String",{startsWith:function(e){var t=o(this,e,a),n=i(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return s?s.call(t,r,n):t.slice(n,n+r.length)===r}})},6780:function(e,t,n){"use strict";n(29395)("strike",(function(e){return function(){return e(this,"strike","","")}}))},69937:function(e,t,n){"use strict";n(29395)("sub",(function(e){return function(){return e(this,"sub","","")}}))},10511:function(e,t,n){"use strict";n(29395)("sup",(function(e){return function(){return e(this,"sup","","")}}))},64564:function(e,t,n){"use strict";n(29599)("trim",(function(e){return function(){return e(this,3)}}))},95767:function(e,t,n){"use strict";var r=n(3816),i=n(79181),o=n(67057),a=n(42985),s=n(77234),c=n(84728).KEY,u=n(74253),l=n(3825),f=n(22943),h=n(93953),v=n(86314),d=n(28787),p=n(36074),m=n(5541),y=n(4302),g=n(27007),x=n(55286),b=n(20508),w=n(22110),M=n(21689),_=n(90681),S=n(42503),P=n(39327),T=n(18693),R=n(64548),E=n(99275),z=n(47184),L=T.f,C=E.f,A=P.f,O=r.Symbol,D=r.JSON,I=D&&D.stringify,k=v("_hidden"),F=v("toPrimitive"),j={}.propertyIsEnumerable,U=l("symbol-registry"),B=l("symbols"),G=l("op-symbols"),N=Object.prototype,H="function"==typeof O&&!!R.f,V=r.QObject,W=!V||!V.prototype||!V.prototype.findChild,Z=o&&u((function(){return 7!=S(C({},"a",{get:function(){return C(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=L(N,t);r&&delete N[t],C(e,t,n),r&&e!==N&&C(N,t,r)}:C,q=function(e){var t=B[e]=S(O.prototype);return t._k=e,t},Y=H&&"symbol"==typeof O.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof O},X=function(e,t,n){return e===N&&X(G,t,n),g(e),t=M(t,!0),g(n),i(B,t)?(n.enumerable?(i(e,k)&&e[k][t]&&(e[k][t]=!1),n=S(n,{enumerable:_(0,!1)})):(i(e,k)||C(e,k,_(1,{})),e[k][t]=!0),Z(e,t,n)):C(e,t,n)},K=function(e,t){g(e);for(var n,r=m(t=w(t)),i=0,o=r.length;o>i;)X(e,n=r[i++],t[n]);return e},Q=function(e){var t=j.call(this,e=M(e,!0));return!(this===N&&i(B,e)&&!i(G,e))&&(!(t||!i(this,e)||!i(B,e)||i(this,k)&&this[k][e])||t)},J=function(e,t){if(e=w(e),t=M(t,!0),e!==N||!i(B,t)||i(G,t)){var n=L(e,t);return!n||!i(B,t)||i(e,k)&&e[k][t]||(n.enumerable=!0),n}},$=function(e){for(var t,n=A(w(e)),r=[],o=0;n.length>o;)i(B,t=n[o++])||t==k||t==c||r.push(t);return r},ee=function(e){for(var t,n=e===N,r=A(n?G:w(e)),o=[],a=0;r.length>a;)!i(B,t=r[a++])||n&&!i(N,t)||o.push(B[t]);return o};H||(s((O=function(){if(this instanceof O)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===N&&t.call(G,n),i(this,k)&&i(this[k],e)&&(this[k][e]=!1),Z(this,e,_(1,n))};return o&&W&&Z(N,e,{configurable:!0,set:t}),q(e)}).prototype,"toString",(function(){return this._k})),T.f=J,E.f=X,n(20616).f=P.f=$,n(14682).f=Q,R.f=ee,o&&!n(4461)&&s(N,"propertyIsEnumerable",Q,!0),d.f=function(e){return q(v(e))}),a(a.G+a.W+a.F*!H,{Symbol:O});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)v(te[ne++]);for(var re=z(v.store),ie=0;re.length>ie;)p(re[ie++]);a(a.S+a.F*!H,"Symbol",{for:function(e){return i(U,e+="")?U[e]:U[e]=O(e)},keyFor:function(e){if(!Y(e))throw TypeError(e+" is not a symbol!");for(var t in U)if(U[t]===e)return t},useSetter:function(){W=!0},useSimple:function(){W=!1}}),a(a.S+a.F*!H,"Object",{create:function(e,t){return void 0===t?S(e):K(S(e),t)},defineProperty:X,defineProperties:K,getOwnPropertyDescriptor:J,getOwnPropertyNames:$,getOwnPropertySymbols:ee});var oe=u((function(){R.f(1)}));a(a.S+a.F*oe,"Object",{getOwnPropertySymbols:function(e){return R.f(b(e))}}),D&&a(a.S+a.F*(!H||u((function(){var e=O();return"[null]"!=I([e])||"{}"!=I({a:e})||"{}"!=I(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(x(t)||void 0!==e)&&!Y(e))return y(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!Y(t))return t}),r[1]=t,I.apply(D,r)}}),O.prototype[F]||n(87728)(O.prototype,F,O.prototype.valueOf),f(O,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},30142:function(e,t,n){"use strict";var r=n(42985),i=n(89383),o=n(91125),a=n(27007),s=n(92337),c=n(10875),u=n(55286),l=n(3816).ArrayBuffer,f=n(58364),h=o.ArrayBuffer,v=o.DataView,d=i.ABV&&l.isView,p=h.prototype.slice,m=i.VIEW,y="ArrayBuffer";r(r.G+r.W+r.F*(l!==h),{ArrayBuffer:h}),r(r.S+r.F*!i.CONSTR,y,{isView:function(e){return d&&d(e)||u(e)&&m in e}}),r(r.P+r.U+r.F*n(74253)((function(){return!new h(2).slice(1,void 0).byteLength})),y,{slice:function(e,t){if(void 0!==p&&void 0===t)return p.call(a(this),e);for(var n=a(this).byteLength,r=s(e,n),i=s(void 0===t?n:t,n),o=new(f(this,h))(c(i-r)),u=new v(this),l=new v(o),d=0;r<i;)l.setUint8(d++,u.getUint8(r++));return o}}),n(2974)(y)},1786:function(e,t,n){var r=n(42985);r(r.G+r.W+r.F*!n(89383).ABV,{DataView:n(91125).DataView})},70162:function(e,t,n){n(78440)("Float32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},33834:function(e,t,n){n(78440)("Float64",8,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},74821:function(e,t,n){n(78440)("Int16",2,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},81303:function(e,t,n){n(78440)("Int32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},75368:function(e,t,n){n(78440)("Int8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},79103:function(e,t,n){n(78440)("Uint16",2,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},83318:function(e,t,n){n(78440)("Uint32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},46964:function(e,t,n){n(78440)("Uint8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},62152:function(e,t,n){n(78440)("Uint8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}),!0)},30147:function(e,t,n){"use strict";var r,i=n(3816),o=n(10050)(0),a=n(77234),s=n(84728),c=n(35345),u=n(23657),l=n(55286),f=n(1616),h=n(1616),v=!i.ActiveXObject&&"ActiveXObject"in i,d="WeakMap",p=s.getWeak,m=Object.isExtensible,y=u.ufstore,g=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},x={get:function(e){if(l(e)){var t=p(e);return!0===t?y(f(this,d)).get(e):t?t[this._i]:void 0}},set:function(e,t){return u.def(f(this,d),e,t)}},b=e.exports=n(45795)(d,g,x,u,!0,!0);h&&v&&(c((r=u.getConstructor(g,d)).prototype,x),s.NEED=!0,o(["delete","has","get","set"],(function(e){var t=b.prototype,n=t[e];a(t,e,(function(t,i){if(l(t)&&!m(t)){this._f||(this._f=new r);var o=this._f[e](t,i);return"set"==e?this:o}return n.call(this,t,i)}))})))},59192:function(e,t,n){"use strict";var r=n(23657),i=n(1616),o="WeakSet";n(45795)(o,(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(e){return r.def(i(this,o),e,!0)}},r,!1,!0)},1268:function(e,t,n){"use strict";var r=n(42985),i=n(13325),o=n(20508),a=n(10875),s=n(24963),c=n(16886);r(r.P,"Array",{flatMap:function(e){var t,n,r=o(this);return s(e),t=a(r.length),n=c(r,0),i(n,r,r,t,0,1,e,arguments[1]),n}}),n(17722)("flatMap")},62773:function(e,t,n){"use strict";var r=n(42985),i=n(79315)(!0);r(r.P,"Array",{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(17722)("includes")},83276:function(e,t,n){var r=n(42985),i=n(51131)(!0);r(r.S,"Object",{entries:function(e){return i(e)}})},98351:function(e,t,n){var r=n(42985),i=n(57643),o=n(22110),a=n(18693),s=n(92811);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=o(e),c=a.f,u=i(r),l={},f=0;u.length>f;)void 0!==(n=c(r,t=u[f++]))&&s(l,t,n);return l}})},96409:function(e,t,n){var r=n(42985),i=n(51131)(!1);r(r.S,"Object",{values:function(e){return i(e)}})},9865:function(e,t,n){"use strict";var r=n(42985),i=n(25645),o=n(3816),a=n(58364),s=n(50094);r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,i.Promise||o.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then((function(){return n}))}:e,n?function(n){return s(t,e()).then((function(){throw n}))}:e)}})},92770:function(e,t,n){"use strict";var r=n(42985),i=n(75442),o=n(30575),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*a,"String",{padEnd:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},41784:function(e,t,n){"use strict";var r=n(42985),i=n(75442),o=n(30575),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*a,"String",{padStart:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},65869:function(e,t,n){"use strict";n(29599)("trimLeft",(function(e){return function(){return e(this,1)}}),"trimStart")},94325:function(e,t,n){"use strict";n(29599)("trimRight",(function(e){return function(){return e(this,2)}}),"trimEnd")},79665:function(e,t,n){n(36074)("asyncIterator")},91181:function(e,t,n){for(var r=n(56997),i=n(47184),o=n(77234),a=n(3816),s=n(87728),c=n(87234),u=n(86314),l=u("iterator"),f=u("toStringTag"),h=c.Array,v={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},d=i(v),p=0;p<d.length;p++){var m,y=d[p],g=v[y],x=a[y],b=x&&x.prototype;if(b&&(b[l]||s(b,l,h),b[f]||s(b,f,y),c[y]=h,g))for(m in r)b[m]||o(b,m,r[m],!0)}},84633:function(e,t,n){var r=n(42985),i=n(74193);r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},32564:function(e,t,n){var r=n(3816),i=n(42985),o=n(30575),a=[].slice,s=/MSIE .\./.test(o),c=function(e){return function(t,n){var r=arguments.length>2,i=!!r&&a.call(arguments,2);return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,i)}:t,n)}};i(i.G+i.B+i.F*s,{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},96337:function(e,t,n){n(32564),n(84633),n(91181),e.exports=n(25645)},31430:function(e,t,n){var r,i;void 0===(i="function"==typeof(r={easeInQuad:function(e){return Math.pow(e,2)},easeOutQuad:function(e){return-(Math.pow(e-1,2)-1)},easeInOutQuad:function(e){return(e/=.5)<1?.5*Math.pow(e,2):-.5*((e-=2)*e-2)},easeInCubic:function(e){return Math.pow(e,3)},easeOutCubic:function(e){return Math.pow(e-1,3)+1},easeInOutCubic:function(e){return(e/=.5)<1?.5*Math.pow(e,3):.5*(Math.pow(e-2,3)+2)},easeInQuart:function(e){return Math.pow(e,4)},easeOutQuart:function(e){return-(Math.pow(e-1,4)-1)},easeInOutQuart:function(e){return(e/=.5)<1?.5*Math.pow(e,4):-.5*((e-=2)*Math.pow(e,3)-2)},easeInQuint:function(e){return Math.pow(e,5)},easeOutQuint:function(e){return Math.pow(e-1,5)+1},easeInOutQuint:function(e){return(e/=.5)<1?.5*Math.pow(e,5):.5*(Math.pow(e-2,5)+2)},easeInSine:function(e){return 1-Math.cos(e*(Math.PI/2))},easeOutSine:function(e){return Math.sin(e*(Math.PI/2))},easeInOutSine:function(e){return-.5*(Math.cos(Math.PI*e)-1)},easeInExpo:function(e){return 0===e?0:Math.pow(2,10*(e-1))},easeOutExpo:function(e){return 1===e?1:1-Math.pow(2,-10*e)},easeInOutExpo:function(e){return 0===e?0:1===e?1:(e/=.5)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*--e))},easeInCirc:function(e){return-(Math.sqrt(1-e*e)-1)},easeOutCirc:function(e){return Math.sqrt(1-Math.pow(e-1,2))},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeOutBounce:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInBack:function(e){var t=1.70158;return e*e*((t+1)*e-t)},easeOutBack:function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack:function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},elastic:function(e){return-1*Math.pow(4,-8*e)*Math.sin((6*e-1)*(2*Math.PI)/2)+1},swingFromTo:function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},swingFrom:function(e){var t=1.70158;return e*e*((t+1)*e-t)},swingTo:function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},bounce:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bouncePast:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?2-(7.5625*(e-=1.5/2.75)*e+.75):e<2.5/2.75?2-(7.5625*(e-=2.25/2.75)*e+.9375):2-(7.5625*(e-=2.625/2.75)*e+.984375)},easeFromTo:function(e){return(e/=.5)<1?.5*Math.pow(e,4):-.5*((e-=2)*Math.pow(e,3)-2)},easeFrom:function(e){return Math.pow(e,4)},easeTo:function(e){return Math.pow(e,.25)}})?r.call(t,n,t,e):r)||(e.exports=i)},90887:function(e,t,n){"use strict";n.r(t),n.d(t,{glMatrix:function(){return r},mat2:function(){return i},mat2d:function(){return o},mat3:function(){return a},mat4:function(){return s},quat:function(){return l},quat2:function(){return f},vec2:function(){return h},vec3:function(){return c},vec4:function(){return u}});var r={};n.r(r),n.d(r,{ARRAY_TYPE:function(){return d},EPSILON:function(){return v},RANDOM:function(){return p},equals:function(){return x},setMatrixArrayType:function(){return m},toRadian:function(){return g}});var i={};n.r(i),n.d(i,{LDU:function(){return F},add:function(){return j},adjoint:function(){return E},clone:function(){return w},copy:function(){return M},create:function(){return b},determinant:function(){return z},equals:function(){return G},exactEquals:function(){return B},frob:function(){return k},fromRotation:function(){return O},fromScaling:function(){return D},fromValues:function(){return S},identity:function(){return _},invert:function(){return R},mul:function(){return V},multiply:function(){return L},multiplyScalar:function(){return N},multiplyScalarAndAdd:function(){return H},rotate:function(){return C},scale:function(){return A},set:function(){return P},str:function(){return I},sub:function(){return W},subtract:function(){return U},transpose:function(){return T}});var o={};n.r(o),n.d(o,{add:function(){return ue},clone:function(){return q},copy:function(){return Y},create:function(){return Z},determinant:function(){return $},equals:function(){return de},exactEquals:function(){return ve},frob:function(){return ce},fromRotation:function(){return ie},fromScaling:function(){return oe},fromTranslation:function(){return ae},fromValues:function(){return K},identity:function(){return X},invert:function(){return J},mul:function(){return pe},multiply:function(){return ee},multiplyScalar:function(){return fe},multiplyScalarAndAdd:function(){return he},rotate:function(){return te},scale:function(){return ne},set:function(){return Q},str:function(){return se},sub:function(){return me},subtract:function(){return le},translate:function(){return re}});var a={};n.r(a),n.d(a,{add:function(){return Ge},adjoint:function(){return Te},clone:function(){return xe},copy:function(){return be},create:function(){return ye},determinant:function(){return Re},equals:function(){return Ze},exactEquals:function(){return We},frob:function(){return Be},fromMat2d:function(){return Ie},fromMat4:function(){return ge},fromQuat:function(){return ke},fromRotation:function(){return Oe},fromScaling:function(){return De},fromTranslation:function(){return Ae},fromValues:function(){return we},identity:function(){return _e},invert:function(){return Pe},mul:function(){return qe},multiply:function(){return Ee},multiplyScalar:function(){return He},multiplyScalarAndAdd:function(){return Ve},normalFromMat4:function(){return Fe},projection:function(){return je},rotate:function(){return Le},scale:function(){return Ce},set:function(){return Me},str:function(){return Ue},sub:function(){return Ye},subtract:function(){return Ne},translate:function(){return ze},transpose:function(){return Se}});var s={};n.r(s),n.d(s,{add:function(){return Dt},adjoint:function(){return rt},clone:function(){return Ke},copy:function(){return Qe},create:function(){return Xe},determinant:function(){return it},equals:function(){return Ut},exactEquals:function(){return jt},frob:function(){return Ot},fromQuat:function(){return Pt},fromQuat2:function(){return xt},fromRotation:function(){return dt},fromRotationTranslation:function(){return gt},fromRotationTranslationScale:function(){return _t},fromRotationTranslationScaleOrigin:function(){return St},fromScaling:function(){return vt},fromTranslation:function(){return ht},fromValues:function(){return Je},fromXRotation:function(){return pt},fromYRotation:function(){return mt},fromZRotation:function(){return yt},frustum:function(){return Tt},getRotation:function(){return Mt},getScaling:function(){return wt},getTranslation:function(){return bt},identity:function(){return et},invert:function(){return nt},lookAt:function(){return Lt},mul:function(){return Bt},multiply:function(){return ot},multiplyScalar:function(){return kt},multiplyScalarAndAdd:function(){return Ft},ortho:function(){return zt},perspective:function(){return Rt},perspectiveFromFieldOfView:function(){return Et},rotate:function(){return ct},rotateX:function(){return ut},rotateY:function(){return lt},rotateZ:function(){return ft},scale:function(){return st},set:function(){return $e},str:function(){return At},sub:function(){return Gt},subtract:function(){return It},targetTo:function(){return Ct},translate:function(){return at},transpose:function(){return tt}});var c={};n.r(c),n.d(c,{add:function(){return Yt},angle:function(){return Sn},bezier:function(){return mn},ceil:function(){return Jt},clone:function(){return Ht},copy:function(){return Zt},create:function(){return Nt},cross:function(){return vn},dist:function(){return On},distance:function(){return an},div:function(){return An},divide:function(){return Qt},dot:function(){return hn},equals:function(){return En},exactEquals:function(){return Rn},floor:function(){return $t},forEach:function(){return Fn},fromValues:function(){return Wt},hermite:function(){return pn},inverse:function(){return ln},len:function(){return In},length:function(){return Vt},lerp:function(){return dn},max:function(){return tn},min:function(){return en},mul:function(){return Cn},multiply:function(){return Kt},negate:function(){return un},normalize:function(){return fn},random:function(){return yn},rotateX:function(){return wn},rotateY:function(){return Mn},rotateZ:function(){return _n},round:function(){return nn},scale:function(){return rn},scaleAndAdd:function(){return on},set:function(){return qt},sqrDist:function(){return Dn},sqrLen:function(){return kn},squaredDistance:function(){return sn},squaredLength:function(){return cn},str:function(){return Tn},sub:function(){return Ln},subtract:function(){return Xt},transformMat3:function(){return xn},transformMat4:function(){return gn},transformQuat:function(){return bn},zero:function(){return Pn}});var u={};n.r(u),n.d(u,{add:function(){return Hn},ceil:function(){return qn},clone:function(){return Un},copy:function(){return Gn},create:function(){return jn},cross:function(){return cr},dist:function(){return br},distance:function(){return er},div:function(){return xr},divide:function(){return Zn},dot:function(){return sr},equals:function(){return mr},exactEquals:function(){return pr},floor:function(){return Yn},forEach:function(){return Sr},fromValues:function(){return Bn},inverse:function(){return or},len:function(){return Mr},length:function(){return nr},lerp:function(){return ur},max:function(){return Kn},min:function(){return Xn},mul:function(){return gr},multiply:function(){return Wn},negate:function(){return ir},normalize:function(){return ar},random:function(){return lr},round:function(){return Qn},scale:function(){return Jn},scaleAndAdd:function(){return $n},set:function(){return Nn},sqrDist:function(){return wr},sqrLen:function(){return _r},squaredDistance:function(){return tr},squaredLength:function(){return rr},str:function(){return dr},sub:function(){return yr},subtract:function(){return Vn},transformMat4:function(){return fr},transformQuat:function(){return hr},zero:function(){return vr}});var l={};n.r(l),n.d(l,{add:function(){return ti},calculateW:function(){return Dr},clone:function(){return Qr},conjugate:function(){return Gr},copy:function(){return $r},create:function(){return Pr},dot:function(){return ii},equals:function(){return hi},exactEquals:function(){return fi},exp:function(){return Ir},fromEuler:function(){return Hr},fromMat3:function(){return Nr},fromValues:function(){return Jr},getAngle:function(){return zr},getAxisAngle:function(){return Er},identity:function(){return Tr},invert:function(){return Br},len:function(){return si},length:function(){return ai},lerp:function(){return oi},ln:function(){return kr},mul:function(){return ni},multiply:function(){return Lr},normalize:function(){return li},pow:function(){return Fr},random:function(){return Ur},rotateX:function(){return Cr},rotateY:function(){return Ar},rotateZ:function(){return Or},rotationTo:function(){return vi},scale:function(){return ri},set:function(){return ei},setAxes:function(){return pi},setAxisAngle:function(){return Rr},slerp:function(){return jr},sqlerp:function(){return di},sqrLen:function(){return ui},squaredLength:function(){return ci},str:function(){return Vr}});var f={};n.r(f),n.d(f,{add:function(){return Ui},clone:function(){return yi},conjugate:function(){return Zi},copy:function(){return Si},create:function(){return mi},dot:function(){return Hi},equals:function(){return eo},exactEquals:function(){return $i},fromMat4:function(){return _i},fromRotation:function(){return Mi},fromRotationTranslation:function(){return bi},fromRotationTranslationValues:function(){return xi},fromTranslation:function(){return wi},fromValues:function(){return gi},getDual:function(){return Ei},getReal:function(){return Ri},getTranslation:function(){return Ci},identity:function(){return Pi},invert:function(){return Wi},len:function(){return Yi},length:function(){return qi},lerp:function(){return Vi},mul:function(){return Gi},multiply:function(){return Bi},normalize:function(){return Qi},rotateAroundAxis:function(){return ji},rotateByQuatAppend:function(){return ki},rotateByQuatPrepend:function(){return Fi},rotateX:function(){return Oi},rotateY:function(){return Di},rotateZ:function(){return Ii},scale:function(){return Ni},set:function(){return Ti},setDual:function(){return Li},setReal:function(){return zi},sqrLen:function(){return Ki},squaredLength:function(){return Xi},str:function(){return Ji},translate:function(){return Ai}});var h={};n.r(h),n.d(h,{add:function(){return ao},angle:function(){return Do},ceil:function(){return lo},clone:function(){return no},copy:function(){return io},create:function(){return to},cross:function(){return To},dist:function(){return Ho},distance:function(){return go},div:function(){return No},divide:function(){return uo},dot:function(){return Po},equals:function(){return jo},exactEquals:function(){return Fo},floor:function(){return fo},forEach:function(){return Zo},fromValues:function(){return ro},inverse:function(){return _o},len:function(){return Uo},length:function(){return bo},lerp:function(){return Ro},max:function(){return vo},min:function(){return ho},mul:function(){return Go},multiply:function(){return co},negate:function(){return Mo},normalize:function(){return So},random:function(){return Eo},rotate:function(){return Oo},round:function(){return po},scale:function(){return mo},scaleAndAdd:function(){return yo},set:function(){return oo},sqrDist:function(){return Vo},sqrLen:function(){return Wo},squaredDistance:function(){return xo},squaredLength:function(){return wo},str:function(){return ko},sub:function(){return Bo},subtract:function(){return so},transformMat2:function(){return zo},transformMat2d:function(){return Lo},transformMat3:function(){return Co},transformMat4:function(){return Ao},zero:function(){return Io}});var v=1e-6,d="undefined"!=typeof Float32Array?Float32Array:Array,p=Math.random;function m(e){d=e}var y=Math.PI/180;function g(e){return e*y}function x(e,t){return Math.abs(e-t)<=v*Math.max(1,Math.abs(e),Math.abs(t))}function b(){var e=new d(4);return d!=Float32Array&&(e[1]=0,e[2]=0),e[0]=1,e[3]=1,e}function w(e){var t=new d(4);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function M(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}function _(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e}function S(e,t,n,r){var i=new d(4);return i[0]=e,i[1]=t,i[2]=n,i[3]=r,i}function P(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e}function T(e,t){if(e===t){var n=t[1];e[1]=t[2],e[2]=n}else e[0]=t[0],e[1]=t[2],e[2]=t[1],e[3]=t[3];return e}function R(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=n*o-i*r;return a?(a=1/a,e[0]=o*a,e[1]=-r*a,e[2]=-i*a,e[3]=n*a,e):null}function E(e,t){var n=t[0];return e[0]=t[3],e[1]=-t[1],e[2]=-t[2],e[3]=n,e}function z(e){return e[0]*e[3]-e[2]*e[1]}function L(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],s=n[0],c=n[1],u=n[2],l=n[3];return e[0]=r*s+o*c,e[1]=i*s+a*c,e[2]=r*u+o*l,e[3]=i*u+a*l,e}function C(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],s=Math.sin(n),c=Math.cos(n);return e[0]=r*c+o*s,e[1]=i*c+a*s,e[2]=r*-s+o*c,e[3]=i*-s+a*c,e}function A(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],s=n[0],c=n[1];return e[0]=r*s,e[1]=i*s,e[2]=o*c,e[3]=a*c,e}function O(e,t){var n=Math.sin(t),r=Math.cos(t);return e[0]=r,e[1]=n,e[2]=-n,e[3]=r,e}function D(e,t){return e[0]=t[0],e[1]=0,e[2]=0,e[3]=t[1],e}function I(e){return"mat2("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+")"}function k(e){return Math.hypot(e[0],e[1],e[2],e[3])}function F(e,t,n,r){return e[2]=r[2]/r[0],n[0]=r[0],n[1]=r[1],n[3]=r[3]-e[2]*n[1],[e,t,n]}function j(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e}function U(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e[3]=t[3]-n[3],e}function B(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]}function G(e,t){var n=e[0],r=e[1],i=e[2],o=e[3],a=t[0],s=t[1],c=t[2],u=t[3];return Math.abs(n-a)<=v*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(r-s)<=v*Math.max(1,Math.abs(r),Math.abs(s))&&Math.abs(i-c)<=v*Math.max(1,Math.abs(i),Math.abs(c))&&Math.abs(o-u)<=v*Math.max(1,Math.abs(o),Math.abs(u))}function N(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e}function H(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e[3]=t[3]+n[3]*r,e}Math.hypot||(Math.hypot=function(){for(var e=0,t=arguments.length;t--;)e+=arguments[t]*arguments[t];return Math.sqrt(e)});var V=L,W=U;function Z(){var e=new d(6);return d!=Float32Array&&(e[1]=0,e[2]=0,e[4]=0,e[5]=0),e[0]=1,e[3]=1,e}function q(e){var t=new d(6);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function Y(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function X(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function K(e,t,n,r,i,o){var a=new d(6);return a[0]=e,a[1]=t,a[2]=n,a[3]=r,a[4]=i,a[5]=o,a}function Q(e,t,n,r,i,o,a){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e[4]=o,e[5]=a,e}function J(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],s=t[5],c=n*o-r*i;return c?(c=1/c,e[0]=o*c,e[1]=-r*c,e[2]=-i*c,e[3]=n*c,e[4]=(i*s-o*a)*c,e[5]=(r*a-n*s)*c,e):null}function $(e){return e[0]*e[3]-e[1]*e[2]}function ee(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],s=t[4],c=t[5],u=n[0],l=n[1],f=n[2],h=n[3],v=n[4],d=n[5];return e[0]=r*u+o*l,e[1]=i*u+a*l,e[2]=r*f+o*h,e[3]=i*f+a*h,e[4]=r*v+o*d+s,e[5]=i*v+a*d+c,e}function te(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],s=t[4],c=t[5],u=Math.sin(n),l=Math.cos(n);return e[0]=r*l+o*u,e[1]=i*l+a*u,e[2]=r*-u+o*l,e[3]=i*-u+a*l,e[4]=s,e[5]=c,e}function ne(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],s=t[4],c=t[5],u=n[0],l=n[1];return e[0]=r*u,e[1]=i*u,e[2]=o*l,e[3]=a*l,e[4]=s,e[5]=c,e}function re(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],s=t[4],c=t[5],u=n[0],l=n[1];return e[0]=r,e[1]=i,e[2]=o,e[3]=a,e[4]=r*u+o*l+s,e[5]=i*u+a*l+c,e}function ie(e,t){var n=Math.sin(t),r=Math.cos(t);return e[0]=r,e[1]=n,e[2]=-n,e[3]=r,e[4]=0,e[5]=0,e}function oe(e,t){return e[0]=t[0],e[1]=0,e[2]=0,e[3]=t[1],e[4]=0,e[5]=0,e}function ae(e,t){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=t[0],e[5]=t[1],e}function se(e){return"mat2d("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+", "+e[4]+", "+e[5]+")"}function ce(e){return Math.hypot(e[0],e[1],e[2],e[3],e[4],e[5],1)}function ue(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e[4]=t[4]+n[4],e[5]=t[5]+n[5],e}function le(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e[3]=t[3]-n[3],e[4]=t[4]-n[4],e[5]=t[5]-n[5],e}function fe(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e[4]=t[4]*n,e[5]=t[5]*n,e}function he(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e[3]=t[3]+n[3]*r,e[4]=t[4]+n[4]*r,e[5]=t[5]+n[5]*r,e}function ve(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]&&e[4]===t[4]&&e[5]===t[5]}function de(e,t){var n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],c=t[0],u=t[1],l=t[2],f=t[3],h=t[4],d=t[5];return Math.abs(n-c)<=v*Math.max(1,Math.abs(n),Math.abs(c))&&Math.abs(r-u)<=v*Math.max(1,Math.abs(r),Math.abs(u))&&Math.abs(i-l)<=v*Math.max(1,Math.abs(i),Math.abs(l))&&Math.abs(o-f)<=v*Math.max(1,Math.abs(o),Math.abs(f))&&Math.abs(a-h)<=v*Math.max(1,Math.abs(a),Math.abs(h))&&Math.abs(s-d)<=v*Math.max(1,Math.abs(s),Math.abs(d))}var pe=ee,me=le;function ye(){var e=new d(9);return d!=Float32Array&&(e[1]=0,e[2]=0,e[3]=0,e[5]=0,e[6]=0,e[7]=0),e[0]=1,e[4]=1,e[8]=1,e}function ge(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[4],e[4]=t[5],e[5]=t[6],e[6]=t[8],e[7]=t[9],e[8]=t[10],e}function xe(e){var t=new d(9);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t}function be(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e}function we(e,t,n,r,i,o,a,s,c){var u=new d(9);return u[0]=e,u[1]=t,u[2]=n,u[3]=r,u[4]=i,u[5]=o,u[6]=a,u[7]=s,u[8]=c,u}function Me(e,t,n,r,i,o,a,s,c,u){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e[4]=o,e[5]=a,e[6]=s,e[7]=c,e[8]=u,e}function _e(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=1,e[5]=0,e[6]=0,e[7]=0,e[8]=1,e}function Se(e,t){if(e===t){var n=t[1],r=t[2],i=t[5];e[1]=t[3],e[2]=t[6],e[3]=n,e[5]=t[7],e[6]=r,e[7]=i}else e[0]=t[0],e[1]=t[3],e[2]=t[6],e[3]=t[1],e[4]=t[4],e[5]=t[7],e[6]=t[2],e[7]=t[5],e[8]=t[8];return e}function Pe(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],s=t[5],c=t[6],u=t[7],l=t[8],f=l*a-s*u,h=-l*o+s*c,v=u*o-a*c,d=n*f+r*h+i*v;return d?(d=1/d,e[0]=f*d,e[1]=(-l*r+i*u)*d,e[2]=(s*r-i*a)*d,e[3]=h*d,e[4]=(l*n-i*c)*d,e[5]=(-s*n+i*o)*d,e[6]=v*d,e[7]=(-u*n+r*c)*d,e[8]=(a*n-r*o)*d,e):null}function Te(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],s=t[5],c=t[6],u=t[7],l=t[8];return e[0]=a*l-s*u,e[1]=i*u-r*l,e[2]=r*s-i*a,e[3]=s*c-o*l,e[4]=n*l-i*c,e[5]=i*o-n*s,e[6]=o*u-a*c,e[7]=r*c-n*u,e[8]=n*a-r*o,e}function Re(e){var t=e[0],n=e[1],r=e[2],i=e[3],o=e[4],a=e[5],s=e[6],c=e[7],u=e[8];return t*(u*o-a*c)+n*(-u*i+a*s)+r*(c*i-o*s)}function Ee(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],s=t[4],c=t[5],u=t[6],l=t[7],f=t[8],h=n[0],v=n[1],d=n[2],p=n[3],m=n[4],y=n[5],g=n[6],x=n[7],b=n[8];return e[0]=h*r+v*a+d*u,e[1]=h*i+v*s+d*l,e[2]=h*o+v*c+d*f,e[3]=p*r+m*a+y*u,e[4]=p*i+m*s+y*l,e[5]=p*o+m*c+y*f,e[6]=g*r+x*a+b*u,e[7]=g*i+x*s+b*l,e[8]=g*o+x*c+b*f,e}function ze(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],s=t[4],c=t[5],u=t[6],l=t[7],f=t[8],h=n[0],v=n[1];return e[0]=r,e[1]=i,e[2]=o,e[3]=a,e[4]=s,e[5]=c,e[6]=h*r+v*a+u,e[7]=h*i+v*s+l,e[8]=h*o+v*c+f,e}function Le(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],s=t[4],c=t[5],u=t[6],l=t[7],f=t[8],h=Math.sin(n),v=Math.cos(n);return e[0]=v*r+h*a,e[1]=v*i+h*s,e[2]=v*o+h*c,e[3]=v*a-h*r,e[4]=v*s-h*i,e[5]=v*c-h*o,e[6]=u,e[7]=l,e[8]=f,e}function Ce(e,t,n){var r=n[0],i=n[1];return e[0]=r*t[0],e[1]=r*t[1],e[2]=r*t[2],e[3]=i*t[3],e[4]=i*t[4],e[5]=i*t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e}function Ae(e,t){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=1,e[5]=0,e[6]=t[0],e[7]=t[1],e[8]=1,e}function Oe(e,t){var n=Math.sin(t),r=Math.cos(t);return e[0]=r,e[1]=n,e[2]=0,e[3]=-n,e[4]=r,e[5]=0,e[6]=0,e[7]=0,e[8]=1,e}function De(e,t){return e[0]=t[0],e[1]=0,e[2]=0,e[3]=0,e[4]=t[1],e[5]=0,e[6]=0,e[7]=0,e[8]=1,e}function Ie(e,t){return e[0]=t[0],e[1]=t[1],e[2]=0,e[3]=t[2],e[4]=t[3],e[5]=0,e[6]=t[4],e[7]=t[5],e[8]=1,e}function ke(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=n+n,s=r+r,c=i+i,u=n*a,l=r*a,f=r*s,h=i*a,v=i*s,d=i*c,p=o*a,m=o*s,y=o*c;return e[0]=1-f-d,e[3]=l-y,e[6]=h+m,e[1]=l+y,e[4]=1-u-d,e[7]=v-p,e[2]=h-m,e[5]=v+p,e[8]=1-u-f,e}function Fe(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],s=t[5],c=t[6],u=t[7],l=t[8],f=t[9],h=t[10],v=t[11],d=t[12],p=t[13],m=t[14],y=t[15],g=n*s-r*a,x=n*c-i*a,b=n*u-o*a,w=r*c-i*s,M=r*u-o*s,_=i*u-o*c,S=l*p-f*d,P=l*m-h*d,T=l*y-v*d,R=f*m-h*p,E=f*y-v*p,z=h*y-v*m,L=g*z-x*E+b*R+w*T-M*P+_*S;return L?(L=1/L,e[0]=(s*z-c*E+u*R)*L,e[1]=(c*T-a*z-u*P)*L,e[2]=(a*E-s*T+u*S)*L,e[3]=(i*E-r*z-o*R)*L,e[4]=(n*z-i*T+o*P)*L,e[5]=(r*T-n*E-o*S)*L,e[6]=(p*_-m*M+y*w)*L,e[7]=(m*b-d*_-y*x)*L,e[8]=(d*M-p*b+y*g)*L,e):null}function je(e,t,n){return e[0]=2/t,e[1]=0,e[2]=0,e[3]=0,e[4]=-2/n,e[5]=0,e[6]=-1,e[7]=1,e[8]=1,e}function Ue(e){return"mat3("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+", "+e[4]+", "+e[5]+", "+e[6]+", "+e[7]+", "+e[8]+")"}function Be(e){return Math.hypot(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8])}function Ge(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e[4]=t[4]+n[4],e[5]=t[5]+n[5],e[6]=t[6]+n[6],e[7]=t[7]+n[7],e[8]=t[8]+n[8],e}function Ne(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e[3]=t[3]-n[3],e[4]=t[4]-n[4],e[5]=t[5]-n[5],e[6]=t[6]-n[6],e[7]=t[7]-n[7],e[8]=t[8]-n[8],e}function He(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e[4]=t[4]*n,e[5]=t[5]*n,e[6]=t[6]*n,e[7]=t[7]*n,e[8]=t[8]*n,e}function Ve(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e[3]=t[3]+n[3]*r,e[4]=t[4]+n[4]*r,e[5]=t[5]+n[5]*r,e[6]=t[6]+n[6]*r,e[7]=t[7]+n[7]*r,e[8]=t[8]+n[8]*r,e}function We(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]&&e[4]===t[4]&&e[5]===t[5]&&e[6]===t[6]&&e[7]===t[7]&&e[8]===t[8]}function Ze(e,t){var n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],c=e[6],u=e[7],l=e[8],f=t[0],h=t[1],d=t[2],p=t[3],m=t[4],y=t[5],g=t[6],x=t[7],b=t[8];return Math.abs(n-f)<=v*Math.max(1,Math.abs(n),Math.abs(f))&&Math.abs(r-h)<=v*Math.max(1,Math.abs(r),Math.abs(h))&&Math.abs(i-d)<=v*Math.max(1,Math.abs(i),Math.abs(d))&&Math.abs(o-p)<=v*Math.max(1,Math.abs(o),Math.abs(p))&&Math.abs(a-m)<=v*Math.max(1,Math.abs(a),Math.abs(m))&&Math.abs(s-y)<=v*Math.max(1,Math.abs(s),Math.abs(y))&&Math.abs(c-g)<=v*Math.max(1,Math.abs(c),Math.abs(g))&&Math.abs(u-x)<=v*Math.max(1,Math.abs(u),Math.abs(x))&&Math.abs(l-b)<=v*Math.max(1,Math.abs(l),Math.abs(b))}var qe=Ee,Ye=Ne;function Xe(){var e=new d(16);return d!=Float32Array&&(e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=0,e[12]=0,e[13]=0,e[14]=0),e[0]=1,e[5]=1,e[10]=1,e[15]=1,e}function Ke(e){var t=new d(16);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function Qe(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}function Je(e,t,n,r,i,o,a,s,c,u,l,f,h,v,p,m){var y=new d(16);return y[0]=e,y[1]=t,y[2]=n,y[3]=r,y[4]=i,y[5]=o,y[6]=a,y[7]=s,y[8]=c,y[9]=u,y[10]=l,y[11]=f,y[12]=h,y[13]=v,y[14]=p,y[15]=m,y}function $e(e,t,n,r,i,o,a,s,c,u,l,f,h,v,d,p,m){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e[4]=o,e[5]=a,e[6]=s,e[7]=c,e[8]=u,e[9]=l,e[10]=f,e[11]=h,e[12]=v,e[13]=d,e[14]=p,e[15]=m,e}function et(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function tt(e,t){if(e===t){var n=t[1],r=t[2],i=t[3],o=t[6],a=t[7],s=t[11];e[1]=t[4],e[2]=t[8],e[3]=t[12],e[4]=n,e[6]=t[9],e[7]=t[13],e[8]=r,e[9]=o,e[11]=t[14],e[12]=i,e[13]=a,e[14]=s}else e[0]=t[0],e[1]=t[4],e[2]=t[8],e[3]=t[12],e[4]=t[1],e[5]=t[5],e[6]=t[9],e[7]=t[13],e[8]=t[2],e[9]=t[6],e[10]=t[10],e[11]=t[14],e[12]=t[3],e[13]=t[7],e[14]=t[11],e[15]=t[15];return e}function nt(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],s=t[5],c=t[6],u=t[7],l=t[8],f=t[9],h=t[10],v=t[11],d=t[12],p=t[13],m=t[14],y=t[15],g=n*s-r*a,x=n*c-i*a,b=n*u-o*a,w=r*c-i*s,M=r*u-o*s,_=i*u-o*c,S=l*p-f*d,P=l*m-h*d,T=l*y-v*d,R=f*m-h*p,E=f*y-v*p,z=h*y-v*m,L=g*z-x*E+b*R+w*T-M*P+_*S;return L?(L=1/L,e[0]=(s*z-c*E+u*R)*L,e[1]=(i*E-r*z-o*R)*L,e[2]=(p*_-m*M+y*w)*L,e[3]=(h*M-f*_-v*w)*L,e[4]=(c*T-a*z-u*P)*L,e[5]=(n*z-i*T+o*P)*L,e[6]=(m*b-d*_-y*x)*L,e[7]=(l*_-h*b+v*x)*L,e[8]=(a*E-s*T+u*S)*L,e[9]=(r*T-n*E-o*S)*L,e[10]=(d*M-p*b+y*g)*L,e[11]=(f*b-l*M-v*g)*L,e[12]=(s*P-a*R-c*S)*L,e[13]=(n*R-r*P+i*S)*L,e[14]=(p*x-d*w-m*g)*L,e[15]=(l*w-f*x+h*g)*L,e):null}function rt(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],s=t[5],c=t[6],u=t[7],l=t[8],f=t[9],h=t[10],v=t[11],d=t[12],p=t[13],m=t[14],y=t[15];return e[0]=s*(h*y-v*m)-f*(c*y-u*m)+p*(c*v-u*h),e[1]=-(r*(h*y-v*m)-f*(i*y-o*m)+p*(i*v-o*h)),e[2]=r*(c*y-u*m)-s*(i*y-o*m)+p*(i*u-o*c),e[3]=-(r*(c*v-u*h)-s*(i*v-o*h)+f*(i*u-o*c)),e[4]=-(a*(h*y-v*m)-l*(c*y-u*m)+d*(c*v-u*h)),e[5]=n*(h*y-v*m)-l*(i*y-o*m)+d*(i*v-o*h),e[6]=-(n*(c*y-u*m)-a*(i*y-o*m)+d*(i*u-o*c)),e[7]=n*(c*v-u*h)-a*(i*v-o*h)+l*(i*u-o*c),e[8]=a*(f*y-v*p)-l*(s*y-u*p)+d*(s*v-u*f),e[9]=-(n*(f*y-v*p)-l*(r*y-o*p)+d*(r*v-o*f)),e[10]=n*(s*y-u*p)-a*(r*y-o*p)+d*(r*u-o*s),e[11]=-(n*(s*v-u*f)-a*(r*v-o*f)+l*(r*u-o*s)),e[12]=-(a*(f*m-h*p)-l*(s*m-c*p)+d*(s*h-c*f)),e[13]=n*(f*m-h*p)-l*(r*m-i*p)+d*(r*h-i*f),e[14]=-(n*(s*m-c*p)-a*(r*m-i*p)+d*(r*c-i*s)),e[15]=n*(s*h-c*f)-a*(r*h-i*f)+l*(r*c-i*s),e}function it(e){var t=e[0],n=e[1],r=e[2],i=e[3],o=e[4],a=e[5],s=e[6],c=e[7],u=e[8],l=e[9],f=e[10],h=e[11],v=e[12],d=e[13],p=e[14],m=e[15];return(t*a-n*o)*(f*m-h*p)-(t*s-r*o)*(l*m-h*d)+(t*c-i*o)*(l*p-f*d)+(n*s-r*a)*(u*m-h*v)-(n*c-i*a)*(u*p-f*v)+(r*c-i*s)*(u*d-l*v)}function ot(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],s=t[4],c=t[5],u=t[6],l=t[7],f=t[8],h=t[9],v=t[10],d=t[11],p=t[12],m=t[13],y=t[14],g=t[15],x=n[0],b=n[1],w=n[2],M=n[3];return e[0]=x*r+b*s+w*f+M*p,e[1]=x*i+b*c+w*h+M*m,e[2]=x*o+b*u+w*v+M*y,e[3]=x*a+b*l+w*d+M*g,x=n[4],b=n[5],w=n[6],M=n[7],e[4]=x*r+b*s+w*f+M*p,e[5]=x*i+b*c+w*h+M*m,e[6]=x*o+b*u+w*v+M*y,e[7]=x*a+b*l+w*d+M*g,x=n[8],b=n[9],w=n[10],M=n[11],e[8]=x*r+b*s+w*f+M*p,e[9]=x*i+b*c+w*h+M*m,e[10]=x*o+b*u+w*v+M*y,e[11]=x*a+b*l+w*d+M*g,x=n[12],b=n[13],w=n[14],M=n[15],e[12]=x*r+b*s+w*f+M*p,e[13]=x*i+b*c+w*h+M*m,e[14]=x*o+b*u+w*v+M*y,e[15]=x*a+b*l+w*d+M*g,e}function at(e,t,n){var r,i,o,a,s,c,u,l,f,h,v,d,p=n[0],m=n[1],y=n[2];return t===e?(e[12]=t[0]*p+t[4]*m+t[8]*y+t[12],e[13]=t[1]*p+t[5]*m+t[9]*y+t[13],e[14]=t[2]*p+t[6]*m+t[10]*y+t[14],e[15]=t[3]*p+t[7]*m+t[11]*y+t[15]):(r=t[0],i=t[1],o=t[2],a=t[3],s=t[4],c=t[5],u=t[6],l=t[7],f=t[8],h=t[9],v=t[10],d=t[11],e[0]=r,e[1]=i,e[2]=o,e[3]=a,e[4]=s,e[5]=c,e[6]=u,e[7]=l,e[8]=f,e[9]=h,e[10]=v,e[11]=d,e[12]=r*p+s*m+f*y+t[12],e[13]=i*p+c*m+h*y+t[13],e[14]=o*p+u*m+v*y+t[14],e[15]=a*p+l*m+d*y+t[15]),e}function st(e,t,n){var r=n[0],i=n[1],o=n[2];return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e[3]=t[3]*r,e[4]=t[4]*i,e[5]=t[5]*i,e[6]=t[6]*i,e[7]=t[7]*i,e[8]=t[8]*o,e[9]=t[9]*o,e[10]=t[10]*o,e[11]=t[11]*o,e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}function ct(e,t,n,r){var i,o,a,s,c,u,l,f,h,d,p,m,y,g,x,b,w,M,_,S,P,T,R,E,z=r[0],L=r[1],C=r[2],A=Math.hypot(z,L,C);return A<v?null:(z*=A=1/A,L*=A,C*=A,i=Math.sin(n),a=1-(o=Math.cos(n)),s=t[0],c=t[1],u=t[2],l=t[3],f=t[4],h=t[5],d=t[6],p=t[7],m=t[8],y=t[9],g=t[10],x=t[11],b=z*z*a+o,w=L*z*a+C*i,M=C*z*a-L*i,_=z*L*a-C*i,S=L*L*a+o,P=C*L*a+z*i,T=z*C*a+L*i,R=L*C*a-z*i,E=C*C*a+o,e[0]=s*b+f*w+m*M,e[1]=c*b+h*w+y*M,e[2]=u*b+d*w+g*M,e[3]=l*b+p*w+x*M,e[4]=s*_+f*S+m*P,e[5]=c*_+h*S+y*P,e[6]=u*_+d*S+g*P,e[7]=l*_+p*S+x*P,e[8]=s*T+f*R+m*E,e[9]=c*T+h*R+y*E,e[10]=u*T+d*R+g*E,e[11]=l*T+p*R+x*E,t!==e&&(e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e)}function ut(e,t,n){var r=Math.sin(n),i=Math.cos(n),o=t[4],a=t[5],s=t[6],c=t[7],u=t[8],l=t[9],f=t[10],h=t[11];return t!==e&&(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[4]=o*i+u*r,e[5]=a*i+l*r,e[6]=s*i+f*r,e[7]=c*i+h*r,e[8]=u*i-o*r,e[9]=l*i-a*r,e[10]=f*i-s*r,e[11]=h*i-c*r,e}function lt(e,t,n){var r=Math.sin(n),i=Math.cos(n),o=t[0],a=t[1],s=t[2],c=t[3],u=t[8],l=t[9],f=t[10],h=t[11];return t!==e&&(e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[0]=o*i-u*r,e[1]=a*i-l*r,e[2]=s*i-f*r,e[3]=c*i-h*r,e[8]=o*r+u*i,e[9]=a*r+l*i,e[10]=s*r+f*i,e[11]=c*r+h*i,e}function ft(e,t,n){var r=Math.sin(n),i=Math.cos(n),o=t[0],a=t[1],s=t[2],c=t[3],u=t[4],l=t[5],f=t[6],h=t[7];return t!==e&&(e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[0]=o*i+u*r,e[1]=a*i+l*r,e[2]=s*i+f*r,e[3]=c*i+h*r,e[4]=u*i-o*r,e[5]=l*i-a*r,e[6]=f*i-s*r,e[7]=h*i-c*r,e}function ht(e,t){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=t[0],e[13]=t[1],e[14]=t[2],e[15]=1,e}function vt(e,t){return e[0]=t[0],e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=t[1],e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=t[2],e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function dt(e,t,n){var r,i,o,a=n[0],s=n[1],c=n[2],u=Math.hypot(a,s,c);return u<v?null:(a*=u=1/u,s*=u,c*=u,r=Math.sin(t),o=1-(i=Math.cos(t)),e[0]=a*a*o+i,e[1]=s*a*o+c*r,e[2]=c*a*o-s*r,e[3]=0,e[4]=a*s*o-c*r,e[5]=s*s*o+i,e[6]=c*s*o+a*r,e[7]=0,e[8]=a*c*o+s*r,e[9]=s*c*o-a*r,e[10]=c*c*o+i,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e)}function pt(e,t){var n=Math.sin(t),r=Math.cos(t);return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=r,e[6]=n,e[7]=0,e[8]=0,e[9]=-n,e[10]=r,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function mt(e,t){var n=Math.sin(t),r=Math.cos(t);return e[0]=r,e[1]=0,e[2]=-n,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=n,e[9]=0,e[10]=r,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function yt(e,t){var n=Math.sin(t),r=Math.cos(t);return e[0]=r,e[1]=n,e[2]=0,e[3]=0,e[4]=-n,e[5]=r,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function gt(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],s=r+r,c=i+i,u=o+o,l=r*s,f=r*c,h=r*u,v=i*c,d=i*u,p=o*u,m=a*s,y=a*c,g=a*u;return e[0]=1-(v+p),e[1]=f+g,e[2]=h-y,e[3]=0,e[4]=f-g,e[5]=1-(l+p),e[6]=d+m,e[7]=0,e[8]=h+y,e[9]=d-m,e[10]=1-(l+v),e[11]=0,e[12]=n[0],e[13]=n[1],e[14]=n[2],e[15]=1,e}function xt(e,t){var n=new d(3),r=-t[0],i=-t[1],o=-t[2],a=t[3],s=t[4],c=t[5],u=t[6],l=t[7],f=r*r+i*i+o*o+a*a;return f>0?(n[0]=2*(s*a+l*r+c*o-u*i)/f,n[1]=2*(c*a+l*i+u*r-s*o)/f,n[2]=2*(u*a+l*o+s*i-c*r)/f):(n[0]=2*(s*a+l*r+c*o-u*i),n[1]=2*(c*a+l*i+u*r-s*o),n[2]=2*(u*a+l*o+s*i-c*r)),gt(e,t,n),e}function bt(e,t){return e[0]=t[12],e[1]=t[13],e[2]=t[14],e}function wt(e,t){var n=t[0],r=t[1],i=t[2],o=t[4],a=t[5],s=t[6],c=t[8],u=t[9],l=t[10];return e[0]=Math.hypot(n,r,i),e[1]=Math.hypot(o,a,s),e[2]=Math.hypot(c,u,l),e}function Mt(e,t){var n=new d(3);wt(n,t);var r=1/n[0],i=1/n[1],o=1/n[2],a=t[0]*r,s=t[1]*i,c=t[2]*o,u=t[4]*r,l=t[5]*i,f=t[6]*o,h=t[8]*r,v=t[9]*i,p=t[10]*o,m=a+l+p,y=0;return m>0?(y=2*Math.sqrt(m+1),e[3]=.25*y,e[0]=(f-v)/y,e[1]=(h-c)/y,e[2]=(s-u)/y):a>l&&a>p?(y=2*Math.sqrt(1+a-l-p),e[3]=(f-v)/y,e[0]=.25*y,e[1]=(s+u)/y,e[2]=(h+c)/y):l>p?(y=2*Math.sqrt(1+l-a-p),e[3]=(h-c)/y,e[0]=(s+u)/y,e[1]=.25*y,e[2]=(f+v)/y):(y=2*Math.sqrt(1+p-a-l),e[3]=(s-u)/y,e[0]=(h+c)/y,e[1]=(f+v)/y,e[2]=.25*y),e}function _t(e,t,n,r){var i=t[0],o=t[1],a=t[2],s=t[3],c=i+i,u=o+o,l=a+a,f=i*c,h=i*u,v=i*l,d=o*u,p=o*l,m=a*l,y=s*c,g=s*u,x=s*l,b=r[0],w=r[1],M=r[2];return e[0]=(1-(d+m))*b,e[1]=(h+x)*b,e[2]=(v-g)*b,e[3]=0,e[4]=(h-x)*w,e[5]=(1-(f+m))*w,e[6]=(p+y)*w,e[7]=0,e[8]=(v+g)*M,e[9]=(p-y)*M,e[10]=(1-(f+d))*M,e[11]=0,e[12]=n[0],e[13]=n[1],e[14]=n[2],e[15]=1,e}function St(e,t,n,r,i){var o=t[0],a=t[1],s=t[2],c=t[3],u=o+o,l=a+a,f=s+s,h=o*u,v=o*l,d=o*f,p=a*l,m=a*f,y=s*f,g=c*u,x=c*l,b=c*f,w=r[0],M=r[1],_=r[2],S=i[0],P=i[1],T=i[2],R=(1-(p+y))*w,E=(v+b)*w,z=(d-x)*w,L=(v-b)*M,C=(1-(h+y))*M,A=(m+g)*M,O=(d+x)*_,D=(m-g)*_,I=(1-(h+p))*_;return e[0]=R,e[1]=E,e[2]=z,e[3]=0,e[4]=L,e[5]=C,e[6]=A,e[7]=0,e[8]=O,e[9]=D,e[10]=I,e[11]=0,e[12]=n[0]+S-(R*S+L*P+O*T),e[13]=n[1]+P-(E*S+C*P+D*T),e[14]=n[2]+T-(z*S+A*P+I*T),e[15]=1,e}function Pt(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=n+n,s=r+r,c=i+i,u=n*a,l=r*a,f=r*s,h=i*a,v=i*s,d=i*c,p=o*a,m=o*s,y=o*c;return e[0]=1-f-d,e[1]=l+y,e[2]=h-m,e[3]=0,e[4]=l-y,e[5]=1-u-d,e[6]=v+p,e[7]=0,e[8]=h+m,e[9]=v-p,e[10]=1-u-f,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function Tt(e,t,n,r,i,o,a){var s=1/(n-t),c=1/(i-r),u=1/(o-a);return e[0]=2*o*s,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=2*o*c,e[6]=0,e[7]=0,e[8]=(n+t)*s,e[9]=(i+r)*c,e[10]=(a+o)*u,e[11]=-1,e[12]=0,e[13]=0,e[14]=a*o*2*u,e[15]=0,e}function Rt(e,t,n,r,i){var o,a=1/Math.tan(t/2);return e[0]=a/n,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=a,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=-1,e[12]=0,e[13]=0,e[15]=0,null!=i&&i!==1/0?(o=1/(r-i),e[10]=(i+r)*o,e[14]=2*i*r*o):(e[10]=-1,e[14]=-2*r),e}function Et(e,t,n,r){var i=Math.tan(t.upDegrees*Math.PI/180),o=Math.tan(t.downDegrees*Math.PI/180),a=Math.tan(t.leftDegrees*Math.PI/180),s=Math.tan(t.rightDegrees*Math.PI/180),c=2/(a+s),u=2/(i+o);return e[0]=c,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=u,e[6]=0,e[7]=0,e[8]=-(a-s)*c*.5,e[9]=(i-o)*u*.5,e[10]=r/(n-r),e[11]=-1,e[12]=0,e[13]=0,e[14]=r*n/(n-r),e[15]=0,e}function zt(e,t,n,r,i,o,a){var s=1/(t-n),c=1/(r-i),u=1/(o-a);return e[0]=-2*s,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=-2*c,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=2*u,e[11]=0,e[12]=(t+n)*s,e[13]=(i+r)*c,e[14]=(a+o)*u,e[15]=1,e}function Lt(e,t,n,r){var i,o,a,s,c,u,l,f,h,d,p=t[0],m=t[1],y=t[2],g=r[0],x=r[1],b=r[2],w=n[0],M=n[1],_=n[2];return Math.abs(p-w)<v&&Math.abs(m-M)<v&&Math.abs(y-_)<v?et(e):(l=p-w,f=m-M,h=y-_,i=x*(h*=d=1/Math.hypot(l,f,h))-b*(f*=d),o=b*(l*=d)-g*h,a=g*f-x*l,(d=Math.hypot(i,o,a))?(i*=d=1/d,o*=d,a*=d):(i=0,o=0,a=0),s=f*a-h*o,c=h*i-l*a,u=l*o-f*i,(d=Math.hypot(s,c,u))?(s*=d=1/d,c*=d,u*=d):(s=0,c=0,u=0),e[0]=i,e[1]=s,e[2]=l,e[3]=0,e[4]=o,e[5]=c,e[6]=f,e[7]=0,e[8]=a,e[9]=u,e[10]=h,e[11]=0,e[12]=-(i*p+o*m+a*y),e[13]=-(s*p+c*m+u*y),e[14]=-(l*p+f*m+h*y),e[15]=1,e)}function Ct(e,t,n,r){var i=t[0],o=t[1],a=t[2],s=r[0],c=r[1],u=r[2],l=i-n[0],f=o-n[1],h=a-n[2],v=l*l+f*f+h*h;v>0&&(l*=v=1/Math.sqrt(v),f*=v,h*=v);var d=c*h-u*f,p=u*l-s*h,m=s*f-c*l;return(v=d*d+p*p+m*m)>0&&(d*=v=1/Math.sqrt(v),p*=v,m*=v),e[0]=d,e[1]=p,e[2]=m,e[3]=0,e[4]=f*m-h*p,e[5]=h*d-l*m,e[6]=l*p-f*d,e[7]=0,e[8]=l,e[9]=f,e[10]=h,e[11]=0,e[12]=i,e[13]=o,e[14]=a,e[15]=1,e}function At(e){return"mat4("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+", "+e[4]+", "+e[5]+", "+e[6]+", "+e[7]+", "+e[8]+", "+e[9]+", "+e[10]+", "+e[11]+", "+e[12]+", "+e[13]+", "+e[14]+", "+e[15]+")"}function Ot(e){return Math.hypot(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}function Dt(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e[4]=t[4]+n[4],e[5]=t[5]+n[5],e[6]=t[6]+n[6],e[7]=t[7]+n[7],e[8]=t[8]+n[8],e[9]=t[9]+n[9],e[10]=t[10]+n[10],e[11]=t[11]+n[11],e[12]=t[12]+n[12],e[13]=t[13]+n[13],e[14]=t[14]+n[14],e[15]=t[15]+n[15],e}function It(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e[3]=t[3]-n[3],e[4]=t[4]-n[4],e[5]=t[5]-n[5],e[6]=t[6]-n[6],e[7]=t[7]-n[7],e[8]=t[8]-n[8],e[9]=t[9]-n[9],e[10]=t[10]-n[10],e[11]=t[11]-n[11],e[12]=t[12]-n[12],e[13]=t[13]-n[13],e[14]=t[14]-n[14],e[15]=t[15]-n[15],e}function kt(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e[4]=t[4]*n,e[5]=t[5]*n,e[6]=t[6]*n,e[7]=t[7]*n,e[8]=t[8]*n,e[9]=t[9]*n,e[10]=t[10]*n,e[11]=t[11]*n,e[12]=t[12]*n,e[13]=t[13]*n,e[14]=t[14]*n,e[15]=t[15]*n,e}function Ft(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e[3]=t[3]+n[3]*r,e[4]=t[4]+n[4]*r,e[5]=t[5]+n[5]*r,e[6]=t[6]+n[6]*r,e[7]=t[7]+n[7]*r,e[8]=t[8]+n[8]*r,e[9]=t[9]+n[9]*r,e[10]=t[10]+n[10]*r,e[11]=t[11]+n[11]*r,e[12]=t[12]+n[12]*r,e[13]=t[13]+n[13]*r,e[14]=t[14]+n[14]*r,e[15]=t[15]+n[15]*r,e}function jt(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]&&e[4]===t[4]&&e[5]===t[5]&&e[6]===t[6]&&e[7]===t[7]&&e[8]===t[8]&&e[9]===t[9]&&e[10]===t[10]&&e[11]===t[11]&&e[12]===t[12]&&e[13]===t[13]&&e[14]===t[14]&&e[15]===t[15]}function Ut(e,t){var n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],c=e[6],u=e[7],l=e[8],f=e[9],h=e[10],d=e[11],p=e[12],m=e[13],y=e[14],g=e[15],x=t[0],b=t[1],w=t[2],M=t[3],_=t[4],S=t[5],P=t[6],T=t[7],R=t[8],E=t[9],z=t[10],L=t[11],C=t[12],A=t[13],O=t[14],D=t[15];return Math.abs(n-x)<=v*Math.max(1,Math.abs(n),Math.abs(x))&&Math.abs(r-b)<=v*Math.max(1,Math.abs(r),Math.abs(b))&&Math.abs(i-w)<=v*Math.max(1,Math.abs(i),Math.abs(w))&&Math.abs(o-M)<=v*Math.max(1,Math.abs(o),Math.abs(M))&&Math.abs(a-_)<=v*Math.max(1,Math.abs(a),Math.abs(_))&&Math.abs(s-S)<=v*Math.max(1,Math.abs(s),Math.abs(S))&&Math.abs(c-P)<=v*Math.max(1,Math.abs(c),Math.abs(P))&&Math.abs(u-T)<=v*Math.max(1,Math.abs(u),Math.abs(T))&&Math.abs(l-R)<=v*Math.max(1,Math.abs(l),Math.abs(R))&&Math.abs(f-E)<=v*Math.max(1,Math.abs(f),Math.abs(E))&&Math.abs(h-z)<=v*Math.max(1,Math.abs(h),Math.abs(z))&&Math.abs(d-L)<=v*Math.max(1,Math.abs(d),Math.abs(L))&&Math.abs(p-C)<=v*Math.max(1,Math.abs(p),Math.abs(C))&&Math.abs(m-A)<=v*Math.max(1,Math.abs(m),Math.abs(A))&&Math.abs(y-O)<=v*Math.max(1,Math.abs(y),Math.abs(O))&&Math.abs(g-D)<=v*Math.max(1,Math.abs(g),Math.abs(D))}var Bt=ot,Gt=It;function Nt(){var e=new d(3);return d!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0),e}function Ht(e){var t=new d(3);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function Vt(e){var t=e[0],n=e[1],r=e[2];return Math.hypot(t,n,r)}function Wt(e,t,n){var r=new d(3);return r[0]=e,r[1]=t,r[2]=n,r}function Zt(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function qt(e,t,n,r){return e[0]=t,e[1]=n,e[2]=r,e}function Yt(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e}function Xt(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e}function Kt(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e}function Qt(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e}function Jt(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e}function $t(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e}function en(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e}function tn(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e}function nn(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e}function rn(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e}function on(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e}function an(e,t){var n=t[0]-e[0],r=t[1]-e[1],i=t[2]-e[2];return Math.hypot(n,r,i)}function sn(e,t){var n=t[0]-e[0],r=t[1]-e[1],i=t[2]-e[2];return n*n+r*r+i*i}function cn(e){var t=e[0],n=e[1],r=e[2];return t*t+n*n+r*r}function un(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function ln(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}function fn(e,t){var n=t[0],r=t[1],i=t[2],o=n*n+r*r+i*i;return o>0&&(o=1/Math.sqrt(o)),e[0]=t[0]*o,e[1]=t[1]*o,e[2]=t[2]*o,e}function hn(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function vn(e,t,n){var r=t[0],i=t[1],o=t[2],a=n[0],s=n[1],c=n[2];return e[0]=i*c-o*s,e[1]=o*a-r*c,e[2]=r*s-i*a,e}function dn(e,t,n,r){var i=t[0],o=t[1],a=t[2];return e[0]=i+r*(n[0]-i),e[1]=o+r*(n[1]-o),e[2]=a+r*(n[2]-a),e}function pn(e,t,n,r,i,o){var a=o*o,s=a*(2*o-3)+1,c=a*(o-2)+o,u=a*(o-1),l=a*(3-2*o);return e[0]=t[0]*s+n[0]*c+r[0]*u+i[0]*l,e[1]=t[1]*s+n[1]*c+r[1]*u+i[1]*l,e[2]=t[2]*s+n[2]*c+r[2]*u+i[2]*l,e}function mn(e,t,n,r,i,o){var a=1-o,s=a*a,c=o*o,u=s*a,l=3*o*s,f=3*c*a,h=c*o;return e[0]=t[0]*u+n[0]*l+r[0]*f+i[0]*h,e[1]=t[1]*u+n[1]*l+r[1]*f+i[1]*h,e[2]=t[2]*u+n[2]*l+r[2]*f+i[2]*h,e}function yn(e,t){t=t||1;var n=2*p()*Math.PI,r=2*p()-1,i=Math.sqrt(1-r*r)*t;return e[0]=Math.cos(n)*i,e[1]=Math.sin(n)*i,e[2]=r*t,e}function gn(e,t,n){var r=t[0],i=t[1],o=t[2],a=n[3]*r+n[7]*i+n[11]*o+n[15];return a=a||1,e[0]=(n[0]*r+n[4]*i+n[8]*o+n[12])/a,e[1]=(n[1]*r+n[5]*i+n[9]*o+n[13])/a,e[2]=(n[2]*r+n[6]*i+n[10]*o+n[14])/a,e}function xn(e,t,n){var r=t[0],i=t[1],o=t[2];return e[0]=r*n[0]+i*n[3]+o*n[6],e[1]=r*n[1]+i*n[4]+o*n[7],e[2]=r*n[2]+i*n[5]+o*n[8],e}function bn(e,t,n){var r=n[0],i=n[1],o=n[2],a=n[3],s=t[0],c=t[1],u=t[2],l=i*u-o*c,f=o*s-r*u,h=r*c-i*s,v=i*h-o*f,d=o*l-r*h,p=r*f-i*l,m=2*a;return l*=m,f*=m,h*=m,v*=2,d*=2,p*=2,e[0]=s+l+v,e[1]=c+f+d,e[2]=u+h+p,e}function wn(e,t,n,r){var i=[],o=[];return i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2],o[0]=i[0],o[1]=i[1]*Math.cos(r)-i[2]*Math.sin(r),o[2]=i[1]*Math.sin(r)+i[2]*Math.cos(r),e[0]=o[0]+n[0],e[1]=o[1]+n[1],e[2]=o[2]+n[2],e}function Mn(e,t,n,r){var i=[],o=[];return i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2],o[0]=i[2]*Math.sin(r)+i[0]*Math.cos(r),o[1]=i[1],o[2]=i[2]*Math.cos(r)-i[0]*Math.sin(r),e[0]=o[0]+n[0],e[1]=o[1]+n[1],e[2]=o[2]+n[2],e}function _n(e,t,n,r){var i=[],o=[];return i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2],o[0]=i[0]*Math.cos(r)-i[1]*Math.sin(r),o[1]=i[0]*Math.sin(r)+i[1]*Math.cos(r),o[2]=i[2],e[0]=o[0]+n[0],e[1]=o[1]+n[1],e[2]=o[2]+n[2],e}function Sn(e,t){var n=e[0],r=e[1],i=e[2],o=t[0],a=t[1],s=t[2],c=Math.sqrt(n*n+r*r+i*i)*Math.sqrt(o*o+a*a+s*s),u=c&&hn(e,t)/c;return Math.acos(Math.min(Math.max(u,-1),1))}function Pn(e){return e[0]=0,e[1]=0,e[2]=0,e}function Tn(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"}function Rn(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function En(e,t){var n=e[0],r=e[1],i=e[2],o=t[0],a=t[1],s=t[2];return Math.abs(n-o)<=v*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(r-a)<=v*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(i-s)<=v*Math.max(1,Math.abs(i),Math.abs(s))}var zn,Ln=Xt,Cn=Kt,An=Qt,On=an,Dn=sn,In=Vt,kn=cn,Fn=(zn=Nt(),function(e,t,n,r,i,o){var a,s;for(t||(t=3),n||(n=0),s=r?Math.min(r*t+n,e.length):e.length,a=n;a<s;a+=t)zn[0]=e[a],zn[1]=e[a+1],zn[2]=e[a+2],i(zn,zn,o),e[a]=zn[0],e[a+1]=zn[1],e[a+2]=zn[2];return e});function jn(){var e=new d(4);return d!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0,e[3]=0),e}function Un(e){var t=new d(4);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function Bn(e,t,n,r){var i=new d(4);return i[0]=e,i[1]=t,i[2]=n,i[3]=r,i}function Gn(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}function Nn(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e}function Hn(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e}function Vn(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e[3]=t[3]-n[3],e}function Wn(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e[3]=t[3]*n[3],e}function Zn(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e[3]=t[3]/n[3],e}function qn(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e[3]=Math.ceil(t[3]),e}function Yn(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e[3]=Math.floor(t[3]),e}function Xn(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e[3]=Math.min(t[3],n[3]),e}function Kn(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e[3]=Math.max(t[3],n[3]),e}function Qn(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e[3]=Math.round(t[3]),e}function Jn(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e}function $n(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e[3]=t[3]+n[3]*r,e}function er(e,t){var n=t[0]-e[0],r=t[1]-e[1],i=t[2]-e[2],o=t[3]-e[3];return Math.hypot(n,r,i,o)}function tr(e,t){var n=t[0]-e[0],r=t[1]-e[1],i=t[2]-e[2],o=t[3]-e[3];return n*n+r*r+i*i+o*o}function nr(e){var t=e[0],n=e[1],r=e[2],i=e[3];return Math.hypot(t,n,r,i)}function rr(e){var t=e[0],n=e[1],r=e[2],i=e[3];return t*t+n*n+r*r+i*i}function ir(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=-t[3],e}function or(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e[3]=1/t[3],e}function ar(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=n*n+r*r+i*i+o*o;return a>0&&(a=1/Math.sqrt(a)),e[0]=n*a,e[1]=r*a,e[2]=i*a,e[3]=o*a,e}function sr(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]}function cr(e,t,n,r){var i=n[0]*r[1]-n[1]*r[0],o=n[0]*r[2]-n[2]*r[0],a=n[0]*r[3]-n[3]*r[0],s=n[1]*r[2]-n[2]*r[1],c=n[1]*r[3]-n[3]*r[1],u=n[2]*r[3]-n[3]*r[2],l=t[0],f=t[1],h=t[2],v=t[3];return e[0]=f*u-h*c+v*s,e[1]=-l*u+h*a-v*o,e[2]=l*c-f*a+v*i,e[3]=-l*s+f*o-h*i,e}function ur(e,t,n,r){var i=t[0],o=t[1],a=t[2],s=t[3];return e[0]=i+r*(n[0]-i),e[1]=o+r*(n[1]-o),e[2]=a+r*(n[2]-a),e[3]=s+r*(n[3]-s),e}function lr(e,t){var n,r,i,o,a,s;t=t||1;do{a=(n=2*p()-1)*n+(r=2*p()-1)*r}while(a>=1);do{s=(i=2*p()-1)*i+(o=2*p()-1)*o}while(s>=1);var c=Math.sqrt((1-a)/s);return e[0]=t*n,e[1]=t*r,e[2]=t*i*c,e[3]=t*o*c,e}function fr(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3];return e[0]=n[0]*r+n[4]*i+n[8]*o+n[12]*a,e[1]=n[1]*r+n[5]*i+n[9]*o+n[13]*a,e[2]=n[2]*r+n[6]*i+n[10]*o+n[14]*a,e[3]=n[3]*r+n[7]*i+n[11]*o+n[15]*a,e}function hr(e,t,n){var r=t[0],i=t[1],o=t[2],a=n[0],s=n[1],c=n[2],u=n[3],l=u*r+s*o-c*i,f=u*i+c*r-a*o,h=u*o+a*i-s*r,v=-a*r-s*i-c*o;return e[0]=l*u+v*-a+f*-c-h*-s,e[1]=f*u+v*-s+h*-a-l*-c,e[2]=h*u+v*-c+l*-s-f*-a,e[3]=t[3],e}function vr(e){return e[0]=0,e[1]=0,e[2]=0,e[3]=0,e}function dr(e){return"vec4("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+")"}function pr(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]}function mr(e,t){var n=e[0],r=e[1],i=e[2],o=e[3],a=t[0],s=t[1],c=t[2],u=t[3];return Math.abs(n-a)<=v*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(r-s)<=v*Math.max(1,Math.abs(r),Math.abs(s))&&Math.abs(i-c)<=v*Math.max(1,Math.abs(i),Math.abs(c))&&Math.abs(o-u)<=v*Math.max(1,Math.abs(o),Math.abs(u))}var yr=Vn,gr=Wn,xr=Zn,br=er,wr=tr,Mr=nr,_r=rr,Sr=function(){var e=jn();return function(t,n,r,i,o,a){var s,c;for(n||(n=4),r||(r=0),c=i?Math.min(i*n+r,t.length):t.length,s=r;s<c;s+=n)e[0]=t[s],e[1]=t[s+1],e[2]=t[s+2],e[3]=t[s+3],o(e,e,a),t[s]=e[0],t[s+1]=e[1],t[s+2]=e[2],t[s+3]=e[3];return t}}();function Pr(){var e=new d(4);return d!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0),e[3]=1,e}function Tr(e){return e[0]=0,e[1]=0,e[2]=0,e[3]=1,e}function Rr(e,t,n){n*=.5;var r=Math.sin(n);return e[0]=r*t[0],e[1]=r*t[1],e[2]=r*t[2],e[3]=Math.cos(n),e}function Er(e,t){var n=2*Math.acos(t[3]),r=Math.sin(n/2);return r>v?(e[0]=t[0]/r,e[1]=t[1]/r,e[2]=t[2]/r):(e[0]=1,e[1]=0,e[2]=0),n}function zr(e,t){var n=ii(e,t);return Math.acos(2*n*n-1)}function Lr(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],s=n[0],c=n[1],u=n[2],l=n[3];return e[0]=r*l+a*s+i*u-o*c,e[1]=i*l+a*c+o*s-r*u,e[2]=o*l+a*u+r*c-i*s,e[3]=a*l-r*s-i*c-o*u,e}function Cr(e,t,n){n*=.5;var r=t[0],i=t[1],o=t[2],a=t[3],s=Math.sin(n),c=Math.cos(n);return e[0]=r*c+a*s,e[1]=i*c+o*s,e[2]=o*c-i*s,e[3]=a*c-r*s,e}function Ar(e,t,n){n*=.5;var r=t[0],i=t[1],o=t[2],a=t[3],s=Math.sin(n),c=Math.cos(n);return e[0]=r*c-o*s,e[1]=i*c+a*s,e[2]=o*c+r*s,e[3]=a*c-i*s,e}function Or(e,t,n){n*=.5;var r=t[0],i=t[1],o=t[2],a=t[3],s=Math.sin(n),c=Math.cos(n);return e[0]=r*c+i*s,e[1]=i*c-r*s,e[2]=o*c+a*s,e[3]=a*c-o*s,e}function Dr(e,t){var n=t[0],r=t[1],i=t[2];return e[0]=n,e[1]=r,e[2]=i,e[3]=Math.sqrt(Math.abs(1-n*n-r*r-i*i)),e}function Ir(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=Math.sqrt(n*n+r*r+i*i),s=Math.exp(o),c=a>0?s*Math.sin(a)/a:0;return e[0]=n*c,e[1]=r*c,e[2]=i*c,e[3]=s*Math.cos(a),e}function kr(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=Math.sqrt(n*n+r*r+i*i),s=a>0?Math.atan2(a,o)/a:0;return e[0]=n*s,e[1]=r*s,e[2]=i*s,e[3]=.5*Math.log(n*n+r*r+i*i+o*o),e}function Fr(e,t,n){return kr(e,t),ri(e,e,n),Ir(e,e),e}function jr(e,t,n,r){var i,o,a,s,c,u=t[0],l=t[1],f=t[2],h=t[3],d=n[0],p=n[1],m=n[2],y=n[3];return(o=u*d+l*p+f*m+h*y)<0&&(o=-o,d=-d,p=-p,m=-m,y=-y),1-o>v?(i=Math.acos(o),a=Math.sin(i),s=Math.sin((1-r)*i)/a,c=Math.sin(r*i)/a):(s=1-r,c=r),e[0]=s*u+c*d,e[1]=s*l+c*p,e[2]=s*f+c*m,e[3]=s*h+c*y,e}function Ur(e){var t=p(),n=p(),r=p(),i=Math.sqrt(1-t),o=Math.sqrt(t);return e[0]=i*Math.sin(2*Math.PI*n),e[1]=i*Math.cos(2*Math.PI*n),e[2]=o*Math.sin(2*Math.PI*r),e[3]=o*Math.cos(2*Math.PI*r),e}function Br(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=n*n+r*r+i*i+o*o,s=a?1/a:0;return e[0]=-n*s,e[1]=-r*s,e[2]=-i*s,e[3]=o*s,e}function Gr(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=t[3],e}function Nr(e,t){var n,r=t[0]+t[4]+t[8];if(r>0)n=Math.sqrt(r+1),e[3]=.5*n,n=.5/n,e[0]=(t[5]-t[7])*n,e[1]=(t[6]-t[2])*n,e[2]=(t[1]-t[3])*n;else{var i=0;t[4]>t[0]&&(i=1),t[8]>t[3*i+i]&&(i=2);var o=(i+1)%3,a=(i+2)%3;n=Math.sqrt(t[3*i+i]-t[3*o+o]-t[3*a+a]+1),e[i]=.5*n,n=.5/n,e[3]=(t[3*o+a]-t[3*a+o])*n,e[o]=(t[3*o+i]+t[3*i+o])*n,e[a]=(t[3*a+i]+t[3*i+a])*n}return e}function Hr(e,t,n,r){var i=.5*Math.PI/180;t*=i,n*=i,r*=i;var o=Math.sin(t),a=Math.cos(t),s=Math.sin(n),c=Math.cos(n),u=Math.sin(r),l=Math.cos(r);return e[0]=o*c*l-a*s*u,e[1]=a*s*l+o*c*u,e[2]=a*c*u-o*s*l,e[3]=a*c*l+o*s*u,e}function Vr(e){return"quat("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+")"}var Wr,Zr,qr,Yr,Xr,Kr,Qr=Un,Jr=Bn,$r=Gn,ei=Nn,ti=Hn,ni=Lr,ri=Jn,ii=sr,oi=ur,ai=nr,si=ai,ci=rr,ui=ci,li=ar,fi=pr,hi=mr,vi=(Wr=Nt(),Zr=Wt(1,0,0),qr=Wt(0,1,0),function(e,t,n){var r=hn(t,n);return r<-.999999?(vn(Wr,Zr,t),In(Wr)<1e-6&&vn(Wr,qr,t),fn(Wr,Wr),Rr(e,Wr,Math.PI),e):r>.999999?(e[0]=0,e[1]=0,e[2]=0,e[3]=1,e):(vn(Wr,t,n),e[0]=Wr[0],e[1]=Wr[1],e[2]=Wr[2],e[3]=1+r,li(e,e))}),di=(Yr=Pr(),Xr=Pr(),function(e,t,n,r,i,o){return jr(Yr,t,i,o),jr(Xr,n,r,o),jr(e,Yr,Xr,2*o*(1-o)),e}),pi=(Kr=ye(),function(e,t,n,r){return Kr[0]=n[0],Kr[3]=n[1],Kr[6]=n[2],Kr[1]=r[0],Kr[4]=r[1],Kr[7]=r[2],Kr[2]=-t[0],Kr[5]=-t[1],Kr[8]=-t[2],li(e,Nr(e,Kr))});function mi(){var e=new d(8);return d!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0,e[4]=0,e[5]=0,e[6]=0,e[7]=0),e[3]=1,e}function yi(e){var t=new d(8);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t}function gi(e,t,n,r,i,o,a,s){var c=new d(8);return c[0]=e,c[1]=t,c[2]=n,c[3]=r,c[4]=i,c[5]=o,c[6]=a,c[7]=s,c}function xi(e,t,n,r,i,o,a){var s=new d(8);s[0]=e,s[1]=t,s[2]=n,s[3]=r;var c=.5*i,u=.5*o,l=.5*a;return s[4]=c*r+u*n-l*t,s[5]=u*r+l*e-c*n,s[6]=l*r+c*t-u*e,s[7]=-c*e-u*t-l*n,s}function bi(e,t,n){var r=.5*n[0],i=.5*n[1],o=.5*n[2],a=t[0],s=t[1],c=t[2],u=t[3];return e[0]=a,e[1]=s,e[2]=c,e[3]=u,e[4]=r*u+i*c-o*s,e[5]=i*u+o*a-r*c,e[6]=o*u+r*s-i*a,e[7]=-r*a-i*s-o*c,e}function wi(e,t){return e[0]=0,e[1]=0,e[2]=0,e[3]=1,e[4]=.5*t[0],e[5]=.5*t[1],e[6]=.5*t[2],e[7]=0,e}function Mi(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=0,e[5]=0,e[6]=0,e[7]=0,e}function _i(e,t){var n=Pr();Mt(n,t);var r=new d(3);return bt(r,t),bi(e,n,r),e}function Si(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e}function Pi(e){return e[0]=0,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e[6]=0,e[7]=0,e}function Ti(e,t,n,r,i,o,a,s,c){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e[4]=o,e[5]=a,e[6]=s,e[7]=c,e}var Ri=$r;function Ei(e,t){return e[0]=t[4],e[1]=t[5],e[2]=t[6],e[3]=t[7],e}var zi=$r;function Li(e,t){return e[4]=t[0],e[5]=t[1],e[6]=t[2],e[7]=t[3],e}function Ci(e,t){var n=t[4],r=t[5],i=t[6],o=t[7],a=-t[0],s=-t[1],c=-t[2],u=t[3];return e[0]=2*(n*u+o*a+r*c-i*s),e[1]=2*(r*u+o*s+i*a-n*c),e[2]=2*(i*u+o*c+n*s-r*a),e}function Ai(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],s=.5*n[0],c=.5*n[1],u=.5*n[2],l=t[4],f=t[5],h=t[6],v=t[7];return e[0]=r,e[1]=i,e[2]=o,e[3]=a,e[4]=a*s+i*u-o*c+l,e[5]=a*c+o*s-r*u+f,e[6]=a*u+r*c-i*s+h,e[7]=-r*s-i*c-o*u+v,e}function Oi(e,t,n){var r=-t[0],i=-t[1],o=-t[2],a=t[3],s=t[4],c=t[5],u=t[6],l=t[7],f=s*a+l*r+c*o-u*i,h=c*a+l*i+u*r-s*o,v=u*a+l*o+s*i-c*r,d=l*a-s*r-c*i-u*o;return Cr(e,t,n),r=e[0],i=e[1],o=e[2],a=e[3],e[4]=f*a+d*r+h*o-v*i,e[5]=h*a+d*i+v*r-f*o,e[6]=v*a+d*o+f*i-h*r,e[7]=d*a-f*r-h*i-v*o,e}function Di(e,t,n){var r=-t[0],i=-t[1],o=-t[2],a=t[3],s=t[4],c=t[5],u=t[6],l=t[7],f=s*a+l*r+c*o-u*i,h=c*a+l*i+u*r-s*o,v=u*a+l*o+s*i-c*r,d=l*a-s*r-c*i-u*o;return Ar(e,t,n),r=e[0],i=e[1],o=e[2],a=e[3],e[4]=f*a+d*r+h*o-v*i,e[5]=h*a+d*i+v*r-f*o,e[6]=v*a+d*o+f*i-h*r,e[7]=d*a-f*r-h*i-v*o,e}function Ii(e,t,n){var r=-t[0],i=-t[1],o=-t[2],a=t[3],s=t[4],c=t[5],u=t[6],l=t[7],f=s*a+l*r+c*o-u*i,h=c*a+l*i+u*r-s*o,v=u*a+l*o+s*i-c*r,d=l*a-s*r-c*i-u*o;return Or(e,t,n),r=e[0],i=e[1],o=e[2],a=e[3],e[4]=f*a+d*r+h*o-v*i,e[5]=h*a+d*i+v*r-f*o,e[6]=v*a+d*o+f*i-h*r,e[7]=d*a-f*r-h*i-v*o,e}function ki(e,t,n){var r=n[0],i=n[1],o=n[2],a=n[3],s=t[0],c=t[1],u=t[2],l=t[3];return e[0]=s*a+l*r+c*o-u*i,e[1]=c*a+l*i+u*r-s*o,e[2]=u*a+l*o+s*i-c*r,e[3]=l*a-s*r-c*i-u*o,s=t[4],c=t[5],u=t[6],l=t[7],e[4]=s*a+l*r+c*o-u*i,e[5]=c*a+l*i+u*r-s*o,e[6]=u*a+l*o+s*i-c*r,e[7]=l*a-s*r-c*i-u*o,e}function Fi(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],s=n[0],c=n[1],u=n[2],l=n[3];return e[0]=r*l+a*s+i*u-o*c,e[1]=i*l+a*c+o*s-r*u,e[2]=o*l+a*u+r*c-i*s,e[3]=a*l-r*s-i*c-o*u,s=n[4],c=n[5],u=n[6],l=n[7],e[4]=r*l+a*s+i*u-o*c,e[5]=i*l+a*c+o*s-r*u,e[6]=o*l+a*u+r*c-i*s,e[7]=a*l-r*s-i*c-o*u,e}function ji(e,t,n,r){if(Math.abs(r)<v)return Si(e,t);var i=Math.hypot(n[0],n[1],n[2]);r*=.5;var o=Math.sin(r),a=o*n[0]/i,s=o*n[1]/i,c=o*n[2]/i,u=Math.cos(r),l=t[0],f=t[1],h=t[2],d=t[3];e[0]=l*u+d*a+f*c-h*s,e[1]=f*u+d*s+h*a-l*c,e[2]=h*u+d*c+l*s-f*a,e[3]=d*u-l*a-f*s-h*c;var p=t[4],m=t[5],y=t[6],g=t[7];return e[4]=p*u+g*a+m*c-y*s,e[5]=m*u+g*s+y*a-p*c,e[6]=y*u+g*c+p*s-m*a,e[7]=g*u-p*a-m*s-y*c,e}function Ui(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e[4]=t[4]+n[4],e[5]=t[5]+n[5],e[6]=t[6]+n[6],e[7]=t[7]+n[7],e}function Bi(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],s=n[4],c=n[5],u=n[6],l=n[7],f=t[4],h=t[5],v=t[6],d=t[7],p=n[0],m=n[1],y=n[2],g=n[3];return e[0]=r*g+a*p+i*y-o*m,e[1]=i*g+a*m+o*p-r*y,e[2]=o*g+a*y+r*m-i*p,e[3]=a*g-r*p-i*m-o*y,e[4]=r*l+a*s+i*u-o*c+f*g+d*p+h*y-v*m,e[5]=i*l+a*c+o*s-r*u+h*g+d*m+v*p-f*y,e[6]=o*l+a*u+r*c-i*s+v*g+d*y+f*m-h*p,e[7]=a*l-r*s-i*c-o*u+d*g-f*p-h*m-v*y,e}var Gi=Bi;function Ni(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e[4]=t[4]*n,e[5]=t[5]*n,e[6]=t[6]*n,e[7]=t[7]*n,e}var Hi=ii;function Vi(e,t,n,r){var i=1-r;return Hi(t,n)<0&&(r=-r),e[0]=t[0]*i+n[0]*r,e[1]=t[1]*i+n[1]*r,e[2]=t[2]*i+n[2]*r,e[3]=t[3]*i+n[3]*r,e[4]=t[4]*i+n[4]*r,e[5]=t[5]*i+n[5]*r,e[6]=t[6]*i+n[6]*r,e[7]=t[7]*i+n[7]*r,e}function Wi(e,t){var n=Xi(t);return e[0]=-t[0]/n,e[1]=-t[1]/n,e[2]=-t[2]/n,e[3]=t[3]/n,e[4]=-t[4]/n,e[5]=-t[5]/n,e[6]=-t[6]/n,e[7]=t[7]/n,e}function Zi(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=t[3],e[4]=-t[4],e[5]=-t[5],e[6]=-t[6],e[7]=t[7],e}var qi=ai,Yi=qi,Xi=ci,Ki=Xi;function Qi(e,t){var n=Xi(t);if(n>0){n=Math.sqrt(n);var r=t[0]/n,i=t[1]/n,o=t[2]/n,a=t[3]/n,s=t[4],c=t[5],u=t[6],l=t[7],f=r*s+i*c+o*u+a*l;e[0]=r,e[1]=i,e[2]=o,e[3]=a,e[4]=(s-r*f)/n,e[5]=(c-i*f)/n,e[6]=(u-o*f)/n,e[7]=(l-a*f)/n}return e}function Ji(e){return"quat2("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+", "+e[4]+", "+e[5]+", "+e[6]+", "+e[7]+")"}function $i(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]&&e[4]===t[4]&&e[5]===t[5]&&e[6]===t[6]&&e[7]===t[7]}function eo(e,t){var n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],c=e[6],u=e[7],l=t[0],f=t[1],h=t[2],d=t[3],p=t[4],m=t[5],y=t[6],g=t[7];return Math.abs(n-l)<=v*Math.max(1,Math.abs(n),Math.abs(l))&&Math.abs(r-f)<=v*Math.max(1,Math.abs(r),Math.abs(f))&&Math.abs(i-h)<=v*Math.max(1,Math.abs(i),Math.abs(h))&&Math.abs(o-d)<=v*Math.max(1,Math.abs(o),Math.abs(d))&&Math.abs(a-p)<=v*Math.max(1,Math.abs(a),Math.abs(p))&&Math.abs(s-m)<=v*Math.max(1,Math.abs(s),Math.abs(m))&&Math.abs(c-y)<=v*Math.max(1,Math.abs(c),Math.abs(y))&&Math.abs(u-g)<=v*Math.max(1,Math.abs(u),Math.abs(g))}function to(){var e=new d(2);return d!=Float32Array&&(e[0]=0,e[1]=0),e}function no(e){var t=new d(2);return t[0]=e[0],t[1]=e[1],t}function ro(e,t){var n=new d(2);return n[0]=e,n[1]=t,n}function io(e,t){return e[0]=t[0],e[1]=t[1],e}function oo(e,t,n){return e[0]=t,e[1]=n,e}function ao(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e}function so(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e}function co(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e}function uo(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e}function lo(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e}function fo(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e}function ho(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e}function vo(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e}function po(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e}function mo(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e}function yo(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e}function go(e,t){var n=t[0]-e[0],r=t[1]-e[1];return Math.hypot(n,r)}function xo(e,t){var n=t[0]-e[0],r=t[1]-e[1];return n*n+r*r}function bo(e){var t=e[0],n=e[1];return Math.hypot(t,n)}function wo(e){var t=e[0],n=e[1];return t*t+n*n}function Mo(e,t){return e[0]=-t[0],e[1]=-t[1],e}function _o(e,t){return e[0]=1/t[0],e[1]=1/t[1],e}function So(e,t){var n=t[0],r=t[1],i=n*n+r*r;return i>0&&(i=1/Math.sqrt(i)),e[0]=t[0]*i,e[1]=t[1]*i,e}function Po(e,t){return e[0]*t[0]+e[1]*t[1]}function To(e,t,n){var r=t[0]*n[1]-t[1]*n[0];return e[0]=e[1]=0,e[2]=r,e}function Ro(e,t,n,r){var i=t[0],o=t[1];return e[0]=i+r*(n[0]-i),e[1]=o+r*(n[1]-o),e}function Eo(e,t){t=t||1;var n=2*p()*Math.PI;return e[0]=Math.cos(n)*t,e[1]=Math.sin(n)*t,e}function zo(e,t,n){var r=t[0],i=t[1];return e[0]=n[0]*r+n[2]*i,e[1]=n[1]*r+n[3]*i,e}function Lo(e,t,n){var r=t[0],i=t[1];return e[0]=n[0]*r+n[2]*i+n[4],e[1]=n[1]*r+n[3]*i+n[5],e}function Co(e,t,n){var r=t[0],i=t[1];return e[0]=n[0]*r+n[3]*i+n[6],e[1]=n[1]*r+n[4]*i+n[7],e}function Ao(e,t,n){var r=t[0],i=t[1];return e[0]=n[0]*r+n[4]*i+n[12],e[1]=n[1]*r+n[5]*i+n[13],e}function Oo(e,t,n,r){var i=t[0]-n[0],o=t[1]-n[1],a=Math.sin(r),s=Math.cos(r);return e[0]=i*s-o*a+n[0],e[1]=i*a+o*s+n[1],e}function Do(e,t){var n=e[0],r=e[1],i=t[0],o=t[1],a=Math.sqrt(n*n+r*r)*Math.sqrt(i*i+o*o),s=a&&(n*i+r*o)/a;return Math.acos(Math.min(Math.max(s,-1),1))}function Io(e){return e[0]=0,e[1]=0,e}function ko(e){return"vec2("+e[0]+", "+e[1]+")"}function Fo(e,t){return e[0]===t[0]&&e[1]===t[1]}function jo(e,t){var n=e[0],r=e[1],i=t[0],o=t[1];return Math.abs(n-i)<=v*Math.max(1,Math.abs(n),Math.abs(i))&&Math.abs(r-o)<=v*Math.max(1,Math.abs(r),Math.abs(o))}var Uo=bo,Bo=so,Go=co,No=uo,Ho=go,Vo=xo,Wo=wo,Zo=function(){var e=to();return function(t,n,r,i,o,a){var s,c;for(n||(n=2),r||(r=0),c=i?Math.min(i*n+r,t.length):t.length,s=r;s<c;s+=n)e[0]=t[s],e[1]=t[s+1],o(e,e,a),t[s]=e[0],t[s+1]=e[1];return t}}()},58679:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nvarying vec2 vUv;\n\nvoid main(void) {\n vUv = uv;\n gl_Position = vec4(position, 1.0);\n}\n"},4575:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nuniform sampler2D velocity;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n gl_FragColor = texture2D(velocity, vUv);\n}\n"},85458:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n vec3 hsv = vec3(0.5 + time * 0.1, 0.4, 1.0);\n vec3 rgb = convertHsvToRgb(hsv);\n gl_FragColor = vec4(rgb, 0.25);\n}\n"},38577:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\nuniform float time;\nuniform float rotate;\n\nmat4 calcRotateMat4X(float radian) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, cos(radian), -sin(radian), 0.0,\n 0.0, sin(radian), cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Y(float radian) {\n return mat4(\n cos(radian), 0.0, sin(radian), 0.0,\n 0.0, 1.0, 0.0, 0.0,\n -sin(radian), 0.0, cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Z(float radian) {\n return mat4(\n cos(radian), -sin(radian), 0.0, 0.0,\n sin(radian), cos(radian), 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4(vec3 radian) {\n return calcRotateMat4X(radian.x) * calcRotateMat4Y(radian.y) * calcRotateMat4Z(radian.z);\n}\n\nvoid main(void) {\n mat4 rotateMat = calcRotateMat4(vec3(time * 0.1 + rotate));\n vec4 updatePosition = rotateMat * vec4(position, 1.0);\n gl_Position = projectionMatrix * modelViewMatrix * updatePosition;\n}\n"},5860:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\n\nvarying vec3 vPosition;\n\nconst float duration = 8.0;\nconst float delay = 4.0;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n float now = clamp((time - delay) / duration, 0.0, 1.0);\n float opacity = (1.0 - length(vPosition.xy / vec2(512.0))) * 0.6 * now;\n vec3 v = normalize(vPosition);\n vec3 rgb = convertHsvToRgb(vec3(0.5 + (v.x + v.y + v.x) / 40.0 + time * 0.1, 0.4, 1.0));\n gl_FragColor = vec4(rgb, opacity);\n}\n"},72406:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\n\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\nuniform float time;\n\nvarying vec3 vPosition;\n\nvoid main() {\n float sin1 = sin((position.x + position.y) * 0.2 + time * 0.5);\n float sin2 = sin((position.x - position.y) * 0.4 + time * 2.0);\n float sin3 = sin((position.x + position.y) * -0.6 + time);\n vec3 updatePosition = vec3(position.x, position.y, position.z + sin1 * 50.0 + sin2 * 10.0 + sin3 * 8.0);\n vPosition = position;\n gl_Position = projectionMatrix * modelViewMatrix * vec4(updatePosition, 1.0);\n}\n"},6595:function(e,t){"use strict";t.Z='precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform vec2 resolution;\nuniform sampler2D texture;\n\nvarying vec2 vUv;\n\nconst float duration = 8.0;\nconst float delay = 4.0;\n\n//\n// GLSL textureless classic 3D noise "cnoise",\n// with an RSL-style periodic variant "pnoise".\n// Author: Stefan Gustavson (stefan.gustavson@liu.se)\n// Version: 2011-10-11\n//\n// Many thanks to Ian McEwan of Ashima Arts for the\n// ideas for permutation and gradient selection.\n//\n// Copyright (c) 2011 Stefan Gustavson. All rights reserved.\n// Distributed under the MIT license. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289(vec3 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x)\n{\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nvec3 fade(vec3 t) {\n return t*t*t*(t*(t*6.0-15.0)+10.0);\n}\n\n// Classic Perlin noise\nfloat cnoise(vec3 P)\n{\n vec3 Pi0 = floor(P); // Integer part for indexing\n vec3 Pi1 = Pi0 + vec3(1.0); // Integer part + 1\n Pi0 = mod289(Pi0);\n Pi1 = mod289(Pi1);\n vec3 Pf0 = fract(P); // Fractional part for interpolation\n vec3 Pf1 = Pf0 - vec3(1.0); // Fractional part - 1.0\n vec4 ix = vec4(Pi0.x, Pi1.x, Pi0.x, Pi1.x);\n vec4 iy = vec4(Pi0.yy, Pi1.yy);\n vec4 iz0 = Pi0.zzzz;\n vec4 iz1 = Pi1.zzzz;\n\n vec4 ixy = permute(permute(ix) + iy);\n vec4 ixy0 = permute(ixy + iz0);\n vec4 ixy1 = permute(ixy + iz1);\n\n vec4 gx0 = ixy0 * (1.0 / 7.0);\n vec4 gy0 = fract(floor(gx0) * (1.0 / 7.0)) - 0.5;\n gx0 = fract(gx0);\n vec4 gz0 = vec4(0.5) - abs(gx0) - abs(gy0);\n vec4 sz0 = step(gz0, vec4(0.0));\n gx0 -= sz0 * (step(0.0, gx0) - 0.5);\n gy0 -= sz0 * (step(0.0, gy0) - 0.5);\n\n vec4 gx1 = ixy1 * (1.0 / 7.0);\n vec4 gy1 = fract(floor(gx1) * (1.0 / 7.0)) - 0.5;\n gx1 = fract(gx1);\n vec4 gz1 = vec4(0.5) - abs(gx1) - abs(gy1);\n vec4 sz1 = step(gz1, vec4(0.0));\n gx1 -= sz1 * (step(0.0, gx1) - 0.5);\n gy1 -= sz1 * (step(0.0, gy1) - 0.5);\n\n vec3 g000 = vec3(gx0.x,gy0.x,gz0.x);\n vec3 g100 = vec3(gx0.y,gy0.y,gz0.y);\n vec3 g010 = vec3(gx0.z,gy0.z,gz0.z);\n vec3 g110 = vec3(gx0.w,gy0.w,gz0.w);\n vec3 g001 = vec3(gx1.x,gy1.x,gz1.x);\n vec3 g101 = vec3(gx1.y,gy1.y,gz1.y);\n vec3 g011 = vec3(gx1.z,gy1.z,gz1.z);\n vec3 g111 = vec3(gx1.w,gy1.w,gz1.w);\n\n vec4 norm0 = taylorInvSqrt(vec4(dot(g000, g000), dot(g010, g010), dot(g100, g100), dot(g110, g110)));\n g000 *= norm0.x;\n g010 *= norm0.y;\n g100 *= norm0.z;\n g110 *= norm0.w;\n vec4 norm1 = taylorInvSqrt(vec4(dot(g001, g001), dot(g011, g011), dot(g101, g101), dot(g111, g111)));\n g001 *= norm1.x;\n g011 *= norm1.y;\n g101 *= norm1.z;\n g111 *= norm1.w;\n\n float n000 = dot(g000, Pf0);\n float n100 = dot(g100, vec3(Pf1.x, Pf0.yz));\n float n010 = dot(g010, vec3(Pf0.x, Pf1.y, Pf0.z));\n float n110 = dot(g110, vec3(Pf1.xy, Pf0.z));\n float n001 = dot(g001, vec3(Pf0.xy, Pf1.z));\n float n101 = dot(g101, vec3(Pf1.x, Pf0.y, Pf1.z));\n float n011 = dot(g011, vec3(Pf0.x, Pf1.yz));\n float n111 = dot(g111, Pf1);\n\n vec3 fade_xyz = fade(Pf0);\n vec4 n_z = mix(vec4(n000, n100, n010, n110), vec4(n001, n101, n011, n111), fade_xyz.z);\n vec2 n_yz = mix(n_z.xy, n_z.zw, fade_xyz.y);\n float n_xyz = mix(n_yz.x, n_yz.y, fade_xyz.x);\n return 2.2 * n_xyz;\n}\n\nfloat random(vec2 c){\n return fract(sin(dot(c.xy ,vec2(12.9898,78.233))) * 43758.5453);\n}\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n float now = clamp((time - delay) / duration, 0.0, 1.0);\n\n // 銉涖儻銈ゃ儓銉庛偆銈篭n float whiteNoise = random(vUv.xy * time) * 0.1 - 0.1;\n\n // 銉€儖銈裤兗銈ㄣ儠銈с偗銉圽n float monitor1 = abs(sin(vUv.y * resolution.y * 2.4 + time * 10.0)) * 0.04;\n float monitor2 = abs(sin(vUv.y * resolution.y * 1.0 + time * 3.0)) * 0.04;\n float monitor = monitor1 - monitor2;\n\n // 銉淬偅銉嶃儍銉圽n float vignetteMask = smoothstep(0.8, 1.4, length(vUv * 2.0 - 1.0));\n vec3 vignetteColor = convertHsvToRgb(vec3(0.5 + (vUv.x + vUv.y) / 40.0 + time * 0.1, 0.4, 1.0));\n vec3 vignette = vignetteMask * vignetteColor * 0.1;\n\n // RGB銈恒儸\n float r = texture2D(texture, vUv - vec2(2.0, 0.0) / resolution).r;\n float g = texture2D(texture, vUv).g;\n float b = texture2D(texture, vUv + vec2(2.0, 0.0) / resolution).b;\n\n gl_FragColor = vec4((vec3(r, g, b) + whiteNoise) + monitor + vignette, 1.0);\n}\n'},47925:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nvarying vec2 vUv;\n\nvoid main() {\n vUv = uv;\n gl_Position = vec4(position, 1.0);\n}\n"},1483:function(e,t){"use strict";t.Z="#extension GL_OES_standard_derivatives : enable\n\nprecision highp float;\n#define GLSLIFY 1\n\nuniform mat3 normalMatrix;\nuniform float time;\n\nvarying vec3 vPosition;\nvarying float vNoise;\nvarying float vNow;\n\nconst vec3 lightDirection = vec3(1.0, -1.0, -1.0);\nconst float duration = 2.0;\nconst float delayAll = 1.0;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n float now = clamp((time - delayAll - 1.5) / duration, 0.0, 1.0);\n vec3 normal = normalize(cross(dFdx(vPosition), dFdy(vPosition)));\n vec3 light = normalize(normalMatrix * lightDirection);\n float diff = (dot(normal, light) + 1.0) / 2.0 * 0.2;\n float opacity = smoothstep(0.1, 0.2, vNow);\n vec3 v = normalize(vPosition);\n vec3 rgb = (1.0 - now) * vec3(1.0) + convertHsvToRgb(vec3(0.5 + (v.x + v.y + v.x) / 40.0 + time * 0.1, 0.8, 0.4 + sin(time) * 0.05 + vNoise * 0.02));\n gl_FragColor = vec4(rgb + diff, opacity);\n}\n"},33821:function(e,t){"use strict";t.Z='#define GLSLIFY 1\nattribute vec3 position;\nattribute vec3 normal;\nattribute vec3 faceNormal;\nattribute vec3 center;\nattribute float delay;\n\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\nuniform float time;\n\nvarying vec3 vPosition;\nvarying float vNoise;\nvarying float vNow;\n\nconst float duration = 2.0;\nconst float delayAll = 1.0;\n\nfloat exponentialOut(float t) {\n return t == 1.0 ? t : 1.0 - pow(2.0, -10.0 * t);\n}\n\nmat4 calcTranslateMat4(vec3 v) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, 1.0, 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n v.x, v.y, v.z, 1.0\n );\n}\n\nmat4 calcRotateMat4X(float radian) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, cos(radian), -sin(radian), 0.0,\n 0.0, sin(radian), cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Y(float radian) {\n return mat4(\n cos(radian), 0.0, sin(radian), 0.0,\n 0.0, 1.0, 0.0, 0.0,\n -sin(radian), 0.0, cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Z(float radian) {\n return mat4(\n cos(radian), -sin(radian), 0.0, 0.0,\n sin(radian), cos(radian), 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4(vec3 radian) {\n return calcRotateMat4X(radian.x) * calcRotateMat4Y(radian.y) * calcRotateMat4Z(radian.z);\n}\n\n//\n// GLSL textureless classic 3D noise "cnoise",\n// with an RSL-style periodic variant "pnoise".\n// Author: Stefan Gustavson (stefan.gustavson@liu.se)\n// Version: 2011-10-11\n//\n// Many thanks to Ian McEwan of Ashima Arts for the\n// ideas for permutation and gradient selection.\n//\n// Copyright (c) 2011 Stefan Gustavson. All rights reserved.\n// Distributed under the MIT license. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289(vec3 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x)\n{\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nvec3 fade(vec3 t) {\n return t*t*t*(t*(t*6.0-15.0)+10.0);\n}\n\n// Classic Perlin noise\nfloat cnoise(vec3 P)\n{\n vec3 Pi0 = floor(P); // Integer part for indexing\n vec3 Pi1 = Pi0 + vec3(1.0); // Integer part + 1\n Pi0 = mod289(Pi0);\n Pi1 = mod289(Pi1);\n vec3 Pf0 = fract(P); // Fractional part for interpolation\n vec3 Pf1 = Pf0 - vec3(1.0); // Fractional part - 1.0\n vec4 ix = vec4(Pi0.x, Pi1.x, Pi0.x, Pi1.x);\n vec4 iy = vec4(Pi0.yy, Pi1.yy);\n vec4 iz0 = Pi0.zzzz;\n vec4 iz1 = Pi1.zzzz;\n\n vec4 ixy = permute(permute(ix) + iy);\n vec4 ixy0 = permute(ixy + iz0);\n vec4 ixy1 = permute(ixy + iz1);\n\n vec4 gx0 = ixy0 * (1.0 / 7.0);\n vec4 gy0 = fract(floor(gx0) * (1.0 / 7.0)) - 0.5;\n gx0 = fract(gx0);\n vec4 gz0 = vec4(0.5) - abs(gx0) - abs(gy0);\n vec4 sz0 = step(gz0, vec4(0.0));\n gx0 -= sz0 * (step(0.0, gx0) - 0.5);\n gy0 -= sz0 * (step(0.0, gy0) - 0.5);\n\n vec4 gx1 = ixy1 * (1.0 / 7.0);\n vec4 gy1 = fract(floor(gx1) * (1.0 / 7.0)) - 0.5;\n gx1 = fract(gx1);\n vec4 gz1 = vec4(0.5) - abs(gx1) - abs(gy1);\n vec4 sz1 = step(gz1, vec4(0.0));\n gx1 -= sz1 * (step(0.0, gx1) - 0.5);\n gy1 -= sz1 * (step(0.0, gy1) - 0.5);\n\n vec3 g000 = vec3(gx0.x,gy0.x,gz0.x);\n vec3 g100 = vec3(gx0.y,gy0.y,gz0.y);\n vec3 g010 = vec3(gx0.z,gy0.z,gz0.z);\n vec3 g110 = vec3(gx0.w,gy0.w,gz0.w);\n vec3 g001 = vec3(gx1.x,gy1.x,gz1.x);\n vec3 g101 = vec3(gx1.y,gy1.y,gz1.y);\n vec3 g011 = vec3(gx1.z,gy1.z,gz1.z);\n vec3 g111 = vec3(gx1.w,gy1.w,gz1.w);\n\n vec4 norm0 = taylorInvSqrt(vec4(dot(g000, g000), dot(g010, g010), dot(g100, g100), dot(g110, g110)));\n g000 *= norm0.x;\n g010 *= norm0.y;\n g100 *= norm0.z;\n g110 *= norm0.w;\n vec4 norm1 = taylorInvSqrt(vec4(dot(g001, g001), dot(g011, g011), dot(g101, g101), dot(g111, g111)));\n g001 *= norm1.x;\n g011 *= norm1.y;\n g101 *= norm1.z;\n g111 *= norm1.w;\n\n float n000 = dot(g000, Pf0);\n float n100 = dot(g100, vec3(Pf1.x, Pf0.yz));\n float n010 = dot(g010, vec3(Pf0.x, Pf1.y, Pf0.z));\n float n110 = dot(g110, vec3(Pf1.xy, Pf0.z));\n float n001 = dot(g001, vec3(Pf0.xy, Pf1.z));\n float n101 = dot(g101, vec3(Pf1.x, Pf0.y, Pf1.z));\n float n011 = dot(g011, vec3(Pf0.x, Pf1.yz));\n float n111 = dot(g111, Pf1);\n\n vec3 fade_xyz = fade(Pf0);\n vec4 n_z = mix(vec4(n000, n100, n010, n110), vec4(n001, n101, n011, n111), fade_xyz.z);\n vec2 n_yz = mix(n_z.xy, n_z.zw, fade_xyz.y);\n float n_xyz = mix(n_yz.x, n_yz.y, fade_xyz.x);\n return 2.2 * n_xyz;\n}\n\nvoid main() {\n float now = exponentialOut(max((time - delayAll - delay - (faceNormal.x + 1.0) / 2.0 - (faceNormal.y + 1.0) / 2.0) / duration, 0.0));\n mat4 translateMat = calcTranslateMat4(vec3(faceNormal) * 1200.0 * (1.0 - now) + vec3(0.0, sin(time) * 10.0 + 210.0, 0.0));\n mat4 rotateMat = calcRotateMat4(vec3(0.0, radians((1.0 - now) * faceNormal.y * 4320.0), 0.0));\n float rotateRadian = radians((time + faceNormal.x + faceNormal.y) * 1440.0);\n mat4 rotateMatSelf = calcRotateMat4(vec3(rotateRadian, rotateRadian, 0.0));\n float noise = smoothstep(-0.4, 0.4,\n cnoise(vec3(position.x * 0.035 - time, position.y * 0.035 - time, position.z * 0.035 + time))\n ) * 2.0 - 1.0;\n vec3 updatePositionSelf = (rotateMatSelf * vec4(position - center, 1.0)).xyz * (1.0 - now) + position\n + normalize(position) * noise ;\n vec4 updatePosition = rotateMat * translateMat * vec4(updatePositionSelf, 1.0);\n vPosition = updatePosition.xyz;\n vNoise = noise;\n vNow = now;\n gl_Position = projectionMatrix * modelViewMatrix * updatePosition;\n}\n'},99133:function(e,t){"use strict";t.Z='precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\n\nvarying vec3 vPosition;\nvarying float vOpacity;\n\nconst float duration = 4.0;\nconst float delay = 3.0;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\n//\n// GLSL textureless classic 3D noise "cnoise",\n// with an RSL-style periodic variant "pnoise".\n// Author: Stefan Gustavson (stefan.gustavson@liu.se)\n// Version: 2011-10-11\n//\n// Many thanks to Ian McEwan of Ashima Arts for the\n// ideas for permutation and gradient selection.\n//\n// Copyright (c) 2011 Stefan Gustavson. All rights reserved.\n// Distributed under the MIT license. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289(vec3 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x)\n{\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nvec3 fade(vec3 t) {\n return t*t*t*(t*(t*6.0-15.0)+10.0);\n}\n\n// Classic Perlin noise\nfloat cnoise(vec3 P)\n{\n vec3 Pi0 = floor(P); // Integer part for indexing\n vec3 Pi1 = Pi0 + vec3(1.0); // Integer part + 1\n Pi0 = mod289(Pi0);\n Pi1 = mod289(Pi1);\n vec3 Pf0 = fract(P); // Fractional part for interpolation\n vec3 Pf1 = Pf0 - vec3(1.0); // Fractional part - 1.0\n vec4 ix = vec4(Pi0.x, Pi1.x, Pi0.x, Pi1.x);\n vec4 iy = vec4(Pi0.yy, Pi1.yy);\n vec4 iz0 = Pi0.zzzz;\n vec4 iz1 = Pi1.zzzz;\n\n vec4 ixy = permute(permute(ix) + iy);\n vec4 ixy0 = permute(ixy + iz0);\n vec4 ixy1 = permute(ixy + iz1);\n\n vec4 gx0 = ixy0 * (1.0 / 7.0);\n vec4 gy0 = fract(floor(gx0) * (1.0 / 7.0)) - 0.5;\n gx0 = fract(gx0);\n vec4 gz0 = vec4(0.5) - abs(gx0) - abs(gy0);\n vec4 sz0 = step(gz0, vec4(0.0));\n gx0 -= sz0 * (step(0.0, gx0) - 0.5);\n gy0 -= sz0 * (step(0.0, gy0) - 0.5);\n\n vec4 gx1 = ixy1 * (1.0 / 7.0);\n vec4 gy1 = fract(floor(gx1) * (1.0 / 7.0)) - 0.5;\n gx1 = fract(gx1);\n vec4 gz1 = vec4(0.5) - abs(gx1) - abs(gy1);\n vec4 sz1 = step(gz1, vec4(0.0));\n gx1 -= sz1 * (step(0.0, gx1) - 0.5);\n gy1 -= sz1 * (step(0.0, gy1) - 0.5);\n\n vec3 g000 = vec3(gx0.x,gy0.x,gz0.x);\n vec3 g100 = vec3(gx0.y,gy0.y,gz0.y);\n vec3 g010 = vec3(gx0.z,gy0.z,gz0.z);\n vec3 g110 = vec3(gx0.w,gy0.w,gz0.w);\n vec3 g001 = vec3(gx1.x,gy1.x,gz1.x);\n vec3 g101 = vec3(gx1.y,gy1.y,gz1.y);\n vec3 g011 = vec3(gx1.z,gy1.z,gz1.z);\n vec3 g111 = vec3(gx1.w,gy1.w,gz1.w);\n\n vec4 norm0 = taylorInvSqrt(vec4(dot(g000, g000), dot(g010, g010), dot(g100, g100), dot(g110, g110)));\n g000 *= norm0.x;\n g010 *= norm0.y;\n g100 *= norm0.z;\n g110 *= norm0.w;\n vec4 norm1 = taylorInvSqrt(vec4(dot(g001, g001), dot(g011, g011), dot(g101, g101), dot(g111, g111)));\n g001 *= norm1.x;\n g011 *= norm1.y;\n g101 *= norm1.z;\n g111 *= norm1.w;\n\n float n000 = dot(g000, Pf0);\n float n100 = dot(g100, vec3(Pf1.x, Pf0.yz));\n float n010 = dot(g010, vec3(Pf0.x, Pf1.y, Pf0.z));\n float n110 = dot(g110, vec3(Pf1.xy, Pf0.z));\n float n001 = dot(g001, vec3(Pf0.xy, Pf1.z));\n float n101 = dot(g101, vec3(Pf1.x, Pf0.y, Pf1.z));\n float n011 = dot(g011, vec3(Pf0.x, Pf1.yz));\n float n111 = dot(g111, Pf1);\n\n vec3 fade_xyz = fade(Pf0);\n vec4 n_z = mix(vec4(n000, n100, n010, n110), vec4(n001, n101, n011, n111), fade_xyz.z);\n vec2 n_yz = mix(n_z.xy, n_z.zw, fade_xyz.y);\n float n_xyz = mix(n_yz.x, n_yz.y, fade_xyz.x);\n return 2.2 * n_xyz;\n}\n\nfloat random(vec2 c){\n return fract(sin(dot(c.xy ,vec2(12.9898,78.233))) * 43758.5453);\n}\n\nvoid main() {\n float now = clamp((time - delay) / duration, 0.0, 1.0);\n float noise1 = cnoise(vec3((vPosition * vec3(0.4, 2.0, -0.6) * 2.0 + time))) * 7.0 - (1.0 + (1.0 - now) * 7.0);\n float noise2 = cnoise(vec3((vPosition * 42.0 + time)));\n float noise3 = cnoise(vec3((vPosition * 7.0 + time))) * 2.0;\n float bright = smoothstep(-0.2, 1.0, (noise1 + noise2 + noise3) * now);\n vec3 v = normalize(vPosition);\n vec3 rgb = (1.0 - now) * vec3(1.0) + convertHsvToRgb(vec3(0.5 + (v.x + v.y + v.x) / 40.0 + time * 0.1, 0.4, 1.0));\n float whiteNoise = random(vPosition.xy);\n if (bright < 0.4) discard;\n gl_FragColor = vec4(rgb * vec3(1.0 - bright + 0.6) + whiteNoise * 0.2, 0.4 + vOpacity * 0.5 + sin(time * 2.0) * 0.1);\n}\n'},14595:function(e,t){"use strict";t.Z='#define GLSLIFY 1\nattribute vec3 position;\n\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\nuniform float time;\n\nvarying vec3 vPosition;\nvarying float vOpacity;\n\nconst float duration = 4.0;\nconst float delay = 3.0;\n\nfloat exponentialOut(float t) {\n return t == 1.0 ? t : 1.0 - pow(2.0, -10.0 * t);\n}\n\n//\n// GLSL textureless classic 3D noise "cnoise",\n// with an RSL-style periodic variant "pnoise".\n// Author: Stefan Gustavson (stefan.gustavson@liu.se)\n// Version: 2011-10-11\n//\n// Many thanks to Ian McEwan of Ashima Arts for the\n// ideas for permutation and gradient selection.\n//\n// Copyright (c) 2011 Stefan Gustavson. All rights reserved.\n// Distributed under the MIT license. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289(vec3 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x)\n{\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nvec3 fade(vec3 t) {\n return t*t*t*(t*(t*6.0-15.0)+10.0);\n}\n\n// Classic Perlin noise\nfloat cnoise(vec3 P)\n{\n vec3 Pi0 = floor(P); // Integer part for indexing\n vec3 Pi1 = Pi0 + vec3(1.0); // Integer part + 1\n Pi0 = mod289(Pi0);\n Pi1 = mod289(Pi1);\n vec3 Pf0 = fract(P); // Fractional part for interpolation\n vec3 Pf1 = Pf0 - vec3(1.0); // Fractional part - 1.0\n vec4 ix = vec4(Pi0.x, Pi1.x, Pi0.x, Pi1.x);\n vec4 iy = vec4(Pi0.yy, Pi1.yy);\n vec4 iz0 = Pi0.zzzz;\n vec4 iz1 = Pi1.zzzz;\n\n vec4 ixy = permute(permute(ix) + iy);\n vec4 ixy0 = permute(ixy + iz0);\n vec4 ixy1 = permute(ixy + iz1);\n\n vec4 gx0 = ixy0 * (1.0 / 7.0);\n vec4 gy0 = fract(floor(gx0) * (1.0 / 7.0)) - 0.5;\n gx0 = fract(gx0);\n vec4 gz0 = vec4(0.5) - abs(gx0) - abs(gy0);\n vec4 sz0 = step(gz0, vec4(0.0));\n gx0 -= sz0 * (step(0.0, gx0) - 0.5);\n gy0 -= sz0 * (step(0.0, gy0) - 0.5);\n\n vec4 gx1 = ixy1 * (1.0 / 7.0);\n vec4 gy1 = fract(floor(gx1) * (1.0 / 7.0)) - 0.5;\n gx1 = fract(gx1);\n vec4 gz1 = vec4(0.5) - abs(gx1) - abs(gy1);\n vec4 sz1 = step(gz1, vec4(0.0));\n gx1 -= sz1 * (step(0.0, gx1) - 0.5);\n gy1 -= sz1 * (step(0.0, gy1) - 0.5);\n\n vec3 g000 = vec3(gx0.x,gy0.x,gz0.x);\n vec3 g100 = vec3(gx0.y,gy0.y,gz0.y);\n vec3 g010 = vec3(gx0.z,gy0.z,gz0.z);\n vec3 g110 = vec3(gx0.w,gy0.w,gz0.w);\n vec3 g001 = vec3(gx1.x,gy1.x,gz1.x);\n vec3 g101 = vec3(gx1.y,gy1.y,gz1.y);\n vec3 g011 = vec3(gx1.z,gy1.z,gz1.z);\n vec3 g111 = vec3(gx1.w,gy1.w,gz1.w);\n\n vec4 norm0 = taylorInvSqrt(vec4(dot(g000, g000), dot(g010, g010), dot(g100, g100), dot(g110, g110)));\n g000 *= norm0.x;\n g010 *= norm0.y;\n g100 *= norm0.z;\n g110 *= norm0.w;\n vec4 norm1 = taylorInvSqrt(vec4(dot(g001, g001), dot(g011, g011), dot(g101, g101), dot(g111, g111)));\n g001 *= norm1.x;\n g011 *= norm1.y;\n g101 *= norm1.z;\n g111 *= norm1.w;\n\n float n000 = dot(g000, Pf0);\n float n100 = dot(g100, vec3(Pf1.x, Pf0.yz));\n float n010 = dot(g010, vec3(Pf0.x, Pf1.y, Pf0.z));\n float n110 = dot(g110, vec3(Pf1.xy, Pf0.z));\n float n001 = dot(g001, vec3(Pf0.xy, Pf1.z));\n float n101 = dot(g101, vec3(Pf1.x, Pf0.y, Pf1.z));\n float n011 = dot(g011, vec3(Pf0.x, Pf1.yz));\n float n111 = dot(g111, Pf1);\n\n vec3 fade_xyz = fade(Pf0);\n vec4 n_z = mix(vec4(n000, n100, n010, n110), vec4(n001, n101, n011, n111), fade_xyz.z);\n vec2 n_yz = mix(n_z.xy, n_z.zw, fade_xyz.y);\n float n_xyz = mix(n_yz.x, n_yz.y, fade_xyz.x);\n return 2.2 * n_xyz;\n}\n\nmat4 calcTranslateMat4(vec3 v) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, 1.0, 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n v.x, v.y, v.z, 1.0\n );\n}\n\nmat4 calcScaleMat4(vec3 scale) {\n return mat4(\n scale.x, 0.0, 0.0, 0.0,\n 0.0, scale.y, 0.0, 0.0,\n 0.0, 0.0, scale.z, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4X(float radian) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, cos(radian), -sin(radian), 0.0,\n 0.0, sin(radian), cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Y(float radian) {\n return mat4(\n cos(radian), 0.0, sin(radian), 0.0,\n 0.0, 1.0, 0.0, 0.0,\n -sin(radian), 0.0, cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Z(float radian) {\n return mat4(\n cos(radian), -sin(radian), 0.0, 0.0,\n sin(radian), cos(radian), 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4(vec3 radian) {\n return calcRotateMat4X(radian.x) * calcRotateMat4Y(radian.y) * calcRotateMat4Z(radian.z);\n}\n\nvoid main() {\n float now = clamp((time - delay) / duration, 0.0, 1.0);\n mat4 translateMat = calcTranslateMat4(vec3(0.0, sin(time) * 10.0 + 210.0, 0.0));\n mat4 scaleMat = calcScaleMat4(vec3(exponentialOut(now) * 0.6 + 0.4 + sin(time * 2.0) * 0.04));\n mat4 rotateMat = calcRotateMat4(vec3(radians(45.0), radians(time * 2.0), radians(-time * 2.0)));\n float noise = smoothstep(-0.4, 0.4, cnoise(position * 0.035 - time)) * 2.0 - 1.0;\n vec4 updatePosition = translateMat * rotateMat * scaleMat * vec4(position + normalize(position) * noise * 2.0, 1.0);\n vPosition = normalize(position);\n vOpacity = normalize(updatePosition).z;\n gl_Position = projectionMatrix * modelViewMatrix * updatePosition;\n}\n'},47272:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform sampler2D texture;\n\nvarying vec2 vUv;\n\nconst float interval = 3.0;\n\n//\n// Description : Array and textureless GLSL 2D/3D/4D simplex\n// noise functions.\n// Author : Ian McEwan, Ashima Arts.\n// Maintainer : ijm\n// Lastmod : 20110822 (ijm)\n// License : Copyright (C) 2011 Ashima Arts. All rights reserved.\n// Distributed under the MIT License. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289(vec3 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x) {\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nfloat snoise(vec3 v)\n {\n const vec2 C = vec2(1.0/6.0, 1.0/3.0) ;\n const vec4 D = vec4(0.0, 0.5, 1.0, 2.0);\n\n// First corner\n vec3 i = floor(v + dot(v, C.yyy) );\n vec3 x0 = v - i + dot(i, C.xxx) ;\n\n// Other corners\n vec3 g = step(x0.yzx, x0.xyz);\n vec3 l = 1.0 - g;\n vec3 i1 = min( g.xyz, l.zxy );\n vec3 i2 = max( g.xyz, l.zxy );\n\n // x0 = x0 - 0.0 + 0.0 * C.xxx;\n // x1 = x0 - i1 + 1.0 * C.xxx;\n // x2 = x0 - i2 + 2.0 * C.xxx;\n // x3 = x0 - 1.0 + 3.0 * C.xxx;\n vec3 x1 = x0 - i1 + C.xxx;\n vec3 x2 = x0 - i2 + C.yyy; // 2.0*C.x = 1/3 = C.y\n vec3 x3 = x0 - D.yyy; // -1.0+3.0*C.x = -0.5 = -D.y\n\n// Permutations\n i = mod289(i);\n vec4 p = permute( permute( permute(\n i.z + vec4(0.0, i1.z, i2.z, 1.0 ))\n + i.y + vec4(0.0, i1.y, i2.y, 1.0 ))\n + i.x + vec4(0.0, i1.x, i2.x, 1.0 ));\n\n// Gradients: 7x7 points over a square, mapped onto an octahedron.\n// The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294)\n float n_ = 0.142857142857; // 1.0/7.0\n vec3 ns = n_ * D.wyz - D.xzx;\n\n vec4 j = p - 49.0 * floor(p * ns.z * ns.z); // mod(p,7*7)\n\n vec4 x_ = floor(j * ns.z);\n vec4 y_ = floor(j - 7.0 * x_ ); // mod(j,N)\n\n vec4 x = x_ *ns.x + ns.yyyy;\n vec4 y = y_ *ns.x + ns.yyyy;\n vec4 h = 1.0 - abs(x) - abs(y);\n\n vec4 b0 = vec4( x.xy, y.xy );\n vec4 b1 = vec4( x.zw, y.zw );\n\n //vec4 s0 = vec4(lessThan(b0,0.0))*2.0 - 1.0;\n //vec4 s1 = vec4(lessThan(b1,0.0))*2.0 - 1.0;\n vec4 s0 = floor(b0)*2.0 + 1.0;\n vec4 s1 = floor(b1)*2.0 + 1.0;\n vec4 sh = -step(h, vec4(0.0));\n\n vec4 a0 = b0.xzyw + s0.xzyw*sh.xxyy ;\n vec4 a1 = b1.xzyw + s1.xzyw*sh.zzww ;\n\n vec3 p0 = vec3(a0.xy,h.x);\n vec3 p1 = vec3(a0.zw,h.y);\n vec3 p2 = vec3(a1.xy,h.z);\n vec3 p3 = vec3(a1.zw,h.w);\n\n//Normalise gradients\n vec4 norm = taylorInvSqrt(vec4(dot(p0,p0), dot(p1,p1), dot(p2, p2), dot(p3,p3)));\n p0 *= norm.x;\n p1 *= norm.y;\n p2 *= norm.z;\n p3 *= norm.w;\n\n// Mix final noise value\n vec4 m = max(0.6 - vec4(dot(x0,x0), dot(x1,x1), dot(x2,x2), dot(x3,x3)), 0.0);\n m = m * m;\n return 42.0 * dot( m*m, vec4( dot(p0,x0), dot(p1,x1),\n dot(p2,x2), dot(p3,x3) ) );\n }\n\nfloat cubicOut(float t) {\n float f = t - 1.0;\n return f * f * f + 1.0;\n}\n\nvoid main() {\n float now = cubicOut(min(time / interval, 1.0));\n float noise = (snoise(vec3(vUv.x * 4.0, vUv.y * 4.0, 1.0)) + 1.0) / 2.0;\n float opacity = smoothstep(0.4, 0.6, ((noise - 1.0) + now * interval) - vUv.x);\n gl_FragColor = texture2D(texture, vUv) * vec4(vec3(1.0), opacity);\n}\n"},47807:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\nuniform float time;\n\nvarying vec2 vUv;\n\nconst float interval = 3.0;\n\nfloat cubicOut(float t) {\n float f = t - 1.0;\n return f * f * f + 1.0;\n}\n\nvoid main() {\n float now = cubicOut(min(time / interval, 1.0));\n vec3 updatePosition = vec3(\n position.x * (1.2 - now * 0.2),\n position.y * (1.2 - now * 0.2),\n position.z\n );\n vUv = uv;\n gl_Position = projectionMatrix * modelViewMatrix * vec4(updatePosition, 1.0);\n}\n"},77911:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nuniform vec3 color;\nuniform sampler2D texture;\n\nvarying vec3 vColor;\nvarying float fOpacity;\n\nvoid main() {\n gl_FragColor = vec4(color * vColor, fOpacity);\n gl_FragColor = gl_FragColor * texture2D(texture, gl_PointCoord);\n}\n"},99173:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 customColor;\nattribute float vertexOpacity;\nattribute float size;\n\nvarying vec3 vColor;\nvarying float fOpacity;\n\nvoid main() {\n vColor = customColor;\n fOpacity = vertexOpacity;\n vec4 mvPosition = modelViewMatrix * vec4(position, 1.0);\n gl_PointSize = size * (300.0 / length(mvPosition.xyz));\n gl_Position = projectionMatrix * mvPosition;\n}\n"},64928:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nuniform vec2 resolution;\nuniform sampler2D velocity;\nuniform sampler2D acceleration;\nuniform vec2 anchor;\n\nvarying vec2 vUv;\n\n#define PRECISION 0.000001\n\n#ifndef PRECISION\n#define PRECISION 0.000001\n#endif\n\nvec3 drag(vec3 a, float value) {\n return normalize(a * -1.0 + PRECISION) * length(a) * value;\n}\n\nvoid main(void) {\n vec3 v = texture2D(velocity, vUv).xyz;\n vec3 a = texture2D(acceleration, vUv).xyz;\n vec3 a2 = a + normalize(vec3(\n anchor.x * resolution.x / 6.0 + PRECISION,\n 0.0,\n anchor.y * resolution.y / -2.0 + PRECISION\n ) - v) / 2.0;\n vec3 a3 = a2 + drag(a2, 0.003);\n gl_FragColor = vec4(a3, 1.0);\n}\n"},47347:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nvarying vec2 vUv;\n\nvoid main(void) {\n vUv = uv;\n gl_Position = vec4(position, 1.0);\n}\n"},95669:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nuniform float time;\nuniform sampler2D velocity;\nuniform sampler2D acceleration;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n gl_FragColor = vec4(texture2D(acceleration, vUv).xyz + texture2D(velocity, vUv).xyz, 1.0);\n}\n"},40354:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nvarying vec2 vUv;\n\nvoid main(void) {\n vUv = uv;\n gl_Position = vec4(position, 1.0);\n}\n"},46663:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nvarying float vAcceleration;\nvarying vec3 vColor;\nvarying float vOpacity;\n\nuniform float time;\n\nvec3 hsv2rgb(vec3 c){\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main(void) {\n vec3 n;\n n.xy = gl_PointCoord * 2.0 - 1.0;\n n.z = 1.0 - dot(n.xy, n.xy);\n if (n.z < 0.0) discard;\n gl_FragColor = vec4(hsv2rgb(vec3(vColor.x + time / 3600.0, vColor.y, vColor.z)), vOpacity);\n}\n"},33524:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec2 uv2;\nattribute vec3 color;\nattribute float mass;\n\nuniform sampler2D velocity;\nuniform sampler2D acceleration;\n\nvarying float vAcceleration;\nvarying vec3 vColor;\nvarying float vOpacity;\n\nvoid main(void) {\n vec4 update_position = modelViewMatrix * texture2D(velocity, uv2);\n vAcceleration = length(texture2D(acceleration, uv2).xyz) * mass;\n vColor = color;\n vOpacity = 0.6 * (300.0 / length(update_position.xyz));\n gl_PointSize = 2.0 * (300.0 / length(update_position.xyz));\n gl_Position = projectionMatrix * update_position;\n}\n"},71883:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying float vDelay;\nvarying vec3 vColor;\n\nconst float duration = 3.0;\n\nvoid main() {\n float now = mod(time + vDelay * duration, duration) / duration;\n float opacityBothEnds = smoothstep(-500.0, -400.0, vPosition.y) * (1.0 - smoothstep(400.0, 500.0, vPosition.y));\n float opacity = smoothstep(0.95, 1.0, mod(vUv.y - now, 1.0));\n\n gl_FragColor = vec4(vColor, opacity * opacityBothEnds * 0.9);\n}\n"},61915:function(e,t){"use strict";t.Z='#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\nattribute vec3 instancePosition;\nattribute float rotate;\nattribute float delay;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\nuniform float time;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying float vDelay;\nvarying vec3 vColor;\n\nmat4 calcRotateMat4X(float radian) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, cos(radian), -sin(radian), 0.0,\n 0.0, sin(radian), cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Y(float radian) {\n return mat4(\n cos(radian), 0.0, sin(radian), 0.0,\n 0.0, 1.0, 0.0, 0.0,\n -sin(radian), 0.0, cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Z(float radian) {\n return mat4(\n cos(radian), -sin(radian), 0.0, 0.0,\n sin(radian), cos(radian), 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4(vec3 radian) {\n return calcRotateMat4X(radian.x) * calcRotateMat4Y(radian.y) * calcRotateMat4Z(radian.z);\n}\n\n//\n// GLSL textureless classic 3D noise "cnoise",\n// with an RSL-style periodic variant "pnoise".\n// Author: Stefan Gustavson (stefan.gustavson@liu.se)\n// Version: 2011-10-11\n//\n// Many thanks to Ian McEwan of Ashima Arts for the\n// ideas for permutation and gradient selection.\n//\n// Copyright (c) 2011 Stefan Gustavson. All rights reserved.\n// Distributed under the MIT license. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289(vec3 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x)\n{\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nvec3 fade(vec3 t) {\n return t*t*t*(t*(t*6.0-15.0)+10.0);\n}\n\n// Classic Perlin noise\nfloat cnoise(vec3 P)\n{\n vec3 Pi0 = floor(P); // Integer part for indexing\n vec3 Pi1 = Pi0 + vec3(1.0); // Integer part + 1\n Pi0 = mod289(Pi0);\n Pi1 = mod289(Pi1);\n vec3 Pf0 = fract(P); // Fractional part for interpolation\n vec3 Pf1 = Pf0 - vec3(1.0); // Fractional part - 1.0\n vec4 ix = vec4(Pi0.x, Pi1.x, Pi0.x, Pi1.x);\n vec4 iy = vec4(Pi0.yy, Pi1.yy);\n vec4 iz0 = Pi0.zzzz;\n vec4 iz1 = Pi1.zzzz;\n\n vec4 ixy = permute(permute(ix) + iy);\n vec4 ixy0 = permute(ixy + iz0);\n vec4 ixy1 = permute(ixy + iz1);\n\n vec4 gx0 = ixy0 * (1.0 / 7.0);\n vec4 gy0 = fract(floor(gx0) * (1.0 / 7.0)) - 0.5;\n gx0 = fract(gx0);\n vec4 gz0 = vec4(0.5) - abs(gx0) - abs(gy0);\n vec4 sz0 = step(gz0, vec4(0.0));\n gx0 -= sz0 * (step(0.0, gx0) - 0.5);\n gy0 -= sz0 * (step(0.0, gy0) - 0.5);\n\n vec4 gx1 = ixy1 * (1.0 / 7.0);\n vec4 gy1 = fract(floor(gx1) * (1.0 / 7.0)) - 0.5;\n gx1 = fract(gx1);\n vec4 gz1 = vec4(0.5) - abs(gx1) - abs(gy1);\n vec4 sz1 = step(gz1, vec4(0.0));\n gx1 -= sz1 * (step(0.0, gx1) - 0.5);\n gy1 -= sz1 * (step(0.0, gy1) - 0.5);\n\n vec3 g000 = vec3(gx0.x,gy0.x,gz0.x);\n vec3 g100 = vec3(gx0.y,gy0.y,gz0.y);\n vec3 g010 = vec3(gx0.z,gy0.z,gz0.z);\n vec3 g110 = vec3(gx0.w,gy0.w,gz0.w);\n vec3 g001 = vec3(gx1.x,gy1.x,gz1.x);\n vec3 g101 = vec3(gx1.y,gy1.y,gz1.y);\n vec3 g011 = vec3(gx1.z,gy1.z,gz1.z);\n vec3 g111 = vec3(gx1.w,gy1.w,gz1.w);\n\n vec4 norm0 = taylorInvSqrt(vec4(dot(g000, g000), dot(g010, g010), dot(g100, g100), dot(g110, g110)));\n g000 *= norm0.x;\n g010 *= norm0.y;\n g100 *= norm0.z;\n g110 *= norm0.w;\n vec4 norm1 = taylorInvSqrt(vec4(dot(g001, g001), dot(g011, g011), dot(g101, g101), dot(g111, g111)));\n g001 *= norm1.x;\n g011 *= norm1.y;\n g101 *= norm1.z;\n g111 *= norm1.w;\n\n float n000 = dot(g000, Pf0);\n float n100 = dot(g100, vec3(Pf1.x, Pf0.yz));\n float n010 = dot(g010, vec3(Pf0.x, Pf1.y, Pf0.z));\n float n110 = dot(g110, vec3(Pf1.xy, Pf0.z));\n float n001 = dot(g001, vec3(Pf0.xy, Pf1.z));\n float n101 = dot(g101, vec3(Pf1.x, Pf0.y, Pf1.z));\n float n011 = dot(g011, vec3(Pf0.x, Pf1.yz));\n float n111 = dot(g111, Pf1);\n\n vec3 fade_xyz = fade(Pf0);\n vec4 n_z = mix(vec4(n000, n100, n010, n110), vec4(n001, n101, n011, n111), fade_xyz.z);\n vec2 n_yz = mix(n_z.xy, n_z.zw, fade_xyz.y);\n float n_xyz = mix(n_yz.x, n_yz.y, fade_xyz.x);\n return 2.2 * n_xyz;\n}\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main(void) {\n // calculate posiitons of instances.\n vec3 wavePosition = vec3(0.0, 0.0, sin(radians(position.y / 3.6) + time * 0.1 + delay * 9.0) * 50.0);\n vec3 updatePosition = position + instancePosition + wavePosition;\n mat4 rotateMat = calcRotateMat4(vec3(radians(90.0), 0.0, radians(rotate)));\n vec4 mvPosition = modelViewMatrix * rotateMat * vec4(updatePosition, 1.0);\n\n // calculate interval for uv animation and setting color.\n float noise = cnoise(updatePosition / 100.0) * 0.5 + time * 0.1;\n vec3 hsv = vec3(noise, 0.45, 1.0);\n vec3 rgb = convertHsvToRgb(hsv);\n\n vPosition = position;\n vUv = uv;\n vDelay = delay;\n vColor = rgb;\n\n gl_Position = projectionMatrix * mvPosition;\n}\n'},7401:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nvarying vec3 vColor;\nvarying float vOpacity;\n\nvoid main() {\n // to round.\n vec3 n;\n n.xy = gl_PointCoord * 2.0 - 1.0;\n n.z = 1.0 - dot(n.xy, n.xy);\n if (n.z < 0.0) discard;\n\n gl_FragColor = vec4(vColor, vOpacity);\n}\n"},61765:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\n\nuniform vec3 cameraPosition;\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\nuniform mat4 modelMatrix;\nuniform float time;\n\nvarying vec3 vColor;\nvarying float vOpacity;\n\n//\n// Description : Array and textureless GLSL 2D/3D/4D simplex\n// noise functions.\n// Author : Ian McEwan, Ashima Arts.\n// Maintainer : ijm\n// Lastmod : 20110822 (ijm)\n// License : Copyright (C) 2011 Ashima Arts. All rights reserved.\n// Distributed under the MIT License. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289(vec3 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x) {\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nfloat snoise(vec3 v)\n {\n const vec2 C = vec2(1.0/6.0, 1.0/3.0) ;\n const vec4 D = vec4(0.0, 0.5, 1.0, 2.0);\n\n// First corner\n vec3 i = floor(v + dot(v, C.yyy) );\n vec3 x0 = v - i + dot(i, C.xxx) ;\n\n// Other corners\n vec3 g = step(x0.yzx, x0.xyz);\n vec3 l = 1.0 - g;\n vec3 i1 = min( g.xyz, l.zxy );\n vec3 i2 = max( g.xyz, l.zxy );\n\n // x0 = x0 - 0.0 + 0.0 * C.xxx;\n // x1 = x0 - i1 + 1.0 * C.xxx;\n // x2 = x0 - i2 + 2.0 * C.xxx;\n // x3 = x0 - 1.0 + 3.0 * C.xxx;\n vec3 x1 = x0 - i1 + C.xxx;\n vec3 x2 = x0 - i2 + C.yyy; // 2.0*C.x = 1/3 = C.y\n vec3 x3 = x0 - D.yyy; // -1.0+3.0*C.x = -0.5 = -D.y\n\n// Permutations\n i = mod289(i);\n vec4 p = permute( permute( permute(\n i.z + vec4(0.0, i1.z, i2.z, 1.0 ))\n + i.y + vec4(0.0, i1.y, i2.y, 1.0 ))\n + i.x + vec4(0.0, i1.x, i2.x, 1.0 ));\n\n// Gradients: 7x7 points over a square, mapped onto an octahedron.\n// The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294)\n float n_ = 0.142857142857; // 1.0/7.0\n vec3 ns = n_ * D.wyz - D.xzx;\n\n vec4 j = p - 49.0 * floor(p * ns.z * ns.z); // mod(p,7*7)\n\n vec4 x_ = floor(j * ns.z);\n vec4 y_ = floor(j - 7.0 * x_ ); // mod(j,N)\n\n vec4 x = x_ *ns.x + ns.yyyy;\n vec4 y = y_ *ns.x + ns.yyyy;\n vec4 h = 1.0 - abs(x) - abs(y);\n\n vec4 b0 = vec4( x.xy, y.xy );\n vec4 b1 = vec4( x.zw, y.zw );\n\n //vec4 s0 = vec4(lessThan(b0,0.0))*2.0 - 1.0;\n //vec4 s1 = vec4(lessThan(b1,0.0))*2.0 - 1.0;\n vec4 s0 = floor(b0)*2.0 + 1.0;\n vec4 s1 = floor(b1)*2.0 + 1.0;\n vec4 sh = -step(h, vec4(0.0));\n\n vec4 a0 = b0.xzyw + s0.xzyw*sh.xxyy ;\n vec4 a1 = b1.xzyw + s1.xzyw*sh.zzww ;\n\n vec3 p0 = vec3(a0.xy,h.x);\n vec3 p1 = vec3(a0.zw,h.y);\n vec3 p2 = vec3(a1.xy,h.z);\n vec3 p3 = vec3(a1.zw,h.w);\n\n//Normalise gradients\n vec4 norm = taylorInvSqrt(vec4(dot(p0,p0), dot(p1,p1), dot(p2, p2), dot(p3,p3)));\n p0 *= norm.x;\n p1 *= norm.y;\n p2 *= norm.z;\n p3 *= norm.w;\n\n// Mix final noise value\n vec4 m = max(0.6 - vec4(dot(x0,x0), dot(x1,x1), dot(x2,x2), dot(x3,x3)), 0.0);\n m = m * m;\n return 42.0 * dot( m*m, vec4( dot(p0,x0), dot(p1,x1),\n dot(p2,x2), dot(p3,x3) ) );\n }\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n vec4 mvPosition = modelViewMatrix * vec4(position, 1.0);\n\n float noise1 = snoise(mvPosition.xyz * 0.046 + vec3(-time, time, time) * 0.3);\n float noise2 = snoise(mvPosition.xyz * 0.0012 + vec3(time, -time, time) * 0.01);\n\n vec3 hsv = vec3(noise2 * 0.2 + time * 0.1, 1.0, 0.6);\n vec3 rgb = convertHsvToRgb(hsv);\n\n vColor = rgb;\n vOpacity = pow(40.0 / length(mvPosition.xyz) * noise1, 2.0);\n\n gl_Position = projectionMatrix * mvPosition;\n gl_PointSize = 600.0 / length(mvPosition.xyz) * noise1;\n}\n"},29608:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying float vOpacity;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n vec3 hsv = vec3(0.13, 0.3, 1.0);\n vec3 rgb = convertHsvToRgb(hsv);\n\n gl_FragColor = vec4(rgb, vOpacity);\n}\n"},42832:function(e,t){"use strict";t.Z='#define GLSLIFY 1\nattribute vec3 position;\nattribute vec3 normal;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform float time;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying float vOpacity;\n\nfloat quadraticOut(float t) {\n return -t * (t - 2.0);\n}\n\n//\n// GLSL textureless classic 3D noise "cnoise",\n// with an RSL-style periodic variant "pnoise".\n// Author: Stefan Gustavson (stefan.gustavson@liu.se)\n// Version: 2011-10-11\n//\n// Many thanks to Ian McEwan of Ashima Arts for the\n// ideas for permutation and gradient selection.\n//\n// Copyright (c) 2011 Stefan Gustavson. All rights reserved.\n// Distributed under the MIT license. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289(vec3 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x)\n{\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nvec3 fade(vec3 t) {\n return t*t*t*(t*(t*6.0-15.0)+10.0);\n}\n\n// Classic Perlin noise\nfloat cnoise(vec3 P)\n{\n vec3 Pi0 = floor(P); // Integer part for indexing\n vec3 Pi1 = Pi0 + vec3(1.0); // Integer part + 1\n Pi0 = mod289(Pi0);\n Pi1 = mod289(Pi1);\n vec3 Pf0 = fract(P); // Fractional part for interpolation\n vec3 Pf1 = Pf0 - vec3(1.0); // Fractional part - 1.0\n vec4 ix = vec4(Pi0.x, Pi1.x, Pi0.x, Pi1.x);\n vec4 iy = vec4(Pi0.yy, Pi1.yy);\n vec4 iz0 = Pi0.zzzz;\n vec4 iz1 = Pi1.zzzz;\n\n vec4 ixy = permute(permute(ix) + iy);\n vec4 ixy0 = permute(ixy + iz0);\n vec4 ixy1 = permute(ixy + iz1);\n\n vec4 gx0 = ixy0 * (1.0 / 7.0);\n vec4 gy0 = fract(floor(gx0) * (1.0 / 7.0)) - 0.5;\n gx0 = fract(gx0);\n vec4 gz0 = vec4(0.5) - abs(gx0) - abs(gy0);\n vec4 sz0 = step(gz0, vec4(0.0));\n gx0 -= sz0 * (step(0.0, gx0) - 0.5);\n gy0 -= sz0 * (step(0.0, gy0) - 0.5);\n\n vec4 gx1 = ixy1 * (1.0 / 7.0);\n vec4 gy1 = fract(floor(gx1) * (1.0 / 7.0)) - 0.5;\n gx1 = fract(gx1);\n vec4 gz1 = vec4(0.5) - abs(gx1) - abs(gy1);\n vec4 sz1 = step(gz1, vec4(0.0));\n gx1 -= sz1 * (step(0.0, gx1) - 0.5);\n gy1 -= sz1 * (step(0.0, gy1) - 0.5);\n\n vec3 g000 = vec3(gx0.x,gy0.x,gz0.x);\n vec3 g100 = vec3(gx0.y,gy0.y,gz0.y);\n vec3 g010 = vec3(gx0.z,gy0.z,gz0.z);\n vec3 g110 = vec3(gx0.w,gy0.w,gz0.w);\n vec3 g001 = vec3(gx1.x,gy1.x,gz1.x);\n vec3 g101 = vec3(gx1.y,gy1.y,gz1.y);\n vec3 g011 = vec3(gx1.z,gy1.z,gz1.z);\n vec3 g111 = vec3(gx1.w,gy1.w,gz1.w);\n\n vec4 norm0 = taylorInvSqrt(vec4(dot(g000, g000), dot(g010, g010), dot(g100, g100), dot(g110, g110)));\n g000 *= norm0.x;\n g010 *= norm0.y;\n g100 *= norm0.z;\n g110 *= norm0.w;\n vec4 norm1 = taylorInvSqrt(vec4(dot(g001, g001), dot(g011, g011), dot(g101, g101), dot(g111, g111)));\n g001 *= norm1.x;\n g011 *= norm1.y;\n g101 *= norm1.z;\n g111 *= norm1.w;\n\n float n000 = dot(g000, Pf0);\n float n100 = dot(g100, vec3(Pf1.x, Pf0.yz));\n float n010 = dot(g010, vec3(Pf0.x, Pf1.y, Pf0.z));\n float n110 = dot(g110, vec3(Pf1.xy, Pf0.z));\n float n001 = dot(g001, vec3(Pf0.xy, Pf1.z));\n float n101 = dot(g101, vec3(Pf1.x, Pf0.y, Pf1.z));\n float n011 = dot(g011, vec3(Pf0.x, Pf1.yz));\n float n111 = dot(g111, Pf1);\n\n vec3 fade_xyz = fade(Pf0);\n vec4 n_z = mix(vec4(n000, n100, n010, n110), vec4(n001, n101, n011, n111), fade_xyz.z);\n vec2 n_yz = mix(n_z.xy, n_z.zw, fade_xyz.y);\n float n_xyz = mix(n_yz.x, n_yz.y, fade_xyz.x);\n return 2.2 * n_xyz;\n}\n\nvoid main(void) {\n vec2 p = uv * 2.0 - 1.0;\n\n float circle = quadraticOut(clamp(1.0 - length(p), 0.0, 1.0));\n float noise = cnoise(position * 0.05 + vec3(0.0, 0.0, time) * 0.1);\n vec3 noisePosition = normalize(position) * noise * 0.0;\n\n float noiseA = cnoise(vec3(p.x + cos(time), length(p) * 20.0, p.y + sin(time)));\n\n // coordinate transformation\n vec3 updatePosition = noisePosition + position;\n vec4 mPosition = modelMatrix * vec4(updatePosition, 1.0);\n vec4 mvPosition = viewMatrix * mPosition;\n\n vPosition = updatePosition;\n vUv = uv;\n vOpacity = circle * noiseA * 2.0;\n\n gl_Position = projectionMatrix * mvPosition;\n}\n'},51261:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nvarying vec3 vColor;\n\nvoid main() {\n gl_FragColor = vec4(vColor, 1.0);\n}\n"},6834:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\nuniform float time;\n\nvarying vec3 vColor;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main(void) {\n vec2 p = uv * 2.0 - 1.0;\n // calculate gradation\n vec3 hsv = vec3(0.13, 0.8, p.y * 0.8 + 0.04);\n vec3 rgb = convertHsvToRgb(hsv);\n\n // coordinate transformation\n vec4 mvPosition = modelViewMatrix * vec4(position, 1.0);\n\n vColor = rgb;\n\n gl_Position = projectionMatrix * mvPosition;\n}\n"},34566:function(e,t){"use strict";t.Z="#extension GL_OES_standard_derivatives : enable\nprecision highp float;\n#define GLSLIFY 1\n\nuniform sampler2D tex;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n // Flat Shading\n vec3 light = normalize(vec3(0.5, 0.5, 1.0));\n vec3 normal = normalize(cross(dFdx(vPosition), dFdy(vPosition)));\n float d = (dot(normal, light) + 1.0) / 2.0;\n float glow = smoothstep(0.85, 1.0, d);\n float shadow = d;\n\n // define colors.\n vec3 hsv = vec3(0.13, 1.0 - glow * 0.8, (shadow + glow * 6.0) / 8.0);\n vec3 rgb = convertHsvToRgb(hsv);\n\n vec4 texColor = texture2D(tex, vUv);\n gl_FragColor = vec4(rgb, 1.0) * texColor;\n}\n"},11530:function(e,t){"use strict";t.Z='#define GLSLIFY 1\nattribute vec3 position;\nattribute vec3 normal;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform mat3 normalMatrix;\nuniform float time;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\n\n//\n// GLSL textureless classic 3D noise "cnoise",\n// with an RSL-style periodic variant "pnoise".\n// Author: Stefan Gustavson (stefan.gustavson@liu.se)\n// Version: 2011-10-11\n//\n// Many thanks to Ian McEwan of Ashima Arts for the\n// ideas for permutation and gradient selection.\n//\n// Copyright (c) 2011 Stefan Gustavson. All rights reserved.\n// Distributed under the MIT license. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289(vec3 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x)\n{\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nvec3 fade(vec3 t) {\n return t*t*t*(t*(t*6.0-15.0)+10.0);\n}\n\n// Classic Perlin noise\nfloat cnoise(vec3 P)\n{\n vec3 Pi0 = floor(P); // Integer part for indexing\n vec3 Pi1 = Pi0 + vec3(1.0); // Integer part + 1\n Pi0 = mod289(Pi0);\n Pi1 = mod289(Pi1);\n vec3 Pf0 = fract(P); // Fractional part for interpolation\n vec3 Pf1 = Pf0 - vec3(1.0); // Fractional part - 1.0\n vec4 ix = vec4(Pi0.x, Pi1.x, Pi0.x, Pi1.x);\n vec4 iy = vec4(Pi0.yy, Pi1.yy);\n vec4 iz0 = Pi0.zzzz;\n vec4 iz1 = Pi1.zzzz;\n\n vec4 ixy = permute(permute(ix) + iy);\n vec4 ixy0 = permute(ixy + iz0);\n vec4 ixy1 = permute(ixy + iz1);\n\n vec4 gx0 = ixy0 * (1.0 / 7.0);\n vec4 gy0 = fract(floor(gx0) * (1.0 / 7.0)) - 0.5;\n gx0 = fract(gx0);\n vec4 gz0 = vec4(0.5) - abs(gx0) - abs(gy0);\n vec4 sz0 = step(gz0, vec4(0.0));\n gx0 -= sz0 * (step(0.0, gx0) - 0.5);\n gy0 -= sz0 * (step(0.0, gy0) - 0.5);\n\n vec4 gx1 = ixy1 * (1.0 / 7.0);\n vec4 gy1 = fract(floor(gx1) * (1.0 / 7.0)) - 0.5;\n gx1 = fract(gx1);\n vec4 gz1 = vec4(0.5) - abs(gx1) - abs(gy1);\n vec4 sz1 = step(gz1, vec4(0.0));\n gx1 -= sz1 * (step(0.0, gx1) - 0.5);\n gy1 -= sz1 * (step(0.0, gy1) - 0.5);\n\n vec3 g000 = vec3(gx0.x,gy0.x,gz0.x);\n vec3 g100 = vec3(gx0.y,gy0.y,gz0.y);\n vec3 g010 = vec3(gx0.z,gy0.z,gz0.z);\n vec3 g110 = vec3(gx0.w,gy0.w,gz0.w);\n vec3 g001 = vec3(gx1.x,gy1.x,gz1.x);\n vec3 g101 = vec3(gx1.y,gy1.y,gz1.y);\n vec3 g011 = vec3(gx1.z,gy1.z,gz1.z);\n vec3 g111 = vec3(gx1.w,gy1.w,gz1.w);\n\n vec4 norm0 = taylorInvSqrt(vec4(dot(g000, g000), dot(g010, g010), dot(g100, g100), dot(g110, g110)));\n g000 *= norm0.x;\n g010 *= norm0.y;\n g100 *= norm0.z;\n g110 *= norm0.w;\n vec4 norm1 = taylorInvSqrt(vec4(dot(g001, g001), dot(g011, g011), dot(g101, g101), dot(g111, g111)));\n g001 *= norm1.x;\n g011 *= norm1.y;\n g101 *= norm1.z;\n g111 *= norm1.w;\n\n float n000 = dot(g000, Pf0);\n float n100 = dot(g100, vec3(Pf1.x, Pf0.yz));\n float n010 = dot(g010, vec3(Pf0.x, Pf1.y, Pf0.z));\n float n110 = dot(g110, vec3(Pf1.xy, Pf0.z));\n float n001 = dot(g001, vec3(Pf0.xy, Pf1.z));\n float n101 = dot(g101, vec3(Pf1.x, Pf0.y, Pf1.z));\n float n011 = dot(g011, vec3(Pf0.x, Pf1.yz));\n float n111 = dot(g111, Pf1);\n\n vec3 fade_xyz = fade(Pf0);\n vec4 n_z = mix(vec4(n000, n100, n010, n110), vec4(n001, n101, n011, n111), fade_xyz.z);\n vec2 n_yz = mix(n_z.xy, n_z.zw, fade_xyz.y);\n float n_xyz = mix(n_yz.x, n_yz.y, fade_xyz.x);\n return 2.2 * n_xyz;\n}\n\nvoid main(void) {\n //\n float noise = cnoise(position * 0.8 + time * 0.4) * (sin(position.y - time * 0.8) * 1.4 + sin(position.y - time * 2.0) * 0.6) / 2.0;\n vec3 noisePosition = normalize(position * vec3(1.0, 0.0, 1.0)) * pow(noise, 2.0) * 0.8;\n\n // coordinate transformation\n vec4 mvPosition = viewMatrix * modelMatrix * vec4(position + noisePosition, 1.0);\n\n vPosition = (modelMatrix * vec4(position + noisePosition, 0.0)).xyz;\n vUv = uv;\n\n gl_Position = projectionMatrix * mvPosition;\n}\n'},29808:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nvarying vec3 vColor;\nvarying float vOpacity;\n\nvoid main() {\n // Convert PointCoord to a range from -1.0 to 1.0\n vec2 p = gl_PointCoord * 2.0 - 1.0;\n\n // Draw double circle\n float radius = length(p);\n float opacity = (1.0 - smoothstep(0.2, 1.0, radius)) * vOpacity;\n\n gl_FragColor = vec4(vColor, opacity);\n}\n"},47869:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute float delay1;\nattribute float delay2;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\nuniform float time;\n\nvarying vec3 vColor;\nvarying float vOpacity;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nconst float duration = 120.0;\n\nvoid main() {\n // Loop animation\n float interval = mod(time + delay1, duration) / duration;\n vec3 move = vec3(\n cos(time * 0.5 + delay1) * 2.0,\n interval * 100.0,\n sin(time * 0.5 + delay2) * 2.0\n );\n\n // calculate gradation with position.y\n vec3 hsv = vec3(0.14, 0.65, 0.85);\n vec3 rgb = convertHsvToRgb(hsv);\n\n // calculate opacity.\n float fadeIn = smoothstep(0.0, 10.0, move.y);\n float blink = sin(time * 0.1 + delay2);\n\n // coordinate transformation\n vec4 mvPosition = modelViewMatrix * vec4(position + move, 1.0);\n float distanceFromCamera = 1000.0 / length(mvPosition.xyz);\n\n vColor = rgb;\n vOpacity = fadeIn * blink;\n\n gl_Position = projectionMatrix * mvPosition;\n gl_PointSize = distanceFromCamera;\n}\n"},16918:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform sampler2D texture;\nuniform vec2 resolution;\n\nvarying vec2 vUv;\n\nconst float godrayIteration = 60.0;\nconst float godrayStrength = 20.0;\n\nfloat random2(vec2 c){\n return fract(sin(dot(c.xy, vec2(12.9898, 78.233))) * 43758.5453);\n}\nfloat randomNoise(vec2 p) {\n return (random2(p - vec2(sin(time))) * 2.0 - 1.0) * 0.04;\n}\n\nvoid main() {\n // Convert uv to the other vec2 has a range from -1.0 to 1.0.\n vec2 p = vUv * 2.0 - 1.0;\n vec2 ratio = 1.0 / resolution;\n\n // Random Noise\n float rNoise = randomNoise(vUv);\n\n // RGB Shift\n float texColorR = texture2D(texture, vUv - vec2((2.0 * abs(p.x) + 1.0) * ratio.x, 0.0)).r;\n float texColorG = texture2D(texture, vUv + vec2((2.0 * abs(p.x) + 1.0) * ratio.x, 0.0)).g;\n float texColorB = texture2D(texture, vUv).b;\n\n // godray\n vec2 godrayCenter = vec2(0.5);\n vec3 godrayDestColor = vec3(0.0);\n float godrayTotalWeight = 0.0;\n\n for (float i = 0.0; i < 60.0; i++) {\n float alpha = i / godrayIteration; // step in loop [0, 1].\n float weight = alpha - alpha * alpha; // conic curve [0, 0.25, 0].\n vec2 shiftUv = vUv - (vUv - godrayCenter) * alpha * godrayStrength / godrayIteration; // define a range of to shift UV.\n godrayDestColor += texture2D(texture, shiftUv).rgb * weight; // draw gradation.\n godrayTotalWeight += weight;\n }\n vec3 godray = godrayDestColor / godrayTotalWeight;\n\n // Sum total of colors.\n vec3 color = vec3(texColorR, texColorG, texColorB) + rNoise + godray;\n\n gl_FragColor = vec4(color, 1.0);\n}\n"},59933:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nvarying vec2 vUv;\n\nvoid main() {\n vUv = uv;\n\n gl_Position = vec4(position, 1.0);\n}\n"},83257:function(e,t){"use strict";t.Z='precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform sampler2D texHannyaShingyo;\n\nvarying vec3 vPositionNoise;\nvarying vec2 vUv;\nvarying vec2 vUvBase;\nvarying float vOpacity;\nvarying float vStep;\n\n//\n// GLSL textureless classic 3D noise "cnoise",\n// with an RSL-style periodic variant "pnoise".\n// Author: Stefan Gustavson (stefan.gustavson@liu.se)\n// Version: 2011-10-11\n//\n// Many thanks to Ian McEwan of Ashima Arts for the\n// ideas for permutation and gradient selection.\n//\n// Copyright (c) 2011 Stefan Gustavson. All rights reserved.\n// Distributed under the MIT license. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289(vec3 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x)\n{\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nvec3 fade(vec3 t) {\n return t*t*t*(t*(t*6.0-15.0)+10.0);\n}\n\n// Classic Perlin noise\nfloat cnoise(vec3 P)\n{\n vec3 Pi0 = floor(P); // Integer part for indexing\n vec3 Pi1 = Pi0 + vec3(1.0); // Integer part + 1\n Pi0 = mod289(Pi0);\n Pi1 = mod289(Pi1);\n vec3 Pf0 = fract(P); // Fractional part for interpolation\n vec3 Pf1 = Pf0 - vec3(1.0); // Fractional part - 1.0\n vec4 ix = vec4(Pi0.x, Pi1.x, Pi0.x, Pi1.x);\n vec4 iy = vec4(Pi0.yy, Pi1.yy);\n vec4 iz0 = Pi0.zzzz;\n vec4 iz1 = Pi1.zzzz;\n\n vec4 ixy = permute(permute(ix) + iy);\n vec4 ixy0 = permute(ixy + iz0);\n vec4 ixy1 = permute(ixy + iz1);\n\n vec4 gx0 = ixy0 * (1.0 / 7.0);\n vec4 gy0 = fract(floor(gx0) * (1.0 / 7.0)) - 0.5;\n gx0 = fract(gx0);\n vec4 gz0 = vec4(0.5) - abs(gx0) - abs(gy0);\n vec4 sz0 = step(gz0, vec4(0.0));\n gx0 -= sz0 * (step(0.0, gx0) - 0.5);\n gy0 -= sz0 * (step(0.0, gy0) - 0.5);\n\n vec4 gx1 = ixy1 * (1.0 / 7.0);\n vec4 gy1 = fract(floor(gx1) * (1.0 / 7.0)) - 0.5;\n gx1 = fract(gx1);\n vec4 gz1 = vec4(0.5) - abs(gx1) - abs(gy1);\n vec4 sz1 = step(gz1, vec4(0.0));\n gx1 -= sz1 * (step(0.0, gx1) - 0.5);\n gy1 -= sz1 * (step(0.0, gy1) - 0.5);\n\n vec3 g000 = vec3(gx0.x,gy0.x,gz0.x);\n vec3 g100 = vec3(gx0.y,gy0.y,gz0.y);\n vec3 g010 = vec3(gx0.z,gy0.z,gz0.z);\n vec3 g110 = vec3(gx0.w,gy0.w,gz0.w);\n vec3 g001 = vec3(gx1.x,gy1.x,gz1.x);\n vec3 g101 = vec3(gx1.y,gy1.y,gz1.y);\n vec3 g011 = vec3(gx1.z,gy1.z,gz1.z);\n vec3 g111 = vec3(gx1.w,gy1.w,gz1.w);\n\n vec4 norm0 = taylorInvSqrt(vec4(dot(g000, g000), dot(g010, g010), dot(g100, g100), dot(g110, g110)));\n g000 *= norm0.x;\n g010 *= norm0.y;\n g100 *= norm0.z;\n g110 *= norm0.w;\n vec4 norm1 = taylorInvSqrt(vec4(dot(g001, g001), dot(g011, g011), dot(g101, g101), dot(g111, g111)));\n g001 *= norm1.x;\n g011 *= norm1.y;\n g101 *= norm1.z;\n g111 *= norm1.w;\n\n float n000 = dot(g000, Pf0);\n float n100 = dot(g100, vec3(Pf1.x, Pf0.yz));\n float n010 = dot(g010, vec3(Pf0.x, Pf1.y, Pf0.z));\n float n110 = dot(g110, vec3(Pf1.xy, Pf0.z));\n float n001 = dot(g001, vec3(Pf0.xy, Pf1.z));\n float n101 = dot(g101, vec3(Pf1.x, Pf0.y, Pf1.z));\n float n011 = dot(g011, vec3(Pf0.x, Pf1.yz));\n float n111 = dot(g111, Pf1);\n\n vec3 fade_xyz = fade(Pf0);\n vec4 n_z = mix(vec4(n000, n100, n010, n110), vec4(n001, n101, n011, n111), fade_xyz.z);\n vec2 n_yz = mix(n_z.xy, n_z.zw, fade_xyz.y);\n float n_xyz = mix(n_yz.x, n_yz.y, fade_xyz.x);\n return 2.2 * n_xyz;\n}\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n // coordinate tex color.\n vec4 texColor = texture2D(texHannyaShingyo, vUv);\n\n // coordinate cross fade alpha value with delay.\n float dRange = 0.1;\n float crossFadeDelay = vUvBase.y * dRange;\n float crossFade = smoothstep(crossFadeDelay, crossFadeDelay + 0.3, vStep)\n * (1.0 - smoothstep(crossFadeDelay + 0.7 - dRange, crossFadeDelay + 1.0 - dRange, vStep));\n\n // dissolve effect.\n float noise1 = cnoise(vec3(vPositionNoise * 0.7));\n float noise2 = cnoise(vec3(vPositionNoise * 1.8));\n float noiseAll = (noise1 * 2.0 + noise2 * 0.4) / 2.4;\n float noise = (noiseAll * 0.5 + 0.5) + (crossFade * 2.0 - 1.0);\n float disolveMask = smoothstep(0.28, 0.3, noise);\n vec4 disolve = vec4(convertHsvToRgb(vec3(0.13, 0.9, 0.75)), 1.0) * disolveMask;\n float disolveEdgeMask = smoothstep(0.0, 0.02, noise) * (1.0 - smoothstep(0.28, 0.3, noise));\n vec4 disolveEdge = vec4(convertHsvToRgb(vec3(0.13, 0.4, 1.0)), 1.0) * disolveEdgeMask;\n\n // glow\n float glow = cnoise(vPositionNoise * 0.25 + time) * 0.5;\n\n gl_FragColor = (disolve + disolveEdge + vec4(vec3(glow), 0.0)) * vOpacity * texColor.a;\n}\n'},46301:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\nattribute vec3 iPosition;\nattribute vec2 iUv;\nattribute float iId;\nattribute float iTime;\nattribute float iIsAnimated;\nattribute float iScale;\nattribute float iMove;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\nuniform float time;\nuniform float unitUv;\nuniform float duration;\n\nvarying vec3 vPositionNoise;\nvarying vec2 vUv;\nvarying vec2 vUvBase;\nvarying float vOpacity;\nvarying float vStep;\n\nmat4 calcScaleMat4(vec3 scale) {\n return mat4(\n scale.x, 0.0, 0.0, 0.0,\n 0.0, scale.y, 0.0, 0.0,\n 0.0, 0.0, scale.z, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4X(float radian) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, cos(radian), -sin(radian), 0.0,\n 0.0, sin(radian), cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Y(float radian) {\n return mat4(\n cos(radian), 0.0, sin(radian), 0.0,\n 0.0, 1.0, 0.0, 0.0,\n -sin(radian), 0.0, cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Z(float radian) {\n return mat4(\n cos(radian), -sin(radian), 0.0, 0.0,\n sin(radian), cos(radian), 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4(vec3 radian) {\n return calcRotateMat4X(radian.x) * calcRotateMat4Y(radian.y) * calcRotateMat4Z(radian.z);\n}\n\nvoid main(void) {\n vec3 move = vec3(0.0, iTime / duration * iMove, 0.0);\n mat4 scaleMat = calcScaleMat4(vec3(iScale));\n mat4 rotateMat = calcRotateMat4(vec3(\n radians(sin(time * 0.3 + iId * 30.0) * 30.0),\n radians(cos(time * 0.3 + iId * 30.0) * 45.0),\n radians(cos(time * 0.3 + iId * 30.0) * 30.0)\n ));\n vec3 updatePosition = (rotateMat * scaleMat * vec4(position, 1.0)).xyz;\n\n // coordinate transformation\n vec4 mvPosition = modelViewMatrix * vec4(iPosition + move + updatePosition, 1.0);\n\n vPositionNoise = position + iId;\n vUv = uv * unitUv + iUv;\n vUvBase = uv;\n vOpacity = iIsAnimated;\n vStep = iTime / duration;\n\n gl_Position = projectionMatrix * mvPosition;\n}\n"},76100:function(e,t){"use strict";t.Z="#extension GL_OES_standard_derivatives : enable\nprecision highp float;\n#define GLSLIFY 1\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying float vOpacity;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n // Flat Shading\n vec3 light = normalize(vec3(0.5, 0.5, 1.0));\n vec3 normal = normalize(cross(dFdx(vPosition), dFdy(vPosition)));\n float diff = (dot(normal, light) + 1.0) / 2.0;\n float glow = smoothstep(0.9, 1.0, diff);\n\n vec3 hsv = vec3(0.13, 1.0 - glow * 0.8, 0.05 + glow * 0.95);\n vec3 rgb = convertHsvToRgb(hsv);\n\n gl_FragColor = vec4(rgb, vOpacity);\n}\n"},67467:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec3 normal;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform mat3 normalMatrix;\nuniform float time;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying float vOpacity;\n\nvoid main(void) {\n vec2 p = uv * 2.0 - 1.0;\n\n // wave motion.\n float force = pow(smoothstep(0.0, 0.5, length(p)) * (1.0 - smoothstep(0.5, 1.0, length(p))), 2.0) * 1.8;\n vec3 wave = vec3(0.0, 0.0, (sin(-time * 4.0 + length(p.xy) * 24.0) * 0.5 + 0.5) * force);\n\n // coordinate transformation\n vec3 updatePosition = position + wave;\n vec4 mvPosition = viewMatrix * modelMatrix * vec4(updatePosition, 1.0);\n\n vPosition = updatePosition;\n vUv = uv;\n vOpacity = 1.0 - smoothstep(0.9, 1.0, length(p));\n\n gl_Position = projectionMatrix * mvPosition;\n}\n"},34326:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform float size;\nuniform sampler2D texture;\nuniform float colorH;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying float vOpacity;\n\n//\n// Description : Array and textureless GLSL 2D/3D/4D simplex\n// noise functions.\n// Author : Ian McEwan, Ashima Arts.\n// Maintainer : ijm\n// Lastmod : 20110822 (ijm)\n// License : Copyright (C) 2011 Ashima Arts. All rights reserved.\n// Distributed under the MIT License. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289(vec3 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x) {\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nfloat snoise(vec3 v)\n {\n const vec2 C = vec2(1.0/6.0, 1.0/3.0) ;\n const vec4 D = vec4(0.0, 0.5, 1.0, 2.0);\n\n// First corner\n vec3 i = floor(v + dot(v, C.yyy) );\n vec3 x0 = v - i + dot(i, C.xxx) ;\n\n// Other corners\n vec3 g = step(x0.yzx, x0.xyz);\n vec3 l = 1.0 - g;\n vec3 i1 = min( g.xyz, l.zxy );\n vec3 i2 = max( g.xyz, l.zxy );\n\n // x0 = x0 - 0.0 + 0.0 * C.xxx;\n // x1 = x0 - i1 + 1.0 * C.xxx;\n // x2 = x0 - i2 + 2.0 * C.xxx;\n // x3 = x0 - 1.0 + 3.0 * C.xxx;\n vec3 x1 = x0 - i1 + C.xxx;\n vec3 x2 = x0 - i2 + C.yyy; // 2.0*C.x = 1/3 = C.y\n vec3 x3 = x0 - D.yyy; // -1.0+3.0*C.x = -0.5 = -D.y\n\n// Permutations\n i = mod289(i);\n vec4 p = permute( permute( permute(\n i.z + vec4(0.0, i1.z, i2.z, 1.0 ))\n + i.y + vec4(0.0, i1.y, i2.y, 1.0 ))\n + i.x + vec4(0.0, i1.x, i2.x, 1.0 ));\n\n// Gradients: 7x7 points over a square, mapped onto an octahedron.\n// The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294)\n float n_ = 0.142857142857; // 1.0/7.0\n vec3 ns = n_ * D.wyz - D.xzx;\n\n vec4 j = p - 49.0 * floor(p * ns.z * ns.z); // mod(p,7*7)\n\n vec4 x_ = floor(j * ns.z);\n vec4 y_ = floor(j - 7.0 * x_ ); // mod(j,N)\n\n vec4 x = x_ *ns.x + ns.yyyy;\n vec4 y = y_ *ns.x + ns.yyyy;\n vec4 h = 1.0 - abs(x) - abs(y);\n\n vec4 b0 = vec4( x.xy, y.xy );\n vec4 b1 = vec4( x.zw, y.zw );\n\n //vec4 s0 = vec4(lessThan(b0,0.0))*2.0 - 1.0;\n //vec4 s1 = vec4(lessThan(b1,0.0))*2.0 - 1.0;\n vec4 s0 = floor(b0)*2.0 + 1.0;\n vec4 s1 = floor(b1)*2.0 + 1.0;\n vec4 sh = -step(h, vec4(0.0));\n\n vec4 a0 = b0.xzyw + s0.xzyw*sh.xxyy ;\n vec4 a1 = b1.xzyw + s1.xzyw*sh.zzww ;\n\n vec3 p0 = vec3(a0.xy,h.x);\n vec3 p1 = vec3(a0.zw,h.y);\n vec3 p2 = vec3(a1.xy,h.z);\n vec3 p3 = vec3(a1.zw,h.w);\n\n//Normalise gradients\n vec4 norm = taylorInvSqrt(vec4(dot(p0,p0), dot(p1,p1), dot(p2, p2), dot(p3,p3)));\n p0 *= norm.x;\n p1 *= norm.y;\n p2 *= norm.z;\n p3 *= norm.w;\n\n// Mix final noise value\n vec4 m = max(0.6 - vec4(dot(x0,x0), dot(x1,x1), dot(x2,x2), dot(x3,x3)), 0.0);\n m = m * m;\n return 42.0 * dot( m*m, vec4( dot(p0,x0), dot(p1,x1),\n dot(p2,x2), dot(p3,x3) ) );\n }\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n vec4 texColor = texture2D(texture, vUv);\n\n float noise = snoise(vPosition / vec3(size * 0.25) + vec3(0.0, 0.0, time));\n vec3 hsv = vec3(colorH + noise * 0.2, 0.4, 1.0);\n vec3 rgb = convertHsvToRgb(hsv);\n\n if (texColor.a < 0.5) discard;\n\n gl_FragColor = vec4(rgb, vOpacity) * texColor;\n}\n"},72648:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform float index;\nuniform float time;\nuniform float size;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying float vOpacity;\n\nvoid main() {\n float flapTime = radians(sin(time * 4.0 - length(position.xy) / size * 2.0 + index * 2.0) * 45.0 + 30.0);\n float hovering = cos(time * 2.0 + index * 3.0) * size / 16.0;\n vec3 updatePosition = vec3(\n cos(flapTime) * position.x,\n position.y + hovering,\n sin(flapTime) * abs(position.x) + hovering\n );\n\n vPosition = position;\n vUv = uv;\n vOpacity = (1.0 - smoothstep(0.75, 1.0, abs((modelMatrix * vec4(updatePosition, 1.0)).z) / 900.0)) * 0.85;\n\n gl_Position = projectionMatrix * viewMatrix * modelMatrix * vec4(updatePosition, 1.0);\n}\n"},3410:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform sampler2D texture;\n\nvarying vec4 vUv;\n\nvoid main() {\n vec4 projectorColor;\n if (all(bvec4(vUv.x >= 0.0, vUv.y >= 0.0, vUv.x <= vUv.z, vUv.y <= vUv.z))) {\n projectorColor = texture2DProj(texture, vUv);\n }\n gl_FragColor = vec4(vec3(1.0), 0.3) * projectorColor;\n}\n"},440:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec3 normal;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform mat4 textureMatrix;\n\nvarying vec4 vUv;\n\nvoid main(void) {\n vec4 worldPosition = modelMatrix * vec4(position, 1.0);\n vUv = textureMatrix * worldPosition;\n gl_Position = projectionMatrix * viewMatrix * worldPosition;\n}\n"},13190:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nvarying vec3 vColor;\nvarying float vOpacity;\n\nvoid main() {\n // to round.\n vec3 n;\n n.xy = gl_PointCoord * 2.0 - 1.0;\n n.z = 1.0 - dot(n.xy, n.xy);\n if (n.z < 0.0) discard;\n\n gl_FragColor = vec4(vColor, vOpacity * 0.5);\n}\n"},13677:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute float colorH;\nattribute float i;\nattribute float valid;\n\nuniform vec3 cameraPosition;\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform float size;\nuniform float interval;\nuniform float time;\n\nvarying vec3 vColor;\nvarying float vOpacity;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n float thisTime = mod(time + i / size * interval, interval);\n\n vec3 updatePosition = position + vec3(\n cos(thisTime * 3.0 + i) * 3.0,\n thisTime * -16.0,\n sin(thisTime * 3.0 + i) * 3.0\n );\n vec4 mvPosition = viewMatrix * modelMatrix * vec4(updatePosition, 1.0);\n\n vec3 hsv = vec3(colorH + sin(i) * 0.075, 0.8, 1.0);\n\n vColor = convertHsvToRgb(hsv);\n vOpacity = smoothstep(interval * 0.0, interval * 0.1, thisTime)\n * (1.0 - smoothstep(interval * 0.2, interval * 0.9, thisTime));\n\n gl_PointSize = 12000.0 / length(mvPosition.xyz);\n gl_Position = projectionMatrix * mvPosition;\n}\n"},56500:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nvarying vec2 vUv;\n\nvoid main() {\n vUv = uv;\n gl_Position = vec4(position, 1.0);\n}\n"},50413:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform sampler2D texture1;\nuniform sampler2D texture2;\n\nvarying vec2 vUv;\n\nvoid main() {\n vec4 color1 = texture2D(texture1, vUv);\n vec4 color2 = texture2D(texture2, vUv);\n gl_FragColor = color1 * 0.5 + color2;\n}\n"},92586:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform vec2 resolution;\nuniform vec2 direction;\nuniform float radius;\nuniform sampler2D texture;\n\nvarying vec2 vUv;\n\nvec4 gaussianBlur(sampler2D texture, vec2 uv, float radius, vec2 resolution, vec2 direction) {\n vec4 color = vec4(0.0);\n vec2 step = radius / resolution * direction;\n color += texture2D(texture, uv - 4.0 * step) * 0.02699548325659403;\n color += texture2D(texture, uv - 3.0 * step) * 0.06475879783294587;\n color += texture2D(texture, uv - 2.0 * step) * 0.12098536225957168;\n color += texture2D(texture, uv - 1.0 * step) * 0.17603266338214976;\n color += texture2D(texture, uv) * 0.19947114020071635;\n color += texture2D(texture, uv + 1.0 * step) * 0.17603266338214976;\n color += texture2D(texture, uv + 2.0 * step) * 0.12098536225957168;\n color += texture2D(texture, uv + 3.0 * step) * 0.06475879783294587;\n color += texture2D(texture, uv + 4.0 * step) * 0.02699548325659403;\n return color;\n}\n\nvoid main() {\n vec4 color = gaussianBlur(texture, vUv, radius, resolution, direction);\n gl_FragColor = color;\n}\n"},38913:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform float minBright;\nuniform sampler2D texture;\n\nvarying vec2 vUv;\n\nvoid main() {\n vec4 bright = max(vec4(0.0), (texture2D(texture, vUv) - minBright));\n gl_FragColor = bright;\n}\n"},83528:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying float vDelay;\nvarying vec3 vColor;\n\nconst float duration = 10.0;\n\nvoid main() {\n // calculate interval time from 0 to 1\n float now = mod(time + vDelay * duration, duration) / duration;\n\n float opacityBothEnds = smoothstep(-2000.0, -1800.0, vPosition.y) * (1.0 - smoothstep(1800.0, 2000.0, vPosition.y));\n float opacity = smoothstep(0.85, 1.0, mod(vUv.y - now, 1.0));\n\n gl_FragColor = vec4(vColor, opacity * opacityBothEnds * 0.08);\n}\n"},75923:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\nattribute vec3 instancePosition;\nattribute float delay;\nattribute float h;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\nuniform float time;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying float vDelay;\nvarying vec3 vColor;\n\nmat4 calcRotateMat4X(float radian) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, cos(radian), -sin(radian), 0.0,\n 0.0, sin(radian), cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Y(float radian) {\n return mat4(\n cos(radian), 0.0, sin(radian), 0.0,\n 0.0, 1.0, 0.0, 0.0,\n -sin(radian), 0.0, cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Z(float radian) {\n return mat4(\n cos(radian), -sin(radian), 0.0, 0.0,\n sin(radian), cos(radian), 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4(vec3 radian) {\n return calcRotateMat4X(radian.x) * calcRotateMat4Y(radian.y) * calcRotateMat4Z(radian.z);\n}\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main(void) {\n // update positions\n vec3 updatePosition = position + instancePosition;\n mat4 rotateMat = calcRotateMat4(vec3(radians(90.0), 0.0, radians(180.0)));\n\n // calculate colors\n vec3 hsv = vec3(h + time * 0.1, 0.35, 0.6);\n vec3 rgb = convertHsvToRgb(hsv);\n\n // coordinate transformation\n vec4 mvPosition = modelViewMatrix * rotateMat * vec4(updatePosition, 1.0);\n\n vPosition = position;\n vUv = uv;\n vDelay = delay;\n vColor = rgb;\n\n gl_Position = projectionMatrix * mvPosition;\n}\n"},63819:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\n\nvarying vec3 vPosition;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n // calculate colors\n vec3 hsv = vec3(time * 0.1 + 0.5, 1.0, (1.0 - abs(vPosition.y / 10000.0)) * 0.08);\n vec3 rgb = convertHsvToRgb(hsv);\n\n gl_FragColor = vec4(rgb, 1.0);\n}\n"},97550:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\n\nvarying vec3 vPosition;\n\nvoid main() {\n // coordinate transformation\n vec4 mvPosition = modelViewMatrix * vec4(position, 1.0);\n\n vPosition = position;\n\n gl_Position = projectionMatrix * mvPosition;\n}\n"},57139:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform float wave1;\nuniform float wave2;\nuniform float wave3;\nuniform float wave4;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\n\nvoid main() {\n // draw lines\n float v1 = sin(vUv.y * wave1 + time * 0.2);\n float v2 = sin(vUv.y * wave2 + time * 0.2);\n float v3 = sin(vUv.y * wave3 + time * 0.2);\n float v4 = sin(vUv.y * wave4 + time * 0.2);\n float v = smoothstep(0.65, 0.7, (v1 + v2 + v3 + v4) / 4.0);\n vec3 color = vec3(v);\n\n gl_FragColor = vec4(color, v * 0.08);\n}\n"},21750:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\n\nvoid main(void) {\n // coordinate transformation\n vec4 mvPosition = modelViewMatrix * vec4(position, 1.0);\n\n vPosition = position;\n vUv = uv;\n\n gl_Position = projectionMatrix * mvPosition;\n}\n"},80261:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform sampler2D texture;\n\nvarying vec3 vColor1;\nvarying vec3 vColor2;\nvarying float vOpacity;\n\nvoid main() {\n // convert PointCoord to range from -1.0 to 1.0\n vec2 p = gl_PointCoord * 2.0 - 1.0;\n\n // draw double circle\n float radius = length(p);\n float r1 = (1.0 - smoothstep(0.95, 1.0, radius));\n float r2 = (1.0 - smoothstep(0.45, 0.5, radius));\n vec3 color1 = vColor1 * (r1 - r2);\n vec3 color2 = vColor2 * r2;\n vec3 color = color1 + color2;\n float opacity = ((r1 - r2) * 0.25 + r2 * 0.5) * vOpacity;\n\n gl_FragColor = vec4(color, opacity);\n}\n"},51263:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute float delay;\nattribute float speed;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\nuniform float time;\n\nvarying vec3 vColor1;\nvarying vec3 vColor2;\nvarying float vOpacity;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nmat4 calcRotateMat4X(float radian) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, cos(radian), -sin(radian), 0.0,\n 0.0, sin(radian), cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Y(float radian) {\n return mat4(\n cos(radian), 0.0, sin(radian), 0.0,\n 0.0, 1.0, 0.0, 0.0,\n -sin(radian), 0.0, cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Z(float radian) {\n return mat4(\n cos(radian), -sin(radian), 0.0, 0.0,\n sin(radian), cos(radian), 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4(vec3 radian) {\n return calcRotateMat4X(radian.x) * calcRotateMat4Y(radian.y) * calcRotateMat4Z(radian.z);\n}\n\nconst float duration = 3.0;\n\nvoid main() {\n // calculate interval time from 0 to 1\n float interval = mod(time + delay * duration, duration) / duration;\n\n // update position and size\n float size = 10.0 * sin(interval * 4.0);\n float blink = max(sin(interval * 4.0) * 2.0 - 1.0, 0.0);\n mat4 rotateMat = calcRotateMat4(vec3(\n radians(time * speed * 0.3),\n radians(time * speed),\n radians(time * speed * 0.3)\n ));\n\n // calculate colors\n vec3 hsv1 = vec3(time * 0.1, 0.6, 1.0);\n vec3 rgb1 = convertHsvToRgb(hsv1);\n vec3 hsv2 = vec3(time * 0.1 + 0.2, 0.6, 1.0);\n vec3 rgb2 = convertHsvToRgb(hsv2);\n\n // coordinate transformation\n vec4 mvPosition = modelViewMatrix * rotateMat * vec4(position, 1.0);\n float distanceFromCamera = 1000.0 / length(mvPosition.xyz);\n\n vColor1 = rgb1;\n vColor2 = rgb2;\n vOpacity = blink * clamp(distanceFromCamera, 0.1, 0.8);\n\n gl_Position = projectionMatrix * mvPosition;\n gl_PointSize = distanceFromCamera * size;\n}\n"},54691:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform sampler2D texture1;\nuniform sampler2D texture2;\nuniform sampler2D texture3;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying vec3 vColor;\nvarying float vRotate1;\nvarying float vRotate2;\nvarying float vRotate3;\n\nmat3 rotateMat3(float radian) {\n return mat3(\n cos(radian), -sin(radian), 0.0,\n sin(radian), cos(radian), 0.0,\n 0.0, 0.0, 1.0\n );\n}\n\nvoid main() {\n // rotate textures\n vec2 uv1 = ((vec3(vUv - 0.5, 1.0) * rotateMat3(time * vRotate1)).xy + 0.5);\n vec2 uv2 = ((vec3(vUv - 0.5, 1.0) * rotateMat3(time * vRotate2)).xy + 0.5);\n vec2 uv3 = ((vec3(vUv - 0.5, 1.0) * rotateMat3(time * vRotate3)).xy + 0.5);\n vec4 texColor1 = texture2D(texture1, uv1);\n vec4 texColor2 = texture2D(texture2, uv2);\n vec4 texColor3 = texture2D(texture3, uv3);\n vec4 color = texColor1 + texColor2 + texColor3;\n\n // discard low alpha value\n if (color.a <= 0.1) discard;\n\n gl_FragColor = vec4(vColor, color.a * 0.35);\n}\n"},40233:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nattribute vec3 instancePosition;\nattribute float rotate1;\nattribute float rotate2;\nattribute float rotate3;\nattribute float h;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\nuniform float time;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying vec3 vColor;\nvarying float vRotate1;\nvarying float vRotate2;\nvarying float vRotate3;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main(void) {\n // calculate colors\n vec3 hsv = vec3(h + time * 0.1 + 0.5, 0.4, 1.0);\n vec3 rgb = convertHsvToRgb(hsv);\n\n // coordinate transformation\n vec4 mvPosition = modelViewMatrix * vec4(position + instancePosition, 1.0);\n\n vPosition = position;\n vUv = uv;\n vColor = rgb;\n vRotate1 = rotate1;\n vRotate2 = rotate2;\n vRotate3 = rotate3;\n\n gl_Position = projectionMatrix * mvPosition;\n}\n"},45943:function(e,t){"use strict";t.Z="#extension GL_OES_standard_derivatives : enable\nprecision highp float;\n#define GLSLIFY 1\n\nuniform float time;\n\nvarying vec3 vPosition;\nvarying vec3 vColor;\n\nvoid main() {\n // flat shading\n vec3 light = normalize(vec3(0.0, 1.0, 1.0));\n vec3 normal = normalize(cross(dFdx(vPosition), dFdy(vPosition)));\n float diff = pow((dot(normal, light) + 1.0) / 2.0, 10.0);\n\n gl_FragColor = vec4(vColor, diff * 0.4 + 0.03);\n}\n"},85345:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec3 normal;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\nuniform float time;\nuniform float timeShow;\nuniform float durationShow;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nmat4 calcRotateMat4X(float radian) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, cos(radian), -sin(radian), 0.0,\n 0.0, sin(radian), cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Y(float radian) {\n return mat4(\n cos(radian), 0.0, sin(radian), 0.0,\n 0.0, 1.0, 0.0, 0.0,\n -sin(radian), 0.0, cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Z(float radian) {\n return mat4(\n cos(radian), -sin(radian), 0.0, 0.0,\n sin(radian), cos(radian), 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4(vec3 radian) {\n return calcRotateMat4X(radian.x) * calcRotateMat4Y(radian.y) * calcRotateMat4Z(radian.z);\n}\n\nvarying vec3 vPosition;\nvarying vec3 vColor;\nvarying float vOpacity;\n\nvoid main() {\n // convert uv to range from -1.0 to 1.0\n vec2 resolution = uv * 2.0 - 1.0;\n\n // update rotation\n float rotateX = resolution.x * 100.0 + time / 2.0;\n float rotateY = resolution.y * 200.0 + time / 2.0;\n float rotateZ = length(resolution.xy) * 150.0 + time / 2.0;\n mat4 rotateMat = calcRotateMat4(vec3(rotateX, rotateY, rotateZ));\n vec3 rotatePosition = (rotateMat * vec4(vec3(sin(time * 0.1 + resolution.x * 10.0) * 150.0), 1.0)).xyz;\n\n // update position\n vec3 wavePosition = vec3(0.0, 0.0, sin(time * 0.1 + (resolution.x + resolution.y) * 5.6) * 300.0);\n vec3 updatePosition = position + rotatePosition + wavePosition;\n\n // calculate colors\n vec3 hsv = vec3(time * 0.1 + 0.5, 0.35, 0.6);\n vec3 rgb = convertHsvToRgb(hsv);\n\n // coordinate transformation\n vec4 mvPosition = modelViewMatrix * vec4(updatePosition, 1.0);\n\n vPosition = updatePosition;\n vColor = rgb;\n\n gl_Position = projectionMatrix * mvPosition;\n}\n"},97125:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nvarying vec3 vColor;\n\nvoid main() {\n // make round\n vec2 p = gl_PointCoord * 2.0 - 1.0;\n float radius = length(p);\n float r = 1.0 - smoothstep(0.95, 1.0, radius);\n\n gl_FragColor = vec4(vColor, r * 0.1);\n}\n"},4798:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec3 normal;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\nuniform float time;\nuniform float timeShow;\nuniform float durationShow;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nmat4 calcRotateMat4X(float radian) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, cos(radian), -sin(radian), 0.0,\n 0.0, sin(radian), cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Y(float radian) {\n return mat4(\n cos(radian), 0.0, sin(radian), 0.0,\n 0.0, 1.0, 0.0, 0.0,\n -sin(radian), 0.0, cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Z(float radian) {\n return mat4(\n cos(radian), -sin(radian), 0.0, 0.0,\n sin(radian), cos(radian), 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4(vec3 radian) {\n return calcRotateMat4X(radian.x) * calcRotateMat4Y(radian.y) * calcRotateMat4Z(radian.z);\n}\n\nvarying vec3 vPosition;\nvarying vec3 vColor;\n\nvoid main() {\n // convert uv to range from -1.0 to 1.0\n vec2 p = uv * 2.0 - 1.0;\n\n // update rotation\n float rotateX = p.x * 100.0 + time / 2.0;\n float rotateY = p.y * 200.0 + time / 2.0;\n float rotateZ = length(p.xy) * 150.0 + time / 2.0;\n mat4 rotateMat = calcRotateMat4(vec3(rotateX, rotateY, rotateZ));\n vec3 rotatePosition = (rotateMat * vec4(vec3(sin(time * 0.1 + p.x * 10.0) * 150.0), 1.0)).xyz;\n\n // update position\n vec3 wavePosition = vec3(0.0, 0.0, sin(time * 0.1 + (p.x + p.y) * 5.6) * 300.0);\n vec3 updatePosition = position + rotatePosition + wavePosition;\n\n // update size\n float size = (pow(sin(rotateX * 10.0), 3.0) + 1.0) * 2.0 + 3.0;\n\n // calculate colors\n vec3 hsv = vec3(time * 0.1, 0.35, 0.6);\n vec3 rgb = convertHsvToRgb(hsv);\n\n // coordinate transformation\n vec4 mvPosition = modelViewMatrix * vec4(updatePosition, 1.0);\n\n vPosition = updatePosition;\n vColor = rgb;\n\n gl_Position = projectionMatrix * mvPosition;\n gl_PointSize = size;\n}\n"},2766:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nvarying vec3 vColor;\n\nvoid main() {\n gl_FragColor = vec4(vColor, 0.15);\n}\n"},88940:function(e,t){"use strict";t.Z='precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform float interval;\nuniform float duration;\nuniform sampler2D textures[5];\n\nvarying vec2 vUv;\n\nfloat cubicInOut(float t) {\n return t < 0.5\n ? 4.0 * t * t * t\n : 0.5 * pow(2.0 * t - 2.0, 3.0) + 1.0;\n}\n\n//\n// GLSL textureless classic 3D noise "cnoise",\n// with an RSL-style periodic variant "pnoise".\n// Author: Stefan Gustavson (stefan.gustavson@liu.se)\n// Version: 2011-10-11\n//\n// Many thanks to Ian McEwan of Ashima Arts for the\n// ideas for permutation and gradient selection.\n//\n// Copyright (c) 2011 Stefan Gustavson. All rights reserved.\n// Distributed under the MIT license. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289(vec3 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x)\n{\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nvec3 fade(vec3 t) {\n return t*t*t*(t*(t*6.0-15.0)+10.0);\n}\n\n// Classic Perlin noise\nfloat cnoise(vec3 P)\n{\n vec3 Pi0 = floor(P); // Integer part for indexing\n vec3 Pi1 = Pi0 + vec3(1.0); // Integer part + 1\n Pi0 = mod289(Pi0);\n Pi1 = mod289(Pi1);\n vec3 Pf0 = fract(P); // Fractional part for interpolation\n vec3 Pf1 = Pf0 - vec3(1.0); // Fractional part - 1.0\n vec4 ix = vec4(Pi0.x, Pi1.x, Pi0.x, Pi1.x);\n vec4 iy = vec4(Pi0.yy, Pi1.yy);\n vec4 iz0 = Pi0.zzzz;\n vec4 iz1 = Pi1.zzzz;\n\n vec4 ixy = permute(permute(ix) + iy);\n vec4 ixy0 = permute(ixy + iz0);\n vec4 ixy1 = permute(ixy + iz1);\n\n vec4 gx0 = ixy0 * (1.0 / 7.0);\n vec4 gy0 = fract(floor(gx0) * (1.0 / 7.0)) - 0.5;\n gx0 = fract(gx0);\n vec4 gz0 = vec4(0.5) - abs(gx0) - abs(gy0);\n vec4 sz0 = step(gz0, vec4(0.0));\n gx0 -= sz0 * (step(0.0, gx0) - 0.5);\n gy0 -= sz0 * (step(0.0, gy0) - 0.5);\n\n vec4 gx1 = ixy1 * (1.0 / 7.0);\n vec4 gy1 = fract(floor(gx1) * (1.0 / 7.0)) - 0.5;\n gx1 = fract(gx1);\n vec4 gz1 = vec4(0.5) - abs(gx1) - abs(gy1);\n vec4 sz1 = step(gz1, vec4(0.0));\n gx1 -= sz1 * (step(0.0, gx1) - 0.5);\n gy1 -= sz1 * (step(0.0, gy1) - 0.5);\n\n vec3 g000 = vec3(gx0.x,gy0.x,gz0.x);\n vec3 g100 = vec3(gx0.y,gy0.y,gz0.y);\n vec3 g010 = vec3(gx0.z,gy0.z,gz0.z);\n vec3 g110 = vec3(gx0.w,gy0.w,gz0.w);\n vec3 g001 = vec3(gx1.x,gy1.x,gz1.x);\n vec3 g101 = vec3(gx1.y,gy1.y,gz1.y);\n vec3 g011 = vec3(gx1.z,gy1.z,gz1.z);\n vec3 g111 = vec3(gx1.w,gy1.w,gz1.w);\n\n vec4 norm0 = taylorInvSqrt(vec4(dot(g000, g000), dot(g010, g010), dot(g100, g100), dot(g110, g110)));\n g000 *= norm0.x;\n g010 *= norm0.y;\n g100 *= norm0.z;\n g110 *= norm0.w;\n vec4 norm1 = taylorInvSqrt(vec4(dot(g001, g001), dot(g011, g011), dot(g101, g101), dot(g111, g111)));\n g001 *= norm1.x;\n g011 *= norm1.y;\n g101 *= norm1.z;\n g111 *= norm1.w;\n\n float n000 = dot(g000, Pf0);\n float n100 = dot(g100, vec3(Pf1.x, Pf0.yz));\n float n010 = dot(g010, vec3(Pf0.x, Pf1.y, Pf0.z));\n float n110 = dot(g110, vec3(Pf1.xy, Pf0.z));\n float n001 = dot(g001, vec3(Pf0.xy, Pf1.z));\n float n101 = dot(g101, vec3(Pf1.x, Pf0.y, Pf1.z));\n float n011 = dot(g011, vec3(Pf0.x, Pf1.yz));\n float n111 = dot(g111, Pf1);\n\n vec3 fade_xyz = fade(Pf0);\n vec4 n_z = mix(vec4(n000, n100, n010, n110), vec4(n001, n101, n011, n111), fade_xyz.z);\n vec2 n_yz = mix(n_z.xy, n_z.zw, fade_xyz.y);\n float n_xyz = mix(n_yz.x, n_yz.y, fade_xyz.x);\n return 2.2 * n_xyz;\n}\n\nvec4 getTexColor(float index, vec2 uv) {\n vec4 color;\n color += texture2D(textures[0], uv) * (1.0 - step(0.9, index));\n color += texture2D(textures[1], uv) * step(1.0, index) * (1.0 - step(1.9, index));\n color += texture2D(textures[2], uv) * step(2.0, index) * (1.0 - step(2.9, index));\n color += texture2D(textures[3], uv) * step(3.0, index) * (1.0 - step(3.9, index));\n color += texture2D(textures[4], uv) * step(4.0, index) * (1.0 - step(4.9, index));\n return color;\n}\n\nvoid main(void) {\n vec2 p = vUv * 2.0 - 1.0;\n\n float alpha = cubicInOut(clamp(mod(time, interval) / duration - (interval / duration - 1.0), 0.0, 1.0));\n float noise1 = cnoise(vec3(vUv * vec2(12.0), time * 0.1));\n float noise2 = cnoise(vec3(vUv * vec2(12.0), time * 0.1 + 100.0));\n float noise3 = cnoise(vec3(vUv * vec2(48.0), time * 0.3));\n float noiseA = noise1 * 0.85 + noise3 * 0.15;\n float noiseB = noise2 * 0.85 + noise3 * 0.15;\n\n float mask = clamp(alpha * 2.0 - (noiseA * 0.5 + 0.5), 0.0, 1.0);\n float mask1 = smoothstep(0.5, 1.0, mask);\n float mask2 = smoothstep(0.0, 0.5, mask);\n\n vec2 uvPrev = (vUv + p * 0.15 * alpha) + vec2(0.2) * vec2(noiseA, noiseB) * length(p) * alpha;\n vec2 uvNext = (vUv - p * 0.15 * (1.0 - alpha)) + vec2(0.2) * vec2(noiseA, noiseB) * length(p) * (1.0 - alpha);\n\n float indexPrev = floor(mod(time, interval * 5.0) / interval);\n float indexNext = floor(mod(time + interval, interval * 5.0) / interval);\n\n vec4 texColorPrev = getTexColor(indexPrev, uvPrev) * (1.0 - mask1);\n vec4 texColorNext = getTexColor(indexNext, uvNext) * mask2;\n\n gl_FragColor = texColorPrev + texColorNext;\n}\n'},54312:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform vec2 resolution;\nuniform vec2 imageResolution;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n vec2 ratio = vec2(\n min((resolution.x / resolution.y) / (imageResolution.x / imageResolution.y), 1.0),\n min((resolution.y / resolution.x) / (imageResolution.y / imageResolution.x), 1.0)\n );\n\n vec2 updateUv = vec2(\n uv.x * ratio.x + (1.0 - ratio.x) * 0.5,\n uv.y * ratio.y + (1.0 - ratio.y) * 0.5\n );\n\n vUv = updateUv;\n gl_Position = vec4(position, 1.0);\n}\n"},61786:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nvarying vec3 vColor;\nvarying vec3 vNormal;\n\n//\n// Description : Array and textureless GLSL 2D/3D/4D simplex\n// noise functions.\n// Author : Ian McEwan, Ashima Arts.\n// Maintainer : ijm\n// Lastmod : 20110822 (ijm)\n// License : Copyright (C) 2011 Ashima Arts. All rights reserved.\n// Distributed under the MIT License. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289(vec3 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x) {\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nfloat snoise(vec3 v)\n {\n const vec2 C = vec2(1.0/6.0, 1.0/3.0) ;\n const vec4 D = vec4(0.0, 0.5, 1.0, 2.0);\n\n// First corner\n vec3 i = floor(v + dot(v, C.yyy) );\n vec3 x0 = v - i + dot(i, C.xxx) ;\n\n// Other corners\n vec3 g = step(x0.yzx, x0.xyz);\n vec3 l = 1.0 - g;\n vec3 i1 = min( g.xyz, l.zxy );\n vec3 i2 = max( g.xyz, l.zxy );\n\n // x0 = x0 - 0.0 + 0.0 * C.xxx;\n // x1 = x0 - i1 + 1.0 * C.xxx;\n // x2 = x0 - i2 + 2.0 * C.xxx;\n // x3 = x0 - 1.0 + 3.0 * C.xxx;\n vec3 x1 = x0 - i1 + C.xxx;\n vec3 x2 = x0 - i2 + C.yyy; // 2.0*C.x = 1/3 = C.y\n vec3 x3 = x0 - D.yyy; // -1.0+3.0*C.x = -0.5 = -D.y\n\n// Permutations\n i = mod289(i);\n vec4 p = permute( permute( permute(\n i.z + vec4(0.0, i1.z, i2.z, 1.0 ))\n + i.y + vec4(0.0, i1.y, i2.y, 1.0 ))\n + i.x + vec4(0.0, i1.x, i2.x, 1.0 ));\n\n// Gradients: 7x7 points over a square, mapped onto an octahedron.\n// The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294)\n float n_ = 0.142857142857; // 1.0/7.0\n vec3 ns = n_ * D.wyz - D.xzx;\n\n vec4 j = p - 49.0 * floor(p * ns.z * ns.z); // mod(p,7*7)\n\n vec4 x_ = floor(j * ns.z);\n vec4 y_ = floor(j - 7.0 * x_ ); // mod(j,N)\n\n vec4 x = x_ *ns.x + ns.yyyy;\n vec4 y = y_ *ns.x + ns.yyyy;\n vec4 h = 1.0 - abs(x) - abs(y);\n\n vec4 b0 = vec4( x.xy, y.xy );\n vec4 b1 = vec4( x.zw, y.zw );\n\n //vec4 s0 = vec4(lessThan(b0,0.0))*2.0 - 1.0;\n //vec4 s1 = vec4(lessThan(b1,0.0))*2.0 - 1.0;\n vec4 s0 = floor(b0)*2.0 + 1.0;\n vec4 s1 = floor(b1)*2.0 + 1.0;\n vec4 sh = -step(h, vec4(0.0));\n\n vec4 a0 = b0.xzyw + s0.xzyw*sh.xxyy ;\n vec4 a1 = b1.xzyw + s1.xzyw*sh.zzww ;\n\n vec3 p0 = vec3(a0.xy,h.x);\n vec3 p1 = vec3(a0.zw,h.y);\n vec3 p2 = vec3(a1.xy,h.z);\n vec3 p3 = vec3(a1.zw,h.w);\n\n//Normalise gradients\n vec4 norm = taylorInvSqrt(vec4(dot(p0,p0), dot(p1,p1), dot(p2, p2), dot(p3,p3)));\n p0 *= norm.x;\n p1 *= norm.y;\n p2 *= norm.z;\n p3 *= norm.w;\n\n// Mix final noise value\n vec4 m = max(0.6 - vec4(dot(x0,x0), dot(x1,x1), dot(x2,x2), dot(x3,x3)), 0.0);\n m = m * m;\n return 42.0 * dot( m*m, vec4( dot(p0,x0), dot(p1,x1),\n dot(p2,x2), dot(p3,x3) ) );\n }\n\nvec3 hsv2rgb(vec3 c){\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nstruct HemisphereLight {\n vec3 direction;\n vec3 groundColor;\n vec3 skyColor;\n};\nuniform HemisphereLight hemisphereLights[NUM_HEMI_LIGHTS];\n\nvoid main() {\n vec3 light = vec3(0.0);\n light += (dot(hemisphereLights[0].direction, vNormal) + 1.0) * hemisphereLights[0].skyColor * 0.5;\n light += (-dot(hemisphereLights[0].direction, vNormal) + 1.0) * hemisphereLights[0].groundColor * 0.5;\n gl_FragColor = vec4(vColor * light, 1.0);\n}\n"},67112:function(e,t){"use strict";t.Z='#define GLSLIFY 1\nuniform float time;\nuniform float radius;\nuniform float distort;\n\nvarying vec3 vColor;\nvarying vec3 vNormal;\n\n//\n// GLSL textureless classic 3D noise "cnoise",\n// with an RSL-style periodic variant "pnoise".\n// Author: Stefan Gustavson (stefan.gustavson@liu.se)\n// Version: 2011-10-11\n//\n// Many thanks to Ian McEwan of Ashima Arts for the\n// ideas for permutation and gradient selection.\n//\n// Copyright (c) 2011 Stefan Gustavson. All rights reserved.\n// Distributed under the MIT license. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289(vec3 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x)\n{\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nvec3 fade(vec3 t) {\n return t*t*t*(t*(t*6.0-15.0)+10.0);\n}\n\n// Classic Perlin noise\nfloat cnoise(vec3 P)\n{\n vec3 Pi0 = floor(P); // Integer part for indexing\n vec3 Pi1 = Pi0 + vec3(1.0); // Integer part + 1\n Pi0 = mod289(Pi0);\n Pi1 = mod289(Pi1);\n vec3 Pf0 = fract(P); // Fractional part for interpolation\n vec3 Pf1 = Pf0 - vec3(1.0); // Fractional part - 1.0\n vec4 ix = vec4(Pi0.x, Pi1.x, Pi0.x, Pi1.x);\n vec4 iy = vec4(Pi0.yy, Pi1.yy);\n vec4 iz0 = Pi0.zzzz;\n vec4 iz1 = Pi1.zzzz;\n\n vec4 ixy = permute(permute(ix) + iy);\n vec4 ixy0 = permute(ixy + iz0);\n vec4 ixy1 = permute(ixy + iz1);\n\n vec4 gx0 = ixy0 * (1.0 / 7.0);\n vec4 gy0 = fract(floor(gx0) * (1.0 / 7.0)) - 0.5;\n gx0 = fract(gx0);\n vec4 gz0 = vec4(0.5) - abs(gx0) - abs(gy0);\n vec4 sz0 = step(gz0, vec4(0.0));\n gx0 -= sz0 * (step(0.0, gx0) - 0.5);\n gy0 -= sz0 * (step(0.0, gy0) - 0.5);\n\n vec4 gx1 = ixy1 * (1.0 / 7.0);\n vec4 gy1 = fract(floor(gx1) * (1.0 / 7.0)) - 0.5;\n gx1 = fract(gx1);\n vec4 gz1 = vec4(0.5) - abs(gx1) - abs(gy1);\n vec4 sz1 = step(gz1, vec4(0.0));\n gx1 -= sz1 * (step(0.0, gx1) - 0.5);\n gy1 -= sz1 * (step(0.0, gy1) - 0.5);\n\n vec3 g000 = vec3(gx0.x,gy0.x,gz0.x);\n vec3 g100 = vec3(gx0.y,gy0.y,gz0.y);\n vec3 g010 = vec3(gx0.z,gy0.z,gz0.z);\n vec3 g110 = vec3(gx0.w,gy0.w,gz0.w);\n vec3 g001 = vec3(gx1.x,gy1.x,gz1.x);\n vec3 g101 = vec3(gx1.y,gy1.y,gz1.y);\n vec3 g011 = vec3(gx1.z,gy1.z,gz1.z);\n vec3 g111 = vec3(gx1.w,gy1.w,gz1.w);\n\n vec4 norm0 = taylorInvSqrt(vec4(dot(g000, g000), dot(g010, g010), dot(g100, g100), dot(g110, g110)));\n g000 *= norm0.x;\n g010 *= norm0.y;\n g100 *= norm0.z;\n g110 *= norm0.w;\n vec4 norm1 = taylorInvSqrt(vec4(dot(g001, g001), dot(g011, g011), dot(g101, g101), dot(g111, g111)));\n g001 *= norm1.x;\n g011 *= norm1.y;\n g101 *= norm1.z;\n g111 *= norm1.w;\n\n float n000 = dot(g000, Pf0);\n float n100 = dot(g100, vec3(Pf1.x, Pf0.yz));\n float n010 = dot(g010, vec3(Pf0.x, Pf1.y, Pf0.z));\n float n110 = dot(g110, vec3(Pf1.xy, Pf0.z));\n float n001 = dot(g001, vec3(Pf0.xy, Pf1.z));\n float n101 = dot(g101, vec3(Pf1.x, Pf0.y, Pf1.z));\n float n011 = dot(g011, vec3(Pf0.x, Pf1.yz));\n float n111 = dot(g111, Pf1);\n\n vec3 fade_xyz = fade(Pf0);\n vec4 n_z = mix(vec4(n000, n100, n010, n110), vec4(n001, n101, n011, n111), fade_xyz.z);\n vec2 n_yz = mix(n_z.xy, n_z.zw, fade_xyz.y);\n float n_xyz = mix(n_yz.x, n_yz.y, fade_xyz.x);\n return 2.2 * n_xyz;\n}\n\nvec3 hsv2rgb(vec3 c){\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n float updateTime = time / 1000.0;\n float noise = cnoise(vec3(position / 200.1 + updateTime * 10.0));\n vec4 mvPosition = modelViewMatrix * vec4(position * (noise * pow(distort, 2.0) + radius), 1.0);\n\n vColor = hsv2rgb(vec3(noise * distort * 0.3 + updateTime, 0.2, 1.0));\n vNormal = normal;\n\n gl_Position = projectionMatrix * mvPosition;\n}\n'},19820:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nuniform float time;\nuniform vec2 resolution;\nuniform float acceleration;\nuniform sampler2D texture;\n\nconst float blur = 16.0;\n\nvarying vec2 vUv;\n\nfloat random2(vec2 c){\n return fract(sin(dot(c.xy ,vec2(12.9898,78.233))) * 43758.5453);\n}\n\n//\n// Description : Array and textureless GLSL 2D simplex noise function.\n// Author : Ian McEwan, Ashima Arts.\n// Maintainer : ijm\n// Lastmod : 20110822 (ijm)\n// License : Copyright (C) 2011 Ashima Arts. All rights reserved.\n// Distributed under the MIT License. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289(vec3 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec2 mod289(vec2 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec3 permute(vec3 x) {\n return mod289(((x*34.0)+1.0)*x);\n}\n\nfloat snoise(vec2 v)\n {\n const vec4 C = vec4(0.211324865405187, // (3.0-sqrt(3.0))/6.0\n 0.366025403784439, // 0.5*(sqrt(3.0)-1.0)\n -0.577350269189626, // -1.0 + 2.0 * C.x\n 0.024390243902439); // 1.0 / 41.0\n// First corner\n vec2 i = floor(v + dot(v, C.yy) );\n vec2 x0 = v - i + dot(i, C.xx);\n\n// Other corners\n vec2 i1;\n //i1.x = step( x0.y, x0.x ); // x0.x > x0.y ? 1.0 : 0.0\n //i1.y = 1.0 - i1.x;\n i1 = (x0.x > x0.y) ? vec2(1.0, 0.0) : vec2(0.0, 1.0);\n // x0 = x0 - 0.0 + 0.0 * C.xx ;\n // x1 = x0 - i1 + 1.0 * C.xx ;\n // x2 = x0 - 1.0 + 2.0 * C.xx ;\n vec4 x12 = x0.xyxy + C.xxzz;\n x12.xy -= i1;\n\n// Permutations\n i = mod289(i); // Avoid truncation effects in permutation\n vec3 p = permute( permute( i.y + vec3(0.0, i1.y, 1.0 ))\n + i.x + vec3(0.0, i1.x, 1.0 ));\n\n vec3 m = max(0.5 - vec3(dot(x0,x0), dot(x12.xy,x12.xy), dot(x12.zw,x12.zw)), 0.0);\n m = m*m ;\n m = m*m ;\n\n// Gradients: 41 points uniformly over a line, mapped onto a diamond.\n// The ring size 17*17 = 289 is close to a multiple of 41 (41*7 = 287)\n\n vec3 x = 2.0 * fract(p * C.www) - 1.0;\n vec3 h = abs(x) - 0.5;\n vec3 ox = floor(x + 0.5);\n vec3 a0 = x - ox;\n\n// Normalise gradients implicitly by scaling m\n// Approximation of: m *= inversesqrt( a0*a0 + h*h );\n m *= 1.79284291400159 - 0.85373472095314 * ( a0*a0 + h*h );\n\n// Compute final noise value at P\n vec3 g;\n g.x = a0.x * x0.x + h.x * x0.y;\n g.yz = a0.yz * x12.xz + h.yz * x12.yw;\n return 130.0 * dot(m, g);\n}\n\nvec2 diffUv(float v, float diff) {\n return vUv + (vec2(v + snoise(vec2(gl_FragCoord.y + time) / 100.0), 0.0) * diff + vec2(v * 3.0, 0.0)) / resolution;\n}\n\nfloat randomNoise(vec2 p) {\n return (random2(p - vec2(sin(time))) * 2.0 - 1.0) * max(length(acceleration), 0.08);\n}\n\nvoid main() {\n float diff = 300.0 * length(acceleration);\n vec2 uv_r = diffUv(0.0, diff);\n vec2 uv_g = diffUv(1.0, diff);\n vec2 uv_b = diffUv(-1.0, diff);\n float r = texture2D(texture, uv_r).r + randomNoise(uv_r);\n float g = texture2D(texture, uv_g).g + randomNoise(uv_g);\n float b = texture2D(texture, uv_b).b + randomNoise(uv_b);\n gl_FragColor = vec4(r, g, b, 1.0);\n}\n"},11697:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nvarying vec2 vUv;\n\nvoid main(void) {\n vUv = uv;\n gl_Position = vec4(position, 1.0);\n}\n"},90217:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nvarying vec3 vColor;\n\nvoid main() {\n // Convert PointCoord to the other vec2 has a range from -1.0 to 1.0.\n vec2 p = gl_PointCoord * 2.0 - 1.0;\n\n // Draw circle\n float radius = length(p);\n float opacity1 = (1.0 - smoothstep(0.5, 0.7, radius));\n float opacity2 = smoothstep(0.8, 1.0, radius) * (1.0 - smoothstep(1.0, 1.2, radius));\n\n gl_FragColor = vec4(vColor, (opacity1 + opacity2) * 0.5);\n}\n"},29277:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute float radian;\nattribute float radius;\nattribute float delay;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform float time;\n\nvarying vec3 vColor;\n\nvoid main() {\n // coordinate transformation\n vec3 updatePosition = position\n + vec3(\n sin(time * 4.0 + delay),\n sin(radian + time * 0.4) * (radius + sin(time * 4.0 + delay)),\n cos(radian + time * 0.4) * (radius + sin(time * 4.0 + delay))\n );\n vec4 mvPosition = viewMatrix * modelMatrix * vec4(updatePosition, 1.0);\n float distanceFromCamera = length(mvPosition.xyz);\n float pointSize = 1000.0 / distanceFromCamera * 1.6;\n\n vColor = vec3(0.8 - delay * 0.1, 0.6, 0.6);\n\n gl_Position = projectionMatrix * mvPosition;\n gl_PointSize = pointSize;\n}\n"},59339:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform sampler2D texture;\nuniform vec2 resolution;\n\nvarying vec2 vUv;\n\nfloat random2(vec2 c){\n return fract(sin(dot(c.xy ,vec2(12.9898,78.233))) * 43758.5453);\n}\nfloat randomNoise(vec2 p) {\n return (random2(p - vec2(sin(time))) * 2.0 - 1.0) * 0.04;\n}\n\nvoid main() {\n // Convert uv to the other vec2 has a range from -1.0 to 1.0.\n vec2 p = vUv * 2.0 - 1.0;\n vec2 ratio = 1.0 / resolution;\n\n // Random Noise\n float rNoise = randomNoise(vUv);\n\n // RGB Shift\n float texColorR = texture2D(texture, vUv - vec2((2.0 * abs(p.x) + 1.0) * ratio.x, 0.0)).r;\n float texColorG = texture2D(texture, vUv + vec2((2.0 * abs(p.x) + 1.0) * ratio.x, 0.0)).g;\n float texColorB = texture2D(texture, vUv).b;\n\n // Sum total of colors.\n vec3 color = vec3(texColorR, texColorG, texColorB) + rNoise;\n\n gl_FragColor = vec4(vec3(texColorR, texColorG, texColorB) + rNoise, 1.0);\n}\n"},60125:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nvarying vec2 vUv;\n\nvoid main() {\n vUv = uv;\n\n gl_Position = vec4(position, 1.0);\n}\n"},24678:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform vec3 cameraPosition;\nuniform float time;\nuniform float noiseRange;\nuniform sampler2D texEgg1;\nuniform sampler2D texEgg2;\nuniform sampler2D texDiffSpace;\n\nuniform float speed;\nuniform float circleOutStepMin;\nuniform float circleOutStepMax;\nuniform float circleInStepMin;\nuniform float circleInStepMax;\nuniform float noisePosition;\nuniform float noiseSize;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\n\n//\n// Description : Array and textureless GLSL 2D/3D/4D simplex\n// noise functions.\n// Author : Ian McEwan, Ashima Arts.\n// Maintainer : ijm\n// Lastmod : 20110822 (ijm)\n// License : Copyright (C) 2011 Ashima Arts. All rights reserved.\n// Distributed under the MIT License. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289(vec3 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x) {\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nfloat snoise(vec3 v)\n {\n const vec2 C = vec2(1.0/6.0, 1.0/3.0) ;\n const vec4 D = vec4(0.0, 0.5, 1.0, 2.0);\n\n// First corner\n vec3 i = floor(v + dot(v, C.yyy) );\n vec3 x0 = v - i + dot(i, C.xxx) ;\n\n// Other corners\n vec3 g = step(x0.yzx, x0.xyz);\n vec3 l = 1.0 - g;\n vec3 i1 = min( g.xyz, l.zxy );\n vec3 i2 = max( g.xyz, l.zxy );\n\n // x0 = x0 - 0.0 + 0.0 * C.xxx;\n // x1 = x0 - i1 + 1.0 * C.xxx;\n // x2 = x0 - i2 + 2.0 * C.xxx;\n // x3 = x0 - 1.0 + 3.0 * C.xxx;\n vec3 x1 = x0 - i1 + C.xxx;\n vec3 x2 = x0 - i2 + C.yyy; // 2.0*C.x = 1/3 = C.y\n vec3 x3 = x0 - D.yyy; // -1.0+3.0*C.x = -0.5 = -D.y\n\n// Permutations\n i = mod289(i);\n vec4 p = permute( permute( permute(\n i.z + vec4(0.0, i1.z, i2.z, 1.0 ))\n + i.y + vec4(0.0, i1.y, i2.y, 1.0 ))\n + i.x + vec4(0.0, i1.x, i2.x, 1.0 ));\n\n// Gradients: 7x7 points over a square, mapped onto an octahedron.\n// The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294)\n float n_ = 0.142857142857; // 1.0/7.0\n vec3 ns = n_ * D.wyz - D.xzx;\n\n vec4 j = p - 49.0 * floor(p * ns.z * ns.z); // mod(p,7*7)\n\n vec4 x_ = floor(j * ns.z);\n vec4 y_ = floor(j - 7.0 * x_ ); // mod(j,N)\n\n vec4 x = x_ *ns.x + ns.yyyy;\n vec4 y = y_ *ns.x + ns.yyyy;\n vec4 h = 1.0 - abs(x) - abs(y);\n\n vec4 b0 = vec4( x.xy, y.xy );\n vec4 b1 = vec4( x.zw, y.zw );\n\n //vec4 s0 = vec4(lessThan(b0,0.0))*2.0 - 1.0;\n //vec4 s1 = vec4(lessThan(b1,0.0))*2.0 - 1.0;\n vec4 s0 = floor(b0)*2.0 + 1.0;\n vec4 s1 = floor(b1)*2.0 + 1.0;\n vec4 sh = -step(h, vec4(0.0));\n\n vec4 a0 = b0.xzyw + s0.xzyw*sh.xxyy ;\n vec4 a1 = b1.xzyw + s1.xzyw*sh.zzww ;\n\n vec3 p0 = vec3(a0.xy,h.x);\n vec3 p1 = vec3(a0.zw,h.y);\n vec3 p2 = vec3(a1.xy,h.z);\n vec3 p3 = vec3(a1.zw,h.w);\n\n//Normalise gradients\n vec4 norm = taylorInvSqrt(vec4(dot(p0,p0), dot(p1,p1), dot(p2, p2), dot(p3,p3)));\n p0 *= norm.x;\n p1 *= norm.y;\n p2 *= norm.z;\n p3 *= norm.w;\n\n// Mix final noise value\n vec4 m = max(0.6 - vec4(dot(x0,x0), dot(x1,x1), dot(x2,x2), dot(x3,x3)), 0.0);\n m = m * m;\n return 42.0 * dot( m*m, vec4( dot(p0,x0), dot(p1,x1),\n dot(p2,x2), dot(p3,x3) ) );\n }\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nfloat exponentialOut(float t) {\n return t == 1.0 ? t : 1.0 - pow(2.0, -10.0 * t);\n}\n\nvoid main() {\n float t1 = exponentialOut(min(time, 2.0) / 2.0);\n float t2 = (1.0 - exponentialOut(min(time, 2.0) / 2.0)) * 3.0;\n vec2 pos = vUv * 2.0 - vec2(1.0);\n\n float circleOut = smoothstep(circleOutStepMin, circleOutStepMax, t1 - length(pos));\n float circleIn = smoothstep(circleInStepMin, circleInStepMax, t1 * 0.5 - length(pos)) * 0.5;\n float circleLight = smoothstep(0.0, 0.1, (t1 - t2) * 0.3 - length(pos)) * smoothstep(0.0, 0.1, (t1 - t2) * 0.2 - length(pos + vec2(0.2, -0.2)));\n\n float noiseTime = time * speed + t2;\n float noise = (\n snoise(\n vec3(pos * (noisePosition + noiseRange * 0.1) + vec2(sin(noiseTime),\n cos(noiseTime)),\n noiseTime + noiseRange * 100.0\n )\n ) + 1.0) / 2.0 * noiseSize;\n\n float mask = circleOut * noise + circleIn;\n float maskHighLight = circleLight * (noise + 0.12);\n float mask0 = 1.0 - step(maskHighLight, 0.13);\n float mask1 = (1.0 - step(mask, 0.6)) * step(maskHighLight, 0.13);\n float mask2 = (1.0 - step(mask, 0.28)) * step(mask, 0.6) * step(maskHighLight, 0.23);\n float mask3 = (1.0 - step(mask, 0.014)) * step(mask, 0.28);\n float mask4 = (1.0 - step(mask, 0.01)) * step(mask, 0.014);\n\n vec4 rgba0 = vec4(convertHsvToRgb(vec3(0.125, 0.2, 1.0)), 1.0) * mask0;\n vec4 rgba1 = vec4(convertHsvToRgb(vec3(0.125, 0.76, 1.0)), 1.0) * mask1;\n vec4 rgba2 = vec4(convertHsvToRgb(vec3(0.108, 0.91, 1.0)), 1.0) * mask2;\n vec4 rgba3 = vec4(convertHsvToRgb(vec3(0.1, 0.02, 0.99)), 1.0) * mask3;\n vec4 rgba4 = vec4(convertHsvToRgb(vec3(0.1, 0.2, 0.9)), 1.0) * mask4;\n\n float patternNoise1 = step(0.0, snoise(vPosition * 0.015 + vec3(0.0, 0.0, time * 0.1))) * 0.05;\n float patternNoise2 = step(0.2, snoise(vPosition * 0.025 + vec3(0.0, 1.0, time * 0.3))) * 0.03;\n vec4 patternColor = vec4(vec3(patternNoise1), 1.0) * mask1 + vec4(vec3(patternNoise2), 1.0) * mask2;\n\n vec4 eggColor = rgba0 + rgba1 + rgba2 + rgba3 + rgba4 + patternColor;\n\n gl_FragColor = eggColor;\n}\n"},28914:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\n\nvoid main() {\n vPosition = position;\n vUv = uv;\n gl_Position = projectionMatrix * viewMatrix * modelMatrix * vec4(position, 1.0);\n}\n"},33274:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform sampler2D tex;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying vec3 vColor;\n\nfloat random(vec2 c){\n return fract(sin(dot(c.xy ,vec2(12.9898,78.233))) * 43758.5453);\n}\n\nvoid main() {\n float noise = random(vUv) * 0.08;\n\n gl_FragColor = vec4(vColor + noise, 1.0);\n}\n"},44873:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying vec3 vColor;\n\nconst vec3 hsv1 = vec3(0.98, 0.9, 0.05);\nconst vec3 hsv2 = vec3(1.13, 0.9, 0.8);\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main(void) {\n // calculate gradation with position.y\n vec3 rgb = convertHsvToRgb(mix(hsv1, hsv2, (normalize(position).y + 1.0) / 2.0));\n\n // coordinate transformation\n vec4 mvPosition = modelViewMatrix * vec4(position, 1.0);\n\n vPosition = position;\n vUv = uv;\n vColor = rgb;\n\n gl_Position = projectionMatrix * mvPosition;\n}\n"},97459:function(e,t){"use strict";t.Z="#extension GL_OES_standard_derivatives : enable\nprecision highp float;\n#define GLSLIFY 1\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\n\nconst vec3 light = vec3(0.0, 1.0, 0.0);\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n // Flat Shading\n vec3 normal = normalize(cross(dFdx(vPosition), dFdy(vPosition)));\n float diff = (dot(normal, light) + 1.0) / 2.0;\n\n vec3 hsv = vec3(0.88 + diff * 0.2, 1.0 - diff * 0.4, pow(diff, 3.0) * 0.88 + 0.12);\n vec3 rgb = convertHsvToRgb(hsv);\n\n gl_FragColor = vec4(rgb, 1.0);\n}\n"},92665:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\n\nvoid main(void) {\n vec4 mvPosition = modelViewMatrix * vec4(position, 1.0);\n\n vPosition = position;\n vUv = uv;\n\n gl_Position = projectionMatrix * mvPosition;\n}\n"},4653:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\n\n//\n// Description : Array and textureless GLSL 2D/3D/4D simplex\n// noise functions.\n// Author : Ian McEwan, Ashima Arts.\n// Maintainer : ijm\n// Lastmod : 20110822 (ijm)\n// License : Copyright (C) 2011 Ashima Arts. All rights reserved.\n// Distributed under the MIT License. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289(vec3 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x) {\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nfloat snoise(vec3 v)\n {\n const vec2 C = vec2(1.0/6.0, 1.0/3.0) ;\n const vec4 D = vec4(0.0, 0.5, 1.0, 2.0);\n\n// First corner\n vec3 i = floor(v + dot(v, C.yyy) );\n vec3 x0 = v - i + dot(i, C.xxx) ;\n\n// Other corners\n vec3 g = step(x0.yzx, x0.xyz);\n vec3 l = 1.0 - g;\n vec3 i1 = min( g.xyz, l.zxy );\n vec3 i2 = max( g.xyz, l.zxy );\n\n // x0 = x0 - 0.0 + 0.0 * C.xxx;\n // x1 = x0 - i1 + 1.0 * C.xxx;\n // x2 = x0 - i2 + 2.0 * C.xxx;\n // x3 = x0 - 1.0 + 3.0 * C.xxx;\n vec3 x1 = x0 - i1 + C.xxx;\n vec3 x2 = x0 - i2 + C.yyy; // 2.0*C.x = 1/3 = C.y\n vec3 x3 = x0 - D.yyy; // -1.0+3.0*C.x = -0.5 = -D.y\n\n// Permutations\n i = mod289(i);\n vec4 p = permute( permute( permute(\n i.z + vec4(0.0, i1.z, i2.z, 1.0 ))\n + i.y + vec4(0.0, i1.y, i2.y, 1.0 ))\n + i.x + vec4(0.0, i1.x, i2.x, 1.0 ));\n\n// Gradients: 7x7 points over a square, mapped onto an octahedron.\n// The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294)\n float n_ = 0.142857142857; // 1.0/7.0\n vec3 ns = n_ * D.wyz - D.xzx;\n\n vec4 j = p - 49.0 * floor(p * ns.z * ns.z); // mod(p,7*7)\n\n vec4 x_ = floor(j * ns.z);\n vec4 y_ = floor(j - 7.0 * x_ ); // mod(j,N)\n\n vec4 x = x_ *ns.x + ns.yyyy;\n vec4 y = y_ *ns.x + ns.yyyy;\n vec4 h = 1.0 - abs(x) - abs(y);\n\n vec4 b0 = vec4( x.xy, y.xy );\n vec4 b1 = vec4( x.zw, y.zw );\n\n //vec4 s0 = vec4(lessThan(b0,0.0))*2.0 - 1.0;\n //vec4 s1 = vec4(lessThan(b1,0.0))*2.0 - 1.0;\n vec4 s0 = floor(b0)*2.0 + 1.0;\n vec4 s1 = floor(b1)*2.0 + 1.0;\n vec4 sh = -step(h, vec4(0.0));\n\n vec4 a0 = b0.xzyw + s0.xzyw*sh.xxyy ;\n vec4 a1 = b1.xzyw + s1.xzyw*sh.zzww ;\n\n vec3 p0 = vec3(a0.xy,h.x);\n vec3 p1 = vec3(a0.zw,h.y);\n vec3 p2 = vec3(a1.xy,h.z);\n vec3 p3 = vec3(a1.zw,h.w);\n\n//Normalise gradients\n vec4 norm = taylorInvSqrt(vec4(dot(p0,p0), dot(p1,p1), dot(p2, p2), dot(p3,p3)));\n p0 *= norm.x;\n p1 *= norm.y;\n p2 *= norm.z;\n p3 *= norm.w;\n\n// Mix final noise value\n vec4 m = max(0.6 - vec4(dot(x0,x0), dot(x1,x1), dot(x2,x2), dot(x3,x3)), 0.0);\n m = m * m;\n return 42.0 * dot( m*m, vec4( dot(p0,x0), dot(p1,x1),\n dot(p2,x2), dot(p3,x3) ) );\n }\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n float noise = snoise(\n vPosition * vec3(0.005, 0.002, 0.004) + vec3(time * 2.6, -time * 3.6, time * 2.6)\n );\n float opacity = smoothstep(0.3, 0.8, (noise + 1.0) / 2.0 - (1.0 - smoothstep(0.0, 0.3, vUv.y) * (1.0 - smoothstep(0.3, 1.0, vUv.y))));\n vec3 hsv = vec3(0.98 + opacity * 0.2, 1.0 - opacity * 0.6, 1.0);\n vec3 rgb = convertHsvToRgb(hsv);\n\n gl_FragColor = vec4(rgb, opacity);\n}\n"},44202:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\nuniform float time;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\n\n//\n// Description : Array and textureless GLSL 2D/3D/4D simplex\n// noise functions.\n// Author : Ian McEwan, Ashima Arts.\n// Maintainer : ijm\n// Lastmod : 20110822 (ijm)\n// License : Copyright (C) 2011 Ashima Arts. All rights reserved.\n// Distributed under the MIT License. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289(vec3 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x) {\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nfloat snoise(vec3 v)\n {\n const vec2 C = vec2(1.0/6.0, 1.0/3.0) ;\n const vec4 D = vec4(0.0, 0.5, 1.0, 2.0);\n\n// First corner\n vec3 i = floor(v + dot(v, C.yyy) );\n vec3 x0 = v - i + dot(i, C.xxx) ;\n\n// Other corners\n vec3 g = step(x0.yzx, x0.xyz);\n vec3 l = 1.0 - g;\n vec3 i1 = min( g.xyz, l.zxy );\n vec3 i2 = max( g.xyz, l.zxy );\n\n // x0 = x0 - 0.0 + 0.0 * C.xxx;\n // x1 = x0 - i1 + 1.0 * C.xxx;\n // x2 = x0 - i2 + 2.0 * C.xxx;\n // x3 = x0 - 1.0 + 3.0 * C.xxx;\n vec3 x1 = x0 - i1 + C.xxx;\n vec3 x2 = x0 - i2 + C.yyy; // 2.0*C.x = 1/3 = C.y\n vec3 x3 = x0 - D.yyy; // -1.0+3.0*C.x = -0.5 = -D.y\n\n// Permutations\n i = mod289(i);\n vec4 p = permute( permute( permute(\n i.z + vec4(0.0, i1.z, i2.z, 1.0 ))\n + i.y + vec4(0.0, i1.y, i2.y, 1.0 ))\n + i.x + vec4(0.0, i1.x, i2.x, 1.0 ));\n\n// Gradients: 7x7 points over a square, mapped onto an octahedron.\n// The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294)\n float n_ = 0.142857142857; // 1.0/7.0\n vec3 ns = n_ * D.wyz - D.xzx;\n\n vec4 j = p - 49.0 * floor(p * ns.z * ns.z); // mod(p,7*7)\n\n vec4 x_ = floor(j * ns.z);\n vec4 y_ = floor(j - 7.0 * x_ ); // mod(j,N)\n\n vec4 x = x_ *ns.x + ns.yyyy;\n vec4 y = y_ *ns.x + ns.yyyy;\n vec4 h = 1.0 - abs(x) - abs(y);\n\n vec4 b0 = vec4( x.xy, y.xy );\n vec4 b1 = vec4( x.zw, y.zw );\n\n //vec4 s0 = vec4(lessThan(b0,0.0))*2.0 - 1.0;\n //vec4 s1 = vec4(lessThan(b1,0.0))*2.0 - 1.0;\n vec4 s0 = floor(b0)*2.0 + 1.0;\n vec4 s1 = floor(b1)*2.0 + 1.0;\n vec4 sh = -step(h, vec4(0.0));\n\n vec4 a0 = b0.xzyw + s0.xzyw*sh.xxyy ;\n vec4 a1 = b1.xzyw + s1.xzyw*sh.zzww ;\n\n vec3 p0 = vec3(a0.xy,h.x);\n vec3 p1 = vec3(a0.zw,h.y);\n vec3 p2 = vec3(a1.xy,h.z);\n vec3 p3 = vec3(a1.zw,h.w);\n\n//Normalise gradients\n vec4 norm = taylorInvSqrt(vec4(dot(p0,p0), dot(p1,p1), dot(p2, p2), dot(p3,p3)));\n p0 *= norm.x;\n p1 *= norm.y;\n p2 *= norm.z;\n p3 *= norm.w;\n\n// Mix final noise value\n vec4 m = max(0.6 - vec4(dot(x0,x0), dot(x1,x1), dot(x2,x2), dot(x3,x3)), 0.0);\n m = m * m;\n return 42.0 * dot( m*m, vec4( dot(p0,x0), dot(p1,x1),\n dot(p2,x2), dot(p3,x3) ) );\n }\n\nvoid main(void) {\n float roundRadius = (1.0 - smoothstep(0.1, 1.0, uv.y)* 1.2) * 480.0;\n vec3 roundPosition = vec3(\n sin(radians(uv.x * 360.0)) * roundRadius,\n position.y + 900.0,\n cos(radians(uv.x * 360.0)) * roundRadius\n );\n\n float noise = (snoise(roundPosition * vec3(0.01, 0.0001, 0.01) + time * 0.8) + 0.5);\n float noiseRadius = noise * smoothstep(0.2, 0.3, uv.y) * 70.0;\n vec3 noisePosition = vec3(\n sin(radians(uv.x * 360.0)) * noiseRadius,\n 0.0,\n cos(radians(uv.x * 360.0)) * noiseRadius\n );\n\n vec4 mvPosition = modelViewMatrix * vec4(roundPosition + noisePosition, 1.0);\n\n vPosition = roundPosition;\n vUv = uv;\n\n gl_Position = projectionMatrix * mvPosition;\n}\n"},13292:function(e,t){"use strict";t.Z="#extension GL_OES_standard_derivatives : enable\nprecision highp float;\n#define GLSLIFY 1\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying float vDistance;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n // Flat Shading\n vec3 light = normalize(-vPosition);\n vec3 normal = normalize(cross(dFdx(vPosition), dFdy(vPosition)));\n float diff = (dot(normal, light) + 1.0) / 2.0;\n\n vec3 hsv = vec3(\n 0.86 + diff * 0.24,\n 1.0 - diff * 0.4,\n (diff * 0.88 + 0.12) * vDistance\n );\n vec3 rgb = convertHsvToRgb(hsv);\n\n gl_FragColor = vec4(rgb, 1.0);\n}\n"},25746:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\nattribute vec3 instancePosition;\nattribute float scale;\nattribute float rotate;\nattribute float speed;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\nuniform float time;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying float vDistance;\n\nmat4 calcRotateMat4X(float radian) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, cos(radian), -sin(radian), 0.0,\n 0.0, sin(radian), cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Y(float radian) {\n return mat4(\n cos(radian), 0.0, sin(radian), 0.0,\n 0.0, 1.0, 0.0, 0.0,\n -sin(radian), 0.0, cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Z(float radian) {\n return mat4(\n cos(radian), -sin(radian), 0.0, 0.0,\n sin(radian), cos(radian), 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4(vec3 radian) {\n return calcRotateMat4X(radian.x) * calcRotateMat4Y(radian.y) * calcRotateMat4Z(radian.z);\n}\n\nmat4 calcScaleMat4(vec3 scale) {\n return mat4(\n scale.x, 0.0, 0.0, 0.0,\n 0.0, scale.y, 0.0, 0.0,\n 0.0, 0.0, scale.z, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nvoid main(void) {\n mat4 scaleMat = calcScaleMat4(vec3(scale));\n mat4 rotateMatWorld = calcRotateMat4(vec3(0.0, rotate + time * speed * 0.2, 0.0));\n vec3 updatePosition = (scaleMat * vec4(position, 1.0)).xyz;\n vec4 mvPosition = modelViewMatrix * rotateMatWorld * vec4(updatePosition + instancePosition, 1.0);\n float distanceFromCenter = 1.0 - clamp(length(instancePosition) / 6000.0, 0.0, 0.8);\n\n vPosition = updatePosition + instancePosition;\n vUv = uv;\n vDistance = distanceFromCenter;\n\n gl_Position = projectionMatrix * mvPosition;\n}\n"},68773:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform sampler2D tex;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying vec3 vColor;\nvarying float vBlink;\n\nvoid main() {\n vec2 p = vUv * 2.0 - 1.0;\n\n vec4 texColor = texture2D(tex, vUv);\n vec3 color = (texColor.rgb - vBlink * length(p) * 0.8) * vColor;\n float opacity = texColor.a * 0.36;\n\n gl_FragColor = vec4(color, opacity);\n}\n"},94053:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\nattribute vec3 instancePosition;\nattribute float delay;\nattribute float rotate;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\nuniform float time;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying vec3 vColor;\nvarying float vBlink;\n\nconst float duration = 200.0;\n\nmat4 calcRotateMat4Z(float radian) {\n return mat4(\n cos(radian), -sin(radian), 0.0, 0.0,\n sin(radian), cos(radian), 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main(void) {\n float now = mod(time + delay * duration, duration) / duration;\n\n mat4 rotateMat = calcRotateMat4Z(radians(rotate * 360.0) + time * 0.1);\n vec3 rotatePosition = (rotateMat * vec4(position, 1.0)).xyz;\n\n vec3 moveRise = vec3(\n (now * 2.0 - 1.0) * (2500.0 - (delay * 2.0 - 1.0) * 2000.0),\n (now * 2.0 - 1.0) * 2000.0,\n sin(radians(time * 50.0 + delay + length(position))) * 30.0\n );\n vec3 updatePosition = instancePosition + moveRise + rotatePosition;\n\n vec3 hsv = vec3(time * 0.1 + delay * 0.2 + length(instancePosition) * 100.0, 0.5 , 0.8);\n vec3 rgb = convertHsvToRgb(hsv);\n float blink = (sin(radians(now * 360.0 * 20.0)) + 1.0) * 0.88;\n\n // coordinate transformation\n vec4 mvPosition = modelViewMatrix * vec4(updatePosition, 1.0);\n\n vPosition = position;\n vUv = uv;\n vColor = rgb;\n vBlink = blink;\n\n gl_Position = projectionMatrix * mvPosition;\n}\n"},91481:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform vec2 resolution;\nuniform vec2 imageResolution;\nuniform sampler2D texture;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n vec2 ratio = vec2(\n min((resolution.x / resolution.y) / (imageResolution.x / imageResolution.y), 1.0),\n min((resolution.y / resolution.x) / (imageResolution.y / imageResolution.x), 1.0)\n );\n\n vec2 uv = vec2(\n vUv.x * ratio.x + (1.0 - ratio.x) * 0.5,\n vUv.y * ratio.y + (1.0 - ratio.y) * 0.5\n );\n gl_FragColor = texture2D(texture, uv);\n}\n"},2670:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nvarying vec2 vUv;\n\nvoid main(void) {\n vUv = uv;\n gl_Position = vec4(position, 1.0);\n}\n"},56521:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform vec2 resolution;\nuniform sampler2D texture;\n\nvarying vec2 vUv;\n\nfloat random(vec2 c){\n return fract(sin(dot(c.xy ,vec2(12.9898,78.233))) * 43758.5453);\n}\n\n//\n// Description : Array and textureless GLSL 2D/3D/4D simplex\n// noise functions.\n// Author : Ian McEwan, Ashima Arts.\n// Maintainer : ijm\n// Lastmod : 20110822 (ijm)\n// License : Copyright (C) 2011 Ashima Arts. All rights reserved.\n// Distributed under the MIT License. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289(vec3 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x) {\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nfloat snoise(vec3 v)\n {\n const vec2 C = vec2(1.0/6.0, 1.0/3.0) ;\n const vec4 D = vec4(0.0, 0.5, 1.0, 2.0);\n\n// First corner\n vec3 i = floor(v + dot(v, C.yyy) );\n vec3 x0 = v - i + dot(i, C.xxx) ;\n\n// Other corners\n vec3 g_0 = step(x0.yzx, x0.xyz);\n vec3 l = 1.0 - g_0;\n vec3 i1 = min( g_0.xyz, l.zxy );\n vec3 i2 = max( g_0.xyz, l.zxy );\n\n // x0 = x0 - 0.0 + 0.0 * C.xxx;\n // x1 = x0 - i1 + 1.0 * C.xxx;\n // x2 = x0 - i2 + 2.0 * C.xxx;\n // x3 = x0 - 1.0 + 3.0 * C.xxx;\n vec3 x1 = x0 - i1 + C.xxx;\n vec3 x2 = x0 - i2 + C.yyy; // 2.0*C.x = 1/3 = C.y\n vec3 x3 = x0 - D.yyy; // -1.0+3.0*C.x = -0.5 = -D.y\n\n// Permutations\n i = mod289(i);\n vec4 p = permute( permute( permute(\n i.z + vec4(0.0, i1.z, i2.z, 1.0 ))\n + i.y + vec4(0.0, i1.y, i2.y, 1.0 ))\n + i.x + vec4(0.0, i1.x, i2.x, 1.0 ));\n\n// Gradients: 7x7 points over a square, mapped onto an octahedron.\n// The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294)\n float n_ = 0.142857142857; // 1.0/7.0\n vec3 ns = n_ * D.wyz - D.xzx;\n\n vec4 j = p - 49.0 * floor(p * ns.z * ns.z); // mod(p,7*7)\n\n vec4 x_ = floor(j * ns.z);\n vec4 y_ = floor(j - 7.0 * x_ ); // mod(j,N)\n\n vec4 x = x_ *ns.x + ns.yyyy;\n vec4 y = y_ *ns.x + ns.yyyy;\n vec4 h = 1.0 - abs(x) - abs(y);\n\n vec4 b0 = vec4( x.xy, y.xy );\n vec4 b1 = vec4( x.zw, y.zw );\n\n //vec4 s0 = vec4(lessThan(b0,0.0))*2.0 - 1.0;\n //vec4 s1 = vec4(lessThan(b1,0.0))*2.0 - 1.0;\n vec4 s0 = floor(b0)*2.0 + 1.0;\n vec4 s1 = floor(b1)*2.0 + 1.0;\n vec4 sh = -step(h, vec4(0.0));\n\n vec4 a0 = b0.xzyw + s0.xzyw*sh.xxyy ;\n vec4 a1 = b1.xzyw + s1.xzyw*sh.zzww ;\n\n vec3 p0 = vec3(a0.xy,h.x);\n vec3 p1 = vec3(a0.zw,h.y);\n vec3 p2 = vec3(a1.xy,h.z);\n vec3 p3 = vec3(a1.zw,h.w);\n\n//Normalise gradients\n vec4 norm = taylorInvSqrt(vec4(dot(p0,p0), dot(p1,p1), dot(p2, p2), dot(p3,p3)));\n p0 *= norm.x;\n p1 *= norm.y;\n p2 *= norm.z;\n p3 *= norm.w;\n\n// Mix final noise value\n vec4 m = max(0.6 - vec4(dot(x0,x0), dot(x1,x1), dot(x2,x2), dot(x3,x3)), 0.0);\n m = m * m;\n return 42.0 * dot( m*m, vec4( dot(p0,x0), dot(p1,x1),\n dot(p2,x2), dot(p3,x3) ) );\n }\n\nconst float interval = 3.0;\n\nvoid main(void){\n float strength = smoothstep(interval * 0.5, interval, interval - mod(time, interval));\n vec2 shake = vec2(strength * 8.0 + 0.5) * vec2(\n random(vec2(time)) * 2.0 - 1.0,\n random(vec2(time * 2.0)) * 2.0 - 1.0\n ) / resolution;\n\n float y = vUv.y * resolution.y;\n float rgbWave = (\n snoise(vec3(0.0, y * 0.01, time * 400.0)) * (2.0 + strength * 32.0)\n * snoise(vec3(0.0, y * 0.02, time * 200.0)) * (1.0 + strength * 4.0)\n + step(0.9995, sin(y * 0.005 + time * 1.6)) * 12.0\n + step(0.9999, sin(y * 0.005 + time * 2.0)) * -18.0\n ) / resolution.x;\n float rgbDiff = (6.0 + sin(time * 500.0 + vUv.y * 40.0) * (20.0 * strength + 1.0)) / resolution.x;\n float rgbUvX = vUv.x + rgbWave;\n float r = texture2D(texture, vec2(rgbUvX + rgbDiff, vUv.y) + shake).r;\n float g = texture2D(texture, vec2(rgbUvX, vUv.y) + shake).g;\n float b = texture2D(texture, vec2(rgbUvX - rgbDiff, vUv.y) + shake).b;\n\n float whiteNoise = (random(vUv + mod(time, 10.0)) * 2.0 - 1.0) * (0.15 + strength * 0.15);\n\n float bnTime = floor(time * 20.0) * 200.0;\n float noiseX = step((snoise(vec3(0.0, vUv.x * 3.0, bnTime)) + 1.0) / 2.0, 0.12 + strength * 0.3);\n float noiseY = step((snoise(vec3(0.0, vUv.y * 3.0, bnTime)) + 1.0) / 2.0, 0.12 + strength * 0.3);\n float bnMask = noiseX * noiseY;\n float bnUvX = vUv.x + sin(bnTime) * 0.2 + rgbWave;\n float bnR = texture2D(texture, vec2(bnUvX + rgbDiff, vUv.y)).r * bnMask;\n float bnG = texture2D(texture, vec2(bnUvX, vUv.y)).g * bnMask;\n float bnB = texture2D(texture, vec2(bnUvX - rgbDiff, vUv.y)).b * bnMask;\n vec4 blockNoise = vec4(bnR, bnG, bnB, 1.0);\n\n float bnTime2 = floor(time * 25.0) * 300.0;\n float noiseX2 = step((snoise(vec3(0.0, vUv.x * 2.0, bnTime2)) + 1.0) / 2.0, 0.12 + strength * 0.5);\n float noiseY2 = step((snoise(vec3(0.0, vUv.y * 8.0, bnTime2)) + 1.0) / 2.0, 0.12 + strength * 0.3);\n float bnMask2 = noiseX2 * noiseY2;\n float bnR2 = texture2D(texture, vec2(bnUvX + rgbDiff, vUv.y)).r * bnMask2;\n float bnG2 = texture2D(texture, vec2(bnUvX, vUv.y)).g * bnMask2;\n float bnB2 = texture2D(texture, vec2(bnUvX - rgbDiff, vUv.y)).b * bnMask2;\n vec4 blockNoise2 = vec4(bnR2, bnG2, bnB2, 1.0);\n\n float waveNoise = (sin(vUv.y * 1200.0) + 1.0) / 2.0 * (0.15 + strength * 0.2);\n\n gl_FragColor = vec4(r, g, b, 1.0) * (1.0 - bnMask - bnMask2) + (whiteNoise + blockNoise + blockNoise2 - waveNoise);\n}\n"},79541:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nvarying vec2 vUv;\n\nvoid main() {\n vUv = uv;\n gl_Position = vec4(position, 1.0);\n}\n"},27444:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nvarying vec3 vColor;\n\nvoid main() {\n gl_FragColor = vec4(vColor, 1.0);\n}\n"},45582:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nuniform float time;\n\nvarying vec3 vColor;\n\nvoid main() {\n vColor = vec3((position.y / 1000.0 + 1.0) * 0.12 + 0.88);\n gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n}\n"},61187:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nuniform float time;\nuniform vec2 resolution;\nuniform sampler2D texture;\nuniform sampler2D texture2;\n\nconst float blur = 20.0;\n\nvarying vec2 vUv;\n\nvoid main() {\n vec4 color = vec4(0.0);\n for (float x = 0.0; x < blur; x++){\n for (float y = 0.0; y < blur; y++){\n color += texture2D(texture, vUv - (vec2(x, y) - vec2(blur / 2.0)) / resolution);\n }\n }\n vec4 color2 = color / pow(blur, 2.0);\n vec4 color3 = texture2D(texture2, vUv);\n gl_FragColor = vec4(color3.rgb, floor(length(color2.rgb)));\n}\n"},8820:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nvarying vec2 vUv;\n\nvoid main(void) {\n vUv = uv;\n gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n}\n"},53944:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nvarying vec3 vColor;\n\nvoid main() {\n gl_FragColor = vec4(vColor, 1.0);\n}\n"},19160:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nuniform float time;\n\nvarying vec3 vColor;\n\nvec3 hsv2rgb(vec3 c){\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\n//\n// Description : Array and textureless GLSL 2D/3D/4D simplex\n// noise functions.\n// Author : Ian McEwan, Ashima Arts.\n// Maintainer : ijm\n// Lastmod : 20110822 (ijm)\n// License : Copyright (C) 2011 Ashima Arts. All rights reserved.\n// Distributed under the MIT License. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289(vec3 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x) {\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nfloat snoise(vec3 v)\n {\n const vec2 C = vec2(1.0/6.0, 1.0/3.0) ;\n const vec4 D = vec4(0.0, 0.5, 1.0, 2.0);\n\n// First corner\n vec3 i = floor(v + dot(v, C.yyy) );\n vec3 x0 = v - i + dot(i, C.xxx) ;\n\n// Other corners\n vec3 g = step(x0.yzx, x0.xyz);\n vec3 l = 1.0 - g;\n vec3 i1 = min( g.xyz, l.zxy );\n vec3 i2 = max( g.xyz, l.zxy );\n\n // x0 = x0 - 0.0 + 0.0 * C.xxx;\n // x1 = x0 - i1 + 1.0 * C.xxx;\n // x2 = x0 - i2 + 2.0 * C.xxx;\n // x3 = x0 - 1.0 + 3.0 * C.xxx;\n vec3 x1 = x0 - i1 + C.xxx;\n vec3 x2 = x0 - i2 + C.yyy; // 2.0*C.x = 1/3 = C.y\n vec3 x3 = x0 - D.yyy; // -1.0+3.0*C.x = -0.5 = -D.y\n\n// Permutations\n i = mod289(i);\n vec4 p = permute( permute( permute(\n i.z + vec4(0.0, i1.z, i2.z, 1.0 ))\n + i.y + vec4(0.0, i1.y, i2.y, 1.0 ))\n + i.x + vec4(0.0, i1.x, i2.x, 1.0 ));\n\n// Gradients: 7x7 points over a square, mapped onto an octahedron.\n// The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294)\n float n_ = 0.142857142857; // 1.0/7.0\n vec3 ns = n_ * D.wyz - D.xzx;\n\n vec4 j = p - 49.0 * floor(p * ns.z * ns.z); // mod(p,7*7)\n\n vec4 x_ = floor(j * ns.z);\n vec4 y_ = floor(j - 7.0 * x_ ); // mod(j,N)\n\n vec4 x = x_ *ns.x + ns.yyyy;\n vec4 y = y_ *ns.x + ns.yyyy;\n vec4 h = 1.0 - abs(x) - abs(y);\n\n vec4 b0 = vec4( x.xy, y.xy );\n vec4 b1 = vec4( x.zw, y.zw );\n\n //vec4 s0 = vec4(lessThan(b0,0.0))*2.0 - 1.0;\n //vec4 s1 = vec4(lessThan(b1,0.0))*2.0 - 1.0;\n vec4 s0 = floor(b0)*2.0 + 1.0;\n vec4 s1 = floor(b1)*2.0 + 1.0;\n vec4 sh = -step(h, vec4(0.0));\n\n vec4 a0 = b0.xzyw + s0.xzyw*sh.xxyy ;\n vec4 a1 = b1.xzyw + s1.xzyw*sh.zzww ;\n\n vec3 p0 = vec3(a0.xy,h.x);\n vec3 p1 = vec3(a0.zw,h.y);\n vec3 p2 = vec3(a1.xy,h.z);\n vec3 p3 = vec3(a1.zw,h.w);\n\n//Normalise gradients\n vec4 norm = taylorInvSqrt(vec4(dot(p0,p0), dot(p1,p1), dot(p2, p2), dot(p3,p3)));\n p0 *= norm.x;\n p1 *= norm.y;\n p2 *= norm.z;\n p3 *= norm.w;\n\n// Mix final noise value\n vec4 m = max(0.6 - vec4(dot(x0,x0), dot(x1,x1), dot(x2,x2), dot(x3,x3)), 0.0);\n m = m * m;\n return 42.0 * dot( m*m, vec4( dot(p0,x0), dot(p1,x1),\n dot(p2,x2), dot(p3,x3) ) );\n }\n\nvoid main() {\n float noise = snoise(\n vec3(position.x + time * 10.0, position.y + cos(time / 20.0) * 100.0, position.z + time * 10.0) / 800.0\n );\n vColor = hsv2rgb(vec3(noise * 0.2 + 0.75, 0.4, noise * 0.3 + 0.5));\n gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n}\n"},77644:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nvoid main() {\n vec3 n;\n n.xy = gl_PointCoord.xy * 2.0 - 1.0;\n n.z = 1.0 - dot(n.xy, n.xy);\n if (n.z < 0.0) discard;\n gl_FragColor = vec4(1.0);\n}\n"},14623:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nuniform float time;\n\nvec3 getPolarCoord(float rad1, float rad2, float r) {\n return vec3(\n cos(rad1) * cos(rad2) * r,\n sin(rad1) * r,\n cos(rad1) * sin(rad2) * r\n );\n}\n\nvoid main() {\n vec3 update_position = getPolarCoord(\n position.x,\n position.y + radians(time / 2.0),\n position.z + sin(radians(time * 2.0) + position.x + position.y) * position.z / 4.0\n );\n vec4 mv_position = modelViewMatrix * vec4(update_position, 1.0);\n\n gl_PointSize = 2.0 * (1000.0 / length(mv_position.xyz));\n gl_Position = projectionMatrix * mv_position;\n}\n"},5402:function(e,t){"use strict";t.Z="#extension GL_OES_standard_derivatives : enable\n#define GLSLIFY 1\n\nstruct DirectionalLight {\n vec3 color;\n vec3 direction;\n};\nuniform DirectionalLight directionalLights[1];\n\nvarying vec3 vPosition;\nvarying mat4 vInvertMatrix;\n\nvoid main() {\n vec3 normal = normalize(cross(dFdx(vPosition), dFdy(vPosition)));\n vec3 inv_light = normalize(vInvertMatrix * vec4(directionalLights[0].direction, 1.0)).xyz;\n float diff = (dot(normal, inv_light) + 1.0) / 2.0 * 0.25 + 0.75;\n gl_FragColor = vec4(vec3(1.0) * diff, 1.0);\n}\n"},33176:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute float radius;\nattribute float radian;\nattribute float scale;\n\nuniform float time;\n\nvarying vec3 vPosition;\nvarying mat4 vInvertMatrix;\n\nfloat inverse(float m) {\n return 1.0 / m;\n}\n\nmat2 inverse(mat2 m) {\n return mat2(m[1][1],-m[0][1],\n -m[1][0], m[0][0]) / (m[0][0]*m[1][1] - m[0][1]*m[1][0]);\n}\n\nmat3 inverse(mat3 m) {\n float a00 = m[0][0], a01 = m[0][1], a02 = m[0][2];\n float a10 = m[1][0], a11 = m[1][1], a12 = m[1][2];\n float a20 = m[2][0], a21 = m[2][1], a22 = m[2][2];\n\n float b01 = a22 * a11 - a12 * a21;\n float b11 = -a22 * a10 + a12 * a20;\n float b21 = a21 * a10 - a11 * a20;\n\n float det = a00 * b01 + a01 * b11 + a02 * b21;\n\n return mat3(b01, (-a22 * a01 + a02 * a21), (a12 * a01 - a02 * a11),\n b11, (a22 * a00 - a02 * a20), (-a12 * a00 + a02 * a10),\n b21, (-a21 * a00 + a01 * a20), (a11 * a00 - a01 * a10)) / det;\n}\n\nmat4 inverse(mat4 m) {\n float\n a00 = m[0][0], a01 = m[0][1], a02 = m[0][2], a03 = m[0][3],\n a10 = m[1][0], a11 = m[1][1], a12 = m[1][2], a13 = m[1][3],\n a20 = m[2][0], a21 = m[2][1], a22 = m[2][2], a23 = m[2][3],\n a30 = m[3][0], a31 = m[3][1], a32 = m[3][2], a33 = m[3][3],\n\n b00 = a00 * a11 - a01 * a10,\n b01 = a00 * a12 - a02 * a10,\n b02 = a00 * a13 - a03 * a10,\n b03 = a01 * a12 - a02 * a11,\n b04 = a01 * a13 - a03 * a11,\n b05 = a02 * a13 - a03 * a12,\n b06 = a20 * a31 - a21 * a30,\n b07 = a20 * a32 - a22 * a30,\n b08 = a20 * a33 - a23 * a30,\n b09 = a21 * a32 - a22 * a31,\n b10 = a21 * a33 - a23 * a31,\n b11 = a22 * a33 - a23 * a32,\n\n det = b00 * b11 - b01 * b10 + b02 * b09 + b03 * b08 - b04 * b07 + b05 * b06;\n\n return mat4(\n a11 * b11 - a12 * b10 + a13 * b09,\n a02 * b10 - a01 * b11 - a03 * b09,\n a31 * b05 - a32 * b04 + a33 * b03,\n a22 * b04 - a21 * b05 - a23 * b03,\n a12 * b08 - a10 * b11 - a13 * b07,\n a00 * b11 - a02 * b08 + a03 * b07,\n a32 * b02 - a30 * b05 - a33 * b01,\n a20 * b05 - a22 * b02 + a23 * b01,\n a10 * b10 - a11 * b08 + a13 * b06,\n a01 * b08 - a00 * b10 - a03 * b06,\n a30 * b04 - a31 * b02 + a33 * b00,\n a21 * b02 - a20 * b04 - a23 * b00,\n a11 * b07 - a10 * b09 - a12 * b06,\n a00 * b09 - a01 * b07 + a02 * b06,\n a31 * b01 - a30 * b03 - a32 * b00,\n a20 * b03 - a21 * b01 + a22 * b00) / det;\n}\n\n//\n// Description : Array and textureless GLSL 2D/3D/4D simplex\n// noise functions.\n// Author : Ian McEwan, Ashima Arts.\n// Maintainer : ijm\n// Lastmod : 20110822 (ijm)\n// License : Copyright (C) 2011 Ashima Arts. All rights reserved.\n// Distributed under the MIT License. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289(vec3 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x) {\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nfloat snoise(vec3 v)\n {\n const vec2 C = vec2(1.0/6.0, 1.0/3.0) ;\n const vec4 D = vec4(0.0, 0.5, 1.0, 2.0);\n\n// First corner\n vec3 i = floor(v + dot(v, C.yyy) );\n vec3 x0 = v - i + dot(i, C.xxx) ;\n\n// Other corners\n vec3 g = step(x0.yzx, x0.xyz);\n vec3 l = 1.0 - g;\n vec3 i1 = min( g.xyz, l.zxy );\n vec3 i2 = max( g.xyz, l.zxy );\n\n // x0 = x0 - 0.0 + 0.0 * C.xxx;\n // x1 = x0 - i1 + 1.0 * C.xxx;\n // x2 = x0 - i2 + 2.0 * C.xxx;\n // x3 = x0 - 1.0 + 3.0 * C.xxx;\n vec3 x1 = x0 - i1 + C.xxx;\n vec3 x2 = x0 - i2 + C.yyy; // 2.0*C.x = 1/3 = C.y\n vec3 x3 = x0 - D.yyy; // -1.0+3.0*C.x = -0.5 = -D.y\n\n// Permutations\n i = mod289(i);\n vec4 p = permute( permute( permute(\n i.z + vec4(0.0, i1.z, i2.z, 1.0 ))\n + i.y + vec4(0.0, i1.y, i2.y, 1.0 ))\n + i.x + vec4(0.0, i1.x, i2.x, 1.0 ));\n\n// Gradients: 7x7 points over a square, mapped onto an octahedron.\n// The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294)\n float n_ = 0.142857142857; // 1.0/7.0\n vec3 ns = n_ * D.wyz - D.xzx;\n\n vec4 j = p - 49.0 * floor(p * ns.z * ns.z); // mod(p,7*7)\n\n vec4 x_ = floor(j * ns.z);\n vec4 y_ = floor(j - 7.0 * x_ ); // mod(j,N)\n\n vec4 x = x_ *ns.x + ns.yyyy;\n vec4 y = y_ *ns.x + ns.yyyy;\n vec4 h = 1.0 - abs(x) - abs(y);\n\n vec4 b0 = vec4( x.xy, y.xy );\n vec4 b1 = vec4( x.zw, y.zw );\n\n //vec4 s0 = vec4(lessThan(b0,0.0))*2.0 - 1.0;\n //vec4 s1 = vec4(lessThan(b1,0.0))*2.0 - 1.0;\n vec4 s0 = floor(b0)*2.0 + 1.0;\n vec4 s1 = floor(b1)*2.0 + 1.0;\n vec4 sh = -step(h, vec4(0.0));\n\n vec4 a0 = b0.xzyw + s0.xzyw*sh.xxyy ;\n vec4 a1 = b1.xzyw + s1.xzyw*sh.zzww ;\n\n vec3 p0 = vec3(a0.xy,h.x);\n vec3 p1 = vec3(a0.zw,h.y);\n vec3 p2 = vec3(a1.xy,h.z);\n vec3 p3 = vec3(a1.zw,h.w);\n\n//Normalise gradients\n vec4 norm = taylorInvSqrt(vec4(dot(p0,p0), dot(p1,p1), dot(p2, p2), dot(p3,p3)));\n p0 *= norm.x;\n p1 *= norm.y;\n p2 *= norm.z;\n p3 *= norm.w;\n\n// Mix final noise value\n vec4 m = max(0.6 - vec4(dot(x0,x0), dot(x1,x1), dot(x2,x2), dot(x3,x3)), 0.0);\n m = m * m;\n return 42.0 * dot( m*m, vec4( dot(p0,x0), dot(p1,x1),\n dot(p2,x2), dot(p3,x3) ) );\n }\n\nmat4 translateMatrix(vec3 v) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, 1.0, 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n v.x, v.y, v.z, 1.0\n );\n}\n\nmat4 rotationMatrixX(float radian) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, cos(radian), -sin(radian), 0.0,\n 0.0, sin(radian), cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 rotationMatrixY(float radian) {\n return mat4(\n cos(radian), 0.0, sin(radian), 0.0,\n 0.0, 1.0, 0.0, 0.0,\n -sin(radian), 0.0, cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 rotationMatrixZ(float radian) {\n return mat4(\n cos(radian), -sin(radian), 0.0, 0.0,\n sin(radian), cos(radian), 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 rotationMatrix(float radian_x, float radian_y, float radian_z) {\n return rotationMatrixX(radian_x) * rotationMatrixY(radian_y) * rotationMatrixZ(radian_z);\n}\n\nmat4 scaleMatrix(vec3 scale) {\n return mat4(\n scale.x, 0.0, 0.0, 0.0,\n 0.0, scale.y, 0.0, 0.0,\n 0.0, 0.0, scale.z, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nvec4 move(vec3 position) {\n return translateMatrix(\n vec3(\n cos(radians(time * 0.5) + radian) * radius,\n sin(radians(time * 0.5) + radian * 10.0) * radius * 0.3,\n sin(radians(time * 0.5) + radian) * radius\n )\n ) * rotationMatrix(\n radians(time * radian) + radian, radians(time) + radian, radians(time) + radian\n ) * scaleMatrix(\n vec3(20.0 * scale) + vec3(10.0) * snoise((position + sin(radian)))\n ) * vec4(position, 1.0);\n}\n\nvoid main() {\n vec4 update_position = move(position);\n vPosition = position;\n vInvertMatrix = inverse(rotationMatrix(\n radians(time * radian) + radian, radians(time) + radian, radians(time) + radian\n ));\n gl_Position = projectionMatrix * modelViewMatrix * update_position;\n}\n"},28408:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nuniform float size;\n\nvoid main() {\n vec3 n;\n n.xy = gl_PointCoord.xy * 2.0 - 1.0;\n n.z = 1.0 - dot(n.xy, n.xy);\n if (n.z < 0.0) discard;\n gl_FragColor = vec4(1.0);\n}\n"},12978:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 radian;\n\nuniform float time;\nuniform vec2 resolution;\nuniform float size;\nuniform vec2 force;\n\nvoid main() {\n float radius = 300.0;\n float radian_base = radians(time * 2.0);\n vec3 update_positon = position + vec3(\n cos(radian_base + radian.x) * cos(radian_base + radian.y) * radius,\n cos(radian_base + radian.x) * sin(radian_base + radian.y) * radius,\n sin(radian_base + radian.x) * radius\n ) * force.x;\n vec4 mvPosition = modelViewMatrix * vec4(update_positon, 1.0);\n\n gl_PointSize = (size + force.y) * (abs(sin(radian_base + radian.z))) * (size / length(mvPosition.xyz)) * 480.0;\n gl_Position = projectionMatrix * mvPosition;\n}\n"},7034:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform vec3 cameraPosition;\nuniform float time;\nuniform samplerCube cubeTex;\n\nvarying vec3 vPosition;\nvarying vec3 vNormal;\n\nvoid main() {\n vec3 ref = reflect(vPosition - cameraPosition, vNormal);\n vec4 envColor = textureCube(cubeTex, ref);\n gl_FragColor = envColor * vec4(0.8, 1.0, 0.95, 0.7);\n}\n"},58702:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec3 normal;\nattribute vec3 translate;\nattribute float offset;\nattribute vec3 rotate;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\nuniform mat4 modelMatrix;\nuniform float time;\n\nvarying vec3 vPosition;\nvarying vec3 vNormal;\n\nmat4 calcTranslateMat4(vec3 v) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, 1.0, 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n v.x, v.y, v.z, 1.0\n );\n}\n\nmat4 calcRotateMat4X(float radian) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, cos(radian), -sin(radian), 0.0,\n 0.0, sin(radian), cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Y(float radian) {\n return mat4(\n cos(radian), 0.0, sin(radian), 0.0,\n 0.0, 1.0, 0.0, 0.0,\n -sin(radian), 0.0, cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Z(float radian) {\n return mat4(\n cos(radian), -sin(radian), 0.0, 0.0,\n sin(radian), cos(radian), 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4(vec3 radian) {\n return calcRotateMat4X(radian.x) * calcRotateMat4Y(radian.y) * calcRotateMat4Z(radian.z);\n}\n\nvoid main(void) {\n float radian = radians(time);\n mat4 rotateWorld = calcRotateMat4(vec3(radian) * vec3(5.0, 20.0, 1.0) + rotate);\n mat4 rotateSelf = calcRotateMat4(vec3(radian) * rotate * 100.0);\n vec4 updatePosition =\n rotateWorld\n * calcTranslateMat4(translate)\n * rotateSelf\n * vec4(position + normalize(position) * offset, 1.0);\n vPosition = (modelMatrix * updatePosition).xyz;\n vNormal = (modelMatrix * rotateWorld * rotateSelf * vec4(normal, 0.0)).xyz;\n gl_Position = projectionMatrix * modelViewMatrix * updatePosition;\n}\n"},64529:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform vec2 resolution;\nuniform sampler2D texture;\nuniform float strengthZoom;\nuniform float strengthGlitch;\n\nvarying vec2 vUv;\n\nfloat random(vec2 c){\n return fract(sin(dot(c.xy ,vec2(12.9898,78.233))) * 43758.5453);\n}\n\n//\n// Description : Array and textureless GLSL 2D/3D/4D simplex\n// noise functions.\n// Author : Ian McEwan, Ashima Arts.\n// Maintainer : ijm\n// Lastmod : 20110822 (ijm)\n// License : Copyright (C) 2011 Ashima Arts. All rights reserved.\n// Distributed under the MIT License. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289(vec3 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x) {\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nfloat snoise(vec3 v)\n {\n const vec2 C = vec2(1.0/6.0, 1.0/3.0) ;\n const vec4 D = vec4(0.0, 0.5, 1.0, 2.0);\n\n// First corner\n vec3 i = floor(v + dot(v, C.yyy) );\n vec3 x0 = v - i + dot(i, C.xxx) ;\n\n// Other corners\n vec3 g = step(x0.yzx, x0.xyz);\n vec3 l = 1.0 - g;\n vec3 i1 = min( g.xyz, l.zxy );\n vec3 i2 = max( g.xyz, l.zxy );\n\n // x0 = x0 - 0.0 + 0.0 * C.xxx;\n // x1 = x0 - i1 + 1.0 * C.xxx;\n // x2 = x0 - i2 + 2.0 * C.xxx;\n // x3 = x0 - 1.0 + 3.0 * C.xxx;\n vec3 x1 = x0 - i1 + C.xxx;\n vec3 x2 = x0 - i2 + C.yyy; // 2.0*C.x = 1/3 = C.y\n vec3 x3 = x0 - D.yyy; // -1.0+3.0*C.x = -0.5 = -D.y\n\n// Permutations\n i = mod289(i);\n vec4 p = permute( permute( permute(\n i.z + vec4(0.0, i1.z, i2.z, 1.0 ))\n + i.y + vec4(0.0, i1.y, i2.y, 1.0 ))\n + i.x + vec4(0.0, i1.x, i2.x, 1.0 ));\n\n// Gradients: 7x7 points over a square, mapped onto an octahedron.\n// The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294)\n float n_ = 0.142857142857; // 1.0/7.0\n vec3 ns = n_ * D.wyz - D.xzx;\n\n vec4 j = p - 49.0 * floor(p * ns.z * ns.z); // mod(p,7*7)\n\n vec4 x_ = floor(j * ns.z);\n vec4 y_ = floor(j - 7.0 * x_ ); // mod(j,N)\n\n vec4 x = x_ *ns.x + ns.yyyy;\n vec4 y = y_ *ns.x + ns.yyyy;\n vec4 h = 1.0 - abs(x) - abs(y);\n\n vec4 b0 = vec4( x.xy, y.xy );\n vec4 b1 = vec4( x.zw, y.zw );\n\n //vec4 s0 = vec4(lessThan(b0,0.0))*2.0 - 1.0;\n //vec4 s1 = vec4(lessThan(b1,0.0))*2.0 - 1.0;\n vec4 s0 = floor(b0)*2.0 + 1.0;\n vec4 s1 = floor(b1)*2.0 + 1.0;\n vec4 sh = -step(h, vec4(0.0));\n\n vec4 a0 = b0.xzyw + s0.xzyw*sh.xxyy ;\n vec4 a1 = b1.xzyw + s1.xzyw*sh.zzww ;\n\n vec3 p0 = vec3(a0.xy,h.x);\n vec3 p1 = vec3(a0.zw,h.y);\n vec3 p2 = vec3(a1.xy,h.z);\n vec3 p3 = vec3(a1.zw,h.w);\n\n//Normalise gradients\n vec4 norm = taylorInvSqrt(vec4(dot(p0,p0), dot(p1,p1), dot(p2, p2), dot(p3,p3)));\n p0 *= norm.x;\n p1 *= norm.y;\n p2 *= norm.z;\n p3 *= norm.w;\n\n// Mix final noise value\n vec4 m = max(0.6 - vec4(dot(x0,x0), dot(x1,x1), dot(x2,x2), dot(x3,x3)), 0.0);\n m = m * m;\n return 42.0 * dot( m*m, vec4( dot(p0,x0), dot(p1,x1),\n dot(p2,x2), dot(p3,x3) ) );\n }\n\nvoid main(void){\n // zoom blur\n vec2 tFrag = 1.0 / resolution;\n float nFrag = 1.0 / 30.0;\n vec2 centerOffset = resolution / 2.0;\n vec3 destColor = vec3(0.0);\n vec2 fcc = gl_FragCoord.xy - centerOffset;\n float totalWeight = 0.0;\n\n for(float i = 0.0; i <= 30.0; i++){\n float percent = (i + random(gl_FragCoord.xy)) * nFrag;\n float weight = percent - percent * percent;\n vec2 t = gl_FragCoord.xy - fcc * percent * strengthZoom * nFrag;\n destColor += texture2D(texture, t * tFrag).rgb * weight;\n totalWeight += weight;\n }\n vec4 zoomColor = vec4(destColor / totalWeight, 1.0);\n\n // glitch\n float strengthWhiteNoise = min(strengthGlitch * 0.05, 0.1);\n float whiteNoise = (random(gl_FragCoord.xy + time) * 2.0 - 1.0) * (0.05 + strengthWhiteNoise);\n\n float strengthBlockNoise = min(strengthGlitch * 0.15, 1.2);\n float noiseX = step((snoise(vec3(0.0, gl_FragCoord.x / resolution.x * 1.0, time * 600.0)) + 1.0) / 2.0, strengthBlockNoise * 0.6);\n float noiseY = step((snoise(vec3(0.0, gl_FragCoord.y / resolution.y * 3.0, time * 200.0)) + 1.0) / 2.0, strengthBlockNoise * 0.3);\n float blockNoiseMask = noiseX * noiseY;\n vec4 blockNoise = texture2D(texture, 1.0 - vUv) * blockNoiseMask;\n\n gl_FragColor = zoomColor + whiteNoise + blockNoise;\n}\n"},4998:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nvarying vec2 vUv;\n\nvoid main() {\n vUv = uv;\n gl_Position = vec4(position, 1.0);\n}\n"},67965:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform samplerCube cubeTex;\n\nvarying vec3 vPosition;\n\nvoid main() {\n vec3 normal = normalize(vPosition);\n vec4 color = textureCube(cubeTex, normal);\n gl_FragColor = color;\n}\n"},70301:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec3 normal;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\nuniform float time;\n\nvarying vec3 vPosition;\n\nvoid main(void) {\n vPosition = position;\n gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n}\n"},72413:function(e,t){"use strict";t.Z="#extension GL_OES_standard_derivatives : enable\nprecision highp float;\n#define GLSLIFY 1\n\nuniform float addH1;\nuniform float addH2;\n\nvarying vec3 vPosition;\nvarying vec3 vMPosition;\nvarying vec2 vUv;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nconst float edge1 = 48.0;\nconst float edge2 = 24.0;\nconst float edge3 = 8.0;\nconst float range = 14.0;\n\nvoid main() {\n // Flat Shading\n vec3 light = normalize(vec3(-1.0, 1.0, 1.0));\n vec3 normal = normalize(cross(dFdx(vMPosition), dFdy(vMPosition)));\n float diff = (dot(normal, light) + 1.0) / 2.0;\n\n float stepTop = smoothstep(edge1, edge1 + range, vPosition.y);\n float stepMiddle1 = smoothstep(edge2, edge2 + range, vPosition.y) * (1.0 - smoothstep(edge1, edge1 + range, vPosition.y));\n float stepMiddle2 = smoothstep(edge3, edge3 + range, vPosition.y) * (1.0 - smoothstep(edge2, edge2 + range, vPosition.y));\n float stepBottom = 1.0 - smoothstep(edge3, edge3 + range, vPosition.y);\n\n vec4 colorTop = vec4(convertHsvToRgb(vec3( 0.1 + addH1, 0.1, 0.8)), 1.0) * stepTop;\n vec4 colorMiddle1 = vec4(convertHsvToRgb(vec3(0.25 + addH2, 0.4, 0.6)), 1.0) * stepMiddle1;\n vec4 colorMiddle2 = vec4(convertHsvToRgb(vec3(0.25 + addH2, 0.25, 0.8)), 1.0) * stepMiddle2;\n vec4 colorBottom = vec4(convertHsvToRgb(vec3( 0.1 + addH1, 0.4, 0.3)), 1.0) * stepBottom;\n\n vec4 colorAll = (colorTop + colorMiddle1 + colorMiddle2 + colorBottom) * diff;\n\n gl_FragColor = colorAll;\n}\n"},31382:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\n\nvarying vec3 vPosition;\nvarying vec3 vMPosition;\nvarying vec2 vUv;\n\nvoid main(void) {\n // coordinate transformation\n vec4 mPosition = modelMatrix * vec4(position, 1.0);\n\n vPosition = position;\n vMPosition = mPosition.xyz;\n vUv = uv;\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n"},53822:function(e,t){"use strict";t.Z="#extension GL_OES_standard_derivatives : enable\nprecision highp float;\n#define GLSLIFY 1\n\nuniform float addH;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying float vSinAll;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n // Flat Shading\n vec3 light = normalize(vec3(-1.0, 1.0, 1.0));\n vec3 normal = normalize(cross(dFdx(vPosition), dFdy(vPosition)));\n float diff = dot(normal, light);\n\n vec4 color = vec4(convertHsvToRgb(vec3(0.2 + vSinAll * 0.15 + addH, 0.2, 1.0)), 0.4);\n\n gl_FragColor = color * vec4(vec3(diff), 1.0);\n}\n"},40557:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform float time;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying float vSinAll;\n\nmat4 calcTranslateMat4(vec3 v) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, 1.0, 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n v.x, v.y, v.z, 1.0\n );\n}\n\nvoid main(void) {\n float sin1 = sin(time + position.x / 16.0);\n float sin2 = sin(time + position.y / 8.0);\n float sin3 = sin(time - length(position.xy + 50.0) / 4.0);\n float sinAll = (sin1 + sin2 * 0.5 + sin3 * 0.2) / 1.7;\n mat4 waveMat = calcTranslateMat4(vec3(0.0, 0.0, sinAll * 1.5));\n\n // coordinate transformation\n vec4 mPosition = modelMatrix * waveMat * vec4(position, 1.0);\n\n vPosition = mPosition.xyz;\n vUv = uv;\n vSinAll = sinAll;\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n"},12294:function(e,t){"use strict";t.Z="#extension GL_OES_standard_derivatives : enable\n#define GLSLIFY 1\n\nuniform float time;\nuniform float acceleration;\n\nvarying vec3 vPosition;\nvarying vec3 vColor;\nvarying mat4 invertMatrix;\n\nvoid main() {\n vec3 normal = normalize(cross(dFdx(vPosition), dFdy(vPosition)));\n vec3 inv_light = normalize(invertMatrix * vec4(0.7, -0.7, 0.7, 1.0)).xyz;\n float diff = (dot(normal, inv_light) + 1.0) / 4.0 + 0.4;\n gl_FragColor = vec4(vColor * diff, 1.0);\n}\n"},30958:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nuniform float time;\nuniform float acceleration;\n\nvarying vec3 vPosition;\nvarying vec3 vColor;\nvarying mat4 invertMatrix;\n\n//\n// Description : Array and textureless GLSL 2D/3D/4D simplex\n// noise functions.\n// Author : Ian McEwan, Ashima Arts.\n// Maintainer : ijm\n// Lastmod : 20110822 (ijm)\n// License : Copyright (C) 2011 Ashima Arts. All rights reserved.\n// Distributed under the MIT License. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289(vec3 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x) {\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nfloat snoise(vec3 v)\n {\n const vec2 C = vec2(1.0/6.0, 1.0/3.0) ;\n const vec4 D = vec4(0.0, 0.5, 1.0, 2.0);\n\n// First corner\n vec3 i = floor(v + dot(v, C.yyy) );\n vec3 x0 = v - i + dot(i, C.xxx) ;\n\n// Other corners\n vec3 g = step(x0.yzx, x0.xyz);\n vec3 l = 1.0 - g;\n vec3 i1 = min( g.xyz, l.zxy );\n vec3 i2 = max( g.xyz, l.zxy );\n\n // x0 = x0 - 0.0 + 0.0 * C.xxx;\n // x1 = x0 - i1 + 1.0 * C.xxx;\n // x2 = x0 - i2 + 2.0 * C.xxx;\n // x3 = x0 - 1.0 + 3.0 * C.xxx;\n vec3 x1 = x0 - i1 + C.xxx;\n vec3 x2 = x0 - i2 + C.yyy; // 2.0*C.x = 1/3 = C.y\n vec3 x3 = x0 - D.yyy; // -1.0+3.0*C.x = -0.5 = -D.y\n\n// Permutations\n i = mod289(i);\n vec4 p = permute( permute( permute(\n i.z + vec4(0.0, i1.z, i2.z, 1.0 ))\n + i.y + vec4(0.0, i1.y, i2.y, 1.0 ))\n + i.x + vec4(0.0, i1.x, i2.x, 1.0 ));\n\n// Gradients: 7x7 points over a square, mapped onto an octahedron.\n// The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294)\n float n_ = 0.142857142857; // 1.0/7.0\n vec3 ns = n_ * D.wyz - D.xzx;\n\n vec4 j = p - 49.0 * floor(p * ns.z * ns.z); // mod(p,7*7)\n\n vec4 x_ = floor(j * ns.z);\n vec4 y_ = floor(j - 7.0 * x_ ); // mod(j,N)\n\n vec4 x = x_ *ns.x + ns.yyyy;\n vec4 y = y_ *ns.x + ns.yyyy;\n vec4 h = 1.0 - abs(x) - abs(y);\n\n vec4 b0 = vec4( x.xy, y.xy );\n vec4 b1 = vec4( x.zw, y.zw );\n\n //vec4 s0 = vec4(lessThan(b0,0.0))*2.0 - 1.0;\n //vec4 s1 = vec4(lessThan(b1,0.0))*2.0 - 1.0;\n vec4 s0 = floor(b0)*2.0 + 1.0;\n vec4 s1 = floor(b1)*2.0 + 1.0;\n vec4 sh = -step(h, vec4(0.0));\n\n vec4 a0 = b0.xzyw + s0.xzyw*sh.xxyy ;\n vec4 a1 = b1.xzyw + s1.xzyw*sh.zzww ;\n\n vec3 p0 = vec3(a0.xy,h.x);\n vec3 p1 = vec3(a0.zw,h.y);\n vec3 p2 = vec3(a1.xy,h.z);\n vec3 p3 = vec3(a1.zw,h.w);\n\n//Normalise gradients\n vec4 norm = taylorInvSqrt(vec4(dot(p0,p0), dot(p1,p1), dot(p2, p2), dot(p3,p3)));\n p0 *= norm.x;\n p1 *= norm.y;\n p2 *= norm.z;\n p3 *= norm.w;\n\n// Mix final noise value\n vec4 m = max(0.6 - vec4(dot(x0,x0), dot(x1,x1), dot(x2,x2), dot(x3,x3)), 0.0);\n m = m * m;\n return 42.0 * dot( m*m, vec4( dot(p0,x0), dot(p1,x1),\n dot(p2,x2), dot(p3,x3) ) );\n }\n\nvec3 hsv2rgb(vec3 c){\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nfloat inverse(float m) {\n return 1.0 / m;\n}\n\nmat2 inverse(mat2 m) {\n return mat2(m[1][1],-m[0][1],\n -m[1][0], m[0][0]) / (m[0][0]*m[1][1] - m[0][1]*m[1][0]);\n}\n\nmat3 inverse(mat3 m) {\n float a00 = m[0][0], a01 = m[0][1], a02 = m[0][2];\n float a10 = m[1][0], a11 = m[1][1], a12 = m[1][2];\n float a20 = m[2][0], a21 = m[2][1], a22 = m[2][2];\n\n float b01 = a22 * a11 - a12 * a21;\n float b11 = -a22 * a10 + a12 * a20;\n float b21 = a21 * a10 - a11 * a20;\n\n float det = a00 * b01 + a01 * b11 + a02 * b21;\n\n return mat3(b01, (-a22 * a01 + a02 * a21), (a12 * a01 - a02 * a11),\n b11, (a22 * a00 - a02 * a20), (-a12 * a00 + a02 * a10),\n b21, (-a21 * a00 + a01 * a20), (a11 * a00 - a01 * a10)) / det;\n}\n\nmat4 inverse(mat4 m) {\n float\n a00 = m[0][0], a01 = m[0][1], a02 = m[0][2], a03 = m[0][3],\n a10 = m[1][0], a11 = m[1][1], a12 = m[1][2], a13 = m[1][3],\n a20 = m[2][0], a21 = m[2][1], a22 = m[2][2], a23 = m[2][3],\n a30 = m[3][0], a31 = m[3][1], a32 = m[3][2], a33 = m[3][3],\n\n b00 = a00 * a11 - a01 * a10,\n b01 = a00 * a12 - a02 * a10,\n b02 = a00 * a13 - a03 * a10,\n b03 = a01 * a12 - a02 * a11,\n b04 = a01 * a13 - a03 * a11,\n b05 = a02 * a13 - a03 * a12,\n b06 = a20 * a31 - a21 * a30,\n b07 = a20 * a32 - a22 * a30,\n b08 = a20 * a33 - a23 * a30,\n b09 = a21 * a32 - a22 * a31,\n b10 = a21 * a33 - a23 * a31,\n b11 = a22 * a33 - a23 * a32,\n\n det = b00 * b11 - b01 * b10 + b02 * b09 + b03 * b08 - b04 * b07 + b05 * b06;\n\n return mat4(\n a11 * b11 - a12 * b10 + a13 * b09,\n a02 * b10 - a01 * b11 - a03 * b09,\n a31 * b05 - a32 * b04 + a33 * b03,\n a22 * b04 - a21 * b05 - a23 * b03,\n a12 * b08 - a10 * b11 - a13 * b07,\n a00 * b11 - a02 * b08 + a03 * b07,\n a32 * b02 - a30 * b05 - a33 * b01,\n a20 * b05 - a22 * b02 + a23 * b01,\n a10 * b10 - a11 * b08 + a13 * b06,\n a01 * b08 - a00 * b10 - a03 * b06,\n a30 * b04 - a31 * b02 + a33 * b00,\n a21 * b02 - a20 * b04 - a23 * b00,\n a11 * b07 - a10 * b09 - a12 * b06,\n a00 * b09 - a01 * b07 + a02 * b06,\n a31 * b01 - a30 * b03 - a32 * b00,\n a20 * b03 - a21 * b01 + a22 * b00) / det;\n}\n\nvec3 rotate(vec3 p, float radian_x, float radian_y, float radian_z) {\n mat3 mx = mat3(\n 1.0, 0.0, 0.0,\n 0.0, cos(radian_x), -sin(radian_x),\n 0.0, sin(radian_x), cos(radian_x)\n );\n mat3 my = mat3(\n cos(radian_y), 0.0, sin(radian_y),\n 0.0, 1.0, 0.0,\n -sin(radian_y), 0.0, cos(radian_y)\n );\n mat3 mz = mat3(\n cos(radian_z), -sin(radian_z), 0.0,\n sin(radian_z), cos(radian_z), 0.0,\n 0.0, 0.0, 1.0\n );\n return mx * my * mz * p;\n}\n\nvec3 getRotate(vec3 p) {\n return rotate(p, radians(time / 6.0), radians(time / 7.0), radians(time / 8.0));\n}\n\nvoid main() {\n float updateTime = time / 400.0;\n vec3 p_rotate = getRotate(position);\n float noise = snoise(vec3(p_rotate / 12.1 + updateTime * 0.5));\n vec3 p_noise = p_rotate + p_rotate * noise / 20.0 * (min(acceleration, 6.0) + 1.0);\n\n vPosition = p_noise;\n vColor = hsv2rgb(vec3(updateTime + position.y / 400.0, 0.05 + min(acceleration / 10.0, 0.25), 1.0));\n invertMatrix = inverse(modelMatrix);\n\n gl_Position = projectionMatrix * modelViewMatrix * vec4(p_noise, 1.0);\n}\n"},73845:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nuniform float time;\nuniform float time2;\nuniform float acceleration;\nuniform vec2 resolution;\n\nvarying mat4 m_matrix;\n\n// const vec3 cPos = vec3(0.0, 0.0, 10.0);\nconst float targetDepth = 3.5;\nconst vec3 lightDir = vec3(0.577, -0.577, 0.577);\n\nvec3 hsv2rgb(vec3 c){\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\n//\n// Description : Array and textureless GLSL 2D/3D/4D simplex\n// noise functions.\n// Author : Ian McEwan, Ashima Arts.\n// Maintainer : ijm\n// Lastmod : 20110822 (ijm)\n// License : Copyright (C) 2011 Ashima Arts. All rights reserved.\n// Distributed under the MIT License. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289(vec3 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x) {\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nfloat snoise(vec3 v)\n {\n const vec2 C = vec2(1.0/6.0, 1.0/3.0) ;\n const vec4 D = vec4(0.0, 0.5, 1.0, 2.0);\n\n// First corner\n vec3 i = floor(v + dot(v, C.yyy) );\n vec3 x0 = v - i + dot(i, C.xxx) ;\n\n// Other corners\n vec3 g = step(x0.yzx, x0.xyz);\n vec3 l = 1.0 - g;\n vec3 i1 = min( g.xyz, l.zxy );\n vec3 i2 = max( g.xyz, l.zxy );\n\n // x0 = x0 - 0.0 + 0.0 * C.xxx;\n // x1 = x0 - i1 + 1.0 * C.xxx;\n // x2 = x0 - i2 + 2.0 * C.xxx;\n // x3 = x0 - 1.0 + 3.0 * C.xxx;\n vec3 x1 = x0 - i1 + C.xxx;\n vec3 x2 = x0 - i2 + C.yyy; // 2.0*C.x = 1/3 = C.y\n vec3 x3 = x0 - D.yyy; // -1.0+3.0*C.x = -0.5 = -D.y\n\n// Permutations\n i = mod289(i);\n vec4 p = permute( permute( permute(\n i.z + vec4(0.0, i1.z, i2.z, 1.0 ))\n + i.y + vec4(0.0, i1.y, i2.y, 1.0 ))\n + i.x + vec4(0.0, i1.x, i2.x, 1.0 ));\n\n// Gradients: 7x7 points over a square, mapped onto an octahedron.\n// The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294)\n float n_ = 0.142857142857; // 1.0/7.0\n vec3 ns = n_ * D.wyz - D.xzx;\n\n vec4 j = p - 49.0 * floor(p * ns.z * ns.z); // mod(p,7*7)\n\n vec4 x_ = floor(j * ns.z);\n vec4 y_ = floor(j - 7.0 * x_ ); // mod(j,N)\n\n vec4 x = x_ *ns.x + ns.yyyy;\n vec4 y = y_ *ns.x + ns.yyyy;\n vec4 h = 1.0 - abs(x) - abs(y);\n\n vec4 b0 = vec4( x.xy, y.xy );\n vec4 b1 = vec4( x.zw, y.zw );\n\n //vec4 s0 = vec4(lessThan(b0,0.0))*2.0 - 1.0;\n //vec4 s1 = vec4(lessThan(b1,0.0))*2.0 - 1.0;\n vec4 s0 = floor(b0)*2.0 + 1.0;\n vec4 s1 = floor(b1)*2.0 + 1.0;\n vec4 sh = -step(h, vec4(0.0));\n\n vec4 a0 = b0.xzyw + s0.xzyw*sh.xxyy ;\n vec4 a1 = b1.xzyw + s1.xzyw*sh.zzww ;\n\n vec3 p0 = vec3(a0.xy,h.x);\n vec3 p1 = vec3(a0.zw,h.y);\n vec3 p2 = vec3(a1.xy,h.z);\n vec3 p3 = vec3(a1.zw,h.w);\n\n//Normalise gradients\n vec4 norm = taylorInvSqrt(vec4(dot(p0,p0), dot(p1,p1), dot(p2, p2), dot(p3,p3)));\n p0 *= norm.x;\n p1 *= norm.y;\n p2 *= norm.z;\n p3 *= norm.w;\n\n// Mix final noise value\n vec4 m = max(0.6 - vec4(dot(x0,x0), dot(x1,x1), dot(x2,x2), dot(x3,x3)), 0.0);\n m = m * m;\n return 42.0 * dot( m*m, vec4( dot(p0,x0), dot(p1,x1),\n dot(p2,x2), dot(p3,x3) ) );\n }\n\nvec3 rotate(vec3 p, float radian_x, float radian_y, float radian_z) {\n mat3 mx = mat3(\n 1.0, 0.0, 0.0,\n 0.0, cos(radian_x), -sin(radian_x),\n 0.0, sin(radian_x), cos(radian_x)\n );\n mat3 my = mat3(\n cos(radian_y), 0.0, sin(radian_y),\n 0.0, 1.0, 0.0,\n -sin(radian_y), 0.0, cos(radian_y)\n );\n mat3 mz = mat3(\n cos(radian_z), -sin(radian_z), 0.0,\n sin(radian_z), cos(radian_z), 0.0,\n 0.0, 0.0, 1.0\n );\n return mx * my * mz * p;\n}\n\nfloat dBox(vec3 p, vec3 size) {\n return length(max(abs(p) - size, 0.0));\n}\n\nfloat getNoise(vec3 p) {\n return snoise(p * (0.4 + acceleration * 0.1) + time / 100.0);\n}\n\nvec3 getRotate(vec3 p) {\n return rotate(p, radians(time2), radians(time2 * 2.0), radians(time2));\n}\n\nfloat distanceFunc(vec3 p) {\n vec4 p1 = m_matrix * vec4(p, 1.0);\n float n1 = getNoise(p1.xyz);\n vec3 p2 = getRotate(p1.xyz);\n float d1 = dBox(p2, vec3(0.8 - min(acceleration, 0.8))) - 0.2;\n float d2 = dBox(p2, vec3(1.0)) - n1;\n float d3 = dBox(p2, vec3(0.5 + acceleration * 0.4)) - n1;\n return min(max(d1, -d2), d3);\n}\n\nfloat distanceFuncForFill(vec3 p) {\n vec4 p1 = m_matrix * vec4(p, 1.0);\n float n = getNoise(p1.xyz);\n vec3 p2 = getRotate(p1.xyz);\n return dBox(p2, vec3(0.5 + acceleration * 0.4)) - n;\n}\n\nvec3 getNormal(vec3 p) {\n const float d = 0.1;\n return normalize(vec3(\n distanceFunc(p + vec3(d, 0.0, 0.0)) - distanceFunc(p + vec3(-d, 0.0, 0.0)),\n distanceFunc(p + vec3(0.0, d, 0.0)) - distanceFunc(p + vec3(0.0, -d, 0.0)),\n distanceFunc(p + vec3(0.0, 0.0, d)) - distanceFunc(p + vec3(0.0, 0.0, -d))\n ));\n}\n\nvoid main() {\n vec2 p = (gl_FragCoord.xy * 2.0 - resolution) / min(resolution.x, resolution.y);\n\n vec3 cDir = normalize(cameraPosition * -1.0);\n vec3 cUp = vec3(0.0, 1.0, 0.0);\n vec3 cSide = cross(cDir, cUp);\n\n vec3 ray = normalize(cSide * p.x + cUp * p.y + cDir * targetDepth);\n\n float distance = 0.0;\n float rLen = 0.0;\n vec3 rPos = cameraPosition;\n for(int i = 0; i < 64; i++){\n distance = distanceFunc(rPos);\n rLen += distance;\n rPos = cameraPosition + ray * rLen * 0.2;\n }\n\n vec3 normal = getNormal(rPos);\n if(abs(distance) < 0.5){\n if (distanceFuncForFill(rPos) > 0.5) {\n gl_FragColor = vec4(hsv2rgb(vec3(dot(normal, cUp) * 0.8 + time / 400.0, 0.2, dot(normal, cUp) * 0.8 + 0.1)), 1.0);\n } else {\n gl_FragColor = vec4(hsv2rgb(vec3(dot(normal, cUp) * 0.1 + time / 400.0, 0.8, dot(normal, cUp) * 0.2 + 0.8)), 1.0);\n }\n } else {\n gl_FragColor = vec4(0.0);\n }\n}\n"},30755:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nvarying mat4 m_matrix;\n\nfloat inverse(float m) {\n return 1.0 / m;\n}\n\nmat2 inverse(mat2 m) {\n return mat2(m[1][1],-m[0][1],\n -m[1][0], m[0][0]) / (m[0][0]*m[1][1] - m[0][1]*m[1][0]);\n}\n\nmat3 inverse(mat3 m) {\n float a00 = m[0][0], a01 = m[0][1], a02 = m[0][2];\n float a10 = m[1][0], a11 = m[1][1], a12 = m[1][2];\n float a20 = m[2][0], a21 = m[2][1], a22 = m[2][2];\n\n float b01 = a22 * a11 - a12 * a21;\n float b11 = -a22 * a10 + a12 * a20;\n float b21 = a21 * a10 - a11 * a20;\n\n float det = a00 * b01 + a01 * b11 + a02 * b21;\n\n return mat3(b01, (-a22 * a01 + a02 * a21), (a12 * a01 - a02 * a11),\n b11, (a22 * a00 - a02 * a20), (-a12 * a00 + a02 * a10),\n b21, (-a21 * a00 + a01 * a20), (a11 * a00 - a01 * a10)) / det;\n}\n\nmat4 inverse(mat4 m) {\n float\n a00 = m[0][0], a01 = m[0][1], a02 = m[0][2], a03 = m[0][3],\n a10 = m[1][0], a11 = m[1][1], a12 = m[1][2], a13 = m[1][3],\n a20 = m[2][0], a21 = m[2][1], a22 = m[2][2], a23 = m[2][3],\n a30 = m[3][0], a31 = m[3][1], a32 = m[3][2], a33 = m[3][3],\n\n b00 = a00 * a11 - a01 * a10,\n b01 = a00 * a12 - a02 * a10,\n b02 = a00 * a13 - a03 * a10,\n b03 = a01 * a12 - a02 * a11,\n b04 = a01 * a13 - a03 * a11,\n b05 = a02 * a13 - a03 * a12,\n b06 = a20 * a31 - a21 * a30,\n b07 = a20 * a32 - a22 * a30,\n b08 = a20 * a33 - a23 * a30,\n b09 = a21 * a32 - a22 * a31,\n b10 = a21 * a33 - a23 * a31,\n b11 = a22 * a33 - a23 * a32,\n\n det = b00 * b11 - b01 * b10 + b02 * b09 + b03 * b08 - b04 * b07 + b05 * b06;\n\n return mat4(\n a11 * b11 - a12 * b10 + a13 * b09,\n a02 * b10 - a01 * b11 - a03 * b09,\n a31 * b05 - a32 * b04 + a33 * b03,\n a22 * b04 - a21 * b05 - a23 * b03,\n a12 * b08 - a10 * b11 - a13 * b07,\n a00 * b11 - a02 * b08 + a03 * b07,\n a32 * b02 - a30 * b05 - a33 * b01,\n a20 * b05 - a22 * b02 + a23 * b01,\n a10 * b10 - a11 * b08 + a13 * b06,\n a01 * b08 - a00 * b10 - a03 * b06,\n a30 * b04 - a31 * b02 + a33 * b00,\n a21 * b02 - a20 * b04 - a23 * b00,\n a11 * b07 - a10 * b09 - a12 * b06,\n a00 * b09 - a01 * b07 + a02 * b06,\n a31 * b01 - a30 * b03 - a32 * b00,\n a20 * b03 - a21 * b01 + a22 * b00) / det;\n}\n\nvoid main(void) {\n m_matrix = inverse(modelMatrix);\n gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n}\n"},9628:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nvarying vec3 vColor;\n\nvoid main() {\n gl_FragColor = vec4(vColor, 1.0);\n}\n"},37581:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\nuniform float time;\n\nvarying vec3 vColor;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nfloat exponentialOut(float t) {\n return t == 1.0 ? t : 1.0 - pow(2.0, -10.0 * t);\n}\n\nvoid main(void) {\n vec2 p = uv * 2.0 - 1.0;\n float show = min(time, 0.2) / 0.2;\n\n // calculate gradation\n vec3 hsv = vec3(\n p.y * 0.1 + 0.07,\n 1.0 - show * 0.2,\n 0.1 + show * 0.8\n );\n vec3 rgb = convertHsvToRgb(hsv);\n\n // coordinate transformation\n vec4 mvPosition = modelViewMatrix * vec4(position, 1.0);\n\n vColor = rgb;\n\n gl_Position = projectionMatrix * mvPosition;\n}\n"},32450:function(e,t){"use strict";t.Z='#extension GL_OES_standard_derivatives : enable\nprecision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform float drawBrightOnly;\nuniform float dissolveEdge;\n\nvarying vec3 vPosition;\nvarying vec3 vMPosition;\nvarying vec2 vUv;\n\n//\n// GLSL textureless classic 3D noise "cnoise",\n// with an RSL-style periodic variant "pnoise".\n// Author: Stefan Gustavson (stefan.gustavson@liu.se)\n// Version: 2011-10-11\n//\n// Many thanks to Ian McEwan of Ashima Arts for the\n// ideas for permutation and gradient selection.\n//\n// Copyright (c) 2011 Stefan Gustavson. All rights reserved.\n// Distributed under the MIT license. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289(vec3 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x)\n{\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nvec3 fade(vec3 t) {\n return t*t*t*(t*(t*6.0-15.0)+10.0);\n}\n\n// Classic Perlin noise\nfloat cnoise(vec3 P)\n{\n vec3 Pi0 = floor(P); // Integer part for indexing\n vec3 Pi1 = Pi0 + vec3(1.0); // Integer part + 1\n Pi0 = mod289(Pi0);\n Pi1 = mod289(Pi1);\n vec3 Pf0 = fract(P); // Fractional part for interpolation\n vec3 Pf1 = Pf0 - vec3(1.0); // Fractional part - 1.0\n vec4 ix = vec4(Pi0.x, Pi1.x, Pi0.x, Pi1.x);\n vec4 iy = vec4(Pi0.yy, Pi1.yy);\n vec4 iz0 = Pi0.zzzz;\n vec4 iz1 = Pi1.zzzz;\n\n vec4 ixy = permute(permute(ix) + iy);\n vec4 ixy0 = permute(ixy + iz0);\n vec4 ixy1 = permute(ixy + iz1);\n\n vec4 gx0 = ixy0 * (1.0 / 7.0);\n vec4 gy0 = fract(floor(gx0) * (1.0 / 7.0)) - 0.5;\n gx0 = fract(gx0);\n vec4 gz0 = vec4(0.5) - abs(gx0) - abs(gy0);\n vec4 sz0 = step(gz0, vec4(0.0));\n gx0 -= sz0 * (step(0.0, gx0) - 0.5);\n gy0 -= sz0 * (step(0.0, gy0) - 0.5);\n\n vec4 gx1 = ixy1 * (1.0 / 7.0);\n vec4 gy1 = fract(floor(gx1) * (1.0 / 7.0)) - 0.5;\n gx1 = fract(gx1);\n vec4 gz1 = vec4(0.5) - abs(gx1) - abs(gy1);\n vec4 sz1 = step(gz1, vec4(0.0));\n gx1 -= sz1 * (step(0.0, gx1) - 0.5);\n gy1 -= sz1 * (step(0.0, gy1) - 0.5);\n\n vec3 g000 = vec3(gx0.x,gy0.x,gz0.x);\n vec3 g100 = vec3(gx0.y,gy0.y,gz0.y);\n vec3 g010 = vec3(gx0.z,gy0.z,gz0.z);\n vec3 g110 = vec3(gx0.w,gy0.w,gz0.w);\n vec3 g001 = vec3(gx1.x,gy1.x,gz1.x);\n vec3 g101 = vec3(gx1.y,gy1.y,gz1.y);\n vec3 g011 = vec3(gx1.z,gy1.z,gz1.z);\n vec3 g111 = vec3(gx1.w,gy1.w,gz1.w);\n\n vec4 norm0 = taylorInvSqrt(vec4(dot(g000, g000), dot(g010, g010), dot(g100, g100), dot(g110, g110)));\n g000 *= norm0.x;\n g010 *= norm0.y;\n g100 *= norm0.z;\n g110 *= norm0.w;\n vec4 norm1 = taylorInvSqrt(vec4(dot(g001, g001), dot(g011, g011), dot(g101, g101), dot(g111, g111)));\n g001 *= norm1.x;\n g011 *= norm1.y;\n g101 *= norm1.z;\n g111 *= norm1.w;\n\n float n000 = dot(g000, Pf0);\n float n100 = dot(g100, vec3(Pf1.x, Pf0.yz));\n float n010 = dot(g010, vec3(Pf0.x, Pf1.y, Pf0.z));\n float n110 = dot(g110, vec3(Pf1.xy, Pf0.z));\n float n001 = dot(g001, vec3(Pf0.xy, Pf1.z));\n float n101 = dot(g101, vec3(Pf1.x, Pf0.y, Pf1.z));\n float n011 = dot(g011, vec3(Pf0.x, Pf1.yz));\n float n111 = dot(g111, Pf1);\n\n vec3 fade_xyz = fade(Pf0);\n vec4 n_z = mix(vec4(n000, n100, n010, n110), vec4(n001, n101, n011, n111), fade_xyz.z);\n vec2 n_yz = mix(n_z.xy, n_z.zw, fade_xyz.y);\n float n_xyz = mix(n_yz.x, n_yz.y, fade_xyz.x);\n return 2.2 * n_xyz;\n}\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nfloat exponentialOut(float t) {\n return t == 1.0 ? t : 1.0 - pow(2.0, -10.0 * t);\n}\n\nvoid main() {\n // Flat Shading\n vec3 normal = normalize(cross(dFdx(vMPosition), dFdy(vMPosition)));\n\n vec3 light1 = normalize(vec3(0.0, 0.333, 1.0));\n float d1 = (dot(normal, light1) + 1.0) / 2.0;\n float glow1A = smoothstep(0.875, 1.0, d1);\n float glow1B = smoothstep(0.75, 1.0, d1) * 0.8;\n\n vec3 light2 = normalize(vec3(-0.0, -0.333, 1.0));\n float d2 = (dot(normal, light2) + 1.0) / 2.0;\n float glow2A = smoothstep(0.875, 1.0, d2);\n float glow2B = smoothstep(0.75, 1.0, d2) * 0.8;\n\n // dissolve\n float show1 = exponentialOut(min(time - 1.0, 6.0) / 6.0);\n float show2 = exponentialOut(clamp(time - 3.0, 0.0, 3.0) / 3.0);\n float dissolveA = cnoise(\n vec3(\n vPosition.x * 0.06,\n (vPosition.y - vPosition.x * 0.5 + vPosition.z * 0.5) * 0.18,\n vPosition.z * 0.06\n ) + time * 0.02\n ) * 0.5 + 0.5;\n float dissolveB = cnoise(\n vec3(\n vPosition.x * 0.4,\n (vPosition.y - vPosition.x * 0.5 + vPosition.z * 0.5) * .9,\n vPosition.z * 0.4\n )\n ) * 0.5 + 0.5;\n float dissolve1 = smoothstep(\n 0.01 + show2 * 0.35 + dissolveEdge,\n 0.015 + show2 * 0.35 + dissolveEdge,\n dissolveA * 0.8 + dissolveB * 0.2\n );\n float dissolve2 = smoothstep(\n 0.0 + show2 * 0.35 + dissolveEdge,\n 0.005 + show2 * 0.35 + dissolveEdge,\n dissolveA * 0.8 + dissolveB * 0.2\n );\n float dissolve3 = smoothstep(\n show1 - 0.05,\n show1 - 0.04,\n dissolveA * 0.8 + dissolveB * 0.2\n );\n float dissolve4 = smoothstep(\n show1 - 0.01,\n show1,\n dissolveA * 0.8 + dissolveB * 0.2\n );\n\n // define colors.\n float h = dissolveA * 0.2 - 0.02;\n vec3 hsv1 = vec3(\n h,\n (glow1A + glow2A) * 0.8 + 0.2,\n (glow1A + glow2A) * 0.25 + 0.05\n );\n vec3 rgb1 = convertHsvToRgb(hsv1);\n\n // define colors.\n vec3 hsv2 = vec3(\n h + (glow1B + glow2B) * 0.1 - 0.05,\n 0.7,\n (glow1B + glow2B) * 0.7 + 0.22\n );\n vec3 rgb2 = convertHsvToRgb(hsv2);\n\n gl_FragColor = vec4(rgb1 * dissolve1 * (1.0 - dissolve3) * (1.0 - drawBrightOnly) + rgb2 * (1.0 - dissolve2) + rgb2 * dissolve3, 1.0 - dissolve4);\n}\n'},30673:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec3 normal;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform mat3 normalMatrix;\nuniform float time;\n\nvarying vec3 vPosition;\nvarying vec3 vMPosition;\nvarying vec2 vUv;\n\nfloat exponentialOut(float t) {\n return t == 1.0 ? t : 1.0 - pow(2.0, -10.0 * t);\n}\n\nmat4 calcScaleMat4(vec3 scale) {\n return mat4(\n scale.x, 0.0, 0.0, 0.0,\n 0.0, scale.y, 0.0, 0.0,\n 0.0, 0.0, scale.z, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nvoid main(void) {\n float show = exponentialOut(min(time - 1.0, 4.0) / 4.0);\n\n // coordinate transformation\n mat4 scaleMat = calcScaleMat4(vec3(0.5 + show * 0.5));\n vec4 mPosition = modelMatrix * scaleMat * vec4(position, 1.0);\n vec4 mvPosition = viewMatrix *mPosition;\n\n vPosition = position;\n vMPosition = mPosition.xyz;\n vUv = uv;\n\n gl_Position = projectionMatrix * mvPosition;\n}\n"},94914:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying vec4 vColor;\n\nvoid main() {\n gl_FragColor = vColor;\n}\n"},58259:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\nattribute vec3 iPosition;\nattribute vec3 iColor;\nattribute vec3 iRotate;\nattribute float iDelay;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform float time;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying vec4 vColor;\n\nmat4 calcRotateMat4X(float radian) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, cos(radian), -sin(radian), 0.0,\n 0.0, sin(radian), cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Y(float radian) {\n return mat4(\n cos(radian), 0.0, sin(radian), 0.0,\n 0.0, 1.0, 0.0, 0.0,\n -sin(radian), 0.0, cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Z(float radian) {\n return mat4(\n cos(radian), -sin(radian), 0.0, 0.0,\n sin(radian), cos(radian), 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4(vec3 radian) {\n return calcRotateMat4X(radian.x) * calcRotateMat4Y(radian.y) * calcRotateMat4Z(radian.z);\n}\n\nfloat exponentialOut(float t) {\n return t == 1.0 ? t : 1.0 - pow(2.0, -10.0 * t);\n}\n\nconst float DURATION = 5.5;\n\nvoid main(void) {\n float alpha = clamp(time, 0.0, DURATION) / DURATION;\n\n // coordinate transformation\n mat4 rotateMat1 = calcRotateMat4(iRotate);\n mat4 rotateMat2 = calcRotateMat4(vec3(0.0, (time + iDelay) * 14.0, 0.0));\n vec3 rotate = (rotateMat1 * rotateMat2 * vec4(position, 1.0)).xyz;\n vec3 move = vec3(0.0, 0.0, exponentialOut(alpha) * 40.0 + time * 4.0);\n vec4 mPosition = modelMatrix * vec4(iPosition + rotate + move, 1.0);\n\n float opacity = smoothstep(0.0, 0.05, alpha) * (1.0 - smoothstep(0.9, 1.0, alpha));\n\n vPosition = position;\n vUv = uv;\n vColor = vec4(iColor, opacity);\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n"},35382:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform sampler2D texture1;\nuniform sampler2D texture2;\nuniform vec2 resolution;\n\nvarying vec2 vUv;\n\nconst float godrayIteration = 60.0;\nconst float godrayStrength = 24.0;\n\nfloat random2(vec2 c){\n return fract(sin(dot(c.xy, vec2(12.9898, 78.233))) * 43758.5453);\n}\nfloat randomNoise(vec2 p) {\n return (random2(p - vec2(sin(time))) * 2.0 - 1.0) * 0.02;\n}\n\nvoid main() {\n // Convert uv to the other vec2 has a range from -1.0 to 1.0.\n vec2 p = vUv * 2.0 - 1.0;\n vec2 ratio = 1.0 / resolution;\n\n // Random Noise\n float rNoise = randomNoise(vUv);\n\n // get texture color.\n vec4 texColor = texture2D(texture1, vUv);\n\n // godray\n vec2 godrayCenter = vec2(0.5);\n vec3 godrayDestColor = vec3(0.0);\n float godrayTotalWeight = 0.0;\n\n for (float i = 0.0; i < 60.0; i++) {\n float alpha = i / godrayIteration; // step in loop [0, 1].\n float weight = alpha - alpha * alpha; // conic curve [0, 0.25, 0].\n vec2 shiftUv = vUv - (vUv - godrayCenter) * alpha * godrayStrength / godrayIteration; // define a range of to shift UV.\n godrayDestColor += texture2D(texture2, shiftUv).rgb * weight; // draw gradation.\n godrayTotalWeight += weight;\n }\n vec3 godray = godrayDestColor / godrayTotalWeight;\n\n // Sum total of colors.\n vec3 color = texColor.rgb + rNoise + godray * 0.5;\n\n gl_FragColor = vec4(color, 1.0);\n}\n"},7799:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nvarying vec2 vUv;\n\nvoid main() {\n vUv = uv;\n\n gl_Position = vec4(position, 1.0);\n}\n"},71949:function(e,t){"use strict";t.Z='precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform sampler2D tex;\nuniform float drawBrightOnly;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying float vTime1;\nvarying float vTime2;\nvarying float vTime3;\nvarying float vTime4;\n\n//\n// GLSL textureless classic 3D noise "cnoise",\n// with an RSL-style periodic variant "pnoise".\n// Author: Stefan Gustavson (stefan.gustavson@liu.se)\n// Version: 2011-10-11\n//\n// Many thanks to Ian McEwan of Ashima Arts for the\n// ideas for permutation and gradient selection.\n//\n// Copyright (c) 2011 Stefan Gustavson. All rights reserved.\n// Distributed under the MIT license. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289(vec3 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x)\n{\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nvec3 fade(vec3 t) {\n return t*t*t*(t*(t*6.0-15.0)+10.0);\n}\n\n// Classic Perlin noise\nfloat cnoise(vec3 P)\n{\n vec3 Pi0 = floor(P); // Integer part for indexing\n vec3 Pi1 = Pi0 + vec3(1.0); // Integer part + 1\n Pi0 = mod289(Pi0);\n Pi1 = mod289(Pi1);\n vec3 Pf0 = fract(P); // Fractional part for interpolation\n vec3 Pf1 = Pf0 - vec3(1.0); // Fractional part - 1.0\n vec4 ix = vec4(Pi0.x, Pi1.x, Pi0.x, Pi1.x);\n vec4 iy = vec4(Pi0.yy, Pi1.yy);\n vec4 iz0 = Pi0.zzzz;\n vec4 iz1 = Pi1.zzzz;\n\n vec4 ixy = permute(permute(ix) + iy);\n vec4 ixy0 = permute(ixy + iz0);\n vec4 ixy1 = permute(ixy + iz1);\n\n vec4 gx0 = ixy0 * (1.0 / 7.0);\n vec4 gy0 = fract(floor(gx0) * (1.0 / 7.0)) - 0.5;\n gx0 = fract(gx0);\n vec4 gz0 = vec4(0.5) - abs(gx0) - abs(gy0);\n vec4 sz0 = step(gz0, vec4(0.0));\n gx0 -= sz0 * (step(0.0, gx0) - 0.5);\n gy0 -= sz0 * (step(0.0, gy0) - 0.5);\n\n vec4 gx1 = ixy1 * (1.0 / 7.0);\n vec4 gy1 = fract(floor(gx1) * (1.0 / 7.0)) - 0.5;\n gx1 = fract(gx1);\n vec4 gz1 = vec4(0.5) - abs(gx1) - abs(gy1);\n vec4 sz1 = step(gz1, vec4(0.0));\n gx1 -= sz1 * (step(0.0, gx1) - 0.5);\n gy1 -= sz1 * (step(0.0, gy1) - 0.5);\n\n vec3 g000 = vec3(gx0.x,gy0.x,gz0.x);\n vec3 g100 = vec3(gx0.y,gy0.y,gz0.y);\n vec3 g010 = vec3(gx0.z,gy0.z,gz0.z);\n vec3 g110 = vec3(gx0.w,gy0.w,gz0.w);\n vec3 g001 = vec3(gx1.x,gy1.x,gz1.x);\n vec3 g101 = vec3(gx1.y,gy1.y,gz1.y);\n vec3 g011 = vec3(gx1.z,gy1.z,gz1.z);\n vec3 g111 = vec3(gx1.w,gy1.w,gz1.w);\n\n vec4 norm0 = taylorInvSqrt(vec4(dot(g000, g000), dot(g010, g010), dot(g100, g100), dot(g110, g110)));\n g000 *= norm0.x;\n g010 *= norm0.y;\n g100 *= norm0.z;\n g110 *= norm0.w;\n vec4 norm1 = taylorInvSqrt(vec4(dot(g001, g001), dot(g011, g011), dot(g101, g101), dot(g111, g111)));\n g001 *= norm1.x;\n g011 *= norm1.y;\n g101 *= norm1.z;\n g111 *= norm1.w;\n\n float n000 = dot(g000, Pf0);\n float n100 = dot(g100, vec3(Pf1.x, Pf0.yz));\n float n010 = dot(g010, vec3(Pf0.x, Pf1.y, Pf0.z));\n float n110 = dot(g110, vec3(Pf1.xy, Pf0.z));\n float n001 = dot(g001, vec3(Pf0.xy, Pf1.z));\n float n101 = dot(g101, vec3(Pf1.x, Pf0.y, Pf1.z));\n float n011 = dot(g011, vec3(Pf0.x, Pf1.yz));\n float n111 = dot(g111, Pf1);\n\n vec3 fade_xyz = fade(Pf0);\n vec4 n_z = mix(vec4(n000, n100, n010, n110), vec4(n001, n101, n011, n111), fade_xyz.z);\n vec2 n_yz = mix(n_z.xy, n_z.zw, fade_xyz.y);\n float n_xyz = mix(n_yz.x, n_yz.y, fade_xyz.x);\n return 2.2 * n_xyz;\n}\n\nvoid main() {\n vec2 p = vUv * 2.0 - 1.0;\n vec4 texColor = texture2D(tex, vUv);\n\n float noise = cnoise(vPosition * vec3(1.6)) * 0.5 + 0.5;\n float opacity1 = smoothstep(0.0, 0.01, (1.2 - length(p)) + noise * 0.8 + vTime1 * 2.0 - 2.0);\n float opacity2 = smoothstep(0.0, 0.01, (1.2 - length(p)) + noise * 0.8 + vTime2 * 2.0 - 2.0);\n float opacity3 = smoothstep(0.0, 0.01, (1.2 - length(p)) + noise * 0.8 + vTime3 * 2.0 - 2.0);\n float opacity4 = smoothstep(0.0, 0.01, (1.2 - length(p)) + noise * 0.8 + vTime4 * 2.0 - 2.0);\n\n vec4 color1 = vec4(vec3(1.0, 1.0, 0.9), 0.9) * (opacity1 - opacity2);\n vec4 color2 = vec4(vec3(1.0, 1.0, 0.9), 0.05) * (opacity2 - opacity3);\n vec4 color3 = vec4(vec3(0.7, 0.1, 0.1), 0.9) * (opacity3 - opacity4);\n vec4 color4 = vec4(vec3(1.0, 1.0, 0.9), 0.05) * opacity4;\n\n if (texColor.a < 0.5) discard;\n gl_FragColor =\n (\n (color1 + color2 + color3 + color4) * (1.0 - drawBrightOnly)\n + vec4(vec3(0.0), opacity3 - opacity4) * drawBrightOnly\n )\n * vec4(vec3(1.0), texColor.a);\n}\n'},59751:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform float time;\nuniform float time2;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying float vTime1;\nvarying float vTime2;\nvarying float vTime3;\nvarying float vTime4;\n\nfloat circularOut(float t) {\n return sqrt((2.0 - t) * t);\n}\n\nvoid main(void) {\n // Defined several timers.\n float timeA = circularOut(clamp(time - 1.0, 0.0, 2.0) / 2.0);\n float timeB = circularOut(clamp(time - 3.0, 0.0, 2.0) / 2.0);\n\n // coordinate transformation\n vec4 mPosition = modelMatrix * vec4(position + vec3(0.0, 0.0, (1.0 - timeA) * 20.0), 1.0);\n\n vPosition = position;\n vUv = uv;\n vTime1 = timeA;\n vTime2 = timeB;\n vTime3 = circularOut(smoothstep(0.0, 0.8, time2));\n vTime4 = circularOut(smoothstep(5.0, 7.0, time2));\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n"},17203:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform sampler2D tex;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying vec3 vColor;\n\nfloat random(vec2 c){\n return fract(sin(dot(c.xy ,vec2(12.9898,78.233))) * 43758.5453);\n}\n\nvoid main() {\n float noise = random(vUv) * 0.08;\n\n gl_FragColor = vec4(vColor + noise, 1.0);\n}\n"},67127:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying vec3 vColor;\n\nconst vec3 hsv1 = vec3(0.0, 0.6, 0.4);\nconst vec3 hsv2 = vec3(0.24, 0.6, 0.4);\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main(void) {\n // calculate gradation with position.y\n vec3 rgb = convertHsvToRgb(mix(hsv1, hsv2, (normalize(position).y + 1.0) / 2.0));\n\n // coordinate transformation\n vec4 mvPosition = modelViewMatrix * vec4(position, 1.0);\n\n vPosition = position;\n vUv = uv;\n vColor = rgb;\n\n gl_Position = projectionMatrix * mvPosition;\n}\n"},55643:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying float vOpacity;\n\nvoid main() {\n gl_FragColor = vec4(vec3(1.0), vOpacity);\n}\n"},58764:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec3 position2;\nattribute vec2 uv;\nattribute float opacity;\nattribute float opacity2;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\nuniform float time;\nuniform float timeTransform;\nuniform float durationTransform;\nuniform float prevIndex;\nuniform float nextIndex;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying float vOpacity;\n\nfloat exponentialOut(float t) {\n return t == 1.0 ? t : 1.0 - pow(2.0, -10.0 * t);\n}\n\nmat4 calcRotateMat4X(float radian) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, cos(radian), -sin(radian), 0.0,\n 0.0, sin(radian), cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Y(float radian) {\n return mat4(\n cos(radian), 0.0, sin(radian), 0.0,\n 0.0, 1.0, 0.0, 0.0,\n -sin(radian), 0.0, cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Z(float radian) {\n return mat4(\n cos(radian), -sin(radian), 0.0, 0.0,\n sin(radian), cos(radian), 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4(vec3 radian) {\n return calcRotateMat4X(radian.x) * calcRotateMat4Y(radian.y) * calcRotateMat4Z(radian.z);\n}\n\nvoid main(void) {\n // transform\n vec3 prevPosition =\n position * (1.0 - step(1.0, prevIndex))\n + position2 * step(1.0, prevIndex) * (1.0 - step(2.0, prevIndex));\n vec3 nextPosition =\n position * (1.0 - step(1.0, nextIndex))\n + position2 * step(1.0, nextIndex) * (1.0 - step(2.0, nextIndex));\n float prevOpacity =\n opacity * (1.0 - step(1.0, prevIndex))\n + opacity2 * step(1.0, prevIndex) * (1.0 - step(2.0, prevIndex));\n float nextOpacity =\n opacity * (1.0 - step(1.0, nextIndex))\n + opacity2 * step(1.0, nextIndex) * (1.0 - step(2.0, nextIndex));\n float ease = exponentialOut(min(timeTransform / 1.0, durationTransform) / durationTransform);\n vec3 mixPosition = mix(prevPosition, nextPosition, ease);\n float mixOpacity = mix(prevOpacity, nextOpacity, ease);\n\n // calculate shake moving.\n float now = time * 10.0 + length(mixPosition);\n mat4 rotateMat = calcRotateMat4(vec3(now));\n vec3 shake = (rotateMat * vec4(vec3(0.0, sin(now) * 5.0, 0.0), 1.0)).xyz;\n\n // coordinate transformation\n vec4 mvPosition = modelViewMatrix * vec4(mixPosition + shake, 1.0);\n\n vPosition = mixPosition;\n vUv = uv;\n vOpacity = mixOpacity;\n\n gl_Position = projectionMatrix * mvPosition;\n}\n"},37094:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nvarying float vOpacity;\n\nvoid main() {\n // Round the point\n vec3 n;\n n.xy = gl_PointCoord * 2.0 - 1.0;\n n.z = 1.0 - dot(n.xy, n.xy);\n if (n.z < 0.0) discard;\n\n gl_FragColor = vec4(vec3(1.0), vOpacity);\n}\n"},99886:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec3 position2;\nattribute float opacity;\nattribute float opacity2;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\nuniform float time;\nuniform float timeTransform;\nuniform float durationTransform;\nuniform float prevIndex;\nuniform float nextIndex;\n\nvarying float vOpacity;\n\nfloat exponentialOut(float t) {\n return t == 1.0 ? t : 1.0 - pow(2.0, -10.0 * t);\n}\n\nmat4 calcRotateMat4X(float radian) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, cos(radian), -sin(radian), 0.0,\n 0.0, sin(radian), cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Y(float radian) {\n return mat4(\n cos(radian), 0.0, sin(radian), 0.0,\n 0.0, 1.0, 0.0, 0.0,\n -sin(radian), 0.0, cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Z(float radian) {\n return mat4(\n cos(radian), -sin(radian), 0.0, 0.0,\n sin(radian), cos(radian), 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4(vec3 radian) {\n return calcRotateMat4X(radian.x) * calcRotateMat4Y(radian.y) * calcRotateMat4Z(radian.z);\n}\n\nvoid main() {\n // transform\n vec3 prevPosition =\n position * (1.0 - step(1.0, prevIndex))\n + position2 * step(1.0, prevIndex) * (1.0 - step(2.0, prevIndex));\n vec3 nextPosition =\n position * (1.0 - step(1.0, nextIndex))\n + position2 * step(1.0, nextIndex) * (1.0 - step(2.0, nextIndex));\n float prevOpacity =\n opacity * (1.0 - step(1.0, prevIndex))\n + opacity2 * step(1.0, prevIndex) * (1.0 - step(2.0, prevIndex));\n float nextOpacity =\n opacity * (1.0 - step(1.0, nextIndex))\n + opacity2 * step(1.0, nextIndex) * (1.0 - step(2.0, nextIndex));\n float ease = exponentialOut(min(timeTransform / 1.0, durationTransform) / durationTransform);\n vec3 mixPosition = mix(prevPosition, nextPosition, ease);\n float mixOpacity = mix(prevOpacity, nextOpacity, ease);\n\n // calculate shake moving.\n float now = time * 10.0 + length(mixPosition);\n mat4 rotateMat = calcRotateMat4(vec3(now));\n vec3 shake = (rotateMat * vec4(vec3(0.0, sin(now) * 5.0, 0.0), 1.0)).xyz;\n\n // coordinate transformation\n vec4 mvPosition = modelViewMatrix * vec4(mixPosition + shake, 1.0);\n\n vOpacity = mixOpacity;\n\n gl_Position = projectionMatrix * mvPosition;\n gl_PointSize = 8.0;\n}\n"},85530:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying float vOpacity;\n\nvoid main() {\n gl_FragColor = vec4(vec3(1.0), vOpacity);\n}\n"},31180:function(e,t){"use strict";t.Z='#define GLSLIFY 1\nuniform vec2 resolution;\nuniform sampler2D velocity;\nuniform sampler2D acceleration;\nuniform float time;\nuniform vec2 vTouchMove;\n\nvarying vec2 vUv;\n\n//\n// GLSL textureless classic 3D noise "cnoise",\n// with an RSL-style periodic variant "pnoise".\n// Author: Stefan Gustavson (stefan.gustavson@liu.se)\n// Version: 2011-10-11\n//\n// Many thanks to Ian McEwan of Ashima Arts for the\n// ideas for permutation and gradient selection.\n//\n// Copyright (c) 2011 Stefan Gustavson. All rights reserved.\n// Distributed under the MIT license. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289(vec3 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x)\n{\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nvec3 fade(vec3 t) {\n return t*t*t*(t*(t*6.0-15.0)+10.0);\n}\n\n// Classic Perlin noise\nfloat cnoise(vec3 P)\n{\n vec3 Pi0 = floor(P); // Integer part for indexing\n vec3 Pi1 = Pi0 + vec3(1.0); // Integer part + 1\n Pi0 = mod289(Pi0);\n Pi1 = mod289(Pi1);\n vec3 Pf0 = fract(P); // Fractional part for interpolation\n vec3 Pf1 = Pf0 - vec3(1.0); // Fractional part - 1.0\n vec4 ix = vec4(Pi0.x, Pi1.x, Pi0.x, Pi1.x);\n vec4 iy = vec4(Pi0.yy, Pi1.yy);\n vec4 iz0 = Pi0.zzzz;\n vec4 iz1 = Pi1.zzzz;\n\n vec4 ixy = permute(permute(ix) + iy);\n vec4 ixy0 = permute(ixy + iz0);\n vec4 ixy1 = permute(ixy + iz1);\n\n vec4 gx0 = ixy0 * (1.0 / 7.0);\n vec4 gy0 = fract(floor(gx0) * (1.0 / 7.0)) - 0.5;\n gx0 = fract(gx0);\n vec4 gz0 = vec4(0.5) - abs(gx0) - abs(gy0);\n vec4 sz0 = step(gz0, vec4(0.0));\n gx0 -= sz0 * (step(0.0, gx0) - 0.5);\n gy0 -= sz0 * (step(0.0, gy0) - 0.5);\n\n vec4 gx1 = ixy1 * (1.0 / 7.0);\n vec4 gy1 = fract(floor(gx1) * (1.0 / 7.0)) - 0.5;\n gx1 = fract(gx1);\n vec4 gz1 = vec4(0.5) - abs(gx1) - abs(gy1);\n vec4 sz1 = step(gz1, vec4(0.0));\n gx1 -= sz1 * (step(0.0, gx1) - 0.5);\n gy1 -= sz1 * (step(0.0, gy1) - 0.5);\n\n vec3 g000 = vec3(gx0.x,gy0.x,gz0.x);\n vec3 g100 = vec3(gx0.y,gy0.y,gz0.y);\n vec3 g010 = vec3(gx0.z,gy0.z,gz0.z);\n vec3 g110 = vec3(gx0.w,gy0.w,gz0.w);\n vec3 g001 = vec3(gx1.x,gy1.x,gz1.x);\n vec3 g101 = vec3(gx1.y,gy1.y,gz1.y);\n vec3 g011 = vec3(gx1.z,gy1.z,gz1.z);\n vec3 g111 = vec3(gx1.w,gy1.w,gz1.w);\n\n vec4 norm0 = taylorInvSqrt(vec4(dot(g000, g000), dot(g010, g010), dot(g100, g100), dot(g110, g110)));\n g000 *= norm0.x;\n g010 *= norm0.y;\n g100 *= norm0.z;\n g110 *= norm0.w;\n vec4 norm1 = taylorInvSqrt(vec4(dot(g001, g001), dot(g011, g011), dot(g101, g101), dot(g111, g111)));\n g001 *= norm1.x;\n g011 *= norm1.y;\n g101 *= norm1.z;\n g111 *= norm1.w;\n\n float n000 = dot(g000, Pf0);\n float n100 = dot(g100, vec3(Pf1.x, Pf0.yz));\n float n010 = dot(g010, vec3(Pf0.x, Pf1.y, Pf0.z));\n float n110 = dot(g110, vec3(Pf1.xy, Pf0.z));\n float n001 = dot(g001, vec3(Pf0.xy, Pf1.z));\n float n101 = dot(g101, vec3(Pf1.x, Pf0.y, Pf1.z));\n float n011 = dot(g011, vec3(Pf0.x, Pf1.yz));\n float n111 = dot(g111, Pf1);\n\n vec3 fade_xyz = fade(Pf0);\n vec4 n_z = mix(vec4(n000, n100, n010, n110), vec4(n001, n101, n011, n111), fade_xyz.z);\n vec2 n_yz = mix(n_z.xy, n_z.zw, fade_xyz.y);\n float n_xyz = mix(n_yz.x, n_yz.y, fade_xyz.x);\n return 2.2 * n_xyz;\n}\n\n#ifndef PRECISION\n#define PRECISION 0.000001\n#endif\n\nvec3 drag(vec3 a, float value) {\n return normalize(a * -1.0 + PRECISION) * length(a) * value;\n}\n\nvoid main(void) {\n vec3 v = texture2D(velocity, vUv).xyz;\n vec3 a = texture2D(acceleration, vUv).xyz;\n float noise = sqrt(length(v)) * 10.0;\n vec3 d = drag(a, 0.028);\n float fx = cnoise(vec3(time * 0.1, v.y / noise, v.z / noise));\n float fy = cnoise(vec3(v.x / noise, time * 0.1, v.z / noise));\n float fz = cnoise(vec3(v.x / noise, v.y / noise, time * 0.1));\n vec3 f1 = vec3(fx, fy, fz) * 0.24;\n vec3 f2 = vec3(vTouchMove * 16.0 * (resolution / 640.0), 0.0);\n vec3 f3 = a + f1 + f2 + d;\n float vStep = 1.0 - step(1000.0, length(v + f3));\n gl_FragColor = vec4(f3 * vStep, 1.0);\n}\n'},30231:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nvarying vec2 vUv;\n\nvoid main(void) {\n vUv = uv;\n gl_Position = vec4(position, 1.0);\n}\n"},60791:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nuniform sampler2D velocity;\nuniform sampler2D acceleration;\nuniform float time;\n\nvarying vec2 vUv;\n\nvec3 spherical(float radian1, float radian2, float radius) {\n return vec3(\n cos(radian1) * cos(radian2) * radius,\n sin(radian1) * radius,\n cos(radian1) * sin(radian2) * radius\n );\n}\n\nconst float radius = 100.0;\n\nvoid main(void) {\n vec3 a = texture2D(acceleration, vUv).xyz;\n vec3 v = texture2D(velocity, vUv).xyz;\n float vStep = step(0.000001, length(a));\n gl_FragColor = vec4(\n (a + v) * vStep + normalize(v + spherical(time, -time, 1.0)) * radius * (1.0 - vStep),\n 1.0\n );\n}\n"},50474:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nvarying vec2 vUv;\n\nvoid main(void) {\n vUv = uv;\n gl_Position = vec4(position, 1.0);\n}\n"},79511:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\n\nvarying vec3 vAcceleration;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n float start = smoothstep(time, 0.0, 1.0);\n vec3 n;\n n.xy = gl_PointCoord * 2.0 - 1.0;\n n.z = 1.0 - dot(n.xy, n.xy);\n if (n.z < 0.0) discard;\n float aLength = length(vAcceleration);\n vec3 color = convertHsvToRgb(vec3(aLength * 0.08 + time * 0.05, 0.5, 0.8));\n gl_FragColor = vec4(color, 0.15 * start);\n}\n"},8924:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uvVelocity;\n\nuniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\nuniform float time;\nuniform sampler2D acceleration;\nuniform sampler2D velocity;\n\nvarying vec3 vAcceleration;\n\nvoid main() {\n vec3 a = texture2D(acceleration, uvVelocity).xyz;\n vec3 v = texture2D(velocity, uvVelocity).xyz;\n vec4 mvPosition = modelViewMatrix * vec4(v, 1.0);\n vAcceleration = a;\n gl_PointSize = 500.0 / length(mvPosition.xyz);\n gl_Position = projectionMatrix * mvPosition;\n}\n"},98640:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nvarying vec2 vUv;\n\nvoid main() {\n vUv = uv;\n gl_Position = vec4(position, 1.0);\n}\n"},58113:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform sampler2D texture1;\nuniform sampler2D texture2;\n\nvarying vec2 vUv;\n\nvoid main() {\n vec4 color1 = texture2D(texture1, vUv);\n vec4 color2 = texture2D(texture2, vUv);\n gl_FragColor = color1 * 0.6 + color2;\n}\n"},143:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform vec2 resolution;\nuniform vec2 direction;\nuniform sampler2D texture;\n\nvarying vec2 vUv;\n\nvec4 gaussianBlur(sampler2D texture, vec2 uv, float radius, vec2 resolution, vec2 direction) {\n vec4 color = vec4(0.0);\n vec2 step = radius / resolution * direction;\n color += texture2D(texture, uv - 4.0 * step) * 0.02699548325659403;\n color += texture2D(texture, uv - 3.0 * step) * 0.06475879783294587;\n color += texture2D(texture, uv - 2.0 * step) * 0.12098536225957168;\n color += texture2D(texture, uv - 1.0 * step) * 0.17603266338214976;\n color += texture2D(texture, uv) * 0.19947114020071635;\n color += texture2D(texture, uv + 1.0 * step) * 0.17603266338214976;\n color += texture2D(texture, uv + 2.0 * step) * 0.12098536225957168;\n color += texture2D(texture, uv + 3.0 * step) * 0.06475879783294587;\n color += texture2D(texture, uv + 4.0 * step) * 0.02699548325659403;\n return color;\n}\n\nvoid main() {\n vec4 color = gaussianBlur(texture, vUv, 1.0, resolution, direction);\n gl_FragColor = color;\n}\n"},29336:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform float minBright;\nuniform sampler2D texture;\n\nvarying vec2 vUv;\n\nvoid main() {\n vec4 bright = max(vec4(0.0), (texture2D(texture, vUv) - minBright));\n gl_FragColor = bright;\n}\n"},48448:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform sampler2D tex;\n\nvarying vec3 vColor;\n\nvoid main() {\n gl_FragColor = vec4(vColor, 1.0);\n}\n"},74766:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\nuniform float addH;\n\nvarying vec3 vColor;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main(void) {\n // calculate gradation with position.y\n vec3 hsv1 = vec3(addH + 0.22, 0.12, 0.96);\n vec3 hsv2 = vec3(addH - 0.22, 0.12, 0.96);\n vec3 rgb = convertHsvToRgb(mix(hsv1, hsv2, (normalize(position).y + 1.0) / 2.0));\n\n // coordinate transformation\n vec4 mvPosition = modelViewMatrix * vec4(position, 1.0);\n\n vColor = rgb;\n\n gl_Position = projectionMatrix * mvPosition;\n}\n"},82636:function(e,t){"use strict";t.Z="#extension GL_OES_standard_derivatives : enable\nprecision highp float;\n#define GLSLIFY 1\n\nvarying vec3 vPosition;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n // Flat Shading\n vec3 light = normalize(vec3(-1.0, 1.0, 1.0));\n vec3 normal = normalize(cross(dFdx(vPosition), dFdy(vPosition)));\n float diff = (dot(normal, light) + 1.0) / 2.0;\n\n vec3 hsv = vec3(0.0, 0.0, 0.8 + diff * 0.2);\n vec3 rgb = convertHsvToRgb(hsv);\n\n gl_FragColor = vec4(rgb, 1.0);\n}\n"},23234:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec3 instancePosition;\nattribute vec3 instanceRotate;\nattribute vec3 instanceScale;\nattribute float speed;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\nuniform float time;\n\nvarying vec3 vPosition;\n\nmat4 calcTranslateMat4(vec3 v) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, 1.0, 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n v.x, v.y, v.z, 1.0\n );\n}\n\nmat4 calcRotateMat4X(float radian) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, cos(radian), -sin(radian), 0.0,\n 0.0, sin(radian), cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Y(float radian) {\n return mat4(\n cos(radian), 0.0, sin(radian), 0.0,\n 0.0, 1.0, 0.0, 0.0,\n -sin(radian), 0.0, cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Z(float radian) {\n return mat4(\n cos(radian), -sin(radian), 0.0, 0.0,\n sin(radian), cos(radian), 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4(vec3 radian) {\n return calcRotateMat4X(radian.x) * calcRotateMat4Y(radian.y) * calcRotateMat4Z(radian.z);\n}\n\nmat4 calcScaleMat4(vec3 scale) {\n return mat4(\n scale.x, 0.0, 0.0, 0.0,\n 0.0, scale.y, 0.0, 0.0,\n 0.0, 0.0, scale.z, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\n//\n// Description : Array and textureless GLSL 2D/3D/4D simplex\n// noise functions.\n// Author : Ian McEwan, Ashima Arts.\n// Maintainer : ijm\n// Lastmod : 20110822 (ijm)\n// License : Copyright (C) 2011 Ashima Arts. All rights reserved.\n// Distributed under the MIT License. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289(vec3 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x) {\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nfloat snoise(vec3 v)\n {\n const vec2 C = vec2(1.0/6.0, 1.0/3.0) ;\n const vec4 D = vec4(0.0, 0.5, 1.0, 2.0);\n\n// First corner\n vec3 i = floor(v + dot(v, C.yyy) );\n vec3 x0 = v - i + dot(i, C.xxx) ;\n\n// Other corners\n vec3 g = step(x0.yzx, x0.xyz);\n vec3 l = 1.0 - g;\n vec3 i1 = min( g.xyz, l.zxy );\n vec3 i2 = max( g.xyz, l.zxy );\n\n // x0 = x0 - 0.0 + 0.0 * C.xxx;\n // x1 = x0 - i1 + 1.0 * C.xxx;\n // x2 = x0 - i2 + 2.0 * C.xxx;\n // x3 = x0 - 1.0 + 3.0 * C.xxx;\n vec3 x1 = x0 - i1 + C.xxx;\n vec3 x2 = x0 - i2 + C.yyy; // 2.0*C.x = 1/3 = C.y\n vec3 x3 = x0 - D.yyy; // -1.0+3.0*C.x = -0.5 = -D.y\n\n// Permutations\n i = mod289(i);\n vec4 p = permute( permute( permute(\n i.z + vec4(0.0, i1.z, i2.z, 1.0 ))\n + i.y + vec4(0.0, i1.y, i2.y, 1.0 ))\n + i.x + vec4(0.0, i1.x, i2.x, 1.0 ));\n\n// Gradients: 7x7 points over a square, mapped onto an octahedron.\n// The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294)\n float n_ = 0.142857142857; // 1.0/7.0\n vec3 ns = n_ * D.wyz - D.xzx;\n\n vec4 j = p - 49.0 * floor(p * ns.z * ns.z); // mod(p,7*7)\n\n vec4 x_ = floor(j * ns.z);\n vec4 y_ = floor(j - 7.0 * x_ ); // mod(j,N)\n\n vec4 x = x_ *ns.x + ns.yyyy;\n vec4 y = y_ *ns.x + ns.yyyy;\n vec4 h = 1.0 - abs(x) - abs(y);\n\n vec4 b0 = vec4( x.xy, y.xy );\n vec4 b1 = vec4( x.zw, y.zw );\n\n //vec4 s0 = vec4(lessThan(b0,0.0))*2.0 - 1.0;\n //vec4 s1 = vec4(lessThan(b1,0.0))*2.0 - 1.0;\n vec4 s0 = floor(b0)*2.0 + 1.0;\n vec4 s1 = floor(b1)*2.0 + 1.0;\n vec4 sh = -step(h, vec4(0.0));\n\n vec4 a0 = b0.xzyw + s0.xzyw*sh.xxyy ;\n vec4 a1 = b1.xzyw + s1.xzyw*sh.zzww ;\n\n vec3 p0 = vec3(a0.xy,h.x);\n vec3 p1 = vec3(a0.zw,h.y);\n vec3 p2 = vec3(a1.xy,h.z);\n vec3 p3 = vec3(a1.zw,h.w);\n\n//Normalise gradients\n vec4 norm = taylorInvSqrt(vec4(dot(p0,p0), dot(p1,p1), dot(p2, p2), dot(p3,p3)));\n p0 *= norm.x;\n p1 *= norm.y;\n p2 *= norm.z;\n p3 *= norm.w;\n\n// Mix final noise value\n vec4 m = max(0.6 - vec4(dot(x0,x0), dot(x1,x1), dot(x2,x2), dot(x3,x3)), 0.0);\n m = m * m;\n return 42.0 * dot( m*m, vec4( dot(p0,x0), dot(p1,x1),\n dot(p2,x2), dot(p3,x3) ) );\n }\n\nfloat exponentialOut(float t) {\n return t == 1.0 ? t : 1.0 - pow(2.0, -10.0 * t);\n}\n\nvoid main(void) {\n // added Noise to form like a cloud.\n float noise = snoise(position + instancePosition);\n vec3 noiseEasePos = normalize(vec3(position.x, position.y, 0.01)) * exponentialOut(1.0 - abs(position.z / 10.0)) * vec3(0.4, 1.0, 1.0);\n vec3 noisePosition = (noise + 1.0) / 2.0 * noiseEasePos * 3.0 + noiseEasePos * 1.0;\n\n // coordinate transformation\n mat4 translateMat = calcTranslateMat4(instancePosition);\n mat4 rotateMat = calcRotateMat4(instanceRotate);\n mat4 scaleMat = calcScaleMat4(instanceScale);\n mat4 worldRotateMat = calcRotateMat4(vec3(0.0, -time * speed, 0.0));\n vec4 mvPosition = modelViewMatrix * worldRotateMat * translateMat * rotateMat * scaleMat * vec4(position + noisePosition, 1.0);\n\n vPosition = mvPosition.xyz;\n\n gl_Position = projectionMatrix * mvPosition;\n}\n"},64557:function(e,t){"use strict";t.Z="#extension GL_OES_standard_derivatives : enable\nprecision highp float;\n#define GLSLIFY 1\n\nuniform float addH1;\nuniform float addH2;\n\nvarying vec3 vMPosition;\nvarying float vHeight;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nconst float edge1 = 56.0;\nconst float edge2 = 52.0;\nconst float edge3 = 50.0;\nconst float range = 2.0;\n\nvoid main() {\n // Flat Shading\n vec3 light = normalize(vec3(-1.0, 1.0, 1.0));\n vec3 normal = normalize(cross(dFdx(vMPosition), dFdy(vMPosition)));\n float diff = (dot(normal, light) + 1.0) / 2.0;\n\n float stepTop = smoothstep(edge1, edge1 + range, vHeight);\n float stepMiddle1 = smoothstep(edge2, edge2 + range, vHeight) * (1.0 - smoothstep(edge1, edge1 + range, vHeight));\n float stepMiddle2 = smoothstep(edge3, edge3 + range, vHeight) * (1.0 - smoothstep(edge2, edge2 + range, vHeight));\n float stepBottom = 1.0 - smoothstep(edge3, edge3 + range, vHeight);\n\n vec4 colorTop = vec4(convertHsvToRgb(vec3(0.25 + addH1, 0.05, 1.0)), 1.0) * stepTop;\n vec4 colorMiddle1 = vec4(convertHsvToRgb(vec3(0.25 + addH2, 0.05, 1.0)), 1.0) * stepMiddle1;\n vec4 colorMiddle2 = vec4(convertHsvToRgb(vec3(0.25 + addH2, 0.1, 0.9)), 1.0) * stepMiddle2;\n vec4 colorBottom = vec4(convertHsvToRgb(vec3(0.25 + addH1, 0.1, 0.9)), 1.0) * stepBottom;\n\n vec4 colorAll = (colorTop + colorMiddle1 + colorMiddle2 + colorBottom) * diff;\n\n gl_FragColor = colorAll;\n}\n"},59870:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\n\nvarying vec3 vMPosition;\nvarying float vHeight;\n\nvoid main(void) {\n // coordinate transformation\n vec4 mPosition = modelMatrix * vec4(position, 1.0);\n\n vHeight = length(position);\n vMPosition = mPosition.xyz;\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n"},76161:function(e,t){"use strict";t.Z="#extension GL_OES_standard_derivatives : enable\nprecision highp float;\n#define GLSLIFY 1\n\nuniform float addH;\n\nvarying vec3 vPosition;\nvarying float vSinAll;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n // Flat Shading\n vec3 light = normalize(vec3(-1.0, 1.0, 1.0));\n vec3 normal = normalize(cross(dFdx(vPosition), dFdy(vPosition)));\n float diff = (dot(normal, light) + 1.0) / 2.0;\n\n vec4 color = vec4(convertHsvToRgb(vec3(0.2 + vSinAll * 0.08 + addH, 0.4, 1.0)), 0.8);\n\n gl_FragColor = color * vec4(vec3(diff), 1.0);\n}\n"},78081:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform float time;\n\nvarying vec3 vPosition;\nvarying float vSinAll;\n\nmat4 calcTranslateMat4(vec3 v) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, 1.0, 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n v.x, v.y, v.z, 1.0\n );\n}\n\nvoid main(void) {\n float sin1 = sin(time + position.x / 16.0);\n float sin2 = sin(time + position.y / 8.0);\n float sin3 = sin(time - length(position.xy + 50.0) / 4.0);\n float sinAll = (sin1 + sin2 * 0.5 + sin3 * 0.2) / 1.7;\n mat4 waveMat = calcTranslateMat4(vec3(0.0, 0.0, sinAll * 1.5));\n\n // coordinate transformation\n vec4 mPosition = modelMatrix * waveMat * vec4(position, 1.0);\n\n vPosition = mPosition.xyz;\n vSinAll = sinAll;\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n}\n"},29014:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform float colorH;\nuniform float noiseRange;\n\nvarying vec2 vUv;\n\n//\n// Description : Array and textureless GLSL 2D/3D/4D simplex\n// noise functions.\n// Author : Ian McEwan, Ashima Arts.\n// Maintainer : ijm\n// Lastmod : 20110822 (ijm)\n// License : Copyright (C) 2011 Ashima Arts. All rights reserved.\n// Distributed under the MIT License. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289(vec3 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x) {\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nfloat snoise(vec3 v)\n {\n const vec2 C = vec2(1.0/6.0, 1.0/3.0) ;\n const vec4 D = vec4(0.0, 0.5, 1.0, 2.0);\n\n// First corner\n vec3 i = floor(v + dot(v, C.yyy) );\n vec3 x0 = v - i + dot(i, C.xxx) ;\n\n// Other corners\n vec3 g = step(x0.yzx, x0.xyz);\n vec3 l = 1.0 - g;\n vec3 i1 = min( g.xyz, l.zxy );\n vec3 i2 = max( g.xyz, l.zxy );\n\n // x0 = x0 - 0.0 + 0.0 * C.xxx;\n // x1 = x0 - i1 + 1.0 * C.xxx;\n // x2 = x0 - i2 + 2.0 * C.xxx;\n // x3 = x0 - 1.0 + 3.0 * C.xxx;\n vec3 x1 = x0 - i1 + C.xxx;\n vec3 x2 = x0 - i2 + C.yyy; // 2.0*C.x = 1/3 = C.y\n vec3 x3 = x0 - D.yyy; // -1.0+3.0*C.x = -0.5 = -D.y\n\n// Permutations\n i = mod289(i);\n vec4 p = permute( permute( permute(\n i.z + vec4(0.0, i1.z, i2.z, 1.0 ))\n + i.y + vec4(0.0, i1.y, i2.y, 1.0 ))\n + i.x + vec4(0.0, i1.x, i2.x, 1.0 ));\n\n// Gradients: 7x7 points over a square, mapped onto an octahedron.\n// The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294)\n float n_ = 0.142857142857; // 1.0/7.0\n vec3 ns = n_ * D.wyz - D.xzx;\n\n vec4 j = p - 49.0 * floor(p * ns.z * ns.z); // mod(p,7*7)\n\n vec4 x_ = floor(j * ns.z);\n vec4 y_ = floor(j - 7.0 * x_ ); // mod(j,N)\n\n vec4 x = x_ *ns.x + ns.yyyy;\n vec4 y = y_ *ns.x + ns.yyyy;\n vec4 h = 1.0 - abs(x) - abs(y);\n\n vec4 b0 = vec4( x.xy, y.xy );\n vec4 b1 = vec4( x.zw, y.zw );\n\n //vec4 s0 = vec4(lessThan(b0,0.0))*2.0 - 1.0;\n //vec4 s1 = vec4(lessThan(b1,0.0))*2.0 - 1.0;\n vec4 s0 = floor(b0)*2.0 + 1.0;\n vec4 s1 = floor(b1)*2.0 + 1.0;\n vec4 sh = -step(h, vec4(0.0));\n\n vec4 a0 = b0.xzyw + s0.xzyw*sh.xxyy ;\n vec4 a1 = b1.xzyw + s1.xzyw*sh.zzww ;\n\n vec3 p0 = vec3(a0.xy,h.x);\n vec3 p1 = vec3(a0.zw,h.y);\n vec3 p2 = vec3(a1.xy,h.z);\n vec3 p3 = vec3(a1.zw,h.w);\n\n//Normalise gradients\n vec4 norm = taylorInvSqrt(vec4(dot(p0,p0), dot(p1,p1), dot(p2, p2), dot(p3,p3)));\n p0 *= norm.x;\n p1 *= norm.y;\n p2 *= norm.z;\n p3 *= norm.w;\n\n// Mix final noise value\n vec4 m = max(0.6 - vec4(dot(x0,x0), dot(x1,x1), dot(x2,x2), dot(x3,x3)), 0.0);\n m = m * m;\n return 42.0 * dot( m*m, vec4( dot(p0,x0), dot(p1,x1),\n dot(p2,x2), dot(p3,x3) ) );\n }\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nfloat exponentialOut(float t) {\n return t == 1.0 ? t : 1.0 - pow(2.0, -10.0 * t);\n}\n\nvoid main() {\n float t1 = exponentialOut(min(time, 1.0) / 1.0);\n float t2 = exponentialOut(clamp(time - 14.0, 0.0, 1.0) / 1.0);\n vec2 pos = vUv * 2.0 - vec2(1.0);\n float circleOut = smoothstep(0.0, 0.5, t1 - t2 - length(pos));\n float circleIn = smoothstep(0.0, 0.5, (t1 - t2) * 0.5 - length(pos));\n float noise = (snoise(vec3(pos * (1.4 + noiseRange * 0.1) + vec2(sin(time), cos(time)), time + noiseRange * 100.0)) + 1.0) / 2.0;\n float mask = circleOut * noise + circleIn;\n float opacity = 1.0 - step(mask, 0.3);\n float h1 = step(mask, 0.99) * 0.4 - time * 0.05;\n float h2 = step(mask, 0.4) * 0.5;\n vec3 hsv = vec3(h1 - h2 + colorH, 0.45, 0.8);\n vec3 rgb = convertHsvToRgb(hsv);\n gl_FragColor = vec4(rgb, opacity);\n}\n"},52402:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\n\nvarying vec2 vUv;\n\nvoid main() {\n vUv = uv;\n gl_Position = projectionMatrix * viewMatrix * modelMatrix * vec4(position, 1.0);\n}\n"},54864:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform vec3 cameraPosition;\n\nvarying vec3 vPosition;\nvarying vec3 vNormal;\nvarying vec3 vColor;\n\nconst vec3 light = vec3(0.7);\n\nvoid main() {\n float diff = (dot(vNormal, light) + 1.0) / 2.0 * 0.25 + 0.75;\n float opacity = (1.0 - (vPosition.z / 1000.0)) * 0.8 + 0.2;\n gl_FragColor = vec4(vColor * diff, opacity);\n}\n"},58754:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec3 normal;\nattribute float radian;\nattribute vec3 hsv;\nattribute float noiseDiff;\nattribute float speed;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\nuniform float time;\nuniform float rotate;\n\nvarying vec3 vPosition;\nvarying vec3 vNormal;\nvarying vec3 vColor;\n\nmat4 calcTranslateMat4(vec3 v) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, 1.0, 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n v.x, v.y, v.z, 1.0\n );\n}\n\nmat4 calcRotateMat4X(float radian) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, cos(radian), -sin(radian), 0.0,\n 0.0, sin(radian), cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Y(float radian) {\n return mat4(\n cos(radian), 0.0, sin(radian), 0.0,\n 0.0, 1.0, 0.0, 0.0,\n -sin(radian), 0.0, cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Z(float radian) {\n return mat4(\n cos(radian), -sin(radian), 0.0, 0.0,\n sin(radian), cos(radian), 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4(vec3 radian) {\n return calcRotateMat4X(radian.x) * calcRotateMat4Y(radian.y) * calcRotateMat4Z(radian.z);\n}\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\n//\n// Description : Array and textureless GLSL 2D/3D/4D simplex\n// noise functions.\n// Author : Ian McEwan, Ashima Arts.\n// Maintainer : ijm\n// Lastmod : 20110822 (ijm)\n// License : Copyright (C) 2011 Ashima Arts. All rights reserved.\n// Distributed under the MIT License. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289(vec3 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x) {\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nfloat snoise(vec3 v)\n {\n const vec2 C = vec2(1.0/6.0, 1.0/3.0) ;\n const vec4 D = vec4(0.0, 0.5, 1.0, 2.0);\n\n// First corner\n vec3 i = floor(v + dot(v, C.yyy) );\n vec3 x0 = v - i + dot(i, C.xxx) ;\n\n// Other corners\n vec3 g = step(x0.yzx, x0.xyz);\n vec3 l = 1.0 - g;\n vec3 i1 = min( g.xyz, l.zxy );\n vec3 i2 = max( g.xyz, l.zxy );\n\n // x0 = x0 - 0.0 + 0.0 * C.xxx;\n // x1 = x0 - i1 + 1.0 * C.xxx;\n // x2 = x0 - i2 + 2.0 * C.xxx;\n // x3 = x0 - 1.0 + 3.0 * C.xxx;\n vec3 x1 = x0 - i1 + C.xxx;\n vec3 x2 = x0 - i2 + C.yyy; // 2.0*C.x = 1/3 = C.y\n vec3 x3 = x0 - D.yyy; // -1.0+3.0*C.x = -0.5 = -D.y\n\n// Permutations\n i = mod289(i);\n vec4 p = permute( permute( permute(\n i.z + vec4(0.0, i1.z, i2.z, 1.0 ))\n + i.y + vec4(0.0, i1.y, i2.y, 1.0 ))\n + i.x + vec4(0.0, i1.x, i2.x, 1.0 ));\n\n// Gradients: 7x7 points over a square, mapped onto an octahedron.\n// The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294)\n float n_ = 0.142857142857; // 1.0/7.0\n vec3 ns = n_ * D.wyz - D.xzx;\n\n vec4 j = p - 49.0 * floor(p * ns.z * ns.z); // mod(p,7*7)\n\n vec4 x_ = floor(j * ns.z);\n vec4 y_ = floor(j - 7.0 * x_ ); // mod(j,N)\n\n vec4 x = x_ *ns.x + ns.yyyy;\n vec4 y = y_ *ns.x + ns.yyyy;\n vec4 h = 1.0 - abs(x) - abs(y);\n\n vec4 b0 = vec4( x.xy, y.xy );\n vec4 b1 = vec4( x.zw, y.zw );\n\n //vec4 s0 = vec4(lessThan(b0,0.0))*2.0 - 1.0;\n //vec4 s1 = vec4(lessThan(b1,0.0))*2.0 - 1.0;\n vec4 s0 = floor(b0)*2.0 + 1.0;\n vec4 s1 = floor(b1)*2.0 + 1.0;\n vec4 sh = -step(h, vec4(0.0));\n\n vec4 a0 = b0.xzyw + s0.xzyw*sh.xxyy ;\n vec4 a1 = b1.xzyw + s1.xzyw*sh.zzww ;\n\n vec3 p0 = vec3(a0.xy,h.x);\n vec3 p1 = vec3(a0.zw,h.y);\n vec3 p2 = vec3(a1.xy,h.z);\n vec3 p3 = vec3(a1.zw,h.w);\n\n//Normalise gradients\n vec4 norm = taylorInvSqrt(vec4(dot(p0,p0), dot(p1,p1), dot(p2, p2), dot(p3,p3)));\n p0 *= norm.x;\n p1 *= norm.y;\n p2 *= norm.z;\n p3 *= norm.w;\n\n// Mix final noise value\n vec4 m = max(0.6 - vec4(dot(x0,x0), dot(x1,x1), dot(x2,x2), dot(x3,x3)), 0.0);\n m = m * m;\n return 42.0 * dot( m*m, vec4( dot(p0,x0), dot(p1,x1),\n dot(p2,x2), dot(p3,x3) ) );\n }\n\nvoid main(void) {\n float noise = snoise(position * 0.02 + time * speed + noiseDiff);\n mat4 rotateMatWorld = calcRotateMat4(vec3(0.0, radian + radians(rotate), 0.0));\n mat4 translateMat = calcTranslateMat4(vec3(1000.0, 0.0, 0.0));\n vec4 updatePosition = rotateMatWorld * translateMat * vec4(\n position + normalize(position) * noise * 5.0,\n 1.0\n );\n vPosition = updatePosition.xyz;\n vNormal = normal;\n vColor = convertHsvToRgb(hsv);\n gl_Position = projectionMatrix * modelViewMatrix * updatePosition;\n}\n"},71955:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform sampler2D texture;\n\nvarying vec3 vPosition;\nvarying vec3 vNormal;\nvarying vec4 vUv;\nvarying mat4 vInvertMatrix;\n\nvoid main() {\n vec4 projectorColor;\n if (all(bvec4(vUv.x >= 0.0, vUv.y >= 0.0, vUv.x <= vUv.z, vUv.y <= vUv.z))) {\n projectorColor = texture2DProj(texture, vUv);\n }\n gl_FragColor = vec4(1.0, 1.0, 1.0, 0.35) * projectorColor;\n}\n"},84450:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec3 normal;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform mat3 normalMatrix;\nuniform mat4 textureMatrix;\n\nvarying vec3 vPosition;\nvarying vec3 vNormal;\nvarying vec4 vUv;\nvarying mat4 vInvertMatrix;\n\nfloat inverse(float m) {\n return 1.0 / m;\n}\n\nmat2 inverse(mat2 m) {\n return mat2(m[1][1],-m[0][1],\n -m[1][0], m[0][0]) / (m[0][0]*m[1][1] - m[0][1]*m[1][0]);\n}\n\nmat3 inverse(mat3 m) {\n float a00 = m[0][0], a01 = m[0][1], a02 = m[0][2];\n float a10 = m[1][0], a11 = m[1][1], a12 = m[1][2];\n float a20 = m[2][0], a21 = m[2][1], a22 = m[2][2];\n\n float b01 = a22 * a11 - a12 * a21;\n float b11 = -a22 * a10 + a12 * a20;\n float b21 = a21 * a10 - a11 * a20;\n\n float det = a00 * b01 + a01 * b11 + a02 * b21;\n\n return mat3(b01, (-a22 * a01 + a02 * a21), (a12 * a01 - a02 * a11),\n b11, (a22 * a00 - a02 * a20), (-a12 * a00 + a02 * a10),\n b21, (-a21 * a00 + a01 * a20), (a11 * a00 - a01 * a10)) / det;\n}\n\nmat4 inverse(mat4 m) {\n float\n a00 = m[0][0], a01 = m[0][1], a02 = m[0][2], a03 = m[0][3],\n a10 = m[1][0], a11 = m[1][1], a12 = m[1][2], a13 = m[1][3],\n a20 = m[2][0], a21 = m[2][1], a22 = m[2][2], a23 = m[2][3],\n a30 = m[3][0], a31 = m[3][1], a32 = m[3][2], a33 = m[3][3],\n\n b00 = a00 * a11 - a01 * a10,\n b01 = a00 * a12 - a02 * a10,\n b02 = a00 * a13 - a03 * a10,\n b03 = a01 * a12 - a02 * a11,\n b04 = a01 * a13 - a03 * a11,\n b05 = a02 * a13 - a03 * a12,\n b06 = a20 * a31 - a21 * a30,\n b07 = a20 * a32 - a22 * a30,\n b08 = a20 * a33 - a23 * a30,\n b09 = a21 * a32 - a22 * a31,\n b10 = a21 * a33 - a23 * a31,\n b11 = a22 * a33 - a23 * a32,\n\n det = b00 * b11 - b01 * b10 + b02 * b09 + b03 * b08 - b04 * b07 + b05 * b06;\n\n return mat4(\n a11 * b11 - a12 * b10 + a13 * b09,\n a02 * b10 - a01 * b11 - a03 * b09,\n a31 * b05 - a32 * b04 + a33 * b03,\n a22 * b04 - a21 * b05 - a23 * b03,\n a12 * b08 - a10 * b11 - a13 * b07,\n a00 * b11 - a02 * b08 + a03 * b07,\n a32 * b02 - a30 * b05 - a33 * b01,\n a20 * b05 - a22 * b02 + a23 * b01,\n a10 * b10 - a11 * b08 + a13 * b06,\n a01 * b08 - a00 * b10 - a03 * b06,\n a30 * b04 - a31 * b02 + a33 * b00,\n a21 * b02 - a20 * b04 - a23 * b00,\n a11 * b07 - a10 * b09 - a12 * b06,\n a00 * b09 - a01 * b07 + a02 * b06,\n a31 * b01 - a30 * b03 - a32 * b00,\n a20 * b03 - a21 * b01 + a22 * b00) / det;\n}\n\nvoid main(void) {\n vec4 worldPosition = modelMatrix * vec4(position, 1.0);\n vPosition = worldPosition.xyz;\n vNormal = normal;\n vUv = textureMatrix * worldPosition;\n vInvertMatrix = inverse(modelMatrix);\n gl_Position = projectionMatrix * viewMatrix * worldPosition;\n}\n"},69805:function(e,t){"use strict";t.Z="#extension GL_OES_standard_derivatives : enable\nprecision highp float;\n#define GLSLIFY 1\n\nuniform vec3 cameraPosition;\nuniform float time;\n\nvarying vec3 vPosition;\nvarying mat4 vInvertMatrix;\n\nvoid main() {\n vec3 normal = normalize(cross(dFdx(vPosition), dFdy(vPosition)));\n vec3 light = vec3(-0.7, 0.7, -0.7);\n float diff = (dot(normal, light) + 1.0) / 2.0 * 0.2 + 0.8;\n gl_FragColor = vec4(vec3(0.98) * diff, 1.0);\n}\n"},8757:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec3 normal;\nattribute float height;\nattribute float offsetX;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\nuniform mat4 modelMatrix;\n\nvarying vec3 vPosition;\nvarying mat4 vInvertMatrix;\n\nmat4 calcTranslateMat4(vec3 v) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, 1.0, 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n v.x, v.y, v.z, 1.0\n );\n}\n\nmat4 calcScaleMat4(vec3 scale) {\n return mat4(\n scale.x, 0.0, 0.0, 0.0,\n 0.0, scale.y, 0.0, 0.0,\n 0.0, 0.0, scale.z, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nfloat inverse(float m) {\n return 1.0 / m;\n}\n\nmat2 inverse(mat2 m) {\n return mat2(m[1][1],-m[0][1],\n -m[1][0], m[0][0]) / (m[0][0]*m[1][1] - m[0][1]*m[1][0]);\n}\n\nmat3 inverse(mat3 m) {\n float a00 = m[0][0], a01 = m[0][1], a02 = m[0][2];\n float a10 = m[1][0], a11 = m[1][1], a12 = m[1][2];\n float a20 = m[2][0], a21 = m[2][1], a22 = m[2][2];\n\n float b01 = a22 * a11 - a12 * a21;\n float b11 = -a22 * a10 + a12 * a20;\n float b21 = a21 * a10 - a11 * a20;\n\n float det = a00 * b01 + a01 * b11 + a02 * b21;\n\n return mat3(b01, (-a22 * a01 + a02 * a21), (a12 * a01 - a02 * a11),\n b11, (a22 * a00 - a02 * a20), (-a12 * a00 + a02 * a10),\n b21, (-a21 * a00 + a01 * a20), (a11 * a00 - a01 * a10)) / det;\n}\n\nmat4 inverse(mat4 m) {\n float\n a00 = m[0][0], a01 = m[0][1], a02 = m[0][2], a03 = m[0][3],\n a10 = m[1][0], a11 = m[1][1], a12 = m[1][2], a13 = m[1][3],\n a20 = m[2][0], a21 = m[2][1], a22 = m[2][2], a23 = m[2][3],\n a30 = m[3][0], a31 = m[3][1], a32 = m[3][2], a33 = m[3][3],\n\n b00 = a00 * a11 - a01 * a10,\n b01 = a00 * a12 - a02 * a10,\n b02 = a00 * a13 - a03 * a10,\n b03 = a01 * a12 - a02 * a11,\n b04 = a01 * a13 - a03 * a11,\n b05 = a02 * a13 - a03 * a12,\n b06 = a20 * a31 - a21 * a30,\n b07 = a20 * a32 - a22 * a30,\n b08 = a20 * a33 - a23 * a30,\n b09 = a21 * a32 - a22 * a31,\n b10 = a21 * a33 - a23 * a31,\n b11 = a22 * a33 - a23 * a32,\n\n det = b00 * b11 - b01 * b10 + b02 * b09 + b03 * b08 - b04 * b07 + b05 * b06;\n\n return mat4(\n a11 * b11 - a12 * b10 + a13 * b09,\n a02 * b10 - a01 * b11 - a03 * b09,\n a31 * b05 - a32 * b04 + a33 * b03,\n a22 * b04 - a21 * b05 - a23 * b03,\n a12 * b08 - a10 * b11 - a13 * b07,\n a00 * b11 - a02 * b08 + a03 * b07,\n a32 * b02 - a30 * b05 - a33 * b01,\n a20 * b05 - a22 * b02 + a23 * b01,\n a10 * b10 - a11 * b08 + a13 * b06,\n a01 * b08 - a00 * b10 - a03 * b06,\n a30 * b04 - a31 * b02 + a33 * b00,\n a21 * b02 - a20 * b04 - a23 * b00,\n a11 * b07 - a10 * b09 - a12 * b06,\n a00 * b09 - a01 * b07 + a02 * b06,\n a31 * b01 - a30 * b03 - a32 * b00,\n a20 * b03 - a21 * b01 + a22 * b00) / det;\n}\n\nvoid main(void) {\n mat4 translateMat = calcTranslateMat4(vec3(offsetX, 0.0, 0.0));\n mat4 scaleMat = calcScaleMat4(vec3(1.0, (position.y + 0.5) * height, 1.0));\n vec4 updatePosition = scaleMat * translateMat * vec4(position, 1.0);\n vPosition = (modelMatrix * updatePosition).xyz;\n vInvertMatrix = inverse(modelMatrix);\n gl_Position = projectionMatrix * modelViewMatrix * updatePosition;\n}\n"},46060:function(e,t){"use strict";t.Z="#extension GL_OES_standard_derivatives : enable\nprecision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform vec3 cameraPosition;\n\nvarying vec3 vPosition;\nvarying vec3 vColor;\nvarying mat4 vInvertMatrix;\n\nconst vec3 color = vec3(0.9);\n\nvoid main() {\n vec3 normal = normalize(cross(dFdx(vPosition), dFdy(vPosition)));\n if(!gl_FrontFacing) {\n normal = -normal;\n }\n vec3 light = normalize(vInvertMatrix * vec4(vec3(-1000.0, 1000.0, -1000.0), 1.0)).xyz;\n float diff = (dot(normal, light) + 1.0) / 2.0 * 0.2 + 0.8;\n float opacity = (1.0 - (vPosition.z / 1000.0)) * 0.1 + 0.1;\n gl_FragColor = vec4(color * diff * vColor, opacity);\n}\n"},24192:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec3 normal;\nattribute float radian;\nattribute vec3 hsv;\nattribute float timeHover;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\nuniform float time;\nuniform float rotate;\n\nvarying vec3 vPosition;\nvarying vec3 vNormal;\nvarying vec3 vColor;\nvarying mat4 vInvertMatrix;\n\nfloat inverse(float m) {\n return 1.0 / m;\n}\n\nmat2 inverse(mat2 m) {\n return mat2(m[1][1],-m[0][1],\n -m[1][0], m[0][0]) / (m[0][0]*m[1][1] - m[0][1]*m[1][0]);\n}\n\nmat3 inverse(mat3 m) {\n float a00 = m[0][0], a01 = m[0][1], a02 = m[0][2];\n float a10 = m[1][0], a11 = m[1][1], a12 = m[1][2];\n float a20 = m[2][0], a21 = m[2][1], a22 = m[2][2];\n\n float b01 = a22 * a11 - a12 * a21;\n float b11 = -a22 * a10 + a12 * a20;\n float b21 = a21 * a10 - a11 * a20;\n\n float det = a00 * b01 + a01 * b11 + a02 * b21;\n\n return mat3(b01, (-a22 * a01 + a02 * a21), (a12 * a01 - a02 * a11),\n b11, (a22 * a00 - a02 * a20), (-a12 * a00 + a02 * a10),\n b21, (-a21 * a00 + a01 * a20), (a11 * a00 - a01 * a10)) / det;\n}\n\nmat4 inverse(mat4 m) {\n float\n a00 = m[0][0], a01 = m[0][1], a02 = m[0][2], a03 = m[0][3],\n a10 = m[1][0], a11 = m[1][1], a12 = m[1][2], a13 = m[1][3],\n a20 = m[2][0], a21 = m[2][1], a22 = m[2][2], a23 = m[2][3],\n a30 = m[3][0], a31 = m[3][1], a32 = m[3][2], a33 = m[3][3],\n\n b00 = a00 * a11 - a01 * a10,\n b01 = a00 * a12 - a02 * a10,\n b02 = a00 * a13 - a03 * a10,\n b03 = a01 * a12 - a02 * a11,\n b04 = a01 * a13 - a03 * a11,\n b05 = a02 * a13 - a03 * a12,\n b06 = a20 * a31 - a21 * a30,\n b07 = a20 * a32 - a22 * a30,\n b08 = a20 * a33 - a23 * a30,\n b09 = a21 * a32 - a22 * a31,\n b10 = a21 * a33 - a23 * a31,\n b11 = a22 * a33 - a23 * a32,\n\n det = b00 * b11 - b01 * b10 + b02 * b09 + b03 * b08 - b04 * b07 + b05 * b06;\n\n return mat4(\n a11 * b11 - a12 * b10 + a13 * b09,\n a02 * b10 - a01 * b11 - a03 * b09,\n a31 * b05 - a32 * b04 + a33 * b03,\n a22 * b04 - a21 * b05 - a23 * b03,\n a12 * b08 - a10 * b11 - a13 * b07,\n a00 * b11 - a02 * b08 + a03 * b07,\n a32 * b02 - a30 * b05 - a33 * b01,\n a20 * b05 - a22 * b02 + a23 * b01,\n a10 * b10 - a11 * b08 + a13 * b06,\n a01 * b08 - a00 * b10 - a03 * b06,\n a30 * b04 - a31 * b02 + a33 * b00,\n a21 * b02 - a20 * b04 - a23 * b00,\n a11 * b07 - a10 * b09 - a12 * b06,\n a00 * b09 - a01 * b07 + a02 * b06,\n a31 * b01 - a30 * b03 - a32 * b00,\n a20 * b03 - a21 * b01 + a22 * b00) / det;\n}\n\nfloat circularOut(float t) {\n return sqrt((2.0 - t) * t);\n}\n\nmat4 calcTranslateMat4(vec3 v) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, 1.0, 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n v.x, v.y, v.z, 1.0\n );\n}\n\nmat4 calcRotateMat4X(float radian) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, cos(radian), -sin(radian), 0.0,\n 0.0, sin(radian), cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Y(float radian) {\n return mat4(\n cos(radian), 0.0, sin(radian), 0.0,\n 0.0, 1.0, 0.0, 0.0,\n -sin(radian), 0.0, cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Z(float radian) {\n return mat4(\n cos(radian), -sin(radian), 0.0, 0.0,\n sin(radian), cos(radian), 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4(vec3 radian) {\n return calcRotateMat4X(radian.x) * calcRotateMat4Y(radian.y) * calcRotateMat4Z(radian.z);\n}\n\nmat4 calcScaleMat4(vec3 scale) {\n return mat4(\n scale.x, 0.0, 0.0, 0.0,\n 0.0, scale.y, 0.0, 0.0,\n 0.0, 0.0, scale.z, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main(void) {\n float easeStep = circularOut(timeHover / 0.3);\n mat4 rotateMatWorld = calcRotateMat4(vec3(0.0, radian + radians(rotate), 0.0));\n mat4 scaleMat = calcScaleMat4(vec3(1.0 + easeStep * 0.2));\n mat4 translateMat = calcTranslateMat4(vec3(1000.0, 0.0, 0.0));\n vec4 updatePosition = rotateMatWorld * translateMat * scaleMat * vec4(position, 1.0);\n vPosition = updatePosition.xyz;\n vInvertMatrix = inverse(rotateMatWorld * translateMat);\n vColor = convertHsvToRgb(hsv * vec3(1.0, 1.0 - easeStep, 1.0));\n gl_Position = projectionMatrix * modelViewMatrix * updatePosition;\n}\n"},66977:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\n\nvarying vec3 vColor;\n\nvoid main() {\n gl_FragColor = vec4(vColor, 1.0);\n}\n"},22984:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute float radian;\nattribute vec3 pickedColor;\nattribute float timeHover;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\nuniform float time;\nuniform float rotate;\n\nvarying vec3 vColor;\n\nfloat circularOut(float t) {\n return sqrt((2.0 - t) * t);\n}\n\nmat4 calcTranslateMat4(vec3 v) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, 1.0, 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n v.x, v.y, v.z, 1.0\n );\n}\n\nmat4 calcRotateMat4X(float radian) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, cos(radian), -sin(radian), 0.0,\n 0.0, sin(radian), cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Y(float radian) {\n return mat4(\n cos(radian), 0.0, sin(radian), 0.0,\n 0.0, 1.0, 0.0, 0.0,\n -sin(radian), 0.0, cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Z(float radian) {\n return mat4(\n cos(radian), -sin(radian), 0.0, 0.0,\n sin(radian), cos(radian), 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4(vec3 radian) {\n return calcRotateMat4X(radian.x) * calcRotateMat4Y(radian.y) * calcRotateMat4Z(radian.z);\n}\n\nmat4 calcScaleMat4(vec3 scale) {\n return mat4(\n scale.x, 0.0, 0.0, 0.0,\n 0.0, scale.y, 0.0, 0.0,\n 0.0, 0.0, scale.z, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nvoid main(void) {\n float easeStep = circularOut(timeHover / 0.3);\n mat4 rotateMatWorld = calcRotateMat4(vec3(0.0, radian + radians(rotate), 0.0));\n mat4 scaleMat = calcScaleMat4(vec3(1.0 + easeStep * 0.2));\n mat4 translateMat = calcTranslateMat4(vec3(1000.0, 0.0, 0.0));\n vec4 updatePosition = rotateMatWorld * translateMat * scaleMat * vec4(position, 1.0);\n vColor = pickedColor;\n gl_Position = projectionMatrix * modelViewMatrix * updatePosition;\n}\n"},80170:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform sampler2D tex;\n\nvarying vec2 vUv;\n\nvoid main() {\n vec4 texColor = texture2D(tex, vUv);\n gl_FragColor = texColor;\n}\n"},78615:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform vec3 mouse;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\n\nvarying vec2 vUv;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n // coordinate transformation\n vec4 mPosition = modelMatrix * vec4(position, 1.0);\n vec3 subPosition = mouse - mPosition.xyz;\n float force = (1000.0 - clamp(length(subPosition), 0.0, 1000.0)) / 4.0;\n mPosition = vec4(mPosition.xyz + force * normalize(-subPosition), 1.0);\n\n vUv = uv;\n\n gl_Position = projectionMatrix * viewMatrix * mPosition;\n gl_PointSize = 3.0;\n}\n"},75473:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform float size;\nuniform sampler2D texButterfly;\nuniform sampler2D texPicture;\nuniform float colorH;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying float vOpacity;\nvarying float vStep1;\nvarying float vStep2;\nvarying float vStep3;\n\n//\n// Description : Array and textureless GLSL 2D/3D/4D simplex\n// noise functions.\n// Author : Ian McEwan, Ashima Arts.\n// Maintainer : ijm\n// Lastmod : 20110822 (ijm)\n// License : Copyright (C) 2011 Ashima Arts. All rights reserved.\n// Distributed under the MIT License. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289(vec3 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x) {\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nfloat snoise(vec3 v)\n {\n const vec2 C = vec2(1.0/6.0, 1.0/3.0) ;\n const vec4 D = vec4(0.0, 0.5, 1.0, 2.0);\n\n// First corner\n vec3 i = floor(v + dot(v, C.yyy) );\n vec3 x0 = v - i + dot(i, C.xxx) ;\n\n// Other corners\n vec3 g = step(x0.yzx, x0.xyz);\n vec3 l = 1.0 - g;\n vec3 i1 = min( g.xyz, l.zxy );\n vec3 i2 = max( g.xyz, l.zxy );\n\n // x0 = x0 - 0.0 + 0.0 * C.xxx;\n // x1 = x0 - i1 + 1.0 * C.xxx;\n // x2 = x0 - i2 + 2.0 * C.xxx;\n // x3 = x0 - 1.0 + 3.0 * C.xxx;\n vec3 x1 = x0 - i1 + C.xxx;\n vec3 x2 = x0 - i2 + C.yyy; // 2.0*C.x = 1/3 = C.y\n vec3 x3 = x0 - D.yyy; // -1.0+3.0*C.x = -0.5 = -D.y\n\n// Permutations\n i = mod289(i);\n vec4 p = permute( permute( permute(\n i.z + vec4(0.0, i1.z, i2.z, 1.0 ))\n + i.y + vec4(0.0, i1.y, i2.y, 1.0 ))\n + i.x + vec4(0.0, i1.x, i2.x, 1.0 ));\n\n// Gradients: 7x7 points over a square, mapped onto an octahedron.\n// The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294)\n float n_ = 0.142857142857; // 1.0/7.0\n vec3 ns = n_ * D.wyz - D.xzx;\n\n vec4 j = p - 49.0 * floor(p * ns.z * ns.z); // mod(p,7*7)\n\n vec4 x_ = floor(j * ns.z);\n vec4 y_ = floor(j - 7.0 * x_ ); // mod(j,N)\n\n vec4 x = x_ *ns.x + ns.yyyy;\n vec4 y = y_ *ns.x + ns.yyyy;\n vec4 h = 1.0 - abs(x) - abs(y);\n\n vec4 b0 = vec4( x.xy, y.xy );\n vec4 b1 = vec4( x.zw, y.zw );\n\n //vec4 s0 = vec4(lessThan(b0,0.0))*2.0 - 1.0;\n //vec4 s1 = vec4(lessThan(b1,0.0))*2.0 - 1.0;\n vec4 s0 = floor(b0)*2.0 + 1.0;\n vec4 s1 = floor(b1)*2.0 + 1.0;\n vec4 sh = -step(h, vec4(0.0));\n\n vec4 a0 = b0.xzyw + s0.xzyw*sh.xxyy ;\n vec4 a1 = b1.xzyw + s1.xzyw*sh.zzww ;\n\n vec3 p0 = vec3(a0.xy,h.x);\n vec3 p1 = vec3(a0.zw,h.y);\n vec3 p2 = vec3(a1.xy,h.z);\n vec3 p3 = vec3(a1.zw,h.w);\n\n//Normalise gradients\n vec4 norm = taylorInvSqrt(vec4(dot(p0,p0), dot(p1,p1), dot(p2, p2), dot(p3,p3)));\n p0 *= norm.x;\n p1 *= norm.y;\n p2 *= norm.z;\n p3 *= norm.w;\n\n// Mix final noise value\n vec4 m = max(0.6 - vec4(dot(x0,x0), dot(x1,x1), dot(x2,x2), dot(x3,x3)), 0.0);\n m = m * m;\n return 42.0 * dot( m*m, vec4( dot(p0,x0), dot(p1,x1),\n dot(p2,x2), dot(p3,x3) ) );\n }\n\nfloat random(vec2 c){\n return fract(sin(dot(c.xy ,vec2(12.9898,78.233))) * 43758.5453);\n}\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nconst float rgbDiff = 0.01;\n\nvoid main() {\n // Glitch Noise.\n float bnStrength = sin(time) * 0.05;\n float bnTime = floor(time * 18.0) * 200.0;\n float noiseX = step(0.87 + bnStrength, (snoise(vec3(0.0, vUv.x * 1.8, bnTime)) + 1.0) / 2.0);\n float noiseY = step(0.87 + bnStrength, (snoise(vec3(0.0, vUv.y * 4.2, bnTime)) + 1.0) / 2.0);\n float bnMask = noiseX * noiseY;\n float bnUvX = mod(vUv.x + sin(bnTime) + rgbDiff, 1.0);\n vec4 bnDiff = (1.0 - texture2D(texPicture, vec2(bnUvX, vUv.y))) * bnMask;\n\n // White Noise.\n float whiteNoise = (random(vUv + mod(time, 10.0)) * 2.0 - 1.0) * 0.15;\n vec4 wnColor = vec4(vec3(whiteNoise), 0.0);\n\n // Color Noise for BUterfly.\n float noise = snoise(vPosition / vec3(size * 0.25) + vec3(0.0, 0.0, time));\n vec3 hsv = vec3(colorH + noise * 0.2, 0.4, 1.0);\n vec3 rgb = convertHsvToRgb(hsv);\n\n // Butterly Color.\n vec4 texButterflyColor = texture2D(texButterfly, vUv);\n vec4 color1 = vec4(rgb, 1.0) * texButterflyColor;\n\n // Sphere color on transforming.\n vec4 color2 = vec4(rgb, 1.0) * vec4((1.0 - texButterflyColor.rgb * 0.5), texButterflyColor.a) + wnColor;\n\n // Picture Color.\n vec2 pictUv = vUv * 1.1 - 0.05;\n vec4 texPictureColor = texture2D(texPicture, pictUv);\n float pictAlpha = step(0.0, pictUv.x) * (1.0 - step(1.0, pictUv.x)) * step(0.0, pictUv.y) * (1.0 - step(1.0, pictUv.y));\n vec4 pictColor = texPictureColor * (1.0 - bnMask) * vec4(vec3(1.0), pictAlpha);\n vec4 bnColor = vec4(bnDiff.rgb * 1.2, bnMask);\n vec4 color3 = pictColor + bnColor + wnColor;\n\n // total of colors.\n vec4 color = (color1 * vStep1 + color2 * vStep2) + color3 * vStep3;\n\n if (color.a < 0.5) discard;\n\n gl_FragColor = color;\n}\n"},70124:function(e,t){"use strict";t.Z='#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\nattribute vec3 spherePosition;\nattribute vec3 squarePosition;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform float index;\nuniform float time;\nuniform float timeTransform;\nuniform float interval;\nuniform float size;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\nvarying float vOpacity;\nvarying float vStep1;\nvarying float vStep2;\nvarying float vStep3;\n\nfloat exponentialInOut(float t) {\n return t == 0.0 || t == 1.0\n ? t\n : t < 0.5\n ? +0.5 * pow(2.0, (20.0 * t) - 10.0)\n : -0.5 * pow(2.0, 10.0 - (t * 20.0)) + 1.0;\n}\n\n//\n// GLSL textureless classic 3D noise "cnoise",\n// with an RSL-style periodic variant "pnoise".\n// Author: Stefan Gustavson (stefan.gustavson@liu.se)\n// Version: 2011-10-11\n//\n// Many thanks to Ian McEwan of Ashima Arts for the\n// ideas for permutation and gradient selection.\n//\n// Copyright (c) 2011 Stefan Gustavson. All rights reserved.\n// Distributed under the MIT license. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289(vec3 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x)\n{\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nvec3 fade(vec3 t) {\n return t*t*t*(t*(t*6.0-15.0)+10.0);\n}\n\n// Classic Perlin noise\nfloat cnoise(vec3 P)\n{\n vec3 Pi0 = floor(P); // Integer part for indexing\n vec3 Pi1 = Pi0 + vec3(1.0); // Integer part + 1\n Pi0 = mod289(Pi0);\n Pi1 = mod289(Pi1);\n vec3 Pf0 = fract(P); // Fractional part for interpolation\n vec3 Pf1 = Pf0 - vec3(1.0); // Fractional part - 1.0\n vec4 ix = vec4(Pi0.x, Pi1.x, Pi0.x, Pi1.x);\n vec4 iy = vec4(Pi0.yy, Pi1.yy);\n vec4 iz0 = Pi0.zzzz;\n vec4 iz1 = Pi1.zzzz;\n\n vec4 ixy = permute(permute(ix) + iy);\n vec4 ixy0 = permute(ixy + iz0);\n vec4 ixy1 = permute(ixy + iz1);\n\n vec4 gx0 = ixy0 * (1.0 / 7.0);\n vec4 gy0 = fract(floor(gx0) * (1.0 / 7.0)) - 0.5;\n gx0 = fract(gx0);\n vec4 gz0 = vec4(0.5) - abs(gx0) - abs(gy0);\n vec4 sz0 = step(gz0, vec4(0.0));\n gx0 -= sz0 * (step(0.0, gx0) - 0.5);\n gy0 -= sz0 * (step(0.0, gy0) - 0.5);\n\n vec4 gx1 = ixy1 * (1.0 / 7.0);\n vec4 gy1 = fract(floor(gx1) * (1.0 / 7.0)) - 0.5;\n gx1 = fract(gx1);\n vec4 gz1 = vec4(0.5) - abs(gx1) - abs(gy1);\n vec4 sz1 = step(gz1, vec4(0.0));\n gx1 -= sz1 * (step(0.0, gx1) - 0.5);\n gy1 -= sz1 * (step(0.0, gy1) - 0.5);\n\n vec3 g000 = vec3(gx0.x,gy0.x,gz0.x);\n vec3 g100 = vec3(gx0.y,gy0.y,gz0.y);\n vec3 g010 = vec3(gx0.z,gy0.z,gz0.z);\n vec3 g110 = vec3(gx0.w,gy0.w,gz0.w);\n vec3 g001 = vec3(gx1.x,gy1.x,gz1.x);\n vec3 g101 = vec3(gx1.y,gy1.y,gz1.y);\n vec3 g011 = vec3(gx1.z,gy1.z,gz1.z);\n vec3 g111 = vec3(gx1.w,gy1.w,gz1.w);\n\n vec4 norm0 = taylorInvSqrt(vec4(dot(g000, g000), dot(g010, g010), dot(g100, g100), dot(g110, g110)));\n g000 *= norm0.x;\n g010 *= norm0.y;\n g100 *= norm0.z;\n g110 *= norm0.w;\n vec4 norm1 = taylorInvSqrt(vec4(dot(g001, g001), dot(g011, g011), dot(g101, g101), dot(g111, g111)));\n g001 *= norm1.x;\n g011 *= norm1.y;\n g101 *= norm1.z;\n g111 *= norm1.w;\n\n float n000 = dot(g000, Pf0);\n float n100 = dot(g100, vec3(Pf1.x, Pf0.yz));\n float n010 = dot(g010, vec3(Pf0.x, Pf1.y, Pf0.z));\n float n110 = dot(g110, vec3(Pf1.xy, Pf0.z));\n float n001 = dot(g001, vec3(Pf0.xy, Pf1.z));\n float n101 = dot(g101, vec3(Pf1.x, Pf0.y, Pf1.z));\n float n011 = dot(g011, vec3(Pf0.x, Pf1.yz));\n float n111 = dot(g111, Pf1);\n\n vec3 fade_xyz = fade(Pf0);\n vec4 n_z = mix(vec4(n000, n100, n010, n110), vec4(n001, n101, n011, n111), fade_xyz.z);\n vec2 n_yz = mix(n_z.xy, n_z.zw, fade_xyz.y);\n float n_xyz = mix(n_yz.x, n_yz.y, fade_xyz.x);\n return 2.2 * n_xyz;\n}\n\nmat4 calcRotateMat4X(float radian) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, cos(radian), -sin(radian), 0.0,\n 0.0, sin(radian), cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Y(float radian) {\n return mat4(\n cos(radian), 0.0, sin(radian), 0.0,\n 0.0, 1.0, 0.0, 0.0,\n -sin(radian), 0.0, cos(radian), 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4Z(float radian) {\n return mat4(\n cos(radian), -sin(radian), 0.0, 0.0,\n sin(radian), cos(radian), 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n 0.0, 0.0, 0.0, 1.0\n );\n}\n\nmat4 calcRotateMat4(vec3 radian) {\n return calcRotateMat4X(radian.x) * calcRotateMat4Y(radian.y) * calcRotateMat4Z(radian.z);\n}\n\nvoid main() {\n // Calcurate time of tranforming\n float t = timeTransform / interval;\n float transformTime1 = max((1.0 - t) * 2.0 - 1.0, 0.0);\n float transformTime2 = min((t) * 2.0, 1.0) * min((1.0 - t) * 2.0, 1.0);\n float transformTime3 = max((t) * 2.0 - 1.0, 0.0);\n\n // Position of Butterfly\n float flapTime = radians(sin(time * 4.0 - length(position.xy) / size * 2.0 + index * 2.0) * 45.0 + 30.0);\n vec3 flapPosition = vec3(\n cos(flapTime) * position.x,\n position.y + sin(time) * 10.0,\n sin(flapTime) * abs(position.x) + sin(time) * 10.0\n );\n mat4 flapRotateMat = calcRotateMat4(vec3(radians(45.0), 0.0, 0.0));\n vec3 position1 = (flapRotateMat * vec4(flapPosition, 1.0)).xyz;\n\n // Position of Sphere on transforming\n float sphereNoise = cnoise(spherePosition * 0.02 + time * 2.4);\n vec3 sphereNoisePosition = normalize(spherePosition) * sphereNoise * 30.0;\n mat4 sphereRotateMat = calcRotateMat4(vec3(t * 4.0, 0.0, 0.0));\n vec3 position2 = (sphereRotateMat * vec4(spherePosition + sphereNoisePosition, 1.0)).xyz;\n\n // Position of Picture\n mat4 pictureRotateMat = calcRotateMat4(vec3(0.0, radians(45.0), 0.0));\n vec3 position3 = (pictureRotateMat * vec4(squarePosition, 1.0)).xyz;;\n\n // Total of All Position\n vec3 updatePosition = position1 * exponentialInOut(transformTime1) + position2 * exponentialInOut(transformTime2) + position3 * exponentialInOut(transformTime3);\n\n // varying\n vPosition = updatePosition;\n vUv = uv;\n vStep1 = clamp((1.0 - t) * 6.0 - 2.0, 0.0, 1.0);\n vStep2 = clamp((t) * 6.0 - 1.0, 0.0, 1.0) * clamp((1.0 - t) * 6.0 - 1.0, 0.0, 1.0);\n vStep3 = clamp((t) * 6.0 - 3.0, 0.0, 1.0);\n\n gl_Position = projectionMatrix * viewMatrix * modelMatrix * vec4(updatePosition, 1.0);\n}\n'},41639:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform vec3 cameraPosition;\nuniform sampler2D texture;\n\nvarying vec3 vPosition;\nvarying vec4 vUv;\n\nconst float mirrorOpacity = 0.2;\n\nvoid main() {\n float opacity = 1.0 - length(vPosition - cameraPosition) / 700.0;\n\n vec4 mirrorColor = vec4(vec3(0.9), 1.0) * (1.0 - mirrorOpacity);\n\n vec4 projectorColor = texture2DProj(texture, vUv) * mirrorOpacity;\n\n gl_FragColor = (mirrorColor + projectorColor) * vec4(vec3(1.0), opacity);\n}\n"},47741:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec3 normal;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform mat4 textureMatrix;\n\nvarying vec3 vPosition;\nvarying vec4 vUv;\n\nvoid main(void) {\n vec4 worldPosition = modelMatrix * vec4(position, 1.0);\n\n vPosition = worldPosition.xyz;\n vUv = textureMatrix * worldPosition;\n\n gl_Position = projectionMatrix * viewMatrix * worldPosition;\n}\n"},27558:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nvarying vec3 vColor;\nvarying float vOpacity;\n\nvoid main() {\n // to round.\n vec3 n;\n n.xy = gl_PointCoord * 2.0 - 1.0;\n n.z = 1.0 - dot(n.xy, n.xy);\n if (n.z < 0.0) discard;\n\n gl_FragColor = vec4(vColor, vOpacity * 0.5);\n}\n"},8467:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute float colorH;\nattribute float i;\nattribute float opacity;\nattribute float valid;\n\nuniform vec3 cameraPosition;\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform float size;\nuniform float interval;\nuniform float time;\n\nvarying vec3 vColor;\nvarying float vOpacity;\n\n//\n// Description : Array and textureless GLSL 2D/3D/4D simplex\n// noise functions.\n// Author : Ian McEwan, Ashima Arts.\n// Maintainer : ijm\n// Lastmod : 20110822 (ijm)\n// License : Copyright (C) 2011 Ashima Arts. All rights reserved.\n// Distributed under the MIT License. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289(vec3 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x) {\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nfloat snoise(vec3 v)\n {\n const vec2 C = vec2(1.0/6.0, 1.0/3.0) ;\n const vec4 D = vec4(0.0, 0.5, 1.0, 2.0);\n\n// First corner\n vec3 i = floor(v + dot(v, C.yyy) );\n vec3 x0 = v - i + dot(i, C.xxx) ;\n\n// Other corners\n vec3 g = step(x0.yzx, x0.xyz);\n vec3 l = 1.0 - g;\n vec3 i1 = min( g.xyz, l.zxy );\n vec3 i2 = max( g.xyz, l.zxy );\n\n // x0 = x0 - 0.0 + 0.0 * C.xxx;\n // x1 = x0 - i1 + 1.0 * C.xxx;\n // x2 = x0 - i2 + 2.0 * C.xxx;\n // x3 = x0 - 1.0 + 3.0 * C.xxx;\n vec3 x1 = x0 - i1 + C.xxx;\n vec3 x2 = x0 - i2 + C.yyy; // 2.0*C.x = 1/3 = C.y\n vec3 x3 = x0 - D.yyy; // -1.0+3.0*C.x = -0.5 = -D.y\n\n// Permutations\n i = mod289(i);\n vec4 p = permute( permute( permute(\n i.z + vec4(0.0, i1.z, i2.z, 1.0 ))\n + i.y + vec4(0.0, i1.y, i2.y, 1.0 ))\n + i.x + vec4(0.0, i1.x, i2.x, 1.0 ));\n\n// Gradients: 7x7 points over a square, mapped onto an octahedron.\n// The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294)\n float n_ = 0.142857142857; // 1.0/7.0\n vec3 ns = n_ * D.wyz - D.xzx;\n\n vec4 j = p - 49.0 * floor(p * ns.z * ns.z); // mod(p,7*7)\n\n vec4 x_ = floor(j * ns.z);\n vec4 y_ = floor(j - 7.0 * x_ ); // mod(j,N)\n\n vec4 x = x_ *ns.x + ns.yyyy;\n vec4 y = y_ *ns.x + ns.yyyy;\n vec4 h = 1.0 - abs(x) - abs(y);\n\n vec4 b0 = vec4( x.xy, y.xy );\n vec4 b1 = vec4( x.zw, y.zw );\n\n //vec4 s0 = vec4(lessThan(b0,0.0))*2.0 - 1.0;\n //vec4 s1 = vec4(lessThan(b1,0.0))*2.0 - 1.0;\n vec4 s0 = floor(b0)*2.0 + 1.0;\n vec4 s1 = floor(b1)*2.0 + 1.0;\n vec4 sh = -step(h, vec4(0.0));\n\n vec4 a0 = b0.xzyw + s0.xzyw*sh.xxyy ;\n vec4 a1 = b1.xzyw + s1.xzyw*sh.zzww ;\n\n vec3 p0 = vec3(a0.xy,h.x);\n vec3 p1 = vec3(a0.zw,h.y);\n vec3 p2 = vec3(a1.xy,h.z);\n vec3 p3 = vec3(a1.zw,h.w);\n\n//Normalise gradients\n vec4 norm = taylorInvSqrt(vec4(dot(p0,p0), dot(p1,p1), dot(p2, p2), dot(p3,p3)));\n p0 *= norm.x;\n p1 *= norm.y;\n p2 *= norm.z;\n p3 *= norm.w;\n\n// Mix final noise value\n vec4 m = max(0.6 - vec4(dot(x0,x0), dot(x1,x1), dot(x2,x2), dot(x3,x3)), 0.0);\n m = m * m;\n return 42.0 * dot( m*m, vec4( dot(p0,x0), dot(p1,x1),\n dot(p2,x2), dot(p3,x3) ) );\n }\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n float thisTime = mod(time + i / size * interval, interval);\n\n vec3 updatePosition = position + vec3(\n cos(thisTime * 3.0 + i) * 3.0,\n thisTime * -20.0,\n sin(thisTime * 3.0 + i) * 3.0\n );\n vec4 mvPosition = viewMatrix * modelMatrix * vec4(updatePosition, 1.0);\n\n vec3 hsv = vec3(colorH + sin(i) * 0.075, 0.8, 1.0);\n\n vColor = convertHsvToRgb(hsv);\n vOpacity = (\n smoothstep(interval * 0.0, interval * 0.1, thisTime)\n * (1.0 - smoothstep(interval * 0.2, interval * 0.9, thisTime))\n ) * opacity;\n\n gl_PointSize = 5000.0 / length(mvPosition.xyz);\n gl_Position = projectionMatrix * mvPosition;\n}\n"},86169:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nvarying vec2 vUv;\n\nvoid main() {\n vUv = uv;\n gl_Position = vec4(position, 1.0);\n}\n"},45014:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform float brightMin;\nuniform sampler2D texture1;\nuniform sampler2D texture2;\n\nvarying vec2 vUv;\n\nvoid main() {\n vec4 color1 = texture2D(texture1, vUv);\n vec4 color2 = texture2D(texture2, vUv);\n gl_FragColor = color1 * brightMin + color2;\n}\n"},60479:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform vec2 resolution;\nuniform vec2 direction;\nuniform float radius;\nuniform sampler2D texture;\n\nvarying vec2 vUv;\n\nvec4 gaussianBlur(sampler2D texture, vec2 uv, float radius, vec2 resolution, vec2 direction) {\n vec4 color = vec4(0.0);\n vec2 step = radius / resolution * direction;\n color += texture2D(texture, uv - 4.0 * step) * 0.02699548325659403;\n color += texture2D(texture, uv - 3.0 * step) * 0.06475879783294587;\n color += texture2D(texture, uv - 2.0 * step) * 0.12098536225957168;\n color += texture2D(texture, uv - 1.0 * step) * 0.17603266338214976;\n color += texture2D(texture, uv) * 0.19947114020071635;\n color += texture2D(texture, uv + 1.0 * step) * 0.17603266338214976;\n color += texture2D(texture, uv + 2.0 * step) * 0.12098536225957168;\n color += texture2D(texture, uv + 3.0 * step) * 0.06475879783294587;\n color += texture2D(texture, uv + 4.0 * step) * 0.02699548325659403;\n return color;\n}\n\nvoid main() {\n vec4 color = gaussianBlur(texture, vUv, radius, resolution, direction);\n gl_FragColor = color;\n}\n"},46045:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nuniform float brightMin;\nuniform sampler2D texture;\n\nvarying vec2 vUv;\n\nvoid main() {\n vec4 bright = max(vec4(0.0), (texture2D(texture, vUv) - brightMin));\n gl_FragColor = bright;\n}\n"},77855:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nvarying vec3 vColor;\n\nvoid main() {\n gl_FragColor = vec4(vColor, 1.0);\n}\n"},33491:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\nuniform float time;\nuniform float force;\n\nvarying vec3 vColor;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main(void) {\n // calculate gradation\n vec3 hsv = vec3(0.1 + sin(radians(uv.y * 180.0 * 4.0)) * 0.12 - time * 0.1, 0.12 + force * 0.03, 0.96 - force * 0.03);\n vec3 rgb = convertHsvToRgb(hsv);\n\n // coordinate transformation\n vec4 mvPosition = modelViewMatrix * vec4(position, 1.0);\n\n vColor = rgb;\n\n gl_Position = projectionMatrix * mvPosition;\n}\n"},90984:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nvarying vec3 vColor;\n\nvoid main() {\n // convert PointCoord to range from -1.0 to 1.0\n vec2 p = gl_PointCoord * 2.0 - 1.0;\n\n float r = 1.0 - smoothstep(0.5, 1.0, length(p));\n\n gl_FragColor = vec4(vColor, r);\n}\n"},6214:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\nuniform float time;\n\nvarying vec3 vColor;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nconst float duration = 3.0;\n\nvoid main() {\n // calculate colors\n vec3 hsv = vec3(0.45 + time * 0.1, 0.6, 1.0);\n vec3 rgb = convertHsvToRgb(hsv);\n\n // coordinate transformation\n vec4 mvPosition = modelViewMatrix * vec4(position, 1.0);\n\n vColor = rgb;\n\n gl_Position = projectionMatrix * mvPosition;\n gl_PointSize = 7.0;\n}\n"},86607:function(e,t){"use strict";t.Z='precision highp float;\n#define GLSLIFY 1\n\nuniform float time;\nuniform sampler2D texVideo;\nuniform float facing;\nuniform vec2 resolution;\nuniform float force;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\n\n//\n// GLSL textureless classic 3D noise "cnoise",\n// with an RSL-style periodic variant "pnoise".\n// Author: Stefan Gustavson (stefan.gustavson@liu.se)\n// Version: 2011-10-11\n//\n// Many thanks to Ian McEwan of Ashima Arts for the\n// ideas for permutation and gradient selection.\n//\n// Copyright (c) 2011 Stefan Gustavson. All rights reserved.\n// Distributed under the MIT license. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289(vec3 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289(vec4 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute(vec4 x)\n{\n return mod289(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nvec3 fade(vec3 t) {\n return t*t*t*(t*(t*6.0-15.0)+10.0);\n}\n\n// Classic Perlin noise\nfloat cnoise(vec3 P)\n{\n vec3 Pi0 = floor(P); // Integer part for indexing\n vec3 Pi1 = Pi0 + vec3(1.0); // Integer part + 1\n Pi0 = mod289(Pi0);\n Pi1 = mod289(Pi1);\n vec3 Pf0 = fract(P); // Fractional part for interpolation\n vec3 Pf1 = Pf0 - vec3(1.0); // Fractional part - 1.0\n vec4 ix = vec4(Pi0.x, Pi1.x, Pi0.x, Pi1.x);\n vec4 iy = vec4(Pi0.yy, Pi1.yy);\n vec4 iz0 = Pi0.zzzz;\n vec4 iz1 = Pi1.zzzz;\n\n vec4 ixy = permute(permute(ix) + iy);\n vec4 ixy0 = permute(ixy + iz0);\n vec4 ixy1 = permute(ixy + iz1);\n\n vec4 gx0 = ixy0 * (1.0 / 7.0);\n vec4 gy0 = fract(floor(gx0) * (1.0 / 7.0)) - 0.5;\n gx0 = fract(gx0);\n vec4 gz0 = vec4(0.5) - abs(gx0) - abs(gy0);\n vec4 sz0 = step(gz0, vec4(0.0));\n gx0 -= sz0 * (step(0.0, gx0) - 0.5);\n gy0 -= sz0 * (step(0.0, gy0) - 0.5);\n\n vec4 gx1 = ixy1 * (1.0 / 7.0);\n vec4 gy1 = fract(floor(gx1) * (1.0 / 7.0)) - 0.5;\n gx1 = fract(gx1);\n vec4 gz1 = vec4(0.5) - abs(gx1) - abs(gy1);\n vec4 sz1 = step(gz1, vec4(0.0));\n gx1 -= sz1 * (step(0.0, gx1) - 0.5);\n gy1 -= sz1 * (step(0.0, gy1) - 0.5);\n\n vec3 g000 = vec3(gx0.x,gy0.x,gz0.x);\n vec3 g100 = vec3(gx0.y,gy0.y,gz0.y);\n vec3 g010 = vec3(gx0.z,gy0.z,gz0.z);\n vec3 g110 = vec3(gx0.w,gy0.w,gz0.w);\n vec3 g001 = vec3(gx1.x,gy1.x,gz1.x);\n vec3 g101 = vec3(gx1.y,gy1.y,gz1.y);\n vec3 g011 = vec3(gx1.z,gy1.z,gz1.z);\n vec3 g111 = vec3(gx1.w,gy1.w,gz1.w);\n\n vec4 norm0 = taylorInvSqrt(vec4(dot(g000, g000), dot(g010, g010), dot(g100, g100), dot(g110, g110)));\n g000 *= norm0.x;\n g010 *= norm0.y;\n g100 *= norm0.z;\n g110 *= norm0.w;\n vec4 norm1 = taylorInvSqrt(vec4(dot(g001, g001), dot(g011, g011), dot(g101, g101), dot(g111, g111)));\n g001 *= norm1.x;\n g011 *= norm1.y;\n g101 *= norm1.z;\n g111 *= norm1.w;\n\n float n000 = dot(g000, Pf0);\n float n100 = dot(g100, vec3(Pf1.x, Pf0.yz));\n float n010 = dot(g010, vec3(Pf0.x, Pf1.y, Pf0.z));\n float n110 = dot(g110, vec3(Pf1.xy, Pf0.z));\n float n001 = dot(g001, vec3(Pf0.xy, Pf1.z));\n float n101 = dot(g101, vec3(Pf1.x, Pf0.y, Pf1.z));\n float n011 = dot(g011, vec3(Pf0.x, Pf1.yz));\n float n111 = dot(g111, Pf1);\n\n vec3 fade_xyz = fade(Pf0);\n vec4 n_z = mix(vec4(n000, n100, n010, n110), vec4(n001, n101, n011, n111), fade_xyz.z);\n vec2 n_yz = mix(n_z.xy, n_z.zw, fade_xyz.y);\n float n_xyz = mix(n_yz.x, n_yz.y, fade_xyz.x);\n return 2.2 * n_xyz;\n}\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvoid main() {\n vec2 p = (vUv * 2.0 - 1.0);\n float grad = 1.0 - smoothstep(0.5, 1.0, length(p));\n float noise1 = cnoise(vec3(p * (1.4 + force * 0.5), time * 0.4)) * (0.15 + smoothstep(0.5, 0.75, length(p)) * (1.0 - smoothstep(0.75, 1.0, length(p))));\n float noise2 = cnoise(vec3(p * (5.4 + force * 0.3), time * 0.4)) * (0.15 + smoothstep(0.3, 0.4, length(p)) * (1.0 - smoothstep(0.9, 1.0, length(p))));\n float noiseSum = (noise1 + noise2) / 2.0;\n\n vec2 adjustUv = vec2(\n min(resolution.y / resolution.x, 1.0) * (1.0 + force * 0.03),\n min(resolution.x / resolution.y, 1.0) * (1.0 + force * 0.03)\n );\n vec2 updateUv = vec2(\n abs(vUv.x - facing) * adjustUv.x + (1.0 - adjustUv.x) * 0.5,\n vUv.y * adjustUv.y + (1.0 - adjustUv.y) * 0.5\n );\n vec4 texColor1 = texture2D(texVideo, updateUv - vec2(noise1 * noise2 - abs(p.x) / 50.0));\n vec4 texColor2 = texture2D(texVideo, updateUv - vec2(noise1 * noise2));\n vec4 texColor3 = texture2D(texVideo, updateUv - vec2(noise1 * noise2 + abs(p.x) / 50.0));\n vec3 texColorSum = vec3(texColor1.r, texColor2.g, texColor3.b);\n\n vec3 addColor = convertHsvToRgb(vec3((grad + noiseSum + updateUv.x * 0.5) / 2.0 + time * 0.1, 0.8, 0.6));\n\n float mask1 = smoothstep(0.19, 0.2, grad + noiseSum);\n vec4 color1 = vec4(texColorSum * vec3(1.2) + addColor * 0.24, 1.0) * mask1;\n\n float mask2 = smoothstep(0.15, 0.16, grad + noiseSum) * (1.0 - smoothstep(0.7, 0.71, grad + noiseSum));\n vec4 color2 = vec4(texColorSum * 0.1 + addColor * 0.7, 1.0) * mask2;\n\n gl_FragColor = color1 + color2;\n}\n'},3943:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\n\nvarying vec3 vPosition;\nvarying vec2 vUv;\n\nvoid main(void) {\n // coordinate transformation\n vec4 mvPosition = modelViewMatrix * vec4(position, 1.0);\n\n vPosition = position;\n vUv = uv;\n\n gl_Position = projectionMatrix * mvPosition;\n}\n"},99907:function(e,t){"use strict";t.Z="precision highp float;\n#define GLSLIFY 1\n\nvarying vec3 vColor;\nvarying float vOpacity;\n\nvoid main() {\n // convert PointCoord to range from -1.0 to 1.0\n vec2 p = gl_PointCoord * 2.0 - 1.0;\n\n // draw double circle\n float radius = length(p);\n float opacity = (1.0 - smoothstep(0.9, 1.0, radius)) * vOpacity;\n\n gl_FragColor = vec4(vColor, opacity);\n}\n"},60121:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute float delay;\n\nuniform mat4 projectionMatrix;\nuniform mat4 modelViewMatrix;\nuniform float time;\nuniform float force;\n\nvarying vec3 vColor;\nvarying float vOpacity;\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nconst float duration = 8.0;\n\nvoid main() {\n // Loop animation\n float interval = mod(time + delay, duration) / duration;\n vec3 move = vec3(0.0, 0.0, (interval * 2.0 - 1.0) * 100.0);\n\n // calculate gradation with position.y\n vec3 hsv = vec3(0.3 + time * 0.1, 0.65 - force * 0.01, 0.85 + force * 0.01);\n vec3 rgb = convertHsvToRgb(hsv);\n\n // coordinate transformation\n vec4 mvPosition = modelViewMatrix * vec4(position + move, 1.0);\n float distanceFromCamera = 1000.0 / length(mvPosition.xyz);\n\n vColor = rgb;\n vOpacity = smoothstep(-100.0, 100.0, move.z);\n\n gl_Position = projectionMatrix * mvPosition;\n gl_PointSize = distanceFromCamera;\n}\n"},19326:function(e,t){"use strict";t.Z="#extension GL_OES_standard_derivatives : enable\nprecision highp float;\n#define GLSLIFY 1\n\nvarying vec3 vPosition;\nvarying vec3 vColor;\nvarying float vOpacity;\n\nvoid main() {\n // Flat Shading\n vec3 light = normalize(vec3(0.0, 1.0, 0.5));\n vec3 normal = normalize(cross(dFdx(vPosition), dFdy(vPosition)));\n float diff = (dot(normal, light) + 1.0) / 2.0;\n\n vec3 color = vColor + diff * 0.1;\n\n gl_FragColor = vec4(color, vOpacity);\n}\n"},15337:function(e,t){"use strict";t.Z="#define GLSLIFY 1\nattribute vec3 position;\nattribute vec2 uv;\nattribute vec3 iPosition;\nattribute float iDelay;\n\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat4 modelMatrix;\nuniform float time;\nuniform float force;\n\nvarying vec3 vPosition;\nvarying vec3 vColor;\nvarying float vOpacity;\n\nmat4 calcTranslateMat4(vec3 v) {\n return mat4(\n 1.0, 0.0, 0.0, 0.0,\n 0.0, 1.0, 0.0, 0.0,\n 0.0, 0.0, 1.0, 0.0,\n v.x, v.y, v.z, 1.0\n );\n}\n\nvec3 convertHsvToRgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nconst float duration = 8.0;\n\nvoid main(void) {\n // Loop animation\n float interval = mod(time + iDelay, duration) / duration;\n vec3 move = vec3(0.0, 0.0, (interval * 2.0 - 1.0) * 100.0);\n\n // calculate gradation with position.y\n vec3 hsv = vec3(0.3 + time * 0.1, 0.3 - force * 0.01, 0.85 + force * 0.01);\n vec3 rgb = convertHsvToRgb(hsv);\n\n // coordinate transformation\n mat4 translateMat = calcTranslateMat4(iPosition);\n vec4 mPosition = modelMatrix * translateMat * vec4(position + move, 1.0);\n vec4 mvPosition = viewMatrix * mPosition;\n\n vPosition = mPosition.xyz;\n vColor = rgb;\n vOpacity = smoothstep(-100.0, 0.0, move.z);\n\n gl_Position = projectionMatrix * mvPosition;\n}\n"},17393:function(e){e.exports={degrees:function(e){return e/Math.PI*180},radians:function(e){return e*Math.PI/180},clamp:function(e,t,n){return Math.min(Math.max(e,t),n)},mix:function(e,t,n){return e*(1-n)+t*n},step:function(e,t){return t>=e?1:0},smoothstep:function(e,t,n){if(!(e>=t)){var r=Math.min(Math.max((n-e)/(t-e),0),1);return r*r*(3-2*r)}},spherical:function(e,t,n){return[Math.cos(e)*Math.cos(t)*n,Math.sin(e)*n,Math.cos(e)*Math.sin(t)*n]},randomArbitrary:function(e,t){return Math.random()*(t-e)+e},randomInt:function(e,t){return Math.floor(Math.random()*(t-e+1))+e}}},38314:function(e){e.exports=function(e,t){var n;return function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)}}},71243:function(e){e.exports=function(){return navigator.userAgent.indexOf("Android")>=0}},5833:function(e){e.exports=function(){var e=navigator.userAgent;return e.indexOf("MSIE")>-1||e.indexOf("rv:11.0")>-1}},4679:function(e){e.exports=function(){var e=navigator.userAgent;return e.indexOf("iPhone")>=0||e.indexOf("iPod")>=0||e.indexOf("iPad")>=0}},29130:function(e){e.exports=function(e){return new Promise((function(t){setTimeout(t,e)}))}},35666:function(e){var t=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof m?t:m,o=Object.create(i.prototype),a=new E(r||[]);return o._invoke=function(e,t,n){var r=f;return function(i,o){if(r===v)throw new Error("Generator is already running");if(r===d){if("throw"===i)throw o;return L()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=P(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=v;var c=l(e,t,n);if("normal"===c.type){if(r=n.done?d:h,c.arg===p)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=d,n.method="throw",n.arg=c.arg)}}}(e,n,a),o}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var f="suspendedStart",h="suspendedYield",v="executing",d="completed",p={};function m(){}function y(){}function g(){}var x={};x[o]=function(){return this};var b=Object.getPrototypeOf,w=b&&b(b(z([])));w&&w!==n&&r.call(w,o)&&(x=w);var M=g.prototype=m.prototype=Object.create(x);function _(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function n(i,o,a,s){var c=l(e[i],e,o);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var i;this._invoke=function(e,r){function o(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(o,o):o()}}function P(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,P(e,n),"throw"===n.method))return p;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var i=l(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,p;var o=i.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,p):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,p)}function T(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 R(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function z(e){if(e){var n=e[o];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function n(){for(;++i<e.length;)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:L}}function L(){return{value:t,done:!0}}return y.prototype=M.constructor=g,g.constructor=y,y.displayName=c(g,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,c(e,s,"GeneratorFunction")),e.prototype=Object.create(M),e},e.awrap=function(e){return{__await:e}},_(S.prototype),S.prototype[a]=function(){return this},e.AsyncIterator=S,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new S(u(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},_(M),c(M,s,"Generator"),M[o]=function(){return this},M.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=z,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(R),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(r,i){return s.type="throw",s.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.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&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(a)},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),p},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),R(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;R(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:z(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),p}},e}(e.exports);try{regeneratorRuntime=t}catch(e){Function("r","regeneratorRuntime = r")(t)}},2212:function(e,t,n){"use strict";n.r(t),n.d(t,{ACESFilmicToneMapping:function(){return ne},AddEquation:function(){return P},AddOperation:function(){return Q},AdditiveAnimationBlendMode:function(){return Zt},AdditiveBlending:function(){return w},AlphaFormat:function(){return ke},AlwaysDepth:function(){return N},AlwaysStencilFunc:function(){return Sn},AmbientLight:function(){return Af},AmbientLightProbe:function(){return eh},AnimationClip:function(){return Al},AnimationLoader:function(){return Bl},AnimationMixer:function(){return Ch},AnimationObjectGroup:function(){return zh},AnimationUtils:function(){return xl},ArcCurve:function(){return Yl},ArrayCamera:function(){return qs},ArrowHelper:function(){return wv},Audio:function(){return fh},AudioAnalyser:function(){return yh},AudioContext:function(){return Qf},AudioListener:function(){return lh},AudioLoader:function(){return Jf},AxesHelper:function(){return Mv},AxisHelper:function(){return xd},BackSide:function(){return p},BasicDepthPacking:function(){return on},BasicShadowMap:function(){return l},BinaryTextureLoader:function(){return Sd},Bone:function(){return Ac},BooleanKeyframeTrack:function(){return Pl},BoundingBoxHelper:function(){return bd},Box2:function(){return Gh},Box3:function(){return ur},Box3Helper:function(){return mv},BoxBufferGeometry:function(){return So},BoxGeometry:function(){return So},BoxHelper:function(){return pv},BufferAttribute:function(){return ki},BufferGeometry:function(){return ro},BufferGeometryLoader:function(){return Bf},ByteType:function(){return Pe},Cache:function(){return Dl},Camera:function(){return zo},CameraHelper:function(){return hv},CanvasRenderer:function(){return Td},CanvasTexture:function(){return su},CatmullRomCurve3:function(){return ef},CineonToneMapping:function(){return te},CircleBufferGeometry:function(){return uu},CircleGeometry:function(){return uu},ClampToEdgeWrapping:function(){return he},Clock:function(){return ih},Color:function(){return Ai},ColorKeyframeTrack:function(){return Tl},CompressedTexture:function(){return au},CompressedTextureLoader:function(){return Gl},ConeBufferGeometry:function(){return fu},ConeGeometry:function(){return fu},CubeCamera:function(){return Ao},CubeReflectionMapping:function(){return oe},CubeRefractionMapping:function(){return ae},CubeTexture:function(){return Oo},CubeTextureLoader:function(){return Hl},CubeUVReflectionMapping:function(){return ue},CubeUVRefractionMapping:function(){return le},CubicBezierCurve:function(){return of},CubicBezierCurve3:function(){return af},CubicInterpolant:function(){return wl},CullFaceBack:function(){return s},CullFaceFront:function(){return c},CullFaceFrontBack:function(){return u},CullFaceNone:function(){return a},Curve:function(){return Zl},CurvePath:function(){return vf},CustomBlending:function(){return S},CustomToneMapping:function(){return re},CylinderBufferGeometry:function(){return lu},CylinderGeometry:function(){return lu},Cylindrical:function(){return Uh},DataTexture:function(){return Io},DataTexture2DArray:function(){return oa},DataTexture3D:function(){return aa},DataTextureLoader:function(){return Vl},DataUtils:function(){return Pv},DecrementStencilOp:function(){return vn},DecrementWrapStencilOp:function(){return pn},DefaultLoadingManager:function(){return kl},DepthFormat:function(){return Ne},DepthStencilFormat:function(){return He},DepthTexture:function(){return cu},DirectionalLight:function(){return Cf},DirectionalLightHelper:function(){return uv},DiscreteInterpolant:function(){return _l},DodecahedronBufferGeometry:function(){return vu},DodecahedronGeometry:function(){return vu},DoubleSide:function(){return m},DstAlphaFactor:function(){return k},DstColorFactor:function(){return j},DynamicBufferAttribute:function(){return ud},DynamicCopyUsage:function(){return An},DynamicDrawUsage:function(){return Tn},DynamicReadUsage:function(){return zn},EdgesGeometry:function(){return gu},EdgesHelper:function(){return wd},EllipseCurve:function(){return ql},EqualDepth:function(){return W},EqualStencilFunc:function(){return xn},EquirectangularReflectionMapping:function(){return se},EquirectangularRefractionMapping:function(){return ce},Euler:function(){return qr},EventDispatcher:function(){return kn},ExtrudeBufferGeometry:function(){return Zu},ExtrudeGeometry:function(){return Zu},FaceColors:function(){return Jv},FileLoader:function(){return Ul},FlatShading:function(){return y},Float16BufferAttribute:function(){return Vi},Float32Attribute:function(){return yd},Float32BufferAttribute:function(){return Wi},Float64Attribute:function(){return gd},Float64BufferAttribute:function(){return Zi},FloatType:function(){return Le},Fog:function(){return nc},FogExp2:function(){return tc},Font:function(){return qf},FontLoader:function(){return Xf},FrontSide:function(){return d},Frustum:function(){return jo},GLBufferAttribute:function(){return Dh},GLSL1:function(){return Dn},GLSL3:function(){return In},GammaEncoding:function(){return Jt},GreaterDepth:function(){return q},GreaterEqualDepth:function(){return Z},GreaterEqualStencilFunc:function(){return _n},GreaterStencilFunc:function(){return wn},GridHelper:function(){return iv},Group:function(){return Ys},HalfFloatType:function(){return Ce},HemisphereLight:function(){return yf},HemisphereLightHelper:function(){return rv},HemisphereLightProbe:function(){return $f},IcosahedronBufferGeometry:function(){return Yu},IcosahedronGeometry:function(){return Yu},ImageBitmapLoader:function(){return Wf},ImageLoader:function(){return Nl},ImageUtils:function(){return Jn},ImmediateRenderObject:function(){return Wh},IncrementStencilOp:function(){return hn},IncrementWrapStencilOp:function(){return dn},InstancedBufferAttribute:function(){return Uf},InstancedBufferGeometry:function(){return jf},InstancedInterleavedBuffer:function(){return Oh},InstancedMesh:function(){return Bc},Int16Attribute:function(){return vd},Int16BufferAttribute:function(){return Bi},Int32Attribute:function(){return pd},Int32BufferAttribute:function(){return Ni},Int8Attribute:function(){return ld},Int8BufferAttribute:function(){return Fi},IntType:function(){return Ee},InterleavedBuffer:function(){return ic},InterleavedBufferAttribute:function(){return ac},Interpolant:function(){return bl},InterpolateDiscrete:function(){return Ut},InterpolateLinear:function(){return Bt},InterpolateSmooth:function(){return Gt},InvertStencilOp:function(){return mn},JSONLoader:function(){return Rd},KeepStencilOp:function(){return ln},KeyframeTrack:function(){return Sl},LOD:function(){return Pc},LatheBufferGeometry:function(){return Xu},LatheGeometry:function(){return Xu},Layers:function(){return Yr},LensFlare:function(){return zd},LessDepth:function(){return H},LessEqualDepth:function(){return V},LessEqualStencilFunc:function(){return bn},LessStencilFunc:function(){return gn},Light:function(){return mf},LightProbe:function(){return If},Line:function(){return qc},Line3:function(){return Vh},LineBasicMaterial:function(){return Gc},LineCurve:function(){return sf},LineCurve3:function(){return cf},LineDashedMaterial:function(){return yl},LineLoop:function(){return Qc},LinePieces:function(){return Kv},LineSegments:function(){return Kc},LineStrip:function(){return Xv},LinearEncoding:function(){return Kt},LinearFilter:function(){return xe},LinearInterpolant:function(){return Ml},LinearMipMapLinearFilter:function(){return _e},LinearMipMapNearestFilter:function(){return we},LinearMipmapLinearFilter:function(){return Me},LinearMipmapNearestFilter:function(){return be},LinearToneMapping:function(){return $},Loader:function(){return Fl},LoaderUtils:function(){return Ff},LoadingManager:function(){return Il},LogLuvEncoding:function(){return en},LoopOnce:function(){return kt},LoopPingPong:function(){return jt},LoopRepeat:function(){return Ft},LuminanceAlphaFormat:function(){return Be},LuminanceFormat:function(){return Ue},MOUSE:function(){return i},Material:function(){return Pi},MaterialLoader:function(){return kf},Math:function(){return Yn},MathUtils:function(){return Yn},Matrix3:function(){return Kn},Matrix4:function(){return Fr},MaxEquation:function(){return z},Mesh:function(){return Mo},MeshBasicMaterial:function(){return Oi},MeshDepthMaterial:function(){return Gs},MeshDistanceMaterial:function(){return Ns},MeshFaceMaterial:function(){return ed},MeshLambertMaterial:function(){return pl},MeshMatcapMaterial:function(){return ml},MeshNormalMaterial:function(){return dl},MeshPhongMaterial:function(){return hl},MeshPhysicalMaterial:function(){return fl},MeshStandardMaterial:function(){return ll},MeshToonMaterial:function(){return vl},MinEquation:function(){return E},MirroredRepeatWrapping:function(){return ve},MixOperation:function(){return K},MultiMaterial:function(){return td},MultiplyBlending:function(){return _},MultiplyOperation:function(){return X},NearestFilter:function(){return de},NearestMipMapLinearFilter:function(){return ge},NearestMipMapNearestFilter:function(){return me},NearestMipmapLinearFilter:function(){return ye},NearestMipmapNearestFilter:function(){return pe},NeverDepth:function(){return G},NeverStencilFunc:function(){return yn},NoBlending:function(){return x},NoColors:function(){return Qv},NoToneMapping:function(){return J},NormalAnimationBlendMode:function(){return Wt},NormalBlending:function(){return b},NotEqualDepth:function(){return Y},NotEqualStencilFunc:function(){return Mn},NumberKeyframeTrack:function(){return Rl},Object3D:function(){return ci},ObjectLoader:function(){return Gf},ObjectSpaceNormalMap:function(){return cn},OctahedronBufferGeometry:function(){return Ku},OctahedronGeometry:function(){return Ku},OneFactor:function(){return C},OneMinusDstAlphaFactor:function(){return F},OneMinusDstColorFactor:function(){return U},OneMinusSrcAlphaFactor:function(){return I},OneMinusSrcColorFactor:function(){return O},OrthographicCamera:function(){return zf},PCFShadowMap:function(){return f},PCFSoftShadowMap:function(){return h},PMREMGenerator:function(){return Nv},ParametricBufferGeometry:function(){return Qu},ParametricGeometry:function(){return Qu},Particle:function(){return rd},ParticleBasicMaterial:function(){return ad},ParticleSystem:function(){return id},ParticleSystemMaterial:function(){return sd},Path:function(){return df},PerspectiveCamera:function(){return Lo},Plane:function(){return hi},PlaneBufferGeometry:function(){return Go},PlaneGeometry:function(){return Go},PlaneHelper:function(){return yv},PointCloud:function(){return nd},PointCloudMaterial:function(){return od},PointLight:function(){return Ef},PointLightHelper:function(){return $h},Points:function(){return ru},PointsMaterial:function(){return Jc},PolarGridHelper:function(){return ov},PolyhedronBufferGeometry:function(){return hu},PolyhedronGeometry:function(){return hu},PositionalAudio:function(){return mh},PropertyBinding:function(){return Eh},PropertyMixer:function(){return gh},QuadraticBezierCurve:function(){return uf},QuadraticBezierCurve3:function(){return lf},Quaternion:function(){return or},QuaternionKeyframeTrack:function(){return zl},QuaternionLinearInterpolant:function(){return El},REVISION:function(){return r},RGBADepthPacking:function(){return an},RGBAFormat:function(){return je},RGBAIntegerFormat:function(){return Xe},RGBA_ASTC_10x10_Format:function(){return gt},RGBA_ASTC_10x5_Format:function(){return pt},RGBA_ASTC_10x6_Format:function(){return mt},RGBA_ASTC_10x8_Format:function(){return yt},RGBA_ASTC_12x10_Format:function(){return xt},RGBA_ASTC_12x12_Format:function(){return bt},RGBA_ASTC_4x4_Format:function(){return st},RGBA_ASTC_5x4_Format:function(){return ct},RGBA_ASTC_5x5_Format:function(){return ut},RGBA_ASTC_6x5_Format:function(){return lt},RGBA_ASTC_6x6_Format:function(){return ft},RGBA_ASTC_8x5_Format:function(){return ht},RGBA_ASTC_8x6_Format:function(){return vt},RGBA_ASTC_8x8_Format:function(){return dt},RGBA_BPTC_Format:function(){return wt},RGBA_ETC2_EAC_Format:function(){return at},RGBA_PVRTC_2BPPV1_Format:function(){return rt},RGBA_PVRTC_4BPPV1_Format:function(){return nt},RGBA_S3TC_DXT1_Format:function(){return Qe},RGBA_S3TC_DXT3_Format:function(){return Je},RGBA_S3TC_DXT5_Format:function(){return $e},RGBDEncoding:function(){return rn},RGBEEncoding:function(){return $t},RGBEFormat:function(){return Ge},RGBFormat:function(){return Fe},RGBIntegerFormat:function(){return Ye},RGBM16Encoding:function(){return nn},RGBM7Encoding:function(){return tn},RGB_ETC1_Format:function(){return it},RGB_ETC2_Format:function(){return ot},RGB_PVRTC_2BPPV1_Format:function(){return tt},RGB_PVRTC_4BPPV1_Format:function(){return et},RGB_S3TC_DXT1_Format:function(){return Ke},RGFormat:function(){return Ze},RGIntegerFormat:function(){return qe},RawShaderMaterial:function(){return ul},Ray:function(){return kr},Raycaster:function(){return Ih},RectAreaLight:function(){return Of},RedFormat:function(){return Ve},RedIntegerFormat:function(){return We},ReinhardToneMapping:function(){return ee},RepeatWrapping:function(){return fe},ReplaceStencilOp:function(){return fn},ReverseSubtractEquation:function(){return R},RingBufferGeometry:function(){return Ju},RingGeometry:function(){return Ju},SRGB8_ALPHA8_ASTC_10x10_Format:function(){return Ot},SRGB8_ALPHA8_ASTC_10x5_Format:function(){return Lt},SRGB8_ALPHA8_ASTC_10x6_Format:function(){return Ct},SRGB8_ALPHA8_ASTC_10x8_Format:function(){return At},SRGB8_ALPHA8_ASTC_12x10_Format:function(){return Dt},SRGB8_ALPHA8_ASTC_12x12_Format:function(){return It},SRGB8_ALPHA8_ASTC_4x4_Format:function(){return Mt},SRGB8_ALPHA8_ASTC_5x4_Format:function(){return _t},SRGB8_ALPHA8_ASTC_5x5_Format:function(){return St},SRGB8_ALPHA8_ASTC_6x5_Format:function(){return Pt},SRGB8_ALPHA8_ASTC_6x6_Format:function(){return Tt},SRGB8_ALPHA8_ASTC_8x5_Format:function(){return Rt},SRGB8_ALPHA8_ASTC_8x6_Format:function(){return Et},SRGB8_ALPHA8_ASTC_8x8_Format:function(){return zt},Scene:function(){return rc},SceneUtils:function(){return Ed},ShaderChunk:function(){return No},ShaderLib:function(){return Vo},ShaderMaterial:function(){return Eo},ShadowMaterial:function(){return cl},Shape:function(){return pf},ShapeBufferGeometry:function(){return $u},ShapeGeometry:function(){return $u},ShapePath:function(){return Zf},ShapeUtils:function(){return Hu},ShortType:function(){return Te},Skeleton:function(){return Ic},SkeletonHelper:function(){return Qh},SkinnedMesh:function(){return Cc},SmoothShading:function(){return g},Sphere:function(){return Er},SphereBufferGeometry:function(){return el},SphereGeometry:function(){return el},Spherical:function(){return jh},SphericalHarmonics3:function(){return Df},SplineCurve:function(){return ff},SpotLight:function(){return _f},SpotLightHelper:function(){return qh},Sprite:function(){return wc},SpriteMaterial:function(){return sc},SrcAlphaFactor:function(){return D},SrcAlphaSaturateFactor:function(){return B},SrcColorFactor:function(){return A},StaticCopyUsage:function(){return Cn},StaticDrawUsage:function(){return Pn},StaticReadUsage:function(){return En},StereoCamera:function(){return rh},StreamCopyUsage:function(){return On},StreamDrawUsage:function(){return Rn},StreamReadUsage:function(){return Ln},StringKeyframeTrack:function(){return Ll},SubtractEquation:function(){return T},SubtractiveBlending:function(){return M},TOUCH:function(){return o},TangentSpaceNormalMap:function(){return sn},TetrahedronBufferGeometry:function(){return tl},TetrahedronGeometry:function(){return tl},TextBufferGeometry:function(){return nl},TextGeometry:function(){return nl},Texture:function(){return er},TextureLoader:function(){return Wl},TorusBufferGeometry:function(){return rl},TorusGeometry:function(){return rl},TorusKnotBufferGeometry:function(){return il},TorusKnotGeometry:function(){return il},Triangle:function(){return _i},TriangleFanDrawMode:function(){return Xt},TriangleStripDrawMode:function(){return Yt},TrianglesDrawMode:function(){return qt},TubeBufferGeometry:function(){return ol},TubeGeometry:function(){return ol},UVMapping:function(){return ie},Uint16Attribute:function(){return dd},Uint16BufferAttribute:function(){return Gi},Uint32Attribute:function(){return md},Uint32BufferAttribute:function(){return Hi},Uint8Attribute:function(){return fd},Uint8BufferAttribute:function(){return ji},Uint8ClampedAttribute:function(){return hd},Uint8ClampedBufferAttribute:function(){return Ui},Uniform:function(){return Ah},UniformsLib:function(){return Ho},UniformsUtils:function(){return Ro},UnsignedByteType:function(){return Se},UnsignedInt248Type:function(){return Ie},UnsignedIntType:function(){return ze},UnsignedShort4444Type:function(){return Ae},UnsignedShort5551Type:function(){return Oe},UnsignedShort565Type:function(){return De},UnsignedShortType:function(){return Re},VSMShadowMap:function(){return v},Vector2:function(){return Xn},Vector3:function(){return ar},Vector4:function(){return nr},VectorKeyframeTrack:function(){return Cl},Vertex:function(){return cd},VertexColors:function(){return $v},VideoTexture:function(){return ou},WebGL1Renderer:function(){return ec},WebGLCubeRenderTarget:function(){return Do},WebGLMultisampleRenderTarget:function(){return ir},WebGLRenderTarget:function(){return rr},WebGLRenderTargetCube:function(){return Pd},WebGLRenderer:function(){return $s},WebGLUtils:function(){return Zs},WireframeGeometry:function(){return al},WireframeHelper:function(){return Md},WrapAroundEnding:function(){return Vt},XHRLoader:function(){return _d},ZeroCurvatureEnding:function(){return Nt},ZeroFactor:function(){return L},ZeroSlopeEnding:function(){return Ht},ZeroStencilOp:function(){return un},sRGBEncoding:function(){return Qt}});const r="128",i={LEFT:0,MIDDLE:1,RIGHT:2,ROTATE:0,DOLLY:1,PAN:2},o={ROTATE:0,PAN:1,DOLLY_PAN:2,DOLLY_ROTATE:3},a=0,s=1,c=2,u=3,l=0,f=1,h=2,v=3,d=0,p=1,m=2,y=1,g=2,x=0,b=1,w=2,M=3,_=4,S=5,P=100,T=101,R=102,E=103,z=104,L=200,C=201,A=202,O=203,D=204,I=205,k=206,F=207,j=208,U=209,B=210,G=0,N=1,H=2,V=3,W=4,Z=5,q=6,Y=7,X=0,K=1,Q=2,J=0,$=1,ee=2,te=3,ne=4,re=5,ie=300,oe=301,ae=302,se=303,ce=304,ue=306,le=307,fe=1e3,he=1001,ve=1002,de=1003,pe=1004,me=1004,ye=1005,ge=1005,xe=1006,be=1007,we=1007,Me=1008,_e=1008,Se=1009,Pe=1010,Te=1011,Re=1012,Ee=1013,ze=1014,Le=1015,Ce=1016,Ae=1017,Oe=1018,De=1019,Ie=1020,ke=1021,Fe=1022,je=1023,Ue=1024,Be=1025,Ge=je,Ne=1026,He=1027,Ve=1028,We=1029,Ze=1030,qe=1031,Ye=1032,Xe=1033,Ke=33776,Qe=33777,Je=33778,$e=33779,et=35840,tt=35841,nt=35842,rt=35843,it=36196,ot=37492,at=37496,st=37808,ct=37809,ut=37810,lt=37811,ft=37812,ht=37813,vt=37814,dt=37815,pt=37816,mt=37817,yt=37818,gt=37819,xt=37820,bt=37821,wt=36492,Mt=37840,_t=37841,St=37842,Pt=37843,Tt=37844,Rt=37845,Et=37846,zt=37847,Lt=37848,Ct=37849,At=37850,Ot=37851,Dt=37852,It=37853,kt=2200,Ft=2201,jt=2202,Ut=2300,Bt=2301,Gt=2302,Nt=2400,Ht=2401,Vt=2402,Wt=2500,Zt=2501,qt=0,Yt=1,Xt=2,Kt=3e3,Qt=3001,Jt=3007,$t=3002,en=3003,tn=3004,nn=3005,rn=3006,on=3200,an=3201,sn=0,cn=1,un=0,ln=7680,fn=7681,hn=7682,vn=7683,dn=34055,pn=34056,mn=5386,yn=512,gn=513,xn=514,bn=515,wn=516,Mn=517,_n=518,Sn=519,Pn=35044,Tn=35048,Rn=35040,En=35045,zn=35049,Ln=35041,Cn=35046,An=35050,On=35042,Dn="100",In="300 es";class kn{addEventListener(e,t){void 0===this._listeners&&(this._listeners={});const n=this._listeners;void 0===n[e]&&(n[e]=[]),-1===n[e].indexOf(t)&&n[e].push(t)}hasEventListener(e,t){if(void 0===this._listeners)return!1;const n=this._listeners;return void 0!==n[e]&&-1!==n[e].indexOf(t)}removeEventListener(e,t){if(void 0===this._listeners)return;const n=this._listeners[e];if(void 0!==n){const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}dispatchEvent(e){if(void 0===this._listeners)return;const t=this._listeners[e.type];if(void 0!==t){e.target=this;const n=t.slice(0);for(let t=0,r=n.length;t<r;t++)n[t].call(this,e);e.target=null}}}const Fn=[];for(let e=0;e<256;e++)Fn[e]=(e<16?"0":"")+e.toString(16);let jn=1234567;const Un=Math.PI/180,Bn=180/Math.PI;function Gn(){const e=4294967295*Math.random()|0,t=4294967295*Math.random()|0,n=4294967295*Math.random()|0,r=4294967295*Math.random()|0;return(Fn[255&e]+Fn[e>>8&255]+Fn[e>>16&255]+Fn[e>>24&255]+"-"+Fn[255&t]+Fn[t>>8&255]+"-"+Fn[t>>16&15|64]+Fn[t>>24&255]+"-"+Fn[63&n|128]+Fn[n>>8&255]+"-"+Fn[n>>16&255]+Fn[n>>24&255]+Fn[255&r]+Fn[r>>8&255]+Fn[r>>16&255]+Fn[r>>24&255]).toUpperCase()}function Nn(e,t,n){return Math.max(t,Math.min(n,e))}function Hn(e,t){return(e%t+t)%t}function Vn(e,t,n){return(1-n)*e+n*t}function Wn(e){return 0==(e&e-1)&&0!==e}function Zn(e){return Math.pow(2,Math.ceil(Math.log(e)/Math.LN2))}function qn(e){return Math.pow(2,Math.floor(Math.log(e)/Math.LN2))}var Yn=Object.freeze({__proto__:null,DEG2RAD:Un,RAD2DEG:Bn,generateUUID:Gn,clamp:Nn,euclideanModulo:Hn,mapLinear:function(e,t,n,r,i){return r+(e-t)*(i-r)/(n-t)},inverseLerp:function(e,t,n){return e!==t?(n-e)/(t-e):0},lerp:Vn,damp:function(e,t,n,r){return Vn(e,t,1-Math.exp(-n*r))},pingpong:function(e,t=1){return t-Math.abs(Hn(e,2*t)-t)},smoothstep:function(e,t,n){return e<=t?0:e>=n?1:(e=(e-t)/(n-t))*e*(3-2*e)},smootherstep:function(e,t,n){return e<=t?0:e>=n?1:(e=(e-t)/(n-t))*e*e*(e*(6*e-15)+10)},randInt:function(e,t){return e+Math.floor(Math.random()*(t-e+1))},randFloat:function(e,t){return e+Math.random()*(t-e)},randFloatSpread:function(e){return e*(.5-Math.random())},seededRandom:function(e){return void 0!==e&&(jn=e%2147483647),jn=16807*jn%2147483647,(jn-1)/2147483646},degToRad:function(e){return e*Un},radToDeg:function(e){return e*Bn},isPowerOfTwo:Wn,ceilPowerOfTwo:Zn,floorPowerOfTwo:qn,setQuaternionFromProperEuler:function(e,t,n,r,i){const o=Math.cos,a=Math.sin,s=o(n/2),c=a(n/2),u=o((t+r)/2),l=a((t+r)/2),f=o((t-r)/2),h=a((t-r)/2),v=o((r-t)/2),d=a((r-t)/2);switch(i){case"XYX":e.set(s*l,c*f,c*h,s*u);break;case"YZY":e.set(c*h,s*l,c*f,s*u);break;case"ZXZ":e.set(c*f,c*h,s*l,s*u);break;case"XZX":e.set(s*l,c*d,c*v,s*u);break;case"YXY":e.set(c*v,s*l,c*d,s*u);break;case"ZYZ":e.set(c*d,c*v,s*l,s*u);break;default:console.warn("THREE.MathUtils: .setQuaternionFromProperEuler() encountered an unknown order: "+i)}}});class Xn{constructor(e=0,t=0){this.x=e,this.y=t}get width(){return this.x}set width(e){this.x=e}get height(){return this.y}set height(e){this.y=e}set(e,t){return this.x=e,this.y=t,this}setScalar(e){return this.x=e,this.y=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y)}copy(e){return this.x=e.x,this.y=e.y,this}add(e,t){return void 0!==t?(console.warn("THREE.Vector2: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),this.addVectors(e,t)):(this.x+=e.x,this.y+=e.y,this)}addScalar(e){return this.x+=e,this.y+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this}sub(e,t){return void 0!==t?(console.warn("THREE.Vector2: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(e,t)):(this.x-=e.x,this.y-=e.y,this)}subScalar(e){return this.x-=e,this.y-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this}multiply(e){return this.x*=e.x,this.y*=e.y,this}multiplyScalar(e){return this.x*=e,this.y*=e,this}divide(e){return this.x/=e.x,this.y/=e.y,this}divideScalar(e){return this.multiplyScalar(1/e)}applyMatrix3(e){const t=this.x,n=this.y,r=e.elements;return this.x=r[0]*t+r[3]*n+r[6],this.y=r[1]*t+r[4]*n+r[7],this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this}clamp(e,t){return this.x=Math.max(e.x,Math.min(t.x,this.x)),this.y=Math.max(e.y,Math.min(t.y,this.y)),this}clampScalar(e,t){return this.x=Math.max(e,Math.min(t,this.x)),this.y=Math.max(e,Math.min(t,this.y)),this}clampLength(e,t){const n=this.length();return this.divideScalar(n||1).multiplyScalar(Math.max(e,Math.min(t,n)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this}negate(){return this.x=-this.x,this.y=-this.y,this}dot(e){return this.x*e.x+this.y*e.y}cross(e){return this.x*e.y-this.y*e.x}lengthSq(){return this.x*this.x+this.y*this.y}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)}normalize(){return this.divideScalar(this.length()||1)}angle(){return Math.atan2(-this.y,-this.x)+Math.PI}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){const t=this.x-e.x,n=this.y-e.y;return t*t+n*n}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this}lerpVectors(e,t,n){return this.x=e.x+(t.x-e.x)*n,this.y=e.y+(t.y-e.y)*n,this}equals(e){return e.x===this.x&&e.y===this.y}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e}fromBufferAttribute(e,t,n){return void 0!==n&&console.warn("THREE.Vector2: offset has been removed from .fromBufferAttribute()."),this.x=e.getX(t),this.y=e.getY(t),this}rotateAround(e,t){const n=Math.cos(t),r=Math.sin(t),i=this.x-e.x,o=this.y-e.y;return this.x=i*n-o*r+e.x,this.y=i*r+o*n+e.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}}Xn.prototype.isVector2=!0;class Kn{constructor(){this.elements=[1,0,0,0,1,0,0,0,1],arguments.length>0&&console.error("THREE.Matrix3: the constructor no longer reads arguments. use .set() instead.")}set(e,t,n,r,i,o,a,s,c){const u=this.elements;return u[0]=e,u[1]=r,u[2]=a,u[3]=t,u[4]=i,u[5]=s,u[6]=n,u[7]=o,u[8]=c,this}identity(){return this.set(1,0,0,0,1,0,0,0,1),this}copy(e){const t=this.elements,n=e.elements;return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],this}extractBasis(e,t,n){return e.setFromMatrix3Column(this,0),t.setFromMatrix3Column(this,1),n.setFromMatrix3Column(this,2),this}setFromMatrix4(e){const t=e.elements;return this.set(t[0],t[4],t[8],t[1],t[5],t[9],t[2],t[6],t[10]),this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,t){const n=e.elements,r=t.elements,i=this.elements,o=n[0],a=n[3],s=n[6],c=n[1],u=n[4],l=n[7],f=n[2],h=n[5],v=n[8],d=r[0],p=r[3],m=r[6],y=r[1],g=r[4],x=r[7],b=r[2],w=r[5],M=r[8];return i[0]=o*d+a*y+s*b,i[3]=o*p+a*g+s*w,i[6]=o*m+a*x+s*M,i[1]=c*d+u*y+l*b,i[4]=c*p+u*g+l*w,i[7]=c*m+u*x+l*M,i[2]=f*d+h*y+v*b,i[5]=f*p+h*g+v*w,i[8]=f*m+h*x+v*M,this}multiplyScalar(e){const t=this.elements;return t[0]*=e,t[3]*=e,t[6]*=e,t[1]*=e,t[4]*=e,t[7]*=e,t[2]*=e,t[5]*=e,t[8]*=e,this}determinant(){const e=this.elements,t=e[0],n=e[1],r=e[2],i=e[3],o=e[4],a=e[5],s=e[6],c=e[7],u=e[8];return t*o*u-t*a*c-n*i*u+n*a*s+r*i*c-r*o*s}invert(){const e=this.elements,t=e[0],n=e[1],r=e[2],i=e[3],o=e[4],a=e[5],s=e[6],c=e[7],u=e[8],l=u*o-a*c,f=a*s-u*i,h=c*i-o*s,v=t*l+n*f+r*h;if(0===v)return this.set(0,0,0,0,0,0,0,0,0);const d=1/v;return e[0]=l*d,e[1]=(r*c-u*n)*d,e[2]=(a*n-r*o)*d,e[3]=f*d,e[4]=(u*t-r*s)*d,e[5]=(r*i-a*t)*d,e[6]=h*d,e[7]=(n*s-c*t)*d,e[8]=(o*t-n*i)*d,this}transpose(){let e;const t=this.elements;return e=t[1],t[1]=t[3],t[3]=e,e=t[2],t[2]=t[6],t[6]=e,e=t[5],t[5]=t[7],t[7]=e,this}getNormalMatrix(e){return this.setFromMatrix4(e).invert().transpose()}transposeIntoArray(e){const t=this.elements;return e[0]=t[0],e[1]=t[3],e[2]=t[6],e[3]=t[1],e[4]=t[4],e[5]=t[7],e[6]=t[2],e[7]=t[5],e[8]=t[8],this}setUvTransform(e,t,n,r,i,o,a){const s=Math.cos(i),c=Math.sin(i);return this.set(n*s,n*c,-n*(s*o+c*a)+o+e,-r*c,r*s,-r*(-c*o+s*a)+a+t,0,0,1),this}scale(e,t){const n=this.elements;return n[0]*=e,n[3]*=e,n[6]*=e,n[1]*=t,n[4]*=t,n[7]*=t,this}rotate(e){const t=Math.cos(e),n=Math.sin(e),r=this.elements,i=r[0],o=r[3],a=r[6],s=r[1],c=r[4],u=r[7];return r[0]=t*i+n*s,r[3]=t*o+n*c,r[6]=t*a+n*u,r[1]=-n*i+t*s,r[4]=-n*o+t*c,r[7]=-n*a+t*u,this}translate(e,t){const n=this.elements;return n[0]+=e*n[2],n[3]+=e*n[5],n[6]+=e*n[8],n[1]+=t*n[2],n[4]+=t*n[5],n[7]+=t*n[8],this}equals(e){const t=this.elements,n=e.elements;for(let e=0;e<9;e++)if(t[e]!==n[e])return!1;return!0}fromArray(e,t=0){for(let n=0;n<9;n++)this.elements[n]=e[n+t];return this}toArray(e=[],t=0){const n=this.elements;return e[t]=n[0],e[t+1]=n[1],e[t+2]=n[2],e[t+3]=n[3],e[t+4]=n[4],e[t+5]=n[5],e[t+6]=n[6],e[t+7]=n[7],e[t+8]=n[8],e}clone(){return(new this.constructor).fromArray(this.elements)}}let Qn;Kn.prototype.isMatrix3=!0;class Jn{static getDataURL(e){if(/^data:/i.test(e.src))return e.src;if("undefined"==typeof HTMLCanvasElement)return e.src;let t;if(e instanceof HTMLCanvasElement)t=e;else{void 0===Qn&&(Qn=document.createElementNS("http://www.w3.org/1999/xhtml","canvas")),Qn.width=e.width,Qn.height=e.height;const n=Qn.getContext("2d");e instanceof ImageData?n.putImageData(e,0,0):n.drawImage(e,0,0,e.width,e.height),t=Qn}return t.width>2048||t.height>2048?(console.warn("THREE.ImageUtils.getDataURL: Image converted to jpg for performance reasons",e),t.toDataURL("image/jpeg",.6)):t.toDataURL("image/png")}}let $n=0;class er extends kn{constructor(e=er.DEFAULT_IMAGE,t=er.DEFAULT_MAPPING,n=he,r=he,i=xe,o=Me,a=je,s=Se,c=1,u=Kt){super(),Object.defineProperty(this,"id",{value:$n++}),this.uuid=Gn(),this.name="",this.image=e,this.mipmaps=[],this.mapping=t,this.wrapS=n,this.wrapT=r,this.magFilter=i,this.minFilter=o,this.anisotropy=c,this.format=a,this.internalFormat=null,this.type=s,this.offset=new Xn(0,0),this.repeat=new Xn(1,1),this.center=new Xn(0,0),this.rotation=0,this.matrixAutoUpdate=!0,this.matrix=new Kn,this.generateMipmaps=!0,this.premultiplyAlpha=!1,this.flipY=!0,this.unpackAlignment=4,this.encoding=u,this.version=0,this.onUpdate=null}updateMatrix(){this.matrix.setUvTransform(this.offset.x,this.offset.y,this.repeat.x,this.repeat.y,this.rotation,this.center.x,this.center.y)}clone(){return(new this.constructor).copy(this)}copy(e){return this.name=e.name,this.image=e.image,this.mipmaps=e.mipmaps.slice(0),this.mapping=e.mapping,this.wrapS=e.wrapS,this.wrapT=e.wrapT,this.magFilter=e.magFilter,this.minFilter=e.minFilter,this.anisotropy=e.anisotropy,this.format=e.format,this.internalFormat=e.internalFormat,this.type=e.type,this.offset.copy(e.offset),this.repeat.copy(e.repeat),this.center.copy(e.center),this.rotation=e.rotation,this.matrixAutoUpdate=e.matrixAutoUpdate,this.matrix.copy(e.matrix),this.generateMipmaps=e.generateMipmaps,this.premultiplyAlpha=e.premultiplyAlpha,this.flipY=e.flipY,this.unpackAlignment=e.unpackAlignment,this.encoding=e.encoding,this}toJSON(e){const t=void 0===e||"string"==typeof e;if(!t&&void 0!==e.textures[this.uuid])return e.textures[this.uuid];const n={metadata:{version:4.5,type:"Texture",generator:"Texture.toJSON"},uuid:this.uuid,name:this.name,mapping:this.mapping,repeat:[this.repeat.x,this.repeat.y],offset:[this.offset.x,this.offset.y],center:[this.center.x,this.center.y],rotation:this.rotation,wrap:[this.wrapS,this.wrapT],format:this.format,type:this.type,encoding:this.encoding,minFilter:this.minFilter,magFilter:this.magFilter,anisotropy:this.anisotropy,flipY:this.flipY,premultiplyAlpha:this.premultiplyAlpha,unpackAlignment:this.unpackAlignment};if(void 0!==this.image){const r=this.image;if(void 0===r.uuid&&(r.uuid=Gn()),!t&&void 0===e.images[r.uuid]){let t;if(Array.isArray(r)){t=[];for(let e=0,n=r.length;e<n;e++)r[e].isDataTexture?t.push(tr(r[e].image)):t.push(tr(r[e]))}else t=tr(r);e.images[r.uuid]={uuid:r.uuid,url:t}}n.image=r.uuid}return t||(e.textures[this.uuid]=n),n}dispose(){this.dispatchEvent({type:"dispose"})}transformUv(e){if(this.mapping!==ie)return e;if(e.applyMatrix3(this.matrix),e.x<0||e.x>1)switch(this.wrapS){case fe:e.x=e.x-Math.floor(e.x);break;case he:e.x=e.x<0?0:1;break;case ve:1===Math.abs(Math.floor(e.x)%2)?e.x=Math.ceil(e.x)-e.x:e.x=e.x-Math.floor(e.x)}if(e.y<0||e.y>1)switch(this.wrapT){case fe:e.y=e.y-Math.floor(e.y);break;case he:e.y=e.y<0?0:1;break;case ve:1===Math.abs(Math.floor(e.y)%2)?e.y=Math.ceil(e.y)-e.y:e.y=e.y-Math.floor(e.y)}return this.flipY&&(e.y=1-e.y),e}set needsUpdate(e){!0===e&&this.version++}}function tr(e){return"undefined"!=typeof HTMLImageElement&&e instanceof HTMLImageElement||"undefined"!=typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement||"undefined"!=typeof ImageBitmap&&e instanceof ImageBitmap?Jn.getDataURL(e):e.data?{data:Array.prototype.slice.call(e.data),width:e.width,height:e.height,type:e.data.constructor.name}:(console.warn("THREE.Texture: Unable to serialize Texture."),{})}er.DEFAULT_IMAGE=void 0,er.DEFAULT_MAPPING=ie,er.prototype.isTexture=!0;class nr{constructor(e=0,t=0,n=0,r=1){this.x=e,this.y=t,this.z=n,this.w=r}get width(){return this.z}set width(e){this.z=e}get height(){return this.w}set height(e){this.w=e}set(e,t,n,r){return this.x=e,this.y=t,this.z=n,this.w=r,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this.w=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setW(e){return this.w=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;case 3:this.w=t;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y,this.z,this.w)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this.w=void 0!==e.w?e.w:1,this}add(e,t){return void 0!==t?(console.warn("THREE.Vector4: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),this.addVectors(e,t)):(this.x+=e.x,this.y+=e.y,this.z+=e.z,this.w+=e.w,this)}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this.w+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this.w=e.w+t.w,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this.w+=e.w*t,this}sub(e,t){return void 0!==t?(console.warn("THREE.Vector4: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(e,t)):(this.x-=e.x,this.y-=e.y,this.z-=e.z,this.w-=e.w,this)}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this.w-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this.w=e.w-t.w,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this.w*=e.w,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this.w*=e,this}applyMatrix4(e){const t=this.x,n=this.y,r=this.z,i=this.w,o=e.elements;return this.x=o[0]*t+o[4]*n+o[8]*r+o[12]*i,this.y=o[1]*t+o[5]*n+o[9]*r+o[13]*i,this.z=o[2]*t+o[6]*n+o[10]*r+o[14]*i,this.w=o[3]*t+o[7]*n+o[11]*r+o[15]*i,this}divideScalar(e){return this.multiplyScalar(1/e)}setAxisAngleFromQuaternion(e){this.w=2*Math.acos(e.w);const t=Math.sqrt(1-e.w*e.w);return t<1e-4?(this.x=1,this.y=0,this.z=0):(this.x=e.x/t,this.y=e.y/t,this.z=e.z/t),this}setAxisAngleFromRotationMatrix(e){let t,n,r,i;const o=.01,a=.1,s=e.elements,c=s[0],u=s[4],l=s[8],f=s[1],h=s[5],v=s[9],d=s[2],p=s[6],m=s[10];if(Math.abs(u-f)<o&&Math.abs(l-d)<o&&Math.abs(v-p)<o){if(Math.abs(u+f)<a&&Math.abs(l+d)<a&&Math.abs(v+p)<a&&Math.abs(c+h+m-3)<a)return this.set(1,0,0,0),this;t=Math.PI;const e=(c+1)/2,s=(h+1)/2,y=(m+1)/2,g=(u+f)/4,x=(l+d)/4,b=(v+p)/4;return e>s&&e>y?e<o?(n=0,r=.707106781,i=.707106781):(n=Math.sqrt(e),r=g/n,i=x/n):s>y?s<o?(n=.707106781,r=0,i=.707106781):(r=Math.sqrt(s),n=g/r,i=b/r):y<o?(n=.707106781,r=.707106781,i=0):(i=Math.sqrt(y),n=x/i,r=b/i),this.set(n,r,i,t),this}let y=Math.sqrt((p-v)*(p-v)+(l-d)*(l-d)+(f-u)*(f-u));return Math.abs(y)<.001&&(y=1),this.x=(p-v)/y,this.y=(l-d)/y,this.z=(f-u)/y,this.w=Math.acos((c+h+m-1)/2),this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this.w=Math.min(this.w,e.w),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this.w=Math.max(this.w,e.w),this}clamp(e,t){return this.x=Math.max(e.x,Math.min(t.x,this.x)),this.y=Math.max(e.y,Math.min(t.y,this.y)),this.z=Math.max(e.z,Math.min(t.z,this.z)),this.w=Math.max(e.w,Math.min(t.w,this.w)),this}clampScalar(e,t){return this.x=Math.max(e,Math.min(t,this.x)),this.y=Math.max(e,Math.min(t,this.y)),this.z=Math.max(e,Math.min(t,this.z)),this.w=Math.max(e,Math.min(t,this.w)),this}clampLength(e,t){const n=this.length();return this.divideScalar(n||1).multiplyScalar(Math.max(e,Math.min(t,n)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this.w=Math.floor(this.w),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this.w=Math.ceil(this.w),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this.w=Math.round(this.w),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(this.z),this.w=this.w<0?Math.ceil(this.w):Math.floor(this.w),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this.w=-this.w,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z+this.w*e.w}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this.z+=(e.z-this.z)*t,this.w+=(e.w-this.w)*t,this}lerpVectors(e,t,n){return this.x=e.x+(t.x-e.x)*n,this.y=e.y+(t.y-e.y)*n,this.z=e.z+(t.z-e.z)*n,this.w=e.w+(t.w-e.w)*n,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z&&e.w===this.w}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this.w=e[t+3],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e[t+3]=this.w,e}fromBufferAttribute(e,t,n){return void 0!==n&&console.warn("THREE.Vector4: offset has been removed from .fromBufferAttribute()."),this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this.w=e.getW(t),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this.w=Math.random(),this}}nr.prototype.isVector4=!0;class rr extends kn{constructor(e,t,n){super(),this.width=e,this.height=t,this.depth=1,this.scissor=new nr(0,0,e,t),this.scissorTest=!1,this.viewport=new nr(0,0,e,t),n=n||{},this.texture=new er(void 0,n.mapping,n.wrapS,n.wrapT,n.magFilter,n.minFilter,n.format,n.type,n.anisotropy,n.encoding),this.texture.image={},this.texture.image.width=e,this.texture.image.height=t,this.texture.image.depth=1,this.texture.generateMipmaps=void 0!==n.generateMipmaps&&n.generateMipmaps,this.texture.minFilter=void 0!==n.minFilter?n.minFilter:xe,this.depthBuffer=void 0===n.depthBuffer||n.depthBuffer,this.stencilBuffer=void 0!==n.stencilBuffer&&n.stencilBuffer,this.depthTexture=void 0!==n.depthTexture?n.depthTexture:null}setTexture(e){e.image={width:this.width,height:this.height,depth:this.depth},this.texture=e}setSize(e,t,n=1){this.width===e&&this.height===t&&this.depth===n||(this.width=e,this.height=t,this.depth=n,this.texture.image.width=e,this.texture.image.height=t,this.texture.image.depth=n,this.dispose()),this.viewport.set(0,0,e,t),this.scissor.set(0,0,e,t)}clone(){return(new this.constructor).copy(this)}copy(e){return this.width=e.width,this.height=e.height,this.depth=e.depth,this.viewport.copy(e.viewport),this.texture=e.texture.clone(),this.depthBuffer=e.depthBuffer,this.stencilBuffer=e.stencilBuffer,this.depthTexture=e.depthTexture,this}dispose(){this.dispatchEvent({type:"dispose"})}}rr.prototype.isWebGLRenderTarget=!0;class ir extends rr{constructor(e,t,n){super(e,t,n),this.samples=4}copy(e){return super.copy.call(this,e),this.samples=e.samples,this}}ir.prototype.isWebGLMultisampleRenderTarget=!0;class or{constructor(e=0,t=0,n=0,r=1){this._x=e,this._y=t,this._z=n,this._w=r}static slerp(e,t,n,r){return console.warn("THREE.Quaternion: Static .slerp() has been deprecated. Use qm.slerpQuaternions( qa, qb, t ) instead."),n.slerpQuaternions(e,t,r)}static slerpFlat(e,t,n,r,i,o,a){let s=n[r+0],c=n[r+1],u=n[r+2],l=n[r+3];const f=i[o+0],h=i[o+1],v=i[o+2],d=i[o+3];if(0===a)return e[t+0]=s,e[t+1]=c,e[t+2]=u,void(e[t+3]=l);if(1===a)return e[t+0]=f,e[t+1]=h,e[t+2]=v,void(e[t+3]=d);if(l!==d||s!==f||c!==h||u!==v){let e=1-a;const t=s*f+c*h+u*v+l*d,n=t>=0?1:-1,r=1-t*t;if(r>Number.EPSILON){const i=Math.sqrt(r),o=Math.atan2(i,t*n);e=Math.sin(e*o)/i,a=Math.sin(a*o)/i}const i=a*n;if(s=s*e+f*i,c=c*e+h*i,u=u*e+v*i,l=l*e+d*i,e===1-a){const e=1/Math.sqrt(s*s+c*c+u*u+l*l);s*=e,c*=e,u*=e,l*=e}}e[t]=s,e[t+1]=c,e[t+2]=u,e[t+3]=l}static multiplyQuaternionsFlat(e,t,n,r,i,o){const a=n[r],s=n[r+1],c=n[r+2],u=n[r+3],l=i[o],f=i[o+1],h=i[o+2],v=i[o+3];return e[t]=a*v+u*l+s*h-c*f,e[t+1]=s*v+u*f+c*l-a*h,e[t+2]=c*v+u*h+a*f-s*l,e[t+3]=u*v-a*l-s*f-c*h,e}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get w(){return this._w}set w(e){this._w=e,this._onChangeCallback()}set(e,t,n,r){return this._x=e,this._y=t,this._z=n,this._w=r,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._w)}copy(e){return this._x=e.x,this._y=e.y,this._z=e.z,this._w=e.w,this._onChangeCallback(),this}setFromEuler(e,t){if(!e||!e.isEuler)throw new Error("THREE.Quaternion: .setFromEuler() now expects an Euler rotation rather than a Vector3 and order.");const n=e._x,r=e._y,i=e._z,o=e._order,a=Math.cos,s=Math.sin,c=a(n/2),u=a(r/2),l=a(i/2),f=s(n/2),h=s(r/2),v=s(i/2);switch(o){case"XYZ":this._x=f*u*l+c*h*v,this._y=c*h*l-f*u*v,this._z=c*u*v+f*h*l,this._w=c*u*l-f*h*v;break;case"YXZ":this._x=f*u*l+c*h*v,this._y=c*h*l-f*u*v,this._z=c*u*v-f*h*l,this._w=c*u*l+f*h*v;break;case"ZXY":this._x=f*u*l-c*h*v,this._y=c*h*l+f*u*v,this._z=c*u*v+f*h*l,this._w=c*u*l-f*h*v;break;case"ZYX":this._x=f*u*l-c*h*v,this._y=c*h*l+f*u*v,this._z=c*u*v-f*h*l,this._w=c*u*l+f*h*v;break;case"YZX":this._x=f*u*l+c*h*v,this._y=c*h*l+f*u*v,this._z=c*u*v-f*h*l,this._w=c*u*l-f*h*v;break;case"XZY":this._x=f*u*l-c*h*v,this._y=c*h*l-f*u*v,this._z=c*u*v+f*h*l,this._w=c*u*l+f*h*v;break;default:console.warn("THREE.Quaternion: .setFromEuler() encountered an unknown order: "+o)}return!1!==t&&this._onChangeCallback(),this}setFromAxisAngle(e,t){const n=t/2,r=Math.sin(n);return this._x=e.x*r,this._y=e.y*r,this._z=e.z*r,this._w=Math.cos(n),this._onChangeCallback(),this}setFromRotationMatrix(e){const t=e.elements,n=t[0],r=t[4],i=t[8],o=t[1],a=t[5],s=t[9],c=t[2],u=t[6],l=t[10],f=n+a+l;if(f>0){const e=.5/Math.sqrt(f+1);this._w=.25/e,this._x=(u-s)*e,this._y=(i-c)*e,this._z=(o-r)*e}else if(n>a&&n>l){const e=2*Math.sqrt(1+n-a-l);this._w=(u-s)/e,this._x=.25*e,this._y=(r+o)/e,this._z=(i+c)/e}else if(a>l){const e=2*Math.sqrt(1+a-n-l);this._w=(i-c)/e,this._x=(r+o)/e,this._y=.25*e,this._z=(s+u)/e}else{const e=2*Math.sqrt(1+l-n-a);this._w=(o-r)/e,this._x=(i+c)/e,this._y=(s+u)/e,this._z=.25*e}return this._onChangeCallback(),this}setFromUnitVectors(e,t){let n=e.dot(t)+1;return n<Number.EPSILON?(n=0,Math.abs(e.x)>Math.abs(e.z)?(this._x=-e.y,this._y=e.x,this._z=0,this._w=n):(this._x=0,this._y=-e.z,this._z=e.y,this._w=n)):(this._x=e.y*t.z-e.z*t.y,this._y=e.z*t.x-e.x*t.z,this._z=e.x*t.y-e.y*t.x,this._w=n),this.normalize()}angleTo(e){return 2*Math.acos(Math.abs(Nn(this.dot(e),-1,1)))}rotateTowards(e,t){const n=this.angleTo(e);if(0===n)return this;const r=Math.min(1,t/n);return this.slerp(e,r),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}dot(e){return this._x*e._x+this._y*e._y+this._z*e._z+this._w*e._w}lengthSq(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}length(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}normalize(){let e=this.length();return 0===e?(this._x=0,this._y=0,this._z=0,this._w=1):(e=1/e,this._x=this._x*e,this._y=this._y*e,this._z=this._z*e,this._w=this._w*e),this._onChangeCallback(),this}multiply(e,t){return void 0!==t?(console.warn("THREE.Quaternion: .multiply() now only accepts one argument. Use .multiplyQuaternions( a, b ) instead."),this.multiplyQuaternions(e,t)):this.multiplyQuaternions(this,e)}premultiply(e){return this.multiplyQuaternions(e,this)}multiplyQuaternions(e,t){const n=e._x,r=e._y,i=e._z,o=e._w,a=t._x,s=t._y,c=t._z,u=t._w;return this._x=n*u+o*a+r*c-i*s,this._y=r*u+o*s+i*a-n*c,this._z=i*u+o*c+n*s-r*a,this._w=o*u-n*a-r*s-i*c,this._onChangeCallback(),this}slerp(e,t){if(0===t)return this;if(1===t)return this.copy(e);const n=this._x,r=this._y,i=this._z,o=this._w;let a=o*e._w+n*e._x+r*e._y+i*e._z;if(a<0?(this._w=-e._w,this._x=-e._x,this._y=-e._y,this._z=-e._z,a=-a):this.copy(e),a>=1)return this._w=o,this._x=n,this._y=r,this._z=i,this;const s=1-a*a;if(s<=Number.EPSILON){const e=1-t;return this._w=e*o+t*this._w,this._x=e*n+t*this._x,this._y=e*r+t*this._y,this._z=e*i+t*this._z,this.normalize(),this._onChangeCallback(),this}const c=Math.sqrt(s),u=Math.atan2(c,a),l=Math.sin((1-t)*u)/c,f=Math.sin(t*u)/c;return this._w=o*l+this._w*f,this._x=n*l+this._x*f,this._y=r*l+this._y*f,this._z=i*l+this._z*f,this._onChangeCallback(),this}slerpQuaternions(e,t,n){this.copy(e).slerp(t,n)}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._w===this._w}fromArray(e,t=0){return this._x=e[t],this._y=e[t+1],this._z=e[t+2],this._w=e[t+3],this._onChangeCallback(),this}toArray(e=[],t=0){return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._w,e}fromBufferAttribute(e,t){return this._x=e.getX(t),this._y=e.getY(t),this._z=e.getZ(t),this._w=e.getW(t),this}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}}or.prototype.isQuaternion=!0;class ar{constructor(e=0,t=0,n=0){this.x=e,this.y=t,this.z=n}set(e,t,n){return void 0===n&&(n=this.z),this.x=e,this.y=t,this.z=n,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y,this.z)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this}add(e,t){return void 0!==t?(console.warn("THREE.Vector3: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),this.addVectors(e,t)):(this.x+=e.x,this.y+=e.y,this.z+=e.z,this)}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this}sub(e,t){return void 0!==t?(console.warn("THREE.Vector3: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(e,t)):(this.x-=e.x,this.y-=e.y,this.z-=e.z,this)}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this}multiply(e,t){return void 0!==t?(console.warn("THREE.Vector3: .multiply() now only accepts one argument. Use .multiplyVectors( a, b ) instead."),this.multiplyVectors(e,t)):(this.x*=e.x,this.y*=e.y,this.z*=e.z,this)}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this}multiplyVectors(e,t){return this.x=e.x*t.x,this.y=e.y*t.y,this.z=e.z*t.z,this}applyEuler(e){return e&&e.isEuler||console.error("THREE.Vector3: .applyEuler() now expects an Euler rotation rather than a Vector3 and order."),this.applyQuaternion(cr.setFromEuler(e))}applyAxisAngle(e,t){return this.applyQuaternion(cr.setFromAxisAngle(e,t))}applyMatrix3(e){const t=this.x,n=this.y,r=this.z,i=e.elements;return this.x=i[0]*t+i[3]*n+i[6]*r,this.y=i[1]*t+i[4]*n+i[7]*r,this.z=i[2]*t+i[5]*n+i[8]*r,this}applyNormalMatrix(e){return this.applyMatrix3(e).normalize()}applyMatrix4(e){const t=this.x,n=this.y,r=this.z,i=e.elements,o=1/(i[3]*t+i[7]*n+i[11]*r+i[15]);return this.x=(i[0]*t+i[4]*n+i[8]*r+i[12])*o,this.y=(i[1]*t+i[5]*n+i[9]*r+i[13])*o,this.z=(i[2]*t+i[6]*n+i[10]*r+i[14])*o,this}applyQuaternion(e){const t=this.x,n=this.y,r=this.z,i=e.x,o=e.y,a=e.z,s=e.w,c=s*t+o*r-a*n,u=s*n+a*t-i*r,l=s*r+i*n-o*t,f=-i*t-o*n-a*r;return this.x=c*s+f*-i+u*-a-l*-o,this.y=u*s+f*-o+l*-i-c*-a,this.z=l*s+f*-a+c*-o-u*-i,this}project(e){return this.applyMatrix4(e.matrixWorldInverse).applyMatrix4(e.projectionMatrix)}unproject(e){return this.applyMatrix4(e.projectionMatrixInverse).applyMatrix4(e.matrixWorld)}transformDirection(e){const t=this.x,n=this.y,r=this.z,i=e.elements;return this.x=i[0]*t+i[4]*n+i[8]*r,this.y=i[1]*t+i[5]*n+i[9]*r,this.z=i[2]*t+i[6]*n+i[10]*r,this.normalize()}divide(e){return this.x/=e.x,this.y/=e.y,this.z/=e.z,this}divideScalar(e){return this.multiplyScalar(1/e)}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this}clamp(e,t){return this.x=Math.max(e.x,Math.min(t.x,this.x)),this.y=Math.max(e.y,Math.min(t.y,this.y)),this.z=Math.max(e.z,Math.min(t.z,this.z)),this}clampScalar(e,t){return this.x=Math.max(e,Math.min(t,this.x)),this.y=Math.max(e,Math.min(t,this.y)),this.z=Math.max(e,Math.min(t,this.z)),this}clampLength(e,t){const n=this.length();return this.divideScalar(n||1).multiplyScalar(Math.max(e,Math.min(t,n)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this.z+=(e.z-this.z)*t,this}lerpVectors(e,t,n){return this.x=e.x+(t.x-e.x)*n,this.y=e.y+(t.y-e.y)*n,this.z=e.z+(t.z-e.z)*n,this}cross(e,t){return void 0!==t?(console.warn("THREE.Vector3: .cross() now only accepts one argument. Use .crossVectors( a, b ) instead."),this.crossVectors(e,t)):this.crossVectors(this,e)}crossVectors(e,t){const n=e.x,r=e.y,i=e.z,o=t.x,a=t.y,s=t.z;return this.x=r*s-i*a,this.y=i*o-n*s,this.z=n*a-r*o,this}projectOnVector(e){const t=e.lengthSq();if(0===t)return this.set(0,0,0);const n=e.dot(this)/t;return this.copy(e).multiplyScalar(n)}projectOnPlane(e){return sr.copy(this).projectOnVector(e),this.sub(sr)}reflect(e){return this.sub(sr.copy(e).multiplyScalar(2*this.dot(e)))}angleTo(e){const t=Math.sqrt(this.lengthSq()*e.lengthSq());if(0===t)return Math.PI/2;const n=this.dot(e)/t;return Math.acos(Nn(n,-1,1))}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){const t=this.x-e.x,n=this.y-e.y,r=this.z-e.z;return t*t+n*n+r*r}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)+Math.abs(this.z-e.z)}setFromSpherical(e){return this.setFromSphericalCoords(e.radius,e.phi,e.theta)}setFromSphericalCoords(e,t,n){const r=Math.sin(t)*e;return this.x=r*Math.sin(n),this.y=Math.cos(t)*e,this.z=r*Math.cos(n),this}setFromCylindrical(e){return this.setFromCylindricalCoords(e.radius,e.theta,e.y)}setFromCylindricalCoords(e,t,n){return this.x=e*Math.sin(t),this.y=n,this.z=e*Math.cos(t),this}setFromMatrixPosition(e){const t=e.elements;return this.x=t[12],this.y=t[13],this.z=t[14],this}setFromMatrixScale(e){const t=this.setFromMatrixColumn(e,0).length(),n=this.setFromMatrixColumn(e,1).length(),r=this.setFromMatrixColumn(e,2).length();return this.x=t,this.y=n,this.z=r,this}setFromMatrixColumn(e,t){return this.fromArray(e.elements,4*t)}setFromMatrix3Column(e,t){return this.fromArray(e.elements,3*t)}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e}fromBufferAttribute(e,t,n){return void 0!==n&&console.warn("THREE.Vector3: offset has been removed from .fromBufferAttribute()."),this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}}ar.prototype.isVector3=!0;const sr=new ar,cr=new or;class ur{constructor(e=new ar(1/0,1/0,1/0),t=new ar(-1/0,-1/0,-1/0)){this.min=e,this.max=t}set(e,t){return this.min.copy(e),this.max.copy(t),this}setFromArray(e){let t=1/0,n=1/0,r=1/0,i=-1/0,o=-1/0,a=-1/0;for(let s=0,c=e.length;s<c;s+=3){const c=e[s],u=e[s+1],l=e[s+2];c<t&&(t=c),u<n&&(n=u),l<r&&(r=l),c>i&&(i=c),u>o&&(o=u),l>a&&(a=l)}return this.min.set(t,n,r),this.max.set(i,o,a),this}setFromBufferAttribute(e){let t=1/0,n=1/0,r=1/0,i=-1/0,o=-1/0,a=-1/0;for(let s=0,c=e.count;s<c;s++){const c=e.getX(s),u=e.getY(s),l=e.getZ(s);c<t&&(t=c),u<n&&(n=u),l<r&&(r=l),c>i&&(i=c),u>o&&(o=u),l>a&&(a=l)}return this.min.set(t,n,r),this.max.set(i,o,a),this}setFromPoints(e){this.makeEmpty();for(let t=0,n=e.length;t<n;t++)this.expandByPoint(e[t]);return this}setFromCenterAndSize(e,t){const n=fr.copy(t).multiplyScalar(.5);return this.min.copy(e).sub(n),this.max.copy(e).add(n),this}setFromObject(e){return this.makeEmpty(),this.expandByObject(e)}clone(){return(new this.constructor).copy(this)}copy(e){return this.min.copy(e.min),this.max.copy(e.max),this}makeEmpty(){return this.min.x=this.min.y=this.min.z=1/0,this.max.x=this.max.y=this.max.z=-1/0,this}isEmpty(){return this.max.x<this.min.x||this.max.y<this.min.y||this.max.z<this.min.z}getCenter(e){return void 0===e&&(console.warn("THREE.Box3: .getCenter() target is now required"),e=new ar),this.isEmpty()?e.set(0,0,0):e.addVectors(this.min,this.max).multiplyScalar(.5)}getSize(e){return void 0===e&&(console.warn("THREE.Box3: .getSize() target is now required"),e=new ar),this.isEmpty()?e.set(0,0,0):e.subVectors(this.max,this.min)}expandByPoint(e){return this.min.min(e),this.max.max(e),this}expandByVector(e){return this.min.sub(e),this.max.add(e),this}expandByScalar(e){return this.min.addScalar(-e),this.max.addScalar(e),this}expandByObject(e){e.updateWorldMatrix(!1,!1);const t=e.geometry;void 0!==t&&(null===t.boundingBox&&t.computeBoundingBox(),hr.copy(t.boundingBox),hr.applyMatrix4(e.matrixWorld),this.union(hr));const n=e.children;for(let e=0,t=n.length;e<t;e++)this.expandByObject(n[e]);return this}containsPoint(e){return!(e.x<this.min.x||e.x>this.max.x||e.y<this.min.y||e.y>this.max.y||e.z<this.min.z||e.z>this.max.z)}containsBox(e){return this.min.x<=e.min.x&&e.max.x<=this.max.x&&this.min.y<=e.min.y&&e.max.y<=this.max.y&&this.min.z<=e.min.z&&e.max.z<=this.max.z}getParameter(e,t){return void 0===t&&(console.warn("THREE.Box3: .getParameter() target is now required"),t=new ar),t.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y),(e.z-this.min.z)/(this.max.z-this.min.z))}intersectsBox(e){return!(e.max.x<this.min.x||e.min.x>this.max.x||e.max.y<this.min.y||e.min.y>this.max.y||e.max.z<this.min.z||e.min.z>this.max.z)}intersectsSphere(e){return this.clampPoint(e.center,fr),fr.distanceToSquared(e.center)<=e.radius*e.radius}intersectsPlane(e){let t,n;return e.normal.x>0?(t=e.normal.x*this.min.x,n=e.normal.x*this.max.x):(t=e.normal.x*this.max.x,n=e.normal.x*this.min.x),e.normal.y>0?(t+=e.normal.y*this.min.y,n+=e.normal.y*this.max.y):(t+=e.normal.y*this.max.y,n+=e.normal.y*this.min.y),e.normal.z>0?(t+=e.normal.z*this.min.z,n+=e.normal.z*this.max.z):(t+=e.normal.z*this.max.z,n+=e.normal.z*this.min.z),t<=-e.constant&&n>=-e.constant}intersectsTriangle(e){if(this.isEmpty())return!1;this.getCenter(xr),br.subVectors(this.max,xr),vr.subVectors(e.a,xr),dr.subVectors(e.b,xr),pr.subVectors(e.c,xr),mr.subVectors(dr,vr),yr.subVectors(pr,dr),gr.subVectors(vr,pr);let t=[0,-mr.z,mr.y,0,-yr.z,yr.y,0,-gr.z,gr.y,mr.z,0,-mr.x,yr.z,0,-yr.x,gr.z,0,-gr.x,-mr.y,mr.x,0,-yr.y,yr.x,0,-gr.y,gr.x,0];return!!_r(t,vr,dr,pr,br)&&(t=[1,0,0,0,1,0,0,0,1],!!_r(t,vr,dr,pr,br)&&(wr.crossVectors(mr,yr),t=[wr.x,wr.y,wr.z],_r(t,vr,dr,pr,br)))}clampPoint(e,t){return void 0===t&&(console.warn("THREE.Box3: .clampPoint() target is now required"),t=new ar),t.copy(e).clamp(this.min,this.max)}distanceToPoint(e){return fr.copy(e).clamp(this.min,this.max).sub(e).length()}getBoundingSphere(e){return void 0===e&&console.error("THREE.Box3: .getBoundingSphere() target is now required"),this.getCenter(e.center),e.radius=.5*this.getSize(fr).length(),e}intersect(e){return this.min.max(e.min),this.max.min(e.max),this.isEmpty()&&this.makeEmpty(),this}union(e){return this.min.min(e.min),this.max.max(e.max),this}applyMatrix4(e){return this.isEmpty()||(lr[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(e),lr[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(e),lr[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(e),lr[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(e),lr[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(e),lr[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(e),lr[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(e),lr[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(e),this.setFromPoints(lr)),this}translate(e){return this.min.add(e),this.max.add(e),this}equals(e){return e.min.equals(this.min)&&e.max.equals(this.max)}}ur.prototype.isBox3=!0;const lr=[new ar,new ar,new ar,new ar,new ar,new ar,new ar,new ar],fr=new ar,hr=new ur,vr=new ar,dr=new ar,pr=new ar,mr=new ar,yr=new ar,gr=new ar,xr=new ar,br=new ar,wr=new ar,Mr=new ar;function _r(e,t,n,r,i){for(let o=0,a=e.length-3;o<=a;o+=3){Mr.fromArray(e,o);const a=i.x*Math.abs(Mr.x)+i.y*Math.abs(Mr.y)+i.z*Math.abs(Mr.z),s=t.dot(Mr),c=n.dot(Mr),u=r.dot(Mr);if(Math.max(-Math.max(s,c,u),Math.min(s,c,u))>a)return!1}return!0}const Sr=new ur,Pr=new ar,Tr=new ar,Rr=new ar;class Er{constructor(e=new ar,t=-1){this.center=e,this.radius=t}set(e,t){return this.center.copy(e),this.radius=t,this}setFromPoints(e,t){const n=this.center;void 0!==t?n.copy(t):Sr.setFromPoints(e).getCenter(n);let r=0;for(let t=0,i=e.length;t<i;t++)r=Math.max(r,n.distanceToSquared(e[t]));return this.radius=Math.sqrt(r),this}copy(e){return this.center.copy(e.center),this.radius=e.radius,this}isEmpty(){return this.radius<0}makeEmpty(){return this.center.set(0,0,0),this.radius=-1,this}containsPoint(e){return e.distanceToSquared(this.center)<=this.radius*this.radius}distanceToPoint(e){return e.distanceTo(this.center)-this.radius}intersectsSphere(e){const t=this.radius+e.radius;return e.center.distanceToSquared(this.center)<=t*t}intersectsBox(e){return e.intersectsSphere(this)}intersectsPlane(e){return Math.abs(e.distanceToPoint(this.center))<=this.radius}clampPoint(e,t){const n=this.center.distanceToSquared(e);return void 0===t&&(console.warn("THREE.Sphere: .clampPoint() target is now required"),t=new ar),t.copy(e),n>this.radius*this.radius&&(t.sub(this.center).normalize(),t.multiplyScalar(this.radius).add(this.center)),t}getBoundingBox(e){return void 0===e&&(console.warn("THREE.Sphere: .getBoundingBox() target is now required"),e=new ur),this.isEmpty()?(e.makeEmpty(),e):(e.set(this.center,this.center),e.expandByScalar(this.radius),e)}applyMatrix4(e){return this.center.applyMatrix4(e),this.radius=this.radius*e.getMaxScaleOnAxis(),this}translate(e){return this.center.add(e),this}expandByPoint(e){Rr.subVectors(e,this.center);const t=Rr.lengthSq();if(t>this.radius*this.radius){const e=Math.sqrt(t),n=.5*(e-this.radius);this.center.add(Rr.multiplyScalar(n/e)),this.radius+=n}return this}union(e){return Tr.subVectors(e.center,this.center).normalize().multiplyScalar(e.radius),this.expandByPoint(Pr.copy(e.center).add(Tr)),this.expandByPoint(Pr.copy(e.center).sub(Tr)),this}equals(e){return e.center.equals(this.center)&&e.radius===this.radius}clone(){return(new this.constructor).copy(this)}}const zr=new ar,Lr=new ar,Cr=new ar,Ar=new ar,Or=new ar,Dr=new ar,Ir=new ar;class kr{constructor(e=new ar,t=new ar(0,0,-1)){this.origin=e,this.direction=t}set(e,t){return this.origin.copy(e),this.direction.copy(t),this}copy(e){return this.origin.copy(e.origin),this.direction.copy(e.direction),this}at(e,t){return void 0===t&&(console.warn("THREE.Ray: .at() target is now required"),t=new ar),t.copy(this.direction).multiplyScalar(e).add(this.origin)}lookAt(e){return this.direction.copy(e).sub(this.origin).normalize(),this}recast(e){return this.origin.copy(this.at(e,zr)),this}closestPointToPoint(e,t){void 0===t&&(console.warn("THREE.Ray: .closestPointToPoint() target is now required"),t=new ar),t.subVectors(e,this.origin);const n=t.dot(this.direction);return n<0?t.copy(this.origin):t.copy(this.direction).multiplyScalar(n).add(this.origin)}distanceToPoint(e){return Math.sqrt(this.distanceSqToPoint(e))}distanceSqToPoint(e){const t=zr.subVectors(e,this.origin).dot(this.direction);return t<0?this.origin.distanceToSquared(e):(zr.copy(this.direction).multiplyScalar(t).add(this.origin),zr.distanceToSquared(e))}distanceSqToSegment(e,t,n,r){Lr.copy(e).add(t).multiplyScalar(.5),Cr.copy(t).sub(e).normalize(),Ar.copy(this.origin).sub(Lr);const i=.5*e.distanceTo(t),o=-this.direction.dot(Cr),a=Ar.dot(this.direction),s=-Ar.dot(Cr),c=Ar.lengthSq(),u=Math.abs(1-o*o);let l,f,h,v;if(u>0)if(l=o*s-a,f=o*a-s,v=i*u,l>=0)if(f>=-v)if(f<=v){const e=1/u;l*=e,f*=e,h=l*(l+o*f+2*a)+f*(o*l+f+2*s)+c}else f=i,l=Math.max(0,-(o*f+a)),h=-l*l+f*(f+2*s)+c;else f=-i,l=Math.max(0,-(o*f+a)),h=-l*l+f*(f+2*s)+c;else f<=-v?(l=Math.max(0,-(-o*i+a)),f=l>0?-i:Math.min(Math.max(-i,-s),i),h=-l*l+f*(f+2*s)+c):f<=v?(l=0,f=Math.min(Math.max(-i,-s),i),h=f*(f+2*s)+c):(l=Math.max(0,-(o*i+a)),f=l>0?i:Math.min(Math.max(-i,-s),i),h=-l*l+f*(f+2*s)+c);else f=o>0?-i:i,l=Math.max(0,-(o*f+a)),h=-l*l+f*(f+2*s)+c;return n&&n.copy(this.direction).multiplyScalar(l).add(this.origin),r&&r.copy(Cr).multiplyScalar(f).add(Lr),h}intersectSphere(e,t){zr.subVectors(e.center,this.origin);const n=zr.dot(this.direction),r=zr.dot(zr)-n*n,i=e.radius*e.radius;if(r>i)return null;const o=Math.sqrt(i-r),a=n-o,s=n+o;return a<0&&s<0?null:a<0?this.at(s,t):this.at(a,t)}intersectsSphere(e){return this.distanceSqToPoint(e.center)<=e.radius*e.radius}distanceToPlane(e){const t=e.normal.dot(this.direction);if(0===t)return 0===e.distanceToPoint(this.origin)?0:null;const n=-(this.origin.dot(e.normal)+e.constant)/t;return n>=0?n:null}intersectPlane(e,t){const n=this.distanceToPlane(e);return null===n?null:this.at(n,t)}intersectsPlane(e){const t=e.distanceToPoint(this.origin);return 0===t||e.normal.dot(this.direction)*t<0}intersectBox(e,t){let n,r,i,o,a,s;const c=1/this.direction.x,u=1/this.direction.y,l=1/this.direction.z,f=this.origin;return c>=0?(n=(e.min.x-f.x)*c,r=(e.max.x-f.x)*c):(n=(e.max.x-f.x)*c,r=(e.min.x-f.x)*c),u>=0?(i=(e.min.y-f.y)*u,o=(e.max.y-f.y)*u):(i=(e.max.y-f.y)*u,o=(e.min.y-f.y)*u),n>o||i>r?null:((i>n||n!=n)&&(n=i),(o<r||r!=r)&&(r=o),l>=0?(a=(e.min.z-f.z)*l,s=(e.max.z-f.z)*l):(a=(e.max.z-f.z)*l,s=(e.min.z-f.z)*l),n>s||a>r?null:((a>n||n!=n)&&(n=a),(s<r||r!=r)&&(r=s),r<0?null:this.at(n>=0?n:r,t)))}intersectsBox(e){return null!==this.intersectBox(e,zr)}intersectTriangle(e,t,n,r,i){Or.subVectors(t,e),Dr.subVectors(n,e),Ir.crossVectors(Or,Dr);let o,a=this.direction.dot(Ir);if(a>0){if(r)return null;o=1}else{if(!(a<0))return null;o=-1,a=-a}Ar.subVectors(this.origin,e);const s=o*this.direction.dot(Dr.crossVectors(Ar,Dr));if(s<0)return null;const c=o*this.direction.dot(Or.cross(Ar));if(c<0)return null;if(s+c>a)return null;const u=-o*Ar.dot(Ir);return u<0?null:this.at(u/a,i)}applyMatrix4(e){return this.origin.applyMatrix4(e),this.direction.transformDirection(e),this}equals(e){return e.origin.equals(this.origin)&&e.direction.equals(this.direction)}clone(){return(new this.constructor).copy(this)}}class Fr{constructor(){this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],arguments.length>0&&console.error("THREE.Matrix4: the constructor no longer reads arguments. use .set() instead.")}set(e,t,n,r,i,o,a,s,c,u,l,f,h,v,d,p){const m=this.elements;return m[0]=e,m[4]=t,m[8]=n,m[12]=r,m[1]=i,m[5]=o,m[9]=a,m[13]=s,m[2]=c,m[6]=u,m[10]=l,m[14]=f,m[3]=h,m[7]=v,m[11]=d,m[15]=p,this}identity(){return this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),this}clone(){return(new Fr).fromArray(this.elements)}copy(e){const t=this.elements,n=e.elements;return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],this}copyPosition(e){const t=this.elements,n=e.elements;return t[12]=n[12],t[13]=n[13],t[14]=n[14],this}setFromMatrix3(e){const t=e.elements;return this.set(t[0],t[3],t[6],0,t[1],t[4],t[7],0,t[2],t[5],t[8],0,0,0,0,1),this}extractBasis(e,t,n){return e.setFromMatrixColumn(this,0),t.setFromMatrixColumn(this,1),n.setFromMatrixColumn(this,2),this}makeBasis(e,t,n){return this.set(e.x,t.x,n.x,0,e.y,t.y,n.y,0,e.z,t.z,n.z,0,0,0,0,1),this}extractRotation(e){const t=this.elements,n=e.elements,r=1/jr.setFromMatrixColumn(e,0).length(),i=1/jr.setFromMatrixColumn(e,1).length(),o=1/jr.setFromMatrixColumn(e,2).length();return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t[3]=0,t[4]=n[4]*i,t[5]=n[5]*i,t[6]=n[6]*i,t[7]=0,t[8]=n[8]*o,t[9]=n[9]*o,t[10]=n[10]*o,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this}makeRotationFromEuler(e){e&&e.isEuler||console.error("THREE.Matrix4: .makeRotationFromEuler() now expects a Euler rotation rather than a Vector3 and order.");const t=this.elements,n=e.x,r=e.y,i=e.z,o=Math.cos(n),a=Math.sin(n),s=Math.cos(r),c=Math.sin(r),u=Math.cos(i),l=Math.sin(i);if("XYZ"===e.order){const e=o*u,n=o*l,r=a*u,i=a*l;t[0]=s*u,t[4]=-s*l,t[8]=c,t[1]=n+r*c,t[5]=e-i*c,t[9]=-a*s,t[2]=i-e*c,t[6]=r+n*c,t[10]=o*s}else if("YXZ"===e.order){const e=s*u,n=s*l,r=c*u,i=c*l;t[0]=e+i*a,t[4]=r*a-n,t[8]=o*c,t[1]=o*l,t[5]=o*u,t[9]=-a,t[2]=n*a-r,t[6]=i+e*a,t[10]=o*s}else if("ZXY"===e.order){const e=s*u,n=s*l,r=c*u,i=c*l;t[0]=e-i*a,t[4]=-o*l,t[8]=r+n*a,t[1]=n+r*a,t[5]=o*u,t[9]=i-e*a,t[2]=-o*c,t[6]=a,t[10]=o*s}else if("ZYX"===e.order){const e=o*u,n=o*l,r=a*u,i=a*l;t[0]=s*u,t[4]=r*c-n,t[8]=e*c+i,t[1]=s*l,t[5]=i*c+e,t[9]=n*c-r,t[2]=-c,t[6]=a*s,t[10]=o*s}else if("YZX"===e.order){const e=o*s,n=o*c,r=a*s,i=a*c;t[0]=s*u,t[4]=i-e*l,t[8]=r*l+n,t[1]=l,t[5]=o*u,t[9]=-a*u,t[2]=-c*u,t[6]=n*l+r,t[10]=e-i*l}else if("XZY"===e.order){const e=o*s,n=o*c,r=a*s,i=a*c;t[0]=s*u,t[4]=-l,t[8]=c*u,t[1]=e*l+i,t[5]=o*u,t[9]=n*l-r,t[2]=r*l-n,t[6]=a*u,t[10]=i*l+e}return t[3]=0,t[7]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this}makeRotationFromQuaternion(e){return this.compose(Br,e,Gr)}lookAt(e,t,n){const r=this.elements;return Vr.subVectors(e,t),0===Vr.lengthSq()&&(Vr.z=1),Vr.normalize(),Nr.crossVectors(n,Vr),0===Nr.lengthSq()&&(1===Math.abs(n.z)?Vr.x+=1e-4:Vr.z+=1e-4,Vr.normalize(),Nr.crossVectors(n,Vr)),Nr.normalize(),Hr.crossVectors(Vr,Nr),r[0]=Nr.x,r[4]=Hr.x,r[8]=Vr.x,r[1]=Nr.y,r[5]=Hr.y,r[9]=Vr.y,r[2]=Nr.z,r[6]=Hr.z,r[10]=Vr.z,this}multiply(e,t){return void 0!==t?(console.warn("THREE.Matrix4: .multiply() now only accepts one argument. Use .multiplyMatrices( a, b ) instead."),this.multiplyMatrices(e,t)):this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,t){const n=e.elements,r=t.elements,i=this.elements,o=n[0],a=n[4],s=n[8],c=n[12],u=n[1],l=n[5],f=n[9],h=n[13],v=n[2],d=n[6],p=n[10],m=n[14],y=n[3],g=n[7],x=n[11],b=n[15],w=r[0],M=r[4],_=r[8],S=r[12],P=r[1],T=r[5],R=r[9],E=r[13],z=r[2],L=r[6],C=r[10],A=r[14],O=r[3],D=r[7],I=r[11],k=r[15];return i[0]=o*w+a*P+s*z+c*O,i[4]=o*M+a*T+s*L+c*D,i[8]=o*_+a*R+s*C+c*I,i[12]=o*S+a*E+s*A+c*k,i[1]=u*w+l*P+f*z+h*O,i[5]=u*M+l*T+f*L+h*D,i[9]=u*_+l*R+f*C+h*I,i[13]=u*S+l*E+f*A+h*k,i[2]=v*w+d*P+p*z+m*O,i[6]=v*M+d*T+p*L+m*D,i[10]=v*_+d*R+p*C+m*I,i[14]=v*S+d*E+p*A+m*k,i[3]=y*w+g*P+x*z+b*O,i[7]=y*M+g*T+x*L+b*D,i[11]=y*_+g*R+x*C+b*I,i[15]=y*S+g*E+x*A+b*k,this}multiplyScalar(e){const t=this.elements;return t[0]*=e,t[4]*=e,t[8]*=e,t[12]*=e,t[1]*=e,t[5]*=e,t[9]*=e,t[13]*=e,t[2]*=e,t[6]*=e,t[10]*=e,t[14]*=e,t[3]*=e,t[7]*=e,t[11]*=e,t[15]*=e,this}determinant(){const e=this.elements,t=e[0],n=e[4],r=e[8],i=e[12],o=e[1],a=e[5],s=e[9],c=e[13],u=e[2],l=e[6],f=e[10],h=e[14];return e[3]*(+i*s*l-r*c*l-i*a*f+n*c*f+r*a*h-n*s*h)+e[7]*(+t*s*h-t*c*f+i*o*f-r*o*h+r*c*u-i*s*u)+e[11]*(+t*c*l-t*a*h-i*o*l+n*o*h+i*a*u-n*c*u)+e[15]*(-r*a*u-t*s*l+t*a*f+r*o*l-n*o*f+n*s*u)}transpose(){const e=this.elements;let t;return t=e[1],e[1]=e[4],e[4]=t,t=e[2],e[2]=e[8],e[8]=t,t=e[6],e[6]=e[9],e[9]=t,t=e[3],e[3]=e[12],e[12]=t,t=e[7],e[7]=e[13],e[13]=t,t=e[11],e[11]=e[14],e[14]=t,this}setPosition(e,t,n){const r=this.elements;return e.isVector3?(r[12]=e.x,r[13]=e.y,r[14]=e.z):(r[12]=e,r[13]=t,r[14]=n),this}invert(){const e=this.elements,t=e[0],n=e[1],r=e[2],i=e[3],o=e[4],a=e[5],s=e[6],c=e[7],u=e[8],l=e[9],f=e[10],h=e[11],v=e[12],d=e[13],p=e[14],m=e[15],y=l*p*c-d*f*c+d*s*h-a*p*h-l*s*m+a*f*m,g=v*f*c-u*p*c-v*s*h+o*p*h+u*s*m-o*f*m,x=u*d*c-v*l*c+v*a*h-o*d*h-u*a*m+o*l*m,b=v*l*s-u*d*s-v*a*f+o*d*f+u*a*p-o*l*p,w=t*y+n*g+r*x+i*b;if(0===w)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);const M=1/w;return e[0]=y*M,e[1]=(d*f*i-l*p*i-d*r*h+n*p*h+l*r*m-n*f*m)*M,e[2]=(a*p*i-d*s*i+d*r*c-n*p*c-a*r*m+n*s*m)*M,e[3]=(l*s*i-a*f*i-l*r*c+n*f*c+a*r*h-n*s*h)*M,e[4]=g*M,e[5]=(u*p*i-v*f*i+v*r*h-t*p*h-u*r*m+t*f*m)*M,e[6]=(v*s*i-o*p*i-v*r*c+t*p*c+o*r*m-t*s*m)*M,e[7]=(o*f*i-u*s*i+u*r*c-t*f*c-o*r*h+t*s*h)*M,e[8]=x*M,e[9]=(v*l*i-u*d*i-v*n*h+t*d*h+u*n*m-t*l*m)*M,e[10]=(o*d*i-v*a*i+v*n*c-t*d*c-o*n*m+t*a*m)*M,e[11]=(u*a*i-o*l*i-u*n*c+t*l*c+o*n*h-t*a*h)*M,e[12]=b*M,e[13]=(u*d*r-v*l*r+v*n*f-t*d*f-u*n*p+t*l*p)*M,e[14]=(v*a*r-o*d*r-v*n*s+t*d*s+o*n*p-t*a*p)*M,e[15]=(o*l*r-u*a*r+u*n*s-t*l*s-o*n*f+t*a*f)*M,this}scale(e){const t=this.elements,n=e.x,r=e.y,i=e.z;return t[0]*=n,t[4]*=r,t[8]*=i,t[1]*=n,t[5]*=r,t[9]*=i,t[2]*=n,t[6]*=r,t[10]*=i,t[3]*=n,t[7]*=r,t[11]*=i,this}getMaxScaleOnAxis(){const e=this.elements,t=e[0]*e[0]+e[1]*e[1]+e[2]*e[2],n=e[4]*e[4]+e[5]*e[5]+e[6]*e[6],r=e[8]*e[8]+e[9]*e[9]+e[10]*e[10];return Math.sqrt(Math.max(t,n,r))}makeTranslation(e,t,n){return this.set(1,0,0,e,0,1,0,t,0,0,1,n,0,0,0,1),this}makeRotationX(e){const t=Math.cos(e),n=Math.sin(e);return this.set(1,0,0,0,0,t,-n,0,0,n,t,0,0,0,0,1),this}makeRotationY(e){const t=Math.cos(e),n=Math.sin(e);return this.set(t,0,n,0,0,1,0,0,-n,0,t,0,0,0,0,1),this}makeRotationZ(e){const t=Math.cos(e),n=Math.sin(e);return this.set(t,-n,0,0,n,t,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(e,t){const n=Math.cos(t),r=Math.sin(t),i=1-n,o=e.x,a=e.y,s=e.z,c=i*o,u=i*a;return this.set(c*o+n,c*a-r*s,c*s+r*a,0,c*a+r*s,u*a+n,u*s-r*o,0,c*s-r*a,u*s+r*o,i*s*s+n,0,0,0,0,1),this}makeScale(e,t,n){return this.set(e,0,0,0,0,t,0,0,0,0,n,0,0,0,0,1),this}makeShear(e,t,n){return this.set(1,t,n,0,e,1,n,0,e,t,1,0,0,0,0,1),this}compose(e,t,n){const r=this.elements,i=t._x,o=t._y,a=t._z,s=t._w,c=i+i,u=o+o,l=a+a,f=i*c,h=i*u,v=i*l,d=o*u,p=o*l,m=a*l,y=s*c,g=s*u,x=s*l,b=n.x,w=n.y,M=n.z;return r[0]=(1-(d+m))*b,r[1]=(h+x)*b,r[2]=(v-g)*b,r[3]=0,r[4]=(h-x)*w,r[5]=(1-(f+m))*w,r[6]=(p+y)*w,r[7]=0,r[8]=(v+g)*M,r[9]=(p-y)*M,r[10]=(1-(f+d))*M,r[11]=0,r[12]=e.x,r[13]=e.y,r[14]=e.z,r[15]=1,this}decompose(e,t,n){const r=this.elements;let i=jr.set(r[0],r[1],r[2]).length();const o=jr.set(r[4],r[5],r[6]).length(),a=jr.set(r[8],r[9],r[10]).length();this.determinant()<0&&(i=-i),e.x=r[12],e.y=r[13],e.z=r[14],Ur.copy(this);const s=1/i,c=1/o,u=1/a;return Ur.elements[0]*=s,Ur.elements[1]*=s,Ur.elements[2]*=s,Ur.elements[4]*=c,Ur.elements[5]*=c,Ur.elements[6]*=c,Ur.elements[8]*=u,Ur.elements[9]*=u,Ur.elements[10]*=u,t.setFromRotationMatrix(Ur),n.x=i,n.y=o,n.z=a,this}makePerspective(e,t,n,r,i,o){void 0===o&&console.warn("THREE.Matrix4: .makePerspective() has been redefined and has a new signature. Please check the docs.");const a=this.elements,s=2*i/(t-e),c=2*i/(n-r),u=(t+e)/(t-e),l=(n+r)/(n-r),f=-(o+i)/(o-i),h=-2*o*i/(o-i);return a[0]=s,a[4]=0,a[8]=u,a[12]=0,a[1]=0,a[5]=c,a[9]=l,a[13]=0,a[2]=0,a[6]=0,a[10]=f,a[14]=h,a[3]=0,a[7]=0,a[11]=-1,a[15]=0,this}makeOrthographic(e,t,n,r,i,o){const a=this.elements,s=1/(t-e),c=1/(n-r),u=1/(o-i),l=(t+e)*s,f=(n+r)*c,h=(o+i)*u;return a[0]=2*s,a[4]=0,a[8]=0,a[12]=-l,a[1]=0,a[5]=2*c,a[9]=0,a[13]=-f,a[2]=0,a[6]=0,a[10]=-2*u,a[14]=-h,a[3]=0,a[7]=0,a[11]=0,a[15]=1,this}equals(e){const t=this.elements,n=e.elements;for(let e=0;e<16;e++)if(t[e]!==n[e])return!1;return!0}fromArray(e,t=0){for(let n=0;n<16;n++)this.elements[n]=e[n+t];return this}toArray(e=[],t=0){const n=this.elements;return e[t]=n[0],e[t+1]=n[1],e[t+2]=n[2],e[t+3]=n[3],e[t+4]=n[4],e[t+5]=n[5],e[t+6]=n[6],e[t+7]=n[7],e[t+8]=n[8],e[t+9]=n[9],e[t+10]=n[10],e[t+11]=n[11],e[t+12]=n[12],e[t+13]=n[13],e[t+14]=n[14],e[t+15]=n[15],e}}Fr.prototype.isMatrix4=!0;const jr=new ar,Ur=new Fr,Br=new ar(0,0,0),Gr=new ar(1,1,1),Nr=new ar,Hr=new ar,Vr=new ar,Wr=new Fr,Zr=new or;class qr{constructor(e=0,t=0,n=0,r=qr.DefaultOrder){this._x=e,this._y=t,this._z=n,this._order=r}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get order(){return this._order}set order(e){this._order=e,this._onChangeCallback()}set(e,t,n,r){return this._x=e,this._y=t,this._z=n,this._order=r||this._order,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._order)}copy(e){return this._x=e._x,this._y=e._y,this._z=e._z,this._order=e._order,this._onChangeCallback(),this}setFromRotationMatrix(e,t,n){const r=e.elements,i=r[0],o=r[4],a=r[8],s=r[1],c=r[5],u=r[9],l=r[2],f=r[6],h=r[10];switch(t=t||this._order){case"XYZ":this._y=Math.asin(Nn(a,-1,1)),Math.abs(a)<.9999999?(this._x=Math.atan2(-u,h),this._z=Math.atan2(-o,i)):(this._x=Math.atan2(f,c),this._z=0);break;case"YXZ":this._x=Math.asin(-Nn(u,-1,1)),Math.abs(u)<.9999999?(this._y=Math.atan2(a,h),this._z=Math.atan2(s,c)):(this._y=Math.atan2(-l,i),this._z=0);break;case"ZXY":this._x=Math.asin(Nn(f,-1,1)),Math.abs(f)<.9999999?(this._y=Math.atan2(-l,h),this._z=Math.atan2(-o,c)):(this._y=0,this._z=Math.atan2(s,i));break;case"ZYX":this._y=Math.asin(-Nn(l,-1,1)),Math.abs(l)<.9999999?(this._x=Math.atan2(f,h),this._z=Math.atan2(s,i)):(this._x=0,this._z=Math.atan2(-o,c));break;case"YZX":this._z=Math.asin(Nn(s,-1,1)),Math.abs(s)<.9999999?(this._x=Math.atan2(-u,c),this._y=Math.atan2(-l,i)):(this._x=0,this._y=Math.atan2(a,h));break;case"XZY":this._z=Math.asin(-Nn(o,-1,1)),Math.abs(o)<.9999999?(this._x=Math.atan2(f,c),this._y=Math.atan2(a,i)):(this._x=Math.atan2(-u,h),this._y=0);break;default:console.warn("THREE.Euler: .setFromRotationMatrix() encountered an unknown order: "+t)}return this._order=t,!1!==n&&this._onChangeCallback(),this}setFromQuaternion(e,t,n){return Wr.makeRotationFromQuaternion(e),this.setFromRotationMatrix(Wr,t,n)}setFromVector3(e,t){return this.set(e.x,e.y,e.z,t||this._order)}reorder(e){return Zr.setFromEuler(this),this.setFromQuaternion(Zr,e)}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._order===this._order}fromArray(e){return this._x=e[0],this._y=e[1],this._z=e[2],void 0!==e[3]&&(this._order=e[3]),this._onChangeCallback(),this}toArray(e=[],t=0){return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._order,e}toVector3(e){return e?e.set(this._x,this._y,this._z):new ar(this._x,this._y,this._z)}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}}qr.prototype.isEuler=!0,qr.DefaultOrder="XYZ",qr.RotationOrders=["XYZ","YZX","ZXY","XZY","YXZ","ZYX"];class Yr{constructor(){this.mask=1}set(e){this.mask=1<<e|0}enable(e){this.mask|=1<<e|0}enableAll(){this.mask=-1}toggle(e){this.mask^=1<<e|0}disable(e){this.mask&=~(1<<e|0)}disableAll(){this.mask=0}test(e){return 0!=(this.mask&e.mask)}}let Xr=0;const Kr=new ar,Qr=new or,Jr=new Fr,$r=new ar,ei=new ar,ti=new ar,ni=new or,ri=new ar(1,0,0),ii=new ar(0,1,0),oi=new ar(0,0,1),ai={type:"added"},si={type:"removed"};class ci extends kn{constructor(){super(),Object.defineProperty(this,"id",{value:Xr++}),this.uuid=Gn(),this.name="",this.type="Object3D",this.parent=null,this.children=[],this.up=ci.DefaultUp.clone();const e=new ar,t=new qr,n=new or,r=new ar(1,1,1);t._onChange((function(){n.setFromEuler(t,!1)})),n._onChange((function(){t.setFromQuaternion(n,void 0,!1)})),Object.defineProperties(this,{position:{configurable:!0,enumerable:!0,value:e},rotation:{configurable:!0,enumerable:!0,value:t},quaternion:{configurable:!0,enumerable:!0,value:n},scale:{configurable:!0,enumerable:!0,value:r},modelViewMatrix:{value:new Fr},normalMatrix:{value:new Kn}}),this.matrix=new Fr,this.matrixWorld=new Fr,this.matrixAutoUpdate=ci.DefaultMatrixAutoUpdate,this.matrixWorldNeedsUpdate=!1,this.layers=new Yr,this.visible=!0,this.castShadow=!1,this.receiveShadow=!1,this.frustumCulled=!0,this.renderOrder=0,this.animations=[],this.userData={}}onBeforeRender(){}onAfterRender(){}applyMatrix4(e){this.matrixAutoUpdate&&this.updateMatrix(),this.matrix.premultiply(e),this.matrix.decompose(this.position,this.quaternion,this.scale)}applyQuaternion(e){return this.quaternion.premultiply(e),this}setRotationFromAxisAngle(e,t){this.quaternion.setFromAxisAngle(e,t)}setRotationFromEuler(e){this.quaternion.setFromEuler(e,!0)}setRotationFromMatrix(e){this.quaternion.setFromRotationMatrix(e)}setRotationFromQuaternion(e){this.quaternion.copy(e)}rotateOnAxis(e,t){return Qr.setFromAxisAngle(e,t),this.quaternion.multiply(Qr),this}rotateOnWorldAxis(e,t){return Qr.setFromAxisAngle(e,t),this.quaternion.premultiply(Qr),this}rotateX(e){return this.rotateOnAxis(ri,e)}rotateY(e){return this.rotateOnAxis(ii,e)}rotateZ(e){return this.rotateOnAxis(oi,e)}translateOnAxis(e,t){return Kr.copy(e).applyQuaternion(this.quaternion),this.position.add(Kr.multiplyScalar(t)),this}translateX(e){return this.translateOnAxis(ri,e)}translateY(e){return this.translateOnAxis(ii,e)}translateZ(e){return this.translateOnAxis(oi,e)}localToWorld(e){return e.applyMatrix4(this.matrixWorld)}worldToLocal(e){return e.applyMatrix4(Jr.copy(this.matrixWorld).invert())}lookAt(e,t,n){e.isVector3?$r.copy(e):$r.set(e,t,n);const r=this.parent;this.updateWorldMatrix(!0,!1),ei.setFromMatrixPosition(this.matrixWorld),this.isCamera||this.isLight?Jr.lookAt(ei,$r,this.up):Jr.lookAt($r,ei,this.up),this.quaternion.setFromRotationMatrix(Jr),r&&(Jr.extractRotation(r.matrixWorld),Qr.setFromRotationMatrix(Jr),this.quaternion.premultiply(Qr.invert()))}add(e){if(arguments.length>1){for(let e=0;e<arguments.length;e++)this.add(arguments[e]);return this}return e===this?(console.error("THREE.Object3D.add: object can't be added as a child of itself.",e),this):(e&&e.isObject3D?(null!==e.parent&&e.parent.remove(e),e.parent=this,this.children.push(e),e.dispatchEvent(ai)):console.error("THREE.Object3D.add: object not an instance of THREE.Object3D.",e),this)}remove(e){if(arguments.length>1){for(let e=0;e<arguments.length;e++)this.remove(arguments[e]);return this}const t=this.children.indexOf(e);return-1!==t&&(e.parent=null,this.children.splice(t,1),e.dispatchEvent(si)),this}clear(){for(let e=0;e<this.children.length;e++){const t=this.children[e];t.parent=null,t.dispatchEvent(si)}return this.children.length=0,this}attach(e){return this.updateWorldMatrix(!0,!1),Jr.copy(this.matrixWorld).invert(),null!==e.parent&&(e.parent.updateWorldMatrix(!0,!1),Jr.multiply(e.parent.matrixWorld)),e.applyMatrix4(Jr),this.add(e),e.updateWorldMatrix(!1,!0),this}getObjectById(e){return this.getObjectByProperty("id",e)}getObjectByName(e){return this.getObjectByProperty("name",e)}getObjectByProperty(e,t){if(this[e]===t)return this;for(let n=0,r=this.children.length;n<r;n++){const r=this.children[n].getObjectByProperty(e,t);if(void 0!==r)return r}}getWorldPosition(e){return void 0===e&&(console.warn("THREE.Object3D: .getWorldPosition() target is now required"),e=new ar),this.updateWorldMatrix(!0,!1),e.setFromMatrixPosition(this.matrixWorld)}getWorldQuaternion(e){return void 0===e&&(console.warn("THREE.Object3D: .getWorldQuaternion() target is now required"),e=new or),this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(ei,e,ti),e}getWorldScale(e){return void 0===e&&(console.warn("THREE.Object3D: .getWorldScale() target is now required"),e=new ar),this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(ei,ni,e),e}getWorldDirection(e){void 0===e&&(console.warn("THREE.Object3D: .getWorldDirection() target is now required"),e=new ar),this.updateWorldMatrix(!0,!1);const t=this.matrixWorld.elements;return e.set(t[8],t[9],t[10]).normalize()}raycast(){}traverse(e){e(this);const t=this.children;for(let n=0,r=t.length;n<r;n++)t[n].traverse(e)}traverseVisible(e){if(!1===this.visible)return;e(this);const t=this.children;for(let n=0,r=t.length;n<r;n++)t[n].traverseVisible(e)}traverseAncestors(e){const t=this.parent;null!==t&&(e(t),t.traverseAncestors(e))}updateMatrix(){this.matrix.compose(this.position,this.quaternion,this.scale),this.matrixWorldNeedsUpdate=!0}updateMatrixWorld(e){this.matrixAutoUpdate&&this.updateMatrix(),(this.matrixWorldNeedsUpdate||e)&&(null===this.parent?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix),this.matrixWorldNeedsUpdate=!1,e=!0);const t=this.children;for(let n=0,r=t.length;n<r;n++)t[n].updateMatrixWorld(e)}updateWorldMatrix(e,t){const n=this.parent;if(!0===e&&null!==n&&n.updateWorldMatrix(!0,!1),this.matrixAutoUpdate&&this.updateMatrix(),null===this.parent?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix),!0===t){const e=this.children;for(let t=0,n=e.length;t<n;t++)e[t].updateWorldMatrix(!1,!0)}}toJSON(e){const t=void 0===e||"string"==typeof e,n={};t&&(e={geometries:{},materials:{},textures:{},images:{},shapes:{},skeletons:{},animations:{}},n.metadata={version:4.5,type:"Object",generator:"Object3D.toJSON"});const r={};function i(t,n){return void 0===t[n.uuid]&&(t[n.uuid]=n.toJSON(e)),n.uuid}if(r.uuid=this.uuid,r.type=this.type,""!==this.name&&(r.name=this.name),!0===this.castShadow&&(r.castShadow=!0),!0===this.receiveShadow&&(r.receiveShadow=!0),!1===this.visible&&(r.visible=!1),!1===this.frustumCulled&&(r.frustumCulled=!1),0!==this.renderOrder&&(r.renderOrder=this.renderOrder),"{}"!==JSON.stringify(this.userData)&&(r.userData=this.userData),r.layers=this.layers.mask,r.matrix=this.matrix.toArray(),!1===this.matrixAutoUpdate&&(r.matrixAutoUpdate=!1),this.isInstancedMesh&&(r.type="InstancedMesh",r.count=this.count,r.instanceMatrix=this.instanceMatrix.toJSON(),null!==this.instanceColor&&(r.instanceColor=this.instanceColor.toJSON())),this.isMesh||this.isLine||this.isPoints){r.geometry=i(e.geometries,this.geometry);const t=this.geometry.parameters;if(void 0!==t&&void 0!==t.shapes){const n=t.shapes;if(Array.isArray(n))for(let t=0,r=n.length;t<r;t++){const r=n[t];i(e.shapes,r)}else i(e.shapes,n)}}if(this.isSkinnedMesh&&(r.bindMode=this.bindMode,r.bindMatrix=this.bindMatrix.toArray(),void 0!==this.skeleton&&(i(e.skeletons,this.skeleton),r.skeleton=this.skeleton.uuid)),void 0!==this.material)if(Array.isArray(this.material)){const t=[];for(let n=0,r=this.material.length;n<r;n++)t.push(i(e.materials,this.material[n]));r.material=t}else r.material=i(e.materials,this.material);if(this.children.length>0){r.children=[];for(let t=0;t<this.children.length;t++)r.children.push(this.children[t].toJSON(e).object)}if(this.animations.length>0){r.animations=[];for(let t=0;t<this.animations.length;t++){const n=this.animations[t];r.animations.push(i(e.animations,n))}}if(t){const t=o(e.geometries),r=o(e.materials),i=o(e.textures),a=o(e.images),s=o(e.shapes),c=o(e.skeletons),u=o(e.animations);t.length>0&&(n.geometries=t),r.length>0&&(n.materials=r),i.length>0&&(n.textures=i),a.length>0&&(n.images=a),s.length>0&&(n.shapes=s),c.length>0&&(n.skeletons=c),u.length>0&&(n.animations=u)}return n.object=r,n;function o(e){const t=[];for(const n in e){const r=e[n];delete r.metadata,t.push(r)}return t}}clone(e){return(new this.constructor).copy(this,e)}copy(e,t=!0){if(this.name=e.name,this.up.copy(e.up),this.position.copy(e.position),this.rotation.order=e.rotation.order,this.quaternion.copy(e.quaternion),this.scale.copy(e.scale),this.matrix.copy(e.matrix),this.matrixWorld.copy(e.matrixWorld),this.matrixAutoUpdate=e.matrixAutoUpdate,this.matrixWorldNeedsUpdate=e.matrixWorldNeedsUpdate,this.layers.mask=e.layers.mask,this.visible=e.visible,this.castShadow=e.castShadow,this.receiveShadow=e.receiveShadow,this.frustumCulled=e.frustumCulled,this.renderOrder=e.renderOrder,this.userData=JSON.parse(JSON.stringify(e.userData)),!0===t)for(let t=0;t<e.children.length;t++){const n=e.children[t];this.add(n.clone())}return this}}ci.DefaultUp=new ar(0,1,0),ci.DefaultMatrixAutoUpdate=!0,ci.prototype.isObject3D=!0;const ui=new ar,li=new ar,fi=new Kn;class hi{constructor(e=new ar(1,0,0),t=0){this.normal=e,this.constant=t}set(e,t){return this.normal.copy(e),this.constant=t,this}setComponents(e,t,n,r){return this.normal.set(e,t,n),this.constant=r,this}setFromNormalAndCoplanarPoint(e,t){return this.normal.copy(e),this.constant=-t.dot(this.normal),this}setFromCoplanarPoints(e,t,n){const r=ui.subVectors(n,t).cross(li.subVectors(e,t)).normalize();return this.setFromNormalAndCoplanarPoint(r,e),this}copy(e){return this.normal.copy(e.normal),this.constant=e.constant,this}normalize(){const e=1/this.normal.length();return this.normal.multiplyScalar(e),this.constant*=e,this}negate(){return this.constant*=-1,this.normal.negate(),this}distanceToPoint(e){return this.normal.dot(e)+this.constant}distanceToSphere(e){return this.distanceToPoint(e.center)-e.radius}projectPoint(e,t){return void 0===t&&(console.warn("THREE.Plane: .projectPoint() target is now required"),t=new ar),t.copy(this.normal).multiplyScalar(-this.distanceToPoint(e)).add(e)}intersectLine(e,t){void 0===t&&(console.warn("THREE.Plane: .intersectLine() target is now required"),t=new ar);const n=e.delta(ui),r=this.normal.dot(n);if(0===r)return 0===this.distanceToPoint(e.start)?t.copy(e.start):null;const i=-(e.start.dot(this.normal)+this.constant)/r;return i<0||i>1?null:t.copy(n).multiplyScalar(i).add(e.start)}intersectsLine(e){const t=this.distanceToPoint(e.start),n=this.distanceToPoint(e.end);return t<0&&n>0||n<0&&t>0}intersectsBox(e){return e.intersectsPlane(this)}intersectsSphere(e){return e.intersectsPlane(this)}coplanarPoint(e){return void 0===e&&(console.warn("THREE.Plane: .coplanarPoint() target is now required"),e=new ar),e.copy(this.normal).multiplyScalar(-this.constant)}applyMatrix4(e,t){const n=t||fi.getNormalMatrix(e),r=this.coplanarPoint(ui).applyMatrix4(e),i=this.normal.applyMatrix3(n).normalize();return this.constant=-r.dot(i),this}translate(e){return this.constant-=e.dot(this.normal),this}equals(e){return e.normal.equals(this.normal)&&e.constant===this.constant}clone(){return(new this.constructor).copy(this)}}hi.prototype.isPlane=!0;const vi=new ar,di=new ar,pi=new ar,mi=new ar,yi=new ar,gi=new ar,xi=new ar,bi=new ar,wi=new ar,Mi=new ar;class _i{constructor(e=new ar,t=new ar,n=new ar){this.a=e,this.b=t,this.c=n}static getNormal(e,t,n,r){void 0===r&&(console.warn("THREE.Triangle: .getNormal() target is now required"),r=new ar),r.subVectors(n,t),vi.subVectors(e,t),r.cross(vi);const i=r.lengthSq();return i>0?r.multiplyScalar(1/Math.sqrt(i)):r.set(0,0,0)}static getBarycoord(e,t,n,r,i){vi.subVectors(r,t),di.subVectors(n,t),pi.subVectors(e,t);const o=vi.dot(vi),a=vi.dot(di),s=vi.dot(pi),c=di.dot(di),u=di.dot(pi),l=o*c-a*a;if(void 0===i&&(console.warn("THREE.Triangle: .getBarycoord() target is now required"),i=new ar),0===l)return i.set(-2,-1,-1);const f=1/l,h=(c*s-a*u)*f,v=(o*u-a*s)*f;return i.set(1-h-v,v,h)}static containsPoint(e,t,n,r){return this.getBarycoord(e,t,n,r,mi),mi.x>=0&&mi.y>=0&&mi.x+mi.y<=1}static getUV(e,t,n,r,i,o,a,s){return this.getBarycoord(e,t,n,r,mi),s.set(0,0),s.addScaledVector(i,mi.x),s.addScaledVector(o,mi.y),s.addScaledVector(a,mi.z),s}static isFrontFacing(e,t,n,r){return vi.subVectors(n,t),di.subVectors(e,t),vi.cross(di).dot(r)<0}set(e,t,n){return this.a.copy(e),this.b.copy(t),this.c.copy(n),this}setFromPointsAndIndices(e,t,n,r){return this.a.copy(e[t]),this.b.copy(e[n]),this.c.copy(e[r]),this}clone(){return(new this.constructor).copy(this)}copy(e){return this.a.copy(e.a),this.b.copy(e.b),this.c.copy(e.c),this}getArea(){return vi.subVectors(this.c,this.b),di.subVectors(this.a,this.b),.5*vi.cross(di).length()}getMidpoint(e){return void 0===e&&(console.warn("THREE.Triangle: .getMidpoint() target is now required"),e=new ar),e.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)}getNormal(e){return _i.getNormal(this.a,this.b,this.c,e)}getPlane(e){return void 0===e&&(console.warn("THREE.Triangle: .getPlane() target is now required"),e=new hi),e.setFromCoplanarPoints(this.a,this.b,this.c)}getBarycoord(e,t){return _i.getBarycoord(e,this.a,this.b,this.c,t)}getUV(e,t,n,r,i){return _i.getUV(e,this.a,this.b,this.c,t,n,r,i)}containsPoint(e){return _i.containsPoint(e,this.a,this.b,this.c)}isFrontFacing(e){return _i.isFrontFacing(this.a,this.b,this.c,e)}intersectsBox(e){return e.intersectsTriangle(this)}closestPointToPoint(e,t){void 0===t&&(console.warn("THREE.Triangle: .closestPointToPoint() target is now required"),t=new ar);const n=this.a,r=this.b,i=this.c;let o,a;yi.subVectors(r,n),gi.subVectors(i,n),bi.subVectors(e,n);const s=yi.dot(bi),c=gi.dot(bi);if(s<=0&&c<=0)return t.copy(n);wi.subVectors(e,r);const u=yi.dot(wi),l=gi.dot(wi);if(u>=0&&l<=u)return t.copy(r);const f=s*l-u*c;if(f<=0&&s>=0&&u<=0)return o=s/(s-u),t.copy(n).addScaledVector(yi,o);Mi.subVectors(e,i);const h=yi.dot(Mi),v=gi.dot(Mi);if(v>=0&&h<=v)return t.copy(i);const d=h*c-s*v;if(d<=0&&c>=0&&v<=0)return a=c/(c-v),t.copy(n).addScaledVector(gi,a);const p=u*v-h*l;if(p<=0&&l-u>=0&&h-v>=0)return xi.subVectors(i,r),a=(l-u)/(l-u+(h-v)),t.copy(r).addScaledVector(xi,a);const m=1/(p+d+f);return o=d*m,a=f*m,t.copy(n).addScaledVector(yi,o).addScaledVector(gi,a)}equals(e){return e.a.equals(this.a)&&e.b.equals(this.b)&&e.c.equals(this.c)}}let Si=0;function Pi(){Object.defineProperty(this,"id",{value:Si++}),this.uuid=Gn(),this.name="",this.type="Material",this.fog=!0,this.blending=b,this.side=d,this.vertexColors=!1,this.opacity=1,this.transparent=!1,this.blendSrc=D,this.blendDst=I,this.blendEquation=P,this.blendSrcAlpha=null,this.blendDstAlpha=null,this.blendEquationAlpha=null,this.depthFunc=V,this.depthTest=!0,this.depthWrite=!0,this.stencilWriteMask=255,this.stencilFunc=Sn,this.stencilRef=0,this.stencilFuncMask=255,this.stencilFail=ln,this.stencilZFail=ln,this.stencilZPass=ln,this.stencilWrite=!1,this.clippingPlanes=null,this.clipIntersection=!1,this.clipShadows=!1,this.shadowSide=null,this.colorWrite=!0,this.precision=null,this.polygonOffset=!1,this.polygonOffsetFactor=0,this.polygonOffsetUnits=0,this.dithering=!1,this.alphaTest=0,this.alphaToCoverage=!1,this.premultipliedAlpha=!1,this.visible=!0,this.toneMapped=!0,this.userData={},this.version=0}Pi.prototype=Object.assign(Object.create(kn.prototype),{constructor:Pi,isMaterial:!0,onBuild:function(){},onBeforeCompile:function(){},customProgramCacheKey:function(){return this.onBeforeCompile.toString()},setValues:function(e){if(void 0!==e)for(const t in e){const n=e[t];if(void 0===n){console.warn("THREE.Material: '"+t+"' parameter is undefined.");continue}if("shading"===t){console.warn("THREE."+this.type+": .shading has been removed. Use the boolean .flatShading instead."),this.flatShading=n===y;continue}const r=this[t];void 0!==r?r&&r.isColor?r.set(n):r&&r.isVector3&&n&&n.isVector3?r.copy(n):this[t]=n:console.warn("THREE."+this.type+": '"+t+"' is not a property of this material.")}},toJSON:function(e){const t=void 0===e||"string"==typeof e;t&&(e={textures:{},images:{}});const n={metadata:{version:4.5,type:"Material",generator:"Material.toJSON"}};function r(e){const t=[];for(const n in e){const r=e[n];delete r.metadata,t.push(r)}return t}if(n.uuid=this.uuid,n.type=this.type,""!==this.name&&(n.name=this.name),this.color&&this.color.isColor&&(n.color=this.color.getHex()),void 0!==this.roughness&&(n.roughness=this.roughness),void 0!==this.metalness&&(n.metalness=this.metalness),this.sheen&&this.sheen.isColor&&(n.sheen=this.sheen.getHex()),this.emissive&&this.emissive.isColor&&(n.emissive=this.emissive.getHex()),this.emissiveIntensity&&1!==this.emissiveIntensity&&(n.emissiveIntensity=this.emissiveIntensity),this.specular&&this.specular.isColor&&(n.specular=this.specular.getHex()),void 0!==this.shininess&&(n.shininess=this.shininess),void 0!==this.clearcoat&&(n.clearcoat=this.clearcoat),void 0!==this.clearcoatRoughness&&(n.clearcoatRoughness=this.clearcoatRoughness),this.clearcoatMap&&this.clearcoatMap.isTexture&&(n.clearcoatMap=this.clearcoatMap.toJSON(e).uuid),this.clearcoatRoughnessMap&&this.clearcoatRoughnessMap.isTexture&&(n.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(e).uuid),this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(n.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(e).uuid,n.clearcoatNormalScale=this.clearcoatNormalScale.toArray()),this.map&&this.map.isTexture&&(n.map=this.map.toJSON(e).uuid),this.matcap&&this.matcap.isTexture&&(n.matcap=this.matcap.toJSON(e).uuid),this.alphaMap&&this.alphaMap.isTexture&&(n.alphaMap=this.alphaMap.toJSON(e).uuid),this.lightMap&&this.lightMap.isTexture&&(n.lightMap=this.lightMap.toJSON(e).uuid,n.lightMapIntensity=this.lightMapIntensity),this.aoMap&&this.aoMap.isTexture&&(n.aoMap=this.aoMap.toJSON(e).uuid,n.aoMapIntensity=this.aoMapIntensity),this.bumpMap&&this.bumpMap.isTexture&&(n.bumpMap=this.bumpMap.toJSON(e).uuid,n.bumpScale=this.bumpScale),this.normalMap&&this.normalMap.isTexture&&(n.normalMap=this.normalMap.toJSON(e).uuid,n.normalMapType=this.normalMapType,n.normalScale=this.normalScale.toArray()),this.displacementMap&&this.displacementMap.isTexture&&(n.displacementMap=this.displacementMap.toJSON(e).uuid,n.displacementScale=this.displacementScale,n.displacementBias=this.displacementBias),this.roughnessMap&&this.roughnessMap.isTexture&&(n.roughnessMap=this.roughnessMap.toJSON(e).uuid),this.metalnessMap&&this.metalnessMap.isTexture&&(n.metalnessMap=this.metalnessMap.toJSON(e).uuid),this.emissiveMap&&this.emissiveMap.isTexture&&(n.emissiveMap=this.emissiveMap.toJSON(e).uuid),this.specularMap&&this.specularMap.isTexture&&(n.specularMap=this.specularMap.toJSON(e).uuid),this.envMap&&this.envMap.isTexture&&(n.envMap=this.envMap.toJSON(e).uuid,void 0!==this.combine&&(n.combine=this.combine)),void 0!==this.envMapIntensity&&(n.envMapIntensity=this.envMapIntensity),void 0!==this.reflectivity&&(n.reflectivity=this.reflectivity),void 0!==this.refractionRatio&&(n.refractionRatio=this.refractionRatio),this.gradientMap&&this.gradientMap.isTexture&&(n.gradientMap=this.gradientMap.toJSON(e).uuid),void 0!==this.size&&(n.size=this.size),null!==this.shadowSide&&(n.shadowSide=this.shadowSide),void 0!==this.sizeAttenuation&&(n.sizeAttenuation=this.sizeAttenuation),this.blending!==b&&(n.blending=this.blending),this.side!==d&&(n.side=this.side),this.vertexColors&&(n.vertexColors=!0),this.opacity<1&&(n.opacity=this.opacity),!0===this.transparent&&(n.transparent=this.transparent),n.depthFunc=this.depthFunc,n.depthTest=this.depthTest,n.depthWrite=this.depthWrite,n.colorWrite=this.colorWrite,n.stencilWrite=this.stencilWrite,n.stencilWriteMask=this.stencilWriteMask,n.stencilFunc=this.stencilFunc,n.stencilRef=this.stencilRef,n.stencilFuncMask=this.stencilFuncMask,n.stencilFail=this.stencilFail,n.stencilZFail=this.stencilZFail,n.stencilZPass=this.stencilZPass,this.rotation&&0!==this.rotation&&(n.rotation=this.rotation),!0===this.polygonOffset&&(n.polygonOffset=!0),0!==this.polygonOffsetFactor&&(n.polygonOffsetFactor=this.polygonOffsetFactor),0!==this.polygonOffsetUnits&&(n.polygonOffsetUnits=this.polygonOffsetUnits),this.linewidth&&1!==this.linewidth&&(n.linewidth=this.linewidth),void 0!==this.dashSize&&(n.dashSize=this.dashSize),void 0!==this.gapSize&&(n.gapSize=this.gapSize),void 0!==this.scale&&(n.scale=this.scale),!0===this.dithering&&(n.dithering=!0),this.alphaTest>0&&(n.alphaTest=this.alphaTest),!0===this.alphaToCoverage&&(n.alphaToCoverage=this.alphaToCoverage),!0===this.premultipliedAlpha&&(n.premultipliedAlpha=this.premultipliedAlpha),!0===this.wireframe&&(n.wireframe=this.wireframe),this.wireframeLinewidth>1&&(n.wireframeLinewidth=this.wireframeLinewidth),"round"!==this.wireframeLinecap&&(n.wireframeLinecap=this.wireframeLinecap),"round"!==this.wireframeLinejoin&&(n.wireframeLinejoin=this.wireframeLinejoin),!0===this.morphTargets&&(n.morphTargets=!0),!0===this.morphNormals&&(n.morphNormals=!0),!0===this.skinning&&(n.skinning=!0),!0===this.flatShading&&(n.flatShading=this.flatShading),!1===this.visible&&(n.visible=!1),!1===this.toneMapped&&(n.toneMapped=!1),"{}"!==JSON.stringify(this.userData)&&(n.userData=this.userData),t){const t=r(e.textures),i=r(e.images);t.length>0&&(n.textures=t),i.length>0&&(n.images=i)}return n},clone:function(){return(new this.constructor).copy(this)},copy:function(e){this.name=e.name,this.fog=e.fog,this.blending=e.blending,this.side=e.side,this.vertexColors=e.vertexColors,this.opacity=e.opacity,this.transparent=e.transparent,this.blendSrc=e.blendSrc,this.blendDst=e.blendDst,this.blendEquation=e.blendEquation,this.blendSrcAlpha=e.blendSrcAlpha,this.blendDstAlpha=e.blendDstAlpha,this.blendEquationAlpha=e.blendEquationAlpha,this.depthFunc=e.depthFunc,this.depthTest=e.depthTest,this.depthWrite=e.depthWrite,this.stencilWriteMask=e.stencilWriteMask,this.stencilFunc=e.stencilFunc,this.stencilRef=e.stencilRef,this.stencilFuncMask=e.stencilFuncMask,this.stencilFail=e.stencilFail,this.stencilZFail=e.stencilZFail,this.stencilZPass=e.stencilZPass,this.stencilWrite=e.stencilWrite;const t=e.clippingPlanes;let n=null;if(null!==t){const e=t.length;n=new Array(e);for(let r=0;r!==e;++r)n[r]=t[r].clone()}return this.clippingPlanes=n,this.clipIntersection=e.clipIntersection,this.clipShadows=e.clipShadows,this.shadowSide=e.shadowSide,this.colorWrite=e.colorWrite,this.precision=e.precision,this.polygonOffset=e.polygonOffset,this.polygonOffsetFactor=e.polygonOffsetFactor,this.polygonOffsetUnits=e.polygonOffsetUnits,this.dithering=e.dithering,this.alphaTest=e.alphaTest,this.alphaToCoverage=e.alphaToCoverage,this.premultipliedAlpha=e.premultipliedAlpha,this.visible=e.visible,this.toneMapped=e.toneMapped,this.userData=JSON.parse(JSON.stringify(e.userData)),this},dispose:function(){this.dispatchEvent({type:"dispose"})}}),Object.defineProperty(Pi.prototype,"needsUpdate",{set:function(e){!0===e&&this.version++}});const Ti={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},Ri={h:0,s:0,l:0},Ei={h:0,s:0,l:0};function zi(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+6*(t-e)*(2/3-n):e}function Li(e){return e<.04045?.0773993808*e:Math.pow(.9478672986*e+.0521327014,2.4)}function Ci(e){return e<.0031308?12.92*e:1.055*Math.pow(e,.41666)-.055}class Ai{constructor(e,t,n){return void 0===t&&void 0===n?this.set(e):this.setRGB(e,t,n)}set(e){return e&&e.isColor?this.copy(e):"number"==typeof e?this.setHex(e):"string"==typeof e&&this.setStyle(e),this}setScalar(e){return this.r=e,this.g=e,this.b=e,this}setHex(e){return e=Math.floor(e),this.r=(e>>16&255)/255,this.g=(e>>8&255)/255,this.b=(255&e)/255,this}setRGB(e,t,n){return this.r=e,this.g=t,this.b=n,this}setHSL(e,t,n){if(e=Hn(e,1),t=Nn(t,0,1),n=Nn(n,0,1),0===t)this.r=this.g=this.b=n;else{const r=n<=.5?n*(1+t):n+t-n*t,i=2*n-r;this.r=zi(i,r,e+1/3),this.g=zi(i,r,e),this.b=zi(i,r,e-1/3)}return this}setStyle(e){function t(t){void 0!==t&&parseFloat(t)<1&&console.warn("THREE.Color: Alpha component of "+e+" will be ignored.")}let n;if(n=/^((?:rgb|hsl)a?)\(([^\)]*)\)/.exec(e)){let e;const r=n[1],i=n[2];switch(r){case"rgb":case"rgba":if(e=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(i))return this.r=Math.min(255,parseInt(e[1],10))/255,this.g=Math.min(255,parseInt(e[2],10))/255,this.b=Math.min(255,parseInt(e[3],10))/255,t(e[4]),this;if(e=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(i))return this.r=Math.min(100,parseInt(e[1],10))/100,this.g=Math.min(100,parseInt(e[2],10))/100,this.b=Math.min(100,parseInt(e[3],10))/100,t(e[4]),this;break;case"hsl":case"hsla":if(e=/^\s*(\d*\.?\d+)\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(i)){const n=parseFloat(e[1])/360,r=parseInt(e[2],10)/100,i=parseInt(e[3],10)/100;return t(e[4]),this.setHSL(n,r,i)}}}else if(n=/^\#([A-Fa-f\d]+)$/.exec(e)){const e=n[1],t=e.length;if(3===t)return this.r=parseInt(e.charAt(0)+e.charAt(0),16)/255,this.g=parseInt(e.charAt(1)+e.charAt(1),16)/255,this.b=parseInt(e.charAt(2)+e.charAt(2),16)/255,this;if(6===t)return this.r=parseInt(e.charAt(0)+e.charAt(1),16)/255,this.g=parseInt(e.charAt(2)+e.charAt(3),16)/255,this.b=parseInt(e.charAt(4)+e.charAt(5),16)/255,this}return e&&e.length>0?this.setColorName(e):this}setColorName(e){const t=Ti[e.toLowerCase()];return void 0!==t?this.setHex(t):console.warn("THREE.Color: Unknown color "+e),this}clone(){return new this.constructor(this.r,this.g,this.b)}copy(e){return this.r=e.r,this.g=e.g,this.b=e.b,this}copyGammaToLinear(e,t=2){return this.r=Math.pow(e.r,t),this.g=Math.pow(e.g,t),this.b=Math.pow(e.b,t),this}copyLinearToGamma(e,t=2){const n=t>0?1/t:1;return this.r=Math.pow(e.r,n),this.g=Math.pow(e.g,n),this.b=Math.pow(e.b,n),this}convertGammaToLinear(e){return this.copyGammaToLinear(this,e),this}convertLinearToGamma(e){return this.copyLinearToGamma(this,e),this}copySRGBToLinear(e){return this.r=Li(e.r),this.g=Li(e.g),this.b=Li(e.b),this}copyLinearToSRGB(e){return this.r=Ci(e.r),this.g=Ci(e.g),this.b=Ci(e.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}getHex(){return 255*this.r<<16^255*this.g<<8^255*this.b<<0}getHexString(){return("000000"+this.getHex().toString(16)).slice(-6)}getHSL(e){void 0===e&&(console.warn("THREE.Color: .getHSL() target is now required"),e={h:0,s:0,l:0});const t=this.r,n=this.g,r=this.b,i=Math.max(t,n,r),o=Math.min(t,n,r);let a,s;const c=(o+i)/2;if(o===i)a=0,s=0;else{const e=i-o;switch(s=c<=.5?e/(i+o):e/(2-i-o),i){case t:a=(n-r)/e+(n<r?6:0);break;case n:a=(r-t)/e+2;break;case r:a=(t-n)/e+4}a/=6}return e.h=a,e.s=s,e.l=c,e}getStyle(){return"rgb("+(255*this.r|0)+","+(255*this.g|0)+","+(255*this.b|0)+")"}offsetHSL(e,t,n){return this.getHSL(Ri),Ri.h+=e,Ri.s+=t,Ri.l+=n,this.setHSL(Ri.h,Ri.s,Ri.l),this}add(e){return this.r+=e.r,this.g+=e.g,this.b+=e.b,this}addColors(e,t){return this.r=e.r+t.r,this.g=e.g+t.g,this.b=e.b+t.b,this}addScalar(e){return this.r+=e,this.g+=e,this.b+=e,this}sub(e){return this.r=Math.max(0,this.r-e.r),this.g=Math.max(0,this.g-e.g),this.b=Math.max(0,this.b-e.b),this}multiply(e){return this.r*=e.r,this.g*=e.g,this.b*=e.b,this}multiplyScalar(e){return this.r*=e,this.g*=e,this.b*=e,this}lerp(e,t){return this.r+=(e.r-this.r)*t,this.g+=(e.g-this.g)*t,this.b+=(e.b-this.b)*t,this}lerpColors(e,t,n){return this.r=e.r+(t.r-e.r)*n,this.g=e.g+(t.g-e.g)*n,this.b=e.b+(t.b-e.b)*n,this}lerpHSL(e,t){this.getHSL(Ri),e.getHSL(Ei);const n=Vn(Ri.h,Ei.h,t),r=Vn(Ri.s,Ei.s,t),i=Vn(Ri.l,Ei.l,t);return this.setHSL(n,r,i),this}equals(e){return e.r===this.r&&e.g===this.g&&e.b===this.b}fromArray(e,t=0){return this.r=e[t],this.g=e[t+1],this.b=e[t+2],this}toArray(e=[],t=0){return e[t]=this.r,e[t+1]=this.g,e[t+2]=this.b,e}fromBufferAttribute(e,t){return this.r=e.getX(t),this.g=e.getY(t),this.b=e.getZ(t),!0===e.normalized&&(this.r/=255,this.g/=255,this.b/=255),this}toJSON(){return this.getHex()}}Ai.NAMES=Ti,Ai.prototype.isColor=!0,Ai.prototype.r=1,Ai.prototype.g=1,Ai.prototype.b=1;class Oi extends Pi{constructor(e){super(),this.type="MeshBasicMaterial",this.color=new Ai(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=X,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.skinning=!1,this.morphTargets=!1,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.skinning=e.skinning,this.morphTargets=e.morphTargets,this}}Oi.prototype.isMeshBasicMaterial=!0;const Di=new ar,Ii=new Xn;class ki{constructor(e,t,n){if(Array.isArray(e))throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");this.name="",this.array=e,this.itemSize=t,this.count=void 0!==e?e.length/t:0,this.normalized=!0===n,this.usage=Pn,this.updateRange={offset:0,count:-1},this.version=0,this.onUploadCallback=function(){}}set needsUpdate(e){!0===e&&this.version++}setUsage(e){return this.usage=e,this}copy(e){return this.name=e.name,this.array=new e.array.constructor(e.array),this.itemSize=e.itemSize,this.count=e.count,this.normalized=e.normalized,this.usage=e.usage,this}copyAt(e,t,n){e*=this.itemSize,n*=t.itemSize;for(let r=0,i=this.itemSize;r<i;r++)this.array[e+r]=t.array[n+r];return this}copyArray(e){return this.array.set(e),this}copyColorsArray(e){const t=this.array;let n=0;for(let r=0,i=e.length;r<i;r++){let i=e[r];void 0===i&&(console.warn("THREE.BufferAttribute.copyColorsArray(): color is undefined",r),i=new Ai),t[n++]=i.r,t[n++]=i.g,t[n++]=i.b}return this}copyVector2sArray(e){const t=this.array;let n=0;for(let r=0,i=e.length;r<i;r++){let i=e[r];void 0===i&&(console.warn("THREE.BufferAttribute.copyVector2sArray(): vector is undefined",r),i=new Xn),t[n++]=i.x,t[n++]=i.y}return this}copyVector3sArray(e){const t=this.array;let n=0;for(let r=0,i=e.length;r<i;r++){let i=e[r];void 0===i&&(console.warn("THREE.BufferAttribute.copyVector3sArray(): vector is undefined",r),i=new ar),t[n++]=i.x,t[n++]=i.y,t[n++]=i.z}return this}copyVector4sArray(e){const t=this.array;let n=0;for(let r=0,i=e.length;r<i;r++){let i=e[r];void 0===i&&(console.warn("THREE.BufferAttribute.copyVector4sArray(): vector is undefined",r),i=new nr),t[n++]=i.x,t[n++]=i.y,t[n++]=i.z,t[n++]=i.w}return this}applyMatrix3(e){if(2===this.itemSize)for(let t=0,n=this.count;t<n;t++)Ii.fromBufferAttribute(this,t),Ii.applyMatrix3(e),this.setXY(t,Ii.x,Ii.y);else if(3===this.itemSize)for(let t=0,n=this.count;t<n;t++)Di.fromBufferAttribute(this,t),Di.applyMatrix3(e),this.setXYZ(t,Di.x,Di.y,Di.z);return this}applyMatrix4(e){for(let t=0,n=this.count;t<n;t++)Di.x=this.getX(t),Di.y=this.getY(t),Di.z=this.getZ(t),Di.applyMatrix4(e),this.setXYZ(t,Di.x,Di.y,Di.z);return this}applyNormalMatrix(e){for(let t=0,n=this.count;t<n;t++)Di.x=this.getX(t),Di.y=this.getY(t),Di.z=this.getZ(t),Di.applyNormalMatrix(e),this.setXYZ(t,Di.x,Di.y,Di.z);return this}transformDirection(e){for(let t=0,n=this.count;t<n;t++)Di.x=this.getX(t),Di.y=this.getY(t),Di.z=this.getZ(t),Di.transformDirection(e),this.setXYZ(t,Di.x,Di.y,Di.z);return this}set(e,t=0){return this.array.set(e,t),this}getX(e){return this.array[e*this.itemSize]}setX(e,t){return this.array[e*this.itemSize]=t,this}getY(e){return this.array[e*this.itemSize+1]}setY(e,t){return this.array[e*this.itemSize+1]=t,this}getZ(e){return this.array[e*this.itemSize+2]}setZ(e,t){return this.array[e*this.itemSize+2]=t,this}getW(e){return this.array[e*this.itemSize+3]}setW(e,t){return this.array[e*this.itemSize+3]=t,this}setXY(e,t,n){return e*=this.itemSize,this.array[e+0]=t,this.array[e+1]=n,this}setXYZ(e,t,n,r){return e*=this.itemSize,this.array[e+0]=t,this.array[e+1]=n,this.array[e+2]=r,this}setXYZW(e,t,n,r,i){return e*=this.itemSize,this.array[e+0]=t,this.array[e+1]=n,this.array[e+2]=r,this.array[e+3]=i,this}onUpload(e){return this.onUploadCallback=e,this}clone(){return new this.constructor(this.array,this.itemSize).copy(this)}toJSON(){const e={itemSize:this.itemSize,type:this.array.constructor.name,array:Array.prototype.slice.call(this.array),normalized:this.normalized};return""!==this.name&&(e.name=this.name),this.usage!==Pn&&(e.usage=this.usage),0===this.updateRange.offset&&-1===this.updateRange.count||(e.updateRange=this.updateRange),e}}ki.prototype.isBufferAttribute=!0;class Fi extends ki{constructor(e,t,n){super(new Int8Array(e),t,n)}}class ji extends ki{constructor(e,t,n){super(new Uint8Array(e),t,n)}}class Ui extends ki{constructor(e,t,n){super(new Uint8ClampedArray(e),t,n)}}class Bi extends ki{constructor(e,t,n){super(new Int16Array(e),t,n)}}class Gi extends ki{constructor(e,t,n){super(new Uint16Array(e),t,n)}}class Ni extends ki{constructor(e,t,n){super(new Int32Array(e),t,n)}}class Hi extends ki{constructor(e,t,n){super(new Uint32Array(e),t,n)}}class Vi extends ki{constructor(e,t,n){super(new Uint16Array(e),t,n)}}Vi.prototype.isFloat16BufferAttribute=!0;class Wi extends ki{constructor(e,t,n){super(new Float32Array(e),t,n)}}class Zi extends ki{constructor(e,t,n){super(new Float64Array(e),t,n)}}function qi(e){if(0===e.length)return-1/0;let t=e[0];for(let n=1,r=e.length;n<r;++n)e[n]>t&&(t=e[n]);return t}const Yi={Int8Array:Int8Array,Uint8Array:Uint8Array,Uint8ClampedArray:Uint8ClampedArray,Int16Array:Int16Array,Uint16Array:Uint16Array,Int32Array:Int32Array,Uint32Array:Uint32Array,Float32Array:Float32Array,Float64Array:Float64Array};function Xi(e,t){return new Yi[e](t)}let Ki=0;const Qi=new Fr,Ji=new ci,$i=new ar,eo=new ur,to=new ur,no=new ar;class ro extends kn{constructor(){super(),Object.defineProperty(this,"id",{value:Ki++}),this.uuid=Gn(),this.name="",this.type="BufferGeometry",this.index=null,this.attributes={},this.morphAttributes={},this.morphTargetsRelative=!1,this.groups=[],this.boundingBox=null,this.boundingSphere=null,this.drawRange={start:0,count:1/0},this.userData={}}getIndex(){return this.index}setIndex(e){return Array.isArray(e)?this.index=new(qi(e)>65535?Hi:Gi)(e,1):this.index=e,this}getAttribute(e){return this.attributes[e]}setAttribute(e,t){return this.attributes[e]=t,this}deleteAttribute(e){return delete this.attributes[e],this}hasAttribute(e){return void 0!==this.attributes[e]}addGroup(e,t,n=0){this.groups.push({start:e,count:t,materialIndex:n})}clearGroups(){this.groups=[]}setDrawRange(e,t){this.drawRange.start=e,this.drawRange.count=t}applyMatrix4(e){const t=this.attributes.position;void 0!==t&&(t.applyMatrix4(e),t.needsUpdate=!0);const n=this.attributes.normal;if(void 0!==n){const t=(new Kn).getNormalMatrix(e);n.applyNormalMatrix(t),n.needsUpdate=!0}const r=this.attributes.tangent;return void 0!==r&&(r.transformDirection(e),r.needsUpdate=!0),null!==this.boundingBox&&this.computeBoundingBox(),null!==this.boundingSphere&&this.computeBoundingSphere(),this}rotateX(e){return Qi.makeRotationX(e),this.applyMatrix4(Qi),this}rotateY(e){return Qi.makeRotationY(e),this.applyMatrix4(Qi),this}rotateZ(e){return Qi.makeRotationZ(e),this.applyMatrix4(Qi),this}translate(e,t,n){return Qi.makeTranslation(e,t,n),this.applyMatrix4(Qi),this}scale(e,t,n){return Qi.makeScale(e,t,n),this.applyMatrix4(Qi),this}lookAt(e){return Ji.lookAt(e),Ji.updateMatrix(),this.applyMatrix4(Ji.matrix),this}center(){return this.computeBoundingBox(),this.boundingBox.getCenter($i).negate(),this.translate($i.x,$i.y,$i.z),this}setFromPoints(e){const t=[];for(let n=0,r=e.length;n<r;n++){const r=e[n];t.push(r.x,r.y,r.z||0)}return this.setAttribute("position",new Wi(t,3)),this}computeBoundingBox(){null===this.boundingBox&&(this.boundingBox=new ur);const e=this.attributes.position,t=this.morphAttributes.position;if(e&&e.isGLBufferAttribute)return console.error('THREE.BufferGeometry.computeBoundingBox(): GLBufferAttribute requires a manual bounding box. Alternatively set "mesh.frustumCulled" to "false".',this),void this.boundingBox.set(new ar(-1/0,-1/0,-1/0),new ar(1/0,1/0,1/0));if(void 0!==e){if(this.boundingBox.setFromBufferAttribute(e),t)for(let e=0,n=t.length;e<n;e++){const n=t[e];eo.setFromBufferAttribute(n),this.morphTargetsRelative?(no.addVectors(this.boundingBox.min,eo.min),this.boundingBox.expandByPoint(no),no.addVectors(this.boundingBox.max,eo.max),this.boundingBox.expandByPoint(no)):(this.boundingBox.expandByPoint(eo.min),this.boundingBox.expandByPoint(eo.max))}}else this.boundingBox.makeEmpty();(isNaN(this.boundingBox.min.x)||isNaN(this.boundingBox.min.y)||isNaN(this.boundingBox.min.z))&&console.error('THREE.BufferGeometry.computeBoundingBox(): Computed min/max have NaN values. The "position" attribute is likely to have NaN values.',this)}computeBoundingSphere(){null===this.boundingSphere&&(this.boundingSphere=new Er);const e=this.attributes.position,t=this.morphAttributes.position;if(e&&e.isGLBufferAttribute)return console.error('THREE.BufferGeometry.computeBoundingSphere(): GLBufferAttribute requires a manual bounding sphere. Alternatively set "mesh.frustumCulled" to "false".',this),void this.boundingSphere.set(new ar,1/0);if(e){const n=this.boundingSphere.center;if(eo.setFromBufferAttribute(e),t)for(let e=0,n=t.length;e<n;e++){const n=t[e];to.setFromBufferAttribute(n),this.morphTargetsRelative?(no.addVectors(eo.min,to.min),eo.expandByPoint(no),no.addVectors(eo.max,to.max),eo.expandByPoint(no)):(eo.expandByPoint(to.min),eo.expandByPoint(to.max))}eo.getCenter(n);let r=0;for(let t=0,i=e.count;t<i;t++)no.fromBufferAttribute(e,t),r=Math.max(r,n.distanceToSquared(no));if(t)for(let i=0,o=t.length;i<o;i++){const o=t[i],a=this.morphTargetsRelative;for(let t=0,i=o.count;t<i;t++)no.fromBufferAttribute(o,t),a&&($i.fromBufferAttribute(e,t),no.add($i)),r=Math.max(r,n.distanceToSquared(no))}this.boundingSphere.radius=Math.sqrt(r),isNaN(this.boundingSphere.radius)&&console.error('THREE.BufferGeometry.computeBoundingSphere(): Computed radius is NaN. The "position" attribute is likely to have NaN values.',this)}}computeFaceNormals(){}computeTangents(){const e=this.index,t=this.attributes;if(null===e||void 0===t.position||void 0===t.normal||void 0===t.uv)return void console.error("THREE.BufferGeometry: .computeTangents() failed. Missing required attributes (index, position, normal or uv)");const n=e.array,r=t.position.array,i=t.normal.array,o=t.uv.array,a=r.length/3;void 0===t.tangent&&this.setAttribute("tangent",new ki(new Float32Array(4*a),4));const s=t.tangent.array,c=[],u=[];for(let e=0;e<a;e++)c[e]=new ar,u[e]=new ar;const l=new ar,f=new ar,h=new ar,v=new Xn,d=new Xn,p=new Xn,m=new ar,y=new ar;function g(e,t,n){l.fromArray(r,3*e),f.fromArray(r,3*t),h.fromArray(r,3*n),v.fromArray(o,2*e),d.fromArray(o,2*t),p.fromArray(o,2*n),f.sub(l),h.sub(l),d.sub(v),p.sub(v);const i=1/(d.x*p.y-p.x*d.y);isFinite(i)&&(m.copy(f).multiplyScalar(p.y).addScaledVector(h,-d.y).multiplyScalar(i),y.copy(h).multiplyScalar(d.x).addScaledVector(f,-p.x).multiplyScalar(i),c[e].add(m),c[t].add(m),c[n].add(m),u[e].add(y),u[t].add(y),u[n].add(y))}let x=this.groups;0===x.length&&(x=[{start:0,count:n.length}]);for(let e=0,t=x.length;e<t;++e){const t=x[e],r=t.start;for(let e=r,i=r+t.count;e<i;e+=3)g(n[e+0],n[e+1],n[e+2])}const b=new ar,w=new ar,M=new ar,_=new ar;function S(e){M.fromArray(i,3*e),_.copy(M);const t=c[e];b.copy(t),b.sub(M.multiplyScalar(M.dot(t))).normalize(),w.crossVectors(_,t);const n=w.dot(u[e])<0?-1:1;s[4*e]=b.x,s[4*e+1]=b.y,s[4*e+2]=b.z,s[4*e+3]=n}for(let e=0,t=x.length;e<t;++e){const t=x[e],r=t.start;for(let e=r,i=r+t.count;e<i;e+=3)S(n[e+0]),S(n[e+1]),S(n[e+2])}}computeVertexNormals(){const e=this.index,t=this.getAttribute("position");if(void 0!==t){let n=this.getAttribute("normal");if(void 0===n)n=new ki(new Float32Array(3*t.count),3),this.setAttribute("normal",n);else for(let e=0,t=n.count;e<t;e++)n.setXYZ(e,0,0,0);const r=new ar,i=new ar,o=new ar,a=new ar,s=new ar,c=new ar,u=new ar,l=new ar;if(e)for(let f=0,h=e.count;f<h;f+=3){const h=e.getX(f+0),v=e.getX(f+1),d=e.getX(f+2);r.fromBufferAttribute(t,h),i.fromBufferAttribute(t,v),o.fromBufferAttribute(t,d),u.subVectors(o,i),l.subVectors(r,i),u.cross(l),a.fromBufferAttribute(n,h),s.fromBufferAttribute(n,v),c.fromBufferAttribute(n,d),a.add(u),s.add(u),c.add(u),n.setXYZ(h,a.x,a.y,a.z),n.setXYZ(v,s.x,s.y,s.z),n.setXYZ(d,c.x,c.y,c.z)}else for(let e=0,a=t.count;e<a;e+=3)r.fromBufferAttribute(t,e+0),i.fromBufferAttribute(t,e+1),o.fromBufferAttribute(t,e+2),u.subVectors(o,i),l.subVectors(r,i),u.cross(l),n.setXYZ(e+0,u.x,u.y,u.z),n.setXYZ(e+1,u.x,u.y,u.z),n.setXYZ(e+2,u.x,u.y,u.z);this.normalizeNormals(),n.needsUpdate=!0}}merge(e,t){if(!e||!e.isBufferGeometry)return void console.error("THREE.BufferGeometry.merge(): geometry not an instance of THREE.BufferGeometry.",e);void 0===t&&(t=0,console.warn("THREE.BufferGeometry.merge(): Overwriting original geometry, starting at offset=0. Use BufferGeometryUtils.mergeBufferGeometries() for lossless merge."));const n=this.attributes;for(const r in n){if(void 0===e.attributes[r])continue;const i=n[r].array,o=e.attributes[r],a=o.array,s=o.itemSize*t,c=Math.min(a.length,i.length-s);for(let e=0,t=s;e<c;e++,t++)i[t]=a[e]}return this}normalizeNormals(){const e=this.attributes.normal;for(let t=0,n=e.count;t<n;t++)no.fromBufferAttribute(e,t),no.normalize(),e.setXYZ(t,no.x,no.y,no.z)}toNonIndexed(){function e(e,t){const n=e.array,r=e.itemSize,i=e.normalized,o=new n.constructor(t.length*r);let a=0,s=0;for(let e=0,i=t.length;e<i;e++){a=t[e]*r;for(let e=0;e<r;e++)o[s++]=n[a++]}return new ki(o,r,i)}if(null===this.index)return console.warn("THREE.BufferGeometry.toNonIndexed(): BufferGeometry is already non-indexed."),this;const t=new ro,n=this.index.array,r=this.attributes;for(const i in r){const o=e(r[i],n);t.setAttribute(i,o)}const i=this.morphAttributes;for(const r in i){const o=[],a=i[r];for(let t=0,r=a.length;t<r;t++){const r=e(a[t],n);o.push(r)}t.morphAttributes[r]=o}t.morphTargetsRelative=this.morphTargetsRelative;const o=this.groups;for(let e=0,n=o.length;e<n;e++){const n=o[e];t.addGroup(n.start,n.count,n.materialIndex)}return t}toJSON(){const e={metadata:{version:4.5,type:"BufferGeometry",generator:"BufferGeometry.toJSON"}};if(e.uuid=this.uuid,e.type=this.type,""!==this.name&&(e.name=this.name),Object.keys(this.userData).length>0&&(e.userData=this.userData),void 0!==this.parameters){const t=this.parameters;for(const n in t)void 0!==t[n]&&(e[n]=t[n]);return e}e.data={attributes:{}};const t=this.index;null!==t&&(e.data.index={type:t.array.constructor.name,array:Array.prototype.slice.call(t.array)});const n=this.attributes;for(const t in n){const r=n[t];e.data.attributes[t]=r.toJSON(e.data)}const r={};let i=!1;for(const t in this.morphAttributes){const n=this.morphAttributes[t],o=[];for(let t=0,r=n.length;t<r;t++){const r=n[t];o.push(r.toJSON(e.data))}o.length>0&&(r[t]=o,i=!0)}i&&(e.data.morphAttributes=r,e.data.morphTargetsRelative=this.morphTargetsRelative);const o=this.groups;o.length>0&&(e.data.groups=JSON.parse(JSON.stringify(o)));const a=this.boundingSphere;return null!==a&&(e.data.boundingSphere={center:a.center.toArray(),radius:a.radius}),e}clone(){return(new ro).copy(this)}copy(e){this.index=null,this.attributes={},this.morphAttributes={},this.groups=[],this.boundingBox=null,this.boundingSphere=null;const t={};this.name=e.name;const n=e.index;null!==n&&this.setIndex(n.clone(t));const r=e.attributes;for(const e in r){const n=r[e];this.setAttribute(e,n.clone(t))}const i=e.morphAttributes;for(const e in i){const n=[],r=i[e];for(let e=0,i=r.length;e<i;e++)n.push(r[e].clone(t));this.morphAttributes[e]=n}this.morphTargetsRelative=e.morphTargetsRelative;const o=e.groups;for(let e=0,t=o.length;e<t;e++){const t=o[e];this.addGroup(t.start,t.count,t.materialIndex)}const a=e.boundingBox;null!==a&&(this.boundingBox=a.clone());const s=e.boundingSphere;return null!==s&&(this.boundingSphere=s.clone()),this.drawRange.start=e.drawRange.start,this.drawRange.count=e.drawRange.count,this.userData=e.userData,this}dispose(){this.dispatchEvent({type:"dispose"})}}ro.prototype.isBufferGeometry=!0;const io=new Fr,oo=new kr,ao=new Er,so=new ar,co=new ar,uo=new ar,lo=new ar,fo=new ar,ho=new ar,vo=new ar,po=new ar,mo=new ar,yo=new Xn,go=new Xn,xo=new Xn,bo=new ar,wo=new ar;class Mo extends ci{constructor(e=new ro,t=new Oi){super(),this.type="Mesh",this.geometry=e,this.material=t,this.updateMorphTargets()}copy(e){return super.copy(e),void 0!==e.morphTargetInfluences&&(this.morphTargetInfluences=e.morphTargetInfluences.slice()),void 0!==e.morphTargetDictionary&&(this.morphTargetDictionary=Object.assign({},e.morphTargetDictionary)),this.material=e.material,this.geometry=e.geometry,this}updateMorphTargets(){const e=this.geometry;if(e.isBufferGeometry){const t=e.morphAttributes,n=Object.keys(t);if(n.length>0){const e=t[n[0]];if(void 0!==e){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let t=0,n=e.length;t<n;t++){const n=e[t].name||String(t);this.morphTargetInfluences.push(0),this.morphTargetDictionary[n]=t}}}}else{const t=e.morphTargets;void 0!==t&&t.length>0&&console.error("THREE.Mesh.updateMorphTargets() no longer supports THREE.Geometry. Use THREE.BufferGeometry instead.")}}raycast(e,t){const n=this.geometry,r=this.material,i=this.matrixWorld;if(void 0===r)return;if(null===n.boundingSphere&&n.computeBoundingSphere(),ao.copy(n.boundingSphere),ao.applyMatrix4(i),!1===e.ray.intersectsSphere(ao))return;if(io.copy(i).invert(),oo.copy(e.ray).applyMatrix4(io),null!==n.boundingBox&&!1===oo.intersectsBox(n.boundingBox))return;let o;if(n.isBufferGeometry){const i=n.index,a=n.attributes.position,s=n.morphAttributes.position,c=n.morphTargetsRelative,u=n.attributes.uv,l=n.attributes.uv2,f=n.groups,h=n.drawRange;if(null!==i)if(Array.isArray(r))for(let n=0,v=f.length;n<v;n++){const v=f[n],d=r[v.materialIndex];for(let n=Math.max(v.start,h.start),r=Math.min(v.start+v.count,h.start+h.count);n<r;n+=3){const r=i.getX(n),f=i.getX(n+1),h=i.getX(n+2);o=_o(this,d,e,oo,a,s,c,u,l,r,f,h),o&&(o.faceIndex=Math.floor(n/3),o.face.materialIndex=v.materialIndex,t.push(o))}}else for(let n=Math.max(0,h.start),f=Math.min(i.count,h.start+h.count);n<f;n+=3){const f=i.getX(n),h=i.getX(n+1),v=i.getX(n+2);o=_o(this,r,e,oo,a,s,c,u,l,f,h,v),o&&(o.faceIndex=Math.floor(n/3),t.push(o))}else if(void 0!==a)if(Array.isArray(r))for(let n=0,i=f.length;n<i;n++){const i=f[n],v=r[i.materialIndex];for(let n=Math.max(i.start,h.start),r=Math.min(i.start+i.count,h.start+h.count);n<r;n+=3)o=_o(this,v,e,oo,a,s,c,u,l,n,n+1,n+2),o&&(o.faceIndex=Math.floor(n/3),o.face.materialIndex=i.materialIndex,t.push(o))}else for(let n=Math.max(0,h.start),i=Math.min(a.count,h.start+h.count);n<i;n+=3)o=_o(this,r,e,oo,a,s,c,u,l,n,n+1,n+2),o&&(o.faceIndex=Math.floor(n/3),t.push(o))}else n.isGeometry&&console.error("THREE.Mesh.raycast() no longer supports THREE.Geometry. Use THREE.BufferGeometry instead.")}}function _o(e,t,n,r,i,o,a,s,c,u,l,f){so.fromBufferAttribute(i,u),co.fromBufferAttribute(i,l),uo.fromBufferAttribute(i,f);const h=e.morphTargetInfluences;if(t.morphTargets&&o&&h){vo.set(0,0,0),po.set(0,0,0),mo.set(0,0,0);for(let e=0,t=o.length;e<t;e++){const t=h[e],n=o[e];0!==t&&(lo.fromBufferAttribute(n,u),fo.fromBufferAttribute(n,l),ho.fromBufferAttribute(n,f),a?(vo.addScaledVector(lo,t),po.addScaledVector(fo,t),mo.addScaledVector(ho,t)):(vo.addScaledVector(lo.sub(so),t),po.addScaledVector(fo.sub(co),t),mo.addScaledVector(ho.sub(uo),t)))}so.add(vo),co.add(po),uo.add(mo)}e.isSkinnedMesh&&t.skinning&&(e.boneTransform(u,so),e.boneTransform(l,co),e.boneTransform(f,uo));const v=function(e,t,n,r,i,o,a,s){let c;if(c=t.side===p?r.intersectTriangle(a,o,i,!0,s):r.intersectTriangle(i,o,a,t.side!==m,s),null===c)return null;wo.copy(s),wo.applyMatrix4(e.matrixWorld);const u=n.ray.origin.distanceTo(wo);return u<n.near||u>n.far?null:{distance:u,point:wo.clone(),object:e}}(e,t,n,r,so,co,uo,bo);if(v){s&&(yo.fromBufferAttribute(s,u),go.fromBufferAttribute(s,l),xo.fromBufferAttribute(s,f),v.uv=_i.getUV(bo,so,co,uo,yo,go,xo,new Xn)),c&&(yo.fromBufferAttribute(c,u),go.fromBufferAttribute(c,l),xo.fromBufferAttribute(c,f),v.uv2=_i.getUV(bo,so,co,uo,yo,go,xo,new Xn));const e={a:u,b:l,c:f,normal:new ar,materialIndex:0};_i.getNormal(so,co,uo,e.normal),v.face=e}return v}Mo.prototype.isMesh=!0;class So extends ro{constructor(e=1,t=1,n=1,r=1,i=1,o=1){super(),this.type="BoxGeometry",this.parameters={width:e,height:t,depth:n,widthSegments:r,heightSegments:i,depthSegments:o};const a=this;r=Math.floor(r),i=Math.floor(i),o=Math.floor(o);const s=[],c=[],u=[],l=[];let f=0,h=0;function v(e,t,n,r,i,o,v,d,p,m,y){const g=o/p,x=v/m,b=o/2,w=v/2,M=d/2,_=p+1,S=m+1;let P=0,T=0;const R=new ar;for(let o=0;o<S;o++){const a=o*x-w;for(let s=0;s<_;s++){const f=s*g-b;R[e]=f*r,R[t]=a*i,R[n]=M,c.push(R.x,R.y,R.z),R[e]=0,R[t]=0,R[n]=d>0?1:-1,u.push(R.x,R.y,R.z),l.push(s/p),l.push(1-o/m),P+=1}}for(let e=0;e<m;e++)for(let t=0;t<p;t++){const n=f+t+_*e,r=f+t+_*(e+1),i=f+(t+1)+_*(e+1),o=f+(t+1)+_*e;s.push(n,r,o),s.push(r,i,o),T+=6}a.addGroup(h,T,y),h+=T,f+=P}v("z","y","x",-1,-1,n,t,e,o,i,0),v("z","y","x",1,-1,n,t,-e,o,i,1),v("x","z","y",1,1,e,n,t,r,o,2),v("x","z","y",1,-1,e,n,-t,r,o,3),v("x","y","z",1,-1,e,t,n,r,i,4),v("x","y","z",-1,-1,e,t,-n,r,i,5),this.setIndex(s),this.setAttribute("position",new Wi(c,3)),this.setAttribute("normal",new Wi(u,3)),this.setAttribute("uv",new Wi(l,2))}}function Po(e){const t={};for(const n in e){t[n]={};for(const r in e[n]){const i=e[n][r];i&&(i.isColor||i.isMatrix3||i.isMatrix4||i.isVector2||i.isVector3||i.isVector4||i.isTexture||i.isQuaternion)?t[n][r]=i.clone():Array.isArray(i)?t[n][r]=i.slice():t[n][r]=i}}return t}function To(e){const t={};for(let n=0;n<e.length;n++){const r=Po(e[n]);for(const e in r)t[e]=r[e]}return t}const Ro={clone:Po,merge:To};class Eo extends Pi{constructor(e){super(),this.type="ShaderMaterial",this.defines={},this.uniforms={},this.vertexShader="void main() {\n\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}",this.fragmentShader="void main() {\n\tgl_FragColor = vec4( 1.0, 0.0, 0.0, 1.0 );\n}",this.linewidth=1,this.wireframe=!1,this.wireframeLinewidth=1,this.fog=!1,this.lights=!1,this.clipping=!1,this.skinning=!1,this.morphTargets=!1,this.morphNormals=!1,this.extensions={derivatives:!1,fragDepth:!1,drawBuffers:!1,shaderTextureLOD:!1},this.defaultAttributeValues={color:[1,1,1],uv:[0,0],uv2:[0,0]},this.index0AttributeName=void 0,this.uniformsNeedUpdate=!1,this.glslVersion=null,void 0!==e&&(void 0!==e.attributes&&console.error("THREE.ShaderMaterial: attributes should now be defined in THREE.BufferGeometry instead."),this.setValues(e))}copy(e){return super.copy(e),this.fragmentShader=e.fragmentShader,this.vertexShader=e.vertexShader,this.uniforms=Po(e.uniforms),this.defines=Object.assign({},e.defines),this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.lights=e.lights,this.clipping=e.clipping,this.skinning=e.skinning,this.morphTargets=e.morphTargets,this.morphNormals=e.morphNormals,this.extensions=Object.assign({},e.extensions),this.glslVersion=e.glslVersion,this}toJSON(e){const t=super.toJSON(e);t.glslVersion=this.glslVersion,t.uniforms={};for(const n in this.uniforms){const r=this.uniforms[n].value;r&&r.isTexture?t.uniforms[n]={type:"t",value:r.toJSON(e).uuid}:r&&r.isColor?t.uniforms[n]={type:"c",value:r.getHex()}:r&&r.isVector2?t.uniforms[n]={type:"v2",value:r.toArray()}:r&&r.isVector3?t.uniforms[n]={type:"v3",value:r.toArray()}:r&&r.isVector4?t.uniforms[n]={type:"v4",value:r.toArray()}:r&&r.isMatrix3?t.uniforms[n]={type:"m3",value:r.toArray()}:r&&r.isMatrix4?t.uniforms[n]={type:"m4",value:r.toArray()}:t.uniforms[n]={value:r}}Object.keys(this.defines).length>0&&(t.defines=this.defines),t.vertexShader=this.vertexShader,t.fragmentShader=this.fragmentShader;const n={};for(const e in this.extensions)!0===this.extensions[e]&&(n[e]=!0);return Object.keys(n).length>0&&(t.extensions=n),t}}Eo.prototype.isShaderMaterial=!0;class zo extends ci{constructor(){super(),this.type="Camera",this.matrixWorldInverse=new Fr,this.projectionMatrix=new Fr,this.projectionMatrixInverse=new Fr}copy(e,t){return super.copy(e,t),this.matrixWorldInverse.copy(e.matrixWorldInverse),this.projectionMatrix.copy(e.projectionMatrix),this.projectionMatrixInverse.copy(e.projectionMatrixInverse),this}getWorldDirection(e){void 0===e&&(console.warn("THREE.Camera: .getWorldDirection() target is now required"),e=new ar),this.updateWorldMatrix(!0,!1);const t=this.matrixWorld.elements;return e.set(-t[8],-t[9],-t[10]).normalize()}updateMatrixWorld(e){super.updateMatrixWorld(e),this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(e,t){super.updateWorldMatrix(e,t),this.matrixWorldInverse.copy(this.matrixWorld).invert()}clone(){return(new this.constructor).copy(this)}}zo.prototype.isCamera=!0;class Lo extends zo{constructor(e=50,t=1,n=.1,r=2e3){super(),this.type="PerspectiveCamera",this.fov=e,this.zoom=1,this.near=n,this.far=r,this.focus=10,this.aspect=t,this.view=null,this.filmGauge=35,this.filmOffset=0,this.updateProjectionMatrix()}copy(e,t){return super.copy(e,t),this.fov=e.fov,this.zoom=e.zoom,this.near=e.near,this.far=e.far,this.focus=e.focus,this.aspect=e.aspect,this.view=null===e.view?null:Object.assign({},e.view),this.filmGauge=e.filmGauge,this.filmOffset=e.filmOffset,this}setFocalLength(e){const t=.5*this.getFilmHeight()/e;this.fov=2*Bn*Math.atan(t),this.updateProjectionMatrix()}getFocalLength(){const e=Math.tan(.5*Un*this.fov);return.5*this.getFilmHeight()/e}getEffectiveFOV(){return 2*Bn*Math.atan(Math.tan(.5*Un*this.fov)/this.zoom)}getFilmWidth(){return this.filmGauge*Math.min(this.aspect,1)}getFilmHeight(){return this.filmGauge/Math.max(this.aspect,1)}setViewOffset(e,t,n,r,i,o){this.aspect=e/t,null===this.view&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=t,this.view.offsetX=n,this.view.offsetY=r,this.view.width=i,this.view.height=o,this.updateProjectionMatrix()}clearViewOffset(){null!==this.view&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const e=this.near;let t=e*Math.tan(.5*Un*this.fov)/this.zoom,n=2*t,r=this.aspect*n,i=-.5*r;const o=this.view;if(null!==this.view&&this.view.enabled){const e=o.fullWidth,a=o.fullHeight;i+=o.offsetX*r/e,t-=o.offsetY*n/a,r*=o.width/e,n*=o.height/a}const a=this.filmOffset;0!==a&&(i+=e*a/this.getFilmWidth()),this.projectionMatrix.makePerspective(i,i+r,t,t-n,e,this.far),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){const t=super.toJSON(e);return t.object.fov=this.fov,t.object.zoom=this.zoom,t.object.near=this.near,t.object.far=this.far,t.object.focus=this.focus,t.object.aspect=this.aspect,null!==this.view&&(t.object.view=Object.assign({},this.view)),t.object.filmGauge=this.filmGauge,t.object.filmOffset=this.filmOffset,t}}Lo.prototype.isPerspectiveCamera=!0;const Co=90;class Ao extends ci{constructor(e,t,n){if(super(),this.type="CubeCamera",!0!==n.isWebGLCubeRenderTarget)return void console.error("THREE.CubeCamera: The constructor now expects an instance of WebGLCubeRenderTarget as third parameter.");this.renderTarget=n;const r=new Lo(Co,1,e,t);r.layers=this.layers,r.up.set(0,-1,0),r.lookAt(new ar(1,0,0)),this.add(r);const i=new Lo(Co,1,e,t);i.layers=this.layers,i.up.set(0,-1,0),i.lookAt(new ar(-1,0,0)),this.add(i);const o=new Lo(Co,1,e,t);o.layers=this.layers,o.up.set(0,0,1),o.lookAt(new ar(0,1,0)),this.add(o);const a=new Lo(Co,1,e,t);a.layers=this.layers,a.up.set(0,0,-1),a.lookAt(new ar(0,-1,0)),this.add(a);const s=new Lo(Co,1,e,t);s.layers=this.layers,s.up.set(0,-1,0),s.lookAt(new ar(0,0,1)),this.add(s);const c=new Lo(Co,1,e,t);c.layers=this.layers,c.up.set(0,-1,0),c.lookAt(new ar(0,0,-1)),this.add(c)}update(e,t){null===this.parent&&this.updateMatrixWorld();const n=this.renderTarget,[r,i,o,a,s,c]=this.children,u=e.xr.enabled,l=e.getRenderTarget();e.xr.enabled=!1;const f=n.texture.generateMipmaps;n.texture.generateMipmaps=!1,e.setRenderTarget(n,0),e.render(t,r),e.setRenderTarget(n,1),e.render(t,i),e.setRenderTarget(n,2),e.render(t,o),e.setRenderTarget(n,3),e.render(t,a),e.setRenderTarget(n,4),e.render(t,s),n.texture.generateMipmaps=f,e.setRenderTarget(n,5),e.render(t,c),e.setRenderTarget(l),e.xr.enabled=u}}class Oo extends er{constructor(e,t,n,r,i,o,a,s,c,u){super(e=void 0!==e?e:[],t=void 0!==t?t:oe,n,r,i,o,a=void 0!==a?a:Fe,s,c,u),this._needsFlipEnvMap=!0,this.flipY=!1}get images(){return this.image}set images(e){this.image=e}}Oo.prototype.isCubeTexture=!0;class Do extends rr{constructor(e,t,n){Number.isInteger(t)&&(console.warn("THREE.WebGLCubeRenderTarget: constructor signature is now WebGLCubeRenderTarget( size, options )"),t=n),super(e,e,t),t=t||{},this.texture=new Oo(void 0,t.mapping,t.wrapS,t.wrapT,t.magFilter,t.minFilter,t.format,t.type,t.anisotropy,t.encoding),this.texture.generateMipmaps=void 0!==t.generateMipmaps&&t.generateMipmaps,this.texture.minFilter=void 0!==t.minFilter?t.minFilter:xe,this.texture._needsFlipEnvMap=!1}fromEquirectangularTexture(e,t){this.texture.type=t.type,this.texture.format=je,this.texture.encoding=t.encoding,this.texture.generateMipmaps=t.generateMipmaps,this.texture.minFilter=t.minFilter,this.texture.magFilter=t.magFilter;const n={tEquirect:{value:null}},r="\n\n\t\t\t\tvarying vec3 vWorldDirection;\n\n\t\t\t\tvec3 transformDirection( in vec3 dir, in mat4 matrix ) {\n\n\t\t\t\t\treturn normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );\n\n\t\t\t\t}\n\n\t\t\t\tvoid main() {\n\n\t\t\t\t\tvWorldDirection = transformDirection( position, modelMatrix );\n\n\t\t\t\t\t#include <begin_vertex>\n\t\t\t\t\t#include <project_vertex>\n\n\t\t\t\t}\n\t\t\t",i="\n\n\t\t\t\tuniform sampler2D tEquirect;\n\n\t\t\t\tvarying vec3 vWorldDirection;\n\n\t\t\t\t#include <common>\n\n\t\t\t\tvoid main() {\n\n\t\t\t\t\tvec3 direction = normalize( vWorldDirection );\n\n\t\t\t\t\tvec2 sampleUV = equirectUv( direction );\n\n\t\t\t\t\tgl_FragColor = texture2D( tEquirect, sampleUV );\n\n\t\t\t\t}\n\t\t\t",o=new So(5,5,5),a=new Eo({name:"CubemapFromEquirect",uniforms:Po(n),vertexShader:r,fragmentShader:i,side:p,blending:x});a.uniforms.tEquirect.value=t;const s=new Mo(o,a),c=t.minFilter;return t.minFilter===Me&&(t.minFilter=xe),new Ao(1,10,this).update(e,s),t.minFilter=c,s.geometry.dispose(),s.material.dispose(),this}clear(e,t,n,r){const i=e.getRenderTarget();for(let i=0;i<6;i++)e.setRenderTarget(this,i),e.clear(t,n,r);e.setRenderTarget(i)}}Do.prototype.isWebGLCubeRenderTarget=!0;class Io extends er{constructor(e,t,n,r,i,o,a,s,c,u,l,f){super(null,o,a,s,c,u,r,i,l,f),this.image={data:e||null,width:t||1,height:n||1},this.magFilter=void 0!==c?c:de,this.minFilter=void 0!==u?u:de,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1,this.needsUpdate=!0}}Io.prototype.isDataTexture=!0;const ko=new Er,Fo=new ar;class jo{constructor(e=new hi,t=new hi,n=new hi,r=new hi,i=new hi,o=new hi){this.planes=[e,t,n,r,i,o]}set(e,t,n,r,i,o){const a=this.planes;return a[0].copy(e),a[1].copy(t),a[2].copy(n),a[3].copy(r),a[4].copy(i),a[5].copy(o),this}copy(e){const t=this.planes;for(let n=0;n<6;n++)t[n].copy(e.planes[n]);return this}setFromProjectionMatrix(e){const t=this.planes,n=e.elements,r=n[0],i=n[1],o=n[2],a=n[3],s=n[4],c=n[5],u=n[6],l=n[7],f=n[8],h=n[9],v=n[10],d=n[11],p=n[12],m=n[13],y=n[14],g=n[15];return t[0].setComponents(a-r,l-s,d-f,g-p).normalize(),t[1].setComponents(a+r,l+s,d+f,g+p).normalize(),t[2].setComponents(a+i,l+c,d+h,g+m).normalize(),t[3].setComponents(a-i,l-c,d-h,g-m).normalize(),t[4].setComponents(a-o,l-u,d-v,g-y).normalize(),t[5].setComponents(a+o,l+u,d+v,g+y).normalize(),this}intersectsObject(e){const t=e.geometry;return null===t.boundingSphere&&t.computeBoundingSphere(),ko.copy(t.boundingSphere).applyMatrix4(e.matrixWorld),this.intersectsSphere(ko)}intersectsSprite(e){return ko.center.set(0,0,0),ko.radius=.7071067811865476,ko.applyMatrix4(e.matrixWorld),this.intersectsSphere(ko)}intersectsSphere(e){const t=this.planes,n=e.center,r=-e.radius;for(let e=0;e<6;e++)if(t[e].distanceToPoint(n)<r)return!1;return!0}intersectsBox(e){const t=this.planes;for(let n=0;n<6;n++){const r=t[n];if(Fo.x=r.normal.x>0?e.max.x:e.min.x,Fo.y=r.normal.y>0?e.max.y:e.min.y,Fo.z=r.normal.z>0?e.max.z:e.min.z,r.distanceToPoint(Fo)<0)return!1}return!0}containsPoint(e){const t=this.planes;for(let n=0;n<6;n++)if(t[n].distanceToPoint(e)<0)return!1;return!0}clone(){return(new this.constructor).copy(this)}}function Uo(){let e=null,t=!1,n=null,r=null;function i(t,o){n(t,o),r=e.requestAnimationFrame(i)}return{start:function(){!0!==t&&null!==n&&(r=e.requestAnimationFrame(i),t=!0)},stop:function(){e.cancelAnimationFrame(r),t=!1},setAnimationLoop:function(e){n=e},setContext:function(t){e=t}}}function Bo(e,t){const n=t.isWebGL2,r=new WeakMap;return{get:function(e){return e.isInterleavedBufferAttribute&&(e=e.data),r.get(e)},remove:function(t){t.isInterleavedBufferAttribute&&(t=t.data);const n=r.get(t);n&&(e.deleteBuffer(n.buffer),r.delete(t))},update:function(t,i){if(t.isGLBufferAttribute){const e=r.get(t);return void((!e||e.version<t.version)&&r.set(t,{buffer:t.buffer,type:t.type,bytesPerElement:t.elementSize,version:t.version}))}t.isInterleavedBufferAttribute&&(t=t.data);const o=r.get(t);void 0===o?r.set(t,function(t,r){const i=t.array,o=t.usage,a=e.createBuffer();e.bindBuffer(r,a),e.bufferData(r,i,o),t.onUploadCallback();let s=5126;return i instanceof Float32Array?s=5126:i instanceof Float64Array?console.warn("THREE.WebGLAttributes: Unsupported data buffer format: Float64Array."):i instanceof Uint16Array?t.isFloat16BufferAttribute?n?s=5131:console.warn("THREE.WebGLAttributes: Usage of Float16BufferAttribute requires WebGL2."):s=5123:i instanceof Int16Array?s=5122:i instanceof Uint32Array?s=5125:i instanceof Int32Array?s=5124:i instanceof Int8Array?s=5120:i instanceof Uint8Array&&(s=5121),{buffer:a,type:s,bytesPerElement:i.BYTES_PER_ELEMENT,version:t.version}}(t,i)):o.version<t.version&&(function(t,r,i){const o=r.array,a=r.updateRange;e.bindBuffer(i,t),-1===a.count?e.bufferSubData(i,0,o):(n?e.bufferSubData(i,a.offset*o.BYTES_PER_ELEMENT,o,a.offset,a.count):e.bufferSubData(i,a.offset*o.BYTES_PER_ELEMENT,o.subarray(a.offset,a.offset+a.count)),a.count=-1)}(o.buffer,t,i),o.version=t.version)}}}class Go extends ro{constructor(e=1,t=1,n=1,r=1){super(),this.type="PlaneGeometry",this.parameters={width:e,height:t,widthSegments:n,heightSegments:r};const i=e/2,o=t/2,a=Math.floor(n),s=Math.floor(r),c=a+1,u=s+1,l=e/a,f=t/s,h=[],v=[],d=[],p=[];for(let e=0;e<u;e++){const t=e*f-o;for(let n=0;n<c;n++){const r=n*l-i;v.push(r,-t,0),d.push(0,0,1),p.push(n/a),p.push(1-e/s)}}for(let e=0;e<s;e++)for(let t=0;t<a;t++){const n=t+c*e,r=t+c*(e+1),i=t+1+c*(e+1),o=t+1+c*e;h.push(n,r,o),h.push(r,i,o)}this.setIndex(h),this.setAttribute("position",new Wi(v,3)),this.setAttribute("normal",new Wi(d,3)),this.setAttribute("uv",new Wi(p,2))}}const No={alphamap_fragment:"#ifdef USE_ALPHAMAP\n\tdiffuseColor.a *= texture2D( alphaMap, vUv ).g;\n#endif",alphamap_pars_fragment:"#ifdef USE_ALPHAMAP\n\tuniform sampler2D alphaMap;\n#endif",alphatest_fragment:"#ifdef ALPHATEST\n\tif ( diffuseColor.a < ALPHATEST ) discard;\n#endif",aomap_fragment:"#ifdef USE_AOMAP\n\tfloat ambientOcclusion = ( texture2D( aoMap, vUv2 ).r - 1.0 ) * aoMapIntensity + 1.0;\n\treflectedLight.indirectDiffuse *= ambientOcclusion;\n\t#if defined( USE_ENVMAP ) && defined( STANDARD )\n\t\tfloat dotNV = saturate( dot( geometry.normal, geometry.viewDir ) );\n\t\treflectedLight.indirectSpecular *= computeSpecularOcclusion( dotNV, ambientOcclusion, material.specularRoughness );\n\t#endif\n#endif",aomap_pars_fragment:"#ifdef USE_AOMAP\n\tuniform sampler2D aoMap;\n\tuniform float aoMapIntensity;\n#endif",begin_vertex:"vec3 transformed = vec3( position );",beginnormal_vertex:"vec3 objectNormal = vec3( normal );\n#ifdef USE_TANGENT\n\tvec3 objectTangent = vec3( tangent.xyz );\n#endif",bsdfs:"vec2 integrateSpecularBRDF( const in float dotNV, const in float roughness ) {\n\tconst vec4 c0 = vec4( - 1, - 0.0275, - 0.572, 0.022 );\n\tconst vec4 c1 = vec4( 1, 0.0425, 1.04, - 0.04 );\n\tvec4 r = roughness * c0 + c1;\n\tfloat a004 = min( r.x * r.x, exp2( - 9.28 * dotNV ) ) * r.x + r.y;\n\treturn vec2( -1.04, 1.04 ) * a004 + r.zw;\n}\nfloat punctualLightIntensityToIrradianceFactor( const in float lightDistance, const in float cutoffDistance, const in float decayExponent ) {\n#if defined ( PHYSICALLY_CORRECT_LIGHTS )\n\tfloat distanceFalloff = 1.0 / max( pow( lightDistance, decayExponent ), 0.01 );\n\tif( cutoffDistance > 0.0 ) {\n\t\tdistanceFalloff *= pow2( saturate( 1.0 - pow4( lightDistance / cutoffDistance ) ) );\n\t}\n\treturn distanceFalloff;\n#else\n\tif( cutoffDistance > 0.0 && decayExponent > 0.0 ) {\n\t\treturn pow( saturate( -lightDistance / cutoffDistance + 1.0 ), decayExponent );\n\t}\n\treturn 1.0;\n#endif\n}\nvec3 BRDF_Diffuse_Lambert( const in vec3 diffuseColor ) {\n\treturn RECIPROCAL_PI * diffuseColor;\n}\nvec3 F_Schlick( const in vec3 specularColor, const in float dotLH ) {\n\tfloat fresnel = exp2( ( -5.55473 * dotLH - 6.98316 ) * dotLH );\n\treturn ( 1.0 - specularColor ) * fresnel + specularColor;\n}\nvec3 F_Schlick_RoughnessDependent( const in vec3 F0, const in float dotNV, const in float roughness ) {\n\tfloat fresnel = exp2( ( -5.55473 * dotNV - 6.98316 ) * dotNV );\n\tvec3 Fr = max( vec3( 1.0 - roughness ), F0 ) - F0;\n\treturn Fr * fresnel + F0;\n}\nfloat G_GGX_Smith( const in float alpha, const in float dotNL, const in float dotNV ) {\n\tfloat a2 = pow2( alpha );\n\tfloat gl = dotNL + sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNL ) );\n\tfloat gv = dotNV + sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNV ) );\n\treturn 1.0 / ( gl * gv );\n}\nfloat G_GGX_SmithCorrelated( const in float alpha, const in float dotNL, const in float dotNV ) {\n\tfloat a2 = pow2( alpha );\n\tfloat gv = dotNL * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNV ) );\n\tfloat gl = dotNV * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNL ) );\n\treturn 0.5 / max( gv + gl, EPSILON );\n}\nfloat D_GGX( const in float alpha, const in float dotNH ) {\n\tfloat a2 = pow2( alpha );\n\tfloat denom = pow2( dotNH ) * ( a2 - 1.0 ) + 1.0;\n\treturn RECIPROCAL_PI * a2 / pow2( denom );\n}\nvec3 BRDF_Specular_GGX( const in IncidentLight incidentLight, const in vec3 viewDir, const in vec3 normal, const in vec3 specularColor, const in float roughness ) {\n\tfloat alpha = pow2( roughness );\n\tvec3 halfDir = normalize( incidentLight.direction + viewDir );\n\tfloat dotNL = saturate( dot( normal, incidentLight.direction ) );\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tfloat dotNH = saturate( dot( normal, halfDir ) );\n\tfloat dotLH = saturate( dot( incidentLight.direction, halfDir ) );\n\tvec3 F = F_Schlick( specularColor, dotLH );\n\tfloat G = G_GGX_SmithCorrelated( alpha, dotNL, dotNV );\n\tfloat D = D_GGX( alpha, dotNH );\n\treturn F * ( G * D );\n}\nvec2 LTC_Uv( const in vec3 N, const in vec3 V, const in float roughness ) {\n\tconst float LUT_SIZE = 64.0;\n\tconst float LUT_SCALE = ( LUT_SIZE - 1.0 ) / LUT_SIZE;\n\tconst float LUT_BIAS = 0.5 / LUT_SIZE;\n\tfloat dotNV = saturate( dot( N, V ) );\n\tvec2 uv = vec2( roughness, sqrt( 1.0 - dotNV ) );\n\tuv = uv * LUT_SCALE + LUT_BIAS;\n\treturn uv;\n}\nfloat LTC_ClippedSphereFormFactor( const in vec3 f ) {\n\tfloat l = length( f );\n\treturn max( ( l * l + f.z ) / ( l + 1.0 ), 0.0 );\n}\nvec3 LTC_EdgeVectorFormFactor( const in vec3 v1, const in vec3 v2 ) {\n\tfloat x = dot( v1, v2 );\n\tfloat y = abs( x );\n\tfloat a = 0.8543985 + ( 0.4965155 + 0.0145206 * y ) * y;\n\tfloat b = 3.4175940 + ( 4.1616724 + y ) * y;\n\tfloat v = a / b;\n\tfloat theta_sintheta = ( x > 0.0 ) ? v : 0.5 * inversesqrt( max( 1.0 - x * x, 1e-7 ) ) - v;\n\treturn cross( v1, v2 ) * theta_sintheta;\n}\nvec3 LTC_Evaluate( const in vec3 N, const in vec3 V, const in vec3 P, const in mat3 mInv, const in vec3 rectCoords[ 4 ] ) {\n\tvec3 v1 = rectCoords[ 1 ] - rectCoords[ 0 ];\n\tvec3 v2 = rectCoords[ 3 ] - rectCoords[ 0 ];\n\tvec3 lightNormal = cross( v1, v2 );\n\tif( dot( lightNormal, P - rectCoords[ 0 ] ) < 0.0 ) return vec3( 0.0 );\n\tvec3 T1, T2;\n\tT1 = normalize( V - N * dot( V, N ) );\n\tT2 = - cross( N, T1 );\n\tmat3 mat = mInv * transposeMat3( mat3( T1, T2, N ) );\n\tvec3 coords[ 4 ];\n\tcoords[ 0 ] = mat * ( rectCoords[ 0 ] - P );\n\tcoords[ 1 ] = mat * ( rectCoords[ 1 ] - P );\n\tcoords[ 2 ] = mat * ( rectCoords[ 2 ] - P );\n\tcoords[ 3 ] = mat * ( rectCoords[ 3 ] - P );\n\tcoords[ 0 ] = normalize( coords[ 0 ] );\n\tcoords[ 1 ] = normalize( coords[ 1 ] );\n\tcoords[ 2 ] = normalize( coords[ 2 ] );\n\tcoords[ 3 ] = normalize( coords[ 3 ] );\n\tvec3 vectorFormFactor = vec3( 0.0 );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 0 ], coords[ 1 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 1 ], coords[ 2 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 2 ], coords[ 3 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 3 ], coords[ 0 ] );\n\tfloat result = LTC_ClippedSphereFormFactor( vectorFormFactor );\n\treturn vec3( result );\n}\nvec3 BRDF_Specular_GGX_Environment( const in vec3 viewDir, const in vec3 normal, const in vec3 specularColor, const in float roughness ) {\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tvec2 brdf = integrateSpecularBRDF( dotNV, roughness );\n\treturn specularColor * brdf.x + brdf.y;\n}\nvoid BRDF_Specular_Multiscattering_Environment( const in GeometricContext geometry, const in vec3 specularColor, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {\n\tfloat dotNV = saturate( dot( geometry.normal, geometry.viewDir ) );\n\tvec3 F = F_Schlick_RoughnessDependent( specularColor, dotNV, roughness );\n\tvec2 brdf = integrateSpecularBRDF( dotNV, roughness );\n\tvec3 FssEss = F * brdf.x + brdf.y;\n\tfloat Ess = brdf.x + brdf.y;\n\tfloat Ems = 1.0 - Ess;\n\tvec3 Favg = specularColor + ( 1.0 - specularColor ) * 0.047619;\tvec3 Fms = FssEss * Favg / ( 1.0 - Ems * Favg );\n\tsingleScatter += FssEss;\n\tmultiScatter += Fms * Ems;\n}\nfloat G_BlinnPhong_Implicit( ) {\n\treturn 0.25;\n}\nfloat D_BlinnPhong( const in float shininess, const in float dotNH ) {\n\treturn RECIPROCAL_PI * ( shininess * 0.5 + 1.0 ) * pow( dotNH, shininess );\n}\nvec3 BRDF_Specular_BlinnPhong( const in IncidentLight incidentLight, const in GeometricContext geometry, const in vec3 specularColor, const in float shininess ) {\n\tvec3 halfDir = normalize( incidentLight.direction + geometry.viewDir );\n\tfloat dotNH = saturate( dot( geometry.normal, halfDir ) );\n\tfloat dotLH = saturate( dot( incidentLight.direction, halfDir ) );\n\tvec3 F = F_Schlick( specularColor, dotLH );\n\tfloat G = G_BlinnPhong_Implicit( );\n\tfloat D = D_BlinnPhong( shininess, dotNH );\n\treturn F * ( G * D );\n}\nfloat GGXRoughnessToBlinnExponent( const in float ggxRoughness ) {\n\treturn ( 2.0 / pow2( ggxRoughness + 0.0001 ) - 2.0 );\n}\nfloat BlinnExponentToGGXRoughness( const in float blinnExponent ) {\n\treturn sqrt( 2.0 / ( blinnExponent + 2.0 ) );\n}\n#if defined( USE_SHEEN )\nfloat D_Charlie(float roughness, float NoH) {\n\tfloat invAlpha = 1.0 / roughness;\n\tfloat cos2h = NoH * NoH;\n\tfloat sin2h = max(1.0 - cos2h, 0.0078125);\treturn (2.0 + invAlpha) * pow(sin2h, invAlpha * 0.5) / (2.0 * PI);\n}\nfloat V_Neubelt(float NoV, float NoL) {\n\treturn saturate(1.0 / (4.0 * (NoL + NoV - NoL * NoV)));\n}\nvec3 BRDF_Specular_Sheen( const in float roughness, const in vec3 L, const in GeometricContext geometry, vec3 specularColor ) {\n\tvec3 N = geometry.normal;\n\tvec3 V = geometry.viewDir;\n\tvec3 H = normalize( V + L );\n\tfloat dotNH = saturate( dot( N, H ) );\n\treturn specularColor * D_Charlie( roughness, dotNH ) * V_Neubelt( dot(N, V), dot(N, L) );\n}\n#endif",bumpmap_pars_fragment:"#ifdef USE_BUMPMAP\n\tuniform sampler2D bumpMap;\n\tuniform float bumpScale;\n\tvec2 dHdxy_fwd() {\n\t\tvec2 dSTdx = dFdx( vUv );\n\t\tvec2 dSTdy = dFdy( vUv );\n\t\tfloat Hll = bumpScale * texture2D( bumpMap, vUv ).x;\n\t\tfloat dBx = bumpScale * texture2D( bumpMap, vUv + dSTdx ).x - Hll;\n\t\tfloat dBy = bumpScale * texture2D( bumpMap, vUv + dSTdy ).x - Hll;\n\t\treturn vec2( dBx, dBy );\n\t}\n\tvec3 perturbNormalArb( vec3 surf_pos, vec3 surf_norm, vec2 dHdxy, float faceDirection ) {\n\t\tvec3 vSigmaX = vec3( dFdx( surf_pos.x ), dFdx( surf_pos.y ), dFdx( surf_pos.z ) );\n\t\tvec3 vSigmaY = vec3( dFdy( surf_pos.x ), dFdy( surf_pos.y ), dFdy( surf_pos.z ) );\n\t\tvec3 vN = surf_norm;\n\t\tvec3 R1 = cross( vSigmaY, vN );\n\t\tvec3 R2 = cross( vN, vSigmaX );\n\t\tfloat fDet = dot( vSigmaX, R1 ) * faceDirection;\n\t\tvec3 vGrad = sign( fDet ) * ( dHdxy.x * R1 + dHdxy.y * R2 );\n\t\treturn normalize( abs( fDet ) * surf_norm - vGrad );\n\t}\n#endif",clipping_planes_fragment:"#if NUM_CLIPPING_PLANES > 0\n\tvec4 plane;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) {\n\t\tplane = clippingPlanes[ i ];\n\t\tif ( dot( vClipPosition, plane.xyz ) > plane.w ) discard;\n\t}\n\t#pragma unroll_loop_end\n\t#if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES\n\t\tbool clipped = true;\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) {\n\t\t\tplane = clippingPlanes[ i ];\n\t\t\tclipped = ( dot( vClipPosition, plane.xyz ) > plane.w ) && clipped;\n\t\t}\n\t\t#pragma unroll_loop_end\n\t\tif ( clipped ) discard;\n\t#endif\n#endif",clipping_planes_pars_fragment:"#if NUM_CLIPPING_PLANES > 0\n\tvarying vec3 vClipPosition;\n\tuniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ];\n#endif",clipping_planes_pars_vertex:"#if NUM_CLIPPING_PLANES > 0\n\tvarying vec3 vClipPosition;\n#endif",clipping_planes_vertex:"#if NUM_CLIPPING_PLANES > 0\n\tvClipPosition = - mvPosition.xyz;\n#endif",color_fragment:"#if defined( USE_COLOR_ALPHA )\n\tdiffuseColor *= vColor;\n#elif defined( USE_COLOR )\n\tdiffuseColor.rgb *= vColor;\n#endif",color_pars_fragment:"#if defined( USE_COLOR_ALPHA )\n\tvarying vec4 vColor;\n#elif defined( USE_COLOR )\n\tvarying vec3 vColor;\n#endif",color_pars_vertex:"#if defined( USE_COLOR_ALPHA )\n\tvarying vec4 vColor;\n#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR )\n\tvarying vec3 vColor;\n#endif",color_vertex:"#if defined( USE_COLOR_ALPHA )\n\tvColor = vec4( 1.0 );\n#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR )\n\tvColor = vec3( 1.0 );\n#endif\n#ifdef USE_COLOR\n\tvColor *= color;\n#endif\n#ifdef USE_INSTANCING_COLOR\n\tvColor.xyz *= instanceColor.xyz;\n#endif",common:"#define PI 3.141592653589793\n#define PI2 6.283185307179586\n#define PI_HALF 1.5707963267948966\n#define RECIPROCAL_PI 0.3183098861837907\n#define RECIPROCAL_PI2 0.15915494309189535\n#define EPSILON 1e-6\n#ifndef saturate\n#define saturate(a) clamp( a, 0.0, 1.0 )\n#endif\n#define whiteComplement(a) ( 1.0 - saturate( a ) )\nfloat pow2( const in float x ) { return x*x; }\nfloat pow3( const in float x ) { return x*x*x; }\nfloat pow4( const in float x ) { float x2 = x*x; return x2*x2; }\nfloat average( const in vec3 color ) { return dot( color, vec3( 0.3333 ) ); }\nhighp float rand( const in vec2 uv ) {\n\tconst highp float a = 12.9898, b = 78.233, c = 43758.5453;\n\thighp float dt = dot( uv.xy, vec2( a,b ) ), sn = mod( dt, PI );\n\treturn fract(sin(sn) * c);\n}\n#ifdef HIGH_PRECISION\n\tfloat precisionSafeLength( vec3 v ) { return length( v ); }\n#else\n\tfloat max3( vec3 v ) { return max( max( v.x, v.y ), v.z ); }\n\tfloat precisionSafeLength( vec3 v ) {\n\t\tfloat maxComponent = max3( abs( v ) );\n\t\treturn length( v / maxComponent ) * maxComponent;\n\t}\n#endif\nstruct IncidentLight {\n\tvec3 color;\n\tvec3 direction;\n\tbool visible;\n};\nstruct ReflectedLight {\n\tvec3 directDiffuse;\n\tvec3 directSpecular;\n\tvec3 indirectDiffuse;\n\tvec3 indirectSpecular;\n};\nstruct GeometricContext {\n\tvec3 position;\n\tvec3 normal;\n\tvec3 viewDir;\n#ifdef CLEARCOAT\n\tvec3 clearcoatNormal;\n#endif\n};\nvec3 transformDirection( in vec3 dir, in mat4 matrix ) {\n\treturn normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );\n}\nvec3 inverseTransformDirection( in vec3 dir, in mat4 matrix ) {\n\treturn normalize( ( vec4( dir, 0.0 ) * matrix ).xyz );\n}\nvec3 projectOnPlane(in vec3 point, in vec3 pointOnPlane, in vec3 planeNormal ) {\n\tfloat distance = dot( planeNormal, point - pointOnPlane );\n\treturn - distance * planeNormal + point;\n}\nfloat sideOfPlane( in vec3 point, in vec3 pointOnPlane, in vec3 planeNormal ) {\n\treturn sign( dot( point - pointOnPlane, planeNormal ) );\n}\nvec3 linePlaneIntersect( in vec3 pointOnLine, in vec3 lineDirection, in vec3 pointOnPlane, in vec3 planeNormal ) {\n\treturn lineDirection * ( dot( planeNormal, pointOnPlane - pointOnLine ) / dot( planeNormal, lineDirection ) ) + pointOnLine;\n}\nmat3 transposeMat3( const in mat3 m ) {\n\tmat3 tmp;\n\ttmp[ 0 ] = vec3( m[ 0 ].x, m[ 1 ].x, m[ 2 ].x );\n\ttmp[ 1 ] = vec3( m[ 0 ].y, m[ 1 ].y, m[ 2 ].y );\n\ttmp[ 2 ] = vec3( m[ 0 ].z, m[ 1 ].z, m[ 2 ].z );\n\treturn tmp;\n}\nfloat linearToRelativeLuminance( const in vec3 color ) {\n\tvec3 weights = vec3( 0.2126, 0.7152, 0.0722 );\n\treturn dot( weights, color.rgb );\n}\nbool isPerspectiveMatrix( mat4 m ) {\n\treturn m[ 2 ][ 3 ] == - 1.0;\n}\nvec2 equirectUv( in vec3 dir ) {\n\tfloat u = atan( dir.z, dir.x ) * RECIPROCAL_PI2 + 0.5;\n\tfloat v = asin( clamp( dir.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5;\n\treturn vec2( u, v );\n}",cube_uv_reflection_fragment:"#ifdef ENVMAP_TYPE_CUBE_UV\n\t#define cubeUV_maxMipLevel 8.0\n\t#define cubeUV_minMipLevel 4.0\n\t#define cubeUV_maxTileSize 256.0\n\t#define cubeUV_minTileSize 16.0\n\tfloat getFace( vec3 direction ) {\n\t\tvec3 absDirection = abs( direction );\n\t\tfloat face = - 1.0;\n\t\tif ( absDirection.x > absDirection.z ) {\n\t\t\tif ( absDirection.x > absDirection.y )\n\t\t\t\tface = direction.x > 0.0 ? 0.0 : 3.0;\n\t\t\telse\n\t\t\t\tface = direction.y > 0.0 ? 1.0 : 4.0;\n\t\t} else {\n\t\t\tif ( absDirection.z > absDirection.y )\n\t\t\t\tface = direction.z > 0.0 ? 2.0 : 5.0;\n\t\t\telse\n\t\t\t\tface = direction.y > 0.0 ? 1.0 : 4.0;\n\t\t}\n\t\treturn face;\n\t}\n\tvec2 getUV( vec3 direction, float face ) {\n\t\tvec2 uv;\n\t\tif ( face == 0.0 ) {\n\t\t\tuv = vec2( direction.z, direction.y ) / abs( direction.x );\n\t\t} else if ( face == 1.0 ) {\n\t\t\tuv = vec2( - direction.x, - direction.z ) / abs( direction.y );\n\t\t} else if ( face == 2.0 ) {\n\t\t\tuv = vec2( - direction.x, direction.y ) / abs( direction.z );\n\t\t} else if ( face == 3.0 ) {\n\t\t\tuv = vec2( - direction.z, direction.y ) / abs( direction.x );\n\t\t} else if ( face == 4.0 ) {\n\t\t\tuv = vec2( - direction.x, direction.z ) / abs( direction.y );\n\t\t} else {\n\t\t\tuv = vec2( direction.x, direction.y ) / abs( direction.z );\n\t\t}\n\t\treturn 0.5 * ( uv + 1.0 );\n\t}\n\tvec3 bilinearCubeUV( sampler2D envMap, vec3 direction, float mipInt ) {\n\t\tfloat face = getFace( direction );\n\t\tfloat filterInt = max( cubeUV_minMipLevel - mipInt, 0.0 );\n\t\tmipInt = max( mipInt, cubeUV_minMipLevel );\n\t\tfloat faceSize = exp2( mipInt );\n\t\tfloat texelSize = 1.0 / ( 3.0 * cubeUV_maxTileSize );\n\t\tvec2 uv = getUV( direction, face ) * ( faceSize - 1.0 );\n\t\tvec2 f = fract( uv );\n\t\tuv += 0.5 - f;\n\t\tif ( face > 2.0 ) {\n\t\t\tuv.y += faceSize;\n\t\t\tface -= 3.0;\n\t\t}\n\t\tuv.x += face * faceSize;\n\t\tif ( mipInt < cubeUV_maxMipLevel ) {\n\t\t\tuv.y += 2.0 * cubeUV_maxTileSize;\n\t\t}\n\t\tuv.y += filterInt * 2.0 * cubeUV_minTileSize;\n\t\tuv.x += 3.0 * max( 0.0, cubeUV_maxTileSize - 2.0 * faceSize );\n\t\tuv *= texelSize;\n\t\tvec3 tl = envMapTexelToLinear( texture2D( envMap, uv ) ).rgb;\n\t\tuv.x += texelSize;\n\t\tvec3 tr = envMapTexelToLinear( texture2D( envMap, uv ) ).rgb;\n\t\tuv.y += texelSize;\n\t\tvec3 br = envMapTexelToLinear( texture2D( envMap, uv ) ).rgb;\n\t\tuv.x -= texelSize;\n\t\tvec3 bl = envMapTexelToLinear( texture2D( envMap, uv ) ).rgb;\n\t\tvec3 tm = mix( tl, tr, f.x );\n\t\tvec3 bm = mix( bl, br, f.x );\n\t\treturn mix( tm, bm, f.y );\n\t}\n\t#define r0 1.0\n\t#define v0 0.339\n\t#define m0 - 2.0\n\t#define r1 0.8\n\t#define v1 0.276\n\t#define m1 - 1.0\n\t#define r4 0.4\n\t#define v4 0.046\n\t#define m4 2.0\n\t#define r5 0.305\n\t#define v5 0.016\n\t#define m5 3.0\n\t#define r6 0.21\n\t#define v6 0.0038\n\t#define m6 4.0\n\tfloat roughnessToMip( float roughness ) {\n\t\tfloat mip = 0.0;\n\t\tif ( roughness >= r1 ) {\n\t\t\tmip = ( r0 - roughness ) * ( m1 - m0 ) / ( r0 - r1 ) + m0;\n\t\t} else if ( roughness >= r4 ) {\n\t\t\tmip = ( r1 - roughness ) * ( m4 - m1 ) / ( r1 - r4 ) + m1;\n\t\t} else if ( roughness >= r5 ) {\n\t\t\tmip = ( r4 - roughness ) * ( m5 - m4 ) / ( r4 - r5 ) + m4;\n\t\t} else if ( roughness >= r6 ) {\n\t\t\tmip = ( r5 - roughness ) * ( m6 - m5 ) / ( r5 - r6 ) + m5;\n\t\t} else {\n\t\t\tmip = - 2.0 * log2( 1.16 * roughness );\t\t}\n\t\treturn mip;\n\t}\n\tvec4 textureCubeUV( sampler2D envMap, vec3 sampleDir, float roughness ) {\n\t\tfloat mip = clamp( roughnessToMip( roughness ), m0, cubeUV_maxMipLevel );\n\t\tfloat mipF = fract( mip );\n\t\tfloat mipInt = floor( mip );\n\t\tvec3 color0 = bilinearCubeUV( envMap, sampleDir, mipInt );\n\t\tif ( mipF == 0.0 ) {\n\t\t\treturn vec4( color0, 1.0 );\n\t\t} else {\n\t\t\tvec3 color1 = bilinearCubeUV( envMap, sampleDir, mipInt + 1.0 );\n\t\t\treturn vec4( mix( color0, color1, mipF ), 1.0 );\n\t\t}\n\t}\n#endif",defaultnormal_vertex:"vec3 transformedNormal = objectNormal;\n#ifdef USE_INSTANCING\n\tmat3 m = mat3( instanceMatrix );\n\ttransformedNormal /= vec3( dot( m[ 0 ], m[ 0 ] ), dot( m[ 1 ], m[ 1 ] ), dot( m[ 2 ], m[ 2 ] ) );\n\ttransformedNormal = m * transformedNormal;\n#endif\ntransformedNormal = normalMatrix * transformedNormal;\n#ifdef FLIP_SIDED\n\ttransformedNormal = - transformedNormal;\n#endif\n#ifdef USE_TANGENT\n\tvec3 transformedTangent = ( modelViewMatrix * vec4( objectTangent, 0.0 ) ).xyz;\n\t#ifdef FLIP_SIDED\n\t\ttransformedTangent = - transformedTangent;\n\t#endif\n#endif",displacementmap_pars_vertex:"#ifdef USE_DISPLACEMENTMAP\n\tuniform sampler2D displacementMap;\n\tuniform float displacementScale;\n\tuniform float displacementBias;\n#endif",displacementmap_vertex:"#ifdef USE_DISPLACEMENTMAP\n\ttransformed += normalize( objectNormal ) * ( texture2D( displacementMap, vUv ).x * displacementScale + displacementBias );\n#endif",emissivemap_fragment:"#ifdef USE_EMISSIVEMAP\n\tvec4 emissiveColor = texture2D( emissiveMap, vUv );\n\temissiveColor.rgb = emissiveMapTexelToLinear( emissiveColor ).rgb;\n\ttotalEmissiveRadiance *= emissiveColor.rgb;\n#endif",emissivemap_pars_fragment:"#ifdef USE_EMISSIVEMAP\n\tuniform sampler2D emissiveMap;\n#endif",encodings_fragment:"gl_FragColor = linearToOutputTexel( gl_FragColor );",encodings_pars_fragment:"\nvec4 LinearToLinear( in vec4 value ) {\n\treturn value;\n}\nvec4 GammaToLinear( in vec4 value, in float gammaFactor ) {\n\treturn vec4( pow( value.rgb, vec3( gammaFactor ) ), value.a );\n}\nvec4 LinearToGamma( in vec4 value, in float gammaFactor ) {\n\treturn vec4( pow( value.rgb, vec3( 1.0 / gammaFactor ) ), value.a );\n}\nvec4 sRGBToLinear( in vec4 value ) {\n\treturn vec4( mix( pow( value.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), value.rgb * 0.0773993808, vec3( lessThanEqual( value.rgb, vec3( 0.04045 ) ) ) ), value.a );\n}\nvec4 LinearTosRGB( in vec4 value ) {\n\treturn vec4( mix( pow( value.rgb, vec3( 0.41666 ) ) * 1.055 - vec3( 0.055 ), value.rgb * 12.92, vec3( lessThanEqual( value.rgb, vec3( 0.0031308 ) ) ) ), value.a );\n}\nvec4 RGBEToLinear( in vec4 value ) {\n\treturn vec4( value.rgb * exp2( value.a * 255.0 - 128.0 ), 1.0 );\n}\nvec4 LinearToRGBE( in vec4 value ) {\n\tfloat maxComponent = max( max( value.r, value.g ), value.b );\n\tfloat fExp = clamp( ceil( log2( maxComponent ) ), -128.0, 127.0 );\n\treturn vec4( value.rgb / exp2( fExp ), ( fExp + 128.0 ) / 255.0 );\n}\nvec4 RGBMToLinear( in vec4 value, in float maxRange ) {\n\treturn vec4( value.rgb * value.a * maxRange, 1.0 );\n}\nvec4 LinearToRGBM( in vec4 value, in float maxRange ) {\n\tfloat maxRGB = max( value.r, max( value.g, value.b ) );\n\tfloat M = clamp( maxRGB / maxRange, 0.0, 1.0 );\n\tM = ceil( M * 255.0 ) / 255.0;\n\treturn vec4( value.rgb / ( M * maxRange ), M );\n}\nvec4 RGBDToLinear( in vec4 value, in float maxRange ) {\n\treturn vec4( value.rgb * ( ( maxRange / 255.0 ) / value.a ), 1.0 );\n}\nvec4 LinearToRGBD( in vec4 value, in float maxRange ) {\n\tfloat maxRGB = max( value.r, max( value.g, value.b ) );\n\tfloat D = max( maxRange / maxRGB, 1.0 );\n\tD = clamp( floor( D ) / 255.0, 0.0, 1.0 );\n\treturn vec4( value.rgb * ( D * ( 255.0 / maxRange ) ), D );\n}\nconst mat3 cLogLuvM = mat3( 0.2209, 0.3390, 0.4184, 0.1138, 0.6780, 0.7319, 0.0102, 0.1130, 0.2969 );\nvec4 LinearToLogLuv( in vec4 value ) {\n\tvec3 Xp_Y_XYZp = cLogLuvM * value.rgb;\n\tXp_Y_XYZp = max( Xp_Y_XYZp, vec3( 1e-6, 1e-6, 1e-6 ) );\n\tvec4 vResult;\n\tvResult.xy = Xp_Y_XYZp.xy / Xp_Y_XYZp.z;\n\tfloat Le = 2.0 * log2(Xp_Y_XYZp.y) + 127.0;\n\tvResult.w = fract( Le );\n\tvResult.z = ( Le - ( floor( vResult.w * 255.0 ) ) / 255.0 ) / 255.0;\n\treturn vResult;\n}\nconst mat3 cLogLuvInverseM = mat3( 6.0014, -2.7008, -1.7996, -1.3320, 3.1029, -5.7721, 0.3008, -1.0882, 5.6268 );\nvec4 LogLuvToLinear( in vec4 value ) {\n\tfloat Le = value.z * 255.0 + value.w;\n\tvec3 Xp_Y_XYZp;\n\tXp_Y_XYZp.y = exp2( ( Le - 127.0 ) / 2.0 );\n\tXp_Y_XYZp.z = Xp_Y_XYZp.y / value.y;\n\tXp_Y_XYZp.x = value.x * Xp_Y_XYZp.z;\n\tvec3 vRGB = cLogLuvInverseM * Xp_Y_XYZp.rgb;\n\treturn vec4( max( vRGB, 0.0 ), 1.0 );\n}",envmap_fragment:"#ifdef USE_ENVMAP\n\t#ifdef ENV_WORLDPOS\n\t\tvec3 cameraToFrag;\n\t\tif ( isOrthographic ) {\n\t\t\tcameraToFrag = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );\n\t\t} else {\n\t\t\tcameraToFrag = normalize( vWorldPosition - cameraPosition );\n\t\t}\n\t\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n\t\t#ifdef ENVMAP_MODE_REFLECTION\n\t\t\tvec3 reflectVec = reflect( cameraToFrag, worldNormal );\n\t\t#else\n\t\t\tvec3 reflectVec = refract( cameraToFrag, worldNormal, refractionRatio );\n\t\t#endif\n\t#else\n\t\tvec3 reflectVec = vReflect;\n\t#endif\n\t#ifdef ENVMAP_TYPE_CUBE\n\t\tvec4 envColor = textureCube( envMap, vec3( flipEnvMap * reflectVec.x, reflectVec.yz ) );\n\t#elif defined( ENVMAP_TYPE_CUBE_UV )\n\t\tvec4 envColor = textureCubeUV( envMap, reflectVec, 0.0 );\n\t#else\n\t\tvec4 envColor = vec4( 0.0 );\n\t#endif\n\t#ifndef ENVMAP_TYPE_CUBE_UV\n\t\tenvColor = envMapTexelToLinear( envColor );\n\t#endif\n\t#ifdef ENVMAP_BLENDING_MULTIPLY\n\t\toutgoingLight = mix( outgoingLight, outgoingLight * envColor.xyz, specularStrength * reflectivity );\n\t#elif defined( ENVMAP_BLENDING_MIX )\n\t\toutgoingLight = mix( outgoingLight, envColor.xyz, specularStrength * reflectivity );\n\t#elif defined( ENVMAP_BLENDING_ADD )\n\t\toutgoingLight += envColor.xyz * specularStrength * reflectivity;\n\t#endif\n#endif",envmap_common_pars_fragment:"#ifdef USE_ENVMAP\n\tuniform float envMapIntensity;\n\tuniform float flipEnvMap;\n\tuniform int maxMipLevel;\n\t#ifdef ENVMAP_TYPE_CUBE\n\t\tuniform samplerCube envMap;\n\t#else\n\t\tuniform sampler2D envMap;\n\t#endif\n\t\n#endif",envmap_pars_fragment:"#ifdef USE_ENVMAP\n\tuniform float reflectivity;\n\t#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG )\n\t\t#define ENV_WORLDPOS\n\t#endif\n\t#ifdef ENV_WORLDPOS\n\t\tvarying vec3 vWorldPosition;\n\t\tuniform float refractionRatio;\n\t#else\n\t\tvarying vec3 vReflect;\n\t#endif\n#endif",envmap_pars_vertex:"#ifdef USE_ENVMAP\n\t#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) ||defined( PHONG )\n\t\t#define ENV_WORLDPOS\n\t#endif\n\t#ifdef ENV_WORLDPOS\n\t\t\n\t\tvarying vec3 vWorldPosition;\n\t#else\n\t\tvarying vec3 vReflect;\n\t\tuniform float refractionRatio;\n\t#endif\n#endif",envmap_physical_pars_fragment:"#if defined( USE_ENVMAP )\n\t#ifdef ENVMAP_MODE_REFRACTION\n\t\tuniform float refractionRatio;\n\t#endif\n\tvec3 getLightProbeIndirectIrradiance( const in GeometricContext geometry, const in int maxMIPLevel ) {\n\t\tvec3 worldNormal = inverseTransformDirection( geometry.normal, viewMatrix );\n\t\t#ifdef ENVMAP_TYPE_CUBE\n\t\t\tvec3 queryVec = vec3( flipEnvMap * worldNormal.x, worldNormal.yz );\n\t\t\t#ifdef TEXTURE_LOD_EXT\n\t\t\t\tvec4 envMapColor = textureCubeLodEXT( envMap, queryVec, float( maxMIPLevel ) );\n\t\t\t#else\n\t\t\t\tvec4 envMapColor = textureCube( envMap, queryVec, float( maxMIPLevel ) );\n\t\t\t#endif\n\t\t\tenvMapColor.rgb = envMapTexelToLinear( envMapColor ).rgb;\n\t\t#elif defined( ENVMAP_TYPE_CUBE_UV )\n\t\t\tvec4 envMapColor = textureCubeUV( envMap, worldNormal, 1.0 );\n\t\t#else\n\t\t\tvec4 envMapColor = vec4( 0.0 );\n\t\t#endif\n\t\treturn PI * envMapColor.rgb * envMapIntensity;\n\t}\n\tfloat getSpecularMIPLevel( const in float roughness, const in int maxMIPLevel ) {\n\t\tfloat maxMIPLevelScalar = float( maxMIPLevel );\n\t\tfloat sigma = PI * roughness * roughness / ( 1.0 + roughness );\n\t\tfloat desiredMIPLevel = maxMIPLevelScalar + log2( sigma );\n\t\treturn clamp( desiredMIPLevel, 0.0, maxMIPLevelScalar );\n\t}\n\tvec3 getLightProbeIndirectRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness, const in int maxMIPLevel ) {\n\t\t#ifdef ENVMAP_MODE_REFLECTION\n\t\t\tvec3 reflectVec = reflect( -viewDir, normal );\n\t\t\treflectVec = normalize( mix( reflectVec, normal, roughness * roughness) );\n\t\t#else\n\t\t\tvec3 reflectVec = refract( -viewDir, normal, refractionRatio );\n\t\t#endif\n\t\treflectVec = inverseTransformDirection( reflectVec, viewMatrix );\n\t\tfloat specularMIPLevel = getSpecularMIPLevel( roughness, maxMIPLevel );\n\t\t#ifdef ENVMAP_TYPE_CUBE\n\t\t\tvec3 queryReflectVec = vec3( flipEnvMap * reflectVec.x, reflectVec.yz );\n\t\t\t#ifdef TEXTURE_LOD_EXT\n\t\t\t\tvec4 envMapColor = textureCubeLodEXT( envMap, queryReflectVec, specularMIPLevel );\n\t\t\t#else\n\t\t\t\tvec4 envMapColor = textureCube( envMap, queryReflectVec, specularMIPLevel );\n\t\t\t#endif\n\t\t\tenvMapColor.rgb = envMapTexelToLinear( envMapColor ).rgb;\n\t\t#elif defined( ENVMAP_TYPE_CUBE_UV )\n\t\t\tvec4 envMapColor = textureCubeUV( envMap, reflectVec, roughness );\n\t\t#endif\n\t\treturn envMapColor.rgb * envMapIntensity;\n\t}\n#endif",envmap_vertex:"#ifdef USE_ENVMAP\n\t#ifdef ENV_WORLDPOS\n\t\tvWorldPosition = worldPosition.xyz;\n\t#else\n\t\tvec3 cameraToVertex;\n\t\tif ( isOrthographic ) {\n\t\t\tcameraToVertex = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );\n\t\t} else {\n\t\t\tcameraToVertex = normalize( worldPosition.xyz - cameraPosition );\n\t\t}\n\t\tvec3 worldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\n\t\t#ifdef ENVMAP_MODE_REFLECTION\n\t\t\tvReflect = reflect( cameraToVertex, worldNormal );\n\t\t#else\n\t\t\tvReflect = refract( cameraToVertex, worldNormal, refractionRatio );\n\t\t#endif\n\t#endif\n#endif",fog_vertex:"#ifdef USE_FOG\n\tfogDepth = - mvPosition.z;\n#endif",fog_pars_vertex:"#ifdef USE_FOG\n\tvarying float fogDepth;\n#endif",fog_fragment:"#ifdef USE_FOG\n\t#ifdef FOG_EXP2\n\t\tfloat fogFactor = 1.0 - exp( - fogDensity * fogDensity * fogDepth * fogDepth );\n\t#else\n\t\tfloat fogFactor = smoothstep( fogNear, fogFar, fogDepth );\n\t#endif\n\tgl_FragColor.rgb = mix( gl_FragColor.rgb, fogColor, fogFactor );\n#endif",fog_pars_fragment:"#ifdef USE_FOG\n\tuniform vec3 fogColor;\n\tvarying float fogDepth;\n\t#ifdef FOG_EXP2\n\t\tuniform float fogDensity;\n\t#else\n\t\tuniform float fogNear;\n\t\tuniform float fogFar;\n\t#endif\n#endif",gradientmap_pars_fragment:"#ifdef USE_GRADIENTMAP\n\tuniform sampler2D gradientMap;\n#endif\nvec3 getGradientIrradiance( vec3 normal, vec3 lightDirection ) {\n\tfloat dotNL = dot( normal, lightDirection );\n\tvec2 coord = vec2( dotNL * 0.5 + 0.5, 0.0 );\n\t#ifdef USE_GRADIENTMAP\n\t\treturn texture2D( gradientMap, coord ).rgb;\n\t#else\n\t\treturn ( coord.x < 0.7 ) ? vec3( 0.7 ) : vec3( 1.0 );\n\t#endif\n}",lightmap_fragment:"#ifdef USE_LIGHTMAP\n\tvec4 lightMapTexel= texture2D( lightMap, vUv2 );\n\treflectedLight.indirectDiffuse += PI * lightMapTexelToLinear( lightMapTexel ).rgb * lightMapIntensity;\n#endif",lightmap_pars_fragment:"#ifdef USE_LIGHTMAP\n\tuniform sampler2D lightMap;\n\tuniform float lightMapIntensity;\n#endif",lights_lambert_vertex:"vec3 diffuse = vec3( 1.0 );\nGeometricContext geometry;\ngeometry.position = mvPosition.xyz;\ngeometry.normal = normalize( transformedNormal );\ngeometry.viewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( -mvPosition.xyz );\nGeometricContext backGeometry;\nbackGeometry.position = geometry.position;\nbackGeometry.normal = -geometry.normal;\nbackGeometry.viewDir = geometry.viewDir;\nvLightFront = vec3( 0.0 );\nvIndirectFront = vec3( 0.0 );\n#ifdef DOUBLE_SIDED\n\tvLightBack = vec3( 0.0 );\n\tvIndirectBack = vec3( 0.0 );\n#endif\nIncidentLight directLight;\nfloat dotNL;\nvec3 directLightColor_Diffuse;\nvIndirectFront += getAmbientLightIrradiance( ambientLightColor );\nvIndirectFront += getLightProbeIrradiance( lightProbe, geometry );\n#ifdef DOUBLE_SIDED\n\tvIndirectBack += getAmbientLightIrradiance( ambientLightColor );\n\tvIndirectBack += getLightProbeIrradiance( lightProbe, backGeometry );\n#endif\n#if NUM_POINT_LIGHTS > 0\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) {\n\t\tgetPointDirectLightIrradiance( pointLights[ i ], geometry, directLight );\n\t\tdotNL = dot( geometry.normal, directLight.direction );\n\t\tdirectLightColor_Diffuse = PI * directLight.color;\n\t\tvLightFront += saturate( dotNL ) * directLightColor_Diffuse;\n\t\t#ifdef DOUBLE_SIDED\n\t\t\tvLightBack += saturate( -dotNL ) * directLightColor_Diffuse;\n\t\t#endif\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if NUM_SPOT_LIGHTS > 0\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) {\n\t\tgetSpotDirectLightIrradiance( spotLights[ i ], geometry, directLight );\n\t\tdotNL = dot( geometry.normal, directLight.direction );\n\t\tdirectLightColor_Diffuse = PI * directLight.color;\n\t\tvLightFront += saturate( dotNL ) * directLightColor_Diffuse;\n\t\t#ifdef DOUBLE_SIDED\n\t\t\tvLightBack += saturate( -dotNL ) * directLightColor_Diffuse;\n\t\t#endif\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if NUM_DIR_LIGHTS > 0\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\n\t\tgetDirectionalDirectLightIrradiance( directionalLights[ i ], geometry, directLight );\n\t\tdotNL = dot( geometry.normal, directLight.direction );\n\t\tdirectLightColor_Diffuse = PI * directLight.color;\n\t\tvLightFront += saturate( dotNL ) * directLightColor_Diffuse;\n\t\t#ifdef DOUBLE_SIDED\n\t\t\tvLightBack += saturate( -dotNL ) * directLightColor_Diffuse;\n\t\t#endif\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if NUM_HEMI_LIGHTS > 0\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) {\n\t\tvIndirectFront += getHemisphereLightIrradiance( hemisphereLights[ i ], geometry );\n\t\t#ifdef DOUBLE_SIDED\n\t\t\tvIndirectBack += getHemisphereLightIrradiance( hemisphereLights[ i ], backGeometry );\n\t\t#endif\n\t}\n\t#pragma unroll_loop_end\n#endif",lights_pars_begin:"uniform bool receiveShadow;\nuniform vec3 ambientLightColor;\nuniform vec3 lightProbe[ 9 ];\nvec3 shGetIrradianceAt( in vec3 normal, in vec3 shCoefficients[ 9 ] ) {\n\tfloat x = normal.x, y = normal.y, z = normal.z;\n\tvec3 result = shCoefficients[ 0 ] * 0.886227;\n\tresult += shCoefficients[ 1 ] * 2.0 * 0.511664 * y;\n\tresult += shCoefficients[ 2 ] * 2.0 * 0.511664 * z;\n\tresult += shCoefficients[ 3 ] * 2.0 * 0.511664 * x;\n\tresult += shCoefficients[ 4 ] * 2.0 * 0.429043 * x * y;\n\tresult += shCoefficients[ 5 ] * 2.0 * 0.429043 * y * z;\n\tresult += shCoefficients[ 6 ] * ( 0.743125 * z * z - 0.247708 );\n\tresult += shCoefficients[ 7 ] * 2.0 * 0.429043 * x * z;\n\tresult += shCoefficients[ 8 ] * 0.429043 * ( x * x - y * y );\n\treturn result;\n}\nvec3 getLightProbeIrradiance( const in vec3 lightProbe[ 9 ], const in GeometricContext geometry ) {\n\tvec3 worldNormal = inverseTransformDirection( geometry.normal, viewMatrix );\n\tvec3 irradiance = shGetIrradianceAt( worldNormal, lightProbe );\n\treturn irradiance;\n}\nvec3 getAmbientLightIrradiance( const in vec3 ambientLightColor ) {\n\tvec3 irradiance = ambientLightColor;\n\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\tirradiance *= PI;\n\t#endif\n\treturn irradiance;\n}\n#if NUM_DIR_LIGHTS > 0\n\tstruct DirectionalLight {\n\t\tvec3 direction;\n\t\tvec3 color;\n\t};\n\tuniform DirectionalLight directionalLights[ NUM_DIR_LIGHTS ];\n\tvoid getDirectionalDirectLightIrradiance( const in DirectionalLight directionalLight, const in GeometricContext geometry, out IncidentLight directLight ) {\n\t\tdirectLight.color = directionalLight.color;\n\t\tdirectLight.direction = directionalLight.direction;\n\t\tdirectLight.visible = true;\n\t}\n#endif\n#if NUM_POINT_LIGHTS > 0\n\tstruct PointLight {\n\t\tvec3 position;\n\t\tvec3 color;\n\t\tfloat distance;\n\t\tfloat decay;\n\t};\n\tuniform PointLight pointLights[ NUM_POINT_LIGHTS ];\n\tvoid getPointDirectLightIrradiance( const in PointLight pointLight, const in GeometricContext geometry, out IncidentLight directLight ) {\n\t\tvec3 lVector = pointLight.position - geometry.position;\n\t\tdirectLight.direction = normalize( lVector );\n\t\tfloat lightDistance = length( lVector );\n\t\tdirectLight.color = pointLight.color;\n\t\tdirectLight.color *= punctualLightIntensityToIrradianceFactor( lightDistance, pointLight.distance, pointLight.decay );\n\t\tdirectLight.visible = ( directLight.color != vec3( 0.0 ) );\n\t}\n#endif\n#if NUM_SPOT_LIGHTS > 0\n\tstruct SpotLight {\n\t\tvec3 position;\n\t\tvec3 direction;\n\t\tvec3 color;\n\t\tfloat distance;\n\t\tfloat decay;\n\t\tfloat coneCos;\n\t\tfloat penumbraCos;\n\t};\n\tuniform SpotLight spotLights[ NUM_SPOT_LIGHTS ];\n\tvoid getSpotDirectLightIrradiance( const in SpotLight spotLight, const in GeometricContext geometry, out IncidentLight directLight ) {\n\t\tvec3 lVector = spotLight.position - geometry.position;\n\t\tdirectLight.direction = normalize( lVector );\n\t\tfloat lightDistance = length( lVector );\n\t\tfloat angleCos = dot( directLight.direction, spotLight.direction );\n\t\tif ( angleCos > spotLight.coneCos ) {\n\t\t\tfloat spotEffect = smoothstep( spotLight.coneCos, spotLight.penumbraCos, angleCos );\n\t\t\tdirectLight.color = spotLight.color;\n\t\t\tdirectLight.color *= spotEffect * punctualLightIntensityToIrradianceFactor( lightDistance, spotLight.distance, spotLight.decay );\n\t\t\tdirectLight.visible = true;\n\t\t} else {\n\t\t\tdirectLight.color = vec3( 0.0 );\n\t\t\tdirectLight.visible = false;\n\t\t}\n\t}\n#endif\n#if NUM_RECT_AREA_LIGHTS > 0\n\tstruct RectAreaLight {\n\t\tvec3 color;\n\t\tvec3 position;\n\t\tvec3 halfWidth;\n\t\tvec3 halfHeight;\n\t};\n\tuniform sampler2D ltc_1;\tuniform sampler2D ltc_2;\n\tuniform RectAreaLight rectAreaLights[ NUM_RECT_AREA_LIGHTS ];\n#endif\n#if NUM_HEMI_LIGHTS > 0\n\tstruct HemisphereLight {\n\t\tvec3 direction;\n\t\tvec3 skyColor;\n\t\tvec3 groundColor;\n\t};\n\tuniform HemisphereLight hemisphereLights[ NUM_HEMI_LIGHTS ];\n\tvec3 getHemisphereLightIrradiance( const in HemisphereLight hemiLight, const in GeometricContext geometry ) {\n\t\tfloat dotNL = dot( geometry.normal, hemiLight.direction );\n\t\tfloat hemiDiffuseWeight = 0.5 * dotNL + 0.5;\n\t\tvec3 irradiance = mix( hemiLight.groundColor, hemiLight.skyColor, hemiDiffuseWeight );\n\t\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\t\tirradiance *= PI;\n\t\t#endif\n\t\treturn irradiance;\n\t}\n#endif",lights_toon_fragment:"ToonMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;",lights_toon_pars_fragment:"varying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\nstruct ToonMaterial {\n\tvec3 diffuseColor;\n};\nvoid RE_Direct_Toon( const in IncidentLight directLight, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\n\tvec3 irradiance = getGradientIrradiance( geometry.normal, directLight.direction ) * directLight.color;\n\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\tirradiance *= PI;\n\t#endif\n\treflectedLight.directDiffuse += irradiance * BRDF_Diffuse_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Toon( const in vec3 irradiance, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Diffuse_Lambert( material.diffuseColor );\n}\n#define RE_Direct\t\t\t\tRE_Direct_Toon\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_Toon\n#define Material_LightProbeLOD( material )\t(0)",lights_phong_fragment:"BlinnPhongMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;\nmaterial.specularColor = specular;\nmaterial.specularShininess = shininess;\nmaterial.specularStrength = specularStrength;",lights_phong_pars_fragment:"varying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\nstruct BlinnPhongMaterial {\n\tvec3 diffuseColor;\n\tvec3 specularColor;\n\tfloat specularShininess;\n\tfloat specularStrength;\n};\nvoid RE_Direct_BlinnPhong( const in IncidentLight directLight, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\n\tfloat dotNL = saturate( dot( geometry.normal, directLight.direction ) );\n\tvec3 irradiance = dotNL * directLight.color;\n\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\tirradiance *= PI;\n\t#endif\n\treflectedLight.directDiffuse += irradiance * BRDF_Diffuse_Lambert( material.diffuseColor );\n\treflectedLight.directSpecular += irradiance * BRDF_Specular_BlinnPhong( directLight, geometry, material.specularColor, material.specularShininess ) * material.specularStrength;\n}\nvoid RE_IndirectDiffuse_BlinnPhong( const in vec3 irradiance, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Diffuse_Lambert( material.diffuseColor );\n}\n#define RE_Direct\t\t\t\tRE_Direct_BlinnPhong\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_BlinnPhong\n#define Material_LightProbeLOD( material )\t(0)",lights_physical_fragment:"PhysicalMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb * ( 1.0 - metalnessFactor );\nvec3 dxy = max( abs( dFdx( geometryNormal ) ), abs( dFdy( geometryNormal ) ) );\nfloat geometryRoughness = max( max( dxy.x, dxy.y ), dxy.z );\nmaterial.specularRoughness = max( roughnessFactor, 0.0525 );material.specularRoughness += geometryRoughness;\nmaterial.specularRoughness = min( material.specularRoughness, 1.0 );\n#ifdef REFLECTIVITY\n\tmaterial.specularColor = mix( vec3( MAXIMUM_SPECULAR_COEFFICIENT * pow2( reflectivity ) ), diffuseColor.rgb, metalnessFactor );\n#else\n\tmaterial.specularColor = mix( vec3( DEFAULT_SPECULAR_COEFFICIENT ), diffuseColor.rgb, metalnessFactor );\n#endif\n#ifdef CLEARCOAT\n\tmaterial.clearcoat = clearcoat;\n\tmaterial.clearcoatRoughness = clearcoatRoughness;\n\t#ifdef USE_CLEARCOATMAP\n\t\tmaterial.clearcoat *= texture2D( clearcoatMap, vUv ).x;\n\t#endif\n\t#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n\t\tmaterial.clearcoatRoughness *= texture2D( clearcoatRoughnessMap, vUv ).y;\n\t#endif\n\tmaterial.clearcoat = saturate( material.clearcoat );\tmaterial.clearcoatRoughness = max( material.clearcoatRoughness, 0.0525 );\n\tmaterial.clearcoatRoughness += geometryRoughness;\n\tmaterial.clearcoatRoughness = min( material.clearcoatRoughness, 1.0 );\n#endif\n#ifdef USE_SHEEN\n\tmaterial.sheenColor = sheen;\n#endif",lights_physical_pars_fragment:"struct PhysicalMaterial {\n\tvec3 diffuseColor;\n\tfloat specularRoughness;\n\tvec3 specularColor;\n#ifdef CLEARCOAT\n\tfloat clearcoat;\n\tfloat clearcoatRoughness;\n#endif\n#ifdef USE_SHEEN\n\tvec3 sheenColor;\n#endif\n};\n#define MAXIMUM_SPECULAR_COEFFICIENT 0.16\n#define DEFAULT_SPECULAR_COEFFICIENT 0.04\nfloat clearcoatDHRApprox( const in float roughness, const in float dotNL ) {\n\treturn DEFAULT_SPECULAR_COEFFICIENT + ( 1.0 - DEFAULT_SPECULAR_COEFFICIENT ) * ( pow( 1.0 - dotNL, 5.0 ) * pow( 1.0 - roughness, 2.0 ) );\n}\n#if NUM_RECT_AREA_LIGHTS > 0\n\tvoid RE_Direct_RectArea_Physical( const in RectAreaLight rectAreaLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\t\tvec3 normal = geometry.normal;\n\t\tvec3 viewDir = geometry.viewDir;\n\t\tvec3 position = geometry.position;\n\t\tvec3 lightPos = rectAreaLight.position;\n\t\tvec3 halfWidth = rectAreaLight.halfWidth;\n\t\tvec3 halfHeight = rectAreaLight.halfHeight;\n\t\tvec3 lightColor = rectAreaLight.color;\n\t\tfloat roughness = material.specularRoughness;\n\t\tvec3 rectCoords[ 4 ];\n\t\trectCoords[ 0 ] = lightPos + halfWidth - halfHeight;\t\trectCoords[ 1 ] = lightPos - halfWidth - halfHeight;\n\t\trectCoords[ 2 ] = lightPos - halfWidth + halfHeight;\n\t\trectCoords[ 3 ] = lightPos + halfWidth + halfHeight;\n\t\tvec2 uv = LTC_Uv( normal, viewDir, roughness );\n\t\tvec4 t1 = texture2D( ltc_1, uv );\n\t\tvec4 t2 = texture2D( ltc_2, uv );\n\t\tmat3 mInv = mat3(\n\t\t\tvec3( t1.x, 0, t1.y ),\n\t\t\tvec3( 0, 1, 0 ),\n\t\t\tvec3( t1.z, 0, t1.w )\n\t\t);\n\t\tvec3 fresnel = ( material.specularColor * t2.x + ( vec3( 1.0 ) - material.specularColor ) * t2.y );\n\t\treflectedLight.directSpecular += lightColor * fresnel * LTC_Evaluate( normal, viewDir, position, mInv, rectCoords );\n\t\treflectedLight.directDiffuse += lightColor * material.diffuseColor * LTC_Evaluate( normal, viewDir, position, mat3( 1.0 ), rectCoords );\n\t}\n#endif\nvoid RE_Direct_Physical( const in IncidentLight directLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\tfloat dotNL = saturate( dot( geometry.normal, directLight.direction ) );\n\tvec3 irradiance = dotNL * directLight.color;\n\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\tirradiance *= PI;\n\t#endif\n\t#ifdef CLEARCOAT\n\t\tfloat ccDotNL = saturate( dot( geometry.clearcoatNormal, directLight.direction ) );\n\t\tvec3 ccIrradiance = ccDotNL * directLight.color;\n\t\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\t\tccIrradiance *= PI;\n\t\t#endif\n\t\tfloat clearcoatDHR = material.clearcoat * clearcoatDHRApprox( material.clearcoatRoughness, ccDotNL );\n\t\treflectedLight.directSpecular += ccIrradiance * material.clearcoat * BRDF_Specular_GGX( directLight, geometry.viewDir, geometry.clearcoatNormal, vec3( DEFAULT_SPECULAR_COEFFICIENT ), material.clearcoatRoughness );\n\t#else\n\t\tfloat clearcoatDHR = 0.0;\n\t#endif\n\t#ifdef USE_SHEEN\n\t\treflectedLight.directSpecular += ( 1.0 - clearcoatDHR ) * irradiance * BRDF_Specular_Sheen(\n\t\t\tmaterial.specularRoughness,\n\t\t\tdirectLight.direction,\n\t\t\tgeometry,\n\t\t\tmaterial.sheenColor\n\t\t);\n\t#else\n\t\treflectedLight.directSpecular += ( 1.0 - clearcoatDHR ) * irradiance * BRDF_Specular_GGX( directLight, geometry.viewDir, geometry.normal, material.specularColor, material.specularRoughness);\n\t#endif\n\treflectedLight.directDiffuse += ( 1.0 - clearcoatDHR ) * irradiance * BRDF_Diffuse_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Physical( const in vec3 irradiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Diffuse_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectSpecular_Physical( const in vec3 radiance, const in vec3 irradiance, const in vec3 clearcoatRadiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) {\n\t#ifdef CLEARCOAT\n\t\tfloat ccDotNV = saturate( dot( geometry.clearcoatNormal, geometry.viewDir ) );\n\t\treflectedLight.indirectSpecular += clearcoatRadiance * material.clearcoat * BRDF_Specular_GGX_Environment( geometry.viewDir, geometry.clearcoatNormal, vec3( DEFAULT_SPECULAR_COEFFICIENT ), material.clearcoatRoughness );\n\t\tfloat ccDotNL = ccDotNV;\n\t\tfloat clearcoatDHR = material.clearcoat * clearcoatDHRApprox( material.clearcoatRoughness, ccDotNL );\n\t#else\n\t\tfloat clearcoatDHR = 0.0;\n\t#endif\n\tfloat clearcoatInv = 1.0 - clearcoatDHR;\n\tvec3 singleScattering = vec3( 0.0 );\n\tvec3 multiScattering = vec3( 0.0 );\n\tvec3 cosineWeightedIrradiance = irradiance * RECIPROCAL_PI;\n\tBRDF_Specular_Multiscattering_Environment( geometry, material.specularColor, material.specularRoughness, singleScattering, multiScattering );\n\tvec3 diffuse = material.diffuseColor * ( 1.0 - ( singleScattering + multiScattering ) );\n\treflectedLight.indirectSpecular += clearcoatInv * radiance * singleScattering;\n\treflectedLight.indirectSpecular += multiScattering * cosineWeightedIrradiance;\n\treflectedLight.indirectDiffuse += diffuse * cosineWeightedIrradiance;\n}\n#define RE_Direct\t\t\t\tRE_Direct_Physical\n#define RE_Direct_RectArea\t\tRE_Direct_RectArea_Physical\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_Physical\n#define RE_IndirectSpecular\t\tRE_IndirectSpecular_Physical\nfloat computeSpecularOcclusion( const in float dotNV, const in float ambientOcclusion, const in float roughness ) {\n\treturn saturate( pow( dotNV + ambientOcclusion, exp2( - 16.0 * roughness - 1.0 ) ) - 1.0 + ambientOcclusion );\n}",lights_fragment_begin:"\nGeometricContext geometry;\ngeometry.position = - vViewPosition;\ngeometry.normal = normal;\ngeometry.viewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( vViewPosition );\n#ifdef CLEARCOAT\n\tgeometry.clearcoatNormal = clearcoatNormal;\n#endif\nIncidentLight directLight;\n#if ( NUM_POINT_LIGHTS > 0 ) && defined( RE_Direct )\n\tPointLight pointLight;\n\t#if defined( USE_SHADOWMAP ) && NUM_POINT_LIGHT_SHADOWS > 0\n\tPointLightShadow pointLightShadow;\n\t#endif\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) {\n\t\tpointLight = pointLights[ i ];\n\t\tgetPointDirectLightIrradiance( pointLight, geometry, directLight );\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_POINT_LIGHT_SHADOWS )\n\t\tpointLightShadow = pointLightShadows[ i ];\n\t\tdirectLight.color *= all( bvec2( directLight.visible, receiveShadow ) ) ? getPointShadow( pointShadowMap[ i ], pointLightShadow.shadowMapSize, pointLightShadow.shadowBias, pointLightShadow.shadowRadius, vPointShadowCoord[ i ], pointLightShadow.shadowCameraNear, pointLightShadow.shadowCameraFar ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometry, material, reflectedLight );\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if ( NUM_SPOT_LIGHTS > 0 ) && defined( RE_Direct )\n\tSpotLight spotLight;\n\t#if defined( USE_SHADOWMAP ) && NUM_SPOT_LIGHT_SHADOWS > 0\n\tSpotLightShadow spotLightShadow;\n\t#endif\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) {\n\t\tspotLight = spotLights[ i ];\n\t\tgetSpotDirectLightIrradiance( spotLight, geometry, directLight );\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n\t\tspotLightShadow = spotLightShadows[ i ];\n\t\tdirectLight.color *= all( bvec2( directLight.visible, receiveShadow ) ) ? getShadow( spotShadowMap[ i ], spotLightShadow.shadowMapSize, spotLightShadow.shadowBias, spotLightShadow.shadowRadius, vSpotShadowCoord[ i ] ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometry, material, reflectedLight );\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if ( NUM_DIR_LIGHTS > 0 ) && defined( RE_Direct )\n\tDirectionalLight directionalLight;\n\t#if defined( USE_SHADOWMAP ) && NUM_DIR_LIGHT_SHADOWS > 0\n\tDirectionalLightShadow directionalLightShadow;\n\t#endif\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\n\t\tdirectionalLight = directionalLights[ i ];\n\t\tgetDirectionalDirectLightIrradiance( directionalLight, geometry, directLight );\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_DIR_LIGHT_SHADOWS )\n\t\tdirectionalLightShadow = directionalLightShadows[ i ];\n\t\tdirectLight.color *= all( bvec2( directLight.visible, receiveShadow ) ) ? getShadow( directionalShadowMap[ i ], directionalLightShadow.shadowMapSize, directionalLightShadow.shadowBias, directionalLightShadow.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometry, material, reflectedLight );\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if ( NUM_RECT_AREA_LIGHTS > 0 ) && defined( RE_Direct_RectArea )\n\tRectAreaLight rectAreaLight;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_RECT_AREA_LIGHTS; i ++ ) {\n\t\trectAreaLight = rectAreaLights[ i ];\n\t\tRE_Direct_RectArea( rectAreaLight, geometry, material, reflectedLight );\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if defined( RE_IndirectDiffuse )\n\tvec3 iblIrradiance = vec3( 0.0 );\n\tvec3 irradiance = getAmbientLightIrradiance( ambientLightColor );\n\tirradiance += getLightProbeIrradiance( lightProbe, geometry );\n\t#if ( NUM_HEMI_LIGHTS > 0 )\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) {\n\t\t\tirradiance += getHemisphereLightIrradiance( hemisphereLights[ i ], geometry );\n\t\t}\n\t\t#pragma unroll_loop_end\n\t#endif\n#endif\n#if defined( RE_IndirectSpecular )\n\tvec3 radiance = vec3( 0.0 );\n\tvec3 clearcoatRadiance = vec3( 0.0 );\n#endif",lights_fragment_maps:"#if defined( RE_IndirectDiffuse )\n\t#ifdef USE_LIGHTMAP\n\t\tvec4 lightMapTexel= texture2D( lightMap, vUv2 );\n\t\tvec3 lightMapIrradiance = lightMapTexelToLinear( lightMapTexel ).rgb * lightMapIntensity;\n\t\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\t\tlightMapIrradiance *= PI;\n\t\t#endif\n\t\tirradiance += lightMapIrradiance;\n\t#endif\n\t#if defined( USE_ENVMAP ) && defined( STANDARD ) && defined( ENVMAP_TYPE_CUBE_UV )\n\t\tiblIrradiance += getLightProbeIndirectIrradiance( geometry, maxMipLevel );\n\t#endif\n#endif\n#if defined( USE_ENVMAP ) && defined( RE_IndirectSpecular )\n\tradiance += getLightProbeIndirectRadiance( geometry.viewDir, geometry.normal, material.specularRoughness, maxMipLevel );\n\t#ifdef CLEARCOAT\n\t\tclearcoatRadiance += getLightProbeIndirectRadiance( geometry.viewDir, geometry.clearcoatNormal, material.clearcoatRoughness, maxMipLevel );\n\t#endif\n#endif",lights_fragment_end:"#if defined( RE_IndirectDiffuse )\n\tRE_IndirectDiffuse( irradiance, geometry, material, reflectedLight );\n#endif\n#if defined( RE_IndirectSpecular )\n\tRE_IndirectSpecular( radiance, iblIrradiance, clearcoatRadiance, geometry, material, reflectedLight );\n#endif",logdepthbuf_fragment:"#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT )\n\tgl_FragDepthEXT = vIsPerspective == 0.0 ? gl_FragCoord.z : log2( vFragDepth ) * logDepthBufFC * 0.5;\n#endif",logdepthbuf_pars_fragment:"#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT )\n\tuniform float logDepthBufFC;\n\tvarying float vFragDepth;\n\tvarying float vIsPerspective;\n#endif",logdepthbuf_pars_vertex:"#ifdef USE_LOGDEPTHBUF\n\t#ifdef USE_LOGDEPTHBUF_EXT\n\t\tvarying float vFragDepth;\n\t\tvarying float vIsPerspective;\n\t#else\n\t\tuniform float logDepthBufFC;\n\t#endif\n#endif",logdepthbuf_vertex:"#ifdef USE_LOGDEPTHBUF\n\t#ifdef USE_LOGDEPTHBUF_EXT\n\t\tvFragDepth = 1.0 + gl_Position.w;\n\t\tvIsPerspective = float( isPerspectiveMatrix( projectionMatrix ) );\n\t#else\n\t\tif ( isPerspectiveMatrix( projectionMatrix ) ) {\n\t\t\tgl_Position.z = log2( max( EPSILON, gl_Position.w + 1.0 ) ) * logDepthBufFC - 1.0;\n\t\t\tgl_Position.z *= gl_Position.w;\n\t\t}\n\t#endif\n#endif",map_fragment:"#ifdef USE_MAP\n\tvec4 texelColor = texture2D( map, vUv );\n\ttexelColor = mapTexelToLinear( texelColor );\n\tdiffuseColor *= texelColor;\n#endif",map_pars_fragment:"#ifdef USE_MAP\n\tuniform sampler2D map;\n#endif",map_particle_fragment:"#if defined( USE_MAP ) || defined( USE_ALPHAMAP )\n\tvec2 uv = ( uvTransform * vec3( gl_PointCoord.x, 1.0 - gl_PointCoord.y, 1 ) ).xy;\n#endif\n#ifdef USE_MAP\n\tvec4 mapTexel = texture2D( map, uv );\n\tdiffuseColor *= mapTexelToLinear( mapTexel );\n#endif\n#ifdef USE_ALPHAMAP\n\tdiffuseColor.a *= texture2D( alphaMap, uv ).g;\n#endif",map_particle_pars_fragment:"#if defined( USE_MAP ) || defined( USE_ALPHAMAP )\n\tuniform mat3 uvTransform;\n#endif\n#ifdef USE_MAP\n\tuniform sampler2D map;\n#endif\n#ifdef USE_ALPHAMAP\n\tuniform sampler2D alphaMap;\n#endif",metalnessmap_fragment:"float metalnessFactor = metalness;\n#ifdef USE_METALNESSMAP\n\tvec4 texelMetalness = texture2D( metalnessMap, vUv );\n\tmetalnessFactor *= texelMetalness.b;\n#endif",metalnessmap_pars_fragment:"#ifdef USE_METALNESSMAP\n\tuniform sampler2D metalnessMap;\n#endif",morphnormal_vertex:"#ifdef USE_MORPHNORMALS\n\tobjectNormal *= morphTargetBaseInfluence;\n\tobjectNormal += morphNormal0 * morphTargetInfluences[ 0 ];\n\tobjectNormal += morphNormal1 * morphTargetInfluences[ 1 ];\n\tobjectNormal += morphNormal2 * morphTargetInfluences[ 2 ];\n\tobjectNormal += morphNormal3 * morphTargetInfluences[ 3 ];\n#endif",morphtarget_pars_vertex:"#ifdef USE_MORPHTARGETS\n\tuniform float morphTargetBaseInfluence;\n\t#ifndef USE_MORPHNORMALS\n\t\tuniform float morphTargetInfluences[ 8 ];\n\t#else\n\t\tuniform float morphTargetInfluences[ 4 ];\n\t#endif\n#endif",morphtarget_vertex:"#ifdef USE_MORPHTARGETS\n\ttransformed *= morphTargetBaseInfluence;\n\ttransformed += morphTarget0 * morphTargetInfluences[ 0 ];\n\ttransformed += morphTarget1 * morphTargetInfluences[ 1 ];\n\ttransformed += morphTarget2 * morphTargetInfluences[ 2 ];\n\ttransformed += morphTarget3 * morphTargetInfluences[ 3 ];\n\t#ifndef USE_MORPHNORMALS\n\t\ttransformed += morphTarget4 * morphTargetInfluences[ 4 ];\n\t\ttransformed += morphTarget5 * morphTargetInfluences[ 5 ];\n\t\ttransformed += morphTarget6 * morphTargetInfluences[ 6 ];\n\t\ttransformed += morphTarget7 * morphTargetInfluences[ 7 ];\n\t#endif\n#endif",normal_fragment_begin:"float faceDirection = gl_FrontFacing ? 1.0 : - 1.0;\n#ifdef FLAT_SHADED\n\tvec3 fdx = vec3( dFdx( vViewPosition.x ), dFdx( vViewPosition.y ), dFdx( vViewPosition.z ) );\n\tvec3 fdy = vec3( dFdy( vViewPosition.x ), dFdy( vViewPosition.y ), dFdy( vViewPosition.z ) );\n\tvec3 normal = normalize( cross( fdx, fdy ) );\n#else\n\tvec3 normal = normalize( vNormal );\n\t#ifdef DOUBLE_SIDED\n\t\tnormal = normal * faceDirection;\n\t#endif\n\t#ifdef USE_TANGENT\n\t\tvec3 tangent = normalize( vTangent );\n\t\tvec3 bitangent = normalize( vBitangent );\n\t\t#ifdef DOUBLE_SIDED\n\t\t\ttangent = tangent * faceDirection;\n\t\t\tbitangent = bitangent * faceDirection;\n\t\t#endif\n\t\t#if defined( TANGENTSPACE_NORMALMAP ) || defined( USE_CLEARCOAT_NORMALMAP )\n\t\t\tmat3 vTBN = mat3( tangent, bitangent, normal );\n\t\t#endif\n\t#endif\n#endif\nvec3 geometryNormal = normal;",normal_fragment_maps:"#ifdef OBJECTSPACE_NORMALMAP\n\tnormal = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0;\n\t#ifdef FLIP_SIDED\n\t\tnormal = - normal;\n\t#endif\n\t#ifdef DOUBLE_SIDED\n\t\tnormal = normal * faceDirection;\n\t#endif\n\tnormal = normalize( normalMatrix * normal );\n#elif defined( TANGENTSPACE_NORMALMAP )\n\tvec3 mapN = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0;\n\tmapN.xy *= normalScale;\n\t#ifdef USE_TANGENT\n\t\tnormal = normalize( vTBN * mapN );\n\t#else\n\t\tnormal = perturbNormal2Arb( -vViewPosition, normal, mapN, faceDirection );\n\t#endif\n#elif defined( USE_BUMPMAP )\n\tnormal = perturbNormalArb( -vViewPosition, normal, dHdxy_fwd(), faceDirection );\n#endif",normalmap_pars_fragment:"#ifdef USE_NORMALMAP\n\tuniform sampler2D normalMap;\n\tuniform vec2 normalScale;\n#endif\n#ifdef OBJECTSPACE_NORMALMAP\n\tuniform mat3 normalMatrix;\n#endif\n#if ! defined ( USE_TANGENT ) && ( defined ( TANGENTSPACE_NORMALMAP ) || defined ( USE_CLEARCOAT_NORMALMAP ) )\n\tvec3 perturbNormal2Arb( vec3 eye_pos, vec3 surf_norm, vec3 mapN, float faceDirection ) {\n\t\tvec3 q0 = vec3( dFdx( eye_pos.x ), dFdx( eye_pos.y ), dFdx( eye_pos.z ) );\n\t\tvec3 q1 = vec3( dFdy( eye_pos.x ), dFdy( eye_pos.y ), dFdy( eye_pos.z ) );\n\t\tvec2 st0 = dFdx( vUv.st );\n\t\tvec2 st1 = dFdy( vUv.st );\n\t\tvec3 N = surf_norm;\n\t\tvec3 q1perp = cross( q1, N );\n\t\tvec3 q0perp = cross( N, q0 );\n\t\tvec3 T = q1perp * st0.x + q0perp * st1.x;\n\t\tvec3 B = q1perp * st0.y + q0perp * st1.y;\n\t\tfloat det = max( dot( T, T ), dot( B, B ) );\n\t\tfloat scale = ( det == 0.0 ) ? 0.0 : faceDirection * inversesqrt( det );\n\t\treturn normalize( T * ( mapN.x * scale ) + B * ( mapN.y * scale ) + N * mapN.z );\n\t}\n#endif",clearcoat_normal_fragment_begin:"#ifdef CLEARCOAT\n\tvec3 clearcoatNormal = geometryNormal;\n#endif",clearcoat_normal_fragment_maps:"#ifdef USE_CLEARCOAT_NORMALMAP\n\tvec3 clearcoatMapN = texture2D( clearcoatNormalMap, vUv ).xyz * 2.0 - 1.0;\n\tclearcoatMapN.xy *= clearcoatNormalScale;\n\t#ifdef USE_TANGENT\n\t\tclearcoatNormal = normalize( vTBN * clearcoatMapN );\n\t#else\n\t\tclearcoatNormal = perturbNormal2Arb( - vViewPosition, clearcoatNormal, clearcoatMapN, faceDirection );\n\t#endif\n#endif",clearcoat_pars_fragment:"#ifdef USE_CLEARCOATMAP\n\tuniform sampler2D clearcoatMap;\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n\tuniform sampler2D clearcoatRoughnessMap;\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n\tuniform sampler2D clearcoatNormalMap;\n\tuniform vec2 clearcoatNormalScale;\n#endif",packing:"vec3 packNormalToRGB( const in vec3 normal ) {\n\treturn normalize( normal ) * 0.5 + 0.5;\n}\nvec3 unpackRGBToNormal( const in vec3 rgb ) {\n\treturn 2.0 * rgb.xyz - 1.0;\n}\nconst float PackUpscale = 256. / 255.;const float UnpackDownscale = 255. / 256.;\nconst vec3 PackFactors = vec3( 256. * 256. * 256., 256. * 256., 256. );\nconst vec4 UnpackFactors = UnpackDownscale / vec4( PackFactors, 1. );\nconst float ShiftRight8 = 1. / 256.;\nvec4 packDepthToRGBA( const in float v ) {\n\tvec4 r = vec4( fract( v * PackFactors ), v );\n\tr.yzw -= r.xyz * ShiftRight8;\treturn r * PackUpscale;\n}\nfloat unpackRGBAToDepth( const in vec4 v ) {\n\treturn dot( v, UnpackFactors );\n}\nvec4 pack2HalfToRGBA( vec2 v ) {\n\tvec4 r = vec4( v.x, fract( v.x * 255.0 ), v.y, fract( v.y * 255.0 ));\n\treturn vec4( r.x - r.y / 255.0, r.y, r.z - r.w / 255.0, r.w);\n}\nvec2 unpackRGBATo2Half( vec4 v ) {\n\treturn vec2( v.x + ( v.y / 255.0 ), v.z + ( v.w / 255.0 ) );\n}\nfloat viewZToOrthographicDepth( const in float viewZ, const in float near, const in float far ) {\n\treturn ( viewZ + near ) / ( near - far );\n}\nfloat orthographicDepthToViewZ( const in float linearClipZ, const in float near, const in float far ) {\n\treturn linearClipZ * ( near - far ) - near;\n}\nfloat viewZToPerspectiveDepth( const in float viewZ, const in float near, const in float far ) {\n\treturn (( near + viewZ ) * far ) / (( far - near ) * viewZ );\n}\nfloat perspectiveDepthToViewZ( const in float invClipZ, const in float near, const in float far ) {\n\treturn ( near * far ) / ( ( far - near ) * invClipZ - far );\n}",premultiplied_alpha_fragment:"#ifdef PREMULTIPLIED_ALPHA\n\tgl_FragColor.rgb *= gl_FragColor.a;\n#endif",project_vertex:"vec4 mvPosition = vec4( transformed, 1.0 );\n#ifdef USE_INSTANCING\n\tmvPosition = instanceMatrix * mvPosition;\n#endif\nmvPosition = modelViewMatrix * mvPosition;\ngl_Position = projectionMatrix * mvPosition;",dithering_fragment:"#ifdef DITHERING\n\tgl_FragColor.rgb = dithering( gl_FragColor.rgb );\n#endif",dithering_pars_fragment:"#ifdef DITHERING\n\tvec3 dithering( vec3 color ) {\n\t\tfloat grid_position = rand( gl_FragCoord.xy );\n\t\tvec3 dither_shift_RGB = vec3( 0.25 / 255.0, -0.25 / 255.0, 0.25 / 255.0 );\n\t\tdither_shift_RGB = mix( 2.0 * dither_shift_RGB, -2.0 * dither_shift_RGB, grid_position );\n\t\treturn color + dither_shift_RGB;\n\t}\n#endif",roughnessmap_fragment:"float roughnessFactor = roughness;\n#ifdef USE_ROUGHNESSMAP\n\tvec4 texelRoughness = texture2D( roughnessMap, vUv );\n\troughnessFactor *= texelRoughness.g;\n#endif",roughnessmap_pars_fragment:"#ifdef USE_ROUGHNESSMAP\n\tuniform sampler2D roughnessMap;\n#endif",shadowmap_pars_fragment:"#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\t\tuniform sampler2D directionalShadowMap[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tvarying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tstruct DirectionalLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t};\n\t\tuniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\t\tuniform sampler2D spotShadowMap[ NUM_SPOT_LIGHT_SHADOWS ];\n\t\tvarying vec4 vSpotShadowCoord[ NUM_SPOT_LIGHT_SHADOWS ];\n\t\tstruct SpotLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t};\n\t\tuniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\t\tuniform sampler2D pointShadowMap[ NUM_POINT_LIGHT_SHADOWS ];\n\t\tvarying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];\n\t\tstruct PointLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t\tfloat shadowCameraNear;\n\t\t\tfloat shadowCameraFar;\n\t\t};\n\t\tuniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ];\n\t#endif\n\tfloat texture2DCompare( sampler2D depths, vec2 uv, float compare ) {\n\t\treturn step( compare, unpackRGBAToDepth( texture2D( depths, uv ) ) );\n\t}\n\tvec2 texture2DDistribution( sampler2D shadow, vec2 uv ) {\n\t\treturn unpackRGBATo2Half( texture2D( shadow, uv ) );\n\t}\n\tfloat VSMShadow (sampler2D shadow, vec2 uv, float compare ){\n\t\tfloat occlusion = 1.0;\n\t\tvec2 distribution = texture2DDistribution( shadow, uv );\n\t\tfloat hard_shadow = step( compare , distribution.x );\n\t\tif (hard_shadow != 1.0 ) {\n\t\t\tfloat distance = compare - distribution.x ;\n\t\t\tfloat variance = max( 0.00000, distribution.y * distribution.y );\n\t\t\tfloat softness_probability = variance / (variance + distance * distance );\t\t\tsoftness_probability = clamp( ( softness_probability - 0.3 ) / ( 0.95 - 0.3 ), 0.0, 1.0 );\t\t\tocclusion = clamp( max( hard_shadow, softness_probability ), 0.0, 1.0 );\n\t\t}\n\t\treturn occlusion;\n\t}\n\tfloat getShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord ) {\n\t\tfloat shadow = 1.0;\n\t\tshadowCoord.xyz /= shadowCoord.w;\n\t\tshadowCoord.z += shadowBias;\n\t\tbvec4 inFrustumVec = bvec4 ( shadowCoord.x >= 0.0, shadowCoord.x <= 1.0, shadowCoord.y >= 0.0, shadowCoord.y <= 1.0 );\n\t\tbool inFrustum = all( inFrustumVec );\n\t\tbvec2 frustumTestVec = bvec2( inFrustum, shadowCoord.z <= 1.0 );\n\t\tbool frustumTest = all( frustumTestVec );\n\t\tif ( frustumTest ) {\n\t\t#if defined( SHADOWMAP_TYPE_PCF )\n\t\t\tvec2 texelSize = vec2( 1.0 ) / shadowMapSize;\n\t\t\tfloat dx0 = - texelSize.x * shadowRadius;\n\t\t\tfloat dy0 = - texelSize.y * shadowRadius;\n\t\t\tfloat dx1 = + texelSize.x * shadowRadius;\n\t\t\tfloat dy1 = + texelSize.y * shadowRadius;\n\t\t\tfloat dx2 = dx0 / 2.0;\n\t\t\tfloat dy2 = dy0 / 2.0;\n\t\t\tfloat dx3 = dx1 / 2.0;\n\t\t\tfloat dy3 = dy1 / 2.0;\n\t\t\tshadow = (\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy2 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy2 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy2 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy3 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy3 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy3 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy1 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy1 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy1 ), shadowCoord.z )\n\t\t\t) * ( 1.0 / 17.0 );\n\t\t#elif defined( SHADOWMAP_TYPE_PCF_SOFT )\n\t\t\tvec2 texelSize = vec2( 1.0 ) / shadowMapSize;\n\t\t\tfloat dx = texelSize.x;\n\t\t\tfloat dy = texelSize.y;\n\t\t\tvec2 uv = shadowCoord.xy;\n\t\t\tvec2 f = fract( uv * shadowMapSize + 0.5 );\n\t\t\tuv -= f * texelSize;\n\t\t\tshadow = (\n\t\t\t\ttexture2DCompare( shadowMap, uv, shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, uv + vec2( dx, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, uv + vec2( 0.0, dy ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, uv + texelSize, shadowCoord.z ) +\n\t\t\t\tmix( texture2DCompare( shadowMap, uv + vec2( -dx, 0.0 ), shadowCoord.z ), \n\t\t\t\t\t texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 0.0 ), shadowCoord.z ),\n\t\t\t\t\t f.x ) +\n\t\t\t\tmix( texture2DCompare( shadowMap, uv + vec2( -dx, dy ), shadowCoord.z ), \n\t\t\t\t\t texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, dy ), shadowCoord.z ),\n\t\t\t\t\t f.x ) +\n\t\t\t\tmix( texture2DCompare( shadowMap, uv + vec2( 0.0, -dy ), shadowCoord.z ), \n\t\t\t\t\t texture2DCompare( shadowMap, uv + vec2( 0.0, 2.0 * dy ), shadowCoord.z ),\n\t\t\t\t\t f.y ) +\n\t\t\t\tmix( texture2DCompare( shadowMap, uv + vec2( dx, -dy ), shadowCoord.z ), \n\t\t\t\t\t texture2DCompare( shadowMap, uv + vec2( dx, 2.0 * dy ), shadowCoord.z ),\n\t\t\t\t\t f.y ) +\n\t\t\t\tmix( mix( texture2DCompare( shadowMap, uv + vec2( -dx, -dy ), shadowCoord.z ), \n\t\t\t\t\t\t texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, -dy ), shadowCoord.z ),\n\t\t\t\t\t\t f.x ),\n\t\t\t\t\t mix( texture2DCompare( shadowMap, uv + vec2( -dx, 2.0 * dy ), shadowCoord.z ), \n\t\t\t\t\t\t texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 2.0 * dy ), shadowCoord.z ),\n\t\t\t\t\t\t f.x ),\n\t\t\t\t\t f.y )\n\t\t\t) * ( 1.0 / 9.0 );\n\t\t#elif defined( SHADOWMAP_TYPE_VSM )\n\t\t\tshadow = VSMShadow( shadowMap, shadowCoord.xy, shadowCoord.z );\n\t\t#else\n\t\t\tshadow = texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z );\n\t\t#endif\n\t\t}\n\t\treturn shadow;\n\t}\n\tvec2 cubeToUV( vec3 v, float texelSizeY ) {\n\t\tvec3 absV = abs( v );\n\t\tfloat scaleToCube = 1.0 / max( absV.x, max( absV.y, absV.z ) );\n\t\tabsV *= scaleToCube;\n\t\tv *= scaleToCube * ( 1.0 - 2.0 * texelSizeY );\n\t\tvec2 planar = v.xy;\n\t\tfloat almostATexel = 1.5 * texelSizeY;\n\t\tfloat almostOne = 1.0 - almostATexel;\n\t\tif ( absV.z >= almostOne ) {\n\t\t\tif ( v.z > 0.0 )\n\t\t\t\tplanar.x = 4.0 - v.x;\n\t\t} else if ( absV.x >= almostOne ) {\n\t\t\tfloat signX = sign( v.x );\n\t\t\tplanar.x = v.z * signX + 2.0 * signX;\n\t\t} else if ( absV.y >= almostOne ) {\n\t\t\tfloat signY = sign( v.y );\n\t\t\tplanar.x = v.x + 2.0 * signY + 2.0;\n\t\t\tplanar.y = v.z * signY - 2.0;\n\t\t}\n\t\treturn vec2( 0.125, 0.25 ) * planar + vec2( 0.375, 0.75 );\n\t}\n\tfloat getPointShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord, float shadowCameraNear, float shadowCameraFar ) {\n\t\tvec2 texelSize = vec2( 1.0 ) / ( shadowMapSize * vec2( 4.0, 2.0 ) );\n\t\tvec3 lightToPosition = shadowCoord.xyz;\n\t\tfloat dp = ( length( lightToPosition ) - shadowCameraNear ) / ( shadowCameraFar - shadowCameraNear );\t\tdp += shadowBias;\n\t\tvec3 bd3D = normalize( lightToPosition );\n\t\t#if defined( SHADOWMAP_TYPE_PCF ) || defined( SHADOWMAP_TYPE_PCF_SOFT ) || defined( SHADOWMAP_TYPE_VSM )\n\t\t\tvec2 offset = vec2( - 1, 1 ) * shadowRadius * texelSize.y;\n\t\t\treturn (\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyx, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyx, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxx, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxx, texelSize.y ), dp )\n\t\t\t) * ( 1.0 / 9.0 );\n\t\t#else\n\t\t\treturn texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp );\n\t\t#endif\n\t}\n#endif",shadowmap_pars_vertex:"#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\t\tuniform mat4 directionalShadowMatrix[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tvarying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tstruct DirectionalLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t};\n\t\tuniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\t\tuniform mat4 spotShadowMatrix[ NUM_SPOT_LIGHT_SHADOWS ];\n\t\tvarying vec4 vSpotShadowCoord[ NUM_SPOT_LIGHT_SHADOWS ];\n\t\tstruct SpotLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t};\n\t\tuniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\t\tuniform mat4 pointShadowMatrix[ NUM_POINT_LIGHT_SHADOWS ];\n\t\tvarying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];\n\t\tstruct PointLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t\tfloat shadowCameraNear;\n\t\t\tfloat shadowCameraFar;\n\t\t};\n\t\tuniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ];\n\t#endif\n#endif",shadowmap_vertex:"#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS > 0 || NUM_SPOT_LIGHT_SHADOWS > 0 || NUM_POINT_LIGHT_SHADOWS > 0\n\t\tvec3 shadowWorldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\n\t\tvec4 shadowWorldPosition;\n\t#endif\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\n\t\tshadowWorldPosition = worldPosition + vec4( shadowWorldNormal * directionalLightShadows[ i ].shadowNormalBias, 0 );\n\t\tvDirectionalShadowCoord[ i ] = directionalShadowMatrix[ i ] * shadowWorldPosition;\n\t}\n\t#pragma unroll_loop_end\n\t#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) {\n\t\tshadowWorldPosition = worldPosition + vec4( shadowWorldNormal * spotLightShadows[ i ].shadowNormalBias, 0 );\n\t\tvSpotShadowCoord[ i ] = spotShadowMatrix[ i ] * shadowWorldPosition;\n\t}\n\t#pragma unroll_loop_end\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\n\t\tshadowWorldPosition = worldPosition + vec4( shadowWorldNormal * pointLightShadows[ i ].shadowNormalBias, 0 );\n\t\tvPointShadowCoord[ i ] = pointShadowMatrix[ i ] * shadowWorldPosition;\n\t}\n\t#pragma unroll_loop_end\n\t#endif\n#endif",shadowmask_pars_fragment:"float getShadowMask() {\n\tfloat shadow = 1.0;\n\t#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\tDirectionalLightShadow directionalLight;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\n\t\tdirectionalLight = directionalLightShadows[ i ];\n\t\tshadow *= receiveShadow ? getShadow( directionalShadowMap[ i ], directionalLight.shadowMapSize, directionalLight.shadowBias, directionalLight.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n\t}\n\t#pragma unroll_loop_end\n\t#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\tSpotLightShadow spotLight;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) {\n\t\tspotLight = spotLightShadows[ i ];\n\t\tshadow *= receiveShadow ? getShadow( spotShadowMap[ i ], spotLight.shadowMapSize, spotLight.shadowBias, spotLight.shadowRadius, vSpotShadowCoord[ i ] ) : 1.0;\n\t}\n\t#pragma unroll_loop_end\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\tPointLightShadow pointLight;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\n\t\tpointLight = pointLightShadows[ i ];\n\t\tshadow *= receiveShadow ? getPointShadow( pointShadowMap[ i ], pointLight.shadowMapSize, pointLight.shadowBias, pointLight.shadowRadius, vPointShadowCoord[ i ], pointLight.shadowCameraNear, pointLight.shadowCameraFar ) : 1.0;\n\t}\n\t#pragma unroll_loop_end\n\t#endif\n\t#endif\n\treturn shadow;\n}",skinbase_vertex:"#ifdef USE_SKINNING\n\tmat4 boneMatX = getBoneMatrix( skinIndex.x );\n\tmat4 boneMatY = getBoneMatrix( skinIndex.y );\n\tmat4 boneMatZ = getBoneMatrix( skinIndex.z );\n\tmat4 boneMatW = getBoneMatrix( skinIndex.w );\n#endif",skinning_pars_vertex:"#ifdef USE_SKINNING\n\tuniform mat4 bindMatrix;\n\tuniform mat4 bindMatrixInverse;\n\t#ifdef BONE_TEXTURE\n\t\tuniform highp sampler2D boneTexture;\n\t\tuniform int boneTextureSize;\n\t\tmat4 getBoneMatrix( const in float i ) {\n\t\t\tfloat j = i * 4.0;\n\t\t\tfloat x = mod( j, float( boneTextureSize ) );\n\t\t\tfloat y = floor( j / float( boneTextureSize ) );\n\t\t\tfloat dx = 1.0 / float( boneTextureSize );\n\t\t\tfloat dy = 1.0 / float( boneTextureSize );\n\t\t\ty = dy * ( y + 0.5 );\n\t\t\tvec4 v1 = texture2D( boneTexture, vec2( dx * ( x + 0.5 ), y ) );\n\t\t\tvec4 v2 = texture2D( boneTexture, vec2( dx * ( x + 1.5 ), y ) );\n\t\t\tvec4 v3 = texture2D( boneTexture, vec2( dx * ( x + 2.5 ), y ) );\n\t\t\tvec4 v4 = texture2D( boneTexture, vec2( dx * ( x + 3.5 ), y ) );\n\t\t\tmat4 bone = mat4( v1, v2, v3, v4 );\n\t\t\treturn bone;\n\t\t}\n\t#else\n\t\tuniform mat4 boneMatrices[ MAX_BONES ];\n\t\tmat4 getBoneMatrix( const in float i ) {\n\t\t\tmat4 bone = boneMatrices[ int(i) ];\n\t\t\treturn bone;\n\t\t}\n\t#endif\n#endif",skinning_vertex:"#ifdef USE_SKINNING\n\tvec4 skinVertex = bindMatrix * vec4( transformed, 1.0 );\n\tvec4 skinned = vec4( 0.0 );\n\tskinned += boneMatX * skinVertex * skinWeight.x;\n\tskinned += boneMatY * skinVertex * skinWeight.y;\n\tskinned += boneMatZ * skinVertex * skinWeight.z;\n\tskinned += boneMatW * skinVertex * skinWeight.w;\n\ttransformed = ( bindMatrixInverse * skinned ).xyz;\n#endif",skinnormal_vertex:"#ifdef USE_SKINNING\n\tmat4 skinMatrix = mat4( 0.0 );\n\tskinMatrix += skinWeight.x * boneMatX;\n\tskinMatrix += skinWeight.y * boneMatY;\n\tskinMatrix += skinWeight.z * boneMatZ;\n\tskinMatrix += skinWeight.w * boneMatW;\n\tskinMatrix = bindMatrixInverse * skinMatrix * bindMatrix;\n\tobjectNormal = vec4( skinMatrix * vec4( objectNormal, 0.0 ) ).xyz;\n\t#ifdef USE_TANGENT\n\t\tobjectTangent = vec4( skinMatrix * vec4( objectTangent, 0.0 ) ).xyz;\n\t#endif\n#endif",specularmap_fragment:"float specularStrength;\n#ifdef USE_SPECULARMAP\n\tvec4 texelSpecular = texture2D( specularMap, vUv );\n\tspecularStrength = texelSpecular.r;\n#else\n\tspecularStrength = 1.0;\n#endif",specularmap_pars_fragment:"#ifdef USE_SPECULARMAP\n\tuniform sampler2D specularMap;\n#endif",tonemapping_fragment:"#if defined( TONE_MAPPING )\n\tgl_FragColor.rgb = toneMapping( gl_FragColor.rgb );\n#endif",tonemapping_pars_fragment:"#ifndef saturate\n#define saturate(a) clamp( a, 0.0, 1.0 )\n#endif\nuniform float toneMappingExposure;\nvec3 LinearToneMapping( vec3 color ) {\n\treturn toneMappingExposure * color;\n}\nvec3 ReinhardToneMapping( vec3 color ) {\n\tcolor *= toneMappingExposure;\n\treturn saturate( color / ( vec3( 1.0 ) + color ) );\n}\nvec3 OptimizedCineonToneMapping( vec3 color ) {\n\tcolor *= toneMappingExposure;\n\tcolor = max( vec3( 0.0 ), color - 0.004 );\n\treturn pow( ( color * ( 6.2 * color + 0.5 ) ) / ( color * ( 6.2 * color + 1.7 ) + 0.06 ), vec3( 2.2 ) );\n}\nvec3 RRTAndODTFit( vec3 v ) {\n\tvec3 a = v * ( v + 0.0245786 ) - 0.000090537;\n\tvec3 b = v * ( 0.983729 * v + 0.4329510 ) + 0.238081;\n\treturn a / b;\n}\nvec3 ACESFilmicToneMapping( vec3 color ) {\n\tconst mat3 ACESInputMat = mat3(\n\t\tvec3( 0.59719, 0.07600, 0.02840 ),\t\tvec3( 0.35458, 0.90834, 0.13383 ),\n\t\tvec3( 0.04823, 0.01566, 0.83777 )\n\t);\n\tconst mat3 ACESOutputMat = mat3(\n\t\tvec3( 1.60475, -0.10208, -0.00327 ),\t\tvec3( -0.53108, 1.10813, -0.07276 ),\n\t\tvec3( -0.07367, -0.00605, 1.07602 )\n\t);\n\tcolor *= toneMappingExposure / 0.6;\n\tcolor = ACESInputMat * color;\n\tcolor = RRTAndODTFit( color );\n\tcolor = ACESOutputMat * color;\n\treturn saturate( color );\n}\nvec3 CustomToneMapping( vec3 color ) { return color; }",transmissionmap_fragment:"#ifdef USE_TRANSMISSIONMAP\n\ttotalTransmission *= texture2D( transmissionMap, vUv ).r;\n#endif",transmissionmap_pars_fragment:"#ifdef USE_TRANSMISSIONMAP\n\tuniform sampler2D transmissionMap;\n#endif",uv_pars_fragment:"#if ( defined( USE_UV ) && ! defined( UVS_VERTEX_ONLY ) )\n\tvarying vec2 vUv;\n#endif",uv_pars_vertex:"#ifdef USE_UV\n\t#ifdef UVS_VERTEX_ONLY\n\t\tvec2 vUv;\n\t#else\n\t\tvarying vec2 vUv;\n\t#endif\n\tuniform mat3 uvTransform;\n#endif",uv_vertex:"#ifdef USE_UV\n\tvUv = ( uvTransform * vec3( uv, 1 ) ).xy;\n#endif",uv2_pars_fragment:"#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\n\tvarying vec2 vUv2;\n#endif",uv2_pars_vertex:"#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\n\tattribute vec2 uv2;\n\tvarying vec2 vUv2;\n\tuniform mat3 uv2Transform;\n#endif",uv2_vertex:"#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\n\tvUv2 = ( uv2Transform * vec3( uv2, 1 ) ).xy;\n#endif",worldpos_vertex:"#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP )\n\tvec4 worldPosition = vec4( transformed, 1.0 );\n\t#ifdef USE_INSTANCING\n\t\tworldPosition = instanceMatrix * worldPosition;\n\t#endif\n\tworldPosition = modelMatrix * worldPosition;\n#endif",background_frag:"uniform sampler2D t2D;\nvarying vec2 vUv;\nvoid main() {\n\tvec4 texColor = texture2D( t2D, vUv );\n\tgl_FragColor = mapTexelToLinear( texColor );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n}",background_vert:"varying vec2 vUv;\nuniform mat3 uvTransform;\nvoid main() {\n\tvUv = ( uvTransform * vec3( uv, 1 ) ).xy;\n\tgl_Position = vec4( position.xy, 1.0, 1.0 );\n}",cube_frag:"#include <envmap_common_pars_fragment>\nuniform float opacity;\nvarying vec3 vWorldDirection;\n#include <cube_uv_reflection_fragment>\nvoid main() {\n\tvec3 vReflect = vWorldDirection;\n\t#include <envmap_fragment>\n\tgl_FragColor = envColor;\n\tgl_FragColor.a *= opacity;\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n}",cube_vert:"varying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n\tvWorldDirection = transformDirection( position, modelMatrix );\n\t#include <begin_vertex>\n\t#include <project_vertex>\n\tgl_Position.z = gl_Position.w;\n}",depth_frag:"#if DEPTH_PACKING == 3200\n\tuniform float opacity;\n#endif\n#include <common>\n#include <packing>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvarying vec2 vHighPrecisionZW;\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( 1.0 );\n\t#if DEPTH_PACKING == 3200\n\t\tdiffuseColor.a = opacity;\n\t#endif\n\t#include <map_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <logdepthbuf_fragment>\n\tfloat fragCoordZ = 0.5 * vHighPrecisionZW[0] / vHighPrecisionZW[1] + 0.5;\n\t#if DEPTH_PACKING == 3200\n\t\tgl_FragColor = vec4( vec3( 1.0 - fragCoordZ ), opacity );\n\t#elif DEPTH_PACKING == 3201\n\t\tgl_FragColor = packDepthToRGBA( fragCoordZ );\n\t#endif\n}",depth_vert:"#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvarying vec2 vHighPrecisionZW;\nvoid main() {\n\t#include <uv_vertex>\n\t#include <skinbase_vertex>\n\t#ifdef USE_DISPLACEMENTMAP\n\t\t#include <beginnormal_vertex>\n\t\t#include <morphnormal_vertex>\n\t\t#include <skinnormal_vertex>\n\t#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvHighPrecisionZW = gl_Position.zw;\n}",distanceRGBA_frag:"#define DISTANCE\nuniform vec3 referencePosition;\nuniform float nearDistance;\nuniform float farDistance;\nvarying vec3 vWorldPosition;\n#include <common>\n#include <packing>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main () {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( 1.0 );\n\t#include <map_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\tfloat dist = length( vWorldPosition - referencePosition );\n\tdist = ( dist - nearDistance ) / ( farDistance - nearDistance );\n\tdist = saturate( dist );\n\tgl_FragColor = packDepthToRGBA( dist );\n}",distanceRGBA_vert:"#define DISTANCE\nvarying vec3 vWorldPosition;\n#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <skinbase_vertex>\n\t#ifdef USE_DISPLACEMENTMAP\n\t\t#include <beginnormal_vertex>\n\t\t#include <morphnormal_vertex>\n\t\t#include <skinnormal_vertex>\n\t#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <worldpos_vertex>\n\t#include <clipping_planes_vertex>\n\tvWorldPosition = worldPosition.xyz;\n}",equirect_frag:"uniform sampler2D tEquirect;\nvarying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n\tvec3 direction = normalize( vWorldDirection );\n\tvec2 sampleUV = equirectUv( direction );\n\tvec4 texColor = texture2D( tEquirect, sampleUV );\n\tgl_FragColor = mapTexelToLinear( texColor );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n}",equirect_vert:"varying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n\tvWorldDirection = transformDirection( position, modelMatrix );\n\t#include <begin_vertex>\n\t#include <project_vertex>\n}",linedashed_frag:"uniform vec3 diffuse;\nuniform float opacity;\nuniform float dashSize;\nuniform float totalSize;\nvarying float vLineDistance;\n#include <common>\n#include <color_pars_fragment>\n#include <fog_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tif ( mod( vLineDistance, totalSize ) > dashSize ) {\n\t\tdiscard;\n\t}\n\tvec3 outgoingLight = vec3( 0.0 );\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <color_fragment>\n\toutgoingLight = diffuseColor.rgb;\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n}",linedashed_vert:"uniform float scale;\nattribute float lineDistance;\nvarying float vLineDistance;\n#include <common>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\tvLineDistance = scale * lineDistance;\n\t#include <color_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <fog_vertex>\n}",meshbasic_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\n#include <common>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_pars_fragment>\n#include <cube_uv_reflection_fragment>\n#include <fog_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <specularmap_fragment>\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\t#ifdef USE_LIGHTMAP\n\t\n\t\tvec4 lightMapTexel= texture2D( lightMap, vUv2 );\n\t\treflectedLight.indirectDiffuse += lightMapTexelToLinear( lightMapTexel ).rgb * lightMapIntensity;\n\t#else\n\t\treflectedLight.indirectDiffuse += vec3( 1.0 );\n\t#endif\n\t#include <aomap_fragment>\n\treflectedLight.indirectDiffuse *= diffuseColor.rgb;\n\tvec3 outgoingLight = reflectedLight.indirectDiffuse;\n\t#include <envmap_fragment>\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshbasic_vert:"#include <common>\n#include <uv_pars_vertex>\n#include <uv2_pars_vertex>\n#include <envmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <uv2_vertex>\n\t#include <color_vertex>\n\t#include <skinbase_vertex>\n\t#ifdef USE_ENVMAP\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <worldpos_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <envmap_vertex>\n\t#include <fog_vertex>\n}",meshlambert_frag:"uniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float opacity;\nvarying vec3 vLightFront;\nvarying vec3 vIndirectFront;\n#ifdef DOUBLE_SIDED\n\tvarying vec3 vLightBack;\n\tvarying vec3 vIndirectBack;\n#endif\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_pars_fragment>\n#include <cube_uv_reflection_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <fog_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <shadowmask_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <specularmap_fragment>\n\t#include <emissivemap_fragment>\n\t#ifdef DOUBLE_SIDED\n\t\treflectedLight.indirectDiffuse += ( gl_FrontFacing ) ? vIndirectFront : vIndirectBack;\n\t#else\n\t\treflectedLight.indirectDiffuse += vIndirectFront;\n\t#endif\n\t#include <lightmap_fragment>\n\treflectedLight.indirectDiffuse *= BRDF_Diffuse_Lambert( diffuseColor.rgb );\n\t#ifdef DOUBLE_SIDED\n\t\treflectedLight.directDiffuse = ( gl_FrontFacing ) ? vLightFront : vLightBack;\n\t#else\n\t\treflectedLight.directDiffuse = vLightFront;\n\t#endif\n\treflectedLight.directDiffuse *= BRDF_Diffuse_Lambert( diffuseColor.rgb ) * getShadowMask();\n\t#include <aomap_fragment>\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\n\t#include <envmap_fragment>\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshlambert_vert:"#define LAMBERT\nvarying vec3 vLightFront;\nvarying vec3 vIndirectFront;\n#ifdef DOUBLE_SIDED\n\tvarying vec3 vLightBack;\n\tvarying vec3 vIndirectBack;\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <uv2_pars_vertex>\n#include <envmap_pars_vertex>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <uv2_vertex>\n\t#include <color_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <worldpos_vertex>\n\t#include <envmap_vertex>\n\t#include <lights_lambert_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",meshmatcap_frag:"#define MATCAP\nuniform vec3 diffuse;\nuniform float opacity;\nuniform sampler2D matcap;\nvarying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\n#include <common>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <fog_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\tvec3 viewDir = normalize( vViewPosition );\n\tvec3 x = normalize( vec3( viewDir.z, 0.0, - viewDir.x ) );\n\tvec3 y = cross( viewDir, x );\n\tvec2 uv = vec2( dot( x, normal ), dot( y, normal ) ) * 0.495 + 0.5;\n\t#ifdef USE_MATCAP\n\t\tvec4 matcapColor = texture2D( matcap, uv );\n\t\tmatcapColor = matcapTexelToLinear( matcapColor );\n\t#else\n\t\tvec4 matcapColor = vec4( 1.0 );\n\t#endif\n\tvec3 outgoingLight = diffuseColor.rgb * matcapColor.rgb;\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshmatcap_vert:"#define MATCAP\nvarying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <color_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#ifndef FLAT_SHADED\n\t\tvNormal = normalize( transformedNormal );\n\t#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <fog_vertex>\n\tvViewPosition = - mvPosition.xyz;\n}",meshtoon_frag:"#define TOON\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <gradientmap_pars_fragment>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <lights_toon_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\t#include <lights_toon_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\t#include <aomap_fragment>\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshtoon_vert:"#define TOON\nvarying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <uv2_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <uv2_vertex>\n\t#include <color_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n#ifndef FLAT_SHADED\n\tvNormal = normalize( transformedNormal );\n#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",meshphong_frag:"#define PHONG\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform vec3 specular;\nuniform float shininess;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_pars_fragment>\n#include <cube_uv_reflection_fragment>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <lights_phong_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <specularmap_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\t#include <lights_phong_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\t#include <aomap_fragment>\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance;\n\t#include <envmap_fragment>\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshphong_vert:"#define PHONG\nvarying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <uv2_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <envmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <uv2_vertex>\n\t#include <color_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n#ifndef FLAT_SHADED\n\tvNormal = normalize( transformedNormal );\n#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_vertex>\n\t#include <envmap_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",meshphysical_frag:"#define STANDARD\n#ifdef PHYSICAL\n\t#define REFLECTIVITY\n\t#define CLEARCOAT\n\t#define TRANSMISSION\n#endif\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float roughness;\nuniform float metalness;\nuniform float opacity;\n#ifdef TRANSMISSION\n\tuniform float transmission;\n#endif\n#ifdef REFLECTIVITY\n\tuniform float reflectivity;\n#endif\n#ifdef CLEARCOAT\n\tuniform float clearcoat;\n\tuniform float clearcoatRoughness;\n#endif\n#ifdef USE_SHEEN\n\tuniform vec3 sheen;\n#endif\nvarying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n\t#ifdef USE_TANGENT\n\t\tvarying vec3 vTangent;\n\t\tvarying vec3 vBitangent;\n\t#endif\n#endif\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <transmissionmap_pars_fragment>\n#include <bsdfs>\n#include <cube_uv_reflection_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_physical_pars_fragment>\n#include <fog_pars_fragment>\n#include <lights_pars_begin>\n#include <lights_physical_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <clearcoat_pars_fragment>\n#include <roughnessmap_pars_fragment>\n#include <metalnessmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#ifdef TRANSMISSION\n\t\tfloat totalTransmission = transmission;\n\t#endif\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <roughnessmap_fragment>\n\t#include <metalnessmap_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <clearcoat_normal_fragment_begin>\n\t#include <clearcoat_normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\t#include <transmissionmap_fragment>\n\t#include <lights_physical_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\t#include <aomap_fragment>\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance;\n\t#ifdef TRANSMISSION\n\t\tdiffuseColor.a *= mix( saturate( 1. - totalTransmission + linearToRelativeLuminance( reflectedLight.directSpecular + reflectedLight.indirectSpecular ) ), 1.0, metalness );\n\t#endif\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",meshphysical_vert:"#define STANDARD\nvarying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n\t#ifdef USE_TANGENT\n\t\tvarying vec3 vTangent;\n\t\tvarying vec3 vBitangent;\n\t#endif\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <uv2_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <uv2_vertex>\n\t#include <color_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n#ifndef FLAT_SHADED\n\tvNormal = normalize( transformedNormal );\n\t#ifdef USE_TANGENT\n\t\tvTangent = normalize( transformedTangent );\n\t\tvBitangent = normalize( cross( vNormal, vTangent ) * tangent.w );\n\t#endif\n#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",normal_frag:"#define NORMAL\nuniform float opacity;\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP )\n\tvarying vec3 vViewPosition;\n#endif\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n\t#ifdef USE_TANGENT\n\t\tvarying vec3 vTangent;\n\t\tvarying vec3 vBitangent;\n\t#endif\n#endif\n#include <packing>\n#include <uv_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\t#include <logdepthbuf_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\tgl_FragColor = vec4( packNormalToRGB( normal ), opacity );\n}",normal_vert:"#define NORMAL\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP )\n\tvarying vec3 vViewPosition;\n#endif\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n\t#ifdef USE_TANGENT\n\t\tvarying vec3 vTangent;\n\t\tvarying vec3 vBitangent;\n\t#endif\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n#ifndef FLAT_SHADED\n\tvNormal = normalize( transformedNormal );\n\t#ifdef USE_TANGENT\n\t\tvTangent = normalize( transformedTangent );\n\t\tvBitangent = normalize( cross( vNormal, vTangent ) * tangent.w );\n\t#endif\n#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP )\n\tvViewPosition = - mvPosition.xyz;\n#endif\n}",points_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#include <common>\n#include <color_pars_fragment>\n#include <map_particle_pars_fragment>\n#include <fog_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec3 outgoingLight = vec3( 0.0 );\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <map_particle_fragment>\n\t#include <color_fragment>\n\t#include <alphatest_fragment>\n\toutgoingLight = diffuseColor.rgb;\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n}",points_vert:"uniform float size;\nuniform float scale;\n#include <common>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <color_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <project_vertex>\n\tgl_PointSize = size;\n\t#ifdef USE_SIZEATTENUATION\n\t\tbool isPerspective = isPerspectiveMatrix( projectionMatrix );\n\t\tif ( isPerspective ) gl_PointSize *= ( scale / - mvPosition.z );\n\t#endif\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <worldpos_vertex>\n\t#include <fog_vertex>\n}",shadow_frag:"uniform vec3 color;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <shadowmap_pars_fragment>\n#include <shadowmask_pars_fragment>\nvoid main() {\n\tgl_FragColor = vec4( color, opacity * ( 1.0 - getShadowMask() ) );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n}",shadow_vert:"#include <common>\n#include <fog_pars_vertex>\n#include <shadowmap_pars_vertex>\nvoid main() {\n\t#include <begin_vertex>\n\t#include <project_vertex>\n\t#include <worldpos_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",sprite_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#include <common>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <fog_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec3 outgoingLight = vec3( 0.0 );\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\toutgoingLight = diffuseColor.rgb;\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n}",sprite_vert:"uniform float rotation;\nuniform vec2 center;\n#include <common>\n#include <uv_pars_vertex>\n#include <fog_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\tvec4 mvPosition = modelViewMatrix * vec4( 0.0, 0.0, 0.0, 1.0 );\n\tvec2 scale;\n\tscale.x = length( vec3( modelMatrix[ 0 ].x, modelMatrix[ 0 ].y, modelMatrix[ 0 ].z ) );\n\tscale.y = length( vec3( modelMatrix[ 1 ].x, modelMatrix[ 1 ].y, modelMatrix[ 1 ].z ) );\n\t#ifndef USE_SIZEATTENUATION\n\t\tbool isPerspective = isPerspectiveMatrix( projectionMatrix );\n\t\tif ( isPerspective ) scale *= - mvPosition.z;\n\t#endif\n\tvec2 alignedPosition = ( position.xy - ( center - vec2( 0.5 ) ) ) * scale;\n\tvec2 rotatedPosition;\n\trotatedPosition.x = cos( rotation ) * alignedPosition.x - sin( rotation ) * alignedPosition.y;\n\trotatedPosition.y = sin( rotation ) * alignedPosition.x + cos( rotation ) * alignedPosition.y;\n\tmvPosition.xy += rotatedPosition;\n\tgl_Position = projectionMatrix * mvPosition;\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <fog_vertex>\n}"},Ho={common:{diffuse:{value:new Ai(15658734)},opacity:{value:1},map:{value:null},uvTransform:{value:new Kn},uv2Transform:{value:new Kn},alphaMap:{value:null}},specularmap:{specularMap:{value:null}},envmap:{envMap:{value:null},flipEnvMap:{value:-1},reflectivity:{value:1},refractionRatio:{value:.98},maxMipLevel:{value:0}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1}},emissivemap:{emissiveMap:{value:null}},bumpmap:{bumpMap:{value:null},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalScale:{value:new Xn(1,1)}},displacementmap:{displacementMap:{value:null},displacementScale:{value:1},displacementBias:{value:0}},roughnessmap:{roughnessMap:{value:null}},metalnessmap:{metalnessMap:{value:null}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:25e-5},fogNear:{value:1},fogFar:{value:2e3},fogColor:{value:new Ai(16777215)}},lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},color:{}}},directionalLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMap:{value:[]},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{}}},spotLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},spotShadowMap:{value:[]},spotShadowMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{}}},pointLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{},shadowCameraNear:{},shadowCameraFar:{}}},pointShadowMap:{value:[]},pointShadowMatrix:{value:[]},hemisphereLights:{value:[],properties:{direction:{},skyColor:{},groundColor:{}}},rectAreaLights:{value:[],properties:{color:{},position:{},width:{},height:{}}},ltc_1:{value:null},ltc_2:{value:null}},points:{diffuse:{value:new Ai(15658734)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},uvTransform:{value:new Kn}},sprite:{diffuse:{value:new Ai(15658734)},opacity:{value:1},center:{value:new Xn(.5,.5)},rotation:{value:0},map:{value:null},alphaMap:{value:null},uvTransform:{value:new Kn}}},Vo={basic:{uniforms:To([Ho.common,Ho.specularmap,Ho.envmap,Ho.aomap,Ho.lightmap,Ho.fog]),vertexShader:No.meshbasic_vert,fragmentShader:No.meshbasic_frag},lambert:{uniforms:To([Ho.common,Ho.specularmap,Ho.envmap,Ho.aomap,Ho.lightmap,Ho.emissivemap,Ho.fog,Ho.lights,{emissive:{value:new Ai(0)}}]),vertexShader:No.meshlambert_vert,fragmentShader:No.meshlambert_frag},phong:{uniforms:To([Ho.common,Ho.specularmap,Ho.envmap,Ho.aomap,Ho.lightmap,Ho.emissivemap,Ho.bumpmap,Ho.normalmap,Ho.displacementmap,Ho.fog,Ho.lights,{emissive:{value:new Ai(0)},specular:{value:new Ai(1118481)},shininess:{value:30}}]),vertexShader:No.meshphong_vert,fragmentShader:No.meshphong_frag},standard:{uniforms:To([Ho.common,Ho.envmap,Ho.aomap,Ho.lightmap,Ho.emissivemap,Ho.bumpmap,Ho.normalmap,Ho.displacementmap,Ho.roughnessmap,Ho.metalnessmap,Ho.fog,Ho.lights,{emissive:{value:new Ai(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:No.meshphysical_vert,fragmentShader:No.meshphysical_frag},toon:{uniforms:To([Ho.common,Ho.aomap,Ho.lightmap,Ho.emissivemap,Ho.bumpmap,Ho.normalmap,Ho.displacementmap,Ho.gradientmap,Ho.fog,Ho.lights,{emissive:{value:new Ai(0)}}]),vertexShader:No.meshtoon_vert,fragmentShader:No.meshtoon_frag},matcap:{uniforms:To([Ho.common,Ho.bumpmap,Ho.normalmap,Ho.displacementmap,Ho.fog,{matcap:{value:null}}]),vertexShader:No.meshmatcap_vert,fragmentShader:No.meshmatcap_frag},points:{uniforms:To([Ho.points,Ho.fog]),vertexShader:No.points_vert,fragmentShader:No.points_frag},dashed:{uniforms:To([Ho.common,Ho.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:No.linedashed_vert,fragmentShader:No.linedashed_frag},depth:{uniforms:To([Ho.common,Ho.displacementmap]),vertexShader:No.depth_vert,fragmentShader:No.depth_frag},normal:{uniforms:To([Ho.common,Ho.bumpmap,Ho.normalmap,Ho.displacementmap,{opacity:{value:1}}]),vertexShader:No.normal_vert,fragmentShader:No.normal_frag},sprite:{uniforms:To([Ho.sprite,Ho.fog]),vertexShader:No.sprite_vert,fragmentShader:No.sprite_frag},background:{uniforms:{uvTransform:{value:new Kn},t2D:{value:null}},vertexShader:No.background_vert,fragmentShader:No.background_frag},cube:{uniforms:To([Ho.envmap,{opacity:{value:1}}]),vertexShader:No.cube_vert,fragmentShader:No.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:No.equirect_vert,fragmentShader:No.equirect_frag},distanceRGBA:{uniforms:To([Ho.common,Ho.displacementmap,{referencePosition:{value:new ar},nearDistance:{value:1},farDistance:{value:1e3}}]),vertexShader:No.distanceRGBA_vert,fragmentShader:No.distanceRGBA_frag},shadow:{uniforms:To([Ho.lights,Ho.fog,{color:{value:new Ai(0)},opacity:{value:1}}]),vertexShader:No.shadow_vert,fragmentShader:No.shadow_frag}};function Wo(e,t,n,r,i){const o=new Ai(0);let a,s,c=0,u=null,l=0,f=null;function h(e,t){n.buffers.color.setClear(e.r,e.g,e.b,t,i)}return{getClearColor:function(){return o},setClearColor:function(e,t=1){o.set(e),c=t,h(o,c)},getClearAlpha:function(){return c},setClearAlpha:function(e){c=e,h(o,c)},render:function(n,i,v,m){let y=!0===i.isScene?i.background:null;y&&y.isTexture&&(y=t.get(y));const g=e.xr,x=g.getSession&&g.getSession();x&&"additive"===x.environmentBlendMode&&(y=null),null===y?h(o,c):y&&y.isColor&&(h(y,1),m=!0),(e.autoClear||m)&&e.clear(e.autoClearColor,e.autoClearDepth,e.autoClearStencil),y&&(y.isCubeTexture||y.mapping===ue)?(void 0===s&&(s=new Mo(new So(1,1,1),new Eo({name:"BackgroundCubeMaterial",uniforms:Po(Vo.cube.uniforms),vertexShader:Vo.cube.vertexShader,fragmentShader:Vo.cube.fragmentShader,side:p,depthTest:!1,depthWrite:!1,fog:!1})),s.geometry.deleteAttribute("normal"),s.geometry.deleteAttribute("uv"),s.onBeforeRender=function(e,t,n){this.matrixWorld.copyPosition(n.matrixWorld)},Object.defineProperty(s.material,"envMap",{get:function(){return this.uniforms.envMap.value}}),r.update(s)),s.material.uniforms.envMap.value=y,s.material.uniforms.flipEnvMap.value=y.isCubeTexture&&y._needsFlipEnvMap?-1:1,u===y&&l===y.version&&f===e.toneMapping||(s.material.needsUpdate=!0,u=y,l=y.version,f=e.toneMapping),n.unshift(s,s.geometry,s.material,0,0,null)):y&&y.isTexture&&(void 0===a&&(a=new Mo(new Go(2,2),new Eo({name:"BackgroundMaterial",uniforms:Po(Vo.background.uniforms),vertexShader:Vo.background.vertexShader,fragmentShader:Vo.background.fragmentShader,side:d,depthTest:!1,depthWrite:!1,fog:!1})),a.geometry.deleteAttribute("normal"),Object.defineProperty(a.material,"map",{get:function(){return this.uniforms.t2D.value}}),r.update(a)),a.material.uniforms.t2D.value=y,!0===y.matrixAutoUpdate&&y.updateMatrix(),a.material.uniforms.uvTransform.value.copy(y.matrix),u===y&&l===y.version&&f===e.toneMapping||(a.material.needsUpdate=!0,u=y,l=y.version,f=e.toneMapping),n.unshift(a,a.geometry,a.material,0,0,null))}}}function Zo(e,t,n,r){const i=e.getParameter(34921),o=r.isWebGL2?null:t.get("OES_vertex_array_object"),a=r.isWebGL2||null!==o,s={},c=h(null);let u=c;function l(t){return r.isWebGL2?e.bindVertexArray(t):o.bindVertexArrayOES(t)}function f(t){return r.isWebGL2?e.deleteVertexArray(t):o.deleteVertexArrayOES(t)}function h(e){const t=[],n=[],r=[];for(let e=0;e<i;e++)t[e]=0,n[e]=0,r[e]=0;return{geometry:null,program:null,wireframe:!1,newAttributes:t,enabledAttributes:n,attributeDivisors:r,object:e,attributes:{},index:null}}function v(){const e=u.newAttributes;for(let t=0,n=e.length;t<n;t++)e[t]=0}function d(e){p(e,0)}function p(n,i){const o=u.newAttributes,a=u.enabledAttributes,s=u.attributeDivisors;o[n]=1,0===a[n]&&(e.enableVertexAttribArray(n),a[n]=1),s[n]!==i&&((r.isWebGL2?e:t.get("ANGLE_instanced_arrays"))[r.isWebGL2?"vertexAttribDivisor":"vertexAttribDivisorANGLE"](n,i),s[n]=i)}function m(){const t=u.newAttributes,n=u.enabledAttributes;for(let r=0,i=n.length;r<i;r++)n[r]!==t[r]&&(e.disableVertexAttribArray(r),n[r]=0)}function y(t,n,i,o,a,s){!0!==r.isWebGL2||5124!==i&&5125!==i?e.vertexAttribPointer(t,n,i,o,a,s):e.vertexAttribIPointer(t,n,i,a,s)}function g(){x(),u!==c&&(u=c,l(u.object))}function x(){c.geometry=null,c.program=null,c.wireframe=!1}return{setup:function(i,c,f,g,x){let b=!1;if(a){const t=function(t,n,i){const a=!0===i.wireframe;let c=s[t.id];void 0===c&&(c={},s[t.id]=c);let u=c[n.id];void 0===u&&(u={},c[n.id]=u);let l=u[a];return void 0===l&&(l=h(r.isWebGL2?e.createVertexArray():o.createVertexArrayOES()),u[a]=l),l}(g,f,c);u!==t&&(u=t,l(u.object)),b=function(e,t){const n=u.attributes,r=e.attributes;let i=0;for(const e in r){const t=n[e],o=r[e];if(void 0===t)return!0;if(t.attribute!==o)return!0;if(t.data!==o.data)return!0;i++}return u.attributesNum!==i||u.index!==t}(g,x),b&&function(e,t){const n={},r=e.attributes;let i=0;for(const e in r){const t=r[e],o={};o.attribute=t,t.data&&(o.data=t.data),n[e]=o,i++}u.attributes=n,u.attributesNum=i,u.index=t}(g,x)}else{const e=!0===c.wireframe;u.geometry===g.id&&u.program===f.id&&u.wireframe===e||(u.geometry=g.id,u.program=f.id,u.wireframe=e,b=!0)}!0===i.isInstancedMesh&&(b=!0),null!==x&&n.update(x,34963),b&&(function(i,o,a,s){if(!1===r.isWebGL2&&(i.isInstancedMesh||s.isInstancedBufferGeometry)&&null===t.get("ANGLE_instanced_arrays"))return;v();const c=s.attributes,u=a.getAttributes(),l=o.defaultAttributeValues;for(const t in u){const r=u[t];if(r>=0){const o=c[t];if(void 0!==o){const t=o.normalized,i=o.itemSize,a=n.get(o);if(void 0===a)continue;const c=a.buffer,u=a.type,l=a.bytesPerElement;if(o.isInterleavedBufferAttribute){const n=o.data,a=n.stride,f=o.offset;n&&n.isInstancedInterleavedBuffer?(p(r,n.meshPerAttribute),void 0===s._maxInstanceCount&&(s._maxInstanceCount=n.meshPerAttribute*n.count)):d(r),e.bindBuffer(34962,c),y(r,i,u,t,a*l,f*l)}else o.isInstancedBufferAttribute?(p(r,o.meshPerAttribute),void 0===s._maxInstanceCount&&(s._maxInstanceCount=o.meshPerAttribute*o.count)):d(r),e.bindBuffer(34962,c),y(r,i,u,t,0,0)}else if("instanceMatrix"===t){const t=n.get(i.instanceMatrix);if(void 0===t)continue;const o=t.buffer,a=t.type;p(r+0,1),p(r+1,1),p(r+2,1),p(r+3,1),e.bindBuffer(34962,o),e.vertexAttribPointer(r+0,4,a,!1,64,0),e.vertexAttribPointer(r+1,4,a,!1,64,16),e.vertexAttribPointer(r+2,4,a,!1,64,32),e.vertexAttribPointer(r+3,4,a,!1,64,48)}else if("instanceColor"===t){const t=n.get(i.instanceColor);if(void 0===t)continue;const o=t.buffer,a=t.type;p(r,1),e.bindBuffer(34962,o),e.vertexAttribPointer(r,3,a,!1,12,0)}else if(void 0!==l){const n=l[t];if(void 0!==n)switch(n.length){case 2:e.vertexAttrib2fv(r,n);break;case 3:e.vertexAttrib3fv(r,n);break;case 4:e.vertexAttrib4fv(r,n);break;default:e.vertexAttrib1fv(r,n)}}}}m()}(i,c,f,g),null!==x&&e.bindBuffer(34963,n.get(x).buffer))},reset:g,resetDefaultState:x,dispose:function(){g();for(const e in s){const t=s[e];for(const e in t){const n=t[e];for(const e in n)f(n[e].object),delete n[e];delete t[e]}delete s[e]}},releaseStatesOfGeometry:function(e){if(void 0===s[e.id])return;const t=s[e.id];for(const e in t){const n=t[e];for(const e in n)f(n[e].object),delete n[e];delete t[e]}delete s[e.id]},releaseStatesOfProgram:function(e){for(const t in s){const n=s[t];if(void 0===n[e.id])continue;const r=n[e.id];for(const e in r)f(r[e].object),delete r[e];delete n[e.id]}},initAttributes:v,enableAttribute:d,disableUnusedAttributes:m}}function qo(e,t,n,r){const i=r.isWebGL2;let o;this.setMode=function(e){o=e},this.render=function(t,r){e.drawArrays(o,t,r),n.update(r,o,1)},this.renderInstances=function(r,a,s){if(0===s)return;let c,u;if(i)c=e,u="drawArraysInstanced";else if(c=t.get("ANGLE_instanced_arrays"),u="drawArraysInstancedANGLE",null===c)return void console.error("THREE.WebGLBufferRenderer: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.");c[u](o,r,a,s),n.update(a,o,s)}}function Yo(e,t,n){let r;function i(t){if("highp"===t){if(e.getShaderPrecisionFormat(35633,36338).precision>0&&e.getShaderPrecisionFormat(35632,36338).precision>0)return"highp";t="mediump"}return"mediump"===t&&e.getShaderPrecisionFormat(35633,36337).precision>0&&e.getShaderPrecisionFormat(35632,36337).precision>0?"mediump":"lowp"}const o="undefined"!=typeof WebGL2RenderingContext&&e instanceof WebGL2RenderingContext||"undefined"!=typeof WebGL2ComputeRenderingContext&&e instanceof WebGL2ComputeRenderingContext;let a=void 0!==n.precision?n.precision:"highp";const s=i(a);s!==a&&(console.warn("THREE.WebGLRenderer:",a,"not supported, using",s,"instead."),a=s);const c=!0===n.logarithmicDepthBuffer,u=e.getParameter(34930),l=e.getParameter(35660),f=e.getParameter(3379),h=e.getParameter(34076),v=e.getParameter(34921),d=e.getParameter(36347),p=e.getParameter(36348),m=e.getParameter(36349),y=l>0,g=o||t.has("OES_texture_float");return{isWebGL2:o,getMaxAnisotropy:function(){if(void 0!==r)return r;if(!0===t.has("EXT_texture_filter_anisotropic")){const n=t.get("EXT_texture_filter_anisotropic");r=e.getParameter(n.MAX_TEXTURE_MAX_ANISOTROPY_EXT)}else r=0;return r},getMaxPrecision:i,precision:a,logarithmicDepthBuffer:c,maxTextures:u,maxVertexTextures:l,maxTextureSize:f,maxCubemapSize:h,maxAttributes:v,maxVertexUniforms:d,maxVaryings:p,maxFragmentUniforms:m,vertexTextures:y,floatFragmentTextures:g,floatVertexTextures:y&&g,maxSamples:o?e.getParameter(36183):0}}function Xo(e){const t=this;let n=null,r=0,i=!1,o=!1;const a=new hi,s=new Kn,c={value:null,needsUpdate:!1};function u(){c.value!==n&&(c.value=n,c.needsUpdate=r>0),t.numPlanes=r,t.numIntersection=0}function l(e,n,r,i){const o=null!==e?e.length:0;let u=null;if(0!==o){if(u=c.value,!0!==i||null===u){const t=r+4*o,i=n.matrixWorldInverse;s.getNormalMatrix(i),(null===u||u.length<t)&&(u=new Float32Array(t));for(let t=0,n=r;t!==o;++t,n+=4)a.copy(e[t]).applyMatrix4(i,s),a.normal.toArray(u,n),u[n+3]=a.constant}c.value=u,c.needsUpdate=!0}return t.numPlanes=o,t.numIntersection=0,u}this.uniform=c,this.numPlanes=0,this.numIntersection=0,this.init=function(e,t,o){const a=0!==e.length||t||0!==r||i;return i=t,n=l(e,o,0),r=e.length,a},this.beginShadows=function(){o=!0,l(null)},this.endShadows=function(){o=!1,u()},this.setState=function(t,a,s){const f=t.clippingPlanes,h=t.clipIntersection,v=t.clipShadows,d=e.get(t);if(!i||null===f||0===f.length||o&&!v)o?l(null):u();else{const e=o?0:r,t=4*e;let i=d.clippingState||null;c.value=i,i=l(f,a,t,s);for(let e=0;e!==t;++e)i[e]=n[e];d.clippingState=i,this.numIntersection=h?this.numPlanes:0,this.numPlanes+=e}}}function Ko(e){let t=new WeakMap;function n(e,t){return t===se?e.mapping=oe:t===ce&&(e.mapping=ae),e}function r(e){const n=e.target;n.removeEventListener("dispose",r);const i=t.get(n);void 0!==i&&(t.delete(n),i.dispose())}return{get:function(i){if(i&&i.isTexture){const o=i.mapping;if(o===se||o===ce){if(t.has(i))return n(t.get(i).texture,i.mapping);{const o=i.image;if(o&&o.height>0){const a=e.getRenderTarget(),s=new Do(o.height/2);return s.fromEquirectangularTexture(e,i),t.set(i,s),e.setRenderTarget(a),i.addEventListener("dispose",r),n(s.texture,i.mapping)}return null}}}return i},dispose:function(){t=new WeakMap}}}function Qo(e){const t={};function n(n){if(void 0!==t[n])return t[n];let r;switch(n){case"WEBGL_depth_texture":r=e.getExtension("WEBGL_depth_texture")||e.getExtension("MOZ_WEBGL_depth_texture")||e.getExtension("WEBKIT_WEBGL_depth_texture");break;case"EXT_texture_filter_anisotropic":r=e.getExtension("EXT_texture_filter_anisotropic")||e.getExtension("MOZ_EXT_texture_filter_anisotropic")||e.getExtension("WEBKIT_EXT_texture_filter_anisotropic");break;case"WEBGL_compressed_texture_s3tc":r=e.getExtension("WEBGL_compressed_texture_s3tc")||e.getExtension("MOZ_WEBGL_compressed_texture_s3tc")||e.getExtension("WEBKIT_WEBGL_compressed_texture_s3tc");break;case"WEBGL_compressed_texture_pvrtc":r=e.getExtension("WEBGL_compressed_texture_pvrtc")||e.getExtension("WEBKIT_WEBGL_compressed_texture_pvrtc");break;default:r=e.getExtension(n)}return t[n]=r,r}return{has:function(e){return null!==n(e)},init:function(e){e.isWebGL2?n("EXT_color_buffer_float"):(n("WEBGL_depth_texture"),n("OES_texture_float"),n("OES_texture_half_float"),n("OES_texture_half_float_linear"),n("OES_standard_derivatives"),n("OES_element_index_uint"),n("OES_vertex_array_object"),n("ANGLE_instanced_arrays")),n("OES_texture_float_linear"),n("EXT_color_buffer_half_float")},get:function(e){const t=n(e);return null===t&&console.warn("THREE.WebGLRenderer: "+e+" extension not supported."),t}}}function Jo(e,t,n,r){const i={},o=new WeakMap;function a(e){const s=e.target;null!==s.index&&t.remove(s.index);for(const e in s.attributes)t.remove(s.attributes[e]);s.removeEventListener("dispose",a),delete i[s.id];const c=o.get(s);c&&(t.remove(c),o.delete(s)),r.releaseStatesOfGeometry(s),!0===s.isInstancedBufferGeometry&&delete s._maxInstanceCount,n.memory.geometries--}function s(e){const n=[],r=e.index,i=e.attributes.position;let a=0;if(null!==r){const e=r.array;a=r.version;for(let t=0,r=e.length;t<r;t+=3){const r=e[t+0],i=e[t+1],o=e[t+2];n.push(r,i,i,o,o,r)}}else{const e=i.array;a=i.version;for(let t=0,r=e.length/3-1;t<r;t+=3){const e=t+0,r=t+1,i=t+2;n.push(e,r,r,i,i,e)}}const s=new(qi(n)>65535?Hi:Gi)(n,1);s.version=a;const c=o.get(e);c&&t.remove(c),o.set(e,s)}return{get:function(e,t){return!0===i[t.id]||(t.addEventListener("dispose",a),i[t.id]=!0,n.memory.geometries++),t},update:function(e){const n=e.attributes;for(const e in n)t.update(n[e],34962);const r=e.morphAttributes;for(const e in r){const n=r[e];for(let e=0,r=n.length;e<r;e++)t.update(n[e],34962)}},getWireframeAttribute:function(e){const t=o.get(e);if(t){const n=e.index;null!==n&&t.version<n.version&&s(e)}else s(e);return o.get(e)}}}function $o(e,t,n,r){const i=r.isWebGL2;let o,a,s;this.setMode=function(e){o=e},this.setIndex=function(e){a=e.type,s=e.bytesPerElement},this.render=function(t,r){e.drawElements(o,r,a,t*s),n.update(r,o,1)},this.renderInstances=function(r,c,u){if(0===u)return;let l,f;if(i)l=e,f="drawElementsInstanced";else if(l=t.get("ANGLE_instanced_arrays"),f="drawElementsInstancedANGLE",null===l)return void console.error("THREE.WebGLIndexedBufferRenderer: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.");l[f](o,c,a,r*s,u),n.update(c,o,u)}}function ea(e){const t={frame:0,calls:0,triangles:0,points:0,lines:0};return{memory:{geometries:0,textures:0},render:t,programs:null,autoReset:!0,reset:function(){t.frame++,t.calls=0,t.triangles=0,t.points=0,t.lines=0},update:function(e,n,r){switch(t.calls++,n){case 4:t.triangles+=r*(e/3);break;case 1:t.lines+=r*(e/2);break;case 3:t.lines+=r*(e-1);break;case 2:t.lines+=r*e;break;case 0:t.points+=r*e;break;default:console.error("THREE.WebGLInfo: Unknown draw mode:",n)}}}}function ta(e,t){return e[0]-t[0]}function na(e,t){return Math.abs(t[1])-Math.abs(e[1])}function ra(e){const t={},n=new Float32Array(8),r=[];for(let e=0;e<8;e++)r[e]=[e,0];return{update:function(i,o,a,s){const c=i.morphTargetInfluences,u=void 0===c?0:c.length;let l=t[o.id];if(void 0===l){l=[];for(let e=0;e<u;e++)l[e]=[e,0];t[o.id]=l}for(let e=0;e<u;e++){const t=l[e];t[0]=e,t[1]=c[e]}l.sort(na);for(let e=0;e<8;e++)e<u&&l[e][1]?(r[e][0]=l[e][0],r[e][1]=l[e][1]):(r[e][0]=Number.MAX_SAFE_INTEGER,r[e][1]=0);r.sort(ta);const f=a.morphTargets&&o.morphAttributes.position,h=a.morphNormals&&o.morphAttributes.normal;let v=0;for(let e=0;e<8;e++){const t=r[e],i=t[0],a=t[1];i!==Number.MAX_SAFE_INTEGER&&a?(f&&o.getAttribute("morphTarget"+e)!==f[i]&&o.setAttribute("morphTarget"+e,f[i]),h&&o.getAttribute("morphNormal"+e)!==h[i]&&o.setAttribute("morphNormal"+e,h[i]),n[e]=a,v+=a):(f&&!0===o.hasAttribute("morphTarget"+e)&&o.deleteAttribute("morphTarget"+e),h&&!0===o.hasAttribute("morphNormal"+e)&&o.deleteAttribute("morphNormal"+e),n[e]=0)}const d=o.morphTargetsRelative?1:1-v;s.getUniforms().setValue(e,"morphTargetBaseInfluence",d),s.getUniforms().setValue(e,"morphTargetInfluences",n)}}}function ia(e,t,n,r){let i=new WeakMap;function o(e){const t=e.target;t.removeEventListener("dispose",o),n.remove(t.instanceMatrix),null!==t.instanceColor&&n.remove(t.instanceColor)}return{update:function(e){const a=r.render.frame,s=e.geometry,c=t.get(e,s);return i.get(c)!==a&&(t.update(c),i.set(c,a)),e.isInstancedMesh&&(!1===e.hasEventListener("dispose",o)&&e.addEventListener("dispose",o),n.update(e.instanceMatrix,34962),null!==e.instanceColor&&n.update(e.instanceColor,34962)),c},dispose:function(){i=new WeakMap}}}Vo.physical={uniforms:To([Vo.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatNormalScale:{value:new Xn(1,1)},clearcoatNormalMap:{value:null},sheen:{value:new Ai(0)},transmission:{value:0},transmissionMap:{value:null}}]),vertexShader:No.meshphysical_vert,fragmentShader:No.meshphysical_frag};class oa extends er{constructor(e=null,t=1,n=1,r=1){super(null),this.image={data:e,width:t,height:n,depth:r},this.magFilter=de,this.minFilter=de,this.wrapR=he,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1,this.needsUpdate=!0}}oa.prototype.isDataTexture2DArray=!0;class aa extends er{constructor(e=null,t=1,n=1,r=1){super(null),this.image={data:e,width:t,height:n,depth:r},this.magFilter=de,this.minFilter=de,this.wrapR=he,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1,this.needsUpdate=!0}}aa.prototype.isDataTexture3D=!0;const sa=new er,ca=new oa,ua=new aa,la=new Oo,fa=[],ha=[],va=new Float32Array(16),da=new Float32Array(9),pa=new Float32Array(4);function ma(e,t,n){const r=e[0];if(r<=0||r>0)return e;const i=t*n;let o=fa[i];if(void 0===o&&(o=new Float32Array(i),fa[i]=o),0!==t){r.toArray(o,0);for(let r=1,i=0;r!==t;++r)i+=n,e[r].toArray(o,i)}return o}function ya(e,t){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n++)if(e[n]!==t[n])return!1;return!0}function ga(e,t){for(let n=0,r=t.length;n<r;n++)e[n]=t[n]}function xa(e,t){let n=ha[t];void 0===n&&(n=new Int32Array(t),ha[t]=n);for(let r=0;r!==t;++r)n[r]=e.allocateTextureUnit();return n}function ba(e,t){const n=this.cache;n[0]!==t&&(e.uniform1f(this.addr,t),n[0]=t)}function wa(e,t){const n=this.cache;if(void 0!==t.x)n[0]===t.x&&n[1]===t.y||(e.uniform2f(this.addr,t.x,t.y),n[0]=t.x,n[1]=t.y);else{if(ya(n,t))return;e.uniform2fv(this.addr,t),ga(n,t)}}function Ma(e,t){const n=this.cache;if(void 0!==t.x)n[0]===t.x&&n[1]===t.y&&n[2]===t.z||(e.uniform3f(this.addr,t.x,t.y,t.z),n[0]=t.x,n[1]=t.y,n[2]=t.z);else if(void 0!==t.r)n[0]===t.r&&n[1]===t.g&&n[2]===t.b||(e.uniform3f(this.addr,t.r,t.g,t.b),n[0]=t.r,n[1]=t.g,n[2]=t.b);else{if(ya(n,t))return;e.uniform3fv(this.addr,t),ga(n,t)}}function _a(e,t){const n=this.cache;if(void 0!==t.x)n[0]===t.x&&n[1]===t.y&&n[2]===t.z&&n[3]===t.w||(e.uniform4f(this.addr,t.x,t.y,t.z,t.w),n[0]=t.x,n[1]=t.y,n[2]=t.z,n[3]=t.w);else{if(ya(n,t))return;e.uniform4fv(this.addr,t),ga(n,t)}}function Sa(e,t){const n=this.cache,r=t.elements;if(void 0===r){if(ya(n,t))return;e.uniformMatrix2fv(this.addr,!1,t),ga(n,t)}else{if(ya(n,r))return;pa.set(r),e.uniformMatrix2fv(this.addr,!1,pa),ga(n,r)}}function Pa(e,t){const n=this.cache,r=t.elements;if(void 0===r){if(ya(n,t))return;e.uniformMatrix3fv(this.addr,!1,t),ga(n,t)}else{if(ya(n,r))return;da.set(r),e.uniformMatrix3fv(this.addr,!1,da),ga(n,r)}}function Ta(e,t){const n=this.cache,r=t.elements;if(void 0===r){if(ya(n,t))return;e.uniformMatrix4fv(this.addr,!1,t),ga(n,t)}else{if(ya(n,r))return;va.set(r),e.uniformMatrix4fv(this.addr,!1,va),ga(n,r)}}function Ra(e,t){const n=this.cache;n[0]!==t&&(e.uniform1i(this.addr,t),n[0]=t)}function Ea(e,t){const n=this.cache;ya(n,t)||(e.uniform2iv(this.addr,t),ga(n,t))}function za(e,t){const n=this.cache;ya(n,t)||(e.uniform3iv(this.addr,t),ga(n,t))}function La(e,t){const n=this.cache;ya(n,t)||(e.uniform4iv(this.addr,t),ga(n,t))}function Ca(e,t){const n=this.cache;n[0]!==t&&(e.uniform1ui(this.addr,t),n[0]=t)}function Aa(e,t){const n=this.cache;ya(n,t)||(e.uniform2uiv(this.addr,t),ga(n,t))}function Oa(e,t){const n=this.cache;ya(n,t)||(e.uniform3uiv(this.addr,t),ga(n,t))}function Da(e,t){const n=this.cache;ya(n,t)||(e.uniform4uiv(this.addr,t),ga(n,t))}function Ia(e,t,n){const r=this.cache,i=n.allocateTextureUnit();r[0]!==i&&(e.uniform1i(this.addr,i),r[0]=i),n.safeSetTexture2D(t||sa,i)}function ka(e,t,n){const r=this.cache,i=n.allocateTextureUnit();r[0]!==i&&(e.uniform1i(this.addr,i),r[0]=i),n.setTexture3D(t||ua,i)}function Fa(e,t,n){const r=this.cache,i=n.allocateTextureUnit();r[0]!==i&&(e.uniform1i(this.addr,i),r[0]=i),n.safeSetTextureCube(t||la,i)}function ja(e,t,n){const r=this.cache,i=n.allocateTextureUnit();r[0]!==i&&(e.uniform1i(this.addr,i),r[0]=i),n.setTexture2DArray(t||ca,i)}function Ua(e,t){e.uniform1fv(this.addr,t)}function Ba(e,t){const n=ma(t,this.size,2);e.uniform2fv(this.addr,n)}function Ga(e,t){const n=ma(t,this.size,3);e.uniform3fv(this.addr,n)}function Na(e,t){const n=ma(t,this.size,4);e.uniform4fv(this.addr,n)}function Ha(e,t){const n=ma(t,this.size,4);e.uniformMatrix2fv(this.addr,!1,n)}function Va(e,t){const n=ma(t,this.size,9);e.uniformMatrix3fv(this.addr,!1,n)}function Wa(e,t){const n=ma(t,this.size,16);e.uniformMatrix4fv(this.addr,!1,n)}function Za(e,t){e.uniform1iv(this.addr,t)}function qa(e,t){e.uniform2iv(this.addr,t)}function Ya(e,t){e.uniform3iv(this.addr,t)}function Xa(e,t){e.uniform4iv(this.addr,t)}function Ka(e,t){e.uniform1uiv(this.addr,t)}function Qa(e,t){e.uniform2uiv(this.addr,t)}function Ja(e,t){e.uniform3uiv(this.addr,t)}function $a(e,t){e.uniform4uiv(this.addr,t)}function es(e,t,n){const r=t.length,i=xa(n,r);e.uniform1iv(this.addr,i);for(let e=0;e!==r;++e)n.safeSetTexture2D(t[e]||sa,i[e])}function ts(e,t,n){const r=t.length,i=xa(n,r);e.uniform1iv(this.addr,i);for(let e=0;e!==r;++e)n.safeSetTextureCube(t[e]||la,i[e])}function ns(e,t,n){this.id=e,this.addr=n,this.cache=[],this.setValue=function(e){switch(e){case 5126:return ba;case 35664:return wa;case 35665:return Ma;case 35666:return _a;case 35674:return Sa;case 35675:return Pa;case 35676:return Ta;case 5124:case 35670:return Ra;case 35667:case 35671:return Ea;case 35668:case 35672:return za;case 35669:case 35673:return La;case 5125:return Ca;case 36294:return Aa;case 36295:return Oa;case 36296:return Da;case 35678:case 36198:case 36298:case 36306:case 35682:return Ia;case 35679:case 36299:case 36307:return ka;case 35680:case 36300:case 36308:case 36293:return Fa;case 36289:case 36303:case 36311:case 36292:return ja}}(t.type)}function rs(e,t,n){this.id=e,this.addr=n,this.cache=[],this.size=t.size,this.setValue=function(e){switch(e){case 5126:return Ua;case 35664:return Ba;case 35665:return Ga;case 35666:return Na;case 35674:return Ha;case 35675:return Va;case 35676:return Wa;case 5124:case 35670:return Za;case 35667:case 35671:return qa;case 35668:case 35672:return Ya;case 35669:case 35673:return Xa;case 5125:return Ka;case 36294:return Qa;case 36295:return Ja;case 36296:return $a;case 35678:case 36198:case 36298:case 36306:case 35682:return es;case 35680:case 36300:case 36308:case 36293:return ts}}(t.type)}function is(e){this.id=e,this.seq=[],this.map={}}rs.prototype.updateCache=function(e){const t=this.cache;e instanceof Float32Array&&t.length!==e.length&&(this.cache=new Float32Array(e.length)),ga(t,e)},is.prototype.setValue=function(e,t,n){const r=this.seq;for(let i=0,o=r.length;i!==o;++i){const o=r[i];o.setValue(e,t[o.id],n)}};const os=/(\w+)(\])?(\[|\.)?/g;function as(e,t){e.seq.push(t),e.map[t.id]=t}function ss(e,t,n){const r=e.name,i=r.length;for(os.lastIndex=0;;){const o=os.exec(r),a=os.lastIndex;let s=o[1];const c="]"===o[2],u=o[3];if(c&&(s|=0),void 0===u||"["===u&&a+2===i){as(n,void 0===u?new ns(s,e,t):new rs(s,e,t));break}{let e=n.map[s];void 0===e&&(e=new is(s),as(n,e)),n=e}}}function cs(e,t){this.seq=[],this.map={};const n=e.getProgramParameter(t,35718);for(let r=0;r<n;++r){const n=e.getActiveUniform(t,r);ss(n,e.getUniformLocation(t,n.name),this)}}function us(e,t,n){const r=e.createShader(t);return e.shaderSource(r,n),e.compileShader(r),r}cs.prototype.setValue=function(e,t,n,r){const i=this.map[t];void 0!==i&&i.setValue(e,n,r)},cs.prototype.setOptional=function(e,t,n){const r=t[n];void 0!==r&&this.setValue(e,n,r)},cs.upload=function(e,t,n,r){for(let i=0,o=t.length;i!==o;++i){const o=t[i],a=n[o.id];!1!==a.needsUpdate&&o.setValue(e,a.value,r)}},cs.seqWithValue=function(e,t){const n=[];for(let r=0,i=e.length;r!==i;++r){const i=e[r];i.id in t&&n.push(i)}return n};let ls=0;function fs(e){switch(e){case Kt:return["Linear","( value )"];case Qt:return["sRGB","( value )"];case $t:return["RGBE","( value )"];case tn:return["RGBM","( value, 7.0 )"];case nn:return["RGBM","( value, 16.0 )"];case rn:return["RGBD","( value, 256.0 )"];case Jt:return["Gamma","( value, float( GAMMA_FACTOR ) )"];case en:return["LogLuv","( value )"];default:return console.warn("THREE.WebGLProgram: Unsupported encoding:",e),["Linear","( value )"]}}function hs(e,t,n){const r=e.getShaderParameter(t,35713),i=e.getShaderInfoLog(t).trim();return r&&""===i?"":"THREE.WebGLShader: gl.getShaderInfoLog() "+n+"\n"+i+function(e){const t=e.split("\n");for(let e=0;e<t.length;e++)t[e]=e+1+": "+t[e];return t.join("\n")}(e.getShaderSource(t))}function vs(e,t){const n=fs(t);return"vec4 "+e+"( vec4 value ) { return "+n[0]+"ToLinear"+n[1]+"; }"}function ds(e,t){const n=fs(t);return"vec4 "+e+"( vec4 value ) { return LinearTo"+n[0]+n[1]+"; }"}function ps(e,t){let n;switch(t){case $:n="Linear";break;case ee:n="Reinhard";break;case te:n="OptimizedCineon";break;case ne:n="ACESFilmic";break;case re:n="Custom";break;default:console.warn("THREE.WebGLProgram: Unsupported toneMapping:",t),n="Linear"}return"vec3 "+e+"( vec3 color ) { return "+n+"ToneMapping( color ); }"}function ms(e){return""!==e}function ys(e,t){return e.replace(/NUM_DIR_LIGHTS/g,t.numDirLights).replace(/NUM_SPOT_LIGHTS/g,t.numSpotLights).replace(/NUM_RECT_AREA_LIGHTS/g,t.numRectAreaLights).replace(/NUM_POINT_LIGHTS/g,t.numPointLights).replace(/NUM_HEMI_LIGHTS/g,t.numHemiLights).replace(/NUM_DIR_LIGHT_SHADOWS/g,t.numDirLightShadows).replace(/NUM_SPOT_LIGHT_SHADOWS/g,t.numSpotLightShadows).replace(/NUM_POINT_LIGHT_SHADOWS/g,t.numPointLightShadows)}function gs(e,t){return e.replace(/NUM_CLIPPING_PLANES/g,t.numClippingPlanes).replace(/UNION_CLIPPING_PLANES/g,t.numClippingPlanes-t.numClipIntersection)}const xs=/^[ \t]*#include +<([\w\d./]+)>/gm;function bs(e){return e.replace(xs,ws)}function ws(e,t){const n=No[t];if(void 0===n)throw new Error("Can not resolve #include <"+t+">");return bs(n)}const Ms=/#pragma unroll_loop[\s]+?for \( int i \= (\d+)\; i < (\d+)\; i \+\+ \) \{([\s\S]+?)(?=\})\}/g,_s=/#pragma unroll_loop_start\s+for\s*\(\s*int\s+i\s*=\s*(\d+)\s*;\s*i\s*<\s*(\d+)\s*;\s*i\s*\+\+\s*\)\s*{([\s\S]+?)}\s+#pragma unroll_loop_end/g;function Ss(e){return e.replace(_s,Ts).replace(Ms,Ps)}function Ps(e,t,n,r){return console.warn("WebGLProgram: #pragma unroll_loop shader syntax is deprecated. Please use #pragma unroll_loop_start syntax instead."),Ts(0,t,n,r)}function Ts(e,t,n,r){let i="";for(let e=parseInt(t);e<parseInt(n);e++)i+=r.replace(/\[\s*i\s*\]/g,"[ "+e+" ]").replace(/UNROLLED_LOOP_INDEX/g,e);return i}function Rs(e){let t="precision "+e.precision+" float;\nprecision "+e.precision+" int;";return"highp"===e.precision?t+="\n#define HIGH_PRECISION":"mediump"===e.precision?t+="\n#define MEDIUM_PRECISION":"lowp"===e.precision&&(t+="\n#define LOW_PRECISION"),t}function Es(e,t,n,r){const i=e.getContext(),o=n.defines;let a=n.vertexShader,s=n.fragmentShader;const c=function(e){let t="SHADOWMAP_TYPE_BASIC";return e.shadowMapType===f?t="SHADOWMAP_TYPE_PCF":e.shadowMapType===h?t="SHADOWMAP_TYPE_PCF_SOFT":e.shadowMapType===v&&(t="SHADOWMAP_TYPE_VSM"),t}(n),u=function(e){let t="ENVMAP_TYPE_CUBE";if(e.envMap)switch(e.envMapMode){case oe:case ae:t="ENVMAP_TYPE_CUBE";break;case ue:case le:t="ENVMAP_TYPE_CUBE_UV"}return t}(n),l=function(e){let t="ENVMAP_MODE_REFLECTION";if(e.envMap)switch(e.envMapMode){case ae:case le:t="ENVMAP_MODE_REFRACTION"}return t}(n),d=function(e){let t="ENVMAP_BLENDING_NONE";if(e.envMap)switch(e.combine){case X:t="ENVMAP_BLENDING_MULTIPLY";break;case K:t="ENVMAP_BLENDING_MIX";break;case Q:t="ENVMAP_BLENDING_ADD"}return t}(n),p=e.gammaFactor>0?e.gammaFactor:1,m=n.isWebGL2?"":function(e){return[e.extensionDerivatives||e.envMapCubeUV||e.bumpMap||e.tangentSpaceNormalMap||e.clearcoatNormalMap||e.flatShading||"physical"===e.shaderID?"#extension GL_OES_standard_derivatives : enable":"",(e.extensionFragDepth||e.logarithmicDepthBuffer)&&e.rendererExtensionFragDepth?"#extension GL_EXT_frag_depth : enable":"",e.extensionDrawBuffers&&e.rendererExtensionDrawBuffers?"#extension GL_EXT_draw_buffers : require":"",(e.extensionShaderTextureLOD||e.envMap)&&e.rendererExtensionShaderTextureLod?"#extension GL_EXT_shader_texture_lod : enable":""].filter(ms).join("\n")}(n),y=function(e){const t=[];for(const n in e){const r=e[n];!1!==r&&t.push("#define "+n+" "+r)}return t.join("\n")}(o),g=i.createProgram();let x,b,w=n.glslVersion?"#version "+n.glslVersion+"\n":"";n.isRawShaderMaterial?(x=[y].filter(ms).join("\n"),x.length>0&&(x+="\n"),b=[m,y].filter(ms).join("\n"),b.length>0&&(b+="\n")):(x=[Rs(n),"#define SHADER_NAME "+n.shaderName,y,n.instancing?"#define USE_INSTANCING":"",n.instancingColor?"#define USE_INSTANCING_COLOR":"",n.supportsVertexTextures?"#define VERTEX_TEXTURES":"","#define GAMMA_FACTOR "+p,"#define MAX_BONES "+n.maxBones,n.useFog&&n.fog?"#define USE_FOG":"",n.useFog&&n.fogExp2?"#define FOG_EXP2":"",n.map?"#define USE_MAP":"",n.envMap?"#define USE_ENVMAP":"",n.envMap?"#define "+l:"",n.lightMap?"#define USE_LIGHTMAP":"",n.aoMap?"#define USE_AOMAP":"",n.emissiveMap?"#define USE_EMISSIVEMAP":"",n.bumpMap?"#define USE_BUMPMAP":"",n.normalMap?"#define USE_NORMALMAP":"",n.normalMap&&n.objectSpaceNormalMap?"#define OBJECTSPACE_NORMALMAP":"",n.normalMap&&n.tangentSpaceNormalMap?"#define TANGENTSPACE_NORMALMAP":"",n.clearcoatMap?"#define USE_CLEARCOATMAP":"",n.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",n.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",n.displacementMap&&n.supportsVertexTextures?"#define USE_DISPLACEMENTMAP":"",n.specularMap?"#define USE_SPECULARMAP":"",n.roughnessMap?"#define USE_ROUGHNESSMAP":"",n.metalnessMap?"#define USE_METALNESSMAP":"",n.alphaMap?"#define USE_ALPHAMAP":"",n.transmissionMap?"#define USE_TRANSMISSIONMAP":"",n.vertexTangents?"#define USE_TANGENT":"",n.vertexColors?"#define USE_COLOR":"",n.vertexAlphas?"#define USE_COLOR_ALPHA":"",n.vertexUvs?"#define USE_UV":"",n.uvsVertexOnly?"#define UVS_VERTEX_ONLY":"",n.flatShading?"#define FLAT_SHADED":"",n.skinning?"#define USE_SKINNING":"",n.useVertexTexture?"#define BONE_TEXTURE":"",n.morphTargets?"#define USE_MORPHTARGETS":"",n.morphNormals&&!1===n.flatShading?"#define USE_MORPHNORMALS":"",n.doubleSided?"#define DOUBLE_SIDED":"",n.flipSided?"#define FLIP_SIDED":"",n.shadowMapEnabled?"#define USE_SHADOWMAP":"",n.shadowMapEnabled?"#define "+c:"",n.sizeAttenuation?"#define USE_SIZEATTENUATION":"",n.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",n.logarithmicDepthBuffer&&n.rendererExtensionFragDepth?"#define USE_LOGDEPTHBUF_EXT":"","uniform mat4 modelMatrix;","uniform mat4 modelViewMatrix;","uniform mat4 projectionMatrix;","uniform mat4 viewMatrix;","uniform mat3 normalMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;","#ifdef USE_INSTANCING","\tattribute mat4 instanceMatrix;","#endif","#ifdef USE_INSTANCING_COLOR","\tattribute vec3 instanceColor;","#endif","attribute vec3 position;","attribute vec3 normal;","attribute vec2 uv;","#ifdef USE_TANGENT","\tattribute vec4 tangent;","#endif","#if defined( USE_COLOR_ALPHA )","\tattribute vec4 color;","#elif defined( USE_COLOR )","\tattribute vec3 color;","#endif","#ifdef USE_MORPHTARGETS","\tattribute vec3 morphTarget0;","\tattribute vec3 morphTarget1;","\tattribute vec3 morphTarget2;","\tattribute vec3 morphTarget3;","\t#ifdef USE_MORPHNORMALS","\t\tattribute vec3 morphNormal0;","\t\tattribute vec3 morphNormal1;","\t\tattribute vec3 morphNormal2;","\t\tattribute vec3 morphNormal3;","\t#else","\t\tattribute vec3 morphTarget4;","\t\tattribute vec3 morphTarget5;","\t\tattribute vec3 morphTarget6;","\t\tattribute vec3 morphTarget7;","\t#endif","#endif","#ifdef USE_SKINNING","\tattribute vec4 skinIndex;","\tattribute vec4 skinWeight;","#endif","\n"].filter(ms).join("\n"),b=[m,Rs(n),"#define SHADER_NAME "+n.shaderName,y,n.alphaTest?"#define ALPHATEST "+n.alphaTest+(n.alphaTest%1?"":".0"):"","#define GAMMA_FACTOR "+p,n.useFog&&n.fog?"#define USE_FOG":"",n.useFog&&n.fogExp2?"#define FOG_EXP2":"",n.map?"#define USE_MAP":"",n.matcap?"#define USE_MATCAP":"",n.envMap?"#define USE_ENVMAP":"",n.envMap?"#define "+u:"",n.envMap?"#define "+l:"",n.envMap?"#define "+d:"",n.lightMap?"#define USE_LIGHTMAP":"",n.aoMap?"#define USE_AOMAP":"",n.emissiveMap?"#define USE_EMISSIVEMAP":"",n.bumpMap?"#define USE_BUMPMAP":"",n.normalMap?"#define USE_NORMALMAP":"",n.normalMap&&n.objectSpaceNormalMap?"#define OBJECTSPACE_NORMALMAP":"",n.normalMap&&n.tangentSpaceNormalMap?"#define TANGENTSPACE_NORMALMAP":"",n.clearcoatMap?"#define USE_CLEARCOATMAP":"",n.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",n.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",n.specularMap?"#define USE_SPECULARMAP":"",n.roughnessMap?"#define USE_ROUGHNESSMAP":"",n.metalnessMap?"#define USE_METALNESSMAP":"",n.alphaMap?"#define USE_ALPHAMAP":"",n.sheen?"#define USE_SHEEN":"",n.transmissionMap?"#define USE_TRANSMISSIONMAP":"",n.vertexTangents?"#define USE_TANGENT":"",n.vertexColors||n.instancingColor?"#define USE_COLOR":"",n.vertexAlphas?"#define USE_COLOR_ALPHA":"",n.vertexUvs?"#define USE_UV":"",n.uvsVertexOnly?"#define UVS_VERTEX_ONLY":"",n.gradientMap?"#define USE_GRADIENTMAP":"",n.flatShading?"#define FLAT_SHADED":"",n.doubleSided?"#define DOUBLE_SIDED":"",n.flipSided?"#define FLIP_SIDED":"",n.shadowMapEnabled?"#define USE_SHADOWMAP":"",n.shadowMapEnabled?"#define "+c:"",n.premultipliedAlpha?"#define PREMULTIPLIED_ALPHA":"",n.physicallyCorrectLights?"#define PHYSICALLY_CORRECT_LIGHTS":"",n.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",n.logarithmicDepthBuffer&&n.rendererExtensionFragDepth?"#define USE_LOGDEPTHBUF_EXT":"",(n.extensionShaderTextureLOD||n.envMap)&&n.rendererExtensionShaderTextureLod?"#define TEXTURE_LOD_EXT":"","uniform mat4 viewMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;",n.toneMapping!==J?"#define TONE_MAPPING":"",n.toneMapping!==J?No.tonemapping_pars_fragment:"",n.toneMapping!==J?ps("toneMapping",n.toneMapping):"",n.dithering?"#define DITHERING":"",No.encodings_pars_fragment,n.map?vs("mapTexelToLinear",n.mapEncoding):"",n.matcap?vs("matcapTexelToLinear",n.matcapEncoding):"",n.envMap?vs("envMapTexelToLinear",n.envMapEncoding):"",n.emissiveMap?vs("emissiveMapTexelToLinear",n.emissiveMapEncoding):"",n.lightMap?vs("lightMapTexelToLinear",n.lightMapEncoding):"",ds("linearToOutputTexel",n.outputEncoding),n.depthPacking?"#define DEPTH_PACKING "+n.depthPacking:"","\n"].filter(ms).join("\n")),a=bs(a),a=ys(a,n),a=gs(a,n),s=bs(s),s=ys(s,n),s=gs(s,n),a=Ss(a),s=Ss(s),n.isWebGL2&&!0!==n.isRawShaderMaterial&&(w="#version 300 es\n",x=["#define attribute in","#define varying out","#define texture2D texture"].join("\n")+"\n"+x,b=["#define varying in",n.glslVersion===In?"":"out highp vec4 pc_fragColor;",n.glslVersion===In?"":"#define gl_FragColor pc_fragColor","#define gl_FragDepthEXT gl_FragDepth","#define texture2D texture","#define textureCube texture","#define texture2DProj textureProj","#define texture2DLodEXT textureLod","#define texture2DProjLodEXT textureProjLod","#define textureCubeLodEXT textureLod","#define texture2DGradEXT textureGrad","#define texture2DProjGradEXT textureProjGrad","#define textureCubeGradEXT textureGrad"].join("\n")+"\n"+b);const M=w+b+s,_=us(i,35633,w+x+a),S=us(i,35632,M);if(i.attachShader(g,_),i.attachShader(g,S),void 0!==n.index0AttributeName?i.bindAttribLocation(g,0,n.index0AttributeName):!0===n.morphTargets&&i.bindAttribLocation(g,0,"position"),i.linkProgram(g),e.debug.checkShaderErrors){const e=i.getProgramInfoLog(g).trim(),t=i.getShaderInfoLog(_).trim(),n=i.getShaderInfoLog(S).trim();let r=!0,o=!0;if(!1===i.getProgramParameter(g,35714)){r=!1;const t=hs(i,_,"vertex"),n=hs(i,S,"fragment");console.error("THREE.WebGLProgram: shader error: ",i.getError(),"35715",i.getProgramParameter(g,35715),"gl.getProgramInfoLog",e,t,n)}else""!==e?console.warn("THREE.WebGLProgram: gl.getProgramInfoLog()",e):""!==t&&""!==n||(o=!1);o&&(this.diagnostics={runnable:r,programLog:e,vertexShader:{log:t,prefix:x},fragmentShader:{log:n,prefix:b}})}let P,T;return i.deleteShader(_),i.deleteShader(S),this.getUniforms=function(){return void 0===P&&(P=new cs(i,g)),P},this.getAttributes=function(){return void 0===T&&(T=function(e,t){const n={},r=e.getProgramParameter(t,35721);for(let i=0;i<r;i++){const r=e.getActiveAttrib(t,i).name;n[r]=e.getAttribLocation(t,r)}return n}(i,g)),T},this.destroy=function(){r.releaseStatesOfProgram(this),i.deleteProgram(g),this.program=void 0},this.name=n.shaderName,this.id=ls++,this.cacheKey=t,this.usedTimes=1,this.program=g,this.vertexShader=_,this.fragmentShader=S,this}function zs(e,t,n,r,i,o){const a=[],s=r.isWebGL2,c=r.logarithmicDepthBuffer,u=r.floatVertexTextures,l=r.maxVertexUniforms,f=r.vertexTextures;let h=r.precision;const v={MeshDepthMaterial:"depth",MeshDistanceMaterial:"distanceRGBA",MeshNormalMaterial:"normal",MeshBasicMaterial:"basic",MeshLambertMaterial:"lambert",MeshPhongMaterial:"phong",MeshToonMaterial:"toon",MeshStandardMaterial:"physical",MeshPhysicalMaterial:"physical",MeshMatcapMaterial:"matcap",LineBasicMaterial:"basic",LineDashedMaterial:"dashed",PointsMaterial:"points",ShadowMaterial:"shadow",SpriteMaterial:"sprite"},d=["precision","isWebGL2","supportsVertexTextures","outputEncoding","instancing","instancingColor","map","mapEncoding","matcap","matcapEncoding","envMap","envMapMode","envMapEncoding","envMapCubeUV","lightMap","lightMapEncoding","aoMap","emissiveMap","emissiveMapEncoding","bumpMap","normalMap","objectSpaceNormalMap","tangentSpaceNormalMap","clearcoatMap","clearcoatRoughnessMap","clearcoatNormalMap","displacementMap","specularMap","roughnessMap","metalnessMap","gradientMap","alphaMap","combine","vertexColors","vertexAlphas","vertexTangents","vertexUvs","uvsVertexOnly","fog","useFog","fogExp2","flatShading","sizeAttenuation","logarithmicDepthBuffer","skinning","maxBones","useVertexTexture","morphTargets","morphNormals","premultipliedAlpha","numDirLights","numPointLights","numSpotLights","numHemiLights","numRectAreaLights","numDirLightShadows","numPointLightShadows","numSpotLightShadows","shadowMapEnabled","shadowMapType","toneMapping","physicallyCorrectLights","alphaTest","doubleSided","flipSided","numClippingPlanes","numClipIntersection","depthPacking","dithering","sheen","transmissionMap"];function y(e){let t;return e&&e.isTexture?t=e.encoding:e&&e.isWebGLRenderTarget?(console.warn("THREE.WebGLPrograms.getTextureEncodingFromMap: don't use render targets as textures. Use their .texture property instead."),t=e.texture.encoding):t=Kt,t}return{getParameters:function(i,a,d,g,x){const b=g.fog,w=i.isMeshStandardMaterial?g.environment:null,M=t.get(i.envMap||w),_=v[i.type],S=x.isSkinnedMesh?function(e){const t=e.skeleton.bones;if(u)return 1024;{const e=l,n=Math.floor((e-20)/4),r=Math.min(n,t.length);return r<t.length?(console.warn("THREE.WebGLRenderer: Skeleton has "+t.length+" bones. This GPU supports "+r+"."),0):r}}(x):0;let P,T;if(null!==i.precision&&(h=r.getMaxPrecision(i.precision),h!==i.precision&&console.warn("THREE.WebGLProgram.getParameters:",i.precision,"not supported, using",h,"instead.")),_){const e=Vo[_];P=e.vertexShader,T=e.fragmentShader}else P=i.vertexShader,T=i.fragmentShader;const R=e.getRenderTarget();return{isWebGL2:s,shaderID:_,shaderName:i.type,vertexShader:P,fragmentShader:T,defines:i.defines,isRawShaderMaterial:!0===i.isRawShaderMaterial,glslVersion:i.glslVersion,precision:h,instancing:!0===x.isInstancedMesh,instancingColor:!0===x.isInstancedMesh&&null!==x.instanceColor,supportsVertexTextures:f,outputEncoding:null!==R?y(R.texture):e.outputEncoding,map:!!i.map,mapEncoding:y(i.map),matcap:!!i.matcap,matcapEncoding:y(i.matcap),envMap:!!M,envMapMode:M&&M.mapping,envMapEncoding:y(M),envMapCubeUV:!!M&&(M.mapping===ue||M.mapping===le),lightMap:!!i.lightMap,lightMapEncoding:y(i.lightMap),aoMap:!!i.aoMap,emissiveMap:!!i.emissiveMap,emissiveMapEncoding:y(i.emissiveMap),bumpMap:!!i.bumpMap,normalMap:!!i.normalMap,objectSpaceNormalMap:i.normalMapType===cn,tangentSpaceNormalMap:i.normalMapType===sn,clearcoatMap:!!i.clearcoatMap,clearcoatRoughnessMap:!!i.clearcoatRoughnessMap,clearcoatNormalMap:!!i.clearcoatNormalMap,displacementMap:!!i.displacementMap,roughnessMap:!!i.roughnessMap,metalnessMap:!!i.metalnessMap,specularMap:!!i.specularMap,alphaMap:!!i.alphaMap,gradientMap:!!i.gradientMap,sheen:!!i.sheen,transmissionMap:!!i.transmissionMap,combine:i.combine,vertexTangents:i.normalMap&&i.vertexTangents,vertexColors:i.vertexColors,vertexAlphas:!0===i.vertexColors&&x.geometry&&x.geometry.attributes.color&&4===x.geometry.attributes.color.itemSize,vertexUvs:!!(i.map||i.bumpMap||i.normalMap||i.specularMap||i.alphaMap||i.emissiveMap||i.roughnessMap||i.metalnessMap||i.clearcoatMap||i.clearcoatRoughnessMap||i.clearcoatNormalMap||i.displacementMap||i.transmissionMap),uvsVertexOnly:!(i.map||i.bumpMap||i.normalMap||i.specularMap||i.alphaMap||i.emissiveMap||i.roughnessMap||i.metalnessMap||i.clearcoatNormalMap||i.transmissionMap||!i.displacementMap),fog:!!b,useFog:i.fog,fogExp2:b&&b.isFogExp2,flatShading:!!i.flatShading,sizeAttenuation:i.sizeAttenuation,logarithmicDepthBuffer:c,skinning:i.skinning&&S>0,maxBones:S,useVertexTexture:u,morphTargets:i.morphTargets,morphNormals:i.morphNormals,numDirLights:a.directional.length,numPointLights:a.point.length,numSpotLights:a.spot.length,numRectAreaLights:a.rectArea.length,numHemiLights:a.hemi.length,numDirLightShadows:a.directionalShadowMap.length,numPointLightShadows:a.pointShadowMap.length,numSpotLightShadows:a.spotShadowMap.length,numClippingPlanes:o.numPlanes,numClipIntersection:o.numIntersection,dithering:i.dithering,shadowMapEnabled:e.shadowMap.enabled&&d.length>0,shadowMapType:e.shadowMap.type,toneMapping:i.toneMapped?e.toneMapping:J,physicallyCorrectLights:e.physicallyCorrectLights,premultipliedAlpha:i.premultipliedAlpha,alphaTest:i.alphaTest,doubleSided:i.side===m,flipSided:i.side===p,depthPacking:void 0!==i.depthPacking&&i.depthPacking,index0AttributeName:i.index0AttributeName,extensionDerivatives:i.extensions&&i.extensions.derivatives,extensionFragDepth:i.extensions&&i.extensions.fragDepth,extensionDrawBuffers:i.extensions&&i.extensions.drawBuffers,extensionShaderTextureLOD:i.extensions&&i.extensions.shaderTextureLOD,rendererExtensionFragDepth:s||n.has("EXT_frag_depth"),rendererExtensionDrawBuffers:s||n.has("WEBGL_draw_buffers"),rendererExtensionShaderTextureLod:s||n.has("EXT_shader_texture_lod"),customProgramCacheKey:i.customProgramCacheKey()}},getProgramCacheKey:function(t){const n=[];if(t.shaderID?n.push(t.shaderID):(n.push(t.fragmentShader),n.push(t.vertexShader)),void 0!==t.defines)for(const e in t.defines)n.push(e),n.push(t.defines[e]);if(!1===t.isRawShaderMaterial){for(let e=0;e<d.length;e++)n.push(t[d[e]]);n.push(e.outputEncoding),n.push(e.gammaFactor)}return n.push(t.customProgramCacheKey),n.join()},getUniforms:function(e){const t=v[e.type];let n;if(t){const e=Vo[t];n=Ro.clone(e.uniforms)}else n=e.uniforms;return n},acquireProgram:function(t,n){let r;for(let e=0,t=a.length;e<t;e++){const t=a[e];if(t.cacheKey===n){r=t,++r.usedTimes;break}}return void 0===r&&(r=new Es(e,n,t,i),a.push(r)),r},releaseProgram:function(e){if(0==--e.usedTimes){const t=a.indexOf(e);a[t]=a[a.length-1],a.pop(),e.destroy()}},programs:a}}function Ls(){let e=new WeakMap;return{get:function(t){let n=e.get(t);return void 0===n&&(n={},e.set(t,n)),n},remove:function(t){e.delete(t)},update:function(t,n,r){e.get(t)[n]=r},dispose:function(){e=new WeakMap}}}function Cs(e,t){return e.groupOrder!==t.groupOrder?e.groupOrder-t.groupOrder:e.renderOrder!==t.renderOrder?e.renderOrder-t.renderOrder:e.program!==t.program?e.program.id-t.program.id:e.material.id!==t.material.id?e.material.id-t.material.id:e.z!==t.z?e.z-t.z:e.id-t.id}function As(e,t){return e.groupOrder!==t.groupOrder?e.groupOrder-t.groupOrder:e.renderOrder!==t.renderOrder?e.renderOrder-t.renderOrder:e.z!==t.z?t.z-e.z:e.id-t.id}function Os(e){const t=[];let n=0;const r=[],i=[],o={id:-1};function a(r,i,a,s,c,u){let l=t[n];const f=e.get(a);return void 0===l?(l={id:r.id,object:r,geometry:i,material:a,program:f.program||o,groupOrder:s,renderOrder:r.renderOrder,z:c,group:u},t[n]=l):(l.id=r.id,l.object=r,l.geometry=i,l.material=a,l.program=f.program||o,l.groupOrder=s,l.renderOrder=r.renderOrder,l.z=c,l.group=u),n++,l}return{opaque:r,transparent:i,init:function(){n=0,r.length=0,i.length=0},push:function(e,t,n,o,s,c){const u=a(e,t,n,o,s,c);(!0===n.transparent?i:r).push(u)},unshift:function(e,t,n,o,s,c){const u=a(e,t,n,o,s,c);(!0===n.transparent?i:r).unshift(u)},finish:function(){for(let e=n,r=t.length;e<r;e++){const n=t[e];if(null===n.id)break;n.id=null,n.object=null,n.geometry=null,n.material=null,n.program=null,n.group=null}},sort:function(e,t){r.length>1&&r.sort(e||Cs),i.length>1&&i.sort(t||As)}}}function Ds(e){let t=new WeakMap;return{get:function(n,r){let i;return!1===t.has(n)?(i=new Os(e),t.set(n,[i])):r>=t.get(n).length?(i=new Os(e),t.get(n).push(i)):i=t.get(n)[r],i},dispose:function(){t=new WeakMap}}}function Is(){const e={};return{get:function(t){if(void 0!==e[t.id])return e[t.id];let n;switch(t.type){case"DirectionalLight":n={direction:new ar,color:new Ai};break;case"SpotLight":n={position:new ar,direction:new ar,color:new Ai,distance:0,coneCos:0,penumbraCos:0,decay:0};break;case"PointLight":n={position:new ar,color:new Ai,distance:0,decay:0};break;case"HemisphereLight":n={direction:new ar,skyColor:new Ai,groundColor:new Ai};break;case"RectAreaLight":n={color:new Ai,position:new ar,halfWidth:new ar,halfHeight:new ar}}return e[t.id]=n,n}}}let ks=0;function Fs(e,t){return(t.castShadow?1:0)-(e.castShadow?1:0)}function js(e,t){const n=new Is,r=function(){const e={};return{get:function(t){if(void 0!==e[t.id])return e[t.id];let n;switch(t.type){case"DirectionalLight":case"SpotLight":n={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new Xn};break;case"PointLight":n={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new Xn,shadowCameraNear:1,shadowCameraFar:1e3}}return e[t.id]=n,n}}}(),i={version:0,hash:{directionalLength:-1,pointLength:-1,spotLength:-1,rectAreaLength:-1,hemiLength:-1,numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1},ambient:[0,0,0],probe:[],directional:[],directionalShadow:[],directionalShadowMap:[],directionalShadowMatrix:[],spot:[],spotShadow:[],spotShadowMap:[],spotShadowMatrix:[],rectArea:[],rectAreaLTC1:null,rectAreaLTC2:null,point:[],pointShadow:[],pointShadowMap:[],pointShadowMatrix:[],hemi:[]};for(let e=0;e<9;e++)i.probe.push(new ar);const o=new ar,a=new Fr,s=new Fr;return{setup:function(o){let a=0,s=0,c=0;for(let e=0;e<9;e++)i.probe[e].set(0,0,0);let u=0,l=0,f=0,h=0,v=0,d=0,p=0,m=0;o.sort(Fs);for(let e=0,t=o.length;e<t;e++){const t=o[e],y=t.color,g=t.intensity,x=t.distance,b=t.shadow&&t.shadow.map?t.shadow.map.texture:null;if(t.isAmbientLight)a+=y.r*g,s+=y.g*g,c+=y.b*g;else if(t.isLightProbe)for(let e=0;e<9;e++)i.probe[e].addScaledVector(t.sh.coefficients[e],g);else if(t.isDirectionalLight){const e=n.get(t);if(e.color.copy(t.color).multiplyScalar(t.intensity),t.castShadow){const e=t.shadow,n=r.get(t);n.shadowBias=e.bias,n.shadowNormalBias=e.normalBias,n.shadowRadius=e.radius,n.shadowMapSize=e.mapSize,i.directionalShadow[u]=n,i.directionalShadowMap[u]=b,i.directionalShadowMatrix[u]=t.shadow.matrix,d++}i.directional[u]=e,u++}else if(t.isSpotLight){const e=n.get(t);if(e.position.setFromMatrixPosition(t.matrixWorld),e.color.copy(y).multiplyScalar(g),e.distance=x,e.coneCos=Math.cos(t.angle),e.penumbraCos=Math.cos(t.angle*(1-t.penumbra)),e.decay=t.decay,t.castShadow){const e=t.shadow,n=r.get(t);n.shadowBias=e.bias,n.shadowNormalBias=e.normalBias,n.shadowRadius=e.radius,n.shadowMapSize=e.mapSize,i.spotShadow[f]=n,i.spotShadowMap[f]=b,i.spotShadowMatrix[f]=t.shadow.matrix,m++}i.spot[f]=e,f++}else if(t.isRectAreaLight){const e=n.get(t);e.color.copy(y).multiplyScalar(g),e.halfWidth.set(.5*t.width,0,0),e.halfHeight.set(0,.5*t.height,0),i.rectArea[h]=e,h++}else if(t.isPointLight){const e=n.get(t);if(e.color.copy(t.color).multiplyScalar(t.intensity),e.distance=t.distance,e.decay=t.decay,t.castShadow){const e=t.shadow,n=r.get(t);n.shadowBias=e.bias,n.shadowNormalBias=e.normalBias,n.shadowRadius=e.radius,n.shadowMapSize=e.mapSize,n.shadowCameraNear=e.camera.near,n.shadowCameraFar=e.camera.far,i.pointShadow[l]=n,i.pointShadowMap[l]=b,i.pointShadowMatrix[l]=t.shadow.matrix,p++}i.point[l]=e,l++}else if(t.isHemisphereLight){const e=n.get(t);e.skyColor.copy(t.color).multiplyScalar(g),e.groundColor.copy(t.groundColor).multiplyScalar(g),i.hemi[v]=e,v++}}h>0&&(t.isWebGL2||!0===e.has("OES_texture_float_linear")?(i.rectAreaLTC1=Ho.LTC_FLOAT_1,i.rectAreaLTC2=Ho.LTC_FLOAT_2):!0===e.has("OES_texture_half_float_linear")?(i.rectAreaLTC1=Ho.LTC_HALF_1,i.rectAreaLTC2=Ho.LTC_HALF_2):console.error("THREE.WebGLRenderer: Unable to use RectAreaLight. Missing WebGL extensions.")),i.ambient[0]=a,i.ambient[1]=s,i.ambient[2]=c;const y=i.hash;y.directionalLength===u&&y.pointLength===l&&y.spotLength===f&&y.rectAreaLength===h&&y.hemiLength===v&&y.numDirectionalShadows===d&&y.numPointShadows===p&&y.numSpotShadows===m||(i.directional.length=u,i.spot.length=f,i.rectArea.length=h,i.point.length=l,i.hemi.length=v,i.directionalShadow.length=d,i.directionalShadowMap.length=d,i.pointShadow.length=p,i.pointShadowMap.length=p,i.spotShadow.length=m,i.spotShadowMap.length=m,i.directionalShadowMatrix.length=d,i.pointShadowMatrix.length=p,i.spotShadowMatrix.length=m,y.directionalLength=u,y.pointLength=l,y.spotLength=f,y.rectAreaLength=h,y.hemiLength=v,y.numDirectionalShadows=d,y.numPointShadows=p,y.numSpotShadows=m,i.version=ks++)},setupView:function(e,t){let n=0,r=0,c=0,u=0,l=0;const f=t.matrixWorldInverse;for(let t=0,h=e.length;t<h;t++){const h=e[t];if(h.isDirectionalLight){const e=i.directional[n];e.direction.setFromMatrixPosition(h.matrixWorld),o.setFromMatrixPosition(h.target.matrixWorld),e.direction.sub(o),e.direction.transformDirection(f),n++}else if(h.isSpotLight){const e=i.spot[c];e.position.setFromMatrixPosition(h.matrixWorld),e.position.applyMatrix4(f),e.direction.setFromMatrixPosition(h.matrixWorld),o.setFromMatrixPosition(h.target.matrixWorld),e.direction.sub(o),e.direction.transformDirection(f),c++}else if(h.isRectAreaLight){const e=i.rectArea[u];e.position.setFromMatrixPosition(h.matrixWorld),e.position.applyMatrix4(f),s.identity(),a.copy(h.matrixWorld),a.premultiply(f),s.extractRotation(a),e.halfWidth.set(.5*h.width,0,0),e.halfHeight.set(0,.5*h.height,0),e.halfWidth.applyMatrix4(s),e.halfHeight.applyMatrix4(s),u++}else if(h.isPointLight){const e=i.point[r];e.position.setFromMatrixPosition(h.matrixWorld),e.position.applyMatrix4(f),r++}else if(h.isHemisphereLight){const e=i.hemi[l];e.direction.setFromMatrixPosition(h.matrixWorld),e.direction.transformDirection(f),e.direction.normalize(),l++}}},state:i}}function Us(e,t){const n=new js(e,t),r=[],i=[];return{init:function(){r.length=0,i.length=0},state:{lightsArray:r,shadowsArray:i,lights:n},setupLights:function(){n.setup(r)},setupLightsView:function(e){n.setupView(r,e)},pushLight:function(e){r.push(e)},pushShadow:function(e){i.push(e)}}}function Bs(e,t){let n=new WeakMap;return{get:function(r,i=0){let o;return!1===n.has(r)?(o=new Us(e,t),n.set(r,[o])):i>=n.get(r).length?(o=new Us(e,t),n.get(r).push(o)):o=n.get(r)[i],o},dispose:function(){n=new WeakMap}}}class Gs extends Pi{constructor(e){super(),this.type="MeshDepthMaterial",this.depthPacking=on,this.skinning=!1,this.morphTargets=!1,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.fog=!1,this.setValues(e)}copy(e){return super.copy(e),this.depthPacking=e.depthPacking,this.skinning=e.skinning,this.morphTargets=e.morphTargets,this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this}}Gs.prototype.isMeshDepthMaterial=!0;class Ns extends Pi{constructor(e){super(),this.type="MeshDistanceMaterial",this.referencePosition=new ar,this.nearDistance=1,this.farDistance=1e3,this.skinning=!1,this.morphTargets=!1,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.fog=!1,this.setValues(e)}copy(e){return super.copy(e),this.referencePosition.copy(e.referencePosition),this.nearDistance=e.nearDistance,this.farDistance=e.farDistance,this.skinning=e.skinning,this.morphTargets=e.morphTargets,this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this}}function Hs(e,t,n){let r=new jo;const i=new Xn,o=new Xn,a=new nr,s=[],c=[],u={},l=n.maxTextureSize,h={0:p,1:d,2:m},y=new Eo({defines:{SAMPLE_RATE:2/8,HALF_SAMPLE_RATE:1/8},uniforms:{shadow_pass:{value:null},resolution:{value:new Xn},radius:{value:4}},vertexShader:"void main() {\n\tgl_Position = vec4( position, 1.0 );\n}",fragmentShader:"uniform sampler2D shadow_pass;\nuniform vec2 resolution;\nuniform float radius;\n#include <packing>\nvoid main() {\n\tfloat mean = 0.0;\n\tfloat squared_mean = 0.0;\n\tfloat depth = unpackRGBAToDepth( texture2D( shadow_pass, ( gl_FragCoord.xy ) / resolution ) );\n\tfor ( float i = -1.0; i < 1.0 ; i += SAMPLE_RATE) {\n\t\t#ifdef HORIZONTAL_PASS\n\t\t\tvec2 distribution = unpackRGBATo2Half( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( i, 0.0 ) * radius ) / resolution ) );\n\t\t\tmean += distribution.x;\n\t\t\tsquared_mean += distribution.y * distribution.y + distribution.x * distribution.x;\n\t\t#else\n\t\t\tfloat depth = unpackRGBAToDepth( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( 0.0, i ) * radius ) / resolution ) );\n\t\t\tmean += depth;\n\t\t\tsquared_mean += depth * depth;\n\t\t#endif\n\t}\n\tmean = mean * HALF_SAMPLE_RATE;\n\tsquared_mean = squared_mean * HALF_SAMPLE_RATE;\n\tfloat std_dev = sqrt( squared_mean - mean * mean );\n\tgl_FragColor = pack2HalfToRGBA( vec2( mean, std_dev ) );\n}"}),g=y.clone();g.defines.HORIZONTAL_PASS=1;const b=new ro;b.setAttribute("position",new ki(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));const w=new Mo(b,y),M=this;function _(n,r){const i=t.update(w);y.uniforms.shadow_pass.value=n.map.texture,y.uniforms.resolution.value=n.mapSize,y.uniforms.radius.value=n.radius,e.setRenderTarget(n.mapPass),e.clear(),e.renderBufferDirect(r,null,i,y,w,null),g.uniforms.shadow_pass.value=n.mapPass.texture,g.uniforms.resolution.value=n.mapSize,g.uniforms.radius.value=n.radius,e.setRenderTarget(n.map),e.clear(),e.renderBufferDirect(r,null,i,g,w,null)}function S(e,t,n){const r=e<<0|t<<1|n<<2;let i=s[r];return void 0===i&&(i=new Gs({depthPacking:an,morphTargets:e,skinning:t}),s[r]=i),i}function P(e,t,n){const r=e<<0|t<<1|n<<2;let i=c[r];return void 0===i&&(i=new Ns({morphTargets:e,skinning:t}),c[r]=i),i}function T(t,n,r,i,o,a,s){let c=null,l=S,f=t.customDepthMaterial;if(!0===i.isPointLight&&(l=P,f=t.customDistanceMaterial),void 0===f){let e=!1;!0===r.morphTargets&&(e=n.morphAttributes&&n.morphAttributes.position&&n.morphAttributes.position.length>0);let i=!1;!0===t.isSkinnedMesh&&(!0===r.skinning?i=!0:console.warn("THREE.WebGLShadowMap: THREE.SkinnedMesh with material.skinning set to false:",t)),c=l(e,i,!0===t.isInstancedMesh)}else c=f;if(e.localClippingEnabled&&!0===r.clipShadows&&0!==r.clippingPlanes.length){const e=c.uuid,t=r.uuid;let n=u[e];void 0===n&&(n={},u[e]=n);let i=n[t];void 0===i&&(i=c.clone(),n[t]=i),c=i}return c.visible=r.visible,c.wireframe=r.wireframe,c.side=s===v?null!==r.shadowSide?r.shadowSide:r.side:null!==r.shadowSide?r.shadowSide:h[r.side],c.clipShadows=r.clipShadows,c.clippingPlanes=r.clippingPlanes,c.clipIntersection=r.clipIntersection,c.wireframeLinewidth=r.wireframeLinewidth,c.linewidth=r.linewidth,!0===i.isPointLight&&!0===c.isMeshDistanceMaterial&&(c.referencePosition.setFromMatrixPosition(i.matrixWorld),c.nearDistance=o,c.farDistance=a),c}function R(n,i,o,a,s){if(!1===n.visible)return;if(n.layers.test(i.layers)&&(n.isMesh||n.isLine||n.isPoints)&&(n.castShadow||n.receiveShadow&&s===v)&&(!n.frustumCulled||r.intersectsObject(n))){n.modelViewMatrix.multiplyMatrices(o.matrixWorldInverse,n.matrixWorld);const r=t.update(n),i=n.material;if(Array.isArray(i)){const t=r.groups;for(let c=0,u=t.length;c<u;c++){const u=t[c],l=i[u.materialIndex];if(l&&l.visible){const t=T(n,r,l,a,o.near,o.far,s);e.renderBufferDirect(o,null,r,t,n,u)}}}else if(i.visible){const t=T(n,r,i,a,o.near,o.far,s);e.renderBufferDirect(o,null,r,t,n,null)}}const c=n.children;for(let e=0,t=c.length;e<t;e++)R(c[e],i,o,a,s)}this.enabled=!1,this.autoUpdate=!0,this.needsUpdate=!1,this.type=f,this.render=function(t,n,s){if(!1===M.enabled)return;if(!1===M.autoUpdate&&!1===M.needsUpdate)return;if(0===t.length)return;const c=e.getRenderTarget(),u=e.getActiveCubeFace(),f=e.getActiveMipmapLevel(),h=e.state;h.setBlending(x),h.buffers.color.setClear(1,1,1,1),h.buffers.depth.setTest(!0),h.setScissorTest(!1);for(let c=0,u=t.length;c<u;c++){const u=t[c],f=u.shadow;if(void 0===f){console.warn("THREE.WebGLShadowMap:",u,"has no shadow.");continue}if(!1===f.autoUpdate&&!1===f.needsUpdate)continue;i.copy(f.mapSize);const d=f.getFrameExtents();if(i.multiply(d),o.copy(f.mapSize),(i.x>l||i.y>l)&&(i.x>l&&(o.x=Math.floor(l/d.x),i.x=o.x*d.x,f.mapSize.x=o.x),i.y>l&&(o.y=Math.floor(l/d.y),i.y=o.y*d.y,f.mapSize.y=o.y)),null===f.map&&!f.isPointLightShadow&&this.type===v){const e={minFilter:xe,magFilter:xe,format:je};f.map=new rr(i.x,i.y,e),f.map.texture.name=u.name+".shadowMap",f.mapPass=new rr(i.x,i.y,e),f.camera.updateProjectionMatrix()}if(null===f.map){const e={minFilter:de,magFilter:de,format:je};f.map=new rr(i.x,i.y,e),f.map.texture.name=u.name+".shadowMap",f.camera.updateProjectionMatrix()}e.setRenderTarget(f.map),e.clear();const p=f.getViewportCount();for(let e=0;e<p;e++){const t=f.getViewport(e);a.set(o.x*t.x,o.y*t.y,o.x*t.z,o.y*t.w),h.viewport(a),f.updateMatrices(u,e),r=f.getFrustum(),R(n,s,f.camera,u,this.type)}f.isPointLightShadow||this.type!==v||_(f,s),f.needsUpdate=!1}M.needsUpdate=!1,e.setRenderTarget(c,u,f)}}function Vs(e,t,n){const r=n.isWebGL2,i=new function(){let t=!1;const n=new nr;let r=null;const i=new nr(0,0,0,0);return{setMask:function(n){r===n||t||(e.colorMask(n,n,n,n),r=n)},setLocked:function(e){t=e},setClear:function(t,r,o,a,s){!0===s&&(t*=a,r*=a,o*=a),n.set(t,r,o,a),!1===i.equals(n)&&(e.clearColor(t,r,o,a),i.copy(n))},reset:function(){t=!1,r=null,i.set(-1,0,0,0)}}},o=new function(){let t=!1,n=null,r=null,i=null;return{setTest:function(e){e?me(2929):ye(2929)},setMask:function(r){n===r||t||(e.depthMask(r),n=r)},setFunc:function(t){if(r!==t){if(t)switch(t){case G:e.depthFunc(512);break;case N:e.depthFunc(519);break;case H:e.depthFunc(513);break;case V:e.depthFunc(515);break;case W:e.depthFunc(514);break;case Z:e.depthFunc(518);break;case q:e.depthFunc(516);break;case Y:e.depthFunc(517);break;default:e.depthFunc(515)}else e.depthFunc(515);r=t}},setLocked:function(e){t=e},setClear:function(t){i!==t&&(e.clearDepth(t),i=t)},reset:function(){t=!1,n=null,r=null,i=null}}},u=new function(){let t=!1,n=null,r=null,i=null,o=null,a=null,s=null,c=null,u=null;return{setTest:function(e){t||(e?me(2960):ye(2960))},setMask:function(r){n===r||t||(e.stencilMask(r),n=r)},setFunc:function(t,n,a){r===t&&i===n&&o===a||(e.stencilFunc(t,n,a),r=t,i=n,o=a)},setOp:function(t,n,r){a===t&&s===n&&c===r||(e.stencilOp(t,n,r),a=t,s=n,c=r)},setLocked:function(e){t=e},setClear:function(t){u!==t&&(e.clearStencil(t),u=t)},reset:function(){t=!1,n=null,r=null,i=null,o=null,a=null,s=null,c=null,u=null}}};let l={},f=null,h={},v=null,d=!1,y=null,g=null,X=null,K=null,Q=null,J=null,$=null,ee=!1,te=null,ne=null,re=null,ie=null,oe=null;const ae=e.getParameter(35661);let se=!1,ce=0;const ue=e.getParameter(7938);-1!==ue.indexOf("WebGL")?(ce=parseFloat(/^WebGL (\d)/.exec(ue)[1]),se=ce>=1):-1!==ue.indexOf("OpenGL ES")&&(ce=parseFloat(/^OpenGL ES (\d)/.exec(ue)[1]),se=ce>=2);let le=null,fe={};const he=new nr(0,0,e.canvas.width,e.canvas.height),ve=new nr(0,0,e.canvas.width,e.canvas.height);function de(t,n,r){const i=new Uint8Array(4),o=e.createTexture();e.bindTexture(t,o),e.texParameteri(t,10241,9728),e.texParameteri(t,10240,9728);for(let t=0;t<r;t++)e.texImage2D(n+t,0,6408,1,1,0,6408,5121,i);return o}const pe={};function me(t){!0!==l[t]&&(e.enable(t),l[t]=!0)}function ye(t){!1!==l[t]&&(e.disable(t),l[t]=!1)}pe[3553]=de(3553,3553,1),pe[34067]=de(34067,34069,6),i.setClear(0,0,0,1),o.setClear(1),u.setClear(0),me(2929),o.setFunc(V),we(!1),Me(s),me(2884),be(x);const ge={[P]:32774,[T]:32778,[R]:32779};if(r)ge[E]=32775,ge[z]=32776;else{const e=t.get("EXT_blend_minmax");null!==e&&(ge[E]=e.MIN_EXT,ge[z]=e.MAX_EXT)}const xe={[L]:0,[C]:1,[A]:768,[D]:770,[B]:776,[j]:774,[k]:772,[O]:769,[I]:771,[U]:775,[F]:773};function be(t,n,r,i,o,a,s,c){if(t!==x){if(!1===d&&(me(3042),d=!0),t===S)o=o||n,a=a||r,s=s||i,n===g&&o===Q||(e.blendEquationSeparate(ge[n],ge[o]),g=n,Q=o),r===X&&i===K&&a===J&&s===$||(e.blendFuncSeparate(xe[r],xe[i],xe[a],xe[s]),X=r,K=i,J=a,$=s),y=t,ee=null;else if(t!==y||c!==ee){if(g===P&&Q===P||(e.blendEquation(32774),g=P,Q=P),c)switch(t){case b:e.blendFuncSeparate(1,771,1,771);break;case w:e.blendFunc(1,1);break;case M:e.blendFuncSeparate(0,0,769,771);break;case _:e.blendFuncSeparate(0,768,0,770);break;default:console.error("THREE.WebGLState: Invalid blending: ",t)}else switch(t){case b:e.blendFuncSeparate(770,771,1,771);break;case w:e.blendFunc(770,1);break;case M:e.blendFunc(0,769);break;case _:e.blendFunc(0,768);break;default:console.error("THREE.WebGLState: Invalid blending: ",t)}X=null,K=null,J=null,$=null,y=t,ee=c}}else!0===d&&(ye(3042),d=!1)}function we(t){te!==t&&(t?e.frontFace(2304):e.frontFace(2305),te=t)}function Me(t){t!==a?(me(2884),t!==ne&&(t===s?e.cullFace(1029):t===c?e.cullFace(1028):e.cullFace(1032))):ye(2884),ne=t}function _e(t,n,r){t?(me(32823),ie===n&&oe===r||(e.polygonOffset(n,r),ie=n,oe=r)):ye(32823)}function Se(t){void 0===t&&(t=33984+ae-1),le!==t&&(e.activeTexture(t),le=t)}return{buffers:{color:i,depth:o,stencil:u},enable:me,disable:ye,bindFramebuffer:function(t,n){null===n&&null!==f&&(n=f),h[t]!==n&&(e.bindFramebuffer(t,n),h[t]=n,r&&(36009===t&&(h[36160]=n),36160===t&&(h[36009]=n)))},bindXRFramebuffer:function(t){t!==f&&(e.bindFramebuffer(36160,t),f=t)},useProgram:function(t){return v!==t&&(e.useProgram(t),v=t,!0)},setBlending:be,setMaterial:function(e,t){e.side===m?ye(2884):me(2884);let n=e.side===p;t&&(n=!n),we(n),e.blending===b&&!1===e.transparent?be(x):be(e.blending,e.blendEquation,e.blendSrc,e.blendDst,e.blendEquationAlpha,e.blendSrcAlpha,e.blendDstAlpha,e.premultipliedAlpha),o.setFunc(e.depthFunc),o.setTest(e.depthTest),o.setMask(e.depthWrite),i.setMask(e.colorWrite);const r=e.stencilWrite;u.setTest(r),r&&(u.setMask(e.stencilWriteMask),u.setFunc(e.stencilFunc,e.stencilRef,e.stencilFuncMask),u.setOp(e.stencilFail,e.stencilZFail,e.stencilZPass)),_e(e.polygonOffset,e.polygonOffsetFactor,e.polygonOffsetUnits),!0===e.alphaToCoverage?me(32926):ye(32926)},setFlipSided:we,setCullFace:Me,setLineWidth:function(t){t!==re&&(se&&e.lineWidth(t),re=t)},setPolygonOffset:_e,setScissorTest:function(e){e?me(3089):ye(3089)},activeTexture:Se,bindTexture:function(t,n){null===le&&Se();let r=fe[le];void 0===r&&(r={type:void 0,texture:void 0},fe[le]=r),r.type===t&&r.texture===n||(e.bindTexture(t,n||pe[t]),r.type=t,r.texture=n)},unbindTexture:function(){const t=fe[le];void 0!==t&&void 0!==t.type&&(e.bindTexture(t.type,null),t.type=void 0,t.texture=void 0)},compressedTexImage2D:function(){try{e.compressedTexImage2D.apply(e,arguments)}catch(e){console.error("THREE.WebGLState:",e)}},texImage2D:function(){try{e.texImage2D.apply(e,arguments)}catch(e){console.error("THREE.WebGLState:",e)}},texImage3D:function(){try{e.texImage3D.apply(e,arguments)}catch(e){console.error("THREE.WebGLState:",e)}},scissor:function(t){!1===he.equals(t)&&(e.scissor(t.x,t.y,t.z,t.w),he.copy(t))},viewport:function(t){!1===ve.equals(t)&&(e.viewport(t.x,t.y,t.z,t.w),ve.copy(t))},reset:function(){e.disable(3042),e.disable(2884),e.disable(2929),e.disable(32823),e.disable(3089),e.disable(2960),e.disable(32926),e.blendEquation(32774),e.blendFunc(1,0),e.blendFuncSeparate(1,0,1,0),e.colorMask(!0,!0,!0,!0),e.clearColor(0,0,0,0),e.depthMask(!0),e.depthFunc(513),e.clearDepth(1),e.stencilMask(4294967295),e.stencilFunc(519,0,4294967295),e.stencilOp(7680,7680,7680),e.clearStencil(0),e.cullFace(1029),e.frontFace(2305),e.polygonOffset(0,0),e.activeTexture(33984),e.bindFramebuffer(36160,null),!0===r&&(e.bindFramebuffer(36009,null),e.bindFramebuffer(36008,null)),e.useProgram(null),e.lineWidth(1),e.scissor(0,0,e.canvas.width,e.canvas.height),e.viewport(0,0,e.canvas.width,e.canvas.height),l={},le=null,fe={},f=null,h={},v=null,d=!1,y=null,g=null,X=null,K=null,Q=null,J=null,$=null,ee=!1,te=null,ne=null,re=null,ie=null,oe=null,he.set(0,0,e.canvas.width,e.canvas.height),ve.set(0,0,e.canvas.width,e.canvas.height),i.reset(),o.reset(),u.reset()}}}function Ws(e,t,n,r,i,o,a){const s=i.isWebGL2,c=i.maxTextures,u=i.maxCubemapSize,l=i.maxTextureSize,f=i.maxSamples,h=new WeakMap;let v,d=!1;try{d="undefined"!=typeof OffscreenCanvas&&null!==new OffscreenCanvas(1,1).getContext("2d")}catch(e){}function p(e,t){return d?new OffscreenCanvas(e,t):document.createElementNS("http://www.w3.org/1999/xhtml","canvas")}function m(e,t,n,r){let i=1;if((e.width>r||e.height>r)&&(i=r/Math.max(e.width,e.height)),i<1||!0===t){if("undefined"!=typeof HTMLImageElement&&e instanceof HTMLImageElement||"undefined"!=typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement||"undefined"!=typeof ImageBitmap&&e instanceof ImageBitmap){const r=t?qn:Math.floor,o=r(i*e.width),a=r(i*e.height);void 0===v&&(v=p(o,a));const s=n?p(o,a):v;return s.width=o,s.height=a,s.getContext("2d").drawImage(e,0,0,o,a),console.warn("THREE.WebGLRenderer: Texture has been resized from ("+e.width+"x"+e.height+") to ("+o+"x"+a+")."),s}return"data"in e&&console.warn("THREE.WebGLRenderer: Image in DataTexture is too big ("+e.width+"x"+e.height+")."),e}return e}function y(e){return Wn(e.width)&&Wn(e.height)}function g(e,t){return e.generateMipmaps&&t&&e.minFilter!==de&&e.minFilter!==xe}function x(t,n,i,o){e.generateMipmap(t),r.get(n).__maxMipLevel=Math.log2(Math.max(i,o))}function b(n,r,i){if(!1===s)return r;if(null!==n){if(void 0!==e[n])return e[n];console.warn("THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format '"+n+"'")}let o=r;return 6403===r&&(5126===i&&(o=33326),5131===i&&(o=33325),5121===i&&(o=33321)),6407===r&&(5126===i&&(o=34837),5131===i&&(o=34843),5121===i&&(o=32849)),6408===r&&(5126===i&&(o=34836),5131===i&&(o=34842),5121===i&&(o=32856)),33325!==o&&33326!==o&&34842!==o&&34836!==o||t.get("EXT_color_buffer_float"),o}function w(e){return e===de||e===pe||e===ye?9728:9729}function M(t){const n=t.target;n.removeEventListener("dispose",M),function(t){const n=r.get(t);void 0!==n.__webglInit&&(e.deleteTexture(n.__webglTexture),r.remove(t))}(n),n.isVideoTexture&&h.delete(n),a.memory.textures--}function _(t){const n=t.target;n.removeEventListener("dispose",_),function(t){const n=t.texture,i=r.get(t),o=r.get(n);if(t){if(void 0!==o.__webglTexture&&e.deleteTexture(o.__webglTexture),t.depthTexture&&t.depthTexture.dispose(),t.isWebGLCubeRenderTarget)for(let t=0;t<6;t++)e.deleteFramebuffer(i.__webglFramebuffer[t]),i.__webglDepthbuffer&&e.deleteRenderbuffer(i.__webglDepthbuffer[t]);else e.deleteFramebuffer(i.__webglFramebuffer),i.__webglDepthbuffer&&e.deleteRenderbuffer(i.__webglDepthbuffer),i.__webglMultisampledFramebuffer&&e.deleteFramebuffer(i.__webglMultisampledFramebuffer),i.__webglColorRenderbuffer&&e.deleteRenderbuffer(i.__webglColorRenderbuffer),i.__webglDepthRenderbuffer&&e.deleteRenderbuffer(i.__webglDepthRenderbuffer);r.remove(n),r.remove(t)}}(n),a.memory.textures--}let S=0;function P(e,t){const i=r.get(e);if(e.isVideoTexture&&function(e){const t=a.render.frame;h.get(e)!==t&&(h.set(e,t),e.update())}(e),e.version>0&&i.__version!==e.version){const n=e.image;if(void 0===n)console.warn("THREE.WebGLRenderer: Texture marked for update but image is undefined");else{if(!1!==n.complete)return void C(i,e,t);console.warn("THREE.WebGLRenderer: Texture marked for update but image is incomplete")}}n.activeTexture(33984+t),n.bindTexture(3553,i.__webglTexture)}function T(t,i){const a=r.get(t);t.version>0&&a.__version!==t.version?function(t,r,i){if(6!==r.image.length)return;L(t,r),n.activeTexture(33984+i),n.bindTexture(34067,t.__webglTexture),e.pixelStorei(37440,r.flipY),e.pixelStorei(37441,r.premultiplyAlpha),e.pixelStorei(3317,r.unpackAlignment),e.pixelStorei(37443,0);const a=r&&(r.isCompressedTexture||r.image[0].isCompressedTexture),c=r.image[0]&&r.image[0].isDataTexture,l=[];for(let e=0;e<6;e++)l[e]=a||c?c?r.image[e].image:r.image[e]:m(r.image[e],!1,!0,u);const f=l[0],h=y(f)||s,v=o.convert(r.format),d=o.convert(r.type),p=b(r.internalFormat,v,d);let w;if(z(34067,r,h),a){for(let e=0;e<6;e++){w=l[e].mipmaps;for(let t=0;t<w.length;t++){const i=w[t];r.format!==je&&r.format!==Fe?null!==v?n.compressedTexImage2D(34069+e,t,p,i.width,i.height,0,i.data):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .setTextureCube()"):n.texImage2D(34069+e,t,p,i.width,i.height,0,v,d,i.data)}}t.__maxMipLevel=w.length-1}else{w=r.mipmaps;for(let e=0;e<6;e++)if(c){n.texImage2D(34069+e,0,p,l[e].width,l[e].height,0,v,d,l[e].data);for(let t=0;t<w.length;t++){const r=w[t].image[e].image;n.texImage2D(34069+e,t+1,p,r.width,r.height,0,v,d,r.data)}}else{n.texImage2D(34069+e,0,p,v,d,l[e]);for(let t=0;t<w.length;t++){const r=w[t];n.texImage2D(34069+e,t+1,p,v,d,r.image[e])}}t.__maxMipLevel=w.length}g(r,h)&&x(34067,r,f.width,f.height),t.__version=r.version,r.onUpdate&&r.onUpdate(r)}(a,t,i):(n.activeTexture(33984+i),n.bindTexture(34067,a.__webglTexture))}const R={[fe]:10497,[he]:33071,[ve]:33648},E={[de]:9728,[pe]:9984,[ye]:9986,[xe]:9729,[be]:9985,[Me]:9987};function z(n,o,a){if(a?(e.texParameteri(n,10242,R[o.wrapS]),e.texParameteri(n,10243,R[o.wrapT]),32879!==n&&35866!==n||e.texParameteri(n,32882,R[o.wrapR]),e.texParameteri(n,10240,E[o.magFilter]),e.texParameteri(n,10241,E[o.minFilter])):(e.texParameteri(n,10242,33071),e.texParameteri(n,10243,33071),32879!==n&&35866!==n||e.texParameteri(n,32882,33071),o.wrapS===he&&o.wrapT===he||console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.wrapS and Texture.wrapT should be set to THREE.ClampToEdgeWrapping."),e.texParameteri(n,10240,w(o.magFilter)),e.texParameteri(n,10241,w(o.minFilter)),o.minFilter!==de&&o.minFilter!==xe&&console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.minFilter should be set to THREE.NearestFilter or THREE.LinearFilter.")),!0===t.has("EXT_texture_filter_anisotropic")){const a=t.get("EXT_texture_filter_anisotropic");if(o.type===Le&&!1===t.has("OES_texture_float_linear"))return;if(!1===s&&o.type===Ce&&!1===t.has("OES_texture_half_float_linear"))return;(o.anisotropy>1||r.get(o).__currentAnisotropy)&&(e.texParameterf(n,a.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(o.anisotropy,i.getMaxAnisotropy())),r.get(o).__currentAnisotropy=o.anisotropy)}}function L(t,n){void 0===t.__webglInit&&(t.__webglInit=!0,n.addEventListener("dispose",M),t.__webglTexture=e.createTexture(),a.memory.textures++)}function C(t,r,i){let a=3553;r.isDataTexture2DArray&&(a=35866),r.isDataTexture3D&&(a=32879),L(t,r),n.activeTexture(33984+i),n.bindTexture(a,t.__webglTexture),e.pixelStorei(37440,r.flipY),e.pixelStorei(37441,r.premultiplyAlpha),e.pixelStorei(3317,r.unpackAlignment),e.pixelStorei(37443,0);const c=function(e){return!s&&(e.wrapS!==he||e.wrapT!==he||e.minFilter!==de&&e.minFilter!==xe)}(r)&&!1===y(r.image),u=m(r.image,c,!1,l),f=y(u)||s,h=o.convert(r.format);let v,d=o.convert(r.type),p=b(r.internalFormat,h,d);z(a,r,f);const w=r.mipmaps;if(r.isDepthTexture)p=6402,s?p=r.type===Le?36012:r.type===ze?33190:r.type===Ie?35056:33189:r.type===Le&&console.error("WebGLRenderer: Floating point depth texture requires WebGL2."),r.format===Ne&&6402===p&&r.type!==Re&&r.type!==ze&&(console.warn("THREE.WebGLRenderer: Use UnsignedShortType or UnsignedIntType for DepthFormat DepthTexture."),r.type=Re,d=o.convert(r.type)),r.format===He&&6402===p&&(p=34041,r.type!==Ie&&(console.warn("THREE.WebGLRenderer: Use UnsignedInt248Type for DepthStencilFormat DepthTexture."),r.type=Ie,d=o.convert(r.type))),n.texImage2D(3553,0,p,u.width,u.height,0,h,d,null);else if(r.isDataTexture)if(w.length>0&&f){for(let e=0,t=w.length;e<t;e++)v=w[e],n.texImage2D(3553,e,p,v.width,v.height,0,h,d,v.data);r.generateMipmaps=!1,t.__maxMipLevel=w.length-1}else n.texImage2D(3553,0,p,u.width,u.height,0,h,d,u.data),t.__maxMipLevel=0;else if(r.isCompressedTexture){for(let e=0,t=w.length;e<t;e++)v=w[e],r.format!==je&&r.format!==Fe?null!==h?n.compressedTexImage2D(3553,e,p,v.width,v.height,0,v.data):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()"):n.texImage2D(3553,e,p,v.width,v.height,0,h,d,v.data);t.__maxMipLevel=w.length-1}else if(r.isDataTexture2DArray)n.texImage3D(35866,0,p,u.width,u.height,u.depth,0,h,d,u.data),t.__maxMipLevel=0;else if(r.isDataTexture3D)n.texImage3D(32879,0,p,u.width,u.height,u.depth,0,h,d,u.data),t.__maxMipLevel=0;else if(w.length>0&&f){for(let e=0,t=w.length;e<t;e++)v=w[e],n.texImage2D(3553,e,p,h,d,v);r.generateMipmaps=!1,t.__maxMipLevel=w.length-1}else n.texImage2D(3553,0,p,h,d,u),t.__maxMipLevel=0;g(r,f)&&x(a,r,u.width,u.height),t.__version=r.version,r.onUpdate&&r.onUpdate(r)}function A(t,i,a,s){const c=i.texture,u=o.convert(c.format),l=o.convert(c.type),f=b(c.internalFormat,u,l);32879===s||35866===s?n.texImage3D(s,0,f,i.width,i.height,i.depth,0,u,l,null):n.texImage2D(s,0,f,i.width,i.height,0,u,l,null),n.bindFramebuffer(36160,t),e.framebufferTexture2D(36160,a,s,r.get(c).__webglTexture,0),n.bindFramebuffer(36160,null)}function O(t,n,r){if(e.bindRenderbuffer(36161,t),n.depthBuffer&&!n.stencilBuffer){let i=33189;if(r){const t=n.depthTexture;t&&t.isDepthTexture&&(t.type===Le?i=36012:t.type===ze&&(i=33190));const r=D(n);e.renderbufferStorageMultisample(36161,r,i,n.width,n.height)}else e.renderbufferStorage(36161,i,n.width,n.height);e.framebufferRenderbuffer(36160,36096,36161,t)}else if(n.depthBuffer&&n.stencilBuffer){if(r){const t=D(n);e.renderbufferStorageMultisample(36161,t,35056,n.width,n.height)}else e.renderbufferStorage(36161,34041,n.width,n.height);e.framebufferRenderbuffer(36160,33306,36161,t)}else{const t=n.texture,i=o.convert(t.format),a=o.convert(t.type),s=b(t.internalFormat,i,a);if(r){const t=D(n);e.renderbufferStorageMultisample(36161,t,s,n.width,n.height)}else e.renderbufferStorage(36161,s,n.width,n.height)}e.bindRenderbuffer(36161,null)}function D(e){return s&&e.isWebGLMultisampleRenderTarget?Math.min(f,e.samples):0}let I=!1,k=!1;this.allocateTextureUnit=function(){const e=S;return e>=c&&console.warn("THREE.WebGLTextures: Trying to use "+e+" texture units while this GPU supports only "+c),S+=1,e},this.resetTextureUnits=function(){S=0},this.setTexture2D=P,this.setTexture2DArray=function(e,t){const i=r.get(e);e.version>0&&i.__version!==e.version?C(i,e,t):(n.activeTexture(33984+t),n.bindTexture(35866,i.__webglTexture))},this.setTexture3D=function(e,t){const i=r.get(e);e.version>0&&i.__version!==e.version?C(i,e,t):(n.activeTexture(33984+t),n.bindTexture(32879,i.__webglTexture))},this.setTextureCube=T,this.setupRenderTarget=function(t){const i=t.texture,c=r.get(t),u=r.get(i);t.addEventListener("dispose",_),u.__webglTexture=e.createTexture(),u.__version=i.version,a.memory.textures++;const l=!0===t.isWebGLCubeRenderTarget,f=!0===t.isWebGLMultisampleRenderTarget,h=i.isDataTexture3D||i.isDataTexture2DArray,v=y(t)||s;if(!s||i.format!==Fe||i.type!==Le&&i.type!==Ce||(i.format=je,console.warn("THREE.WebGLRenderer: Rendering to textures with RGB format is not supported. Using RGBA format instead.")),l){c.__webglFramebuffer=[];for(let t=0;t<6;t++)c.__webglFramebuffer[t]=e.createFramebuffer()}else if(c.__webglFramebuffer=e.createFramebuffer(),f)if(s){c.__webglMultisampledFramebuffer=e.createFramebuffer(),c.__webglColorRenderbuffer=e.createRenderbuffer(),e.bindRenderbuffer(36161,c.__webglColorRenderbuffer);const r=o.convert(i.format),a=o.convert(i.type),s=b(i.internalFormat,r,a),u=D(t);e.renderbufferStorageMultisample(36161,u,s,t.width,t.height),n.bindFramebuffer(36160,c.__webglMultisampledFramebuffer),e.framebufferRenderbuffer(36160,36064,36161,c.__webglColorRenderbuffer),e.bindRenderbuffer(36161,null),t.depthBuffer&&(c.__webglDepthRenderbuffer=e.createRenderbuffer(),O(c.__webglDepthRenderbuffer,t,!0)),n.bindFramebuffer(36160,null)}else console.warn("THREE.WebGLRenderer: WebGLMultisampleRenderTarget can only be used with WebGL2.");if(l){n.bindTexture(34067,u.__webglTexture),z(34067,i,v);for(let e=0;e<6;e++)A(c.__webglFramebuffer[e],t,36064,34069+e);g(i,v)&&x(34067,i,t.width,t.height),n.bindTexture(34067,null)}else{let e=3553;h&&(s?e=i.isDataTexture3D?32879:35866:console.warn("THREE.DataTexture3D and THREE.DataTexture2DArray only supported with WebGL2.")),n.bindTexture(e,u.__webglTexture),z(e,i,v),A(c.__webglFramebuffer,t,36064,e),g(i,v)&&x(3553,i,t.width,t.height),n.bindTexture(3553,null)}t.depthBuffer&&function(t){const i=r.get(t),o=!0===t.isWebGLCubeRenderTarget;if(t.depthTexture){if(o)throw new Error("target.depthTexture not supported in Cube render targets");!function(t,i){if(i&&i.isWebGLCubeRenderTarget)throw new Error("Depth Texture with cube render targets is not supported");if(n.bindFramebuffer(36160,t),!i.depthTexture||!i.depthTexture.isDepthTexture)throw new Error("renderTarget.depthTexture must be an instance of THREE.DepthTexture");r.get(i.depthTexture).__webglTexture&&i.depthTexture.image.width===i.width&&i.depthTexture.image.height===i.height||(i.depthTexture.image.width=i.width,i.depthTexture.image.height=i.height,i.depthTexture.needsUpdate=!0),P(i.depthTexture,0);const o=r.get(i.depthTexture).__webglTexture;if(i.depthTexture.format===Ne)e.framebufferTexture2D(36160,36096,3553,o,0);else{if(i.depthTexture.format!==He)throw new Error("Unknown depthTexture format");e.framebufferTexture2D(36160,33306,3553,o,0)}}(i.__webglFramebuffer,t)}else if(o){i.__webglDepthbuffer=[];for(let r=0;r<6;r++)n.bindFramebuffer(36160,i.__webglFramebuffer[r]),i.__webglDepthbuffer[r]=e.createRenderbuffer(),O(i.__webglDepthbuffer[r],t,!1)}else n.bindFramebuffer(36160,i.__webglFramebuffer),i.__webglDepthbuffer=e.createRenderbuffer(),O(i.__webglDepthbuffer,t,!1);n.bindFramebuffer(36160,null)}(t)},this.updateRenderTargetMipmap=function(e){const t=e.texture;if(g(t,y(e)||s)){const i=e.isWebGLCubeRenderTarget?34067:3553,o=r.get(t).__webglTexture;n.bindTexture(i,o),x(i,t,e.width,e.height),n.bindTexture(i,null)}},this.updateMultisampleRenderTarget=function(t){if(t.isWebGLMultisampleRenderTarget)if(s){const i=t.width,o=t.height;let a=16384;t.depthBuffer&&(a|=256),t.stencilBuffer&&(a|=1024);const s=r.get(t);n.bindFramebuffer(36008,s.__webglMultisampledFramebuffer),n.bindFramebuffer(36009,s.__webglFramebuffer),e.blitFramebuffer(0,0,i,o,0,0,i,o,a,9728),n.bindFramebuffer(36008,null),n.bindFramebuffer(36009,s.__webglMultisampledFramebuffer)}else console.warn("THREE.WebGLRenderer: WebGLMultisampleRenderTarget can only be used with WebGL2.")},this.safeSetTexture2D=function(e,t){e&&e.isWebGLRenderTarget&&(!1===I&&(console.warn("THREE.WebGLTextures.safeSetTexture2D: don't use render targets as textures. Use their .texture property instead."),I=!0),e=e.texture),P(e,t)},this.safeSetTextureCube=function(e,t){e&&e.isWebGLCubeRenderTarget&&(!1===k&&(console.warn("THREE.WebGLTextures.safeSetTextureCube: don't use cube render targets as textures. Use their .texture property instead."),k=!0),e=e.texture),T(e,t)}}function Zs(e,t,n){const r=n.isWebGL2;return{convert:function(e){let n;if(e===Se)return 5121;if(e===Ae)return 32819;if(e===Oe)return 32820;if(e===De)return 33635;if(e===Pe)return 5120;if(e===Te)return 5122;if(e===Re)return 5123;if(e===Ee)return 5124;if(e===ze)return 5125;if(e===Le)return 5126;if(e===Ce)return r?5131:(n=t.get("OES_texture_half_float"),null!==n?n.HALF_FLOAT_OES:null);if(e===ke)return 6406;if(e===Fe)return 6407;if(e===je)return 6408;if(e===Ue)return 6409;if(e===Be)return 6410;if(e===Ne)return 6402;if(e===He)return 34041;if(e===Ve)return 6403;if(e===We)return 36244;if(e===Ze)return 33319;if(e===qe)return 33320;if(e===Ye)return 36248;if(e===Xe)return 36249;if(e===Ke||e===Qe||e===Je||e===$e){if(n=t.get("WEBGL_compressed_texture_s3tc"),null===n)return null;if(e===Ke)return n.COMPRESSED_RGB_S3TC_DXT1_EXT;if(e===Qe)return n.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(e===Je)return n.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(e===$e)return n.COMPRESSED_RGBA_S3TC_DXT5_EXT}if(e===et||e===tt||e===nt||e===rt){if(n=t.get("WEBGL_compressed_texture_pvrtc"),null===n)return null;if(e===et)return n.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;if(e===tt)return n.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;if(e===nt)return n.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;if(e===rt)return n.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG}if(e===it)return n=t.get("WEBGL_compressed_texture_etc1"),null!==n?n.COMPRESSED_RGB_ETC1_WEBGL:null;if((e===ot||e===at)&&(n=t.get("WEBGL_compressed_texture_etc"),null!==n)){if(e===ot)return n.COMPRESSED_RGB8_ETC2;if(e===at)return n.COMPRESSED_RGBA8_ETC2_EAC}return e===st||e===ct||e===ut||e===lt||e===ft||e===ht||e===vt||e===dt||e===pt||e===mt||e===yt||e===gt||e===xt||e===bt||e===Mt||e===_t||e===St||e===Pt||e===Tt||e===Rt||e===Et||e===zt||e===Lt||e===Ct||e===At||e===Ot||e===Dt||e===It?(n=t.get("WEBGL_compressed_texture_astc"),null!==n?e:null):e===wt?(n=t.get("EXT_texture_compression_bptc"),null!==n?e:null):e===Ie?r?34042:(n=t.get("WEBGL_depth_texture"),null!==n?n.UNSIGNED_INT_24_8_WEBGL:null):void 0}}}Ns.prototype.isMeshDistanceMaterial=!0;class qs extends Lo{constructor(e=[]){super(),this.cameras=e}}qs.prototype.isArrayCamera=!0;class Ys extends ci{constructor(){super(),this.type="Group"}}Ys.prototype.isGroup=!0;const Xs={type:"move"};class Ks{constructor(){this._targetRay=null,this._grip=null,this._hand=null}getHandSpace(){return null===this._hand&&(this._hand=new Ys,this._hand.matrixAutoUpdate=!1,this._hand.visible=!1,this._hand.joints={},this._hand.inputState={pinching:!1}),this._hand}getTargetRaySpace(){return null===this._targetRay&&(this._targetRay=new Ys,this._targetRay.matrixAutoUpdate=!1,this._targetRay.visible=!1,this._targetRay.hasLinearVelocity=!1,this._targetRay.linearVelocity=new ar,this._targetRay.hasAngularVelocity=!1,this._targetRay.angularVelocity=new ar),this._targetRay}getGripSpace(){return null===this._grip&&(this._grip=new Ys,this._grip.matrixAutoUpdate=!1,this._grip.visible=!1,this._grip.hasLinearVelocity=!1,this._grip.linearVelocity=new ar,this._grip.hasAngularVelocity=!1,this._grip.angularVelocity=new ar),this._grip}dispatchEvent(e){return null!==this._targetRay&&this._targetRay.dispatchEvent(e),null!==this._grip&&this._grip.dispatchEvent(e),null!==this._hand&&this._hand.dispatchEvent(e),this}disconnect(e){return this.dispatchEvent({type:"disconnected",data:e}),null!==this._targetRay&&(this._targetRay.visible=!1),null!==this._grip&&(this._grip.visible=!1),null!==this._hand&&(this._hand.visible=!1),this}update(e,t,n){let r=null,i=null,o=null;const a=this._targetRay,s=this._grip,c=this._hand;if(e&&"visible-blurred"!==t.session.visibilityState)if(null!==a&&(r=t.getPose(e.targetRaySpace,n),null!==r&&(a.matrix.fromArray(r.transform.matrix),a.matrix.decompose(a.position,a.rotation,a.scale),r.linearVelocity?(a.hasLinearVelocity=!0,a.linearVelocity.copy(r.linearVelocity)):a.hasLinearVelocity=!1,r.angularVelocity?(a.hasAngularVelocity=!0,a.angularVelocity.copy(r.angularVelocity)):a.hasAngularVelocity=!1,this.dispatchEvent(Xs))),c&&e.hand){o=!0;for(const r of e.hand.values()){const e=t.getJointPose(r,n);if(void 0===c.joints[r.jointName]){const e=new Ys;e.matrixAutoUpdate=!1,e.visible=!1,c.joints[r.jointName]=e,c.add(e)}const i=c.joints[r.jointName];null!==e&&(i.matrix.fromArray(e.transform.matrix),i.matrix.decompose(i.position,i.rotation,i.scale),i.jointRadius=e.radius),i.visible=null!==e}const r=c.joints["index-finger-tip"],i=c.joints["thumb-tip"],a=r.position.distanceTo(i.position),s=.02,u=.005;c.inputState.pinching&&a>s+u?(c.inputState.pinching=!1,this.dispatchEvent({type:"pinchend",handedness:e.handedness,target:this})):!c.inputState.pinching&&a<=s-u&&(c.inputState.pinching=!0,this.dispatchEvent({type:"pinchstart",handedness:e.handedness,target:this}))}else null!==s&&e.gripSpace&&(i=t.getPose(e.gripSpace,n),null!==i&&(s.matrix.fromArray(i.transform.matrix),s.matrix.decompose(s.position,s.rotation,s.scale),i.linearVelocity?(s.hasLinearVelocity=!0,s.linearVelocity.copy(i.linearVelocity)):s.hasLinearVelocity=!1,i.angularVelocity?(s.hasAngularVelocity=!0,s.angularVelocity.copy(i.angularVelocity)):s.hasAngularVelocity=!1));return null!==a&&(a.visible=null!==r),null!==s&&(s.visible=null!==i),null!==c&&(c.visible=null!==o),this}}class Qs extends kn{constructor(e,t){super();const n=this,r=e.state;let i=null,o=1,a=null,s="local-floor",c=null;const u=[],l=new Map,f=new Lo;f.layers.enable(1),f.viewport=new nr;const h=new Lo;h.layers.enable(2),h.viewport=new nr;const v=[f,h],d=new qs;d.layers.enable(1),d.layers.enable(2);let p=null,m=null;function y(e){const t=l.get(e.inputSource);t&&t.dispatchEvent({type:e.type,data:e.inputSource})}function g(){l.forEach((function(e,t){e.disconnect(t)})),l.clear(),p=null,m=null,r.bindXRFramebuffer(null),e.setRenderTarget(e.getRenderTarget()),S.stop(),n.isPresenting=!1,n.dispatchEvent({type:"sessionend"})}function x(e){const t=i.inputSources;for(let e=0;e<u.length;e++)l.set(t[e],u[e]);for(let t=0;t<e.removed.length;t++){const n=e.removed[t],r=l.get(n);r&&(r.dispatchEvent({type:"disconnected",data:n}),l.delete(n))}for(let t=0;t<e.added.length;t++){const n=e.added[t],r=l.get(n);r&&r.dispatchEvent({type:"connected",data:n})}}this.enabled=!1,this.isPresenting=!1,this.getController=function(e){let t=u[e];return void 0===t&&(t=new Ks,u[e]=t),t.getTargetRaySpace()},this.getControllerGrip=function(e){let t=u[e];return void 0===t&&(t=new Ks,u[e]=t),t.getGripSpace()},this.getHand=function(e){let t=u[e];return void 0===t&&(t=new Ks,u[e]=t),t.getHandSpace()},this.setFramebufferScaleFactor=function(e){o=e,!0===n.isPresenting&&console.warn("THREE.WebXRManager: Cannot change framebuffer scale while presenting.")},this.setReferenceSpaceType=function(e){s=e,!0===n.isPresenting&&console.warn("THREE.WebXRManager: Cannot change reference space type while presenting.")},this.getReferenceSpace=function(){return a},this.getSession=function(){return i},this.setSession=async function(e){if(i=e,null!==i){i.addEventListener("select",y),i.addEventListener("selectstart",y),i.addEventListener("selectend",y),i.addEventListener("squeeze",y),i.addEventListener("squeezestart",y),i.addEventListener("squeezeend",y),i.addEventListener("end",g),i.addEventListener("inputsourceschange",x);const e=t.getContextAttributes();!0!==e.xrCompatible&&await t.makeXRCompatible();const r={antialias:e.antialias,alpha:e.alpha,depth:e.depth,stencil:e.stencil,framebufferScaleFactor:o},c=new XRWebGLLayer(i,t,r);i.updateRenderState({baseLayer:c}),a=await i.requestReferenceSpace(s),S.setContext(i),S.start(),n.isPresenting=!0,n.dispatchEvent({type:"sessionstart"})}};const b=new ar,w=new ar;function M(e,t){null===t?e.matrixWorld.copy(e.matrix):e.matrixWorld.multiplyMatrices(t.matrixWorld,e.matrix),e.matrixWorldInverse.copy(e.matrixWorld).invert()}this.getCamera=function(e){d.near=h.near=f.near=e.near,d.far=h.far=f.far=e.far,p===d.near&&m===d.far||(i.updateRenderState({depthNear:d.near,depthFar:d.far}),p=d.near,m=d.far);const t=e.parent,n=d.cameras;M(d,t);for(let e=0;e<n.length;e++)M(n[e],t);e.matrixWorld.copy(d.matrixWorld),e.matrix.copy(d.matrix),e.matrix.decompose(e.position,e.quaternion,e.scale);const r=e.children;for(let e=0,t=r.length;e<t;e++)r[e].updateMatrixWorld(!0);return 2===n.length?function(e,t,n){b.setFromMatrixPosition(t.matrixWorld),w.setFromMatrixPosition(n.matrixWorld);const r=b.distanceTo(w),i=t.projectionMatrix.elements,o=n.projectionMatrix.elements,a=i[14]/(i[10]-1),s=i[14]/(i[10]+1),c=(i[9]+1)/i[5],u=(i[9]-1)/i[5],l=(i[8]-1)/i[0],f=(o[8]+1)/o[0],h=a*l,v=a*f,d=r/(-l+f),p=d*-l;t.matrixWorld.decompose(e.position,e.quaternion,e.scale),e.translateX(p),e.translateZ(d),e.matrixWorld.compose(e.position,e.quaternion,e.scale),e.matrixWorldInverse.copy(e.matrixWorld).invert();const m=a+d,y=s+d,g=h-p,x=v+(r-p),M=c*s/y*m,_=u*s/y*m;e.projectionMatrix.makePerspective(g,x,M,_,m,y)}(d,f,h):d.projectionMatrix.copy(f.projectionMatrix),d};let _=null;const S=new Uo;S.setAnimationLoop((function(e,t){if(c=t.getViewerPose(a),null!==c){const e=c.views,t=i.renderState.baseLayer;r.bindXRFramebuffer(t.framebuffer);let n=!1;e.length!==d.cameras.length&&(d.cameras.length=0,n=!0);for(let r=0;r<e.length;r++){const i=e[r],o=t.getViewport(i),a=v[r];a.matrix.fromArray(i.transform.matrix),a.projectionMatrix.fromArray(i.projectionMatrix),a.viewport.set(o.x,o.y,o.width,o.height),0===r&&d.matrix.copy(a.matrix),!0===n&&d.cameras.push(a)}}const n=i.inputSources;for(let e=0;e<u.length;e++){const r=u[e],i=n[e];r.update(i,t,a)}_&&_(e,t)})),this.setAnimationLoop=function(e){_=e},this.dispose=function(){}}}function Js(e){function t(t,n){t.opacity.value=n.opacity,n.color&&t.diffuse.value.copy(n.color),n.emissive&&t.emissive.value.copy(n.emissive).multiplyScalar(n.emissiveIntensity),n.map&&(t.map.value=n.map),n.alphaMap&&(t.alphaMap.value=n.alphaMap),n.specularMap&&(t.specularMap.value=n.specularMap);const r=e.get(n).envMap;if(r){t.envMap.value=r,t.flipEnvMap.value=r.isCubeTexture&&r._needsFlipEnvMap?-1:1,t.reflectivity.value=n.reflectivity,t.refractionRatio.value=n.refractionRatio;const i=e.get(r).__maxMipLevel;void 0!==i&&(t.maxMipLevel.value=i)}let i,o;n.lightMap&&(t.lightMap.value=n.lightMap,t.lightMapIntensity.value=n.lightMapIntensity),n.aoMap&&(t.aoMap.value=n.aoMap,t.aoMapIntensity.value=n.aoMapIntensity),n.map?i=n.map:n.specularMap?i=n.specularMap:n.displacementMap?i=n.displacementMap:n.normalMap?i=n.normalMap:n.bumpMap?i=n.bumpMap:n.roughnessMap?i=n.roughnessMap:n.metalnessMap?i=n.metalnessMap:n.alphaMap?i=n.alphaMap:n.emissiveMap?i=n.emissiveMap:n.clearcoatMap?i=n.clearcoatMap:n.clearcoatNormalMap?i=n.clearcoatNormalMap:n.clearcoatRoughnessMap&&(i=n.clearcoatRoughnessMap),void 0!==i&&(i.isWebGLRenderTarget&&(i=i.texture),!0===i.matrixAutoUpdate&&i.updateMatrix(),t.uvTransform.value.copy(i.matrix)),n.aoMap?o=n.aoMap:n.lightMap&&(o=n.lightMap),void 0!==o&&(o.isWebGLRenderTarget&&(o=o.texture),!0===o.matrixAutoUpdate&&o.updateMatrix(),t.uv2Transform.value.copy(o.matrix))}function n(t,n){t.roughness.value=n.roughness,t.metalness.value=n.metalness,n.roughnessMap&&(t.roughnessMap.value=n.roughnessMap),n.metalnessMap&&(t.metalnessMap.value=n.metalnessMap),n.emissiveMap&&(t.emissiveMap.value=n.emissiveMap),n.bumpMap&&(t.bumpMap.value=n.bumpMap,t.bumpScale.value=n.bumpScale,n.side===p&&(t.bumpScale.value*=-1)),n.normalMap&&(t.normalMap.value=n.normalMap,t.normalScale.value.copy(n.normalScale),n.side===p&&t.normalScale.value.negate()),n.displacementMap&&(t.displacementMap.value=n.displacementMap,t.displacementScale.value=n.displacementScale,t.displacementBias.value=n.displacementBias),e.get(n).envMap&&(t.envMapIntensity.value=n.envMapIntensity)}return{refreshFogUniforms:function(e,t){e.fogColor.value.copy(t.color),t.isFog?(e.fogNear.value=t.near,e.fogFar.value=t.far):t.isFogExp2&&(e.fogDensity.value=t.density)},refreshMaterialUniforms:function(e,r,i,o){r.isMeshBasicMaterial?t(e,r):r.isMeshLambertMaterial?(t(e,r),function(e,t){t.emissiveMap&&(e.emissiveMap.value=t.emissiveMap)}(e,r)):r.isMeshToonMaterial?(t(e,r),function(e,t){t.gradientMap&&(e.gradientMap.value=t.gradientMap),t.emissiveMap&&(e.emissiveMap.value=t.emissiveMap),t.bumpMap&&(e.bumpMap.value=t.bumpMap,e.bumpScale.value=t.bumpScale,t.side===p&&(e.bumpScale.value*=-1)),t.normalMap&&(e.normalMap.value=t.normalMap,e.normalScale.value.copy(t.normalScale),t.side===p&&e.normalScale.value.negate()),t.displacementMap&&(e.displacementMap.value=t.displacementMap,e.displacementScale.value=t.displacementScale,e.displacementBias.value=t.displacementBias)}(e,r)):r.isMeshPhongMaterial?(t(e,r),function(e,t){e.specular.value.copy(t.specular),e.shininess.value=Math.max(t.shininess,1e-4),t.emissiveMap&&(e.emissiveMap.value=t.emissiveMap),t.bumpMap&&(e.bumpMap.value=t.bumpMap,e.bumpScale.value=t.bumpScale,t.side===p&&(e.bumpScale.value*=-1)),t.normalMap&&(e.normalMap.value=t.normalMap,e.normalScale.value.copy(t.normalScale),t.side===p&&e.normalScale.value.negate()),t.displacementMap&&(e.displacementMap.value=t.displacementMap,e.displacementScale.value=t.displacementScale,e.displacementBias.value=t.displacementBias)}(e,r)):r.isMeshStandardMaterial?(t(e,r),r.isMeshPhysicalMaterial?function(e,t){n(e,t),e.reflectivity.value=t.reflectivity,e.clearcoat.value=t.clearcoat,e.clearcoatRoughness.value=t.clearcoatRoughness,t.sheen&&e.sheen.value.copy(t.sheen),t.clearcoatMap&&(e.clearcoatMap.value=t.clearcoatMap),t.clearcoatRoughnessMap&&(e.clearcoatRoughnessMap.value=t.clearcoatRoughnessMap),t.clearcoatNormalMap&&(e.clearcoatNormalScale.value.copy(t.clearcoatNormalScale),e.clearcoatNormalMap.value=t.clearcoatNormalMap,t.side===p&&e.clearcoatNormalScale.value.negate()),e.transmission.value=t.transmission,t.transmissionMap&&(e.transmissionMap.value=t.transmissionMap)}(e,r):n(e,r)):r.isMeshMatcapMaterial?(t(e,r),function(e,t){t.matcap&&(e.matcap.value=t.matcap),t.bumpMap&&(e.bumpMap.value=t.bumpMap,e.bumpScale.value=t.bumpScale,t.side===p&&(e.bumpScale.value*=-1)),t.normalMap&&(e.normalMap.value=t.normalMap,e.normalScale.value.copy(t.normalScale),t.side===p&&e.normalScale.value.negate()),t.displacementMap&&(e.displacementMap.value=t.displacementMap,e.displacementScale.value=t.displacementScale,e.displacementBias.value=t.displacementBias)}(e,r)):r.isMeshDepthMaterial?(t(e,r),function(e,t){t.displacementMap&&(e.displacementMap.value=t.displacementMap,e.displacementScale.value=t.displacementScale,e.displacementBias.value=t.displacementBias)}(e,r)):r.isMeshDistanceMaterial?(t(e,r),function(e,t){t.displacementMap&&(e.displacementMap.value=t.displacementMap,e.displacementScale.value=t.displacementScale,e.displacementBias.value=t.displacementBias),e.referencePosition.value.copy(t.referencePosition),e.nearDistance.value=t.nearDistance,e.farDistance.value=t.farDistance}(e,r)):r.isMeshNormalMaterial?(t(e,r),function(e,t){t.bumpMap&&(e.bumpMap.value=t.bumpMap,e.bumpScale.value=t.bumpScale,t.side===p&&(e.bumpScale.value*=-1)),t.normalMap&&(e.normalMap.value=t.normalMap,e.normalScale.value.copy(t.normalScale),t.side===p&&e.normalScale.value.negate()),t.displacementMap&&(e.displacementMap.value=t.displacementMap,e.displacementScale.value=t.displacementScale,e.displacementBias.value=t.displacementBias)}(e,r)):r.isLineBasicMaterial?(function(e,t){e.diffuse.value.copy(t.color),e.opacity.value=t.opacity}(e,r),r.isLineDashedMaterial&&function(e,t){e.dashSize.value=t.dashSize,e.totalSize.value=t.dashSize+t.gapSize,e.scale.value=t.scale}(e,r)):r.isPointsMaterial?function(e,t,n,r){let i;e.diffuse.value.copy(t.color),e.opacity.value=t.opacity,e.size.value=t.size*n,e.scale.value=.5*r,t.map&&(e.map.value=t.map),t.alphaMap&&(e.alphaMap.value=t.alphaMap),t.map?i=t.map:t.alphaMap&&(i=t.alphaMap),void 0!==i&&(!0===i.matrixAutoUpdate&&i.updateMatrix(),e.uvTransform.value.copy(i.matrix))}(e,r,i,o):r.isSpriteMaterial?function(e,t){let n;e.diffuse.value.copy(t.color),e.opacity.value=t.opacity,e.rotation.value=t.rotation,t.map&&(e.map.value=t.map),t.alphaMap&&(e.alphaMap.value=t.alphaMap),t.map?n=t.map:t.alphaMap&&(n=t.alphaMap),void 0!==n&&(!0===n.matrixAutoUpdate&&n.updateMatrix(),e.uvTransform.value.copy(n.matrix))}(e,r):r.isShadowMaterial?(e.color.value.copy(r.color),e.opacity.value=r.opacity):r.isShaderMaterial&&(r.uniformsNeedUpdate=!1)}}}function $s(e){const t=void 0!==(e=e||{}).canvas?e.canvas:function(){const e=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");return e.style.display="block",e}(),n=void 0!==e.context?e.context:null,r=void 0!==e.alpha&&e.alpha,i=void 0===e.depth||e.depth,o=void 0===e.stencil||e.stencil,a=void 0!==e.antialias&&e.antialias,s=void 0===e.premultipliedAlpha||e.premultipliedAlpha,c=void 0!==e.preserveDrawingBuffer&&e.preserveDrawingBuffer,u=void 0!==e.powerPreference?e.powerPreference:"default",l=void 0!==e.failIfMajorPerformanceCaveat&&e.failIfMajorPerformanceCaveat;let f=null,h=null;const v=[],d=[];this.domElement=t,this.debug={checkShaderErrors:!0},this.autoClear=!0,this.autoClearColor=!0,this.autoClearDepth=!0,this.autoClearStencil=!0,this.sortObjects=!0,this.clippingPlanes=[],this.localClippingEnabled=!1,this.gammaFactor=2,this.outputEncoding=Kt,this.physicallyCorrectLights=!1,this.toneMapping=J,this.toneMappingExposure=1;const p=this;let m=!1,y=0,g=0,x=null,b=-1,w=null;const M=new nr,_=new nr;let S=null,P=t.width,T=t.height,R=1,E=null,z=null;const L=new nr(0,0,P,T),C=new nr(0,0,P,T);let A=!1;const O=new jo;let D=!1,I=!1;const k=new Fr,F=new ar,j={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0};function U(){return null===x?R:1}let B,G,N,H,V,W,Z,q,Y,X,K,Q,$,ee,te,ne,re,ie,oe,ae,se,ce,ue=n;function le(e,n){for(let r=0;r<e.length;r++){const i=e[r],o=t.getContext(i,n);if(null!==o)return o}return null}try{const e={alpha:r,depth:i,stencil:o,antialias:a,premultipliedAlpha:s,preserveDrawingBuffer:c,powerPreference:u,failIfMajorPerformanceCaveat:l};if(t.addEventListener("webglcontextlost",ve,!1),t.addEventListener("webglcontextrestored",de,!1),null===ue){const t=["webgl2","webgl","experimental-webgl"];if(!0===p.isWebGL1Renderer&&t.shift(),ue=le(t,e),null===ue)throw le(t)?new Error("Error creating WebGL context with your selected attributes."):new Error("Error creating WebGL context.")}void 0===ue.getShaderPrecisionFormat&&(ue.getShaderPrecisionFormat=function(){return{rangeMin:1,rangeMax:1,precision:1}})}catch(e){throw console.error("THREE.WebGLRenderer: "+e.message),e}function fe(){B=new Qo(ue),G=new Yo(ue,B,e),B.init(G),se=new Zs(ue,B,G),N=new Vs(ue,B,G),H=new ea(ue),V=new Ls,W=new Ws(ue,B,N,V,G,se,H),Z=new Ko(p),q=new Bo(ue,G),ce=new Zo(ue,B,q,G),Y=new Jo(ue,q,H,ce),X=new ia(ue,Y,q,H),ie=new ra(ue),te=new Xo(V),K=new zs(p,Z,B,G,ce,te),Q=new Js(V),$=new Ds(V),ee=new Bs(B,G),re=new Wo(p,Z,N,X,s),ne=new Hs(p,X,G),oe=new qo(ue,B,H,G),ae=new $o(ue,B,H,G),H.programs=K.programs,p.capabilities=G,p.extensions=B,p.properties=V,p.renderLists=$,p.shadowMap=ne,p.state=N,p.info=H}fe();const he=new Qs(p,ue);function ve(e){e.preventDefault(),console.log("THREE.WebGLRenderer: Context Lost."),m=!0}function de(){console.log("THREE.WebGLRenderer: Context Restored."),m=!1;const e=H.autoReset,t=ne.enabled,n=ne.autoUpdate,r=ne.needsUpdate,i=ne.type;fe(),H.autoReset=e,ne.enabled=t,ne.autoUpdate=n,ne.needsUpdate=r,ne.type=i}function pe(e){const t=e.target;t.removeEventListener("dispose",pe),function(e){(function(e){const t=V.get(e).programs;void 0!==t&&t.forEach((function(e){K.releaseProgram(e)}))})(e),V.remove(e)}(t)}this.xr=he,this.getContext=function(){return ue},this.getContextAttributes=function(){return ue.getContextAttributes()},this.forceContextLoss=function(){const e=B.get("WEBGL_lose_context");e&&e.loseContext()},this.forceContextRestore=function(){const e=B.get("WEBGL_lose_context");e&&e.restoreContext()},this.getPixelRatio=function(){return R},this.setPixelRatio=function(e){void 0!==e&&(R=e,this.setSize(P,T,!1))},this.getSize=function(e){return void 0===e&&(console.warn("WebGLRenderer: .getsize() now requires a Vector2 as an argument"),e=new Xn),e.set(P,T)},this.setSize=function(e,n,r){he.isPresenting?console.warn("THREE.WebGLRenderer: Can't change size while VR device is presenting."):(P=e,T=n,t.width=Math.floor(e*R),t.height=Math.floor(n*R),!1!==r&&(t.style.width=e+"px",t.style.height=n+"px"),this.setViewport(0,0,e,n))},this.getDrawingBufferSize=function(e){return void 0===e&&(console.warn("WebGLRenderer: .getdrawingBufferSize() now requires a Vector2 as an argument"),e=new Xn),e.set(P*R,T*R).floor()},this.setDrawingBufferSize=function(e,n,r){P=e,T=n,R=r,t.width=Math.floor(e*r),t.height=Math.floor(n*r),this.setViewport(0,0,e,n)},this.getCurrentViewport=function(e){return void 0===e&&(console.warn("WebGLRenderer: .getCurrentViewport() now requires a Vector4 as an argument"),e=new nr),e.copy(M)},this.getViewport=function(e){return e.copy(L)},this.setViewport=function(e,t,n,r){e.isVector4?L.set(e.x,e.y,e.z,e.w):L.set(e,t,n,r),N.viewport(M.copy(L).multiplyScalar(R).floor())},this.getScissor=function(e){return e.copy(C)},this.setScissor=function(e,t,n,r){e.isVector4?C.set(e.x,e.y,e.z,e.w):C.set(e,t,n,r),N.scissor(_.copy(C).multiplyScalar(R).floor())},this.getScissorTest=function(){return A},this.setScissorTest=function(e){N.setScissorTest(A=e)},this.setOpaqueSort=function(e){E=e},this.setTransparentSort=function(e){z=e},this.getClearColor=function(e){return void 0===e&&(console.warn("WebGLRenderer: .getClearColor() now requires a Color as an argument"),e=new Ai),e.copy(re.getClearColor())},this.setClearColor=function(){re.setClearColor.apply(re,arguments)},this.getClearAlpha=function(){return re.getClearAlpha()},this.setClearAlpha=function(){re.setClearAlpha.apply(re,arguments)},this.clear=function(e,t,n){let r=0;(void 0===e||e)&&(r|=16384),(void 0===t||t)&&(r|=256),(void 0===n||n)&&(r|=1024),ue.clear(r)},this.clearColor=function(){this.clear(!0,!1,!1)},this.clearDepth=function(){this.clear(!1,!0,!1)},this.clearStencil=function(){this.clear(!1,!1,!0)},this.dispose=function(){t.removeEventListener("webglcontextlost",ve,!1),t.removeEventListener("webglcontextrestored",de,!1),$.dispose(),ee.dispose(),V.dispose(),Z.dispose(),X.dispose(),ce.dispose(),he.dispose(),he.removeEventListener("sessionstart",ye),he.removeEventListener("sessionend",ge),xe.stop()},this.renderBufferImmediate=function(e,t){ce.initAttributes();const n=V.get(e);e.hasPositions&&!n.position&&(n.position=ue.createBuffer()),e.hasNormals&&!n.normal&&(n.normal=ue.createBuffer()),e.hasUvs&&!n.uv&&(n.uv=ue.createBuffer()),e.hasColors&&!n.color&&(n.color=ue.createBuffer());const r=t.getAttributes();e.hasPositions&&(ue.bindBuffer(34962,n.position),ue.bufferData(34962,e.positionArray,35048),ce.enableAttribute(r.position),ue.vertexAttribPointer(r.position,3,5126,!1,0,0)),e.hasNormals&&(ue.bindBuffer(34962,n.normal),ue.bufferData(34962,e.normalArray,35048),ce.enableAttribute(r.normal),ue.vertexAttribPointer(r.normal,3,5126,!1,0,0)),e.hasUvs&&(ue.bindBuffer(34962,n.uv),ue.bufferData(34962,e.uvArray,35048),ce.enableAttribute(r.uv),ue.vertexAttribPointer(r.uv,2,5126,!1,0,0)),e.hasColors&&(ue.bindBuffer(34962,n.color),ue.bufferData(34962,e.colorArray,35048),ce.enableAttribute(r.color),ue.vertexAttribPointer(r.color,3,5126,!1,0,0)),ce.disableUnusedAttributes(),ue.drawArrays(4,0,e.count),e.count=0},this.renderBufferDirect=function(e,t,n,r,i,o){null===t&&(t=j);const a=i.isMesh&&i.matrixWorld.determinant()<0,s=Te(e,t,r,i);N.setMaterial(r,a);let c=n.index;const u=n.attributes.position;if(null===c){if(void 0===u||0===u.count)return}else if(0===c.count)return;let l,f=1;!0===r.wireframe&&(c=Y.getWireframeAttribute(n),f=2),(r.morphTargets||r.morphNormals)&&ie.update(i,n,r,s),ce.setup(i,r,s,n,c);let h=oe;null!==c&&(l=q.get(c),h=ae,h.setIndex(l));const v=null!==c?c.count:u.count,d=n.drawRange.start*f,p=n.drawRange.count*f,m=null!==o?o.start*f:0,y=null!==o?o.count*f:1/0,g=Math.max(d,m),x=Math.min(v,d+p,m+y)-1,b=Math.max(0,x-g+1);if(0!==b){if(i.isMesh)!0===r.wireframe?(N.setLineWidth(r.wireframeLinewidth*U()),h.setMode(1)):h.setMode(4);else if(i.isLine){let e=r.linewidth;void 0===e&&(e=1),N.setLineWidth(e*U()),i.isLineSegments?h.setMode(1):i.isLineLoop?h.setMode(2):h.setMode(3)}else i.isPoints?h.setMode(0):i.isSprite&&h.setMode(4);if(i.isInstancedMesh)h.renderInstances(g,b,i.count);else if(n.isInstancedBufferGeometry){const e=Math.min(n.instanceCount,n._maxInstanceCount);h.renderInstances(g,b,e)}else h.render(g,b)}},this.compile=function(e,t){h=ee.get(e),h.init(),e.traverseVisible((function(e){e.isLight&&e.layers.test(t.layers)&&(h.pushLight(e),e.castShadow&&h.pushShadow(e))})),h.setupLights(),e.traverse((function(t){const n=t.material;if(n)if(Array.isArray(n))for(let r=0;r<n.length;r++)_e(n[r],e,t);else _e(n,e,t)}))};let me=null;function ye(){xe.stop()}function ge(){xe.start()}const xe=new Uo;function be(e,t,n,r){if(!1===e.visible)return;if(e.layers.test(t.layers))if(e.isGroup)n=e.renderOrder;else if(e.isLOD)!0===e.autoUpdate&&e.update(t);else if(e.isLight)h.pushLight(e),e.castShadow&&h.pushShadow(e);else if(e.isSprite){if(!e.frustumCulled||O.intersectsSprite(e)){r&&F.setFromMatrixPosition(e.matrixWorld).applyMatrix4(k);const t=X.update(e),i=e.material;i.visible&&f.push(e,t,i,n,F.z,null)}}else if(e.isImmediateRenderObject)r&&F.setFromMatrixPosition(e.matrixWorld).applyMatrix4(k),f.push(e,null,e.material,n,F.z,null);else if((e.isMesh||e.isLine||e.isPoints)&&(e.isSkinnedMesh&&e.skeleton.frame!==H.render.frame&&(e.skeleton.update(),e.skeleton.frame=H.render.frame),!e.frustumCulled||O.intersectsObject(e))){r&&F.setFromMatrixPosition(e.matrixWorld).applyMatrix4(k);const t=X.update(e),i=e.material;if(Array.isArray(i)){const r=t.groups;for(let o=0,a=r.length;o<a;o++){const a=r[o],s=i[a.materialIndex];s&&s.visible&&f.push(e,t,s,n,F.z,a)}}else i.visible&&f.push(e,t,i,n,F.z,null)}const i=e.children;for(let e=0,o=i.length;e<o;e++)be(i[e],t,n,r)}function we(e,t,n){const r=!0===t.isScene?t.overrideMaterial:null;for(let i=0,o=e.length;i<o;i++){const o=e[i],a=o.object,s=o.geometry,c=null===r?o.material:r,u=o.group;if(n.isArrayCamera){const e=n.cameras;for(let n=0,r=e.length;n<r;n++){const r=e[n];a.layers.test(r.layers)&&(N.viewport(M.copy(r.viewport)),h.setupLightsView(r),Me(a,t,r,s,c,u))}}else Me(a,t,n,s,c,u)}}function Me(e,t,n,r,i,o){if(e.onBeforeRender(p,t,n,r,i,o),e.modelViewMatrix.multiplyMatrices(n.matrixWorldInverse,e.matrixWorld),e.normalMatrix.getNormalMatrix(e.modelViewMatrix),e.isImmediateRenderObject){const r=Te(n,t,i,e);N.setMaterial(i),ce.reset(),function(e,t){e.render((function(e){p.renderBufferImmediate(e,t)}))}(e,r)}else p.renderBufferDirect(n,t,r,i,e,o);e.onAfterRender(p,t,n,r,i,o)}function _e(e,t,n){!0!==t.isScene&&(t=j);const r=V.get(e),i=h.state.lights,o=h.state.shadowsArray,a=i.state.version,s=K.getParameters(e,i.state,o,t,n),c=K.getProgramCacheKey(s);let u=r.programs;r.environment=e.isMeshStandardMaterial?t.environment:null,r.fog=t.fog,r.envMap=Z.get(e.envMap||r.environment),void 0===u&&(e.addEventListener("dispose",pe),u=new Map,r.programs=u);let l=u.get(c);if(void 0!==l){if(r.currentProgram===l&&r.lightsStateVersion===a)return Pe(e,s),l}else s.uniforms=K.getUniforms(e),e.onBuild(s,p),e.onBeforeCompile(s,p),l=K.acquireProgram(s,c),u.set(c,l),r.uniforms=s.uniforms;const f=r.uniforms;(e.isShaderMaterial||e.isRawShaderMaterial)&&!0!==e.clipping||(f.clippingPlanes=te.uniform),Pe(e,s),r.needsLights=function(e){return e.isMeshLambertMaterial||e.isMeshToonMaterial||e.isMeshPhongMaterial||e.isMeshStandardMaterial||e.isShadowMaterial||e.isShaderMaterial&&!0===e.lights}(e),r.lightsStateVersion=a,r.needsLights&&(f.ambientLightColor.value=i.state.ambient,f.lightProbe.value=i.state.probe,f.directionalLights.value=i.state.directional,f.directionalLightShadows.value=i.state.directionalShadow,f.spotLights.value=i.state.spot,f.spotLightShadows.value=i.state.spotShadow,f.rectAreaLights.value=i.state.rectArea,f.ltc_1.value=i.state.rectAreaLTC1,f.ltc_2.value=i.state.rectAreaLTC2,f.pointLights.value=i.state.point,f.pointLightShadows.value=i.state.pointShadow,f.hemisphereLights.value=i.state.hemi,f.directionalShadowMap.value=i.state.directionalShadowMap,f.directionalShadowMatrix.value=i.state.directionalShadowMatrix,f.spotShadowMap.value=i.state.spotShadowMap,f.spotShadowMatrix.value=i.state.spotShadowMatrix,f.pointShadowMap.value=i.state.pointShadowMap,f.pointShadowMatrix.value=i.state.pointShadowMatrix);const v=l.getUniforms(),d=cs.seqWithValue(v.seq,f);return r.currentProgram=l,r.uniformsList=d,l}function Pe(e,t){const n=V.get(e);n.outputEncoding=t.outputEncoding,n.instancing=t.instancing,n.numClippingPlanes=t.numClippingPlanes,n.numIntersection=t.numClipIntersection,n.vertexAlphas=t.vertexAlphas}function Te(e,t,n,r){!0!==t.isScene&&(t=j),W.resetTextureUnits();const i=t.fog,o=n.isMeshStandardMaterial?t.environment:null,a=null===x?p.outputEncoding:x.texture.encoding,s=Z.get(n.envMap||o),c=!0===n.vertexColors&&r.geometry&&r.geometry.attributes.color&&4===r.geometry.attributes.color.itemSize,u=V.get(n),l=h.state.lights;if(!0===D&&(!0===I||e!==w)){const t=e===w&&n.id===b;te.setState(n,e,t)}let f=!1;n.version===u.__version?u.needsLights&&u.lightsStateVersion!==l.state.version||u.outputEncoding!==a||r.isInstancedMesh&&!1===u.instancing?f=!0:r.isInstancedMesh||!0!==u.instancing?u.envMap!==s||n.fog&&u.fog!==i?f=!0:void 0===u.numClippingPlanes||u.numClippingPlanes===te.numPlanes&&u.numIntersection===te.numIntersection?u.vertexAlphas!==c&&(f=!0):f=!0:f=!0:(f=!0,u.__version=n.version);let v=u.currentProgram;!0===f&&(v=_e(n,t,r));let d=!1,m=!1,y=!1;const g=v.getUniforms(),M=u.uniforms;if(N.useProgram(v.program)&&(d=!0,m=!0,y=!0),n.id!==b&&(b=n.id,m=!0),d||w!==e){if(g.setValue(ue,"projectionMatrix",e.projectionMatrix),G.logarithmicDepthBuffer&&g.setValue(ue,"logDepthBufFC",2/(Math.log(e.far+1)/Math.LN2)),w!==e&&(w=e,m=!0,y=!0),n.isShaderMaterial||n.isMeshPhongMaterial||n.isMeshToonMaterial||n.isMeshStandardMaterial||n.envMap){const t=g.map.cameraPosition;void 0!==t&&t.setValue(ue,F.setFromMatrixPosition(e.matrixWorld))}(n.isMeshPhongMaterial||n.isMeshToonMaterial||n.isMeshLambertMaterial||n.isMeshBasicMaterial||n.isMeshStandardMaterial||n.isShaderMaterial)&&g.setValue(ue,"isOrthographic",!0===e.isOrthographicCamera),(n.isMeshPhongMaterial||n.isMeshToonMaterial||n.isMeshLambertMaterial||n.isMeshBasicMaterial||n.isMeshStandardMaterial||n.isShaderMaterial||n.isShadowMaterial||n.skinning)&&g.setValue(ue,"viewMatrix",e.matrixWorldInverse)}if(n.skinning){g.setOptional(ue,r,"bindMatrix"),g.setOptional(ue,r,"bindMatrixInverse");const e=r.skeleton;if(e){const t=e.bones;if(G.floatVertexTextures){if(null===e.boneTexture){let n=Math.sqrt(4*t.length);n=Zn(n),n=Math.max(n,4);const r=new Float32Array(n*n*4);r.set(e.boneMatrices);const i=new Io(r,n,n,je,Le);e.boneMatrices=r,e.boneTexture=i,e.boneTextureSize=n}g.setValue(ue,"boneTexture",e.boneTexture,W),g.setValue(ue,"boneTextureSize",e.boneTextureSize)}else g.setOptional(ue,e,"boneMatrices")}}var _,S;return(m||u.receiveShadow!==r.receiveShadow)&&(u.receiveShadow=r.receiveShadow,g.setValue(ue,"receiveShadow",r.receiveShadow)),m&&(g.setValue(ue,"toneMappingExposure",p.toneMappingExposure),u.needsLights&&(S=y,(_=M).ambientLightColor.needsUpdate=S,_.lightProbe.needsUpdate=S,_.directionalLights.needsUpdate=S,_.directionalLightShadows.needsUpdate=S,_.pointLights.needsUpdate=S,_.pointLightShadows.needsUpdate=S,_.spotLights.needsUpdate=S,_.spotLightShadows.needsUpdate=S,_.rectAreaLights.needsUpdate=S,_.hemisphereLights.needsUpdate=S),i&&n.fog&&Q.refreshFogUniforms(M,i),Q.refreshMaterialUniforms(M,n,R,T),cs.upload(ue,u.uniformsList,M,W)),n.isShaderMaterial&&!0===n.uniformsNeedUpdate&&(cs.upload(ue,u.uniformsList,M,W),n.uniformsNeedUpdate=!1),n.isSpriteMaterial&&g.setValue(ue,"center",r.center),g.setValue(ue,"modelViewMatrix",r.modelViewMatrix),g.setValue(ue,"normalMatrix",r.normalMatrix),g.setValue(ue,"modelMatrix",r.matrixWorld),v}xe.setAnimationLoop((function(e){me&&me(e)})),"undefined"!=typeof window&&xe.setContext(window),this.setAnimationLoop=function(e){me=e,he.setAnimationLoop(e),null===e?xe.stop():xe.start()},he.addEventListener("sessionstart",ye),he.addEventListener("sessionend",ge),this.render=function(e,t){let n,r;if(void 0!==arguments[2]&&(console.warn("THREE.WebGLRenderer.render(): the renderTarget argument has been removed. Use .setRenderTarget() instead."),n=arguments[2]),void 0!==arguments[3]&&(console.warn("THREE.WebGLRenderer.render(): the forceClear argument has been removed. Use .clear() instead."),r=arguments[3]),void 0!==t&&!0!==t.isCamera)return void console.error("THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.");if(!0===m)return;!0===e.autoUpdate&&e.updateMatrixWorld(),null===t.parent&&t.updateMatrixWorld(),!0===he.enabled&&!0===he.isPresenting&&(t=he.getCamera(t)),!0===e.isScene&&e.onBeforeRender(p,e,t,n||x),h=ee.get(e,d.length),h.init(),d.push(h),k.multiplyMatrices(t.projectionMatrix,t.matrixWorldInverse),O.setFromProjectionMatrix(k),I=this.localClippingEnabled,D=te.init(this.clippingPlanes,I,t),f=$.get(e,v.length),f.init(),v.push(f),be(e,t,0,p.sortObjects),f.finish(),!0===p.sortObjects&&f.sort(E,z),!0===D&&te.beginShadows();const i=h.state.shadowsArray;ne.render(i,e,t),h.setupLights(),h.setupLightsView(t),!0===D&&te.endShadows(),!0===this.info.autoReset&&this.info.reset(),void 0!==n&&this.setRenderTarget(n),re.render(f,e,t,r);const o=f.opaque,a=f.transparent;o.length>0&&we(o,e,t),a.length>0&&we(a,e,t),null!==x&&(W.updateRenderTargetMipmap(x),W.updateMultisampleRenderTarget(x)),!0===e.isScene&&e.onAfterRender(p,e,t),N.buffers.depth.setTest(!0),N.buffers.depth.setMask(!0),N.buffers.color.setMask(!0),N.setPolygonOffset(!1),ce.resetDefaultState(),b=-1,w=null,d.pop(),h=d.length>0?d[d.length-1]:null,v.pop(),f=v.length>0?v[v.length-1]:null},this.getActiveCubeFace=function(){return y},this.getActiveMipmapLevel=function(){return g},this.getRenderTarget=function(){return x},this.setRenderTarget=function(e,t=0,n=0){x=e,y=t,g=n,e&&void 0===V.get(e).__webglFramebuffer&&W.setupRenderTarget(e);let r=null,i=!1,o=!1;if(e){const n=e.texture;(n.isDataTexture3D||n.isDataTexture2DArray)&&(o=!0);const a=V.get(e).__webglFramebuffer;e.isWebGLCubeRenderTarget?(r=a[t],i=!0):r=e.isWebGLMultisampleRenderTarget?V.get(e).__webglMultisampledFramebuffer:a,M.copy(e.viewport),_.copy(e.scissor),S=e.scissorTest}else M.copy(L).multiplyScalar(R).floor(),_.copy(C).multiplyScalar(R).floor(),S=A;if(N.bindFramebuffer(36160,r),N.viewport(M),N.scissor(_),N.setScissorTest(S),i){const r=V.get(e.texture);ue.framebufferTexture2D(36160,36064,34069+t,r.__webglTexture,n)}else if(o){const r=V.get(e.texture),i=t||0;ue.framebufferTextureLayer(36160,36064,r.__webglTexture,n||0,i)}},this.readRenderTargetPixels=function(e,t,n,r,i,o,a){if(!e||!e.isWebGLRenderTarget)return void console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");let s=V.get(e).__webglFramebuffer;if(e.isWebGLCubeRenderTarget&&void 0!==a&&(s=s[a]),s){N.bindFramebuffer(36160,s);try{const a=e.texture,s=a.format,c=a.type;if(s!==je&&se.convert(s)!==ue.getParameter(35739))return void console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.");const u=c===Ce&&(B.has("EXT_color_buffer_half_float")||G.isWebGL2&&B.has("EXT_color_buffer_float"));if(!(c===Se||se.convert(c)===ue.getParameter(35738)||c===Le&&(G.isWebGL2||B.has("OES_texture_float")||B.has("WEBGL_color_buffer_float"))||u))return void console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.");36053===ue.checkFramebufferStatus(36160)?t>=0&&t<=e.width-r&&n>=0&&n<=e.height-i&&ue.readPixels(t,n,r,i,se.convert(s),se.convert(c),o):console.error("THREE.WebGLRenderer.readRenderTargetPixels: readPixels from renderTarget failed. Framebuffer not complete.")}finally{const e=null!==x?V.get(x).__webglFramebuffer:null;N.bindFramebuffer(36160,e)}}},this.copyFramebufferToTexture=function(e,t,n=0){const r=Math.pow(2,-n),i=Math.floor(t.image.width*r),o=Math.floor(t.image.height*r),a=se.convert(t.format);W.setTexture2D(t,0),ue.copyTexImage2D(3553,n,a,e.x,e.y,i,o,0),N.unbindTexture()},this.copyTextureToTexture=function(e,t,n,r=0){const i=t.image.width,o=t.image.height,a=se.convert(n.format),s=se.convert(n.type);W.setTexture2D(n,0),ue.pixelStorei(37440,n.flipY),ue.pixelStorei(37441,n.premultiplyAlpha),ue.pixelStorei(3317,n.unpackAlignment),t.isDataTexture?ue.texSubImage2D(3553,r,e.x,e.y,i,o,a,s,t.image.data):t.isCompressedTexture?ue.compressedTexSubImage2D(3553,r,e.x,e.y,t.mipmaps[0].width,t.mipmaps[0].height,a,t.mipmaps[0].data):ue.texSubImage2D(3553,r,e.x,e.y,a,s,t.image),0===r&&n.generateMipmaps&&ue.generateMipmap(3553),N.unbindTexture()},this.copyTextureToTexture3D=function(e,t,n,r,i=0){if(p.isWebGL1Renderer)return void console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: can only be used with WebGL2.");const{width:o,height:a,data:s}=n.image,c=se.convert(r.format),u=se.convert(r.type);let l;if(r.isDataTexture3D)W.setTexture3D(r,0),l=32879;else{if(!r.isDataTexture2DArray)return void console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: only supports THREE.DataTexture3D and THREE.DataTexture2DArray.");W.setTexture2DArray(r,0),l=35866}ue.pixelStorei(37440,r.flipY),ue.pixelStorei(37441,r.premultiplyAlpha),ue.pixelStorei(3317,r.unpackAlignment);const f=ue.getParameter(3314),h=ue.getParameter(32878),v=ue.getParameter(3316),d=ue.getParameter(3315),m=ue.getParameter(32877);ue.pixelStorei(3314,o),ue.pixelStorei(32878,a),ue.pixelStorei(3316,e.min.x),ue.pixelStorei(3315,e.min.y),ue.pixelStorei(32877,e.min.z),ue.texSubImage3D(l,i,t.x,t.y,t.z,e.max.x-e.min.x+1,e.max.y-e.min.y+1,e.max.z-e.min.z+1,c,u,s),ue.pixelStorei(3314,f),ue.pixelStorei(32878,h),ue.pixelStorei(3316,v),ue.pixelStorei(3315,d),ue.pixelStorei(32877,m),0===i&&r.generateMipmaps&&ue.generateMipmap(l),N.unbindTexture()},this.initTexture=function(e){W.setTexture2D(e,0),N.unbindTexture()},this.resetState=function(){y=0,g=0,x=null,N.reset(),ce.reset()},"undefined"!=typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}class ec extends $s{}ec.prototype.isWebGL1Renderer=!0;class tc{constructor(e,t=25e-5){this.name="",this.color=new Ai(e),this.density=t}clone(){return new tc(this.color,this.density)}toJSON(){return{type:"FogExp2",color:this.color.getHex(),density:this.density}}}tc.prototype.isFogExp2=!0;class nc{constructor(e,t=1,n=1e3){this.name="",this.color=new Ai(e),this.near=t,this.far=n}clone(){return new nc(this.color,this.near,this.far)}toJSON(){return{type:"Fog",color:this.color.getHex(),near:this.near,far:this.far}}}nc.prototype.isFog=!0;class rc extends ci{constructor(){super(),this.type="Scene",this.background=null,this.environment=null,this.fog=null,this.overrideMaterial=null,this.autoUpdate=!0,"undefined"!=typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}copy(e,t){return super.copy(e,t),null!==e.background&&(this.background=e.background.clone()),null!==e.environment&&(this.environment=e.environment.clone()),null!==e.fog&&(this.fog=e.fog.clone()),null!==e.overrideMaterial&&(this.overrideMaterial=e.overrideMaterial.clone()),this.autoUpdate=e.autoUpdate,this.matrixAutoUpdate=e.matrixAutoUpdate,this}toJSON(e){const t=super.toJSON(e);return null!==this.background&&(t.object.background=this.background.toJSON(e)),null!==this.environment&&(t.object.environment=this.environment.toJSON(e)),null!==this.fog&&(t.object.fog=this.fog.toJSON()),t}}rc.prototype.isScene=!0;class ic{constructor(e,t){this.array=e,this.stride=t,this.count=void 0!==e?e.length/t:0,this.usage=Pn,this.updateRange={offset:0,count:-1},this.version=0,this.uuid=Gn(),this.onUploadCallback=function(){}}set needsUpdate(e){!0===e&&this.version++}setUsage(e){return this.usage=e,this}copy(e){return this.array=new e.array.constructor(e.array),this.count=e.count,this.stride=e.stride,this.usage=e.usage,this}copyAt(e,t,n){e*=this.stride,n*=t.stride;for(let r=0,i=this.stride;r<i;r++)this.array[e+r]=t.array[n+r];return this}set(e,t=0){return this.array.set(e,t),this}clone(e){void 0===e.arrayBuffers&&(e.arrayBuffers={}),void 0===this.array.buffer._uuid&&(this.array.buffer._uuid=Gn()),void 0===e.arrayBuffers[this.array.buffer._uuid]&&(e.arrayBuffers[this.array.buffer._uuid]=this.array.slice(0).buffer);const t=new this.array.constructor(e.arrayBuffers[this.array.buffer._uuid]),n=new ic(t,this.stride);return n.setUsage(this.usage),n}onUpload(e){return this.onUploadCallback=e,this}toJSON(e){return void 0===e.arrayBuffers&&(e.arrayBuffers={}),void 0===this.array.buffer._uuid&&(this.array.buffer._uuid=Gn()),void 0===e.arrayBuffers[this.array.buffer._uuid]&&(e.arrayBuffers[this.array.buffer._uuid]=Array.prototype.slice.call(new Uint32Array(this.array.buffer))),{uuid:this.uuid,buffer:this.array.buffer._uuid,type:this.array.constructor.name,stride:this.stride}}}ic.prototype.isInterleavedBuffer=!0;const oc=new ar;class ac{constructor(e,t,n,r){this.name="",this.data=e,this.itemSize=t,this.offset=n,this.normalized=!0===r}get count(){return this.data.count}get array(){return this.data.array}set needsUpdate(e){this.data.needsUpdate=e}applyMatrix4(e){for(let t=0,n=this.data.count;t<n;t++)oc.x=this.getX(t),oc.y=this.getY(t),oc.z=this.getZ(t),oc.applyMatrix4(e),this.setXYZ(t,oc.x,oc.y,oc.z);return this}applyNormalMatrix(e){for(let t=0,n=this.count;t<n;t++)oc.x=this.getX(t),oc.y=this.getY(t),oc.z=this.getZ(t),oc.applyNormalMatrix(e),this.setXYZ(t,oc.x,oc.y,oc.z);return this}transformDirection(e){for(let t=0,n=this.count;t<n;t++)oc.x=this.getX(t),oc.y=this.getY(t),oc.z=this.getZ(t),oc.transformDirection(e),this.setXYZ(t,oc.x,oc.y,oc.z);return this}setX(e,t){return this.data.array[e*this.data.stride+this.offset]=t,this}setY(e,t){return this.data.array[e*this.data.stride+this.offset+1]=t,this}setZ(e,t){return this.data.array[e*this.data.stride+this.offset+2]=t,this}setW(e,t){return this.data.array[e*this.data.stride+this.offset+3]=t,this}getX(e){return this.data.array[e*this.data.stride+this.offset]}getY(e){return this.data.array[e*this.data.stride+this.offset+1]}getZ(e){return this.data.array[e*this.data.stride+this.offset+2]}getW(e){return this.data.array[e*this.data.stride+this.offset+3]}setXY(e,t,n){return e=e*this.data.stride+this.offset,this.data.array[e+0]=t,this.data.array[e+1]=n,this}setXYZ(e,t,n,r){return e=e*this.data.stride+this.offset,this.data.array[e+0]=t,this.data.array[e+1]=n,this.data.array[e+2]=r,this}setXYZW(e,t,n,r,i){return e=e*this.data.stride+this.offset,this.data.array[e+0]=t,this.data.array[e+1]=n,this.data.array[e+2]=r,this.data.array[e+3]=i,this}clone(e){if(void 0===e){console.log("THREE.InterleavedBufferAttribute.clone(): Cloning an interlaved buffer attribute will deinterleave buffer data.");const e=[];for(let t=0;t<this.count;t++){const n=t*this.data.stride+this.offset;for(let t=0;t<this.itemSize;t++)e.push(this.data.array[n+t])}return new ki(new this.array.constructor(e),this.itemSize,this.normalized)}return void 0===e.interleavedBuffers&&(e.interleavedBuffers={}),void 0===e.interleavedBuffers[this.data.uuid]&&(e.interleavedBuffers[this.data.uuid]=this.data.clone(e)),new ac(e.interleavedBuffers[this.data.uuid],this.itemSize,this.offset,this.normalized)}toJSON(e){if(void 0===e){console.log("THREE.InterleavedBufferAttribute.toJSON(): Serializing an interlaved buffer attribute will deinterleave buffer data.");const e=[];for(let t=0;t<this.count;t++){const n=t*this.data.stride+this.offset;for(let t=0;t<this.itemSize;t++)e.push(this.data.array[n+t])}return{itemSize:this.itemSize,type:this.array.constructor.name,array:e,normalized:this.normalized}}return void 0===e.interleavedBuffers&&(e.interleavedBuffers={}),void 0===e.interleavedBuffers[this.data.uuid]&&(e.interleavedBuffers[this.data.uuid]=this.data.toJSON(e)),{isInterleavedBufferAttribute:!0,itemSize:this.itemSize,data:this.data.uuid,offset:this.offset,normalized:this.normalized}}}ac.prototype.isInterleavedBufferAttribute=!0;class sc extends Pi{constructor(e){super(),this.type="SpriteMaterial",this.color=new Ai(16777215),this.map=null,this.alphaMap=null,this.rotation=0,this.sizeAttenuation=!0,this.transparent=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.alphaMap=e.alphaMap,this.rotation=e.rotation,this.sizeAttenuation=e.sizeAttenuation,this}}let cc;sc.prototype.isSpriteMaterial=!0;const uc=new ar,lc=new ar,fc=new ar,hc=new Xn,vc=new Xn,dc=new Fr,pc=new ar,mc=new ar,yc=new ar,gc=new Xn,xc=new Xn,bc=new Xn;class wc extends ci{constructor(e){if(super(),this.type="Sprite",void 0===cc){cc=new ro;const e=new Float32Array([-.5,-.5,0,0,0,.5,-.5,0,1,0,.5,.5,0,1,1,-.5,.5,0,0,1]),t=new ic(e,5);cc.setIndex([0,1,2,0,2,3]),cc.setAttribute("position",new ac(t,3,0,!1)),cc.setAttribute("uv",new ac(t,2,3,!1))}this.geometry=cc,this.material=void 0!==e?e:new sc,this.center=new Xn(.5,.5)}raycast(e,t){null===e.camera&&console.error('THREE.Sprite: "Raycaster.camera" needs to be set in order to raycast against sprites.'),lc.setFromMatrixScale(this.matrixWorld),dc.copy(e.camera.matrixWorld),this.modelViewMatrix.multiplyMatrices(e.camera.matrixWorldInverse,this.matrixWorld),fc.setFromMatrixPosition(this.modelViewMatrix),e.camera.isPerspectiveCamera&&!1===this.material.sizeAttenuation&&lc.multiplyScalar(-fc.z);const n=this.material.rotation;let r,i;0!==n&&(i=Math.cos(n),r=Math.sin(n));const o=this.center;Mc(pc.set(-.5,-.5,0),fc,o,lc,r,i),Mc(mc.set(.5,-.5,0),fc,o,lc,r,i),Mc(yc.set(.5,.5,0),fc,o,lc,r,i),gc.set(0,0),xc.set(1,0),bc.set(1,1);let a=e.ray.intersectTriangle(pc,mc,yc,!1,uc);if(null===a&&(Mc(mc.set(-.5,.5,0),fc,o,lc,r,i),xc.set(0,1),a=e.ray.intersectTriangle(pc,yc,mc,!1,uc),null===a))return;const s=e.ray.origin.distanceTo(uc);s<e.near||s>e.far||t.push({distance:s,point:uc.clone(),uv:_i.getUV(uc,pc,mc,yc,gc,xc,bc,new Xn),face:null,object:this})}copy(e){return super.copy(e),void 0!==e.center&&this.center.copy(e.center),this.material=e.material,this}}function Mc(e,t,n,r,i,o){hc.subVectors(e,n).addScalar(.5).multiply(r),void 0!==i?(vc.x=o*hc.x-i*hc.y,vc.y=i*hc.x+o*hc.y):vc.copy(hc),e.copy(t),e.x+=vc.x,e.y+=vc.y,e.applyMatrix4(dc)}wc.prototype.isSprite=!0;const _c=new ar,Sc=new ar;class Pc extends ci{constructor(){super(),this._currentLevel=0,this.type="LOD",Object.defineProperties(this,{levels:{enumerable:!0,value:[]},isLOD:{value:!0}}),this.autoUpdate=!0}copy(e){super.copy(e,!1);const t=e.levels;for(let e=0,n=t.length;e<n;e++){const n=t[e];this.addLevel(n.object.clone(),n.distance)}return this.autoUpdate=e.autoUpdate,this}addLevel(e,t=0){t=Math.abs(t);const n=this.levels;let r;for(r=0;r<n.length&&!(t<n[r].distance);r++);return n.splice(r,0,{distance:t,object:e}),this.add(e),this}getCurrentLevel(){return this._currentLevel}getObjectForDistance(e){const t=this.levels;if(t.length>0){let n,r;for(n=1,r=t.length;n<r&&!(e<t[n].distance);n++);return t[n-1].object}return null}raycast(e,t){if(this.levels.length>0){_c.setFromMatrixPosition(this.matrixWorld);const n=e.ray.origin.distanceTo(_c);this.getObjectForDistance(n).raycast(e,t)}}update(e){const t=this.levels;if(t.length>1){_c.setFromMatrixPosition(e.matrixWorld),Sc.setFromMatrixPosition(this.matrixWorld);const n=_c.distanceTo(Sc)/e.zoom;let r,i;for(t[0].object.visible=!0,r=1,i=t.length;r<i&&n>=t[r].distance;r++)t[r-1].object.visible=!1,t[r].object.visible=!0;for(this._currentLevel=r-1;r<i;r++)t[r].object.visible=!1}}toJSON(e){const t=super.toJSON(e);!1===this.autoUpdate&&(t.object.autoUpdate=!1),t.object.levels=[];const n=this.levels;for(let e=0,r=n.length;e<r;e++){const r=n[e];t.object.levels.push({object:r.object.uuid,distance:r.distance})}return t}}const Tc=new ar,Rc=new nr,Ec=new nr,zc=new ar,Lc=new Fr;class Cc extends Mo{constructor(e,t){super(e,t),this.type="SkinnedMesh",this.bindMode="attached",this.bindMatrix=new Fr,this.bindMatrixInverse=new Fr}copy(e){return super.copy(e),this.bindMode=e.bindMode,this.bindMatrix.copy(e.bindMatrix),this.bindMatrixInverse.copy(e.bindMatrixInverse),this.skeleton=e.skeleton,this}bind(e,t){this.skeleton=e,void 0===t&&(this.updateMatrixWorld(!0),this.skeleton.calculateInverses(),t=this.matrixWorld),this.bindMatrix.copy(t),this.bindMatrixInverse.copy(t).invert()}pose(){this.skeleton.pose()}normalizeSkinWeights(){const e=new nr,t=this.geometry.attributes.skinWeight;for(let n=0,r=t.count;n<r;n++){e.x=t.getX(n),e.y=t.getY(n),e.z=t.getZ(n),e.w=t.getW(n);const r=1/e.manhattanLength();r!==1/0?e.multiplyScalar(r):e.set(1,0,0,0),t.setXYZW(n,e.x,e.y,e.z,e.w)}}updateMatrixWorld(e){super.updateMatrixWorld(e),"attached"===this.bindMode?this.bindMatrixInverse.copy(this.matrixWorld).invert():"detached"===this.bindMode?this.bindMatrixInverse.copy(this.bindMatrix).invert():console.warn("THREE.SkinnedMesh: Unrecognized bindMode: "+this.bindMode)}boneTransform(e,t){const n=this.skeleton,r=this.geometry;Rc.fromBufferAttribute(r.attributes.skinIndex,e),Ec.fromBufferAttribute(r.attributes.skinWeight,e),Tc.fromBufferAttribute(r.attributes.position,e).applyMatrix4(this.bindMatrix),t.set(0,0,0);for(let e=0;e<4;e++){const r=Ec.getComponent(e);if(0!==r){const i=Rc.getComponent(e);Lc.multiplyMatrices(n.bones[i].matrixWorld,n.boneInverses[i]),t.addScaledVector(zc.copy(Tc).applyMatrix4(Lc),r)}}return t.applyMatrix4(this.bindMatrixInverse)}}Cc.prototype.isSkinnedMesh=!0;class Ac extends ci{constructor(){super(),this.type="Bone"}}Ac.prototype.isBone=!0;const Oc=new Fr,Dc=new Fr;class Ic{constructor(e=[],t=[]){this.uuid=Gn(),this.bones=e.slice(0),this.boneInverses=t,this.boneMatrices=null,this.boneTexture=null,this.boneTextureSize=0,this.frame=-1,this.init()}init(){const e=this.bones,t=this.boneInverses;if(this.boneMatrices=new Float32Array(16*e.length),0===t.length)this.calculateInverses();else if(e.length!==t.length){console.warn("THREE.Skeleton: Number of inverse bone matrices does not match amount of bones."),this.boneInverses=[];for(let e=0,t=this.bones.length;e<t;e++)this.boneInverses.push(new Fr)}}calculateInverses(){this.boneInverses.length=0;for(let e=0,t=this.bones.length;e<t;e++){const t=new Fr;this.bones[e]&&t.copy(this.bones[e].matrixWorld).invert(),this.boneInverses.push(t)}}pose(){for(let e=0,t=this.bones.length;e<t;e++){const t=this.bones[e];t&&t.matrixWorld.copy(this.boneInverses[e]).invert()}for(let e=0,t=this.bones.length;e<t;e++){const t=this.bones[e];t&&(t.parent&&t.parent.isBone?(t.matrix.copy(t.parent.matrixWorld).invert(),t.matrix.multiply(t.matrixWorld)):t.matrix.copy(t.matrixWorld),t.matrix.decompose(t.position,t.quaternion,t.scale))}}update(){const e=this.bones,t=this.boneInverses,n=this.boneMatrices,r=this.boneTexture;for(let r=0,i=e.length;r<i;r++){const i=e[r]?e[r].matrixWorld:Dc;Oc.multiplyMatrices(i,t[r]),Oc.toArray(n,16*r)}null!==r&&(r.needsUpdate=!0)}clone(){return new Ic(this.bones,this.boneInverses)}getBoneByName(e){for(let t=0,n=this.bones.length;t<n;t++){const n=this.bones[t];if(n.name===e)return n}}dispose(){null!==this.boneTexture&&(this.boneTexture.dispose(),this.boneTexture=null)}fromJSON(e,t){this.uuid=e.uuid;for(let n=0,r=e.bones.length;n<r;n++){const r=e.bones[n];let i=t[r];void 0===i&&(console.warn("THREE.Skeleton: No bone found with UUID:",r),i=new Ac),this.bones.push(i),this.boneInverses.push((new Fr).fromArray(e.boneInverses[n]))}return this.init(),this}toJSON(){const e={metadata:{version:4.5,type:"Skeleton",generator:"Skeleton.toJSON"},bones:[],boneInverses:[]};e.uuid=this.uuid;const t=this.bones,n=this.boneInverses;for(let r=0,i=t.length;r<i;r++){const i=t[r];e.bones.push(i.uuid);const o=n[r];e.boneInverses.push(o.toArray())}return e}}const kc=new Fr,Fc=new Fr,jc=[],Uc=new Mo;class Bc extends Mo{constructor(e,t,n){super(e,t),this.instanceMatrix=new ki(new Float32Array(16*n),16),this.instanceColor=null,this.count=n,this.frustumCulled=!1}copy(e){return super.copy(e),this.instanceMatrix.copy(e.instanceMatrix),null!==e.instanceColor&&(this.instanceColor=e.instanceColor.clone()),this.count=e.count,this}getColorAt(e,t){t.fromArray(this.instanceColor.array,3*e)}getMatrixAt(e,t){t.fromArray(this.instanceMatrix.array,16*e)}raycast(e,t){const n=this.matrixWorld,r=this.count;if(Uc.geometry=this.geometry,Uc.material=this.material,void 0!==Uc.material)for(let i=0;i<r;i++){this.getMatrixAt(i,kc),Fc.multiplyMatrices(n,kc),Uc.matrixWorld=Fc,Uc.raycast(e,jc);for(let e=0,n=jc.length;e<n;e++){const n=jc[e];n.instanceId=i,n.object=this,t.push(n)}jc.length=0}}setColorAt(e,t){null===this.instanceColor&&(this.instanceColor=new ki(new Float32Array(3*this.count),3)),t.toArray(this.instanceColor.array,3*e)}setMatrixAt(e,t){t.toArray(this.instanceMatrix.array,16*e)}updateMorphTargets(){}dispose(){this.dispatchEvent({type:"dispose"})}}Bc.prototype.isInstancedMesh=!0;class Gc extends Pi{constructor(e){super(),this.type="LineBasicMaterial",this.color=new Ai(16777215),this.linewidth=1,this.linecap="round",this.linejoin="round",this.morphTargets=!1,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.linewidth=e.linewidth,this.linecap=e.linecap,this.linejoin=e.linejoin,this.morphTargets=e.morphTargets,this}}Gc.prototype.isLineBasicMaterial=!0;const Nc=new ar,Hc=new ar,Vc=new Fr,Wc=new kr,Zc=new Er;class qc extends ci{constructor(e=new ro,t=new Gc){super(),this.type="Line",this.geometry=e,this.material=t,this.updateMorphTargets()}copy(e){return super.copy(e),this.material=e.material,this.geometry=e.geometry,this}computeLineDistances(){const e=this.geometry;if(e.isBufferGeometry)if(null===e.index){const t=e.attributes.position,n=[0];for(let e=1,r=t.count;e<r;e++)Nc.fromBufferAttribute(t,e-1),Hc.fromBufferAttribute(t,e),n[e]=n[e-1],n[e]+=Nc.distanceTo(Hc);e.setAttribute("lineDistance",new Wi(n,1))}else console.warn("THREE.Line.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");else e.isGeometry&&console.error("THREE.Line.computeLineDistances() no longer supports THREE.Geometry. Use THREE.BufferGeometry instead.");return this}raycast(e,t){const n=this.geometry,r=this.matrixWorld,i=e.params.Line.threshold,o=n.drawRange;if(null===n.boundingSphere&&n.computeBoundingSphere(),Zc.copy(n.boundingSphere),Zc.applyMatrix4(r),Zc.radius+=i,!1===e.ray.intersectsSphere(Zc))return;Vc.copy(r).invert(),Wc.copy(e.ray).applyMatrix4(Vc);const a=i/((this.scale.x+this.scale.y+this.scale.z)/3),s=a*a,c=new ar,u=new ar,l=new ar,f=new ar,h=this.isLineSegments?2:1;if(n.isBufferGeometry){const r=n.index,i=n.attributes.position;if(null!==r)for(let n=Math.max(0,o.start),a=Math.min(r.count,o.start+o.count)-1;n<a;n+=h){const o=r.getX(n),a=r.getX(n+1);if(c.fromBufferAttribute(i,o),u.fromBufferAttribute(i,a),Wc.distanceSqToSegment(c,u,f,l)>s)continue;f.applyMatrix4(this.matrixWorld);const h=e.ray.origin.distanceTo(f);h<e.near||h>e.far||t.push({distance:h,point:l.clone().applyMatrix4(this.matrixWorld),index:n,face:null,faceIndex:null,object:this})}else for(let n=Math.max(0,o.start),r=Math.min(i.count,o.start+o.count)-1;n<r;n+=h){if(c.fromBufferAttribute(i,n),u.fromBufferAttribute(i,n+1),Wc.distanceSqToSegment(c,u,f,l)>s)continue;f.applyMatrix4(this.matrixWorld);const r=e.ray.origin.distanceTo(f);r<e.near||r>e.far||t.push({distance:r,point:l.clone().applyMatrix4(this.matrixWorld),index:n,face:null,faceIndex:null,object:this})}}else n.isGeometry&&console.error("THREE.Line.raycast() no longer supports THREE.Geometry. Use THREE.BufferGeometry instead.")}updateMorphTargets(){const e=this.geometry;if(e.isBufferGeometry){const t=e.morphAttributes,n=Object.keys(t);if(n.length>0){const e=t[n[0]];if(void 0!==e){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let t=0,n=e.length;t<n;t++){const n=e[t].name||String(t);this.morphTargetInfluences.push(0),this.morphTargetDictionary[n]=t}}}}else{const t=e.morphTargets;void 0!==t&&t.length>0&&console.error("THREE.Line.updateMorphTargets() does not support THREE.Geometry. Use THREE.BufferGeometry instead.")}}}qc.prototype.isLine=!0;const Yc=new ar,Xc=new ar;class Kc extends qc{constructor(e,t){super(e,t),this.type="LineSegments"}computeLineDistances(){const e=this.geometry;if(e.isBufferGeometry)if(null===e.index){const t=e.attributes.position,n=[];for(let e=0,r=t.count;e<r;e+=2)Yc.fromBufferAttribute(t,e),Xc.fromBufferAttribute(t,e+1),n[e]=0===e?0:n[e-1],n[e+1]=n[e]+Yc.distanceTo(Xc);e.setAttribute("lineDistance",new Wi(n,1))}else console.warn("THREE.LineSegments.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");else e.isGeometry&&console.error("THREE.LineSegments.computeLineDistances() no longer supports THREE.Geometry. Use THREE.BufferGeometry instead.");return this}}Kc.prototype.isLineSegments=!0;class Qc extends qc{constructor(e,t){super(e,t),this.type="LineLoop"}}Qc.prototype.isLineLoop=!0;class Jc extends Pi{constructor(e){super(),this.type="PointsMaterial",this.color=new Ai(16777215),this.map=null,this.alphaMap=null,this.size=1,this.sizeAttenuation=!0,this.morphTargets=!1,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.alphaMap=e.alphaMap,this.size=e.size,this.sizeAttenuation=e.sizeAttenuation,this.morphTargets=e.morphTargets,this}}Jc.prototype.isPointsMaterial=!0;const $c=new Fr,eu=new kr,tu=new Er,nu=new ar;class ru extends ci{constructor(e=new ro,t=new Jc){super(),this.type="Points",this.geometry=e,this.material=t,this.updateMorphTargets()}copy(e){return super.copy(e),this.material=e.material,this.geometry=e.geometry,this}raycast(e,t){const n=this.geometry,r=this.matrixWorld,i=e.params.Points.threshold,o=n.drawRange;if(null===n.boundingSphere&&n.computeBoundingSphere(),tu.copy(n.boundingSphere),tu.applyMatrix4(r),tu.radius+=i,!1===e.ray.intersectsSphere(tu))return;$c.copy(r).invert(),eu.copy(e.ray).applyMatrix4($c);const a=i/((this.scale.x+this.scale.y+this.scale.z)/3),s=a*a;if(n.isBufferGeometry){const i=n.index,a=n.attributes.position;if(null!==i)for(let n=Math.max(0,o.start),c=Math.min(i.count,o.start+o.count);n<c;n++){const o=i.getX(n);nu.fromBufferAttribute(a,o),iu(nu,o,s,r,e,t,this)}else for(let n=Math.max(0,o.start),i=Math.min(a.count,o.start+o.count);n<i;n++)nu.fromBufferAttribute(a,n),iu(nu,n,s,r,e,t,this)}else console.error("THREE.Points.raycast() no longer supports THREE.Geometry. Use THREE.BufferGeometry instead.")}updateMorphTargets(){const e=this.geometry;if(e.isBufferGeometry){const t=e.morphAttributes,n=Object.keys(t);if(n.length>0){const e=t[n[0]];if(void 0!==e){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let t=0,n=e.length;t<n;t++){const n=e[t].name||String(t);this.morphTargetInfluences.push(0),this.morphTargetDictionary[n]=t}}}}else{const t=e.morphTargets;void 0!==t&&t.length>0&&console.error("THREE.Points.updateMorphTargets() does not support THREE.Geometry. Use THREE.BufferGeometry instead.")}}}function iu(e,t,n,r,i,o,a){const s=eu.distanceSqToPoint(e);if(s<n){const n=new ar;eu.closestPointToPoint(e,n),n.applyMatrix4(r);const c=i.ray.origin.distanceTo(n);if(c<i.near||c>i.far)return;o.push({distance:c,distanceToRay:Math.sqrt(s),point:n,index:t,face:null,object:a})}}ru.prototype.isPoints=!0;class ou extends er{constructor(e,t,n,r,i,o,a,s,c){super(e,t,n,r,i,o,a,s,c),this.format=void 0!==a?a:Fe,this.minFilter=void 0!==o?o:xe,this.magFilter=void 0!==i?i:xe,this.generateMipmaps=!1;const u=this;"requestVideoFrameCallback"in e&&e.requestVideoFrameCallback((function t(){u.needsUpdate=!0,e.requestVideoFrameCallback(t)}))}clone(){return new this.constructor(this.image).copy(this)}update(){const e=this.image;!1=="requestVideoFrameCallback"in e&&e.readyState>=e.HAVE_CURRENT_DATA&&(this.needsUpdate=!0)}}ou.prototype.isVideoTexture=!0;class au extends er{constructor(e,t,n,r,i,o,a,s,c,u,l,f){super(null,o,a,s,c,u,r,i,l,f),this.image={width:t,height:n},this.mipmaps=e,this.flipY=!1,this.generateMipmaps=!1}}au.prototype.isCompressedTexture=!0;class su extends er{constructor(e,t,n,r,i,o,a,s,c){super(e,t,n,r,i,o,a,s,c),this.needsUpdate=!0}}su.prototype.isCanvasTexture=!0;class cu extends er{constructor(e,t,n,r,i,o,a,s,c,u){if((u=void 0!==u?u:Ne)!==Ne&&u!==He)throw new Error("DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat");void 0===n&&u===Ne&&(n=Re),void 0===n&&u===He&&(n=Ie),super(null,r,i,o,a,s,u,n,c),this.image={width:e,height:t},this.magFilter=void 0!==a?a:de,this.minFilter=void 0!==s?s:de,this.flipY=!1,this.generateMipmaps=!1}}cu.prototype.isDepthTexture=!0;class uu extends ro{constructor(e=1,t=8,n=0,r=2*Math.PI){super(),this.type="CircleGeometry",this.parameters={radius:e,segments:t,thetaStart:n,thetaLength:r},t=Math.max(3,t);const i=[],o=[],a=[],s=[],c=new ar,u=new Xn;o.push(0,0,0),a.push(0,0,1),s.push(.5,.5);for(let i=0,l=3;i<=t;i++,l+=3){const f=n+i/t*r;c.x=e*Math.cos(f),c.y=e*Math.sin(f),o.push(c.x,c.y,c.z),a.push(0,0,1),u.x=(o[l]/e+1)/2,u.y=(o[l+1]/e+1)/2,s.push(u.x,u.y)}for(let e=1;e<=t;e++)i.push(e,e+1,0);this.setIndex(i),this.setAttribute("position",new Wi(o,3)),this.setAttribute("normal",new Wi(a,3)),this.setAttribute("uv",new Wi(s,2))}}class lu extends ro{constructor(e=1,t=1,n=1,r=8,i=1,o=!1,a=0,s=2*Math.PI){super(),this.type="CylinderGeometry",this.parameters={radiusTop:e,radiusBottom:t,height:n,radialSegments:r,heightSegments:i,openEnded:o,thetaStart:a,thetaLength:s};const c=this;r=Math.floor(r),i=Math.floor(i);const u=[],l=[],f=[],h=[];let v=0;const d=[],p=n/2;let m=0;function y(n){const i=v,o=new Xn,d=new ar;let y=0;const g=!0===n?e:t,x=!0===n?1:-1;for(let e=1;e<=r;e++)l.push(0,p*x,0),f.push(0,x,0),h.push(.5,.5),v++;const b=v;for(let e=0;e<=r;e++){const t=e/r*s+a,n=Math.cos(t),i=Math.sin(t);d.x=g*i,d.y=p*x,d.z=g*n,l.push(d.x,d.y,d.z),f.push(0,x,0),o.x=.5*n+.5,o.y=.5*i*x+.5,h.push(o.x,o.y),v++}for(let e=0;e<r;e++){const t=i+e,r=b+e;!0===n?u.push(r,r+1,t):u.push(r+1,r,t),y+=3}c.addGroup(m,y,!0===n?1:2),m+=y}!function(){const o=new ar,y=new ar;let g=0;const x=(t-e)/n;for(let c=0;c<=i;c++){const u=[],m=c/i,g=m*(t-e)+e;for(let e=0;e<=r;e++){const t=e/r,i=t*s+a,c=Math.sin(i),d=Math.cos(i);y.x=g*c,y.y=-m*n+p,y.z=g*d,l.push(y.x,y.y,y.z),o.set(c,x,d).normalize(),f.push(o.x,o.y,o.z),h.push(t,1-m),u.push(v++)}d.push(u)}for(let e=0;e<r;e++)for(let t=0;t<i;t++){const n=d[t][e],r=d[t+1][e],i=d[t+1][e+1],o=d[t][e+1];u.push(n,r,o),u.push(r,i,o),g+=6}c.addGroup(m,g,0),m+=g}(),!1===o&&(e>0&&y(!0),t>0&&y(!1)),this.setIndex(u),this.setAttribute("position",new Wi(l,3)),this.setAttribute("normal",new Wi(f,3)),this.setAttribute("uv",new Wi(h,2))}}class fu extends lu{constructor(e=1,t=1,n=8,r=1,i=!1,o=0,a=2*Math.PI){super(0,e,t,n,r,i,o,a),this.type="ConeGeometry",this.parameters={radius:e,height:t,radialSegments:n,heightSegments:r,openEnded:i,thetaStart:o,thetaLength:a}}}class hu extends ro{constructor(e,t,n=1,r=0){super(),this.type="PolyhedronGeometry",this.parameters={vertices:e,indices:t,radius:n,detail:r};const i=[],o=[];function a(e,t,n,r){const i=r+1,o=[];for(let r=0;r<=i;r++){o[r]=[];const a=e.clone().lerp(n,r/i),s=t.clone().lerp(n,r/i),c=i-r;for(let e=0;e<=c;e++)o[r][e]=0===e&&r===i?a:a.clone().lerp(s,e/c)}for(let e=0;e<i;e++)for(let t=0;t<2*(i-e)-1;t++){const n=Math.floor(t/2);t%2==0?(s(o[e][n+1]),s(o[e+1][n]),s(o[e][n])):(s(o[e][n+1]),s(o[e+1][n+1]),s(o[e+1][n]))}}function s(e){i.push(e.x,e.y,e.z)}function c(t,n){const r=3*t;n.x=e[r+0],n.y=e[r+1],n.z=e[r+2]}function u(e,t,n,r){r<0&&1===e.x&&(o[t]=e.x-1),0===n.x&&0===n.z&&(o[t]=r/2/Math.PI+.5)}function l(e){return Math.atan2(e.z,-e.x)}!function(e){const n=new ar,r=new ar,i=new ar;for(let o=0;o<t.length;o+=3)c(t[o+0],n),c(t[o+1],r),c(t[o+2],i),a(n,r,i,e)}(r),function(e){const t=new ar;for(let n=0;n<i.length;n+=3)t.x=i[n+0],t.y=i[n+1],t.z=i[n+2],t.normalize().multiplyScalar(e),i[n+0]=t.x,i[n+1]=t.y,i[n+2]=t.z}(n),function(){const e=new ar;for(let n=0;n<i.length;n+=3){e.x=i[n+0],e.y=i[n+1],e.z=i[n+2];const r=l(e)/2/Math.PI+.5,a=(t=e,Math.atan2(-t.y,Math.sqrt(t.x*t.x+t.z*t.z))/Math.PI+.5);o.push(r,1-a)}var t;(function(){const e=new ar,t=new ar,n=new ar,r=new ar,a=new Xn,s=new Xn,c=new Xn;for(let f=0,h=0;f<i.length;f+=9,h+=6){e.set(i[f+0],i[f+1],i[f+2]),t.set(i[f+3],i[f+4],i[f+5]),n.set(i[f+6],i[f+7],i[f+8]),a.set(o[h+0],o[h+1]),s.set(o[h+2],o[h+3]),c.set(o[h+4],o[h+5]),r.copy(e).add(t).add(n).divideScalar(3);const v=l(r);u(a,h+0,e,v),u(s,h+2,t,v),u(c,h+4,n,v)}})(),function(){for(let e=0;e<o.length;e+=6){const t=o[e+0],n=o[e+2],r=o[e+4],i=Math.max(t,n,r),a=Math.min(t,n,r);i>.9&&a<.1&&(t<.2&&(o[e+0]+=1),n<.2&&(o[e+2]+=1),r<.2&&(o[e+4]+=1))}}()}(),this.setAttribute("position",new Wi(i,3)),this.setAttribute("normal",new Wi(i.slice(),3)),this.setAttribute("uv",new Wi(o,2)),0===r?this.computeVertexNormals():this.normalizeNormals()}}class vu extends hu{constructor(e=1,t=0){const n=(1+Math.sqrt(5))/2,r=1/n;super([-1,-1,-1,-1,-1,1,-1,1,-1,-1,1,1,1,-1,-1,1,-1,1,1,1,-1,1,1,1,0,-r,-n,0,-r,n,0,r,-n,0,r,n,-r,-n,0,-r,n,0,r,-n,0,r,n,0,-n,0,-r,n,0,-r,-n,0,r,n,0,r],[3,11,7,3,7,15,3,15,13,7,19,17,7,17,6,7,6,15,17,4,8,17,8,10,17,10,6,8,0,16,8,16,2,8,2,10,0,12,1,0,1,18,0,18,16,6,10,2,6,2,13,6,13,15,2,16,18,2,18,3,2,3,13,18,1,9,18,9,11,18,11,3,4,14,12,4,12,0,4,0,8,11,9,5,11,5,19,11,19,7,19,5,14,19,14,4,19,4,17,1,12,14,1,14,5,1,5,9],e,t),this.type="DodecahedronGeometry",this.parameters={radius:e,detail:t}}}const du=new ar,pu=new ar,mu=new ar,yu=new _i;class gu extends ro{constructor(e,t){if(super(),this.type="EdgesGeometry",this.parameters={thresholdAngle:t},t=void 0!==t?t:1,!0===e.isGeometry)return void console.error("THREE.EdgesGeometry no longer supports THREE.Geometry. Use THREE.BufferGeometry instead.");const n=Math.pow(10,4),r=Math.cos(Un*t),i=e.getIndex(),o=e.getAttribute("position"),a=i?i.count:o.count,s=[0,0,0],c=["a","b","c"],u=new Array(3),l={},f=[];for(let e=0;e<a;e+=3){i?(s[0]=i.getX(e),s[1]=i.getX(e+1),s[2]=i.getX(e+2)):(s[0]=e,s[1]=e+1,s[2]=e+2);const{a:t,b:a,c:h}=yu;if(t.fromBufferAttribute(o,s[0]),a.fromBufferAttribute(o,s[1]),h.fromBufferAttribute(o,s[2]),yu.getNormal(mu),u[0]=`${Math.round(t.x*n)},${Math.round(t.y*n)},${Math.round(t.z*n)}`,u[1]=`${Math.round(a.x*n)},${Math.round(a.y*n)},${Math.round(a.z*n)}`,u[2]=`${Math.round(h.x*n)},${Math.round(h.y*n)},${Math.round(h.z*n)}`,u[0]!==u[1]&&u[1]!==u[2]&&u[2]!==u[0])for(let e=0;e<3;e++){const t=(e+1)%3,n=u[e],i=u[t],o=yu[c[e]],a=yu[c[t]],h=`${n}_${i}`,v=`${i}_${n}`;v in l&&l[v]?(mu.dot(l[v].normal)<=r&&(f.push(o.x,o.y,o.z),f.push(a.x,a.y,a.z)),l[v]=null):h in l||(l[h]={index0:s[e],index1:s[t],normal:mu.clone()})}}for(const e in l)if(l[e]){const{index0:t,index1:n}=l[e];du.fromBufferAttribute(o,t),pu.fromBufferAttribute(o,n),f.push(du.x,du.y,du.z),f.push(pu.x,pu.y,pu.z)}this.setAttribute("position",new Wi(f,3))}}function xu(e,t,n,r,i){let o,a;if(i===function(e,t,n,r){let i=0;for(let o=t,a=n-r;o<n;o+=r)i+=(e[a]-e[o])*(e[o+1]+e[a+1]),a=o;return i}(e,t,n,r)>0)for(o=t;o<n;o+=r)a=Bu(o,e[o],e[o+1],a);else for(o=n-r;o>=t;o-=r)a=Bu(o,e[o],e[o+1],a);return a&&Du(a,a.next)&&(Gu(a),a=a.next),a}function bu(e,t){if(!e)return e;t||(t=e);let n,r=e;do{if(n=!1,r.steiner||!Du(r,r.next)&&0!==Ou(r.prev,r,r.next))r=r.next;else{if(Gu(r),r=t=r.prev,r===r.next)break;n=!0}}while(n||r!==t);return t}function wu(e,t,n,r,i,o,a){if(!e)return;!a&&o&&function(e,t,n,r){let i=e;do{null===i.z&&(i.z=zu(i.x,i.y,t,n,r)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next}while(i!==e);i.prevZ.nextZ=null,i.prevZ=null,function(e){let t,n,r,i,o,a,s,c,u=1;do{for(n=e,e=null,o=null,a=0;n;){for(a++,r=n,s=0,t=0;t<u&&(s++,r=r.nextZ,r);t++);for(c=u;s>0||c>0&&r;)0!==s&&(0===c||!r||n.z<=r.z)?(i=n,n=n.nextZ,s--):(i=r,r=r.nextZ,c--),o?o.nextZ=i:e=i,i.prevZ=o,o=i;n=r}o.nextZ=null,u*=2}while(a>1)}(i)}(e,r,i,o);let s,c,u=e;for(;e.prev!==e.next;)if(s=e.prev,c=e.next,o?_u(e,r,i,o):Mu(e))t.push(s.i/n),t.push(e.i/n),t.push(c.i/n),Gu(e),e=c.next,u=c.next;else if((e=c)===u){a?1===a?wu(e=Su(bu(e),t,n),t,n,r,i,o,2):2===a&&Pu(e,t,n,r,i,o):wu(bu(e),t,n,r,i,o,1);break}}function Mu(e){const t=e.prev,n=e,r=e.next;if(Ou(t,n,r)>=0)return!1;let i=e.next.next;for(;i!==e.prev;){if(Cu(t.x,t.y,n.x,n.y,r.x,r.y,i.x,i.y)&&Ou(i.prev,i,i.next)>=0)return!1;i=i.next}return!0}function _u(e,t,n,r){const i=e.prev,o=e,a=e.next;if(Ou(i,o,a)>=0)return!1;const s=i.x<o.x?i.x<a.x?i.x:a.x:o.x<a.x?o.x:a.x,c=i.y<o.y?i.y<a.y?i.y:a.y:o.y<a.y?o.y:a.y,u=i.x>o.x?i.x>a.x?i.x:a.x:o.x>a.x?o.x:a.x,l=i.y>o.y?i.y>a.y?i.y:a.y:o.y>a.y?o.y:a.y,f=zu(s,c,t,n,r),h=zu(u,l,t,n,r);let v=e.prevZ,d=e.nextZ;for(;v&&v.z>=f&&d&&d.z<=h;){if(v!==e.prev&&v!==e.next&&Cu(i.x,i.y,o.x,o.y,a.x,a.y,v.x,v.y)&&Ou(v.prev,v,v.next)>=0)return!1;if(v=v.prevZ,d!==e.prev&&d!==e.next&&Cu(i.x,i.y,o.x,o.y,a.x,a.y,d.x,d.y)&&Ou(d.prev,d,d.next)>=0)return!1;d=d.nextZ}for(;v&&v.z>=f;){if(v!==e.prev&&v!==e.next&&Cu(i.x,i.y,o.x,o.y,a.x,a.y,v.x,v.y)&&Ou(v.prev,v,v.next)>=0)return!1;v=v.prevZ}for(;d&&d.z<=h;){if(d!==e.prev&&d!==e.next&&Cu(i.x,i.y,o.x,o.y,a.x,a.y,d.x,d.y)&&Ou(d.prev,d,d.next)>=0)return!1;d=d.nextZ}return!0}function Su(e,t,n){let r=e;do{const i=r.prev,o=r.next.next;!Du(i,o)&&Iu(i,r,r.next,o)&&ju(i,o)&&ju(o,i)&&(t.push(i.i/n),t.push(r.i/n),t.push(o.i/n),Gu(r),Gu(r.next),r=e=o),r=r.next}while(r!==e);return bu(r)}function Pu(e,t,n,r,i,o){let a=e;do{let e=a.next.next;for(;e!==a.prev;){if(a.i!==e.i&&Au(a,e)){let s=Uu(a,e);return a=bu(a,a.next),s=bu(s,s.next),wu(a,t,n,r,i,o),void wu(s,t,n,r,i,o)}e=e.next}a=a.next}while(a!==e)}function Tu(e,t){return e.x-t.x}function Ru(e,t){if(t=function(e,t){let n=t;const r=e.x,i=e.y;let o,a=-1/0;do{if(i<=n.y&&i>=n.next.y&&n.next.y!==n.y){const e=n.x+(i-n.y)*(n.next.x-n.x)/(n.next.y-n.y);if(e<=r&&e>a){if(a=e,e===r){if(i===n.y)return n;if(i===n.next.y)return n.next}o=n.x<n.next.x?n:n.next}}n=n.next}while(n!==t);if(!o)return null;if(r===a)return o;const s=o,c=o.x,u=o.y;let l,f=1/0;n=o;do{r>=n.x&&n.x>=c&&r!==n.x&&Cu(i<u?r:a,i,c,u,i<u?a:r,i,n.x,n.y)&&(l=Math.abs(i-n.y)/(r-n.x),ju(n,e)&&(l<f||l===f&&(n.x>o.x||n.x===o.x&&Eu(o,n)))&&(o=n,f=l)),n=n.next}while(n!==s);return o}(e,t)){const n=Uu(t,e);bu(t,t.next),bu(n,n.next)}}function Eu(e,t){return Ou(e.prev,e,t.prev)<0&&Ou(t.next,e,e.next)<0}function zu(e,t,n,r,i){return(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-n)*i)|e<<8))|e<<4))|e<<2))|e<<1))|(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-r)*i)|t<<8))|t<<4))|t<<2))|t<<1))<<1}function Lu(e){let t=e,n=e;do{(t.x<n.x||t.x===n.x&&t.y<n.y)&&(n=t),t=t.next}while(t!==e);return n}function Cu(e,t,n,r,i,o,a,s){return(i-a)*(t-s)-(e-a)*(o-s)>=0&&(e-a)*(r-s)-(n-a)*(t-s)>=0&&(n-a)*(o-s)-(i-a)*(r-s)>=0}function Au(e,t){return e.next.i!==t.i&&e.prev.i!==t.i&&!function(e,t){let n=e;do{if(n.i!==e.i&&n.next.i!==e.i&&n.i!==t.i&&n.next.i!==t.i&&Iu(n,n.next,e,t))return!0;n=n.next}while(n!==e);return!1}(e,t)&&(ju(e,t)&&ju(t,e)&&function(e,t){let n=e,r=!1;const i=(e.x+t.x)/2,o=(e.y+t.y)/2;do{n.y>o!=n.next.y>o&&n.next.y!==n.y&&i<(n.next.x-n.x)*(o-n.y)/(n.next.y-n.y)+n.x&&(r=!r),n=n.next}while(n!==e);return r}(e,t)&&(Ou(e.prev,e,t.prev)||Ou(e,t.prev,t))||Du(e,t)&&Ou(e.prev,e,e.next)>0&&Ou(t.prev,t,t.next)>0)}function Ou(e,t,n){return(t.y-e.y)*(n.x-t.x)-(t.x-e.x)*(n.y-t.y)}function Du(e,t){return e.x===t.x&&e.y===t.y}function Iu(e,t,n,r){const i=Fu(Ou(e,t,n)),o=Fu(Ou(e,t,r)),a=Fu(Ou(n,r,e)),s=Fu(Ou(n,r,t));return i!==o&&a!==s||!(0!==i||!ku(e,n,t))||!(0!==o||!ku(e,r,t))||!(0!==a||!ku(n,e,r))||!(0!==s||!ku(n,t,r))}function ku(e,t,n){return t.x<=Math.max(e.x,n.x)&&t.x>=Math.min(e.x,n.x)&&t.y<=Math.max(e.y,n.y)&&t.y>=Math.min(e.y,n.y)}function Fu(e){return e>0?1:e<0?-1:0}function ju(e,t){return Ou(e.prev,e,e.next)<0?Ou(e,t,e.next)>=0&&Ou(e,e.prev,t)>=0:Ou(e,t,e.prev)<0||Ou(e,e.next,t)<0}function Uu(e,t){const n=new Nu(e.i,e.x,e.y),r=new Nu(t.i,t.x,t.y),i=e.next,o=t.prev;return e.next=t,t.prev=e,n.next=i,i.prev=n,r.next=n,n.prev=r,o.next=r,r.prev=o,r}function Bu(e,t,n,r){const i=new Nu(e,t,n);return r?(i.next=r.next,i.prev=r,r.next.prev=i,r.next=i):(i.prev=i,i.next=i),i}function Gu(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function Nu(e,t,n){this.i=e,this.x=t,this.y=n,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}class Hu{static area(e){const t=e.length;let n=0;for(let r=t-1,i=0;i<t;r=i++)n+=e[r].x*e[i].y-e[i].x*e[r].y;return.5*n}static isClockWise(e){return Hu.area(e)<0}static triangulateShape(e,t){const n=[],r=[],i=[];Vu(e),Wu(n,e);let o=e.length;t.forEach(Vu);for(let e=0;e<t.length;e++)r.push(o),o+=t[e].length,Wu(n,t[e]);const a=function(e,t,n){n=n||2;const r=t&&t.length,i=r?t[0]*n:e.length;let o=xu(e,0,i,n,!0);const a=[];if(!o||o.next===o.prev)return a;let s,c,u,l,f,h,v;if(r&&(o=function(e,t,n,r){const i=[];let o,a,s,c,u;for(o=0,a=t.length;o<a;o++)s=t[o]*r,c=o<a-1?t[o+1]*r:e.length,u=xu(e,s,c,r,!1),u===u.next&&(u.steiner=!0),i.push(Lu(u));for(i.sort(Tu),o=0;o<i.length;o++)Ru(i[o],n),n=bu(n,n.next);return n}(e,t,o,n)),e.length>80*n){s=u=e[0],c=l=e[1];for(let t=n;t<i;t+=n)f=e[t],h=e[t+1],f<s&&(s=f),h<c&&(c=h),f>u&&(u=f),h>l&&(l=h);v=Math.max(u-s,l-c),v=0!==v?1/v:0}return wu(o,a,n,s,c,v),a}(n,r);for(let e=0;e<a.length;e+=3)i.push(a.slice(e,e+3));return i}}function Vu(e){const t=e.length;t>2&&e[t-1].equals(e[0])&&e.pop()}function Wu(e,t){for(let n=0;n<t.length;n++)e.push(t[n].x),e.push(t[n].y)}class Zu extends ro{constructor(e,t){super(),this.type="ExtrudeGeometry",this.parameters={shapes:e,options:t},e=Array.isArray(e)?e:[e];const n=this,r=[],i=[];for(let t=0,n=e.length;t<n;t++)o(e[t]);function o(e){const o=[],a=void 0!==t.curveSegments?t.curveSegments:12,s=void 0!==t.steps?t.steps:1;let c=void 0!==t.depth?t.depth:100,u=void 0===t.bevelEnabled||t.bevelEnabled,l=void 0!==t.bevelThickness?t.bevelThickness:6,f=void 0!==t.bevelSize?t.bevelSize:l-2,h=void 0!==t.bevelOffset?t.bevelOffset:0,v=void 0!==t.bevelSegments?t.bevelSegments:3;const d=t.extrudePath,p=void 0!==t.UVGenerator?t.UVGenerator:qu;void 0!==t.amount&&(console.warn("THREE.ExtrudeBufferGeometry: amount has been renamed to depth."),c=t.amount);let m,y,g,x,b,w=!1;d&&(m=d.getSpacedPoints(s),w=!0,u=!1,y=d.computeFrenetFrames(s,!1),g=new ar,x=new ar,b=new ar),u||(v=0,l=0,f=0,h=0);const M=e.extractPoints(a);let _=M.shape;const S=M.holes;if(!Hu.isClockWise(_)){_=_.reverse();for(let e=0,t=S.length;e<t;e++){const t=S[e];Hu.isClockWise(t)&&(S[e]=t.reverse())}}const P=Hu.triangulateShape(_,S),T=_;for(let e=0,t=S.length;e<t;e++){const t=S[e];_=_.concat(t)}function R(e,t,n){return t||console.error("THREE.ExtrudeGeometry: vec does not exist"),t.clone().multiplyScalar(n).add(e)}const E=_.length,z=P.length;function L(e,t,n){let r,i,o;const a=e.x-t.x,s=e.y-t.y,c=n.x-e.x,u=n.y-e.y,l=a*a+s*s,f=a*u-s*c;if(Math.abs(f)>Number.EPSILON){const f=Math.sqrt(l),h=Math.sqrt(c*c+u*u),v=t.x-s/f,d=t.y+a/f,p=((n.x-u/h-v)*u-(n.y+c/h-d)*c)/(a*u-s*c);r=v+a*p-e.x,i=d+s*p-e.y;const m=r*r+i*i;if(m<=2)return new Xn(r,i);o=Math.sqrt(m/2)}else{let e=!1;a>Number.EPSILON?c>Number.EPSILON&&(e=!0):a<-Number.EPSILON?c<-Number.EPSILON&&(e=!0):Math.sign(s)===Math.sign(u)&&(e=!0),e?(r=-s,i=a,o=Math.sqrt(l)):(r=a,i=s,o=Math.sqrt(l/2))}return new Xn(r/o,i/o)}const C=[];for(let e=0,t=T.length,n=t-1,r=e+1;e<t;e++,n++,r++)n===t&&(n=0),r===t&&(r=0),C[e]=L(T[e],T[n],T[r]);const A=[];let O,D=C.concat();for(let e=0,t=S.length;e<t;e++){const t=S[e];O=[];for(let e=0,n=t.length,r=n-1,i=e+1;e<n;e++,r++,i++)r===n&&(r=0),i===n&&(i=0),O[e]=L(t[e],t[r],t[i]);A.push(O),D=D.concat(O)}for(let e=0;e<v;e++){const t=e/v,n=l*Math.cos(t*Math.PI/2),r=f*Math.sin(t*Math.PI/2)+h;for(let e=0,t=T.length;e<t;e++){const t=R(T[e],C[e],r);F(t.x,t.y,-n)}for(let e=0,t=S.length;e<t;e++){const t=S[e];O=A[e];for(let e=0,i=t.length;e<i;e++){const i=R(t[e],O[e],r);F(i.x,i.y,-n)}}}const I=f+h;for(let e=0;e<E;e++){const t=u?R(_[e],D[e],I):_[e];w?(x.copy(y.normals[0]).multiplyScalar(t.x),g.copy(y.binormals[0]).multiplyScalar(t.y),b.copy(m[0]).add(x).add(g),F(b.x,b.y,b.z)):F(t.x,t.y,0)}for(let e=1;e<=s;e++)for(let t=0;t<E;t++){const n=u?R(_[t],D[t],I):_[t];w?(x.copy(y.normals[e]).multiplyScalar(n.x),g.copy(y.binormals[e]).multiplyScalar(n.y),b.copy(m[e]).add(x).add(g),F(b.x,b.y,b.z)):F(n.x,n.y,c/s*e)}for(let e=v-1;e>=0;e--){const t=e/v,n=l*Math.cos(t*Math.PI/2),r=f*Math.sin(t*Math.PI/2)+h;for(let e=0,t=T.length;e<t;e++){const t=R(T[e],C[e],r);F(t.x,t.y,c+n)}for(let e=0,t=S.length;e<t;e++){const t=S[e];O=A[e];for(let e=0,i=t.length;e<i;e++){const i=R(t[e],O[e],r);w?F(i.x,i.y+m[s-1].y,m[s-1].x+n):F(i.x,i.y,c+n)}}}function k(e,t){let n=e.length;for(;--n>=0;){const r=n;let i=n-1;i<0&&(i=e.length-1);for(let e=0,n=s+2*v;e<n;e++){const n=E*e,o=E*(e+1);U(t+r+n,t+i+n,t+i+o,t+r+o)}}}function F(e,t,n){o.push(e),o.push(t),o.push(n)}function j(e,t,i){B(e),B(t),B(i);const o=r.length/3,a=p.generateTopUV(n,r,o-3,o-2,o-1);G(a[0]),G(a[1]),G(a[2])}function U(e,t,i,o){B(e),B(t),B(o),B(t),B(i),B(o);const a=r.length/3,s=p.generateSideWallUV(n,r,a-6,a-3,a-2,a-1);G(s[0]),G(s[1]),G(s[3]),G(s[1]),G(s[2]),G(s[3])}function B(e){r.push(o[3*e+0]),r.push(o[3*e+1]),r.push(o[3*e+2])}function G(e){i.push(e.x),i.push(e.y)}!function(){const e=r.length/3;if(u){let e=0,t=E*e;for(let e=0;e<z;e++){const n=P[e];j(n[2]+t,n[1]+t,n[0]+t)}e=s+2*v,t=E*e;for(let e=0;e<z;e++){const n=P[e];j(n[0]+t,n[1]+t,n[2]+t)}}else{for(let e=0;e<z;e++){const t=P[e];j(t[2],t[1],t[0])}for(let e=0;e<z;e++){const t=P[e];j(t[0]+E*s,t[1]+E*s,t[2]+E*s)}}n.addGroup(e,r.length/3-e,0)}(),function(){const e=r.length/3;let t=0;k(T,t),t+=T.length;for(let e=0,n=S.length;e<n;e++){const n=S[e];k(n,t),t+=n.length}n.addGroup(e,r.length/3-e,1)}()}this.setAttribute("position",new Wi(r,3)),this.setAttribute("uv",new Wi(i,2)),this.computeVertexNormals()}toJSON(){const e=ro.prototype.toJSON.call(this);return function(e,t,n){if(n.shapes=[],Array.isArray(e))for(let t=0,r=e.length;t<r;t++){const r=e[t];n.shapes.push(r.uuid)}else n.shapes.push(e.uuid);return void 0!==t.extrudePath&&(n.options.extrudePath=t.extrudePath.toJSON()),n}(this.parameters.shapes,this.parameters.options,e)}}const qu={generateTopUV:function(e,t,n,r,i){const o=t[3*n],a=t[3*n+1],s=t[3*r],c=t[3*r+1],u=t[3*i],l=t[3*i+1];return[new Xn(o,a),new Xn(s,c),new Xn(u,l)]},generateSideWallUV:function(e,t,n,r,i,o){const a=t[3*n],s=t[3*n+1],c=t[3*n+2],u=t[3*r],l=t[3*r+1],f=t[3*r+2],h=t[3*i],v=t[3*i+1],d=t[3*i+2],p=t[3*o],m=t[3*o+1],y=t[3*o+2];return Math.abs(s-l)<.01?[new Xn(a,1-c),new Xn(u,1-f),new Xn(h,1-d),new Xn(p,1-y)]:[new Xn(s,1-c),new Xn(l,1-f),new Xn(v,1-d),new Xn(m,1-y)]}};class Yu extends hu{constructor(e=1,t=0){const n=(1+Math.sqrt(5))/2;super([-1,n,0,1,n,0,-1,-n,0,1,-n,0,0,-1,n,0,1,n,0,-1,-n,0,1,-n,n,0,-1,n,0,1,-n,0,-1,-n,0,1],[0,11,5,0,5,1,0,1,7,0,7,10,0,10,11,1,5,9,5,11,4,11,10,2,10,7,6,7,1,8,3,9,4,3,4,2,3,2,6,3,6,8,3,8,9,4,9,5,2,4,11,6,2,10,8,6,7,9,8,1],e,t),this.type="IcosahedronGeometry",this.parameters={radius:e,detail:t}}}class Xu extends ro{constructor(e,t=12,n=0,r=2*Math.PI){super(),this.type="LatheGeometry",this.parameters={points:e,segments:t,phiStart:n,phiLength:r},t=Math.floor(t),r=Nn(r,0,2*Math.PI);const i=[],o=[],a=[],s=1/t,c=new ar,u=new Xn;for(let i=0;i<=t;i++){const l=n+i*s*r,f=Math.sin(l),h=Math.cos(l);for(let n=0;n<=e.length-1;n++)c.x=e[n].x*f,c.y=e[n].y,c.z=e[n].x*h,o.push(c.x,c.y,c.z),u.x=i/t,u.y=n/(e.length-1),a.push(u.x,u.y)}for(let n=0;n<t;n++)for(let t=0;t<e.length-1;t++){const r=t+n*e.length,o=r,a=r+e.length,s=r+e.length+1,c=r+1;i.push(o,a,c),i.push(a,s,c)}if(this.setIndex(i),this.setAttribute("position",new Wi(o,3)),this.setAttribute("uv",new Wi(a,2)),this.computeVertexNormals(),r===2*Math.PI){const n=this.attributes.normal.array,r=new ar,i=new ar,o=new ar,a=t*e.length*3;for(let t=0,s=0;t<e.length;t++,s+=3)r.x=n[s+0],r.y=n[s+1],r.z=n[s+2],i.x=n[a+s+0],i.y=n[a+s+1],i.z=n[a+s+2],o.addVectors(r,i).normalize(),n[s+0]=n[a+s+0]=o.x,n[s+1]=n[a+s+1]=o.y,n[s+2]=n[a+s+2]=o.z}}}class Ku extends hu{constructor(e=1,t=0){super([1,0,0,-1,0,0,0,1,0,0,-1,0,0,0,1,0,0,-1],[0,2,4,0,4,3,0,3,5,0,5,2,1,2,5,1,5,3,1,3,4,1,4,2],e,t),this.type="OctahedronGeometry",this.parameters={radius:e,detail:t}}}class Qu extends ro{constructor(e,t,n){super(),this.type="ParametricGeometry",this.parameters={func:e,slices:t,stacks:n};const r=[],i=[],o=[],a=[],s=1e-5,c=new ar,u=new ar,l=new ar,f=new ar,h=new ar;e.length<3&&console.error("THREE.ParametricGeometry: Function must now modify a Vector3 as third parameter.");const v=t+1;for(let r=0;r<=n;r++){const v=r/n;for(let n=0;n<=t;n++){const r=n/t;e(r,v,u),i.push(u.x,u.y,u.z),r-s>=0?(e(r-s,v,l),f.subVectors(u,l)):(e(r+s,v,l),f.subVectors(l,u)),v-s>=0?(e(r,v-s,l),h.subVectors(u,l)):(e(r,v+s,l),h.subVectors(l,u)),c.crossVectors(f,h).normalize(),o.push(c.x,c.y,c.z),a.push(r,v)}}for(let e=0;e<n;e++)for(let n=0;n<t;n++){const t=e*v+n,i=e*v+n+1,o=(e+1)*v+n+1,a=(e+1)*v+n;r.push(t,i,a),r.push(i,o,a)}this.setIndex(r),this.setAttribute("position",new Wi(i,3)),this.setAttribute("normal",new Wi(o,3)),this.setAttribute("uv",new Wi(a,2))}}class Ju extends ro{constructor(e=.5,t=1,n=8,r=1,i=0,o=2*Math.PI){super(),this.type="RingGeometry",this.parameters={innerRadius:e,outerRadius:t,thetaSegments:n,phiSegments:r,thetaStart:i,thetaLength:o},n=Math.max(3,n);const a=[],s=[],c=[],u=[];let l=e;const f=(t-e)/(r=Math.max(1,r)),h=new ar,v=new Xn;for(let e=0;e<=r;e++){for(let e=0;e<=n;e++){const r=i+e/n*o;h.x=l*Math.cos(r),h.y=l*Math.sin(r),s.push(h.x,h.y,h.z),c.push(0,0,1),v.x=(h.x/t+1)/2,v.y=(h.y/t+1)/2,u.push(v.x,v.y)}l+=f}for(let e=0;e<r;e++){const t=e*(n+1);for(let e=0;e<n;e++){const r=e+t,i=r,o=r+n+1,s=r+n+2,c=r+1;a.push(i,o,c),a.push(o,s,c)}}this.setIndex(a),this.setAttribute("position",new Wi(s,3)),this.setAttribute("normal",new Wi(c,3)),this.setAttribute("uv",new Wi(u,2))}}class $u extends ro{constructor(e,t=12){super(),this.type="ShapeGeometry",this.parameters={shapes:e,curveSegments:t};const n=[],r=[],i=[],o=[];let a=0,s=0;if(!1===Array.isArray(e))c(e);else for(let t=0;t<e.length;t++)c(e[t]),this.addGroup(a,s,t),a+=s,s=0;function c(e){const a=r.length/3,c=e.extractPoints(t);let u=c.shape;const l=c.holes;!1===Hu.isClockWise(u)&&(u=u.reverse());for(let e=0,t=l.length;e<t;e++){const t=l[e];!0===Hu.isClockWise(t)&&(l[e]=t.reverse())}const f=Hu.triangulateShape(u,l);for(let e=0,t=l.length;e<t;e++){const t=l[e];u=u.concat(t)}for(let e=0,t=u.length;e<t;e++){const t=u[e];r.push(t.x,t.y,0),i.push(0,0,1),o.push(t.x,t.y)}for(let e=0,t=f.length;e<t;e++){const t=f[e],r=t[0]+a,i=t[1]+a,o=t[2]+a;n.push(r,i,o),s+=3}}this.setIndex(n),this.setAttribute("position",new Wi(r,3)),this.setAttribute("normal",new Wi(i,3)),this.setAttribute("uv",new Wi(o,2))}toJSON(){const e=ro.prototype.toJSON.call(this);return function(e,t){if(t.shapes=[],Array.isArray(e))for(let n=0,r=e.length;n<r;n++){const r=e[n];t.shapes.push(r.uuid)}else t.shapes.push(e.uuid);return t}(this.parameters.shapes,e)}}class el extends ro{constructor(e=1,t=8,n=6,r=0,i=2*Math.PI,o=0,a=Math.PI){super(),this.type="SphereGeometry",this.parameters={radius:e,widthSegments:t,heightSegments:n,phiStart:r,phiLength:i,thetaStart:o,thetaLength:a},t=Math.max(3,Math.floor(t)),n=Math.max(2,Math.floor(n));const s=Math.min(o+a,Math.PI);let c=0;const u=[],l=new ar,f=new ar,h=[],v=[],d=[],p=[];for(let h=0;h<=n;h++){const m=[],y=h/n;let g=0;0==h&&0==o?g=.5/t:h==n&&s==Math.PI&&(g=-.5/t);for(let n=0;n<=t;n++){const s=n/t;l.x=-e*Math.cos(r+s*i)*Math.sin(o+y*a),l.y=e*Math.cos(o+y*a),l.z=e*Math.sin(r+s*i)*Math.sin(o+y*a),v.push(l.x,l.y,l.z),f.copy(l).normalize(),d.push(f.x,f.y,f.z),p.push(s+g,1-y),m.push(c++)}u.push(m)}for(let e=0;e<n;e++)for(let r=0;r<t;r++){const t=u[e][r+1],i=u[e][r],a=u[e+1][r],c=u[e+1][r+1];(0!==e||o>0)&&h.push(t,i,c),(e!==n-1||s<Math.PI)&&h.push(i,a,c)}this.setIndex(h),this.setAttribute("position",new Wi(v,3)),this.setAttribute("normal",new Wi(d,3)),this.setAttribute("uv",new Wi(p,2))}}class tl extends hu{constructor(e=1,t=0){super([1,1,1,-1,-1,1,-1,1,-1,1,-1,-1],[2,1,0,0,3,2,1,3,0,2,3,1],e,t),this.type="TetrahedronGeometry",this.parameters={radius:e,detail:t}}}class nl extends Zu{constructor(e,t={}){const n=t.font;if(!n||!n.isFont)return console.error("THREE.TextGeometry: font parameter is not an instance of THREE.Font."),new ro;const r=n.generateShapes(e,t.size);t.depth=void 0!==t.height?t.height:50,void 0===t.bevelThickness&&(t.bevelThickness=10),void 0===t.bevelSize&&(t.bevelSize=8),void 0===t.bevelEnabled&&(t.bevelEnabled=!1),super(r,t),this.type="TextGeometry"}}class rl extends ro{constructor(e=1,t=.4,n=8,r=6,i=2*Math.PI){super(),this.type="TorusGeometry",this.parameters={radius:e,tube:t,radialSegments:n,tubularSegments:r,arc:i},n=Math.floor(n),r=Math.floor(r);const o=[],a=[],s=[],c=[],u=new ar,l=new ar,f=new ar;for(let o=0;o<=n;o++)for(let h=0;h<=r;h++){const v=h/r*i,d=o/n*Math.PI*2;l.x=(e+t*Math.cos(d))*Math.cos(v),l.y=(e+t*Math.cos(d))*Math.sin(v),l.z=t*Math.sin(d),a.push(l.x,l.y,l.z),u.x=e*Math.cos(v),u.y=e*Math.sin(v),f.subVectors(l,u).normalize(),s.push(f.x,f.y,f.z),c.push(h/r),c.push(o/n)}for(let e=1;e<=n;e++)for(let t=1;t<=r;t++){const n=(r+1)*e+t-1,i=(r+1)*(e-1)+t-1,a=(r+1)*(e-1)+t,s=(r+1)*e+t;o.push(n,i,s),o.push(i,a,s)}this.setIndex(o),this.setAttribute("position",new Wi(a,3)),this.setAttribute("normal",new Wi(s,3)),this.setAttribute("uv",new Wi(c,2))}}class il extends ro{constructor(e=1,t=.4,n=64,r=8,i=2,o=3){super(),this.type="TorusKnotGeometry",this.parameters={radius:e,tube:t,tubularSegments:n,radialSegments:r,p:i,q:o},n=Math.floor(n),r=Math.floor(r);const a=[],s=[],c=[],u=[],l=new ar,f=new ar,h=new ar,v=new ar,d=new ar,p=new ar,m=new ar;for(let a=0;a<=n;++a){const g=a/n*i*Math.PI*2;y(g,i,o,e,h),y(g+.01,i,o,e,v),p.subVectors(v,h),m.addVectors(v,h),d.crossVectors(p,m),m.crossVectors(d,p),d.normalize(),m.normalize();for(let e=0;e<=r;++e){const i=e/r*Math.PI*2,o=-t*Math.cos(i),v=t*Math.sin(i);l.x=h.x+(o*m.x+v*d.x),l.y=h.y+(o*m.y+v*d.y),l.z=h.z+(o*m.z+v*d.z),s.push(l.x,l.y,l.z),f.subVectors(l,h).normalize(),c.push(f.x,f.y,f.z),u.push(a/n),u.push(e/r)}}for(let e=1;e<=n;e++)for(let t=1;t<=r;t++){const n=(r+1)*(e-1)+(t-1),i=(r+1)*e+(t-1),o=(r+1)*e+t,s=(r+1)*(e-1)+t;a.push(n,i,s),a.push(i,o,s)}function y(e,t,n,r,i){const o=Math.cos(e),a=Math.sin(e),s=n/t*e,c=Math.cos(s);i.x=r*(2+c)*.5*o,i.y=r*(2+c)*a*.5,i.z=r*Math.sin(s)*.5}this.setIndex(a),this.setAttribute("position",new Wi(s,3)),this.setAttribute("normal",new Wi(c,3)),this.setAttribute("uv",new Wi(u,2))}}class ol extends ro{constructor(e,t=64,n=1,r=8,i=!1){super(),this.type="TubeGeometry",this.parameters={path:e,tubularSegments:t,radius:n,radialSegments:r,closed:i};const o=e.computeFrenetFrames(t,i);this.tangents=o.tangents,this.normals=o.normals,this.binormals=o.binormals;const a=new ar,s=new ar,c=new Xn;let u=new ar;const l=[],f=[],h=[],v=[];function d(i){u=e.getPointAt(i/t,u);const c=o.normals[i],h=o.binormals[i];for(let e=0;e<=r;e++){const t=e/r*Math.PI*2,i=Math.sin(t),o=-Math.cos(t);s.x=o*c.x+i*h.x,s.y=o*c.y+i*h.y,s.z=o*c.z+i*h.z,s.normalize(),f.push(s.x,s.y,s.z),a.x=u.x+n*s.x,a.y=u.y+n*s.y,a.z=u.z+n*s.z,l.push(a.x,a.y,a.z)}}!function(){for(let e=0;e<t;e++)d(e);d(!1===i?t:0),function(){for(let e=0;e<=t;e++)for(let n=0;n<=r;n++)c.x=e/t,c.y=n/r,h.push(c.x,c.y)}(),function(){for(let e=1;e<=t;e++)for(let t=1;t<=r;t++){const n=(r+1)*(e-1)+(t-1),i=(r+1)*e+(t-1),o=(r+1)*e+t,a=(r+1)*(e-1)+t;v.push(n,i,a),v.push(i,o,a)}}()}(),this.setIndex(v),this.setAttribute("position",new Wi(l,3)),this.setAttribute("normal",new Wi(f,3)),this.setAttribute("uv",new Wi(h,2))}toJSON(){const e=ro.prototype.toJSON.call(this);return e.path=this.parameters.path.toJSON(),e}}class al extends ro{constructor(e){if(super(),this.type="WireframeGeometry",!0===e.isGeometry)return void console.error("THREE.WireframeGeometry no longer supports THREE.Geometry. Use THREE.BufferGeometry instead.");const t=[],n=[0,0],r={},i=new ar;if(null!==e.index){const o=e.attributes.position,a=e.index;let s=e.groups;0===s.length&&(s=[{start:0,count:a.count,materialIndex:0}]);for(let e=0,t=s.length;e<t;++e){const t=s[e],i=t.start;for(let e=i,o=i+t.count;e<o;e+=3)for(let t=0;t<3;t++){const i=a.getX(e+t),o=a.getX(e+(t+1)%3);n[0]=Math.min(i,o),n[1]=Math.max(i,o);const s=n[0]+","+n[1];void 0===r[s]&&(r[s]={index1:n[0],index2:n[1]})}}for(const e in r){const n=r[e];i.fromBufferAttribute(o,n.index1),t.push(i.x,i.y,i.z),i.fromBufferAttribute(o,n.index2),t.push(i.x,i.y,i.z)}}else{const n=e.attributes.position;for(let e=0,r=n.count/3;e<r;e++)for(let r=0;r<3;r++){const o=3*e+r;i.fromBufferAttribute(n,o),t.push(i.x,i.y,i.z);const a=3*e+(r+1)%3;i.fromBufferAttribute(n,a),t.push(i.x,i.y,i.z)}}this.setAttribute("position",new Wi(t,3))}}var sl=Object.freeze({__proto__:null,BoxGeometry:So,BoxBufferGeometry:So,CircleGeometry:uu,CircleBufferGeometry:uu,ConeGeometry:fu,ConeBufferGeometry:fu,CylinderGeometry:lu,CylinderBufferGeometry:lu,DodecahedronGeometry:vu,DodecahedronBufferGeometry:vu,EdgesGeometry:gu,ExtrudeGeometry:Zu,ExtrudeBufferGeometry:Zu,IcosahedronGeometry:Yu,IcosahedronBufferGeometry:Yu,LatheGeometry:Xu,LatheBufferGeometry:Xu,OctahedronGeometry:Ku,OctahedronBufferGeometry:Ku,ParametricGeometry:Qu,ParametricBufferGeometry:Qu,PlaneGeometry:Go,PlaneBufferGeometry:Go,PolyhedronGeometry:hu,PolyhedronBufferGeometry:hu,RingGeometry:Ju,RingBufferGeometry:Ju,ShapeGeometry:$u,ShapeBufferGeometry:$u,SphereGeometry:el,SphereBufferGeometry:el,TetrahedronGeometry:tl,TetrahedronBufferGeometry:tl,TextGeometry:nl,TextBufferGeometry:nl,TorusGeometry:rl,TorusBufferGeometry:rl,TorusKnotGeometry:il,TorusKnotBufferGeometry:il,TubeGeometry:ol,TubeBufferGeometry:ol,WireframeGeometry:al});class cl extends Pi{constructor(e){super(),this.type="ShadowMaterial",this.color=new Ai(0),this.transparent=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this}}cl.prototype.isShadowMaterial=!0;class ul extends Eo{constructor(e){super(e),this.type="RawShaderMaterial"}}ul.prototype.isRawShaderMaterial=!0;class ll extends Pi{constructor(e){super(),this.defines={STANDARD:""},this.type="MeshStandardMaterial",this.color=new Ai(16777215),this.roughness=1,this.metalness=0,this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new Ai(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=sn,this.normalScale=new Xn(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.roughnessMap=null,this.metalnessMap=null,this.alphaMap=null,this.envMap=null,this.envMapIntensity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.skinning=!1,this.morphTargets=!1,this.morphNormals=!1,this.flatShading=!1,this.vertexTangents=!1,this.setValues(e)}copy(e){return super.copy(e),this.defines={STANDARD:""},this.color.copy(e.color),this.roughness=e.roughness,this.metalness=e.metalness,this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.roughnessMap=e.roughnessMap,this.metalnessMap=e.metalnessMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapIntensity=e.envMapIntensity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.skinning=e.skinning,this.morphTargets=e.morphTargets,this.morphNormals=e.morphNormals,this.flatShading=e.flatShading,this.vertexTangents=e.vertexTangents,this}}ll.prototype.isMeshStandardMaterial=!0;class fl extends ll{constructor(e){super(),this.defines={STANDARD:"",PHYSICAL:""},this.type="MeshPhysicalMaterial",this.clearcoat=0,this.clearcoatMap=null,this.clearcoatRoughness=0,this.clearcoatRoughnessMap=null,this.clearcoatNormalScale=new Xn(1,1),this.clearcoatNormalMap=null,this.reflectivity=.5,Object.defineProperty(this,"ior",{get:function(){return(1+.4*this.reflectivity)/(1-.4*this.reflectivity)},set:function(e){this.reflectivity=Nn(2.5*(e-1)/(e+1),0,1)}}),this.sheen=null,this.transmission=0,this.transmissionMap=null,this.setValues(e)}copy(e){return super.copy(e),this.defines={STANDARD:"",PHYSICAL:""},this.clearcoat=e.clearcoat,this.clearcoatMap=e.clearcoatMap,this.clearcoatRoughness=e.clearcoatRoughness,this.clearcoatRoughnessMap=e.clearcoatRoughnessMap,this.clearcoatNormalMap=e.clearcoatNormalMap,this.clearcoatNormalScale.copy(e.clearcoatNormalScale),this.reflectivity=e.reflectivity,e.sheen?this.sheen=(this.sheen||new Ai).copy(e.sheen):this.sheen=null,this.transmission=e.transmission,this.transmissionMap=e.transmissionMap,this}}fl.prototype.isMeshPhysicalMaterial=!0;class hl extends Pi{constructor(e){super(),this.type="MeshPhongMaterial",this.color=new Ai(16777215),this.specular=new Ai(1118481),this.shininess=30,this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new Ai(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=sn,this.normalScale=new Xn(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=X,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.skinning=!1,this.morphTargets=!1,this.morphNormals=!1,this.flatShading=!1,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.specular.copy(e.specular),this.shininess=e.shininess,this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.skinning=e.skinning,this.morphTargets=e.morphTargets,this.morphNormals=e.morphNormals,this.flatShading=e.flatShading,this}}hl.prototype.isMeshPhongMaterial=!0;class vl extends Pi{constructor(e){super(),this.defines={TOON:""},this.type="MeshToonMaterial",this.color=new Ai(16777215),this.map=null,this.gradientMap=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new Ai(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=sn,this.normalScale=new Xn(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.alphaMap=null,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.skinning=!1,this.morphTargets=!1,this.morphNormals=!1,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.gradientMap=e.gradientMap,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.alphaMap=e.alphaMap,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.skinning=e.skinning,this.morphTargets=e.morphTargets,this.morphNormals=e.morphNormals,this}}vl.prototype.isMeshToonMaterial=!0;class dl extends Pi{constructor(e){super(),this.type="MeshNormalMaterial",this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=sn,this.normalScale=new Xn(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.fog=!1,this.skinning=!1,this.morphTargets=!1,this.morphNormals=!1,this.flatShading=!1,this.setValues(e)}copy(e){return super.copy(e),this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.skinning=e.skinning,this.morphTargets=e.morphTargets,this.morphNormals=e.morphNormals,this.flatShading=e.flatShading,this}}dl.prototype.isMeshNormalMaterial=!0;class pl extends Pi{constructor(e){super(),this.type="MeshLambertMaterial",this.color=new Ai(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new Ai(0),this.emissiveIntensity=1,this.emissiveMap=null,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=X,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.skinning=!1,this.morphTargets=!1,this.morphNormals=!1,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.skinning=e.skinning,this.morphTargets=e.morphTargets,this.morphNormals=e.morphNormals,this}}pl.prototype.isMeshLambertMaterial=!0;class ml extends Pi{constructor(e){super(),this.defines={MATCAP:""},this.type="MeshMatcapMaterial",this.color=new Ai(16777215),this.matcap=null,this.map=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=sn,this.normalScale=new Xn(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.alphaMap=null,this.skinning=!1,this.morphTargets=!1,this.morphNormals=!1,this.flatShading=!1,this.setValues(e)}copy(e){return super.copy(e),this.defines={MATCAP:""},this.color.copy(e.color),this.matcap=e.matcap,this.map=e.map,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.alphaMap=e.alphaMap,this.skinning=e.skinning,this.morphTargets=e.morphTargets,this.morphNormals=e.morphNormals,this.flatShading=e.flatShading,this}}ml.prototype.isMeshMatcapMaterial=!0;class yl extends Gc{constructor(e){super(),this.type="LineDashedMaterial",this.scale=1,this.dashSize=3,this.gapSize=1,this.setValues(e)}copy(e){return super.copy(e),this.scale=e.scale,this.dashSize=e.dashSize,this.gapSize=e.gapSize,this}}yl.prototype.isLineDashedMaterial=!0;var gl=Object.freeze({__proto__:null,ShadowMaterial:cl,SpriteMaterial:sc,RawShaderMaterial:ul,ShaderMaterial:Eo,PointsMaterial:Jc,MeshPhysicalMaterial:fl,MeshStandardMaterial:ll,MeshPhongMaterial:hl,MeshToonMaterial:vl,MeshNormalMaterial:dl,MeshLambertMaterial:pl,MeshDepthMaterial:Gs,MeshDistanceMaterial:Ns,MeshBasicMaterial:Oi,MeshMatcapMaterial:ml,LineDashedMaterial:yl,LineBasicMaterial:Gc,Material:Pi});const xl={arraySlice:function(e,t,n){return xl.isTypedArray(e)?new e.constructor(e.subarray(t,void 0!==n?n:e.length)):e.slice(t,n)},convertArray:function(e,t,n){return!e||!n&&e.constructor===t?e:"number"==typeof t.BYTES_PER_ELEMENT?new t(e):Array.prototype.slice.call(e)},isTypedArray:function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)},getKeyframeOrder:function(e){const t=e.length,n=new Array(t);for(let e=0;e!==t;++e)n[e]=e;return n.sort((function(t,n){return e[t]-e[n]})),n},sortedArray:function(e,t,n){const r=e.length,i=new e.constructor(r);for(let o=0,a=0;a!==r;++o){const r=n[o]*t;for(let n=0;n!==t;++n)i[a++]=e[r+n]}return i},flattenJSON:function(e,t,n,r){let i=1,o=e[0];for(;void 0!==o&&void 0===o[r];)o=e[i++];if(void 0===o)return;let a=o[r];if(void 0!==a)if(Array.isArray(a))do{a=o[r],void 0!==a&&(t.push(o.time),n.push.apply(n,a)),o=e[i++]}while(void 0!==o);else if(void 0!==a.toArray)do{a=o[r],void 0!==a&&(t.push(o.time),a.toArray(n,n.length)),o=e[i++]}while(void 0!==o);else do{a=o[r],void 0!==a&&(t.push(o.time),n.push(a)),o=e[i++]}while(void 0!==o)},subclip:function(e,t,n,r,i=30){const o=e.clone();o.name=t;const a=[];for(let e=0;e<o.tracks.length;++e){const t=o.tracks[e],s=t.getValueSize(),c=[],u=[];for(let e=0;e<t.times.length;++e){const o=t.times[e]*i;if(!(o<n||o>=r)){c.push(t.times[e]);for(let n=0;n<s;++n)u.push(t.values[e*s+n])}}0!==c.length&&(t.times=xl.convertArray(c,t.times.constructor),t.values=xl.convertArray(u,t.values.constructor),a.push(t))}o.tracks=a;let s=1/0;for(let e=0;e<o.tracks.length;++e)s>o.tracks[e].times[0]&&(s=o.tracks[e].times[0]);for(let e=0;e<o.tracks.length;++e)o.tracks[e].shift(-1*s);return o.resetDuration(),o},makeClipAdditive:function(e,t=0,n=e,r=30){r<=0&&(r=30);const i=n.tracks.length,o=t/r;for(let t=0;t<i;++t){const r=n.tracks[t],i=r.ValueTypeName;if("bool"===i||"string"===i)continue;const a=e.tracks.find((function(e){return e.name===r.name&&e.ValueTypeName===i}));if(void 0===a)continue;let s=0;const c=r.getValueSize();r.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline&&(s=c/3);let u=0;const l=a.getValueSize();a.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline&&(u=l/3);const f=r.times.length-1;let h;if(o<=r.times[0]){const e=s,t=c-s;h=xl.arraySlice(r.values,e,t)}else if(o>=r.times[f]){const e=f*c+s,t=e+c-s;h=xl.arraySlice(r.values,e,t)}else{const e=r.createInterpolant(),t=s,n=c-s;e.evaluate(o),h=xl.arraySlice(e.resultBuffer,t,n)}"quaternion"===i&&(new or).fromArray(h).normalize().conjugate().toArray(h);const v=a.times.length;for(let e=0;e<v;++e){const t=e*l+u;if("quaternion"===i)or.multiplyQuaternionsFlat(a.values,t,h,0,a.values,t);else{const e=l-2*u;for(let n=0;n<e;++n)a.values[t+n]-=h[n]}}}return e.blendMode=Zt,e}};class bl{constructor(e,t,n,r){this.parameterPositions=e,this._cachedIndex=0,this.resultBuffer=void 0!==r?r:new t.constructor(n),this.sampleValues=t,this.valueSize=n,this.settings=null,this.DefaultSettings_={}}evaluate(e){const t=this.parameterPositions;let n=this._cachedIndex,r=t[n],i=t[n-1];e:{t:{let o;n:{r:if(!(e<r)){for(let o=n+2;;){if(void 0===r){if(e<i)break r;return n=t.length,this._cachedIndex=n,this.afterEnd_(n-1,e,i)}if(n===o)break;if(i=r,r=t[++n],e<r)break t}o=t.length;break n}if(e>=i)break e;{const a=t[1];e<a&&(n=2,i=a);for(let o=n-2;;){if(void 0===i)return this._cachedIndex=0,this.beforeStart_(0,e,r);if(n===o)break;if(r=i,i=t[--n-1],e>=i)break t}o=n,n=0}}for(;n<o;){const r=n+o>>>1;e<t[r]?o=r:n=r+1}if(r=t[n],i=t[n-1],void 0===i)return this._cachedIndex=0,this.beforeStart_(0,e,r);if(void 0===r)return n=t.length,this._cachedIndex=n,this.afterEnd_(n-1,i,e)}this._cachedIndex=n,this.intervalChanged_(n,i,r)}return this.interpolate_(n,i,e,r)}getSettings_(){return this.settings||this.DefaultSettings_}copySampleValue_(e){const t=this.resultBuffer,n=this.sampleValues,r=this.valueSize,i=e*r;for(let e=0;e!==r;++e)t[e]=n[i+e];return t}interpolate_(){throw new Error("call to abstract method")}intervalChanged_(){}}bl.prototype.beforeStart_=bl.prototype.copySampleValue_,bl.prototype.afterEnd_=bl.prototype.copySampleValue_;class wl extends bl{constructor(e,t,n,r){super(e,t,n,r),this._weightPrev=-0,this._offsetPrev=-0,this._weightNext=-0,this._offsetNext=-0,this.DefaultSettings_={endingStart:Nt,endingEnd:Nt}}intervalChanged_(e,t,n){const r=this.parameterPositions;let i=e-2,o=e+1,a=r[i],s=r[o];if(void 0===a)switch(this.getSettings_().endingStart){case Ht:i=e,a=2*t-n;break;case Vt:i=r.length-2,a=t+r[i]-r[i+1];break;default:i=e,a=n}if(void 0===s)switch(this.getSettings_().endingEnd){case Ht:o=e,s=2*n-t;break;case Vt:o=1,s=n+r[1]-r[0];break;default:o=e-1,s=t}const c=.5*(n-t),u=this.valueSize;this._weightPrev=c/(t-a),this._weightNext=c/(s-n),this._offsetPrev=i*u,this._offsetNext=o*u}interpolate_(e,t,n,r){const i=this.resultBuffer,o=this.sampleValues,a=this.valueSize,s=e*a,c=s-a,u=this._offsetPrev,l=this._offsetNext,f=this._weightPrev,h=this._weightNext,v=(n-t)/(r-t),d=v*v,p=d*v,m=-f*p+2*f*d-f*v,y=(1+f)*p+(-1.5-2*f)*d+(-.5+f)*v+1,g=(-1-h)*p+(1.5+h)*d+.5*v,x=h*p-h*d;for(let e=0;e!==a;++e)i[e]=m*o[u+e]+y*o[c+e]+g*o[s+e]+x*o[l+e];return i}}class Ml extends bl{constructor(e,t,n,r){super(e,t,n,r)}interpolate_(e,t,n,r){const i=this.resultBuffer,o=this.sampleValues,a=this.valueSize,s=e*a,c=s-a,u=(n-t)/(r-t),l=1-u;for(let e=0;e!==a;++e)i[e]=o[c+e]*l+o[s+e]*u;return i}}class _l extends bl{constructor(e,t,n,r){super(e,t,n,r)}interpolate_(e){return this.copySampleValue_(e-1)}}class Sl{constructor(e,t,n,r){if(void 0===e)throw new Error("THREE.KeyframeTrack: track name is undefined");if(void 0===t||0===t.length)throw new Error("THREE.KeyframeTrack: no keyframes in track named "+e);this.name=e,this.times=xl.convertArray(t,this.TimeBufferType),this.values=xl.convertArray(n,this.ValueBufferType),this.setInterpolation(r||this.DefaultInterpolation)}static toJSON(e){const t=e.constructor;let n;if(t.toJSON!==this.toJSON)n=t.toJSON(e);else{n={name:e.name,times:xl.convertArray(e.times,Array),values:xl.convertArray(e.values,Array)};const t=e.getInterpolation();t!==e.DefaultInterpolation&&(n.interpolation=t)}return n.type=e.ValueTypeName,n}InterpolantFactoryMethodDiscrete(e){return new _l(this.times,this.values,this.getValueSize(),e)}InterpolantFactoryMethodLinear(e){return new Ml(this.times,this.values,this.getValueSize(),e)}InterpolantFactoryMethodSmooth(e){return new wl(this.times,this.values,this.getValueSize(),e)}setInterpolation(e){let t;switch(e){case Ut:t=this.InterpolantFactoryMethodDiscrete;break;case Bt:t=this.InterpolantFactoryMethodLinear;break;case Gt:t=this.InterpolantFactoryMethodSmooth}if(void 0===t){const t="unsupported interpolation for "+this.ValueTypeName+" keyframe track named "+this.name;if(void 0===this.createInterpolant){if(e===this.DefaultInterpolation)throw new Error(t);this.setInterpolation(this.DefaultInterpolation)}return console.warn("THREE.KeyframeTrack:",t),this}return this.createInterpolant=t,this}getInterpolation(){switch(this.createInterpolant){case this.InterpolantFactoryMethodDiscrete:return Ut;case this.InterpolantFactoryMethodLinear:return Bt;case this.InterpolantFactoryMethodSmooth:return Gt}}getValueSize(){return this.values.length/this.times.length}shift(e){if(0!==e){const t=this.times;for(let n=0,r=t.length;n!==r;++n)t[n]+=e}return this}scale(e){if(1!==e){const t=this.times;for(let n=0,r=t.length;n!==r;++n)t[n]*=e}return this}trim(e,t){const n=this.times,r=n.length;let i=0,o=r-1;for(;i!==r&&n[i]<e;)++i;for(;-1!==o&&n[o]>t;)--o;if(++o,0!==i||o!==r){i>=o&&(o=Math.max(o,1),i=o-1);const e=this.getValueSize();this.times=xl.arraySlice(n,i,o),this.values=xl.arraySlice(this.values,i*e,o*e)}return this}validate(){let e=!0;const t=this.getValueSize();t-Math.floor(t)!=0&&(console.error("THREE.KeyframeTrack: Invalid value size in track.",this),e=!1);const n=this.times,r=this.values,i=n.length;0===i&&(console.error("THREE.KeyframeTrack: Track is empty.",this),e=!1);let o=null;for(let t=0;t!==i;t++){const r=n[t];if("number"==typeof r&&isNaN(r)){console.error("THREE.KeyframeTrack: Time is not a valid number.",this,t,r),e=!1;break}if(null!==o&&o>r){console.error("THREE.KeyframeTrack: Out of order keys.",this,t,r,o),e=!1;break}o=r}if(void 0!==r&&xl.isTypedArray(r))for(let t=0,n=r.length;t!==n;++t){const n=r[t];if(isNaN(n)){console.error("THREE.KeyframeTrack: Value is not a valid number.",this,t,n),e=!1;break}}return e}optimize(){const e=xl.arraySlice(this.times),t=xl.arraySlice(this.values),n=this.getValueSize(),r=this.getInterpolation()===Gt,i=e.length-1;let o=1;for(let a=1;a<i;++a){let i=!1;const s=e[a];if(s!==e[a+1]&&(1!==a||s!==e[0]))if(r)i=!0;else{const e=a*n,r=e-n,o=e+n;for(let a=0;a!==n;++a){const n=t[e+a];if(n!==t[r+a]||n!==t[o+a]){i=!0;break}}}if(i){if(a!==o){e[o]=e[a];const r=a*n,i=o*n;for(let e=0;e!==n;++e)t[i+e]=t[r+e]}++o}}if(i>0){e[o]=e[i];for(let e=i*n,r=o*n,a=0;a!==n;++a)t[r+a]=t[e+a];++o}return o!==e.length?(this.times=xl.arraySlice(e,0,o),this.values=xl.arraySlice(t,0,o*n)):(this.times=e,this.values=t),this}clone(){const e=xl.arraySlice(this.times,0),t=xl.arraySlice(this.values,0),n=new(0,this.constructor)(this.name,e,t);return n.createInterpolant=this.createInterpolant,n}}Sl.prototype.TimeBufferType=Float32Array,Sl.prototype.ValueBufferType=Float32Array,Sl.prototype.DefaultInterpolation=Bt;class Pl extends Sl{}Pl.prototype.ValueTypeName="bool",Pl.prototype.ValueBufferType=Array,Pl.prototype.DefaultInterpolation=Ut,Pl.prototype.InterpolantFactoryMethodLinear=void 0,Pl.prototype.InterpolantFactoryMethodSmooth=void 0;class Tl extends Sl{}Tl.prototype.ValueTypeName="color";class Rl extends Sl{}Rl.prototype.ValueTypeName="number";class El extends bl{constructor(e,t,n,r){super(e,t,n,r)}interpolate_(e,t,n,r){const i=this.resultBuffer,o=this.sampleValues,a=this.valueSize,s=(n-t)/(r-t);let c=e*a;for(let e=c+a;c!==e;c+=4)or.slerpFlat(i,0,o,c-a,o,c,s);return i}}class zl extends Sl{InterpolantFactoryMethodLinear(e){return new El(this.times,this.values,this.getValueSize(),e)}}zl.prototype.ValueTypeName="quaternion",zl.prototype.DefaultInterpolation=Bt,zl.prototype.InterpolantFactoryMethodSmooth=void 0;class Ll extends Sl{}Ll.prototype.ValueTypeName="string",Ll.prototype.ValueBufferType=Array,Ll.prototype.DefaultInterpolation=Ut,Ll.prototype.InterpolantFactoryMethodLinear=void 0,Ll.prototype.InterpolantFactoryMethodSmooth=void 0;class Cl extends Sl{}Cl.prototype.ValueTypeName="vector";class Al{constructor(e,t=-1,n,r=Wt){this.name=e,this.tracks=n,this.duration=t,this.blendMode=r,this.uuid=Gn(),this.duration<0&&this.resetDuration()}static parse(e){const t=[],n=e.tracks,r=1/(e.fps||1);for(let e=0,i=n.length;e!==i;++e)t.push(Ol(n[e]).scale(r));const i=new this(e.name,e.duration,t,e.blendMode);return i.uuid=e.uuid,i}static toJSON(e){const t=[],n=e.tracks,r={name:e.name,duration:e.duration,tracks:t,uuid:e.uuid,blendMode:e.blendMode};for(let e=0,r=n.length;e!==r;++e)t.push(Sl.toJSON(n[e]));return r}static CreateFromMorphTargetSequence(e,t,n,r){const i=t.length,o=[];for(let e=0;e<i;e++){let a=[],s=[];a.push((e+i-1)%i,e,(e+1)%i),s.push(0,1,0);const c=xl.getKeyframeOrder(a);a=xl.sortedArray(a,1,c),s=xl.sortedArray(s,1,c),r||0!==a[0]||(a.push(i),s.push(s[0])),o.push(new Rl(".morphTargetInfluences["+t[e].name+"]",a,s).scale(1/n))}return new this(e,-1,o)}static findByName(e,t){let n=e;if(!Array.isArray(e)){const t=e;n=t.geometry&&t.geometry.animations||t.animations}for(let e=0;e<n.length;e++)if(n[e].name===t)return n[e];return null}static CreateClipsFromMorphTargetSequences(e,t,n){const r={},i=/^([\w-]*?)([\d]+)$/;for(let t=0,n=e.length;t<n;t++){const n=e[t],o=n.name.match(i);if(o&&o.length>1){const e=o[1];let t=r[e];t||(r[e]=t=[]),t.push(n)}}const o=[];for(const e in r)o.push(this.CreateFromMorphTargetSequence(e,r[e],t,n));return o}static parseAnimation(e,t){if(!e)return console.error("THREE.AnimationClip: No animation in JSONLoader data."),null;const n=function(e,t,n,r,i){if(0!==n.length){const o=[],a=[];xl.flattenJSON(n,o,a,r),0!==o.length&&i.push(new e(t,o,a))}},r=[],i=e.name||"default",o=e.fps||30,a=e.blendMode;let s=e.length||-1;const c=e.hierarchy||[];for(let e=0;e<c.length;e++){const i=c[e].keys;if(i&&0!==i.length)if(i[0].morphTargets){const e={};let t;for(t=0;t<i.length;t++)if(i[t].morphTargets)for(let n=0;n<i[t].morphTargets.length;n++)e[i[t].morphTargets[n]]=-1;for(const n in e){const e=[],o=[];for(let r=0;r!==i[t].morphTargets.length;++r){const r=i[t];e.push(r.time),o.push(r.morphTarget===n?1:0)}r.push(new Rl(".morphTargetInfluence["+n+"]",e,o))}s=e.length*(o||1)}else{const o=".bones["+t[e].name+"]";n(Cl,o+".position",i,"pos",r),n(zl,o+".quaternion",i,"rot",r),n(Cl,o+".scale",i,"scl",r)}}return 0===r.length?null:new this(i,s,r,a)}resetDuration(){let e=0;for(let t=0,n=this.tracks.length;t!==n;++t){const n=this.tracks[t];e=Math.max(e,n.times[n.times.length-1])}return this.duration=e,this}trim(){for(let e=0;e<this.tracks.length;e++)this.tracks[e].trim(0,this.duration);return this}validate(){let e=!0;for(let t=0;t<this.tracks.length;t++)e=e&&this.tracks[t].validate();return e}optimize(){for(let e=0;e<this.tracks.length;e++)this.tracks[e].optimize();return this}clone(){const e=[];for(let t=0;t<this.tracks.length;t++)e.push(this.tracks[t].clone());return new this.constructor(this.name,this.duration,e,this.blendMode)}toJSON(){return this.constructor.toJSON(this)}}function Ol(e){if(void 0===e.type)throw new Error("THREE.KeyframeTrack: track type undefined, can not parse");const t=function(e){switch(e.toLowerCase()){case"scalar":case"double":case"float":case"number":case"integer":return Rl;case"vector":case"vector2":case"vector3":case"vector4":return Cl;case"color":return Tl;case"quaternion":return zl;case"bool":case"boolean":return Pl;case"string":return Ll}throw new Error("THREE.KeyframeTrack: Unsupported typeName: "+e)}(e.type);if(void 0===e.times){const t=[],n=[];xl.flattenJSON(e.keys,t,n,"value"),e.times=t,e.values=n}return void 0!==t.parse?t.parse(e):new t(e.name,e.times,e.values,e.interpolation)}const Dl={enabled:!1,files:{},add:function(e,t){!1!==this.enabled&&(this.files[e]=t)},get:function(e){if(!1!==this.enabled)return this.files[e]},remove:function(e){delete this.files[e]},clear:function(){this.files={}}};class Il{constructor(e,t,n){const r=this;let i,o=!1,a=0,s=0;const c=[];this.onStart=void 0,this.onLoad=e,this.onProgress=t,this.onError=n,this.itemStart=function(e){s++,!1===o&&void 0!==r.onStart&&r.onStart(e,a,s),o=!0},this.itemEnd=function(e){a++,void 0!==r.onProgress&&r.onProgress(e,a,s),a===s&&(o=!1,void 0!==r.onLoad&&r.onLoad())},this.itemError=function(e){void 0!==r.onError&&r.onError(e)},this.resolveURL=function(e){return i?i(e):e},this.setURLModifier=function(e){return i=e,this},this.addHandler=function(e,t){return c.push(e,t),this},this.removeHandler=function(e){const t=c.indexOf(e);return-1!==t&&c.splice(t,2),this},this.getHandler=function(e){for(let t=0,n=c.length;t<n;t+=2){const n=c[t],r=c[t+1];if(n.global&&(n.lastIndex=0),n.test(e))return r}return null}}}const kl=new Il;class Fl{constructor(e){this.manager=void 0!==e?e:kl,this.crossOrigin="anonymous",this.withCredentials=!1,this.path="",this.resourcePath="",this.requestHeader={}}load(){}loadAsync(e,t){const n=this;return new Promise((function(r,i){n.load(e,r,t,i)}))}parse(){}setCrossOrigin(e){return this.crossOrigin=e,this}setWithCredentials(e){return this.withCredentials=e,this}setPath(e){return this.path=e,this}setResourcePath(e){return this.resourcePath=e,this}setRequestHeader(e){return this.requestHeader=e,this}}const jl={};class Ul extends Fl{constructor(e){super(e)}load(e,t,n,r){void 0===e&&(e=""),void 0!==this.path&&(e=this.path+e),e=this.manager.resolveURL(e);const i=this,o=Dl.get(e);if(void 0!==o)return i.manager.itemStart(e),setTimeout((function(){t&&t(o),i.manager.itemEnd(e)}),0),o;if(void 0!==jl[e])return void jl[e].push({onLoad:t,onProgress:n,onError:r});const a=e.match(/^data:(.*?)(;base64)?,(.*)$/);let s;if(a){const n=a[1],o=!!a[2];let s=a[3];s=decodeURIComponent(s),o&&(s=atob(s));try{let r;const o=(this.responseType||"").toLowerCase();switch(o){case"arraybuffer":case"blob":const e=new Uint8Array(s.length);for(let t=0;t<s.length;t++)e[t]=s.charCodeAt(t);r="blob"===o?new Blob([e.buffer],{type:n}):e.buffer;break;case"document":const t=new DOMParser;r=t.parseFromString(s,n);break;case"json":r=JSON.parse(s);break;default:r=s}setTimeout((function(){t&&t(r),i.manager.itemEnd(e)}),0)}catch(t){setTimeout((function(){r&&r(t),i.manager.itemError(e),i.manager.itemEnd(e)}),0)}}else{jl[e]=[],jl[e].push({onLoad:t,onProgress:n,onError:r}),s=new XMLHttpRequest,s.open("GET",e,!0),s.addEventListener("load",(function(t){const n=this.response,r=jl[e];if(delete jl[e],200===this.status||0===this.status){0===this.status&&console.warn("THREE.FileLoader: HTTP Status 0 received."),Dl.add(e,n);for(let e=0,t=r.length;e<t;e++){const t=r[e];t.onLoad&&t.onLoad(n)}i.manager.itemEnd(e)}else{for(let e=0,n=r.length;e<n;e++){const n=r[e];n.onError&&n.onError(t)}i.manager.itemError(e),i.manager.itemEnd(e)}}),!1),s.addEventListener("progress",(function(t){const n=jl[e];for(let e=0,r=n.length;e<r;e++){const r=n[e];r.onProgress&&r.onProgress(t)}}),!1),s.addEventListener("error",(function(t){const n=jl[e];delete jl[e];for(let e=0,r=n.length;e<r;e++){const r=n[e];r.onError&&r.onError(t)}i.manager.itemError(e),i.manager.itemEnd(e)}),!1),s.addEventListener("abort",(function(t){const n=jl[e];delete jl[e];for(let e=0,r=n.length;e<r;e++){const r=n[e];r.onError&&r.onError(t)}i.manager.itemError(e),i.manager.itemEnd(e)}),!1),void 0!==this.responseType&&(s.responseType=this.responseType),void 0!==this.withCredentials&&(s.withCredentials=this.withCredentials),s.overrideMimeType&&s.overrideMimeType(void 0!==this.mimeType?this.mimeType:"text/plain");for(const e in this.requestHeader)s.setRequestHeader(e,this.requestHeader[e]);s.send(null)}return i.manager.itemStart(e),s}setResponseType(e){return this.responseType=e,this}setMimeType(e){return this.mimeType=e,this}}class Bl extends Fl{constructor(e){super(e)}load(e,t,n,r){const i=this,o=new Ul(this.manager);o.setPath(this.path),o.setRequestHeader(this.requestHeader),o.setWithCredentials(this.withCredentials),o.load(e,(function(n){try{t(i.parse(JSON.parse(n)))}catch(t){r?r(t):console.error(t),i.manager.itemError(e)}}),n,r)}parse(e){const t=[];for(let n=0;n<e.length;n++){const r=Al.parse(e[n]);t.push(r)}return t}}class Gl extends Fl{constructor(e){super(e)}load(e,t,n,r){const i=this,o=[],a=new au,s=new Ul(this.manager);s.setPath(this.path),s.setResponseType("arraybuffer"),s.setRequestHeader(this.requestHeader),s.setWithCredentials(i.withCredentials);let c=0;function u(u){s.load(e[u],(function(e){const n=i.parse(e,!0);o[u]={width:n.width,height:n.height,format:n.format,mipmaps:n.mipmaps},c+=1,6===c&&(1===n.mipmapCount&&(a.minFilter=xe),a.image=o,a.format=n.format,a.needsUpdate=!0,t&&t(a))}),n,r)}if(Array.isArray(e))for(let t=0,n=e.length;t<n;++t)u(t);else s.load(e,(function(e){const n=i.parse(e,!0);if(n.isCubemap){const e=n.mipmaps.length/n.mipmapCount;for(let t=0;t<e;t++){o[t]={mipmaps:[]};for(let e=0;e<n.mipmapCount;e++)o[t].mipmaps.push(n.mipmaps[t*n.mipmapCount+e]),o[t].format=n.format,o[t].width=n.width,o[t].height=n.height}a.image=o}else a.image.width=n.width,a.image.height=n.height,a.mipmaps=n.mipmaps;1===n.mipmapCount&&(a.minFilter=xe),a.format=n.format,a.needsUpdate=!0,t&&t(a)}),n,r);return a}}class Nl extends Fl{constructor(e){super(e)}load(e,t,n,r){void 0!==this.path&&(e=this.path+e),e=this.manager.resolveURL(e);const i=this,o=Dl.get(e);if(void 0!==o)return i.manager.itemStart(e),setTimeout((function(){t&&t(o),i.manager.itemEnd(e)}),0),o;const a=document.createElementNS("http://www.w3.org/1999/xhtml","img");function s(){a.removeEventListener("load",s,!1),a.removeEventListener("error",c,!1),Dl.add(e,this),t&&t(this),i.manager.itemEnd(e)}function c(t){a.removeEventListener("load",s,!1),a.removeEventListener("error",c,!1),r&&r(t),i.manager.itemError(e),i.manager.itemEnd(e)}return a.addEventListener("load",s,!1),a.addEventListener("error",c,!1),"data:"!==e.substr(0,5)&&void 0!==this.crossOrigin&&(a.crossOrigin=this.crossOrigin),i.manager.itemStart(e),a.src=e,a}}class Hl extends Fl{constructor(e){super(e)}load(e,t,n,r){const i=new Oo,o=new Nl(this.manager);o.setCrossOrigin(this.crossOrigin),o.setPath(this.path);let a=0;function s(n){o.load(e[n],(function(e){i.images[n]=e,a++,6===a&&(i.needsUpdate=!0,t&&t(i))}),void 0,r)}for(let t=0;t<e.length;++t)s(t);return i}}class Vl extends Fl{constructor(e){super(e)}load(e,t,n,r){const i=this,o=new Io,a=new Ul(this.manager);return a.setResponseType("arraybuffer"),a.setRequestHeader(this.requestHeader),a.setPath(this.path),a.setWithCredentials(i.withCredentials),a.load(e,(function(e){const n=i.parse(e);n&&(void 0!==n.image?o.image=n.image:void 0!==n.data&&(o.image.width=n.width,o.image.height=n.height,o.image.data=n.data),o.wrapS=void 0!==n.wrapS?n.wrapS:he,o.wrapT=void 0!==n.wrapT?n.wrapT:he,o.magFilter=void 0!==n.magFilter?n.magFilter:xe,o.minFilter=void 0!==n.minFilter?n.minFilter:xe,o.anisotropy=void 0!==n.anisotropy?n.anisotropy:1,void 0!==n.encoding&&(o.encoding=n.encoding),void 0!==n.flipY&&(o.flipY=n.flipY),void 0!==n.format&&(o.format=n.format),void 0!==n.type&&(o.type=n.type),void 0!==n.mipmaps&&(o.mipmaps=n.mipmaps,o.minFilter=Me),1===n.mipmapCount&&(o.minFilter=xe),void 0!==n.generateMipmaps&&(o.generateMipmaps=n.generateMipmaps),o.needsUpdate=!0,t&&t(o,n))}),n,r),o}}class Wl extends Fl{constructor(e){super(e)}load(e,t,n,r){const i=new er,o=new Nl(this.manager);return o.setCrossOrigin(this.crossOrigin),o.setPath(this.path),o.load(e,(function(n){i.image=n;const r=e.search(/\.jpe?g($|\?)/i)>0||0===e.search(/^data\:image\/jpeg/);i.format=r?Fe:je,i.needsUpdate=!0,void 0!==t&&t(i)}),n,r),i}}class Zl{constructor(){this.type="Curve",this.arcLengthDivisions=200}getPoint(){return console.warn("THREE.Curve: .getPoint() not implemented."),null}getPointAt(e,t){const n=this.getUtoTmapping(e);return this.getPoint(n,t)}getPoints(e=5){const t=[];for(let n=0;n<=e;n++)t.push(this.getPoint(n/e));return t}getSpacedPoints(e=5){const t=[];for(let n=0;n<=e;n++)t.push(this.getPointAt(n/e));return t}getLength(){const e=this.getLengths();return e[e.length-1]}getLengths(e=this.arcLengthDivisions){if(this.cacheArcLengths&&this.cacheArcLengths.length===e+1&&!this.needsUpdate)return this.cacheArcLengths;this.needsUpdate=!1;const t=[];let n,r=this.getPoint(0),i=0;t.push(0);for(let o=1;o<=e;o++)n=this.getPoint(o/e),i+=n.distanceTo(r),t.push(i),r=n;return this.cacheArcLengths=t,t}updateArcLengths(){this.needsUpdate=!0,this.getLengths()}getUtoTmapping(e,t){const n=this.getLengths();let r=0;const i=n.length;let o;o=t||e*n[i-1];let a,s=0,c=i-1;for(;s<=c;)if(r=Math.floor(s+(c-s)/2),a=n[r]-o,a<0)s=r+1;else{if(!(a>0)){c=r;break}c=r-1}if(r=c,n[r]===o)return r/(i-1);const u=n[r];return(r+(o-u)/(n[r+1]-u))/(i-1)}getTangent(e,t){const n=1e-4;let r=e-n,i=e+n;r<0&&(r=0),i>1&&(i=1);const o=this.getPoint(r),a=this.getPoint(i),s=t||(o.isVector2?new Xn:new ar);return s.copy(a).sub(o).normalize(),s}getTangentAt(e,t){const n=this.getUtoTmapping(e);return this.getTangent(n,t)}computeFrenetFrames(e,t){const n=new ar,r=[],i=[],o=[],a=new ar,s=new Fr;for(let t=0;t<=e;t++){const n=t/e;r[t]=this.getTangentAt(n,new ar),r[t].normalize()}i[0]=new ar,o[0]=new ar;let c=Number.MAX_VALUE;const u=Math.abs(r[0].x),l=Math.abs(r[0].y),f=Math.abs(r[0].z);u<=c&&(c=u,n.set(1,0,0)),l<=c&&(c=l,n.set(0,1,0)),f<=c&&n.set(0,0,1),a.crossVectors(r[0],n).normalize(),i[0].crossVectors(r[0],a),o[0].crossVectors(r[0],i[0]);for(let t=1;t<=e;t++){if(i[t]=i[t-1].clone(),o[t]=o[t-1].clone(),a.crossVectors(r[t-1],r[t]),a.length()>Number.EPSILON){a.normalize();const e=Math.acos(Nn(r[t-1].dot(r[t]),-1,1));i[t].applyMatrix4(s.makeRotationAxis(a,e))}o[t].crossVectors(r[t],i[t])}if(!0===t){let t=Math.acos(Nn(i[0].dot(i[e]),-1,1));t/=e,r[0].dot(a.crossVectors(i[0],i[e]))>0&&(t=-t);for(let n=1;n<=e;n++)i[n].applyMatrix4(s.makeRotationAxis(r[n],t*n)),o[n].crossVectors(r[n],i[n])}return{tangents:r,normals:i,binormals:o}}clone(){return(new this.constructor).copy(this)}copy(e){return this.arcLengthDivisions=e.arcLengthDivisions,this}toJSON(){const e={metadata:{version:4.5,type:"Curve",generator:"Curve.toJSON"}};return e.arcLengthDivisions=this.arcLengthDivisions,e.type=this.type,e}fromJSON(e){return this.arcLengthDivisions=e.arcLengthDivisions,this}}class ql extends Zl{constructor(e=0,t=0,n=1,r=1,i=0,o=2*Math.PI,a=!1,s=0){super(),this.type="EllipseCurve",this.aX=e,this.aY=t,this.xRadius=n,this.yRadius=r,this.aStartAngle=i,this.aEndAngle=o,this.aClockwise=a,this.aRotation=s}getPoint(e,t){const n=t||new Xn,r=2*Math.PI;let i=this.aEndAngle-this.aStartAngle;const o=Math.abs(i)<Number.EPSILON;for(;i<0;)i+=r;for(;i>r;)i-=r;i<Number.EPSILON&&(i=o?0:r),!0!==this.aClockwise||o||(i===r?i=-r:i-=r);const a=this.aStartAngle+e*i;let s=this.aX+this.xRadius*Math.cos(a),c=this.aY+this.yRadius*Math.sin(a);if(0!==this.aRotation){const e=Math.cos(this.aRotation),t=Math.sin(this.aRotation),n=s-this.aX,r=c-this.aY;s=n*e-r*t+this.aX,c=n*t+r*e+this.aY}return n.set(s,c)}copy(e){return super.copy(e),this.aX=e.aX,this.aY=e.aY,this.xRadius=e.xRadius,this.yRadius=e.yRadius,this.aStartAngle=e.aStartAngle,this.aEndAngle=e.aEndAngle,this.aClockwise=e.aClockwise,this.aRotation=e.aRotation,this}toJSON(){const e=super.toJSON();return e.aX=this.aX,e.aY=this.aY,e.xRadius=this.xRadius,e.yRadius=this.yRadius,e.aStartAngle=this.aStartAngle,e.aEndAngle=this.aEndAngle,e.aClockwise=this.aClockwise,e.aRotation=this.aRotation,e}fromJSON(e){return super.fromJSON(e),this.aX=e.aX,this.aY=e.aY,this.xRadius=e.xRadius,this.yRadius=e.yRadius,this.aStartAngle=e.aStartAngle,this.aEndAngle=e.aEndAngle,this.aClockwise=e.aClockwise,this.aRotation=e.aRotation,this}}ql.prototype.isEllipseCurve=!0;class Yl extends ql{constructor(e,t,n,r,i,o){super(e,t,n,n,r,i,o),this.type="ArcCurve"}}function Xl(){let e=0,t=0,n=0,r=0;function i(i,o,a,s){e=i,t=a,n=-3*i+3*o-2*a-s,r=2*i-2*o+a+s}return{initCatmullRom:function(e,t,n,r,o){i(t,n,o*(n-e),o*(r-t))},initNonuniformCatmullRom:function(e,t,n,r,o,a,s){let c=(t-e)/o-(n-e)/(o+a)+(n-t)/a,u=(n-t)/a-(r-t)/(a+s)+(r-n)/s;c*=a,u*=a,i(t,n,c,u)},calc:function(i){const o=i*i;return e+t*i+n*o+r*(o*i)}}}Yl.prototype.isArcCurve=!0;const Kl=new ar,Ql=new Xl,Jl=new Xl,$l=new Xl;class ef extends Zl{constructor(e=[],t=!1,n="centripetal",r=.5){super(),this.type="CatmullRomCurve3",this.points=e,this.closed=t,this.curveType=n,this.tension=r}getPoint(e,t=new ar){const n=t,r=this.points,i=r.length,o=(i-(this.closed?0:1))*e;let a,s,c=Math.floor(o),u=o-c;this.closed?c+=c>0?0:(Math.floor(Math.abs(c)/i)+1)*i:0===u&&c===i-1&&(c=i-2,u=1),this.closed||c>0?a=r[(c-1)%i]:(Kl.subVectors(r[0],r[1]).add(r[0]),a=Kl);const l=r[c%i],f=r[(c+1)%i];if(this.closed||c+2<i?s=r[(c+2)%i]:(Kl.subVectors(r[i-1],r[i-2]).add(r[i-1]),s=Kl),"centripetal"===this.curveType||"chordal"===this.curveType){const e="chordal"===this.curveType?.5:.25;let t=Math.pow(a.distanceToSquared(l),e),n=Math.pow(l.distanceToSquared(f),e),r=Math.pow(f.distanceToSquared(s),e);n<1e-4&&(n=1),t<1e-4&&(t=n),r<1e-4&&(r=n),Ql.initNonuniformCatmullRom(a.x,l.x,f.x,s.x,t,n,r),Jl.initNonuniformCatmullRom(a.y,l.y,f.y,s.y,t,n,r),$l.initNonuniformCatmullRom(a.z,l.z,f.z,s.z,t,n,r)}else"catmullrom"===this.curveType&&(Ql.initCatmullRom(a.x,l.x,f.x,s.x,this.tension),Jl.initCatmullRom(a.y,l.y,f.y,s.y,this.tension),$l.initCatmullRom(a.z,l.z,f.z,s.z,this.tension));return n.set(Ql.calc(u),Jl.calc(u),$l.calc(u)),n}copy(e){super.copy(e),this.points=[];for(let t=0,n=e.points.length;t<n;t++){const n=e.points[t];this.points.push(n.clone())}return this.closed=e.closed,this.curveType=e.curveType,this.tension=e.tension,this}toJSON(){const e=super.toJSON();e.points=[];for(let t=0,n=this.points.length;t<n;t++){const n=this.points[t];e.points.push(n.toArray())}return e.closed=this.closed,e.curveType=this.curveType,e.tension=this.tension,e}fromJSON(e){super.fromJSON(e),this.points=[];for(let t=0,n=e.points.length;t<n;t++){const n=e.points[t];this.points.push((new ar).fromArray(n))}return this.closed=e.closed,this.curveType=e.curveType,this.tension=e.tension,this}}function tf(e,t,n,r,i){const o=.5*(r-t),a=.5*(i-n),s=e*e;return(2*n-2*r+o+a)*(e*s)+(-3*n+3*r-2*o-a)*s+o*e+n}function nf(e,t,n,r){return function(e,t){const n=1-e;return n*n*t}(e,t)+function(e,t){return 2*(1-e)*e*t}(e,n)+function(e,t){return e*e*t}(e,r)}function rf(e,t,n,r,i){return function(e,t){const n=1-e;return n*n*n*t}(e,t)+function(e,t){const n=1-e;return 3*n*n*e*t}(e,n)+function(e,t){return 3*(1-e)*e*e*t}(e,r)+function(e,t){return e*e*e*t}(e,i)}ef.prototype.isCatmullRomCurve3=!0;class of extends Zl{constructor(e=new Xn,t=new Xn,n=new Xn,r=new Xn){super(),this.type="CubicBezierCurve",this.v0=e,this.v1=t,this.v2=n,this.v3=r}getPoint(e,t=new Xn){const n=t,r=this.v0,i=this.v1,o=this.v2,a=this.v3;return n.set(rf(e,r.x,i.x,o.x,a.x),rf(e,r.y,i.y,o.y,a.y)),n}copy(e){return super.copy(e),this.v0.copy(e.v0),this.v1.copy(e.v1),this.v2.copy(e.v2),this.v3.copy(e.v3),this}toJSON(){const e=super.toJSON();return e.v0=this.v0.toArray(),e.v1=this.v1.toArray(),e.v2=this.v2.toArray(),e.v3=this.v3.toArray(),e}fromJSON(e){return super.fromJSON(e),this.v0.fromArray(e.v0),this.v1.fromArray(e.v1),this.v2.fromArray(e.v2),this.v3.fromArray(e.v3),this}}of.prototype.isCubicBezierCurve=!0;class af extends Zl{constructor(e=new ar,t=new ar,n=new ar,r=new ar){super(),this.type="CubicBezierCurve3",this.v0=e,this.v1=t,this.v2=n,this.v3=r}getPoint(e,t=new ar){const n=t,r=this.v0,i=this.v1,o=this.v2,a=this.v3;return n.set(rf(e,r.x,i.x,o.x,a.x),rf(e,r.y,i.y,o.y,a.y),rf(e,r.z,i.z,o.z,a.z)),n}copy(e){return super.copy(e),this.v0.copy(e.v0),this.v1.copy(e.v1),this.v2.copy(e.v2),this.v3.copy(e.v3),this}toJSON(){const e=super.toJSON();return e.v0=this.v0.toArray(),e.v1=this.v1.toArray(),e.v2=this.v2.toArray(),e.v3=this.v3.toArray(),e}fromJSON(e){return super.fromJSON(e),this.v0.fromArray(e.v0),this.v1.fromArray(e.v1),this.v2.fromArray(e.v2),this.v3.fromArray(e.v3),this}}af.prototype.isCubicBezierCurve3=!0;class sf extends Zl{constructor(e=new Xn,t=new Xn){super(),this.type="LineCurve",this.v1=e,this.v2=t}getPoint(e,t=new Xn){const n=t;return 1===e?n.copy(this.v2):(n.copy(this.v2).sub(this.v1),n.multiplyScalar(e).add(this.v1)),n}getPointAt(e,t){return this.getPoint(e,t)}getTangent(e,t){const n=t||new Xn;return n.copy(this.v2).sub(this.v1).normalize(),n}copy(e){return super.copy(e),this.v1.copy(e.v1),this.v2.copy(e.v2),this}toJSON(){const e=super.toJSON();return e.v1=this.v1.toArray(),e.v2=this.v2.toArray(),e}fromJSON(e){return super.fromJSON(e),this.v1.fromArray(e.v1),this.v2.fromArray(e.v2),this}}sf.prototype.isLineCurve=!0;class cf extends Zl{constructor(e=new ar,t=new ar){super(),this.type="LineCurve3",this.isLineCurve3=!0,this.v1=e,this.v2=t}getPoint(e,t=new ar){const n=t;return 1===e?n.copy(this.v2):(n.copy(this.v2).sub(this.v1),n.multiplyScalar(e).add(this.v1)),n}getPointAt(e,t){return this.getPoint(e,t)}copy(e){return super.copy(e),this.v1.copy(e.v1),this.v2.copy(e.v2),this}toJSON(){const e=super.toJSON();return e.v1=this.v1.toArray(),e.v2=this.v2.toArray(),e}fromJSON(e){return super.fromJSON(e),this.v1.fromArray(e.v1),this.v2.fromArray(e.v2),this}}class uf extends Zl{constructor(e=new Xn,t=new Xn,n=new Xn){super(),this.type="QuadraticBezierCurve",this.v0=e,this.v1=t,this.v2=n}getPoint(e,t=new Xn){const n=t,r=this.v0,i=this.v1,o=this.v2;return n.set(nf(e,r.x,i.x,o.x),nf(e,r.y,i.y,o.y)),n}copy(e){return super.copy(e),this.v0.copy(e.v0),this.v1.copy(e.v1),this.v2.copy(e.v2),this}toJSON(){const e=super.toJSON();return e.v0=this.v0.toArray(),e.v1=this.v1.toArray(),e.v2=this.v2.toArray(),e}fromJSON(e){return super.fromJSON(e),this.v0.fromArray(e.v0),this.v1.fromArray(e.v1),this.v2.fromArray(e.v2),this}}uf.prototype.isQuadraticBezierCurve=!0;class lf extends Zl{constructor(e=new ar,t=new ar,n=new ar){super(),this.type="QuadraticBezierCurve3",this.v0=e,this.v1=t,this.v2=n}getPoint(e,t=new ar){const n=t,r=this.v0,i=this.v1,o=this.v2;return n.set(nf(e,r.x,i.x,o.x),nf(e,r.y,i.y,o.y),nf(e,r.z,i.z,o.z)),n}copy(e){return super.copy(e),this.v0.copy(e.v0),this.v1.copy(e.v1),this.v2.copy(e.v2),this}toJSON(){const e=super.toJSON();return e.v0=this.v0.toArray(),e.v1=this.v1.toArray(),e.v2=this.v2.toArray(),e}fromJSON(e){return super.fromJSON(e),this.v0.fromArray(e.v0),this.v1.fromArray(e.v1),this.v2.fromArray(e.v2),this}}lf.prototype.isQuadraticBezierCurve3=!0;class ff extends Zl{constructor(e=[]){super(),this.type="SplineCurve",this.points=e}getPoint(e,t=new Xn){const n=t,r=this.points,i=(r.length-1)*e,o=Math.floor(i),a=i-o,s=r[0===o?o:o-1],c=r[o],u=r[o>r.length-2?r.length-1:o+1],l=r[o>r.length-3?r.length-1:o+2];return n.set(tf(a,s.x,c.x,u.x,l.x),tf(a,s.y,c.y,u.y,l.y)),n}copy(e){super.copy(e),this.points=[];for(let t=0,n=e.points.length;t<n;t++){const n=e.points[t];this.points.push(n.clone())}return this}toJSON(){const e=super.toJSON();e.points=[];for(let t=0,n=this.points.length;t<n;t++){const n=this.points[t];e.points.push(n.toArray())}return e}fromJSON(e){super.fromJSON(e),this.points=[];for(let t=0,n=e.points.length;t<n;t++){const n=e.points[t];this.points.push((new Xn).fromArray(n))}return this}}ff.prototype.isSplineCurve=!0;var hf=Object.freeze({__proto__:null,ArcCurve:Yl,CatmullRomCurve3:ef,CubicBezierCurve:of,CubicBezierCurve3:af,EllipseCurve:ql,LineCurve:sf,LineCurve3:cf,QuadraticBezierCurve:uf,QuadraticBezierCurve3:lf,SplineCurve:ff});class vf extends Zl{constructor(){super(),this.type="CurvePath",this.curves=[],this.autoClose=!1}add(e){this.curves.push(e)}closePath(){const e=this.curves[0].getPoint(0),t=this.curves[this.curves.length-1].getPoint(1);e.equals(t)||this.curves.push(new sf(t,e))}getPoint(e){const t=e*this.getLength(),n=this.getCurveLengths();let r=0;for(;r<n.length;){if(n[r]>=t){const e=n[r]-t,i=this.curves[r],o=i.getLength(),a=0===o?0:1-e/o;return i.getPointAt(a)}r++}return null}getLength(){const e=this.getCurveLengths();return e[e.length-1]}updateArcLengths(){this.needsUpdate=!0,this.cacheLengths=null,this.getCurveLengths()}getCurveLengths(){if(this.cacheLengths&&this.cacheLengths.length===this.curves.length)return this.cacheLengths;const e=[];let t=0;for(let n=0,r=this.curves.length;n<r;n++)t+=this.curves[n].getLength(),e.push(t);return this.cacheLengths=e,e}getSpacedPoints(e=40){const t=[];for(let n=0;n<=e;n++)t.push(this.getPoint(n/e));return this.autoClose&&t.push(t[0]),t}getPoints(e=12){const t=[];let n;for(let r=0,i=this.curves;r<i.length;r++){const o=i[r],a=o&&o.isEllipseCurve?2*e:o&&(o.isLineCurve||o.isLineCurve3)?1:o&&o.isSplineCurve?e*o.points.length:e,s=o.getPoints(a);for(let e=0;e<s.length;e++){const r=s[e];n&&n.equals(r)||(t.push(r),n=r)}}return this.autoClose&&t.length>1&&!t[t.length-1].equals(t[0])&&t.push(t[0]),t}copy(e){super.copy(e),this.curves=[];for(let t=0,n=e.curves.length;t<n;t++){const n=e.curves[t];this.curves.push(n.clone())}return this.autoClose=e.autoClose,this}toJSON(){const e=super.toJSON();e.autoClose=this.autoClose,e.curves=[];for(let t=0,n=this.curves.length;t<n;t++){const n=this.curves[t];e.curves.push(n.toJSON())}return e}fromJSON(e){super.fromJSON(e),this.autoClose=e.autoClose,this.curves=[];for(let t=0,n=e.curves.length;t<n;t++){const n=e.curves[t];this.curves.push((new hf[n.type]).fromJSON(n))}return this}}class df extends vf{constructor(e){super(),this.type="Path",this.currentPoint=new Xn,e&&this.setFromPoints(e)}setFromPoints(e){this.moveTo(e[0].x,e[0].y);for(let t=1,n=e.length;t<n;t++)this.lineTo(e[t].x,e[t].y);return this}moveTo(e,t){return this.currentPoint.set(e,t),this}lineTo(e,t){const n=new sf(this.currentPoint.clone(),new Xn(e,t));return this.curves.push(n),this.currentPoint.set(e,t),this}quadraticCurveTo(e,t,n,r){const i=new uf(this.currentPoint.clone(),new Xn(e,t),new Xn(n,r));return this.curves.push(i),this.currentPoint.set(n,r),this}bezierCurveTo(e,t,n,r,i,o){const a=new of(this.currentPoint.clone(),new Xn(e,t),new Xn(n,r),new Xn(i,o));return this.curves.push(a),this.currentPoint.set(i,o),this}splineThru(e){const t=[this.currentPoint.clone()].concat(e),n=new ff(t);return this.curves.push(n),this.currentPoint.copy(e[e.length-1]),this}arc(e,t,n,r,i,o){const a=this.currentPoint.x,s=this.currentPoint.y;return this.absarc(e+a,t+s,n,r,i,o),this}absarc(e,t,n,r,i,o){return this.absellipse(e,t,n,n,r,i,o),this}ellipse(e,t,n,r,i,o,a,s){const c=this.currentPoint.x,u=this.currentPoint.y;return this.absellipse(e+c,t+u,n,r,i,o,a,s),this}absellipse(e,t,n,r,i,o,a,s){const c=new ql(e,t,n,r,i,o,a,s);if(this.curves.length>0){const e=c.getPoint(0);e.equals(this.currentPoint)||this.lineTo(e.x,e.y)}this.curves.push(c);const u=c.getPoint(1);return this.currentPoint.copy(u),this}copy(e){return super.copy(e),this.currentPoint.copy(e.currentPoint),this}toJSON(){const e=super.toJSON();return e.currentPoint=this.currentPoint.toArray(),e}fromJSON(e){return super.fromJSON(e),this.currentPoint.fromArray(e.currentPoint),this}}class pf extends df{constructor(e){super(e),this.uuid=Gn(),this.type="Shape",this.holes=[]}getPointsHoles(e){const t=[];for(let n=0,r=this.holes.length;n<r;n++)t[n]=this.holes[n].getPoints(e);return t}extractPoints(e){return{shape:this.getPoints(e),holes:this.getPointsHoles(e)}}copy(e){super.copy(e),this.holes=[];for(let t=0,n=e.holes.length;t<n;t++){const n=e.holes[t];this.holes.push(n.clone())}return this}toJSON(){const e=super.toJSON();e.uuid=this.uuid,e.holes=[];for(let t=0,n=this.holes.length;t<n;t++){const n=this.holes[t];e.holes.push(n.toJSON())}return e}fromJSON(e){super.fromJSON(e),this.uuid=e.uuid,this.holes=[];for(let t=0,n=e.holes.length;t<n;t++){const n=e.holes[t];this.holes.push((new df).fromJSON(n))}return this}}class mf extends ci{constructor(e,t=1){super(),this.type="Light",this.color=new Ai(e),this.intensity=t}dispose(){}copy(e){return super.copy(e),this.color.copy(e.color),this.intensity=e.intensity,this}toJSON(e){const t=super.toJSON(e);return t.object.color=this.color.getHex(),t.object.intensity=this.intensity,void 0!==this.groundColor&&(t.object.groundColor=this.groundColor.getHex()),void 0!==this.distance&&(t.object.distance=this.distance),void 0!==this.angle&&(t.object.angle=this.angle),void 0!==this.decay&&(t.object.decay=this.decay),void 0!==this.penumbra&&(t.object.penumbra=this.penumbra),void 0!==this.shadow&&(t.object.shadow=this.shadow.toJSON()),t}}mf.prototype.isLight=!0;class yf extends mf{constructor(e,t,n){super(e,n),this.type="HemisphereLight",this.position.copy(ci.DefaultUp),this.updateMatrix(),this.groundColor=new Ai(t)}copy(e){return mf.prototype.copy.call(this,e),this.groundColor.copy(e.groundColor),this}}yf.prototype.isHemisphereLight=!0;const gf=new Fr,xf=new ar,bf=new ar;class wf{constructor(e){this.camera=e,this.bias=0,this.normalBias=0,this.radius=1,this.mapSize=new Xn(512,512),this.map=null,this.mapPass=null,this.matrix=new Fr,this.autoUpdate=!0,this.needsUpdate=!1,this._frustum=new jo,this._frameExtents=new Xn(1,1),this._viewportCount=1,this._viewports=[new nr(0,0,1,1)]}getViewportCount(){return this._viewportCount}getFrustum(){return this._frustum}updateMatrices(e){const t=this.camera,n=this.matrix;xf.setFromMatrixPosition(e.matrixWorld),t.position.copy(xf),bf.setFromMatrixPosition(e.target.matrixWorld),t.lookAt(bf),t.updateMatrixWorld(),gf.multiplyMatrices(t.projectionMatrix,t.matrixWorldInverse),this._frustum.setFromProjectionMatrix(gf),n.set(.5,0,0,.5,0,.5,0,.5,0,0,.5,.5,0,0,0,1),n.multiply(t.projectionMatrix),n.multiply(t.matrixWorldInverse)}getViewport(e){return this._viewports[e]}getFrameExtents(){return this._frameExtents}dispose(){this.map&&this.map.dispose(),this.mapPass&&this.mapPass.dispose()}copy(e){return this.camera=e.camera.clone(),this.bias=e.bias,this.radius=e.radius,this.mapSize.copy(e.mapSize),this}clone(){return(new this.constructor).copy(this)}toJSON(){const e={};return 0!==this.bias&&(e.bias=this.bias),0!==this.normalBias&&(e.normalBias=this.normalBias),1!==this.radius&&(e.radius=this.radius),512===this.mapSize.x&&512===this.mapSize.y||(e.mapSize=this.mapSize.toArray()),e.camera=this.camera.toJSON(!1).object,delete e.camera.matrix,e}}class Mf extends wf{constructor(){super(new Lo(50,1,.5,500)),this.focus=1}updateMatrices(e){const t=this.camera,n=2*Bn*e.angle*this.focus,r=this.mapSize.width/this.mapSize.height,i=e.distance||t.far;n===t.fov&&r===t.aspect&&i===t.far||(t.fov=n,t.aspect=r,t.far=i,t.updateProjectionMatrix()),super.updateMatrices(e)}copy(e){return super.copy(e),this.focus=e.focus,this}}Mf.prototype.isSpotLightShadow=!0;class _f extends mf{constructor(e,t,n=0,r=Math.PI/3,i=0,o=1){super(e,t),this.type="SpotLight",this.position.copy(ci.DefaultUp),this.updateMatrix(),this.target=new ci,this.distance=n,this.angle=r,this.penumbra=i,this.decay=o,this.shadow=new Mf}get power(){return this.intensity*Math.PI}set power(e){this.intensity=e/Math.PI}dispose(){this.shadow.dispose()}copy(e){return super.copy(e),this.distance=e.distance,this.angle=e.angle,this.penumbra=e.penumbra,this.decay=e.decay,this.target=e.target.clone(),this.shadow=e.shadow.clone(),this}}_f.prototype.isSpotLight=!0;const Sf=new Fr,Pf=new ar,Tf=new ar;class Rf extends wf{constructor(){super(new Lo(90,1,.5,500)),this._frameExtents=new Xn(4,2),this._viewportCount=6,this._viewports=[new nr(2,1,1,1),new nr(0,1,1,1),new nr(3,1,1,1),new nr(1,1,1,1),new nr(3,0,1,1),new nr(1,0,1,1)],this._cubeDirections=[new ar(1,0,0),new ar(-1,0,0),new ar(0,0,1),new ar(0,0,-1),new ar(0,1,0),new ar(0,-1,0)],this._cubeUps=[new ar(0,1,0),new ar(0,1,0),new ar(0,1,0),new ar(0,1,0),new ar(0,0,1),new ar(0,0,-1)]}updateMatrices(e,t=0){const n=this.camera,r=this.matrix,i=e.distance||n.far;i!==n.far&&(n.far=i,n.updateProjectionMatrix()),Pf.setFromMatrixPosition(e.matrixWorld),n.position.copy(Pf),Tf.copy(n.position),Tf.add(this._cubeDirections[t]),n.up.copy(this._cubeUps[t]),n.lookAt(Tf),n.updateMatrixWorld(),r.makeTranslation(-Pf.x,-Pf.y,-Pf.z),Sf.multiplyMatrices(n.projectionMatrix,n.matrixWorldInverse),this._frustum.setFromProjectionMatrix(Sf)}}Rf.prototype.isPointLightShadow=!0;class Ef extends mf{constructor(e,t,n=0,r=1){super(e,t),this.type="PointLight",this.distance=n,this.decay=r,this.shadow=new Rf}get power(){return 4*this.intensity*Math.PI}set power(e){this.intensity=e/(4*Math.PI)}dispose(){this.shadow.dispose()}copy(e){return super.copy(e),this.distance=e.distance,this.decay=e.decay,this.shadow=e.shadow.clone(),this}}Ef.prototype.isPointLight=!0;class zf extends zo{constructor(e=-1,t=1,n=1,r=-1,i=.1,o=2e3){super(),this.type="OrthographicCamera",this.zoom=1,this.view=null,this.left=e,this.right=t,this.top=n,this.bottom=r,this.near=i,this.far=o,this.updateProjectionMatrix()}copy(e,t){return super.copy(e,t),this.left=e.left,this.right=e.right,this.top=e.top,this.bottom=e.bottom,this.near=e.near,this.far=e.far,this.zoom=e.zoom,this.view=null===e.view?null:Object.assign({},e.view),this}setViewOffset(e,t,n,r,i,o){null===this.view&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=t,this.view.offsetX=n,this.view.offsetY=r,this.view.width=i,this.view.height=o,this.updateProjectionMatrix()}clearViewOffset(){null!==this.view&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const e=(this.right-this.left)/(2*this.zoom),t=(this.top-this.bottom)/(2*this.zoom),n=(this.right+this.left)/2,r=(this.top+this.bottom)/2;let i=n-e,o=n+e,a=r+t,s=r-t;if(null!==this.view&&this.view.enabled){const e=(this.right-this.left)/this.view.fullWidth/this.zoom,t=(this.top-this.bottom)/this.view.fullHeight/this.zoom;i+=e*this.view.offsetX,o=i+e*this.view.width,a-=t*this.view.offsetY,s=a-t*this.view.height}this.projectionMatrix.makeOrthographic(i,o,a,s,this.near,this.far),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){const t=super.toJSON(e);return t.object.zoom=this.zoom,t.object.left=this.left,t.object.right=this.right,t.object.top=this.top,t.object.bottom=this.bottom,t.object.near=this.near,t.object.far=this.far,null!==this.view&&(t.object.view=Object.assign({},this.view)),t}}zf.prototype.isOrthographicCamera=!0;class Lf extends wf{constructor(){super(new zf(-5,5,5,-5,.5,500))}}Lf.prototype.isDirectionalLightShadow=!0;class Cf extends mf{constructor(e,t){super(e,t),this.type="DirectionalLight",this.position.copy(ci.DefaultUp),this.updateMatrix(),this.target=new ci,this.shadow=new Lf}dispose(){this.shadow.dispose()}copy(e){return super.copy(e),this.target=e.target.clone(),this.shadow=e.shadow.clone(),this}}Cf.prototype.isDirectionalLight=!0;class Af extends mf{constructor(e,t){super(e,t),this.type="AmbientLight"}}Af.prototype.isAmbientLight=!0;class Of extends mf{constructor(e,t,n=10,r=10){super(e,t),this.type="RectAreaLight",this.width=n,this.height=r}copy(e){return super.copy(e),this.width=e.width,this.height=e.height,this}toJSON(e){const t=super.toJSON(e);return t.object.width=this.width,t.object.height=this.height,t}}Of.prototype.isRectAreaLight=!0;class Df{constructor(){this.coefficients=[];for(let e=0;e<9;e++)this.coefficients.push(new ar)}set(e){for(let t=0;t<9;t++)this.coefficients[t].copy(e[t]);return this}zero(){for(let e=0;e<9;e++)this.coefficients[e].set(0,0,0);return this}getAt(e,t){const n=e.x,r=e.y,i=e.z,o=this.coefficients;return t.copy(o[0]).multiplyScalar(.282095),t.addScaledVector(o[1],.488603*r),t.addScaledVector(o[2],.488603*i),t.addScaledVector(o[3],.488603*n),t.addScaledVector(o[4],n*r*1.092548),t.addScaledVector(o[5],r*i*1.092548),t.addScaledVector(o[6],.315392*(3*i*i-1)),t.addScaledVector(o[7],n*i*1.092548),t.addScaledVector(o[8],.546274*(n*n-r*r)),t}getIrradianceAt(e,t){const n=e.x,r=e.y,i=e.z,o=this.coefficients;return t.copy(o[0]).multiplyScalar(.886227),t.addScaledVector(o[1],1.023328*r),t.addScaledVector(o[2],1.023328*i),t.addScaledVector(o[3],1.023328*n),t.addScaledVector(o[4],.858086*n*r),t.addScaledVector(o[5],.858086*r*i),t.addScaledVector(o[6],.743125*i*i-.247708),t.addScaledVector(o[7],.858086*n*i),t.addScaledVector(o[8],.429043*(n*n-r*r)),t}add(e){for(let t=0;t<9;t++)this.coefficients[t].add(e.coefficients[t]);return this}addScaledSH(e,t){for(let n=0;n<9;n++)this.coefficients[n].addScaledVector(e.coefficients[n],t);return this}scale(e){for(let t=0;t<9;t++)this.coefficients[t].multiplyScalar(e);return this}lerp(e,t){for(let n=0;n<9;n++)this.coefficients[n].lerp(e.coefficients[n],t);return this}equals(e){for(let t=0;t<9;t++)if(!this.coefficients[t].equals(e.coefficients[t]))return!1;return!0}copy(e){return this.set(e.coefficients)}clone(){return(new this.constructor).copy(this)}fromArray(e,t=0){const n=this.coefficients;for(let r=0;r<9;r++)n[r].fromArray(e,t+3*r);return this}toArray(e=[],t=0){const n=this.coefficients;for(let r=0;r<9;r++)n[r].toArray(e,t+3*r);return e}static getBasisAt(e,t){const n=e.x,r=e.y,i=e.z;t[0]=.282095,t[1]=.488603*r,t[2]=.488603*i,t[3]=.488603*n,t[4]=1.092548*n*r,t[5]=1.092548*r*i,t[6]=.315392*(3*i*i-1),t[7]=1.092548*n*i,t[8]=.546274*(n*n-r*r)}}Df.prototype.isSphericalHarmonics3=!0;class If extends mf{constructor(e=new Df,t=1){super(void 0,t),this.sh=e}copy(e){return super.copy(e),this.sh.copy(e.sh),this}fromJSON(e){return this.intensity=e.intensity,this.sh.fromArray(e.sh),this}toJSON(e){const t=super.toJSON(e);return t.object.sh=this.sh.toArray(),t}}If.prototype.isLightProbe=!0;class kf extends Fl{constructor(e){super(e),this.textures={}}load(e,t,n,r){const i=this,o=new Ul(i.manager);o.setPath(i.path),o.setRequestHeader(i.requestHeader),o.setWithCredentials(i.withCredentials),o.load(e,(function(n){try{t(i.parse(JSON.parse(n)))}catch(t){r?r(t):console.error(t),i.manager.itemError(e)}}),n,r)}parse(e){const t=this.textures;function n(e){return void 0===t[e]&&console.warn("THREE.MaterialLoader: Undefined texture",e),t[e]}const r=new gl[e.type];if(void 0!==e.uuid&&(r.uuid=e.uuid),void 0!==e.name&&(r.name=e.name),void 0!==e.color&&void 0!==r.color&&r.color.setHex(e.color),void 0!==e.roughness&&(r.roughness=e.roughness),void 0!==e.metalness&&(r.metalness=e.metalness),void 0!==e.sheen&&(r.sheen=(new Ai).setHex(e.sheen)),void 0!==e.emissive&&void 0!==r.emissive&&r.emissive.setHex(e.emissive),void 0!==e.specular&&void 0!==r.specular&&r.specular.setHex(e.specular),void 0!==e.shininess&&(r.shininess=e.shininess),void 0!==e.clearcoat&&(r.clearcoat=e.clearcoat),void 0!==e.clearcoatRoughness&&(r.clearcoatRoughness=e.clearcoatRoughness),void 0!==e.fog&&(r.fog=e.fog),void 0!==e.flatShading&&(r.flatShading=e.flatShading),void 0!==e.blending&&(r.blending=e.blending),void 0!==e.combine&&(r.combine=e.combine),void 0!==e.side&&(r.side=e.side),void 0!==e.shadowSide&&(r.shadowSide=e.shadowSide),void 0!==e.opacity&&(r.opacity=e.opacity),void 0!==e.transparent&&(r.transparent=e.transparent),void 0!==e.alphaTest&&(r.alphaTest=e.alphaTest),void 0!==e.depthTest&&(r.depthTest=e.depthTest),void 0!==e.depthWrite&&(r.depthWrite=e.depthWrite),void 0!==e.colorWrite&&(r.colorWrite=e.colorWrite),void 0!==e.stencilWrite&&(r.stencilWrite=e.stencilWrite),void 0!==e.stencilWriteMask&&(r.stencilWriteMask=e.stencilWriteMask),void 0!==e.stencilFunc&&(r.stencilFunc=e.stencilFunc),void 0!==e.stencilRef&&(r.stencilRef=e.stencilRef),void 0!==e.stencilFuncMask&&(r.stencilFuncMask=e.stencilFuncMask),void 0!==e.stencilFail&&(r.stencilFail=e.stencilFail),void 0!==e.stencilZFail&&(r.stencilZFail=e.stencilZFail),void 0!==e.stencilZPass&&(r.stencilZPass=e.stencilZPass),void 0!==e.wireframe&&(r.wireframe=e.wireframe),void 0!==e.wireframeLinewidth&&(r.wireframeLinewidth=e.wireframeLinewidth),void 0!==e.wireframeLinecap&&(r.wireframeLinecap=e.wireframeLinecap),void 0!==e.wireframeLinejoin&&(r.wireframeLinejoin=e.wireframeLinejoin),void 0!==e.rotation&&(r.rotation=e.rotation),1!==e.linewidth&&(r.linewidth=e.linewidth),void 0!==e.dashSize&&(r.dashSize=e.dashSize),void 0!==e.gapSize&&(r.gapSize=e.gapSize),void 0!==e.scale&&(r.scale=e.scale),void 0!==e.polygonOffset&&(r.polygonOffset=e.polygonOffset),void 0!==e.polygonOffsetFactor&&(r.polygonOffsetFactor=e.polygonOffsetFactor),void 0!==e.polygonOffsetUnits&&(r.polygonOffsetUnits=e.polygonOffsetUnits),void 0!==e.skinning&&(r.skinning=e.skinning),void 0!==e.morphTargets&&(r.morphTargets=e.morphTargets),void 0!==e.morphNormals&&(r.morphNormals=e.morphNormals),void 0!==e.dithering&&(r.dithering=e.dithering),void 0!==e.alphaToCoverage&&(r.alphaToCoverage=e.alphaToCoverage),void 0!==e.premultipliedAlpha&&(r.premultipliedAlpha=e.premultipliedAlpha),void 0!==e.vertexTangents&&(r.vertexTangents=e.vertexTangents),void 0!==e.visible&&(r.visible=e.visible),void 0!==e.toneMapped&&(r.toneMapped=e.toneMapped),void 0!==e.userData&&(r.userData=e.userData),void 0!==e.vertexColors&&("number"==typeof e.vertexColors?r.vertexColors=e.vertexColors>0:r.vertexColors=e.vertexColors),void 0!==e.uniforms)for(const t in e.uniforms){const i=e.uniforms[t];switch(r.uniforms[t]={},i.type){case"t":r.uniforms[t].value=n(i.value);break;case"c":r.uniforms[t].value=(new Ai).setHex(i.value);break;case"v2":r.uniforms[t].value=(new Xn).fromArray(i.value);break;case"v3":r.uniforms[t].value=(new ar).fromArray(i.value);break;case"v4":r.uniforms[t].value=(new nr).fromArray(i.value);break;case"m3":r.uniforms[t].value=(new Kn).fromArray(i.value);break;case"m4":r.uniforms[t].value=(new Fr).fromArray(i.value);break;default:r.uniforms[t].value=i.value}}if(void 0!==e.defines&&(r.defines=e.defines),void 0!==e.vertexShader&&(r.vertexShader=e.vertexShader),void 0!==e.fragmentShader&&(r.fragmentShader=e.fragmentShader),void 0!==e.extensions)for(const t in e.extensions)r.extensions[t]=e.extensions[t];if(void 0!==e.shading&&(r.flatShading=1===e.shading),void 0!==e.size&&(r.size=e.size),void 0!==e.sizeAttenuation&&(r.sizeAttenuation=e.sizeAttenuation),void 0!==e.map&&(r.map=n(e.map)),void 0!==e.matcap&&(r.matcap=n(e.matcap)),void 0!==e.alphaMap&&(r.alphaMap=n(e.alphaMap)),void 0!==e.bumpMap&&(r.bumpMap=n(e.bumpMap)),void 0!==e.bumpScale&&(r.bumpScale=e.bumpScale),void 0!==e.normalMap&&(r.normalMap=n(e.normalMap)),void 0!==e.normalMapType&&(r.normalMapType=e.normalMapType),void 0!==e.normalScale){let t=e.normalScale;!1===Array.isArray(t)&&(t=[t,t]),r.normalScale=(new Xn).fromArray(t)}return void 0!==e.displacementMap&&(r.displacementMap=n(e.displacementMap)),void 0!==e.displacementScale&&(r.displacementScale=e.displacementScale),void 0!==e.displacementBias&&(r.displacementBias=e.displacementBias),void 0!==e.roughnessMap&&(r.roughnessMap=n(e.roughnessMap)),void 0!==e.metalnessMap&&(r.metalnessMap=n(e.metalnessMap)),void 0!==e.emissiveMap&&(r.emissiveMap=n(e.emissiveMap)),void 0!==e.emissiveIntensity&&(r.emissiveIntensity=e.emissiveIntensity),void 0!==e.specularMap&&(r.specularMap=n(e.specularMap)),void 0!==e.envMap&&(r.envMap=n(e.envMap)),void 0!==e.envMapIntensity&&(r.envMapIntensity=e.envMapIntensity),void 0!==e.reflectivity&&(r.reflectivity=e.reflectivity),void 0!==e.refractionRatio&&(r.refractionRatio=e.refractionRatio),void 0!==e.lightMap&&(r.lightMap=n(e.lightMap)),void 0!==e.lightMapIntensity&&(r.lightMapIntensity=e.lightMapIntensity),void 0!==e.aoMap&&(r.aoMap=n(e.aoMap)),void 0!==e.aoMapIntensity&&(r.aoMapIntensity=e.aoMapIntensity),void 0!==e.gradientMap&&(r.gradientMap=n(e.gradientMap)),void 0!==e.clearcoatMap&&(r.clearcoatMap=n(e.clearcoatMap)),void 0!==e.clearcoatRoughnessMap&&(r.clearcoatRoughnessMap=n(e.clearcoatRoughnessMap)),void 0!==e.clearcoatNormalMap&&(r.clearcoatNormalMap=n(e.clearcoatNormalMap)),void 0!==e.clearcoatNormalScale&&(r.clearcoatNormalScale=(new Xn).fromArray(e.clearcoatNormalScale)),void 0!==e.transmission&&(r.transmission=e.transmission),void 0!==e.transmissionMap&&(r.transmissionMap=n(e.transmissionMap)),r}setTextures(e){return this.textures=e,this}}class Ff{static decodeText(e){if("undefined"!=typeof TextDecoder)return(new TextDecoder).decode(e);let t="";for(let n=0,r=e.length;n<r;n++)t+=String.fromCharCode(e[n]);try{return decodeURIComponent(escape(t))}catch(e){return t}}static extractUrlBase(e){const t=e.lastIndexOf("/");return-1===t?"./":e.substr(0,t+1)}}class jf extends ro{constructor(){super(),this.type="InstancedBufferGeometry",this.instanceCount=1/0}copy(e){return super.copy(e),this.instanceCount=e.instanceCount,this}clone(){return(new this.constructor).copy(this)}toJSON(){const e=super.toJSON(this);return e.instanceCount=this.instanceCount,e.isInstancedBufferGeometry=!0,e}}jf.prototype.isInstancedBufferGeometry=!0;class Uf extends ki{constructor(e,t,n,r){"number"==typeof n&&(r=n,n=!1,console.error("THREE.InstancedBufferAttribute: The constructor now expects normalized as the third argument.")),super(e,t,n),this.meshPerAttribute=r||1}copy(e){return super.copy(e),this.meshPerAttribute=e.meshPerAttribute,this}toJSON(){const e=super.toJSON();return e.meshPerAttribute=this.meshPerAttribute,e.isInstancedBufferAttribute=!0,e}}Uf.prototype.isInstancedBufferAttribute=!0;class Bf extends Fl{constructor(e){super(e)}load(e,t,n,r){const i=this,o=new Ul(i.manager);o.setPath(i.path),o.setRequestHeader(i.requestHeader),o.setWithCredentials(i.withCredentials),o.load(e,(function(n){try{t(i.parse(JSON.parse(n)))}catch(t){r?r(t):console.error(t),i.manager.itemError(e)}}),n,r)}parse(e){const t={},n={};function r(e,r){if(void 0!==t[r])return t[r];const i=e.interleavedBuffers[r],o=function(e,t){if(void 0!==n[t])return n[t];const r=e.arrayBuffers[t],i=new Uint32Array(r).buffer;return n[t]=i,i}(e,i.buffer),a=Xi(i.type,o),s=new ic(a,i.stride);return s.uuid=i.uuid,t[r]=s,s}const i=e.isInstancedBufferGeometry?new jf:new ro,o=e.data.index;if(void 0!==o){const e=Xi(o.type,o.array);i.setIndex(new ki(e,1))}const a=e.data.attributes;for(const t in a){const n=a[t];let o;if(n.isInterleavedBufferAttribute){const t=r(e.data,n.data);o=new ac(t,n.itemSize,n.offset,n.normalized)}else{const e=Xi(n.type,n.array);o=new(n.isInstancedBufferAttribute?Uf:ki)(e,n.itemSize,n.normalized)}void 0!==n.name&&(o.name=n.name),void 0!==n.usage&&o.setUsage(n.usage),void 0!==n.updateRange&&(o.updateRange.offset=n.updateRange.offset,o.updateRange.count=n.updateRange.count),i.setAttribute(t,o)}const s=e.data.morphAttributes;if(s)for(const t in s){const n=s[t],o=[];for(let t=0,i=n.length;t<i;t++){const i=n[t];let a;if(i.isInterleavedBufferAttribute){const t=r(e.data,i.data);a=new ac(t,i.itemSize,i.offset,i.normalized)}else{const e=Xi(i.type,i.array);a=new ki(e,i.itemSize,i.normalized)}void 0!==i.name&&(a.name=i.name),o.push(a)}i.morphAttributes[t]=o}e.data.morphTargetsRelative&&(i.morphTargetsRelative=!0);const c=e.data.groups||e.data.drawcalls||e.data.offsets;if(void 0!==c)for(let e=0,t=c.length;e!==t;++e){const t=c[e];i.addGroup(t.start,t.count,t.materialIndex)}const u=e.data.boundingSphere;if(void 0!==u){const e=new ar;void 0!==u.center&&e.fromArray(u.center),i.boundingSphere=new Er(e,u.radius)}return e.name&&(i.name=e.name),e.userData&&(i.userData=e.userData),i}}class Gf extends Fl{constructor(e){super(e)}load(e,t,n,r){const i=this,o=""===this.path?Ff.extractUrlBase(e):this.path;this.resourcePath=this.resourcePath||o;const a=new Ul(this.manager);a.setPath(this.path),a.setRequestHeader(this.requestHeader),a.setWithCredentials(this.withCredentials),a.load(e,(function(n){let o=null;try{o=JSON.parse(n)}catch(t){return void 0!==r&&r(t),void console.error("THREE:ObjectLoader: Can't parse "+e+".",t.message)}const a=o.metadata;void 0!==a&&void 0!==a.type&&"geometry"!==a.type.toLowerCase()?i.parse(o,t):console.error("THREE.ObjectLoader: Can't load "+e)}),n,r)}parse(e,t){const n=this.parseAnimations(e.animations),r=this.parseShapes(e.shapes),i=this.parseGeometries(e.geometries,r),o=this.parseImages(e.images,(function(){void 0!==t&&t(c)})),a=this.parseTextures(e.textures,o),s=this.parseMaterials(e.materials,a),c=this.parseObject(e.object,i,s,n),u=this.parseSkeletons(e.skeletons,c);if(this.bindSkeletons(c,u),void 0!==t){let e=!1;for(const t in o)if(o[t]instanceof HTMLImageElement){e=!0;break}!1===e&&t(c)}return c}parseShapes(e){const t={};if(void 0!==e)for(let n=0,r=e.length;n<r;n++){const r=(new pf).fromJSON(e[n]);t[r.uuid]=r}return t}parseSkeletons(e,t){const n={},r={};if(t.traverse((function(e){e.isBone&&(r[e.uuid]=e)})),void 0!==e)for(let t=0,i=e.length;t<i;t++){const i=(new Ic).fromJSON(e[t],r);n[i.uuid]=i}return n}parseGeometries(e,t){const n={};let r;if(void 0!==e){const i=new Bf;for(let o=0,a=e.length;o<a;o++){let a;const s=e[o];switch(s.type){case"PlaneGeometry":case"PlaneBufferGeometry":a=new sl[s.type](s.width,s.height,s.widthSegments,s.heightSegments);break;case"BoxGeometry":case"BoxBufferGeometry":a=new sl[s.type](s.width,s.height,s.depth,s.widthSegments,s.heightSegments,s.depthSegments);break;case"CircleGeometry":case"CircleBufferGeometry":a=new sl[s.type](s.radius,s.segments,s.thetaStart,s.thetaLength);break;case"CylinderGeometry":case"CylinderBufferGeometry":a=new sl[s.type](s.radiusTop,s.radiusBottom,s.height,s.radialSegments,s.heightSegments,s.openEnded,s.thetaStart,s.thetaLength);break;case"ConeGeometry":case"ConeBufferGeometry":a=new sl[s.type](s.radius,s.height,s.radialSegments,s.heightSegments,s.openEnded,s.thetaStart,s.thetaLength);break;case"SphereGeometry":case"SphereBufferGeometry":a=new sl[s.type](s.radius,s.widthSegments,s.heightSegments,s.phiStart,s.phiLength,s.thetaStart,s.thetaLength);break;case"DodecahedronGeometry":case"DodecahedronBufferGeometry":case"IcosahedronGeometry":case"IcosahedronBufferGeometry":case"OctahedronGeometry":case"OctahedronBufferGeometry":case"TetrahedronGeometry":case"TetrahedronBufferGeometry":a=new sl[s.type](s.radius,s.detail);break;case"RingGeometry":case"RingBufferGeometry":a=new sl[s.type](s.innerRadius,s.outerRadius,s.thetaSegments,s.phiSegments,s.thetaStart,s.thetaLength);break;case"TorusGeometry":case"TorusBufferGeometry":a=new sl[s.type](s.radius,s.tube,s.radialSegments,s.tubularSegments,s.arc);break;case"TorusKnotGeometry":case"TorusKnotBufferGeometry":a=new sl[s.type](s.radius,s.tube,s.tubularSegments,s.radialSegments,s.p,s.q);break;case"TubeGeometry":case"TubeBufferGeometry":a=new sl[s.type]((new hf[s.path.type]).fromJSON(s.path),s.tubularSegments,s.radius,s.radialSegments,s.closed);break;case"LatheGeometry":case"LatheBufferGeometry":a=new sl[s.type](s.points,s.segments,s.phiStart,s.phiLength);break;case"PolyhedronGeometry":case"PolyhedronBufferGeometry":a=new sl[s.type](s.vertices,s.indices,s.radius,s.details);break;case"ShapeGeometry":case"ShapeBufferGeometry":r=[];for(let e=0,n=s.shapes.length;e<n;e++){const n=t[s.shapes[e]];r.push(n)}a=new sl[s.type](r,s.curveSegments);break;case"ExtrudeGeometry":case"ExtrudeBufferGeometry":r=[];for(let e=0,n=s.shapes.length;e<n;e++){const n=t[s.shapes[e]];r.push(n)}const e=s.options.extrudePath;void 0!==e&&(s.options.extrudePath=(new hf[e.type]).fromJSON(e)),a=new sl[s.type](r,s.options);break;case"BufferGeometry":case"InstancedBufferGeometry":a=i.parse(s);break;case"Geometry":console.error('THREE.ObjectLoader: Loading "Geometry" is not supported anymore.');break;default:console.warn('THREE.ObjectLoader: Unsupported geometry type "'+s.type+'"');continue}a.uuid=s.uuid,void 0!==s.name&&(a.name=s.name),!0===a.isBufferGeometry&&void 0!==s.userData&&(a.userData=s.userData),n[s.uuid]=a}}return n}parseMaterials(e,t){const n={},r={};if(void 0!==e){const i=new kf;i.setTextures(t);for(let t=0,o=e.length;t<o;t++){const o=e[t];if("MultiMaterial"===o.type){const e=[];for(let t=0;t<o.materials.length;t++){const r=o.materials[t];void 0===n[r.uuid]&&(n[r.uuid]=i.parse(r)),e.push(n[r.uuid])}r[o.uuid]=e}else void 0===n[o.uuid]&&(n[o.uuid]=i.parse(o)),r[o.uuid]=n[o.uuid]}}return r}parseAnimations(e){const t={};if(void 0!==e)for(let n=0;n<e.length;n++){const r=e[n],i=Al.parse(r);t[i.uuid]=i}return t}parseImages(e,t){const n=this,r={};let i;function o(e){if("string"==typeof e){const t=e;return function(e){return n.manager.itemStart(e),i.load(e,(function(){n.manager.itemEnd(e)}),void 0,(function(){n.manager.itemError(e),n.manager.itemEnd(e)}))}(/^(\/\/)|([a-z]+:(\/\/)?)/i.test(t)?t:n.resourcePath+t)}return e.data?{data:Xi(e.type,e.data),width:e.width,height:e.height}:null}if(void 0!==e&&e.length>0){const n=new Il(t);i=new Nl(n),i.setCrossOrigin(this.crossOrigin);for(let t=0,n=e.length;t<n;t++){const n=e[t],i=n.url;if(Array.isArray(i)){r[n.uuid]=[];for(let e=0,t=i.length;e<t;e++){const t=o(i[e]);null!==t&&(t instanceof HTMLImageElement?r[n.uuid].push(t):r[n.uuid].push(new Io(t.data,t.width,t.height)))}}else{const e=o(n.url);null!==e&&(r[n.uuid]=e)}}}return r}parseTextures(e,t){function n(e,t){return"number"==typeof e?e:(console.warn("THREE.ObjectLoader.parseTexture: Constant should be in numeric form.",e),t[e])}const r={};if(void 0!==e)for(let i=0,o=e.length;i<o;i++){const o=e[i];let a;void 0===o.image&&console.warn('THREE.ObjectLoader: No "image" specified for',o.uuid),void 0===t[o.image]&&console.warn("THREE.ObjectLoader: Undefined image",o.image);const s=t[o.image];Array.isArray(s)?(a=new Oo(s),6===s.length&&(a.needsUpdate=!0)):(a=s&&s.data?new Io(s.data,s.width,s.height):new er(s),s&&(a.needsUpdate=!0)),a.uuid=o.uuid,void 0!==o.name&&(a.name=o.name),void 0!==o.mapping&&(a.mapping=n(o.mapping,Nf)),void 0!==o.offset&&a.offset.fromArray(o.offset),void 0!==o.repeat&&a.repeat.fromArray(o.repeat),void 0!==o.center&&a.center.fromArray(o.center),void 0!==o.rotation&&(a.rotation=o.rotation),void 0!==o.wrap&&(a.wrapS=n(o.wrap[0],Hf),a.wrapT=n(o.wrap[1],Hf)),void 0!==o.format&&(a.format=o.format),void 0!==o.type&&(a.type=o.type),void 0!==o.encoding&&(a.encoding=o.encoding),void 0!==o.minFilter&&(a.minFilter=n(o.minFilter,Vf)),void 0!==o.magFilter&&(a.magFilter=n(o.magFilter,Vf)),void 0!==o.anisotropy&&(a.anisotropy=o.anisotropy),void 0!==o.flipY&&(a.flipY=o.flipY),void 0!==o.premultiplyAlpha&&(a.premultiplyAlpha=o.premultiplyAlpha),void 0!==o.unpackAlignment&&(a.unpackAlignment=o.unpackAlignment),r[o.uuid]=a}return r}parseObject(e,t,n,r){let i,o,a;function s(e){return void 0===t[e]&&console.warn("THREE.ObjectLoader: Undefined geometry",e),t[e]}function c(e){if(void 0!==e){if(Array.isArray(e)){const t=[];for(let r=0,i=e.length;r<i;r++){const i=e[r];void 0===n[i]&&console.warn("THREE.ObjectLoader: Undefined material",i),t.push(n[i])}return t}return void 0===n[e]&&console.warn("THREE.ObjectLoader: Undefined material",e),n[e]}}switch(e.type){case"Scene":i=new rc,void 0!==e.background&&Number.isInteger(e.background)&&(i.background=new Ai(e.background)),void 0!==e.fog&&("Fog"===e.fog.type?i.fog=new nc(e.fog.color,e.fog.near,e.fog.far):"FogExp2"===e.fog.type&&(i.fog=new tc(e.fog.color,e.fog.density)));break;case"PerspectiveCamera":i=new Lo(e.fov,e.aspect,e.near,e.far),void 0!==e.focus&&(i.focus=e.focus),void 0!==e.zoom&&(i.zoom=e.zoom),void 0!==e.filmGauge&&(i.filmGauge=e.filmGauge),void 0!==e.filmOffset&&(i.filmOffset=e.filmOffset),void 0!==e.view&&(i.view=Object.assign({},e.view));break;case"OrthographicCamera":i=new zf(e.left,e.right,e.top,e.bottom,e.near,e.far),void 0!==e.zoom&&(i.zoom=e.zoom),void 0!==e.view&&(i.view=Object.assign({},e.view));break;case"AmbientLight":i=new Af(e.color,e.intensity);break;case"DirectionalLight":i=new Cf(e.color,e.intensity);break;case"PointLight":i=new Ef(e.color,e.intensity,e.distance,e.decay);break;case"RectAreaLight":i=new Of(e.color,e.intensity,e.width,e.height);break;case"SpotLight":i=new _f(e.color,e.intensity,e.distance,e.angle,e.penumbra,e.decay);break;case"HemisphereLight":i=new yf(e.color,e.groundColor,e.intensity);break;case"LightProbe":i=(new If).fromJSON(e);break;case"SkinnedMesh":o=s(e.geometry),a=c(e.material),i=new Cc(o,a),void 0!==e.bindMode&&(i.bindMode=e.bindMode),void 0!==e.bindMatrix&&i.bindMatrix.fromArray(e.bindMatrix),void 0!==e.skeleton&&(i.skeleton=e.skeleton);break;case"Mesh":o=s(e.geometry),a=c(e.material),i=new Mo(o,a);break;case"InstancedMesh":o=s(e.geometry),a=c(e.material);const t=e.count,n=e.instanceMatrix,r=e.instanceColor;i=new Bc(o,a,t),i.instanceMatrix=new ki(new Float32Array(n.array),16),void 0!==r&&(i.instanceColor=new ki(new Float32Array(r.array),r.itemSize));break;case"LOD":i=new Pc;break;case"Line":i=new qc(s(e.geometry),c(e.material));break;case"LineLoop":i=new Qc(s(e.geometry),c(e.material));break;case"LineSegments":i=new Kc(s(e.geometry),c(e.material));break;case"PointCloud":case"Points":i=new ru(s(e.geometry),c(e.material));break;case"Sprite":i=new wc(c(e.material));break;case"Group":i=new Ys;break;case"Bone":i=new Ac;break;default:i=new ci}if(i.uuid=e.uuid,void 0!==e.name&&(i.name=e.name),void 0!==e.matrix?(i.matrix.fromArray(e.matrix),void 0!==e.matrixAutoUpdate&&(i.matrixAutoUpdate=e.matrixAutoUpdate),i.matrixAutoUpdate&&i.matrix.decompose(i.position,i.quaternion,i.scale)):(void 0!==e.position&&i.position.fromArray(e.position),void 0!==e.rotation&&i.rotation.fromArray(e.rotation),void 0!==e.quaternion&&i.quaternion.fromArray(e.quaternion),void 0!==e.scale&&i.scale.fromArray(e.scale)),void 0!==e.castShadow&&(i.castShadow=e.castShadow),void 0!==e.receiveShadow&&(i.receiveShadow=e.receiveShadow),e.shadow&&(void 0!==e.shadow.bias&&(i.shadow.bias=e.shadow.bias),void 0!==e.shadow.normalBias&&(i.shadow.normalBias=e.shadow.normalBias),void 0!==e.shadow.radius&&(i.shadow.radius=e.shadow.radius),void 0!==e.shadow.mapSize&&i.shadow.mapSize.fromArray(e.shadow.mapSize),void 0!==e.shadow.camera&&(i.shadow.camera=this.parseObject(e.shadow.camera))),void 0!==e.visible&&(i.visible=e.visible),void 0!==e.frustumCulled&&(i.frustumCulled=e.frustumCulled),void 0!==e.renderOrder&&(i.renderOrder=e.renderOrder),void 0!==e.userData&&(i.userData=e.userData),void 0!==e.layers&&(i.layers.mask=e.layers),void 0!==e.children){const o=e.children;for(let e=0;e<o.length;e++)i.add(this.parseObject(o[e],t,n,r))}if(void 0!==e.animations){const t=e.animations;for(let e=0;e<t.length;e++){const n=t[e];i.animations.push(r[n])}}if("LOD"===e.type){void 0!==e.autoUpdate&&(i.autoUpdate=e.autoUpdate);const t=e.levels;for(let e=0;e<t.length;e++){const n=t[e],r=i.getObjectByProperty("uuid",n.object);void 0!==r&&i.addLevel(r,n.distance)}}return i}bindSkeletons(e,t){0!==Object.keys(t).length&&e.traverse((function(e){if(!0===e.isSkinnedMesh&&void 0!==e.skeleton){const n=t[e.skeleton];void 0===n?console.warn("THREE.ObjectLoader: No skeleton found with UUID:",e.skeleton):e.bind(n,e.bindMatrix)}}))}setTexturePath(e){return console.warn("THREE.ObjectLoader: .setTexturePath() has been renamed to .setResourcePath()."),this.setResourcePath(e)}}const Nf={UVMapping:ie,CubeReflectionMapping:oe,CubeRefractionMapping:ae,EquirectangularReflectionMapping:se,EquirectangularRefractionMapping:ce,CubeUVReflectionMapping:ue,CubeUVRefractionMapping:le},Hf={RepeatWrapping:fe,ClampToEdgeWrapping:he,MirroredRepeatWrapping:ve},Vf={NearestFilter:de,NearestMipmapNearestFilter:pe,NearestMipmapLinearFilter:ye,LinearFilter:xe,LinearMipmapNearestFilter:be,LinearMipmapLinearFilter:Me};class Wf extends Fl{constructor(e){super(e),"undefined"==typeof createImageBitmap&&console.warn("THREE.ImageBitmapLoader: createImageBitmap() not supported."),"undefined"==typeof fetch&&console.warn("THREE.ImageBitmapLoader: fetch() not supported."),this.options={premultiplyAlpha:"none"}}setOptions(e){return this.options=e,this}load(e,t,n,r){void 0===e&&(e=""),void 0!==this.path&&(e=this.path+e),e=this.manager.resolveURL(e);const i=this,o=Dl.get(e);if(void 0!==o)return i.manager.itemStart(e),setTimeout((function(){t&&t(o),i.manager.itemEnd(e)}),0),o;const a={};a.credentials="anonymous"===this.crossOrigin?"same-origin":"include",a.headers=this.requestHeader,fetch(e,a).then((function(e){return e.blob()})).then((function(e){return createImageBitmap(e,Object.assign(i.options,{colorSpaceConversion:"none"}))})).then((function(n){Dl.add(e,n),t&&t(n),i.manager.itemEnd(e)})).catch((function(t){r&&r(t),i.manager.itemError(e),i.manager.itemEnd(e)})),i.manager.itemStart(e)}}Wf.prototype.isImageBitmapLoader=!0;class Zf{constructor(){this.type="ShapePath",this.color=new Ai,this.subPaths=[],this.currentPath=null}moveTo(e,t){return this.currentPath=new df,this.subPaths.push(this.currentPath),this.currentPath.moveTo(e,t),this}lineTo(e,t){return this.currentPath.lineTo(e,t),this}quadraticCurveTo(e,t,n,r){return this.currentPath.quadraticCurveTo(e,t,n,r),this}bezierCurveTo(e,t,n,r,i,o){return this.currentPath.bezierCurveTo(e,t,n,r,i,o),this}splineThru(e){return this.currentPath.splineThru(e),this}toShapes(e,t){function n(e){const t=[];for(let n=0,r=e.length;n<r;n++){const r=e[n],i=new pf;i.curves=r.curves,t.push(i)}return t}function r(e,t){const n=t.length;let r=!1;for(let i=n-1,o=0;o<n;i=o++){let n=t[i],a=t[o],s=a.x-n.x,c=a.y-n.y;if(Math.abs(c)>Number.EPSILON){if(c<0&&(n=t[o],s=-s,a=t[i],c=-c),e.y<n.y||e.y>a.y)continue;if(e.y===n.y){if(e.x===n.x)return!0}else{const t=c*(e.x-n.x)-s*(e.y-n.y);if(0===t)return!0;if(t<0)continue;r=!r}}else{if(e.y!==n.y)continue;if(a.x<=e.x&&e.x<=n.x||n.x<=e.x&&e.x<=a.x)return!0}}return r}const i=Hu.isClockWise,o=this.subPaths;if(0===o.length)return[];if(!0===t)return n(o);let a,s,c;const u=[];if(1===o.length)return s=o[0],c=new pf,c.curves=s.curves,u.push(c),u;let l=!i(o[0].getPoints());l=e?!l:l;const f=[],h=[];let v,d,p=[],m=0;h[m]=void 0,p[m]=[];for(let t=0,n=o.length;t<n;t++)s=o[t],v=s.getPoints(),a=i(v),a=e?!a:a,a?(!l&&h[m]&&m++,h[m]={s:new pf,p:v},h[m].s.curves=s.curves,l&&m++,p[m]=[]):p[m].push({h:s,p:v[0]});if(!h[0])return n(o);if(h.length>1){let e=!1;const t=[];for(let e=0,t=h.length;e<t;e++)f[e]=[];for(let n=0,i=h.length;n<i;n++){const i=p[n];for(let o=0;o<i.length;o++){const a=i[o];let s=!0;for(let i=0;i<h.length;i++)r(a.p,h[i].p)&&(n!==i&&t.push({froms:n,tos:i,hole:o}),s?(s=!1,f[i].push(a)):e=!0);s&&f[n].push(a)}}t.length>0&&(e||(p=f))}for(let e=0,t=h.length;e<t;e++){c=h[e].s,u.push(c),d=p[e];for(let e=0,t=d.length;e<t;e++)c.holes.push(d[e].h)}return u}}class qf{constructor(e){this.type="Font",this.data=e}generateShapes(e,t=100){const n=[],r=function(e,t,n){const r=Array.from(e),i=t/n.resolution,o=(n.boundingBox.yMax-n.boundingBox.yMin+n.underlineThickness)*i,a=[];let s=0,c=0;for(let e=0;e<r.length;e++){const t=r[e];if("\n"===t)s=0,c-=o;else{const e=Yf(t,i,s,c,n);s+=e.offsetX,a.push(e.path)}}return a}(e,t,this.data);for(let e=0,t=r.length;e<t;e++)Array.prototype.push.apply(n,r[e].toShapes());return n}}function Yf(e,t,n,r,i){const o=i.glyphs[e]||i.glyphs["?"];if(!o)return void console.error('THREE.Font: character "'+e+'" does not exists in font family '+i.familyName+".");const a=new Zf;let s,c,u,l,f,h,v,d;if(o.o){const e=o._cachedOutline||(o._cachedOutline=o.o.split(" "));for(let i=0,o=e.length;i<o;)switch(e[i++]){case"m":s=e[i++]*t+n,c=e[i++]*t+r,a.moveTo(s,c);break;case"l":s=e[i++]*t+n,c=e[i++]*t+r,a.lineTo(s,c);break;case"q":u=e[i++]*t+n,l=e[i++]*t+r,f=e[i++]*t+n,h=e[i++]*t+r,a.quadraticCurveTo(f,h,u,l);break;case"b":u=e[i++]*t+n,l=e[i++]*t+r,f=e[i++]*t+n,h=e[i++]*t+r,v=e[i++]*t+n,d=e[i++]*t+r,a.bezierCurveTo(f,h,v,d,u,l)}}return{offsetX:o.ha*t,path:a}}qf.prototype.isFont=!0;class Xf extends Fl{constructor(e){super(e)}load(e,t,n,r){const i=this,o=new Ul(this.manager);o.setPath(this.path),o.setRequestHeader(this.requestHeader),o.setWithCredentials(i.withCredentials),o.load(e,(function(e){let n;try{n=JSON.parse(e)}catch(t){console.warn("THREE.FontLoader: typeface.js support is being deprecated. Use typeface.json instead."),n=JSON.parse(e.substring(65,e.length-2))}const r=i.parse(n);t&&t(r)}),n,r)}parse(e){return new qf(e)}}let Kf;const Qf={getContext:function(){return void 0===Kf&&(Kf=new(window.AudioContext||window.webkitAudioContext)),Kf},setContext:function(e){Kf=e}};class Jf extends Fl{constructor(e){super(e)}load(e,t,n,r){const i=this,o=new Ul(this.manager);o.setResponseType("arraybuffer"),o.setPath(this.path),o.setRequestHeader(this.requestHeader),o.setWithCredentials(this.withCredentials),o.load(e,(function(n){try{const e=n.slice(0);Qf.getContext().decodeAudioData(e,(function(e){t(e)}))}catch(t){r?r(t):console.error(t),i.manager.itemError(e)}}),n,r)}}class $f extends If{constructor(e,t,n=1){super(void 0,n);const r=(new Ai).set(e),i=(new Ai).set(t),o=new ar(r.r,r.g,r.b),a=new ar(i.r,i.g,i.b),s=Math.sqrt(Math.PI),c=s*Math.sqrt(.75);this.sh.coefficients[0].copy(o).add(a).multiplyScalar(s),this.sh.coefficients[1].copy(o).sub(a).multiplyScalar(c)}}$f.prototype.isHemisphereLightProbe=!0;class eh extends If{constructor(e,t=1){super(void 0,t);const n=(new Ai).set(e);this.sh.coefficients[0].set(n.r,n.g,n.b).multiplyScalar(2*Math.sqrt(Math.PI))}}eh.prototype.isAmbientLightProbe=!0;const th=new Fr,nh=new Fr;class rh{constructor(){this.type="StereoCamera",this.aspect=1,this.eyeSep=.064,this.cameraL=new Lo,this.cameraL.layers.enable(1),this.cameraL.matrixAutoUpdate=!1,this.cameraR=new Lo,this.cameraR.layers.enable(2),this.cameraR.matrixAutoUpdate=!1,this._cache={focus:null,fov:null,aspect:null,near:null,far:null,zoom:null,eyeSep:null}}update(e){const t=this._cache;if(t.focus!==e.focus||t.fov!==e.fov||t.aspect!==e.aspect*this.aspect||t.near!==e.near||t.far!==e.far||t.zoom!==e.zoom||t.eyeSep!==this.eyeSep){t.focus=e.focus,t.fov=e.fov,t.aspect=e.aspect*this.aspect,t.near=e.near,t.far=e.far,t.zoom=e.zoom,t.eyeSep=this.eyeSep;const n=e.projectionMatrix.clone(),r=t.eyeSep/2,i=r*t.near/t.focus,o=t.near*Math.tan(Un*t.fov*.5)/t.zoom;let a,s;nh.elements[12]=-r,th.elements[12]=r,a=-o*t.aspect+i,s=o*t.aspect+i,n.elements[0]=2*t.near/(s-a),n.elements[8]=(s+a)/(s-a),this.cameraL.projectionMatrix.copy(n),a=-o*t.aspect-i,s=o*t.aspect-i,n.elements[0]=2*t.near/(s-a),n.elements[8]=(s+a)/(s-a),this.cameraR.projectionMatrix.copy(n)}this.cameraL.matrixWorld.copy(e.matrixWorld).multiply(nh),this.cameraR.matrixWorld.copy(e.matrixWorld).multiply(th)}}class ih{constructor(e=!0){this.autoStart=e,this.startTime=0,this.oldTime=0,this.elapsedTime=0,this.running=!1}start(){this.startTime=oh(),this.oldTime=this.startTime,this.elapsedTime=0,this.running=!0}stop(){this.getElapsedTime(),this.running=!1,this.autoStart=!1}getElapsedTime(){return this.getDelta(),this.elapsedTime}getDelta(){let e=0;if(this.autoStart&&!this.running)return this.start(),0;if(this.running){const t=oh();e=(t-this.oldTime)/1e3,this.oldTime=t,this.elapsedTime+=e}return e}}function oh(){return("undefined"==typeof performance?Date:performance).now()}const ah=new ar,sh=new or,ch=new ar,uh=new ar;class lh extends ci{constructor(){super(),this.type="AudioListener",this.context=Qf.getContext(),this.gain=this.context.createGain(),this.gain.connect(this.context.destination),this.filter=null,this.timeDelta=0,this._clock=new ih}getInput(){return this.gain}removeFilter(){return null!==this.filter&&(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination),this.gain.connect(this.context.destination),this.filter=null),this}getFilter(){return this.filter}setFilter(e){return null!==this.filter?(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination)):this.gain.disconnect(this.context.destination),this.filter=e,this.gain.connect(this.filter),this.filter.connect(this.context.destination),this}getMasterVolume(){return this.gain.gain.value}setMasterVolume(e){return this.gain.gain.setTargetAtTime(e,this.context.currentTime,.01),this}updateMatrixWorld(e){super.updateMatrixWorld(e);const t=this.context.listener,n=this.up;if(this.timeDelta=this._clock.getDelta(),this.matrixWorld.decompose(ah,sh,ch),uh.set(0,0,-1).applyQuaternion(sh),t.positionX){const e=this.context.currentTime+this.timeDelta;t.positionX.linearRampToValueAtTime(ah.x,e),t.positionY.linearRampToValueAtTime(ah.y,e),t.positionZ.linearRampToValueAtTime(ah.z,e),t.forwardX.linearRampToValueAtTime(uh.x,e),t.forwardY.linearRampToValueAtTime(uh.y,e),t.forwardZ.linearRampToValueAtTime(uh.z,e),t.upX.linearRampToValueAtTime(n.x,e),t.upY.linearRampToValueAtTime(n.y,e),t.upZ.linearRampToValueAtTime(n.z,e)}else t.setPosition(ah.x,ah.y,ah.z),t.setOrientation(uh.x,uh.y,uh.z,n.x,n.y,n.z)}}class fh extends ci{constructor(e){super(),this.type="Audio",this.listener=e,this.context=e.context,this.gain=this.context.createGain(),this.gain.connect(e.getInput()),this.autoplay=!1,this.buffer=null,this.detune=0,this.loop=!1,this.loopStart=0,this.loopEnd=0,this.offset=0,this.duration=void 0,this.playbackRate=1,this.isPlaying=!1,this.hasPlaybackControl=!0,this.source=null,this.sourceType="empty",this._startedAt=0,this._progress=0,this._connected=!1,this.filters=[]}getOutput(){return this.gain}setNodeSource(e){return this.hasPlaybackControl=!1,this.sourceType="audioNode",this.source=e,this.connect(),this}setMediaElementSource(e){return this.hasPlaybackControl=!1,this.sourceType="mediaNode",this.source=this.context.createMediaElementSource(e),this.connect(),this}setMediaStreamSource(e){return this.hasPlaybackControl=!1,this.sourceType="mediaStreamNode",this.source=this.context.createMediaStreamSource(e),this.connect(),this}setBuffer(e){return this.buffer=e,this.sourceType="buffer",this.autoplay&&this.play(),this}play(e=0){if(!0===this.isPlaying)return void console.warn("THREE.Audio: Audio is already playing.");if(!1===this.hasPlaybackControl)return void console.warn("THREE.Audio: this Audio has no playback control.");this._startedAt=this.context.currentTime+e;const t=this.context.createBufferSource();return t.buffer=this.buffer,t.loop=this.loop,t.loopStart=this.loopStart,t.loopEnd=this.loopEnd,t.onended=this.onEnded.bind(this),t.start(this._startedAt,this._progress+this.offset,this.duration),this.isPlaying=!0,this.source=t,this.setDetune(this.detune),this.setPlaybackRate(this.playbackRate),this.connect()}pause(){if(!1!==this.hasPlaybackControl)return!0===this.isPlaying&&(this._progress+=Math.max(this.context.currentTime-this._startedAt,0)*this.playbackRate,!0===this.loop&&(this._progress=this._progress%(this.duration||this.buffer.duration)),this.source.stop(),this.source.onended=null,this.isPlaying=!1),this;console.warn("THREE.Audio: this Audio has no playback control.")}stop(){if(!1!==this.hasPlaybackControl)return this._progress=0,this.source.stop(),this.source.onended=null,this.isPlaying=!1,this;console.warn("THREE.Audio: this Audio has no playback control.")}connect(){if(this.filters.length>0){this.source.connect(this.filters[0]);for(let e=1,t=this.filters.length;e<t;e++)this.filters[e-1].connect(this.filters[e]);this.filters[this.filters.length-1].connect(this.getOutput())}else this.source.connect(this.getOutput());return this._connected=!0,this}disconnect(){if(this.filters.length>0){this.source.disconnect(this.filters[0]);for(let e=1,t=this.filters.length;e<t;e++)this.filters[e-1].disconnect(this.filters[e]);this.filters[this.filters.length-1].disconnect(this.getOutput())}else this.source.disconnect(this.getOutput());return this._connected=!1,this}getFilters(){return this.filters}setFilters(e){return e||(e=[]),!0===this._connected?(this.disconnect(),this.filters=e.slice(),this.connect()):this.filters=e.slice(),this}setDetune(e){if(this.detune=e,void 0!==this.source.detune)return!0===this.isPlaying&&this.source.detune.setTargetAtTime(this.detune,this.context.currentTime,.01),this}getDetune(){return this.detune}getFilter(){return this.getFilters()[0]}setFilter(e){return this.setFilters(e?[e]:[])}setPlaybackRate(e){if(!1!==this.hasPlaybackControl)return this.playbackRate=e,!0===this.isPlaying&&this.source.playbackRate.setTargetAtTime(this.playbackRate,this.context.currentTime,.01),this;console.warn("THREE.Audio: this Audio has no playback control.")}getPlaybackRate(){return this.playbackRate}onEnded(){this.isPlaying=!1}getLoop(){return!1===this.hasPlaybackControl?(console.warn("THREE.Audio: this Audio has no playback control."),!1):this.loop}setLoop(e){if(!1!==this.hasPlaybackControl)return this.loop=e,!0===this.isPlaying&&(this.source.loop=this.loop),this;console.warn("THREE.Audio: this Audio has no playback control.")}setLoopStart(e){return this.loopStart=e,this}setLoopEnd(e){return this.loopEnd=e,this}getVolume(){return this.gain.gain.value}setVolume(e){return this.gain.gain.setTargetAtTime(e,this.context.currentTime,.01),this}}const hh=new ar,vh=new or,dh=new ar,ph=new ar;class mh extends fh{constructor(e){super(e),this.panner=this.context.createPanner(),this.panner.panningModel="HRTF",this.panner.connect(this.gain)}getOutput(){return this.panner}getRefDistance(){return this.panner.refDistance}setRefDistance(e){return this.panner.refDistance=e,this}getRolloffFactor(){return this.panner.rolloffFactor}setRolloffFactor(e){return this.panner.rolloffFactor=e,this}getDistanceModel(){return this.panner.distanceModel}setDistanceModel(e){return this.panner.distanceModel=e,this}getMaxDistance(){return this.panner.maxDistance}setMaxDistance(e){return this.panner.maxDistance=e,this}setDirectionalCone(e,t,n){return this.panner.coneInnerAngle=e,this.panner.coneOuterAngle=t,this.panner.coneOuterGain=n,this}updateMatrixWorld(e){if(super.updateMatrixWorld(e),!0===this.hasPlaybackControl&&!1===this.isPlaying)return;this.matrixWorld.decompose(hh,vh,dh),ph.set(0,0,1).applyQuaternion(vh);const t=this.panner;if(t.positionX){const e=this.context.currentTime+this.listener.timeDelta;t.positionX.linearRampToValueAtTime(hh.x,e),t.positionY.linearRampToValueAtTime(hh.y,e),t.positionZ.linearRampToValueAtTime(hh.z,e),t.orientationX.linearRampToValueAtTime(ph.x,e),t.orientationY.linearRampToValueAtTime(ph.y,e),t.orientationZ.linearRampToValueAtTime(ph.z,e)}else t.setPosition(hh.x,hh.y,hh.z),t.setOrientation(ph.x,ph.y,ph.z)}}class yh{constructor(e,t=2048){this.analyser=e.context.createAnalyser(),this.analyser.fftSize=t,this.data=new Uint8Array(this.analyser.frequencyBinCount),e.getOutput().connect(this.analyser)}getFrequencyData(){return this.analyser.getByteFrequencyData(this.data),this.data}getAverageFrequency(){let e=0;const t=this.getFrequencyData();for(let n=0;n<t.length;n++)e+=t[n];return e/t.length}}class gh{constructor(e,t,n){let r,i,o;switch(this.binding=e,this.valueSize=n,t){case"quaternion":r=this._slerp,i=this._slerpAdditive,o=this._setAdditiveIdentityQuaternion,this.buffer=new Float64Array(6*n),this._workIndex=5;break;case"string":case"bool":r=this._select,i=this._select,o=this._setAdditiveIdentityOther,this.buffer=new Array(5*n);break;default:r=this._lerp,i=this._lerpAdditive,o=this._setAdditiveIdentityNumeric,this.buffer=new Float64Array(5*n)}this._mixBufferRegion=r,this._mixBufferRegionAdditive=i,this._setIdentity=o,this._origIndex=3,this._addIndex=4,this.cumulativeWeight=0,this.cumulativeWeightAdditive=0,this.useCount=0,this.referenceCount=0}accumulate(e,t){const n=this.buffer,r=this.valueSize,i=e*r+r;let o=this.cumulativeWeight;if(0===o){for(let e=0;e!==r;++e)n[i+e]=n[e];o=t}else{o+=t;const e=t/o;this._mixBufferRegion(n,i,0,e,r)}this.cumulativeWeight=o}accumulateAdditive(e){const t=this.buffer,n=this.valueSize,r=n*this._addIndex;0===this.cumulativeWeightAdditive&&this._setIdentity(),this._mixBufferRegionAdditive(t,r,0,e,n),this.cumulativeWeightAdditive+=e}apply(e){const t=this.valueSize,n=this.buffer,r=e*t+t,i=this.cumulativeWeight,o=this.cumulativeWeightAdditive,a=this.binding;if(this.cumulativeWeight=0,this.cumulativeWeightAdditive=0,i<1){const e=t*this._origIndex;this._mixBufferRegion(n,r,e,1-i,t)}o>0&&this._mixBufferRegionAdditive(n,r,this._addIndex*t,1,t);for(let e=t,i=t+t;e!==i;++e)if(n[e]!==n[e+t]){a.setValue(n,r);break}}saveOriginalState(){const e=this.binding,t=this.buffer,n=this.valueSize,r=n*this._origIndex;e.getValue(t,r);for(let e=n,i=r;e!==i;++e)t[e]=t[r+e%n];this._setIdentity(),this.cumulativeWeight=0,this.cumulativeWeightAdditive=0}restoreOriginalState(){const e=3*this.valueSize;this.binding.setValue(this.buffer,e)}_setAdditiveIdentityNumeric(){const e=this._addIndex*this.valueSize,t=e+this.valueSize;for(let n=e;n<t;n++)this.buffer[n]=0}_setAdditiveIdentityQuaternion(){this._setAdditiveIdentityNumeric(),this.buffer[this._addIndex*this.valueSize+3]=1}_setAdditiveIdentityOther(){const e=this._origIndex*this.valueSize,t=this._addIndex*this.valueSize;for(let n=0;n<this.valueSize;n++)this.buffer[t+n]=this.buffer[e+n]}_select(e,t,n,r,i){if(r>=.5)for(let r=0;r!==i;++r)e[t+r]=e[n+r]}_slerp(e,t,n,r){or.slerpFlat(e,t,e,t,e,n,r)}_slerpAdditive(e,t,n,r,i){const o=this._workIndex*i;or.multiplyQuaternionsFlat(e,o,e,t,e,n),or.slerpFlat(e,t,e,t,e,o,r)}_lerp(e,t,n,r,i){const o=1-r;for(let a=0;a!==i;++a){const i=t+a;e[i]=e[i]*o+e[n+a]*r}}_lerpAdditive(e,t,n,r,i){for(let o=0;o!==i;++o){const i=t+o;e[i]=e[i]+e[n+o]*r}}}const xh=new RegExp("[\\[\\]\\.:\\/]","g"),bh="[^\\[\\]\\.:\\/]",wh="[^"+"\\[\\]\\.:\\/".replace("\\.","")+"]",Mh=/((?:WC+[\/:])*)/.source.replace("WC",bh),_h=/(WCOD+)?/.source.replace("WCOD",wh),Sh=/(?:\.(WC+)(?:\[(.+)\])?)?/.source.replace("WC",bh),Ph=/\.(WC+)(?:\[(.+)\])?/.source.replace("WC",bh),Th=new RegExp("^"+Mh+_h+Sh+Ph+"$"),Rh=["material","materials","bones"];class Eh{constructor(e,t,n){this.path=t,this.parsedPath=n||Eh.parseTrackName(t),this.node=Eh.findNode(e,this.parsedPath.nodeName)||e,this.rootNode=e,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}static create(e,t,n){return e&&e.isAnimationObjectGroup?new Eh.Composite(e,t,n):new Eh(e,t,n)}static sanitizeNodeName(e){return e.replace(/\s/g,"_").replace(xh,"")}static parseTrackName(e){const t=Th.exec(e);if(!t)throw new Error("PropertyBinding: Cannot parse trackName: "+e);const n={nodeName:t[2],objectName:t[3],objectIndex:t[4],propertyName:t[5],propertyIndex:t[6]},r=n.nodeName&&n.nodeName.lastIndexOf(".");if(void 0!==r&&-1!==r){const e=n.nodeName.substring(r+1);-1!==Rh.indexOf(e)&&(n.nodeName=n.nodeName.substring(0,r),n.objectName=e)}if(null===n.propertyName||0===n.propertyName.length)throw new Error("PropertyBinding: can not parse propertyName from trackName: "+e);return n}static findNode(e,t){if(!t||""===t||"."===t||-1===t||t===e.name||t===e.uuid)return e;if(e.skeleton){const n=e.skeleton.getBoneByName(t);if(void 0!==n)return n}if(e.children){const n=function(e){for(let r=0;r<e.length;r++){const i=e[r];if(i.name===t||i.uuid===t)return i;const o=n(i.children);if(o)return o}return null},r=n(e.children);if(r)return r}return null}_getValue_unavailable(){}_setValue_unavailable(){}_getValue_direct(e,t){e[t]=this.node[this.propertyName]}_getValue_array(e,t){const n=this.resolvedProperty;for(let r=0,i=n.length;r!==i;++r)e[t++]=n[r]}_getValue_arrayElement(e,t){e[t]=this.resolvedProperty[this.propertyIndex]}_getValue_toArray(e,t){this.resolvedProperty.toArray(e,t)}_setValue_direct(e,t){this.targetObject[this.propertyName]=e[t]}_setValue_direct_setNeedsUpdate(e,t){this.targetObject[this.propertyName]=e[t],this.targetObject.needsUpdate=!0}_setValue_direct_setMatrixWorldNeedsUpdate(e,t){this.targetObject[this.propertyName]=e[t],this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_array(e,t){const n=this.resolvedProperty;for(let r=0,i=n.length;r!==i;++r)n[r]=e[t++]}_setValue_array_setNeedsUpdate(e,t){const n=this.resolvedProperty;for(let r=0,i=n.length;r!==i;++r)n[r]=e[t++];this.targetObject.needsUpdate=!0}_setValue_array_setMatrixWorldNeedsUpdate(e,t){const n=this.resolvedProperty;for(let r=0,i=n.length;r!==i;++r)n[r]=e[t++];this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_arrayElement(e,t){this.resolvedProperty[this.propertyIndex]=e[t]}_setValue_arrayElement_setNeedsUpdate(e,t){this.resolvedProperty[this.propertyIndex]=e[t],this.targetObject.needsUpdate=!0}_setValue_arrayElement_setMatrixWorldNeedsUpdate(e,t){this.resolvedProperty[this.propertyIndex]=e[t],this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_fromArray(e,t){this.resolvedProperty.fromArray(e,t)}_setValue_fromArray_setNeedsUpdate(e,t){this.resolvedProperty.fromArray(e,t),this.targetObject.needsUpdate=!0}_setValue_fromArray_setMatrixWorldNeedsUpdate(e,t){this.resolvedProperty.fromArray(e,t),this.targetObject.matrixWorldNeedsUpdate=!0}_getValue_unbound(e,t){this.bind(),this.getValue(e,t)}_setValue_unbound(e,t){this.bind(),this.setValue(e,t)}bind(){let e=this.node;const t=this.parsedPath,n=t.objectName,r=t.propertyName;let i=t.propertyIndex;if(e||(e=Eh.findNode(this.rootNode,t.nodeName)||this.rootNode,this.node=e),this.getValue=this._getValue_unavailable,this.setValue=this._setValue_unavailable,!e)return void console.error("THREE.PropertyBinding: Trying to update node for track: "+this.path+" but it wasn't found.");if(n){let r=t.objectIndex;switch(n){case"materials":if(!e.material)return void console.error("THREE.PropertyBinding: Can not bind to material as node does not have a material.",this);if(!e.material.materials)return void console.error("THREE.PropertyBinding: Can not bind to material.materials as node.material does not have a materials array.",this);e=e.material.materials;break;case"bones":if(!e.skeleton)return void console.error("THREE.PropertyBinding: Can not bind to bones as node does not have a skeleton.",this);e=e.skeleton.bones;for(let t=0;t<e.length;t++)if(e[t].name===r){r=t;break}break;default:if(void 0===e[n])return void console.error("THREE.PropertyBinding: Can not bind to objectName of node undefined.",this);e=e[n]}if(void 0!==r){if(void 0===e[r])return void console.error("THREE.PropertyBinding: Trying to bind to objectIndex of objectName, but is undefined.",this,e);e=e[r]}}const o=e[r];if(void 0===o){const n=t.nodeName;return void console.error("THREE.PropertyBinding: Trying to update property for track: "+n+"."+r+" but it wasn't found.",e)}let a=this.Versioning.None;this.targetObject=e,void 0!==e.needsUpdate?a=this.Versioning.NeedsUpdate:void 0!==e.matrixWorldNeedsUpdate&&(a=this.Versioning.MatrixWorldNeedsUpdate);let s=this.BindingType.Direct;if(void 0!==i){if("morphTargetInfluences"===r){if(!e.geometry)return void console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.",this);if(!e.geometry.isBufferGeometry)return void console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences on THREE.Geometry. Use THREE.BufferGeometry instead.",this);if(!e.geometry.morphAttributes)return void console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.morphAttributes.",this);void 0!==e.morphTargetDictionary[i]&&(i=e.morphTargetDictionary[i])}s=this.BindingType.ArrayElement,this.resolvedProperty=o,this.propertyIndex=i}else void 0!==o.fromArray&&void 0!==o.toArray?(s=this.BindingType.HasFromToArray,this.resolvedProperty=o):Array.isArray(o)?(s=this.BindingType.EntireArray,this.resolvedProperty=o):this.propertyName=r;this.getValue=this.GetterByBindingType[s],this.setValue=this.SetterByBindingTypeAndVersioning[s][a]}unbind(){this.node=null,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}}Eh.Composite=class{constructor(e,t,n){const r=n||Eh.parseTrackName(t);this._targetGroup=e,this._bindings=e.subscribe_(t,r)}getValue(e,t){this.bind();const n=this._targetGroup.nCachedObjects_,r=this._bindings[n];void 0!==r&&r.getValue(e,t)}setValue(e,t){const n=this._bindings;for(let r=this._targetGroup.nCachedObjects_,i=n.length;r!==i;++r)n[r].setValue(e,t)}bind(){const e=this._bindings;for(let t=this._targetGroup.nCachedObjects_,n=e.length;t!==n;++t)e[t].bind()}unbind(){const e=this._bindings;for(let t=this._targetGroup.nCachedObjects_,n=e.length;t!==n;++t)e[t].unbind()}},Eh.prototype.BindingType={Direct:0,EntireArray:1,ArrayElement:2,HasFromToArray:3},Eh.prototype.Versioning={None:0,NeedsUpdate:1,MatrixWorldNeedsUpdate:2},Eh.prototype.GetterByBindingType=[Eh.prototype._getValue_direct,Eh.prototype._getValue_array,Eh.prototype._getValue_arrayElement,Eh.prototype._getValue_toArray],Eh.prototype.SetterByBindingTypeAndVersioning=[[Eh.prototype._setValue_direct,Eh.prototype._setValue_direct_setNeedsUpdate,Eh.prototype._setValue_direct_setMatrixWorldNeedsUpdate],[Eh.prototype._setValue_array,Eh.prototype._setValue_array_setNeedsUpdate,Eh.prototype._setValue_array_setMatrixWorldNeedsUpdate],[Eh.prototype._setValue_arrayElement,Eh.prototype._setValue_arrayElement_setNeedsUpdate,Eh.prototype._setValue_arrayElement_setMatrixWorldNeedsUpdate],[Eh.prototype._setValue_fromArray,Eh.prototype._setValue_fromArray_setNeedsUpdate,Eh.prototype._setValue_fromArray_setMatrixWorldNeedsUpdate]];class zh{constructor(){this.uuid=Gn(),this._objects=Array.prototype.slice.call(arguments),this.nCachedObjects_=0;const e={};this._indicesByUUID=e;for(let t=0,n=arguments.length;t!==n;++t)e[arguments[t].uuid]=t;this._paths=[],this._parsedPaths=[],this._bindings=[],this._bindingsIndicesByPath={};const t=this;this.stats={objects:{get total(){return t._objects.length},get inUse(){return this.total-t.nCachedObjects_}},get bindingsPerObject(){return t._bindings.length}}}add(){const e=this._objects,t=this._indicesByUUID,n=this._paths,r=this._parsedPaths,i=this._bindings,o=i.length;let a,s=e.length,c=this.nCachedObjects_;for(let u=0,l=arguments.length;u!==l;++u){const l=arguments[u],f=l.uuid;let h=t[f];if(void 0===h){h=s++,t[f]=h,e.push(l);for(let e=0,t=o;e!==t;++e)i[e].push(new Eh(l,n[e],r[e]))}else if(h<c){a=e[h];const s=--c,u=e[s];t[u.uuid]=h,e[h]=u,t[f]=s,e[s]=l;for(let e=0,t=o;e!==t;++e){const t=i[e],o=t[s];let a=t[h];t[h]=o,void 0===a&&(a=new Eh(l,n[e],r[e])),t[s]=a}}else e[h]!==a&&console.error("THREE.AnimationObjectGroup: Different objects with the same UUID detected. Clean the caches or recreate your infrastructure when reloading scenes.")}this.nCachedObjects_=c}remove(){const e=this._objects,t=this._indicesByUUID,n=this._bindings,r=n.length;let i=this.nCachedObjects_;for(let o=0,a=arguments.length;o!==a;++o){const a=arguments[o],s=a.uuid,c=t[s];if(void 0!==c&&c>=i){const o=i++,u=e[o];t[u.uuid]=c,e[c]=u,t[s]=o,e[o]=a;for(let e=0,t=r;e!==t;++e){const t=n[e],r=t[o],i=t[c];t[c]=r,t[o]=i}}}this.nCachedObjects_=i}uncache(){const e=this._objects,t=this._indicesByUUID,n=this._bindings,r=n.length;let i=this.nCachedObjects_,o=e.length;for(let a=0,s=arguments.length;a!==s;++a){const s=arguments[a].uuid,c=t[s];if(void 0!==c)if(delete t[s],c<i){const a=--i,s=e[a],u=--o,l=e[u];t[s.uuid]=c,e[c]=s,t[l.uuid]=a,e[a]=l,e.pop();for(let e=0,t=r;e!==t;++e){const t=n[e],r=t[a],i=t[u];t[c]=r,t[a]=i,t.pop()}}else{const i=--o,a=e[i];i>0&&(t[a.uuid]=c),e[c]=a,e.pop();for(let e=0,t=r;e!==t;++e){const t=n[e];t[c]=t[i],t.pop()}}}this.nCachedObjects_=i}subscribe_(e,t){const n=this._bindingsIndicesByPath;let r=n[e];const i=this._bindings;if(void 0!==r)return i[r];const o=this._paths,a=this._parsedPaths,s=this._objects,c=s.length,u=this.nCachedObjects_,l=new Array(c);r=i.length,n[e]=r,o.push(e),a.push(t),i.push(l);for(let n=u,r=s.length;n!==r;++n){const r=s[n];l[n]=new Eh(r,e,t)}return l}unsubscribe_(e){const t=this._bindingsIndicesByPath,n=t[e];if(void 0!==n){const r=this._paths,i=this._parsedPaths,o=this._bindings,a=o.length-1,s=o[a];t[e[a]]=n,o[n]=s,o.pop(),i[n]=i[a],i.pop(),r[n]=r[a],r.pop()}}}zh.prototype.isAnimationObjectGroup=!0;class Lh{constructor(e,t,n=null,r=t.blendMode){this._mixer=e,this._clip=t,this._localRoot=n,this.blendMode=r;const i=t.tracks,o=i.length,a=new Array(o),s={endingStart:Nt,endingEnd:Nt};for(let e=0;e!==o;++e){const t=i[e].createInterpolant(null);a[e]=t,t.settings=s}this._interpolantSettings=s,this._interpolants=a,this._propertyBindings=new Array(o),this._cacheIndex=null,this._byClipCacheIndex=null,this._timeScaleInterpolant=null,this._weightInterpolant=null,this.loop=Ft,this._loopCount=-1,this._startTime=null,this.time=0,this.timeScale=1,this._effectiveTimeScale=1,this.weight=1,this._effectiveWeight=1,this.repetitions=1/0,this.paused=!1,this.enabled=!0,this.clampWhenFinished=!1,this.zeroSlopeAtStart=!0,this.zeroSlopeAtEnd=!0}play(){return this._mixer._activateAction(this),this}stop(){return this._mixer._deactivateAction(this),this.reset()}reset(){return this.paused=!1,this.enabled=!0,this.time=0,this._loopCount=-1,this._startTime=null,this.stopFading().stopWarping()}isRunning(){return this.enabled&&!this.paused&&0!==this.timeScale&&null===this._startTime&&this._mixer._isActiveAction(this)}isScheduled(){return this._mixer._isActiveAction(this)}startAt(e){return this._startTime=e,this}setLoop(e,t){return this.loop=e,this.repetitions=t,this}setEffectiveWeight(e){return this.weight=e,this._effectiveWeight=this.enabled?e:0,this.stopFading()}getEffectiveWeight(){return this._effectiveWeight}fadeIn(e){return this._scheduleFading(e,0,1)}fadeOut(e){return this._scheduleFading(e,1,0)}crossFadeFrom(e,t,n){if(e.fadeOut(t),this.fadeIn(t),n){const n=this._clip.duration,r=e._clip.duration,i=r/n,o=n/r;e.warp(1,i,t),this.warp(o,1,t)}return this}crossFadeTo(e,t,n){return e.crossFadeFrom(this,t,n)}stopFading(){const e=this._weightInterpolant;return null!==e&&(this._weightInterpolant=null,this._mixer._takeBackControlInterpolant(e)),this}setEffectiveTimeScale(e){return this.timeScale=e,this._effectiveTimeScale=this.paused?0:e,this.stopWarping()}getEffectiveTimeScale(){return this._effectiveTimeScale}setDuration(e){return this.timeScale=this._clip.duration/e,this.stopWarping()}syncWith(e){return this.time=e.time,this.timeScale=e.timeScale,this.stopWarping()}halt(e){return this.warp(this._effectiveTimeScale,0,e)}warp(e,t,n){const r=this._mixer,i=r.time,o=this.timeScale;let a=this._timeScaleInterpolant;null===a&&(a=r._lendControlInterpolant(),this._timeScaleInterpolant=a);const s=a.parameterPositions,c=a.sampleValues;return s[0]=i,s[1]=i+n,c[0]=e/o,c[1]=t/o,this}stopWarping(){const e=this._timeScaleInterpolant;return null!==e&&(this._timeScaleInterpolant=null,this._mixer._takeBackControlInterpolant(e)),this}getMixer(){return this._mixer}getClip(){return this._clip}getRoot(){return this._localRoot||this._mixer._root}_update(e,t,n,r){if(!this.enabled)return void this._updateWeight(e);const i=this._startTime;if(null!==i){const r=(e-i)*n;if(r<0||0===n)return;this._startTime=null,t=n*r}t*=this._updateTimeScale(e);const o=this._updateTime(t),a=this._updateWeight(e);if(a>0){const e=this._interpolants,t=this._propertyBindings;switch(this.blendMode){case Zt:for(let n=0,r=e.length;n!==r;++n)e[n].evaluate(o),t[n].accumulateAdditive(a);break;case Wt:default:for(let n=0,i=e.length;n!==i;++n)e[n].evaluate(o),t[n].accumulate(r,a)}}}_updateWeight(e){let t=0;if(this.enabled){t=this.weight;const n=this._weightInterpolant;if(null!==n){const r=n.evaluate(e)[0];t*=r,e>n.parameterPositions[1]&&(this.stopFading(),0===r&&(this.enabled=!1))}}return this._effectiveWeight=t,t}_updateTimeScale(e){let t=0;if(!this.paused){t=this.timeScale;const n=this._timeScaleInterpolant;null!==n&&(t*=n.evaluate(e)[0],e>n.parameterPositions[1]&&(this.stopWarping(),0===t?this.paused=!0:this.timeScale=t))}return this._effectiveTimeScale=t,t}_updateTime(e){const t=this._clip.duration,n=this.loop;let r=this.time+e,i=this._loopCount;const o=n===jt;if(0===e)return-1===i?r:o&&1==(1&i)?t-r:r;if(n===kt){-1===i&&(this._loopCount=0,this._setEndings(!0,!0,!1));e:{if(r>=t)r=t;else{if(!(r<0)){this.time=r;break e}r=0}this.clampWhenFinished?this.paused=!0:this.enabled=!1,this.time=r,this._mixer.dispatchEvent({type:"finished",action:this,direction:e<0?-1:1})}}else{if(-1===i&&(e>=0?(i=0,this._setEndings(!0,0===this.repetitions,o)):this._setEndings(0===this.repetitions,!0,o)),r>=t||r<0){const n=Math.floor(r/t);r-=t*n,i+=Math.abs(n);const a=this.repetitions-i;if(a<=0)this.clampWhenFinished?this.paused=!0:this.enabled=!1,r=e>0?t:0,this.time=r,this._mixer.dispatchEvent({type:"finished",action:this,direction:e>0?1:-1});else{if(1===a){const t=e<0;this._setEndings(t,!t,o)}else this._setEndings(!1,!1,o);this._loopCount=i,this.time=r,this._mixer.dispatchEvent({type:"loop",action:this,loopDelta:n})}}else this.time=r;if(o&&1==(1&i))return t-r}return r}_setEndings(e,t,n){const r=this._interpolantSettings;n?(r.endingStart=Ht,r.endingEnd=Ht):(r.endingStart=e?this.zeroSlopeAtStart?Ht:Nt:Vt,r.endingEnd=t?this.zeroSlopeAtEnd?Ht:Nt:Vt)}_scheduleFading(e,t,n){const r=this._mixer,i=r.time;let o=this._weightInterpolant;null===o&&(o=r._lendControlInterpolant(),this._weightInterpolant=o);const a=o.parameterPositions,s=o.sampleValues;return a[0]=i,s[0]=t,a[1]=i+e,s[1]=n,this}}class Ch extends kn{constructor(e){super(),this._root=e,this._initMemoryManager(),this._accuIndex=0,this.time=0,this.timeScale=1}_bindAction(e,t){const n=e._localRoot||this._root,r=e._clip.tracks,i=r.length,o=e._propertyBindings,a=e._interpolants,s=n.uuid,c=this._bindingsByRootAndName;let u=c[s];void 0===u&&(u={},c[s]=u);for(let e=0;e!==i;++e){const i=r[e],c=i.name;let l=u[c];if(void 0!==l)o[e]=l;else{if(l=o[e],void 0!==l){null===l._cacheIndex&&(++l.referenceCount,this._addInactiveBinding(l,s,c));continue}const r=t&&t._propertyBindings[e].binding.parsedPath;l=new gh(Eh.create(n,c,r),i.ValueTypeName,i.getValueSize()),++l.referenceCount,this._addInactiveBinding(l,s,c),o[e]=l}a[e].resultBuffer=l.buffer}}_activateAction(e){if(!this._isActiveAction(e)){if(null===e._cacheIndex){const t=(e._localRoot||this._root).uuid,n=e._clip.uuid,r=this._actionsByClip[n];this._bindAction(e,r&&r.knownActions[0]),this._addInactiveAction(e,n,t)}const t=e._propertyBindings;for(let e=0,n=t.length;e!==n;++e){const n=t[e];0==n.useCount++&&(this._lendBinding(n),n.saveOriginalState())}this._lendAction(e)}}_deactivateAction(e){if(this._isActiveAction(e)){const t=e._propertyBindings;for(let e=0,n=t.length;e!==n;++e){const n=t[e];0==--n.useCount&&(n.restoreOriginalState(),this._takeBackBinding(n))}this._takeBackAction(e)}}_initMemoryManager(){this._actions=[],this._nActiveActions=0,this._actionsByClip={},this._bindings=[],this._nActiveBindings=0,this._bindingsByRootAndName={},this._controlInterpolants=[],this._nActiveControlInterpolants=0;const e=this;this.stats={actions:{get total(){return e._actions.length},get inUse(){return e._nActiveActions}},bindings:{get total(){return e._bindings.length},get inUse(){return e._nActiveBindings}},controlInterpolants:{get total(){return e._controlInterpolants.length},get inUse(){return e._nActiveControlInterpolants}}}}_isActiveAction(e){const t=e._cacheIndex;return null!==t&&t<this._nActiveActions}_addInactiveAction(e,t,n){const r=this._actions,i=this._actionsByClip;let o=i[t];if(void 0===o)o={knownActions:[e],actionByRoot:{}},e._byClipCacheIndex=0,i[t]=o;else{const t=o.knownActions;e._byClipCacheIndex=t.length,t.push(e)}e._cacheIndex=r.length,r.push(e),o.actionByRoot[n]=e}_removeInactiveAction(e){const t=this._actions,n=t[t.length-1],r=e._cacheIndex;n._cacheIndex=r,t[r]=n,t.pop(),e._cacheIndex=null;const i=e._clip.uuid,o=this._actionsByClip,a=o[i],s=a.knownActions,c=s[s.length-1],u=e._byClipCacheIndex;c._byClipCacheIndex=u,s[u]=c,s.pop(),e._byClipCacheIndex=null,delete a.actionByRoot[(e._localRoot||this._root).uuid],0===s.length&&delete o[i],this._removeInactiveBindingsForAction(e)}_removeInactiveBindingsForAction(e){const t=e._propertyBindings;for(let e=0,n=t.length;e!==n;++e){const n=t[e];0==--n.referenceCount&&this._removeInactiveBinding(n)}}_lendAction(e){const t=this._actions,n=e._cacheIndex,r=this._nActiveActions++,i=t[r];e._cacheIndex=r,t[r]=e,i._cacheIndex=n,t[n]=i}_takeBackAction(e){const t=this._actions,n=e._cacheIndex,r=--this._nActiveActions,i=t[r];e._cacheIndex=r,t[r]=e,i._cacheIndex=n,t[n]=i}_addInactiveBinding(e,t,n){const r=this._bindingsByRootAndName,i=this._bindings;let o=r[t];void 0===o&&(o={},r[t]=o),o[n]=e,e._cacheIndex=i.length,i.push(e)}_removeInactiveBinding(e){const t=this._bindings,n=e.binding,r=n.rootNode.uuid,i=n.path,o=this._bindingsByRootAndName,a=o[r],s=t[t.length-1],c=e._cacheIndex;s._cacheIndex=c,t[c]=s,t.pop(),delete a[i],0===Object.keys(a).length&&delete o[r]}_lendBinding(e){const t=this._bindings,n=e._cacheIndex,r=this._nActiveBindings++,i=t[r];e._cacheIndex=r,t[r]=e,i._cacheIndex=n,t[n]=i}_takeBackBinding(e){const t=this._bindings,n=e._cacheIndex,r=--this._nActiveBindings,i=t[r];e._cacheIndex=r,t[r]=e,i._cacheIndex=n,t[n]=i}_lendControlInterpolant(){const e=this._controlInterpolants,t=this._nActiveControlInterpolants++;let n=e[t];return void 0===n&&(n=new Ml(new Float32Array(2),new Float32Array(2),1,this._controlInterpolantsResultBuffer),n.__cacheIndex=t,e[t]=n),n}_takeBackControlInterpolant(e){const t=this._controlInterpolants,n=e.__cacheIndex,r=--this._nActiveControlInterpolants,i=t[r];e.__cacheIndex=r,t[r]=e,i.__cacheIndex=n,t[n]=i}clipAction(e,t,n){const r=t||this._root,i=r.uuid;let o="string"==typeof e?Al.findByName(r,e):e;const a=null!==o?o.uuid:e,s=this._actionsByClip[a];let c=null;if(void 0===n&&(n=null!==o?o.blendMode:Wt),void 0!==s){const e=s.actionByRoot[i];if(void 0!==e&&e.blendMode===n)return e;c=s.knownActions[0],null===o&&(o=c._clip)}if(null===o)return null;const u=new Lh(this,o,t,n);return this._bindAction(u,c),this._addInactiveAction(u,a,i),u}existingAction(e,t){const n=t||this._root,r=n.uuid,i="string"==typeof e?Al.findByName(n,e):e,o=i?i.uuid:e,a=this._actionsByClip[o];return void 0!==a&&a.actionByRoot[r]||null}stopAllAction(){const e=this._actions;for(let t=this._nActiveActions-1;t>=0;--t)e[t].stop();return this}update(e){e*=this.timeScale;const t=this._actions,n=this._nActiveActions,r=this.time+=e,i=Math.sign(e),o=this._accuIndex^=1;for(let a=0;a!==n;++a)t[a]._update(r,e,i,o);const a=this._bindings,s=this._nActiveBindings;for(let e=0;e!==s;++e)a[e].apply(o);return this}setTime(e){this.time=0;for(let e=0;e<this._actions.length;e++)this._actions[e].time=0;return this.update(e)}getRoot(){return this._root}uncacheClip(e){const t=this._actions,n=e.uuid,r=this._actionsByClip,i=r[n];if(void 0!==i){const e=i.knownActions;for(let n=0,r=e.length;n!==r;++n){const r=e[n];this._deactivateAction(r);const i=r._cacheIndex,o=t[t.length-1];r._cacheIndex=null,r._byClipCacheIndex=null,o._cacheIndex=i,t[i]=o,t.pop(),this._removeInactiveBindingsForAction(r)}delete r[n]}}uncacheRoot(e){const t=e.uuid,n=this._actionsByClip;for(const e in n){const r=n[e].actionByRoot[t];void 0!==r&&(this._deactivateAction(r),this._removeInactiveAction(r))}const r=this._bindingsByRootAndName[t];if(void 0!==r)for(const e in r){const t=r[e];t.restoreOriginalState(),this._removeInactiveBinding(t)}}uncacheAction(e,t){const n=this.existingAction(e,t);null!==n&&(this._deactivateAction(n),this._removeInactiveAction(n))}}Ch.prototype._controlInterpolantsResultBuffer=new Float32Array(1);class Ah{constructor(e){"string"==typeof e&&(console.warn("THREE.Uniform: Type parameter is no longer needed."),e=arguments[1]),this.value=e}clone(){return new Ah(void 0===this.value.clone?this.value:this.value.clone())}}class Oh extends ic{constructor(e,t,n=1){super(e,t),this.meshPerAttribute=n||1}copy(e){return super.copy(e),this.meshPerAttribute=e.meshPerAttribute,this}clone(e){const t=super.clone(e);return t.meshPerAttribute=this.meshPerAttribute,t}toJSON(e){const t=super.toJSON(e);return t.isInstancedInterleavedBuffer=!0,t.meshPerAttribute=this.meshPerAttribute,t}}Oh.prototype.isInstancedInterleavedBuffer=!0;class Dh{constructor(e,t,n,r,i){this.buffer=e,this.type=t,this.itemSize=n,this.elementSize=r,this.count=i,this.version=0}set needsUpdate(e){!0===e&&this.version++}setBuffer(e){return this.buffer=e,this}setType(e,t){return this.type=e,this.elementSize=t,this}setItemSize(e){return this.itemSize=e,this}setCount(e){return this.count=e,this}}Dh.prototype.isGLBufferAttribute=!0;class Ih{constructor(e,t,n=0,r=1/0){this.ray=new kr(e,t),this.near=n,this.far=r,this.camera=null,this.layers=new Yr,this.params={Mesh:{},Line:{threshold:1},LOD:{},Points:{threshold:1},Sprite:{}}}set(e,t){this.ray.set(e,t)}setFromCamera(e,t){t&&t.isPerspectiveCamera?(this.ray.origin.setFromMatrixPosition(t.matrixWorld),this.ray.direction.set(e.x,e.y,.5).unproject(t).sub(this.ray.origin).normalize(),this.camera=t):t&&t.isOrthographicCamera?(this.ray.origin.set(e.x,e.y,(t.near+t.far)/(t.near-t.far)).unproject(t),this.ray.direction.set(0,0,-1).transformDirection(t.matrixWorld),this.camera=t):console.error("THREE.Raycaster: Unsupported camera type: "+t.type)}intersectObject(e,t=!1,n=[]){return Fh(e,this,n,t),n.sort(kh),n}intersectObjects(e,t=!1,n=[]){for(let r=0,i=e.length;r<i;r++)Fh(e[r],this,n,t);return n.sort(kh),n}}function kh(e,t){return e.distance-t.distance}function Fh(e,t,n,r){if(e.layers.test(t.layers)&&e.raycast(t,n),!0===r){const r=e.children;for(let e=0,i=r.length;e<i;e++)Fh(r[e],t,n,!0)}}class jh{constructor(e=1,t=0,n=0){return this.radius=e,this.phi=t,this.theta=n,this}set(e,t,n){return this.radius=e,this.phi=t,this.theta=n,this}copy(e){return this.radius=e.radius,this.phi=e.phi,this.theta=e.theta,this}makeSafe(){const e=1e-6;return this.phi=Math.max(e,Math.min(Math.PI-e,this.phi)),this}setFromVector3(e){return this.setFromCartesianCoords(e.x,e.y,e.z)}setFromCartesianCoords(e,t,n){return this.radius=Math.sqrt(e*e+t*t+n*n),0===this.radius?(this.theta=0,this.phi=0):(this.theta=Math.atan2(e,n),this.phi=Math.acos(Nn(t/this.radius,-1,1))),this}clone(){return(new this.constructor).copy(this)}}class Uh{constructor(e=1,t=0,n=0){return this.radius=e,this.theta=t,this.y=n,this}set(e,t,n){return this.radius=e,this.theta=t,this.y=n,this}copy(e){return this.radius=e.radius,this.theta=e.theta,this.y=e.y,this}setFromVector3(e){return this.setFromCartesianCoords(e.x,e.y,e.z)}setFromCartesianCoords(e,t,n){return this.radius=Math.sqrt(e*e+n*n),this.theta=Math.atan2(e,n),this.y=t,this}clone(){return(new this.constructor).copy(this)}}const Bh=new Xn;class Gh{constructor(e=new Xn(1/0,1/0),t=new Xn(-1/0,-1/0)){this.min=e,this.max=t}set(e,t){return this.min.copy(e),this.max.copy(t),this}setFromPoints(e){this.makeEmpty();for(let t=0,n=e.length;t<n;t++)this.expandByPoint(e[t]);return this}setFromCenterAndSize(e,t){const n=Bh.copy(t).multiplyScalar(.5);return this.min.copy(e).sub(n),this.max.copy(e).add(n),this}clone(){return(new this.constructor).copy(this)}copy(e){return this.min.copy(e.min),this.max.copy(e.max),this}makeEmpty(){return this.min.x=this.min.y=1/0,this.max.x=this.max.y=-1/0,this}isEmpty(){return this.max.x<this.min.x||this.max.y<this.min.y}getCenter(e){return void 0===e&&(console.warn("THREE.Box2: .getCenter() target is now required"),e=new Xn),this.isEmpty()?e.set(0,0):e.addVectors(this.min,this.max).multiplyScalar(.5)}getSize(e){return void 0===e&&(console.warn("THREE.Box2: .getSize() target is now required"),e=new Xn),this.isEmpty()?e.set(0,0):e.subVectors(this.max,this.min)}expandByPoint(e){return this.min.min(e),this.max.max(e),this}expandByVector(e){return this.min.sub(e),this.max.add(e),this}expandByScalar(e){return this.min.addScalar(-e),this.max.addScalar(e),this}containsPoint(e){return!(e.x<this.min.x||e.x>this.max.x||e.y<this.min.y||e.y>this.max.y)}containsBox(e){return this.min.x<=e.min.x&&e.max.x<=this.max.x&&this.min.y<=e.min.y&&e.max.y<=this.max.y}getParameter(e,t){return void 0===t&&(console.warn("THREE.Box2: .getParameter() target is now required"),t=new Xn),t.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y))}intersectsBox(e){return!(e.max.x<this.min.x||e.min.x>this.max.x||e.max.y<this.min.y||e.min.y>this.max.y)}clampPoint(e,t){return void 0===t&&(console.warn("THREE.Box2: .clampPoint() target is now required"),t=new Xn),t.copy(e).clamp(this.min,this.max)}distanceToPoint(e){return Bh.copy(e).clamp(this.min,this.max).sub(e).length()}intersect(e){return this.min.max(e.min),this.max.min(e.max),this}union(e){return this.min.min(e.min),this.max.max(e.max),this}translate(e){return this.min.add(e),this.max.add(e),this}equals(e){return e.min.equals(this.min)&&e.max.equals(this.max)}}Gh.prototype.isBox2=!0;const Nh=new ar,Hh=new ar;class Vh{constructor(e=new ar,t=new ar){this.start=e,this.end=t}set(e,t){return this.start.copy(e),this.end.copy(t),this}copy(e){return this.start.copy(e.start),this.end.copy(e.end),this}getCenter(e){return void 0===e&&(console.warn("THREE.Line3: .getCenter() target is now required"),e=new ar),e.addVectors(this.start,this.end).multiplyScalar(.5)}delta(e){return void 0===e&&(console.warn("THREE.Line3: .delta() target is now required"),e=new ar),e.subVectors(this.end,this.start)}distanceSq(){return this.start.distanceToSquared(this.end)}distance(){return this.start.distanceTo(this.end)}at(e,t){return void 0===t&&(console.warn("THREE.Line3: .at() target is now required"),t=new ar),this.delta(t).multiplyScalar(e).add(this.start)}closestPointToPointParameter(e,t){Nh.subVectors(e,this.start),Hh.subVectors(this.end,this.start);const n=Hh.dot(Hh);let r=Hh.dot(Nh)/n;return t&&(r=Nn(r,0,1)),r}closestPointToPoint(e,t,n){const r=this.closestPointToPointParameter(e,t);return void 0===n&&(console.warn("THREE.Line3: .closestPointToPoint() target is now required"),n=new ar),this.delta(n).multiplyScalar(r).add(this.start)}applyMatrix4(e){return this.start.applyMatrix4(e),this.end.applyMatrix4(e),this}equals(e){return e.start.equals(this.start)&&e.end.equals(this.end)}clone(){return(new this.constructor).copy(this)}}class Wh extends ci{constructor(e){super(),this.material=e,this.render=function(){},this.hasPositions=!1,this.hasNormals=!1,this.hasColors=!1,this.hasUvs=!1,this.positionArray=null,this.normalArray=null,this.colorArray=null,this.uvArray=null,this.count=0}}Wh.prototype.isImmediateRenderObject=!0;const Zh=new ar;class qh extends ci{constructor(e,t){super(),this.light=e,this.light.updateMatrixWorld(),this.matrix=e.matrixWorld,this.matrixAutoUpdate=!1,this.color=t;const n=new ro,r=[0,0,0,0,0,1,0,0,0,1,0,1,0,0,0,-1,0,1,0,0,0,0,1,1,0,0,0,0,-1,1];for(let e=0,t=1,n=32;e<n;e++,t++){const i=e/n*Math.PI*2,o=t/n*Math.PI*2;r.push(Math.cos(i),Math.sin(i),1,Math.cos(o),Math.sin(o),1)}n.setAttribute("position",new Wi(r,3));const i=new Gc({fog:!1,toneMapped:!1});this.cone=new Kc(n,i),this.add(this.cone),this.update()}dispose(){this.cone.geometry.dispose(),this.cone.material.dispose()}update(){this.light.updateMatrixWorld();const e=this.light.distance?this.light.distance:1e3,t=e*Math.tan(this.light.angle);this.cone.scale.set(t,t,e),Zh.setFromMatrixPosition(this.light.target.matrixWorld),this.cone.lookAt(Zh),void 0!==this.color?this.cone.material.color.set(this.color):this.cone.material.color.copy(this.light.color)}}const Yh=new ar,Xh=new Fr,Kh=new Fr;class Qh extends Kc{constructor(e){const t=Jh(e),n=new ro,r=[],i=[],o=new Ai(0,0,1),a=new Ai(0,1,0);for(let e=0;e<t.length;e++){const n=t[e];n.parent&&n.parent.isBone&&(r.push(0,0,0),r.push(0,0,0),i.push(o.r,o.g,o.b),i.push(a.r,a.g,a.b))}n.setAttribute("position",new Wi(r,3)),n.setAttribute("color",new Wi(i,3)),super(n,new Gc({vertexColors:!0,depthTest:!1,depthWrite:!1,toneMapped:!1,transparent:!0})),this.type="SkeletonHelper",this.isSkeletonHelper=!0,this.root=e,this.bones=t,this.matrix=e.matrixWorld,this.matrixAutoUpdate=!1}updateMatrixWorld(e){const t=this.bones,n=this.geometry,r=n.getAttribute("position");Kh.copy(this.root.matrixWorld).invert();for(let e=0,n=0;e<t.length;e++){const i=t[e];i.parent&&i.parent.isBone&&(Xh.multiplyMatrices(Kh,i.matrixWorld),Yh.setFromMatrixPosition(Xh),r.setXYZ(n,Yh.x,Yh.y,Yh.z),Xh.multiplyMatrices(Kh,i.parent.matrixWorld),Yh.setFromMatrixPosition(Xh),r.setXYZ(n+1,Yh.x,Yh.y,Yh.z),n+=2)}n.getAttribute("position").needsUpdate=!0,super.updateMatrixWorld(e)}}function Jh(e){const t=[];e&&e.isBone&&t.push(e);for(let n=0;n<e.children.length;n++)t.push.apply(t,Jh(e.children[n]));return t}class $h extends Mo{constructor(e,t,n){super(new el(t,4,2),new Oi({wireframe:!0,fog:!1,toneMapped:!1})),this.light=e,this.light.updateMatrixWorld(),this.color=n,this.type="PointLightHelper",this.matrix=this.light.matrixWorld,this.matrixAutoUpdate=!1,this.update()}dispose(){this.geometry.dispose(),this.material.dispose()}update(){void 0!==this.color?this.material.color.set(this.color):this.material.color.copy(this.light.color)}}const ev=new ar,tv=new Ai,nv=new Ai;class rv extends ci{constructor(e,t,n){super(),this.light=e,this.light.updateMatrixWorld(),this.matrix=e.matrixWorld,this.matrixAutoUpdate=!1,this.color=n;const r=new Ku(t);r.rotateY(.5*Math.PI),this.material=new Oi({wireframe:!0,fog:!1,toneMapped:!1}),void 0===this.color&&(this.material.vertexColors=!0);const i=r.getAttribute("position"),o=new Float32Array(3*i.count);r.setAttribute("color",new ki(o,3)),this.add(new Mo(r,this.material)),this.update()}dispose(){this.children[0].geometry.dispose(),this.children[0].material.dispose()}update(){const e=this.children[0];if(void 0!==this.color)this.material.color.set(this.color);else{const t=e.geometry.getAttribute("color");tv.copy(this.light.color),nv.copy(this.light.groundColor);for(let e=0,n=t.count;e<n;e++){const r=e<n/2?tv:nv;t.setXYZ(e,r.r,r.g,r.b)}t.needsUpdate=!0}e.lookAt(ev.setFromMatrixPosition(this.light.matrixWorld).negate())}}class iv extends Kc{constructor(e=10,t=10,n=4473924,r=8947848){n=new Ai(n),r=new Ai(r);const i=t/2,o=e/t,a=e/2,s=[],c=[];for(let e=0,u=0,l=-a;e<=t;e++,l+=o){s.push(-a,0,l,a,0,l),s.push(l,0,-a,l,0,a);const t=e===i?n:r;t.toArray(c,u),u+=3,t.toArray(c,u),u+=3,t.toArray(c,u),u+=3,t.toArray(c,u),u+=3}const u=new ro;u.setAttribute("position",new Wi(s,3)),u.setAttribute("color",new Wi(c,3)),super(u,new Gc({vertexColors:!0,toneMapped:!1})),this.type="GridHelper"}}class ov extends Kc{constructor(e=10,t=16,n=8,r=64,i=4473924,o=8947848){i=new Ai(i),o=new Ai(o);const a=[],s=[];for(let n=0;n<=t;n++){const r=n/t*(2*Math.PI),c=Math.sin(r)*e,u=Math.cos(r)*e;a.push(0,0,0),a.push(c,0,u);const l=1&n?i:o;s.push(l.r,l.g,l.b),s.push(l.r,l.g,l.b)}for(let t=0;t<=n;t++){const c=1&t?i:o,u=e-e/n*t;for(let e=0;e<r;e++){let t=e/r*(2*Math.PI),n=Math.sin(t)*u,i=Math.cos(t)*u;a.push(n,0,i),s.push(c.r,c.g,c.b),t=(e+1)/r*(2*Math.PI),n=Math.sin(t)*u,i=Math.cos(t)*u,a.push(n,0,i),s.push(c.r,c.g,c.b)}}const c=new ro;c.setAttribute("position",new Wi(a,3)),c.setAttribute("color",new Wi(s,3)),super(c,new Gc({vertexColors:!0,toneMapped:!1})),this.type="PolarGridHelper"}}const av=new ar,sv=new ar,cv=new ar;class uv extends ci{constructor(e,t,n){super(),this.light=e,this.light.updateMatrixWorld(),this.matrix=e.matrixWorld,this.matrixAutoUpdate=!1,this.color=n,void 0===t&&(t=1);let r=new ro;r.setAttribute("position",new Wi([-t,t,0,t,t,0,t,-t,0,-t,-t,0,-t,t,0],3));const i=new Gc({fog:!1,toneMapped:!1});this.lightPlane=new qc(r,i),this.add(this.lightPlane),r=new ro,r.setAttribute("position",new Wi([0,0,0,0,0,1],3)),this.targetLine=new qc(r,i),this.add(this.targetLine),this.update()}dispose(){this.lightPlane.geometry.dispose(),this.lightPlane.material.dispose(),this.targetLine.geometry.dispose(),this.targetLine.material.dispose()}update(){av.setFromMatrixPosition(this.light.matrixWorld),sv.setFromMatrixPosition(this.light.target.matrixWorld),cv.subVectors(sv,av),this.lightPlane.lookAt(sv),void 0!==this.color?(this.lightPlane.material.color.set(this.color),this.targetLine.material.color.set(this.color)):(this.lightPlane.material.color.copy(this.light.color),this.targetLine.material.color.copy(this.light.color)),this.targetLine.lookAt(sv),this.targetLine.scale.z=cv.length()}}const lv=new ar,fv=new zo;class hv extends Kc{constructor(e){const t=new ro,n=new Gc({color:16777215,vertexColors:!0,toneMapped:!1}),r=[],i=[],o={},a=new Ai(16755200),s=new Ai(16711680),c=new Ai(43775),u=new Ai(16777215),l=new Ai(3355443);function f(e,t,n){h(e,n),h(t,n)}function h(e,t){r.push(0,0,0),i.push(t.r,t.g,t.b),void 0===o[e]&&(o[e]=[]),o[e].push(r.length/3-1)}f("n1","n2",a),f("n2","n4",a),f("n4","n3",a),f("n3","n1",a),f("f1","f2",a),f("f2","f4",a),f("f4","f3",a),f("f3","f1",a),f("n1","f1",a),f("n2","f2",a),f("n3","f3",a),f("n4","f4",a),f("p","n1",s),f("p","n2",s),f("p","n3",s),f("p","n4",s),f("u1","u2",c),f("u2","u3",c),f("u3","u1",c),f("c","t",u),f("p","c",l),f("cn1","cn2",l),f("cn3","cn4",l),f("cf1","cf2",l),f("cf3","cf4",l),t.setAttribute("position",new Wi(r,3)),t.setAttribute("color",new Wi(i,3)),super(t,n),this.type="CameraHelper",this.camera=e,this.camera.updateProjectionMatrix&&this.camera.updateProjectionMatrix(),this.matrix=e.matrixWorld,this.matrixAutoUpdate=!1,this.pointMap=o,this.update()}update(){const e=this.geometry,t=this.pointMap;fv.projectionMatrixInverse.copy(this.camera.projectionMatrixInverse),vv("c",t,e,fv,0,0,-1),vv("t",t,e,fv,0,0,1),vv("n1",t,e,fv,-1,-1,-1),vv("n2",t,e,fv,1,-1,-1),vv("n3",t,e,fv,-1,1,-1),vv("n4",t,e,fv,1,1,-1),vv("f1",t,e,fv,-1,-1,1),vv("f2",t,e,fv,1,-1,1),vv("f3",t,e,fv,-1,1,1),vv("f4",t,e,fv,1,1,1),vv("u1",t,e,fv,.7,1.1,-1),vv("u2",t,e,fv,-.7,1.1,-1),vv("u3",t,e,fv,0,2,-1),vv("cf1",t,e,fv,-1,0,1),vv("cf2",t,e,fv,1,0,1),vv("cf3",t,e,fv,0,-1,1),vv("cf4",t,e,fv,0,1,1),vv("cn1",t,e,fv,-1,0,-1),vv("cn2",t,e,fv,1,0,-1),vv("cn3",t,e,fv,0,-1,-1),vv("cn4",t,e,fv,0,1,-1),e.getAttribute("position").needsUpdate=!0}dispose(){this.geometry.dispose(),this.material.dispose()}}function vv(e,t,n,r,i,o,a){lv.set(i,o,a).unproject(r);const s=t[e];if(void 0!==s){const e=n.getAttribute("position");for(let t=0,n=s.length;t<n;t++)e.setXYZ(s[t],lv.x,lv.y,lv.z)}}const dv=new ur;class pv extends Kc{constructor(e,t=16776960){const n=new Uint16Array([0,1,1,2,2,3,3,0,4,5,5,6,6,7,7,4,0,4,1,5,2,6,3,7]),r=new Float32Array(24),i=new ro;i.setIndex(new ki(n,1)),i.setAttribute("position",new ki(r,3)),super(i,new Gc({color:t,toneMapped:!1})),this.object=e,this.type="BoxHelper",this.matrixAutoUpdate=!1,this.update()}update(e){if(void 0!==e&&console.warn("THREE.BoxHelper: .update() has no longer arguments."),void 0!==this.object&&dv.setFromObject(this.object),dv.isEmpty())return;const t=dv.min,n=dv.max,r=this.geometry.attributes.position,i=r.array;i[0]=n.x,i[1]=n.y,i[2]=n.z,i[3]=t.x,i[4]=n.y,i[5]=n.z,i[6]=t.x,i[7]=t.y,i[8]=n.z,i[9]=n.x,i[10]=t.y,i[11]=n.z,i[12]=n.x,i[13]=n.y,i[14]=t.z,i[15]=t.x,i[16]=n.y,i[17]=t.z,i[18]=t.x,i[19]=t.y,i[20]=t.z,i[21]=n.x,i[22]=t.y,i[23]=t.z,r.needsUpdate=!0,this.geometry.computeBoundingSphere()}setFromObject(e){return this.object=e,this.update(),this}copy(e){return Kc.prototype.copy.call(this,e),this.object=e.object,this}}class mv extends Kc{constructor(e,t=16776960){const n=new Uint16Array([0,1,1,2,2,3,3,0,4,5,5,6,6,7,7,4,0,4,1,5,2,6,3,7]),r=new ro;r.setIndex(new ki(n,1)),r.setAttribute("position",new Wi([1,1,1,-1,1,1,-1,-1,1,1,-1,1,1,1,-1,-1,1,-1,-1,-1,-1,1,-1,-1],3)),super(r,new Gc({color:t,toneMapped:!1})),this.box=e,this.type="Box3Helper",this.geometry.computeBoundingSphere()}updateMatrixWorld(e){const t=this.box;t.isEmpty()||(t.getCenter(this.position),t.getSize(this.scale),this.scale.multiplyScalar(.5),super.updateMatrixWorld(e))}}class yv extends qc{constructor(e,t=1,n=16776960){const r=n,i=new ro;i.setAttribute("position",new Wi([1,-1,1,-1,1,1,-1,-1,1,1,1,1,-1,1,1,-1,-1,1,1,-1,1,1,1,1,0,0,1,0,0,0],3)),i.computeBoundingSphere(),super(i,new Gc({color:r,toneMapped:!1})),this.type="PlaneHelper",this.plane=e,this.size=t;const o=new ro;o.setAttribute("position",new Wi([1,1,1,-1,1,1,-1,-1,1,1,1,1,-1,-1,1,1,-1,1],3)),o.computeBoundingSphere(),this.add(new Mo(o,new Oi({color:r,opacity:.2,transparent:!0,depthWrite:!1,toneMapped:!1})))}updateMatrixWorld(e){let t=-this.plane.constant;Math.abs(t)<1e-8&&(t=1e-8),this.scale.set(.5*this.size,.5*this.size,t),this.children[0].material.side=t<0?p:d,this.lookAt(this.plane.normal),super.updateMatrixWorld(e)}}const gv=new ar;let xv,bv;class wv extends ci{constructor(e=new ar(0,0,1),t=new ar(0,0,0),n=1,r=16776960,i=.2*n,o=.2*i){super(),this.type="ArrowHelper",void 0===xv&&(xv=new ro,xv.setAttribute("position",new Wi([0,0,0,0,1,0],3)),bv=new lu(0,.5,1,5,1),bv.translate(0,-.5,0)),this.position.copy(t),this.line=new qc(xv,new Gc({color:r,toneMapped:!1})),this.line.matrixAutoUpdate=!1,this.add(this.line),this.cone=new Mo(bv,new Oi({color:r,toneMapped:!1})),this.cone.matrixAutoUpdate=!1,this.add(this.cone),this.setDirection(e),this.setLength(n,i,o)}setDirection(e){if(e.y>.99999)this.quaternion.set(0,0,0,1);else if(e.y<-.99999)this.quaternion.set(1,0,0,0);else{gv.set(e.z,0,-e.x).normalize();const t=Math.acos(e.y);this.quaternion.setFromAxisAngle(gv,t)}}setLength(e,t=.2*e,n=.2*t){this.line.scale.set(1,Math.max(1e-4,e-t),1),this.line.updateMatrix(),this.cone.scale.set(n,t,n),this.cone.position.y=e,this.cone.updateMatrix()}setColor(e){this.line.material.color.set(e),this.cone.material.color.set(e)}copy(e){return super.copy(e,!1),this.line.copy(e.line),this.cone.copy(e.cone),this}}class Mv extends Kc{constructor(e=1){const t=[0,0,0,e,0,0,0,0,0,0,e,0,0,0,0,0,0,e],n=new ro;n.setAttribute("position",new Wi(t,3)),n.setAttribute("color",new Wi([1,0,0,1,.6,0,0,1,0,.6,1,0,0,0,1,0,.6,1],3)),super(n,new Gc({vertexColors:!0,toneMapped:!1})),this.type="AxesHelper"}dispose(){this.geometry.dispose(),this.material.dispose()}}const _v=new Float32Array(1),Sv=new Int32Array(_v.buffer);class Pv{static toHalfFloat(e){_v[0]=e;const t=Sv[0];let n=t>>16&32768,r=t>>12&2047;const i=t>>23&255;return i<103?n:i>142?(n|=31744,n|=(255==i?0:1)&&8388607&t,n):i<113?(r|=2048,n|=(r>>114-i)+(r>>113-i&1),n):(n|=i-112<<10|r>>1,n+=1&r,n)}}const Tv=Math.pow(2,8),Rv=[.125,.215,.35,.446,.526,.582],Ev=5+Rv.length,zv={[Kt]:0,[Qt]:1,[$t]:2,[tn]:3,[nn]:4,[rn]:5,[Jt]:6},Lv=new Oi({side:p,depthWrite:!1,depthTest:!1}),Cv=new Mo(new So,Lv),Av=new zf,{_lodPlanes:Ov,_sizeLods:Dv,_sigmas:Iv}=Vv(),kv=new Ai;let Fv=null;const jv=(1+Math.sqrt(5))/2,Uv=1/jv,Bv=[new ar(1,1,1),new ar(-1,1,1),new ar(1,1,-1),new ar(-1,1,-1),new ar(0,jv,Uv),new ar(0,jv,-Uv),new ar(Uv,0,jv),new ar(-Uv,0,jv),new ar(jv,Uv,0),new ar(-jv,Uv,0)];function Gv(e){const t=Math.max(e.r,e.g,e.b),n=Math.min(Math.max(Math.ceil(Math.log2(t)),-128),127);return e.multiplyScalar(Math.pow(2,-n)),(n+128)/255}class Nv{constructor(e){this._renderer=e,this._pingPongRenderTarget=null,this._blurMaterial=function(e){const t=new Float32Array(20),n=new ar(0,1,0);return new ul({name:"SphericalGaussianBlur",defines:{n:20},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:t},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:n},inputEncoding:{value:zv[Kt]},outputEncoding:{value:zv[Kt]}},vertexShader:"\n\n\t\tprecision mediump float;\n\t\tprecision mediump int;\n\n\t\tattribute vec3 position;\n\t\tattribute vec2 uv;\n\t\tattribute float faceIndex;\n\n\t\tvarying vec3 vOutputDirection;\n\n\t\t// RH coordinate system; PMREM face-indexing convention\n\t\tvec3 getDirection( vec2 uv, float face ) {\n\n\t\t\tuv = 2.0 * uv - 1.0;\n\n\t\t\tvec3 direction = vec3( uv, 1.0 );\n\n\t\t\tif ( face == 0.0 ) {\n\n\t\t\t\tdirection = direction.zyx; // ( 1, v, u ) pos x\n\n\t\t\t} else if ( face == 1.0 ) {\n\n\t\t\t\tdirection = direction.xzy;\n\t\t\t\tdirection.xz *= -1.0; // ( -u, 1, -v ) pos y\n\n\t\t\t} else if ( face == 2.0 ) {\n\n\t\t\t\tdirection.x *= -1.0; // ( -u, v, 1 ) pos z\n\n\t\t\t} else if ( face == 3.0 ) {\n\n\t\t\t\tdirection = direction.zyx;\n\t\t\t\tdirection.xz *= -1.0; // ( -1, v, -u ) neg x\n\n\t\t\t} else if ( face == 4.0 ) {\n\n\t\t\t\tdirection = direction.xzy;\n\t\t\t\tdirection.xy *= -1.0; // ( -u, -1, v ) neg y\n\n\t\t\t} else if ( face == 5.0 ) {\n\n\t\t\t\tdirection.z *= -1.0; // ( u, v, -1 ) neg z\n\n\t\t\t}\n\n\t\t\treturn direction;\n\n\t\t}\n\n\t\tvoid main() {\n\n\t\t\tvOutputDirection = getDirection( uv, faceIndex );\n\t\t\tgl_Position = vec4( position, 1.0 );\n\n\t\t}\n\t",fragmentShader:"\n\n\t\t\tprecision mediump float;\n\t\t\tprecision mediump int;\n\n\t\t\tvarying vec3 vOutputDirection;\n\n\t\t\tuniform sampler2D envMap;\n\t\t\tuniform int samples;\n\t\t\tuniform float weights[ n ];\n\t\t\tuniform bool latitudinal;\n\t\t\tuniform float dTheta;\n\t\t\tuniform float mipInt;\n\t\t\tuniform vec3 poleAxis;\n\n\t\t\t\n\n\t\tuniform int inputEncoding;\n\t\tuniform int outputEncoding;\n\n\t\t#include <encodings_pars_fragment>\n\n\t\tvec4 inputTexelToLinear( vec4 value ) {\n\n\t\t\tif ( inputEncoding == 0 ) {\n\n\t\t\t\treturn value;\n\n\t\t\t} else if ( inputEncoding == 1 ) {\n\n\t\t\t\treturn sRGBToLinear( value );\n\n\t\t\t} else if ( inputEncoding == 2 ) {\n\n\t\t\t\treturn RGBEToLinear( value );\n\n\t\t\t} else if ( inputEncoding == 3 ) {\n\n\t\t\t\treturn RGBMToLinear( value, 7.0 );\n\n\t\t\t} else if ( inputEncoding == 4 ) {\n\n\t\t\t\treturn RGBMToLinear( value, 16.0 );\n\n\t\t\t} else if ( inputEncoding == 5 ) {\n\n\t\t\t\treturn RGBDToLinear( value, 256.0 );\n\n\t\t\t} else {\n\n\t\t\t\treturn GammaToLinear( value, 2.2 );\n\n\t\t\t}\n\n\t\t}\n\n\t\tvec4 linearToOutputTexel( vec4 value ) {\n\n\t\t\tif ( outputEncoding == 0 ) {\n\n\t\t\t\treturn value;\n\n\t\t\t} else if ( outputEncoding == 1 ) {\n\n\t\t\t\treturn LinearTosRGB( value );\n\n\t\t\t} else if ( outputEncoding == 2 ) {\n\n\t\t\t\treturn LinearToRGBE( value );\n\n\t\t\t} else if ( outputEncoding == 3 ) {\n\n\t\t\t\treturn LinearToRGBM( value, 7.0 );\n\n\t\t\t} else if ( outputEncoding == 4 ) {\n\n\t\t\t\treturn LinearToRGBM( value, 16.0 );\n\n\t\t\t} else if ( outputEncoding == 5 ) {\n\n\t\t\t\treturn LinearToRGBD( value, 256.0 );\n\n\t\t\t} else {\n\n\t\t\t\treturn LinearToGamma( value, 2.2 );\n\n\t\t\t}\n\n\t\t}\n\n\t\tvec4 envMapTexelToLinear( vec4 color ) {\n\n\t\t\treturn inputTexelToLinear( color );\n\n\t\t}\n\t\n\n\t\t\t#define ENVMAP_TYPE_CUBE_UV\n\t\t\t#include <cube_uv_reflection_fragment>\n\n\t\t\tvec3 getSample( float theta, vec3 axis ) {\n\n\t\t\t\tfloat cosTheta = cos( theta );\n\t\t\t\t// Rodrigues' axis-angle rotation\n\t\t\t\tvec3 sampleDirection = vOutputDirection * cosTheta\n\t\t\t\t\t+ cross( axis, vOutputDirection ) * sin( theta )\n\t\t\t\t\t+ axis * dot( axis, vOutputDirection ) * ( 1.0 - cosTheta );\n\n\t\t\t\treturn bilinearCubeUV( envMap, sampleDirection, mipInt );\n\n\t\t\t}\n\n\t\t\tvoid main() {\n\n\t\t\t\tvec3 axis = latitudinal ? poleAxis : cross( poleAxis, vOutputDirection );\n\n\t\t\t\tif ( all( equal( axis, vec3( 0.0 ) ) ) ) {\n\n\t\t\t\t\taxis = vec3( vOutputDirection.z, 0.0, - vOutputDirection.x );\n\n\t\t\t\t}\n\n\t\t\t\taxis = normalize( axis );\n\n\t\t\t\tgl_FragColor = vec4( 0.0, 0.0, 0.0, 1.0 );\n\t\t\t\tgl_FragColor.rgb += weights[ 0 ] * getSample( 0.0, axis );\n\n\t\t\t\tfor ( int i = 1; i < n; i++ ) {\n\n\t\t\t\t\tif ( i >= samples ) {\n\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t}\n\n\t\t\t\t\tfloat theta = dTheta * float( i );\n\t\t\t\t\tgl_FragColor.rgb += weights[ i ] * getSample( -1.0 * theta, axis );\n\t\t\t\t\tgl_FragColor.rgb += weights[ i ] * getSample( theta, axis );\n\n\t\t\t\t}\n\n\t\t\t\tgl_FragColor = linearToOutputTexel( gl_FragColor );\n\n\t\t\t}\n\t\t",blending:x,depthTest:!1,depthWrite:!1})}(),this._equirectShader=null,this._cubemapShader=null,this._compileMaterial(this._blurMaterial)}fromScene(e,t=0,n=.1,r=100){Fv=this._renderer.getRenderTarget();const i=this._allocateTargets();return this._sceneToCubeUV(e,n,r,i),t>0&&this._blur(i,0,0,t),this._applyPMREM(i),this._cleanup(i),i}fromEquirectangular(e){return this._fromTexture(e)}fromCubemap(e){return this._fromTexture(e)}compileCubemapShader(){null===this._cubemapShader&&(this._cubemapShader=Yv(),this._compileMaterial(this._cubemapShader))}compileEquirectangularShader(){null===this._equirectShader&&(this._equirectShader=qv(),this._compileMaterial(this._equirectShader))}dispose(){this._blurMaterial.dispose(),null!==this._cubemapShader&&this._cubemapShader.dispose(),null!==this._equirectShader&&this._equirectShader.dispose();for(let e=0;e<Ov.length;e++)Ov[e].dispose()}_cleanup(e){this._pingPongRenderTarget.dispose(),this._renderer.setRenderTarget(Fv),e.scissorTest=!1,Zv(e,0,0,e.width,e.height)}_fromTexture(e){Fv=this._renderer.getRenderTarget();const t=this._allocateTargets(e);return this._textureToCubeUV(e,t),this._applyPMREM(t),this._cleanup(t),t}_allocateTargets(e){const t={magFilter:de,minFilter:de,generateMipmaps:!1,type:Se,format:Ge,encoding:Hv(e)?e.encoding:$t,depthBuffer:!1},n=Wv(t);return n.depthBuffer=!e,this._pingPongRenderTarget=Wv(t),n}_compileMaterial(e){const t=new Mo(Ov[0],e);this._renderer.compile(t,Av)}_sceneToCubeUV(e,t,n,r){const i=new Lo(90,1,t,n),o=[1,-1,1,1,1,1],a=[1,1,1,-1,-1,-1],s=this._renderer,c=s.autoClear,u=s.outputEncoding,l=s.toneMapping;s.getClearColor(kv),s.toneMapping=J,s.outputEncoding=Kt,s.autoClear=!1;let f=!1;const h=e.background;if(h){if(h.isColor){Lv.color.copy(h).convertSRGBToLinear(),e.background=null;const t=Gv(Lv.color);Lv.opacity=t,f=!0}}else{Lv.color.copy(kv).convertSRGBToLinear();const e=Gv(Lv.color);Lv.opacity=e,f=!0}for(let t=0;t<6;t++){const n=t%3;0==n?(i.up.set(0,o[t],0),i.lookAt(a[t],0,0)):1==n?(i.up.set(0,0,o[t]),i.lookAt(0,a[t],0)):(i.up.set(0,o[t],0),i.lookAt(0,0,a[t])),Zv(r,n*Tv,t>2?Tv:0,Tv,Tv),s.setRenderTarget(r),f&&s.render(Cv,i),s.render(e,i)}s.toneMapping=l,s.outputEncoding=u,s.autoClear=c}_textureToCubeUV(e,t){const n=this._renderer;e.isCubeTexture?null==this._cubemapShader&&(this._cubemapShader=Yv()):null==this._equirectShader&&(this._equirectShader=qv());const r=e.isCubeTexture?this._cubemapShader:this._equirectShader,i=new Mo(Ov[0],r),o=r.uniforms;o.envMap.value=e,e.isCubeTexture||o.texelSize.value.set(1/e.image.width,1/e.image.height),o.inputEncoding.value=zv[e.encoding],o.outputEncoding.value=zv[t.texture.encoding],Zv(t,0,0,3*Tv,2*Tv),n.setRenderTarget(t),n.render(i,Av)}_applyPMREM(e){const t=this._renderer,n=t.autoClear;t.autoClear=!1;for(let t=1;t<Ev;t++){const n=Math.sqrt(Iv[t]*Iv[t]-Iv[t-1]*Iv[t-1]),r=Bv[(t-1)%Bv.length];this._blur(e,t-1,t,n,r)}t.autoClear=n}_blur(e,t,n,r,i){const o=this._pingPongRenderTarget;this._halfBlur(e,o,t,n,r,"latitudinal",i),this._halfBlur(o,e,n,n,r,"longitudinal",i)}_halfBlur(e,t,n,r,i,o,a){const s=this._renderer,c=this._blurMaterial;"latitudinal"!==o&&"longitudinal"!==o&&console.error("blur direction must be either latitudinal or longitudinal!");const u=new Mo(Ov[r],c),l=c.uniforms,f=Dv[n]-1,h=isFinite(i)?Math.PI/(2*f):2*Math.PI/39,v=i/h,d=isFinite(i)?1+Math.floor(3*v):20;d>20&&console.warn(`sigmaRadians, ${i}, is too large and will clip, as it requested ${d} samples when the maximum is set to 20`);const p=[];let m=0;for(let e=0;e<20;++e){const t=e/v,n=Math.exp(-t*t/2);p.push(n),0==e?m+=n:e<d&&(m+=2*n)}for(let e=0;e<p.length;e++)p[e]=p[e]/m;l.envMap.value=e.texture,l.samples.value=d,l.weights.value=p,l.latitudinal.value="latitudinal"===o,a&&(l.poleAxis.value=a),l.dTheta.value=h,l.mipInt.value=8-n,l.inputEncoding.value=zv[e.texture.encoding],l.outputEncoding.value=zv[e.texture.encoding];const y=Dv[r];Zv(t,3*Math.max(0,Tv-2*y),(0===r?0:2*Tv)+2*y*(r>4?r-8+4:0),3*y,2*y),s.setRenderTarget(t),s.render(u,Av)}}function Hv(e){return void 0!==e&&e.type===Se&&(e.encoding===Kt||e.encoding===Qt||e.encoding===Jt)}function Vv(){const e=[],t=[],n=[];let r=8;for(let i=0;i<Ev;i++){const o=Math.pow(2,r);t.push(o);let a=1/o;i>4?a=Rv[i-8+4-1]:0==i&&(a=0),n.push(a);const s=1/(o-1),c=-s/2,u=1+s/2,l=[c,c,u,c,u,u,c,c,u,u,c,u],f=6,h=6,v=3,d=2,p=1,m=new Float32Array(v*h*f),y=new Float32Array(d*h*f),g=new Float32Array(p*h*f);for(let e=0;e<f;e++){const t=e%3*2/3-1,n=e>2?0:-1,r=[t,n,0,t+2/3,n,0,t+2/3,n+1,0,t,n,0,t+2/3,n+1,0,t,n+1,0];m.set(r,v*h*e),y.set(l,d*h*e);const i=[e,e,e,e,e,e];g.set(i,p*h*e)}const x=new ro;x.setAttribute("position",new ki(m,v)),x.setAttribute("uv",new ki(y,d)),x.setAttribute("faceIndex",new ki(g,p)),e.push(x),r>4&&r--}return{_lodPlanes:e,_sizeLods:t,_sigmas:n}}function Wv(e){const t=new rr(3*Tv,3*Tv,e);return t.texture.mapping=ue,t.texture.name="PMREM.cubeUv",t.scissorTest=!0,t}function Zv(e,t,n,r,i){e.viewport.set(t,n,r,i),e.scissor.set(t,n,r,i)}function qv(){const e=new Xn(1,1);return new ul({name:"EquirectangularToCubeUV",uniforms:{envMap:{value:null},texelSize:{value:e},inputEncoding:{value:zv[Kt]},outputEncoding:{value:zv[Kt]}},vertexShader:"\n\n\t\tprecision mediump float;\n\t\tprecision mediump int;\n\n\t\tattribute vec3 position;\n\t\tattribute vec2 uv;\n\t\tattribute float faceIndex;\n\n\t\tvarying vec3 vOutputDirection;\n\n\t\t// RH coordinate system; PMREM face-indexing convention\n\t\tvec3 getDirection( vec2 uv, float face ) {\n\n\t\t\tuv = 2.0 * uv - 1.0;\n\n\t\t\tvec3 direction = vec3( uv, 1.0 );\n\n\t\t\tif ( face == 0.0 ) {\n\n\t\t\t\tdirection = direction.zyx; // ( 1, v, u ) pos x\n\n\t\t\t} else if ( face == 1.0 ) {\n\n\t\t\t\tdirection = direction.xzy;\n\t\t\t\tdirection.xz *= -1.0; // ( -u, 1, -v ) pos y\n\n\t\t\t} else if ( face == 2.0 ) {\n\n\t\t\t\tdirection.x *= -1.0; // ( -u, v, 1 ) pos z\n\n\t\t\t} else if ( face == 3.0 ) {\n\n\t\t\t\tdirection = direction.zyx;\n\t\t\t\tdirection.xz *= -1.0; // ( -1, v, -u ) neg x\n\n\t\t\t} else if ( face == 4.0 ) {\n\n\t\t\t\tdirection = direction.xzy;\n\t\t\t\tdirection.xy *= -1.0; // ( -u, -1, v ) neg y\n\n\t\t\t} else if ( face == 5.0 ) {\n\n\t\t\t\tdirection.z *= -1.0; // ( u, v, -1 ) neg z\n\n\t\t\t}\n\n\t\t\treturn direction;\n\n\t\t}\n\n\t\tvoid main() {\n\n\t\t\tvOutputDirection = getDirection( uv, faceIndex );\n\t\t\tgl_Position = vec4( position, 1.0 );\n\n\t\t}\n\t",fragmentShader:"\n\n\t\t\tprecision mediump float;\n\t\t\tprecision mediump int;\n\n\t\t\tvarying vec3 vOutputDirection;\n\n\t\t\tuniform sampler2D envMap;\n\t\t\tuniform vec2 texelSize;\n\n\t\t\t\n\n\t\tuniform int inputEncoding;\n\t\tuniform int outputEncoding;\n\n\t\t#include <encodings_pars_fragment>\n\n\t\tvec4 inputTexelToLinear( vec4 value ) {\n\n\t\t\tif ( inputEncoding == 0 ) {\n\n\t\t\t\treturn value;\n\n\t\t\t} else if ( inputEncoding == 1 ) {\n\n\t\t\t\treturn sRGBToLinear( value );\n\n\t\t\t} else if ( inputEncoding == 2 ) {\n\n\t\t\t\treturn RGBEToLinear( value );\n\n\t\t\t} else if ( inputEncoding == 3 ) {\n\n\t\t\t\treturn RGBMToLinear( value, 7.0 );\n\n\t\t\t} else if ( inputEncoding == 4 ) {\n\n\t\t\t\treturn RGBMToLinear( value, 16.0 );\n\n\t\t\t} else if ( inputEncoding == 5 ) {\n\n\t\t\t\treturn RGBDToLinear( value, 256.0 );\n\n\t\t\t} else {\n\n\t\t\t\treturn GammaToLinear( value, 2.2 );\n\n\t\t\t}\n\n\t\t}\n\n\t\tvec4 linearToOutputTexel( vec4 value ) {\n\n\t\t\tif ( outputEncoding == 0 ) {\n\n\t\t\t\treturn value;\n\n\t\t\t} else if ( outputEncoding == 1 ) {\n\n\t\t\t\treturn LinearTosRGB( value );\n\n\t\t\t} else if ( outputEncoding == 2 ) {\n\n\t\t\t\treturn LinearToRGBE( value );\n\n\t\t\t} else if ( outputEncoding == 3 ) {\n\n\t\t\t\treturn LinearToRGBM( value, 7.0 );\n\n\t\t\t} else if ( outputEncoding == 4 ) {\n\n\t\t\t\treturn LinearToRGBM( value, 16.0 );\n\n\t\t\t} else if ( outputEncoding == 5 ) {\n\n\t\t\t\treturn LinearToRGBD( value, 256.0 );\n\n\t\t\t} else {\n\n\t\t\t\treturn LinearToGamma( value, 2.2 );\n\n\t\t\t}\n\n\t\t}\n\n\t\tvec4 envMapTexelToLinear( vec4 color ) {\n\n\t\t\treturn inputTexelToLinear( color );\n\n\t\t}\n\t\n\n\t\t\t#include <common>\n\n\t\t\tvoid main() {\n\n\t\t\t\tgl_FragColor = vec4( 0.0, 0.0, 0.0, 1.0 );\n\n\t\t\t\tvec3 outputDirection = normalize( vOutputDirection );\n\t\t\t\tvec2 uv = equirectUv( outputDirection );\n\n\t\t\t\tvec2 f = fract( uv / texelSize - 0.5 );\n\t\t\t\tuv -= f * texelSize;\n\t\t\t\tvec3 tl = envMapTexelToLinear( texture2D ( envMap, uv ) ).rgb;\n\t\t\t\tuv.x += texelSize.x;\n\t\t\t\tvec3 tr = envMapTexelToLinear( texture2D ( envMap, uv ) ).rgb;\n\t\t\t\tuv.y += texelSize.y;\n\t\t\t\tvec3 br = envMapTexelToLinear( texture2D ( envMap, uv ) ).rgb;\n\t\t\t\tuv.x -= texelSize.x;\n\t\t\t\tvec3 bl = envMapTexelToLinear( texture2D ( envMap, uv ) ).rgb;\n\n\t\t\t\tvec3 tm = mix( tl, tr, f.x );\n\t\t\t\tvec3 bm = mix( bl, br, f.x );\n\t\t\t\tgl_FragColor.rgb = mix( tm, bm, f.y );\n\n\t\t\t\tgl_FragColor = linearToOutputTexel( gl_FragColor );\n\n\t\t\t}\n\t\t",blending:x,depthTest:!1,depthWrite:!1})}function Yv(){return new ul({name:"CubemapToCubeUV",uniforms:{envMap:{value:null},inputEncoding:{value:zv[Kt]},outputEncoding:{value:zv[Kt]}},vertexShader:"\n\n\t\tprecision mediump float;\n\t\tprecision mediump int;\n\n\t\tattribute vec3 position;\n\t\tattribute vec2 uv;\n\t\tattribute float faceIndex;\n\n\t\tvarying vec3 vOutputDirection;\n\n\t\t// RH coordinate system; PMREM face-indexing convention\n\t\tvec3 getDirection( vec2 uv, float face ) {\n\n\t\t\tuv = 2.0 * uv - 1.0;\n\n\t\t\tvec3 direction = vec3( uv, 1.0 );\n\n\t\t\tif ( face == 0.0 ) {\n\n\t\t\t\tdirection = direction.zyx; // ( 1, v, u ) pos x\n\n\t\t\t} else if ( face == 1.0 ) {\n\n\t\t\t\tdirection = direction.xzy;\n\t\t\t\tdirection.xz *= -1.0; // ( -u, 1, -v ) pos y\n\n\t\t\t} else if ( face == 2.0 ) {\n\n\t\t\t\tdirection.x *= -1.0; // ( -u, v, 1 ) pos z\n\n\t\t\t} else if ( face == 3.0 ) {\n\n\t\t\t\tdirection = direction.zyx;\n\t\t\t\tdirection.xz *= -1.0; // ( -1, v, -u ) neg x\n\n\t\t\t} else if ( face == 4.0 ) {\n\n\t\t\t\tdirection = direction.xzy;\n\t\t\t\tdirection.xy *= -1.0; // ( -u, -1, v ) neg y\n\n\t\t\t} else if ( face == 5.0 ) {\n\n\t\t\t\tdirection.z *= -1.0; // ( u, v, -1 ) neg z\n\n\t\t\t}\n\n\t\t\treturn direction;\n\n\t\t}\n\n\t\tvoid main() {\n\n\t\t\tvOutputDirection = getDirection( uv, faceIndex );\n\t\t\tgl_Position = vec4( position, 1.0 );\n\n\t\t}\n\t",fragmentShader:"\n\n\t\t\tprecision mediump float;\n\t\t\tprecision mediump int;\n\n\t\t\tvarying vec3 vOutputDirection;\n\n\t\t\tuniform samplerCube envMap;\n\n\t\t\t\n\n\t\tuniform int inputEncoding;\n\t\tuniform int outputEncoding;\n\n\t\t#include <encodings_pars_fragment>\n\n\t\tvec4 inputTexelToLinear( vec4 value ) {\n\n\t\t\tif ( inputEncoding == 0 ) {\n\n\t\t\t\treturn value;\n\n\t\t\t} else if ( inputEncoding == 1 ) {\n\n\t\t\t\treturn sRGBToLinear( value );\n\n\t\t\t} else if ( inputEncoding == 2 ) {\n\n\t\t\t\treturn RGBEToLinear( value );\n\n\t\t\t} else if ( inputEncoding == 3 ) {\n\n\t\t\t\treturn RGBMToLinear( value, 7.0 );\n\n\t\t\t} else if ( inputEncoding == 4 ) {\n\n\t\t\t\treturn RGBMToLinear( value, 16.0 );\n\n\t\t\t} else if ( inputEncoding == 5 ) {\n\n\t\t\t\treturn RGBDToLinear( value, 256.0 );\n\n\t\t\t} else {\n\n\t\t\t\treturn GammaToLinear( value, 2.2 );\n\n\t\t\t}\n\n\t\t}\n\n\t\tvec4 linearToOutputTexel( vec4 value ) {\n\n\t\t\tif ( outputEncoding == 0 ) {\n\n\t\t\t\treturn value;\n\n\t\t\t} else if ( outputEncoding == 1 ) {\n\n\t\t\t\treturn LinearTosRGB( value );\n\n\t\t\t} else if ( outputEncoding == 2 ) {\n\n\t\t\t\treturn LinearToRGBE( value );\n\n\t\t\t} else if ( outputEncoding == 3 ) {\n\n\t\t\t\treturn LinearToRGBM( value, 7.0 );\n\n\t\t\t} else if ( outputEncoding == 4 ) {\n\n\t\t\t\treturn LinearToRGBM( value, 16.0 );\n\n\t\t\t} else if ( outputEncoding == 5 ) {\n\n\t\t\t\treturn LinearToRGBD( value, 256.0 );\n\n\t\t\t} else {\n\n\t\t\t\treturn LinearToGamma( value, 2.2 );\n\n\t\t\t}\n\n\t\t}\n\n\t\tvec4 envMapTexelToLinear( vec4 color ) {\n\n\t\t\treturn inputTexelToLinear( color );\n\n\t\t}\n\t\n\n\t\t\tvoid main() {\n\n\t\t\t\tgl_FragColor = vec4( 0.0, 0.0, 0.0, 1.0 );\n\t\t\t\tgl_FragColor.rgb = envMapTexelToLinear( textureCube( envMap, vec3( - vOutputDirection.x, vOutputDirection.yz ) ) ).rgb;\n\t\t\t\tgl_FragColor = linearToOutputTexel( gl_FragColor );\n\n\t\t\t}\n\t\t",blending:x,depthTest:!1,depthWrite:!1})}const Xv=0,Kv=1,Qv=0,Jv=1,$v=2;function ed(e){return console.warn("THREE.MeshFaceMaterial has been removed. Use an Array instead."),e}function td(e=[]){return console.warn("THREE.MultiMaterial has been removed. Use an Array instead."),e.isMultiMaterial=!0,e.materials=e,e.clone=function(){return e.slice()},e}function nd(e,t){return console.warn("THREE.PointCloud has been renamed to THREE.Points."),new ru(e,t)}function rd(e){return console.warn("THREE.Particle has been renamed to THREE.Sprite."),new wc(e)}function id(e,t){return console.warn("THREE.ParticleSystem has been renamed to THREE.Points."),new ru(e,t)}function od(e){return console.warn("THREE.PointCloudMaterial has been renamed to THREE.PointsMaterial."),new Jc(e)}function ad(e){return console.warn("THREE.ParticleBasicMaterial has been renamed to THREE.PointsMaterial."),new Jc(e)}function sd(e){return console.warn("THREE.ParticleSystemMaterial has been renamed to THREE.PointsMaterial."),new Jc(e)}function cd(e,t,n){return console.warn("THREE.Vertex has been removed. Use THREE.Vector3 instead."),new ar(e,t,n)}function ud(e,t){return console.warn("THREE.DynamicBufferAttribute has been removed. Use new THREE.BufferAttribute().setUsage( THREE.DynamicDrawUsage ) instead."),new ki(e,t).setUsage(Tn)}function ld(e,t){return console.warn("THREE.Int8Attribute has been removed. Use new THREE.Int8BufferAttribute() instead."),new Fi(e,t)}function fd(e,t){return console.warn("THREE.Uint8Attribute has been removed. Use new THREE.Uint8BufferAttribute() instead."),new ji(e,t)}function hd(e,t){return console.warn("THREE.Uint8ClampedAttribute has been removed. Use new THREE.Uint8ClampedBufferAttribute() instead."),new Ui(e,t)}function vd(e,t){return console.warn("THREE.Int16Attribute has been removed. Use new THREE.Int16BufferAttribute() instead."),new Bi(e,t)}function dd(e,t){return console.warn("THREE.Uint16Attribute has been removed. Use new THREE.Uint16BufferAttribute() instead."),new Gi(e,t)}function pd(e,t){return console.warn("THREE.Int32Attribute has been removed. Use new THREE.Int32BufferAttribute() instead."),new Ni(e,t)}function md(e,t){return console.warn("THREE.Uint32Attribute has been removed. Use new THREE.Uint32BufferAttribute() instead."),new Hi(e,t)}function yd(e,t){return console.warn("THREE.Float32Attribute has been removed. Use new THREE.Float32BufferAttribute() instead."),new Wi(e,t)}function gd(e,t){return console.warn("THREE.Float64Attribute has been removed. Use new THREE.Float64BufferAttribute() instead."),new Zi(e,t)}function xd(e){return console.warn("THREE.AxisHelper has been renamed to THREE.AxesHelper."),new Mv(e)}function bd(e,t){return console.warn("THREE.BoundingBoxHelper has been deprecated. Creating a THREE.BoxHelper instead."),new pv(e,t)}function wd(e,t){return console.warn("THREE.EdgesHelper has been removed. Use THREE.EdgesGeometry instead."),new Kc(new gu(e.geometry),new Gc({color:void 0!==t?t:16777215}))}function Md(e,t){return console.warn("THREE.WireframeHelper has been removed. Use THREE.WireframeGeometry instead."),new Kc(new al(e.geometry),new Gc({color:void 0!==t?t:16777215}))}function _d(e){return console.warn("THREE.XHRLoader has been renamed to THREE.FileLoader."),new Ul(e)}function Sd(e){return console.warn("THREE.BinaryTextureLoader has been renamed to THREE.DataTextureLoader."),new Vl(e)}function Pd(e,t,n){return console.warn("THREE.WebGLRenderTargetCube( width, height, options ) is now WebGLCubeRenderTarget( size, options )."),new Do(e,n)}function Td(){console.error("THREE.CanvasRenderer has been removed")}function Rd(){console.error("THREE.JSONLoader has been removed.")}Zl.create=function(e,t){return console.log("THREE.Curve.create() has been deprecated"),e.prototype=Object.create(Zl.prototype),e.prototype.constructor=e,e.prototype.getPoint=t,e},df.prototype.fromPoints=function(e){return console.warn("THREE.Path: .fromPoints() has been renamed to .setFromPoints()."),this.setFromPoints(e)},iv.prototype.setColors=function(){console.error("THREE.GridHelper: setColors() has been deprecated, pass them in the constructor instead.")},Qh.prototype.update=function(){console.error("THREE.SkeletonHelper: update() no longer needs to be called.")},Fl.prototype.extractUrlBase=function(e){return console.warn("THREE.Loader: .extractUrlBase() has been deprecated. Use THREE.LoaderUtils.extractUrlBase() instead."),Ff.extractUrlBase(e)},Fl.Handlers={add:function(){console.error("THREE.Loader: Handlers.add() has been removed. Use LoadingManager.addHandler() instead.")},get:function(){console.error("THREE.Loader: Handlers.get() has been removed. Use LoadingManager.getHandler() instead.")}},Gh.prototype.center=function(e){return console.warn("THREE.Box2: .center() has been renamed to .getCenter()."),this.getCenter(e)},Gh.prototype.empty=function(){return console.warn("THREE.Box2: .empty() has been renamed to .isEmpty()."),this.isEmpty()},Gh.prototype.isIntersectionBox=function(e){return console.warn("THREE.Box2: .isIntersectionBox() has been renamed to .intersectsBox()."),this.intersectsBox(e)},Gh.prototype.size=function(e){return console.warn("THREE.Box2: .size() has been renamed to .getSize()."),this.getSize(e)},ur.prototype.center=function(e){return console.warn("THREE.Box3: .center() has been renamed to .getCenter()."),this.getCenter(e)},ur.prototype.empty=function(){return console.warn("THREE.Box3: .empty() has been renamed to .isEmpty()."),this.isEmpty()},ur.prototype.isIntersectionBox=function(e){return console.warn("THREE.Box3: .isIntersectionBox() has been renamed to .intersectsBox()."),this.intersectsBox(e)},ur.prototype.isIntersectionSphere=function(e){return console.warn("THREE.Box3: .isIntersectionSphere() has been renamed to .intersectsSphere()."),this.intersectsSphere(e)},ur.prototype.size=function(e){return console.warn("THREE.Box3: .size() has been renamed to .getSize()."),this.getSize(e)},Er.prototype.empty=function(){return console.warn("THREE.Sphere: .empty() has been renamed to .isEmpty()."),this.isEmpty()},jo.prototype.setFromMatrix=function(e){return console.warn("THREE.Frustum: .setFromMatrix() has been renamed to .setFromProjectionMatrix()."),this.setFromProjectionMatrix(e)},Vh.prototype.center=function(e){return console.warn("THREE.Line3: .center() has been renamed to .getCenter()."),this.getCenter(e)},Kn.prototype.flattenToArrayOffset=function(e,t){return console.warn("THREE.Matrix3: .flattenToArrayOffset() has been deprecated. Use .toArray() instead."),this.toArray(e,t)},Kn.prototype.multiplyVector3=function(e){return console.warn("THREE.Matrix3: .multiplyVector3() has been removed. Use vector.applyMatrix3( matrix ) instead."),e.applyMatrix3(this)},Kn.prototype.multiplyVector3Array=function(){console.error("THREE.Matrix3: .multiplyVector3Array() has been removed.")},Kn.prototype.applyToBufferAttribute=function(e){return console.warn("THREE.Matrix3: .applyToBufferAttribute() has been removed. Use attribute.applyMatrix3( matrix ) instead."),e.applyMatrix3(this)},Kn.prototype.applyToVector3Array=function(){console.error("THREE.Matrix3: .applyToVector3Array() has been removed.")},Kn.prototype.getInverse=function(e){return console.warn("THREE.Matrix3: .getInverse() has been removed. Use matrixInv.copy( matrix ).invert(); instead."),this.copy(e).invert()},Fr.prototype.extractPosition=function(e){return console.warn("THREE.Matrix4: .extractPosition() has been renamed to .copyPosition()."),this.copyPosition(e)},Fr.prototype.flattenToArrayOffset=function(e,t){return console.warn("THREE.Matrix4: .flattenToArrayOffset() has been deprecated. Use .toArray() instead."),this.toArray(e,t)},Fr.prototype.getPosition=function(){return console.warn("THREE.Matrix4: .getPosition() has been removed. Use Vector3.setFromMatrixPosition( matrix ) instead."),(new ar).setFromMatrixColumn(this,3)},Fr.prototype.setRotationFromQuaternion=function(e){return console.warn("THREE.Matrix4: .setRotationFromQuaternion() has been renamed to .makeRotationFromQuaternion()."),this.makeRotationFromQuaternion(e)},Fr.prototype.multiplyToArray=function(){console.warn("THREE.Matrix4: .multiplyToArray() has been removed.")},Fr.prototype.multiplyVector3=function(e){return console.warn("THREE.Matrix4: .multiplyVector3() has been removed. Use vector.applyMatrix4( matrix ) instead."),e.applyMatrix4(this)},Fr.prototype.multiplyVector4=function(e){return console.warn("THREE.Matrix4: .multiplyVector4() has been removed. Use vector.applyMatrix4( matrix ) instead."),e.applyMatrix4(this)},Fr.prototype.multiplyVector3Array=function(){console.error("THREE.Matrix4: .multiplyVector3Array() has been removed.")},Fr.prototype.rotateAxis=function(e){console.warn("THREE.Matrix4: .rotateAxis() has been removed. Use Vector3.transformDirection( matrix ) instead."),e.transformDirection(this)},Fr.prototype.crossVector=function(e){return console.warn("THREE.Matrix4: .crossVector() has been removed. Use vector.applyMatrix4( matrix ) instead."),e.applyMatrix4(this)},Fr.prototype.translate=function(){console.error("THREE.Matrix4: .translate() has been removed.")},Fr.prototype.rotateX=function(){console.error("THREE.Matrix4: .rotateX() has been removed.")},Fr.prototype.rotateY=function(){console.error("THREE.Matrix4: .rotateY() has been removed.")},Fr.prototype.rotateZ=function(){console.error("THREE.Matrix4: .rotateZ() has been removed.")},Fr.prototype.rotateByAxis=function(){console.error("THREE.Matrix4: .rotateByAxis() has been removed.")},Fr.prototype.applyToBufferAttribute=function(e){return console.warn("THREE.Matrix4: .applyToBufferAttribute() has been removed. Use attribute.applyMatrix4( matrix ) instead."),e.applyMatrix4(this)},Fr.prototype.applyToVector3Array=function(){console.error("THREE.Matrix4: .applyToVector3Array() has been removed.")},Fr.prototype.makeFrustum=function(e,t,n,r,i,o){return console.warn("THREE.Matrix4: .makeFrustum() has been removed. Use .makePerspective( left, right, top, bottom, near, far ) instead."),this.makePerspective(e,t,r,n,i,o)},Fr.prototype.getInverse=function(e){return console.warn("THREE.Matrix4: .getInverse() has been removed. Use matrixInv.copy( matrix ).invert(); instead."),this.copy(e).invert()},hi.prototype.isIntersectionLine=function(e){return console.warn("THREE.Plane: .isIntersectionLine() has been renamed to .intersectsLine()."),this.intersectsLine(e)},or.prototype.multiplyVector3=function(e){return console.warn("THREE.Quaternion: .multiplyVector3() has been removed. Use is now vector.applyQuaternion( quaternion ) instead."),e.applyQuaternion(this)},or.prototype.inverse=function(){return console.warn("THREE.Quaternion: .inverse() has been renamed to invert()."),this.invert()},kr.prototype.isIntersectionBox=function(e){return console.warn("THREE.Ray: .isIntersectionBox() has been renamed to .intersectsBox()."),this.intersectsBox(e)},kr.prototype.isIntersectionPlane=function(e){return console.warn("THREE.Ray: .isIntersectionPlane() has been renamed to .intersectsPlane()."),this.intersectsPlane(e)},kr.prototype.isIntersectionSphere=function(e){return console.warn("THREE.Ray: .isIntersectionSphere() has been renamed to .intersectsSphere()."),this.intersectsSphere(e)},_i.prototype.area=function(){return console.warn("THREE.Triangle: .area() has been renamed to .getArea()."),this.getArea()},_i.prototype.barycoordFromPoint=function(e,t){return console.warn("THREE.Triangle: .barycoordFromPoint() has been renamed to .getBarycoord()."),this.getBarycoord(e,t)},_i.prototype.midpoint=function(e){return console.warn("THREE.Triangle: .midpoint() has been renamed to .getMidpoint()."),this.getMidpoint(e)},_i.prototypenormal=function(e){return console.warn("THREE.Triangle: .normal() has been renamed to .getNormal()."),this.getNormal(e)},_i.prototype.plane=function(e){return console.warn("THREE.Triangle: .plane() has been renamed to .getPlane()."),this.getPlane(e)},_i.barycoordFromPoint=function(e,t,n,r,i){return console.warn("THREE.Triangle: .barycoordFromPoint() has been renamed to .getBarycoord()."),_i.getBarycoord(e,t,n,r,i)},_i.normal=function(e,t,n,r){return console.warn("THREE.Triangle: .normal() has been renamed to .getNormal()."),_i.getNormal(e,t,n,r)},pf.prototype.extractAllPoints=function(e){return console.warn("THREE.Shape: .extractAllPoints() has been removed. Use .extractPoints() instead."),this.extractPoints(e)},pf.prototype.extrude=function(e){return console.warn("THREE.Shape: .extrude() has been removed. Use ExtrudeGeometry() instead."),new Zu(this,e)},pf.prototype.makeGeometry=function(e){return console.warn("THREE.Shape: .makeGeometry() has been removed. Use ShapeGeometry() instead."),new $u(this,e)},Xn.prototype.fromAttribute=function(e,t,n){return console.warn("THREE.Vector2: .fromAttribute() has been renamed to .fromBufferAttribute()."),this.fromBufferAttribute(e,t,n)},Xn.prototype.distanceToManhattan=function(e){return console.warn("THREE.Vector2: .distanceToManhattan() has been renamed to .manhattanDistanceTo()."),this.manhattanDistanceTo(e)},Xn.prototype.lengthManhattan=function(){return console.warn("THREE.Vector2: .lengthManhattan() has been renamed to .manhattanLength()."),this.manhattanLength()},ar.prototype.setEulerFromRotationMatrix=function(){console.error("THREE.Vector3: .setEulerFromRotationMatrix() has been removed. Use Euler.setFromRotationMatrix() instead.")},ar.prototype.setEulerFromQuaternion=function(){console.error("THREE.Vector3: .setEulerFromQuaternion() has been removed. Use Euler.setFromQuaternion() instead.")},ar.prototype.getPositionFromMatrix=function(e){return console.warn("THREE.Vector3: .getPositionFromMatrix() has been renamed to .setFromMatrixPosition()."),this.setFromMatrixPosition(e)},ar.prototype.getScaleFromMatrix=function(e){return console.warn("THREE.Vector3: .getScaleFromMatrix() has been renamed to .setFromMatrixScale()."),this.setFromMatrixScale(e)},ar.prototype.getColumnFromMatrix=function(e,t){return console.warn("THREE.Vector3: .getColumnFromMatrix() has been renamed to .setFromMatrixColumn()."),this.setFromMatrixColumn(t,e)},ar.prototype.applyProjection=function(e){return console.warn("THREE.Vector3: .applyProjection() has been removed. Use .applyMatrix4( m ) instead."),this.applyMatrix4(e)},ar.prototype.fromAttribute=function(e,t,n){return console.warn("THREE.Vector3: .fromAttribute() has been renamed to .fromBufferAttribute()."),this.fromBufferAttribute(e,t,n)},ar.prototype.distanceToManhattan=function(e){return console.warn("THREE.Vector3: .distanceToManhattan() has been renamed to .manhattanDistanceTo()."),this.manhattanDistanceTo(e)},ar.prototype.lengthManhattan=function(){return console.warn("THREE.Vector3: .lengthManhattan() has been renamed to .manhattanLength()."),this.manhattanLength()},nr.prototype.fromAttribute=function(e,t,n){return console.warn("THREE.Vector4: .fromAttribute() has been renamed to .fromBufferAttribute()."),this.fromBufferAttribute(e,t,n)},nr.prototype.lengthManhattan=function(){return console.warn("THREE.Vector4: .lengthManhattan() has been renamed to .manhattanLength()."),this.manhattanLength()},ci.prototype.getChildByName=function(e){return console.warn("THREE.Object3D: .getChildByName() has been renamed to .getObjectByName()."),this.getObjectByName(e)},ci.prototype.renderDepth=function(){console.warn("THREE.Object3D: .renderDepth has been removed. Use .renderOrder, instead.")},ci.prototype.translate=function(e,t){return console.warn("THREE.Object3D: .translate() has been removed. Use .translateOnAxis( axis, distance ) instead."),this.translateOnAxis(t,e)},ci.prototype.getWorldRotation=function(){console.error("THREE.Object3D: .getWorldRotation() has been removed. Use THREE.Object3D.getWorldQuaternion( target ) instead.")},ci.prototype.applyMatrix=function(e){return console.warn("THREE.Object3D: .applyMatrix() has been renamed to .applyMatrix4()."),this.applyMatrix4(e)},Object.defineProperties(ci.prototype,{eulerOrder:{get:function(){return console.warn("THREE.Object3D: .eulerOrder is now .rotation.order."),this.rotation.order},set:function(e){console.warn("THREE.Object3D: .eulerOrder is now .rotation.order."),this.rotation.order=e}},useQuaternion:{get:function(){console.warn("THREE.Object3D: .useQuaternion has been removed. The library now uses quaternions by default.")},set:function(){console.warn("THREE.Object3D: .useQuaternion has been removed. The library now uses quaternions by default.")}}}),Mo.prototype.setDrawMode=function(){console.error("THREE.Mesh: .setDrawMode() has been removed. The renderer now always assumes THREE.TrianglesDrawMode. Transform your geometry via BufferGeometryUtils.toTrianglesDrawMode() if necessary.")},Object.defineProperties(Mo.prototype,{drawMode:{get:function(){return console.error("THREE.Mesh: .drawMode has been removed. The renderer now always assumes THREE.TrianglesDrawMode."),qt},set:function(){console.error("THREE.Mesh: .drawMode has been removed. The renderer now always assumes THREE.TrianglesDrawMode. Transform your geometry via BufferGeometryUtils.toTrianglesDrawMode() if necessary.")}}}),Cc.prototype.initBones=function(){console.error("THREE.SkinnedMesh: initBones() has been removed.")},Lo.prototype.setLens=function(e,t){console.warn("THREE.PerspectiveCamera.setLens is deprecated. Use .setFocalLength and .filmGauge for a photographic setup."),void 0!==t&&(this.filmGauge=t),this.setFocalLength(e)},Object.defineProperties(mf.prototype,{onlyShadow:{set:function(){console.warn("THREE.Light: .onlyShadow has been removed.")}},shadowCameraFov:{set:function(e){console.warn("THREE.Light: .shadowCameraFov is now .shadow.camera.fov."),this.shadow.camera.fov=e}},shadowCameraLeft:{set:function(e){console.warn("THREE.Light: .shadowCameraLeft is now .shadow.camera.left."),this.shadow.camera.left=e}},shadowCameraRight:{set:function(e){console.warn("THREE.Light: .shadowCameraRight is now .shadow.camera.right."),this.shadow.camera.right=e}},shadowCameraTop:{set:function(e){console.warn("THREE.Light: .shadowCameraTop is now .shadow.camera.top."),this.shadow.camera.top=e}},shadowCameraBottom:{set:function(e){console.warn("THREE.Light: .shadowCameraBottom is now .shadow.camera.bottom."),this.shadow.camera.bottom=e}},shadowCameraNear:{set:function(e){console.warn("THREE.Light: .shadowCameraNear is now .shadow.camera.near."),this.shadow.camera.near=e}},shadowCameraFar:{set:function(e){console.warn("THREE.Light: .shadowCameraFar is now .shadow.camera.far."),this.shadow.camera.far=e}},shadowCameraVisible:{set:function(){console.warn("THREE.Light: .shadowCameraVisible has been removed. Use new THREE.CameraHelper( light.shadow.camera ) instead.")}},shadowBias:{set:function(e){console.warn("THREE.Light: .shadowBias is now .shadow.bias."),this.shadow.bias=e}},shadowDarkness:{set:function(){console.warn("THREE.Light: .shadowDarkness has been removed.")}},shadowMapWidth:{set:function(e){console.warn("THREE.Light: .shadowMapWidth is now .shadow.mapSize.width."),this.shadow.mapSize.width=e}},shadowMapHeight:{set:function(e){console.warn("THREE.Light: .shadowMapHeight is now .shadow.mapSize.height."),this.shadow.mapSize.height=e}}}),Object.defineProperties(ki.prototype,{length:{get:function(){return console.warn("THREE.BufferAttribute: .length has been deprecated. Use .count instead."),this.array.length}},dynamic:{get:function(){return console.warn("THREE.BufferAttribute: .dynamic has been deprecated. Use .usage instead."),this.usage===Tn},set:function(){console.warn("THREE.BufferAttribute: .dynamic has been deprecated. Use .usage instead."),this.setUsage(Tn)}}}),ki.prototype.setDynamic=function(e){return console.warn("THREE.BufferAttribute: .setDynamic() has been deprecated. Use .setUsage() instead."),this.setUsage(!0===e?Tn:Pn),this},ki.prototype.copyIndicesArray=function(){console.error("THREE.BufferAttribute: .copyIndicesArray() has been removed.")},ki.prototype.setArray=function(){console.error("THREE.BufferAttribute: .setArray has been removed. Use BufferGeometry .setAttribute to replace/resize attribute buffers")},ro.prototype.addIndex=function(e){console.warn("THREE.BufferGeometry: .addIndex() has been renamed to .setIndex()."),this.setIndex(e)},ro.prototype.addAttribute=function(e,t){return console.warn("THREE.BufferGeometry: .addAttribute() has been renamed to .setAttribute()."),t&&t.isBufferAttribute||t&&t.isInterleavedBufferAttribute?"index"===e?(console.warn("THREE.BufferGeometry.addAttribute: Use .setIndex() for index attribute."),this.setIndex(t),this):this.setAttribute(e,t):(console.warn("THREE.BufferGeometry: .addAttribute() now expects ( name, attribute )."),this.setAttribute(e,new ki(arguments[1],arguments[2])))},ro.prototype.addDrawCall=function(e,t,n){void 0!==n&&console.warn("THREE.BufferGeometry: .addDrawCall() no longer supports indexOffset."),console.warn("THREE.BufferGeometry: .addDrawCall() is now .addGroup()."),this.addGroup(e,t)},ro.prototype.clearDrawCalls=function(){console.warn("THREE.BufferGeometry: .clearDrawCalls() is now .clearGroups()."),this.clearGroups()},ro.prototype.computeOffsets=function(){console.warn("THREE.BufferGeometry: .computeOffsets() has been removed.")},ro.prototype.removeAttribute=function(e){return console.warn("THREE.BufferGeometry: .removeAttribute() has been renamed to .deleteAttribute()."),this.deleteAttribute(e)},ro.prototype.applyMatrix=function(e){return console.warn("THREE.BufferGeometry: .applyMatrix() has been renamed to .applyMatrix4()."),this.applyMatrix4(e)},Object.defineProperties(ro.prototype,{drawcalls:{get:function(){return console.error("THREE.BufferGeometry: .drawcalls has been renamed to .groups."),this.groups}},offsets:{get:function(){return console.warn("THREE.BufferGeometry: .offsets has been renamed to .groups."),this.groups}}}),ic.prototype.setDynamic=function(e){return console.warn("THREE.InterleavedBuffer: .setDynamic() has been deprecated. Use .setUsage() instead."),this.setUsage(!0===e?Tn:Pn),this},ic.prototype.setArray=function(){console.error("THREE.InterleavedBuffer: .setArray has been removed. Use BufferGeometry .setAttribute to replace/resize attribute buffers")},Zu.prototype.getArrays=function(){console.error("THREE.ExtrudeGeometry: .getArrays() has been removed.")},Zu.prototype.addShapeList=function(){console.error("THREE.ExtrudeGeometry: .addShapeList() has been removed.")},Zu.prototype.addShape=function(){console.error("THREE.ExtrudeGeometry: .addShape() has been removed.")},rc.prototype.dispose=function(){console.error("THREE.Scene: .dispose() has been removed.")},Ah.prototype.onUpdate=function(){return console.warn("THREE.Uniform: .onUpdate() has been removed. Use object.onBeforeRender() instead."),this},Object.defineProperties(Pi.prototype,{wrapAround:{get:function(){console.warn("THREE.Material: .wrapAround has been removed.")},set:function(){console.warn("THREE.Material: .wrapAround has been removed.")}},overdraw:{get:function(){console.warn("THREE.Material: .overdraw has been removed.")},set:function(){console.warn("THREE.Material: .overdraw has been removed.")}},wrapRGB:{get:function(){return console.warn("THREE.Material: .wrapRGB has been removed."),new Ai}},shading:{get:function(){console.error("THREE."+this.type+": .shading has been removed. Use the boolean .flatShading instead.")},set:function(e){console.warn("THREE."+this.type+": .shading has been removed. Use the boolean .flatShading instead."),this.flatShading=e===y}},stencilMask:{get:function(){return console.warn("THREE."+this.type+": .stencilMask has been removed. Use .stencilFuncMask instead."),this.stencilFuncMask},set:function(e){console.warn("THREE."+this.type+": .stencilMask has been removed. Use .stencilFuncMask instead."),this.stencilFuncMask=e}}}),Object.defineProperties(Eo.prototype,{derivatives:{get:function(){return console.warn("THREE.ShaderMaterial: .derivatives has been moved to .extensions.derivatives."),this.extensions.derivatives},set:function(e){console.warn("THREE. ShaderMaterial: .derivatives has been moved to .extensions.derivatives."),this.extensions.derivatives=e}}}),$s.prototype.clearTarget=function(e,t,n,r){console.warn("THREE.WebGLRenderer: .clearTarget() has been deprecated. Use .setRenderTarget() and .clear() instead."),this.setRenderTarget(e),this.clear(t,n,r)},$s.prototype.animate=function(e){console.warn("THREE.WebGLRenderer: .animate() is now .setAnimationLoop()."),this.setAnimationLoop(e)},$s.prototype.getCurrentRenderTarget=function(){return console.warn("THREE.WebGLRenderer: .getCurrentRenderTarget() is now .getRenderTarget()."),this.getRenderTarget()},$s.prototype.getMaxAnisotropy=function(){return console.warn("THREE.WebGLRenderer: .getMaxAnisotropy() is now .capabilities.getMaxAnisotropy()."),this.capabilities.getMaxAnisotropy()},$s.prototype.getPrecision=function(){return console.warn("THREE.WebGLRenderer: .getPrecision() is now .capabilities.precision."),this.capabilities.precision},$s.prototype.resetGLState=function(){return console.warn("THREE.WebGLRenderer: .resetGLState() is now .state.reset()."),this.state.reset()},$s.prototype.supportsFloatTextures=function(){return console.warn("THREE.WebGLRenderer: .supportsFloatTextures() is now .extensions.get( 'OES_texture_float' )."),this.extensions.get("OES_texture_float")},$s.prototype.supportsHalfFloatTextures=function(){return console.warn("THREE.WebGLRenderer: .supportsHalfFloatTextures() is now .extensions.get( 'OES_texture_half_float' )."),this.extensions.get("OES_texture_half_float")},$s.prototype.supportsStandardDerivatives=function(){return console.warn("THREE.WebGLRenderer: .supportsStandardDerivatives() is now .extensions.get( 'OES_standard_derivatives' )."),this.extensions.get("OES_standard_derivatives")},$s.prototype.supportsCompressedTextureS3TC=function(){return console.warn("THREE.WebGLRenderer: .supportsCompressedTextureS3TC() is now .extensions.get( 'WEBGL_compressed_texture_s3tc' )."),this.extensions.get("WEBGL_compressed_texture_s3tc")},$s.prototype.supportsCompressedTexturePVRTC=function(){return console.warn("THREE.WebGLRenderer: .supportsCompressedTexturePVRTC() is now .extensions.get( 'WEBGL_compressed_texture_pvrtc' )."),this.extensions.get("WEBGL_compressed_texture_pvrtc")},$s.prototype.supportsBlendMinMax=function(){return console.warn("THREE.WebGLRenderer: .supportsBlendMinMax() is now .extensions.get( 'EXT_blend_minmax' )."),this.extensions.get("EXT_blend_minmax")},$s.prototype.supportsVertexTextures=function(){return console.warn("THREE.WebGLRenderer: .supportsVertexTextures() is now .capabilities.vertexTextures."),this.capabilities.vertexTextures},$s.prototype.supportsInstancedArrays=function(){return console.warn("THREE.WebGLRenderer: .supportsInstancedArrays() is now .extensions.get( 'ANGLE_instanced_arrays' )."),this.extensions.get("ANGLE_instanced_arrays")},$s.prototype.enableScissorTest=function(e){console.warn("THREE.WebGLRenderer: .enableScissorTest() is now .setScissorTest()."),this.setScissorTest(e)},$s.prototype.initMaterial=function(){console.warn("THREE.WebGLRenderer: .initMaterial() has been removed.")},$s.prototype.addPrePlugin=function(){console.warn("THREE.WebGLRenderer: .addPrePlugin() has been removed.")},$s.prototype.addPostPlugin=function(){console.warn("THREE.WebGLRenderer: .addPostPlugin() has been removed.")},$s.prototype.updateShadowMap=function(){console.warn("THREE.WebGLRenderer: .updateShadowMap() has been removed.")},$s.prototype.setFaceCulling=function(){console.warn("THREE.WebGLRenderer: .setFaceCulling() has been removed.")},$s.prototype.allocTextureUnit=function(){console.warn("THREE.WebGLRenderer: .allocTextureUnit() has been removed.")},$s.prototype.setTexture=function(){console.warn("THREE.WebGLRenderer: .setTexture() has been removed.")},$s.prototype.setTexture2D=function(){console.warn("THREE.WebGLRenderer: .setTexture2D() has been removed.")},$s.prototype.setTextureCube=function(){console.warn("THREE.WebGLRenderer: .setTextureCube() has been removed.")},$s.prototype.getActiveMipMapLevel=function(){return console.warn("THREE.WebGLRenderer: .getActiveMipMapLevel() is now .getActiveMipmapLevel()."),this.getActiveMipmapLevel()},Object.defineProperties($s.prototype,{shadowMapEnabled:{get:function(){return this.shadowMap.enabled},set:function(e){console.warn("THREE.WebGLRenderer: .shadowMapEnabled is now .shadowMap.enabled."),this.shadowMap.enabled=e}},shadowMapType:{get:function(){return this.shadowMap.type},set:function(e){console.warn("THREE.WebGLRenderer: .shadowMapType is now .shadowMap.type."),this.shadowMap.type=e}},shadowMapCullFace:{get:function(){console.warn("THREE.WebGLRenderer: .shadowMapCullFace has been removed. Set Material.shadowSide instead.")},set:function(){console.warn("THREE.WebGLRenderer: .shadowMapCullFace has been removed. Set Material.shadowSide instead.")}},context:{get:function(){return console.warn("THREE.WebGLRenderer: .context has been removed. Use .getContext() instead."),this.getContext()}},vr:{get:function(){return console.warn("THREE.WebGLRenderer: .vr has been renamed to .xr"),this.xr}},gammaInput:{get:function(){return console.warn("THREE.WebGLRenderer: .gammaInput has been removed. Set the encoding for textures via Texture.encoding instead."),!1},set:function(){console.warn("THREE.WebGLRenderer: .gammaInput has been removed. Set the encoding for textures via Texture.encoding instead.")}},gammaOutput:{get:function(){return console.warn("THREE.WebGLRenderer: .gammaOutput has been removed. Set WebGLRenderer.outputEncoding instead."),!1},set:function(e){console.warn("THREE.WebGLRenderer: .gammaOutput has been removed. Set WebGLRenderer.outputEncoding instead."),this.outputEncoding=!0===e?Qt:Kt}},toneMappingWhitePoint:{get:function(){return console.warn("THREE.WebGLRenderer: .toneMappingWhitePoint has been removed."),1},set:function(){console.warn("THREE.WebGLRenderer: .toneMappingWhitePoint has been removed.")}}}),Object.defineProperties(Hs.prototype,{cullFace:{get:function(){console.warn("THREE.WebGLRenderer: .shadowMap.cullFace has been removed. Set Material.shadowSide instead.")},set:function(){console.warn("THREE.WebGLRenderer: .shadowMap.cullFace has been removed. Set Material.shadowSide instead.")}},renderReverseSided:{get:function(){console.warn("THREE.WebGLRenderer: .shadowMap.renderReverseSided has been removed. Set Material.shadowSide instead.")},set:function(){console.warn("THREE.WebGLRenderer: .shadowMap.renderReverseSided has been removed. Set Material.shadowSide instead.")}},renderSingleSided:{get:function(){console.warn("THREE.WebGLRenderer: .shadowMap.renderSingleSided has been removed. Set Material.shadowSide instead.")},set:function(){console.warn("THREE.WebGLRenderer: .shadowMap.renderSingleSided has been removed. Set Material.shadowSide instead.")}}}),Object.defineProperties(rr.prototype,{wrapS:{get:function(){return console.warn("THREE.WebGLRenderTarget: .wrapS is now .texture.wrapS."),this.texture.wrapS},set:function(e){console.warn("THREE.WebGLRenderTarget: .wrapS is now .texture.wrapS."),this.texture.wrapS=e}},wrapT:{get:function(){return console.warn("THREE.WebGLRenderTarget: .wrapT is now .texture.wrapT."),this.texture.wrapT},set:function(e){console.warn("THREE.WebGLRenderTarget: .wrapT is now .texture.wrapT."),this.texture.wrapT=e}},magFilter:{get:function(){return console.warn("THREE.WebGLRenderTarget: .magFilter is now .texture.magFilter."),this.texture.magFilter},set:function(e){console.warn("THREE.WebGLRenderTarget: .magFilter is now .texture.magFilter."),this.texture.magFilter=e}},minFilter:{get:function(){return console.warn("THREE.WebGLRenderTarget: .minFilter is now .texture.minFilter."),this.texture.minFilter},set:function(e){console.warn("THREE.WebGLRenderTarget: .minFilter is now .texture.minFilter."),this.texture.minFilter=e}},anisotropy:{get:function(){return console.warn("THREE.WebGLRenderTarget: .anisotropy is now .texture.anisotropy."),this.texture.anisotropy},set:function(e){console.warn("THREE.WebGLRenderTarget: .anisotropy is now .texture.anisotropy."),this.texture.anisotropy=e}},offset:{get:function(){return console.warn("THREE.WebGLRenderTarget: .offset is now .texture.offset."),this.texture.offset},set:function(e){console.warn("THREE.WebGLRenderTarget: .offset is now .texture.offset."),this.texture.offset=e}},repeat:{get:function(){return console.warn("THREE.WebGLRenderTarget: .repeat is now .texture.repeat."),this.texture.repeat},set:function(e){console.warn("THREE.WebGLRenderTarget: .repeat is now .texture.repeat."),this.texture.repeat=e}},format:{get:function(){return console.warn("THREE.WebGLRenderTarget: .format is now .texture.format."),this.texture.format},set:function(e){console.warn("THREE.WebGLRenderTarget: .format is now .texture.format."),this.texture.format=e}},type:{get:function(){return console.warn("THREE.WebGLRenderTarget: .type is now .texture.type."),this.texture.type},set:function(e){console.warn("THREE.WebGLRenderTarget: .type is now .texture.type."),this.texture.type=e}},generateMipmaps:{get:function(){return console.warn("THREE.WebGLRenderTarget: .generateMipmaps is now .texture.generateMipmaps."),this.texture.generateMipmaps},set:function(e){console.warn("THREE.WebGLRenderTarget: .generateMipmaps is now .texture.generateMipmaps."),this.texture.generateMipmaps=e}}}),fh.prototype.load=function(e){console.warn("THREE.Audio: .load has been deprecated. Use THREE.AudioLoader instead.");const t=this;return(new Jf).load(e,(function(e){t.setBuffer(e)})),this},yh.prototype.getData=function(){return console.warn("THREE.AudioAnalyser: .getData() is now .getFrequencyData()."),this.getFrequencyData()},Ao.prototype.updateCubeMap=function(e,t){return console.warn("THREE.CubeCamera: .updateCubeMap() is now .update()."),this.update(e,t)},Ao.prototype.clear=function(e,t,n,r){return console.warn("THREE.CubeCamera: .clear() is now .renderTarget.clear()."),this.renderTarget.clear(e,t,n,r)},Jn.crossOrigin=void 0,Jn.loadTexture=function(e,t,n,r){console.warn("THREE.ImageUtils.loadTexture has been deprecated. Use THREE.TextureLoader() instead.");const i=new Wl;i.setCrossOrigin(this.crossOrigin);const o=i.load(e,n,void 0,r);return t&&(o.mapping=t),o},Jn.loadTextureCube=function(e,t,n,r){console.warn("THREE.ImageUtils.loadTextureCube has been deprecated. Use THREE.CubeTextureLoader() instead.");const i=new Hl;i.setCrossOrigin(this.crossOrigin);const o=i.load(e,n,void 0,r);return t&&(o.mapping=t),o},Jn.loadCompressedTexture=function(){console.error("THREE.ImageUtils.loadCompressedTexture has been removed. Use THREE.DDSLoader instead.")},Jn.loadCompressedTextureCube=function(){console.error("THREE.ImageUtils.loadCompressedTextureCube has been removed. Use THREE.DDSLoader instead.")};const Ed={createMultiMaterialObject:function(){console.error("THREE.SceneUtils has been moved to /examples/jsm/utils/SceneUtils.js")},detach:function(){console.error("THREE.SceneUtils has been moved to /examples/jsm/utils/SceneUtils.js")},attach:function(){console.error("THREE.SceneUtils has been moved to /examples/jsm/utils/SceneUtils.js")}};function zd(){console.error("THREE.LensFlare has been moved to /examples/jsm/objects/Lensflare.js")}"undefined"!=typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("register",{detail:{revision:r}})),"undefined"!=typeof window&&(window.__THREE__?console.warn("WARNING: Multiple instances of Three.js being imported."):window.__THREE__=r)},52886:function(e,t,n){"use strict";n.d(t,{z:function(){return s}});var r=n(2212);const i={type:"change"},o={type:"start"},a={type:"end"};class s extends r.EventDispatcher{constructor(e,t){super(),void 0===t&&console.warn('THREE.OrbitControls: The second parameter "domElement" is now mandatory.'),t===document&&console.error('THREE.OrbitControls: "document" should not be used as the target "domElement". Please use "renderer.domElement" instead.'),this.object=e,this.domElement=t,this.enabled=!0,this.target=new r.Vector3,this.minDistance=0,this.maxDistance=1/0,this.minZoom=0,this.maxZoom=1/0,this.minPolarAngle=0,this.maxPolarAngle=Math.PI,this.minAzimuthAngle=-1/0,this.maxAzimuthAngle=1/0,this.enableDamping=!1,this.dampingFactor=.05,this.enableZoom=!0,this.zoomSpeed=1,this.enableRotate=!0,this.rotateSpeed=1,this.enablePan=!0,this.panSpeed=1,this.screenSpacePanning=!0,this.keyPanSpeed=7,this.autoRotate=!1,this.autoRotateSpeed=2,this.keys={LEFT:"ArrowLeft",UP:"ArrowUp",RIGHT:"ArrowRight",BOTTOM:"ArrowDown"},this.mouseButtons={LEFT:r.MOUSE.ROTATE,MIDDLE:r.MOUSE.DOLLY,RIGHT:r.MOUSE.PAN},this.touches={ONE:r.TOUCH.ROTATE,TWO:r.TOUCH.DOLLY_PAN},this.target0=this.target.clone(),this.position0=this.object.position.clone(),this.zoom0=this.object.zoom,this._domElementKeyEvents=null,this.getPolarAngle=function(){return l.phi},this.getAzimuthalAngle=function(){return l.theta},this.listenToKeyEvents=function(e){e.addEventListener("keydown",V),this._domElementKeyEvents=e},this.saveState=function(){n.target0.copy(n.target),n.position0.copy(n.object.position),n.zoom0=n.object.zoom},this.reset=function(){n.target.copy(n.target0),n.object.position.copy(n.position0),n.object.zoom=n.zoom0,n.object.updateProjectionMatrix(),n.dispatchEvent(i),n.update(),c=s.NONE},this.update=function(){const t=new r.Vector3,o=(new r.Quaternion).setFromUnitVectors(e.up,new r.Vector3(0,1,0)),a=o.clone().invert(),p=new r.Vector3,m=new r.Quaternion,y=2*Math.PI;return function(){const e=n.object.position;t.copy(e).sub(n.target),t.applyQuaternion(o),l.setFromVector3(t),n.autoRotate&&c===s.NONE&&P(2*Math.PI/60/60*n.autoRotateSpeed),n.enableDamping?(l.theta+=f.theta*n.dampingFactor,l.phi+=f.phi*n.dampingFactor):(l.theta+=f.theta,l.phi+=f.phi);let r=n.minAzimuthAngle,g=n.maxAzimuthAngle;return isFinite(r)&&isFinite(g)&&(r<-Math.PI?r+=y:r>Math.PI&&(r-=y),g<-Math.PI?g+=y:g>Math.PI&&(g-=y),l.theta=r<=g?Math.max(r,Math.min(g,l.theta)):l.theta>(r+g)/2?Math.max(r,l.theta):Math.min(g,l.theta)),l.phi=Math.max(n.minPolarAngle,Math.min(n.maxPolarAngle,l.phi)),l.makeSafe(),l.radius*=h,l.radius=Math.max(n.minDistance,Math.min(n.maxDistance,l.radius)),!0===n.enableDamping?n.target.addScaledVector(v,n.dampingFactor):n.target.add(v),t.setFromSpherical(l),t.applyQuaternion(a),e.copy(n.target).add(t),n.object.lookAt(n.target),!0===n.enableDamping?(f.theta*=1-n.dampingFactor,f.phi*=1-n.dampingFactor,v.multiplyScalar(1-n.dampingFactor)):(f.set(0,0,0),v.set(0,0,0)),h=1,!!(d||p.distanceToSquared(n.object.position)>u||8*(1-m.dot(n.object.quaternion))>u)&&(n.dispatchEvent(i),p.copy(n.object.position),m.copy(n.object.quaternion),d=!1,!0)}}(),this.dispose=function(){n.domElement.removeEventListener("contextmenu",Y),n.domElement.removeEventListener("pointerdown",B),n.domElement.removeEventListener("wheel",H),n.domElement.removeEventListener("touchstart",W),n.domElement.removeEventListener("touchend",q),n.domElement.removeEventListener("touchmove",Z),n.domElement.ownerDocument.removeEventListener("pointermove",G),n.domElement.ownerDocument.removeEventListener("pointerup",N),null!==n._domElementKeyEvents&&n._domElementKeyEvents.removeEventListener("keydown",V)};const n=this,s={NONE:-1,ROTATE:0,DOLLY:1,PAN:2,TOUCH_ROTATE:3,TOUCH_PAN:4,TOUCH_DOLLY_PAN:5,TOUCH_DOLLY_ROTATE:6};let c=s.NONE;const u=1e-6,l=new r.Spherical,f=new r.Spherical;let h=1;const v=new r.Vector3;let d=!1;const p=new r.Vector2,m=new r.Vector2,y=new r.Vector2,g=new r.Vector2,x=new r.Vector2,b=new r.Vector2,w=new r.Vector2,M=new r.Vector2,_=new r.Vector2;function S(){return Math.pow(.95,n.zoomSpeed)}function P(e){f.theta-=e}function T(e){f.phi-=e}const R=function(){const e=new r.Vector3;return function(t,n){e.setFromMatrixColumn(n,0),e.multiplyScalar(-t),v.add(e)}}(),E=function(){const e=new r.Vector3;return function(t,r){!0===n.screenSpacePanning?e.setFromMatrixColumn(r,1):(e.setFromMatrixColumn(r,0),e.crossVectors(n.object.up,e)),e.multiplyScalar(t),v.add(e)}}(),z=function(){const e=new r.Vector3;return function(t,r){const i=n.domElement;if(n.object.isPerspectiveCamera){const o=n.object.position;e.copy(o).sub(n.target);let a=e.length();a*=Math.tan(n.object.fov/2*Math.PI/180),R(2*t*a/i.clientHeight,n.object.matrix),E(2*r*a/i.clientHeight,n.object.matrix)}else n.object.isOrthographicCamera?(R(t*(n.object.right-n.object.left)/n.object.zoom/i.clientWidth,n.object.matrix),E(r*(n.object.top-n.object.bottom)/n.object.zoom/i.clientHeight,n.object.matrix)):(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - pan disabled."),n.enablePan=!1)}}();function L(e){n.object.isPerspectiveCamera?h/=e:n.object.isOrthographicCamera?(n.object.zoom=Math.max(n.minZoom,Math.min(n.maxZoom,n.object.zoom*e)),n.object.updateProjectionMatrix(),d=!0):(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled."),n.enableZoom=!1)}function C(e){n.object.isPerspectiveCamera?h*=e:n.object.isOrthographicCamera?(n.object.zoom=Math.max(n.minZoom,Math.min(n.maxZoom,n.object.zoom/e)),n.object.updateProjectionMatrix(),d=!0):(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled."),n.enableZoom=!1)}function A(e){p.set(e.clientX,e.clientY)}function O(e){g.set(e.clientX,e.clientY)}function D(e){if(1==e.touches.length)p.set(e.touches[0].pageX,e.touches[0].pageY);else{const t=.5*(e.touches[0].pageX+e.touches[1].pageX),n=.5*(e.touches[0].pageY+e.touches[1].pageY);p.set(t,n)}}function I(e){if(1==e.touches.length)g.set(e.touches[0].pageX,e.touches[0].pageY);else{const t=.5*(e.touches[0].pageX+e.touches[1].pageX),n=.5*(e.touches[0].pageY+e.touches[1].pageY);g.set(t,n)}}function k(e){const t=e.touches[0].pageX-e.touches[1].pageX,n=e.touches[0].pageY-e.touches[1].pageY,r=Math.sqrt(t*t+n*n);w.set(0,r)}function F(e){if(1==e.touches.length)m.set(e.touches[0].pageX,e.touches[0].pageY);else{const t=.5*(e.touches[0].pageX+e.touches[1].pageX),n=.5*(e.touches[0].pageY+e.touches[1].pageY);m.set(t,n)}y.subVectors(m,p).multiplyScalar(n.rotateSpeed);const t=n.domElement;P(2*Math.PI*y.x/t.clientHeight),T(2*Math.PI*y.y/t.clientHeight),p.copy(m)}function j(e){if(1==e.touches.length)x.set(e.touches[0].pageX,e.touches[0].pageY);else{const t=.5*(e.touches[0].pageX+e.touches[1].pageX),n=.5*(e.touches[0].pageY+e.touches[1].pageY);x.set(t,n)}b.subVectors(x,g).multiplyScalar(n.panSpeed),z(b.x,b.y),g.copy(x)}function U(e){const t=e.touches[0].pageX-e.touches[1].pageX,r=e.touches[0].pageY-e.touches[1].pageY,i=Math.sqrt(t*t+r*r);M.set(0,i),_.set(0,Math.pow(M.y/w.y,n.zoomSpeed)),L(_.y),w.copy(M)}function B(e){if(!1!==n.enabled)switch(e.pointerType){case"mouse":case"pen":!function(e){let t;switch(e.preventDefault(),n.domElement.focus?n.domElement.focus():window.focus(),e.button){case 0:t=n.mouseButtons.LEFT;break;case 1:t=n.mouseButtons.MIDDLE;break;case 2:t=n.mouseButtons.RIGHT;break;default:t=-1}switch(t){case r.MOUSE.DOLLY:if(!1===n.enableZoom)return;!function(e){w.set(e.clientX,e.clientY)}(e),c=s.DOLLY;break;case r.MOUSE.ROTATE:if(e.ctrlKey||e.metaKey||e.shiftKey){if(!1===n.enablePan)return;O(e),c=s.PAN}else{if(!1===n.enableRotate)return;A(e),c=s.ROTATE}break;case r.MOUSE.PAN:if(e.ctrlKey||e.metaKey||e.shiftKey){if(!1===n.enableRotate)return;A(e),c=s.ROTATE}else{if(!1===n.enablePan)return;O(e),c=s.PAN}break;default:c=s.NONE}c!==s.NONE&&(n.domElement.ownerDocument.addEventListener("pointermove",G),n.domElement.ownerDocument.addEventListener("pointerup",N),n.dispatchEvent(o))}(e)}}function G(e){if(!1!==n.enabled)switch(e.pointerType){case"mouse":case"pen":!function(e){if(!1!==n.enabled)switch(e.preventDefault(),c){case s.ROTATE:if(!1===n.enableRotate)return;!function(e){m.set(e.clientX,e.clientY),y.subVectors(m,p).multiplyScalar(n.rotateSpeed);const t=n.domElement;P(2*Math.PI*y.x/t.clientHeight),T(2*Math.PI*y.y/t.clientHeight),p.copy(m),n.update()}(e);break;case s.DOLLY:if(!1===n.enableZoom)return;!function(e){M.set(e.clientX,e.clientY),_.subVectors(M,w),_.y>0?L(S()):_.y<0&&C(S()),w.copy(M),n.update()}(e);break;case s.PAN:if(!1===n.enablePan)return;!function(e){x.set(e.clientX,e.clientY),b.subVectors(x,g).multiplyScalar(n.panSpeed),z(b.x,b.y),g.copy(x),n.update()}(e)}}(e)}}function N(e){switch(e.pointerType){case"mouse":case"pen":n.domElement.ownerDocument.removeEventListener("pointermove",G),n.domElement.ownerDocument.removeEventListener("pointerup",N),!1!==n.enabled&&(n.dispatchEvent(a),c=s.NONE)}}function H(e){!1===n.enabled||!1===n.enableZoom||c!==s.NONE&&c!==s.ROTATE||(e.preventDefault(),n.dispatchEvent(o),function(e){e.deltaY<0?C(S()):e.deltaY>0&&L(S()),n.update()}(e),n.dispatchEvent(a))}function V(e){!1!==n.enabled&&!1!==n.enablePan&&function(e){let t=!1;switch(e.code){case n.keys.UP:z(0,n.keyPanSpeed),t=!0;break;case n.keys.BOTTOM:z(0,-n.keyPanSpeed),t=!0;break;case n.keys.LEFT:z(n.keyPanSpeed,0),t=!0;break;case n.keys.RIGHT:z(-n.keyPanSpeed,0),t=!0}t&&(e.preventDefault(),n.update())}(e)}function W(e){if(!1!==n.enabled){switch(e.preventDefault(),e.touches.length){case 1:switch(n.touches.ONE){case r.TOUCH.ROTATE:if(!1===n.enableRotate)return;D(e),c=s.TOUCH_ROTATE;break;case r.TOUCH.PAN:if(!1===n.enablePan)return;I(e),c=s.TOUCH_PAN;break;default:c=s.NONE}break;case 2:switch(n.touches.TWO){case r.TOUCH.DOLLY_PAN:if(!1===n.enableZoom&&!1===n.enablePan)return;!function(e){n.enableZoom&&k(e),n.enablePan&&I(e)}(e),c=s.TOUCH_DOLLY_PAN;break;case r.TOUCH.DOLLY_ROTATE:if(!1===n.enableZoom&&!1===n.enableRotate)return;!function(e){n.enableZoom&&k(e),n.enableRotate&&D(e)}(e),c=s.TOUCH_DOLLY_ROTATE;break;default:c=s.NONE}break;default:c=s.NONE}c!==s.NONE&&n.dispatchEvent(o)}}function Z(e){if(!1!==n.enabled)switch(e.preventDefault(),c){case s.TOUCH_ROTATE:if(!1===n.enableRotate)return;F(e),n.update();break;case s.TOUCH_PAN:if(!1===n.enablePan)return;j(e),n.update();break;case s.TOUCH_DOLLY_PAN:if(!1===n.enableZoom&&!1===n.enablePan)return;!function(e){n.enableZoom&&U(e),n.enablePan&&j(e)}(e),n.update();break;case s.TOUCH_DOLLY_ROTATE:if(!1===n.enableZoom&&!1===n.enableRotate)return;!function(e){n.enableZoom&&U(e),n.enableRotate&&F(e)}(e),n.update();break;default:c=s.NONE}}function q(e){!1!==n.enabled&&(n.dispatchEvent(a),c=s.NONE)}function Y(e){!1!==n.enabled&&e.preventDefault()}n.domElement.addEventListener("contextmenu",Y),n.domElement.addEventListener("pointerdown",B),n.domElement.addEventListener("wheel",H,{passive:!1}),n.domElement.addEventListener("touchstart",W,{passive:!1}),n.domElement.addEventListener("touchend",q),n.domElement.addEventListener("touchmove",Z,{passive:!1}),this.update()}}},48840:function(e,t,n){"use strict";n.d(t,{L:function(){return d}});var r=n(2212);const i=/^[og]\s*(.+)?/,o=/^mtllib /,a=/^usemtl /,s=/^usemap /,c=new r.Vector3,u=new r.Vector3,l=new r.Vector3,f=new r.Vector3,h=new r.Vector3;function v(){const e={objects:[],object:{},vertices:[],normals:[],colors:[],uvs:[],materials:{},materialLibraries:[],startObject:function(e,t){if(this.object&&!1===this.object.fromDeclaration)return this.object.name=e,void(this.object.fromDeclaration=!1!==t);const n=this.object&&"function"==typeof this.object.currentMaterial?this.object.currentMaterial():void 0;if(this.object&&"function"==typeof this.object._finalize&&this.object._finalize(!0),this.object={name:e||"",fromDeclaration:!1!==t,geometry:{vertices:[],normals:[],colors:[],uvs:[],hasUVIndices:!1},materials:[],smooth:!0,startMaterial:function(e,t){const n=this._finalize(!1);n&&(n.inherited||n.groupCount<=0)&&this.materials.splice(n.index,1);const r={index:this.materials.length,name:e||"",mtllib:Array.isArray(t)&&t.length>0?t[t.length-1]:"",smooth:void 0!==n?n.smooth:this.smooth,groupStart:void 0!==n?n.groupEnd:0,groupEnd:-1,groupCount:-1,inherited:!1,clone:function(e){const t={index:"number"==typeof e?e:this.index,name:this.name,mtllib:this.mtllib,smooth:this.smooth,groupStart:0,groupEnd:-1,groupCount:-1,inherited:!1};return t.clone=this.clone.bind(t),t}};return this.materials.push(r),r},currentMaterial:function(){if(this.materials.length>0)return this.materials[this.materials.length-1]},_finalize:function(e){const t=this.currentMaterial();if(t&&-1===t.groupEnd&&(t.groupEnd=this.geometry.vertices.length/3,t.groupCount=t.groupEnd-t.groupStart,t.inherited=!1),e&&this.materials.length>1)for(let e=this.materials.length-1;e>=0;e--)this.materials[e].groupCount<=0&&this.materials.splice(e,1);return e&&0===this.materials.length&&this.materials.push({name:"",smooth:this.smooth}),t}},n&&n.name&&"function"==typeof n.clone){const e=n.clone(0);e.inherited=!0,this.object.materials.push(e)}this.objects.push(this.object)},finalize:function(){this.object&&"function"==typeof this.object._finalize&&this.object._finalize(!0)},parseVertexIndex:function(e,t){const n=parseInt(e,10);return 3*(n>=0?n-1:n+t/3)},parseNormalIndex:function(e,t){const n=parseInt(e,10);return 3*(n>=0?n-1:n+t/3)},parseUVIndex:function(e,t){const n=parseInt(e,10);return 2*(n>=0?n-1:n+t/2)},addVertex:function(e,t,n){const r=this.vertices,i=this.object.geometry.vertices;i.push(r[e+0],r[e+1],r[e+2]),i.push(r[t+0],r[t+1],r[t+2]),i.push(r[n+0],r[n+1],r[n+2])},addVertexPoint:function(e){const t=this.vertices;this.object.geometry.vertices.push(t[e+0],t[e+1],t[e+2])},addVertexLine:function(e){const t=this.vertices;this.object.geometry.vertices.push(t[e+0],t[e+1],t[e+2])},addNormal:function(e,t,n){const r=this.normals,i=this.object.geometry.normals;i.push(r[e+0],r[e+1],r[e+2]),i.push(r[t+0],r[t+1],r[t+2]),i.push(r[n+0],r[n+1],r[n+2])},addFaceNormal:function(e,t,n){const r=this.vertices,i=this.object.geometry.normals;c.fromArray(r,e),u.fromArray(r,t),l.fromArray(r,n),h.subVectors(l,u),f.subVectors(c,u),h.cross(f),h.normalize(),i.push(h.x,h.y,h.z),i.push(h.x,h.y,h.z),i.push(h.x,h.y,h.z)},addColor:function(e,t,n){const r=this.colors,i=this.object.geometry.colors;void 0!==r[e]&&i.push(r[e+0],r[e+1],r[e+2]),void 0!==r[t]&&i.push(r[t+0],r[t+1],r[t+2]),void 0!==r[n]&&i.push(r[n+0],r[n+1],r[n+2])},addUV:function(e,t,n){const r=this.uvs,i=this.object.geometry.uvs;i.push(r[e+0],r[e+1]),i.push(r[t+0],r[t+1]),i.push(r[n+0],r[n+1])},addDefaultUV:function(){const e=this.object.geometry.uvs;e.push(0,0),e.push(0,0),e.push(0,0)},addUVLine:function(e){const t=this.uvs;this.object.geometry.uvs.push(t[e+0],t[e+1])},addFace:function(e,t,n,r,i,o,a,s,c){const u=this.vertices.length;let l=this.parseVertexIndex(e,u),f=this.parseVertexIndex(t,u),h=this.parseVertexIndex(n,u);if(this.addVertex(l,f,h),this.addColor(l,f,h),void 0!==a&&""!==a){const e=this.normals.length;l=this.parseNormalIndex(a,e),f=this.parseNormalIndex(s,e),h=this.parseNormalIndex(c,e),this.addNormal(l,f,h)}else this.addFaceNormal(l,f,h);if(void 0!==r&&""!==r){const e=this.uvs.length;l=this.parseUVIndex(r,e),f=this.parseUVIndex(i,e),h=this.parseUVIndex(o,e),this.addUV(l,f,h),this.object.geometry.hasUVIndices=!0}else this.addDefaultUV()},addPointGeometry:function(e){this.object.geometry.type="Points";const t=this.vertices.length;for(let n=0,r=e.length;n<r;n++){const r=this.parseVertexIndex(e[n],t);this.addVertexPoint(r),this.addColor(r)}},addLineGeometry:function(e,t){this.object.geometry.type="Line";const n=this.vertices.length,r=this.uvs.length;for(let t=0,r=e.length;t<r;t++)this.addVertexLine(this.parseVertexIndex(e[t],n));for(let e=0,n=t.length;e<n;e++)this.addUVLine(this.parseUVIndex(t[e],r))}};return e.startObject("",!1),e}class d extends r.Loader{constructor(e){super(e),this.materials=null}load(e,t,n,i){const o=this,a=new r.FileLoader(this.manager);a.setPath(this.path),a.setRequestHeader(this.requestHeader),a.setWithCredentials(this.withCredentials),a.load(e,(function(n){try{t(o.parse(n))}catch(t){i?i(t):console.error(t),o.manager.itemError(e)}}),n,i)}setMaterials(e){return this.materials=e,this}parse(e){const t=new v;-1!==e.indexOf("\r\n")&&(e=e.replace(/\r\n/g,"\n")),-1!==e.indexOf("\\\n")&&(e=e.replace(/\\\n/g,""));const n=e.split("\n");let c="",u="",l=0,f=[];const h="function"==typeof"".trimLeft;for(let e=0,r=n.length;e<r;e++)if(c=n[e],c=h?c.trimLeft():c.trim(),l=c.length,0!==l&&(u=c.charAt(0),"#"!==u))if("v"===u){const e=c.split(/\s+/);switch(e[0]){case"v":t.vertices.push(parseFloat(e[1]),parseFloat(e[2]),parseFloat(e[3])),e.length>=7?t.colors.push(parseFloat(e[4]),parseFloat(e[5]),parseFloat(e[6])):t.colors.push(void 0,void 0,void 0);break;case"vn":t.normals.push(parseFloat(e[1]),parseFloat(e[2]),parseFloat(e[3]));break;case"vt":t.uvs.push(parseFloat(e[1]),parseFloat(e[2]))}}else if("f"===u){const e=c.substr(1).trim().split(/\s+/),n=[];for(let t=0,r=e.length;t<r;t++){const r=e[t];if(r.length>0){const e=r.split("/");n.push(e)}}const r=n[0];for(let e=1,i=n.length-1;e<i;e++){const i=n[e],o=n[e+1];t.addFace(r[0],i[0],o[0],r[1],i[1],o[1],r[2],i[2],o[2])}}else if("l"===u){const e=c.substring(1).trim().split(" ");let n=[];const r=[];if(-1===c.indexOf("/"))n=e;else for(let t=0,i=e.length;t<i;t++){const i=e[t].split("/");""!==i[0]&&n.push(i[0]),""!==i[1]&&r.push(i[1])}t.addLineGeometry(n,r)}else if("p"===u){const e=c.substr(1).trim().split(" ");t.addPointGeometry(e)}else if(null!==(f=i.exec(c))){const e=(" "+f[0].substr(1).trim()).substr(1);t.startObject(e)}else if(a.test(c))t.object.startMaterial(c.substring(7).trim(),t.materialLibraries);else if(o.test(c))t.materialLibraries.push(c.substring(7).trim());else if(s.test(c))console.warn('THREE.OBJLoader: Rendering identifier "usemap" not supported. Textures must be defined in MTL files.');else if("s"===u){if(f=c.split(" "),f.length>1){const e=f[1].trim().toLowerCase();t.object.smooth="0"!==e&&"off"!==e}else t.object.smooth=!0;const e=t.object.currentMaterial();e&&(e.smooth=t.object.smooth)}else{if("\0"===c)continue;console.warn('THREE.OBJLoader: Unexpected line: "'+c+'"')}t.finalize();const d=new r.Group;if(d.materialLibraries=[].concat(t.materialLibraries),!0==!(1===t.objects.length&&0===t.objects[0].geometry.vertices.length))for(let e=0,n=t.objects.length;e<n;e++){const n=t.objects[e],i=n.geometry,o=n.materials,a="Line"===i.type,s="Points"===i.type;let c=!1;if(0===i.vertices.length)continue;const u=new r.BufferGeometry;u.setAttribute("position",new r.Float32BufferAttribute(i.vertices,3)),i.normals.length>0&&u.setAttribute("normal",new r.Float32BufferAttribute(i.normals,3)),i.colors.length>0&&(c=!0,u.setAttribute("color",new r.Float32BufferAttribute(i.colors,3))),!0===i.hasUVIndices&&u.setAttribute("uv",new r.Float32BufferAttribute(i.uvs,2));const l=[];for(let e=0,n=o.length;e<n;e++){const n=o[e],i=n.name+"_"+n.smooth+"_"+c;let u=t.materials[i];if(null!==this.materials)if(u=this.materials.create(n.name),!a||!u||u instanceof r.LineBasicMaterial){if(s&&u&&!(u instanceof r.PointsMaterial)){const e=new r.PointsMaterial({size:10,sizeAttenuation:!1});r.Material.prototype.copy.call(e,u),e.color.copy(u.color),e.map=u.map,u=e}}else{const e=new r.LineBasicMaterial;r.Material.prototype.copy.call(e,u),e.color.copy(u.color),u=e}void 0===u&&(u=a?new r.LineBasicMaterial:s?new r.PointsMaterial({size:1,sizeAttenuation:!1}):new r.MeshPhongMaterial,u.name=n.name,u.flatShading=!n.smooth,u.vertexColors=c,t.materials[i]=u),l.push(u)}let f;if(l.length>1){for(let e=0,t=o.length;e<t;e++){const t=o[e];u.addGroup(t.groupStart,t.groupCount,e)}f=a?new r.LineSegments(u,l):s?new r.Points(u,l):new r.Mesh(u,l)}else f=a?new r.LineSegments(u,l[0]):s?new r.Points(u,l[0]):new r.Mesh(u,l[0]);f.name=n.name,d.add(f)}else if(t.vertices.length>0){const e=new r.PointsMaterial({size:1,sizeAttenuation:!1}),n=new r.BufferGeometry;n.setAttribute("position",new r.Float32BufferAttribute(t.vertices,3)),t.colors.length>0&&void 0!==t.colors[0]&&(n.setAttribute("color",new r.Float32BufferAttribute(t.colors,3)),e.vertexColors=!0);const i=new r.Points(n,e);d.add(i)}return d}}},42238:function(e,t,n){var r;!function(i,o){"use strict";var a="function",s="undefined",c="object",u="string",l="model",f="name",h="type",v="vendor",d="version",p="architecture",m="console",y="mobile",g="tablet",x="smarttv",b="wearable",w={extend:function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},has:function(e,t){return typeof e===u&&-1!==t.toLowerCase().indexOf(e.toLowerCase())},lowerize:function(e){return e.toLowerCase()},major:function(e){return typeof e===u?e.replace(/[^\d\.]/g,"").split(".")[0]:o},trim:function(e,t){return e=e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),typeof t===s?e:e.substring(0,255)}},M={rgx:function(e,t){for(var n,r,i,s,u,l,f=0;f<t.length&&!u;){var h=t[f],v=t[f+1];for(n=r=0;n<h.length&&!u;)if(u=h[n++].exec(e))for(i=0;i<v.length;i++)l=u[++r],typeof(s=v[i])===c&&s.length>0?2==s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,l):this[s[0]]=s[1]:3==s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=l?l.replace(s[1],s[2]):o:this[s[0]]=l?s[1].call(this,l,s[2]):o:4==s.length&&(this[s[0]]=l?s[3].call(this,l.replace(s[1],s[2])):o):this[s]=l||o;f+=2}},str:function(e,t){for(var n in t)if(typeof t[n]===c&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(w.has(t[n][r],e))return"?"===n?o:n}else if(w.has(t[n],e))return"?"===n?o:n;return e}},_={browser:{oldSafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}},oldEdge:{version:{.1:"12.",21:"13.",31:"14.",39:"15.",41:"16.",42:"17.",44:"18."}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},S={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[d,[f,"Chrome"]],[/(?:edgios|edga|edg)\/([\w\.]+)/i],[d,[f,"Edge"]],[/edge\/([\w\.]+)/i],[[d,M.str,_.browser.oldEdge.version],[f,"Edge"]],[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]{3,6})\b.+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[f,d],[/opios[\/\s]+([\w\.]+)/i],[d,[f,"Opera Mini"]],[/\sopr\/([\w\.]+)/i],[d,[f,"Opera"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|instagram)[\/\s]?([\w\.]*)/i,/(avant\s|iemobile|slim)(?:browser)?[\/\s]?([\w\.]*)/i,/(ba?idubrowser)[\/\s]?([\w\.]+)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon)\/([\w\.-]+)/i,/(rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([\w\.]+)/i,/(weibo)__([\d\.]+)/i],[f,d],[/(?:[\s\/]uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[d,[f,"UCBrowser"]],[/(?:windowswechat)?\sqbcore\/([\w\.]+)\b.*(?:windowswechat)?/i],[d,[f,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[d,[f,"WeChat"]],[/konqueror\/([\w\.]+)/i],[d,[f,"Konqueror"]],[/trident.+rv[:\s]([\w\.]{1,9})\b.+like\sgecko/i],[d,[f,"IE"]],[/yabrowser\/([\w\.]+)/i],[d,[f,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[f,/(.+)/,"$1 Secure Browser"],d],[/focus\/([\w\.]+)/i],[d,[f,"Firefox Focus"]],[/opt\/([\w\.]+)/i],[d,[f,"Opera Touch"]],[/coc_coc_browser\/([\w\.]+)/i],[d,[f,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[d,[f,"Dolphin"]],[/coast\/([\w\.]+)/i],[d,[f,"Opera Coast"]],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[d,[f,"MIUI Browser"]],[/fxios\/([\w\.-]+)/i],[d,[f,"Firefox"]],[/(qihu|qhbrowser|qihoobrowser|360browser)/i],[[f,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[f,/(.+)/,"$1 Browser"],d],[/(comodo_dragon)\/([\w\.]+)/i],[[f,/_/g," "],d],[/m?(qqbrowser|baiduboxapp|2345Explorer)[\/\s]?([\w\.]+)/i],[f,d],[/(MetaSr)[\/\s]?([\w\.]+)/i,/(LBBROWSER)/i],[f],[/;fbav\/([\w\.]+);/i],[d,[f,"Facebook"]],[/FBAN\/FBIOS|FB_IAB\/FB4A/i],[[f,"Facebook"]],[/\s(electron)\/([\w\.]+)\ssafari/i,/safari\s(line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i],[f,d],[/\bgsa\/([\w\.]+)\s.*safari\//i],[d,[f,"GSA"]],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[d,[f,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[f,"Chrome WebView"],d],[/droid.+\sversion\/([\w\.]+)\b.+(?:mobile\ssafari|safari)/i],[d,[f,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[f,d],[/version\/([\w\.]+)\s.*mobile\/\w+\s(safari)/i],[d,[f,"Mobile Safari"]],[/version\/([\w\.]+)\s.*(mobile\s?safari|safari)/i],[d,f],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[f,[d,M.str,_.browser.oldSafari.version]],[/(webkit|khtml)\/([\w\.]+)/i],[f,d],[/(navigator|netscape)\/([\w\.-]+)/i],[[f,"Netscape"],d],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i,/(firefox)\/([\w\.]+)\s[\w\s\-]+\/[\w\.]+$/i,/(mozilla)\/([\w\.]+)\s.+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]*)/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[f,d]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[[p,"amd64"]],[/(ia32(?=;))/i],[[p,w.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[[p,"ia32"]],[/\b(aarch64|armv?8e?l?)\b/i],[[p,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[p,"armhf"]],[/windows\s(ce|mobile);\sppc;/i],[[p,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[[p,/ower/,"",w.lowerize]],[/(sun4\w)[;\)]/i],[[p,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?:64|(?=v(?:[1-7]|[5-7]1)l?|;|eabi))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[p,w.lowerize]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-p(?:605|610|587)|sm-t\w+|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus\s10)/i],[l,[v,"Samsung"],[h,g]],[/(s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+)/i,/\ssamsung[\s-]([\w-]+)/i,/sec-(sgh\w+)/i],[l,[v,"Samsung"],[h,y]],[/\((ip(?:hone|od)[\s\w]*);/i],[l,[v,"Apple"],[h,y]],[/\((ipad);[\w\s\),;-]+(apple)/i],[l,v,[h,g]],[/applecoremedia\/[\w\.]+\s\((ipad)/i],[l,[v,"Apple"],[h,g]],[/d\/huawei([\w\s-]+)[;\)]/i,/\b(nexus\s6p|vog-[at]?l\d\d|ane-[at]?l[x\d]\d|eml-a?l\d\da?|lya-[at]?l\d[\dc]|clt-a?l\d\di?|ele-l\d\d)/i,/\b(\w{2,4}-[atu][ln][01259][019])[;\)\s]/i],[l,[v,"Huawei"],[h,y]],[/\b(bah2?-a?[lw]\d{2})/i],[l,[v,"Huawei"],[h,g]],[/\b(poco[\s\w]+)(?:\sbuild|\))/i,/\b;\s(\w+)\s+build\/hm\1/i,/\b(hm[\s\-_]?note?[\s_]?(?:\d\w)?)\sbuild/i,/\b(redmi[\s\-_]?(?:note|k)?[\w\s_]+)(?:\sbuild|\))/i,/\b(mi[\s\-_]?(?:a\d|one|one[\s_]plus|note lte)?[\s_]?(?:\d?\w?)[\s_]?(?:plus)?)\sbuild/i],[[l,/_/g," "],[v,"Xiaomi"],[h,y]],[/\b(mi[\s\-_]?(?:pad)(?:[\w\s_]+))(?:\sbuild|\))/i],[[l,/_/g," "],[v,"Xiaomi"],[h,g]],[/;\s(\w+)\sbuild.+\soppo/i,/\s(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007)\b/i],[l,[v,"OPPO"],[h,y]],[/\svivo\s(\w+)(?:\sbuild|\))/i,/\s(v[12]\d{3}\w?[at])(?:\sbuild|;)/i],[l,[v,"Vivo"],[h,y]],[/\s(rmx[12]\d{3})(?:\sbuild|;)/i],[l,[v,"Realme"],[h,y]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)\b[\w\s]+build\//i,/\smot[\s-](\w*)/i,/(moto[\s\w\(\)]+(?=\sbuild|\)))/i,/(xt\d{3,4})\sbuild\//i,/(nexus\s6)/i],[l,[v,"Motorola"],[h,y]],[/\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[l,[v,"Motorola"],[h,g]],[/((?=lg)?[vl]k\-?\d{3})\s+build|\s3\.[\s\w;-]{10}lg?-([06cv9]{3,4})/i],[l,[v,"LG"],[h,g]],[/(nexus\s[45])/i,/lg[e;\s\/-]+((?!browser|netcast)\w+)/i,/\blg(\-?[\d\w]+)\s+build/i],[l,[v,"LG"],[h,y]],[/(ideatab[\w\-\s]+)/i,/lenovo\s?(s(?:5000|6000)(?:[\w-]+)|tab(?:[\s\w]+)|[\w-]+)/i],[l,[v,"Lenovo"],[h,g]],[/(?:maemo|nokia).*(n900|lumia\s\d+)/i,/nokia[\s_-]?([\w\.-]*)/i],[l,[v,"Nokia"],[h,y]],[/droid.+;\s(pixel\sc)[\s)]/i],[l,[v,"Google"],[h,g]],[/droid.+;\s(pixel[\s\daxl]{0,6})(?:\sbuild|\))/i],[l,[v,"Google"],[h,y]],[/droid.+\s([c-g]\d{4}|so[-l]\w+|xq-a\w[4-7][12])(?=\sbuild\/|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[l,[v,"Sony"],[h,y]],[/sony\stablet\s[ps]\sbuild\//i,/(?:sony)?sgp\w+(?:\sbuild\/|\))/i],[[l,"Xperia Tablet"],[v,"Sony"],[h,g]],[/\s(kb2005|in20[12]5|be20[12][59])\b/i,/\ba000(1)\s+build/i,/\boneplus\s(a\d{4})[\s)]/i],[l,[v,"OnePlus"],[h,y]],[/(alexa)webm/i,/(kf[a-z]+)(\sbuild\/|\)).+silk\//i],[l,[v,"Amazon"],[h,g]],[/(sd|kf)[0349hijorstuw]+(\sbuild\/|\)).+silk\//i],[[l,"Fire Phone"],[v,"Amazon"],[h,y]],[/\((playbook);[\w\s\),;-]+(rim)/i],[l,v,[h,g]],[/\(bb10;\s(\w+)/i],[l,[v,"BlackBerry"],[h,y]],[/\b(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus\s7|padfone|p00c)/i],[l,[v,"ASUS"],[h,g]],[/\s(z[es]6[027][01][km][ls]|zenfone\s\d\w?)\b/i],[l,[v,"ASUS"],[h,y]],[/(nexus\s9)/i],[l,[v,"HTC"],[h,g]],[/(htc)[;_\s-]{1,2}([\w\s]+(?=\)|\sbuild)|\w+)/i,/(zte)-(\w*)/i,/(alcatel|geeksphone|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i],[v,[l,/_/g," "],[h,y]],[/droid[x\d\.\s;]+\s([ab][1-7]\-?[0178a]\d\d?)/i],[l,[v,"Acer"],[h,g]],[/droid.+;\s(m[1-5]\snote)\sbuild/i,/\bmz-([\w-]{2,})/i],[l,[v,"Meizu"],[h,y]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i,/(microsoft);\s(lumia[\s\w]+)/i,/(lenovo)[_\s-]?([\w-]+)/i,/linux;.+(jolla);/i,/droid.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[v,l,[h,y]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i,/[;\/]\s?(le[\s\-]+pan)[\s\-]+(\w{1,9})\sbuild/i,/[;\/]\s?(trinity)[\-\s]*(t\d{3})\sbuild/i,/\b(gigaset)[\s\-]+(q\w{1,9})\sbuild/i,/\b(vodafone)\s([\w\s]+)(?:\)|\sbuild)/i],[v,l,[h,g]],[/\s(surface\sduo)\s/i],[l,[v,"Microsoft"],[h,g]],[/\s(u304aa)\sbuild/i],[l,[v,"AT&T"],[h,y]],[/sie-(\w*)/i],[l,[v,"Siemens"],[h,y]],[/[;\/]\s?(rct\w+)\sbuild/i],[l,[v,"RCA"],[h,g]],[/[;\/\s](venue[\d\s]{2,7})\sbuild/i],[l,[v,"Dell"],[h,g]],[/[;\/]\s?(q(?:mv|ta)\w+)\sbuild/i],[l,[v,"Verizon"],[h,g]],[/[;\/]\s(?:barnes[&\s]+noble\s|bn[rt])([\w\s\+]*)\sbuild/i],[l,[v,"Barnes & Noble"],[h,g]],[/[;\/]\s(tm\d{3}\w+)\sbuild/i],[l,[v,"NuVision"],[h,g]],[/;\s(k88)\sbuild/i],[l,[v,"ZTE"],[h,g]],[/;\s(nx\d{3}j)\sbuild/i],[l,[v,"ZTE"],[h,y]],[/[;\/]\s?(gen\d{3})\sbuild.*49h/i],[l,[v,"Swiss"],[h,y]],[/[;\/]\s?(zur\d{3})\sbuild/i],[l,[v,"Swiss"],[h,g]],[/[;\/]\s?((zeki)?tb.*\b)\sbuild/i],[l,[v,"Zeki"],[h,g]],[/[;\/]\s([yr]\d{2})\sbuild/i,/[;\/]\s(dragon[\-\s]+touch\s|dt)(\w{5})\sbuild/i],[[v,"Dragon Touch"],l,[h,g]],[/[;\/]\s?(ns-?\w{0,9})\sbuild/i],[l,[v,"Insignia"],[h,g]],[/[;\/]\s?((nxa|Next)-?\w{0,9})\sbuild/i],[l,[v,"NextBook"],[h,g]],[/[;\/]\s?(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05]))\sbuild/i],[[v,"Voice"],l,[h,y]],[/[;\/]\s?(lvtel\-)?(v1[12])\sbuild/i],[[v,"LvTel"],l,[h,y]],[/;\s(ph-1)\s/i],[l,[v,"Essential"],[h,y]],[/[;\/]\s?(v(100md|700na|7011|917g).*\b)\sbuild/i],[l,[v,"Envizen"],[h,g]],[/[;\/]\s?(trio[\s\w\-\.]+)\sbuild/i],[l,[v,"MachSpeed"],[h,g]],[/[;\/]\s?tu_(1491)\sbuild/i],[l,[v,"Rotor"],[h,g]],[/(shield[\w\s]+)\sbuild/i],[l,[v,"Nvidia"],[h,g]],[/(sprint)\s(\w+)/i],[v,l,[h,y]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[v,"Microsoft"],[h,y]],[/droid\s[\d\.]+;\s(cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[v,"Zebra"],[h,g]],[/droid\s[\d\.]+;\s(ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[v,"Zebra"],[h,y]],[/\s(ouya)\s/i,/(nintendo)\s([wids3utch]+)/i],[v,l,[h,m]],[/droid.+;\s(shield)\sbuild/i],[l,[v,"Nvidia"],[h,m]],[/(playstation\s[345portablevi]+)/i],[l,[v,"Sony"],[h,m]],[/[\s\(;](xbox(?:\sone)?(?!;\sxbox))[\s\);]/i],[l,[v,"Microsoft"],[h,m]],[/smart-tv.+(samsung)/i],[v,[h,x],l],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[v,"Samsung"],[h,x]],[/linux;\snetcast.+smarttv/i,/lg\snetcast\.tv-201\d/i],[[v,"LG"],l,[h,x]],[/(apple)\s?tv/i],[v,[l,"Apple TV"],[h,x]],[/crkey/i],[[l,"Chromecast"],[v,"Google"],[h,x]],[/droid.+aft([\w])(\sbuild\/|\))/i],[l,[v,"Amazon"],[h,x]],[/\(dtv[\);].+(aquos)/i],[l,[v,"Sharp"],[h,x]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[v,w.trim],[l,w.trim],[h,x]],[/[\s\/\(](android\s|smart[-\s]?|opera\s)tv[;\)\s]/i],[[h,x]],[/((pebble))app\/[\d\.]+\s/i],[v,l,[h,b]],[/droid.+;\s(glass)\s\d/i],[l,[v,"Google"],[h,b]],[/droid\s[\d\.]+;\s(wt63?0{2,3})\)/i],[l,[v,"Zebra"],[h,b]],[/droid .+?; ([^;]+?)(?: build|\) applewebkit).+? mobile safari/i],[l,[h,y]],[/droid .+?;\s([^;]+?)(?: build|\) applewebkit).+?(?! mobile) safari/i],[l,[h,g]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[h,w.lowerize]],[/(android[\w\.\s\-]{0,9});.+build/i],[l,[v,"Generic"]],[/(phone)/i],[[h,y]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[d,[f,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[d,[f,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[f,d],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[d,f]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[f,d],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)(?!.+xbox)/i],[f,[d,M.str,_.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[f,"Windows"],[d,M.str,_.os.windows.version]],[/ip[honead]{2,4}\b(?:.*os\s([\w]+)\slike\smac|;\sopera)/i,/cfnetwork\/.+darwin/i],[[d,/_/g,"."],[f,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]*)/i,/(macintosh|mac(?=_powerpc)\s)(?!.+haiku)/i],[[f,"Mac OS"],[d,/_/g,"."]],[/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|sailfish|contiki)[\/\s-]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/\s]([\w\.]+)/i],[f,d],[/\(bb(10);/i],[d,[f,"BlackBerry"]],[/(?:symbian\s?os|symbos|s60(?=;)|series60)[\/\s-]?([\w\.]*)/i],[d,[f,"Symbian"]],[/\((series40);/i],[f],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[f,"Firefox OS"]],[/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[d,[f,"webOS"]],[/crkey\/([\d\.]+)/i],[d,[f,"Chromecast"]],[/(nintendo|playstation)\s([wids345portablevuch]+)/i,/(xbox);\s+xbox\s([^\);]+)/i,/(mint)[\/\s\(\)]?(\w*)/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?=\slinux)|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus|raspbian)(?:\sgnu\/linux)?(?:\slinux)?[\/\s-]?(?!chrom|package)([\w\.-]*)/i,/(hurd|linux)\s?([\w\.]*)/i,/(gnu)\s?([\w\.]*)/i],[f,d],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[f,"Chromium OS"],d],[/(sunos)\s?([\w\.\d]*)/i],[[f,"Solaris"],d],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?(?!amd|[ix346]{1,2}86)([\w\.]*)/i],[f,d],[/(haiku)\s(\w+)/i],[f,d],[/((?:open)?solaris)[\/\s-]?([\w\.]*)/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms|fuchsia)/i,/(unix)\s?([\w\.]*)/i],[f,d]]},P=function(e,t){if("object"==typeof e&&(t=e,e=o),!(this instanceof P))return new P(e,t).getResult();var n=e||(void 0!==i&&i.navigator&&i.navigator.userAgent?i.navigator.userAgent:""),r=t?w.extend(S,t):S;return this.getBrowser=function(){var e={name:o,version:o};return M.rgx.call(e,n,r.browser),e.major=w.major(e.version),e},this.getCPU=function(){var e={architecture:o};return M.rgx.call(e,n,r.cpu),e},this.getDevice=function(){var e={vendor:o,model:o,type:o};return M.rgx.call(e,n,r.device),e},this.getEngine=function(){var e={name:o,version:o};return M.rgx.call(e,n,r.engine),e},this.getOS=function(){var e={name:o,version:o};return M.rgx.call(e,n,r.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(e){return n=e.length>255?w.trim(e,255):e,this},this.setUA(n),this};P.VERSION="0.7.26",P.BROWSER={NAME:f,MAJOR:"major",VERSION:d},P.CPU={ARCHITECTURE:p},P.DEVICE={MODEL:l,VENDOR:v,TYPE:h,CONSOLE:m,MOBILE:y,SMARTTV:x,TABLET:g,WEARABLE:b,EMBEDDED:"embedded"},P.ENGINE={NAME:f,VERSION:d},P.OS={NAME:f,VERSION:d},typeof t!==s?(e.exports&&(t=e.exports=P),t.UAParser=P):(r=function(){return P}.call(t,n,t,e))===o||(e.exports=r);var T=void 0!==i&&(i.jQuery||i.Zepto);if(T&&!T.ua){var R=new P;T.ua=R.getResult(),T.ua.get=function(){return R.getUA()},T.ua.set=function(e){R.setUA(e);var t=R.getResult();for(var n in t)T.ua[n]=t[n]}}}("object"==typeof window?window:this)}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){n(26981);var e=n(60287).Z,t=document.querySelector(".l-page").dataset.id;if("index"==t)n(78948).Z();else{var r=document.getElementById("canvas-webgl");switch(r.addEventListener("contextmenu",(function(e){e.preventDefault()})),r.addEventListener("selectstart",(function(e){e.preventDefault()})),t){case"water":n(31547).Z();break;case"glass":n(77010).Z();break;case"fire_ball_2":n(14449).Z();break;case"flow_field_5":n(53312).Z();break;case"flow_field_4":n(87389).Z();break;case"flow_field_3":n(76837).Z();break;case"flow_field_2":n(86139).Z();break;case"flow_field":n(95185).Z();break;case"skull":n(29355).Z();break;case"aura":n(88811).Z();break;case"shadow":n(68993).Z();break;case"splash":n(17194).Z();break;case"burn":n(97018).Z();break;case"crystal":n(44428).Z();break;case"node":n(87420).Z();break;case"sun":n(4055).Z();break;case"easy_glitch":n(61954).Z();break;case"dissolve":n(37175).Z();break;case"dna":n(67687).Z();break;case"newyear2019":n(56600).Z();break;case"buddha":n(54614).Z();break;case"planet":n(13532).Z();break;case"land":n(1867).Z();break;case"webcam":n(89643).Z();break;case"fog":n(27751).Z();break;case"node_text":n(49363).Z();break;case"repel":n(8141).Z();break;case"flame":n(86918).Z();break;case"cyberspace":n(57262).Z();break;case"beam":n(45032).Z();break;case"blink":n(75255).Z();break;case"transform":n(82158).Z();break;case"egg":n(59895).Z();break;case"butterfly":n(58238).Z();break;case"puddle":n(18388).Z();break;case"reel":n(39990).Z();break;case"glitch":n(49275).Z();break;case"instancing":n(15758).Z();break;case"particle":n(73552).Z();break;case"attract":n(22732).Z();break;case"hole":n(97531).Z();break;case"metal_cube":n(73262).Z();break;case"distort":n(19963).Z();break;case"image_data":n(91614).Z();break;case"gallery":n(95432).Z();break;case"comet":n(87848).Z();break;case"hyper_space":n(4625).Z();break;case"fire_ball":n(56160).Z()}}e()}()}();
diff --git a/src/main/webapp/static/js/tools/md5.js b/src/main/webapp/static/wms/js/tools/md5.js
similarity index 100%
copy from src/main/webapp/static/js/tools/md5.js
copy to src/main/webapp/static/wms/js/tools/md5.js
diff --git a/src/main/webapp/static/wms/js/trayCode/trayCode.js b/src/main/webapp/static/wms/js/trayCode/trayCode.js
new file mode 100644
index 0000000..bc70c7a
--- /dev/null
+++ b/src/main/webapp/static/wms/js/trayCode/trayCode.js
@@ -0,0 +1,451 @@
+var pageCurr;
+layui.use(['table','laydate', 'form'], function(){
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#trayCode',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/trayCode/list/auth',
+ page: true,
+ limit: 16,
+ limits: [16, 30, 50, 100, 200, 500],
+ even: true,
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ cols: [[
+ // {type: 'checkbox'}
+// ,{field: 'id', title: 'ID', sort: true,align: 'center', fixed: 'left', width: 80}
+// ,{field: 'id', align: 'center',title: '缂栧彿'}
+ {field: 'trayNo', align: 'center',title: '搴忓垪鍙�', sort: true}
+ ,{field: 'start', align: 'center',title: '璧峰', templet:function(row){
+ var html = "<input value='start' type='checkbox' disabled='disabled' lay-skin='primary' lay-filter='tableCheckbox' table-index='"+row.LAY_TABLE_INDEX+"'";
+ if(row.start === 'Y'){html += " checked ";}
+ html += ">";
+ return html;
+ }}
+ ,{field: 'finish', align: 'center',title: '缁堟', templet:function(row){
+ var html = "<input value='finish' type='checkbox' disabled='disabled' lay-skin='primary' lay-filter='tableCheckbox' table-index='"+row.LAY_TABLE_INDEX+"'";
+ if(row.finish === 'Y'){html += " checked ";}
+ html += ">";
+ return html;
+ }}
+ ,{field: 'memo', align: 'center',title: '澶囨敞', hide:true}
+ // ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿'}
+ // ,{field: 'modiUser$', align: 'center',title: '淇敼浜哄憳',event: 'modiUser', style: 'cursor:pointer'}
+ ,{field: 'appeTime$', align: 'center',title: '娣诲姞鏃堕棿', sort: true}
+ ,{field: 'appeUser$', align: 'center',title: '娣诲姞浜哄憳'}
+
+ // ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:150}
+ ]],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ form.on('checkbox(tableCheckbox)', function (data) {
+ var _index = $(data.elem).attr('table-index')||0;
+ if(data.elem.checked){
+ res.data[_index][data.value] = 'Y';
+ }else{
+ res.data[_index][data.value] = 'N';
+ }
+ });
+ }
+ });
+
+ // 鐩戝惉鎺掑簭浜嬩欢
+ table.on('sort(locMast)', function (obj) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ searchData['orderByField'] = obj.field;
+ searchData['orderByType'] = obj.type;
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: 1
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(trayCode)', function (obj) {
+ var checkStatus = table.checkStatus(obj.config.id);
+ switch(obj.event) {
+ // 鐢熸垚鎵樼洏鐮�
+ case "btnTray":
+ layer.open({
+ type: 1,
+ title: '鐢熸垚鎵樼洏鐮�',
+ offset: '100px',
+ area: ['360px'],
+ shade: 0.1,
+ content: $('#print-windows'),
+ success: function(layero, index){
+ layer.iframeAuto(index)
+ http.post(baseUrl+"/trayCode/latest", null, function (res) {
+ $('#startNo').val(res.data);
+ })
+ },
+ });
+ break;
+ case 'exportData':
+ layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+ var titles=[];
+ var fields=[];
+ obj.config.cols[0].map(function (col) {
+ if (col.type === 'normal' && col.hide === false && col.toolbar == null) {
+ titles.push(col.title);
+ fields.push(col.field);
+ }
+ });
+ var exportData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ exportData[this.name] = this.value;
+ });
+ var param = {
+ 'trayCode': exportData,
+ 'fields': fields
+ };
+ $.ajax({
+ url: baseUrl+"/trayCode/export/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ layer.closeAll();
+ if (res.code === 200) {
+ table.exportFile(titles,res.data,'xls');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ });
+ });
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(trayCode)', function(obj){
+ var data = obj.data;
+ switch (obj.event) {
+ // 璇︽儏
+ case 'detail':
+ layer.open({
+ type: 2,
+ title: '璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: true,
+ content: 'trayCode_detail.html',
+ success: function(layero, index){
+ setFormVal(layer.getChildFrame('#detail', index), data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+ // 缂栬緫
+ case 'edit':
+ layer.open({
+ type: 2,
+ title: '淇敼',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ content: 'trayCode_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-save', index).hide();
+ setFormVal(layer.getChildFrame('#detail', index), data, false);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), false);
+ top.convertDisabled(layer.getChildFrame('#id', index), true);
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+
+ }
+ });
+
+ // 鏁版嵁淇濆瓨鍔ㄤ綔
+ form.on('submit(save)', function () {
+ if (banMsg != null){
+ layer.msg(banMsg);
+ return;
+ }
+ method("add");
+ });
+
+ // 鏁版嵁淇敼鍔ㄤ綔
+ form.on('submit(edit)', function () {
+ method("update")
+ });
+
+ function method(name){
+ var index = layer.load(1, {
+ shade: [0.5,'#000'] //0.1閫忔槑搴︾殑鑳屾櫙
+ });
+ var data = {
+// id: $('#id').val(),
+ id: $('#id').val(),
+ trayNo: $('#trayNo').val(),
+ start: $('#start').val(),
+ finish: $('#finish').val(),
+ memo: $('#memo').val(),
+ modiTime: top.strToDate($('#modiTime\\$').val()),
+ modiUser: $('#modiUser').val(),
+ appeTime: top.strToDate($('#appeTime\\$').val()),
+ appeUser: $('#appeUser').val(),
+
+ };
+ $.ajax({
+ url: baseUrl+"/trayCode/"+name+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: top.reObject(data),
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ parent.layer.closeAll();
+ parent.$(".layui-laypage-btn")[0].click();
+ $("#data-detail :input").each(function () {
+ $(this).val("");
+ });
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ layer.close(index);
+ }
+ })
+ }
+
+ // 澶嶉�夋浜嬩欢
+ form.on('checkbox(detailCheckbox)', function (data) {
+ var el = data.elem;
+ if (el.checked) {
+ $(el).val('Y');
+ } else {
+ $(el).val('N');
+ }
+ });
+
+ // 鎼滅储鏍忔悳绱簨浠�
+ form.on('submit(search)', function (data) {
+ pageCurr = 1;
+ tableReload(false);
+ });
+
+ // 鎼滅储鏍忛噸缃簨浠�
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ tableReload(false);
+ });
+
+ // 鏃堕棿閫夋嫨鍣�
+ layDate.render({
+ elem: '#modiTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#appeTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '.layui-laydate-range'
+ ,type: 'datetime'
+ ,range: true
+ });
+
+ // 寮�濮嬫墦鍗�
+ form.on('submit(print)', function (data) {
+ $.ajax({
+ url: baseUrl+"/trayCode/print/preview",
+ headers: {'token': localStorage.getItem('token')},
+ data: data.field,
+ method: 'POST',
+ async: false,
+ success: function (res) {
+ if (res.code === 200){
+ for (let i=0;i<res.data.length;i++){
+ if (data.field.type === '1') {
+ res.data[i]["barcodeUrl"]=baseUrl+"/file/barcode/qrcode/auth?" +
+ "type="+data.field.type+"¶m="+res.data[i].item+"&width="+200+"&height="+90;
+ } else {
+ res.data[i]["barcodeUrl"]=baseUrl+"/file/barcode/qrcode/auth?" +
+ "type="+data.field.type+"¶m="+res.data[i].item+"&width="+400+"&height="+180;
+ }
+ }
+ var tpl = $('#trayCodeTemplate').html();
+ var template = Handlebars.compile(tpl);
+ var html = template(res);
+ let box = $("#printBox");
+ box.html(html);
+ box.show();
+ box.print({
+ mediaPrint:true,
+ deferred: $.Deferred().done(function () {
+ layer.confirm('[閲嶈] 鎵撳嵃鏄惁鎴愬姛锛�', {btn: ['Yes', 'No']}, function(){
+ $.ajax({
+ url: baseUrl+"/trayCode/print/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: data.field,
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ layer.closeAll();
+ $(".layui-laypage-btn")[0].click();
+ layer.msg("鎿嶄綔鎴愬姛")
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ });
+ })
+ });
+ box.hide();
+ layer.closeAll();
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ });
+
+ $('#cancel').click(function () {
+ layer.closeAll();
+ })
+});
+
+
+// 鍏抽棴鍔ㄤ綔
+$(document).on('click','#data-detail-close', function () {
+ parent.layer.closeAll();
+});
+
+function tableReload(child) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ (child ? parent.tableIns : tableIns).reload({
+ where: searchData,
+ page: {
+ curr: pageCurr
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ if (res.data.length === 0 && count !== 0) {
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: pageCurr-1
+ }
+ });
+ pageCurr -= 1;
+ }
+ limit(child);
+ }
+ });
+}
+
+function setFormVal(el, data, showImg) {
+ for (var val in data) {
+ var find = el.find(":input[id='" + val + "']");
+ if (find[0]!=null){
+ if (find[0].type === 'checkbox'){
+ if (data[val]==='Y'){
+ find.attr("checked","checked");
+ find.val('Y');
+ } else {
+ find.remove("checked");
+ find.val('N');
+ }
+ continue;
+ }
+ }
+ find.val(data[val]);
+ if (showImg){
+ var next = find.next();
+ if (next.get(0)){
+ if (next.get(0).localName === "img") {
+ find.hide();
+ next.attr("src", data[val]);
+ next.show();
+ }
+ }
+ }
+ }
+}
+
+function clearFormVal(el) {
+ $(':input', el)
+ .val('')
+ .removeAttr('checked')
+ .removeAttr('selected');
+}
+
+function detailScreen(index) {
+ var detail = layer.getChildFrame('#data-detail', index);
+ var height = detail.height()+60;
+ if (height > ($(window).height()*0.9)) {
+ height = ($(window).height()*0.8);
+ }
+ layer.style(index, {
+// top: (($(window).height()-height)/3)+"px",
+ height: height+'px'
+ });
+}
+
+$('body').keydown(function () {
+ if (event.keyCode === 13) {
+ $("#search").click();
+ }
+});
diff --git a/src/main/webapp/static/js/user/user.js b/src/main/webapp/static/wms/js/user/user.js
similarity index 99%
rename from src/main/webapp/static/js/user/user.js
rename to src/main/webapp/static/wms/js/user/user.js
index 0e06c7e..6579a71 100644
--- a/src/main/webapp/static/js/user/user.js
+++ b/src/main/webapp/static/wms/js/user/user.js
@@ -2,7 +2,7 @@
var tableData;
var insTb2;
layui.config({
- base: baseUrl + "/static/layui/lay/modules/"
+ base: baseUrl + "/static/wms/layui/lay/modules/"
}).use(['table','laydate', 'form', 'util', 'admin'], function(){
var table = layui.table;
var $ = layui.jquery;
diff --git a/src/main/webapp/static/js/userLogin/userLogin.js b/src/main/webapp/static/wms/js/userLogin/userLogin.js
similarity index 100%
rename from src/main/webapp/static/js/userLogin/userLogin.js
rename to src/main/webapp/static/wms/js/userLogin/userLogin.js
diff --git a/src/main/webapp/static/wms/js/waitPakin/waitPakin.js b/src/main/webapp/static/wms/js/waitPakin/waitPakin.js
new file mode 100644
index 0000000..4027f58
--- /dev/null
+++ b/src/main/webapp/static/wms/js/waitPakin/waitPakin.js
@@ -0,0 +1,513 @@
+var pageCurr;
+function getCol() {
+ var cols = [ {type: 'checkbox'} ];
+ cols.push.apply(cols, detlCols);
+ cols.push({field: 'locNo', align: 'center',title: '搴撲綅鍙�'}
+ ,{field: 'status', align: 'center',title: '鏁版嵁鐘舵��', templet:function(row){
+ var html = "<input value='status' type='checkbox' lay-skin='switch' lay-text='姝e父|閿佸畾'' lay-filter='tableCheckbox' disabled='disabled' table-index='"+row.LAY_TABLE_INDEX+"'";
+ if(row.status === 'Y'){html += " checked ";}
+ html += ">";
+ return html;
+ }, hide: true}
+ ,{field: 'ioStatus', align: 'center',title: '鍏ュ嚭鐘舵��', templet:function(row){
+ var html = "<input value='ioStatus' type='checkbox' lay-skin='switch' lay-text='鍏ュ簱涓瓅寰呭叆搴�' lay-filter='tableCheckbox' disabled='disabled' table-index='"+row.LAY_TABLE_INDEX+"'";
+ if(row.ioStatus === 'Y'){html += " checked ";}
+ html += ">";
+ return html;
+ }}
+ ,{field: 'modiUser$', align: 'center',title: '淇敼浜哄憳', hide:true}
+ ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿', hide:true})
+ return cols;
+}
+
+layui.config({
+ base: baseUrl + "/static/layui/lay/modules/"
+}).use(['table','laydate', 'form', 'tableMerge'], function(){
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+ var tableMerge = layui.tableMerge;
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#waitPakin',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/waitPakin/list/auth',
+ page: true,
+ limit: 16,
+ limits: [16, 30, 50, 100, 200, 500],
+ even: true,
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ cols: [getCol()],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ // tableMerge.render(this);
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ form.on('checkbox(tableCheckbox)', function (data) {
+ var _index = $(data.elem).attr('table-index')||0;
+ if(data.elem.checked){
+ res.data[_index][data.value] = 'Y';
+ }else{
+ res.data[_index][data.value] = 'N';
+ }
+ });
+ }
+ });
+
+ // 鐩戝惉鎺掑簭浜嬩欢
+ table.on('sort(locMast)', function (obj) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ searchData['orderByField'] = obj.field;
+ searchData['orderByType'] = obj.type;
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: 1
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(waitPakin)', function (obj) {
+ var checkStatus = table.checkStatus(obj.config.id);
+ switch(obj.event) {
+ case 'addWrk':
+ if (checkStatus.data.length === 0){
+ layer.msg('璇疯嚦灏戦�夋嫨涓�鏉℃暟鎹�', {icon: 2});
+ } else {
+ layer.confirm('纭畾鐢熸垚宸ヤ綔妗d换鍔″悧', function(){
+ $.ajax({
+ url: baseUrl+"/create/waitPain/wrkMast/start",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(checkStatus.data),
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ traditional:true,
+ success: function (res) {
+ if (res.code === 200){
+ layer.closeAll();
+ tableReload(false);
+ layer.msg(res.msg, {icon: 1})
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg, {icon: 2})
+ }
+ }
+ })
+ });
+ }
+ break;
+ case 'addData':
+ layer.open({
+ type: 2,
+ title: '鏂板',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ content: 'waitPakin_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-edit', index).hide();
+ clearFormVal(layer.getChildFrame('#detail', index));
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ }
+ });
+ break;
+ case 'deleteData':
+ var data = checkStatus.data;
+ if (data.length === 0){
+ layer.msg('璇烽�夋嫨鏁版嵁');
+ } else {
+ layer.confirm('纭畾鍒犻櫎'+(data.length===1?'姝�':data.length)+'鏉℃暟鎹悧', function(){
+ $.ajax({
+ url: baseUrl+"/waitPakin/delete/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {param: JSON.stringify(data)},
+ method: 'POST',
+ traditional:true,
+ success: function (res) {
+ if (res.code === 200){
+ layer.closeAll();
+ tableReload(false);
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ });
+ }
+ break;
+ case 'exportData':
+ layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+ var titles=[];
+ var fields=[];
+ obj.config.cols[0].map(function (col) {
+ if (col.type === 'normal' && col.hide === false && col.toolbar == null) {
+ titles.push(col.title);
+ fields.push(col.field);
+ }
+ });
+ var exportData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ exportData[this.name] = this.value;
+ });
+ var param = {
+ 'waitPakin': exportData,
+ 'fields': fields
+ };
+ $.ajax({
+ url: baseUrl+"/waitPakin/export/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ layer.closeAll();
+ if (res.code === 200) {
+ table.exportFile(titles,res.data,'xls');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ });
+ });
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(waitPakin)', function(obj){
+ var data = obj.data;
+ switch (obj.event) {
+ // 璇︽儏
+ case 'detail':
+ layer.open({
+ type: 2,
+ title: '璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: true,
+ content: 'waitPakin_detail.html',
+ success: function(layero, index){
+ setFormVal(layer.getChildFrame('#detail', index), data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+ // 缂栬緫
+ case 'edit':
+ layer.open({
+ type: 2,
+ title: '淇敼',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ content: 'waitPakin_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-save', index).hide();
+ setFormVal(layer.getChildFrame('#detail', index), data, false);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), false);
+ top.convertDisabled(layer.getChildFrame('#id', index), true);
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+ case 'modiUser':
+ var param = top.reObject(data).modiUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '淇敼浜哄憳璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: true,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: "baseUrl+/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+ case 'appeUser':
+ var param = top.reObject(data).appeUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '鍒涘缓鑰呰鎯�',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: true,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: "baseUrl+/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+
+ }
+ });
+
+ // 鏁版嵁淇濆瓨鍔ㄤ綔
+ form.on('submit(save)', function () {
+ if (banMsg != null){
+ layer.msg(banMsg);
+ return;
+ }
+ method("add");
+ });
+
+ // 鏁版嵁淇敼鍔ㄤ綔
+ form.on('submit(edit)', function () {
+ method("update")
+ });
+
+ function method(name){
+ var index = layer.load(1, {
+ shade: [0.5,'#000'] //0.1閫忔槑搴︾殑鑳屾櫙
+ });
+ var data = {
+// id: $('#id').val(),
+ id: $('#id').val(),
+ barcode: $('#barcode').val(),
+ matnr: $('#matnr').val(),
+ maktx: $('#maktx').val(),
+ anfme: $('#anfme').val(),
+ unit: $('#unit').val(),
+ status: $('#status').val(),
+ memo: $('#memo').val(),
+ modiTime: top.strToDate($('#modiTime\\$').val()),
+ modiUser: $('#modiUser').val(),
+ appeTime: top.strToDate($('#appeTime\\$').val()),
+ appeUser: $('#appeUser').val(),
+
+ };
+ $.ajax({
+ url: baseUrl+"/waitPakin/"+name+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: top.reObject(data),
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ parent.layer.closeAll();
+ parent.$(".layui-laypage-btn")[0].click();
+ $("#data-detail :input").each(function () {
+ $(this).val("");
+ });
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ layer.close(index);
+ }
+ })
+ }
+
+ // 澶嶉�夋浜嬩欢
+ form.on('checkbox(detailCheckbox)', function (data) {
+ var el = data.elem;
+ if (el.checked) {
+ $(el).val('Y');
+ } else {
+ $(el).val('N');
+ }
+ });
+
+ // 鎼滅储鏍忔悳绱簨浠�
+ form.on('submit(search)', function (data) {
+ pageCurr = 1;
+ tableReload(false);
+ });
+
+ // 鎼滅储鏍忛噸缃簨浠�
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ tableReload(false);
+ });
+
+ // 鏃堕棿閫夋嫨鍣�
+ layDate.render({
+ elem: '#modiTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#appeTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '.layui-laydate-range'
+ ,type: 'datetime'
+ ,range: true
+ });
+
+});
+
+// 鍏抽棴鍔ㄤ綔
+$(document).on('click','#data-detail-close', function () {
+ parent.layer.closeAll();
+});
+
+function tableReload(child) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ (child ? parent.tableIns : tableIns).reload({
+ where: searchData,
+ page: {
+ curr: pageCurr
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ if (res.data.length === 0 && count !== 0) {
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: pageCurr-1
+ }
+ });
+ pageCurr -= 1;
+ }
+ limit(child);
+ }
+ });
+}
+
+function setFormVal(el, data, showImg) {
+ for (var val in data) {
+ var find = el.find(":input[id='" + val + "']");
+ if (find[0]!=null){
+ if (find[0].type === 'checkbox'){
+ if (data[val]==='Y'){
+ find.attr("checked","checked");
+ find.val('Y');
+ } else {
+ find.remove("checked");
+ find.val('N');
+ }
+ continue;
+ }
+ }
+ find.val(data[val]);
+ if (showImg){
+ var next = find.next();
+ if (next.get(0)){
+ if (next.get(0).localName === "img") {
+ find.hide();
+ next.attr("src", data[val]);
+ next.show();
+ }
+ }
+ }
+ }
+}
+
+function clearFormVal(el) {
+ $(':input', el)
+ .val('')
+ .removeAttr('checked')
+ .removeAttr('selected');
+}
+
+function detailScreen(index) {
+ var detail = layer.getChildFrame('#data-detail', index);
+ var height = detail.height()+60;
+ if (height > ($(window).height()*0.9)) {
+ height = ($(window).height()*0.8);
+ }
+ layer.style(index, {
+// top: (($(window).height()-height)/3)+"px",
+ height: height+'px'
+ });
+}
+
+$('body').keydown(function () {
+ if (event.keyCode === 13) {
+ $("#search").click();
+ }
+});
diff --git a/src/main/webapp/static/wms/js/waitPakinLog/waitPakinLog.js b/src/main/webapp/static/wms/js/waitPakinLog/waitPakinLog.js
new file mode 100644
index 0000000..54fc129
--- /dev/null
+++ b/src/main/webapp/static/wms/js/waitPakinLog/waitPakinLog.js
@@ -0,0 +1,482 @@
+var pageCurr;
+function getCol() {
+ var cols = [
+ ];
+ cols.push.apply(cols, detlCols);
+ cols.push({field: 'status', align: 'center',title: '鏁版嵁鐘舵��', templet:function(row){
+ var html = "<input value='status' type='checkbox' lay-skin='switch' lay-text='姝e父|閿佸畾' lay-filter='tableCheckbox' disabled='disabled' table-index='"+row.LAY_TABLE_INDEX+"'";
+ if(row.status === 'Y'){html += " checked ";}
+ html += ">";
+ return html;
+ }}
+ ,{field: 'ioStatus', align: 'center',title: '鍏ュ嚭鐘舵��', templet:function(row){
+ var html = "<input value='ioStatus' type='checkbox' lay-skin='switch' lay-text='杩愯涓瓅寰呭鐞�' lay-filter='tableCheckbox' disabled='disabled' table-index='"+row.LAY_TABLE_INDEX+"'";
+ if(row.ioStatus === 'Y'){html += " checked ";}
+ html += ">";
+ return html;
+ }}
+ ,{field: 'modiUser$', align: 'center',title: '淇敼浜哄憳', hide:true}
+ ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿', hide:true})
+ return cols;
+}
+layui.use(['table','laydate', 'form'], function(){
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#waitPakinLog',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/waitPakinLog/list/auth',
+ page: true,
+ limit: 16,
+ limits: [16, 30, 50, 100, 200, 500],
+ even: true,
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ cols: [getCol()],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ form.on('checkbox(tableCheckbox)', function (data) {
+ var _index = $(data.elem).attr('table-index')||0;
+ if(data.elem.checked){
+ res.data[_index][data.value] = 'Y';
+ }else{
+ res.data[_index][data.value] = 'N';
+ }
+ });
+ }
+ });
+
+ // 鐩戝惉鎺掑簭浜嬩欢
+ table.on('sort(locMast)', function (obj) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ searchData['orderByField'] = obj.field;
+ searchData['orderByType'] = obj.type;
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: 1
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(waitPakinLog)', function (obj) {
+ var checkStatus = table.checkStatus(obj.config.id);
+ switch(obj.event) {
+ case 'addData':
+ layer.open({
+ type: 2,
+ title: '鏂板',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ content: 'waitPakinLog_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-edit', index).hide();
+ clearFormVal(layer.getChildFrame('#detail', index));
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ }
+ });
+ break;
+ case 'deleteData':
+ var data = checkStatus.data;
+ if (data.length === 0){
+ layer.msg('璇烽�夋嫨鏁版嵁');
+ } else {
+ layer.confirm('纭畾鍒犻櫎'+(data.length===1?'姝�':data.length)+'鏉℃暟鎹悧', function(){
+ $.ajax({
+ url: baseUrl+"/waitPakinLog/delete/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {param: JSON.stringify(data)},
+ method: 'POST',
+ traditional:true,
+ success: function (res) {
+ if (res.code === 200){
+ layer.closeAll();
+ tableReload(false);
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ });
+ }
+ break;
+ case 'exportData':
+ layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+ var titles=[];
+ var fields=[];
+ obj.config.cols[0].map(function (col) {
+ if (col.type === 'normal' && col.hide === false && col.toolbar == null) {
+ titles.push(col.title);
+ fields.push(col.field);
+ }
+ });
+ var exportData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ exportData[this.name] = this.value;
+ });
+ var param = {
+ 'waitPakinLog': exportData,
+ 'fields': fields
+ };
+ $.ajax({
+ url: baseUrl+"/waitPakinLog/export/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ layer.closeAll();
+ if (res.code === 200) {
+ table.exportFile(titles,res.data,'xls');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ });
+ });
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(waitPakinLog)', function(obj){
+ var data = obj.data;
+ switch (obj.event) {
+ // 璇︽儏
+ case 'detail':
+ layer.open({
+ type: 2,
+ title: '璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: true,
+ content: 'waitPakinLog_detail.html',
+ success: function(layero, index){
+ setFormVal(layer.getChildFrame('#detail', index), data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+ // 缂栬緫
+ case 'edit':
+ layer.open({
+ type: 2,
+ title: '淇敼',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ content: 'waitPakinLog_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-save', index).hide();
+ setFormVal(layer.getChildFrame('#detail', index), data, false);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), false);
+ top.convertDisabled(layer.getChildFrame('#id', index), true);
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+ case 'modiUser':
+ var param = top.reObject(data).modiUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '淇敼浜哄憳璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: true,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: "baseUrl+/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+ case 'appeUser':
+ var param = top.reObject(data).appeUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '鍒涘缓鑰呰鎯�',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: true,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: "baseUrl+/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+
+ }
+ });
+
+ // 鏁版嵁淇濆瓨鍔ㄤ綔
+ form.on('submit(save)', function () {
+ if (banMsg != null){
+ layer.msg(banMsg);
+ return;
+ }
+ method("add");
+ });
+
+ // 鏁版嵁淇敼鍔ㄤ綔
+ form.on('submit(edit)', function () {
+ method("update")
+ });
+
+ function method(name){
+ var index = layer.load(1, {
+ shade: [0.5,'#000'] //0.1閫忔槑搴︾殑鑳屾櫙
+ });
+ var data = {
+// id: $('#id').val(),
+ id: $('#id').val(),
+ pakinId: $('#pakinId').val(),
+ barcode: $('#barcode').val(),
+ matnr: $('#matnr').val(),
+ maktx: $('#maktx').val(),
+ anfme: $('#anfme').val(),
+ unit: $('#unit').val(),
+ status: $('#status').val(),
+ memo: $('#memo').val(),
+ modiTime: top.strToDate($('#modiTime\\$').val()),
+ modiUser: $('#modiUser').val(),
+ appeTime: top.strToDate($('#appeTime\\$').val()),
+ appeUser: $('#appeUser').val(),
+
+ };
+ $.ajax({
+ url: baseUrl+"/waitPakinLog/"+name+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: top.reObject(data),
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ parent.layer.closeAll();
+ parent.$(".layui-laypage-btn")[0].click();
+ $("#data-detail :input").each(function () {
+ $(this).val("");
+ });
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ layer.close(index);
+ }
+ })
+ }
+
+ // 澶嶉�夋浜嬩欢
+ form.on('checkbox(detailCheckbox)', function (data) {
+ var el = data.elem;
+ if (el.checked) {
+ $(el).val('Y');
+ } else {
+ $(el).val('N');
+ }
+ });
+
+ // 鎼滅储鏍忔悳绱簨浠�
+ form.on('submit(search)', function (data) {
+ pageCurr = 1;
+ tableReload(false);
+ });
+
+ // 鎼滅储鏍忛噸缃簨浠�
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ tableReload(false);
+ });
+
+ // 鏃堕棿閫夋嫨鍣�
+ layDate.render({
+ elem: '#modiTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#appeTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '.layui-laydate-range'
+ ,type: 'datetime'
+ ,range: true
+ });
+
+});
+
+// 鍏抽棴鍔ㄤ綔
+$(document).on('click','#data-detail-close', function () {
+ parent.layer.closeAll();
+});
+
+function tableReload(child) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ (child ? parent.tableIns : tableIns).reload({
+ where: searchData,
+ page: {
+ curr: pageCurr
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ if (res.data.length === 0 && count !== 0) {
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: pageCurr-1
+ }
+ });
+ pageCurr -= 1;
+ }
+ limit(child);
+ }
+ });
+}
+
+function setFormVal(el, data, showImg) {
+ for (var val in data) {
+ var find = el.find(":input[id='" + val + "']");
+ if (find[0]!=null){
+ if (find[0].type === 'checkbox'){
+ if (data[val]==='Y'){
+ find.attr("checked","checked");
+ find.val('Y');
+ } else {
+ find.remove("checked");
+ find.val('N');
+ }
+ continue;
+ }
+ }
+ find.val(data[val]);
+ if (showImg){
+ var next = find.next();
+ if (next.get(0)){
+ if (next.get(0).localName === "img") {
+ find.hide();
+ next.attr("src", data[val]);
+ next.show();
+ }
+ }
+ }
+ }
+}
+
+function clearFormVal(el) {
+ $(':input', el)
+ .val('')
+ .removeAttr('checked')
+ .removeAttr('selected');
+}
+
+function detailScreen(index) {
+ var detail = layer.getChildFrame('#data-detail', index);
+ var height = detail.height()+60;
+ if (height > ($(window).height()*0.9)) {
+ height = ($(window).height()*0.8);
+ }
+ layer.style(index, {
+// top: (($(window).height()-height)/3)+"px",
+ height: height+'px'
+ });
+}
+
+$('body').keydown(function () {
+ if (event.keyCode === 13) {
+ $("#search").click();
+ }
+});
diff --git a/src/main/webapp/static/wms/js/wrkDetl/wrkDetl.js b/src/main/webapp/static/wms/js/wrkDetl/wrkDetl.js
new file mode 100644
index 0000000..cf5dd90
--- /dev/null
+++ b/src/main/webapp/static/wms/js/wrkDetl/wrkDetl.js
@@ -0,0 +1,486 @@
+var pageCurr;
+function getCol() {
+ var cols = [
+ {field: 'wrkNo', align: 'center',title: '宸ヤ綔鍙�'}
+ ,{field: 'ioTime$', align: 'center',title: '宸ヤ綔鏃堕棿', width: 160}
+ ];
+ cols.push.apply(cols, detlCols);
+ cols.push({field: 'modiUser$', align: 'center',title: '淇敼浜哄憳', hide:true}
+ ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿', hide:true})
+ return cols;
+}
+
+layui.use(['table','laydate', 'form'], function(){
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#wrkDetl',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/wrkDetl/list/auth',
+ page: true,
+ limit: 16,
+ limits: [16, 30, 50, 100, 200, 500],
+ even: true,
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ cols: [getCol()],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ form.on('checkbox(tableCheckbox)', function (data) {
+ var _index = $(data.elem).attr('table-index')||0;
+ if(data.elem.checked){
+ res.data[_index][data.value] = 'Y';
+ }else{
+ res.data[_index][data.value] = 'N';
+ }
+ });
+ }
+ });
+
+ // 鐩戝惉鎺掑簭浜嬩欢
+ table.on('sort(locMast)', function (obj) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ searchData['orderByField'] = obj.field;
+ searchData['orderByType'] = obj.type;
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: 1
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(wrkDetl)', function (obj) {
+ var checkStatus = table.checkStatus(obj.config.id);
+ switch(obj.event) {
+ case 'addData':
+ layer.open({
+ type: 2,
+ title: '鏂板',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: 'wrkDetl_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-edit', index).hide();
+ clearFormVal(layer.getChildFrame('#detail', index));
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ }
+ });
+ break;
+ case 'refreshData':
+ tableIns.reload({
+ page: {
+ curr: pageCurr
+ }
+ });
+ limit();
+ break;
+ case 'deleteData':
+ var data = checkStatus.data;
+ if (data.length === 0){
+ layer.msg('璇烽�夋嫨鏁版嵁');
+ } else {
+ layer.confirm('纭畾鍒犻櫎'+(data.length===1?'姝�':data.length)+'鏉℃暟鎹悧', function(){
+ $.ajax({
+ url: baseUrl+"/wrkDetl/delete/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {param: JSON.stringify(data)},
+ method: 'POST',
+ traditional:true,
+ success: function (res) {
+ if (res.code === 200){
+ layer.closeAll();
+ tableReload(false);
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ });
+ }
+ break;
+ case 'exportData':
+ layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+ var titles=[];
+ var fields=[];
+ obj.config.cols[0].map(function (col) {
+ if (col.type === 'normal' && col.hide === false && col.toolbar == null) {
+ titles.push(col.title);
+ fields.push(col.field);
+ }
+ });
+ var exportData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ exportData[this.name] = this.value;
+ });
+ var param = {
+ 'wrkDetl': exportData,
+ 'fields': fields
+ };
+ $.ajax({
+ url: baseUrl+"/wrkDetl/export/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ layer.closeAll();
+ if (res.code === 200) {
+ table.exportFile(titles,res.data,'xls');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ });
+ });
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(wrkDetl)', function(obj){
+ var data = obj.data;
+ switch (obj.event) {
+ // 璇︽儏
+ case 'detail':
+ layer.open({
+ type: 2,
+ title: '璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: true,
+ content: 'wrkDetl_detail.html',
+ success: function(layero, index){
+ setFormVal(layer.getChildFrame('#detail', index), data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+ // 缂栬緫
+ case 'edit':
+ layer.open({
+ type: 2,
+ title: '淇敼',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: 'wrkDetl_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-save', index).hide();
+ setFormVal(layer.getChildFrame('#detail', index), data, false);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), false);
+ top.convertDisabled(layer.getChildFrame('', index), true);
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+ case 'modiUser':
+ var param = top.reObject(data).modiUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '淇敼浜哄憳璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+ case 'appeUser':
+ var param = top.reObject(data).appeUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '鍒涘缓鑰呰鎯�',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+
+ }
+ });
+
+ // 鏁版嵁淇濆瓨鍔ㄤ綔
+ form.on('submit(save)', function () {
+ if (banMsg != null){
+ layer.msg(banMsg);
+ return;
+ }
+ method("add");
+ });
+
+ // 鏁版嵁淇敼鍔ㄤ綔
+ form.on('submit(edit)', function () {
+ method("update")
+ });
+
+ function method(name){
+ var index = layer.load(1, {
+ shade: [0.5,'#000'] //0.1閫忔槑搴︾殑鑳屾櫙
+ });
+ var data = {
+// id: $('#id').val(),
+ wrkNo: $('#wrkNo').val(),
+ ioTime: top.strToDate($('#ioTime\\$').val()),
+ matnr: $('#matnr').val(),
+ lgnum: $('#lgnum').val(),
+ tbnum: $('#tbnum').val(),
+ tbpos: $('#tbpos').val(),
+ zmatid: $('#zmatid').val(),
+ maktx: $('#maktx').val(),
+ werks: $('#werks').val(),
+ anfme: $('#anfme').val(),
+ altme: $('#altme').val(),
+ zpallet: $('#zpallet').val(),
+ bname: $('#bname').val(),
+ memo: $('#memo').val(),
+ modiUser: $('#modiUser').val(),
+ modiTime: top.strToDate($('#modiTime\\$').val()),
+ appeUser: $('#appeUser').val(),
+ appeTime: top.strToDate($('#appeTime\\$').val()),
+ nista: $('#nista').val(),
+
+ };
+ $.ajax({
+ url: baseUrl+"/wrkDetl/"+name+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: top.reObject(data),
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ parent.layer.closeAll();
+ parent.$(".layui-laypage-btn")[0].click();
+ $("#data-detail :input").each(function () {
+ $(this).val("");
+ });
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ layer.close(index);
+ }
+ })
+ }
+
+ // 澶嶉�夋浜嬩欢
+ form.on('checkbox(detailCheckbox)', function (data) {
+ var el = data.elem;
+ if (el.checked) {
+ $(el).val('Y');
+ } else {
+ $(el).val('N');
+ }
+ });
+
+ // 鎼滅储鏍忔悳绱簨浠�
+ form.on('submit(search)', function (data) {
+ pageCurr = 1;
+ tableReload(false);
+ });
+
+ // 鎼滅储鏍忛噸缃簨浠�
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ tableReload(false);
+ });
+
+ // 鏃堕棿閫夋嫨鍣�
+ layDate.render({
+ elem: '#ioTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#modiTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#appeTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '.layui-laydate-range'
+ ,type: 'datetime'
+ ,range: true
+ });
+
+});
+
+// 鍏抽棴鍔ㄤ綔
+$(document).on('click','#data-detail-close', function () {
+ parent.layer.closeAll();
+});
+
+function tableReload(child) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ (child ? parent.tableIns : tableIns).reload({
+ where: searchData,
+ page: {
+ curr: pageCurr
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ if (res.data.length === 0 && count !== 0) {
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: pageCurr-1
+ }
+ });
+ pageCurr -= 1;
+ }
+ limit(child);
+ }
+ });
+}
+
+function setFormVal(el, data, showImg) {
+ for (var val in data) {
+ var find = el.find(":input[id='" + val + "']");
+ if (find[0]!=null){
+ if (find[0].type === 'checkbox'){
+ if (data[val]==='Y'){
+ find.attr("checked","checked");
+ find.val('Y');
+ } else {
+ find.remove("checked");
+ find.val('N');
+ }
+ continue;
+ }
+ }
+ find.val(data[val]);
+ if (showImg){
+ var next = find.next();
+ if (next.get(0)){
+ if (next.get(0).localName === "img") {
+ find.hide();
+ next.attr("src", data[val]);
+ next.show();
+ }
+ }
+ }
+ }
+}
+
+function detailScreen(index) {
+ var detail = layer.getChildFrame('#data-detail', index);
+ var height = detail.height()+60;
+ if (height > ($(window).height()*0.9)) {
+ height = ($(window).height()*0.8);
+ }
+ layer.style(index, {
+// top: (($(window).height()-height)/3)+"px",
+ height: height+'px'
+ });
+}
+
+$('body').keydown(function () {
+ if (event.keyCode === 13) {
+ $("#search").click();
+ }
+});
diff --git a/src/main/webapp/static/wms/js/wrkDetlLog/wrkDetlLog.js b/src/main/webapp/static/wms/js/wrkDetlLog/wrkDetlLog.js
new file mode 100644
index 0000000..c4a776a
--- /dev/null
+++ b/src/main/webapp/static/wms/js/wrkDetlLog/wrkDetlLog.js
@@ -0,0 +1,484 @@
+var pageCurr;
+function getCol() {
+ var cols = [
+ {field: 'wrkNo', align: 'center',title: '宸ヤ綔鍙�'}
+ ,{field: 'ioTime$', align: 'center',title: '宸ヤ綔鏃堕棿'}
+ ];
+ cols.push.apply(cols, detlCols);
+ cols.push({field: 'modiUser$', align: 'center',title: '淇敼浜哄憳',hide: true}
+ ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿',hide: true}
+ )
+ return cols;
+}
+
+layui.use(['table','laydate', 'form'], function(){
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#wrkDetlLog',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/wrkDetlLog/list/auth',
+ page: true,
+ limit: 16,
+ limits: [16, 30, 50, 100, 200, 500],
+ even: true,
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ cols: [getCol()],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ form.on('checkbox(tableCheckbox)', function (data) {
+ var _index = $(data.elem).attr('table-index')||0;
+ if(data.elem.checked){
+ res.data[_index][data.value] = 'Y';
+ }else{
+ res.data[_index][data.value] = 'N';
+ }
+ });
+ }
+ });
+
+ // 鐩戝惉鎺掑簭浜嬩欢
+ table.on('sort(locMast)', function (obj) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ searchData['orderByField'] = obj.field;
+ searchData['orderByType'] = obj.type;
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: 1
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(wrkDetlLog)', function (obj) {
+ var checkStatus = table.checkStatus(obj.config.id);
+ switch(obj.event) {
+ case 'addData':
+ layer.open({
+ type: 2,
+ title: '鏂板',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ content: 'wrkDetlLog_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-edit', index).hide();
+ clearFormVal(layer.getChildFrame('#detail', index));
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ }
+ });
+ break;
+ case 'deleteData':
+ var data = checkStatus.data;
+ if (data.length === 0){
+ layer.msg('璇烽�夋嫨鏁版嵁');
+ } else {
+ layer.confirm('纭畾鍒犻櫎'+(data.length===1?'姝�':data.length)+'鏉℃暟鎹悧', function(){
+ $.ajax({
+ url: baseUrl+"/wrkDetlLog/delete/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {param: JSON.stringify(data)},
+ method: 'POST',
+ traditional:true,
+ success: function (res) {
+ if (res.code === 200){
+ layer.closeAll();
+ tableReload(false);
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ });
+ }
+ break;
+ case 'exportData':
+ layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+ var titles=[];
+ var fields=[];
+ obj.config.cols[0].map(function (col) {
+ if (col.type === 'normal' && col.hide === false && col.toolbar == null) {
+ titles.push(col.title);
+ fields.push(col.field);
+ }
+ });
+ var exportData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ exportData[this.name] = this.value;
+ });
+ var param = {
+ 'wrkDetlLog': exportData,
+ 'fields': fields
+ };
+ $.ajax({
+ url: baseUrl+"/wrkDetlLog/export/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ layer.closeAll();
+ if (res.code === 200) {
+ table.exportFile(titles,res.data,'xls');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ });
+ });
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(wrkDetlLog)', function(obj){
+ var data = obj.data;
+ switch (obj.event) {
+ // 璇︽儏
+ case 'detail':
+ layer.open({
+ type: 2,
+ title: '璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: true,
+ content: 'wrkDetlLog_detail.html',
+ success: function(layero, index){
+ setFormVal(layer.getChildFrame('#detail', index), data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+ // 缂栬緫
+ case 'edit':
+ layer.open({
+ type: 2,
+ title: '淇敼',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ content: 'wrkDetlLog_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-save', index).hide();
+ setFormVal(layer.getChildFrame('#detail', index), data, false);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), false);
+ top.convertDisabled(layer.getChildFrame('', index), true);
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+ case 'modiUser':
+ var param = top.reObject(data).modiUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '淇敼浜哄憳璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: true,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: "baseUrl+/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+ case 'appeUser':
+ var param = top.reObject(data).appeUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '鍒涘缓鑰呰鎯�',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: true,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: "baseUrl+/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+
+ }
+ });
+
+ // 鏁版嵁淇濆瓨鍔ㄤ綔
+ form.on('submit(save)', function () {
+ if (banMsg != null){
+ layer.msg(banMsg);
+ return;
+ }
+ method("add");
+ });
+
+ // 鏁版嵁淇敼鍔ㄤ綔
+ form.on('submit(edit)', function () {
+ method("update")
+ });
+
+ function method(name){
+ var index = layer.load(1, {
+ shade: [0.5,'#000'] //0.1閫忔槑搴︾殑鑳屾櫙
+ });
+ var data = {
+// id: $('#id').val(),
+ wrkNo: $('#wrkNo').val(),
+ ioTime: top.strToDate($('#ioTime\\$').val()),
+ matnr: $('#matnr').val(),
+ lgnum: $('#lgnum').val(),
+ tbnum: $('#tbnum').val(),
+ tbpos: $('#tbpos').val(),
+ zmatid: $('#zmatid').val(),
+ maktx: $('#maktx').val(),
+ werks: $('#werks').val(),
+ anfme: $('#anfme').val(),
+ altme: $('#altme').val(),
+ zpallet: $('#zpallet').val(),
+ bname: $('#bname').val(),
+ memo: $('#memo').val(),
+ modiUser: $('#modiUser').val(),
+ modiTime: top.strToDate($('#modiTime\\$').val()),
+ appeUser: $('#appeUser').val(),
+ appeTime: top.strToDate($('#appeTime\\$').val()),
+ nista: $('#nista').val(),
+
+ };
+ $.ajax({
+ url: baseUrl+"/wrkDetlLog/"+name+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: top.reObject(data),
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ parent.layer.closeAll();
+ parent.$(".layui-laypage-btn")[0].click();
+ $("#data-detail :input").each(function () {
+ $(this).val("");
+ });
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ layer.close(index);
+ }
+ })
+ }
+
+ // 澶嶉�夋浜嬩欢
+ form.on('checkbox(detailCheckbox)', function (data) {
+ var el = data.elem;
+ if (el.checked) {
+ $(el).val('Y');
+ } else {
+ $(el).val('N');
+ }
+ });
+
+ // 鎼滅储鏍忔悳绱簨浠�
+ form.on('submit(search)', function (data) {
+ pageCurr = 1;
+ tableReload(false);
+ });
+
+ // 鎼滅储鏍忛噸缃簨浠�
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ tableReload(false);
+ });
+
+ // 鏃堕棿閫夋嫨鍣�
+ layDate.render({
+ elem: '#ioTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#modiTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#appeTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '.layui-laydate-range'
+ ,type: 'datetime'
+ ,range: true
+ });
+
+});
+
+// 鍏抽棴鍔ㄤ綔
+$(document).on('click','#data-detail-close', function () {
+ parent.layer.closeAll();
+});
+
+function tableReload(child) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ (child ? parent.tableIns : tableIns).reload({
+ where: searchData,
+ page: {
+ curr: pageCurr
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ if (res.data.length === 0 && count !== 0) {
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: pageCurr-1
+ }
+ });
+ pageCurr -= 1;
+ }
+ limit(child);
+ }
+ });
+}
+
+function setFormVal(el, data, showImg) {
+ for (var val in data) {
+ var find = el.find(":input[id='" + val + "']");
+ if (find[0]!=null){
+ if (find[0].type === 'checkbox'){
+ if (data[val]==='Y'){
+ find.attr("checked","checked");
+ find.val('Y');
+ } else {
+ find.remove("checked");
+ find.val('N');
+ }
+ continue;
+ }
+ }
+ find.val(data[val]);
+ if (showImg){
+ var next = find.next();
+ if (next.get(0)){
+ if (next.get(0).localName === "img") {
+ find.hide();
+ next.attr("src", data[val]);
+ next.show();
+ }
+ }
+ }
+ }
+}
+
+function clearFormVal(el) {
+ $(':input', el)
+ .val('')
+ .removeAttr('checked')
+ .removeAttr('selected');
+}
+
+function detailScreen(index) {
+ var detail = layer.getChildFrame('#data-detail', index);
+ var height = detail.height()+60;
+ if (height > ($(window).height()*0.9)) {
+ height = ($(window).height()*0.8);
+ }
+ layer.style(index, {
+// top: (($(window).height()-height)/3)+"px",
+ height: height+'px'
+ });
+}
+
+$('body').keydown(function () {
+ if (event.keyCode === 13) {
+ $("#search").click();
+ }
+});
diff --git a/src/main/webapp/static/wms/js/wrkLastno/wrkLastno.js b/src/main/webapp/static/wms/js/wrkLastno/wrkLastno.js
new file mode 100644
index 0000000..97e1769
--- /dev/null
+++ b/src/main/webapp/static/wms/js/wrkLastno/wrkLastno.js
@@ -0,0 +1,475 @@
+var pageCurr;
+layui.use(['table','laydate', 'form'], function(){
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#wrkLastno',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/wrkLastno/list/auth',
+ page: true,
+ limit: 16,
+ limits: [16, 30, 50, 100, 200, 500],
+ even: true,
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ cols: [[
+ {type: 'checkbox', fixed: 'left'}
+ ,{field: 'wrkMk', align: 'center',title: '绫诲瀷'}
+ ,{field: 'sno', align: 'center',title: '璧峰ID'}
+ ,{field: 'wrkNo', align: 'center',title: '褰撳墠ID', style: 'color: #AA3130;font-weight: bold'}
+ ,{field: 'eno', align: 'center',title: '缁堟ID'}
+ ,{field: 'memoM', align: 'center',title: '澶囨敞'}
+ ,{field: 'modiUser$', align: 'center',title: '淇敼浜哄憳'}
+ ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿'}
+ ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate'}
+ ]],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ form.on('checkbox(tableCheckbox)', function (data) {
+ var _index = $(data.elem).attr('table-index')||0;
+ if(data.elem.checked){
+ res.data[_index][data.value] = 'Y';
+ }else{
+ res.data[_index][data.value] = 'N';
+ }
+ });
+ }
+ });
+
+ // 鐩戝惉鎺掑簭浜嬩欢
+ table.on('sort(wrkLastno)', function (obj) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ searchData['orderByField'] = obj.field;
+ searchData['orderByType'] = obj.type;
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: 1
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(wrkLastno)', function (obj) {
+ var checkStatus = table.checkStatus(obj.config.id);
+ switch(obj.event) {
+ case 'addData':
+ layer.open({
+ type: 2,
+ title: '鏂板',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: 'wrkLastno_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-edit', index).hide();
+ clearFormVal(layer.getChildFrame('#detail', index));
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ }
+ });
+ break;
+ case 'refreshData':
+ tableIns.reload({
+ page: {
+ curr: pageCurr
+ }
+ });
+ limit();
+ break;
+ case 'deleteData':
+ var data = checkStatus.data;
+ if (data.length === 0){
+ layer.msg('璇烽�夋嫨鏁版嵁');
+ } else {
+ layer.confirm('纭畾鍒犻櫎'+(data.length===1?'姝�':data.length)+'鏉℃暟鎹悧', function(){
+ $.ajax({
+ url: baseUrl+"/wrkLastno/delete/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {param: JSON.stringify(data)},
+ method: 'POST',
+ traditional:true,
+ success: function (res) {
+ if (res.code === 200){
+ layer.closeAll();
+ tableReload(false);
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ });
+ }
+ break;
+ case 'exportData':
+ layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+ var titles=[];
+ var fields=[];
+ obj.config.cols[0].map(function (col) {
+ if (col.type === 'normal' && col.hide === false && col.toolbar == null) {
+ titles.push(col.title);
+ fields.push(col.field);
+ }
+ });
+ var exportData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ exportData[this.name] = this.value;
+ });
+ var param = {
+ 'wrkLastno': exportData,
+ 'fields': fields
+ };
+ $.ajax({
+ url: baseUrl+"/wrkLastno/export/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ layer.closeAll();
+ if (res.code === 200) {
+ table.exportFile(titles,res.data,'xls');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ });
+ });
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(wrkLastno)', function(obj){
+ var data = obj.data;
+ switch (obj.event) {
+ // 璇︽儏
+ case 'detail':
+ layer.open({
+ type: 2,
+ title: '璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: 'wrkLastno_detail.html',
+ success: function(layero, index){
+ setFormVal(layer.getChildFrame('#detail', index), data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+ // 缂栬緫
+ case 'edit':
+ layer.open({
+ type: 2,
+ title: '淇敼',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: 'wrkLastno_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-save', index).hide();
+ setFormVal(layer.getChildFrame('#detail', index), data, false);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), false);
+ top.convertDisabled(layer.getChildFrame('#wrkMk', index), true);
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ }
+ });
+ break;
+ case 'modiUser':
+ var param = top.reObject(data).modiUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '淇敼璇︽儏',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#password,#createTime\\$,#status', index).parent().parent().hide();
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.getChildFrame('##dealDownLine', index).hide();layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+ case 'appeUser':
+ var param = top.reObject(data).appeUser;
+ if (param === undefined) {
+ layer.msg("鏃犳暟鎹�");
+ } else {
+ layer.open({
+ type: 2,
+ title: '鍒涜鎯�',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: '../user/user_detail.html',
+ success: function(layero, index){
+ $.ajax({
+ url: baseUrl+"/user/"+ param +"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ setFormVal(layer.getChildFrame('#detail', index), res.data, true);
+ top.convertDisabled(layer.getChildFrame('#data-detail :input', index), true);
+ layer.getChildFrame('#data-detail-submit-save,#data-detail-submit-edit,#prompt', index).hide();
+ layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ layero.find('iframe')[0].contentWindow.layui.form.render('select');
+ layero.find('iframe')[0].contentWindow.layui.form.render('checkbox');
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ }
+ });
+ }
+ break;
+
+ }
+ });
+
+ // 鏁版嵁淇濆瓨鍔ㄤ綔
+ form.on('submit(save)', function () {
+ if (banMsg != null){
+ layer.msg(banMsg);
+ return;
+ }
+ method("add");
+ });
+
+ // 鏁版嵁淇敼鍔ㄤ綔
+ form.on('submit(edit)', function () {
+ method("update")
+ });
+
+ function method(name){
+ var index = layer.load(1, {
+ shade: [0.5,'#000'] //0.1閫忔槑搴︾殑鑳屾櫙
+ });
+ var data = {
+// id: $('#id').val(),
+ wrkMk: $('#wrkMk').val(),
+ wrkNo: $('#wrkNo').val(),
+ modiUser: $('#modiUser').val(),
+ modiTime: top.strToDate($('#modiTime\\$').val()),
+ appeUser: $('#appeUser').val(),
+ appeTime: top.strToDate($('#appeTime\\$').val()),
+ sNo: $('#sno').val(),
+ eNo: $('#eno').val(),
+ memoM: $('#memoM').val(),
+
+ };
+ $.ajax({
+ url: baseUrl+"/wrkLastno/"+name+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: top.reObject(data),
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ parent.layer.closeAll();
+ parent.$(".layui-laypage-btn")[0].click();
+ $("#data-detail :input").each(function () {
+ $(this).val("");
+ });
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ layer.close(index);
+ }
+ })
+ }
+
+ // 澶嶉�夋浜嬩欢
+ form.on('checkbox(detailCheckbox)', function (data) {
+ var el = data.elem;
+ if (el.checked) {
+ $(el).val('Y');
+ } else {
+ $(el).val('N');
+ }
+ });
+
+ // 鎼滅储鏍忔悳绱簨浠�
+ form.on('submit(search)', function (data) {
+ pageCurr = 1;
+ tableReload(false);
+ });
+
+ // 鎼滅储鏍忛噸缃簨浠�
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ tableReload(false);
+ });
+
+ // 鏃堕棿閫夋嫨鍣�
+ layDate.render({
+ elem: '#modiTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#appeTime\\$',
+ type: 'datetime'
+ });
+
+
+});
+
+// 鍏抽棴鍔ㄤ綔
+$(document).on('click','#data-detail-close', function () {
+ parent.layer.closeAll();
+});
+
+function tableReload(child) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ (child ? parent.tableIns : tableIns).reload({
+ where: searchData,
+ page: {
+ curr: pageCurr
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ if (res.data.length === 0 && count !== 0) {
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: pageCurr-1
+ }
+ });
+ pageCurr -= 1;
+ }
+ limit(child);
+ }
+ });
+}
+
+function setFormVal(el, data, showImg) {
+ for (var val in data) {
+ var find = el.find(":input[id='" + val + "']");
+ if (find[0]!=null){
+ if (find[0].type === 'checkbox'){
+ if (data[val]==='Y'){
+ find.attr("checked","checked");
+ find.val('Y');
+ } else {
+ find.remove("checked");
+ find.val('N');
+ }
+ continue;
+ }
+ }
+ find.val(data[val]);
+ if (showImg){
+ var next = find.next();
+ if (next.get(0)){
+ if (next.get(0).localName === "img") {
+ find.hide();
+ next.attr("src", data[val]);
+ next.show();
+ }
+ }
+ }
+ }
+}
+
+function clearFormVal(el) {
+ $(':input', el)
+ .val('')
+ .removeAttr('checked')
+ .removeAttr('selected');
+}
+
+function detailScreen(index) {
+ var detail = layer.getChildFrame('#data-detail', index);
+ var height = detail.height()+60;
+ if (height > ($(window).height()*0.9)) {
+ height = ($(window).height()*0.8);
+ }
+ layer.style(index, {
+// top: (($(window).height()-height)/3)+"px",
+ height: height+'px'
+ });
+}
+
+$('body').keydown(function () {
+ if (event.keyCode === 13) {
+ $("#search").click();
+ }
+});
diff --git a/src/main/webapp/static/wms/js/wrkMast/wrkMast.js b/src/main/webapp/static/wms/js/wrkMast/wrkMast.js
new file mode 100644
index 0000000..fe33064
--- /dev/null
+++ b/src/main/webapp/static/wms/js/wrkMast/wrkMast.js
@@ -0,0 +1,686 @@
+var pageCurr;
+var wrkNo;
+layui.use(['table','laydate', 'form'], function(){
+ var table = layui.table;
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var layDate = layui.laydate;
+ var form = layui.form;
+
+ // 鏁版嵁娓叉煋
+ tableIns = table.render({
+ elem: '#wrkMast',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/wrkMast/list/auth',
+ page: true,
+ limit: 16,
+ limits: [16, 30, 50, 100, 200, 500],
+ even: true,
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ cols: [[
+ {type: 'checkbox'}
+ ,{field: 'wrkNo', align: 'center',title: '宸ヤ綔鍙�',sort: true, width: 85}
+ ,{field: 'ioTime$', align: 'center',title: '宸ヤ綔鏃堕棿',sort: true, width: 160}
+ ,{field: 'wrkSts$', align: 'center',title: '宸ヤ綔鐘舵��'}
+ ,{field: 'ioType$', align: 'center',title: '鍏ュ嚭搴撶被鍨�'}
+ ,{field: 'ioPri', align: 'center',title: '浼樺厛绾�'}
+ ,{field: 'crnNo$', align: 'center',title: '鍫嗗灈鏈�'}
+ ,{field: 'sourceStaNo$', align: 'center',title: '婧愮珯'}
+ ,{field: 'staNo$', align: 'center',title: '鐩爣绔�'}
+ ,{field: 'sourceLocNo$', align: 'center',title: '婧愬簱浣�'}
+ ,{field: 'locNo$', align: 'center',title: '鐩爣搴撲綅'}
+ ,{field: 'barcode', align: 'center',title: '鏉$爜'}
+ ,{field: 'preHave', align: 'center',title: '鍏堝叆鍝�', hide: true}
+ ,{field: 'takeNone', align: 'center',title: '绌烘搷浣�', hide: true}
+ // ,{field: 'picking', align: 'center',title: '鎷f枡', templet:function(row){
+ // var html = "<input value='picking' type='checkbox' lay-skin='primary' lay-filter='tableCheckbox' table-index='"+row.LAY_TABLE_INDEX+"'";
+ // if(row.picking === 'Y'){html += " checked ";}
+ // html += ">";
+ // return html;
+ // }}
+ // ,{field: 'exitMk', align: 'center',title: '閫�鍑�', templet:function(row){
+ // var html = "<input value='exitMk' type='checkbox' lay-skin='primary' lay-filter='tableCheckbox' table-index='"+row.LAY_TABLE_INDEX+"'";
+ // if(row.exitMk === 'Y'){html += " checked ";}
+ // html += ">";
+ // return html;
+ // }}
+ // ,{field: 'emptyMk', align: 'center',title: '绌烘澘', templet:function(row){
+ // var html = "<input value='emptyMk' type='checkbox' lay-skin='primary' lay-filter='tableCheckbox' table-index='"+row.LAY_TABLE_INDEX+"'";
+ // if(row.emptyMk === 'Y'){html += " checked ";}
+ // html += ">";
+ // return html;
+ // }}
+ //
+ // ,{field: 'crnStrTime$', align: 'center',title: '鍫嗗灈鏈哄惎鍔ㄦ椂闂�'}
+ // ,{field: 'crnEndTime$', align: 'center',title: '鍫嗗灈鏈哄仠姝㈡椂闂�'}
+ // ,{field: 'refIotime$', align: 'center',title: '鎷f枡鏃堕棿'}
+ ,{field: 'modiUser$', align: 'center',title: '淇敼浜哄憳', hide:true}
+ ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿', hide:true, width: 160}
+ // ,{field: 'memo', align: 'center',title: '澶囨敞'}
+ //
+ // ,{field: 'fullPlt', align: 'center',title: '婊℃澘', templet:function(row){
+ // var html = "<input value='fullPlt' type='checkbox' lay-skin='primary' lay-filter='tableCheckbox' table-index='"+row.LAY_TABLE_INDEX+"'";
+ // if(row.fullPlt === 'Y'){html += " checked ";}
+ // html += ">";
+ // return html;
+ // }}
+
+ ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:250}
+ ]],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ form.on('checkbox(tableCheckbox)', function (data) {
+ var _index = $(data.elem).attr('table-index')||0;
+ if(data.elem.checked){
+ res.data[_index][data.value] = 'Y';
+ }else{
+ res.data[_index][data.value] = 'N';
+ }
+ });
+ }
+ });
+
+ // 鐩戝惉鎺掑簭浜嬩欢
+ table.on('sort(wrkMast)', function (obj) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ searchData['orderByField'] = obj.field;
+ searchData['orderByType'] = obj.type;
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: 1
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ limit();
+ }
+ });
+ });
+
+ // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+ table.on('toolbar(wrkMast)', function (obj) {
+ var checkStatus = table.checkStatus(obj.config.id);
+ switch(obj.event) {
+ // 澧炲姞浼樺厛绾�
+ case 'priAdd':
+ var list=[];
+ checkStatus.data.map(function (track) {
+ list.push({
+ wrkNo: track.wrkNo,
+ ioTime: track.ioTime,
+ ioPri: track.ioPri
+ });
+ });
+ $.ajax({
+ url: baseUrl+"/wrkMast/add/pri/auth",
+ headers: {'token': localStorage.getItem('token')},
+ contentType:'application/json;charset=UTF-8',
+ data: JSON.stringify(list),
+ method: 'POST',
+ traditional:true,
+ success: function (res) {
+ layer.closeAll();
+ if (res.code === 200){
+ $(".layui-laypage-btn")[0].click();
+ layer.msg(res.msg);
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ break;
+ // 闄嶄綆浼樺厛绾�
+ case 'priRed':
+ var list=[];
+ checkStatus.data.map(function (track) {
+ list.push({
+ wrkNo: track.wrkNo,
+ ioTime: track.ioTime,
+ ioPri: track.ioPri
+ });
+ });
+ $.ajax({
+ url: baseUrl+"/wrkMast/red/pri/auth",
+ headers: {'token': localStorage.getItem('token')},
+ contentType:'application/json;charset=UTF-8',
+ data: JSON.stringify(list),
+ method: 'POST',
+ traditional:true,
+ success: function (res) {
+ layer.closeAll();
+ if (res.code === 200){
+ $(".layui-laypage-btn")[0].click();
+ layer.msg(res.msg);
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ break;
+ case 'addData':
+ layer.open({
+ type: 2,
+ title: '鏂板',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: false,
+ content: 'wrkMast_detail.html',
+ success: function(layero, index){
+ layer.getChildFrame('#data-detail-submit-edit', index).hide();
+ clearFormVal(layer.getChildFrame('#detail', index));
+ layer.getChildFrame('##dealDownLine', index).hide();layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"});
+ }
+ });
+ break;
+ case 'deleteData':
+ var data = checkStatus.data;
+ if (data.length === 0){
+ layer.msg('璇烽�夋嫨鏁版嵁');
+ } else {
+ layer.confirm('纭畾鍒犻櫎'+(data.length===1?'姝�':data.length)+'鏉℃暟鎹悧', function(){
+ $.ajax({
+ url: baseUrl+"/wrkMast/delete/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {param: JSON.stringify(data)},
+ method: 'POST',
+ traditional:true,
+ success: function (res) {
+ if (res.code === 200){
+ layer.closeAll();
+ tableReload(false);
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ });
+ }
+ break;
+ case 'exportData':
+ layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+ var titles=[];
+ var fields=[];
+ obj.config.cols[0].map(function (col) {
+ if (col.type === 'normal' && col.hide === false && col.toolbar == null) {
+ titles.push(col.title);
+ fields.push(col.field);
+ }
+ });
+ var exportData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ exportData[this.name] = this.value;
+ });
+ var param = {
+ 'wrkMast': exportData,
+ 'fields': fields
+ };
+ $.ajax({
+ url: baseUrl+"/wrkMast/export/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: JSON.stringify(param),
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ layer.closeAll();
+ if (res.code === 200) {
+ table.exportFile(titles,res.data,'xls');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ });
+ });
+ break;
+ }
+ });
+
+ // 鐩戝惉琛屽伐鍏蜂簨浠�
+ table.on('tool(wrkMast)', function(obj){
+ let data = obj.data;
+ switch (obj.event) {
+ // 鏄庣粏灞曠ず
+ case 'detlShow':
+ wrkNo = data.wrkNo;
+ // 琛ㄦ牸涓嬫柟鏄剧ず
+ // locDetl(data.wrkNo);
+ // 寮瑰眰鏄剧ず
+ layer.open({
+ type: 2,
+ title: '宸ヤ綔妗f槑缁�',
+ maxmin: true,
+ area: [top.detailWidth, top.detailHeight],
+ shadeClose: true,
+ content: 'wrkDetl.html',
+ success: function(layero, index){
+ }
+ });
+ break;
+ // 瀹屾垚
+ case 'complete':
+ layer.confirm('纭瀹屾垚璇ョ瑪宸ヤ綔妗o紵', {title: '宸ヤ綔鍙凤細'+data.wrkNo, shadeClose: true}, function(){
+ http.post(baseUrl+"/hand/control/wrkMast", {workNo: data.wrkNo, type:1}, function (res) {
+ $(".layui-laypage-btn")[0].click();
+ layer.msg(data.wrkNo + res.msg);
+ })
+ layer.closeAll();
+
+ });
+ break;
+ // 鍙栨秷
+ case 'cancel':
+ if (data.pdcType === "Y") {
+ layer.confirm('褰撳墠浠诲姟鍏宠仈ERP閿�鍞崟锛屽彇娑堝皢閲嶆柊鐢熸垚鍑哄簱浣滀笟锛屾槸鍚︾户缁紵', {title: '宸ヤ綔鍙凤細'+data.wrkNo, shadeClose: true}, function(){
+ http.post(baseUrl+"/hand/control/wrkMast", {workNo: data.wrkNo, type:2}, function (res) {
+ $(".layui-laypage-btn")[0].click();
+ layer.msg(data.wrkNo + res.msg);
+ })
+ layer.closeAll();
+ });
+ } else {
+ layer.confirm('纭鍙栨秷璇ョ瑪宸ヤ綔妗o紵', {title: '宸ヤ綔鍙凤細'+data.wrkNo, shadeClose: true}, function(){
+ http.post(baseUrl+"/hand/control/wrkMast", {workNo: data.wrkNo, type:2}, function (res) {
+ $(".layui-laypage-btn")[0].click();
+ layer.msg(data.wrkNo + res.msg);
+ })
+ layer.closeAll();
+ });
+ }
+ break;
+ // 鎷f枡鍏ュ簱
+ case 'pick':
+ layer.confirm('鎷f枡鍏ュ簱璇ョ瑪宸ヤ綔妗o紵', {title: '宸ヤ綔鍙凤細'+data.wrkNo, shadeClose: true}, function(){
+ http.post(baseUrl+"/hand/control/wrkMast", {workNo: data.wrkNo, type:3}, function (res) {
+ $(".layui-laypage-btn")[0].click();
+ layer.msg(data.wrkNo + res.msg);
+ })
+ layer.closeAll();
+ });
+ break;
+ // 鍏堝叆鍝�
+ case 'preHave':
+ layer.confirm('浠诲姟鍙戠敓鍏堝叆鍝佸紓甯搞�傚闇�閲嶆柊鍏ュ簱锛岃纭繚璐х墿宸叉斁鑷冲爢鍨涙満鍑哄簱绔欙紒', {title: '宸ヤ綔鍙凤細'+data.wrkNo, shadeClose: true}, function(){
+ http.post(baseUrl+"/deal/preHave/start", {wrkNo: data.wrkNo}, function (res) {
+ $(".layui-laypage-btn")[0].click();
+ layer.msg(data.wrkNo + res.msg, {icon: 1});
+ })
+ layer.closeAll();
+ });
+ break;
+ // 绌烘搷浣�
+ case 'takeNone':
+ layer.confirm('浠诲姟鍙戦�佺┖鎿嶄綔寮傚父锛佹槸鍚︺�傘�傘�傘�傘�傘�傘�傘�傦紵', {title: '宸ヤ綔鍙凤細'+data.wrkNo, shadeClose: true}, function(){
+ });
+ break;
+ }
+ });
+
+ // 鏁版嵁淇濆瓨鍔ㄤ綔
+ form.on('submit(save)', function () {
+ if (banMsg != null){
+ layer.msg(banMsg);
+ return;
+ }
+ method("add");
+ });
+
+ // 鏁版嵁淇敼鍔ㄤ綔
+ form.on('submit(edit)', function () {
+ method("update")
+ });
+
+ function method(name){
+ var index = layer.load(1, {
+ shade: [0.5,'#000'] //0.1閫忔槑搴︾殑鑳屾櫙
+ });
+ var data = {
+ wrkNo: $('#wrkNo').val(),
+ invWh: $('#invWh').val(),
+ ymd: top.strToDate($('#ymd\\$').val()),
+ mk: $('#mk').val(),
+ whsType: $('#whsType').val(),
+ wrkSts: $('#wrkSts').val(),
+ ioType: $('#ioType').val(),
+ crnNo: $('#crnNo').val(),
+ sheetNo: $('#sheetNo').val(),
+ ioPri: $('#ioPri').val(),
+ wrkDate: top.strToDate($('#wrkDate\\$').val()),
+ locNo: $('#locNo').val(),
+ staNo: $('#staNo').val(),
+ sourceStaNo: $('#sourceStaNo').val(),
+ sourceLocNo: $('#sourceLocNo').val(),
+ locSts: $('#locSts').val(),
+ picking: $('#picking').val(),
+ linkMis: $('#linkMis').val(),
+ onlineYn: $('#onlineYn').val(),
+ updMk: $('#updMk').val(),
+ exitMk: $('#exitMk').val(),
+ pltType: $('#pltType').val(),
+ emptyMk: $('#emptyMk').val(),
+ ioTime: top.strToDate($('#ioTime\\$').val()),
+ ctnType: $('#ctnType').val(),
+ packed: $('#packed').val(),
+ oveMk: $('#oveMk').val(),
+ mtnType: $('#mtnType').val(),
+ userNo: $('#userNo').val(),
+ crnStrTime: top.strToDate($('#crnStrTime\\$').val()),
+ crnEndTime: top.strToDate($('#crnEndTime\\$').val()),
+ plcStrTime: top.strToDate($('#plcStrTime\\$').val()),
+ crnPosTime: top.strToDate($('#crnPosTime\\$').val()),
+ loadTime: $('#loadTime').val(),
+ expTime: $('#expTime').val(),
+ refWrkno: $('#refWrkno').val(),
+ refIotime: top.strToDate($('#refIotime\\$').val()),
+ modiUser: $('#modiUser').val(),
+ modiTime: top.strToDate($('#modiTime\\$').val()),
+ appeUser: $('#appeUser').val(),
+ appeTime: top.strToDate($('#appeTime\\$').val()),
+ pauseMk: $('#pauseMk').val(),
+ errorTime: top.strToDate($('#errorTime\\$').val()),
+ errorMemo: $('#errorMemo').val(),
+ ctnKind: $('#ctnKind').val(),
+ manuType: $('#manuType').val(),
+ memo: $('#memo').val(),
+ scWeight: $('#scWeight').val(),
+ logMk: $('#logMk').val(),
+ logErrTime: top.strToDate($('#logErrTime\\$').val()),
+ logErrMemo: $('#logErrMemo').val(),
+ barcode: $('#barcode').val(),
+ PdcType: $('#PdcType').val(),
+ ctnNo: $('#ctnNo').val(),
+ fullPlt: $('#fullPlt').val(),
+
+ };
+ $.ajax({
+ url: baseUrl+"/wrkMast/"+name+"/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: top.reObject(data),
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ parent.layer.closeAll();
+ parent.$(".layui-laypage-btn")[0].click();
+ $("#data-detail :input").each(function () {
+ $(this).val("");
+ });
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ }else {
+ layer.msg(res.msg)
+ }
+ layer.close(index);
+ }
+ })
+ }
+
+ // 澶嶉�夋浜嬩欢
+ form.on('checkbox(detailCheckbox)', function (data) {
+ var el = data.elem;
+ if (el.checked) {
+ $(el).val('Y');
+ } else {
+ $(el).val('N');
+ }
+ });
+
+ // 鎼滅储鏍忔悳绱簨浠�
+ form.on('submit(search)', function (data) {
+ pageCurr = 1;
+ $('#detlTable').css("display", 'none');
+ tableReload(false);
+ });
+
+ // 鎼滅储鏍忛噸缃簨浠�
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ $('#detlTable').css("display", 'none');
+ tableReload(false);
+ });
+
+ // 鏃堕棿閫夋嫨鍣�
+ layDate.render({
+ elem: '#ymd\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#wrkDate\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#ioTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#crnStrTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#crnEndTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#plcStrTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#crnPosTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#refIotime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#modiTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#appeTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#errorTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '#logErrTime\\$',
+ type: 'datetime'
+ });
+ layDate.render({
+ elem: '.layui-laydate-range'
+ ,type: 'datetime'
+ ,range: true
+ });
+
+ var pageCur;
+ function locDetl(param){
+ $('#detlTable').css("display", 'block');
+ // 鏁版嵁娓叉煋
+ $('#wrkNo').val(param);
+ // 鏁版嵁娓叉煋
+ tableIns1 = table.render({
+ elem: '#wrkDetlByMap',
+ headers: {token: localStorage.getItem('token')},
+ url: baseUrl+'/wrkDetl/list/auth',
+ where: {wrk_no: param},
+ page: true,
+ limit: 16,
+ limits: [16, 30, 50, 100, 200, 500],
+ even: true,
+ toolbar: '#toolbar',
+ cellMinWidth: 50,
+ cols: [[
+ {type: 'checkbox'}
+ ,{field: 'wrkNo', align: 'center',title: '宸ヤ綔鍙�'}
+ ,{field: 'ioTime$', align: 'center',title: '宸ヤ綔鏃堕棿'}
+ ,{field: 'matnr', align: 'center',title: '鐗╂枡'}
+ ,{field: 'lgnum', align: 'center',title: '浠撳簱鍙�'}
+ ,{field: 'tbnum', align: 'center',title: '杞偍璇锋眰缂栧彿'}
+ ,{field: 'tbpos', align: 'center',title: '琛岄」鐩�'}
+ ,{field: 'zmatid', align: 'center',title: '鐗╂枡鏍囩ID'}
+ ,{field: 'maktx', align: 'center',title: '鐗╂枡鎻忚堪'}
+ ,{field: 'werks', align: 'center',title: '宸ュ巶'}
+ ,{field: 'anfme', align: 'center',title: '鏁伴噺'}
+ ,{field: 'altme', align: 'center',title: '鍗曚綅'}
+ ,{field: 'zpallet', align: 'center',title: '鎵樼洏鏉$爜'}
+ ,{field: 'bname', align: 'center',title: '鐢ㄦ埛ID'}
+ ,{field: 'memo', align: 'center',title: '澶囨敞'}
+
+ ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:50}
+ ]],
+ request: {
+ pageName: 'curr',
+ pageSize: 'limit'
+ },
+ parseData: function (res) {
+ return {
+ 'code': res.code,
+ 'msg': res.msg,
+ 'count': res.data.total,
+ 'data': res.data.records
+ }
+ },
+ response: {
+ statusCode: 200
+ },
+ done: function(res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCur=curr;
+ form.on('checkbox(tableCheckbox)', function (data) {
+ var _index = $(data.elem).attr('table-index')||0;
+ if(data.elem.checked){
+ res.data[_index][data.value] = 'Y';
+ }else{
+ res.data[_index][data.value] = 'N';
+ }
+ });
+ }
+ });
+ }
+
+});
+
+// 鍏抽棴鍔ㄤ綔
+$(document).on('click','#data-detail-close', function () {
+ parent.layer.closeAll();
+});
+
+function tableReload(child) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ (child ? parent.tableIns : tableIns).reload({
+ where: searchData,
+ page: {
+ curr: pageCurr
+ },
+ done: function (res, curr, count) {
+ if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ }
+ pageCurr=curr;
+ if (res.data.length === 0 && count !== 0) {
+ tableIns.reload({
+ where: searchData,
+ page: {
+ curr: pageCurr-1
+ }
+ });
+ pageCurr -= 1;
+ }
+ limit(child);
+ }
+ });
+}
+
+function setFormVal(el, data, showImg) {
+ for (var val in data) {
+ var find = el.find(":input[id='" + val + "']");
+ if (find[0]!=null){
+ if (find[0].type === 'checkbox'){
+ if (data[val]==='Y'){
+ find.attr("checked","checked");
+ find.val('Y');
+ } else {
+ find.remove("checked");
+ find.val('N');
+ }
+ continue;
+ }
+ }
+ find.val(data[val]);
+ if (showImg){
+ var next = find.next();
+ if (next.get(0)){
+ if (next.get(0).localName === "img") {
+ find.hide();
+ next.attr("src", data[val]);
+ next.show();
+ }
+ }
+ }
+ }
+}
+
+function clearFormVal(el) {
+ $(':input', el)
+ .val('')
+ .removeAttr('checked')
+ .removeAttr('selected');
+}
+
+function detailScreen(index) {
+ var detail = layer.getChildFrame('#data-detail', index);
+ var height = detail.height()+60;
+ if (height > ($(window).height()*0.9)) {
+ height = ($(window).height()*0.8);
+ }
+ layer.style(index, {
+// top: (($(window).height()-height)/3)+"px",
+ height: height+'px'
+ });
+}
+
+$('body').keydown(function () {
+ if (event.keyCode === 13) {
+ $("#search").click();
+ }
+});
diff --git a/src/main/webapp/static/js/wrkMastLog/wrkMastLog.js b/src/main/webapp/static/wms/js/wrkMastLog/wrkMastLog.js
similarity index 100%
rename from src/main/webapp/static/js/wrkMastLog/wrkMastLog.js
rename to src/main/webapp/static/wms/js/wrkMastLog/wrkMastLog.js
diff --git a/src/main/webapp/static/layer/layer.js b/src/main/webapp/static/wms/layer/layer.js
similarity index 100%
rename from src/main/webapp/static/layer/layer.js
rename to src/main/webapp/static/wms/layer/layer.js
diff --git a/src/main/webapp/static/layer/mobile/layer.js b/src/main/webapp/static/wms/layer/mobile/layer.js
similarity index 100%
rename from src/main/webapp/static/layer/mobile/layer.js
rename to src/main/webapp/static/wms/layer/mobile/layer.js
diff --git a/src/main/webapp/static/js/layer/mobile/need/layer.css b/src/main/webapp/static/wms/layer/mobile/need/layer.css
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/js/layer/mobile/need/layer.css
copy to src/main/webapp/static/wms/layer/mobile/need/layer.css
diff --git a/src/main/webapp/static/js/layer/theme/default/icon-ext.png b/src/main/webapp/static/wms/layer/theme/default/icon-ext.png
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/js/layer/theme/default/icon-ext.png
copy to src/main/webapp/static/wms/layer/theme/default/icon-ext.png
Binary files differ
diff --git a/src/main/webapp/static/js/layer/theme/default/icon.png b/src/main/webapp/static/wms/layer/theme/default/icon.png
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/js/layer/theme/default/icon.png
copy to src/main/webapp/static/wms/layer/theme/default/icon.png
Binary files differ
diff --git a/src/main/webapp/static/layer/theme/default/layer.css b/src/main/webapp/static/wms/layer/theme/default/layer.css
similarity index 100%
rename from src/main/webapp/static/layer/theme/default/layer.css
rename to src/main/webapp/static/wms/layer/theme/default/layer.css
diff --git a/src/main/webapp/static/js/layer/theme/default/loading-0.gif b/src/main/webapp/static/wms/layer/theme/default/loading-0.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/js/layer/theme/default/loading-0.gif
copy to src/main/webapp/static/wms/layer/theme/default/loading-0.gif
Binary files differ
diff --git a/src/main/webapp/static/js/layer/theme/default/loading-1.gif b/src/main/webapp/static/wms/layer/theme/default/loading-1.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/js/layer/theme/default/loading-1.gif
copy to src/main/webapp/static/wms/layer/theme/default/loading-1.gif
Binary files differ
diff --git a/src/main/webapp/static/js/layer/theme/default/loading-2.gif b/src/main/webapp/static/wms/layer/theme/default/loading-2.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/js/layer/theme/default/loading-2.gif
copy to src/main/webapp/static/wms/layer/theme/default/loading-2.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/css/layui.css b/src/main/webapp/static/wms/layui/css/layui.css
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/css/layui.css
copy to src/main/webapp/static/wms/layui/css/layui.css
diff --git a/src/main/webapp/static/layui/css/layui.mobile.css b/src/main/webapp/static/wms/layui/css/layui.mobile.css
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/css/layui.mobile.css
copy to src/main/webapp/static/wms/layui/css/layui.mobile.css
diff --git a/src/main/webapp/static/layui/css/modules/code.css b/src/main/webapp/static/wms/layui/css/modules/code.css
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/css/modules/code.css
copy to src/main/webapp/static/wms/layui/css/modules/code.css
diff --git a/src/main/webapp/static/layui/css/modules/laydate/default/laydate.css b/src/main/webapp/static/wms/layui/css/modules/laydate/default/laydate.css
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/css/modules/laydate/default/laydate.css
copy to src/main/webapp/static/wms/layui/css/modules/laydate/default/laydate.css
diff --git a/src/main/webapp/static/layui/css/modules/layer/default/icon-ext.png b/src/main/webapp/static/wms/layui/css/modules/layer/default/icon-ext.png
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/css/modules/layer/default/icon-ext.png
copy to src/main/webapp/static/wms/layui/css/modules/layer/default/icon-ext.png
Binary files differ
diff --git a/src/main/webapp/static/layui/css/modules/layer/default/icon.png b/src/main/webapp/static/wms/layui/css/modules/layer/default/icon.png
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/css/modules/layer/default/icon.png
copy to src/main/webapp/static/wms/layui/css/modules/layer/default/icon.png
Binary files differ
diff --git a/src/main/webapp/static/layui/css/modules/layer/default/layer.css b/src/main/webapp/static/wms/layui/css/modules/layer/default/layer.css
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/css/modules/layer/default/layer.css
copy to src/main/webapp/static/wms/layui/css/modules/layer/default/layer.css
diff --git a/src/main/webapp/static/layui/css/modules/layer/default/loading-0.gif b/src/main/webapp/static/wms/layui/css/modules/layer/default/loading-0.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/css/modules/layer/default/loading-0.gif
copy to src/main/webapp/static/wms/layui/css/modules/layer/default/loading-0.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/css/modules/layer/default/loading-1.gif b/src/main/webapp/static/wms/layui/css/modules/layer/default/loading-1.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/css/modules/layer/default/loading-1.gif
copy to src/main/webapp/static/wms/layui/css/modules/layer/default/loading-1.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/css/modules/layer/default/loading-2.gif b/src/main/webapp/static/wms/layui/css/modules/layer/default/loading-2.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/css/modules/layer/default/loading-2.gif
copy to src/main/webapp/static/wms/layui/css/modules/layer/default/loading-2.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/font/iconfont.eot b/src/main/webapp/static/wms/layui/font/iconfont.eot
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/font/iconfont.eot
copy to src/main/webapp/static/wms/layui/font/iconfont.eot
Binary files differ
diff --git a/src/main/webapp/static/layui/font/iconfont.svg b/src/main/webapp/static/wms/layui/font/iconfont.svg
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/font/iconfont.svg
copy to src/main/webapp/static/wms/layui/font/iconfont.svg
diff --git a/src/main/webapp/static/layui/font/iconfont.ttf b/src/main/webapp/static/wms/layui/font/iconfont.ttf
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/font/iconfont.ttf
copy to src/main/webapp/static/wms/layui/font/iconfont.ttf
Binary files differ
diff --git a/src/main/webapp/static/layui/font/iconfont.woff b/src/main/webapp/static/wms/layui/font/iconfont.woff
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/font/iconfont.woff
copy to src/main/webapp/static/wms/layui/font/iconfont.woff
Binary files differ
diff --git a/src/main/webapp/static/layui/font/iconfont.woff2 b/src/main/webapp/static/wms/layui/font/iconfont.woff2
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/font/iconfont.woff2
copy to src/main/webapp/static/wms/layui/font/iconfont.woff2
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/0.gif b/src/main/webapp/static/wms/layui/images/face/0.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/0.gif
copy to src/main/webapp/static/wms/layui/images/face/0.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/1.gif b/src/main/webapp/static/wms/layui/images/face/1.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/1.gif
copy to src/main/webapp/static/wms/layui/images/face/1.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/10.gif b/src/main/webapp/static/wms/layui/images/face/10.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/10.gif
copy to src/main/webapp/static/wms/layui/images/face/10.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/11.gif b/src/main/webapp/static/wms/layui/images/face/11.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/11.gif
copy to src/main/webapp/static/wms/layui/images/face/11.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/12.gif b/src/main/webapp/static/wms/layui/images/face/12.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/12.gif
copy to src/main/webapp/static/wms/layui/images/face/12.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/13.gif b/src/main/webapp/static/wms/layui/images/face/13.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/13.gif
copy to src/main/webapp/static/wms/layui/images/face/13.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/14.gif b/src/main/webapp/static/wms/layui/images/face/14.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/14.gif
copy to src/main/webapp/static/wms/layui/images/face/14.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/15.gif b/src/main/webapp/static/wms/layui/images/face/15.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/15.gif
copy to src/main/webapp/static/wms/layui/images/face/15.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/16.gif b/src/main/webapp/static/wms/layui/images/face/16.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/16.gif
copy to src/main/webapp/static/wms/layui/images/face/16.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/17.gif b/src/main/webapp/static/wms/layui/images/face/17.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/17.gif
copy to src/main/webapp/static/wms/layui/images/face/17.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/18.gif b/src/main/webapp/static/wms/layui/images/face/18.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/18.gif
copy to src/main/webapp/static/wms/layui/images/face/18.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/19.gif b/src/main/webapp/static/wms/layui/images/face/19.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/19.gif
copy to src/main/webapp/static/wms/layui/images/face/19.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/2.gif b/src/main/webapp/static/wms/layui/images/face/2.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/2.gif
copy to src/main/webapp/static/wms/layui/images/face/2.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/20.gif b/src/main/webapp/static/wms/layui/images/face/20.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/20.gif
copy to src/main/webapp/static/wms/layui/images/face/20.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/21.gif b/src/main/webapp/static/wms/layui/images/face/21.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/21.gif
copy to src/main/webapp/static/wms/layui/images/face/21.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/22.gif b/src/main/webapp/static/wms/layui/images/face/22.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/22.gif
copy to src/main/webapp/static/wms/layui/images/face/22.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/23.gif b/src/main/webapp/static/wms/layui/images/face/23.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/23.gif
copy to src/main/webapp/static/wms/layui/images/face/23.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/24.gif b/src/main/webapp/static/wms/layui/images/face/24.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/24.gif
copy to src/main/webapp/static/wms/layui/images/face/24.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/25.gif b/src/main/webapp/static/wms/layui/images/face/25.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/25.gif
copy to src/main/webapp/static/wms/layui/images/face/25.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/26.gif b/src/main/webapp/static/wms/layui/images/face/26.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/26.gif
copy to src/main/webapp/static/wms/layui/images/face/26.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/27.gif b/src/main/webapp/static/wms/layui/images/face/27.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/27.gif
copy to src/main/webapp/static/wms/layui/images/face/27.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/28.gif b/src/main/webapp/static/wms/layui/images/face/28.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/28.gif
copy to src/main/webapp/static/wms/layui/images/face/28.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/29.gif b/src/main/webapp/static/wms/layui/images/face/29.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/29.gif
copy to src/main/webapp/static/wms/layui/images/face/29.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/3.gif b/src/main/webapp/static/wms/layui/images/face/3.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/3.gif
copy to src/main/webapp/static/wms/layui/images/face/3.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/30.gif b/src/main/webapp/static/wms/layui/images/face/30.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/30.gif
copy to src/main/webapp/static/wms/layui/images/face/30.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/31.gif b/src/main/webapp/static/wms/layui/images/face/31.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/31.gif
copy to src/main/webapp/static/wms/layui/images/face/31.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/32.gif b/src/main/webapp/static/wms/layui/images/face/32.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/32.gif
copy to src/main/webapp/static/wms/layui/images/face/32.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/33.gif b/src/main/webapp/static/wms/layui/images/face/33.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/33.gif
copy to src/main/webapp/static/wms/layui/images/face/33.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/34.gif b/src/main/webapp/static/wms/layui/images/face/34.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/34.gif
copy to src/main/webapp/static/wms/layui/images/face/34.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/35.gif b/src/main/webapp/static/wms/layui/images/face/35.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/35.gif
copy to src/main/webapp/static/wms/layui/images/face/35.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/36.gif b/src/main/webapp/static/wms/layui/images/face/36.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/36.gif
copy to src/main/webapp/static/wms/layui/images/face/36.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/37.gif b/src/main/webapp/static/wms/layui/images/face/37.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/37.gif
copy to src/main/webapp/static/wms/layui/images/face/37.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/38.gif b/src/main/webapp/static/wms/layui/images/face/38.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/38.gif
copy to src/main/webapp/static/wms/layui/images/face/38.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/39.gif b/src/main/webapp/static/wms/layui/images/face/39.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/39.gif
copy to src/main/webapp/static/wms/layui/images/face/39.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/4.gif b/src/main/webapp/static/wms/layui/images/face/4.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/4.gif
copy to src/main/webapp/static/wms/layui/images/face/4.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/40.gif b/src/main/webapp/static/wms/layui/images/face/40.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/40.gif
copy to src/main/webapp/static/wms/layui/images/face/40.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/41.gif b/src/main/webapp/static/wms/layui/images/face/41.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/41.gif
copy to src/main/webapp/static/wms/layui/images/face/41.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/42.gif b/src/main/webapp/static/wms/layui/images/face/42.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/42.gif
copy to src/main/webapp/static/wms/layui/images/face/42.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/43.gif b/src/main/webapp/static/wms/layui/images/face/43.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/43.gif
copy to src/main/webapp/static/wms/layui/images/face/43.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/44.gif b/src/main/webapp/static/wms/layui/images/face/44.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/44.gif
copy to src/main/webapp/static/wms/layui/images/face/44.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/45.gif b/src/main/webapp/static/wms/layui/images/face/45.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/45.gif
copy to src/main/webapp/static/wms/layui/images/face/45.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/46.gif b/src/main/webapp/static/wms/layui/images/face/46.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/46.gif
copy to src/main/webapp/static/wms/layui/images/face/46.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/47.gif b/src/main/webapp/static/wms/layui/images/face/47.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/47.gif
copy to src/main/webapp/static/wms/layui/images/face/47.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/48.gif b/src/main/webapp/static/wms/layui/images/face/48.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/48.gif
copy to src/main/webapp/static/wms/layui/images/face/48.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/49.gif b/src/main/webapp/static/wms/layui/images/face/49.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/49.gif
copy to src/main/webapp/static/wms/layui/images/face/49.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/5.gif b/src/main/webapp/static/wms/layui/images/face/5.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/5.gif
copy to src/main/webapp/static/wms/layui/images/face/5.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/50.gif b/src/main/webapp/static/wms/layui/images/face/50.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/50.gif
copy to src/main/webapp/static/wms/layui/images/face/50.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/51.gif b/src/main/webapp/static/wms/layui/images/face/51.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/51.gif
copy to src/main/webapp/static/wms/layui/images/face/51.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/52.gif b/src/main/webapp/static/wms/layui/images/face/52.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/52.gif
copy to src/main/webapp/static/wms/layui/images/face/52.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/53.gif b/src/main/webapp/static/wms/layui/images/face/53.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/53.gif
copy to src/main/webapp/static/wms/layui/images/face/53.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/54.gif b/src/main/webapp/static/wms/layui/images/face/54.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/54.gif
copy to src/main/webapp/static/wms/layui/images/face/54.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/55.gif b/src/main/webapp/static/wms/layui/images/face/55.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/55.gif
copy to src/main/webapp/static/wms/layui/images/face/55.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/56.gif b/src/main/webapp/static/wms/layui/images/face/56.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/56.gif
copy to src/main/webapp/static/wms/layui/images/face/56.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/57.gif b/src/main/webapp/static/wms/layui/images/face/57.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/57.gif
copy to src/main/webapp/static/wms/layui/images/face/57.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/58.gif b/src/main/webapp/static/wms/layui/images/face/58.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/58.gif
copy to src/main/webapp/static/wms/layui/images/face/58.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/59.gif b/src/main/webapp/static/wms/layui/images/face/59.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/59.gif
copy to src/main/webapp/static/wms/layui/images/face/59.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/6.gif b/src/main/webapp/static/wms/layui/images/face/6.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/6.gif
copy to src/main/webapp/static/wms/layui/images/face/6.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/60.gif b/src/main/webapp/static/wms/layui/images/face/60.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/60.gif
copy to src/main/webapp/static/wms/layui/images/face/60.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/61.gif b/src/main/webapp/static/wms/layui/images/face/61.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/61.gif
copy to src/main/webapp/static/wms/layui/images/face/61.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/62.gif b/src/main/webapp/static/wms/layui/images/face/62.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/62.gif
copy to src/main/webapp/static/wms/layui/images/face/62.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/63.gif b/src/main/webapp/static/wms/layui/images/face/63.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/63.gif
copy to src/main/webapp/static/wms/layui/images/face/63.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/64.gif b/src/main/webapp/static/wms/layui/images/face/64.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/64.gif
copy to src/main/webapp/static/wms/layui/images/face/64.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/65.gif b/src/main/webapp/static/wms/layui/images/face/65.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/65.gif
copy to src/main/webapp/static/wms/layui/images/face/65.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/66.gif b/src/main/webapp/static/wms/layui/images/face/66.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/66.gif
copy to src/main/webapp/static/wms/layui/images/face/66.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/67.gif b/src/main/webapp/static/wms/layui/images/face/67.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/67.gif
copy to src/main/webapp/static/wms/layui/images/face/67.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/68.gif b/src/main/webapp/static/wms/layui/images/face/68.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/68.gif
copy to src/main/webapp/static/wms/layui/images/face/68.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/69.gif b/src/main/webapp/static/wms/layui/images/face/69.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/69.gif
copy to src/main/webapp/static/wms/layui/images/face/69.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/7.gif b/src/main/webapp/static/wms/layui/images/face/7.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/7.gif
copy to src/main/webapp/static/wms/layui/images/face/7.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/70.gif b/src/main/webapp/static/wms/layui/images/face/70.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/70.gif
copy to src/main/webapp/static/wms/layui/images/face/70.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/71.gif b/src/main/webapp/static/wms/layui/images/face/71.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/71.gif
copy to src/main/webapp/static/wms/layui/images/face/71.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/8.gif b/src/main/webapp/static/wms/layui/images/face/8.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/8.gif
copy to src/main/webapp/static/wms/layui/images/face/8.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/9.gif b/src/main/webapp/static/wms/layui/images/face/9.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/9.gif
copy to src/main/webapp/static/wms/layui/images/face/9.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/lay/modules/admin.js b/src/main/webapp/static/wms/layui/lay/modules/admin.js
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/admin.js
rename to src/main/webapp/static/wms/layui/lay/modules/admin.js
diff --git a/src/main/webapp/static/wms/layui/lay/modules/carousel.js b/src/main/webapp/static/wms/layui/lay/modules/carousel.js
new file mode 100644
index 0000000..8eedd42
--- /dev/null
+++ b/src/main/webapp/static/wms/layui/lay/modules/carousel.js
@@ -0,0 +1,2 @@
+/** layui-v2.5.4 MIT License By https://www.layui.com */
+ ;layui.define("jquery",function(e){"use strict";var i=layui.$,n=(layui.hint(),layui.device(),{config:{},set:function(e){var n=this;return n.config=i.extend({},n.config,e),n},on:function(e,i){return layui.onevent.call(this,t,e,i)}}),t="carousel",a="layui-this",l=">*[carousel-item]>*",o="layui-carousel-left",r="layui-carousel-right",d="layui-carousel-prev",s="layui-carousel-next",u="layui-carousel-arrow",c="layui-carousel-ind",m=function(e){var t=this;t.config=i.extend({},t.config,n.config,e),t.render()};m.prototype.config={width:"600px",height:"280px",full:!1,arrow:"hover",indicator:"inside",autoplay:!0,interval:3e3,anim:"",trigger:"click",index:0},m.prototype.render=function(){var e=this,n=e.config;n.elem=i(n.elem),n.elem[0]&&(e.elemItem=n.elem.find(l),n.index<0&&(n.index=0),n.index>=e.elemItem.length&&(n.index=e.elemItem.length-1),n.interval<800&&(n.interval=800),n.full?n.elem.css({position:"fixed",width:"100%",height:"100%",zIndex:9999}):n.elem.css({width:n.width,height:n.height}),n.elem.attr("lay-anim",n.anim),e.elemItem.eq(n.index).addClass(a),e.elemItem.length<=1||(e.indicator(),e.arrow(),e.autoplay(),e.events()))},m.prototype.reload=function(e){var n=this;clearInterval(n.timer),n.config=i.extend({},n.config,e),n.render()},m.prototype.prevIndex=function(){var e=this,i=e.config,n=i.index-1;return n<0&&(n=e.elemItem.length-1),n},m.prototype.nextIndex=function(){var e=this,i=e.config,n=i.index+1;return n>=e.elemItem.length&&(n=0),n},m.prototype.addIndex=function(e){var i=this,n=i.config;e=e||1,n.index=n.index+e,n.index>=i.elemItem.length&&(n.index=0)},m.prototype.subIndex=function(e){var i=this,n=i.config;e=e||1,n.index=n.index-e,n.index<0&&(n.index=i.elemItem.length-1)},m.prototype.autoplay=function(){var e=this,i=e.config;i.autoplay&&(clearInterval(e.timer),e.timer=setInterval(function(){e.slide()},i.interval))},m.prototype.arrow=function(){var e=this,n=e.config,t=i(['<button class="layui-icon '+u+'" lay-type="sub">'+("updown"===n.anim?"":"")+"</button>",'<button class="layui-icon '+u+'" lay-type="add">'+("updown"===n.anim?"":"")+"</button>"].join(""));n.elem.attr("lay-arrow",n.arrow),n.elem.find("."+u)[0]&&n.elem.find("."+u).remove(),n.elem.append(t),t.on("click",function(){var n=i(this),t=n.attr("lay-type");e.slide(t)})},m.prototype.indicator=function(){var e=this,n=e.config,t=e.elemInd=i(['<div class="'+c+'"><ul>',function(){var i=[];return layui.each(e.elemItem,function(e){i.push("<li"+(n.index===e?' class="layui-this"':"")+"></li>")}),i.join("")}(),"</ul></div>"].join(""));n.elem.attr("lay-indicator",n.indicator),n.elem.find("."+c)[0]&&n.elem.find("."+c).remove(),n.elem.append(t),"updown"===n.anim&&t.css("margin-top",-(t.height()/2)),t.find("li").on("hover"===n.trigger?"mouseover":n.trigger,function(){var t=i(this),a=t.index();a>n.index?e.slide("add",a-n.index):a<n.index&&e.slide("sub",n.index-a)})},m.prototype.slide=function(e,i){var n=this,l=n.elemItem,u=n.config,c=u.index,m=u.elem.attr("lay-filter");n.haveSlide||("sub"===e?(n.subIndex(i),l.eq(u.index).addClass(d),setTimeout(function(){l.eq(c).addClass(r),l.eq(u.index).addClass(r)},50)):(n.addIndex(i),l.eq(u.index).addClass(s),setTimeout(function(){l.eq(c).addClass(o),l.eq(u.index).addClass(o)},50)),setTimeout(function(){l.removeClass(a+" "+d+" "+s+" "+o+" "+r),l.eq(u.index).addClass(a),n.haveSlide=!1},300),n.elemInd.find("li").eq(u.index).addClass(a).siblings().removeClass(a),n.haveSlide=!0,layui.event.call(this,t,"change("+m+")",{index:u.index,prevIndex:c,item:l.eq(u.index)}))},m.prototype.events=function(){var e=this,i=e.config;i.elem.data("haveEvents")||(i.elem.on("mouseenter",function(){clearInterval(e.timer)}).on("mouseleave",function(){e.autoplay()}),i.elem.data("haveEvents",!0))},n.render=function(e){var i=new m(e);return i},e(t,n)});
\ No newline at end of file
diff --git a/src/main/webapp/static/layui/lay/modules/code.js b/src/main/webapp/static/wms/layui/lay/modules/code.js
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/lay/modules/code.js
copy to src/main/webapp/static/wms/layui/lay/modules/code.js
diff --git a/src/main/webapp/static/layui/lay/modules/colorpicker.js b/src/main/webapp/static/wms/layui/lay/modules/colorpicker.js
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/lay/modules/colorpicker.js
copy to src/main/webapp/static/wms/layui/lay/modules/colorpicker.js
diff --git a/src/main/webapp/static/layui/lay/modules/contextMenu.js b/src/main/webapp/static/wms/layui/lay/modules/contextMenu.js
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/contextMenu.js
rename to src/main/webapp/static/wms/layui/lay/modules/contextMenu.js
diff --git a/src/main/webapp/static/layui/lay/modules/dropdown/dropdown.css b/src/main/webapp/static/wms/layui/lay/modules/dropdown/dropdown.css
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/dropdown/dropdown.css
rename to src/main/webapp/static/wms/layui/lay/modules/dropdown/dropdown.css
diff --git a/src/main/webapp/static/layui/lay/modules/dropdown/dropdown.js b/src/main/webapp/static/wms/layui/lay/modules/dropdown/dropdown.js
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/dropdown/dropdown.js
rename to src/main/webapp/static/wms/layui/lay/modules/dropdown/dropdown.js
diff --git a/src/main/webapp/static/layui/lay/modules/element.js b/src/main/webapp/static/wms/layui/lay/modules/element.js
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/lay/modules/element.js
copy to src/main/webapp/static/wms/layui/lay/modules/element.js
diff --git a/src/main/webapp/static/layui/lay/modules/flow.js b/src/main/webapp/static/wms/layui/lay/modules/flow.js
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/lay/modules/flow.js
copy to src/main/webapp/static/wms/layui/lay/modules/flow.js
diff --git a/src/main/webapp/static/layui/lay/modules/form.js b/src/main/webapp/static/wms/layui/lay/modules/form.js
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/lay/modules/form.js
copy to src/main/webapp/static/wms/layui/lay/modules/form.js
diff --git a/src/main/webapp/static/layui/lay/modules/index.js b/src/main/webapp/static/wms/layui/lay/modules/index.js
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/index.js
rename to src/main/webapp/static/wms/layui/lay/modules/index.js
diff --git a/src/main/webapp/static/layui/lay/modules/jquery.js b/src/main/webapp/static/wms/layui/lay/modules/jquery.js
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/lay/modules/jquery.js
copy to src/main/webapp/static/wms/layui/lay/modules/jquery.js
diff --git a/src/main/webapp/static/layui/lay/modules/laydate.js b/src/main/webapp/static/wms/layui/lay/modules/laydate.js
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/lay/modules/laydate.js
copy to src/main/webapp/static/wms/layui/lay/modules/laydate.js
diff --git a/src/main/webapp/static/layui/lay/modules/layedit.js b/src/main/webapp/static/wms/layui/lay/modules/layedit.js
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/lay/modules/layedit.js
copy to src/main/webapp/static/wms/layui/lay/modules/layedit.js
diff --git a/src/main/webapp/static/layui/lay/modules/layer.js b/src/main/webapp/static/wms/layui/lay/modules/layer.js
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/lay/modules/layer.js
copy to src/main/webapp/static/wms/layui/lay/modules/layer.js
diff --git a/src/main/webapp/static/layui/lay/modules/laypage.js b/src/main/webapp/static/wms/layui/lay/modules/laypage.js
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/lay/modules/laypage.js
copy to src/main/webapp/static/wms/layui/lay/modules/laypage.js
diff --git a/src/main/webapp/static/layui/lay/modules/laytpl.js b/src/main/webapp/static/wms/layui/lay/modules/laytpl.js
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/lay/modules/laytpl.js
copy to src/main/webapp/static/wms/layui/lay/modules/laytpl.js
diff --git a/src/main/webapp/static/layui/lay/modules/mobile.js b/src/main/webapp/static/wms/layui/lay/modules/mobile.js
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/lay/modules/mobile.js
copy to src/main/webapp/static/wms/layui/lay/modules/mobile.js
diff --git a/src/main/webapp/static/layui/lay/modules/notice/1.wav b/src/main/webapp/static/wms/layui/lay/modules/notice/1.wav
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/notice/1.wav
rename to src/main/webapp/static/wms/layui/lay/modules/notice/1.wav
Binary files differ
diff --git a/src/main/webapp/static/layui/lay/modules/notice/2.wav b/src/main/webapp/static/wms/layui/lay/modules/notice/2.wav
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/notice/2.wav
rename to src/main/webapp/static/wms/layui/lay/modules/notice/2.wav
Binary files differ
diff --git a/src/main/webapp/static/layui/lay/modules/notice/3.wav b/src/main/webapp/static/wms/layui/lay/modules/notice/3.wav
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/notice/3.wav
rename to src/main/webapp/static/wms/layui/lay/modules/notice/3.wav
Binary files differ
diff --git a/src/main/webapp/static/layui/lay/modules/notice/4.wav b/src/main/webapp/static/wms/layui/lay/modules/notice/4.wav
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/notice/4.wav
rename to src/main/webapp/static/wms/layui/lay/modules/notice/4.wav
Binary files differ
diff --git a/src/main/webapp/static/layui/lay/modules/notice/5.wav b/src/main/webapp/static/wms/layui/lay/modules/notice/5.wav
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/notice/5.wav
rename to src/main/webapp/static/wms/layui/lay/modules/notice/5.wav
Binary files differ
diff --git a/src/main/webapp/static/layui/lay/modules/notice/6.wav b/src/main/webapp/static/wms/layui/lay/modules/notice/6.wav
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/notice/6.wav
rename to src/main/webapp/static/wms/layui/lay/modules/notice/6.wav
Binary files differ
diff --git a/src/main/webapp/static/layui/lay/modules/notice/notice.css b/src/main/webapp/static/wms/layui/lay/modules/notice/notice.css
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/notice/notice.css
rename to src/main/webapp/static/wms/layui/lay/modules/notice/notice.css
diff --git a/src/main/webapp/static/layui/lay/modules/notice/notice.js b/src/main/webapp/static/wms/layui/lay/modules/notice/notice.js
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/notice/notice.js
rename to src/main/webapp/static/wms/layui/lay/modules/notice/notice.js
diff --git a/src/main/webapp/static/layui/lay/modules/rate.js b/src/main/webapp/static/wms/layui/lay/modules/rate.js
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/lay/modules/rate.js
copy to src/main/webapp/static/wms/layui/lay/modules/rate.js
diff --git a/src/main/webapp/static/layui/lay/modules/slider.js b/src/main/webapp/static/wms/layui/lay/modules/slider.js
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/lay/modules/slider.js
copy to src/main/webapp/static/wms/layui/lay/modules/slider.js
diff --git a/src/main/webapp/static/layui/lay/modules/table.js b/src/main/webapp/static/wms/layui/lay/modules/table.js
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/lay/modules/table.js
copy to src/main/webapp/static/wms/layui/lay/modules/table.js
diff --git a/src/main/webapp/static/wms/layui/lay/modules/tableMerge.js b/src/main/webapp/static/wms/layui/lay/modules/tableMerge.js
new file mode 100644
index 0000000..4d26b3c
--- /dev/null
+++ b/src/main/webapp/static/wms/layui/lay/modules/tableMerge.js
@@ -0,0 +1,75 @@
+/**
+ * Created by YujieYang.
+ * @name: 瀛愯〃鏍兼墿灞�
+ * @author: 鏉ㄧ帀鏉�
+ * @version 1.0
+ */
+layui.define(['table'], function (exports) {
+
+ var $ = layui.jquery;
+
+ // 灏佽鏂规硶
+ var mod = {
+ /**
+ * 娓叉煋鍏ュ彛
+ * @param myTable
+ */
+ render: function (myTable) {
+ var tableBox = $(myTable.elem).next().children('.layui-table-box'),
+ $main = $(tableBox.children('.layui-table-body').children('table').children('tbody').children('tr').toArray().reverse()),
+ $fixLeft = $(tableBox.children('.layui-table-fixed-l').children('.layui-table-body').children('table').children('tbody').children('tr').toArray().reverse()),
+ $fixRight = $(tableBox.children('.layui-table-fixed-r').children('.layui-table-body').children('table').children('tbody').children('tr').toArray().reverse()),
+ cols = myTable.cols[0], mergeRecord = {};
+
+ for (let i = 0; i < cols.length; i++) {
+ var item3 = cols[i], field=item3.field;
+ if (item3.merge) {
+ var mergeField = [field];
+ if (item3.merge !== true) {
+ if (typeof item3.merge == 'string') {
+ mergeField = [item3.merge]
+ } else {
+ mergeField = item3.merge
+ }
+ }
+ mergeRecord[i] = {mergeField: mergeField, rowspan:1}
+ }
+ }
+
+ $main.each(function (i) {
+
+ for (var item in mergeRecord) {
+ if (i==$main.length-1 || isMaster(i, item)) {
+ $(this).children('[data-key$="-'+item+'"]').attr('rowspan', mergeRecord[item].rowspan).css('position','static');
+ $fixLeft.eq(i).children('[data-key$="-'+item+'"]').attr('rowspan', mergeRecord[item].rowspan).css('position','static');
+ $fixRight.eq(i).children('[data-key$="-'+item+'"]').attr('rowspan', mergeRecord[item].rowspan).css('position','static');
+ mergeRecord[item].rowspan = 1;
+ } else {
+ $(this).children('[data-key$="-'+item+'"]').remove();
+ $fixLeft.eq(i).children('[data-key$="-'+item+'"]').remove();
+ $fixRight.eq(i).children('[data-key$="-'+item+'"]').remove();
+ mergeRecord[item].rowspan +=1;
+ }
+ }
+ })
+
+ function isMaster (index, item) {
+ var mergeField = mergeRecord[item].mergeField;
+ var dataLength = layui.table.cache[myTable.id].length;
+ for (var i=0; i<mergeField.length; i++) {
+
+ if (layui.table.cache[myTable.id][dataLength-2-index][mergeField[i]]
+ !== layui.table.cache[myTable.id][dataLength-1-index][mergeField[i]]) {
+ return true;
+ }
+ }
+ return false;
+ }
+
+ }
+ };
+
+ // 杈撳嚭
+ exports('tableMerge', mod);
+});
+
diff --git a/src/main/webapp/static/wms/layui/lay/modules/tableX.js b/src/main/webapp/static/wms/layui/lay/modules/tableX.js
new file mode 100644
index 0000000..90953ec
--- /dev/null
+++ b/src/main/webapp/static/wms/layui/lay/modules/tableX.js
@@ -0,0 +1,645 @@
+锘�/** 琛ㄦ牸鎵╁睍妯″潡 date:2020-02-29 License By http://easyweb.vip */
+layui.define(['layer', 'table', 'laytpl', 'contextMenu'], function (exports) {
+ var $ = layui.jquery;
+ var layer = layui.layer;
+ var table = layui.table;
+ var laytpl = layui.laytpl;
+ var contextMenu = layui.contextMenu;
+ var device = layui.device();
+ var tbSearchAttr = 'tb-search'; // 鍓嶇鎼滅储灞炴��
+ var tbRefreshAttr = 'tb-refresh'; // 鍒锋柊鎸夐挳灞炴��
+ var tbExportAttr = 'tb-export'; // 瀵煎嚭鎸夐挳灞炴��
+ var txFieldPre = 'txField_'; // templte鍒梖iled鍓嶇紑
+ var tableX = {};
+
+ /* 鍚堝苟鐩稿悓鍗曞厓鏍� */
+ tableX.merges = function (tableId, indexs, fields, sort) {
+ if (typeof fields === 'boolean') {
+ sort = fields;
+ fields = undefined;
+ }
+ var $tb = $('[lay-filter="' + tableId + '"]+.layui-table-view>.layui-table-box>.layui-table-body>table');
+ var $trs = $tb.find('>tbody>tr');
+ // 寰幆鍚堝苟姣忎竴鍒�
+ for (var i = 0; i < indexs.length; i++) {
+ if (fields) {
+ merge(tableId, indexs[i], fields[i]);
+ } else {
+ merge(tableId, indexs[i]);
+ }
+ }
+ $trs.find('[del="true"]').remove(); // 绉婚櫎澶氫綑鐨勫崟鍏冩牸
+ // 鐩戝惉鎺掑簭浜嬩欢
+ if (sort === undefined || sort) {
+ table.on('sort(' + tableId + ')', function () {
+ tableX.merges(tableId, indexs, fields, false);
+ });
+ }
+
+ // 鍚堝苟涓�鍒�
+ function merge(tableId, index, field) {
+ var data = table.cache[tableId];
+ if (data.length > 0) {
+ var lastValue, spanNum = 1;
+ if (field) {
+ lastValue = data[0][field];
+ } else {
+ lastValue = $trs.eq(0).find('td').eq(index).find('.layui-table-cell').html();
+ }
+ for (var i = 1; i < data.length; i++) {
+ var currentValue;
+ if (field) {
+ currentValue = data[i][field];
+ } else {
+ currentValue = $trs.eq(i).find('td').eq(index).find('.layui-table-cell').html();
+ }
+ if (currentValue === lastValue) {
+ spanNum++;
+ if (i === data.length - 1) {
+ $trs.eq(i - spanNum + 1).find('td').eq(index).attr('rowspan', spanNum);
+ for (var j = 1; j < spanNum; j++) {
+ $trs.eq(i - j + 1).find('td').eq(index).attr('del', 'true');
+ }
+ }
+ } else {
+ $trs.eq(i - spanNum).find('td').eq(index).attr('rowspan', spanNum);
+ for (var k = 1; k < spanNum; k++) {
+ $trs.eq(i - k).find('td').eq(index).attr('del', 'true');
+ }
+ spanNum = 1;
+ lastValue = currentValue;
+ }
+ }
+ }
+ }
+ };
+
+ /* 琛ㄦ牸琛岀粦瀹氶紶鏍囧彸閿� */
+ tableX.bindCtxMenu = function (tableId, items) {
+ var data = table.cache[tableId];
+ var elem = '#' + tableId + '+.layui-table-view .layui-table-body tr';
+ $(elem).bind('contextmenu', function (event) {
+ var $this = $(this);
+ $(elem).removeClass('layui-table-click');
+ $this.addClass('layui-table-click');
+ var ctxItems;
+ if (typeof items === 'function') ctxItems = items(data[$this.data('index')], event.currentTarget);
+ else ctxItems = items;
+
+ function getCtxItems(menus) {
+ if (!menus) return;
+ var result = [];
+ for (var i = 0; i < menus.length; i++) {
+ result.push({
+ icon: menus[i].icon,
+ name: menus[i].name,
+ _click: menus[i].click,
+ click: function (e, e2) {
+ var $tr = $(e2.currentTarget);
+ this._click && this._click(data[$tr.data('index')], e2.currentTarget);
+ $tr.removeClass('layui-table-click');
+ },
+ subs: getCtxItems(menus[i].subs)
+ });
+ }
+ return result;
+ }
+
+ contextMenu.show(getCtxItems(ctxItems), event.clientX, event.clientY, event);
+ return false;
+ });
+ };
+
+ /* 瀵煎嚭浠绘剰鏁版嵁 */
+ tableX.exportData = function (param) {
+ var cols = param.cols; // 琛ㄥご
+ var data = param.data; // 鏁版嵁
+ var fileName = param.fileName; // 鏂囦欢鍚�
+ var fileType = param.expType; // 绫诲瀷锛寈ls銆乧sv
+ var option = param.option; // url鏂瑰紡鍔犺浇鐨勯厤缃�
+ option || (option = {});
+ if (device.ie) return layer.msg('涓嶆敮鎸乮e瀵煎嚭');
+ // data涓簎rl鍏堣姹傛暟鎹�
+ if (typeof data === 'string') {
+ var loadIndex = layer.load(2);
+ option.url = data;
+ tableX.loadUrl(option, function (res) {
+ layer.close(loadIndex);
+ param.data = res;
+ tableX.exportData(param);
+ });
+ return;
+ }
+ // 鍒楀弬鏁拌ˉ鍏�
+ for (var i = 0; i < cols.length; i++) {
+ for (var j = 0; j < cols[i].length; j++) {
+ if (cols[i][j].type === undefined) {
+ cols[i][j].type = 'normal';
+ }
+ if (cols[i][j].hide === undefined) {
+ cols[i][j].hide = false;
+ }
+ }
+ }
+ var titles = [], fields = [], expData = [];
+ // 鑾峰彇琛ㄥご鍜岃〃澶村瓧娈靛悕
+ table.eachCols(undefined, function (i, item) {
+ if (item.type === 'normal' && !item.hide) {
+ titles.push(item.title || '');
+ fields.push(item.field || (txFieldPre + i));
+ }
+ }, cols);
+ // 鑾峰彇templet鍚庣殑鏁版嵁
+ var fullData = tableX.parseTbData(cols, tableX.deepClone(data), true);
+ for (var n = 0; n < fullData.length; n++) {
+ var rowItem = [];
+ for (var m = 0; m < fields.length; m++) {
+ var text = fullData[n][fields[m]];
+ text && (text = text.toString().replace(/,/g, '锛�'));
+ rowItem.push(text);
+ }
+ expData.push(rowItem.join(','));
+ }
+ // 鍒涘缓涓嬭浇鏂囦欢鐨刟鏍囩
+ var alink = document.createElement('a');
+ var type = ({csv: 'text/csv', xls: 'application/vnd.ms-excel'})[fileType || 'xls'];
+ var content = encodeURIComponent(titles.join(',') + '\r\n' + expData.join('\r\n'));
+ alink.href = 'data:' + type + ';charset=utf-8,\ufeff' + content;
+ alink.download = (fileName || 'table') + '.' + (fileType || 'xls');
+ document.body.appendChild(alink);
+ alink.click();
+ document.body.removeChild(alink);
+ };
+
+ /* 瀵煎嚭琛ㄦ牸鏁版嵁(楂樼骇) */
+ tableX.exportDataX = function (param) {
+ layui.use('excel', function () {
+ var excel = layui.excel;
+ var cols = param.cols; // 琛ㄥご
+ var data = param.data; // 鏁版嵁
+ var fileName = param.fileName; // 鏂囦欢鍚�
+ var fileType = param.expType; // 绫诲瀷锛寈ls銆亁lsx
+ var option = param.option; // url鏂瑰紡鍔犺浇鐨勯厤缃�
+ option || (option = {});
+ fileType || (fileType = 'xlsx');
+ // data涓簎rl鍏堣姹傛暟鎹�
+ if (data && typeof data === 'string') {
+ var loadIndex = layer.load(2);
+ option.url = data;
+ tableX.loadUrl(option, function (res) {
+ layer.close(loadIndex);
+ param.data = res;
+ tableX.exportDataX(param);
+ });
+ return;
+ }
+ // 鍒楀弬鏁拌ˉ鍏�
+ for (var i = 0; i < cols.length; i++) {
+ for (var j = 0; j < cols[i].length; j++) {
+ if (cols[i][j].type === undefined) {
+ cols[i][j].type = 'normal';
+ }
+ if (cols[i][j].hide === undefined) {
+ cols[i][j].hide = false;
+ }
+ }
+ }
+ // 鑾峰彇琛ㄥご鍜岃〃澶村瓧娈靛悕
+ var titles = {}, fields = [];
+ table.eachCols(undefined, function (i, item) {
+ if (item.type === 'normal' && !item.hide) {
+ var field = item.field || (txFieldPre + i);
+ fields.push(field);
+ titles[field] = item.title || '';
+ }
+ }, cols);
+ // 鏍煎紡鍖栨暟鎹�
+ var fullData = tableX.parseTbData(cols, tableX.deepClone(data), true);
+ var expData = excel.filterExportData(fullData, fields);
+ expData.unshift(titles);
+ excel.exportExcel({sheet1: expData}, (fileName || 'table') + '.' + fileType, fileType);
+ });
+ };
+
+ /* 鍚庣瀵煎嚭鏁版嵁鎷兼帴鍙傛暟 */
+ tableX.exportDataBack = function (url, where, method) {
+ where || (where = {});
+ if (!method || method.toString().toLowerCase() === 'get') {
+ var param = '';
+ for (var f in where) {
+ if (!param) {
+ param = ('?' + f + '=' + where[f]);
+ } else {
+ param += ('&' + f + '=' + where[f]);
+ }
+ }
+ window.open(url + param);
+ } else {
+ var htmlStr = '<html><body><form id="eFrom" action="' + url + '" method="' + method + '">';
+ for (var f2 in where) {
+ htmlStr += ('<textarea name="' + f2 + '">' + where[f2] + '</textarea>');
+ }
+ htmlStr += '</form></body></html>';
+ $('#exportFrame').remove();
+ $('body').append('<iframe id="exportFrame" style="display: none;"></iframe>');
+ var eFrame = document.getElementById('exportFrame');
+ var eWindow = eFrame.contentWindow;
+ var eDocument = eWindow.document;
+ eWindow.focus();
+ eDocument.open();
+ eDocument.write(htmlStr);
+ eDocument.close();
+ eDocument.getElementById('eFrom').submit();
+ }
+ };
+
+ /* 娓叉煋琛ㄦ牸锛屽悗绔帓搴� */
+ tableX.render = function (param) {
+ var tableId = $(param.elem).attr('lay-filter');
+ param.autoSort = false; // 鍏抽棴榛樿鎺掑簭
+ var insTb = table.render(param); // 娓叉煋琛ㄦ牸
+ // 鎺掑簭鐩戝惉
+ table.on('sort(' + tableId + ')', function (obj) {
+ var sortField = obj.field, sortType = obj.type; // 鎺掑簭瀛楁銆佺被鍨�
+ var sortWhere = $.extend(param.where, {sort: sortField, order: sortType});
+ insTb.reload({where: sortWhere, page: {curr: 1}});
+ });
+ return insTb;
+ };
+
+ /* 娓叉煋琛ㄦ牸锛屽墠绔垎椤� */
+ tableX.renderFront = function (param) {
+ var insTb, tableId = $(param.elem).attr('lay-filter');
+ param.autoSort = false; // 鍏抽棴榛樿鎺掑簭
+ // 娌℃湁field鐨則emplet鍒楄ˉ涓婏紝鍥犱负鎺掑簭蹇呴』鏈塮iled瀛楁锛屽惁鍒欑偣鍑绘帓搴忎細鎶ラ敊
+ for (var i = 0; i < param.cols.length; i++) {
+ for (var j = 0; j < param.cols[i].length; j++) {
+ if (param.cols[i][j].templet && !param.cols[i][j].field) {
+ param.cols[i][j].field = txFieldPre + i + '_' + j;
+ }
+ }
+ }
+ if (param.url) { // url鏂瑰紡
+ var xParam = tableX.deepClone(param);
+ xParam.data = [];
+ xParam.url = undefined;
+ insTb = table.render(xParam); // 鍏堟覆鏌撹〃鏍肩粨鏋�
+ // 鎻愪緵鍒锋柊鏂规硶
+ insTb.reloadUrl = function (p) {
+ var reParam = tableX.deepClone(param);
+ p && (reParam = $.extend(reParam, p));
+ $(param.elem + '+.layui-table-view>.layui-table-box').append('<div class="layui-table-init"><i class="layui-icon layui-icon-loading layui-anim layui-anim-rotate layui-anim-loop"></i></div>');
+ // 鑾峰彇url鏁版嵁
+ tableX.loadUrl(reParam, function (data) {
+ insTb.reload({url: '', data: data, page: {curr: 1}});
+ tableX.putTbData(tableId, tableX.parseTbData(reParam.cols, data)); // 缂撳瓨鏁版嵁
+ $('input[' + tbSearchAttr + '="' + tableId + '"]').val(''); // 娓呯┖鎼滅储杈撳叆妗�
+ window.tbX.cacheSearch[tableId] = undefined; // 閲嶇疆鎼滅储缁撴灉
+ });
+ };
+ insTb.reloadUrl();
+ } else {
+ insTb = table.render(param); // 娓叉煋琛ㄦ牸
+ // 鎻愪緵鍒锋柊鐨勬柟娉�
+ insTb.reloadData = function (p) {
+ insTb.reload(p);
+ tableX.parseTbData(param.cols, p.data); // 瑙f瀽temple鍒�
+ tableX.putTbData(tableId, p.data);
+ $('input[' + tbSearchAttr + '="' + tableId + '"]').val(''); // 娓呯┖鎼滅储杈撳叆妗�
+ window.tbX.cacheSearch[tableId] = undefined; // 閲嶇疆鎼滅储缁撴灉
+ };
+ tableX.putTbData(tableId, tableX.parseTbData(param.cols, param.data)); // 缂撳瓨鏁版嵁
+ }
+ tableX.renderAllTool(insTb); // 娓叉煋宸ュ叿缁勪欢
+ return insTb;
+ };
+
+ /* 鍔犺浇琛ㄦ牸鏁版嵁 */
+ tableX.loadUrl = function (options, callback) {
+ // 鍝嶅簲鏁版嵁鐨勮嚜瀹氫箟鏍煎紡
+ options.response = $.extend({
+ statusName: 'code',
+ statusCode: 0,
+ msgName: 'msg',
+ dataName: 'data',
+ countName: 'count'
+ }, options.response);
+ var response = options.response;
+ var where = options.where; // 鍙傛暟
+ if (options.contentType && options.contentType.indexOf('application/json') === 0) {
+ where = JSON.stringify(where); // 鎻愪氦 json 鏍煎紡
+ }
+ $.ajax({
+ type: options.method || 'get',
+ url: options.url,
+ contentType: options.contentType,
+ data: where,
+ dataType: 'json',
+ headers: options.headers || {},
+ success: function (res) {
+ // 濡傛灉鏈夋暟鎹В鏋愮殑鍥炶皟锛屽垯鑾峰緱鍏惰繑鍥炵殑鏁版嵁
+ if (typeof options.parseData === 'function') {
+ res = options.parseData(res) || res;
+ }
+ // 妫�鏌ユ暟鎹牸寮忔槸鍚︾鍚堣鑼�
+ if (res[response.statusName] != response.statusCode) {
+ var msgText = res[response.msgName] || ('杩斿洖鐨勬暟鎹笉绗﹀悎瑙勮寖锛屾纭殑鎴愬姛鐘舵�佺爜 (' + response.statusName + ') 搴斾负锛�' + response.statusCode);
+ layer.msg(msgText, {icon: 2});
+ } else {
+ callback(res[response.dataName]);
+ }
+ },
+ error: function (e, m) {
+ layer.msg('鏁版嵁鎺ュ彛璇锋眰寮傚父锛�' + m, {icon: 2});
+ }
+ });
+ };
+
+ /* 瑙f瀽鏁版嵁琛ㄦ牸templet鍒� */
+ tableX.parseTbData = function (cols, dataList, overwrite) {
+ var templets = []; // 闇�瑕佽В鏋愮殑鍒�
+ table.eachCols(undefined, function (i, item) {
+ if (item.templet) {
+ var one = {field: ((item.field && (overwrite || item.field.indexOf(txFieldPre) === 0)) ? item.field : ('txField_' + i))};
+ if (typeof item.templet === 'string') {
+ one.templet = function (d) { // templet鍒椾娇鐢╨aytpl娓叉煋
+ var rsStr = undefined;
+ laytpl($(item.templet).html()).render(d, function (html) {
+ rsStr = html;
+ });
+ return rsStr;
+ }
+ } else {
+ one.templet = item.templet;
+ }
+ templets.push(one);
+ }
+ }, cols);
+ for (var i = 0; i < dataList.length; i++) {
+ var current = dataList[i];
+ for (var j = 0; j < templets.length; j++) {
+ var htmlStr = '<div>' + templets[j].templet(current) + '</div>';
+ current[templets[j].field] = $(htmlStr).not('.export-hide').text().replace(/(^\s*)|(\s*$)/g, ''); // 鍘婚櫎鍓嶅悗绌烘牸
+ }
+ }
+ return dataList;
+ };
+
+ /* 缂撳瓨琛ㄦ牸鐨勬暟鎹� */
+ tableX.putTbData = function (tableId, dataList) {
+ window.tbX.cache[tableId] = dataList;
+ };
+
+ /* 鑾峰彇琛ㄦ牸缂撳瓨鐨勬暟鎹� */
+ tableX.getTbData = function (tableId) {
+ var dataList = window.tbX.cache[tableId];
+ return tableX.deepClone(dataList || table.cache[tableId]);
+ };
+
+ /* 鎼滅储鏁版嵁 */
+ tableX.filterData = function (dataList, searchName, searchValue) {
+ var newList = [], sfs;
+ for (var i = 0; i < dataList.length; i++) {
+ var obj = dataList[i];
+ if (!sfs) { // 鎼滅储鐨勫瓧娈�
+ if (!searchName) {
+ sfs = [];
+ for (var f in obj) {
+ if (!obj.hasOwnProperty(f)) continue;
+ sfs.push(f);
+ }
+ } else {
+ sfs = searchName.split(',');
+ }
+ }
+ for (var j = 0; j < sfs.length; j++) {
+ if (tableX.isContains(obj[sfs[j]], searchValue)) {
+ newList.push(obj);
+ break;
+ }
+ }
+ }
+ return newList;
+ };
+
+ /* 瀛楃涓叉槸鍚﹀寘鍚� */
+ tableX.isContains = function (str1, str2) {
+ str1 || (str1 = '');
+ str2 || (str2 = '');
+ str1 = str1.toString().toLowerCase();
+ str2 = str2.toString().toLowerCase();
+ if (str1 === str2 || str1.indexOf(str2) >= 0) {
+ return true;
+ }
+ return false;
+ };
+
+ /* 娓叉煋鎵�鏈夌粍浠� */
+ tableX.renderAllTool = function (insTb) {
+ renderRefresh(insTb); // 鍒锋柊
+ renderFrontSort(insTb); // 鎺掑簭
+ renderFrontSearch(insTb); // 鎼滅储
+ renderExport(insTb); // 瀵煎嚭
+ };
+
+ /* 娣卞害鍏嬮殕瀵硅薄 */
+ tableX.deepClone = function (obj) {
+ var result;
+ var oClass = tableX.isClass(obj);
+ if (oClass === 'Object') {
+ result = {};
+ } else if (oClass === 'Array') {
+ result = [];
+ } else {
+ return obj;
+ }
+ for (var key in obj) {
+ if (!obj.hasOwnProperty(key)) continue;
+ var copy = obj[key];
+ if (tableX.isClass(copy) === 'Object') {
+ result[key] = arguments.callee(copy);//閫掑綊璋冪敤
+ } else if (tableX.isClass(copy) === 'Array') {
+ result[key] = arguments.callee(copy);
+ } else {
+ result[key] = obj[key];
+ }
+ }
+ return result;
+ };
+
+ /* 鑾峰彇鍙橀噺绫诲瀷 */
+ tableX.isClass = function (o) {
+ if (o === null)
+ return 'Null';
+ if (o === undefined)
+ return 'Undefined';
+ return Object.prototype.toString.call(o).slice(8, -1);
+ };
+
+ // 鍒涘缓鏁版嵁缂撳瓨瀵硅薄
+ window.tbX || (window.tbX = {});
+ window.tbX.cache || (window.tbX.cache = {});
+ window.tbX.cacheSearch || (window.tbX.cacheSearch = {});
+
+ // 鍓嶇鎼滅储
+ var renderFrontSearch = function (insTb) {
+ var tableId = insTb.config.id, $input = $('input[' + tbSearchAttr + '="' + tableId + '"]');
+ if (!($input && $input.length > 0)) {
+ return;
+ }
+ if (!$input.attr('placeholder')) {
+ $input.attr('placeholder', '杈撳叆鍏抽敭瀛楁寜鍥炶溅閿悳绱�');
+ }
+ $input.off('keydown').on('keydown', function (event) {
+ if (event.keyCode !== 13) {
+ return;
+ }
+ var searchName = $input.attr('name'); // 鎼滅储鐨勫瓧娈靛悕锛岀敤閫楀彿鍒嗛殧
+ var searchValue = $input.val().replace(/(^\s*)|(\s*$)/g, ''); // 鎼滅储鍏抽敭瀛�
+ var loadIndex = layer.msg('鎼滅储涓�..', {icon: 16, shade: 0.01, time: 0});
+ var dataList = tableX.getTbData(tableId);
+ var newDataList = tableX.filterData(dataList, searchName, searchValue);
+ window.tbX.cacheSearch[tableId] = newDataList; // 缂撳瓨鎼滅储鍚庣殑鏁版嵁鐢ㄤ簬鎺掑簭
+ insTb.reload({url: '', data: newDataList, page: {curr: 1}});
+ layer.close(loadIndex);
+ });
+ };
+
+ // 鍓嶇鎺掑簭
+ var renderFrontSort = function (insTb) {
+ var tableId = insTb.config.id;
+ table.on('sort(' + tableId + ')', function (obj) {
+ var sortField = obj.field, sortType = obj.type; // 鎺掑簭瀛楁銆佺被鍨�
+ var loadIndex = layer.msg('鍔犺浇涓�..', {icon: 16, shade: 0.01, time: 0});
+ var dataList = window.tbX.cacheSearch[tableId]; // 琛ㄦ牸鎼滅储鍚庣殑鏁版嵁
+ dataList || (dataList = tableX.getTbData(tableId));
+ if (sortType) {
+ dataList = dataList.sort(function (o1, o2) {
+ var o1Str = o1[sortField], o2Str = o2[sortField];
+ if (sortType === 'asc') { // 鍗囧簭
+ return (o1Str === o2Str) ? 0 : ((o1Str < o2Str) ? -1 : 1);
+ } else { // 闄嶅簭
+ return (o1Str === o2Str) ? 0 : ((o1Str < o2Str) ? 1 : -1);
+ }
+ });
+ }
+ insTb.reload({initSort: obj, url: '', data: dataList, page: {curr: 1}});
+ layer.close(loadIndex);
+ });
+ };
+
+ // 琛ㄦ牸鍒锋柊鎸夐垥
+ var renderRefresh = function (insTb) {
+ $('[' + tbRefreshAttr + '="' + insTb.config.id + '"]').off('click').on('click', function () {
+ if (insTb.reloadUrl) {
+ insTb.reloadUrl();
+ } else {
+ insTb.reload({page: {curr: 1}});
+ }
+ });
+ };
+
+ // 娓叉煋瀵煎嚭鎸夐挳
+ var renderExport = function (insTb) {
+ var tableId = insTb.config.id;
+ $('[' + tbExportAttr + '="' + tableId + '"]').off('click').on('click', function (event) {
+ if ($(this).find('.tbx-dropdown-menu').length > 0) {
+ return;
+ }
+ if (event !== void 0) {
+ event.preventDefault();
+ event.stopPropagation();
+ }
+ var htmlStr = '<div class="tbx-dropdown-menu">';
+ htmlStr += ' <div class="tbx-dropdown-menu-item" data-type="check">瀵煎嚭閫変腑鏁版嵁</div>';
+ htmlStr += ' <div class="tbx-dropdown-menu-item" data-type="current">瀵煎嚭褰撳墠椤垫暟鎹�</div>';
+ htmlStr += ' <div class="tbx-dropdown-menu-item" data-type="all">瀵煎嚭鍏ㄩ儴鏁版嵁</div>';
+ htmlStr += ' </div>';
+ $(this).append(htmlStr);
+ $(this).addClass('tbx-dropdown-btn');
+ $(this).parent().css('position', 'relative');
+ $(this).parent().css('z-index', '9998');
+ $('.tbx-dropdown-menu').off('click').on('click', '.tbx-dropdown-menu-item', function (event) {
+ var type = $(this).data('type');
+ if (type === 'check') {
+ var checkRows = table.checkStatus(tableId);
+ if (checkRows.data.length === 0) {
+ layer.msg('璇烽�夋嫨瑕佸鍑虹殑鏁版嵁', {icon: 2});
+ } else {
+ $('.tbx-dropdown-menu').remove();
+ tableX.exportData({
+ fileName: insTb.config.title,
+ cols: insTb.config.cols,
+ data: checkRows.data
+ });
+ }
+ } else if (type === 'current') {
+ tableX.exportData({
+ fileName: insTb.config.title,
+ cols: insTb.config.cols,
+ data: table.cache[tableId]
+ });
+ } else if (type === 'all') {
+ tableX.exportData({
+ fileName: insTb.config.title,
+ cols: insTb.config.cols,
+ data: tableX.getTbData(tableId)
+ });
+ }
+ if (event !== void 0) {
+ event.preventDefault();
+ event.stopPropagation();
+ }
+ });
+ });
+ $(document).off('click.tbxDropHide').on('click.tbxDropHide', function () {
+ $('.tbx-dropdown-menu').remove();
+ });
+ };
+
+ /* css鏍峰紡 */
+ var getCommonCss = function () {
+ var cssStr = '.tbx-dropdown-btn {';
+ cssStr += ' position: relative;';
+ cssStr += ' }';
+ cssStr += ' .tbx-dropdown-btn:hover {';
+ cssStr += ' opacity: 1';
+ cssStr += ' }';
+ cssStr += ' .tbx-dropdown-menu {';
+ cssStr += ' position: absolute;';
+ cssStr += ' top: 100%;';
+ cssStr += ' right: 0;';
+ cssStr += ' padding: 5px 0;';
+ cssStr += ' margin: 5px 0 0 0;';
+ cssStr += ' overflow: visible;';
+ cssStr += ' min-width: 110px;';
+ cssStr += ' background: #fff;';
+ cssStr += ' border-radius: 2px;';
+ cssStr += ' box-shadow: 0 2px 4px rgba(0, 0, 0, .12);';
+ cssStr += ' border: 1px solid #d2d2d2;';
+ cssStr += ' z-index: 9998;';
+ cssStr += ' cursor: default;';
+ cssStr += ' }';
+ cssStr += ' .tbx-dropdown-menu .tbx-dropdown-menu-item {';
+ cssStr += ' display: block;';
+ cssStr += ' color: #555;';
+ cssStr += ' font-size: 14px;';
+ cssStr += ' padding: 10px 15px;';
+ cssStr += ' text-decoration: none;';
+ cssStr += ' white-space: nowrap;';
+ cssStr += ' cursor: pointer;';
+ cssStr += ' user-select: none;';
+ cssStr += ' line-height: normal;';
+ cssStr += ' }';
+ cssStr += ' .tbx-dropdown-menu .tbx-dropdown-menu-item:hover {';
+ cssStr += ' background-color: #eeeeee;';
+ cssStr += ' }';
+ cssStr += ' .export-show {';
+ cssStr += ' display: none;';
+ cssStr += ' }';
+ return cssStr;
+ };
+
+ $('head').append('<style id="ew-css-tbx" type="text/css">' + getCommonCss() + '</style>');
+ exports("tableX", tableX);
+});
\ No newline at end of file
diff --git a/src/main/webapp/static/layui/lay/modules/transfer.js b/src/main/webapp/static/wms/layui/lay/modules/transfer.js
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/lay/modules/transfer.js
copy to src/main/webapp/static/wms/layui/lay/modules/transfer.js
diff --git a/src/main/webapp/static/layui/lay/modules/tree.js b/src/main/webapp/static/wms/layui/lay/modules/tree.js
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/lay/modules/tree.js
copy to src/main/webapp/static/wms/layui/lay/modules/tree.js
diff --git a/src/main/webapp/static/layui/lay/modules/treeTable.js b/src/main/webapp/static/wms/layui/lay/modules/treeTable.js
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/treeTable.js
rename to src/main/webapp/static/wms/layui/lay/modules/treeTable.js
diff --git a/src/main/webapp/static/layui/lay/modules/upload.js b/src/main/webapp/static/wms/layui/lay/modules/upload.js
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/lay/modules/upload.js
copy to src/main/webapp/static/wms/layui/lay/modules/upload.js
diff --git a/src/main/webapp/static/layui/lay/modules/util.js b/src/main/webapp/static/wms/layui/lay/modules/util.js
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/lay/modules/util.js
copy to src/main/webapp/static/wms/layui/lay/modules/util.js
diff --git a/src/main/webapp/static/layui/lay/modules/xmSelect.js b/src/main/webapp/static/wms/layui/lay/modules/xmSelect.js
similarity index 100%
rename from src/main/webapp/static/layui/lay/modules/xmSelect.js
rename to src/main/webapp/static/wms/layui/lay/modules/xmSelect.js
diff --git a/src/main/webapp/static/wms/layui/layer_mobile/layer.js b/src/main/webapp/static/wms/layui/layer_mobile/layer.js
new file mode 100644
index 0000000..2eb3e28
--- /dev/null
+++ b/src/main/webapp/static/wms/layui/layer_mobile/layer.js
@@ -0,0 +1,2 @@
+/*! layer mobile-v2.0 寮瑰眰缁勪欢绉诲姩鐗� License LGPL http://layer.layui.com/mobile By 璐ゅ績 */
+;!function(a){"use strict";var b=document,c="querySelectorAll",d="getElementsByClassName",e=function(a){return b[c](a)},f={type:0,shade:!0,shadeClose:!0,fixed:!0,anim:"scale"},g={extend:function(a){var b=JSON.parse(JSON.stringify(f));for(var c in a)b[c]=a[c];return b},timer:{},end:{}};g.touch=function(a,b){a.addEventListener("click",function(a){b.call(this,a)},!1)};var h=0,i=["layui-m-layer"],j=function(a){var b=this;b.config=g.extend(a),b.view()};j.prototype.view=function(){var a=this,c=a.config,f=b.createElement("div");a.id=f.id=i[0]+h,f.setAttribute("class",i[0]+" "+i[0]+(c.type||0)),f.setAttribute("index",h);var g=function(){var a="object"==typeof c.title;return c.title?'<h3 style="'+(a?c.title[1]:"")+'">'+(a?c.title[0]:c.title)+"</h3>":""}(),j=function(){"string"==typeof c.btn&&(c.btn=[c.btn]);var a,b=(c.btn||[]).length;return 0!==b&&c.btn?(a='<span yes type="1">'+c.btn[0]+"</span>",2===b&&(a='<span no type="0">'+c.btn[1]+"</span>"+a),'<div class="layui-m-layerbtn">'+a+"</div>"):""}();if(c.fixed||(c.top=c.hasOwnProperty("top")?c.top:100,c.style=c.style||"",c.style+=" top:"+(b.body.scrollTop+c.top)+"px"),2===c.type&&(c.content='<i></i><i class="layui-m-layerload"></i><i></i><p>'+(c.content||"")+"</p>"),c.skin&&(c.anim="up"),"msg"===c.skin&&(c.shade=!1),f.innerHTML=(c.shade?"<div "+("string"==typeof c.shade?'style="'+c.shade+'"':"")+' class="layui-m-layershade"></div>':"")+'<div class="layui-m-layermain" '+(c.fixed?"":'style="position:static;"')+'><div class="layui-m-layersection"><div class="layui-m-layerchild '+(c.skin?"layui-m-layer-"+c.skin+" ":"")+(c.className?c.className:"")+" "+(c.anim?"layui-m-anim-"+c.anim:"")+'" '+(c.style?'style="'+c.style+'"':"")+">"+g+'<div class="layui-m-layercont">'+c.content+"</div>"+j+"</div></div></div>",!c.type||2===c.type){var k=b[d](i[0]+c.type),l=k.length;l>=1&&layer.close(k[0].getAttribute("index"))}document.body.appendChild(f);var m=a.elem=e("#"+a.id)[0];c.success&&c.success(m),a.index=h++,a.action(c,m)},j.prototype.action=function(a,b){var c=this;a.time&&(g.timer[c.index]=setTimeout(function(){layer.close(c.index)},1e3*a.time));var e=function(){var b=this.getAttribute("type");0==b?(a.no&&a.no(),layer.close(c.index)):a.yes?a.yes(c.index):layer.close(c.index)};if(a.btn)for(var f=b[d]("layui-m-layerbtn")[0].children,h=f.length,i=0;h>i;i++)g.touch(f[i],e);if(a.shade&&a.shadeClose){var j=b[d]("layui-m-layershade")[0];g.touch(j,function(){layer.close(c.index,a.end)})}a.end&&(g.end[c.index]=a.end)},a.layer={v:"2.0",index:h,open:function(a){var b=new j(a||{});return b.index},close:function(a){var c=e("#"+i[0]+a)[0];c&&(c.innerHTML="",b.body.removeChild(c),clearTimeout(g.timer[a]),delete g.timer[a],"function"==typeof g.end[a]&&g.end[a](),delete g.end[a])},closeAll:function(){for(var a=b[d](i[0]),c=0,e=a.length;e>c;c++)layer.close(0|a[0].getAttribute("index"))}},"function"==typeof define?define(function(){return layer}):function(){var a=document.scripts,c=a[a.length-1],d=c.src,e=d.substring(0,d.lastIndexOf("/")+1);c.getAttribute("merge")||document.head.appendChild(function(){var a=b.createElement("link");return a.href=e+"need/layer.css?2.0",a.type="text/css",a.rel="styleSheet",a.id="layermcss",a}())}()}(window);
\ No newline at end of file
diff --git a/src/main/webapp/static/js/layer/mobile/need/layer.css b/src/main/webapp/static/wms/layui/layer_mobile/need/layer.css
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/js/layer/mobile/need/layer.css
copy to src/main/webapp/static/wms/layui/layer_mobile/need/layer.css
diff --git a/src/main/webapp/static/layui/layui.all.js b/src/main/webapp/static/wms/layui/layui.all.js
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/layui.all.js
copy to src/main/webapp/static/wms/layui/layui.all.js
diff --git a/src/main/webapp/static/layui/layui.js b/src/main/webapp/static/wms/layui/layui.js
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/layui.js
copy to src/main/webapp/static/wms/layui/layui.js
diff --git a/src/main/webapp/static/wms/layuiadmin/config.js b/src/main/webapp/static/wms/layuiadmin/config.js
new file mode 100644
index 0000000..9b20e50
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/config.js
@@ -0,0 +1,102 @@
+layui.define(['laytpl', 'layer', 'element', 'util'], function(exports){
+ exports('setter', {
+ container: 'LAY_app' //瀹瑰櫒ID
+ ,base: layui.cache.base //璁板綍闈欐�佽祫婧愭墍鍦ㄨ矾寰�
+ ,views: layui.cache.base + 'tpl/' //鍔ㄦ�佹ā鏉挎墍鍦ㄧ洰褰�
+ ,entry: 'index' //榛樿瑙嗗浘鏂囦欢鍚�
+ ,engine: '.html' //瑙嗗浘鏂囦欢鍚庣紑鍚�
+ ,pageTabs: true //鏄惁寮�鍚〉闈㈤�夐」鍗″姛鑳姐�俰frame鐗堟帹鑽愬紑鍚�
+
+ ,name: 'layuiAdmin'
+ ,tableName: 'layuiAdmin' //鏈湴瀛樺偍琛ㄥ悕
+ ,MOD_NAME: 'admin' //妯″潡浜嬩欢鍚�
+
+ ,debug: true //鏄惁寮�鍚皟璇曟ā寮忋�傚寮�鍚紝鎺ュ彛寮傚父鏃朵細鎶涘嚭寮傚父 URL 绛変俊鎭�
+
+ //鑷畾涔夎姹傚瓧娈�
+ ,request: {
+ tokenName: false //鑷姩鎼哄甫 token 鐨勫瓧娈靛悕锛堝锛歛ccess_token锛夈�傚彲璁剧疆 false 涓嶆惡甯︺��
+ }
+
+ //鑷畾涔夊搷搴斿瓧娈�
+ ,response: {
+ statusName: 'code' //鏁版嵁鐘舵�佺殑瀛楁鍚嶇О
+ ,statusCode: {
+ ok: 0 //鏁版嵁鐘舵�佷竴鍒囨甯哥殑鐘舵�佺爜
+ ,logout: 1001 //鐧诲綍鐘舵�佸け鏁堢殑鐘舵�佺爜
+ }
+ ,msgName: 'msg' //鐘舵�佷俊鎭殑瀛楁鍚嶇О
+ ,dataName: 'data' //鏁版嵁璇︽儏鐨勫瓧娈靛悕绉�
+ }
+
+ //鎵╁睍鐨勭涓夋柟妯″潡
+ ,extend: [
+ 'echarts', //echarts 鏍稿績鍖�
+ 'echartsTheme' //echarts 涓婚
+ ]
+
+ //涓婚閰嶇疆
+ ,theme: {
+ //鍐呯疆涓婚閰嶈壊鏂规
+ color: [{
+ main: '#20222A' //涓婚鑹�
+ ,selected: '#009688' //閫変腑鑹�
+ ,alias: 'default' //榛樿鍒悕
+ },{
+ main: '#03152A'
+ ,selected: '#3B91FF'
+ ,alias: 'dark-blue' //钘忚摑
+ },{
+ main: '#2E241B'
+ ,selected: '#A48566'
+ ,alias: 'coffee' //鍜栧暋
+ },{
+ main: '#50314F'
+ ,selected: '#7A4D7B'
+ ,alias: 'purple-red' //绱孩
+ },{
+ main: '#344058'
+ ,logo: '#1E9FFF'
+ ,selected: '#1E9FFF'
+ ,alias: 'ocean' //娴锋磱
+ },{
+ main: '#3A3D49'
+ ,logo: '#2F9688'
+ ,selected: '#5FB878'
+ ,alias: 'green' //澧ㄧ豢
+ },{
+ main: '#20222A'
+ ,logo: '#F78400'
+ ,selected: '#F78400'
+ ,alias: 'red' //姗欒壊
+ },{
+ main: '#28333E'
+ ,logo: '#AA3130'
+ ,selected: '#AA3130'
+ ,alias: 'fashion-red' //鏃跺皻绾�
+ },{
+ main: '#24262F'
+ ,logo: '#3A3D49'
+ ,selected: '#009688'
+ ,alias: 'classic-black' //缁忓吀榛�
+ },{
+ logo: '#226A62'
+ ,header: '#2F9688'
+ ,alias: 'green-header' //澧ㄧ豢澶�
+ },{
+ main: '#344058'
+ ,logo: '#0085E8'
+ ,selected: '#1E9FFF'
+ ,header: '#1E9FFF'
+ ,alias: 'ocean-header' //娴锋磱澶�
+ },{
+ header: '#393D49'
+ ,alias: 'classic-black-header' //缁忓吀榛戝ご
+ }]
+
+ //鍒濆鐨勯鑹茬储寮曪紝瀵瑰簲涓婇潰鐨勯厤鑹叉柟妗堟暟缁勭储寮�
+ //濡傛灉鏈湴宸茬粡鏈変富棰樿壊璁板綍锛屽垯浠ユ湰鍦拌褰曚负浼樺厛锛岄櫎闈炶姹傛湰鍦版暟鎹紙localStorage锛�
+ ,initColorIndex: 0
+ }
+ });
+});
diff --git a/src/main/webapp/static/wms/layuiadmin/json/console/prograss.js b/src/main/webapp/static/wms/layuiadmin/json/console/prograss.js
new file mode 100644
index 0000000..13a093b
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/console/prograss.js
@@ -0,0 +1,36 @@
+{
+ "code": 0
+ ,"msg": ""
+ ,"count": "100"
+ ,"data": [{
+ "prograss": "寮�浼�"
+ ,"time": "涓�灏忔椂"
+ ,"complete": "宸插畬鎴�"
+ ,"LAY_CHECKED": true
+ },{
+ "prograss": "椤圭洰寮�鍙�"
+ ,"time": "涓ゅ皬鏃�"
+ ,"complete": "杩涜涓�"
+ ,"LAY_CHECKED": true
+ },{
+ "prograss": "闄悆楗�"
+ ,"time": "涓�灏忔椂"
+ ,"complete": "鏈畬鎴�"
+ },{
+ "prograss": "淇敼灏廱ug"
+ ,"time": "鍗婂皬鏃�"
+ ,"complete": "鏈畬鎴�"
+ },{
+ "prograss": "淇敼澶ug"
+ ,"time": "涓ゅ皬鏃�"
+ ,"complete": "鏈畬鎴�"
+ },{
+ "prograss": "淇敼灏廱ug"
+ ,"time": "鍗婂皬鏃�"
+ ,"complete": "鏈畬鎴�"
+ },{
+ "prograss": "淇敼澶ug"
+ ,"time": "涓ゅ皬鏃�"
+ ,"complete": "鏈畬鎴�"
+ }]
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/json/console/top-card.js b/src/main/webapp/static/wms/layuiadmin/json/console/top-card.js
new file mode 100644
index 0000000..51ee9bb
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/console/top-card.js
@@ -0,0 +1,76 @@
+{
+ "code": 0
+ ,"msg": ""
+ ,"count": "100"
+ ,"data": [{
+ "id": 111
+ ,"title": "绀惧尯寮�濮嬫帴鍙� 鈥滆禐鍔╁晢骞垮憡鈥� 鎶曟斁"
+ ,"username": "璐ゅ績"
+ ,"channel": "鍏憡"
+ ,"href": "http://fly.layui.com/jie/15697/"
+ ,"crt": 61632
+ },{
+ "id": 222
+ ,"title": "layui 涓�鍛ㄥ勾"
+ ,"username": "鐚悆"
+ ,"channel": "璁ㄨ"
+ ,"href": "http://fly.layui.com/jie/16622/"
+ ,"crt": 61632
+ },{
+ "id": 333
+ ,"title": "鍥涗釜鏈堢殑鍓嶇"
+ ,"username": "fd"
+ ,"channel": "鍒嗕韩"
+ ,"href": "http://fly.layui.com/jie/16651/"
+ ,"crt": 61632
+ },{
+ "id": 333
+ ,"title": "濡備綍璇勪环LayUI鍜屼粬鐨勪綔鑰呴棽蹇�"
+ ,"username": "绾搁鏈�"
+ ,"channel": "鎻愰棶"
+ ,"href": "http://fly.layui.com/jie/9352/"
+ ,"crt": 61632
+ },{
+ "id": 333
+ ,"title": "濡備綍璇勪环LayUI鍜屼粬鐨勪綔鑰呴棽蹇�"
+ ,"username": "绾搁鏈�"
+ ,"channel": "鎻愰棶"
+ ,"href": "http://fly.layui.com/jie/9352/"
+ ,"crt": 61632
+ },{
+ "id": 333
+ ,"title": "濡備綍璇勪环LayUI鍜屼粬鐨勪綔鑰呴棽蹇�"
+ ,"username": "绾搁鏈�"
+ ,"channel": "鎻愰棶"
+ ,"href": "http://fly.layui.com/jie/9352/"
+ ,"crt": 61632
+ },{
+ "id": 333
+ ,"title": "濡備綍璇勪环LayUI鍜屼粬鐨勪綔鑰呴棽蹇�"
+ ,"username": "绾搁鏈�"
+ ,"channel": "鎻愰棶"
+ ,"href": "http://fly.layui.com/jie/9352/"
+ ,"crt": 61632
+ },{
+ "id": 333
+ ,"title": "濡備綍璇勪环LayUI鍜屼粬鐨勪綔鑰呴棽蹇�"
+ ,"username": "绾搁鏈�"
+ ,"channel": "鎻愰棶"
+ ,"href": "http://fly.layui.com/jie/9352/"
+ ,"crt": 61632
+ },{
+ "id": 333
+ ,"title": "濡備綍璇勪环LayUI鍜屼粬鐨勪綔鑰呴棽蹇�"
+ ,"username": "绾搁鏈�"
+ ,"channel": "鎻愰棶"
+ ,"href": "http://fly.layui.com/jie/9352/"
+ ,"crt": 61632
+ },{
+ "id": 333
+ ,"title": "濡備綍璇勪环LayUI鍜屼粬鐨勪綔鑰呴棽蹇�"
+ ,"username": "绾搁鏈�"
+ ,"channel": "鎻愰棶"
+ ,"href": "http://fly.layui.com/jie/9352/"
+ ,"crt": 61632
+ }]
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/json/console/top-search.js b/src/main/webapp/static/wms/layuiadmin/json/console/top-search.js
new file mode 100644
index 0000000..9750e5e
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/console/top-search.js
@@ -0,0 +1,46 @@
+{
+ "code": 0
+ ,"msg": ""
+ ,"count": "100"
+ ,"data": [{
+ "keywords": "璐ゅ績鏄敺鏄コ"
+ ,"frequency": 8520
+ ,"userNums": 2216
+ },{
+ "keywords": "Java绋嬪簭鍛樿兘鎵惧埌濂虫湅鍙嬪悧"
+ ,"frequency": 666
+ ,"userNums": 333
+ },{
+ "keywords": "姝よ〃鏍兼槸闈欐�佹ā鎷熸暟鎹�"
+ ,"frequency": 666
+ ,"userNums": 333
+ },{
+ "keywords": "layui瀹樻柟鏁欑▼"
+ ,"frequency": 666
+ ,"userNums": 333
+ },{
+ "keywords": "layui瀹樻柟鏁欑▼"
+ ,"frequency": 666
+ ,"userNums": 333
+ },{
+ "keywords": "layui瀹樻柟鏁欑▼"
+ ,"frequency": 666
+ ,"userNums": 333
+ },{
+ "keywords": "layui瀹樻柟鏁欑▼"
+ ,"frequency": 666
+ ,"userNums": 333
+ },{
+ "keywords": "layui瀹樻柟鏁欑▼"
+ ,"frequency": 666
+ ,"userNums": 333
+ },{
+ "keywords": "layui瀹樻柟鏁欑▼"
+ ,"frequency": 666
+ ,"userNums": 333
+ },{
+ "keywords": "layui瀹樻柟鏁欑▼"
+ ,"frequency": 666
+ ,"userNums": 333
+ }]
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/json/content/comment.js b/src/main/webapp/static/wms/layuiadmin/json/content/comment.js
new file mode 100644
index 0000000..45b8c3f
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/content/comment.js
@@ -0,0 +1,56 @@
+{
+ "code": 0
+ ,"msg": ""
+ ,"count": "100"
+ ,"data": [{
+ "id": "001"
+ ,"reviewers": "璧�"
+ ,"content": "鎴戝張鐖变笂缂栫▼浜�"
+ ,"commtime": 20160312
+ },{
+ "id": "002"
+ ,"reviewers": "閽�"
+ ,"content": "濂崇敓鍑洪棬瑕佸皬蹇�"
+ ,"commtime": 20160821
+ },{
+ "id": "003"
+ ,"reviewers": "瀛�"
+ ,"content": "妗嗘灦灏辩敤layui"
+ ,"commtime": 20161212
+ },{
+ "id": "004"
+ ,"reviewers": "鏉�"
+ ,"content": "蹇冨涔堜箞鍝�"
+ ,"commtime": 20170311
+ },{
+ "id": "005"
+ ,"reviewers": "鍛�"
+ ,"content": "甯屾湜鏄庡ぉ鏄釜濂藉ぉ姘�"
+ ,"commtime": 20170612
+ },{
+ "id": "006"
+ ,"reviewers": "鍚�"
+ ,"content": "鎴戝張鐖变笂缂栫▼浜�"
+ ,"commtime": 20171112
+ },{
+ "id": "007"
+ ,"reviewers": "閮�"
+ ,"content": "濂崇敓鍑洪棬瑕佸皬蹇�"
+ ,"commtime": 20171230
+ },{
+ "id": "008"
+ ,"reviewers": "鐜�"
+ ,"content": "妗嗘灦灏辩敤layui"
+ ,"commtime": 20180112
+ },{
+ "id": "009"
+ ,"reviewers": "鍐�"
+ ,"content": "蹇冨涔堜箞鍝�"
+ ,"commtime": 20180221
+ },{
+ "id": "010"
+ ,"reviewers": "闄�"
+ ,"content": "甯屾湜鏄庡ぉ鏄釜濂藉ぉ姘�"
+ ,"commtime": 20180312
+ }]
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/json/content/list.js b/src/main/webapp/static/wms/layuiadmin/json/content/list.js
new file mode 100644
index 0000000..b70f3e7
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/content/list.js
@@ -0,0 +1,62 @@
+{
+ "code": 0
+ ,"msg": ""
+ ,"count": "100"
+ ,"data": [{
+ "id": "001"
+ ,"label": "缇庨"
+ ,"title": "鑸屽皷涓婄殑涓浗绗竴瀛�"
+ ,"author": "浣滆��-1"
+ ,"content": "閫氳繃涓崕缇庨鐨勫涓晶闈紝鏉ュ睍鐜伴鐗╃粰涓浗浜虹敓娲诲甫鏉ョ殑浠紡銆佷鸡鐞嗙瓑鏂归潰鐨勬枃鍖栵紱瑙佽瘑涓浗鐗硅壊椋熸潗浠ュ強涓庨鐗╃浉鍏炽�佹瀯鎴愪腑鍥界編椋熺壒鏈夋皵璐ㄧ殑涓�绯诲垪鍏冪礌锛涗簡瑙d腑鍗庨ギ椋熸枃鍖栫殑绮捐嚧鍜屾簮杩滄祦闀�"
+ ,"uploadtime": 20121204
+ ,"status": true
+ },{
+ "id": "002"
+ ,"label": "缇庨"
+ ,"title": "鑸屽皷涓婄殑涓浗绗簩瀛�"
+ ,"author": "浣滆��-2"
+ ,"content": "浠ラ鐗╀负绐楀彛锛岃鎳備腑鍥解�斺�旈�氳繃缇庨锛屼娇浜轰滑鍙互鏈夋粙鏈夊懗鍦拌鐭ヨ繖涓彜鑰佺殑涓滄柟鍥藉害銆傗�滀竴鏂规按鍦熶竴鏂逛汉鈥濓紝鏈墖灏嗛�氳繃灞曠ず浜轰滑鏃ュ父鐢熸椿涓笌缇庨鐩稿叧鐨勫閲嶄晶闈紝鎻忕粯涓庢劅鐭ヤ腑鍥戒汉鐨勬枃鍖栦紶缁熴�佸鏃忚蹇点�佺敓娲绘�佸害涓庢晠鍦熼毦绂汇�備汉浠敹鑾枫�佷繚瀛樸�佺児楗�佺敓浜х編椋燂紝骞跺湪鍏惰繃绋嬩腑鐣欏瓨鍜屼紶鎵块鐗╂墍鎵胯浇鐨勫懗瑙夎蹇嗐�侀ギ椋熶範淇椼�佹枃鍖栨牱鎬佷笌瀹跺父鎯呮劅銆�"
+ ,"uploadtime": 20141204
+ ,"status": false
+ },{
+ "id": "003"
+ ,"label": "缇庨"
+ ,"title": "鑸屽皷涓婄殑涓浗绗笁瀛�"
+ ,"author": "浣滆��-3"
+ ,"content": "浠ラ鐗╀负绐楀彛锛岃鎳備腑鍥解�斺�旈�氳繃缇庨锛屼娇浜轰滑鍙互鏈夋粙鏈夊懗鍦拌鐭ヨ繖涓彜鑰佺殑涓滄柟鍥藉害銆傗�滀竴鏂规按鍦熶竴鏂逛汉鈥濓紝鏈墖灏嗛�氳繃灞曠ず浜轰滑鏃ュ父鐢熸椿涓笌缇庨鐩稿叧鐨勫閲嶄晶闈紝鎻忕粯涓庢劅鐭ヤ腑鍥戒汉鐨勬枃鍖栦紶缁熴�佸鏃忚蹇点�佺敓娲绘�佸害涓庢晠鍦熼毦绂汇�備汉浠敹鑾枫�佷繚瀛樸�佺児楗�佺敓浜х編椋燂紝骞跺湪鍏惰繃绋嬩腑鐣欏瓨鍜屼紶鎵块鐗╂墍鎵胯浇鐨勫懗瑙夎蹇嗐�侀ギ椋熶範淇椼�佹枃鍖栨牱鎬佷笌瀹跺父鎯呮劅灏嗕笘鐣岀編椋熷拰涓浗缇庨杩涜姣旂収銆傛槬鑰曘�佸鑰樸�佺鏀躲�佸啲钘忥紝澶╀汉鍚堜竴鐨勪笢鏂瑰摬瀛﹁涓浗楗渚濇椂鑰屽彉锛屾櫤鎱х伒鍔紝涓尰钀ュ吇鎽勭敓瀛﹁鍒涢�犱簡椋熸潗杩愮敤鐨勬柊澶╁湴锛屽剴瀹朵汉浼﹂亾寰峰垯鎶婂績鎰忓拰瀹剁殑鍛抽亾绔笂鎴戜滑鐨勯妗屻�傛窐娲楀巻鍙诧紝绯呭悎鏃跺厜锛屼竴浠e張涓�浠g殑涓浗浜哄湪澶╁湴闂村崌璧风儫鐏紝鐢ㄨ嚦绮捐嚦璇氱殑蹇冩剰鐑瑰埗椋熺墿锛屼竴椁愪竴椋熶箣闂达紝涓浗浜哄睍绀轰釜鎬э紝纭褰掑睘锛屾瀯寤烘枃鏄庯紝鐞嗚В鍜屾妸鎻$潃涓栫晫鐨勫ゥ濡欍��"
+ ,"uploadtime": 20161204
+ ,"status": false
+ },{
+ "id": "004"
+ ,"label": "鍘嗗彶"
+ ,"title": "璇歌憶浜獋鐜嬫湕"
+ ,"author": "浣滆��-1"
+ ,"content": "鐨撻鍖瑰か锛佽媿楂�佽醇锛佷綘鍗冲皢鍛藉綊浜庝節娉変箣涓嬶紝灞婃椂锛屾湁浣曢潰鐩姹夋湞浜屽崄鍥涗唬鍏堝笣锛熶簩鑷h醇瀛愶紒浣犳瀴娲讳竷鍗佹湁鍏紝涓�鐢熸湭绔嬪鍔燂紝鍙細鎽囧攪鑸炶垖锛屽姪鏇逛负铏愶紒涓�鏉℃柇鑴婁箣鐘紝杩樻暍鍦ㄦ垜鍐涢樀鍓嶇嫼鐙虹媯鍚狅紒鎴戜粠鏈杩囧姝ゅ帤棰滄棤鑰讳箣浜猴紒锛侊紒"
+ ,"uploadtime": 20180201
+ ,"status": false
+ },{
+ "id": "005"
+ ,"label": "鏂伴椈"
+ ,"title": "鏂版椂浠g壒鑹蹭腑鍥芥ⅵ"
+ ,"author": "浣滆��-1"
+ ,"content": "浠婂ぉ锛屾垜浠瘮鍘嗗彶涓婁换浣曟椂鏈熼兘鏇存帴杩戙�佹洿鏈変俊蹇冨拰鑳藉姏瀹炵幇涓崕姘戞棌浼熷ぇ澶嶅叴鐨勭洰鏍囥�傛柊鏃朵唬宸茬粡鍒版潵锛岃摑鍥惧凡缁忕粯灏憋紝涓浗姊︾鎴戜滑瓒婃潵瓒婅繎浜嗐��"
+ ,"uploadtime": 20180512
+ ,"status": false
+ },{
+ "id": "006"
+ ,"label": "鏂伴椈"
+ ,"title": "鏂版椂浠g壒鑹蹭腑鍥芥ⅵ"
+ ,"author": "浣滆��-2"
+ ,"content": "姊︽兂涓嶄細涓诲姩璧板悜鎴戜滑锛屽彧鏈夋垜浠幓涓诲姩瀹炵幇姊︽兂銆傝鐧鹃噷鑰呭崐涔濆崄銆傝櫧鐒朵腑鍥芥ⅵ绂绘垜浠秺鏉ヨ秺杩戜簡锛屼絾鏄瀹炵幇涓浗姊︼紝杩樿闈犳垜浠互姘镐笉鎳堟�犵殑绮剧鐘舵�併�佸姛鍦ㄤ笉鑸嶇殑鍧氬己鎰忓織锛屼笉蹇樺垵蹇冿紝缁х画鍓嶈繘銆�"
+ ,"uploadtime": 20180514
+ ,"status": false
+ },{
+ "id": "007"
+ ,"label": "浣撹偛"
+ ,"title": "鐨囬┈澶ф垬鍒╃墿娴�"
+ ,"author": "浣滆��-3"
+ ,"content": "瀵规瓒宠仈鑰岃█锛屾洿鎯宠浜х敓涓柊鍐犲啗銆傝繛缁笁骞撮兘鏄悓涓�涓啝鍐涢槦锛岃繖浼氭瘉鎺夋鍐犫�︹�︹�濇牸閲屽琛ㄦ�侊紝鈥滅殗椹湁姊﹀够鑸殑闃靛锛屼絾浠庝績杩涚珵浜夌殑瑙掑害鑰岃█锛屽彟涓�鏀悆闃熻幏鑳滀細鏇村ソ銆�"
+ ,"uploadtime": 20180515
+ ,"status": false
+ }]
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/json/content/tags.js b/src/main/webapp/static/wms/layuiadmin/json/content/tags.js
new file mode 100644
index 0000000..6ca85cd
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/content/tags.js
@@ -0,0 +1,21 @@
+{
+ "code": 0
+ ,"msg": ""
+ ,"count": "100"
+ ,"data": [{
+ "id": "001"
+ ,"tags": "缇庨"
+ },{
+ "id": "002"
+ ,"tags": "鏂伴椈"
+ },{
+ "id": "003"
+ ,"tags": "鍏崷"
+ },{
+ "id": "004"
+ ,"tags": "浣撹偛"
+ },{
+ "id": "005"
+ ,"tags": "闊充箰"
+ }]
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/json/forum/list.js b/src/main/webapp/static/wms/layuiadmin/json/forum/list.js
new file mode 100644
index 0000000..144e75b
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/forum/list.js
@@ -0,0 +1,62 @@
+{
+ "code": 0
+ ,"msg": ""
+ ,"count": "100"
+ ,"data": [{
+ "id": "1001"
+ ,"poster": "璧�"
+ ,"avatar": "https://wx4.sinaimg.cn/mw1024/5db11ff4gy1fmx4keaw9pj20dw08caa4.jpg"
+ ,"content": "涓轰粈涔堣姳鍎胯繖涔堜箞绾�"
+ ,"posttime": 20160805
+ ,"top": false
+ },{
+ "id": "1002"
+ ,"poster": "閽�"
+ ,"avatar": "https://wx4.sinaimg.cn/mw1024/5db11ff4gy1fmx4keaw9pj20dw08caa4.jpg"
+ ,"content": "鍠滄鑳℃瓕锛岃禐璧炶禐"
+ ,"posttime": 20161205
+ ,"top": true
+ },{
+ "id": "1003"
+ ,"poster": "瀛�"
+ ,"avatar": "https://wx4.sinaimg.cn/mw1024/5db11ff4gy1fmx4keaw9pj20dw08caa4.jpg"
+ ,"content": "鏄庡ぉ灏辫鑰冭瘯浜嗭紝濂界揣寮狅紝姹備繚浣�"
+ ,"posttime": 20170405
+ ,"top": false
+ },{
+ "id": "1004"
+ ,"poster": "鏉�"
+ ,"avatar": "https://wx4.sinaimg.cn/mw1024/5db11ff4gy1fmx4keaw9pj20dw08caa4.jpg"
+ ,"content": "甯屾湜鏄庡ぉ鏄釜濂藉ぉ姘�"
+ ,"posttime": 20171005
+ ,"top": false
+ },{
+ "id": "1005"
+ ,"poster": "鍛�"
+ ,"avatar": "https://wx4.sinaimg.cn/mw1024/5db11ff4gy1fmx4keaw9pj20dw08caa4.jpg"
+ ,"content": "濂宠拷鐢烽殧灞傜罕锛屾槸涓嶆槸鐪熺殑"
+ ,"posttime": 20180205
+ ,"top": false
+ },{
+ "id": "1006"
+ ,"poster": "鍚�"
+ ,"avatar": "https://wx4.sinaimg.cn/mw1024/5db11ff4gy1fmx4keaw9pj20dw08caa4.jpg"
+ ,"content": "绔熺劧鏈変汉璺虫ゼ锛屽勾杞讳汉鎯充笉寮�鍟婏紒"
+ ,"posttime": 20180512
+ ,"top": false
+ },{
+ "id": "1007"
+ ,"poster": "閮�"
+ ,"avatar": "https://wx4.sinaimg.cn/mw1024/5db11ff4gy1fmx4keaw9pj20dw08caa4.jpg"
+ ,"content": "澶у涓�瀹氫笉鑳藉閭d釜骞磋交浜猴紝鐝嶇埍鐢熷懡鍟�"
+ ,"posttime": 20180512
+ ,"top": false
+ },{
+ "id": "1008"
+ ,"poster": "鐜�"
+ ,"avatar": "https://wx4.sinaimg.cn/mw1024/5db11ff4gy1fmx4keaw9pj20dw08caa4.jpg"
+ ,"content": "鎯崇煡閬撳崡鏄屽摢閲屾湁濂藉悆鐨勮タ瀹夎倝澶归"
+ ,"posttime": 20180514
+ ,"top": false
+ }]
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/json/forum/replys.js b/src/main/webapp/static/wms/layuiadmin/json/forum/replys.js
new file mode 100644
index 0000000..0703695
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/forum/replys.js
@@ -0,0 +1,69 @@
+{
+ "code": 0
+ ,"msg": ""
+ ,"count": "100"
+ ,"data": [{
+ "id": "001"
+ ,"replyer": "鍚�"
+ ,"cardid": "1002"
+ ,"avatar": "https://wx2.sinaimg.cn/mw690/5db11ff4gy1fmx4kec5bvj20eb0h3mxh.jpg"
+ ,"content": "鏈夌溂鍏夛紝鎴戜篃鍠滄鑳℃瓕锛�"
+ ,"replytime": 20161205
+ },{
+ "id": "002"
+ ,"replyer": "閮�"
+ ,"cardid": "1002"
+ ,"avatar": "https://wx2.sinaimg.cn/mw690/5db11ff4gy1fmx4kec5bvj20eb0h3mxh.jpg"
+ ,"content": "鍚屼笂鍚屼笂銆�"
+ ,"replytime": 20161205
+ },{
+ "id": "003"
+ ,"replyer": "鐜�"
+ ,"cardid": "1003"
+ ,"avatar": "https://wx2.sinaimg.cn/mw690/5db11ff4gy1fmx4kec5bvj20eb0h3mxh.jpg"
+ ,"content": "鑳借繃涓�瀹氳繃锛屼笉鑳借繃绱у紶涔熸病鐢�"
+ ,"replytime": 20170405
+ },{
+ "id": "004"
+ ,"replyer": "鍐�"
+ ,"cardid": "1001"
+ ,"avatar": "https://wx2.sinaimg.cn/mw690/5db11ff4gy1fmx4kec5bvj20eb0h3mxh.jpg"
+ ,"content": "鍙兘鍥犱负浣犳祦榧昏浜嗐��"
+ ,"replytime": 20170405
+ },{
+ "id": "005"
+ ,"replyer": "闄�"
+ ,"cardid": "1003"
+ ,"avatar": "https://wx2.sinaimg.cn/mw690/5db11ff4gy1fmx4kec5bvj20eb0h3mxh.jpg"
+ ,"content": "鍔犳补鍔犳补锛岀湅濂戒綘"
+ ,"replytime": 20170405
+ },{
+ "id": "006"
+ ,"replyer": "瑜�"
+ ,"cardid": "1005"
+ ,"avatar": "https://wx2.sinaimg.cn/mw690/5db11ff4gy1fmx4kec5bvj20eb0h3mxh.jpg"
+ ,"content": "绾睘鏀惧眮"
+ ,"replytime": 20180207
+ },{
+ "id": "007"
+ ,"replyer": "鍗�"
+ ,"cardid": "1005"
+ ,"avatar": "https://wx2.sinaimg.cn/mw690/5db11ff4gy1fmx4kec5bvj20eb0h3mxh.jpg"
+ ,"content": "鍙互璇曡瘯"
+ ,"replytime": 20180207
+ },{
+ "id": "006"
+ ,"replyer": "钂�"
+ ,"cardid": "1006"
+ ,"avatar": "https://wx2.sinaimg.cn/mw690/5db11ff4gy1fmx4kec5bvj20eb0h3mxh.jpg"
+ ,"content": "鏄晩鏄晩锛屽お鎭愭�栦簡銆�"
+ ,"replytime": 20180512
+ },{
+ "id": "007"
+ ,"replyer": "娌�"
+ ,"cardid": "1008"
+ ,"avatar": "https://wx2.sinaimg.cn/mw690/5db11ff4gy1fmx4kec5bvj20eb0h3mxh.jpg"
+ ,"content": "榄忓鍑夌毊鐨勫噳鐨氨寰堜笉閿欏ゥ銆�"
+ ,"replytime": 20180515
+ }]
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/json/layer/photos.js b/src/main/webapp/static/wms/layuiadmin/json/layer/photos.js
new file mode 100644
index 0000000..7daedc3
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/layer/photos.js
@@ -0,0 +1,39 @@
+{
+ "code": 0,
+ "msg": "",
+ "title": "JSON璇锋眰鐨勭浉鍐�",
+ "id": 8,
+ "start": 0,
+ "data": [
+ {
+ "alt": "layer",
+ "pid": 109,
+ "src": "https://wx4.sinaimg.cn/mw1024/5db11ff4gy1fmx4keaw9pj20dw08caa4.jpg",
+ "thumb": ""
+ },
+ {
+ "alt": "璇村ソ鐨勶紝涓�璧稦ly",
+ "pid": 110,
+ "src": "https://wx4.sinaimg.cn/mw1024/5db11ff4gy1fmx4kebemcj20ga09saa1.jpg",
+ "thumb": ""
+ },
+ {
+ "alt": "浣熶附濞呭コ绁�",
+ "pid": 111,
+ "src": "https://wx2.sinaimg.cn/mw690/5db11ff4gy1fmx4kec5bvj20eb0h3mxh.jpg",
+ "thumb": ""
+ },
+ {
+ "alt": "鍑ゅ鏄釜濂戒汉",
+ "pid": 112,
+ "src": "https://wx3.sinaimg.cn/mw690/5db11ff4gy1fmx4kec9vuj20b20dwmyk.jpg",
+ "thumb": ""
+ },
+ {
+ "alt": "鏄熺┖濡傛娣遍們",
+ "pid": 113,
+ "src": "https://wx3.sinaimg.cn/mw690/5db11ff4gy1fmx4keca8ag208g06iglw.gif",
+ "thumb": ""
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/json/layim/getList.js b/src/main/webapp/static/wms/layuiadmin/json/layim/getList.js
new file mode 100644
index 0000000..aa88110
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/layim/getList.js
@@ -0,0 +1,96 @@
+{
+ "code": 0
+ ,"msg": ""
+ ,"data": {
+ "mine": {
+ "username": "绾搁鏈�"
+ ,"id": "100000"
+ ,"status": "online"
+ ,"sign": "鍦ㄦ繁閭冪殑缂栫爜涓栫晫锛屽仛涓�鏋氳交鐩堢殑绾搁鏈�"
+ ,"avatar": "//res.layui.com/images/fly/avatar/00.jpg"
+ }
+ ,"friend": [{
+ "groupname": "鐭ュ悕浜虹墿"
+ ,"id": 0
+ ,"list": [{
+ "username": "璐ゅ績"
+ ,"id": "100001"
+ ,"avatar": "//tva1.sinaimg.cn/crop.0.0.118.118.180/5db11ff4gw1e77d3nqrv8j203b03cweg.jpg"
+ ,"sign": "杩欎簺閮芥槸娴嬭瘯鏁版嵁锛屽疄闄呬娇鐢ㄨ涓ユ牸鎸夌収璇ユ牸寮忚繑鍥�"
+ ,"status": "online"
+ },{
+ "username": "鍒樻稕tamia"
+ ,"id": "100001222"
+ ,"sign": "濡傜害鑰岃嚦锛屼笉璐熷濡规涔愰"
+ ,"avatar": "//tva4.sinaimg.cn/crop.0.1.1125.1125.180/475bb144jw8f9nwebnuhkj20v90vbwh9.jpg"
+ },{
+ "username": "璋㈡"
+ ,"id": "10034001"
+ ,"avatar": "//tva2.sinaimg.cn/crop.1.0.747.747.180/633f068fjw8f9h040n951j20ku0kr74t.jpg"
+ ,"sign": ""
+ },{
+ "username": "椹皬浜�"
+ ,"id": "168168"
+ ,"avatar": "//tva1.sinaimg.cn/crop.0.0.180.180.180/7fde8b93jw1e8qgp5bmzyj2050050aa8.jpg"
+ ,"sign": "璁╁ぉ涓嬫病鏈夐毦鍐欑殑浠g爜"
+ },{
+ "username": "寰愬皬宄�"
+ ,"id": "666666"
+ ,"avatar": "//tva1.sinaimg.cn/crop.0.0.512.512.180/6a4acad5jw8eqi6yaholjj20e80e8t9f.jpg"
+ ,"sign": "浠g爜鍦ㄥ洤閫旓紝涔熻鍐欏埌搴�"
+ }]
+ },{
+ "groupname": "缃戠孩澹颁紭"
+ ,"id": 1
+ ,"list": [{
+ "username": "缃楃帀鍑�"
+ ,"id": "121286"
+ ,"avatar": "//tva4.sinaimg.cn/crop.0.0.640.640.180/4a02849cjw8fc8vn18vktj20hs0hs75v.jpg"
+ ,"sign": "鍦ㄨ嚜宸卞疄鍔涗笉娴庣殑鏃跺�欙紝涓嶈鍘荤浉淇′粈涔堝獟浣撳拰璁拌�呫�備粬浠笉鏄杽鑹殑浜猴紝鏈夋椂鍊欏�欎粬浠殑閲囪瀵瑰綋浜嬩汉鑰岃█灏辨槸闄烽槺"
+ },{
+ "username": "Z_瀛愭櫞"
+ ,"id": "108101"
+ ,"avatar": "//tva1.sinaimg.cn/crop.0.23.1242.1242.180/8693225ajw8fbimjimpjwj20yi0zs77l.jpg"
+ ,"sign": "寰數鍟嗚揪浜�"
+ },{
+ "username": "澶ч奔_MsYuyu"
+ ,"id": "12123454"
+ ,"avatar": "//tva2.sinaimg.cn/crop.0.0.512.512.180/005LMAegjw8f2bp9qg4mrj30e80e8dg5.jpg"
+ ,"sign": "鎴戠構浜嗭紒閫欎篃澶簴浜嗗惂 瓒呯礆绗戦粸浣�"
+ },{
+ "username": "閱嬮唻cucu"
+ ,"id": "102101"
+ ,"avatar": "//tva2.sinaimg.cn/crop.0.0.640.640.180/648fbe5ejw8ethmg0u9egj20hs0ht0tn.jpg"
+ ,"sign": ""
+ },{
+ "username": "鏌忛洩杩戝湪瀹冮"
+ ,"id": "3435343"
+ ,"avatar": "//tva2.sinaimg.cn/crop.0.8.751.751.180/961a9be5jw8fczq7q98i7j20kv0lcwfn.jpg"
+ ,"sign": ""
+ }]
+ },{
+ "groupname": "濂崇鑹轰汉"
+ ,"id": 2
+ ,"list": [{
+ "username": "鐜嬬璐�"
+ ,"id": "76543"
+ ,"avatar": "//wx2.sinaimg.cn/mw690/5db11ff4gy1flxmew7edlj203d03wt8n.jpg"
+ ,"sign": "鎴戠埍璐ゅ績"
+ },{
+ "username": "浣熶附濞�"
+ ,"id": "4803920"
+ ,"avatar": "//tva3.sinaimg.cn/crop.0.0.750.750.180/5033b6dbjw8etqysyifpkj20ku0kuwfw.jpg"
+ ,"sign": "鎴戜篃鐖辫搐蹇冨悥鍚栧晩"
+ }]
+ }]
+ ,"group": [{
+ "groupname": "鍓嶇缇�"
+ ,"id": "101"
+ ,"avatar": "//tva1.sinaimg.cn/crop.0.0.200.200.50/006q8Q6bjw8f20zsdem2mj305k05kdfw.jpg"
+ },{
+ "groupname": "Fly绀惧尯瀹樻柟缇�"
+ ,"id": "102"
+ ,"avatar": "//tva2.sinaimg.cn/crop.0.0.199.199.180/005Zseqhjw1eplix1brxxj305k05kjrf.jpg"
+ }]
+ }
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/json/layim/getMembers.js b/src/main/webapp/static/wms/layuiadmin/json/layim/getMembers.js
new file mode 100644
index 0000000..66dcba0
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/layim/getMembers.js
@@ -0,0 +1,67 @@
+{
+ "code": 0
+ ,"msg": ""
+ ,"data": {
+ "list": [{
+ "username": "璐ゅ績"
+ ,"id": "100001"
+ ,"avatar": "//tva1.sinaimg.cn/crop.0.0.118.118.180/5db11ff4gw1e77d3nqrv8j203b03cweg.jpg"
+ ,"sign": "杩欎簺閮芥槸娴嬭瘯鏁版嵁锛屽疄闄呬娇鐢ㄨ涓ユ牸鎸夌収璇ユ牸寮忚繑鍥�"
+ },{
+ "username": "Z_瀛愭櫞"
+ ,"id": "108101"
+ ,"avatar": "//tva1.sinaimg.cn/crop.0.23.1242.1242.180/8693225ajw8fbimjimpjwj20yi0zs77l.jpg"
+ ,"sign": "寰數鍟嗚揪浜�"
+ },{
+ "username": "Lemon_CC"
+ ,"id": "102101"
+ ,"avatar": "//tva4.sinaimg.cn/crop.0.0.180.180.180/6d424ea5jw1e8qgp5bmzyj2050050aa8.jpg"
+ ,"sign": ""
+ },{
+ "username": "椹皬浜�"
+ ,"id": "168168"
+ ,"avatar": "//tva1.sinaimg.cn/crop.0.0.180.180.180/7fde8b93jw1e8qgp5bmzyj2050050aa8.jpg"
+ ,"sign": "璁╁ぉ涓嬫病鏈夐毦鍐欑殑浠g爜"
+ },{
+ "username": "寰愬皬宄�"
+ ,"id": "666666"
+ ,"avatar": "//tva1.sinaimg.cn/crop.0.0.512.512.180/6a4acad5jw8eqi6yaholjj20e80e8t9f.jpg"
+ ,"sign": "浠g爜鍦ㄥ洤閫旓紝涔熻鍐欏埌搴�"
+ },{
+ "username": "缃楃帀鍑�"
+ ,"id": "121286"
+ ,"avatar": "//tva4.sinaimg.cn/crop.0.0.640.640.180/4a02849cjw8fc8vn18vktj20hs0hs75v.jpg"
+ ,"sign": "鍦ㄨ嚜宸卞疄鍔涗笉娴庣殑鏃跺�欙紝涓嶈鍘荤浉淇′粈涔堝獟浣撳拰璁拌�呫�備粬浠笉鏄杽鑹殑浜猴紝鏈夋椂鍊欏�欎粬浠殑閲囪瀵瑰綋浜嬩汉鑰岃█灏辨槸闄烽槺"
+ },{
+ "username": "鍒樻稕tamia"
+ ,"id": "100001222"
+ ,"avatar": "//tva4.sinaimg.cn/crop.0.1.1125.1125.180/475bb144jw8f9nwebnuhkj20v90vbwh9.jpg"
+ ,"sign": "濡傜害鑰岃嚦锛屼笉璐熷濡规涔愰"
+ },{
+ "username": "澶ч奔_MsYuyu"
+ ,"id": "12123454"
+ ,"avatar": "//tva2.sinaimg.cn/crop.0.0.512.512.180/005LMAegjw8f2bp9qg4mrj30e80e8dg5.jpg"
+ ,"sign": "鎴戠構浜嗭紒閫欎篃澶簴浜嗗惂 瓒呯礆绗戦粸浣�"
+ },{
+ "username": "璋㈡"
+ ,"id": "10034001"
+ ,"avatar": "//tva2.sinaimg.cn/crop.1.0.747.747.180/633f068fjw8f9h040n951j20ku0kr74t.jpg"
+ ,"sign": ""
+ },{
+ "username": "鏌忛洩杩戝湪瀹冮"
+ ,"id": "3435343"
+ ,"avatar": "//tva2.sinaimg.cn/crop.0.8.751.751.180/961a9be5jw8fczq7q98i7j20kv0lcwfn.jpg"
+ ,"sign": ""
+ },{
+ "username": "鏋楀績濡�"
+ ,"id": "76543"
+ ,"avatar": "//tva3.sinaimg.cn/crop.0.0.512.512.180/48f122e6jw8fcmi072lkyj20e80e8t9i.jpg"
+ ,"sign": "鎴戠埍璐ゅ績"
+ },{
+ "username": "浣熶附濞�"
+ ,"id": "4803920"
+ ,"avatar": "//tva3.sinaimg.cn/crop.0.0.750.750.180/5033b6dbjw8etqysyifpkj20ku0kuwfw.jpg"
+ ,"sign": "鎴戜篃鐖辫搐蹇冨悥鍚栧晩"
+ }]
+ }
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/json/mall/order.js b/src/main/webapp/static/wms/layuiadmin/json/mall/order.js
new file mode 100644
index 0000000..9ce2971
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/mall/order.js
@@ -0,0 +1,42 @@
+{
+ "code": 0
+ ,"msg": ""
+ ,"count": "100"
+ ,"data": [{
+ "invoice": "X123565541"
+ ,"username": "寮犲皬涓�"
+ ,"orderDate": "2017-11-10"
+ ,"amount": 800
+ ,"status": 1
+ },{
+ "invoice": "X123565542"
+ ,"username": "鏉庡皬鍥�"
+ ,"orderDate": "2017-11-10"
+ ,"amount": 800
+ ,"status": 0
+ },{
+ "invoice": "X123565543"
+ ,"username": "鐜嬭�佷簲"
+ ,"orderDate": "2017-11-10"
+ ,"amount": 800
+ ,"status": 1
+ },{
+ "invoice": "X123565544"
+ ,"username": "璧靛皬鍏�"
+ ,"orderDate": "2017-11-09"
+ ,"amount": 1600
+ ,"status": 1
+ },{
+ "invoice": "X123565545"
+ ,"username": "瀛欏皬涓�"
+ ,"orderDate": "2017-11-09"
+ ,"amount": 1600
+ ,"status": -1
+ },{
+ "invoice": "X123565546"
+ ,"username": "鍛ㄥ皬鍏�"
+ ,"orderDate": "2017-11-08"
+ ,"amount": 2600
+ ,"status": 1
+ }]
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/json/menu.js b/src/main/webapp/static/wms/layuiadmin/json/menu.js
new file mode 100644
index 0000000..0408505
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/menu.js
@@ -0,0 +1,227 @@
+{
+ "code": 0
+ ,"msg": ""
+ ,"data": [{
+ "name": "component"
+ ,"title": "缁勪欢"
+ ,"icon": "layui-icon-component"
+ ,"list": [{
+ "name": "grid"
+ ,"title": "鏍呮牸"
+ ,"list": [{
+ "name": "list"
+ ,"title": "绛夋瘮渚嬪垪琛ㄦ帓鍒�"
+ },{
+ "name": "mobile"
+ ,"title": "鎸夌Щ鍔ㄧ鎺掑垪"
+ },{
+ "name": "mobile-pc"
+ ,"title": "绉诲姩妗岄潰绔粍鍚�"
+ },{
+ "name": "all"
+ ,"title": "鍏ㄧ澶嶆潅缁勫悎"
+ },{
+ "name": "stack"
+ ,"title": "浣庝簬妗岄潰鍫嗗彔鎺掑垪"
+ },{
+ "name": "speed-dial"
+ ,"title": "涔濆鏍�"
+ }]
+ }, {
+ "name": "button"
+ ,"title": "鎸夐挳"
+ }, {
+ "name": "form"
+ ,"title": "琛ㄥ崟"
+ ,"list": [{
+ "name": "element"
+ ,"title": "琛ㄥ崟鍏冪礌"
+ },{
+ "name": "group"
+ ,"title": "琛ㄥ崟缁勫悎"
+ }]
+ }, {
+ "name": "nav"
+ ,"title": "瀵艰埅"
+ }, {
+ "name": "tabs"
+ ,"title": "閫夐」鍗�"
+ }, {
+ "name": "progress"
+ ,"title": "杩涘害鏉�"
+ }, {
+ "name": "panel"
+ ,"title": "闈㈡澘"
+ }, {
+ "name": "badge"
+ ,"title": "寰界珷"
+ }, {
+ "name": "timeline"
+ ,"title": "鏃堕棿绾�"
+ }, {
+ "name": "anim"
+ ,"title": "鍔ㄧ敾"
+ }, {
+ "name": "auxiliar"
+ ,"title": "杈呭姪"
+ }, {
+ "name": "layer"
+ ,"title": "閫氱敤寮瑰眰"
+ ,"list": [{
+ "name": "list"
+ ,"title": "鍔熻兘婕旂ず"
+ },{
+ "name": "special-demo"
+ ,"title": "鐗规畩绀轰緥"
+ },{
+ "name": "theme"
+ ,"title": "椋庢牸瀹氬埗"
+ }]
+ }, {
+ "name": "laydate"
+ ,"title": "鏃ユ湡鏃堕棿"
+ }, {
+ "name": "table"
+ ,"title": "琛ㄦ牸"
+ }, {
+ "name": "laypage"
+ ,"title": "鍒嗛〉"
+ }, {
+ "name": "upload"
+ ,"title": "涓婁紶"
+ }, {
+ "name": "carousel"
+ ,"title": "杞挱"
+ }, {
+ "name": "laytpl"
+ ,"title": "妯℃澘寮曟搸"
+ }, {
+ "name": "flow"
+ ,"title": "娴佸姞杞�"
+ }, {
+ "name": "util"
+ ,"title": "宸ュ叿"
+ }, {
+ "name": "code"
+ ,"title": "浠g爜淇グ"
+ }, {
+ "name": "layim"
+ ,"title": "鍗虫椂鑱婂ぉ"
+ ,"jump": "senior/im/"
+ }]
+ }, {
+ "name": "template"
+ ,"title": "妯℃澘"
+ ,"icon": "layui-icon-template"
+ ,"list": [{
+ "name": "user"
+ ,"title": "鐢ㄦ埛鐩稿叧"
+ ,"spread": true
+ ,"list": [{
+ "name": "reg"
+ ,"title": "娉ㄥ唽"
+ ,"jump": "user/reg"
+ },{
+ "name": "login"
+ ,"title": "鐧诲叆"
+ ,"jump": "user/login"
+ },{
+ "name": "forget"
+ ,"title": "蹇樿瀵嗙爜"
+ ,"jump": "user/forget"
+ }]
+ }, {
+ "name": "tips"
+ ,"title": "鎻愮ず椤甸潰"
+ ,"spread": true
+ ,"list": [{
+ "name": "404"
+ ,"title": "404"
+ },{
+ "name": "error"
+ ,"title": "閿欒鎻愮ず"
+ }]
+ }, {
+ "name": ""
+ ,"title": "鍐呭祵椤甸潰"
+ ,"spread": true
+ ,"list": [{
+ "name": ""
+ ,"title": "鐧惧害涓�涓�"
+ ,"jump": "/iframe/link/baidu"
+ }, {
+ "name": ""
+ ,"title": "layui瀹樼綉"
+ ,"jump": "/iframe/link/layui"
+ }, {
+ "name": ""
+ ,"title": "layuiAdmin瀹樼綉"
+ ,"jump": "/iframe/link/layuiAdmin"
+ }]
+ }]
+ }, {
+ "name": "app"
+ ,"title": "搴旂敤"
+ ,"icon": "layui-icon-app"
+ ,"list": [{
+ "name": "message"
+ ,"title": "娑堟伅涓績"
+ }]
+ }, {
+ "name": "senior"
+ ,"title": "楂樼骇"
+ ,"icon": "layui-icon-senior"
+ ,"list": [{
+ "name": "im"
+ ,"title": "閫氳绯荤粺"
+ }]
+ }, {
+ "name": "user"
+ ,"title": "鐢ㄦ埛"
+ ,"icon": "layui-icon-user"
+ ,"list": [{
+ "name": "user"
+ ,"title": "鐢ㄦ埛"
+ ,"spread": true
+ ,"list": [{
+ "name": "list"
+ ,"title": "鐢ㄦ埛鍒楄〃"
+ }]
+ },{
+ "name": "administrators"
+ ,"title": "鍚庡彴绠$悊缁�"
+ ,"spread": true
+ ,"list": [{
+ "name": "list"
+ ,"title": "绠$悊鍛樺垪琛�"
+ },{
+ "name": "role"
+ ,"title": "瑙掕壊绠$悊"
+ }]
+ }]
+ }, {
+ "name": "set"
+ ,"title": "璁剧疆"
+ ,"icon": "layui-icon-set"
+ ,"list": [{
+ "name": "base"
+ ,"title": "鍩烘湰璁剧疆"
+ ,"spread": true
+ ,"list": [{
+ "name": "website"
+ ,"title": "绯荤粺璁剧疆"
+ },{
+ "name": "email"
+ ,"title": "閭欢鏈嶅姟"
+ }]
+ },{
+ "name": "security"
+ ,"title": "瀹夊叏璁剧疆"
+ }]
+ }, {
+ "name": "get"
+ ,"title": "鎺堟潈"
+ ,"icon": "layui-icon-auz"
+ ,"jump": "system/get"
+ }]
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/json/menu1.js b/src/main/webapp/static/wms/layuiadmin/json/menu1.js
new file mode 100644
index 0000000..d378ec9
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/menu1.js
@@ -0,0 +1,271 @@
+{
+ "code": 0
+ ,"msg": ""
+ ,"data": [{
+ "name": "component"
+ ,"title": "缁勪欢"
+ ,"icon": "layui-icon-component"
+ ,"list": [{
+ "name": "grid"
+ ,"title": "鏍呮牸"
+ ,"list": [{
+ "name": "list"
+ ,"title": "绛夋瘮渚嬪垪琛ㄦ帓鍒�"
+ },{
+ "name": "mobile"
+ ,"title": "鎸夌Щ鍔ㄧ鎺掑垪"
+ },{
+ "name": "mobile-pc"
+ ,"title": "绉诲姩妗岄潰绔粍鍚�"
+ },{
+ "name": "all"
+ ,"title": "鍏ㄧ澶嶆潅缁勫悎"
+ },{
+ "name": "stack"
+ ,"title": "浣庝簬妗岄潰鍫嗗彔鎺掑垪"
+ },{
+ "name": "speed-dial"
+ ,"title": "涔濆鏍�"
+ }]
+ }, {
+ "name": "button"
+ ,"title": "鎸夐挳"
+ }, {
+ "name": "form"
+ ,"title": "琛ㄥ崟"
+ ,"list": [{
+ "name": "element"
+ ,"title": "琛ㄥ崟鍏冪礌"
+ },{
+ "name": "group"
+ ,"title": "琛ㄥ崟缁勫悎"
+ }]
+ }, {
+ "name": "nav"
+ ,"title": "瀵艰埅"
+ }, {
+ "name": "tabs"
+ ,"title": "閫夐」鍗�"
+ }, {
+ "name": "progress"
+ ,"title": "杩涘害鏉�"
+ }, {
+ "name": "panel"
+ ,"title": "闈㈡澘"
+ }, {
+ "name": "badge"
+ ,"title": "寰界珷"
+ }, {
+ "name": "timeline"
+ ,"title": "鏃堕棿绾�"
+ }, {
+ "name": "anim"
+ ,"title": "鍔ㄧ敾"
+ }, {
+ "name": "auxiliar"
+ ,"title": "杈呭姪"
+ }, {
+ "name": "layer"
+ ,"title": "閫氱敤寮瑰眰"
+ ,"list": [{
+ "name": "list"
+ ,"title": "鍔熻兘婕旂ず"
+ },{
+ "name": "special-demo"
+ ,"title": "鐗规畩绀轰緥"
+ },{
+ "name": "theme"
+ ,"title": "椋庢牸瀹氬埗"
+ }]
+ }, {
+ "name": "laydate"
+ ,"title": "鏃ユ湡鏃堕棿"
+ }, {
+ "name": "table"
+ ,"title": "琛ㄦ牸"
+ }, {
+ "name": "laypage"
+ ,"title": "鍒嗛〉"
+ }, {
+ "name": "upload"
+ ,"title": "涓婁紶"
+ }, {
+ "name": "carousel"
+ ,"title": "杞挱"
+ }, {
+ "name": "laytpl"
+ ,"title": "妯℃澘寮曟搸"
+ }, {
+ "name": "flow"
+ ,"title": "娴佸姞杞�"
+ }, {
+ "name": "util"
+ ,"title": "宸ュ叿"
+ }, {
+ "name": "code"
+ ,"title": "浠g爜淇グ"
+ }, {
+ "name": "layim"
+ ,"title": "鍗虫椂鑱婂ぉ"
+ ,"jump": "senior/im/chat"
+ }]
+ }, {
+ "name": "template"
+ ,"title": "妯℃澘"
+ ,"icon": "layui-icon-template"
+ ,"list": [{
+ "name": "user"
+ ,"title": "鐢ㄦ埛鐩稿叧"
+ ,"spread": true
+ ,"list": [{
+ "name": "reg"
+ ,"title": "娉ㄥ唽"
+ ,"jump": "user/reg"
+ },{
+ "name": "login"
+ ,"title": "鐧诲叆"
+ ,"jump": "user/login"
+ },{
+ "name": "forget"
+ ,"title": "蹇樿瀵嗙爜"
+ ,"jump": "user/forget"
+ }]
+ }, {
+ "name": "tips"
+ ,"title": "鎻愮ず椤甸潰"
+ ,"spread": true
+ ,"list": [{
+ "name": "404"
+ ,"title": "404"
+ },{
+ "name": "error"
+ ,"title": "閿欒鎻愮ず"
+ }]
+ }]
+ }, {
+ "name": "app"
+ ,"title": "搴旂敤"
+ ,"icon": "layui-icon-app"
+ ,"list": [{
+ "name": "message"
+ ,"title": "娑堟伅涓績"
+ },{
+ "name": "content"
+ ,"title": "鍐呭绯荤粺"
+ ,"spread": true
+ ,"list": [{
+ "name": "list"
+ ,"title": "鎵�鏈夋枃绔�"
+ },{
+ "name": "comment"
+ ,"title": "璇勮绠$悊"
+ },{
+ "name": "tags"
+ ,"title": "鏍囩绠$悊"
+ }]
+ },{
+ "name": "forum"
+ ,"title": "绀惧尯绯荤粺"
+ ,"spread": true
+ ,"list": [{
+ "name": "list"
+ ,"title": "鍏ㄩ儴甯栧瓙"
+ },{
+ "name": "replys"
+ ,"title": "鎵�鏈夊洖甯�"
+ }]
+ },{
+ "name": "mall"
+ ,"title": "鍟嗗煄绠$悊"
+ ,"spread": true
+ ,"list": [{
+ "name": "list"
+ ,"title": "鐗╂枡鍒楄〃"
+ },{
+ "name": "category"
+ ,"title": "鍒嗙被绠$悊"
+ },{
+ "name": "specs"
+ ,"title": "瑙勬牸绠$悊"
+ }]
+ }]
+ }, {
+ "name": "senior"
+ ,"title": "楂樼骇"
+ ,"icon": "layui-icon-senior"
+ ,"list": [{
+ "name": "im"
+ ,"title": "閫氳绯荤粺"
+ ,"spread": true
+ ,"list": [{
+ "name": "chat"
+ ,"title": "绀句氦鑱婂ぉ"
+ },{
+ "name": "kefu"
+ ,"title": "瀹㈡湇绯荤粺"
+ }]
+ },{
+ "name": "echarts"
+ ,"title": "Echarts 闆嗘垚"
+ ,"spread": true
+ ,"list": [{
+ "name": "line"
+ ,"title": "鎶樼嚎鍥�"
+ },{
+ "name": "bar"
+ ,"title": "鏌辩姸鍥�"
+ },{
+ "name": "map"
+ ,"title": "鍦板浘"
+ }]
+ }]
+ }, {
+ "name": "user"
+ ,"title": "鐢ㄦ埛"
+ ,"icon": "layui-icon-user"
+ ,"list": [{
+ "name": "user"
+ ,"title": "鐢ㄦ埛"
+ ,"spread": true
+ ,"list": [{
+ "name": "list"
+ ,"title": "鐢ㄦ埛鍒楄〃"
+ }]
+ },{
+ "name": "administrators"
+ ,"title": "鍚庡彴绠$悊缁�"
+ ,"spread": true
+ ,"list": [{
+ "name": "list"
+ ,"title": "绠$悊鍛樺垪琛�"
+ },{
+ "name": "role"
+ ,"title": "瑙掕壊绠$悊"
+ }]
+ }]
+ }, {
+ "name": "set"
+ ,"title": "璁剧疆"
+ ,"icon": "layui-icon-set"
+ ,"list": [{
+ "name": "base"
+ ,"title": "鍩烘湰璁剧疆"
+ ,"spread": true
+ ,"list": [{
+ "name": "website"
+ ,"title": "绯荤粺璁剧疆"
+ },{
+ "name": "email"
+ ,"title": "閭欢鏈嶅姟"
+ }]
+ },{
+ "name": "security"
+ ,"title": "瀹夊叏璁剧疆"
+ }]
+ }, {
+ "name": "get"
+ ,"title": "鎺堟潈"
+ ,"icon": "layui-icon-auz"
+ ,"jump": "system/get"
+ }]
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/json/message/all.js b/src/main/webapp/static/wms/layuiadmin/json/message/all.js
new file mode 100644
index 0000000..da50293
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/message/all.js
@@ -0,0 +1,46 @@
+{
+ "code": 0
+ ,"msg": ""
+ ,"count": 60
+ ,"data": [{
+ "id": 123
+ ,"title": "浣犲ソ鏂版湅鍙嬶紝鎰熻阿浣跨敤 layuiAdmin"
+ ,"time": 1510363800000
+ }, {
+ "id": 111
+ ,"title": "璐ゅ績鍙戞潵浜嗕竴娈电淇�"
+ ,"time": 1510212370000
+ }, {
+ "id": 111
+ ,"title": "璐ゅ績鍙戞潵浜嗕竴娈电淇�"
+ ,"time": 1510212370000
+ }, {
+ "id": 111
+ ,"title": "璐ゅ績鍙戞潵浜嗕竴娈电淇�"
+ ,"time": 1510212370000
+ }, {
+ "id": 111
+ ,"title": "璐ゅ績鍙戞潵浜嗕竴娈电淇�"
+ ,"time": 1510212370000
+ }, {
+ "id": 111
+ ,"title": "璐ゅ績鍙戞潵浜嗕竴娈电淇�"
+ ,"time": 1510212370000
+ }, {
+ "id": 111
+ ,"title": "璐ゅ績鍙戞潵浜嗕竴娈电淇�"
+ ,"time": 1510212370000
+ }, {
+ "id": 111
+ ,"title": "璐ゅ績鍙戞潵浜嗕竴娈电淇�"
+ ,"time": 1510212370000
+ }, {
+ "id": 111
+ ,"title": "璐ゅ績鍙戞潵浜嗕竴娈电淇�"
+ ,"time": 1510212370000
+ }, {
+ "id": 111
+ ,"title": "璐ゅ績鍙戞潵浜嗕竴娈电淇�"
+ ,"time": 1507447570000
+ }]
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/json/message/detail.js b/src/main/webapp/static/wms/layuiadmin/json/message/detail.js
new file mode 100644
index 0000000..010b950
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/message/detail.js
@@ -0,0 +1,10 @@
+{
+ "code": 0
+ ,"msg": ""
+ ,"data": {
+ "id": 111
+ ,"title": "浣犲ソ鏂版湅鍙嬶紝鎰熻阿浣跨敤 layuiAdmin"
+ ,"content": "<p>涓�鐩翠互鏉ワ紝layui 绉夋壙鏃犲伩寮�婧愮殑鍒濆績锛岃檾璇氳嚧鍔涗簬鏈嶅姟鍚勫眰娆″墠鍚庣 Web 寮�鍙戣�咃紝鍦ㄥ晢涓氭í椋炵殑褰撲粖鏃朵唬锛岃繖涓�淇″康浠庢湭鍔ㄦ憞銆傚嵆渚胯韩鍗曞姏钖勶紝浠嶇劧閲嶆嬀鍐冲績锛屽煁澶撮�犺疆锛屼互灏藉彲鑳藉湴濉ˉ浜у搧鏈韩鐨勭己鍙c�傚湪杩囧幓鐨勪竴娈电殑鏃堕棿锛屾垜涓�鐩村湪瀵绘眰鎸佷箙涔嬮亾锛屽凡缁存寔浣犵溂鍓嶆墍瑙佺殑涓�鍒囥�傝�� layuiAdmin 鏄垜浠皾璇曡В鍐崇殑鎵嬫涔嬩竴銆傛垜鐩镐俊鐪熸鏈夌埍浜� layui 鐢熸�佺殑浣狅紝瀹氱劧涓嶄細閿欒繃杩欎竴鎷ユ姳鍚с��</p><p>瀛愭洶锛氬悰瀛愪笉鐢ㄩ槻锛屽皬浜洪槻涓嶄綇銆傝鍔″繀閫氳繃瀹樼綉姝h娓犻亾锛岃幏寰� <a href=\"http://www.layui.com/admin/\" target=\"_blank\">layuiAdmin</a>锛�</p><p>鈥斺�� 璐ゅ績锛�<a href=\"http://www.layui.com/\" target=\"_blank\">layui.com</a>锛�</p>"
+ ,"time": 1510363800000
+ }
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/json/message/direct.js b/src/main/webapp/static/wms/layuiadmin/json/message/direct.js
new file mode 100644
index 0000000..8f0ddbe
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/message/direct.js
@@ -0,0 +1,46 @@
+{
+ "code": 0
+ ,"msg": ""
+ ,"count": 60
+ ,"data": [{
+ "id": 123
+ ,"title": "璐ゅ績鍙戞潵浜嗕竴娈电淇�"
+ ,"time": 1510363800000
+ }, {
+ "id": 111
+ ,"title": "璐ゅ績鍙戞潵浜嗕竴娈电淇�"
+ ,"time": 1510212370000
+ }, {
+ "id": 111
+ ,"title": "璐ゅ績鍙戞潵浜嗕竴娈电淇�"
+ ,"time": 1510212370000
+ }, {
+ "id": 111
+ ,"title": "璐ゅ績鍙戞潵浜嗕竴娈电淇�"
+ ,"time": 1510212370000
+ }, {
+ "id": 111
+ ,"title": "璐ゅ績鍙戞潵浜嗕竴娈电淇�"
+ ,"time": 1510212370000
+ }, {
+ "id": 111
+ ,"title": "璐ゅ績鍙戞潵浜嗕竴娈电淇�"
+ ,"time": 1510212370000
+ }, {
+ "id": 111
+ ,"title": "璐ゅ績鍙戞潵浜嗕竴娈电淇�"
+ ,"time": 1510212370000
+ }, {
+ "id": 111
+ ,"title": "璐ゅ績鍙戞潵浜嗕竴娈电淇�"
+ ,"time": 1510212370000
+ }, {
+ "id": 111
+ ,"title": "璐ゅ績鍙戞潵浜嗕竴娈电淇�"
+ ,"time": 1510212370000
+ }, {
+ "id": 111
+ ,"title": "璐ゅ績鍙戞潵浜嗕竴娈电淇�"
+ ,"time": 1507447570000
+ }]
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/json/message/new.js b/src/main/webapp/static/wms/layuiadmin/json/message/new.js
new file mode 100644
index 0000000..668f4b5
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/message/new.js
@@ -0,0 +1,7 @@
+{
+ "code": 0
+ ,"msg": ""
+ ,"data": {
+ "newmsg": 3
+ }
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/json/message/notice.js b/src/main/webapp/static/wms/layuiadmin/json/message/notice.js
new file mode 100644
index 0000000..665f677
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/message/notice.js
@@ -0,0 +1,46 @@
+{
+ "code": 0
+ ,"msg": ""
+ ,"count": 60
+ ,"data": [{
+ "id": 123
+ ,"title": "浣犲ソ鏂版湅鍙嬶紝鎰熻阿浣跨敤 layuiAdmin"
+ ,"time": 1510363800000
+ }, {
+ "id": 111
+ ,"title": "浣犲ソ鏂版湅鍙嬶紝鎰熻阿浣跨敤 layuiAdmin"
+ ,"time": 1510212370000
+ }, {
+ "id": 111
+ ,"title": "浣犲ソ鏂版湅鍙嬶紝鎰熻阿浣跨敤 layuiAdmin"
+ ,"time": 1510212370000
+ }, {
+ "id": 111
+ ,"title": "浣犲ソ鏂版湅鍙嬶紝鎰熻阿浣跨敤 layuiAdmin"
+ ,"time": 1510212370000
+ }, {
+ "id": 111
+ ,"title": "浣犲ソ鏂版湅鍙嬶紝鎰熻阿浣跨敤 layuiAdmin"
+ ,"time": 1510212370000
+ }, {
+ "id": 111
+ ,"title": "浣犲ソ鏂版湅鍙嬶紝鎰熻阿浣跨敤 layuiAdmin"
+ ,"time": 1510212370000
+ }, {
+ "id": 111
+ ,"title": "浣犲ソ鏂版湅鍙嬶紝鎰熻阿浣跨敤 layuiAdmin"
+ ,"time": 1510212370000
+ }, {
+ "id": 111
+ ,"title": "浣犲ソ鏂版湅鍙嬶紝鎰熻阿浣跨敤 layuiAdmin"
+ ,"time": 1510212370000
+ }, {
+ "id": 111
+ ,"title": "浣犲ソ鏂版湅鍙嬶紝鎰熻阿浣跨敤 layuiAdmin"
+ ,"time": 1510212370000
+ }, {
+ "id": 111
+ ,"title": "浣犲ソ鏂版湅鍙嬶紝鎰熻阿浣跨敤 layuiAdmin"
+ ,"time": 1507447570000
+ }]
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/json/table/demo.js b/src/main/webapp/static/wms/layuiadmin/json/table/demo.js
new file mode 100644
index 0000000..8f90d90
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/table/demo.js
@@ -0,0 +1,96 @@
+
+{
+ "code": 0
+ ,"msg": ""
+ ,"count": 3000000
+ ,"data": [{
+ "id": "10001"
+ ,"username": "鏉滅敨"
+ ,"email": "xianxin@layui.com"
+ ,"sex": "鐢�"
+ ,"city": "娴欐睙鏉窞"
+ ,"sign": "鐐瑰嚮姝ゅ锛屾樉绀烘洿澶氥�傚綋鍐呭瓒呭嚭鏃讹紝鐐瑰嚮鍗曞厓鏍间細鑷姩鏄剧ず鏇村鍐呭銆�"
+ ,"experience": "116"
+ ,"ip": "192.168.0.8"
+ ,"logins": "108"
+ ,"joinTime": "2016-10-14"
+ }, {
+ "id": "10002"
+ ,"username": "鏉庣櫧"
+ ,"email": "xianxin@layui.com"
+ ,"sex": "鐢�"
+ ,"city": "娴欐睙鏉窞"
+ ,"sign": "鍚涗笉瑙侊紝榛勬渤涔嬫按澶╀笂鏉ワ紝濂旀祦鍒版捣涓嶅鍥炪�� 鍚涗笉瑙侊紝楂樺爞鏄庨暅鎮茬櫧鍙戯紝鏈濆闈掍笣鏆垚闆�� 浜虹敓寰楁剰椤诲敖娆紝鑾娇閲戞ń绌哄鏈堛�� 澶╃敓鎴戞潗蹇呮湁鐢紝鍗冮噾鏁e敖杩樺鏉ャ�� 鐑圭緤瀹扮墰涓斾负涔愶紝浼氶』涓�楗笁鐧炬澂銆� 宀戝か瀛愶紝涓逛笜鐢燂紝灏嗚繘閰掞紝鏉帿鍋溿�� 涓庡悰姝屼竴鏇诧紝璇峰悰涓烘垜鍊捐�冲惉銆�(鍊捐�冲惉 涓�浣滐細渚ц�冲惉) 閽熼紦棣旂帀涓嶈冻璐碉紝浣嗘効闀块唹涓嶅閱掋��(涓嶈冻璐� 涓�浣滐細浣曡冻璐碉紱涓嶅閱� 涓�浣滐細涓嶆効閱�/涓嶇敤閱�) 鍙ゆ潵鍦h搐鐨嗗瘋瀵烇紝鎯熸湁楗�呯暀鍏跺悕銆�(鍙ゆ潵 涓�浣滐細鑷彜锛涙儫 閫氾細鍞�) 闄堢帇鏄旀椂瀹村钩涔愶紝鏂楅厭鍗佸崈鎭f璋戙�� 涓讳汉浣曚负瑷�灏戦挶锛屽緞椤绘步鍙栧鍚涢厡銆� 浜旇姳椹紝鍗冮噾瑁橈紝鍛煎効灏嗗嚭鎹㈢編閰掞紝涓庡皵鍚岄攢涓囧彜鎰併��"
+ ,"experience": "12"
+ ,"ip": "192.168.0.8"
+ ,"logins": "106"
+ ,"joinTime": "2016-10-14"
+ ,"LAY_CHECKED": true
+ }, {
+ "id": "10003"
+ ,"username": "鐜嬪媰"
+ ,"email": "xianxin@layui.com"
+ ,"sex": "鐢�"
+ ,"city": "娴欐睙鏉窞"
+ ,"sign": "浜虹敓鎭颁技涓�鍦轰慨琛�"
+ ,"experience": "65"
+ ,"ip": "192.168.0.8"
+ ,"logins": "106"
+ ,"joinTime": "2016-10-14"
+ }, {
+ "id": "10004"
+ ,"username": "鏉庢竻鐓�"
+ ,"email": "xianxin@layui.com"
+ ,"sex": "濂�"
+ ,"city": "娴欐睙鏉窞"
+ ,"sign": "浜虹敓鎭颁技涓�鍦轰慨琛�"
+ ,"experience": "666"
+ ,"ip": "192.168.0.8"
+ ,"logins": "106"
+ ,"joinTime": "2016-10-14"
+ }, {
+ "id": "10005"
+ ,"username": "鍐板績"
+ ,"email": "xianxin@layui.com"
+ ,"sex": "濂�"
+ ,"city": "娴欐睙鏉窞"
+ ,"sign": "浜虹敓鎭颁技涓�鍦轰慨琛�"
+ ,"experience": "86"
+ ,"ip": "192.168.0.8"
+ ,"logins": "106"
+ ,"joinTime": "2016-10-14"
+ }, {
+ "id": "10006"
+ ,"username": "璐ゅ績"
+ ,"email": "xianxin@layui.com"
+ ,"sex": "鐢�"
+ ,"city": "娴欐睙鏉窞"
+ ,"sign": "浜虹敓鎭颁技涓�鍦轰慨琛�"
+ ,"experience": "12"
+ ,"ip": "192.168.0.8"
+ ,"logins": "106"
+ ,"joinTime": "2016-10-14"
+ }, {
+ "id": "10007"
+ ,"username": "璐ゅ績"
+ ,"email": "xianxin@layui.com"
+ ,"sex": "鐢�"
+ ,"city": "娴欐睙鏉窞"
+ ,"sign": "浜虹敓鎭颁技涓�鍦轰慨琛�"
+ ,"experience": "16"
+ ,"ip": "192.168.0.8"
+ ,"logins": "106"
+ ,"joinTime": "2016-10-14"
+ }, {
+ "id": "10008"
+ ,"username": "璐ゅ績"
+ ,"email": "xianxin@layui.com"
+ ,"sex": "鐢�"
+ ,"city": "娴欐睙鏉窞"
+ ,"sign": "浜虹敓鎭颁技涓�鍦轰慨琛�"
+ ,"experience": "106"
+ ,"ip": "192.168.0.8"
+ ,"logins": "106"
+ ,"joinTime": "2016-10-14"
+ }]
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/json/table/demo2.js b/src/main/webapp/static/wms/layuiadmin/json/table/demo2.js
new file mode 100644
index 0000000..f6fae59
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/table/demo2.js
@@ -0,0 +1,61 @@
+
+{
+ "code": 0
+ ,"msg": ""
+ ,"count": 66
+ ,"data": [{
+ "username": "寮犲皬涓�"
+ ,"amount": 18
+ ,"province": "娴欐睙"
+ ,"city": "鏉窞"
+ ,"zone": "瑗挎箹鍖�"
+ ,"street": "瑗挎邯琛楅亾"
+ ,"address": "瑗挎邯鑺卞洯"
+ ,"house": "30鏍�1鍗曞厓"
+ }, {
+ "username": "鏉庡皬鍥�"
+ ,"amount": 39
+ ,"province": "姹熻嫃"
+ ,"city": "鑻忓窞"
+ ,"zone": "濮戣嫃鍖�"
+ ,"street": "涓濈桓璺�"
+ ,"address": "澶╁涔嬪煄"
+ ,"house": "9骞�2鍗曞厓"
+ }, {
+ "username": "鐜嬪皬浜�"
+ ,"amount": 8
+ ,"province": "姹熻タ"
+ ,"city": "鍗楁槍"
+ ,"zone": "闈掑北婀栧尯"
+ ,"street": "鑹炬邯婀栧姙浜嬪"
+ ,"address": "涓叴鍜屽洯"
+ ,"house": "1骞�3鍗曞厓"
+ }, {
+ "username": "璧靛皬鍏�"
+ ,"amount": 16
+ ,"province": "绂忓缓"
+ ,"city": "娉夊窞"
+ ,"zone": "涓版辰鍖�"
+ ,"street": "鍗楁磱琛楅亾"
+ ,"address": "鍗楁磱鏉�"
+ ,"house": "6骞�1鍗曞厓"
+ }, {
+ "username": "瀛欏皬涓�"
+ ,"amount": 12
+ ,"province": "婀栧寳"
+ ,"city": "姝︽眽"
+ ,"zone": "姝︽槍鍖�"
+ ,"street": "姝︽槍澶ч亾"
+ ,"address": "涓ゆ箹鑺卞洯"
+ ,"house": "16骞�2鍗曞厓"
+ }, {
+ "username": "鍛ㄥ皬鍏�"
+ ,"amount": 11
+ ,"province": "瀹夊窘"
+ ,"city": "榛勫北"
+ ,"zone": "榛勫北鍖�"
+ ,"street": "姹ゅ彛闀�"
+ ,"address": "娓╂硥鏉�"
+ ,"house": "21鍙�"
+ }]
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/json/table/user.js b/src/main/webapp/static/wms/layuiadmin/json/table/user.js
new file mode 100644
index 0000000..240c7aa
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/table/user.js
@@ -0,0 +1,2 @@
+
+{"code":0,"msg":"","count":1000,"data":[{"id":10000,"username":"user-0","sex":"濂�","city":"鍩庡競-0","sign":"绛惧悕-0","experience":255,"logins":24,"wealth":82830700,"classify":"浣滃","score":57},{"id":10001,"username":"user-1","sex":"鐢�","city":"鍩庡競-1","sign":"绛惧悕-1","experience":884,"logins":58,"wealth":64928690,"classify":"璇嶄汉","score":27},{"id":10002,"username":"user-2","sex":"濂�","city":"鍩庡競-2","sign":"绛惧悕-2","experience":650,"logins":77,"wealth":6298078,"classify":"閰辨补","score":31},{"id":10003,"username":"user-3","sex":"濂�","city":"鍩庡競-3","sign":"绛惧悕-3","experience":362,"logins":157,"wealth":37117017,"classify":"璇椾汉","score":68},{"id":10004,"username":"user-4","sex":"鐢�","city":"鍩庡競-4","sign":"绛惧悕-4","experience":807,"logins":51,"wealth":76263262,"classify":"浣滃","score":6},{"id":10005,"username":"user-5","sex":"濂�","city":"鍩庡競-5","sign":"绛惧悕-5","experience":173,"logins":68,"wealth":60344147,"classify":"浣滃","score":87},{"id":10006,"username":"user-6","sex":"濂�","city":"鍩庡競-6","sign":"绛惧悕-6","experience":982,"logins":37,"wealth":57768166,"classify":"浣滃","score":34},{"id":10007,"username":"user-7","sex":"鐢�","city":"鍩庡競-7","sign":"绛惧悕-7","experience":727,"logins":150,"wealth":82030578,"classify":"浣滃","score":28},{"id":10008,"username":"user-8","sex":"鐢�","city":"鍩庡競-8","sign":"绛惧悕-8","experience":951,"logins":133,"wealth":16503371,"classify":"璇嶄汉","score":14},{"id":10009,"username":"user-9","sex":"濂�","city":"鍩庡競-9","sign":"绛惧悕-9","experience":484,"logins":25,"wealth":86801934,"classify":"璇嶄汉","score":75}]}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/json/table/user30.js b/src/main/webapp/static/wms/layuiadmin/json/table/user30.js
new file mode 100644
index 0000000..0246bbd
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/table/user30.js
@@ -0,0 +1,2 @@
+
+{"code":0,"msg":"","count":1000,"data":[{"id":10000,"username":"user-0","sex":"濂�","city":"鍩庡競-0","sign":"绛惧悕-0","experience":255,"logins":24,"wealth":82830700,"classify":"浣滃","score":57},{"id":10001,"username":"user-1","sex":"鐢�","city":"鍩庡競-1","sign":"绛惧悕-1","experience":884,"logins":58,"wealth":64928690,"classify":"璇嶄汉","score":27},{"id":10002,"username":"user-2","sex":"濂�","city":"鍩庡競-2","sign":"绛惧悕-2","experience":650,"logins":77,"wealth":6298078,"classify":"閰辨补","score":31},{"id":10003,"username":"user-3","sex":"濂�","city":"鍩庡競-3","sign":"绛惧悕-3","experience":362,"logins":157,"wealth":37117017,"classify":"璇椾汉","score":68},{"id":10004,"username":"user-4","sex":"鐢�","city":"鍩庡競-4","sign":"绛惧悕-4","experience":807,"logins":51,"wealth":76263262,"classify":"浣滃","score":6},{"id":10005,"username":"user-5","sex":"濂�","city":"鍩庡競-5","sign":"绛惧悕-5","experience":173,"logins":68,"wealth":60344147,"classify":"浣滃","score":87},{"id":10006,"username":"user-6","sex":"濂�","city":"鍩庡競-6","sign":"绛惧悕-6","experience":982,"logins":37,"wealth":57768166,"classify":"浣滃","score":34},{"id":10007,"username":"user-7","sex":"鐢�","city":"鍩庡競-7","sign":"绛惧悕-7","experience":727,"logins":150,"wealth":82030578,"classify":"浣滃","score":28},{"id":10008,"username":"user-8","sex":"鐢�","city":"鍩庡競-8","sign":"绛惧悕-8","experience":951,"logins":133,"wealth":16503371,"classify":"璇嶄汉","score":14},{"id":10009,"username":"user-9","sex":"濂�","city":"鍩庡競-9","sign":"绛惧悕-9","experience":484,"logins":25,"wealth":86801934,"classify":"璇嶄汉","score":75},{"id":10010,"username":"user-10","sex":"濂�","city":"鍩庡競-10","sign":"绛惧悕-10","experience":1016,"logins":182,"wealth":71294671,"classify":"璇椾汉","score":34},{"id":10011,"username":"user-11","sex":"濂�","city":"鍩庡競-11","sign":"绛惧悕-11","experience":492,"logins":107,"wealth":8062783,"classify":"璇椾汉","score":6},{"id":10012,"username":"user-12","sex":"濂�","city":"鍩庡競-12","sign":"绛惧悕-12","experience":106,"logins":176,"wealth":42622704,"classify":"璇嶄汉","score":54},{"id":10013,"username":"user-13","sex":"鐢�","city":"鍩庡競-13","sign":"绛惧悕-13","experience":1047,"logins":94,"wealth":59508583,"classify":"璇椾汉","score":63},{"id":10014,"username":"user-14","sex":"鐢�","city":"鍩庡競-14","sign":"绛惧悕-14","experience":873,"logins":116,"wealth":72549912,"classify":"璇嶄汉","score":8},{"id":10015,"username":"user-15","sex":"濂�","city":"鍩庡競-15","sign":"绛惧悕-15","experience":1068,"logins":27,"wealth":52737025,"classify":"浣滃","score":28},{"id":10016,"username":"user-16","sex":"濂�","city":"鍩庡競-16","sign":"绛惧悕-16","experience":862,"logins":168,"wealth":37069775,"classify":"閰辨补","score":86},{"id":10017,"username":"user-17","sex":"濂�","city":"鍩庡競-17","sign":"绛惧悕-17","experience":1060,"logins":187,"wealth":66099525,"classify":"浣滃","score":69},{"id":10018,"username":"user-18","sex":"濂�","city":"鍩庡競-18","sign":"绛惧悕-18","experience":866,"logins":88,"wealth":81722326,"classify":"璇嶄汉","score":74},{"id":10019,"username":"user-19","sex":"濂�","city":"鍩庡競-19","sign":"绛惧悕-19","experience":682,"logins":106,"wealth":68647362,"classify":"璇嶄汉","score":51},{"id":10020,"username":"user-20","sex":"鐢�","city":"鍩庡競-20","sign":"绛惧悕-20","experience":770,"logins":24,"wealth":92420248,"classify":"璇椾汉","score":87},{"id":10021,"username":"user-21","sex":"鐢�","city":"鍩庡競-21","sign":"绛惧悕-21","experience":184,"logins":131,"wealth":71566045,"classify":"璇嶄汉","score":99},{"id":10022,"username":"user-22","sex":"鐢�","city":"鍩庡競-22","sign":"绛惧悕-22","experience":739,"logins":152,"wealth":60907929,"classify":"浣滃","score":18},{"id":10023,"username":"user-23","sex":"濂�","city":"鍩庡競-23","sign":"绛惧悕-23","experience":127,"logins":82,"wealth":14765943,"classify":"浣滃","score":30},{"id":10024,"username":"user-24","sex":"濂�","city":"鍩庡競-24","sign":"绛惧悕-24","experience":212,"logins":133,"wealth":59011052,"classify":"璇嶄汉","score":76},{"id":10025,"username":"user-25","sex":"濂�","city":"鍩庡競-25","sign":"绛惧悕-25","experience":938,"logins":182,"wealth":91183097,"classify":"浣滃","score":69},{"id":10026,"username":"user-26","sex":"鐢�","city":"鍩庡競-26","sign":"绛惧悕-26","experience":978,"logins":7,"wealth":48008413,"classify":"浣滃","score":65},{"id":10027,"username":"user-27","sex":"濂�","city":"鍩庡競-27","sign":"绛惧悕-27","experience":371,"logins":44,"wealth":64419691,"classify":"璇椾汉","score":60},{"id":10028,"username":"user-28","sex":"濂�","city":"鍩庡競-28","sign":"绛惧悕-28","experience":977,"logins":21,"wealth":75935022,"classify":"浣滃","score":37},{"id":10029,"username":"user-29","sex":"鐢�","city":"鍩庡競-29","sign":"绛惧悕-29","experience":647,"logins":107,"wealth":97450636,"classify":"閰辨补","score":27}]}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/json/upload/demo.js b/src/main/webapp/static/wms/layuiadmin/json/upload/demo.js
new file mode 100644
index 0000000..77674fe
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/upload/demo.js
@@ -0,0 +1,7 @@
+{
+ "code": 0,
+ "msg": "",
+ "data": {
+ "src": "https://wx2.sinaimg.cn/mw690/5db11ff4gy1fmx4kec5bvj20eb0h3mxh.jpg"
+ }
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/json/user/forget.js b/src/main/webapp/static/wms/layuiadmin/json/user/forget.js
new file mode 100644
index 0000000..836bba4
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/user/forget.js
@@ -0,0 +1,7 @@
+{
+ "code": 0
+ ,"msg": "娉ㄥ唽鎴愬姛"
+ ,"data": {
+
+ }
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/json/user/login.js b/src/main/webapp/static/wms/layuiadmin/json/user/login.js
new file mode 100644
index 0000000..ff906d5
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/user/login.js
@@ -0,0 +1,7 @@
+{
+ "code": 0
+ ,"msg": "鐧诲叆鎴愬姛"
+ ,"data": {
+ "access_token": "c262e61cd13ad99fc650e6908c7e5e65b63d2f32185ecfed6b801ee3fbdd5c0a"
+ }
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/json/user/logout.js b/src/main/webapp/static/wms/layuiadmin/json/user/logout.js
new file mode 100644
index 0000000..9fd1ff2
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/user/logout.js
@@ -0,0 +1,5 @@
+{
+ "code": 0
+ ,"msg": "閫�鍑烘垚鍔�"
+ ,"data": null
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/json/user/reg.js b/src/main/webapp/static/wms/layuiadmin/json/user/reg.js
new file mode 100644
index 0000000..836bba4
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/user/reg.js
@@ -0,0 +1,7 @@
+{
+ "code": 0
+ ,"msg": "娉ㄥ唽鎴愬姛"
+ ,"data": {
+
+ }
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/json/user/resetpass.js b/src/main/webapp/static/wms/layuiadmin/json/user/resetpass.js
new file mode 100644
index 0000000..836bba4
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/user/resetpass.js
@@ -0,0 +1,7 @@
+{
+ "code": 0
+ ,"msg": "娉ㄥ唽鎴愬姛"
+ ,"data": {
+
+ }
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/json/user/session.js b/src/main/webapp/static/wms/layuiadmin/json/user/session.js
new file mode 100644
index 0000000..54ce1ef
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/user/session.js
@@ -0,0 +1,9 @@
+{
+ "code": 0
+ ,"msg": ""
+ ,"data": {
+ "username": "璐ゅ績"
+ ,"sex": "鐢�"
+ ,"role": 1
+ }
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/json/user/sms.js b/src/main/webapp/static/wms/layuiadmin/json/user/sms.js
new file mode 100644
index 0000000..836bba4
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/user/sms.js
@@ -0,0 +1,7 @@
+{
+ "code": 0
+ ,"msg": "娉ㄥ唽鎴愬姛"
+ ,"data": {
+
+ }
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/json/useradmin/mangadmin.js b/src/main/webapp/static/wms/layuiadmin/json/useradmin/mangadmin.js
new file mode 100644
index 0000000..50d3e28
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/useradmin/mangadmin.js
@@ -0,0 +1,78 @@
+{
+ "code": 0
+ ,"msg": ""
+ ,"count": "100"
+ ,"data": [{
+ "id": "1001"
+ ,"loginname": "admin"
+ ,"telphone": "11111111111"
+ ,"email": "111@qq.com"
+ ,"role": "瓒呯骇绠$悊鍛�"
+ ,"jointime": "20150217"
+ ,"check": true
+ },{
+ "id": "1002"
+ ,"loginname": "common-1"
+ ,"telphone": "22222222222"
+ ,"email": "222@qq.com"
+ ,"role": "绠$悊鍛�"
+ ,"jointime": "20160217"
+ ,"check": false
+ },{
+ "id": "1003"
+ ,"loginname": "common-2"
+ ,"telphone": "33333333333"
+ ,"email": "333@qq.com"
+ ,"role": "绠$悊鍛�"
+ ,"jointime": "20161012"
+ ,"check": false
+ },{
+ "id": "1004"
+ ,"loginname": "common-3"
+ ,"telphone": "44444444444"
+ ,"email": "444@qq.com"
+ ,"role": "绠$悊鍛�"
+ ,"jointime": "20170518"
+ ,"check": true
+ },{
+ "id": "1005"
+ ,"loginname": "common-4"
+ ,"telphone": "55555555555"
+ ,"email": "555@qq.com"
+ ,"role": "绠$悊鍛�"
+ ,"jointime": "20180101"
+ ,"check": false
+ },{
+ "id": "1006"
+ ,"loginname": "common-5"
+ ,"telphone": "66666666666"
+ ,"email": "666@qq.com"
+ ,"role": "绠$悊鍛�"
+ ,"jointime": "20160217"
+ ,"check": false
+ },{
+ "id": "1007"
+ ,"loginname": "common-6"
+ ,"telphone": "77777777777"
+ ,"email": "777@qq.com"
+ ,"role": "绠$悊鍛�"
+ ,"jointime": "20161012"
+ ,"check": false
+ },{
+ "id": "1008"
+ ,"loginname": "common-7"
+ ,"telphone": "88888888888"
+ ,"email": "888@qq.com"
+ ,"role": "绠$悊鍛�"
+ ,"jointime": "20170518"
+ ,"check": true
+ },{
+ "id": "1009"
+ ,"loginname": "common-8"
+ ,"telphone": "99999999999"
+ ,"email": "999@qq.com"
+ ,"role": "绠$悊鍛�"
+ ,"jointime": "20180101"
+ ,"check": false
+ }]
+}
diff --git a/src/main/webapp/static/wms/layuiadmin/json/useradmin/role.js b/src/main/webapp/static/wms/layuiadmin/json/useradmin/role.js
new file mode 100644
index 0000000..6d5ba5d
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/useradmin/role.js
@@ -0,0 +1,54 @@
+{
+ "code": 0
+ ,"msg": ""
+ ,"count": "100"
+ ,"data": [{
+ "id": "1"
+ ,"rolename": "瓒呯骇绠$悊鍛�"
+ ,"limits": "绠$悊鎵�鏈夌殑绠$悊鍛�"
+ ,"descr": "鎷ユ湁鑷抽珮鏃犱笂鐨勬潈鍒�"
+ ,"check": true
+ },{
+ "id": "2"
+ ,"rolename": "绠$悊鍛�"
+ ,"limits": "鎵�鏈夊垪琛ㄧ殑绠$悊"
+ ,"descr": "浜嬫儏寰堝锛屾潈鍔涘緢澶�"
+ ,"check": true
+ },{
+ "id": "3"
+ ,"rolename": "鏂囩珷鎾板啓鍛�"
+ ,"limits": "璐熻矗鏂囩珷鐨勭紪鍐�"
+ ,"descr": "鏂囬噰绗竴鐨勪汉鎵嶉泦鍚�"
+ ,"check": false
+ },{
+ "id": "4"
+ ,"rolename": "绾犻敊鍛�"
+ ,"limits": "璐熻矗鏂囩珷鍐呭鐨勪慨鏀�"
+ ,"descr": "鏆傛棤"
+ ,"check": false
+ },{
+ "id": "5"
+ ,"rolename": "缁熻浜哄憳"
+ ,"limits": "瀵规暟鎹繘琛岀粺璁�"
+ ,"descr": "鏆傛棤"
+ ,"check": false
+ },{
+ "id": "6"
+ ,"rolename": "璇勪及鍛�"
+ ,"limits": "瀵圭粺璁℃暟鎹繘琛岃瘎浼�"
+ ,"descr": "鍙婃椂鎹曟崏甯傚満鍙戝睍鍔ㄦ��"
+ ,"check": false
+ },{
+ "id": "7"
+ ,"rolename": "閲囪喘鍛�"
+ ,"limits": "璐熻矗鍛樺伐鐨勪紮椋�"
+ ,"descr": "鏆傛棤"
+ ,"check": false
+ },{
+ "id": "8"
+ ,"rolename": "鎺ㄩ攢鍛�"
+ ,"limits": "浠嬬粛閿�鍞叕鍙镐骇鍝�"
+ ,"descr": "鏆傛棤"
+ ,"check": false
+ }]
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/json/useradmin/webuser.js b/src/main/webapp/static/wms/layuiadmin/json/useradmin/webuser.js
new file mode 100644
index 0000000..02a7b41
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/useradmin/webuser.js
@@ -0,0 +1,143 @@
+{
+ "code": 0
+ ,"msg": ""
+ ,"count": "100"
+ ,"data": [{
+ "id": "001"
+ ,"username": "鐢ㄦ埛-1"
+ ,"avatar": "https://wx4.sinaimg.cn/mw1024/5db11ff4gy1fmx4keaw9pj20dw08caa4.jpg"
+ ,"phone": 12345678901
+ ,"email": "11111@qq.com"
+ ,"sex": "鐢�"
+ ,"ip": "1111111"
+ ,"jointime": 20171204
+ },{
+ "id": "002"
+ ,"username": "鐢ㄦ埛-2"
+ ,"avatar": "https://wx4.sinaimg.cn/mw1024/5db11ff4gy1fmx4keaw9pj20dw08caa4.jpg"
+ ,"phone": 12345678901
+ ,"email": "11111@qq.com"
+ ,"sex": "鐢�"
+ ,"ip": "1111111"
+ ,"jointime": 20171204
+ },{
+ "id": "003"
+ ,"username": "鐢ㄦ埛-3"
+ ,"avatar": "https://wx2.sinaimg.cn/mw690/5db11ff4gy1fmx4kec5bvj20eb0h3mxh.jpg"
+ ,"phone": 12345678901
+ ,"email": "11111@qq.com"
+ ,"sex": "濂�"
+ ,"ip": "1111111"
+ ,"jointime": 20171011
+ ,"LAY_CHECKED": true
+ },{
+ "id": "004"
+ ,"username": "鐢ㄦ埛-4"
+ ,"avatar": "https://wx4.sinaimg.cn/mw1024/5db11ff4gy1fmx4keaw9pj20dw08caa4.jpg"
+ ,"phone": 12345678901
+ ,"email": "11111@qq.com"
+ ,"sex": "鐢�"
+ ,"ip": "1111111"
+ ,"jointime": 20160505
+ },{
+ "id": "005"
+ ,"username": "鐢ㄦ埛-5"
+ ,"avatar": "https://wx2.sinaimg.cn/mw690/5db11ff4gy1fmx4kec5bvj20eb0h3mxh.jpg"
+ ,"phone": 12345678901
+ ,"email": "11111@qq.com"
+ ,"sex": "鐢�"
+ ,"ip": "1111111"
+ ,"jointime": 20171204
+ },{
+ "id": "006"
+ ,"username": "鐢ㄦ埛-6"
+ ,"avatar": "https://wx2.sinaimg.cn/mw690/5db11ff4gy1fmx4kec5bvj20eb0h3mxh.jpg"
+ ,"phone": 12345678901
+ ,"email": "11111@qq.com"
+ ,"sex": "鐢�"
+ ,"ip": "1111111"
+ ,"jointime": 20171204
+ },{
+ "id": "007"
+ ,"username": "鐢ㄦ埛-7"
+ ,"avatar": "https://wx3.sinaimg.cn/mw690/5db11ff4gy1fmx4keca8ag208g06iglw.gif"
+ ,"phone": 12345678901
+ ,"email": "11111@qq.com"
+ ,"sex": "鐢�"
+ ,"ip": "1111111"
+ ,"jointime": 20180210
+ },{
+ "id": "008"
+ ,"username": "鐢ㄦ埛-8"
+ ,"avatar": "https://wx2.sinaimg.cn/mw690/5db11ff4gy1fmx4kec5bvj20eb0h3mxh.jpg"
+ ,"phone": 12345678901
+ ,"email": "11111@qq.com"
+ ,"sex": "濂�"
+ ,"ip": "1111111"
+ ,"jointime": 20171204
+ },{
+ "id": "009"
+ ,"username": "鐢ㄦ埛-9"
+ ,"avatar": "https://wx2.sinaimg.cn/mw690/5db11ff4gy1fmx4kec5bvj20eb0h3mxh.jpg"
+ ,"phone": 12345678901
+ ,"email": "11111@qq.com"
+ ,"sex": "濂�"
+ ,"ip": "1111111"
+ ,"jointime": 20171204
+ },{
+ "id": "010"
+ ,"username": "鐢ㄦ埛-10"
+ ,"avatar": "https://wx4.sinaimg.cn/mw1024/5db11ff4gy1fmx4keaw9pj20dw08caa4.jpg"
+ ,"phone": 12345678901
+ ,"email": "11111@qq.com"
+ ,"sex": "鐢�"
+ ,"ip": "1111111"
+ ,"jointime": 20170719
+ },{
+ "id": "011"
+ ,"username": "鐢ㄦ埛-11"
+ ,"avatar": "https://wx2.sinaimg.cn/mw690/5db11ff4gy1fmx4kec5bvj20eb0h3mxh.jpg"
+ ,"phone": 12345678901
+ ,"email": "11111@qq.com"
+ ,"sex": "鐢�"
+ ,"ip": "1111111"
+ ,"jointime": 20171204
+ },{
+ "id": "012"
+ ,"username": "鐢ㄦ埛-12"
+ ,"avatar": "https://wx2.sinaimg.cn/mw690/5db11ff4gy1fmx4kec5bvj20eb0h3mxh.jpg"
+ ,"phone": 12345678901
+ ,"email": "11111@qq.com"
+ ,"sex": "濂�"
+ ,"ip": "1111111"
+ ,"jointime": 20171204
+ },{
+ "id": "013"
+ ,"username": "鐢ㄦ埛-13"
+ ,"avatar": "https://wx2.sinaimg.cn/mw690/5db11ff4gy1fmx4kec5bvj20eb0h3mxh.jpg"
+ ,"phone": 12345678901
+ ,"email": "11111@qq.com"
+ ,"sex": "濂�"
+ ,"ip": "1111111"
+ ,"jointime": 20171204
+ ,"LAY_CHECKED": true
+ },{
+ "id": "014"
+ ,"username": "鐢ㄦ埛-14"
+ ,"avatar": "https://wx3.sinaimg.cn/mw690/5db11ff4gy1fmx4keca8ag208g06iglw.gif"
+ ,"phone": 12345678901
+ ,"email": "11111@qq.com"
+ ,"sex": "鐢�"
+ ,"ip": "1111111"
+ ,"jointime": 20171204
+ },{
+ "id": "015"
+ ,"username": "鐢ㄦ埛-15"
+ ,"avatar": "https://wx2.sinaimg.cn/mw690/5db11ff4gy1fmx4kec5bvj20eb0h3mxh.jpg"
+ ,"phone": 12345678901
+ ,"email": "11111@qq.com"
+ ,"sex": "鐢�"
+ ,"ip": "1111111"
+ ,"jointime": 20171204
+ }]
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/json/workorder/demo.js b/src/main/webapp/static/wms/layuiadmin/json/workorder/demo.js
new file mode 100644
index 0000000..81066c2
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/json/workorder/demo.js
@@ -0,0 +1,78 @@
+{
+ "code": 0
+ ,"msg": ""
+ ,"count": "100"
+ ,"data": [{
+ "orderid": 111
+ ,"title": "绉诲姩鏀粯韪忓叆椹潵瑗夸簹锛岃仛鍚堟敮浠樼揣闅忓叾鍚�"
+ ,"attr": "鍏憡"
+ ,"progress": "25%"
+ ,"submit": "璐ゅ績"
+ ,"accept": "鍛樺伐-1"
+ ,"state": "澶勭悊涓�"
+ },{
+ "orderid": 222
+ ,"title": "鍑$鎷栨嫿寮忓厤璐瑰缓绔欑鍣紝浜弻閲嶄紭鎯狅紒"
+ ,"attr": "璁ㄨ"
+ ,"progress": "100%"
+ ,"submit": "鐚悆"
+ ,"accept": "鍛樺伐-1"
+ ,"state": "宸插鐞�"
+ },{
+ "orderid": 333
+ ,"title": "鐪嬬潃鍒汉鐨勮�佹澘缁欏憳宸ラ�佹苯杞︽湁鎰�"
+ ,"attr": "鍒嗕韩"
+ ,"progress": "0%"
+ ,"submit": "绾搁鏈�"
+ ,"accept": ""
+ ,"state": "鏈垎閰�"
+ },{
+ "orderid": 444
+ ,"title": "DISCUZ鐨勪簯骞冲彴搴旇褰诲簳瀹屼簡"
+ ,"attr": "鎻愰棶"
+ ,"progress": "0%"
+ ,"submit": "绾搁鏈�"
+ ,"accept": ""
+ ,"state": "鏈垎閰�"
+ },{
+ "orderid": 555
+ ,"title": "鐜板湪涓汉缃戠珯杩樻湁蹇呰闀挎湡鍧氭寔涓嬪幓鍚楋紵"
+ ,"attr": "鎻愰棶"
+ ,"progress": "50%"
+ ,"submit": "绾搁鏈�"
+ ,"accept": "鍛樺伐-2"
+ ,"state": "澶勭悊涓�"
+ },{
+ "orderid": 666
+ ,"title": "鍚戝寳浜叕瀹夊眬鎶曡瘔浜嗕含涓滃晢鍩�"
+ ,"attr": "鍏憡"
+ ,"progress": "25%"
+ ,"submit": "绾搁鏈�"
+ ,"accept": "鍛樺伐-3"
+ ,"state": "澶勭悊涓�"
+ },{
+ "orderid": 777
+ ,"title": "娓告垙 缃戦〉缇庡伐锛屼竴涓湀澶氬皯宸ヨ祫鎵嶆甯革紵"
+ ,"attr": "鎻愰棶"
+ ,"progress": "100%"
+ ,"submit": "绾搁鏈�"
+ ,"accept": "鍛樺伐-1"
+ ,"state": "宸插鐞�"
+ },{
+ "orderid": 888
+ ,"title": "鍑犲勾娌℃潵浜嗭紝钃濊壊鐞嗘兂甯栧瓙杩欎箞灏戜簡鍟�"
+ ,"attr": "鎻愰棶"
+ ,"progress": "0%"
+ ,"submit": "绾搁鏈�"
+ ,"accept": ""
+ ,"state": "鏈垎閰�"
+ },{
+ "orderid": 999
+ ,"title": "鎴戠殑澶╋紝姹傛帹鑽愰潬璋辩殑瀛︿範缃戠珯"
+ ,"attr": "鎻愰棶"
+ ,"progress": "50%"
+ ,"submit": "绾搁鏈�"
+ ,"accept": "鍛樺伐-2"
+ ,"state": "澶勭悊涓�"
+ }]
+}
\ No newline at end of file
diff --git "a/src/main/webapp/static/wms/layuiadmin/json/\350\257\264\346\230\216.txt" "b/src/main/webapp/static/wms/layuiadmin/json/\350\257\264\346\230\216.txt"
new file mode 100644
index 0000000..ff402e5
--- /dev/null
+++ "b/src/main/webapp/static/wms/layuiadmin/json/\350\257\264\346\230\216.txt"
@@ -0,0 +1,3 @@
+
+娉ㄦ剰锛氳繖閲屾槸妯℃嫙鐨勬暟鎹��
+瀹為檯搴旂敤鏃讹紝璇峰湪妯℃澘鏂囦欢锛�.html锛変腑鐨� lay-url="" 鍜屽叾瀹冪浉鍏虫帴鍙g殑 url 璁剧疆鎴愪綘鐪熷疄鐨勬帴鍙e湴鍧�
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/css/layui.css b/src/main/webapp/static/wms/layuiadmin/layui/css/layui.css
new file mode 100644
index 0000000..e80da66
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/css/layui.css
@@ -0,0 +1,2 @@
+/** layui-v2.3.0 MIT License By https://www.layui.com */
+ .layui-inline,img{display:inline-block;vertical-align:middle}.layui-rate,li{list-style:none}h1,h2,h3,h4,h5,h6{font-weight:400}.layui-edge,.layui-header,.layui-inline,.layui-main{position:relative}.layui-btn,.layui-edge,.layui-inline,img{vertical-align:middle}.layui-btn,.layui-disabled,.layui-icon,.layui-unselect{-webkit-user-select:none;-ms-user-select:none;-moz-user-select:none}blockquote,body,button,dd,div,dl,dt,form,h1,h2,h3,h4,h5,h6,input,li,ol,p,pre,td,textarea,th,ul{margin:0;padding:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}a:active,a:hover{outline:0}img{border:none}table{border-collapse:collapse;border-spacing:0}h4,h5,h6{font-size:100%}button,input,optgroup,option,select,textarea{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;outline:0}pre{white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word}body{line-height:24px;font:14px Helvetica Neue,Helvetica,PingFang SC,\5FAE\8F6F\96C5\9ED1,Tahoma,Arial,sans-serif}hr{height:1px;margin:10px 0;border:0;clear:both}a{color:#333;text-decoration:none}a:hover{color:#777}a cite{font-style:normal;*cursor:pointer}.layui-border-box,.layui-border-box *{box-sizing:border-box}.layui-box,.layui-box *{box-sizing:content-box}.layui-clear{clear:both;*zoom:1}.layui-clear:after{content:'\20';clear:both;*zoom:1;display:block;height:0}.layui-inline{*display:inline;*zoom:1}.layui-edge{display:inline-block;width:0;height:0;border-width:6px;border-style:dashed;border-color:transparent;overflow:hidden}.layui-edge-top{top:-4px;border-bottom-color:#999;border-bottom-style:solid}.layui-edge-right{border-left-color:#999;border-left-style:solid}.layui-edge-bottom{top:2px;border-top-color:#999;border-top-style:solid}.layui-edge-left{border-right-color:#999;border-right-style:solid}.layui-elip{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.layui-disabled,.layui-disabled:hover{color:#d2d2d2!important;cursor:not-allowed!important}.layui-circle{border-radius:100%}.layui-show{display:block!important}.layui-hide{display:none!important}@font-face{font-family:layui-icon;src:url(../font/iconfont.eot?v=230);src:url(../font/iconfont.eot?v=230#iefix) format('embedded-opentype'),url(../font/iconfont.svg?v=230#iconfont) format('svg'),url(../font/iconfont.woff?v=230) format('woff'),url(../font/iconfont.ttf?v=230) format('truetype')}.layui-icon{font-family:layui-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.layui-icon-reply-fill:before{content:"\e611"}.layui-icon-set-fill:before{content:"\e614"}.layui-icon-menu-fill:before{content:"\e60f"}.layui-icon-search:before{content:"\e615"}.layui-icon-share:before{content:"\e641"}.layui-icon-set-sm:before{content:"\e620"}.layui-icon-engine:before{content:"\e628"}.layui-icon-close:before{content:"\1006"}.layui-icon-close-fill:before{content:"\1007"}.layui-icon-chart-screen:before{content:"\e629"}.layui-icon-star:before{content:"\e600"}.layui-icon-circle-dot:before{content:"\e617"}.layui-icon-chat:before{content:"\e606"}.layui-icon-release:before{content:"\e609"}.layui-icon-list:before{content:"\e60a"}.layui-icon-chart:before{content:"\e62c"}.layui-icon-ok-circle:before{content:"\1005"}.layui-icon-layim-theme:before{content:"\e61b"}.layui-icon-table:before{content:"\e62d"}.layui-icon-right:before{content:"\e602"}.layui-icon-left:before{content:"\e603"}.layui-icon-cart-simple:before{content:"\e698"}.layui-icon-face-cry:before{content:"\e69c"}.layui-icon-face-smile:before{content:"\e6af"}.layui-icon-survey:before{content:"\e6b2"}.layui-icon-tree:before{content:"\e62e"}.layui-icon-upload-circle:before{content:"\e62f"}.layui-icon-add-circle:before{content:"\e61f"}.layui-icon-download-circle:before{content:"\e601"}.layui-icon-templeate-1:before{content:"\e630"}.layui-icon-util:before{content:"\e631"}.layui-icon-face-surprised:before{content:"\e664"}.layui-icon-edit:before{content:"\e642"}.layui-icon-speaker:before{content:"\e645"}.layui-icon-down:before{content:"\e61a"}.layui-icon-file:before{content:"\e621"}.layui-icon-layouts:before{content:"\e632"}.layui-icon-rate-half:before{content:"\e6c9"}.layui-icon-add-circle-fine:before{content:"\e608"}.layui-icon-prev-circle:before{content:"\e633"}.layui-icon-read:before{content:"\e705"}.layui-icon-404:before{content:"\e61c"}.layui-icon-carousel:before{content:"\e634"}.layui-icon-help:before{content:"\e607"}.layui-icon-code-circle:before{content:"\e635"}.layui-icon-water:before{content:"\e636"}.layui-icon-username:before{content:"\e66f"}.layui-icon-find-fill:before{content:"\e670"}.layui-icon-about:before{content:"\e60b"}.layui-icon-location:before{content:"\e715"}.layui-icon-up:before{content:"\e619"}.layui-icon-pause:before{content:"\e651"}.layui-icon-date:before{content:"\e637"}.layui-icon-layim-uploadfile:before{content:"\e61d"}.layui-icon-delete:before{content:"\e640"}.layui-icon-play:before{content:"\e652"}.layui-icon-top:before{content:"\e604"}.layui-icon-friends:before{content:"\e612"}.layui-icon-refresh-3:before{content:"\e9aa"}.layui-icon-ok:before{content:"\e605"}.layui-icon-layer:before{content:"\e638"}.layui-icon-face-smile-fine:before{content:"\e60c"}.layui-icon-dollar:before{content:"\e659"}.layui-icon-group:before{content:"\e613"}.layui-icon-layim-download:before{content:"\e61e"}.layui-icon-picture-fine:before{content:"\e60d"}.layui-icon-link:before{content:"\e64c"}.layui-icon-diamond:before{content:"\e735"}.layui-icon-log:before{content:"\e60e"}.layui-icon-rate-solid:before{content:"\e67a"}.layui-icon-fonts-del:before{content:"\e64f"}.layui-icon-unlink:before{content:"\e64d"}.layui-icon-fonts-clear:before{content:"\e639"}.layui-icon-triangle-r:before{content:"\e623"}.layui-icon-circle:before{content:"\e63f"}.layui-icon-radio:before{content:"\e643"}.layui-icon-align-center:before{content:"\e647"}.layui-icon-align-right:before{content:"\e648"}.layui-icon-align-left:before{content:"\e649"}.layui-icon-loading-1:before{content:"\e63e"}.layui-icon-return:before{content:"\e65c"}.layui-icon-fonts-strong:before{content:"\e62b"}.layui-icon-upload:before{content:"\e67c"}.layui-icon-dialogue:before{content:"\e63a"}.layui-icon-video:before{content:"\e6ed"}.layui-icon-headset:before{content:"\e6fc"}.layui-icon-cellphone-fine:before{content:"\e63b"}.layui-icon-add-1:before{content:"\e654"}.layui-icon-face-smile-b:before{content:"\e650"}.layui-icon-fonts-html:before{content:"\e64b"}.layui-icon-form:before{content:"\e63c"}.layui-icon-cart:before{content:"\e657"}.layui-icon-camera-fill:before{content:"\e65d"}.layui-icon-tabs:before{content:"\e62a"}.layui-icon-fonts-code:before{content:"\e64e"}.layui-icon-fire:before{content:"\e756"}.layui-icon-set:before{content:"\e716"}.layui-icon-fonts-u:before{content:"\e646"}.layui-icon-triangle-d:before{content:"\e625"}.layui-icon-tips:before{content:"\e702"}.layui-icon-picture:before{content:"\e64a"}.layui-icon-more-vertical:before{content:"\e671"}.layui-icon-flag:before{content:"\e66c"}.layui-icon-loading:before{content:"\e63d"}.layui-icon-fonts-i:before{content:"\e644"}.layui-icon-refresh-1:before{content:"\e666"}.layui-icon-rmb:before{content:"\e65e"}.layui-icon-home:before{content:"\e68e"}.layui-icon-user:before{content:"\e770"}.layui-icon-notice:before{content:"\e667"}.layui-icon-login-weibo:before{content:"\e675"}.layui-icon-voice:before{content:"\e688"}.layui-icon-upload-drag:before{content:"\e681"}.layui-icon-login-qq:before{content:"\e676"}.layui-icon-snowflake:before{content:"\e6b1"}.layui-icon-file-b:before{content:"\e655"}.layui-icon-template:before{content:"\e663"}.layui-icon-auz:before{content:"\e672"}.layui-icon-console:before{content:"\e665"}.layui-icon-app:before{content:"\e653"}.layui-icon-prev:before{content:"\e65a"}.layui-icon-website:before{content:"\e7ae"}.layui-icon-next:before{content:"\e65b"}.layui-icon-component:before{content:"\e857"}.layui-icon-more:before{content:"\e65f"}.layui-icon-login-wechat:before{content:"\e677"}.layui-icon-shrink-right:before{content:"\e668"}.layui-icon-spread-left:before{content:"\e66b"}.layui-icon-camera:before{content:"\e660"}.layui-icon-note:before{content:"\e66e"}.layui-icon-refresh:before{content:"\e669"}.layui-icon-female:before{content:"\e661"}.layui-icon-male:before{content:"\e662"}.layui-icon-password:before{content:"\e673"}.layui-icon-senior:before{content:"\e674"}.layui-icon-theme:before{content:"\e66a"}.layui-icon-tread:before{content:"\e6c5"}.layui-icon-praise:before{content:"\e6c6"}.layui-icon-star-fill:before{content:"\e658"}.layui-icon-rate:before{content:"\e67b"}.layui-icon-template-1:before{content:"\e656"}.layui-icon-vercode:before{content:"\e679"}.layui-icon-cellphone:before{content:"\e678"}.layui-icon-screen-full:before{content:"\e622"}.layui-icon-screen-restore:before{content:"\e758"}.layui-main{width:1140px;margin:0 auto}.layui-header{z-index:1000;height:60px}.layui-header a:hover{transition:all .5s;-webkit-transition:all .5s}.layui-side{position:fixed;left:0;top:0;bottom:0;z-index:999;width:200px;overflow-x:hidden}.layui-side-scroll{position:relative;width:220px;height:100%;overflow-x:hidden}.layui-body{position:absolute;left:200px;right:0;top:0;bottom:0;z-index:998;width:auto;overflow:hidden;overflow-y:auto;box-sizing:border-box}.layui-layout-body{overflow:hidden}.layui-layout-admin .layui-header{background-color:#23262E}.layui-layout-admin .layui-side{top:60px;width:200px;overflow-x:hidden}.layui-layout-admin .layui-body{top:60px;bottom:44px}.layui-layout-admin .layui-main{width:auto;margin:0 15px}.layui-layout-admin .layui-footer{position:fixed;left:200px;right:0;bottom:0;height:44px;line-height:44px;padding:0 15px;background-color:#eee}.layui-layout-admin .layui-logo{position:absolute;left:0;top:0;width:200px;height:100%;line-height:60px;text-align:center;color:#009688;font-size:16px}.layui-layout-admin .layui-header .layui-nav{background:0 0}.layui-layout-left{position:absolute!important;left:200px;top:0}.layui-layout-right{position:absolute!important;right:0;top:0}.layui-container{position:relative;margin:0 auto;padding:0 15px;box-sizing:border-box}.layui-fluid{position:relative;margin:0 auto;padding:0 15px}.layui-row:after,.layui-row:before{content:'';display:block;clear:both}.layui-col-lg1,.layui-col-lg10,.layui-col-lg11,.layui-col-lg12,.layui-col-lg2,.layui-col-lg3,.layui-col-lg4,.layui-col-lg5,.layui-col-lg6,.layui-col-lg7,.layui-col-lg8,.layui-col-lg9,.layui-col-md1,.layui-col-md10,.layui-col-md11,.layui-col-md12,.layui-col-md2,.layui-col-md3,.layui-col-md4,.layui-col-md5,.layui-col-md6,.layui-col-md7,.layui-col-md8,.layui-col-md9,.layui-col-sm1,.layui-col-sm10,.layui-col-sm11,.layui-col-sm12,.layui-col-sm2,.layui-col-sm3,.layui-col-sm4,.layui-col-sm5,.layui-col-sm6,.layui-col-sm7,.layui-col-sm8,.layui-col-sm9,.layui-col-xs1,.layui-col-xs10,.layui-col-xs11,.layui-col-xs12,.layui-col-xs2,.layui-col-xs3,.layui-col-xs4,.layui-col-xs5,.layui-col-xs6,.layui-col-xs7,.layui-col-xs8,.layui-col-xs9{position:relative;display:block;box-sizing:border-box}.layui-col-xs1,.layui-col-xs10,.layui-col-xs11,.layui-col-xs12,.layui-col-xs2,.layui-col-xs3,.layui-col-xs4,.layui-col-xs5,.layui-col-xs6,.layui-col-xs7,.layui-col-xs8,.layui-col-xs9{float:left}.layui-col-xs1{width:8.33333333%}.layui-col-xs2{width:16.66666667%}.layui-col-xs3{width:25%}.layui-col-xs4{width:33.33333333%}.layui-col-xs5{width:41.66666667%}.layui-col-xs6{width:50%}.layui-col-xs7{width:58.33333333%}.layui-col-xs8{width:66.66666667%}.layui-col-xs9{width:75%}.layui-col-xs10{width:83.33333333%}.layui-col-xs11{width:91.66666667%}.layui-col-xs12{width:100%}.layui-col-xs-offset1{margin-left:8.33333333%}.layui-col-xs-offset2{margin-left:16.66666667%}.layui-col-xs-offset3{margin-left:25%}.layui-col-xs-offset4{margin-left:33.33333333%}.layui-col-xs-offset5{margin-left:41.66666667%}.layui-col-xs-offset6{margin-left:50%}.layui-col-xs-offset7{margin-left:58.33333333%}.layui-col-xs-offset8{margin-left:66.66666667%}.layui-col-xs-offset9{margin-left:75%}.layui-col-xs-offset10{margin-left:83.33333333%}.layui-col-xs-offset11{margin-left:91.66666667%}.layui-col-xs-offset12{margin-left:100%}@media screen and (max-width:768px){.layui-hide-xs{display:none!important}.layui-show-xs-block{display:block!important}.layui-show-xs-inline{display:inline!important}.layui-show-xs-inline-block{display:inline-block!important}}@media screen and (min-width:768px){.layui-container{width:750px}.layui-hide-sm{display:none!important}.layui-show-sm-block{display:block!important}.layui-show-sm-inline{display:inline!important}.layui-show-sm-inline-block{display:inline-block!important}.layui-col-sm1,.layui-col-sm10,.layui-col-sm11,.layui-col-sm12,.layui-col-sm2,.layui-col-sm3,.layui-col-sm4,.layui-col-sm5,.layui-col-sm6,.layui-col-sm7,.layui-col-sm8,.layui-col-sm9{float:left}.layui-col-sm1{width:8.33333333%}.layui-col-sm2{width:16.66666667%}.layui-col-sm3{width:25%}.layui-col-sm4{width:33.33333333%}.layui-col-sm5{width:41.66666667%}.layui-col-sm6{width:50%}.layui-col-sm7{width:58.33333333%}.layui-col-sm8{width:66.66666667%}.layui-col-sm9{width:75%}.layui-col-sm10{width:83.33333333%}.layui-col-sm11{width:91.66666667%}.layui-col-sm12{width:100%}.layui-col-sm-offset1{margin-left:8.33333333%}.layui-col-sm-offset2{margin-left:16.66666667%}.layui-col-sm-offset3{margin-left:25%}.layui-col-sm-offset4{margin-left:33.33333333%}.layui-col-sm-offset5{margin-left:41.66666667%}.layui-col-sm-offset6{margin-left:50%}.layui-col-sm-offset7{margin-left:58.33333333%}.layui-col-sm-offset8{margin-left:66.66666667%}.layui-col-sm-offset9{margin-left:75%}.layui-col-sm-offset10{margin-left:83.33333333%}.layui-col-sm-offset11{margin-left:91.66666667%}.layui-col-sm-offset12{margin-left:100%}}@media screen and (min-width:992px){.layui-container{width:970px}.layui-hide-md{display:none!important}.layui-show-md-block{display:block!important}.layui-show-md-inline{display:inline!important}.layui-show-md-inline-block{display:inline-block!important}.layui-col-md1,.layui-col-md10,.layui-col-md11,.layui-col-md12,.layui-col-md2,.layui-col-md3,.layui-col-md4,.layui-col-md5,.layui-col-md6,.layui-col-md7,.layui-col-md8,.layui-col-md9{float:left}.layui-col-md1{width:8.33333333%}.layui-col-md2{width:16.66666667%}.layui-col-md3{width:25%}.layui-col-md4{width:33.33333333%}.layui-col-md5{width:41.66666667%}.layui-col-md6{width:50%}.layui-col-md7{width:58.33333333%}.layui-col-md8{width:66.66666667%}.layui-col-md9{width:75%}.layui-col-md10{width:83.33333333%}.layui-col-md11{width:91.66666667%}.layui-col-md12{width:100%}.layui-col-md-offset1{margin-left:8.33333333%}.layui-col-md-offset2{margin-left:16.66666667%}.layui-col-md-offset3{margin-left:25%}.layui-col-md-offset4{margin-left:33.33333333%}.layui-col-md-offset5{margin-left:41.66666667%}.layui-col-md-offset6{margin-left:50%}.layui-col-md-offset7{margin-left:58.33333333%}.layui-col-md-offset8{margin-left:66.66666667%}.layui-col-md-offset9{margin-left:75%}.layui-col-md-offset10{margin-left:83.33333333%}.layui-col-md-offset11{margin-left:91.66666667%}.layui-col-md-offset12{margin-left:100%}}@media screen and (min-width:1200px){.layui-container{width:1170px}.layui-hide-lg{display:none!important}.layui-show-lg-block{display:block!important}.layui-show-lg-inline{display:inline!important}.layui-show-lg-inline-block{display:inline-block!important}.layui-col-lg1,.layui-col-lg10,.layui-col-lg11,.layui-col-lg12,.layui-col-lg2,.layui-col-lg3,.layui-col-lg4,.layui-col-lg5,.layui-col-lg6,.layui-col-lg7,.layui-col-lg8,.layui-col-lg9{float:left}.layui-col-lg1{width:8.33333333%}.layui-col-lg2{width:16.66666667%}.layui-col-lg3{width:25%}.layui-col-lg4{width:33.33333333%}.layui-col-lg5{width:41.66666667%}.layui-col-lg6{width:50%}.layui-col-lg7{width:58.33333333%}.layui-col-lg8{width:66.66666667%}.layui-col-lg9{width:75%}.layui-col-lg10{width:83.33333333%}.layui-col-lg11{width:91.66666667%}.layui-col-lg12{width:100%}.layui-col-lg-offset1{margin-left:8.33333333%}.layui-col-lg-offset2{margin-left:16.66666667%}.layui-col-lg-offset3{margin-left:25%}.layui-col-lg-offset4{margin-left:33.33333333%}.layui-col-lg-offset5{margin-left:41.66666667%}.layui-col-lg-offset6{margin-left:50%}.layui-col-lg-offset7{margin-left:58.33333333%}.layui-col-lg-offset8{margin-left:66.66666667%}.layui-col-lg-offset9{margin-left:75%}.layui-col-lg-offset10{margin-left:83.33333333%}.layui-col-lg-offset11{margin-left:91.66666667%}.layui-col-lg-offset12{margin-left:100%}}.layui-col-space1{margin:-.5px}.layui-col-space1>*{padding:.5px}.layui-col-space3{margin:-1.5px}.layui-col-space3>*{padding:1.5px}.layui-col-space5{margin:-2.5px}.layui-col-space5>*{padding:2.5px}.layui-col-space8{margin:-3.5px}.layui-col-space8>*{padding:3.5px}.layui-col-space10{margin:-5px}.layui-col-space10>*{padding:5px}.layui-col-space12{margin:-6px}.layui-col-space12>*{padding:6px}.layui-col-space15{margin:-7.5px}.layui-col-space15>*{padding:7.5px}.layui-col-space18{margin:-9px}.layui-col-space18>*{padding:9px}.layui-col-space20{margin:-10px}.layui-col-space20>*{padding:10px}.layui-col-space22{margin:-11px}.layui-col-space22>*{padding:11px}.layui-col-space25{margin:-12.5px}.layui-col-space25>*{padding:12.5px}.layui-col-space30{margin:-15px}.layui-col-space30>*{padding:15px}.layui-btn,.layui-input,.layui-select,.layui-textarea,.layui-upload-button{outline:0;-webkit-appearance:none;transition:all .3s;-webkit-transition:all .3s;box-sizing:border-box}.layui-elem-quote{margin-bottom:10px;padding:15px;line-height:22px;border-left:5px solid #009688;border-radius:0 2px 2px 0;background-color:#f2f2f2}.layui-quote-nm{border-style:solid;border-width:1px 1px 1px 5px;background:0 0}.layui-elem-field{margin-bottom:10px;padding:0;border-width:1px;border-style:solid}.layui-elem-field legend{margin-left:20px;padding:0 10px;font-size:20px;font-weight:300}.layui-field-title{margin:10px 0 20px;border-width:1px 0 0}.layui-field-box{padding:10px 15px}.layui-field-title .layui-field-box{padding:10px 0}.layui-progress{position:relative;height:6px;border-radius:20px;background-color:#e2e2e2}.layui-progress-bar{position:absolute;left:0;top:0;width:0;max-width:100%;height:6px;border-radius:20px;text-align:right;background-color:#5FB878;transition:all .3s;-webkit-transition:all .3s}.layui-progress-big,.layui-progress-big .layui-progress-bar{height:18px;line-height:18px}.layui-progress-text{position:relative;top:-20px;line-height:18px;font-size:12px;color:#666}.layui-progress-big .layui-progress-text{position:static;padding:0 10px;color:#fff}.layui-collapse{border-width:1px;border-style:solid;border-radius:2px}.layui-colla-content,.layui-colla-item{border-top-width:1px;border-top-style:solid}.layui-colla-item:first-child{border-top:none}.layui-colla-title{position:relative;height:42px;line-height:42px;padding:0 15px 0 35px;color:#333;background-color:#f2f2f2;cursor:pointer;font-size:14px;overflow:hidden}.layui-colla-content{display:none;padding:10px 15px;line-height:22px;color:#666}.layui-colla-icon{position:absolute;left:15px;top:0;font-size:14px}.layui-card-body,.layui-card-header,.layui-form-label,.layui-form-mid,.layui-form-select,.layui-input-block,.layui-input-inline,.layui-textarea{position:relative}.layui-card{margin-bottom:15px;border-radius:2px;background-color:#fff;box-shadow:0 1px 2px 0 rgba(0,0,0,.05)}.layui-card:last-child{margin-bottom:0}.layui-card-header{height:42px;line-height:42px;padding:0 15px;border-bottom:1px solid #f6f6f6;color:#333;border-radius:2px 2px 0 0;font-size:14px}.layui-bg-black,.layui-bg-blue,.layui-bg-cyan,.layui-bg-green,.layui-bg-orange,.layui-bg-red{color:#fff!important}.layui-card-body{padding:10px 15px;line-height:24px}.layui-card-body[pad15]{padding:15px}.layui-card-body[pad20]{padding:20px}.layui-card-body .layui-table{margin:5px 0}.layui-card .layui-tab{margin:0}.layui-panel-window{position:relative;padding:15px;border-radius:0;border-top:5px solid #E6E6E6;background-color:#fff}.layui-bg-red{background-color:#FF5722!important}.layui-bg-orange{background-color:#FFB800!important}.layui-bg-green{background-color:#009688!important}.layui-bg-cyan{background-color:#2F4056!important}.layui-bg-blue{background-color:#1E9FFF!important}.layui-bg-black{background-color:#393D49!important}.layui-bg-gray{background-color:#eee!important;color:#666!important}.layui-badge-rim,.layui-colla-content,.layui-colla-item,.layui-collapse,.layui-elem-field,.layui-form-pane .layui-form-item[pane],.layui-form-pane .layui-form-label,.layui-input,.layui-layedit,.layui-layedit-tool,.layui-quote-nm,.layui-select,.layui-tab-bar,.layui-tab-card,.layui-tab-title,.layui-tab-title .layui-this:after,.layui-textarea{border-color:#e6e6e6}.layui-timeline-item:before,hr{background-color:#e6e6e6}.layui-text{line-height:22px;font-size:14px;color:#666}.layui-text h1,.layui-text h2,.layui-text h3{font-weight:500;color:#333}.layui-text h1{font-size:30px}.layui-text h2{font-size:24px}.layui-text h3{font-size:18px}.layui-text a:not(.layui-btn){color:#01AAED}.layui-text a:not(.layui-btn):hover{text-decoration:underline}.layui-text ul{padding:5px 0 5px 15px}.layui-text ul li{margin-top:5px;list-style-type:disc}.layui-text em,.layui-word-aux{color:#999!important;padding:0 5px!important}.layui-btn{display:inline-block;height:38px;line-height:38px;padding:0 18px;background-color:#009688;color:#fff;white-space:nowrap;text-align:center;font-size:14px;border:none;border-radius:2px;cursor:pointer}.layui-btn:hover{opacity:.8;filter:alpha(opacity=80);color:#fff}.layui-btn:active{opacity:1;filter:alpha(opacity=100)}.layui-btn+.layui-btn{margin-left:10px}.layui-btn-container{font-size:0}.layui-btn-container .layui-btn{margin-right:10px;margin-bottom:10px}.layui-btn-container .layui-btn+.layui-btn{margin-left:0}.layui-table .layui-btn-container .layui-btn{margin-bottom:9px}.layui-btn-radius{border-radius:100px}.layui-btn .layui-icon{margin-right:3px;font-size:18px;vertical-align:bottom;vertical-align:middle\9}.layui-btn-primary{border:1px solid #C9C9C9;background-color:#fff;color:#555}.layui-btn-primary:hover{border-color:#009688;color:#333}.layui-btn-normal{background-color:#1E9FFF}.layui-btn-warm{background-color:#FFB800}.layui-btn-danger{background-color:#FF5722}.layui-btn-disabled,.layui-btn-disabled:active,.layui-btn-disabled:hover{border:1px solid #e6e6e6;background-color:#FBFBFB;color:#C9C9C9;cursor:not-allowed;opacity:1}.layui-btn-lg{height:44px;line-height:44px;padding:0 25px;font-size:16px}.layui-btn-sm{height:30px;line-height:30px;padding:0 10px;font-size:12px}.layui-btn-sm i{font-size:16px!important}.layui-btn-xs{height:22px;line-height:22px;padding:0 5px;font-size:12px}.layui-btn-xs i{font-size:14px!important}.layui-btn-group{display:inline-block;vertical-align:middle;font-size:0}.layui-btn-group .layui-btn{margin-left:0!important;margin-right:0!important;border-left:1px solid rgba(255,255,255,.5);border-radius:0}.layui-btn-group .layui-btn-primary{border-left:none}.layui-btn-group .layui-btn-primary:hover{border-color:#C9C9C9;color:#009688}.layui-btn-group .layui-btn:first-child{border-left:none;border-radius:2px 0 0 2px}.layui-btn-group .layui-btn-primary:first-child{border-left:1px solid #c9c9c9}.layui-btn-group .layui-btn:last-child{border-radius:0 2px 2px 0}.layui-btn-group .layui-btn+.layui-btn{margin-left:0}.layui-btn-group+.layui-btn-group{margin-left:10px}.layui-btn-fluid{width:100%}.layui-input,.layui-select,.layui-textarea{height:38px;line-height:1.3;line-height:38px\9;border-width:1px;border-style:solid;background-color:#fff;border-radius:2px}.layui-input::-webkit-input-placeholder,.layui-select::-webkit-input-placeholder,.layui-textarea::-webkit-input-placeholder{line-height:1.3}.layui-input,.layui-textarea{display:block;width:100%;padding-left:10px}.layui-input:hover,.layui-textarea:hover{border-color:#D2D2D2!important}.layui-input:focus,.layui-textarea:focus{border-color:#C9C9C9!important}.layui-textarea{min-height:100px;height:auto;line-height:20px;padding:6px 10px;resize:vertical}.layui-select{padding:0 10px}.layui-form input[type=checkbox],.layui-form input[type=radio],.layui-form select{display:none}.layui-form [lay-ignore]{display:initial}.layui-form-item{margin-bottom:15px;clear:both;*zoom:1}.layui-form-item:after{content:'\20';clear:both;*zoom:1;display:block;height:0}.layui-form-label{float:left;display:block;padding:9px 15px;width:80px;font-weight:400;line-height:20px;text-align:right}.layui-form-label-col{display:block;float:none;padding:9px 0;line-height:20px;text-align:left}.layui-form-item .layui-inline{margin-bottom:5px;margin-right:10px}.layui-input-block{margin-left:110px;min-height:36px}.layui-input-inline{display:inline-block;vertical-align:middle}.layui-form-item .layui-input-inline{float:left;width:190px;margin-right:10px}.layui-form-text .layui-input-inline{width:auto}.layui-form-mid{float:left;display:block;padding:9px 0!important;line-height:20px;margin-right:10px}.layui-form-danger+.layui-form-select .layui-input,.layui-form-danger:focus{border-color:#FF5722!important}.layui-form-select .layui-input{padding-right:30px;cursor:pointer}.layui-form-select .layui-edge{position:absolute;right:10px;top:50%;margin-top:-3px;cursor:pointer;border-width:6px;border-top-color:#c2c2c2;border-top-style:solid;transition:all .3s;-webkit-transition:all .3s}.layui-form-select dl{display:none;position:absolute;left:0;top:42px;padding:5px 0;z-index:999;min-width:100%;border:1px solid #d2d2d2;max-height:300px;overflow-y:auto;background-color:#fff;border-radius:2px;box-shadow:0 2px 4px rgba(0,0,0,.12);box-sizing:border-box}.layui-form-select dl dd,.layui-form-select dl dt{padding:0 10px;line-height:36px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.layui-form-select dl dt{font-size:12px;color:#999}.layui-form-select dl dd{cursor:pointer}.layui-form-select dl dd:hover{background-color:#f2f2f2}.layui-form-select .layui-select-group dd{padding-left:20px}.layui-form-select dl dd.layui-select-tips{padding-left:10px!important;color:#999}.layui-form-select dl dd.layui-this{background-color:#5FB878;color:#fff}.layui-form-checkbox,.layui-form-select dl dd.layui-disabled{background-color:#fff}.layui-form-selected dl{display:block}.layui-form-checkbox,.layui-form-checkbox *,.layui-form-switch{display:inline-block;vertical-align:middle}.layui-form-selected .layui-edge{margin-top:-9px;-webkit-transform:rotate(180deg);transform:rotate(180deg);margin-top:-3px\9}:root .layui-form-selected .layui-edge{margin-top:-9px\0/IE9}.layui-form-selectup dl{top:auto;bottom:42px}.layui-select-none{margin:5px 0;text-align:center;color:#999}.layui-select-disabled .layui-disabled{border-color:#eee!important}.layui-select-disabled .layui-edge{border-top-color:#d2d2d2}.layui-form-checkbox{position:relative;height:30px;line-height:30px;margin-right:10px;padding-right:30px;cursor:pointer;font-size:0;-webkit-transition:.1s linear;transition:.1s linear;box-sizing:border-box}.layui-form-checkbox span{padding:0 10px;height:100%;font-size:14px;border-radius:2px 0 0 2px;background-color:#d2d2d2;color:#fff;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.layui-form-checkbox:hover span{background-color:#c2c2c2}.layui-form-checkbox i{position:absolute;right:0;top:0;width:30px;height:28px;border:1px solid #d2d2d2;border-left:none;border-radius:0 2px 2px 0;color:#fff;font-size:20px;text-align:center}.layui-form-checkbox:hover i{border-color:#c2c2c2;color:#c2c2c2}.layui-form-checked,.layui-form-checked:hover{border-color:#5FB878}.layui-form-checked span,.layui-form-checked:hover span{background-color:#5FB878}.layui-form-checked i,.layui-form-checked:hover i{color:#5FB878}.layui-form-item .layui-form-checkbox{margin-top:4px}.layui-form-checkbox[lay-skin=primary]{height:auto!important;line-height:normal!important;border:none!important;margin-right:0;padding-right:0;background:0 0}.layui-form-checkbox[lay-skin=primary] span{float:right;padding-right:15px;line-height:18px;background:0 0;color:#666}.layui-form-checkbox[lay-skin=primary] i{position:relative;top:0;width:16px;height:16px;line-height:16px;border:1px solid #d2d2d2;font-size:12px;border-radius:2px;background-color:#fff;-webkit-transition:.1s linear;transition:.1s linear}.layui-form-checkbox[lay-skin=primary]:hover i{border-color:#5FB878;color:#fff}.layui-form-checked[lay-skin=primary] i{border-color:#5FB878;background-color:#5FB878;color:#fff}.layui-checkbox-disbaled[lay-skin=primary] span{background:0 0!important;color:#c2c2c2}.layui-checkbox-disbaled[lay-skin=primary]:hover i{border-color:#d2d2d2}.layui-form-item .layui-form-checkbox[lay-skin=primary]{margin-top:10px}.layui-form-switch{position:relative;height:22px;line-height:22px;min-width:35px;padding:0 5px;margin-top:8px;border:1px solid #d2d2d2;border-radius:20px;cursor:pointer;background-color:#fff;-webkit-transition:.1s linear;transition:.1s linear}.layui-form-switch i{position:absolute;left:5px;top:3px;width:16px;height:16px;border-radius:20px;background-color:#d2d2d2;-webkit-transition:.1s linear;transition:.1s linear}.layui-form-switch em{position:relative;top:0;width:25px;margin-left:21px;padding:0!important;text-align:center!important;color:#999!important;font-style:normal!important;font-size:12px}.layui-form-onswitch{border-color:#5FB878;background-color:#5FB878}.layui-checkbox-disbaled,.layui-checkbox-disbaled i{border-color:#e2e2e2!important}.layui-form-onswitch i{left:100%;margin-left:-21px;background-color:#fff}.layui-form-onswitch em{margin-left:5px;margin-right:21px;color:#fff!important}.layui-checkbox-disbaled span{background-color:#e2e2e2!important}.layui-checkbox-disbaled:hover i{color:#fff!important}[lay-radio]{display:none}.layui-form-radio,.layui-form-radio *{display:inline-block;vertical-align:middle}.layui-form-radio{line-height:28px;margin:6px 10px 0 0;padding-right:10px;cursor:pointer;font-size:0}.layui-form-radio *{font-size:14px}.layui-form-radio>i{margin-right:8px;font-size:22px;color:#c2c2c2}.layui-form-radio>i:hover,.layui-form-radioed>i{color:#5FB878}.layui-radio-disbaled>i{color:#e2e2e2!important}.layui-form-pane .layui-form-label{width:110px;padding:8px 15px;height:38px;line-height:20px;border-width:1px;border-style:solid;border-radius:2px 0 0 2px;text-align:center;background-color:#FBFBFB;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box}.layui-form-pane .layui-input-inline{margin-left:-1px}.layui-form-pane .layui-input-block{margin-left:110px;left:-1px}.layui-form-pane .layui-input{border-radius:0 2px 2px 0}.layui-form-pane .layui-form-text .layui-form-label{float:none;width:100%;border-radius:2px;box-sizing:border-box;text-align:left}.layui-form-pane .layui-form-text .layui-input-inline{display:block;margin:0;top:-1px;clear:both}.layui-form-pane .layui-form-text .layui-input-block{margin:0;left:0;top:-1px}.layui-form-pane .layui-form-text .layui-textarea{min-height:100px;border-radius:0 0 2px 2px}.layui-form-pane .layui-form-checkbox{margin:4px 0 4px 10px}.layui-form-pane .layui-form-radio,.layui-form-pane .layui-form-switch{margin-top:6px;margin-left:10px}.layui-form-pane .layui-form-item[pane]{position:relative;border-width:1px;border-style:solid}.layui-form-pane .layui-form-item[pane] .layui-form-label{position:absolute;left:0;top:0;height:100%;border-width:0 1px 0 0}.layui-form-pane .layui-form-item[pane] .layui-input-inline{margin-left:110px}@media screen and (max-width:450px){.layui-form-item .layui-form-label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.layui-form-item .layui-inline{display:block;margin-right:0;margin-bottom:20px;clear:both}.layui-form-item .layui-inline:after{content:'\20';clear:both;display:block;height:0}.layui-form-item .layui-input-inline{display:block;float:none;left:-3px;width:auto;margin:0 0 10px 112px}.layui-form-item .layui-input-inline+.layui-form-mid{margin-left:110px;top:-5px;padding:0}.layui-form-item .layui-form-checkbox{margin-right:5px;margin-bottom:5px}}.layui-layedit{border-width:1px;border-style:solid;border-radius:2px}.layui-layedit-tool{padding:3px 5px;border-bottom-width:1px;border-bottom-style:solid;font-size:0}.layedit-tool-fixed{position:fixed;top:0;border-top:1px solid #e2e2e2}.layui-layedit-tool .layedit-tool-mid,.layui-layedit-tool .layui-icon{display:inline-block;vertical-align:middle;text-align:center;font-size:14px}.layui-layedit-tool .layui-icon{position:relative;width:32px;height:30px;line-height:30px;margin:3px 5px;color:#777;cursor:pointer;border-radius:2px}.layui-layedit-tool .layui-icon:hover{color:#393D49}.layui-layedit-tool .layui-icon:active{color:#000}.layui-layedit-tool .layedit-tool-active{background-color:#e2e2e2;color:#000}.layui-layedit-tool .layui-disabled,.layui-layedit-tool .layui-disabled:hover{color:#d2d2d2;cursor:not-allowed}.layui-layedit-tool .layedit-tool-mid{width:1px;height:18px;margin:0 10px;background-color:#d2d2d2}.layedit-tool-html{width:50px!important;font-size:30px!important}.layedit-tool-b,.layedit-tool-code,.layedit-tool-help{font-size:16px!important}.layedit-tool-d,.layedit-tool-face,.layedit-tool-image,.layedit-tool-unlink{font-size:18px!important}.layedit-tool-image input{position:absolute;font-size:0;left:0;top:0;width:100%;height:100%;opacity:.01;filter:Alpha(opacity=1);cursor:pointer}.layui-layedit-iframe iframe{display:block;width:100%}#LAY_layedit_code{overflow:hidden}.layui-laypage{display:inline-block;*display:inline;*zoom:1;vertical-align:middle;margin:10px 0;font-size:0}.layui-laypage>a:first-child,.layui-laypage>a:first-child em{border-radius:2px 0 0 2px}.layui-laypage>a:last-child,.layui-laypage>a:last-child em{border-radius:0 2px 2px 0}.layui-laypage>:first-child{margin-left:0!important}.layui-laypage>:last-child{margin-right:0!important}.layui-laypage a,.layui-laypage button,.layui-laypage input,.layui-laypage select,.layui-laypage span{border:1px solid #e2e2e2}.layui-laypage a,.layui-laypage span{display:inline-block;*display:inline;*zoom:1;vertical-align:middle;padding:0 15px;height:28px;line-height:28px;margin:0 -1px 5px 0;background-color:#fff;color:#333;font-size:12px}.layui-laypage a:hover{color:#009688}.layui-laypage em{font-style:normal}.layui-laypage .layui-laypage-spr{color:#999;font-weight:700}.layui-laypage a{text-decoration:none}.layui-laypage .layui-laypage-curr{position:relative}.layui-laypage .layui-laypage-curr em{position:relative;color:#fff}.layui-laypage .layui-laypage-curr .layui-laypage-em{position:absolute;left:-1px;top:-1px;padding:1px;width:100%;height:100%;background-color:#009688}.layui-laypage-em{border-radius:2px}.layui-laypage-next em,.layui-laypage-prev em{font-family:Sim sun;font-size:16px}.layui-laypage .layui-laypage-count,.layui-laypage .layui-laypage-limits,.layui-laypage .layui-laypage-refresh,.layui-laypage .layui-laypage-skip{margin-left:10px;margin-right:10px;padding:0;border:none}.layui-laypage .layui-laypage-limits,.layui-laypage .layui-laypage-refresh{vertical-align:top}.layui-laypage .layui-laypage-refresh i{font-size:18px;cursor:pointer}.layui-laypage select{height:22px;padding:3px;border-radius:2px;cursor:pointer}.layui-laypage .layui-laypage-skip{height:30px;line-height:30px;color:#999}.layui-laypage button,.layui-laypage input{height:30px;line-height:30px;border-radius:2px;vertical-align:top;background-color:#fff;box-sizing:border-box}.layui-laypage input{display:inline-block;width:40px;margin:0 10px;padding:0 3px;text-align:center}.layui-laypage input:focus,.layui-laypage select:focus{border-color:#009688!important}.layui-laypage button{margin-left:10px;padding:0 10px;cursor:pointer}.layui-table,.layui-table-view{margin:10px 0}.layui-flow-more{margin:10px 0;text-align:center;color:#999;font-size:14px}.layui-flow-more a{height:32px;line-height:32px}.layui-flow-more a *{display:inline-block;vertical-align:top}.layui-flow-more a cite{padding:0 20px;border-radius:3px;background-color:#eee;color:#333;font-style:normal}.layui-flow-more a cite:hover{opacity:.8}.layui-flow-more a i{font-size:30px;color:#737383}.layui-table{width:100%;background-color:#fff;color:#666}.layui-table tr{transition:all .3s;-webkit-transition:all .3s}.layui-table th{text-align:left;font-weight:400}.layui-table tbody tr:hover,.layui-table thead tr,.layui-table-click,.layui-table-header,.layui-table-hover,.layui-table-mend,.layui-table-patch,.layui-table-tool,.layui-table[lay-even] tr:nth-child(even){background-color:#f2f2f2}.layui-table td,.layui-table th,.layui-table-fixed-r,.layui-table-header,.layui-table-page,.layui-table-tips-main,.layui-table-tool,.layui-table-view,.layui-table[lay-skin=line],.layui-table[lay-skin=row]{border-width:1px;border-style:solid;border-color:#e6e6e6}.layui-table td,.layui-table th{position:relative;padding:9px 15px;min-height:20px;line-height:20px;font-size:14px}.layui-table[lay-skin=line] td,.layui-table[lay-skin=line] th{border-width:0 0 1px}.layui-table[lay-skin=row] td,.layui-table[lay-skin=row] th{border-width:0 1px 0 0}.layui-table[lay-skin=nob] td,.layui-table[lay-skin=nob] th{border:none}.layui-table img{max-width:100px}.layui-table[lay-size=lg] td,.layui-table[lay-size=lg] th{padding:15px 30px}.layui-table-view .layui-table[lay-size=lg] .layui-table-cell{height:40px;line-height:40px}.layui-table[lay-size=sm] td,.layui-table[lay-size=sm] th{font-size:12px;padding:5px 10px}.layui-table-view .layui-table[lay-size=sm] .layui-table-cell{height:20px;line-height:20px}.layui-table[lay-data]{display:none}.layui-table-box,.layui-table-view{position:relative;overflow:hidden}.layui-table-view .layui-table{position:relative;width:auto;margin:0}.layui-table-body,.layui-table-header .layui-table,.layui-table-page{margin-bottom:-1px}.layui-table-view .layui-table[lay-skin=line]{border-width:0 1px 0 0}.layui-table-view .layui-table[lay-skin=row]{border-width:0 0 1px}.layui-table-view .layui-table td,.layui-table-view .layui-table th{padding:5px 0;border-top:none;border-left:none}.layui-table-view .layui-table td{cursor:default}.layui-table-view .layui-form-checkbox[lay-skin=primary] i{width:18px;height:18px}.layui-table-header{border-width:0 0 1px;overflow:hidden}.layui-table-sort{width:10px;height:20px;margin-left:5px;cursor:pointer!important}.layui-table-sort .layui-edge{position:absolute;left:5px;border-width:5px}.layui-table-sort .layui-table-sort-asc{top:4px;border-top:none;border-bottom-style:solid;border-bottom-color:#b2b2b2}.layui-table-sort .layui-table-sort-asc:hover{border-bottom-color:#666}.layui-table-sort .layui-table-sort-desc{bottom:4px;border-bottom:none;border-top-style:solid;border-top-color:#b2b2b2}.layui-table-sort .layui-table-sort-desc:hover{border-top-color:#666}.layui-table-sort[lay-sort=asc] .layui-table-sort-asc{border-bottom-color:#000}.layui-table-sort[lay-sort=desc] .layui-table-sort-desc{border-top-color:#000}.layui-table-cell{height:28px;line-height:28px;padding:0 15px;position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box}.layui-table-cell .layui-form-checkbox[lay-skin=primary],.layui-table-cell .layui-form-radio[lay-skin=primary]{top:-1px;vertical-align:middle}.layui-table-cell .layui-form-radio{padding-right:0}.layui-table-cell .layui-form-radio>i{margin-right:0}.layui-table-cell .layui-table-link{color:#01AAED}.laytable-cell-checkbox,.laytable-cell-numbers,.laytable-cell-radio,.laytable-cell-space{padding:0;text-align:center}.layui-table-body{position:relative;overflow:auto;margin-right:-1px}.layui-table-body .layui-none{line-height:40px;text-align:center;color:#999}.layui-table-fixed{position:absolute;left:0;top:0}.layui-table-fixed .layui-table-body{overflow:hidden}.layui-table-fixed-l{box-shadow:0 -1px 8px rgba(0,0,0,.08)}.layui-table-fixed-r{left:auto;right:-1px;border-width:0 0 0 1px;box-shadow:-1px 0 8px rgba(0,0,0,.08)}.layui-table-fixed-r .layui-table-header{position:relative;overflow:visible}.layui-table-mend{position:absolute;right:-49px;top:0;height:100%;width:50px}.layui-table-tool{position:relative;width:100%;height:50px;line-height:30px;padding:10px 15px;border-width:0 0 1px}.layui-table-page{position:relative;width:100%;padding:7px 7px 0;border-width:1px 0 0;height:41px;font-size:12px}.layui-table-page>div{height:26px}.layui-table-page .layui-laypage{margin:0}.layui-table-page .layui-laypage a,.layui-table-page .layui-laypage span{height:26px;line-height:26px;margin-bottom:10px;border:none;background:0 0}.layui-table-page .layui-laypage a,.layui-table-page .layui-laypage span.layui-laypage-curr{padding:0 12px}.layui-table-page .layui-laypage span{margin-left:0;padding:0}.layui-table-page .layui-laypage .layui-laypage-prev{margin-left:-7px!important}.layui-table-page .layui-laypage .layui-laypage-curr .layui-laypage-em{left:0;top:0;padding:0}.layui-table-page .layui-laypage button,.layui-table-page .layui-laypage input{height:26px;line-height:26px}.layui-table-page .layui-laypage input{width:40px}.layui-table-page .layui-laypage button{padding:0 10px}.layui-table-page select{height:18px}.layui-table-view select[lay-ignore]{display:inline-block}.layui-table-patch .layui-table-cell{padding:0;width:30px}.layui-table-edit{position:absolute;left:0;top:0;width:100%;height:100%;padding:0 14px 1px;border-radius:0;box-shadow:1px 1px 20px rgba(0,0,0,.15)}.layui-table-edit:focus{border-color:#5FB878!important}select.layui-table-edit{padding:0 0 0 10px;border-color:#C9C9C9}.layui-table-view .layui-form-checkbox,.layui-table-view .layui-form-radio,.layui-table-view .layui-form-switch{top:0;margin:0;box-sizing:content-box}.layui-table-view .layui-form-checkbox{top:-1px;height:26px;line-height:26px}body .layui-table-tips .layui-layer-content{background:0 0;padding:0;box-shadow:0 1px 6px rgba(0,0,0,.1)}.layui-table-tips-main{margin:-44px 0 0 -1px;max-height:150px;padding:8px 15px;font-size:14px;overflow-y:scroll;background-color:#fff;color:#333}.layui-table-tips-c{position:absolute;right:-3px;top:-12px;width:18px;height:18px;padding:3px;text-align:center;font-weight:700;border-radius:100%;font-size:14px;cursor:pointer;background-color:#666}.layui-table-tips-c:hover{background-color:#999}.layui-upload-file{display:none!important;opacity:.01;filter:Alpha(opacity=1)}.layui-upload-drag,.layui-upload-form,.layui-upload-wrap{display:inline-block}.layui-upload-list{margin:10px 0}.layui-upload-choose{padding:0 10px;color:#999}.layui-upload-drag{position:relative;padding:30px;border:1px dashed #e2e2e2;background-color:#fff;text-align:center;cursor:pointer;color:#999}.layui-upload-drag .layui-icon{font-size:50px;color:#009688}.layui-upload-drag[lay-over]{border-color:#009688}.layui-upload-iframe{position:absolute;width:0;height:0;border:0;visibility:hidden}.layui-upload-wrap{position:relative;vertical-align:middle}.layui-upload-wrap .layui-upload-file{display:block!important;position:absolute;left:0;top:0;z-index:10;font-size:100px;width:100%;height:100%;opacity:.01;filter:Alpha(opacity=1);cursor:pointer}.layui-rate,.layui-rate *{display:inline-block;vertical-align:middle}.layui-rate{padding:10px 5px 10px 0;font-size:0}.layui-rate li i.layui-icon{font-size:20px;color:#FFB800;margin-right:5px;transition:all .3s;-webkit-transition:all .3s}.layui-rate li i:hover{cursor:pointer;transform:scale(1.12);-webkit-transform:scale(1.12)}.layui-rate[readonly] li i:hover{cursor:default;transform:scale(1)}.layui-code{position:relative;margin:10px 0;padding:15px;line-height:20px;border:1px solid #ddd;border-left-width:6px;background-color:#F2F2F2;color:#333;font-family:Courier New;font-size:12px}.layui-tree{line-height:26px}.layui-tree li{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.layui-tree li .layui-tree-spread,.layui-tree li a{display:inline-block;vertical-align:top;height:26px;*display:inline;*zoom:1;cursor:pointer}.layui-tree li a{font-size:0}.layui-tree li a i{font-size:16px}.layui-tree li a cite{padding:0 6px;font-size:14px;font-style:normal}.layui-tree li i{padding-left:6px;color:#333;-moz-user-select:none}.layui-tree li .layui-tree-check{font-size:13px}.layui-tree li .layui-tree-check:hover{color:#009E94}.layui-tree li ul{display:none;margin-left:20px}.layui-tree li .layui-tree-enter{line-height:24px;border:1px dotted #000}.layui-tree-drag{display:none;position:absolute;left:-666px;top:-666px;background-color:#f2f2f2;padding:5px 10px;border:1px dotted #000;white-space:nowrap}.layui-tree-drag i{padding-right:5px}.layui-nav{position:relative;padding:0 20px;background-color:#393D49;color:#fff;border-radius:2px;font-size:0;box-sizing:border-box}.layui-nav *{font-size:14px}.layui-nav .layui-nav-item{position:relative;display:inline-block;*display:inline;*zoom:1;vertical-align:middle;line-height:60px}.layui-nav .layui-nav-item a{display:block;padding:0 20px;color:#fff;color:rgba(255,255,255,.7);transition:all .3s;-webkit-transition:all .3s}.layui-nav .layui-this:after,.layui-nav-bar,.layui-nav-tree .layui-nav-itemed:after{position:absolute;left:0;top:0;width:0;height:5px;background-color:#5FB878;transition:all .2s;-webkit-transition:all .2s}.layui-nav-bar{z-index:1000}.layui-nav .layui-nav-item a:hover,.layui-nav .layui-this a{color:#fff}.layui-nav .layui-this:after{content:'';top:auto;bottom:0;width:100%}.layui-nav-img{width:30px;height:30px;margin-right:10px;border-radius:50%}.layui-nav .layui-nav-more{content:'';width:0;height:0;border-style:solid dashed dashed;border-color:#fff transparent transparent;overflow:hidden;cursor:pointer;transition:all .2s;-webkit-transition:all .2s;position:absolute;top:50%;right:3px;margin-top:-3px;border-width:6px;border-top-color:rgba(255,255,255,.7)}.layui-nav .layui-nav-mored,.layui-nav-itemed>a .layui-nav-more{margin-top:-9px;border-style:dashed dashed solid;border-color:transparent transparent #fff}.layui-nav-child{display:none;position:absolute;left:0;top:65px;min-width:100%;line-height:36px;padding:5px 0;box-shadow:0 2px 4px rgba(0,0,0,.12);border:1px solid #d2d2d2;background-color:#fff;z-index:100;border-radius:2px;white-space:nowrap}.layui-nav .layui-nav-child a{color:#333}.layui-nav .layui-nav-child a:hover{background-color:#f2f2f2;color:#000}.layui-nav-child dd{position:relative}.layui-nav .layui-nav-child dd.layui-this a,.layui-nav-child dd.layui-this{background-color:#5FB878;color:#fff}.layui-nav-child dd.layui-this:after{display:none}.layui-nav-tree{width:200px;padding:0}.layui-nav-tree .layui-nav-item{display:block;width:100%;line-height:45px}.layui-nav-tree .layui-nav-item a{position:relative;height:45px;line-height:45px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.layui-nav-tree .layui-nav-item a:hover{background-color:#4E5465}.layui-nav-tree .layui-nav-bar{width:5px;height:0;background-color:#009688}.layui-nav-tree .layui-nav-child dd.layui-this,.layui-nav-tree .layui-nav-child dd.layui-this a,.layui-nav-tree .layui-this,.layui-nav-tree .layui-this>a,.layui-nav-tree .layui-this>a:hover{background-color:#009688;color:#fff}.layui-nav-tree .layui-this:after{display:none}.layui-nav-itemed>a,.layui-nav-tree .layui-nav-title a,.layui-nav-tree .layui-nav-title a:hover{color:#fff!important}.layui-nav-tree .layui-nav-child{position:relative;z-index:0;top:0;border:none;box-shadow:none}.layui-nav-tree .layui-nav-child a{height:40px;line-height:40px;color:#fff;color:rgba(255,255,255,.7)}.layui-nav-tree .layui-nav-child,.layui-nav-tree .layui-nav-child a:hover{background:0 0;color:#fff}.layui-nav-tree .layui-nav-more{right:10px}.layui-nav-itemed>.layui-nav-child{display:block;padding:0;background-color:rgba(0,0,0,.3)!important}.layui-nav-itemed>.layui-nav-child>.layui-this>.layui-nav-child{display:block}.layui-nav-side{position:fixed;top:0;bottom:0;left:0;overflow-x:hidden;z-index:999}.layui-bg-blue .layui-nav-bar,.layui-bg-blue .layui-nav-itemed:after,.layui-bg-blue .layui-this:after{background-color:#93D1FF}.layui-bg-blue .layui-nav-child dd.layui-this{background-color:#1E9FFF}.layui-bg-blue .layui-nav-itemed>a,.layui-nav-tree.layui-bg-blue .layui-nav-title a,.layui-nav-tree.layui-bg-blue .layui-nav-title a:hover{background-color:#007DDB!important}.layui-breadcrumb{visibility:hidden;font-size:0}.layui-breadcrumb>*{font-size:14px}.layui-breadcrumb a{color:#999!important}.layui-breadcrumb a:hover{color:#5FB878!important}.layui-breadcrumb a cite{color:#666;font-style:normal}.layui-breadcrumb span[lay-separator]{margin:0 10px;color:#999}.layui-tab{margin:10px 0;text-align:left!important}.layui-tab[overflow]>.layui-tab-title{overflow:hidden}.layui-tab-title{position:relative;left:0;height:40px;white-space:nowrap;font-size:0;border-bottom-width:1px;border-bottom-style:solid;transition:all .2s;-webkit-transition:all .2s}.layui-tab-title li{display:inline-block;*display:inline;*zoom:1;vertical-align:middle;font-size:14px;transition:all .2s;-webkit-transition:all .2s;position:relative;line-height:40px;min-width:65px;padding:0 15px;text-align:center;cursor:pointer}.layui-tab-title li a{display:block}.layui-tab-title .layui-this{color:#000}.layui-tab-title .layui-this:after{position:absolute;left:0;top:0;content:'';width:100%;height:41px;border-width:1px;border-style:solid;border-bottom-color:#fff;border-radius:2px 2px 0 0;box-sizing:border-box;pointer-events:none}.layui-tab-bar{position:absolute;right:0;top:0;z-index:10;width:30px;height:39px;line-height:39px;border-width:1px;border-style:solid;border-radius:2px;text-align:center;background-color:#fff;cursor:pointer}.layui-tab-bar .layui-icon{position:relative;display:inline-block;top:3px;transition:all .3s;-webkit-transition:all .3s}.layui-tab-item{display:none}.layui-tab-more{padding-right:30px;height:auto!important;white-space:normal!important}.layui-tab-more li.layui-this:after{border-bottom-color:#e2e2e2;border-radius:2px}.layui-tab-more .layui-tab-bar .layui-icon{top:-2px;top:3px\9;-webkit-transform:rotate(180deg);transform:rotate(180deg)}:root .layui-tab-more .layui-tab-bar .layui-icon{top:-2px\0/IE9}.layui-tab-content{padding:10px}.layui-tab-title li .layui-tab-close{position:relative;display:inline-block;width:18px;height:18px;line-height:20px;margin-left:8px;top:1px;text-align:center;font-size:14px;color:#c2c2c2;transition:all .2s;-webkit-transition:all .2s}.layui-tab-title li .layui-tab-close:hover{border-radius:2px;background-color:#FF5722;color:#fff}.layui-tab-brief>.layui-tab-title .layui-this{color:#009688}.layui-tab-brief>.layui-tab-more li.layui-this:after,.layui-tab-brief>.layui-tab-title .layui-this:after{border:none;border-radius:0;border-bottom:2px solid #5FB878}.layui-tab-brief[overflow]>.layui-tab-title .layui-this:after{top:-1px}.layui-tab-card{border-width:1px;border-style:solid;border-radius:2px;box-shadow:0 2px 5px 0 rgba(0,0,0,.1)}.layui-tab-card>.layui-tab-title{background-color:#f2f2f2}.layui-tab-card>.layui-tab-title li{margin-right:-1px;margin-left:-1px}.layui-tab-card>.layui-tab-title .layui-this{background-color:#fff}.layui-tab-card>.layui-tab-title .layui-this:after{border-top:none;border-width:1px;border-bottom-color:#fff}.layui-tab-card>.layui-tab-title .layui-tab-bar{height:40px;line-height:40px;border-radius:0;border-top:none;border-right:none}.layui-tab-card>.layui-tab-more .layui-this{background:0 0;color:#5FB878}.layui-tab-card>.layui-tab-more .layui-this:after{border:none}.layui-timeline{padding-left:5px}.layui-timeline-item{position:relative;padding-bottom:20px}.layui-timeline-axis{position:absolute;left:-5px;top:0;z-index:10;width:20px;height:20px;line-height:20px;background-color:#fff;color:#5FB878;border-radius:50%;text-align:center;cursor:pointer}.layui-timeline-axis:hover{color:#FF5722}.layui-timeline-item:before{content:'';position:absolute;left:5px;top:0;z-index:0;width:1px;height:100%}.layui-timeline-item:last-child:before{display:none}.layui-timeline-item:first-child:before{display:block}.layui-timeline-content{padding-left:25px}.layui-timeline-title{position:relative;margin-bottom:10px}.layui-badge,.layui-badge-dot,.layui-badge-rim{position:relative;display:inline-block;padding:0 6px;font-size:12px;text-align:center;background-color:#FF5722;color:#fff;border-radius:2px}.layui-badge{height:18px;line-height:18px}.layui-badge-dot{width:8px;height:8px;padding:0;border-radius:50%}.layui-badge-rim{height:18px;line-height:18px;border-width:1px;border-style:solid;background-color:#fff;color:#666}.layui-btn .layui-badge,.layui-btn .layui-badge-dot{margin-left:5px}.layui-nav .layui-badge,.layui-nav .layui-badge-dot{position:absolute;top:50%;margin:-8px 6px 0}.layui-tab-title .layui-badge,.layui-tab-title .layui-badge-dot{left:5px;top:-2px}.layui-carousel{position:relative;left:0;top:0;background-color:#f8f8f8}.layui-carousel>[carousel-item]{position:relative;width:100%;height:100%;overflow:hidden}.layui-carousel>[carousel-item]:before{position:absolute;content:'\e63d';left:50%;top:50%;width:100px;line-height:20px;margin:-10px 0 0 -50px;text-align:center;color:#c2c2c2;font-family:layui-icon!important;font-size:30px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.layui-carousel>[carousel-item]>*{display:none;position:absolute;left:0;top:0;width:100%;height:100%;background-color:#f8f8f8;transition-duration:.3s;-webkit-transition-duration:.3s}.layui-carousel-updown>*{-webkit-transition:.3s ease-in-out up;transition:.3s ease-in-out up}.layui-carousel-arrow{display:none\9;opacity:0;position:absolute;left:10px;top:50%;margin-top:-18px;width:36px;height:36px;line-height:36px;text-align:center;font-size:20px;border:0;border-radius:50%;background-color:rgba(0,0,0,.2);color:#fff;-webkit-transition-duration:.3s;transition-duration:.3s;cursor:pointer}.layui-carousel-arrow[lay-type=add]{left:auto!important;right:10px}.layui-carousel:hover .layui-carousel-arrow[lay-type=add],.layui-carousel[lay-arrow=always] .layui-carousel-arrow[lay-type=add]{right:20px}.layui-carousel[lay-arrow=always] .layui-carousel-arrow{opacity:1;left:20px}.layui-carousel[lay-arrow=none] .layui-carousel-arrow{display:none}.layui-carousel-arrow:hover,.layui-carousel-ind ul:hover{background-color:rgba(0,0,0,.35)}.layui-carousel:hover .layui-carousel-arrow{display:block\9;opacity:1;left:20px}.layui-carousel-ind{position:relative;top:-35px;width:100%;line-height:0!important;text-align:center;font-size:0}.layui-carousel[lay-indicator=outside]{margin-bottom:30px}.layui-carousel[lay-indicator=outside] .layui-carousel-ind{top:10px}.layui-carousel[lay-indicator=outside] .layui-carousel-ind ul{background-color:rgba(0,0,0,.5)}.layui-carousel[lay-indicator=none] .layui-carousel-ind{display:none}.layui-carousel-ind ul{display:inline-block;padding:5px;background-color:rgba(0,0,0,.2);border-radius:10px;-webkit-transition-duration:.3s;transition-duration:.3s}.layui-carousel-ind li{display:inline-block;width:10px;height:10px;margin:0 3px;font-size:14px;background-color:#e2e2e2;background-color:rgba(255,255,255,.5);border-radius:50%;cursor:pointer;-webkit-transition-duration:.3s;transition-duration:.3s}.layui-carousel-ind li:hover{background-color:rgba(255,255,255,.7)}.layui-carousel-ind li.layui-this{background-color:#fff}.layui-carousel>[carousel-item]>.layui-carousel-next,.layui-carousel>[carousel-item]>.layui-carousel-prev,.layui-carousel>[carousel-item]>.layui-this{display:block}.layui-carousel>[carousel-item]>.layui-this{left:0}.layui-carousel>[carousel-item]>.layui-carousel-prev{left:-100%}.layui-carousel>[carousel-item]>.layui-carousel-next{left:100%}.layui-carousel>[carousel-item]>.layui-carousel-next.layui-carousel-left,.layui-carousel>[carousel-item]>.layui-carousel-prev.layui-carousel-right{left:0}.layui-carousel>[carousel-item]>.layui-this.layui-carousel-left{left:-100%}.layui-carousel>[carousel-item]>.layui-this.layui-carousel-right{left:100%}.layui-carousel[lay-anim=updown] .layui-carousel-arrow{left:50%!important;top:20px;margin:0 0 0 -18px}.layui-carousel[lay-anim=updown]>[carousel-item]>*,.layui-carousel[lay-anim=fade]>[carousel-item]>*{left:0!important}.layui-carousel[lay-anim=updown] .layui-carousel-arrow[lay-type=add]{top:auto!important;bottom:20px}.layui-carousel[lay-anim=updown] .layui-carousel-ind{position:absolute;top:50%;right:20px;width:auto;height:auto}.layui-carousel[lay-anim=updown] .layui-carousel-ind ul{padding:3px 5px}.layui-carousel[lay-anim=updown] .layui-carousel-ind li{display:block;margin:6px 0}.layui-carousel[lay-anim=updown]>[carousel-item]>.layui-this{top:0}.layui-carousel[lay-anim=updown]>[carousel-item]>.layui-carousel-prev{top:-100%}.layui-carousel[lay-anim=updown]>[carousel-item]>.layui-carousel-next{top:100%}.layui-carousel[lay-anim=updown]>[carousel-item]>.layui-carousel-next.layui-carousel-left,.layui-carousel[lay-anim=updown]>[carousel-item]>.layui-carousel-prev.layui-carousel-right{top:0}.layui-carousel[lay-anim=updown]>[carousel-item]>.layui-this.layui-carousel-left{top:-100%}.layui-carousel[lay-anim=updown]>[carousel-item]>.layui-this.layui-carousel-right{top:100%}.layui-carousel[lay-anim=fade]>[carousel-item]>.layui-carousel-next,.layui-carousel[lay-anim=fade]>[carousel-item]>.layui-carousel-prev{opacity:0}.layui-carousel[lay-anim=fade]>[carousel-item]>.layui-carousel-next.layui-carousel-left,.layui-carousel[lay-anim=fade]>[carousel-item]>.layui-carousel-prev.layui-carousel-right{opacity:1}.layui-carousel[lay-anim=fade]>[carousel-item]>.layui-this.layui-carousel-left,.layui-carousel[lay-anim=fade]>[carousel-item]>.layui-this.layui-carousel-right{opacity:0}.layui-fixbar{position:fixed;right:15px;bottom:15px;z-index:9999}.layui-fixbar li{width:50px;height:50px;line-height:50px;margin-bottom:1px;text-align:center;cursor:pointer;font-size:30px;background-color:#9F9F9F;color:#fff;border-radius:2px;opacity:.95}.layui-fixbar li:hover{opacity:.85}.layui-fixbar li:active{opacity:1}.layui-fixbar .layui-fixbar-top{display:none;font-size:40px}body .layui-util-face{border:none;background:0 0}body .layui-util-face .layui-layer-content{padding:0;background-color:#fff;color:#666;box-shadow:none}.layui-util-face .layui-layer-TipsG{display:none}.layui-util-face ul{position:relative;width:372px;padding:10px;border:1px solid #D9D9D9;background-color:#fff;box-shadow:0 0 20px rgba(0,0,0,.2)}.layui-util-face ul li{cursor:pointer;float:left;border:1px solid #e8e8e8;height:22px;width:26px;overflow:hidden;margin:-1px 0 0 -1px;padding:4px 2px;text-align:center}.layui-util-face ul li:hover{position:relative;z-index:2;border:1px solid #eb7350;background:#fff9ec}.layui-anim{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.layui-anim.layui-icon{display:inline-block}.layui-anim-loop{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.layui-trans,.layui-trans a{transition:all .3s;-webkit-transition:all .3s}@-webkit-keyframes layui-rotate{from{-webkit-transform:rotate(0)}to{-webkit-transform:rotate(360deg)}}@keyframes layui-rotate{from{transform:rotate(0)}to{transform:rotate(360deg)}}.layui-anim-rotate{-webkit-animation-name:layui-rotate;animation-name:layui-rotate;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-timing-function:linear;animation-timing-function:linear}@-webkit-keyframes layui-up{from{-webkit-transform:translate3d(0,100%,0);opacity:.3}to{-webkit-transform:translate3d(0,0,0);opacity:1}}@keyframes layui-up{from{transform:translate3d(0,100%,0);opacity:.3}to{transform:translate3d(0,0,0);opacity:1}}.layui-anim-up{-webkit-animation-name:layui-up;animation-name:layui-up}@-webkit-keyframes layui-upbit{from{-webkit-transform:translate3d(0,30px,0);opacity:.3}to{-webkit-transform:translate3d(0,0,0);opacity:1}}@keyframes layui-upbit{from{transform:translate3d(0,30px,0);opacity:.3}to{transform:translate3d(0,0,0);opacity:1}}.layui-anim-upbit{-webkit-animation-name:layui-upbit;animation-name:layui-upbit}@-webkit-keyframes layui-scale{0%{opacity:.3;-webkit-transform:scale(.5)}100%{opacity:1;-webkit-transform:scale(1)}}@keyframes layui-scale{0%{opacity:.3;-ms-transform:scale(.5);transform:scale(.5)}100%{opacity:1;-ms-transform:scale(1);transform:scale(1)}}.layui-anim-scale{-webkit-animation-name:layui-scale;animation-name:layui-scale}@-webkit-keyframes layui-scale-spring{0%{opacity:.5;-webkit-transform:scale(.5)}80%{opacity:.8;-webkit-transform:scale(1.1)}100%{opacity:1;-webkit-transform:scale(1)}}@keyframes layui-scale-spring{0%{opacity:.5;transform:scale(.5)}80%{opacity:.8;transform:scale(1.1)}100%{opacity:1;transform:scale(1)}}.layui-anim-scaleSpring{-webkit-animation-name:layui-scale-spring;animation-name:layui-scale-spring}@-webkit-keyframes layui-fadein{0%{opacity:0}100%{opacity:1}}@keyframes layui-fadein{0%{opacity:0}100%{opacity:1}}.layui-anim-fadein{-webkit-animation-name:layui-fadein;animation-name:layui-fadein}@-webkit-keyframes layui-fadeout{0%{opacity:1}100%{opacity:0}}@keyframes layui-fadeout{0%{opacity:1}100%{opacity:0}}.layui-anim-fadeout{-webkit-animation-name:layui-fadeout;animation-name:layui-fadeout}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/css/layui.mobile.css b/src/main/webapp/static/wms/layuiadmin/layui/css/layui.mobile.css
new file mode 100644
index 0000000..cefeb46
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/css/layui.mobile.css
@@ -0,0 +1,2 @@
+/** layui-v2.3.0 MIT License By https://www.layui.com */
+ blockquote,body,button,dd,div,dl,dt,form,h1,h2,h3,h4,h5,h6,input,legend,li,ol,p,td,textarea,th,ul{margin:0;padding:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}html{font:12px 'Helvetica Neue','PingFang SC',STHeitiSC-Light,Helvetica,Arial,sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}a,button,input{-webkit-tap-highlight-color:rgba(255,0,0,0)}a{text-decoration:none;background:0 0}a:active,a:hover{outline:0}table{border-collapse:collapse;border-spacing:0}li{list-style:none}b,strong{font-weight:700}h1,h2,h3,h4,h5,h6{font-weight:500}address,cite,dfn,em,var{font-style:normal}dfn{font-style:italic}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}img{border:0;vertical-align:bottom}.layui-inline,input,label{vertical-align:middle}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0;outline:0}button,select{text-transform:none}select{-webkit-appearance:none;border:none}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}@font-face{font-family:layui-icon;src:url(../font/iconfont.eot?v=1.0.7);src:url(../font/iconfont.eot?v=1.0.7#iefix) format('embedded-opentype'),url(../font/iconfont.woff?v=1.0.7) format('woff'),url(../font/iconfont.ttf?v=1.0.7) format('truetype'),url(../font/iconfont.svg?v=1.0.7#iconfont) format('svg')}.layui-icon{font-family:layui-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.layui-box,.layui-box *{-webkit-box-sizing:content-box!important;-moz-box-sizing:content-box!important;box-sizing:content-box!important}.layui-border-box,.layui-border-box *{-webkit-box-sizing:border-box!important;-moz-box-sizing:border-box!important;box-sizing:border-box!important}.layui-inline{position:relative;display:inline-block;*display:inline;*zoom:1}.layui-edge,.layui-upload-iframe{position:absolute;width:0;height:0}.layui-edge{border-style:dashed;border-color:transparent;overflow:hidden}.layui-elip{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.layui-unselect{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}.layui-disabled,.layui-disabled:active{background-color:#d2d2d2!important;color:#fff!important;cursor:not-allowed!important}.layui-circle{border-radius:100%}.layui-show{display:block!important}.layui-hide{display:none!important}.layui-upload-iframe{border:0;visibility:hidden}.layui-upload-enter{border:1px solid #009E94;background-color:#009E94;color:#fff;-webkit-transform:scale(1.1);transform:scale(1.1)}@-webkit-keyframes layui-m-anim-scale{0%{opacity:0;-webkit-transform:scale(.5);transform:scale(.5)}100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes layui-m-anim-scale{0%{opacity:0;-webkit-transform:scale(.5);transform:scale(.5)}100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.layui-m-anim-scale{animation-name:layui-m-anim-scale;-webkit-animation-name:layui-m-anim-scale}@-webkit-keyframes layui-m-anim-up{0%{opacity:0;-webkit-transform:translateY(800px);transform:translateY(800px)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes layui-m-anim-up{0%{opacity:0;-webkit-transform:translateY(800px);transform:translateY(800px)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}.layui-m-anim-up{-webkit-animation-name:layui-m-anim-up;animation-name:layui-m-anim-up}@-webkit-keyframes layui-m-anim-left{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes layui-m-anim-left{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}.layui-m-anim-left{-webkit-animation-name:layui-m-anim-left;animation-name:layui-m-anim-left}@-webkit-keyframes layui-m-anim-right{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes layui-m-anim-right{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}.layui-m-anim-right{-webkit-animation-name:layui-m-anim-right;animation-name:layui-m-anim-right}@-webkit-keyframes layui-m-anim-lout{0%{-webkit-transform:translateX(0);transform:translateX(0)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes layui-m-anim-lout{0%{-webkit-transform:translateX(0);transform:translateX(0)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}.layui-m-anim-lout{-webkit-animation-name:layui-m-anim-lout;animation-name:layui-m-anim-lout}@-webkit-keyframes layui-m-anim-rout{0%{-webkit-transform:translateX(0);transform:translateX(0)}100%{-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes layui-m-anim-rout{0%{-webkit-transform:translateX(0);transform:translateX(0)}100%{-webkit-transform:translateX(100%);transform:translateX(100%)}}.layui-m-anim-rout{-webkit-animation-name:layui-m-anim-rout;animation-name:layui-m-anim-rout}.layui-m-layer{position:relative;z-index:19891014}.layui-m-layer *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.layui-m-layermain,.layui-m-layershade{position:fixed;left:0;top:0;width:100%;height:100%}.layui-m-layershade{background-color:rgba(0,0,0,.7);pointer-events:auto}.layui-m-layermain{display:table;font-family:Helvetica,arial,sans-serif;pointer-events:none}.layui-m-layermain .layui-m-layersection{display:table-cell;vertical-align:middle;text-align:center}.layui-m-layerchild{position:relative;display:inline-block;text-align:left;background-color:#fff;font-size:14px;border-radius:5px;box-shadow:0 0 8px rgba(0,0,0,.1);pointer-events:auto;-webkit-overflow-scrolling:touch;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.2s;animation-duration:.2s}.layui-m-layer0 .layui-m-layerchild{width:90%;max-width:640px}.layui-m-layer1 .layui-m-layerchild{border:none;border-radius:0}.layui-m-layer2 .layui-m-layerchild{width:auto;max-width:260px;min-width:40px;border:none;background:0 0;box-shadow:none;color:#fff}.layui-m-layerchild h3{padding:0 10px;height:60px;line-height:60px;font-size:16px;font-weight:400;border-radius:5px 5px 0 0;text-align:center}.layui-m-layerbtn span,.layui-m-layerchild h3{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.layui-m-layercont{padding:50px 30px;line-height:22px;text-align:center}.layui-m-layer1 .layui-m-layercont{padding:0;text-align:left}.layui-m-layer2 .layui-m-layercont{text-align:center;padding:0;line-height:0}.layui-m-layer2 .layui-m-layercont i{width:25px;height:25px;margin-left:8px;display:inline-block;background-color:#fff;border-radius:100%;-webkit-animation:layui-m-anim-loading 1.4s infinite ease-in-out;animation:layui-m-anim-loading 1.4s infinite ease-in-out;-webkit-animation-fill-mode:both;animation-fill-mode:both}.layui-m-layerbtn,.layui-m-layerbtn span{position:relative;text-align:center;border-radius:0 0 5px 5px}.layui-m-layer2 .layui-m-layercont p{margin-top:20px}@-webkit-keyframes layui-m-anim-loading{0%,100%,80%{transform:scale(0);-webkit-transform:scale(0)}40%{transform:scale(1);-webkit-transform:scale(1)}}@keyframes layui-m-anim-loading{0%,100%,80%{transform:scale(0);-webkit-transform:scale(0)}40%{transform:scale(1);-webkit-transform:scale(1)}}.layui-m-layer2 .layui-m-layercont i:first-child{margin-left:0;-webkit-animation-delay:-.32s;animation-delay:-.32s}.layui-m-layer2 .layui-m-layercont i.layui-m-layerload{-webkit-animation-delay:-.16s;animation-delay:-.16s}.layui-m-layer2 .layui-m-layercont>div{line-height:22px;padding-top:7px;margin-bottom:20px;font-size:14px}.layui-m-layerbtn{display:box;display:-moz-box;display:-webkit-box;width:100%;height:50px;line-height:50px;font-size:0;border-top:1px solid #D0D0D0;background-color:#F2F2F2}.layui-m-layerbtn span{display:block;-moz-box-flex:1;box-flex:1;-webkit-box-flex:1;font-size:14px;cursor:pointer}.layui-m-layerbtn span[yes]{color:#40AFFE}.layui-m-layerbtn span[no]{border-right:1px solid #D0D0D0;border-radius:0 0 0 5px}.layui-m-layerbtn span:active{background-color:#F6F6F6}.layui-m-layerend{position:absolute;right:7px;top:10px;width:30px;height:30px;border:0;font-weight:400;background:0 0;cursor:pointer;-webkit-appearance:none;font-size:30px}.layui-m-layerend::after,.layui-m-layerend::before{position:absolute;left:5px;top:15px;content:'';width:18px;height:1px;background-color:#999;transform:rotate(45deg);-webkit-transform:rotate(45deg);border-radius:3px}.layui-m-layerend::after{transform:rotate(-45deg);-webkit-transform:rotate(-45deg)}body .layui-m-layer .layui-m-layer-footer{position:fixed;width:95%;max-width:100%;margin:0 auto;left:0;right:0;bottom:10px;background:0 0}.layui-m-layer-footer .layui-m-layercont{padding:20px;border-radius:5px 5px 0 0;background-color:rgba(255,255,255,.8)}.layui-m-layer-footer .layui-m-layerbtn{display:block;height:auto;background:0 0;border-top:none}.layui-m-layer-footer .layui-m-layerbtn span{background-color:rgba(255,255,255,.8)}.layui-m-layer-footer .layui-m-layerbtn span[no]{color:#FD482C;border-top:1px solid #c2c2c2;border-radius:0 0 5px 5px}.layui-m-layer-footer .layui-m-layerbtn span[yes]{margin-top:10px;border-radius:5px}body .layui-m-layer .layui-m-layer-msg{width:auto;max-width:90%;margin:0 auto;bottom:-150px;background-color:rgba(0,0,0,.7);color:#fff}.layui-m-layer-msg .layui-m-layercont{padding:10px 20px}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/css/modules/code.css b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/code.css
new file mode 100644
index 0000000..e12278b
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/code.css
@@ -0,0 +1,2 @@
+/** layui-v2.3.0 MIT License By https://www.layui.com */
+ html #layuicss-skincodecss{display:none;position:absolute;width:1989px}.layui-code-h3,.layui-code-view{position:relative;font-size:12px}.layui-code-view{display:block;margin:10px 0;padding:0;border:1px solid #e2e2e2;border-left-width:6px;background-color:#F2F2F2;color:#333;font-family:Courier New}.layui-code-h3{padding:0 10px;height:32px;line-height:32px;border-bottom:1px solid #e2e2e2}.layui-code-h3 a{position:absolute;right:10px;top:0;color:#999}.layui-code-view .layui-code-ol{position:relative;overflow:auto}.layui-code-view .layui-code-ol li{position:relative;margin-left:45px;line-height:20px;padding:0 5px;border-left:1px solid #e2e2e2;list-style-type:decimal-leading-zero;*list-style-type:decimal;background-color:#fff}.layui-code-view pre{margin:0}.layui-code-notepad{border:1px solid #0C0C0C;border-left-color:#3F3F3F;background-color:#0C0C0C;color:#C2BE9E}.layui-code-notepad .layui-code-h3{border-bottom:none}.layui-code-notepad .layui-code-ol li{background-color:#3F3F3F;border-left:none}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/css/modules/laydate/default/font.css b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/laydate/default/font.css
new file mode 100644
index 0000000..f429656
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/laydate/default/font.css
@@ -0,0 +1,16 @@
+/** 鍥炬爣瀛椾綋 **/
+@font-face {font-family: 'laydate-icon';
+ src: url('./font/iconfont.eot');
+ src: url('./font/iconfont.eot#iefix') format('embedded-opentype'),
+ url('./font/iconfont.svg#iconfont') format('svg'),
+ url('./font/iconfont.woff') format('woff'),
+ url('./font/iconfont.ttf') format('truetype');
+}
+
+.laydate-icon{
+ font-family:"laydate-icon" !important;
+ font-size: 16px;
+ font-style: normal;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/css/modules/laydate/default/laydate.css b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/laydate/default/laydate.css
new file mode 100644
index 0000000..554698b
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/laydate/default/laydate.css
@@ -0,0 +1,2 @@
+/** layui-v2.3.0 MIT License By https://www.layui.com */
+ .laydate-set-ym,.layui-laydate,.layui-laydate *,.layui-laydate-list{box-sizing:border-box}html #layuicss-laydate{display:none;position:absolute;width:1989px}.layui-laydate *{margin:0;padding:0}.layui-laydate{position:absolute;z-index:66666666;margin:5px 0;border-radius:2px;font-size:14px;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-name:laydate-upbit;animation-name:laydate-upbit}.layui-laydate-main{width:272px}.layui-laydate-content td,.layui-laydate-header *,.layui-laydate-list li{transition-duration:.3s;-webkit-transition-duration:.3s}@-webkit-keyframes laydate-upbit{from{-webkit-transform:translate3d(0,20px,0);opacity:.3}to{-webkit-transform:translate3d(0,0,0);opacity:1}}@keyframes laydate-upbit{from{transform:translate3d(0,20px,0);opacity:.3}to{transform:translate3d(0,0,0);opacity:1}}.layui-laydate-static{position:relative;z-index:0;display:inline-block;margin:0;-webkit-animation:none;animation:none}.laydate-ym-show .laydate-next-m,.laydate-ym-show .laydate-prev-m{display:none!important}.laydate-ym-show .laydate-next-y,.laydate-ym-show .laydate-prev-y{display:inline-block!important}.laydate-time-show .laydate-set-ym span[lay-type=month],.laydate-time-show .laydate-set-ym span[lay-type=year],.laydate-time-show .layui-laydate-header .layui-icon,.laydate-ym-show .laydate-set-ym span[lay-type=month]{display:none!important}.layui-laydate-header{position:relative;line-height:30px;padding:10px 70px 5px}.laydate-set-ym span,.layui-laydate-header i{padding:0 5px;cursor:pointer}.layui-laydate-header *{display:inline-block;vertical-align:bottom}.layui-laydate-header i{position:absolute;top:10px;color:#999;font-size:18px}.layui-laydate-header i.laydate-prev-y{left:15px}.layui-laydate-header i.laydate-prev-m{left:45px}.layui-laydate-header i.laydate-next-y{right:15px}.layui-laydate-header i.laydate-next-m{right:45px}.laydate-set-ym{width:100%;text-align:center;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.laydate-time-text{cursor:default!important}.layui-laydate-content{position:relative;padding:10px;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}.layui-laydate-content table{border-collapse:collapse;border-spacing:0}.layui-laydate-content td,.layui-laydate-content th{width:36px;height:30px;padding:5px;text-align:center}.layui-laydate-content td{position:relative;cursor:pointer}.laydate-day-mark{position:absolute;left:0;top:0;width:100%;height:100%;line-height:30px;font-size:12px;overflow:hidden}.laydate-day-mark::after{position:absolute;content:'';right:2px;top:2px;width:5px;height:5px;border-radius:50%}.layui-laydate-footer{position:relative;height:46px;line-height:26px;padding:10px 20px}.layui-laydate-footer span{margin-right:15px;display:inline-block;cursor:pointer;font-size:12px}.layui-laydate-footer span:hover{color:#5FB878}.laydate-footer-btns{position:absolute;right:10px;top:10px}.laydate-footer-btns span{height:26px;line-height:26px;margin:0 0 0 -1px;padding:0 10px;border:1px solid #C9C9C9;background-color:#fff;white-space:nowrap;vertical-align:top;border-radius:2px}.layui-laydate-list>li,.layui-laydate-range .layui-laydate-main{display:inline-block;vertical-align:middle}.layui-laydate-list{position:absolute;left:0;top:0;width:100%;height:100%;padding:10px;background-color:#fff}.layui-laydate-list>li{position:relative;width:33.3%;height:36px;line-height:36px;margin:3px 0;text-align:center;cursor:pointer}.laydate-month-list>li{width:25%;margin:17px 0}.laydate-time-list>li{height:100%;margin:0;line-height:normal;cursor:default}.laydate-time-list p{position:relative;top:-4px;line-height:29px}.laydate-time-list ol{height:181px;overflow:hidden}.laydate-time-list>li:hover ol{overflow-y:auto}.laydate-time-list ol li{width:130%;padding-left:33px;line-height:30px;text-align:left;cursor:pointer}.layui-laydate-hint{position:absolute;top:115px;left:50%;width:250px;margin-left:-125px;line-height:20px;padding:15px;text-align:center;font-size:12px}.layui-laydate-range{width:546px}.layui-laydate-range .laydate-main-list-0 .laydate-next-m,.layui-laydate-range .laydate-main-list-0 .laydate-next-y,.layui-laydate-range .laydate-main-list-1 .laydate-prev-m,.layui-laydate-range .laydate-main-list-1 .laydate-prev-y{display:none}.layui-laydate-range .laydate-main-list-1 .layui-laydate-content{border-left:1px solid #e2e2e2}.layui-laydate,.layui-laydate-hint{border:1px solid #d2d2d2;box-shadow:0 2px 4px rgba(0,0,0,.12);background-color:#fff;color:#666}.layui-laydate-header{border-bottom:1px solid #e2e2e2}.layui-laydate-header i:hover,.layui-laydate-header span:hover{color:#5FB878}.layui-laydate-content{border-top:none 0;border-bottom:none 0}.layui-laydate-content th{font-weight:400;color:#333}.layui-laydate-content td{color:#666}.layui-laydate-content td.laydate-selected{background-color:#00F7DE}.laydate-selected:hover{background-color:#00F7DE!important}.layui-laydate-content td:hover,.layui-laydate-list li:hover{background-color:#eaeaea;color:#333}.laydate-time-list li ol{margin:0;padding:0;border:1px solid #e2e2e2;border-left-width:0}.laydate-time-list li:first-child ol{border-left-width:1px}.laydate-time-list>li:hover{background:0 0}.layui-laydate-content .laydate-day-next,.layui-laydate-content .laydate-day-prev{color:#d2d2d2}.laydate-selected.laydate-day-next,.laydate-selected.laydate-day-prev{background-color:#f8f8f8!important}.layui-laydate-footer{border-top:1px solid #e2e2e2}.layui-laydate-hint{color:#FF5722}.laydate-day-mark::after{background-color:#5FB878}.layui-laydate-content td.layui-this .laydate-day-mark::after{display:none}.layui-laydate-footer span[lay-type=date]{color:#5FB878}.layui-laydate .layui-this{background-color:#009688!important;color:#fff!important}.layui-laydate .laydate-disabled,.layui-laydate .laydate-disabled:hover{background:0 0!important;color:#d2d2d2!important;cursor:not-allowed!important;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}.laydate-theme-molv{border:none}.laydate-theme-molv.layui-laydate-range{width:548px}.laydate-theme-molv .layui-laydate-main{width:274px}.laydate-theme-molv .layui-laydate-header{border:none;background-color:#009688}.laydate-theme-molv .layui-laydate-header i,.laydate-theme-molv .layui-laydate-header span{color:#f6f6f6}.laydate-theme-molv .layui-laydate-header i:hover,.laydate-theme-molv .layui-laydate-header span:hover{color:#fff}.laydate-theme-molv .layui-laydate-content{border:1px solid #e2e2e2;border-top:none;border-bottom:none}.laydate-theme-molv .laydate-main-list-1 .layui-laydate-content{border-left:none}.laydate-theme-grid .laydate-month-list>li,.laydate-theme-grid .laydate-year-list>li,.laydate-theme-grid .layui-laydate-content td,.laydate-theme-grid .layui-laydate-content thead,.laydate-theme-molv .layui-laydate-footer{border:1px solid #e2e2e2}.laydate-theme-grid .laydate-selected,.laydate-theme-grid .laydate-selected:hover{background-color:#f2f2f2!important;color:#009688!important}.laydate-theme-grid .laydate-selected.laydate-day-next,.laydate-theme-grid .laydate-selected.laydate-day-prev{color:#d2d2d2!important}.laydate-theme-grid .laydate-month-list,.laydate-theme-grid .laydate-year-list{margin:1px 0 0 1px}.laydate-theme-grid .laydate-month-list>li,.laydate-theme-grid .laydate-year-list>li{margin:0 -1px -1px 0}.laydate-theme-grid .laydate-year-list>li{height:43px;line-height:43px}.laydate-theme-grid .laydate-month-list>li{height:71px;line-height:71px}
\ No newline at end of file
diff --git a/src/main/webapp/static/layui/css/modules/layer/default/icon-ext.png b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layer/default/icon-ext.png
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/css/modules/layer/default/icon-ext.png
copy to src/main/webapp/static/wms/layuiadmin/layui/css/modules/layer/default/icon-ext.png
Binary files differ
diff --git a/src/main/webapp/static/layui/css/modules/layer/default/icon.png b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layer/default/icon.png
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/css/modules/layer/default/icon.png
copy to src/main/webapp/static/wms/layuiadmin/layui/css/modules/layer/default/icon.png
Binary files differ
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layer/default/layer.css b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layer/default/layer.css
new file mode 100644
index 0000000..2ed7de6
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layer/default/layer.css
@@ -0,0 +1,2 @@
+/** layui-v2.3.0 MIT License By https://www.layui.com */
+ .layui-layer-imgbar,.layui-layer-imgtit a,.layui-layer-tab .layui-layer-title span,.layui-layer-title{text-overflow:ellipsis;white-space:nowrap}html #layuicss-layer{display:none;position:absolute;width:1989px}.layui-layer,.layui-layer-shade{position:fixed;_position:absolute;pointer-events:auto}.layui-layer-shade{top:0;left:0;width:100%;height:100%;_height:expression(document.body.offsetHeight+"px")}.layui-layer{-webkit-overflow-scrolling:touch;top:150px;left:0;margin:0;padding:0;background-color:#fff;-webkit-background-clip:content;border-radius:2px;box-shadow:1px 1px 50px rgba(0,0,0,.3)}.layui-layer-close{position:absolute}.layui-layer-content{position:relative}.layui-layer-border{border:1px solid #B2B2B2;border:1px solid rgba(0,0,0,.1);box-shadow:1px 1px 5px rgba(0,0,0,.2)}.layui-layer-load{background:url(loading-1.gif) center center no-repeat #eee}.layui-layer-ico{background:url(icon.png) no-repeat}.layui-layer-btn a,.layui-layer-dialog .layui-layer-ico,.layui-layer-setwin a{display:inline-block;*display:inline;*zoom:1;vertical-align:top}.layui-layer-move{display:none;position:fixed;*position:absolute;left:0;top:0;width:100%;height:100%;cursor:move;opacity:0;filter:alpha(opacity=0);background-color:#fff;z-index:2147483647}.layui-layer-resize{position:absolute;width:15px;height:15px;right:0;bottom:0;cursor:se-resize}.layer-anim{-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.3s;animation-duration:.3s}@-webkit-keyframes layer-bounceIn{0%{opacity:0;-webkit-transform:scale(.5);transform:scale(.5)}100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes layer-bounceIn{0%{opacity:0;-webkit-transform:scale(.5);-ms-transform:scale(.5);transform:scale(.5)}100%{opacity:1;-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}}.layer-anim-00{-webkit-animation-name:layer-bounceIn;animation-name:layer-bounceIn}@-webkit-keyframes layer-zoomInDown{0%{opacity:0;-webkit-transform:scale(.1) translateY(-2000px);transform:scale(.1) translateY(-2000px);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}60%{opacity:1;-webkit-transform:scale(.475) translateY(60px);transform:scale(.475) translateY(60px);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}@keyframes layer-zoomInDown{0%{opacity:0;-webkit-transform:scale(.1) translateY(-2000px);-ms-transform:scale(.1) translateY(-2000px);transform:scale(.1) translateY(-2000px);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}60%{opacity:1;-webkit-transform:scale(.475) translateY(60px);-ms-transform:scale(.475) translateY(60px);transform:scale(.475) translateY(60px);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}.layer-anim-01{-webkit-animation-name:layer-zoomInDown;animation-name:layer-zoomInDown}@-webkit-keyframes layer-fadeInUpBig{0%{opacity:0;-webkit-transform:translateY(2000px);transform:translateY(2000px)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes layer-fadeInUpBig{0%{opacity:0;-webkit-transform:translateY(2000px);-ms-transform:translateY(2000px);transform:translateY(2000px)}100%{opacity:1;-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}}.layer-anim-02{-webkit-animation-name:layer-fadeInUpBig;animation-name:layer-fadeInUpBig}@-webkit-keyframes layer-zoomInLeft{0%{opacity:0;-webkit-transform:scale(.1) translateX(-2000px);transform:scale(.1) translateX(-2000px);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}60%{opacity:1;-webkit-transform:scale(.475) translateX(48px);transform:scale(.475) translateX(48px);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}@keyframes layer-zoomInLeft{0%{opacity:0;-webkit-transform:scale(.1) translateX(-2000px);-ms-transform:scale(.1) translateX(-2000px);transform:scale(.1) translateX(-2000px);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}60%{opacity:1;-webkit-transform:scale(.475) translateX(48px);-ms-transform:scale(.475) translateX(48px);transform:scale(.475) translateX(48px);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}.layer-anim-03{-webkit-animation-name:layer-zoomInLeft;animation-name:layer-zoomInLeft}@-webkit-keyframes layer-rollIn{0%{opacity:0;-webkit-transform:translateX(-100%) rotate(-120deg);transform:translateX(-100%) rotate(-120deg)}100%{opacity:1;-webkit-transform:translateX(0) rotate(0);transform:translateX(0) rotate(0)}}@keyframes layer-rollIn{0%{opacity:0;-webkit-transform:translateX(-100%) rotate(-120deg);-ms-transform:translateX(-100%) rotate(-120deg);transform:translateX(-100%) rotate(-120deg)}100%{opacity:1;-webkit-transform:translateX(0) rotate(0);-ms-transform:translateX(0) rotate(0);transform:translateX(0) rotate(0)}}.layer-anim-04{-webkit-animation-name:layer-rollIn;animation-name:layer-rollIn}@keyframes layer-fadeIn{0%{opacity:0}100%{opacity:1}}.layer-anim-05{-webkit-animation-name:layer-fadeIn;animation-name:layer-fadeIn}@-webkit-keyframes layer-shake{0%,100%{-webkit-transform:translateX(0);transform:translateX(0)}10%,30%,50%,70%,90%{-webkit-transform:translateX(-10px);transform:translateX(-10px)}20%,40%,60%,80%{-webkit-transform:translateX(10px);transform:translateX(10px)}}@keyframes layer-shake{0%,100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}10%,30%,50%,70%,90%{-webkit-transform:translateX(-10px);-ms-transform:translateX(-10px);transform:translateX(-10px)}20%,40%,60%,80%{-webkit-transform:translateX(10px);-ms-transform:translateX(10px);transform:translateX(10px)}}.layer-anim-06{-webkit-animation-name:layer-shake;animation-name:layer-shake}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}.layui-layer-title{padding:0 80px 0 20px;height:42px;line-height:42px;border-bottom:1px solid #eee;font-size:14px;color:#333;overflow:hidden;background-color:#F8F8F8;border-radius:2px 2px 0 0}.layui-layer-setwin{position:absolute;right:15px;*right:0;top:15px;font-size:0;line-height:initial}.layui-layer-setwin a{position:relative;width:16px;height:16px;margin-left:10px;font-size:12px;_overflow:hidden}.layui-layer-setwin .layui-layer-min cite{position:absolute;width:14px;height:2px;left:0;top:50%;margin-top:-1px;background-color:#2E2D3C;cursor:pointer;_overflow:hidden}.layui-layer-setwin .layui-layer-min:hover cite{background-color:#2D93CA}.layui-layer-setwin .layui-layer-max{background-position:-32px -40px}.layui-layer-setwin .layui-layer-max:hover{background-position:-16px -40px}.layui-layer-setwin .layui-layer-maxmin{background-position:-65px -40px}.layui-layer-setwin .layui-layer-maxmin:hover{background-position:-49px -40px}.layui-layer-setwin .layui-layer-close1{background-position:1px -40px;cursor:pointer}.layui-layer-setwin .layui-layer-close1:hover{opacity:.7}.layui-layer-setwin .layui-layer-close2{position:absolute;right:-28px;top:-28px;width:30px;height:30px;margin-left:0;background-position:-149px -31px;*right:-18px;_display:none}.layui-layer-setwin .layui-layer-close2:hover{background-position:-180px -31px}.layui-layer-btn{text-align:right;padding:0 15px 12px;pointer-events:auto;user-select:none;-webkit-user-select:none}.layui-layer-btn a{height:28px;line-height:28px;margin:5px 5px 0;padding:0 15px;border:1px solid #dedede;background-color:#fff;color:#333;border-radius:2px;font-weight:400;cursor:pointer;text-decoration:none}.layui-layer-btn a:hover{opacity:.9;text-decoration:none}.layui-layer-btn a:active{opacity:.8}.layui-layer-btn .layui-layer-btn0{border-color:#1E9FFF;background-color:#1E9FFF;color:#fff}.layui-layer-btn-l{text-align:left}.layui-layer-btn-c{text-align:center}.layui-layer-dialog{min-width:260px}.layui-layer-dialog .layui-layer-content{position:relative;padding:20px;line-height:24px;word-break:break-all;overflow:hidden;font-size:14px;overflow-x:hidden;overflow-y:auto}.layui-layer-dialog .layui-layer-content .layui-layer-ico{position:absolute;top:16px;left:15px;_left:-40px;width:30px;height:30px}.layui-layer-ico1{background-position:-30px 0}.layui-layer-ico2{background-position:-60px 0}.layui-layer-ico3{background-position:-90px 0}.layui-layer-ico4{background-position:-120px 0}.layui-layer-ico5{background-position:-150px 0}.layui-layer-ico6{background-position:-180px 0}.layui-layer-rim{border:6px solid #8D8D8D;border:6px solid rgba(0,0,0,.3);border-radius:5px;box-shadow:none}.layui-layer-msg{min-width:180px;border:1px solid #D3D4D3;box-shadow:none}.layui-layer-hui{min-width:100px;background-color:#000;filter:alpha(opacity=60);background-color:rgba(0,0,0,.6);color:#fff;border:none}.layui-layer-hui .layui-layer-content{padding:12px 25px;text-align:center}.layui-layer-dialog .layui-layer-padding{padding:20px 20px 20px 55px;text-align:left}.layui-layer-page .layui-layer-content{position:relative;overflow:auto}.layui-layer-iframe .layui-layer-btn,.layui-layer-page .layui-layer-btn{padding-top:10px}.layui-layer-nobg{background:0 0}.layui-layer-iframe iframe{display:block;width:100%}.layui-layer-loading{border-radius:100%;background:0 0;box-shadow:none;border:none}.layui-layer-loading .layui-layer-content{width:60px;height:24px;background:url(loading-0.gif) no-repeat}.layui-layer-loading .layui-layer-loading1{width:37px;height:37px;background:url(loading-1.gif) no-repeat}.layui-layer-ico16,.layui-layer-loading .layui-layer-loading2{width:32px;height:32px;background:url(loading-2.gif) no-repeat}.layui-layer-tips{background:0 0;box-shadow:none;border:none}.layui-layer-tips .layui-layer-content{position:relative;line-height:22px;min-width:12px;padding:8px 15px;font-size:12px;_float:left;border-radius:2px;box-shadow:1px 1px 3px rgba(0,0,0,.2);background-color:#000;color:#fff}.layui-layer-tips .layui-layer-close{right:-2px;top:-1px}.layui-layer-tips i.layui-layer-TipsG{position:absolute;width:0;height:0;border-width:8px;border-color:transparent;border-style:dashed;*overflow:hidden}.layui-layer-tips i.layui-layer-TipsB,.layui-layer-tips i.layui-layer-TipsT{left:5px;border-right-style:solid;border-right-color:#000}.layui-layer-tips i.layui-layer-TipsT{bottom:-8px}.layui-layer-tips i.layui-layer-TipsB{top:-8px}.layui-layer-tips i.layui-layer-TipsL,.layui-layer-tips i.layui-layer-TipsR{top:5px;border-bottom-style:solid;border-bottom-color:#000}.layui-layer-tips i.layui-layer-TipsR{left:-8px}.layui-layer-tips i.layui-layer-TipsL{right:-8px}.layui-layer-lan[type=dialog]{min-width:280px}.layui-layer-lan .layui-layer-title{background:#4476A7;color:#fff;border:none}.layui-layer-lan .layui-layer-btn{padding:5px 10px 10px;text-align:right;border-top:1px solid #E9E7E7}.layui-layer-lan .layui-layer-btn a{background:#fff;border-color:#E9E7E7;color:#333}.layui-layer-lan .layui-layer-btn .layui-layer-btn1{background:#C9C5C5}.layui-layer-molv .layui-layer-title{background:#009f95;color:#fff;border:none}.layui-layer-molv .layui-layer-btn a{background:#009f95;border-color:#009f95}.layui-layer-molv .layui-layer-btn .layui-layer-btn1{background:#92B8B1}.layui-layer-iconext{background:url(icon-ext.png) no-repeat}.layui-layer-prompt .layui-layer-input{display:block;width:230px;height:36px;margin:0 auto;line-height:30px;padding-left:10px;border:1px solid #e6e6e6;color:#333}.layui-layer-prompt textarea.layui-layer-input{width:300px;height:100px;line-height:20px;padding:6px 10px}.layui-layer-prompt .layui-layer-content{padding:20px}.layui-layer-prompt .layui-layer-btn{padding-top:0}.layui-layer-tab{box-shadow:1px 1px 50px rgba(0,0,0,.4)}.layui-layer-tab .layui-layer-title{padding-left:0;overflow:visible}.layui-layer-tab .layui-layer-title span{position:relative;float:left;min-width:80px;max-width:260px;padding:0 20px;text-align:center;overflow:hidden;cursor:pointer}.layui-layer-tab .layui-layer-title span.layui-this{height:43px;border-left:1px solid #eee;border-right:1px solid #eee;background-color:#fff;z-index:10}.layui-layer-tab .layui-layer-title span:first-child{border-left:none}.layui-layer-tabmain{line-height:24px;clear:both}.layui-layer-tabmain .layui-layer-tabli{display:none}.layui-layer-tabmain .layui-layer-tabli.layui-this{display:block}.layui-layer-photos{-webkit-animation-duration:.8s;animation-duration:.8s}.layui-layer-photos .layui-layer-content{overflow:hidden;text-align:center}.layui-layer-photos .layui-layer-phimg img{position:relative;width:100%;display:inline-block;*display:inline;*zoom:1;vertical-align:top}.layui-layer-imgbar,.layui-layer-imguide{display:none}.layui-layer-imgnext,.layui-layer-imgprev{position:absolute;top:50%;width:27px;_width:44px;height:44px;margin-top:-22px;outline:0;blr:expression(this.onFocus=this.blur())}.layui-layer-imgprev{left:10px;background-position:-5px -5px;_background-position:-70px -5px}.layui-layer-imgprev:hover{background-position:-33px -5px;_background-position:-120px -5px}.layui-layer-imgnext{right:10px;_right:8px;background-position:-5px -50px;_background-position:-70px -50px}.layui-layer-imgnext:hover{background-position:-33px -50px;_background-position:-120px -50px}.layui-layer-imgbar{position:absolute;left:0;bottom:0;width:100%;height:32px;line-height:32px;background-color:rgba(0,0,0,.8);background-color:#000\9;filter:Alpha(opacity=80);color:#fff;overflow:hidden;font-size:0}.layui-layer-imgtit *{display:inline-block;*display:inline;*zoom:1;vertical-align:top;font-size:12px}.layui-layer-imgtit a{max-width:65%;overflow:hidden;color:#fff}.layui-layer-imgtit a:hover{color:#fff;text-decoration:underline}.layui-layer-imgtit em{padding-left:10px;font-style:normal}@-webkit-keyframes layer-bounceOut{100%{opacity:0;-webkit-transform:scale(.7);transform:scale(.7)}30%{-webkit-transform:scale(1.05);transform:scale(1.05)}0%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes layer-bounceOut{100%{opacity:0;-webkit-transform:scale(.7);-ms-transform:scale(.7);transform:scale(.7)}30%{-webkit-transform:scale(1.05);-ms-transform:scale(1.05);transform:scale(1.05)}0%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}}.layer-anim-close{-webkit-animation-name:layer-bounceOut;animation-name:layer-bounceOut;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.2s;animation-duration:.2s}@media screen and (max-width:1100px){.layui-layer-iframe{overflow-y:auto;-webkit-overflow-scrolling:touch}}
\ No newline at end of file
diff --git a/src/main/webapp/static/layui/css/modules/layer/default/loading-0.gif b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layer/default/loading-0.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/css/modules/layer/default/loading-0.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/css/modules/layer/default/loading-0.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/css/modules/layer/default/loading-1.gif b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layer/default/loading-1.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/css/modules/layer/default/loading-1.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/css/modules/layer/default/loading-1.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/css/modules/layer/default/loading-2.gif b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layer/default/loading-2.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/css/modules/layer/default/loading-2.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/css/modules/layer/default/loading-2.gif
Binary files differ
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/html/chatlog.html b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/html/chatlog.html
new file mode 100644
index 0000000..9cbc571
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/html/chatlog.html
@@ -0,0 +1,96 @@
+
+
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
+<title>鑱婂ぉ璁板綍</title>
+
+<link rel="stylesheet" href="http://local.res.layui.com/layui/src/css/layui.css">
+<style>
+body .layim-chat-main{height: auto;}
+</style>
+</head>
+<body>
+
+<div class="layim-chat-main">
+ <ul id="LAY_view"></ul>
+</div>
+
+<div id="LAY_page" style="margin: 0 10px;"></div>
+
+
+<textarea title="娑堟伅妯$増" id="LAY_tpl" style="display:none;">
+{{# layui.each(d.data, function(index, item){
+ if(item.id == parent.layui.layim.cache().mine.id){ }}
+ <li class="layim-chat-mine"><div class="layim-chat-user"><img src="{{ item.avatar }}"><cite><i>{{ layui.data.date(item.timestamp) }}</i>{{ item.username }}</cite></div><div class="layim-chat-text">{{ layui.layim.content(item.content) }}</div></li>
+ {{# } else { }}
+ <li><div class="layim-chat-user"><img src="{{ item.avatar }}"><cite>{{ item.username }}<i>{{ layui.data.date(item.timestamp) }}</i></cite></div><div class="layim-chat-text">{{ layui.layim.content(item.content) }}</div></li>
+ {{# }
+}); }}
+</textarea>
+
+<!--
+涓婅堪妯$増閲囩敤浜� laytpl 璇硶锛屼笉浜嗚В鐨勫悓瀛﹀彲浠ュ幓鐪嬩笅鏂囨。锛歨ttp://www.layui.com/doc/modules/laytpl.html
+
+-->
+
+
+<script src="http://local.res.layui.com/layui/src/layui.js"></script>
+<script>
+layui.use(['layim', 'laypage'], function(){
+ var layim = layui.layim
+ ,layer = layui.layer
+ ,laytpl = layui.laytpl
+ ,$ = layui.jquery
+ ,laypage = layui.laypage;
+
+ //鑱婂ぉ璁板綍鐨勫垎椤垫澶勪笉鍋氭紨绀猴紝浣犲彲浠ラ噰鐢╨aypage锛屼笉浜嗚В鐨勫悓瀛﹁鏂囨。锛歨ttp://www.layui.com/doc/modules/laypage.html
+
+
+ //寮�濮嬭姹傝亰澶╄褰�
+ var param = location.search //鑾峰緱URL鍙傛暟銆傝绐楀彛url浼氭惡甯︿細璇漣d鍜宼ype锛屼粬浠槸浣犺姹傝亰澶╄褰曠殑閲嶈鍑嵁
+
+ //瀹為檯浣跨敤鏃讹紝涓嬭堪鐨剅es涓�鑸槸閫氳繃Ajax鑾峰緱锛岃�屾澶勪粎浠呭彧鏄紨绀烘暟鎹牸寮�
+ ,res = {
+ code: 0
+ ,msg: ''
+ ,data: [{
+ username: '绾搁鏈�'
+ ,id: 100000
+ ,avatar: 'http://tva3.sinaimg.cn/crop.0.0.512.512.180/8693225ajw8f2rt20ptykj20e80e8weu.jpg'
+ ,timestamp: 1480897882000
+ ,content: 'face[鎶辨姳] face[蹇僝 浣犲ソ鍟婂皬缇庡コ'
+ }, {
+ username: 'Z_瀛愭櫞'
+ ,id: 108101
+ ,avatar: 'http://tva3.sinaimg.cn/crop.0.0.512.512.180/8693225ajw8f2rt20ptykj20e80e8weu.jpg'
+ ,timestamp: 1480897892000
+ ,content: '浣犳病鍙戦敊鍚э紵face[寰瑧]'
+ },{
+ username: 'Z_瀛愭櫞'
+ ,id: 108101
+ ,avatar: 'http://tva3.sinaimg.cn/crop.0.0.512.512.180/8693225ajw8f2rt20ptykj20e80e8weu.jpg'
+ ,timestamp: 1480897898000
+ ,content: '浣犳槸璋佸憖浜层�傘�傛垜鐖辩殑鏄搐蹇冿紒鎴戠埍鐨勬槸璐ゅ績锛佹垜鐖辩殑鏄搐蹇冿紒閲嶈鐨勪簨鎯呰璇翠笁閬崀'
+ },{
+ username: 'Z_瀛愭櫞'
+ ,id: 108101
+ ,avatar: 'http://tva3.sinaimg.cn/crop.0.0.512.512.180/8693225ajw8f2rt20ptykj20e80e8weu.jpg'
+ ,timestamp: 1480897908000
+ ,content: '娉ㄦ剰锛氳繖浜涢兘鏄ā鎷熸暟鎹紝瀹為檯浣跨敤鏃讹紝闇�灏嗗叾涓殑妯℃嫙鎺ュ彛鏀逛负浣犵殑椤圭洰鐪熷疄鎺ュ彛銆俓n璇ユā鐗堟枃浠舵墍鍦ㄧ洰褰曪紙鐩稿浜巐ayui.js锛夛細\n/css/modules/layim/html/chatlog.html'
+ }]
+ }
+
+ //console.log(param)
+
+ var html = laytpl(LAY_tpl.value).render({
+ data: res.data
+ });
+ $('#LAY_view').html(html);
+
+});
+</script>
+</body>
+</html>
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/html/find.html b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/html/find.html
new file mode 100644
index 0000000..ff5cab1
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/html/find.html
@@ -0,0 +1,38 @@
+
+
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
+<title>鍙戠幇</title>
+
+<link rel="stylesheet" href="http://local.res.layui.com/layui/src/css/layui.css">
+<style>
+
+</style>
+</head>
+<body>
+
+<div style="margin: 15px;">
+ <blockquote class="layui-elem-quote">姝や负鑷畾涔夌殑銆愭煡鎵俱�戦〉闈紝鍥犻渶姹備笉涓�锛屾墍浠ュ畼鏂规殏涓嶆彁渚涜妯$増缁撴瀯涓庢牱寮忥紝瀹為檯浣跨敤鏃讹紝鍙Щ鑷宠鏂囦欢鍒颁綘鐨勯」鐩腑锛屽椤甸潰鑷鎶婃帶銆�
+ <br>鏂囦欢鎵�鍦ㄧ洰褰曪紙鐩稿浜巐ayui.js锛夛細/css/modules/layim/html/find.html</blockquote>
+</div>
+
+
+
+<script src="http://local.res.layui.com/layui/src/layui.js"></script>
+<script>
+layui.use(['layim', 'laypage'], function(){
+ var layim = layui.layim
+ ,layer = layui.layer
+ ,laytpl = layui.laytpl
+ ,$ = layui.jquery
+ ,laypage = layui.laypage;
+
+ //涓�浜涙坊鍔犲ソ鍙嬭姹備箣绫荤殑浜や簰鍙傝鏂囨。
+
+});
+</script>
+</body>
+</html>
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/html/getmsg.json b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/html/getmsg.json
new file mode 100644
index 0000000..3d9b9d4
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/html/getmsg.json
@@ -0,0 +1,87 @@
+{
+ "code": 0,
+ "pages": 1,
+ "data": [
+ {
+ "id": 76,
+ "content": "鐢宠娣诲姞浣犱负濂藉弸",
+ "uid": 168,
+ "from": 166488,
+ "from_group": 0,
+ "type": 1,
+ "remark": "鏈夐棶棰樿闂�",
+ "href": null,
+ "read": 1,
+ "time": "鍒氬垰",
+ "user": {
+ "id": 166488,
+ "avatar": "http://q.qlogo.cn/qqapp/101235792/B704597964F9BD0DB648292D1B09F7E8/100",
+ "username": "鏉庡溅瀹�",
+ "sign": null
+ }
+ },
+ {
+ "id": 75,
+ "content": "鐢宠娣诲姞浣犱负濂藉弸",
+ "uid": 168,
+ "from": 347592,
+ "from_group": 0,
+ "type": 1,
+ "remark": "浣犲ソ鍟婏紒",
+ "href": null,
+ "read": 1,
+ "time": "鍒氬垰",
+ "user": {
+ "id": 347592,
+ "avatar": "http://q.qlogo.cn/qqapp/101235792/B78751375E0531675B1272AD994BA875/100",
+ "username": "楹昏姳鐤�",
+ "sign": null
+ }
+ },
+ {
+ "id": 62,
+ "content": "闆峰啗 鎷掔粷浜嗕綘鐨勫ソ鍙嬬敵璇�",
+ "uid": 168,
+ "from": null,
+ "from_group": null,
+ "type": 1,
+ "remark": null,
+ "href": null,
+ "read": 1,
+ "time": "10澶╁墠",
+ "user": {
+ "id": null
+ }
+ },
+ {
+ "id": 60,
+ "content": "椹皬浜� 宸茬粡鍚屾剰浣犵殑濂藉弸鐢宠",
+ "uid": 168,
+ "from": null,
+ "from_group": null,
+ "type": 1,
+ "remark": null,
+ "href": null,
+ "read": 1,
+ "time": "10澶╁墠",
+ "user": {
+ "id": null
+ }
+ },
+ {
+ "id": 61,
+ "content": "璐ゅ績 宸茬粡鍚屾剰浣犵殑濂藉弸鐢宠",
+ "uid": 168,
+ "from": null,
+ "from_group": null,
+ "type": 1,
+ "remark": null,
+ "href": null,
+ "read": 1,
+ "time": "10澶╁墠",
+ "user": {
+ "id": null
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/html/msgbox.html b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/html/msgbox.html
new file mode 100644
index 0000000..0adf002
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/html/msgbox.html
@@ -0,0 +1,208 @@
+
+
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
+<title>娑堟伅鐩掑瓙</title>
+
+<link rel="stylesheet" href="../../../layui.css?v=1">
+<style>
+.layim-msgbox{margin: 15px;}
+.layim-msgbox li{position: relative; margin-bottom: 10px; padding: 0 130px 10px 60px; padding-bottom: 10px; line-height: 22px; border-bottom: 1px dotted #e2e2e2;}
+.layim-msgbox .layim-msgbox-tips{margin: 0; padding: 10px 0; border: none; text-align: center; color: #999;}
+.layim-msgbox .layim-msgbox-system{padding: 0 10px 10px 10px;}
+.layim-msgbox li p span{padding-left: 5px; color: #999;}
+.layim-msgbox li p em{font-style: normal; color: #FF5722;}
+
+.layim-msgbox-avatar{position: absolute; left: 0; top: 0; width: 50px; height: 50px;}
+.layim-msgbox-user{padding-top: 5px;}
+.layim-msgbox-content{margin-top: 3px;}
+.layim-msgbox .layui-btn-small{padding: 0 15px; margin-left: 5px;}
+.layim-msgbox-btn{position: absolute; right: 0; top: 12px; color: #999;}
+</style>
+</head>
+<body>
+
+<ul class="layim-msgbox" id="LAY_view"></ul>
+
+<div style="margin: 0 15px;">
+ <blockquote class="layui-elem-quote">娉ㄦ剰锛氳繖浜涢兘鏄ā鎷熸暟鎹紝瀹為檯浣跨敤鏃讹紝闇�灏嗗叾涓殑妯℃嫙鎺ュ彛鏀逛负浣犵殑椤圭洰鐪熷疄鎺ュ彛銆�
+ <br>璇ユā鐗堟枃浠舵墍鍦ㄧ洰褰曪紙鐩稿浜巐ayui.js锛夛細/css/modules/layim/html/msgbox.html</blockquote>
+</div>
+
+<textarea title="娑堟伅妯$増" id="LAY_tpl" style="display:none;">
+{{# layui.each(d.data, function(index, item){
+ if(item.from){ }}
+ <li data-uid="{{ item.from }}" data-fromGroup="{{ item.from_group }}">
+ <a href="/u/{{ item.from }}/" target="_blank">
+ <img src="{{ item.user.avatar }}" class="layui-circle layim-msgbox-avatar">
+ </a>
+ <p class="layim-msgbox-user">
+ <a href="/u/{{ item.from }}/" target="_blank">{{ item.user.username||'' }}</a>
+ <span>{{ item.time }}</span>
+ </p>
+ <p class="layim-msgbox-content">
+ {{ item.content }}
+ <span>{{ item.remark ? '闄勮█: '+item.remark : '' }}</span>
+ </p>
+ <p class="layim-msgbox-btn">
+ <button class="layui-btn layui-btn-small" data-type="agree">鍚屾剰</button>
+ <button class="layui-btn layui-btn-small layui-btn-primary" data-type="refuse">鎷掔粷</button>
+ </p>
+ </li>
+ {{# } else { }}
+ <li class="layim-msgbox-system">
+ <p><em>绯荤粺锛�</em>{{ item.content }}<span>{{ item.time }}</span></p>
+ </li>
+ {{# }
+}); }}
+</textarea>
+
+<!--
+涓婅堪妯$増閲囩敤浜� laytpl 璇硶锛屼笉浜嗚В鐨勫悓瀛﹀彲浠ュ幓鐪嬩笅鏂囨。锛歨ttp://www.layui.com/doc/modules/laytpl.html
+-->
+
+
+<script src="../../../../layui.js?v=1"></script>
+<script>
+layui.use(['layim', 'flow'], function(){
+ var layim = layui.layim
+ ,layer = layui.layer
+ ,laytpl = layui.laytpl
+ ,$ = layui.jquery
+ ,flow = layui.flow;
+
+ var cache = {}; //鐢ㄤ簬涓存椂璁板綍璇锋眰鍒扮殑鏁版嵁
+
+ //璇锋眰娑堟伅
+ var renderMsg = function(page, callback){
+
+ //瀹為檯閮ㄧ讲鏃讹紝璇峰皢涓嬭堪 getmsg.json 鏀逛负浣犵殑鎺ュ彛鍦板潃
+
+ $.get('getmsg.json', {
+ page: page || 1
+ }, function(res){
+ if(res.code != 0){
+ return layer.msg(res.msg);
+ }
+
+ //璁板綍鏉ユ簮鐢ㄦ埛淇℃伅
+ layui.each(res.data, function(index, item){
+ cache[item.from] = item.user;
+ });
+
+ callback && callback(res.data, res.pages);
+ });
+ };
+
+ //娑堟伅淇℃伅娴�
+ flow.load({
+ elem: '#LAY_view' //娴佸姞杞藉鍣�
+ ,isAuto: false
+ ,end: '<li class="layim-msgbox-tips">鏆傛棤鏇村鏂版秷鎭�</li>'
+ ,done: function(page, next){ //鍔犺浇涓嬩竴椤�
+ renderMsg(page, function(data, pages){
+ var html = laytpl(LAY_tpl.value).render({
+ data: data
+ ,page: page
+ });
+ next(html, page < pages);
+ });
+ }
+ });
+
+ //鎵撳紑椤甸潰鍗虫妸娑堟伅鏍囪涓哄凡璇�
+ /*
+ $.post('/message/read', {
+ type: 1
+ });
+ */
+
+ //鎿嶄綔
+ var active = {
+ //鍚屾剰
+ agree: function(othis){
+ var li = othis.parents('li')
+ ,uid = li.data('uid')
+ ,from_group = li.data('fromGroup')
+ ,user = cache[uid];
+
+ //閫夋嫨鍒嗙粍
+ parent.layui.layim.setFriendGroup({
+ type: 'friend'
+ ,username: user.username
+ ,avatar: user.avatar
+ ,group: parent.layui.layim.cache().friend //鑾峰彇濂藉弸鍒嗙粍鏁版嵁
+ ,submit: function(group, index){
+
+ //灏嗗ソ鍙嬭拷鍔犲埌涓婚潰鏉�
+ parent.layui.layim.addList({
+ type: 'friend'
+ ,avatar: user.avatar //濂藉弸澶村儚
+ ,username: user.username //濂藉弸鏄电О
+ ,groupid: group //鎵�鍦ㄧ殑鍒嗙粍id
+ ,id: uid //濂藉弸ID
+ ,sign: user.sign //濂藉弸绛惧悕
+ });
+ parent.layer.close(index);
+ othis.parent().html('宸插悓鎰�');
+
+
+ //瀹為檯閮ㄧ讲鏃讹紝璇峰紑鍚笅杩版敞閲婏紝骞舵敼鎴愪綘鐨勬帴鍙e湴鍧�
+ /*
+ $.post('/im/agreeFriend', {
+ uid: uid //瀵规柟鐢ㄦ埛ID
+ ,from_group: from_group //瀵规柟璁惧畾鐨勫ソ鍙嬪垎缁�
+ ,group: group //鎴戣瀹氱殑濂藉弸鍒嗙粍
+ }, function(res){
+ if(res.code != 0){
+ return layer.msg(res.msg);
+ }
+
+ //灏嗗ソ鍙嬭拷鍔犲埌涓婚潰鏉�
+ parent.layui.layim.addList({
+ type: 'friend'
+ ,avatar: user.avatar //濂藉弸澶村儚
+ ,username: user.username //濂藉弸鏄电О
+ ,groupid: group //鎵�鍦ㄧ殑鍒嗙粍id
+ ,id: uid //濂藉弸ID
+ ,sign: user.sign //濂藉弸绛惧悕
+ });
+ parent.layer.close(index);
+ othis.parent().html('宸插悓鎰�');
+ });
+ */
+
+ }
+ });
+ }
+
+ //鎷掔粷
+ ,refuse: function(othis){
+ var li = othis.parents('li')
+ ,uid = li.data('uid');
+
+ layer.confirm('纭畾鎷掔粷鍚楋紵', function(index){
+ $.post('/im/refuseFriend', {
+ uid: uid //瀵规柟鐢ㄦ埛ID
+ }, function(res){
+ if(res.code != 0){
+ return layer.msg(res.msg);
+ }
+ layer.close(index);
+ othis.parent().html('<em>宸叉嫆缁�</em>');
+ });
+ });
+ }
+ };
+
+ $('body').on('click', '.layui-btn', function(){
+ var othis = $(this), type = othis.data('type');
+ active[type] ? active[type].call(this, othis) : '';
+ });
+});
+</script>
+</body>
+</html>
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/layim.css b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/layim.css
new file mode 100644
index 0000000..e9872f1
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/layim.css
@@ -0,0 +1,2 @@
+/** layui-v2.3.0 MIT License By https://www.layui.com */
+ html #layuicss-skinlayimcss{display:none;position:absolute;width:1989px}body .layui-layim,body .layui-layim-chat{border:1px solid #D9D9D9;border-color:rgba(0,0,0,.05);background-repeat:no-repeat;background-color:#F6F6F6;color:#333;font-family:\5FAE\8F6F\96C5\9ED1}body .layui-layim-chat{background-size:cover}body .layui-layim .layui-layer-title{height:110px;border-bottom:none;background:0 0}.layui-layim-main{position:relative;top:-98px;left:0}body .layui-layim .layui-layer-content,body .layui-layim-chat .layui-layer-content{overflow:visible}.layui-layim cite,.layui-layim em,.layui-layim-chat cite,.layui-layim-chat em{font-style:normal}.layui-layim-info{height:50px;font-size:0;padding:0 15px}.layui-layim-info *{font-size:14px}.layim-tab-content li h5 *,.layui-layim-info div,.layui-layim-skin li,.layui-layim-tab li,.layui-layim-tool li{display:inline-block;vertical-align:top;*zoom:1;*display:inline}.layim-tab-content li h5 span,.layui-layim-info .layui-layim-user,.layui-layim-list li p,.layui-layim-list li span,.layui-layim-remark{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.layui-layim-info .layui-layim-user{max-width:150px;margin-right:5px;font-size:16px}.layui-layim-status{position:relative;top:2px;line-height:19px;cursor:pointer}.layim-status-online{color:#3FDD86}.layim-status-hide{color:#DD691D}.layim-menu-box{display:none;position:absolute;z-index:100;top:24px;left:-31px;padding:5px 0;width:85px;border:1px solid #E2E2E2;border-radius:2px;background-color:#fff;box-shadow:1px 1px 20px rgba(0,0,0,.1)}.layim-menu-box li{position:relative;line-height:22px;padding-left:30px;font-size:12px}.layim-menu-box li cite{padding-right:5px;font-size:14px}.layim-menu-box li i{display:none;position:absolute;left:8px;top:0;font-weight:700;color:#5FB878}.layim-menu-box .layim-this i{display:block}.layim-menu-box li:hover{background-color:#eee}.layui-layim-remark{position:relative;left:-6px;display:block;width:100%;border:1px solid transparent;margin-top:8px;padding:0 5px;height:26px;line-height:26px;background:0 0;border-radius:2px}.layui-layim-remark:focus,.layui-layim-remark:hover{border:1px solid #d2d2d2;border-color:rgba(0,0,0,.15)}.layui-layim-remark:focus{background-color:#fff}.layui-layim-tab{margin-top:10px;padding:9px 0;font-size:0}.layui-layim-tab li{position:relative;width:33.33%;height:24px;line-height:24px;font-size:22px;text-align:center;color:#666;color:rgba(0,0,0,.6);cursor:pointer}.layim-tab-two li{width:50%}.layui-layim-tab li.layim-this:after{content:'';position:absolute;left:0;bottom:-9px;width:100%;height:3px;background-color:#3FDD86}.layui-layim-tab li.layim-hide{display:none}.layui-layim-tab li:hover{opacity:.8;filter:Alpha(opacity=80)}.layim-tab-content{display:none;padding:10px 0;height:349px;overflow:hidden;background-color:#fff;background-color:rgba(255,255,255,.9)}.layim-tab-content:hover{overflow-y:auto}.layim-tab-content li h5{position:relative;margin-right:15px;padding-left:30px;height:28px;line-height:28px;cursor:pointer;font-size:0;white-space:nowrap;overflow:hidden}.layim-tab-content li h5 *{font-size:14px}.layim-tab-content li h5 span{max-width:125px}.layim-tab-content li h5 i{position:absolute;left:12px;top:0;color:#C9BDBB}.layim-tab-content li h5 em{padding-left:5px;color:#999}.layim-tab-content li h5[lay-type=true] i{top:2px}.layim-tab-content li ul{display:none;margin-bottom:10px}.layui-layim-list li{position:relative;height:42px;padding:5px 15px 5px 60px;font-size:0;cursor:pointer}.layui-layim-list li:hover{background-color:#F2F2F2;background-color:rgba(0,0,0,.05)}.layui-layim-list li.layim-null{height:20px;line-height:20px;padding:0;font-size:14px;color:#999;text-align:center;cursor:default}.layui-layim-list li.layim-null:hover{background:0 0}.layui-layim-list li *{display:inline-block;*display:inline;*zoom:1;vertical-align:top;font-size:14px}.layui-layim-list li span{margin-top:4px;max-width:155px}.layui-layim-list li img{position:absolute;left:15px;top:8px;width:36px;height:36px;border-radius:100%}.layui-layim-list li p{display:block;padding-right:30px;line-height:18px;font-size:12px;color:#999}.layui-layim-list li .layim-msg-status{display:none;position:absolute;right:10px;bottom:7px;padding:0 5px;height:16px;line-height:16px;border-radius:16px;text-align:center;font-size:10px;background-color:#F74C31;color:#fff}.layim-list-gray{-webkit-filter:grayscale(100%);-ms-filter:grayscale(100%);filter:grayscale(100%);filter:gray}.layui-layim-tool{padding:0 10px;font-size:0;background-color:#F6F6F6;border-radius:0 0 2px 2px}.layui-layim-tool li{position:relative;width:48px;height:37px;line-height:40px;text-align:center;font-size:22px;cursor:pointer}.layui-layim-tool li:active{background-color:#e2e2e2}.layui-layim-tool .layim-tool-msgbox{line-height:37px}.layui-layim-tool .layim-tool-find{line-height:38px}.layui-layim-tool .layim-tool-skin{font-size:26px}.layim-tool-msgbox span{display:none;position:absolute;left:12px;top:-12px;height:20px;line-height:20px;padding:0 10px;border-radius:2px;background-color:#33DF83;color:#fff;font-size:12px;-webkit-animation-duration:1s;animation-duration:1s}.layim-tool-msgbox .layer-anim-05{display:block}.layui-layim-search{display:none;position:absolute;bottom:5px;left:5px;height:28px;line-height:28px}.layui-layim-search input{width:210px;padding:0 30px 0 10px;height:30px;line-height:30px;border:none;border-radius:3px;background-color:#ddd}.layui-layim-search label{position:absolute;right:6px;top:4px;font-size:20px;cursor:pointer;color:#333;font-weight:400}.layui-layim-skin{margin:10px 0 0 10px;font-size:0}.layui-layim-skin li{margin:0 10px 10px 0;line-height:60px;text-align:center;background-color:#f6f6f6}.layui-layim-skin li,.layui-layim-skin li img{width:86px;height:60px;cursor:pointer}.layui-layim-skin li img:hover{opacity:.8;filter:Alpha(opacity=80)}.layui-layim-skin li cite{font-size:14px;font-style:normal}body .layui-layim-chat{background-color:#fff}body .layui-layim-chat-list{width:760px}body .layui-layim-chat .layui-layer-title{height:80px;border-bottom:none;background-color:#F8F8F8;background-color:rgba(245,245,245,.7)}body .layui-layim-chat .layui-layer-content{background:0 0}.layim-chat-list li *,.layui-layim-min .layui-layer-content *{display:inline-block;*display:inline;*zoom:1;vertical-align:top;font-size:14px}.layim-chat-list{display:none;position:absolute;z-index:1000;top:-80px;width:200px;height:100%;background-color:#D9D9D9;overflow:hidden;font-size:0}.layim-chat-list:hover{overflow-y:auto}.layim-chat-list li,.layui-layim-min .layui-layer-content{position:relative;margin:5px;padding:5px 30px 5px 5px;line-height:40px;cursor:pointer;border-radius:3px}.layim-chat-list li img,.layui-layim-min .layui-layer-content img{width:40px;height:40px;border-radius:100%}.layui-layim-photos{cursor:crosshair}.layim-chat-list li{white-space:nowrap}.layim-chat-list li span,.layui-layim-min .layui-layer-content span{width:100px;padding-left:10px;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.layim-chat-list li span cite{color:#999;padding-left:10px}.layim-chat-list li:hover{background-color:#E2E2E2}.layim-chat-list li.layim-this{background-color:#F3F3F3}.layim-chat-list li .layui-icon{display:none;position:absolute;right:5px;top:7px;color:#555;font-size:22px}.layim-chat-list li .layui-icon:hover{color:#c00}.layim-chat-list li:hover .layui-icon{display:inline-block}.layim-chat-system{margin:10px 0;text-align:center}.layim-chat-system span{display:inline-block;line-height:30px;padding:0 15px;border-radius:3px;background-color:#e2e2e2;cursor:default;font-size:14px}.layim-chat{display:none;position:relative;background-color:#fff;background-color:rgba(255,255,255,.9)}.layim-chat-title{position:absolute;top:-80px;height:80px}.layim-chat-other{position:relative;top:15px;left:15px;padding-left:60px;cursor:default}.layim-chat-other img{position:absolute;left:0;top:0;width:50px;height:50px;border-radius:100%}.layim-chat-username{position:relative;top:5px;font-size:18px}.layim-chat-status{margin-top:6px;font-size:14px;color:#999}.layim-chat-group .layim-chat-other .layim-chat-username{cursor:pointer}.layim-chat-group .layim-chat-other .layim-chat-username em{padding:0 10px;color:#999}.layim-chat-main{height:262px;padding:15px 15px 5px;overflow-x:hidden;overflow-y:auto}.layim-chat-main ul li{position:relative;font-size:0;margin-bottom:10px;padding-left:60px;min-height:68px}.layim-chat-text,.layim-chat-user{display:inline-block;*display:inline;*zoom:1;vertical-align:top;font-size:14px}.layim-chat-user{position:absolute;left:3px}.layim-chat-user img{width:40px;height:40px;border-radius:100%}.layim-chat-user cite{position:absolute;left:60px;top:-2px;width:500px;line-height:24px;font-size:12px;white-space:nowrap;color:#999;text-align:left;font-style:normal}.layim-chat-user cite i{padding-left:15px;font-style:normal}.layim-chat-text{position:relative;line-height:22px;margin-top:25px;padding:8px 15px;background-color:#e2e2e2;border-radius:3px;color:#333;word-break:break-all;max-width:462px\9}.layim-chat-text:after{content:'';position:absolute;left:-10px;top:13px;width:0;height:0;border-style:solid dashed dashed;border-color:#e2e2e2 transparent transparent;overflow:hidden;border-width:10px}.layim-chat-text a{color:#33DF83}.layim-chat-text img{max-width:100%;vertical-align:middle}.layim-chat-text .layui-layim-file,.layui-layim-file{display:block;text-align:center}.layim-chat-text .layui-layim-file{color:#333}.layui-layim-file:hover{opacity:.9}.layui-layim-file i{font-size:80px;line-height:80px}.layui-layim-file cite{display:block;line-height:20px;font-size:14px}.layui-layim-audio{text-align:center;cursor:pointer}.layui-layim-audio .layui-icon{position:relative;top:5px;font-size:24px}.layui-layim-audio p{margin-top:3px}.layui-layim-video{width:120px;height:80px;line-height:80px;background-color:#333;text-align:center;border-radius:3px}.layui-layim-video .layui-icon{font-size:36px;cursor:pointer;color:#fff}.layim-chat-main ul .layim-chat-system{min-height:0;padding:0}.layim-chat-main ul .layim-chat-mine{text-align:right;padding-left:0;padding-right:60px}.layim-chat-mine .layim-chat-user{left:auto;right:3px}.layim-chat-mine .layim-chat-user cite{left:auto;right:60px;text-align:right}.layim-chat-mine .layim-chat-user cite i{padding-left:0;padding-right:15px}.layim-chat-mine .layim-chat-text{margin-left:0;text-align:left;background-color:#5FB878;color:#fff}.layim-chat-mine .layim-chat-text:after{left:auto;right:-10px;border-top-color:#5FB878}.layim-chat-mine .layim-chat-text a{color:#fff}.layim-chat-footer{border-top:1px solid #F1F1F1}.layim-chat-tool{position:relative;padding:0 8px;height:38px;line-height:38px;font-size:0}.layim-chat-tool span{position:relative;margin:0 10px;display:inline-block;*display:inline;*zoom:1;vertical-align:top;font-size:24px;cursor:pointer}.layim-chat-tool .layim-tool-log{position:absolute;right:5px;font-size:14px}.layim-tool-log i{position:relative;top:2px;margin-right:5px;font-size:20px;color:#999}.layim-tool-image input{position:absolute;font-size:0;left:0;top:0;width:100%;height:100%;opacity:.01;filter:Alpha(opacity=1);cursor:pointer}body .layui-layim-face{margin:10px 0 0 -18px;border:none;background:0 0}body .layui-layim-face .layui-layer-content{padding:0;background-color:#fff;color:#666;box-shadow:none}.layui-layim-face .layui-layer-TipsG{display:none}.layui-layim-face ul{position:relative;width:372px;padding:10px;border:1px solid #D9D9D9;background-color:#fff;box-shadow:0 0 20px rgba(0,0,0,.2)}.layui-layim-face ul li{cursor:pointer;float:left;border:1px solid #e8e8e8;height:22px;width:26px;overflow:hidden;margin:-1px 0 0 -1px;padding:4px 2px;text-align:center}.layui-layim-face ul li:hover{position:relative;z-index:2;border:1px solid #eb7350;background:#fff9ec}.layim-chat-textarea{margin-left:10px}.layim-chat-textarea textarea{display:block;width:100%;padding:5px 0 0;height:68px;line-height:20px;border:none;overflow:auto;resize:none;background:0 0}.layim-chat-textarea textarea:focus{outline:0}.layim-chat-bottom{position:relative;height:46px}.layim-chat-send{position:absolute;right:15px;top:3px;height:32px;line-height:32px;font-size:0;cursor:pointer}.layim-chat-send span{display:inline-block;*display:inline;*zoom:1;vertical-align:top;font-size:14px;line-height:32px;margin-left:5px;padding:0 20px;background-color:#5FB878;color:#fff;border-radius:3px}.layim-chat-send span:hover{background-color:#69BC80}.layim-chat-send span:active{background-color:#59B573}.layim-chat-send .layim-send-btn{border-radius:3px 0 0 3px}.layim-chat-send .layim-send-set{position:relative;width:30px;height:32px;margin-left:0;padding:0;border-left:1px solid #85C998;border-radius:0 3px 3px 0}.layim-send-set .layui-edge{position:absolute;top:14px;left:9px;border-width:6px;border-top-style:solid;border-top-color:#fff}.layim-chat-send .layim-menu-box{left:auto;right:0;top:33px;width:180px;padding:10px 0}.layim-chat-send .layim-menu-box li{padding-right:15px;line-height:28px}body .layui-layim-min{border:1px solid #D9D9D9}.layui-layim-min .layui-layer-content{margin:0 5px;padding:5px 10px;white-space:nowrap}.layui-layim-close .layui-layer-content span{width:auto;max-width:120px}body .layui-layim-members{margin:25px 0 0 -75px;border:none;background:0 0}body .layui-layim-members .layui-layer-content{padding:0;background:0 0;color:#666;box-shadow:none}.layui-layim-members .layui-layer-TipsG{display:none}.layui-layim-members ul{position:relative;width:578px;height:200px;padding:10px 10px 0;border:1px solid #D9D9D9;background-color:#fff;background-color:rgba(255,255,255,.9);box-shadow:none;overflow:hidden;font-size:0}.layui-layim-members ul:hover{overflow:auto}.layim-add-img,.layim-add-remark,.layui-layim-members li{display:inline-block;*display:inline;*zoom:1;vertical-align:top;font-size:14px}.layui-layim-members li{width:112px;margin:10px 0;text-align:center}.layui-layim-members li a{position:relative;display:inline-block;max-width:100%}.layui-layim-members li a:after{content:'';position:absolute;width:46px;height:46px;left:50%;margin-left:-23px;top:0;border:1px solid #eee;border-color:rgba(0,0,0,.1);border-radius:100%}.layui-layim-members li img{width:48px;height:48px;border-radius:100%}.layui-layim-members li:hover{opacity:.9}.layui-layim-members li a cite{display:block;padding:0 3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body .layui-layim-contextmenu{margin:70px 0 0 30px;width:200px;padding:5px 0;border:1px solid #ccc;background:#fff;border-radius:0;box-shadow:0 0 5px rgba(0,0,0,.2)}body .layui-layim-contextmenu .layui-layer-content{padding:0;background-color:#fff;color:#333;font-size:14px;box-shadow:none}.layui-layim-contextmenu .layui-layer-TipsG{display:none}.layui-layim-contextmenu li{padding:0 15px 0 35px;cursor:pointer;line-height:30px}.layui-layim-contextmenu li:hover{background-color:#F2F2F2}.layim-add-box{margin:15px;font-size:0}.layim-add-img img,.layim-add-remark p{margin-bottom:10px}.layim-add-img{width:100px;margin-right:20px;text-align:center}.layim-add-img img{width:100px;height:100px}.layim-add-remark{width:280px}.layim-add-remark .layui-select{width:100%;margin-bottom:10px}.layim-add-remark .layui-textarea{height:80px;min-height:80px;resize:none}.layim-tab-content,.layui-layim-face ul,.layui-layim-tab{margin-bottom:0}.layim-tab-content li h5{margin-top:0;margin-bottom:0},.layui-layim-face img{vertical-align:bottom}.layim-chat-other span{color:#444}.layim-chat-other span cite{padding:0 15px;color:#999}.layim-chat-other:hover{text-decoration:none}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/mobile/layim.css b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/mobile/layim.css
new file mode 100644
index 0000000..65b5170
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/mobile/layim.css
@@ -0,0 +1,2 @@
+/** layui-v2.3.0 MIT License By https://www.layui.com */
+ .layim-tab-content li h5,.layui-layim-list li{border-bottom:1px solid #f2f2f2;cursor:pointer}html #layuicss-skinlayim-mobilecss{display:none;position:absolute;width:1989px}.layim-tab-content li h5 *,.layui-layim-skin li,.layui-layim-tab li,.layui-layim-tool li{display:inline-block;vertical-align:top;*zoom:1;*display:inline}.layim-tab-content li h5 span,.layui-layim-list li p,.layui-layim-list li span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.layui-layim-tab{position:absolute;bottom:0;left:0;right:0;height:50px;border-top:1px solid #f2f2f2;background-color:#fff}.layui-layim-tab li{position:relative;width:33.33%;height:50px;text-align:center;color:#666;color:rgba(0,0,0,.6);cursor:pointer}.layui-layim-tab li .layui-icon{position:relative;top:7px;font-size:25px}.layui-layim-tab li span{position:relative;bottom:-3px;display:block;font-size:12px}.layui-layim-tab li[lay-type=more] .layui-icon{top:4px;font-size:22px}.layui-layim-tab li.layim-this{color:#3FDD86}.layim-new{display:none;position:absolute;top:5px;left:50%;margin-left:15px;width:10px;height:10px;border-radius:10px;background-color:#F74C31;color:#fff}.layim-list-top .layim-new{position:relative;vertical-align:top;top:10px;left:initial;margin-left:5px}.layim-list-top i.layui-show{display:inline-block!important}.layim-tab-content,.layim-tab-content li ul{display:none}.layui-layim{position:fixed;left:0;right:0;top:50px;bottom:50px;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch}.layim-tab-content li h5{position:relative;padding-left:35px;height:45px;line-height:45px;font-size:0;white-space:nowrap;overflow:hidden}.layim-tab-content li h5 *{font-size:17px}.layim-tab-content li h5 span{max-width:80%}.layim-tab-content li h5 i{position:absolute;left:12px;top:0;color:#C9BDBB}.layim-tab-content li h5 em{padding-left:5px;color:#999}.layim-list-friend,.layim-list-group{background-color:#fff}.layui-layim-list li{position:relative;height:42px;padding:5px 15px 5px 60px;font-size:0}.layui-layim-list li:active{background-color:#F2F2F2;background-color:rgba(0,0,0,.05)}.layui-layim-list li.layim-null{height:20px;line-height:20px;padding:10px 0;color:#999;text-align:center;cursor:default;font-size:14px}.layim-list-history li.layim-null{padding:30px 0;border-bottom:none;background-color:#eee}.layui-layim-list li *{display:inline-block;*display:inline;*zoom:1;vertical-align:top;font-size:17px}.layui-layim-list li span{margin-top:2px;max-width:155px;font-size:17px}.layui-layim-list li img{position:absolute;left:12px;top:8px;width:36px;height:36px;border-radius:100%}.layui-layim-list li p{display:block;padding-right:30px;line-height:18px;font-size:13px;color:#999}.layui-layim-list li .layim-msg-status{display:none;position:absolute;right:10px;bottom:7px;padding:0 5px;height:17px;line-height:17px;border-radius:17px;text-align:center;font-size:10px;background-color:#F74C31;color:#fff}.layim-list-gray{-webkit-filter:grayscale(100%);-ms-filter:grayscale(100%);filter:grayscale(100%);filter:gray}.layim-list-top{background-color:#fff;font-size:17px}.layim-list-top li{position:relative;padding:0 15px 0 50px;line-height:45px;border-bottom:1px solid #f2f2f2;cursor:pointer}.layim-list-top li:last-child{margin-bottom:10px;border-bottom:none}.layim-list-top li .layui-icon{position:absolute;left:12px;top:0;margin-right:10px;color:#36373C;font-size:24px}.layim-list-top li[layim-event=newFriend] .layui-icon{left:15px}.layim-panel,.layim-title{position:fixed;left:0;right:0;top:0}.layim-list-top li[layim-event=group] .layui-icon{font-size:20px}.layim-list-top li[layim-event=about] .layui-icon{font-size:25px}.layim-panel{bottom:0;background-color:#eee;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.2s;animation-duration:.2s}.layim-title{height:50px;line-height:50px;padding:0 15px;background-color:#36373C;color:#fff;font-size:18px}.layim-chat-status{padding-left:15px;font-size:14px;opacity:.7}.layim-title .layim-chat-back{display:inline-block;vertical-align:middle;position:relative;padding:0 15px;margin-left:-10px;top:0;font-size:24px;cursor:pointer}.layim-chat-detail{position:absolute;right:0;top:0;padding:0 15px;font-size:18px;cursor:pointer}.layim-chat-main,.layim-content{position:fixed;top:50px;left:0;right:0;overflow-y:auto;overflow-x:hidden}.layim-chat-detail:active,.layim-title .layim-chat-back:active{opacity:.8}.layui-layim .layim-title{text-align:left}.layui-layim .layim-title p{padding:0 15px}.layim-content{bottom:0}.layim-chat-main{width:100%;bottom:85px;padding:15px;-webkit-box-sizing:border-box!important;-moz-box-sizing:border-box!important;box-sizing:border-box!important}.layim-chat-main ul{overflow-x:hidden}.layim-chat-main ul li{position:relative;font-size:0;margin-bottom:10px;padding-left:60px;min-height:68px}.layim-chat-text,.layim-chat-user{display:inline-block;*display:inline;*zoom:1;vertical-align:top;font-size:15px}.layim-chat-user{position:absolute;left:3px}.layim-chat-user img{width:40px;height:40px;border-radius:100%}.layim-chat-user cite{position:absolute;left:60px;top:-2px;width:500px;line-height:24px;font-size:12px;white-space:nowrap;color:#999;text-align:left;font-style:normal}.layim-chat-user cite i{padding-left:15px;font-style:normal}.layim-chat-text{position:relative;min-height:22px;line-height:22px;margin-top:25px;padding:8px 15px;background-color:#fff;border-radius:3px;color:#333;word-break:break-all}.layim-chat-text:after{content:'';position:absolute;left:-10px;top:13px;width:0;height:0;border-style:solid dashed dashed;border-color:#fff transparent transparent;overflow:hidden;border-width:10px}.layim-chat-text a{color:#33DF83}.layim-chat-text img{max-width:100%;vertical-align:middle}.layim-chat-text .layui-layim-file,.layui-layim-file{display:block;text-align:center}.layim-chat-text .layui-layim-file{color:#333}.layui-layim-file:active{opacity:.9}.layui-layim-file i{font-size:80px;line-height:80px}.layui-layim-file cite{display:block;line-height:20px;font-size:17px}.layui-layim-audio{text-align:center;cursor:pointer}.layui-layim-audio .layui-icon{position:relative;top:5px;font-size:24px}.layui-layim-audio p{margin-top:3px}.layui-layim-video{width:120px;height:80px;line-height:80px;background-color:#333;text-align:center;border-radius:3px}.layui-layim-video .layui-icon{font-size:36px;cursor:pointer;color:#fff}.layim-chat-main ul .layim-chat-mine{text-align:right;padding-left:0;padding-right:60px}.layim-chat-mine .layim-chat-user{left:auto;right:3px}.layim-chat-mine .layim-chat-user cite{left:auto;right:60px;text-align:right}.layim-chat-mine .layim-chat-user cite i{padding-left:0;padding-right:15px}.layim-chat-mine .layim-chat-text{margin-left:0;text-align:left;background-color:#5FB878;color:#fff}.layim-chat-mine .layim-chat-text:after{left:auto;right:-10px;border-top-color:#5FB878}.layim-chat-mine .layim-chat-text a{color:#fff}.layim-chat-main ul .layim-chat-system{min-height:0;margin:20px 0 5px;padding:0}.layim-chat-system{margin:10px 0;text-align:center}.layim-chat-system span{display:inline-block;line-height:30px;padding:0 15px;border-radius:3px;background-color:#ddd;color:#fff;font-size:14px;cursor:pointer}.layim-chat-footer{position:fixed;bottom:0;left:10px;right:10px;height:80px}.layim-chat-send{display:-webkit-box;display:-webkit-flex;display:flex}.layim-chat-send input{-webkit-box-flex:1;-webkit-flex:1;flex:1;height:40px;padding-left:5px;border:0;background-color:#fff;border-radius:3px}.layim-chat-send button{border-radius:3px;height:40px;padding:0 20px;border:0;margin-left:10px;background-color:#5FB878;color:#fff}.layim-chat-tool{position:relative;width:100%;overflow-x:auto;padding:0;height:38px;line-height:38px;margin-top:3px;font-size:0;white-space:nowrap}.layim-chat-tool span{position:relative;margin:0 15px;display:inline-block;*display:inline;*zoom:1;vertical-align:top;font-size:28px;cursor:pointer}.layim-chat-tool .layim-tool-log{position:absolute;right:5px;font-size:14px}.layim-tool-log i{position:relative;top:2px;margin-right:5px;font-size:20px;color:#999}.layim-tool-image input{position:absolute;font-size:0;left:0;top:0;width:100%;height:100%;opacity:.01;filter:Alpha(opacity=1);cursor:pointer}.layim-layer{position:fixed;bottom:85px;left:10px;right:10px;margin:0 auto}.layui-layim-face{position:relative;max-height:180px;overflow:auto;padding:10px;font-size:0}.layui-layim-face li{cursor:pointer;display:inline-block;vertical-align:bottom;padding:5px 2px;text-align:center;width:10%;-webkit-box-sizing:border-box!important;-moz-box-sizing:border-box!important;box-sizing:border-box!important}.layui-layim-face li img{width:22px;height:22px}.layim-about{font-size:17px}.layim-about .layui-m-layercont{text-align:left}.layim-about .layui-m-layercont p{line-height:30px}.layim-about .layui-m-layercont a{color:#01AAED}
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/skin/1.jpg b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/skin/1.jpg
new file mode 100644
index 0000000..d9f9926
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/skin/1.jpg
Binary files differ
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/skin/2.jpg b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/skin/2.jpg
new file mode 100644
index 0000000..0bffb50
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/skin/2.jpg
Binary files differ
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/skin/3.jpg b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/skin/3.jpg
new file mode 100644
index 0000000..53ba921
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/skin/3.jpg
Binary files differ
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/skin/4.jpg b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/skin/4.jpg
new file mode 100644
index 0000000..83b4738
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/skin/4.jpg
Binary files differ
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/skin/5.jpg b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/skin/5.jpg
new file mode 100644
index 0000000..8ed74b9
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/skin/5.jpg
Binary files differ
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/skin/logo.jpg b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/skin/logo.jpg
new file mode 100644
index 0000000..26c7358
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/skin/logo.jpg
Binary files differ
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/voice/default.mp3 b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/voice/default.mp3
new file mode 100644
index 0000000..90013c5
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/css/modules/layim/voice/default.mp3
Binary files differ
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/font/iconfont.eot b/src/main/webapp/static/wms/layuiadmin/layui/font/iconfont.eot
new file mode 100644
index 0000000..51c4f89
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/font/iconfont.eot
Binary files differ
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/font/iconfont.svg b/src/main/webapp/static/wms/layuiadmin/layui/font/iconfont.svg
new file mode 100644
index 0000000..e05b189
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/font/iconfont.svg
@@ -0,0 +1,468 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
+<!--
+2013-9-30: Created.
+-->
+<svg>
+<metadata>
+Created by iconfont
+</metadata>
+<defs>
+
+<font id="layui-icon" horiz-adv-x="1024" >
+ <font-face
+ font-family="layui-icon"
+ font-weight="500"
+ font-stretch="normal"
+ units-per-em="1024"
+ ascent="896"
+ descent="-128"
+ />
+ <missing-glyph />
+
+ <glyph glyph-name="x" unicode="x" horiz-adv-x="1001"
+d="M281 543q-27 -1 -53 -1h-83q-18 0 -36.5 -6t-32.5 -18.5t-23 -32t-9 -45.5v-76h912v41q0 16 -0.5 30t-0.5 18q0 13 -5 29t-17 29.5t-31.5 22.5t-49.5 9h-133v-97h-438v97zM955 310v-52q0 -23 0.5 -52t0.5 -58t-10.5 -47.5t-26 -30t-33 -16t-31.5 -4.5q-14 -1 -29.5 -0.5
+t-29.5 0.5h-32l-45 128h-439l-44 -128h-29h-34q-20 0 -45 1q-25 0 -41 9.5t-25.5 23t-13.5 29.5t-4 30v167h911zM163 247q-12 0 -21 -8.5t-9 -21.5t9 -21.5t21 -8.5q13 0 22 8.5t9 21.5t-9 21.5t-22 8.5zM316 123q-8 -26 -14 -48q-5 -19 -10.5 -37t-7.5 -25t-3 -15t1 -14.5
+t9.5 -10.5t21.5 -4h37h67h81h80h64h36q23 0 34 12t2 38q-5 13 -9.5 30.5t-9.5 34.5q-5 19 -11 39h-368zM336 498v228q0 11 2.5 23t10 21.5t20.5 15.5t34 6h188q31 0 51.5 -14.5t20.5 -52.5v-227h-327z" />
+
+
+
+ <glyph glyph-name="reply-fill" unicode="" d="M507.904 835.5840000000001q93.184 1.024 175.104-33.792t143.872-94.72 97.792-141.312 36.864-174.592q1.024-88.064-30.208-165.888t-87.04-137.728-131.072-98.816-162.304-48.128q-22.528-3.072-48.128-5.12t-56.832-3.072-69.632 0-86.528 6.144q-106.496 10.24-158.208 26.624t-41.472 18.432q54.272 9.216 93.184 29.696 20.48 11.264 16.896 32.256t-19.968 39.424q-52.224 57.344-84.48 133.632t-34.304 164.352q-1.024 93.184 33.792 175.104t95.232 143.36 142.336 97.28 175.104 36.864zM707.584 385.024q0-26.624 18.432-45.568t45.056-18.944 45.568 18.944 18.944 45.568-18.944 45.056-45.568 18.432-45.056-18.432-18.432-45.056zM450.56 385.024q0-26.624 19.456-46.08t46.08-19.456q27.648 0 46.592 19.456t18.944 46.08q0 27.648-18.944 46.592t-46.592 18.944q-26.624 0-46.08-18.944t-19.456-46.592zM196.608 386.048q0-26.624 18.944-46.08t45.568-19.456q27.648 0 46.592 19.456t18.944 46.08-18.944 45.568-46.592 18.944q-26.624 0-45.568-18.944t-18.944-45.568z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="set-fill" unicode="" d="M916.9398 445.2101l-69.9664 10.7833c-18.6619 2.863-38.1388 17.826-43.3424 33.2487-5.1618 15.3809-15.0883 65.4524-3.9288 80.6661l41.9004 57.135c11.1595 15.2346 9.3832 38.5985-3.9706 51.9314l-30.6364 30.6573c-13.3538 13.3538-36.7177 15.151-51.9314 3.9497l-57.135-41.8795c-15.2346-11.1804-39.4344-14.3987-53.7704-7.168-14.3569 7.2307-57.3022 35.7773-60.1652 54.4183l-10.7833 69.9664C570.3471 807.6016 552.542 822.8571 533.6712 822.8571h-43.34236734693877c-18.8709 0-36.6759-15.2555-39.5389-33.9174l-10.7833-69.9664c-2.863-18.6619-17.826-38.1388-33.2487-43.3424-15.4018-5.1827-65.4524-15.1092-80.687-3.9288L268.9567 713.5817c-15.2346 11.1804-38.6194 9.3832-51.9523-3.9497l-30.6364-30.6573c-13.3747-13.3538-15.151-36.7177-3.9706-51.9314l41.9004-57.135c11.1595-15.2346 14.3778-39.4136 7.168-53.7704-7.2307-14.3569-35.7773-57.2813-54.4183-60.1443l-69.9664-10.7833C88.3984 442.3471 73.1429 424.542 73.1429 405.6712v-43.34236734693877c0-18.8709 15.2555-36.6759 33.9174-39.5389l69.9664-10.7833c18.6619-2.863 38.1388-17.8469 43.3424-33.2487 5.1618-15.4018 15.0883-65.4733 3.9288-80.687l-41.9004-57.135c-11.1595-15.2346-9.3832-38.6194 3.9706-51.9314l30.6364-30.6573c13.3538-13.3538 36.7177-15.151 51.9523-3.9706l57.135 41.9213c15.2346 11.1386 39.4136 14.3778 53.7704 7.168 14.3569-7.2307 57.2813-35.7773 60.1443-54.4183l10.7833-69.9664c2.863-18.6619 20.6472-33.9174 39.5389-33.9174h43.34236734693877c18.8709 0 36.6759 15.2555 39.5389 33.9174l10.7833 69.9664c2.863 18.6619 17.826 38.1388 33.2487 43.3215 15.4018 5.1827 65.4524 15.0883 80.6661 3.9288l57.1559-41.9213c15.2346-11.1595 38.5985-9.3623 51.9314 3.9706l30.6364 30.6573c13.3747 13.3329 15.151 36.7177 3.9706 51.9314l-41.9004 57.135c-11.1595 15.2346-14.3778 39.4136-7.168 53.7496 7.2307 14.3778 35.7773 57.3231 54.4183 60.1861l69.9664 10.7833c18.6619 2.863 33.9174 20.6472 33.9174 39.5389v43.34236734693877C950.8571 424.542 935.6016 442.3471 916.9398 445.2101zM512 210.4633c-95.838 0-173.5367 77.6986-173.5367 173.5367s77.6986 173.5367 173.5367 173.5367 173.5367-77.6986 173.5367-173.5367S607.838 210.4633 512 210.4633zM512 384m-104.7824 0a5.014 5.014 0 1 1 209.5647 0 5.014 5.014 0 1 1-209.5647 0Z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="menu-fill" unicode="" d="M511.999488 834.254727c-248.678712 0-450.273176-201.585181-450.273176-450.254727s201.594464-450.254727 450.273176-450.254727 450.273176 201.585181 450.273176 450.254727S760.6782 834.254727 511.999488 834.254727zM266.371377 589.705012l491.256222 0 0-33.772174L266.371377 555.932838 266.371377 589.705012zM757.627599 178.29396499999996L266.371377 178.29396499999996l0 33.773198 491.256222 0L757.627599 178.29396499999996zM140.487278 367.11340099999995l0 33.771151 743.024421 0 0-33.771151L140.487278 367.11340099999995z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="search" unicode="" d="M439.323351 120.52219c-49.280352 0-97.09834 9.656941-142.126681 28.699646-43.480015 18.388812-82.522793 44.706201-116.043584 78.225619s-59.841305 72.560596-78.230871 116.03883C83.878729 388.513804 74.222416 436.330856 74.222416 485.609189c0 49.284473 9.656313 97.104595 28.699798 142.133138 18.388542 43.479257 44.71008 82.520435 78.231894 116.03883 33.518745 33.515325 72.562546 59.832713 116.043584 78.219479 45.027318 19.039635 92.846329 28.694529 142.125658 28.694529 49.280352 0 97.099364-9.653871 142.126681-28.694529 43.481039-18.385742 82.525863-44.704155 116.044608-78.220502 33.520791-33.518395 59.842328-72.559573 78.230871-116.03883 19.042462-45.028543 28.699798-92.848665 28.699798-142.133138 0-49.278333-9.657336-97.095385-28.701845-142.122905-18.388542-43.47721-44.708033-82.520435-78.228824-116.03883s-72.563569-59.838853-116.043584-78.226642C536.422715 130.177084 488.603703 120.52219 439.323351 120.52219zM439.323351 797.483242c-171.975699 0-311.887855-139.906423-311.887855-311.875077S267.347652 173.734112 439.323351 173.734112s311.887855 139.907447 311.887855 311.874053S611.299051 797.483242 439.323351 797.483242zM890.678206-48.734702c-22.121716 0-42.90387 8.562003-58.541653 24.115234L674.672953 128.025071l37.039062 38.20616 157.888289-153.058978c5.606924-5.606695 13.091693-8.692986 21.077901-8.692986 7.983139 0 15.464837 3.087315 21.070738 8.69094 5.616135 5.622044 8.715856 13.126972 8.715856 21.123087 0 7.980765-3.091535 15.46318-8.702552 21.067828l-0.301888 0.306992L758.714395 213.230662l38.207726 37.035498 152.611906-157.427472c15.571265-15.638165 24.144876-36.422538 24.144876-58.549487 0-22.195511-8.625801-43.054585-24.287121-58.735729C933.723298-40.112324 912.876674-48.734702 890.678206-48.734702zM281.015489 327.245392c-42.340005 42.320874-65.652899 98.584296-65.643689 158.421102 0.008187 59.818387 23.319034 116.074645 65.637549 158.4078l37.634651-37.619806c-66.60666-66.629513-66.60973-175.00071-0.007163-241.577011L281.015489 327.245392z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="share" unicode="" d="M769.714 306.453c-51.754 0-97.702-24.851-126.571-63.269L394.479 367.94100000000003c3.93 13.798 6.034 28.364 6.034 43.424 0 16.496-2.527 32.399-7.211 47.35l247.724 124.288c28.71-40.052 75.647-66.151 128.687-66.151 87.388 0 158.229 70.84 158.229 158.229 0 87.388-70.841 158.229-158.229 158.229-87.389 0-158.229-70.841-158.229-158.229 0-6.046 0.352-12.009 1.011-17.88L351.22 526.116c-28.371 26.943-66.723 43.479-108.938 43.479-87.388 0-158.229-70.84-158.229-158.229s70.84-158.229 158.229-158.229c43.752 0 83.354 17.758 111.997 46.459l258.676-129.779c-0.964-7.062-1.474-14.266-1.474-21.592 0-87.389 70.84-158.229 158.229-158.229s158.229 70.84 158.229 158.229C927.938 235.61199999999997 857.103 306.453 769.714 306.453L769.714 306.453z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="set-sm" unicode="" d="M946.367 405.895c0.02 21.85-13.04 38.49-31.74 41.57-18.69 3.07-79.05 13.01-85.99 14.14-6.95 1.15-14.09 8.07-15.4 11.45-1.32 3.37-8.94 22.2-11.87 29.46-2.95 7.27-1.92 16.58 4.39 25.52 6.3 8.93 39.9 55.87 48.38 67.72 8.49 11.87 8.65 34.61-4.84 48.39-13.48 13.78-47.75 47.09-56.73 55.86-8.99 8.76-31.08 8.64-42.67 0.43-11.58-8.2-71.69-51.01-71.69-51.01s-9.97-6.89-20.67-2.64c-10.7 4.24-33.43 14.07-33.43 14.07s-7.19 5.43-9.68 19.79c-2.5 14.37-11.11 65.28-14.07 82.7-2.97 17.42-20.67 29.62-37.83 29.46-17.16-0.14-57.91 0-74.33 0s-32.26-15.68-34.75-29.46c-2.49-13.79-11.56-69.16-14.07-84.45-2.52-15.3-11.44-18.48-11.44-18.48s-19.56-8.06-29.91-12.31c-10.34-4.26-15.39-2.64-30.35 7.48-14.95 10.11-44.74 31.03-63.04 43.83-18.3 12.81-38.12 7.92-49.26-3.52s-36.06-35.77-51.02-50.43c-14.95-14.66-12.61-37.54 0.58-55.71 13.2-18.18 32.34-45.43 41.35-58.21 9.01-12.78 10.84-19.5 8.36-26.82-2.49-7.34-6.64-16.58-11.43-27.72-4.81-11.13-9.69-13.64-27.86-17.01-17.36-3.21-58.42-9.92-77.4-13.31-18.99-3.37-30.66-21.43-30.66-41.81l0-64.66c0-24.34 13.2-37.24 38.42-41.93 25.22-4.69 62.66-10.66 74.77-12.61 12.1-1.95 17.67-6.6 21.41-15.54 3.73-8.94 5.13-10.12 9.37-22.57 4.26-12.47 6.46-15.55-4.98-31.67-11.44-16.13-34.31-48.11-46.03-64.51-11.74-16.4-6.45-37.83 4.98-49.85 11.44-12.03 35.47-35.64 48.97-48.97 13.49-13.33 35.19-16.28 53.36-3.52 18.19 12.75 54.98 38.99 65.69 46.62 10.7 7.63 21.91 5.28 27.85 2.94 5.94-2.35 11.25-4.6 22-9.1 10.73-4.48 13.85-11.2 16.41-23.45 2.57-12.24 10.19-56.85 13.93-78.59 3.75-21.72 18.91-33.43 40.62-33.72 21.7-0.29 33.27-0.12 61.57 0 28.29 0.13 41.86 12.61 45.45 31.38 3.59 18.76 12.45 72.94 14.22 83.72 1.78 10.76 5.94 14.73 13.63 18.47 7.7 3.74 14.32 6.47 26.84 11.88 12.51 5.4 18.91 0.66 27.7-5.72 8.8-6.39 47.51-33.78 63.78-45.31 16.28-11.53 36.73-10.33 51.9 4.4 15.18 14.73 31.62 30.99 49.27 48.38 17.64 17.4 12.16 39.59 4.4 51.46-7.77 11.88-44.49 62.95-49.71 70.23-5.21 7.28-4.4 18.62-1.75 24.63 2.64 6.01 8.44 18.24 11.72 25.22 3.29 6.97 9.6 11.22 18.18 12.9 8.58 1.69 62.72 11 83.75 14.61 21.03 3.64 31.11 19.92 31.26 39.92C946.427 359.93499999999995 946.347 388.525 946.367 405.895zM908.587 338.615c0.21-5.76-4.66-10.65-8.82-11.38-4.17-0.73-63.26-11.38-81.48-14.29-18.21-2.92-33.23-15.07-38.72-28.06-3.98-9.44-5.47-13.51-10.59-26.96-5.12-13.44-4.64-32.19 2.56-42.26 7.2-10.08 46.82-64.9 50.38-70.45s4.27-11.95-1.28-17.5-40.99-41.2-47.39-47.39c-6.41-6.19-11.83-4.8-18.79 0-6.95 4.8-39.61 26.39-64.44 44.36-16.96 12.28-32.82 12.43-48.7 6.02-15.87-6.42 1.28 0.28-22.2-8.97-23.48-9.25-30.23-27.62-33.73-48.24-3.5-20.63-10.67-62.98-11.95-70.45-1.28-7.47-5.55-11.1-13.66-11.1l-64.9 0c-8.11 0-11.74 2.99-14.52 11.95-2.77 8.97-10.03 54.87-12.8 74.29-2.78 19.43-13.82 36.12-24.77 40.56-10.94 4.45-4.98 2.14-27.32 11.1-22.34 8.97-39.63 4.5-51.23-3.84-11.61-8.34-58.64-42.69-65.33-46.96-6.68-4.28-14.65-3.28-18.35 0.42-3.7 3.7-40.56 40.56-46.54 46.54-5.98 5.98-5.36 12.92 0 20.49 5.36 7.58 28.39 40.76 40.99 57.95 12.59 17.2 17.93 34.74 9.82 53.49-8.12 18.74-4.42 10.24-12.39 28.6-7.96 18.36-24.28 24.46-38.42 26.9-14.14 2.43-68.88 11.53-76.85 13.23-7.97 1.71-11.95 7.26-11.95 14.09l0 66.18c0 9.53 7.67 12.44 12.38 13.23 4.7 0.8 54.22 9.18 73 12.39 18.79 3.2 36.36 11.32 43.55 29.03 7.19 17.7 4.27 11.1 11.1 27.32 6.83 16.23 3.8 33.94-7.68 49.96-11.49 16.01-38.85 54-44.4 61.9-5.55 7.9-5.77 12.6 0.85 19.21 6.62 6.62 42.05 42.48 46.96 46.97 4.91 4.48 12.07 5.4 18.36 0.85 6.3-4.55 49.31-35.65 64.04-46.11 14.73-10.46 32.35-12.56 49.1-5.55 16.75 7.02 10.25 4.48 26.9 11.1s24.84 19.09 28.18 39.71c3.33 20.61 11.95 74.14 12.81 77.7 0.85 3.55 5.55 10.46 11.74 10.46s65.82-0.07 69.8 0c3.99 0.07 10.3-3.29 11.32-9.18 1.02-5.9 13.02-74.29 14.94-86.25 1.92-11.95 15.58-28.57 25.54-32.73 9.96-4.16 21.35-8.75 31.31-13.09 9.97-4.34 30.13-1.91 36.15 2.28 6.03 4.18 70.52 48.81 75.43 52.37 4.91 3.56 11.52 3.27 17.64-2.85s43.34-43.19 47.54-47.53c4.19-4.34 4.66-8.66 1.14-13.66-3.53-5.01-36.72-51.8-47.54-67.46-10.81-15.65-11.73-33.73-5.41-48.96 6.33-15.22 3.99-9.39 9.11-21.91 5.13-12.53 16.28-29.03 33.59-31.88 17.31-2.85 76.92-12.74 84.82-13.95 7.9-1.21 11.1-7.18 11.1-13.37S908.377 344.385 908.587 338.615zM526.833 573.1949999999999c-110.45 0-200-89.54-200-200s89.55-200 200-200c110.46 0 200 89.54 200 200S637.293 573.1949999999999 526.833 573.1949999999999zM526.833 208.19500000000005c-91.12 0-165 73.87-165 165s73.88 165 165 165c91.13 0 165-73.87 165-165S617.963 208.19500000000005 526.833 208.19500000000005z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="engine" unicode="" d="M422.214332 360.70413299999996L186.183684 360.70413299999996l0 46.568461 236.030648 0c10.379577 40.075407 46.47537 69.794509 89.785668 69.794509 51.432433 0 93.067103-41.657943 93.067103-93.067103C605.067103 332.56756700000005 563.40916 290.909624 512 290.909624 468.689703 290.909624 432.593909 320.65199900000005 422.214332 360.70413299999996L422.214332 360.70413299999996zM512 779.634098c-218.529658 0-395.634098-177.10444-395.634098-395.634098 0-218.529658 177.10444-395.634098 395.634098-395.634098 154.76275 0 288.417257 89.064217 353.440885 218.55293l101.398692-59.112389-23.063141-39.959044-62.161099 35.909613c-33.745261-51.595341-77.42792-96.115813-129.093079-129.744711l35.653614-61.765464-40.308133-23.295867-35.653614 61.765464c-53.620057-27.345298-113.360805-44.404109-176.894987-47.73209L535.319139-127.99706800000001l-46.568461 0 0 70.981412c-63.534182 3.327981-123.27493 20.386792-176.894987 47.73209l-35.653614-61.765464-40.308133 23.295867 35.653614 61.765464c-51.665159 33.628898-95.347818 78.149371-129.093079 129.744711l-62.161099-35.909613-23.295867 40.308133 62.114553 35.863067c-27.415116 53.550239-44.799743 113.104807-48.127724 176.685534L0.002932 360.70413299999996l0 46.568461 70.958139 0c3.327981 63.580727 20.712609 123.135295 48.127724 176.685534l-62.114553 35.863067 23.295867 40.308133 62.161099-35.909613c33.745261 51.595341 77.42792 96.115813 129.093079 129.744711l-35.653614 61.765464 40.308133 23.295867 35.653614-61.765464c53.620057 27.345298 113.360805 44.404109 176.894987 47.73209L488.727406 895.997068l46.568461 0 0-70.981412c63.534182-3.327981 123.27493-20.386792 176.894987-47.73209l35.653614 61.765464 40.308133-23.295867-35.653614-61.765464c51.665159-33.628898 95.347818-78.149371 129.093079-129.744711l62.161099 35.909613 23.063141-39.959044-101.398692-59.112389C800.417257 690.569881 666.76275 779.634098 512 779.634098L512 779.634098z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="close" unicode="ဆ" d="M783.483 701.249L512 429.775 240.517 701.249c-10.082 10.083-26.429 10.083-36.51 0-10.083-10.082-10.083-26.429 0-36.509l271.481-271.475L204.008 121.78800000000001c-10.083-10.081-10.083-26.428 0-36.508 10.082-10.082 26.429-10.082 36.51 0L512 356.755l271.483-271.475c10.082-10.082 26.429-10.082 36.513 0 10.081 10.083 10.081 26.428 0 36.508L548.51 393.265l271.485 271.474c10.081 10.083 10.081 26.429 0 36.509C809.912 711.33 793.564 711.33 783.483 701.249z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="close-fill" unicode="ဇ" d="M512 822.022125c-217.47508 0-394.423141-176.949085-394.423141-394.423141 0-217.474057 176.948061-394.422118 394.423141-394.422118 217.473033 0 394.422118 176.948061 394.422118 394.422118C906.422118 645.07304 729.473033 822.022125 512 822.022125zM702.228529 270.92978200000005c8.030907-8.030907 8.030907-21.052478 0-29.083385s-21.052478-8.030907-29.083385 0L512 402.992563 350.853833 241.84741899999995c-8.030907-8.030907-21.052478-8.030907-29.083385 0s-8.030907 21.052478 0 29.083385l161.146167 161.146167L321.771471 593.222115c-8.030907 8.030907-8.030907 21.052478 0 29.083385s21.052478 8.030907 29.083385 0l161.146167-161.146167L673.145144 622.305501c8.030907 8.030907 21.052478 8.030907 29.083385 0s8.030907-21.052478 0-29.083385L541.082362 432.075949 702.228529 270.92978200000005z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="chart-screen" unicode="" d="M963.930903 179.21903299999997l0 34.824133-37.354769-2.675946L926.576133 694.8538169999999 691.413206 694.8538169999999l0 70.462818L330.260819 765.316635l0-70.462818L95.690386 694.8538169999999l0-480.809627-35.621289 0 0-34.824133 432.583253 0 0-141.228535-90.313935 0 0-35.307134 216.753649 0 0 35.307134-90.313935 0L528.778128 179.21903299999997 963.930903 179.21903299999997zM366.212636 730.008478L655.216819 730.008478l0-35.307134L366.212636 694.7013440000001 366.212636 730.008478zM364.817869 332.73133600000006L222.224244 406.252817l14.295588 27.736715 123.238812-63.523779 173.928285 159.755494 127.5807-92.634794 93.13826 122.414027 12.420891-9.449209 12.420891-9.449209L667.639756 394.365068l-131.636063 95.621824L364.817869 332.73133600000006z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="star" unicode="" d="M749.624889-84.152889c-15.672889 0-31.246222 3.882667-45.084444 11.306667l-192.526222 103.637333L319.544889-72.817778c-31.203556-16.64-70.314667-14.392889-99.043556 5.304889-29.511111 20.337778-44.743111 55.921778-38.840889 90.695111l37.703111 225.251556L56.661333 410.908444c-25.002667 24.888889-33.464889 60.984889-22.058667 94.193778 11.349333 32.910222 40.064 56.576 74.965333 61.752889l221.326222 32.896 96.128 199.580444c15.488 32.085333 48.853333 52.807111 84.992 52.807111 36.167111 0 69.518222-20.736 84.963556-52.807111l96.156444-199.580444 221.297778-32.910222c34.872889-5.162667 63.616-28.8 74.979556-61.696 11.392-33.28 2.944-69.361778-22.030222-94.250667L804.622222 248.433778l37.745778-225.28c5.845333-34.773333-9.386667-70.357333-38.812444-90.638222C787.569778-78.392889 768.938667-84.152889 749.624889-84.152889zM512.014222 91.548444c4.636444 0 9.272889-1.137778 13.482667-3.384889l205.937778-110.862222c12.373333-6.641778 28.316444-5.802667 39.936 2.133333 11.392 7.836444 17.123556 21.006222 14.890667 34.304L746.097778 253.496889c-1.507556 9.088 1.450667 18.332444 7.964444 24.832l173.141333 172.842667c9.457778 9.429333 12.686222 23.025778 8.405333 35.484444-4.380444 12.672-15.701333 21.873778-29.525333 23.921778L669.866667 545.706667c-9.315556 1.379556-17.365333 7.296-21.447111 15.786667L545.720889 774.641778c-6.030222 12.529778-19.256889 20.608-33.706667 20.608s-27.690667-8.092444-33.763556-20.622222L375.608889 561.493333c-4.081778-8.490667-12.131556-14.407111-21.447111-15.786667L117.930667 510.577778c-13.624889-2.033778-25.201778-11.434667-29.539556-23.992889-4.266667-12.416-1.024-25.984 8.433778-35.399111L269.937778 278.328889c6.513778-6.499556 9.472-15.744 7.964444-24.832l-40.135111-239.744c-2.247111-13.312 3.484444-26.439111 14.976-34.360889 11.434667-7.836444 27.349333-8.775111 39.950222-2.062222l205.852444 110.833778C502.741333 90.410667 507.377778 91.548444 512.014222 91.548444zM200.32 439.210667c-6.840889 0-12.885333 4.963556-14.023111 11.946667-1.251556 7.751111 4.010667 15.061333 11.761778 16.312889l9.443556 1.536c7.793778 1.336889 15.061333-4.010667 16.312889-11.761778 1.251556-7.751111-4.010667-15.061333-11.761778-16.312889l-9.443556-1.536C201.856 439.267556 201.073778 439.210667 200.32 439.210667zM252.544 447.687111c-6.684444 0-12.643556 4.721778-13.937778 11.534222-1.493333 7.708444 3.555556 15.175111 11.264 16.654222l153.927111 29.696 58.055111 133.148444c3.157333 7.182222 11.548444 10.496 18.716444 7.352889 7.210667-3.143111 10.510222-11.52 7.367111-18.716444l-61.056-140.017778c-1.877333-4.295111-5.745778-7.395556-10.353778-8.277333l-161.28-31.118222C254.336 447.758222 253.44 447.687111 252.544 447.687111z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="circle-dot" unicode="" d="M513.133312 830.6731560000001c-247.538793 0-448.208115-200.669322-448.208115-448.207092 0-247.538793 200.670346-448.208115 448.208115-448.208115 247.538793 0 448.208115 200.670346 448.208115 448.208115C961.341427 630.004857 760.673128 830.6731560000001 513.133312 830.6731560000001zM513.132288-6.649187999999981c-214.901465 0-389.113205 174.212764-389.113205 389.114229 0 214.902488 174.21174 389.115252 389.113205 389.115252 214.903511 0 389.115252-174.212764 389.115252-389.115252C902.24754 167.563576 728.0358-6.649187999999981 513.132288-6.649187999999981zM513.133312 382.46504100000004m-344.602456 0a336.754 336.754 0 1 1 689.204911 0 336.754 336.754 0 1 1-689.204911 0Z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="chat" unicode="" d="M132.682393 414.567179c0 208.287837 166.471452 377.143593 379.317095 377.143593s385.380184-168.855756 385.380184-377.143593c0-177.196725-122.197086-325.812507-290.49821-366.259708l-116.291586-51.04763 0 41.126676C290.570353 52.175568999999996 132.682393 215.31206599999996 132.682393 414.567179zM83.799056 414.567179c0-211.946157 160.764474-387.135154 369.469819-415.152255-3.2623-20.458961-10.036587-65.024969-7.286963-65.024969 2.384303 0 114.89068 47.294143 189.700503 78.865185 176.193885 51.91437 304.518528 211.946157 304.518528 401.312038 0 231.432976-191.70823 419.042865-428.200432 419.042865S83.799056 646.0001560000001 83.799056 414.567179zM340.71952 276.63573699999995c22.935362-41.481763 89.831958-75.102489 170.391738-75.102489 79.650061 0 148.489916 32.909527 172.168198 73.681116-12.701277 5.979178-19.068288 8.02886-28.131711 12.21009-19.894096-31.257911-75.425853-59.661821-142.729725-59.661821-66.969251 0-122.836653 28.40391-143.598512 61.083194L340.71952 276.63573699999995z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="release" unicode="" d="M990.78144 828.5388800000001c-3.35872 1.59744-7.04512 2.37568-11.01824 2.37568-14.45888 0-27.60704-10.81344-27.40224-10.81344-8.8064-4.42368-880.59904-443.22816-911.44192-459.44832-17.408-9.13408-27.36128-24.73984-25.92768-40.71424 1.10592-13.14816 9.78944-23.51104 23.10144-27.77088 26.17344-8.27392 290.24256-91.58656 290.24256-91.58656l4.83328-1.47456 16.67072 50.05312-254.32064 79.54432 780.73856 406.28224c-82.82112-93.88032-420.53632-476.32384-436.10112-493.93664-20.11136-22.48704-29.4912-45.09696-29.40928-70.98368l0.28672-153.27232-0.08192 0c0 0 0.08192-53.49376 0.08192-53.6576l0-1.96608 0 0c1.18784-13.5168 12.73856-24.24832 26.54208-24.24832s25.51808 10.73152 26.74688 24.24832l0 0c0 0 0.53248 191.03744 0 205.08672-0.49152 12.4928 5.07904 26.54208 10.69056 33.05472 5.65248 6.38976 390.63552 442.61376 465.75616 527.81056-21.38112-106.41408-126.68928-629.76-128.24576-637.41952-0.8192-4.05504-2.58048-4.05504-3.35872-4.05504-0.6144 0-1.31072 0.12288-2.048 0.36864-7.45472 2.37568-268.82048 81.55136-279.92064 84.91008l-4.7104 1.4336-17.16224-50.50368 5.07904-1.59744c2.58048-0.77824 258.90816-79.09376 284.38528-86.46656 5.07904-1.47456 10.24-2.2528 15.44192-2.2528 26.99264 0 49.5616 19.37408 54.8864 46.98112 2.08896 10.93632 27.0336 134.67648 55.9104 277.99552 39.77216 197.14048 84.7872 420.61824 85.93408 427.6224l0.6144 3.31776C1009.70496 798.96576 1013.26848 817.9712 990.78144 828.5388800000001z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="list" unicode="" d="M618.04471 733.97072l-397.175835 0c-16.927531 0-30.699186-13.771655-30.699186-30.699186l0-638.543068c0-16.927531 13.771655-30.699186 30.699186-30.699186l582.261227 0c16.927531 0 30.699186 13.771655 30.699186 30.699186l-0.726547 476.760404L618.04471 733.97072zM803.771715 541.488871 619.537713 541.488871 619.537713 705.552483 803.771715 541.488871zM813.363164 64.728466c0-5.64251-4.590552-10.233062-10.233062-10.233062l-582.261227 0c-5.64251 0-10.233062 4.590552-10.233062 10.233062l0 638.543068c0 5.64251 4.590552 10.233062 10.233062 10.233062l378.202715 0 0-192.481849 214.291574 0L813.363164 64.728466zM298.129516 482.495268l55.258535 0 0-55.258535-55.258535 0 0 55.258535ZM399.777591 468.168981l323.364759 0 0-26.605961-323.364759 0 0 26.605961ZM298.129516 342.044446l55.258535 0 0-55.258535-55.258535 0 0 55.258535ZM399.777591 327.718159l323.364759 0 0-26.605961-323.364759 0 0 26.605961ZM298.129516 199.804884l55.258535 0 0-55.258535-55.258535 0 0 55.258535ZM399.777591 185.478598l323.364759 0 0-26.605961-323.364759 0 0 26.605961ZM881.315812 53.053566" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="chart" unicode="" d="M953.440991 315.668729L784.061302 315.668729 681.06451 437.392024c-0.312108 0.373507-0.635473 0.737804-0.969071 1.094938-0.013303 0.014326-0.026606 0.027629-0.039909 0.041956-0.276293 0.293689-0.559748 0.582261-0.851391 0.86367-0.053212 0.051165-0.107447 0.099261-0.160659 0.150426-0.249687 0.237407-0.50142 0.470721-0.76134 0.697895-0.089028 0.078795-0.181125 0.153496-0.272199 0.230244-0.225127 0.191358-0.451278 0.381693-0.683569 0.565888-0.124843 0.099261-0.251733 0.192382-0.3776 0.288572-0.200568 0.153496-0.402159 0.306992-0.607844 0.454348-0.159636 0.11461-0.322341 0.224104-0.485047 0.334621-0.177032 0.12075-0.354064 0.242524-0.535189 0.35918-0.195451 0.12689-0.394996 0.246617-0.593518 0.367367-0.152473 0.092098-0.302899 0.186242-0.457418 0.275269-0.237407 0.137123-0.477884 0.268106-0.718361 0.397043-0.121773 0.065492-0.2415 0.132006-0.364297 0.195451-0.283456 0.146333-0.571005 0.285502-0.859577 0.420579-0.085958 0.040932-0.170892 0.082888-0.257873 0.122797-0.337691 0.154519-0.679475 0.298805-1.022283 0.437975-0.044002 0.017396-0.086981 0.036839-0.130983 0.055259-1.604544 0.638543-3.2623 1.113357-4.948709 1.416256-0.343831 0.062422-0.687662 0.112564-1.031493 0.160659-0.055259 0.008186-0.110517 0.01842-0.165776 0.025583-1.633197 0.216941-3.25923 0.26913-4.861728 0.173962-0.013303-0.001023-0.026606-0.001023-0.040932-0.002047-0.363274-0.022513-0.724501-0.054235-1.085728-0.091074-0.060375-0.00614-0.119727-0.011256-0.180102-0.017396-0.310062-0.034792-0.618077-0.077771-0.926092-0.122797-0.116657-0.017396-0.232291-0.032746-0.348947-0.051165-0.24764-0.040932-0.494257-0.086981-0.740874-0.135076-0.178055-0.033769-0.355087-0.067538-0.532119-0.105401-0.183172-0.039909-0.36532-0.083911-0.547469-0.127913-0.237407-0.056282-0.474814-0.113587-0.710175-0.176009-0.12075-0.032746-0.240477-0.068562-0.360204-0.102331-0.292666-0.082888-0.584308-0.168846-0.874927-0.26299-0.063445-0.020466-0.125867-0.042979-0.188288-0.063445-0.338714-0.112564-0.675382-0.230244-1.010003-0.357134-0.019443-0.007163-0.038886-0.01535-0.058328-0.022513-1.493004-0.571005-2.948145-1.284249-4.340865-2.149966-0.067538-0.041956-0.13303-0.088004-0.200568-0.12996-0.273223-0.172939-0.545422-0.346901-0.813528-0.531096-1.416256-0.971118-2.734274-2.089591-3.936659-3.333932-0.025583-0.026606-0.049119-0.053212-0.074701-0.079818-0.26299-0.275269-0.521886-0.555655-0.773619-0.843204-0.058328-0.066515-0.112564-0.134053-0.169869-0.200568-0.211824-0.246617-0.420579-0.496304-0.62217-0.751107-0.083911-0.106424-0.164752-0.214894-0.246617-0.322341-0.167822-0.218988-0.334621-0.437975-0.49528-0.663102-0.102331-0.14224-0.199545-0.287549-0.298805-0.431835-0.13303-0.194428-0.26606-0.387833-0.393973-0.586354-0.115634-0.179079-0.225127-0.360204-0.335644-0.541329-0.103354-0.168846-0.207731-0.336668-0.306992-0.508583-0.12689-0.220011-0.24764-0.443092-0.36839-0.666172-0.074701-0.138146-0.151449-0.275269-0.223081-0.416486-0.137123-0.265036-0.265036-0.533143-0.39295-0.802272-0.050142-0.105401-0.101307-0.209778-0.150426-0.316202-0.144286-0.317225-0.279363-0.63752-0.410346-0.958838-0.026606-0.064468-0.055259-0.127913-0.080841-0.193405-0.150426-0.378623-0.291642-0.760317-0.423649-1.14508-0.005117-0.016373-0.011256-0.031722-0.017396-0.048095-0.157589-0.463558-0.303922-0.930185-0.434905-1.400906l-97.897657-342.642824L435.093423 811.832042c-0.071631 0.569982-0.165776 1.13587-0.275269 1.696642-0.008186 0.040932-0.017396 0.081864-0.025583 0.12382-0.071631 0.356111-0.148379 0.709151-0.234337 1.061169-0.031722 0.128937-0.065492 0.255827-0.099261 0.38374-0.066515 0.254803-0.135076 0.508583-0.208754 0.760317-0.060375 0.206708-0.124843 0.411369-0.190335 0.615007-0.053212 0.166799-0.107447 0.332575-0.164752 0.49835-0.092098 0.26913-0.190335 0.535189-0.290619 0.800225-0.037862 0.098237-0.074701 0.196475-0.113587 0.293689-0.12382 0.313132-0.25378 0.623193-0.38988 0.930185-0.022513 0.050142-0.044002 0.100284-0.066515 0.150426-0.152473 0.338714-0.311085 0.672312-0.477884 1.00284-0.01228 0.024559-0.024559 0.049119-0.037862 0.074701-0.173962 0.343831-0.356111 0.682545-0.545422 1.017166-0.011256 0.019443-0.022513 0.039909-0.033769 0.059352-0.188288 0.330528-0.382717 0.654916-0.584308 0.975211-0.021489 0.034792-0.044002 0.068562-0.065492 0.103354-0.190335 0.298805-0.385786 0.592494-0.587378 0.88209-0.045025 0.065492-0.091074 0.12996-0.137123 0.194428-0.180102 0.252757-0.363274 0.502443-0.551562 0.74906-0.079818 0.105401-0.162706 0.208754-0.24457 0.312108-0.157589 0.199545-0.317225 0.396019-0.480954 0.590448-0.124843 0.149403-0.252757 0.295735-0.381693 0.442068-0.125867 0.14224-0.251733 0.284479-0.38067 0.424672-0.174985 0.191358-0.355087 0.378623-0.536212 0.563842-0.088004 0.090051-0.176009 0.180102-0.26606 0.26913-0.224104 0.222057-0.452301 0.440022-0.684592 0.653893-0.054235 0.050142-0.10847 0.100284-0.163729 0.150426-0.265036 0.240477-0.535189 0.474814-0.810459 0.704035-0.028653 0.023536-0.056282 0.047072-0.084934 0.070608-0.294712 0.243547-0.595564 0.479931-0.902556 0.711198-0.01535 0.011256-0.029676 0.022513-0.045025 0.033769-0.311085 0.232291-0.627287 0.458441-0.949628 0.677429-0.019443 0.013303-0.037862 0.025583-0.057305 0.038886-0.309038 0.208754-0.623193 0.411369-0.942465 0.606821-0.045025 0.027629-0.090051 0.054235-0.134053 0.081864-0.288572 0.174985-0.581238 0.343831-0.877997 0.50756-0.090051 0.050142-0.181125 0.098237-0.272199 0.147356-0.25071 0.134053-0.502443 0.265036-0.759293 0.391926-0.156566 0.077771-0.314155 0.151449-0.472767 0.226151-0.194428 0.091074-0.38988 0.182149-0.587378 0.268106-0.239454 0.105401-0.481977 0.204661-0.724501 0.302899-0.12382 0.049119-0.246617 0.100284-0.37146 0.148379-0.334621 0.128937-0.673335 0.249687-1.014096 0.36532-0.042979 0.014326-0.085958 0.029676-0.128937 0.044002-1.6158 0.536212-3.296069 0.915859-5.02034 1.119497-0.01535 0.002047-0.029676 0.004093-0.044002 0.00614-0.309038 0.035816-0.620124 0.062422-0.931209 0.086981-0.132006 0.010233-0.265036 0.025583-0.397043 0.033769-0.174985 0.011256-0.349971 0.01535-0.525979 0.022513-0.270153 0.01228-0.539282 0.024559-0.808412 0.027629-0.054235 0.001023-0.10847-0.001023-0.162706-0.001023-1.696642 0.010233-3.371794-0.149403-5.006014-0.466628-0.065492-0.01228-0.12996-0.027629-0.195451-0.039909-0.331551-0.067538-0.662079-0.13917-0.989537-0.218988-0.148379-0.035816-0.295735-0.075725-0.443092-0.11461-0.234337-0.061398-0.468674-0.124843-0.700965-0.192382-0.224104-0.065492-0.445138-0.135076-0.666172-0.206708-0.149403-0.048095-0.297782-0.096191-0.446162-0.147356-0.286526-0.098237-0.568958-0.201591-0.850367-0.309038-0.079818-0.030699-0.160659-0.061398-0.240477-0.093121-0.330528-0.12996-0.655939-0.267083-0.979304-0.410346-0.033769-0.01535-0.067538-0.029676-0.101307-0.045025-0.355087-0.159636-0.705058-0.325411-1.050935-0.500397-0.008186-0.004093-0.016373-0.008186-0.023536-0.01228-0.360204-0.182149-0.714268-0.372483-1.064238-0.569982-0.004093-0.002047-0.008186-0.005117-0.013303-0.007163-0.344854-0.196475-0.684592-0.399089-1.019213-0.610914-0.020466-0.013303-0.040932-0.025583-0.060375-0.038886-0.313132-0.199545-0.621147-0.404206-0.925069-0.61603-0.050142-0.034792-0.099261-0.070608-0.149403-0.105401-0.268106-0.190335-0.532119-0.38374-0.791016-0.583285-0.091074-0.069585-0.181125-0.141216-0.271176-0.212848-0.212848-0.167822-0.422625-0.337691-0.629333-0.512676-0.137123-0.11461-0.271176-0.232291-0.406253-0.349971-0.154519-0.1361-0.308015-0.272199-0.459464-0.412392-0.179079-0.164752-0.354064-0.332575-0.528026-0.502443-0.102331-0.100284-0.204661-0.199545-0.304945-0.301875-0.211824-0.212848-0.418532-0.430812-0.623193-0.651846-0.059352-0.064468-0.119727-0.128937-0.179079-0.194428-0.231267-0.254803-0.456395-0.515746-0.678452-0.780783-0.031722-0.037862-0.063445-0.075725-0.095167-0.11461-0.23536-0.285502-0.465604-0.577145-0.688685-0.874927-0.01842-0.024559-0.036839-0.048095-0.055259-0.072655-0.226151-0.301875-0.445138-0.60989-0.657986-0.923022-0.019443-0.028653-0.038886-0.057305-0.058328-0.084934-0.202615-0.300852-0.400113-0.606821-0.590448-0.916882-0.032746-0.053212-0.064468-0.105401-0.096191-0.158612-0.169869-0.282433-0.335644-0.567935-0.49528-0.857531-0.053212-0.097214-0.105401-0.194428-0.158612-0.292666-0.130983-0.24457-0.258896-0.490164-0.381693-0.73985-0.080841-0.162706-0.157589-0.326435-0.234337-0.491187-0.088004-0.189312-0.177032-0.378623-0.260943-0.571005-0.107447-0.245593-0.209778-0.493234-0.310062-0.741897-0.047072-0.11768-0.095167-0.234337-0.141216-0.354064-0.130983-0.340761-0.25378-0.684592-0.370437-1.030469-0.013303-0.037862-0.026606-0.075725-0.038886-0.113587-0.180102-0.543376-0.345877-1.092891-0.48914-1.650593L244.22942 305.59939599999996 67.355037 305.59939599999996c-14.128789 0-25.582655-11.453866-25.582655-25.582655s11.453866-25.582655 25.582655-25.582655l191.314257 0c0.867764 0 1.725294 0.044002 2.570545 0.128937 0.828878-0.080841 1.656733-0.1361 2.478448-0.1361 11.218506 0 21.512966 7.439436 24.644283 18.779715l113.358791 410.43686 103.412254-723.884758c0.00921-0.072655 0.021489-0.145309 0.030699-0.217964l0.046049-0.320295c0.002047-0.011256 0.005117-0.021489 0.00614-0.032746 0.109494-0.7552 0.25071-1.502213 0.425695-2.238994 0.01535-0.064468 0.031722-0.12689 0.047072-0.191358 0.166799-0.679475 0.358157-1.350764 0.579191-2.01182 0.041956-0.124843 0.088004-0.24764 0.130983-0.37146 0.210801-0.600681 0.437975-1.194198 0.692778-1.77646 0.068562-0.156566 0.144286-0.309038 0.215918-0.464581 0.223081-0.484024 0.460488-0.961908 0.713244-1.431605 0.106424-0.196475 0.213871-0.390903 0.325411-0.584308 0.265036-0.462534 0.545422-0.914836 0.838088-1.359974 0.088004-0.13303 0.170892-0.268106 0.260943-0.399089 0.354064-0.51677 0.732687-1.016143 1.12359-1.506307 0.078795-0.099261 0.156566-0.198521 0.237407-0.296759 0.420579-0.511653 0.864694-1.004887 1.325182-1.482771 0.051165-0.052189 0.101307-0.105401 0.152473-0.157589 0.494257-0.50449 1.010003-0.989537 1.548262-1.454118 0.00921-0.007163 0.017396-0.014326 0.026606-0.022513 1.636267-1.408069 3.466961-2.620687 5.466502-3.592828 0.075725-0.036839 0.151449-0.074701 0.228197-0.11154 0.576121-0.273223 1.165546-0.525979 1.768273-0.75827 0.158612-0.061398 0.319272-0.118704 0.478907-0.177032 0.558725-0.202615 1.124614-0.393973 1.704828-0.559748 0.005117-0.001023 0.010233-0.002047 0.01535-0.004093 0.278339-0.079818 0.562818-0.13917 0.844228-0.209778 0.394996-0.098237 0.789992-0.194428 1.184989-0.274246 0.283456-0.056282 0.568958-0.103354 0.854461-0.149403 0.445138-0.073678 0.889253-0.134053 1.333368-0.183172 0.229221-0.024559 0.456395-0.052189 0.686638-0.071631 0.710175-0.059352 1.418302-0.099261 2.122337-0.099261 0.337691 0 0.671289 0.027629 1.007957 0.040932 0.276293 0.011256 0.550539 0.013303 0.828878 0.033769 0.401136 0.029676 0.799202 0.079818 1.196245 0.127913 0.191358 0.022513 0.38067 0.033769 0.572028 0.061398 0.069585 0.010233 0.1361 0.024559 0.205685 0.034792 0.232291 0.034792 0.462534 0.075725 0.692778 0.116657 0.463558 0.082888 0.921999 0.176009 1.3743 0.283456 0.109494 0.025583 0.218988 0.047072 0.327458 0.074701 0.582261 0.145309 1.152243 0.316202 1.716084 0.499373 0.098237 0.031722 0.196475 0.063445 0.293689 0.097214 1.90335 0.644683 3.694135 1.50119 5.351891 2.540869 0.014326 0.00921 0.028653 0.01842 0.042979 0.027629 1.089821 0.686638 2.121314 1.452071 3.087315 2.287089 0.083911 0.071631 0.167822 0.143263 0.25071 0.215918 0.424672 0.3776 0.837064 0.76748 1.235131 1.170662 0.12382 0.124843 0.243547 0.254803 0.36532 0.382717 0.317225 0.334621 0.626263 0.677429 0.925069 1.028423 0.155543 0.183172 0.308015 0.36839 0.458441 0.556679 0.26606 0.331551 0.523933 0.670266 0.773619 1.01512 0.130983 0.180102 0.261966 0.35918 0.387833 0.543376 0.294712 0.429789 0.575098 0.86981 0.843204 1.316995 0.099261 0.165776 0.195451 0.334621 0.290619 0.503467 0.283456 0.499373 0.555655 1.004887 0.806365 1.52268 0.031722 0.065492 0.060375 0.13303 0.091074 0.199545 0.276293 0.584308 0.530073 1.178849 0.762363 1.784646 0.00614 0.017396 0.014326 0.034792 0.020466 0.051165 0.251733 0.661056 0.472767 1.336438 0.669242 2.020006 0.002047 0.008186 0.00614 0.016373 0.008186 0.024559l0.061398 0.215918c0.029676 0.106424 0.062422 0.210801 0.090051 0.317225l117.579929 411.527704 79.800487-94.308923c0.070608-0.083911 0.146333-0.161682 0.217964-0.243547 0.190335-0.220011 0.38374-0.436952 0.581238-0.649799 0.134053-0.144286 0.26913-0.285502 0.405229-0.425695 0.164752-0.168846 0.331551-0.335644 0.50142-0.500397 0.164752-0.159636 0.329505-0.319272 0.496304-0.473791 0.138146-0.12689 0.279363-0.25071 0.419556-0.37453 0.198521-0.174985 0.397043-0.350994 0.599657-0.518816 0.081864-0.067538 0.166799-0.132006 0.249687-0.198521 0.817622-0.661056 1.667989-1.264806 2.545986-1.811252 0.098237-0.061398 0.195451-0.125867 0.294712-0.185218 0.228197-0.138146 0.459464-0.267083 0.691755-0.398066 0.157589-0.089028 0.315178-0.178055 0.474814-0.264013 0.200568-0.107447 0.403183-0.208754 0.606821-0.311085 0.202615-0.101307 0.406253-0.201591 0.611937-0.297782 0.173962-0.080841 0.348947-0.159636 0.523933-0.237407 0.245593-0.10847 0.494257-0.212848 0.743944-0.313132 0.144286-0.058328 0.289596-0.115634 0.434905-0.171915 0.291642-0.11154 0.586354-0.216941 0.883113-0.317225 0.11154-0.037862 0.223081-0.076748 0.334621-0.113587 0.337691-0.109494 0.677429-0.210801 1.02126-0.305969 0.078795-0.021489 0.157589-0.046049 0.236384-0.066515 0.376577-0.101307 0.757247-0.193405 1.140986-0.277316 0.050142-0.011256 0.100284-0.023536 0.150426-0.034792 0.405229-0.085958 0.813528-0.162706 1.225921-0.229221 0.031722-0.005117 0.063445-0.01228 0.096191-0.017396 0.412392-0.065492 0.828878-0.12075 1.24741-0.165776 0.032746-0.004093 0.064468-0.00921 0.097214-0.01228 0.382717-0.039909 0.768503-0.068562 1.155313-0.092098 0.068562-0.004093 0.1361-0.01228 0.204661-0.01535 0.25992-0.013303 0.521886-0.01535 0.782829-0.020466 0.188288-0.004093 0.376577-0.01535 0.564865-0.01535 0.008186 0 0.01535 0.001023 0.023536 0.001023l181.208085 0c14.129812 0 25.582655 11.453866 25.582655 25.582655S967.56978 315.668729 953.440991 315.668729z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="ok-circle" unicode="စ" d="M516.152065-63.152063c-60.696384 0-119.594819 11.894911-175.056991 35.353183-53.55473 22.651906-101.646028 55.073316-142.936433 96.364745-41.291428 41.291428-73.712839 89.381703-96.363721 142.936433-23.458271 55.462173-35.353183 114.359584-35.353183 175.055968s11.894911 119.594819 35.353183 175.056991c22.651906 53.55473 55.073316 101.646028 96.363721 142.936433 41.290405 41.291428 89.381703 73.712839 142.936433 96.363721 55.462173 23.458271 114.359584 35.353183 175.056991 35.353183s119.594819-11.894911 175.056991-35.353183c53.55473-22.651906 101.645005-55.073316 142.936433-96.363721 41.291428-41.290405 73.711815-89.38068 96.363721-142.936433 23.459295-55.462173 35.353183-114.359584 35.353183-175.056991 0-60.696384-11.893888-119.593795-35.353183-175.055968-22.651906-53.55473-55.072293-101.645005-96.363721-142.936433s-89.381703-73.712839-142.936433-96.364745C635.747907-51.25715200000002 576.849472-63.152063 516.152065-63.152063zM516.152065 774.870222c-214.115566 0-388.311956-174.196391-388.311956-388.311956s174.196391-388.311956 388.311956-388.311956 388.311956 174.196391 388.311956 388.311956S730.268654 774.870222 516.152065 774.870222zM434.74908 132.830517L209.49278 358.08784 289.087583 437.68162 434.74908 292.020122 743.218594 600.488613 822.812373 520.89381Z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="layim-theme" unicode="" d="M958.830745 538.643056L740.659817 692.753993l-100.539834 0-3.977591-9.332553c-0.37146-0.871857-38.021965-86.8613-124.772748-88.667435-35.691897 0.76441-67.206658 15.500019-93.680613 43.828204-20.658506 22.106484-30.374798 44.584428-30.456662 44.776809l-3.955078 9.393951-100.587929 0L64.518433 538.643056 169.320337 379.756349l89.956801 65.019853-19.016099-368.05254 268.86654 0 4.093225 0 269.866311 0-19.016099 368.051517 89.956801-65.018829L958.830745 538.643056zM730.105437 507.20402l20.655436-399.781172-237.540068 0-4.093225 0L272.587282 107.42284700000005l20.656459 399.781172-115.938546-83.797521-36.3243 55.070246 159.440315 111.641683-19.276019 30.638811L121.066333 508.667348l-14.548344 22.056342 185.921433 131.330094 71.077825 0c5.332449-10.04375 15.433504-26.779923 30.951943-43.580564 32.047904-34.69622 72.256674-53.486168 116.345822-54.411237l0-0.031722c0.203638 0.00307 0.406253 0.01228 0.60989 0.016373 0.203638-0.00307 0.406253-0.013303 0.60989-0.016373l0 0.031722c44.073798 0.925069 84.359316 19.703761 116.566856 54.379515 15.623839 16.821107 25.814945 33.579793 31.188326 43.612287l71.120804 0 185.921433-131.330094-14.548344-22.056342L742.203986 620.7551920000001l-19.276019-30.638811 159.440315-111.641683-36.3243-55.070246L730.105437 507.20402z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="table" unicode="" d="M304.738028 343.684806M729.544153 511.153982M595.52788 637.723655M143.806755 686.614156l0-601.704045L881.172549 84.91011100000003l0 601.704045L143.806755 686.614156zM420.318416 299.80441299999995l0 128.936581 184.341448 0 0-128.936581L420.318416 299.80441299999995zM604.659865 256.825552l0-128.936581L420.318416 127.88897099999997l0 128.936581L604.659865 256.825552zM604.659865 600.656435l0-128.936581L420.318416 471.719854l0 128.936581L604.659865 600.656435zM374.232798 600.656435l0-128.936581L189.89135 471.719854l0 128.936581L374.232798 600.656435zM189.89135 428.740994L374.232798 428.740994l0-128.936581L189.89135 299.80441299999995 189.89135 428.740994zM650.745483 428.740994l184.341448 0 0-128.936581L650.745483 299.80441299999995 650.745483 428.740994zM650.745483 471.719854l0 128.936581 184.341448 0 0-128.936581L650.745483 471.719854zM189.89135 256.825552L374.232798 256.825552l0-128.936581L189.89135 127.88897099999997 189.89135 256.825552zM650.745483 127.88897099999997l0 128.936581 184.341448 0 0-128.936581L650.745483 127.88897099999997z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="right" unicode="" d="M283.648 721.9189759999999L340.873216 780.926976 740.352 383.99795200000005 340.876288-12.925952000000052 283.648 46.07795199999998 619.52 383.99795200000005Z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="left" unicode="" d="M740.352 721.9189759999999L683.126784 780.926976 283.648 383.99795200000005 683.123712-12.925952000000052 740.352 46.07795199999998 404.48 383.99795200000005Z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="cart-simple" unicode="" d="M235.097303 196.866982C247.384597 160.417152 286.382106 132.37606800000003 324.772759 132.37606800000003L861.658537 132.37606800000003 880.429732 132.37606800000003 885.649214 150.54185399999994 1009.08775 580.154957C1021.388907 622.967661 993.187631 660.786325 949.051586 660.786325L424.585365 660.786325C410.791718 660.786325 399.609756 649.5207379999999 399.609756 635.623932 399.609756 621.727125 410.791718 610.461538 424.585365 610.461538L949.051586 610.461538C959.924 610.461538 964.161052 604.779539 961.106394 594.148171L837.667859 164.53506800000002 861.658537 182.70085500000005 324.772759 182.70085500000005C307.742153 182.70085500000005 287.789837 197.04752900000005 282.395194 213.05054900000005L73.600164 832.433664C69.16437 845.592294 54.980454 852.636656 41.919502 848.167687 28.858551 843.698719 21.86648 829.408727 26.302275 816.250097L235.097303 196.866982ZM399.609756-6.017094000000043C399.609756 49.57012899999995 354.881911 94.63247799999999 299.707317 94.63247799999999 244.532723 94.63247799999999 199.804878 49.57012899999995 199.804878-6.017094000000043 199.804878-61.604318000000035 244.532723-106.66666699999996 299.707317-106.66666699999996 354.881911-106.66666699999996 399.609756-61.604318000000035 399.609756-6.017094000000043ZM249.756098-6.017094000000043C249.756098 21.77651800000001 272.120021 44.30769299999997 299.707317 44.30769299999997 327.294613 44.30769299999997 349.658537 21.77651800000001 349.658537-6.017094000000043 349.658537-33.810704999999984 327.294613-56.34187899999995 299.707317-56.34187899999995 272.120021-56.34187899999995 249.756098-33.810704999999984 249.756098-6.017094000000043ZM924.097562-6.017094000000043C924.097562 49.57012899999995 879.369715 94.63247799999999 824.195121 94.63247799999999 769.020529 94.63247799999999 724.292683 49.57012899999995 724.292683-6.017094000000043 724.292683-61.604318000000035 769.020529-106.66666699999996 824.195121-106.66666699999996 879.369715-106.66666699999996 924.097562-61.604318000000035 924.097562-6.017094000000043ZM774.243902-6.017094000000043C774.243902 21.77651800000001 796.607825 44.30769299999997 824.195121 44.30769299999997 851.782419 44.30769299999997 874.146342 21.77651800000001 874.146342-6.017094000000043 874.146342-33.810704999999984 851.782419-56.34187899999995 824.195121-56.34187899999995 796.607825-56.34187899999995 774.243902-33.810704999999984 774.243902-6.017094000000043Z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="face-cry" unicode="" d="M1024 384C1024 666.769792 794.769792 896 512 896 229.230208 896 0 666.769792 0 384 0 101.23020799999995 229.230208-128 512-128 629.410831-128 740.826187-88.33104600000001 830.768465-16.686661999999956 841.557579-8.092490999999995 843.33693 7.620766000000003 834.742758 18.409879000000046 826.148587 29.198990999999978 810.43533 30.978341999999998 799.646219 22.384173000000033 718.470035-42.277495000000044 618.001779-78.04878099999996 512-78.04878099999996 256.817504-78.04878099999996 49.951219 128.81750399999999 49.951219 384 49.951219 639.182496 256.817504 846.048781 512 846.048781 767.182496 846.048781 974.048781 639.182496 974.048781 384 974.048781 296.507166 949.714859 212.66323599999998 904.470807 140.039307 897.177109 128.33175700000004 900.755245 112.92820300000005 912.462793 105.63450699999999 924.170342 98.34080900000004 939.573897 101.91894200000002 946.867595 113.62649199999998 997.013826 194.11920399999997 1024 287.101621 1024 384ZM337.170731 396.487806C371.654852 396.487806 399.609756 424.442709 399.609756 458.926829 399.609756 493.41095 371.654852 521.365854 337.170731 521.365854 302.686611 521.365854 274.731708 493.41095 274.731708 458.926829 274.731708 424.442709 302.686611 396.487806 337.170731 396.487806ZM711.804879 396.487806C746.288998 396.487806 774.243902 424.442709 774.243902 458.926829 774.243902 493.41095 746.288998 521.365854 711.804879 521.365854 677.320757 521.365854 649.365854 493.41095 649.365854 458.926829 649.365854 424.442709 677.320757 396.487806 711.804879 396.487806ZM352.788105 191.21547499999997C396.165222 225.91716899999994 453.151987 246.639629 524.487806 246.639629 595.823622 246.639629 652.810387 225.91716899999994 696.187505 191.21547499999997 722.700531 170.00505399999997 738.882517 148.42907300000002 746.631548 132.931012 752.800254 120.59359800000004 747.799529 105.59142399999996 735.462114 99.42271600000004 723.124702 93.25401 708.122526 98.25473499999998 701.953818 110.59214899999995 701.03616 112.42746499999998 698.492224 116.61747600000001 694.165854 122.38597100000004 686.602473 132.47047699999996 676.927317 142.654852 664.983226 152.21012499999995 630.311565 179.947456 584.273939 196.68840999999998 524.487806 196.68840999999998 464.70167 196.68840999999998 418.664045 179.947456 383.992384 152.21012499999995 372.048292 142.654852 362.373137 132.47047699999996 354.809756 122.38597100000004 350.483386 116.61747600000001 347.93945 112.42746499999998 347.021792 110.59214899999995 340.853084 98.25473499999998 325.850908 93.25401 313.513495 99.42271600000004 301.176081 105.59142399999996 296.175356 120.59359800000004 302.344062 132.931012 310.093092 148.42907300000002 326.275078 170.00505399999997 352.788105 191.21547499999997Z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="face-smile" unicode="" d="M1024 384C1024 666.769792 794.769792 896 512 896 229.230208 896 0 666.769792 0 384 0 101.23020799999995 229.230208-128 512-128 629.410831-128 740.826187-88.33104600000001 830.768465-16.686661999999956 841.557579-8.092490999999995 843.33693 7.620766000000003 834.742758 18.409879000000046 826.148587 29.198990999999978 810.43533 30.978341999999998 799.646219 22.384173000000033 718.470035-42.277495000000044 618.001779-78.04878099999996 512-78.04878099999996 256.817504-78.04878099999996 49.951219 128.81750399999999 49.951219 384 49.951219 639.182496 256.817504 846.048781 512 846.048781 767.182496 846.048781 974.048781 639.182496 974.048781 384 974.048781 296.507166 949.714859 212.66323599999998 904.470807 140.039307 897.177109 128.33175700000004 900.755245 112.92820300000005 912.462793 105.63450699999999 924.170342 98.34080900000004 939.573897 101.91894200000002 946.867595 113.62649199999998 997.013826 194.11920399999997 1024 287.101621 1024 384ZM337.170731 396.487806C371.654852 396.487806 399.609756 424.442709 399.609756 458.926829 399.609756 493.41095 371.654852 521.365854 337.170731 521.365854 302.686611 521.365854 274.731708 493.41095 274.731708 458.926829 274.731708 424.442709 302.686611 396.487806 337.170731 396.487806ZM711.804879 396.487806C746.288998 396.487806 774.243902 424.442709 774.243902 458.926829 774.243902 493.41095 746.288998 521.365854 711.804879 521.365854 677.320757 521.365854 649.365854 493.41095 649.365854 458.926829 649.365854 424.442709 677.320757 396.487806 711.804879 396.487806ZM352.788105 127.22903299999996C396.165222 92.52733899999998 453.151987 71.80487900000003 524.487806 71.80487900000003 595.823622 71.80487900000003 652.810387 92.52733899999998 696.187505 127.22903299999996 722.700531 148.43945399999996 738.882517 170.01543500000002 746.631548 185.51349500000003 752.800254 197.850908 747.799529 212.85308399999997 735.462114 219.021792 723.124702 225.19049800000005 708.122526 220.18977299999995 701.953818 207.85235799999998 701.03616 206.01704299999994 698.492224 201.82703100000003 694.165854 196.058537 686.602473 185.97402899999997 676.927317 175.78965500000004 664.983226 166.23438299999998 630.311565 138.49705200000005 584.273939 121.75609799999995 524.487806 121.75609799999995 464.70167 121.75609799999995 418.664045 138.49705200000005 383.992384 166.23438299999998 372.048292 175.78965500000004 362.373137 185.97402899999997 354.809756 196.058537 350.483386 201.82703100000003 347.93945 206.01704299999994 347.021792 207.85235799999998 340.853084 220.18977299999995 325.850908 225.19049800000005 313.513495 219.021792 301.176081 212.85308399999997 296.175356 197.850908 302.344062 185.51349500000003 310.093092 170.01543500000002 326.275078 148.43945399999996 352.788105 127.22903299999996Z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="survey" unicode="" d="M722.355804 849.454545C761.006291 849.454545 792.380951 818.166023 792.380951 779.627344L792.380951 437.500928 799.081094 453.813218 401.874746 51.22138 418.539682 58.181818 138.070006 58.181818C99.387643 58.181818 68.063492 89.328555 68.063492 127.771428L68.063492 872.727273 44.698413 849.454545 722.355804 849.454545ZM21.333333 896 21.333333 872.727273 21.333333 127.771428C21.333333 63.604277 73.59726 11.636363 138.070006 11.636363L418.539682 11.636363 428.337293 11.636363 435.204619 18.596802 832.410967 421.18864 839.11111 427.979625 839.11111 437.500928 839.11111 779.627344C839.11111 843.859757 786.827324 896 722.355804 896L44.698413 896 21.333333 896ZM775.859347 307.365395 759.337741 290.90909 775.859347 274.452787 869.319663 181.361879 885.841269 164.905574 902.362876 181.361879 972.458114 251.18006 988.979721 267.636363 972.458114 284.092668 878.997796 377.183575 862.47619 393.639878 845.954583 377.183575 775.859347 307.365395ZM845.954583 344.27097 939.414901 251.18006 939.414901 284.092668 869.319663 214.274485 902.362876 214.274485 808.902558 307.365395 808.902558 274.452787 878.997796 344.27097 845.954583 344.27097ZM518.843473 51.365395 513.841133 46.382827 512.453734 39.473248 489.088655-76.890387 482.215251-111.121568 516.58227-104.275332 633.407665-81.002605 640.344663-79.620689 645.347004-74.638121 902.362876 181.361879 918.884482 197.818182 902.362876 214.274485 808.902558 307.365395 792.380951 323.821698 775.859347 307.365395 518.843473 51.365395ZM775.859347 274.452787 869.319663 181.361879 869.319663 214.274485 612.303791-41.725515 624.243127-35.361033 507.41773-58.633758 534.911345-86.018703 558.276425 30.344934 551.886686 18.452787 808.902558 274.452787 775.859347 274.452787ZM426.576706 298.269073C444.201086 298.269073 458.488469 284.053815 458.488469 266.500753L458.488469 258.086116C458.488469 240.540958 444.323959 226.317797 426.576706 226.317797L426.576706 226.317797C408.952326 226.317797 394.664943 240.533054 394.664943 258.086116L394.664943 266.500753C394.664943 284.045911 408.829453 298.269073 426.576706 298.269073L426.576706 298.269073ZM278.349205 552.435127C278.349205 552.435127 280.851125 530.485568 305.477133 530.485568 330.103138 530.485568 331.559155 552.435127 331.559155 552.435127 329.927383 623.508937 362.988497 657.25782 430.67155 653.905282 475.722639 648.839223 499.06407 623.508937 500.624896 577.839917 497.503245 557.501184 480.405116 531.202385 449.969026 499.092521 409.671358 458.489557 389.522524 422.133143 389.522524 390.023279L389.522524 357.093903C389.522524 357.093903 392.614705 337.454532 414.885933 337.454532 437.157161 337.454532 440.249342 357.093903 440.249342 357.093903L440.249342 379.965664C440.249342 406.785969 459.546816 439.044836 498.21271 476.369762 538.652271 513.471183 558.730159 547.369069 558.730159 577.839917 555.395669 662.323878 511.195938 706.353877 425.776235 709.780917 327.515198 711.419936 278.349205 658.971339 278.349205 552.435127Z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="tree" unicode="" d="M962.691679 258.53447400000005c-8.721639 54.163597-34.298154 97.584526-73.089645 133.8638-44.721551 41.825594-99.282191 65.724911-156.512636 84.432994-26.935466 8.80555-54.079686 16.971533-81.129762 25.427112 41.188074 7.485485 81.495082 10.991332 121.872698 12.269441 39.906895 1.26276 79.885422 0.276293 120.633475 0.276293-30.644951 44.233434-74.588789 71.110571-127.260405 84.384899-53.004191 13.357216-103.742782 9.715269-152.261822-32.081673 18.715247 66.336848 12.464893 120.18936-38.810934 160.830989-32.450063 25.719778-77.127611 31.000038-111.319341 14.916734 58.583257-31.127951 82.051761-84.265172 94.304829-145.102772-44.638663 69.056795-110.067838 96.432283-187.710173 86.487793-56.123228-7.187703-110.723777-26.270317-166.003801-40.048111 15.677051-14.358009 31.136138-24.116257 47.932686-27.839045 51.427276-11.399631 103.405091-20.301372 155.098427-30.524201 37.036521-7.323802 75.163887-12.144598 104.448864-40.879036-78.096682 23.458271-155.928329 30.034037-235.541551 9.092076C186.718589 530.20385 104.838743 479.821369 81.996502 429.437865c46.955428 23.955598 95.807043 18.776645 144.606469 17.139356 37.737486-1.266853 76.089979-3.461845 113.238041 1.594311 52.683896 7.170307 104.513332 20.624736 159.209048 31.909757-91.88164-62.077847-186.516997-122.342396-159.194722-259.889075 58.852386 100.205213 163.392324 150.107763 229.951229 238.105956-16.239869-91.498924 6.980995-169.376619 66.432015-237.83785 41.815361-48.152696 89.979314-92.010577 110.706381-156.013263 12.758582 141.877311-25.823132 270.789333-97.911984 396.334677C755.996107 391.809873 858.199837 325.909977 962.691679 258.53447400000005zM513.476631 320.10169099999996c-27.767414-14.065344-39.008432-35.954887-42.252313-64.998363-6.078439-54.437843-15.162328-108.532879-21.799492-162.916487-3.90903-32.026414-5.519714-64.333214-8.16496-96.53052 30.078039 0 55.507198 0 79.961146 0 9.912767 78.200036 19.732413 154.247037 28.913517 230.369761 0.883113 7.322779-0.756223 15.746636-3.705392 22.591531C536.246217 272.25086999999996 524.967336 295.41135899999995 513.476631 320.10169099999996z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="upload-circle" unicode="" d="M512-128c282.768 0 512 229.216 512 512C1024 666.768 794.768 896 512 896 229.216 896 0 666.768 0 384 0 101.21600000000001 229.216-128 512-128zM512 848c256.272 0 464-207.744 464-464 0-256.272-207.728-464-464-464S48 127.72799999999995 48 384C48 640.256 255.728 848 512 848zM377.728 534.544L480 534.544l0-478c0-17.664 14.336-32 32-32s32 14.336 32 32L544 534.544l102.272 0c17.616 0 23.424 11.568 12.944 25.68l-128.128 172.624c-10.496 14.128-27.664 14.128-38.16 0L364.8 560.24C354.32 546.1120000000001 360.128 534.544 377.728 534.544z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="add-circle" unicode="" d="M675.04 412.736l-127.04 0 0 127.264c0 20.064-16.288 36.32-36.32 36.32-20.064 0-36.32-16.192-36.32-36.32l0-127.232-127.072 0c-20.064 0-36.352-16.32-36.352-36.352 0-20.064 16.224-36.352 36.352-36.352l127.072 0 0-127.232c0-20 16.256-36.384 36.32-36.384 20.032 0 36.32 16.256 36.32 36.384l0 127.136 127.04 0c19.968 0 36.352 16.256 36.352 36.384C711.36 396.448 695.136 412.736 675.04 412.736L675.04 412.736zM511.328 830.56c-250.24 0-453.952-203.616-453.952-453.952 0-250.336 203.712-453.952 453.952-453.952 250.336 0 453.984 203.584 453.984 453.952C965.312 626.944 761.696 830.56 511.328 830.56L511.328 830.56zM511.328-20.576000000000022c-219.04 0-397.184 178.176-397.184 397.152 0 219.104 178.144 397.216 397.184 397.216s397.216-178.112 397.216-397.216C908.576 157.63199999999995 730.368-20.576000000000022 511.328-20.576000000000022L511.328-20.576000000000022zM511.328-20.576000000000022" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="download-circle" unicode="" d="M510.771521 828.211081c-244.998947 0-443.597097-198.60429-443.597097-443.590957s198.59815-443.591981 443.597097-443.591981c244.986667 0 443.583794 198.60429 443.583794 443.591981S755.758188 828.211081 510.771521 828.211081zM510.771521-30.044013999999947c-229.010811 0-414.664138 185.65435-414.664138 414.664138 0 229.010811 185.653327 414.657998 414.664138 414.657998 228.996484 0 414.652881-185.647187 414.652881-414.657998C925.424402 155.60931300000004 739.768005-30.044013999999947 510.771521-30.044013999999947zM662.749888 352.39518799999996L537.719266 245.82501100000002l0 324.388065c0 14.887059-12.06478 26.953885-26.947745 26.953885-14.894222 0-26.961048-12.066827-26.961048-26.953885l0-325.410348L357.936647 352.39518799999996c-10.56359 10.599406-27.693736 10.599406-38.267559 0-10.56359-10.596336-10.56359-27.777647 0-38.375006l170.181961-161.220868c5.629207-5.652743 13.111622-8.060583 20.49887-7.680936 7.373944-0.379647 14.859429 2.02717 20.488637 7.680936l170.181961 161.220868c10.562567 10.597359 10.562567 27.77867 0 38.375006C690.443623 362.99561700000004 673.313477 362.99561700000004 662.749888 352.39518799999996z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="templeate-1" unicode="" d="M320 384L106.666667 384c-35.349333 0-64-28.650667-64-64l0-213.333333c0-35.349333 28.650667-64 64-64l213.333333 0c35.349333 0 64 28.650667 64 64L384 320C384 355.349333 355.349333 384 320 384zM256 341.33333300000004l0-256L170.666667 85.33333300000004 170.666667 341.33333300000004 256 341.33333300000004zM85.333333 106.66666699999996L85.333333 320c0 11.754667 9.578667 21.333333 21.333333 21.333333l42.666667 0 0-256L106.666667 85.33333300000004C94.912 85.33333300000004 85.333333 94.91200000000003 85.333333 106.66666699999996zM341.333333 106.66666699999996c0-11.754667-9.578667-21.333333-21.333333-21.333333l-42.666667 0L277.333333 341.33333300000004l42.666667 0c11.754667 0 21.333333-9.578667 21.333333-21.333333L341.333333 106.66666699999996zM576 554.666667L234.666667 554.666667c-47.061333 0-85.333333-38.272-85.333333-85.333333l0-42.666667 42.666667 0 0 42.666667c0 23.530667 19.136 42.666667 42.666667 42.666667l42.666667 0 0-96 21.333333 0L298.666667 512l213.333333 0 0-426.666667-85.333333 0-21.333333-42.666667 170.666667 0c47.061333 0 85.333333 38.272 85.333333 85.333333L661.333333 469.333333C661.333333 516.394667 623.061333 554.666667 576 554.666667zM618.666667 128c0-23.530667-19.136-42.666667-42.666667-42.666667l-42.666667 0L533.333333 512l42.666667 0c23.530667 0 42.666667-19.136 42.666667-42.666667L618.666667 128zM853.333333 42.66666699999996c47.061333 0 85.333333 38.272 85.333333 85.333333L938.666667 640c0 47.061333-38.272 85.333333-85.333333 85.333333L341.333333 725.333333c-47.061333 0-85.333333-38.272-85.333333-85.333333l0-42.666667 42.666667 0 0 42.666667c0 23.530667 19.136 42.666667 42.666667 42.666667l85.333333 0 0-85.333333 21.333333 0 0 85.333333 298.666667 0 0-597.333333-42.666667 0-21.333333-42.666667L853.333333 42.66666699999996zM896 128c0-23.530667-19.136-42.666667-42.666667-42.666667l-85.333333 0L768 682.666667l85.333333 0c23.530667 0 42.666667-19.136 42.666667-42.666667L896 128z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="util" unicode="" d="M282.127566 639.0826059999999c-13.120832-13.221116-30.625508-20.50808-49.278333-20.50808-18.618033 0-36.157501 7.286963-49.311079 20.50808l-32.885991 33.019021 98.623181 99.027387 32.885991-33.019021c13.186324-13.221116 20.473287-30.829146 20.473287-49.548486C302.599829 669.8769589999999 295.347658 652.26893 282.127566 639.0826059999999L282.127566 639.0826059999999zM249.308089 705.0899489999999l-0.032746 0-32.884968-32.987299c4.418636-4.417613 10.252505-6.845918 16.458857-6.845918 6.206352 0 12.041244 2.428306 16.426111 6.813173 4.418636 4.452405 6.845918 10.288321 6.845918 16.493649C256.121262 694.802652 253.693979 700.671313 249.308089 705.0899489999999L249.308089 705.0899489999999zM396.703067 496.343671L249.578242 638.778684l32.278147 33.626865 147.157571-142.468782L396.703067 496.343671 396.703067 496.343671zM751.45979 133.92852400000004L618.131179 274.071332l32.884968 32.985252 133.330658-140.141784L751.45979 133.92852400000004 751.45979 133.92852400000004zM850.184279 67.95597399999997c-22.700001-22.766516-52.481282-34.168194-82.264609-34.168194-29.714765 0-59.395762 11.333116-81.994456 34.033118L538.194592 222.398462l32.884968 33.021068L718.811206 100.806149c27.117614-27.183106 71.269183-27.116591 98.488105 0.169869 27.186176 27.287483 27.117614 71.773673-0.135076 99.196233l-147.426701 154.273642 32.851199 33.021068 147.461493-154.308435C895.447159 187.557956 895.514697 113.421468 850.184279 67.95597399999997L850.184279 67.95597399999997zM801.716404 468.380806c-30.726815-30.860868-71.605851-47.861054-115.082038-47.861054-43.442418 0-84.321454 16.999163-115.082038 47.861054-30.760584 30.861892-47.692209 71.877027-47.692209 115.521037s16.931624 84.691891 47.692209 115.554806l42.497906 42.666752 32.885991-32.986275-42.497906-42.667775c-21.99085-22.090111-34.099632-51.367925-34.065863-82.566484 0-31.163767 12.108782-60.441581 34.065863-82.499969 21.956058-22.058388 51.16531-34.20094 82.196047-34.20094 31.064506 0 60.239989 12.142551 82.196047 34.20094l42.49893 42.665729 32.884968-33.019021L801.716404 468.380806 801.716404 468.380806zM844.214311 511.049604l-49.311079 49.51267-16.45988-16.493649c-17.538445-17.638729-40.879036-27.352975-65.73719-27.352975l-0.032746 0c-24.824385 0-48.198745 9.713222-65.73719 27.352975-17.539468 17.607006-27.252691 41.082674-27.252691 66.007343 0 24.925692 9.679453 48.400337 27.252691 66.040089l16.458857 16.495696-49.344848 49.51267 32.885991 33.021068 82.196047-82.533738-49.311079-49.482995c-8.769734-8.835226-13.626345-20.571525-13.626345-33.051767 0-12.446473 4.856611-24.183795 13.626345-32.987299 8.768711-8.835226 20.439518-13.69286 32.884968-13.69286 12.411681 0 24.082488 4.857635 32.852222 13.69286l49.344848 49.514717 82.196047-82.534761L844.214311 511.049604 844.214311 511.049604zM233.591129 129.139451l0 46.681182 46.512337 0 0-46.681182L233.591129 129.139451 233.591129 129.139451zM538.160823 356.538555l-92.247984 91.572602 32.717146 33.18889 92.214215-91.539856L538.160823 356.538555 538.160823 356.538555zM304.2187 101.04355599999997l173.634596 239.842507 37.641295-27.454282L338.318332 69.23715300000003c-21.923312-22.057365-51.132564-34.20094-82.19707-34.20094-31.028691 0-60.237943 12.143575-82.196047 34.168194-21.958104 22.057365-34.065863 51.335179-34.065863 82.533738 0 31.198559 12.107759 60.476373 34.065863 82.533738l2.765997 2.360767L417.243893 412.054963l27.353998-37.742603L205.596542 200.00340600000004c-12.411681-13.053294-19.224854-30.119995-19.224854-48.26526 0-18.71934 7.252171-36.291554 20.438495-49.513694C232.747925 76.15265599999998 277.775444 75.71263499999998 304.2187 101.04355599999997L304.2187 101.04355599999997z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="face-surprised" unicode="" d="M485.656116-128C221.592397-128 6.762016 86.81718000000001 6.762016 350.87649799999997s214.830381 478.867697 478.8941 478.867697c264.041716 0 478.854495-214.812779 478.854495-478.867697S749.697832-128 485.656116-128zM485.656116 798.834741c-247.024795 0-447.975846-200.959852-447.975846-447.962644 0-247.002792 200.951051-447.962644 447.975846-447.962644 247.002792 0 447.953843 200.959852 447.953843 447.962644C933.609959 597.8748889999999 732.658908 798.834741 485.656116 798.834741zM352.033458 447.380528c0-30.469398-24.682677-55.147675-55.143274-55.147675-30.451796 0-55.143274 24.678276-55.143274 55.147675 0 30.460597 24.691478 55.138874 55.143274 55.138874C327.350781 502.519402 352.033458 477.845526 352.033458 447.380528zM674.417647 502.519402c-30.460597 0-55.156476-24.678276-55.156476-55.138874 0-30.469398 24.695879-55.147675 55.156476-55.147675 30.451796 0 55.143274 24.678276 55.143274 55.147675C729.560922 477.845526 704.869444 502.519402 674.417647 502.519402zM562.005634 165.30976499999997c0-59.733046-34.192262-108.165484-76.349518-108.165484-42.166057 0-76.36272 48.432438-76.36272 108.165484 0 59.724245 34.196663 108.152282 76.36272 108.152282C527.813371 273.45764699999995 562.005634 225.03400999999997 562.005634 165.30976499999997zM835.631745 793.712503c0 0 12.871605 56.819883 41.959231 85.925112 29.083226 29.096427 69.915916 15.124685 78.492585-8.801097 9.461179-26.385689-2.033053-50.069442-29.092027-56.164202C899.404495 808.463141 874.880237 826.192952 835.631745 793.712503zM916.698651 757.570797c0 0 35.767659 20.576965 64.877288 19.393218 29.136032-1.174946 41.431165-29.144833 33.109728-45.110024-9.192746-17.588993-27.054573-22.966463-43.217788-11.797871C954.979023 731.44034 952.453108 752.721393 916.698651 757.570797z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="edit" unicode="" d="M769.089 516.251l-125.896 125.89 62.974 62.947c20.866 20.838 54.652 20.838 75.517 0l50.353-50.351c20.865-20.865 20.865-54.703 0-75.567L769.089 516.251zM403.349 150.52700000000004L277.453 276.418 619.706 615.982 745.601 490.09ZM176.314 47.283000000000015L252.912 251.87699999999995 377.753 127.01199999999994Z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="speaker" unicode="" d="M587.182306 754.7203c-6.003737 2.705622-13.043061 1.642406-17.984606-2.721994l-259.223926-229.293243-148.246369 0c-9.253758 0-16.752546-7.498788-16.752546-16.756639l0-267.886213c0-9.249665 7.498788-16.756639 16.752546-16.756639l144.050814 0c9.253758 0 16.752546 7.506974 16.752546 16.756639L322.530764 490.391099c1.774413 0.704035 3.433192 1.719154 4.892427 3.010567l236.127905 208.861912 0-653.332912-160.751171 137.64287c-2.12643 1.824555-90.300632 78.69941-93.927229 76.162634-4.427846-3.097548-15.768125-17.59882-18.419512-22.512736-0.953721-1.768273-2.196015-1.334391 15.413038-16.379039 25.674753-21.936615 73.780377-61.548798 75.144444-62.717414l10.007935-8.570189 178.388876-152.761196c3.093455-2.653433 6.978948-4.028757 10.900258-4.028757 2.369977 0 4.756327 0.503467 7.003508 1.534959 5.939269 2.738367 9.749038 8.677637 9.749038 15.217586L597.060281 739.446431C597.060281 746.034477 593.190137 752.013655 587.182306 754.7203L587.182306 754.7203zM290.453185 254.814756l-115.040083 0L175.413102 489.195877l115.03906 0 0-234.381122L290.453185 254.814756zM747.742119 375.98444300000006c0-51.55212-34.83232-96.658434-84.702124-109.693308-1.415232-0.375553-2.846838-0.551562-4.245697-0.551562-7.438413 0-14.234189 4.992711-16.200984 12.523221-2.338255 8.949836 3.021823 18.104333 11.967566 20.442588 35.136242 9.18929 59.672054 40.96397 59.672054 77.279061 0 36.307927-24.535813 68.090794-59.672054 77.271898-8.945743 2.346441-14.305821 11.492752-11.967566 20.450774 2.342348 8.953929 11.499915 14.305821 20.446681 11.967566C712.909799 472.643899 747.742119 427.530422 747.742119 375.98444300000006L747.742119 375.98444300000006zM864.950588 375.793084c0-88.87619-48.554856-170.44495-126.718053-212.883505-2.537799-1.375324-5.276167-2.02717-7.982812-2.02717-5.939269 0-11.69946 3.166109-14.733563 8.762571-4.417613 8.134261-1.39886 18.303878 6.727215 22.720468 67.350944 36.566824 109.198028 106.851587 109.198028 183.427636 0 76.844156-42.055838 147.272181-109.741403 183.78784-8.154727 4.396123-11.192923 14.557554-6.795776 22.700001 4.38896 8.142447 14.558577 11.184737 22.701025 6.795776C816.151162 546.697499 864.950588 464.976266 864.950588 375.793084L864.950588 375.793084z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="down" unicode="" d="M888.306 619.94c15.615 15.617 40.93 15.617 56.545 0v0c15.617-15.615 15.617-40.93 0-56.545l-405.733-405.734c-15.615-15.617-40.928-15.617-56.545 0v0c-15.615 15.615-15.615 40.93 0 56.545l405.733 405.734zM538.619 214.20600000000002c15.617-15.615 15.617-40.93 0-56.545v0c-15.615-15.617-40.928-15.617-56.545 0l-405.734 405.734c-15.615 15.615-15.615 40.93 0 56.545v0c15.617 15.617 40.93 15.617 56.547 0l405.732-405.734zM538.619 214.20600000000002z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="file" unicode="" d="M887.443911 598.6304l0-44.578133 0-45.511111 0-477.866667c0-37.705956-30.560711-68.266667-68.266667-68.266667l-614.4 0c-37.705956 0-68.266667 30.560711-68.266667 68.266667l0 705.422222c0 37.6832 30.560711 68.266667 68.266667 68.266667l386.844444 0 45.511111 0 38.024533 0c7.805156 2.594133 16.566044 1.2288 22.778311-5.006222l183.136711-183.159467C885.919289 611.373511 887.876267 604.9564439999999 887.443911 598.6304zM659.888356 531.296711c-12.583822 0-22.755556 10.171733-22.755556 22.755556l0 204.8-45.511111 0-364.088889 0c-25.122133 0-45.511111-20.388978-45.511111-45.511111l0-659.911111c0-25.122133 20.388978-45.511111 45.511111-45.511111l568.888889 0c25.122133 0 45.511111 20.388978 45.511111 45.511111l0 455.111111 0 22.755556L659.888356 531.296711zM682.643911 750.273422l0-173.4656 159.288889 0 0 14.176711L682.643911 750.273422z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="layouts" unicode="" d="M917.213-103.239h-810.426c-23.151 0-41.918 18.766-41.918 41.917l0 698.644c0 23.148 18.767 41.917 41.918 41.917h810.426c23.149 0 41.918-18.769 41.918-41.917v-698.643c0-23.151-18.769-41.918-41.918-41.918zM316.38-61.321h600.833v363.294h-600.833v-363.294zM106.787-61.321h167.674v363.294h-167.674v-363.294zM148.705 637.322c-23.151 0-41.918-18.769-41.918-41.92s18.767-41.92 41.918-41.92 41.92 18.768 41.92 41.92-18.769 41.92-41.92 41.92zM274.461 637.322c-23.151 0-41.918-18.769-41.918-41.92s18.767-41.92 41.918-41.92c23.151 0 41.92 18.768 41.92 41.92s-18.77 41.92-41.92 41.92zM400.216 637.322c-23.15 0-41.918-18.769-41.918-41.92s18.769-41.92 41.918-41.92c23.152 0 41.92 18.768 41.92 41.92s-18.768 41.92-41.92 41.92zM875.293 511.566h-768.506v-167.675h810.426l0 167.675h-41.921z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="rate-half" unicode="" d="M1012.064 504l-359.552 31.008-140.512 331.04-140.512-331.552-359.552-30.496 273.024-236.544-82.016-351.552 309.056 186.528 309.056-186.528-81.504 351.552 272.544 236.544zM512 195.96799999999996l0 465.056 85.504-202.016 219.04-19.008-166.016-144.032 50.016-214.016-188.512 114.016z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="add-circle-fine" unicode="" d="M509.989715-60.972421000000054c-246.734474 0-446.75195 200.023616-446.75195 446.75809 0 246.732427 200.017476 446.75195 446.75195 446.75195 246.733451 0 446.757067-200.019523 446.757067-446.75195C956.746782 139.051195 756.723166-60.972421000000054 509.989715-60.972421000000054L509.989715-60.972421000000054zM509.989715 812.433746c-235.633648 0-426.650123-191.014428-426.650123-426.648077 0-235.639788 191.016475-426.654216 426.650123-426.654216 235.638765 0 426.654216 191.014428 426.654216 426.654216C936.643931 621.419318 745.62848 812.433746 509.989715 812.433746L509.989715 812.433746zM527.863804 153.46957999999995l-35.741016 0L492.122789 367.909533 277.678742 367.909533 277.678742 403.653619l214.443024 0L492.121765 618.0956189999999l35.741016 0L527.862781 403.653619l214.442 0 0-35.744086L527.863804 367.909533 527.863804 153.46957999999995 527.863804 153.46957999999995zM527.863804 153.46957999999995" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="prev-circle" unicode="" d="M508.638018 827.97307c-246.403458 0-446.845649-200.463469-446.845649-446.845649 0-246.382179 200.442191-446.845649 446.845649-446.845649 246.382179 0 446.845649 200.463469 446.845649 446.845649C955.483667 627.5096 755.041476 827.97307 508.638018 827.97307zM508.638018-23.16149900000005c-222.933422 0-404.28892 181.355498-404.28892 404.28892 0 222.933422 181.355498 404.28892 404.28892 404.28892 222.912144 0 404.28892-181.355498 404.28892-404.28892C912.926939 158.19399899999996 731.57144-23.16149900000005 508.638018-23.16149900000005zM252.87208 485.1999c8.639016 26.129831-32.470784 37.215859-41.067243 11.32009-27.810822-83.730363-22.321004-168.545923 14.086277-248.573851 11.362646-24.938243 48.025268-3.298146 36.747735 21.491148C230.976644 339.081373 228.806251 412.853462 252.87208 485.1999zM599.262572 247.73335499999996l-127.627629 133.394065 127.47868 133.223838c9.043305 9.064583 9.022026 23.789211-0.021278 32.832516-8.809243 8.830521-24.087108 8.766686-32.832516 0l-148.310199-148.310199c-4.617405-4.638683-6.979303-11.064749-6.553736-17.746156-0.404289-6.702685 1.936331-13.107472 6.575015-17.788712l148.310199-148.28892c4.383343-4.383343 10.213615-6.787798 16.405619-6.787798 6.170726 0 12.000997 2.404455 16.405619 6.787798C608.156928 224.114371 608.156928 238.83899899999994 599.262572 247.73335499999996z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="read" unicode="" d="M335.282306 712.495464C399.587328 713.451107 442.778899 696.882717 470.183494 669.3706540000001 479.127332 660.39174 485.691302 650.857363 490.241971 641.442689 492.795622 636.159553 494.049041 632.438701 494.358795 631.0740940000001L493.723712 636.7409230000001 493.723706 196.90019600000005C493.723706 199.018106 495.816045 203.920655 503.591595 207.36436700000002 511.039185 210.66283299999998 515.68422 209.16527399999995 517.176538 207.906613L500.671543 188.33763 521.297207 203.50146800000005C514.140179 213.23636899999997 499.631258 225.71450900000002 476.134074 237.35914000000002 439.577969 255.475456 390.86048 266.10507900000005 328.491925 266.10508200000004 265.860796 266.10508200000004 219.424582 255.71817999999996 186.827162 237.741581 164.977332 225.69198700000004 152.538132 212.28117299999997 147.220271 201.30886999999996L170.257196 190.14374199999997 151.035786 207.05224299999998C152.884078 209.15336100000002 158.307299 211.80336599999998 167.849005 208.050434 177.092077 204.41496099999995 179.2 199.20011699999998 179.2 196.66445199999998L179.2 497.049743 179.2 636.7409230000001 175.817447 624.023021C177.078908 626.226721 180.088681 630.807811 184.828724 636.965629 192.95423 647.521524 202.792594 658.127492 214.297641 668.007961 247.526453 696.544681 287.381649 713.209056 334.514421 712.495571L335.282306 712.495464ZM335.289387 763.689705C274.661039 764.607483 223.081402 743.04085 180.940156 706.850184 156.32698 685.712527 139.975514 664.470237 131.382553 649.4588249999999L128 643.549699 128 636.7409230000001 128 497.049743 128 196.66445199999998C128 159.26104999999995 164.542545 144.88818300000003 189.478606 173.23524099999997L191.776657 175.84764199999995 193.294121 178.978613C194.07832 180.59664399999997 199.156367 186.07133399999998 211.552092 192.907243 236.030601 206.40648099999999 274.024879 214.905082 328.491925 214.905082 383.221547 214.905079 424.163878 205.97190999999998 453.399258 191.483569 469.376966 183.56540600000005 477.614626 176.48075300000005 480.045882 173.17379000000005L481.844905 170.72677999999996 484.166551 168.768644C511.279708 145.90070000000003 544.923706 160.801293 544.923706 196.90019600000005L544.923712 636.740922 544.288627 642.407751C540.427211 659.419023 529.175531 682.697124 506.45814 705.503602 468.987716 743.1209699999999 412.352271 764.846461 334.521502 763.689812L335.289387 763.689705ZM0 506.026694L0 27.856867999999963C0-8.875636999999983 34.793167-23.40043300000002 61.4635 1.2485080000000153L63.46242 3.315859000000046C65.301149 5.444836000000009 69.655573 9.862312999999972 76.498228 15.820363000000043 88.306297 26.101906999999983 102.566352 36.46294 119.251411 46.17438500000003 167.295691 74.13829099999998 224.90855 90.95018200000004 292.337329 90.95018200000004 358.378978 90.95018000000005 409.459345 71.66956600000003 448.125308 39.64774 461.506042 28.56627400000002 472.380655 16.734758000000056 480.912593 4.997000999999955 485.832384-1.7713730000000396 488.762874-6.741985999999997 489.872527-9.02252199999998 496.058545-21.73590200000001 511.379537-27.027375000000006 524.092917-20.84135500000002 536.806298-14.655337000000031 542.097771 0.6656550000000152 535.91175 13.379036000000042 527.471002 30.726293000000055 509.777717 55.06771800000001 480.782336 79.08069999999998 433.134118 118.54132300000003 370.586889 142.15017999999998 292.337329 142.15018199999997 215.474895 142.15018499999996 149.074727 122.77408400000002 93.495781 90.424668 59.761154 70.78961500000003 36.872315 50.859801999999945 24.713677 36.78188399999999L44.088049 20.048869999999965 26.712598 38.84923500000002C28.162783 40.189508000000046 32.877261 41.946117999999956 40.792576 38.64178100000004 49.035365 35.200736000000006 51.2 30.12989200000004 51.2 27.856867999999963L51.2 506.026694C51.2 520.165184 39.73849 531.626694 25.6 531.626694 11.46151 531.626694 0 520.165184 0 506.026694L0 506.026694ZM696.80221 763.689812C618.971441 764.846461 562.335996 743.1209699999999 524.86557 705.503602 502.148181 682.697124 490.896501 659.419023 487.035083 642.407751L486.4 636.740922 486.400004 196.90019600000005C486.400006 160.801293 520.044004 145.90070000000003 547.157161 168.768644L549.478807 170.72677999999996 551.27783 173.17379000000005C553.709086 176.48075300000005 561.946746 183.56540600000005 577.924452 191.483569 607.159834 205.97190999999998 648.102165 214.905079 702.831787 214.905082 757.298833 214.905082 795.293111 206.40648099999999 819.77162 192.907243 832.167345 186.07133399999998 837.245391 180.59664399999997 838.029591 178.978613L839.547055 175.84764199999995 841.845105 173.23524099999997C866.781167 144.88818300000003 903.323712 159.26104999999995 903.323712 196.66445199999998L903.323712 497.049743 903.323712 636.7409230000001 903.323712 643.549699 899.941158 649.4588249999999C891.348196 664.470237 874.996732 685.712527 850.383556 706.850184 808.24231 743.04085 756.662673 764.607483 696.034325 763.689705L696.80221 763.689812ZM696.809291 712.495571C743.942063 713.209056 783.797257 696.544681 817.026071 668.007961 828.531119 658.127492 838.369481 647.521524 846.494989 636.965629 851.235031 630.807811 854.244804 626.226721 855.506263 624.023021L852.123712 636.7409230000001 852.123712 497.049743 852.123712 196.66445199999998C852.123712 199.20011699999998 854.231635 204.41496099999995 863.474707 208.050434 873.016412 211.80336599999998 878.439633 209.15336100000002 880.287925 207.05224299999998L861.066515 190.14374199999997 884.103441 201.30886999999996C878.785579 212.28117299999997 866.346381 225.69198700000004 844.49655 237.741581 811.89913 255.71817999999996 765.462916 266.10508200000004 702.831785 266.10508200000004 640.463232 266.10507900000005 591.745741 255.475456 555.189638 237.35914000000002 531.692454 225.71450900000002 517.183533 213.23636899999997 510.026502 203.50146800000005L530.652166 188.33763 514.147172 207.906613C515.63949 209.16527399999995 520.284527 210.66283299999998 527.732117 207.36436700000002 535.507665 203.920655 537.600004 199.018106 537.600004 196.90019600000005L537.6 636.7409230000001 536.964917 631.0740940000001C537.274671 632.438701 538.52809 636.159553 541.081741 641.442689 545.63241 650.857363 552.196378 660.39174 561.140218 669.3706540000001 588.544813 696.882717 631.736384 713.451107 696.041406 712.495464L696.809291 712.495571ZM972.799998 506.026694L972.799998 27.856867999999963C972.799998 30.12989200000004 974.964631 35.200736000000006 983.207422 38.64178100000004 991.122737 41.946117999999956 995.837214 40.189508000000046 997.287401 38.84923500000002L979.911949 20.048869999999965 999.286321 36.78188399999999C987.127682 50.859801999999945 964.238844 70.78961500000003 930.504218 90.424668 874.925269 122.77408400000002 808.525103 142.15018499999996 731.662669 142.15018199999997 653.132708 142.15017999999998 590.55104 117.26282200000003 543.127755 75.73800100000005 514.370099 50.55719499999998 496.945662 25.10259599999995 488.705389 7.022771000000034 482.841769-5.842485000000011 488.517717-21.02524200000005 501.382974-26.888862000000017 514.248233-32.752481999999986 529.430987-27.07653300000004 535.294607-14.211275 536.420563-11.740835999999945 539.350332-6.450639000000024 544.25735 0.7178109999999833 552.731727 13.097653000000037 563.54464 25.561581000000047 576.856734 37.21792900000003 615.190044 70.78337499999998 665.901421 90.95018000000005 731.662669 90.95018200000004 799.091447 90.95018200000004 856.704307 74.13829099999998 904.748587 46.17438500000003 921.433645 36.46294 935.6937 26.101906999999983 947.501771 15.820363000000043 954.344425 9.862312999999972 958.698848 5.444836000000009 960.537577 3.315859000000046L962.536497 1.2485080000000153C989.206831-23.40043300000002 1023.999998-8.875636999999983 1023.999998 27.856867999999963L1023.999998 506.026694C1023.999998 520.165184 1012.538487 531.626694 998.399998 531.626694 984.261508 531.626694 972.799998 520.165184 972.799998 506.026694L972.799998 506.026694Z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="404" unicode="" d="M300.197309 299.705317l4.427931 1.803972c1.147982-2.787956 10.167841-7.543882 26.89558-14.267777l5.411915-12.955798c10.659833-24.927611 23.123639-62.483024 37.555413-112.66624 14.431775 5.575913 34.439462 0.983985 60.351057-13.611787l1.803972-4.427931L389.575913 107.828315l18.203716-42.639334c2.459962-5.575913-12.463805-15.579757-44.7713-29.847534-11.151826 7.215887-19.84369 9.675849-26.403587 7.05189l-0.983985 2.131967c-10.823831 25.419603-16.235746 42.311339-16.399744 50.675208l-4.427931-1.803972 6.3959-14.923767-11.151826-4.263933c-41.655349-16.235746-71.830878-18.695708-90.690583-7.871877l-4.427931-1.803972-1.803972 4.263933c-7.05189 16.727739 3.607944 77.406791 32.307495 182.037156 11.479821 4.427931 19.1877 14.923767 22.959641 31.323511C281.337604 290.685458 291.83344 296.425368 300.197309 299.705317L300.197309 299.705317zM216.230621 80.276746c28.371557 19.515695 40.999359 32.799488 38.047406 39.68738-0.983985 2.131967-0.65599 5.575913 0.65599 10.167841l-0.983985 2.131967c-25.5836-21.483664-38.047406-32.963485-37.391416-34.439462C215.246637 88.804612 215.082639 83.064702 216.230621 80.276746L216.230621 80.276746zM216.722614 72.896861l0.983985-2.131967c11.643818 1.147982 21.155669 3.279949 28.699552 6.231903 0.819987 0.327995 7.379885 5.411915 19.84369 15.251762l-0.983985 2.131967c-7.543882-2.951954-12.7918-0.983985-15.743754 6.067905C226.398463 85.032671 215.574632 75.848815 216.722614 72.896861L216.722614 72.896861zM225.90647 143.743754l11.151826 4.263933c-1.147982-2.623959-6.3959-8.691864-15.579757-18.53171-2.295964-10.823831-2.787956-17.547726-1.639974-20.335682 27.715567 20.663677 40.34337 33.783472 37.883408 39.523382l0.819987 10.331839-3.443946-3.935939-9.019859-3.443946-0.983985 2.131967c11.151826 4.263933 17.875721 16.891736 20.49968 37.719411l-0.983985 2.131967C239.35426 172.443306 227.21845 160.307495 227.874439 157.027546L225.90647 143.743754 225.90647 143.743754zM231.646381 173.42729l0.983985-2.131967 2.131967 0.819987c28.371557 23.123639 40.179372 40.179372 35.423447 51.331198 1.475977 0.65599 1.967969 1.639974 1.475977 2.951954l-2.295964-0.819987c-28.863549-21.647662-40.999359-38.047406-36.407431-49.035234C231.482383 175.723254 230.990391 174.73927 231.646381 173.42729L231.646381 173.42729zM240.994234 211.966688l0.983985-2.131967c13.775785 10.331839 35.915439 29.847534 66.418962 58.21909l2.131967 0.819987-6.3959 14.923767 0.491992 5.083921-2.295964-0.819987c-36.571429-32.963485-55.431134-51.82319-56.579116-56.743113L240.994234 211.966688 240.994234 211.966688zM311.67713 107.336323l-35.751441-13.939782c-1.475977-0.491992-6.887892-4.263933-16.235746-11.315823l0.819987-1.967969 12.299808 2.131967 20.007687 7.871877c11.643818 4.591928 32.143498 19.84369 61.171044 46.08328l-6.3959 14.923767-2.131967-0.819987c-24.107623-16.891736-34.439462-29.191544-31.159513-36.899423C315.449071 110.616272 314.629084 108.484305 311.67713 107.336323L311.67713 107.336323zM267.889814 264.773863l0.819987-1.967969c17.875721 16.891736 27.387572 25.419603 28.207559 25.747598l-0.983985 2.131967-8.855862-3.443946C274.941704 282.485586 268.545804 274.941704 267.889814 264.773863L267.889814 264.773863zM275.597694 222.954516c16.071749-37.883408 20.007687-67.894939 11.971813-90.034593l-3.443946-28.863549 26.89558 10.495836c-7.543882 30.011531-18.367713 65.598975-32.471493 106.926329l-0.983985 2.131967L275.597694 222.954516 275.597694 222.954516zM279.369635 231.810378l6.3959-14.923767c13.44779 15.087764 24.435618 24.271621 32.63549 27.55157l-3.607944 8.527867-2.459962 11.643818-2.131967-0.819987C289.045484 247.06214 278.713645 236.566304 279.369635 231.810378L279.369635 231.810378zM292.817425 194.58296c23.943626 17.219731 33.619475 30.995516 29.191544 41.491352l-2.787956 6.3959-2.295964-0.819987c-21.483664-18.859705-30.667521-31.651505-27.879564-38.3754L292.817425 194.58296 292.817425 194.58296zM294.457399 190.483024l2.787956-6.3959 2.295964-11.807816 2.295964 0.819987-0.491992-5.083921 6.3959-14.923767 32.471493 27.387572-6.3959 15.087764c-9.347854-10.331839-16.235746-16.399744-20.827675-18.203716l-2.295964-0.983985c-0.65599 1.639974 6.067905 10.167841 20.335682 25.419603l-3.115951 13.611787-0.983985 2.131967L294.457399 190.483024 294.457399 190.483024zM307.413197 148.171685l2.787956-6.3959 2.295964-11.643818c23.943626 17.219731 35.259449 27.387572 33.94747 30.503523l-5.411915 12.955798C329.224856 165.719411 318.07303 157.191544 307.413197 148.171685L307.413197 148.171685zM355.792441 131.935939c-23.779628-17.711723-34.111467-30.011531-30.995516-37.227418l1.475977-9.347854c25.255605 18.039718 36.899423 29.355541 34.931454 33.783472 24.435618 21.155669 38.703395 32.471493 42.803331 33.94747l-0.819987 1.967969c-1.803972 2.787956-6.723895 4.099936-14.595772 4.427931l-30.831518-31.9795L355.792441 131.935939 355.792441 131.935939zM327.912876 81.26073l4.591928-10.659833-0.491992-5.083921 2.295964 0.819987c23.451634 14.595772 34.275464 23.615631 32.63549 27.55157l-5.411915 12.955798L327.912876 81.26073 327.912876 81.26073zM333.816784 61.253043l5.411915-12.7918c25.747598 13.283792 37.719411 22.139654 35.915439 26.403587l-4.591928 10.659833C348.412556 70.272902 336.112748 62.237028 333.816784 61.253043L333.816784 61.253043zM357.596413 139.971813l1.803972-4.099936c4.919923 1.967969 8.527867 9.839846 10.823831 23.943626l-2.295964-0.819987C364.648302 147.679693 361.204356 141.44779 357.596413 139.971813L357.596413 139.971813zM731.674568 256.081999l3.935939-0.163997c-0.163997-2.459962 4.755926-9.019859 14.759769-19.515695l-0.65599-11.315823c-1.147982-21.975657-5.411915-53.955157-12.955798-95.774504 12.627803-0.65599 25.911595-10.659833 39.68738-30.175529l-0.163997-3.935939-47.887252-10.823831-1.967969-37.719411c-0.327995-4.919923-14.923767-7.379885-43.951313-7.379885-5.575913 9.019859-11.151826 13.775785-16.891736 13.939782l0.163997 1.967969c1.147982 22.467649 3.279949 36.735426 6.231903 42.967329l-3.935939 0.163997-0.65599-13.119795-9.839846 0.491992c-36.571429 1.803972-60.023062 9.839846-70.026906 24.271621l-3.935939 0.163997 0.163997 3.771941c0.819987 14.759769 30.667521 56.087124 89.706598 124.14606 10.167841-0.491992 19.515695 4.755926 28.371557 15.579757C714.290839 255.754004 724.294683 256.573991 731.674568 256.081999L731.674568 256.081999zM587.848815 115.86419l-0.163997-1.967969c9.019859-2.951954 16.891736-4.591928 23.615631-4.919923 0.65599 0 7.379885 1.475977 20.171685 4.755926l0.163997 1.967969c-6.723895 0.327995-9.839846 3.607944-9.511851 9.675849C599.328635 121.6041 588.012812 118.324151 587.848815 115.86419L587.848815 115.86419zM590.144779 121.440102c28.043562 5.083921 42.147341 10.659833 42.475336 16.727739 0.163997 1.803972 1.475977 4.263933 4.099936 7.215887l0.163997 1.967969c-26.731582-7.379885-40.015375-11.807816-40.179372-13.119795C592.440743 128.163997 590.308776 123.900064 590.144779 121.440102L590.144779 121.440102zM620.15631 165.227418l9.839846-0.491992c-1.803972-1.475977-7.871877-4.427931-18.367713-8.527867-5.575913-7.215887-8.527867-12.13581-8.527867-14.595772 28.043562 6.067905 42.147341 11.643818 42.311339 16.727739l4.263933 7.379885-3.935939-1.803972-8.035874 0.327995 0.163997 1.967969c9.839846-0.491992 19.351698 6.559898 28.863549 21.155669l0.163997 1.967969c-26.23959-7.379885-39.68738-12.463805-40.34337-14.923767L620.15631 165.227418 620.15631 165.227418zM670.667521 109.960282l-31.487508 1.475977c-1.31198 0-6.559898-0.983985-16.071749-2.951954l-0.163997-1.803972 9.839846-2.459962 17.711723-0.819987c10.331839-0.491992 30.995516 4.099936 61.991031 13.939782l0.65599 13.119795-1.803972 0.163997c-23.943626-4.591928-36.079436-10.167841-36.407431-16.891736C674.603459 110.944266 673.29148 109.796284 670.667521 109.960282L670.667521 109.960282zM635.244074 185.399103l-0.163997-1.967969 1.803972-0.163997c29.355541 7.70788 44.279308 16.563741 44.7713 26.23959 1.31198 0 2.131967 0.491992 2.131967 1.639974l-1.967969 0.163997c-29.191544-6.3959-44.115311-14.595772-44.607303-24.271621C635.900064 187.039078 635.244074 186.547085 635.244074 185.399103L635.244074 185.399103zM685.755285 207.37476c-1.803972-33.29148-9.675849-56.907111-23.615631-70.682896l-12.955798-20.171685 23.779628-1.147982c5.247918 24.763613 10.167841 54.611147 14.595772 89.870596l0.163997 1.967969L685.755285 207.37476 685.755285 207.37476zM656.071749 210.818706l-0.163997-1.967969c13.939782 3.115951 37.391416 10.167841 70.354901 21.155669l1.803972-0.163997 0.65599 13.119795 2.295964 3.607944-1.967969 0.163997c-39.03139-12.299808-59.859065-20.007687-62.483024-23.287636L656.071749 210.818706 656.071749 210.818706zM670.339526 68.46893l-0.65599-11.315823c23.943626 1.31198 35.915439 3.935939 36.079436 7.70788l0.491992 9.347854C684.443306 70.272902 672.471493 68.304933 670.339526 68.46893L670.339526 68.46893zM673.29148 85.196669l-0.491992-9.347854-2.295964-3.607944 1.967969-0.163997c22.631646 2.951954 33.94747 6.231903 34.111467 9.511851l0.65599 11.315823L673.29148 85.196669 673.29148 85.196669zM712.158873 113.568225c-23.943626-5.247918-36.079436-10.987828-36.407431-17.219731l-2.295964-7.379885c25.255605 5.083921 37.883408 9.511851 38.211403 13.44779 25.747598 7.543882 40.34337 11.151826 43.951313 10.987828l0.163997 1.803972c-0.327995 2.623959-3.443946 5.247918-9.347854 8.035874l-34.439462-13.44779L712.158873 113.568225 712.158873 113.568225zM682.147341 141.611787l-0.327995-5.73991-2.459962-9.347854c23.943626 4.755926 36.079436 8.691864 36.079436 11.479821l0.65599 11.315823C704.778988 147.351698 693.463165 144.727739 682.147341 141.611787L682.147341 141.611787zM688.051249 177.199231l-0.327995-5.73991-2.623959-9.511851 1.967969-0.163997-2.295964-3.607944-0.65599-13.119795 33.94747 9.511851 0.65599 13.283792c-10.659833-4.591928-18.039718-6.723895-21.975657-6.559898l-1.967969 0.163997c0 1.475977 8.199872 5.411915 24.271621 12.13581l2.623959 11.151826 0.163997 1.967969L688.051249 177.199231 688.051249 177.199231zM688.215247 180.807175c23.943626 4.755926 36.243434 11.807816 36.735426 20.991672l0.327995 5.73991-1.967969 0.163997c-22.631646-6.887892-34.275464-13.283792-34.603459-19.1877L688.215247 180.807175 688.215247 180.807175zM691.82319 212.786675l-0.65599-13.119795c15.415759 6.723895 26.89558 10.003844 34.111467 9.511851l0.327995 7.543882 2.459962 9.511851-1.803972 0.163997C704.450993 220.986547 692.971172 216.558616 691.82319 212.786675L691.82319 212.786675zM695.103139 240.994234l-0.163997-1.803972c19.351698 6.559898 29.355541 9.839846 30.339526 9.839846l0.163997 1.967969-7.871877 0.327995C706.746957 251.818065 699.367072 248.374119 695.103139 240.994234L695.103139 240.994234zM716.422806 118.980141l-0.163997-3.607944c4.427931-0.163997 10.003844 4.427931 16.727739 14.10378l-1.967969 0.163997C724.45868 122.26009 719.538757 118.816143 716.422806 118.980141L716.422806 118.980141zM479.118514 382.196028c53.627162 10.167841 89.870596 1.967969 109.222293-24.599616 9.675849-18.695708 15.579757-33.455477 17.875721-44.279308 11.807816-56.743113-5.903908-103.154388-53.299167-138.741832-12.463805-5.083921-22.631646-8.363869-30.339526-10.003844-31.651505-6.067905-63.631006 5.083921-95.938501 33.455477-9.347854 16.399744-15.251762 31.159513-18.039718 44.279308-13.283792 63.795003 1.967969 108.238309 45.919283 133.165919L479.118514 382.196028 479.118514 382.196028zM410.075593 265.429853c6.231903 5.247918 11.479821 8.199872 15.579757 9.019859-9.675849-9.347854-14.431775-15.087764-13.939782-17.219731-0.327995-5.411915-0.163997-10.167841 0.819987-14.267777l2.131967 0.327995c24.271621 15.743754 35.915439 25.5836 35.095452 29.519539l-2.131967 10.003844c-4.099936-3.607944-8.035874-5.73991-11.643818-6.559898l-0.819987 4.099936c10.823831 2.131967 15.251762 11.971813 13.44779 29.519539l-1.967969-0.327995c-22.467649-16.399744-34.603459-27.715567-36.407431-33.94747C409.255605 273.30173 409.255605 269.857783 410.075593 265.429853L410.075593 265.429853zM410.23959 286.257527c33.127482 21.647662 47.887252 40.34337 44.607303 56.251121-29.683536-23.615631-44.443306-36.079436-44.279308-37.555413C409.747598 295.769379 409.5836 289.537476 410.23959 286.257527L410.23959 286.257527zM412.699552 315.777066l0.491992-2.131967c27.059577 20.663677 44.607303 37.227418 52.643177 49.527226 10.331839 1.967969 17.055734 7.379885 20.49968 16.235746l-2.131967-0.491992C447.303011 372.028187 423.523382 350.872518 412.699552 315.777066L412.699552 315.777066zM414.339526 234.926329c2.459962-4.919923 4.263933-9.347854 5.083921-13.44779 18.859705 14.759769 30.339526 22.467649 34.111467 23.123639l-3.771941 18.039718C444.18706 261.493914 432.379244 252.310058 414.339526 234.926329L414.339526 234.926329zM421.883408 220.002562c2.131967-9.839846 5.247918-14.759769 9.675849-14.759769l27.879564 21.975657c-0.327995 1.147982-2.131967 6.231903-5.411915 15.415759C437.299167 228.530429 426.639334 220.986547 421.883408 220.002562L421.883408 220.002562zM432.707239 199.174888c5.083921-5.903908 8.527867-8.691864 10.495836-8.363869l3.935939 0.819987c10.987828 10.495836 19.1877 16.235746 24.599616 17.219731-0.819987 3.935939-3.935939 8.855862-9.511851 14.759769C442.21909 209.014734 432.379244 200.814862 432.707239 199.174888L432.707239 199.174888zM448.450993 185.563101l0.491992-2.131967c2.459962 0.491992 6.3959-0.819987 11.807816-3.771941 18.859705 10.003844 28.207559 16.727739 28.207559 19.84369-6.067905 1.639974-9.511851 4.427931-10.331839 8.363869C466.818706 202.946829 456.814862 195.566944 448.450993 185.563101L448.450993 185.563101zM469.442665 179.331198l0.491992-2.131967 14.923767 0.65599 12.627803 2.459962c2.459962 0.491992 8.199872 3.771941 17.547726 9.839846l-0.491992 2.131967c-6.887892-1.31198-13.611787 0.163997-20.49968 4.263933L469.442665 179.331198 469.442665 179.331198zM476.494555 249.030109l4.591928-21.811659c2.951954-14.431775 12.463805-25.091608 28.535554-31.9795l4.099936 0.819987c24.599616 34.275464 32.143498 73.798847 22.795644 118.570147l-2.459962 11.971813-6.231903 19.515695-6.067905-1.147982c-3.935939-0.819987-14.267777 0-30.831518 2.295964C473.870596 316.597053 469.278668 283.961563 476.494555 249.030109L476.494555 249.030109zM476.494555 363.172325l0.327995-1.967969c10.823831-2.131967 17.547726-3.115951 20.007687-2.623959 13.939782 10.167841 21.647662 17.875721 23.287636 23.287636l-21.319667-1.967969C496.174247 379.408072 488.630365 373.832159 476.494555 363.172325L476.494555 363.172325zM508.966047 363.172325l3.771941 2.787956c1.147982 0.163997 6.231903-2.951954 15.087764-9.675849 10.331839 13.119795 18.203716 20.171685 23.779628 21.155669-0.65599 2.951954-8.199872 4.263933-22.467649 4.099936C515.361947 370.716208 508.638053 364.648302 508.966047 363.172325L508.966047 363.172325zM511.590006 185.235106l0.491992-2.131967 4.099936 0.819987c19.84369 3.771941 35.751441 17.219731 47.723254 40.34337C554.557335 214.754644 537.173607 201.634849 511.590006 185.235106L511.590006 185.235106zM521.921845 197.534914c38.211403 24.271621 56.087124 42.311339 53.79116 53.79116 1.967969 4.919923 2.623959 8.527867 2.295964 10.823831-35.095452-26.567585-51.495195-44.935298-49.363229-54.939142C526.349776 206.71877 524.217809 203.602819 521.921845 197.534914L521.921845 197.534914zM528.64574 352.348495l7.543882-15.251762 2.131967 0.491992c4.263933 5.73991 13.283792 14.431775 27.059577 25.911595l-0.491992 2.131967c-5.411915 5.247918-8.363869 8.855862-8.855862 10.823831l-4.099936-0.819987L528.64574 352.348495 528.64574 352.348495zM536.845612 333.324792l4.263933-9.675849-0.491992-8.363869 4.099936 0.819987c19.515695 17.711723 29.027546 27.059577 28.863549 28.371557l-0.491992 2.131967c-1.967969 9.347854-4.263933 13.611787-7.05189 13.119795C548.817425 342.508648 539.141576 333.652787 536.845612 333.324792L536.845612 333.324792zM539.797566 236.402306c27.715567 19.84369 40.999359 32.63549 39.68738 38.703395 1.31198 7.215887 1.803972 12.13581 1.147982 14.759769l-1.967969-0.327995-35.095452-29.519539C540.78155 245.586163 539.469571 237.714286 539.797566 236.402306L539.797566 236.402306zM542.257527 307.413197l2.459962-11.971813 10.003844 3.935939c-7.05189-7.871877-10.331839-12.627803-10.003844-14.267777-0.65599-10.495836-0.819987-16.727739-0.327995-18.695708 18.695708 13.611787 30.831518 24.927611 36.243434 33.94747l-2.459962 11.971813c-7.05189-7.05189-12.7918-10.987828-16.727739-11.807816 8.035874 11.315823 13.939782 17.383728 17.711723 18.039718l-4.099936 19.84369C554.557335 320.532992 543.733504 310.201153 542.257527 307.413197L542.257527 307.413197zM307.249199 569.153107c-9.675849 0-17.711723-6.887892-19.84369-16.071749-4.263933-12.463805 1.639974-28.863549 29.519539-35.751441 1.31198 35.587444 0 49.527226 0 49.527226C313.809097 568.33312 310.693145 569.153107 307.249199 569.153107L307.249199 569.153107zM709.862908 537.173607c0-1.147982 0-2.131967-0.163997-3.115951 2.131967 3.279949 3.279949 7.215887 3.279949 11.479821 0 11.643818-9.183857 21.155669-20.49968 21.155669-3.443946 0-6.723895-0.819987-9.511851-2.459962C697.891095 563.905189 709.862908 551.933376 709.862908 537.173607L709.862908 537.173607zM531.761691 520.281871c0.65599 15.743754-32.963485 49.199231-32.963485 49.199231 0-18.203716 9.347854-42.803331 12.463805-48.707239-8.035874-11.643818-13.283792-32.307495-13.283792-32.307495S531.105701 504.374119 531.761691 520.281871L531.761691 520.281871zM488.794363 507.326073c2.459962 0 4.427931 1.967969 4.427931 4.427931 0 2.459962-1.967969 4.427931-4.427931 4.427931-2.459962 0-4.427931-1.967969-4.427931-4.427931C484.366432 509.294042 486.334401 507.326073 488.794363 507.326073L488.794363 507.326073zM445.335042 629.668161c-0.819987 8.855862-2.131967 16.235746-2.131967 16.235746s-53.627162 7.05189-63.959001-30.503523C395.151826 632.94811 427.623318 631.144138 445.335042 629.668161L445.335042 629.668161zM620.648302 614.908392c-9.675849 37.719411-63.303011 31.651505-63.303011 31.651505s-1.475977-7.379885-2.459962-16.235746C572.597053 631.636131 605.232543 632.784113 620.648302 614.908392L620.648302 614.908392zM419.587444 518.313901c29.847534 0 53.955157 21.975657 53.955157 49.035234 0 27.059577-24.271621 49.035234-53.955157 49.035234-29.847534 0-53.955157-21.975657-53.955157-49.035234C365.632287 540.289558 389.903908 518.313901 419.587444 518.313901L419.587444 518.313901zM419.587444 613.76041c28.371557 0 51.331198-20.827675 51.331198-46.411275 0-25.5836-22.959641-46.411275-51.331198-46.411275-28.207559 0-51.331198 20.827675-51.331198 46.411275C368.256246 592.932735 391.379885 613.76041 419.587444 613.76041L419.587444 613.76041zM419.587444 534.38565c20.007687 0 36.243434 14.759769 36.243434 32.799488 0 18.203716-16.235746 32.799488-36.243434 32.799488s-36.243434-14.759769-36.243434-32.799488C383.34401 549.14542 399.579757 534.38565 419.587444 534.38565L419.587444 534.38565zM435.331198 552.261371c1.967969 2.131967 4.919923 2.623959 6.559898 1.147982 1.639974-1.475977 1.475977-4.263933-0.491992-6.3959-1.967969-2.131967-4.919923-2.623959-6.559898-1.147982C433.035234 547.341448 433.199231 550.129404 435.331198 552.261371L435.331198 552.261371zM395.971813 585.880846c5.411915 5.73991 13.283792 7.05189 17.875721 3.115951 4.591928-3.935939 3.935939-11.807816-1.475977-17.547726-5.411915-5.73991-13.283792-7.05189-17.875721-3.115951C389.903908 572.433056 390.559898 580.304933 395.971813 585.880846L395.971813 585.880846zM584.240871 518.313901c29.847534 0 53.955157 21.975657 53.955157 49.035234 0 27.059577-24.271621 49.035234-53.955157 49.035234-29.847534 0-53.955157-21.975657-53.955157-49.035234C530.121717 540.289558 554.393338 518.313901 584.240871 518.313901L584.240871 518.313901zM584.240871 613.76041c28.371557 0 51.331198-20.827675 51.331198-46.411275 0-25.5836-22.959641-46.411275-51.331198-46.411275-28.207559 0-51.331198 20.827675-51.331198 46.411275C532.909673 592.932735 555.869315 613.76041 584.240871 613.76041L584.240871 613.76041zM584.240871 534.38565c20.007687 0 36.243434 14.759769 36.243434 32.799488 0 18.203716-16.235746 32.799488-36.243434 32.799488-20.007687 0-36.243434-14.759769-36.243434-32.799488C547.997438 549.14542 564.233184 534.38565 584.240871 534.38565L584.240871 534.38565zM599.820628 552.261371c1.967969 2.131967 4.919923 2.623959 6.559898 1.147982 1.639974-1.475977 1.475977-4.263933-0.491992-6.3959-1.967969-2.131967-4.919923-2.623959-6.559898-1.147982C597.688661 547.341448 597.852659 550.129404 599.820628 552.261371L599.820628 552.261371zM560.62524 585.880846c5.411915 5.73991 13.283792 7.05189 17.875721 3.115951 4.591928-3.935939 3.935939-11.807816-1.475977-17.547726-5.411915-5.73991-13.283792-7.05189-17.875721-3.115951C554.557335 572.433056 555.213325 580.304933 560.62524 585.880846L560.62524 585.880846zM957.171044 381.540038C957.171044 381.540038 957.171044 381.540038 957.171044 381.540038c-0.65599 0.983985-1.31198 1.803972-1.967969 2.951954-0.327995 0.327995-0.491992 0.65599-0.819987 0.983985-0.327995 0.327995-1.967969 0.65599-2.295964 0.983985-11.315823 14.759769-29.355541 40.34337-62.975016 46.247277l0 34.931454c0 4.263933-0.819987 8.691864-5.083921 8.691864L685.919283 476.330557c-0.163997 10.331839-0.327995 18.203716-0.65599 27.879564 24.435618 1.803972 43.295324 19.351698 43.295324 41.491352 0 22.467649-19.84369 40.671365-45.263293 41.819347-1.967969 78.226778-5.903908 143.98975-7.70788 150.549648l-0.491992 0.983985c-1.967969 2.295964-9.511851 5.247918-21.155669 8.363869 0.327995 13.939782-3.279949 29.355541-11.643818 46.08328 3.443946-21.647662-22.795644-36.079436-26.567585-38.047406-0.163997 0-0.327995 0-0.491992 0 0.163997 4.427931 0 57.727098-88.230621 97.90647-1.475977-44.115311-14.10378-70.682896-31.9795-86.754644L494.534273 766.606022l-5.411915-0.327995 0-0.163997 0 0 0 0 0.327995 0 0.327995-0.163997c-0.819987-0.163997-0.983985-0.491992-1.147982-1.147982-10.331839-8.035874-28.043562-18.203716-64.450993-18.203716-13.283792 0-28.207559 1.31198-44.607303 3.935939-4.099936 0.819987-7.70788 1.147982-11.151826 1.147982-5.575913 0-10.003844-0.983985-16.071749-2.295964l-0.327995 0-0.327995-0.163997c-17.547726-4.099936-27.55157-7.70788-30.011531-10.659833l-0.491992-0.983985c-0.491992-2.131967-2.295964-8.363869-5.73991-150.549648-25.255605-0.983985-45.263293-19.351698-45.263293-41.983344 0-22.139654 18.859705-39.523382 43.459321-41.163357-0.163997-9.675849-0.327995-17.547726-0.65599-27.879564L132.099936 476.002562c-4.427931 0-10.495836-4.591928-10.495836-8.691864l0-97.414478c-11.807816-0.65599-19.679693-2.295964-26.731582-4.755926-29.027546-10.495836-35.751441-35.915439-35.587444-60.023062 0-1.475977 0.491992-2.787956 0.983985-3.771941-6.723895-11.643818-6.231903-25.5836-5.083921-35.587444 0.983985-8.035874 2.623959-12.13581 4.427931-13.939782-4.263933-8.855862-0.983985-18.859705 1.967969-26.731582 3.771941-10.167841 12.13581-11.971813 22.139654-10.003844-4.755926-9.019859-2.459962-17.219731 11.643818-28.699552 4.427931-3.607944 14.267777 7.05189 26.075593 16.071749l0-267.151826c0-4.263933 6.067905-6.067905 10.331839-6.067905l751.928251 0c4.427931 0 5.083921 1.803972 5.083921 6.067905L888.784113 248.374119c16.727739 0.983985 29.355541 7.70788 38.539398 19.84369 4.591928 6.231903 7.871877 11.807816 8.691864 16.891736C977.670724 313.153107 982.262652 344.640615 957.171044 381.540038L957.171044 381.540038zM316.433056 508.638053c-22.959641 0.491992-40.835362 16.727739-40.835362 36.735426 0 20.335682 18.859705 36.899423 41.983344 36.899423l0 2.623959 0.163997-0.65599c0-0.819987 0-1.475977 0-2.295964 0.491992 0.163997 0.983985 0.163997 1.475977 0.327995l1.803972 0 0 0.491992c5.247918 1.31198 12.7918 2.951954 19.351698 3.771941 10.003844 35.095452 34.111467 64.122998 34.111467 64.122998s-9.839846 28.863549-13.939782 67.238949c51.167201-85.11467 229.268418-81.178732 280.107623-10.823831-4.591928-32.799488-12.627803-56.415119-12.627803-56.415119s24.107623-28.863549 34.111467-64.122998c6.559898-0.819987 13.939782-1.147982 19.023703-2.295964 0 0.491992 0 2.623959 0 2.623959l0.491992 0c23.123639 0 41.983344-18.695708 41.983344-39.03139 0-9.347854-3.935939-18.695708-10.495836-25.419603-10.167841-6.723895-25.091608-10.331839-40.835362-10.331839 0-6.723895 0.983985-19.351698 1.803972-35.423447L318.401025 476.658552c0.163997 10.331839 0.491992 19.84369 0.65599 30.175529l0 2.131967L316.433056 508.638053 316.433056 508.638053zM126.524023 462.554773c0 4.099936 6.3959 9.183857 10.823831 9.183857l741.432415 0c4.263933 0 5.575913-4.919923 5.575913-9.183857l0-29.027546c0 0.491992-6.723895 1.475977-10.823831 1.147982-22.795644-2.295964-44.443306-3.607944-60.679052-9.183857L176.215247 425.491352l-1.31198-2.787956 0-60.18706c-10.823831 5.903908-25.5836 8.363869-48.215247 7.871877L126.68802 462.554773 126.524023 462.554773zM821.381166-13.693786 180.807175-13.693786 180.807175 282.649584c10.823831 4.263933 15.579757 10.987828 15.087764 21.975657-0.491992 8.363869-4.263933 13.611787-15.087764 16.727739l0 7.379885c5.903908 1.967969 3.935939 4.263933 5.247918 6.723895 5.411915 10.495836 5.575913 18.203716-5.247918 23.779628l0 55.759129 615.318386 0c-2.787956-5.575913-4.755926-7.871877-5.575913-12.299808-1.475977-8.035874-1.639974-18.367713-1.147982-28.207559L697.891095 315.449071c0 0-28.371557-15.251762-16.727739-32.799488 11.643818-17.383728 32.307495-11.479821 50.511211-0.327995 12.13581 7.379885 39.68738 23.287636 63.959001 40.179372 0.163997-0.163997 0.327995-0.163997 0.491992-0.327995-1.803972-1.31198-2.951954-2.295964-2.951954-2.295964-11.151826-7.543882-6.887892-36.899423 15.415759-41.327354 3.115951-0.65599 9.675849 0 9.675849 1.147982l0-293.391416L821.381166-13.693786 821.381166-13.693786zM177.855221 271.169763c0 3.443946-2.131967 6.231903-4.755926 8.035874 1.639974 0.491992 3.771941 0.983985 4.755926 1.475977L177.855221 271.169763 177.855221 271.169763zM177.855221 322.828956c-0.983985 0.163997-1.639974 0.327995-2.459962 0.491992 0.819987 0.491992 1.475977 0.983985 2.459962 1.475977L177.855221 322.828956 177.855221 322.828956zM878.780269-65.516976 137.347854-65.516976c-4.263933 0-10.823831 2.131967-10.823831 6.3959L126.524023 206.882767c5.903908 1.147982 4.919923 2.295964 6.723895 3.279949 19.679693 8.035874 38.047406 25.255605 25.747598 33.127482-0.163997 0-1.475977 0.163997-1.639974 0.163997 9.511851 3.771941 17.547726 9.839846 17.547726 20.663677l0-289.29148 655.169763 2.459962 0 291.915439c9.839846-9.675849 21.647662-14.595772 34.603459-10.331839 3.279949-6.559898 13.611787-9.839846 19.515695-10.331839l0-307.495195C884.192184-63.38501 883.044202-65.516976 878.780269-65.516976L878.780269-65.516976zM878.780269-65.516976" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="carousel" unicode="" d="M1002.069333 144.38400000000001L1002.069333 611.6906670000001c0 24.213333-16.917333 49.578667-42.069333 49.578667l-64 0 1.152 6.4c0 31.338667-26.005333 57.6-58.538667 57.6L186.432 725.269333c-31.936 0-58.410667-31.957333-58.410667-64l-0.213333 0.96L67.178667 662.229333c-25.152 0-45.226667-20.288-45.226667-44.501333l0-467.328L21.354667 150.39999999999998c0-24.789333 20.629333-44.693333 45.312-44.693333L127.786667 105.70666700000004l0-5.184C127.786667 69.03466700000001 153.792 42.66666699999996 186.432 42.66666699999996l652.842667 0c31.658667 0 56.277333 10.901333 56.725333 42.602667l64 0c24.661333 0 42.666667 34.325333 42.666667 59.114667L1002.069333 144.38400000000001zM128 149.26933299999996L64 149.26933299999996l0 469.333333 64 0L128 149.26933299999996zM853.333333 106.602667c0-6.421333-14.848-21.333333-21.333333-21.333333l-640 0c-6.485333 0-21.333333 14.848-21.333333 21.333333l0 554.666667c0 6.378667 9.258667 18.56 15.744 18.56l5.589333 2.773333 640 0c6.442667 0 21.333333-14.954667 21.333333-21.333333L853.333333 106.602667zM960 127.93600000000004l-64 0 0 490.666667 60.842667 1.984c4.970667 0 3.157333 2.944 3.157333-1.984l0-469.333333C960 144.29866700000002 965.013333 127.93600000000004 960 127.93600000000004zM412.458667 399.829333c43.925333 0 79.637333 34.773333 79.637333 77.482667 0 42.752-35.712 77.482667-79.637333 77.482667-43.925333 0-79.637333-34.730667-79.637333-77.482667C332.8 434.602667 368.533333 399.829333 412.458667 399.829333zM412.458667 516.0533330000001c21.952 0 39.829333-17.365333 39.829333-38.741333 0-21.333333-17.877333-38.741333-39.829333-38.741333-21.952 0-39.829333 17.408-39.829333 38.741333C372.629333 498.709333 390.506667 516.0533330000001 412.458667 516.0533330000001zM785.92 457.386667c-95.914667-23.338667-137.728-87.765333-168.256-134.805333-24.213333-37.269333-39.082667-58.346667-65.109333-58.346667l-0.042667 0c-35.456 0-57.109333 14.272-80.042667 28.16-24.362667 14.741333-49.536 29.952-88.64 29.952-75.648 0-156.906667-93.269333-165.930667-103.893333L213.333333 167.38133300000004c0-10.709333 8.917333-18.112 19.925333-18.112l557.504 0c10.986667 0 19.904 7.402667 19.904 18.112L810.666667 438.570667c0 5.973333-2.837333 11.626667-7.658667 15.296C798.186667 457.536 791.872 458.858667 785.92 457.386667zM770.858667 188.52266699999996L253.162667 188.52266699999996c24.874667 27.733333 85.290667 95.082667 130.666667 95.082667 27.733333 0 46.229333-11.157333 67.605333-24.128 25.152-15.168 53.632-32.426667 99.712-33.941333l2.944-0.064c47.637333 0 71.722667 37.12 97.237333 76.416 26.645333 41.088 56.469333 79.104 119.530667 102.485333L770.858667 188.52266699999996z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="help" unicode="" d="M690.2 741.8C635.2 783.6 573.2 798 494.6 798c-59.6 0-110.6-12.2-151-39.4C284 718 256 649.8 256 542l153.6 0c0 28.8-2.8 59.8 14 86.4 16.8 26.6 40.2 47 80.4 47 40.8 0 61.8-11.8 81.6-36.2 16.8-20.8 23.2-45.6 23.2-72 0-22.8-11.6-43.8-25.4-62.8-7.6-11.2-17.6-21.2-30.2-30.8 0 0-83-49.4-112.2-96.2-21.8-34.8-29.6-78.4-31.4-130.6-0.2-3.8 1.2-11.6 14.4-11.6 13 0 112 0 123.6 0 11.6 0 14 8.8 14.2 12.4 0.8 19 3.2 48.2 6.6 59.2 6.6 20.8 19.4 39 39.4 54.6l41.4 28.6c37.4 29.2 67.2 53 80.4 71.8 22.6 30.8 38.4 68.8 38.4 113.8C768 649 741 703.2 690.2 741.8zM484 155.6c-51.8 1.6-94.6-34.4-96.4-90.6-1.6-56.4 39-93.4 91-95 54-1.6 95.8 33.2 97.4 89.4C577.6 115.6 538 154 484 155.6z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="code-circle" unicode="" d="M513.544163 893.525741c-282.101629 0-510.78094-228.679311-510.78094-510.76288 0-282.083569 228.679311-510.76288 510.78094-510.76288s510.76288 228.679311 510.76288 510.76288C1024.325103 664.8464309999999 795.645793 893.525741 513.544163 893.525741zM513.544163-83.46335899999997c-257.503523 0-466.22622 208.740757-466.22622 466.22622S256.0587 848.989082 513.544163 848.989082s466.22622-208.740757 466.22622-466.22622S771.047686-83.46335899999997 513.544163-83.46335899999997zM171.771357 359.77212099999997L414.357086 256.088033 414.357086 300.805295 221.978945 380.50532599999997 414.357086 459.464886 414.357086 504.182148 171.771357 401.76228ZM442.585309 193.38272800000004L478.814238 193.38272800000004 584.737801 572.1429949999999 548.743656 572.1429949999999ZM612.749301 504.182148L612.749301 459.464886 804.874598 380.50532599999997 612.749301 300.805295 612.749301 256.088033 855.33503 359.77212099999997 855.33503 401.76228Z" horiz-adv-x="1025" />
+
+
+ <glyph glyph-name="water" unicode="" d="M862.315763 33.684211000000005C802.869868 33.684211000000005 754.526289 82.94399999999996 754.526289 143.50371900000005 754.526289 162.33094700000004 759.35885 180.96056099999998 768.520956 197.43438600000002 768.64671 197.79368399999998 768.808394 198.15298199999995 769.006008 198.49431600000003L849.075622 334.542596 849.057657 334.542596 862.315763 357.052632 875.573868 334.542596 875.573868 334.542596 955.140464 199.356632C955.715341 198.67396499999995 956.164464 197.865544 956.380043 196.96729800000003 965.380464 180.60126300000002 970.123201 162.151298 970.105236 143.50371900000005 970.105236 82.94399999999996 921.761657 33.684211000000005 862.315763 33.684211000000005L862.315763 33.684211000000005ZM924.33064 188.57768399999998C924.204885 188.79326300000002 924.115061 189.02680699999996 924.025236 189.27831600000002L862.315763 302.996211 800.606289 189.260351C800.516464 189.02680699999996 800.42664 188.79326300000002 800.300885 188.57768399999998 793.977236 176.505263 790.635763 162.81600000000003 790.635763 148.965053 790.635763 105.29235100000005 822.792956 69.75775399999998 862.333727 69.75775399999998 901.856534 69.75775399999998 933.995763 105.29235100000005 933.995763 148.98301800000002 933.995763 162.81600000000003 930.654289 176.52322800000002 924.33064 188.57768399999998L924.33064 188.57768399999998ZM682.684605 392.982456C593.50678 392.982456 520.982429 469.602807 520.982429 563.8108070000001 520.982429 593.093614 528.240254 622.071018 541.965447 647.706947 542.163061 648.281825 542.396605 648.820772 542.684043 649.341754L662.815412 860.968421 662.797447 860.968421 682.684605 896 702.571763 860.968421 702.535833 860.968421 821.89471 650.689123C822.774991 649.647158 823.439692 648.3716489999999 823.781026 646.970386 837.25471 621.514105 844.368815 592.8241399999999 844.35085 563.8108070000001 844.35085 469.602807 771.844464 392.982456 682.684605 392.982456L682.684605 392.982456ZM791.408254 630.1192980000001C791.21064 630.4965609999999 791.030991 630.891789 790.887271 631.322947L682.684605 823.924772 574.446008 631.287018C574.320254 630.891789 574.140605 630.4965609999999 573.942991 630.1013330000001 562.840675 609.6931930000001 556.912254 596.075789 556.912254 572.631579 556.912254 498.634105 613.375973 428.876351 682.684605 428.876351 751.993236 428.876351 808.367131 489.058807 808.367131 563.056281 808.367131 586.500491 802.492605 609.6931930000001 791.408254 630.1192980000001L791.408254 630.1192980000001ZM538.695833 276.983018C540.115061 275.330246 541.174991 273.33614 541.713938 271.12645599999996 563.433517 231.11859600000003 574.895131 186.02666699999997 574.895131 140.43171900000004 574.895131-7.581192999999985 458.051341-128 314.403903-128 170.738499-128 53.89471-7.581192999999985 53.89471 140.43171900000004 53.89471 186.47578899999996 65.589868 231.998877 87.704675 272.294175 88.010078 273.17445599999996 88.387341 274.01880700000004 88.872394 274.863158L282.408394 607.411649 282.372464 607.411649 314.403903 662.45614 346.453306 607.411649 346.399412 607.411649 538.695833 276.983018 538.695833 276.983018ZM314.403903 590.614456L119.807973 257.79649099999995C119.556464 257.113825 119.251061 256.449123 118.873798 255.78442099999995 98.932745 220.48336800000004 88.387341 180.42161399999998 88.387341 139.91073700000004 88.387341 12.072420999999963 189.799271-91.89052600000002 314.421868-91.89052600000002 439.026499-91.89052600000002 540.420464 12.072420999999963 540.402499 139.91073700000004 540.402499 180.42161399999998 529.857096 220.50133300000005 509.916043 255.78442099999995 509.53878 256.449123 509.233377 257.131789 508.963903 257.86835099999996L314.403903 590.614456 314.403903 590.614456Z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="username" unicode="" d="M514.594 824.888c-144.11 0-260.979-118.46-260.979-264.558 0-88.783 43.497-166.928 109.711-214.898-135.361-59.354-230.159-195.858-230.159-354.931h0.894c1.541-21.375 18.641-38.377 40.117-38.377s38.575 17.051 40.117 38.377h0.645c0 0.944-0.099 1.79-0.099 2.734 0 0.05 0 0.099 0 0.149 0 0.099-0.05 0.149-0.05 0.199 0.05 159.967 120 291.054 273.009 304.924 8.948-0.944 17.598-2.734 26.844-2.734 144.11 0 260.979 118.46 260.979 264.558s-116.919 264.558-261.029 264.558zM514.594 377.54499999999996c-99.769 0-180.698 81.972-180.698 183.183s80.879 183.183 180.698 183.183c99.719 0 180.647-81.972 180.647-183.183s-80.879-183.183-180.647-183.183zM896.021-6.615000000000009c0 0.348-0.199 0.645-0.199 0.994-1.043 105.038-43.397 200.034-111.35 269.131v0c-7.157 7.357-17.001 11.98-27.986 11.98-21.574 0-39.122-17.747-39.122-39.668 0-11.135 4.573-21.127 11.83-28.334l-0.099-0.05c52.742-55.229 85.302-130.589 85.302-213.853 0-1.043-0.149-1.987-0.149-3.034h0.994c1.491-21.375 18.691-38.377 40.117-38.377 21.475 0 38.575 17.051 40.117 38.377h0.597c0 0.796-0.099 1.491-0.099 2.287-0.05 0.149 0.05 0.348 0.05 0.547z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="find-fill" unicode="" d="M512 896C229.236364 896 0 666.763636 0 384c0-282.786909 229.236364-512 512-512s512 229.213091 512 512C1024 666.763636 794.763636 896 512 896zM657.291636 383.976727c0-77.195636-60.392727-139.729455-136.424727-144.407273l-175.732364-151.714909-22.877091 13.242182 58.228364 222.021818c-8.634182 18.548364-13.800727 39.074909-13.800727 60.858182 0 77.195636 60.369455 139.729455 136.378182 144.430545l175.802182 151.714909 22.877091-13.172364-58.251636-222.068364C652.125091 426.309818 657.291636 405.806545 657.291636 383.976727zM512 384m-66.048 0a2.838 2.838 0 1 1 132.096 0 2.838 2.838 0 1 1-132.096 0Z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="about" unicode="" d="M514.27174 834.607768c-249.516844 0-451.789687-202.272843-451.789687-451.789687s202.272843-451.789687 451.789687-451.789687 451.789687 202.272843 451.789687 451.789687S763.788583 834.607768 514.27174 834.607768zM514.27174-20.12919999999997c-222.541469 0-402.947282 180.405813-402.947282 402.947282s180.405813 402.947282 402.947282 402.947282 402.947282-180.405813 402.947282-402.947282S736.814232-20.12919999999997 514.27174-20.12919999999997zM514.295276 593.979362c-9.44614-10.360975-14.307867-22.951735-14.307867-37.483706 0-11.960403 3.886517-22.396079 11.534707-30.457686 7.783267-8.211009 17.853623-12.450567 29.313629-12.450567 9.312086 0 23.139 2.849908 35.782971 16.900925 9.865695 10.641361 14.866592 23.437805 14.866592 37.693484 0 11.68104-4.031826 21.900799-11.744485 29.832446C562.925856 615.325529 532.358677 613.449809 514.295276 593.979362zM549.461193 293.282882c-12.110829-11.541871-20.589944-18.759249-26.236548-23.316032 2.77009 14.953573 9.976212 44.614104 27.330462 103.023398 17.297968 57.890478 18.799158 67.991534 18.799158 72.955592 0 8.65717-3.63683 16.335037-9.921977 21.642926-14.124695 11.661597-39.035038 9.349949-69.131497-7.677866-16.779152-9.408277-34.595936-24.759917-54.493102-46.576805l-10.377348-11.541871 34.425044-26.548656 8.818853 8.715499c9.573029 9.292644 16.086373 15.35164 20.411889 19.393699-26.294876-86.460164-39.093367-140.190903-39.093367-164.262134 0-10.907421 3.172249-19.970844 9.573029-26.839275 6.460132-7.039323 15.510252-10.736529 25.891693-10.736529 10.146081 0 21.792329 3.926426 35.922141 11.949146 12.741185 7.212262 31.883151 23.029506 58.641585 48.190559l10.837836 10.391674-31.30703 30.475082L549.461193 293.282882z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="location" unicode="" d="M451.673935-98.39569900000004C478.883834-129.01914699999998 524.254807-128.8089789999999 551.400292-97.92885100000001 553.755808-95.38790800000004 558.821323-89.79676199999994 565.872444-81.84834999999998 577.572838-68.65901699999995 590.597131-53.62432000000001 604.615947-36.99831500000005 644.662065 10.495494000000008 684.708678 61.282182000000034 722.129538 113.35355300000003 759.658524 165.575381 792.492213 216.29072599999995 819.314991 264.54153799999995 868.685946 353.35368300000005 896 430.456574 896 493.714285 896 715.890551 719.301715 896 501.333333 896 283.364952 896 106.666667 715.890551 106.666667 493.714285 106.666667 430.401284 134.05152 353.19426999999996 183.54613 264.23737800000004 210.371803 216.02347099999997 243.193308 165.34812399999998 280.699364 113.16684599999996 318.155192 61.05544999999995 358.239268 10.22578999999996 398.322835-37.31103099999996 412.354743-53.95207300000004 425.391185-69.00072999999998 437.102468-82.20257900000001 444.160087-90.15846599999998 449.230214-95.75492099999997 451.982775-98.73670600000003L451.673935-98.39569900000004ZM486.822684-65.32134799999994C484.281231-62.568254000000024 479.425084-57.207989 472.585916-49.49835900000005 461.135889-36.591016999999965 448.364015-21.84776099999999 434.602351-5.527214999999956 395.275714 41.11192700000004 355.949587 90.98045200000001 319.289224 141.985137 282.808749 192.739548 250.983685 241.87642200000005 225.158316 288.29247799999996 179.388826 370.55419500000005 154.50505 440.709839 154.50505 493.714285 154.50505 688.960095 309.785362 847.238095 501.333333 847.238095 692.881306 847.238095 848.161617 688.960095 848.161617 493.714285 848.161617 440.753978 823.345286 370.701737 777.693969 288.58074899999997 751.873483 242.13293399999998 720.038415 192.96007499999996 683.537446 142.16873799999996 646.912604 91.20503299999996 607.624538 41.38032599999997 568.335977-5.21503800000005 554.587654-21.52024300000005 541.828177-36.24924999999996 530.389289-49.14379699999995 523.556841-56.84571100000005 518.705521-62.20043499999997 516.166694-64.95052599999997 507.543772-74.74891100000002 495.255793-74.80583000000001 487.131524-65.66235300000005L486.822684-65.32134799999994ZM714.955981 428.971194C723.919106 453.372045 728.565658 479.331002 728.565658 505.904762 728.565658 627.091817 632.184774 725.333333 513.29293 725.333333 394.401086 725.333333 298.020202 627.091817 298.020202 505.904762 298.020202 384.717709 394.401086 286.47619 513.29293 286.47619 549.003859 286.47619 583.510052 295.36805300000003 614.373097 312.125591 626.032316 318.456132 630.449257 333.22218 624.238611 345.10648100000003 618.027966 356.99078199999997 603.541579 361.49299399999995 591.882359 355.16245100000003 567.900883 342.14136099999996 541.111735 335.23809500000004 513.29293 335.23809500000004 420.821495 335.23809500000004 345.858586 411.648164 345.858586 505.904762 345.858586 600.161359 420.821495 676.571428 513.29293 676.571428 605.764365 676.571428 680.727273 600.161359 680.727273 505.904762 680.727273 485.192019 677.117041 465.022684 670.154965 446.069408 665.522846 433.459117 671.796821 419.408892 684.168282 414.687349 696.53974 409.965809 710.323861 416.360905 714.955981 428.971194L714.955981 428.971194Z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="up" unicode="" d="M513.6 539.2l384-384c12.8-12.8 32-12.8 44.8 0 12.801 12.8 12.801 32 0 44.8l-403.2 403.2C532.8 609.6 520 616 513.6 616c-6.4 0-19.2 0-25.599-6.4L78.399 200c-12.8-12.8-12.8-32 0-44.8s32-12.8 44.8 0L513.6 539.2z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="pause" unicode="" d="M512-128c-282.714 0-511.893 229.232-511.893 512 0 282.768 229.179 512 511.893 512 282.714 0 511.893-229.232 511.893-512 0-282.768-229.179-512-511.893-512zM512 863.996c-265.043 0-479.9-214.91-479.9-479.996 0-265.097 214.857-479.996 479.9-479.996 265.043 0 479.9 214.899 479.9 479.996 0 265.086-214.857 479.996-479.9 479.996zM639.973 181.32299999999998h-21.329c-23.558 0-42.658 19.1-42.658 42.658v319.933c0 23.558 19.1 42.658 42.658 42.658h21.329c23.558 0 42.658-19.1 42.658-42.658v-319.933c0-23.558-19.1-42.658-42.658-42.658zM405.356 181.32299999999998h-21.329c-23.558 0-42.658 19.1-42.658 42.658v319.933c0 23.558 19.1 42.658 42.658 42.658h21.329c23.558 0 42.658-19.1 42.658-42.658v-319.933c0-23.558-19.1-42.658-42.658-42.658z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="date" unicode="" d="M933.185668 758.3591759999999l-167.054737 0 0 56.506968L732.333174 814.866145l0-56.506968L539.505447 758.3591759999999l0 56.506968-33.796734 0 0-56.506968-216.255299 0 0 56.506968-33.796734 0 0-56.506968L88.005356 758.3591759999999c-12.255115 0-22.224164-9.970072-22.224164-22.224164l0-706.60521c0-12.255115 9.970072-22.225187 22.224164-22.225187l845.179288 0c12.255115 0 22.225187 9.970072 22.225187 22.225187L955.409832 736.135012C955.409832 748.389104 945.43976 758.3591759999999 933.185668 758.3591759999999zM939.036933 29.528778999999986c0-3.226484-2.62478-5.852288-5.852288-5.852288l-845.179288 0c-3.226484 0-5.851265 2.62478-5.851265 5.852288L82.154092 736.135012c0 3.226484 2.62478 5.851265 5.851265 5.851265l167.650301 0 0-55.657624 33.796734 0 0 55.657624 216.255299 0 0-55.657624 33.796734 0 0 55.657624L732.333174 741.986277l0-55.657624 33.796734 0 0 55.657624 167.054737 0c3.226484 0 5.852288-2.62478 5.852288-5.851265L939.036933 29.528778999999986zM206.835765 608.260623l129.098263 0 0-94.008071-129.098263 0 0 94.008071ZM458.879152 608.260623l129.098263 0 0-94.008071-129.098263 0 0 94.008071ZM684.827207 608.260623l129.098263 0 0-94.008071-129.098263 0 0 94.008071ZM206.835765 433.345871l129.098263 0 0-94.008071-129.098263 0 0 94.008071ZM458.879152 433.345871l129.098263 0 0-94.008071-129.098263 0 0 94.008071ZM684.827207 433.345871l129.098263 0 0-94.008071-129.098263 0 0 94.008071ZM206.835765 257.877511l129.098263 0 0-94.008071-129.098263 0 0 94.008071ZM458.879152 257.877511l129.098263 0 0-94.008071-129.098263 0 0 94.008071ZM684.827207 257.877511l129.098263 0 0-94.008071-129.098263 0 0 94.008071Z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="layim-uploadfile" unicode="" d="M914.7359263333336 663.0359498888887c-20.806884999999987 20.806885000000012-48.471967999999976 32.265868000000026-77.89816099999994 32.265868000000054l-352.221993 2.2737367544323206e-13-120.26099099999992 95.03035300000005-11.157106999999995 8.816806000000007-14.220886 9.769962616701378e-15L197.09333633333344 799.148976888889c-51.69538300000001 2.1316282072803006e-14-93.75224400000005-42.88778599999995-93.75224400000006-95.60442799999993l-1.5631940186722204e-13-255.13888799999998c-1.7763568394002505e-15-2.302439 0.08391099999999785-4.716417999999999 0.24968699999999489-7.196911999999999l-1.9895196601282805e-13-340.692403c-1.9539925233402755e-14-29.426192999999998 11.458982999999954-57.09127599999999 32.26586799999994-77.89816100000002 20.806884999999987-20.806885000000012 48.471967999999976-32.265868000000026 77.89816099999994-32.265868000000054l623.083981-3.410605131648481e-13c29.426192999999998-1.9539925233402755e-14 57.09127599999999 11.458982999999954 77.89816100000002 32.26586799999994 20.806885000000012 20.806884999999987 32.265868000000026 48.471967999999976 32.265868000000054 77.89816099999994L947.0028173333335 585.1377888888885C947.0017943333336 614.5639818888885 935.5428113333334 642.2280418888886 914.7359263333336 663.0359498888887zM197.09333633333372 758.2167298888891l141.88345099999998-8.526512829121202e-14L470.3948853333333 654.369569888889l366.44287999999995-2.2737367544323206e-13c38.236859-2.1316282072803006e-14 69.23178099999997-30.99492100000004 69.23178099999994-69.23178100000004L906.0695463333333 465.9195468888886 144.27334033333327 465.91954688888893 144.2733403333336 703.5445488888892C144.2733403333336 733.7361748888891 167.92296933333355 758.2167298888891 197.09333633333372 758.2167298888891zM836.8377653333331 31.28558888888881L213.75480733333322 31.28558888888915c-38.236859 2.1316282072803006e-14-69.23178099999997 30.99492100000004-69.23178099999994 69.23178100000004L144.52302633333338 424.4776928888892l761.546519-6.252776074688882e-13-2.2737367544323206e-13-323.96134599999993C906.0695463333333 62.28050988888867 875.0746243333334 31.285588888888583 836.8377653333331 31.28558888888881z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="delete" unicode="" d="M738.923 24.288h-451.956c-27.2 0-49.327 21.603-49.327 48.157v418.017c0 26.548 22.129 48.147 49.327 48.147h451.956c27.2 0 49.327-21.598 49.327-48.147v-418.017c0-26.555-22.129-48.157-49.327-48.157zM286.966 494.547c-4.447 0-7.168-2.644-7.168-4.084v-418.017c0-1.443 2.722-4.093 7.168-4.093h451.956c4.448 0 7.168 2.651 7.168 4.093v418.017c0 1.44-2.722 4.084-7.168 4.084h-451.956zM832.199 496.302h-640.401c-27.201 0-49.327 20.131-49.327 44.876v61.045c0 24.74 22.128 44.867 49.327 44.867h640.401c27.2 0 49.327-20.127 49.327-44.867v-61.045c0-24.744-22.129-44.876-49.327-44.876zM184.631 541.327c0.387-0.733 2.722-2.866 7.168-2.866h640.401c4.445 0 6.782 2.132 7.168 2.867v60.741c-0.393 0.736-2.733 2.863-7.168 2.863h-640.401c-4.437 0-6.776-2.128-7.168-2.863v-60.742zM600.748 605.354h-174.546c-27.201 0-49.327 20.13-49.327 44.876v10.736c0 24.74 22.128 44.867 49.327 44.867h174.546c27.2 0 49.327-20.126 49.327-44.867v-10.736c0-24.745-22.128-44.876-49.327-44.876zM419.034 650.378c0.387-0.733 2.722-2.865 7.168-2.865h174.546c4.446 0 6.782 2.131 7.168 2.865v10.432c-0.393 0.736-2.734 2.862-7.168 2.862h-174.546c-4.437 0-6.776-2.126-7.168-2.862v-10.432zM404.099 430.833h-30.097c-7.297 0-13.213-5.916-13.213-13.213v-272.34c0-7.297 5.916-13.212 13.213-13.212h30.098c7.297 0 13.212 5.916 13.212 13.212v272.341c0 7.297-5.916 13.213-13.212 13.213zM659.583 430.833h-30.097c-7.298 0-13.213-5.916-13.213-13.213v-272.34c0-7.297 5.917-13.212 13.213-13.212h30.097c7.297 0 13.212 5.916 13.212 13.212v272.341c0 7.297-5.916 13.213-13.212 13.213zM531.841 430.833h-30.098c-7.297 0-13.213-5.916-13.213-13.213v-272.34c0-7.297 5.917-13.212 13.213-13.212h30.098c7.297 0 13.212 5.916 13.212 13.212v272.341c0 7.297-5.916 13.213-13.212 13.213z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="play" unicode="" d="M512 896C229.376 896 0 666.624 0 384 0 101.37599999999998 229.376-128 512-128 794.624-128 1024 101.37599999999998 1024 384 1024 666.624 794.624 896 512 896L512 896 512 896zM512-95.23199999999997C245.76-95.23199999999997 32.768 117.75999999999999 32.768 384 32.768 650.24 245.76 863.232 512 863.232S991.232 650.24 991.232 384C991.232 117.75999999999999 778.24-95.23199999999997 512-95.23199999999997L512-95.23199999999997 512-95.23199999999997zM733.184 392.192L393.216 588.8c-4.096 4.096-8.192 4.096-12.288 0C376.832 588.8 372.736 584.704 372.736 580.608l0-393.216c0-4.096 4.096-8.192 4.096-8.192 4.096-4.096 8.192-4.096 12.288 0l344.064 196.608c4.096 4.096 4.096 4.096 4.096 8.192C741.376 388.096 737.28 392.192 733.184 392.192L733.184 392.192 733.184 392.192zM733.184 392.192" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="top" unicode="" d="M812 153.4l-300 172.8-300-172.8 300 604L812 153.4zM264.5 209.2l247.5 142.5 247.5-142.5L512 707.5 264.5 209.2zM371.7 138.3l0-126.2-15.9 0 0 126.2-45.9 0L309.9 153l107.4 0 0-14.8L371.7 138.2zM506.6 154.5c26.6 0 43.3-3.9 50-11.7 6.7-7.8 10-27.2 10-58.3 0-33.5-3.2-54.2-9.6-62-6.4-7.8-23.2-11.8-50.4-11.8-27 0-43.8 3.9-50.3 11.7-6.5 7.8-9.8 27.9-9.8 60.3l0 9.9 0.2 13.3c0 18.7 4.2 31.5 12.6 38.4C467.8 151 483.5 154.5 506.6 154.5zM506.5 141c-22.3 0-35.3-2.5-39.1-7.4-3.8-5-5.7-22-5.7-51 0-29.1 1.9-46.1 5.7-51.1 3.8-5 16.8-7.4 39.1-7.4 22.4 0 35.4 2.5 39.2 7.4 3.8 5 5.7 22 5.7 51.1l0 9.2-0.1 13.3c0 15.6-2.6 25.4-7.8 29.6S525.9 141 506.5 141zM608.4 12.1 608.4 153l59.2 0 5.4 0c15.9 0 26.7-3.1 32.5-9.2 5.8-6.1 8.7-17.6 8.7-34.4 0-16.1-3-27.1-9-32.9-6-5.9-17.3-8.8-33.9-8.8l-6.2-0.1-40.7 0 0-55.5L608.4 12.1zM624.3 81.1l37.7 0c15.8 0 25.9 1.6 30.3 4.9 4.4 3.2 6.7 10.7 6.7 22.3 0 13.6-1.5 22.2-4.5 25.9-3 3.6-10.1 5.4-21.3 5.4l-6.1 0.1-42.7 0L624.4 81.1z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="friends" unicode="" d="M672.02974 765.933689c7.66047-32.266891 8.420787-62.237483 7.713682-95.365998-0.283456-12.778024-7.291057-71.832002-5.3918-89.926102 1.561565-14.936177 5.132904-16.128329 10.759041-28.436656 9.803273-21.422915 6.51846-50.970882 2.76088-72.566736-2.056845-11.816117-6.404873-28.64541-13.017478-38.287001-7.291057-10.645454-21.864984-10.711969-28.319999-23.12365-9.29469-17.848507-4.045129-42.930765-9.903557-62.21497-6.65763-21.883403-23.599488-23.420409-24.877597-52.040237 8.316409-1.243317 16.59598-2.479471 24.877597-3.722788 8.316409-18.498306 23.533996-55.70265 39.08518-66.900689 13.024641-3.728928 26.048259-7.448646 39.07904-11.156084 45.641503-19.593244 96.365768-43.032072 142.108578-63.215764 41.656749-18.381649 91.51325-24.937972 106.575294-70.629617 0-31.026644 2.795673-104.309694 2.025123-144.978952L58.155515-56.631556000000046c-0.757247 40.669258 2.029216 113.952308 2.029216 144.978952 15.065114 45.691645 64.928778 52.247968 106.578364 70.629617 45.74281 20.182668 96.467075 43.62252 142.098345 63.215764 13.027711 3.707438 26.054399 7.427156 39.08211 11.156084 15.554254 11.197016 30.78105 48.402383 39.09439 66.900689l18.492166 4.710278c-4.196579 24.429389-18.658965 26.322505-24.682146 43.62559-2.356674 26.013467-4.729721 52.052516-7.095605 78.079286 0.107447-1.234107-17.006326 3.246951-19.252483 4.716418-24.130583 15.838733-24.618701 80.075757-26.941606 106.793258-1.063215 12.222369 15.163351 22.240537 10.654664 44.62536-26.433022 131.125433 11.437493 219.776496 71.330582 240.123916 41.564651 17.633612 119.167077 50.323129 191.563944 3.716648l17.971303-17.428951 29.061896-5.237281C662.71663 795.172617 672.02974 765.933689 672.02974 765.933689z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="refresh-3" unicode="" d="M820.376904 697.14807C740.637816 774.519228 631.884926 822.157201 511.999488 822.157201c-244.621347 0-442.925808-198.305485-442.925808-442.926832 0-244.6193 198.304462-442.925808 442.925808-442.925808 206.075449 0 379.271046 140.739395 428.740738 331.337337L822.859445 267.64189899999997c-45.759183-127.45381-167.656441-218.623229-310.859957-218.623229-182.371584 0-330.210677 147.842163-330.210677 330.210677 0 182.371584 147.840116 330.2117 330.210677 330.2117 88.762603 0 169.32443-35.035958 228.655723-92.015693L557.051567 433.822732l280.641725 0 113.880677 0 3.351328 0L954.925297 831.695438 820.376904 697.14807z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="ok" unicode="" d="M960 640L915.2 684.8 371.2 172.79999999999995 108.8 454.4 64 409.6 358.4 83.20000000000005 364.8 89.60000000000002 371.2 83.20000000000005Z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="layer" unicode="" d="M96.089 724.318l0-684.236 831.822 0L927.911 724.318 96.089 724.318zM884.178 84.457L140.464 84.457 140.464 489.559l743.714 0L884.178 84.457z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="face-smile-fine" unicode="" d="M511.558443 852.9315573333333c-246.787686 0-447.597201-200.783932-447.597201-447.598224 0-246.815315 200.783932-447.598224 447.597201-447.598224 246.841921 0 447.64939 200.782909 447.64939 447.598224C959.207833 652.1476253333334 758.400365 852.9315573333333 511.558443 852.9315573333333zM511.558443-4.962310666666667c-226.247884 0-410.295644 184.046736-410.295644 410.295644 0 226.249931 184.072319 410.296667 410.295644 410.296667 226.27449 0 410.346809-184.046736 410.346809-410.296667C921.905252 179.08442633333334 737.832933-4.962310666666667 511.558443-4.962310666666667zM724.38055 303.5726953333334c-9.698896 3.457752-20.366863-1.566682-23.848151-11.264555-28.500101-79.45461-104.372116-132.844587-188.82353-132.844587-84.798315 0-160.770614 53.689806-189.070146 133.590578-3.432169 9.723455-14.075577 14.772448-23.823592 11.364839-9.699919-3.432169-14.797008-14.100136-11.364839-23.823592 33.547047-94.77248 123.668601-158.434405 224.234017-158.434405 100.142791 0 190.140525 63.314001 223.935212 157.564595C739.125369 289.3978573333334 734.102982 300.0903843333334 724.38055 303.5726953333334zM302.49494 515.3479593333334c0-24.653493 19.98517-44.638663 44.638663-44.638663 24.653493 0 44.638663 19.98517 44.638663 44.638663s-19.98517 44.63764-44.638663 44.63764C322.48011 559.9855993333333 302.49494 540.0014523333333 302.49494 515.3479593333334L302.49494 515.3479593333334zM631.398856 515.3479593333334c0-24.653493 19.98517-44.638663 44.63764-44.638663 24.653493 0 44.63764 19.98517 44.63764 44.638663s-19.984147 44.63764-44.63764 44.63764C651.384026 559.9855993333333 631.398856 540.0014523333333 631.398856 515.3479593333334L631.398856 515.3479593333334z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="dollar" unicode="" d="M517.565-65.45399999999995c-244.263 0-442.299 198.014-442.299 442.299s198.014 442.299 442.299 442.299c244.263 0 442.299-198.014 442.299-442.299 0-244.263-198.014-442.299-442.299-442.299zM517.565 863.383c-268.751 0-486.564-217.834-486.564-486.564s217.834-486.564 486.564-486.564c268.751 0 486.564 217.834 486.564 486.564 0 268.751-217.834 486.564-486.564 486.564zM497.036 425.349c-18.443 6.957-33.605 16.314-45.238 27.617-11.581 11.306-20.059 23.465-25.468 36.742-5.423 13.177-8.178 26.235-8.178 39.172-0.004 18.194 2.564 34.357 7.846 48.514 5.327 14.231 13.748 25.85 25.468 35.02 11.581 9.167 26.798 15.204 45.482 18.295v-205.52zM534.455 356.13199999999995c16.937-6.756 32.277-14.997 46.035-24.855 13.748-9.678 24.613-21.601 32.929-35.57 8.204-13.909 12.436-30.734 12.622-50.307 0-14.231-1.859-27.907-5.785-40.833-3.858-12.866-9.542-24.531-17.271-34.804-7.691-10.211-17.271-18.443-28.678-24.613-11.328-6.318-24.613-9.678-39.76-10.341v221.377zM534.455 94.18299999999999c29.037 3.318 53.978 11.306 74.785 24.134 20.985 12.866 37.018 30.15 48.281 51.734 11.125 21.535 16.876 46.832 16.937 76.196 0 16.08-1.67 30.377-5.033 42.985-3.318 12.622-8.204 24.15-14.836 34.357-6.739 10.341-14.836 20.189-24.613 29.326-8.853 8.204-19.107 15.957-30.659 23.041-11.328 7.197-22.836 13.706-34.281 19.261-11.581 5.694-21.601 10.516-30.659 14.231v221.377c14.527-3.318 26.662-8.594 36.62-16.192 9.859-7.395 17.766-16.192 23.776-26.384 5.941-10.211 10.341-20.985 12.972-32.345 2.666-11.328 4.026-22.836 3.858-34.097h46.155c0.004 16.314-1.566 32.345-5.327 48.281-3.543 15.957-9.938 30.909-19.107 44.969-8.996 13.909-21.601 26.235-37.684 36.742-16.192 10.521-36.62 18.295-61.318 23.562v49.426h-37.441v-53.316c-23.465-2.624-42.985-8.178-58.595-16.314-15.633-8.204-28.279-18.194-37.684-29.562-9.441-11.328-16.523-23.302-21.226-35.317-4.59-12.062-7.846-23.302-9.316-33.326-1.566-10.211-2.256-18.194-2.115-24.029 0.004-21.601 3.452-40.612 9.863-57.238 6.479-16.523 15.58-30.909 27.178-43.441 11.659-12.436 25.361-23.562 40.833-33.204 15.633-9.678 32.649-18.443 51.098-26.235v-237.329c-18.194 1.984-33.326 7.197-45.094 15.633-11.97 8.369-21.074 19.107-27.714 31.902-6.739 12.972-11.011 27.178-13.363 42.701-2.256 15.58-3.034 31.313-2.115 47.367h-47.803c-1.183-23.776 0.397-46.035 5.033-66.676s12.357-39.03 23.376-55.019c10.892-16.08 25.361-29.037 43.142-39.03 17.847-9.863 39.472-16.08 64.586-18.295v-65.283h37.441v65.283z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="group" unicode="" d="M1383.17753-39.75895700000001L1380.048488-13.938771999999972 1373.005994 17.35852699999998 1362.834458 47.090445000000045 1348.751189 77.605053 1334.667921 101.07716700000003 1315.107539 123.76659099999995 1293.199086 141.76331100000004 1262.684478 158.97562200000004 1240.777745 169.147158 1211.828518 176.18965200000002 1182.87757 183.23042599999997 1157.840075 192.61927200000002 1126.544497 207.48523 1101.507002 219.22214799999995 1070.992393 233.30541600000004 1047.52028 246.607714 1047.52028 329.54366300000004 1057.690095 341.280581 1067.080661 356.92751 1074.121435 372.57615899999996 1079.598549 392.136541 1085.858352 415.610375 1088.204704 433.605376 1091.595216 432.822685 1098.37624 433.866846 1103.593603 438.040048 1109.330466 447.428894 1112.982449 458.3814 1115.06905 471.943448 1117.676871 496.459723 1118.719312 517.324016 1117.676871 535.059266 1114.024889 546.0134929999999 1106.722645 550.186695 1102.549442 549.142535 1106.201425 572.614649 1109.330466 600.782906 1110.374627 626.341621 1109.851687 646.684693 1106.722645 665.4623839999999 1100.984061 683.718855 1093.160597 700.409945 1082.20637 719.189356 1069.688483 734.838006 1055.082274 746.8346730000001 1036.304583 758.83134 1012.832469 769.785566 993.010617 775.00121 969.017283 779.174412 945.543448 779.695632 921.550114 775.52243 898.599221 767.698965 878.256148 759.35256 860.520898 747.877113 844.089558 733.2726250000001 828.440908 716.058594 814.35764 695.715522 804.186104 673.8087889999999 797.92802 648.771294 797.14533 616.691305 800.274372 586.959387 804.186104 548.621314 795.579949 548.621314 790.102836 541.57882 788.539175 529.060933 790.102836 499.329015 794.014568 464.902674 797.14533 447.688644 802.622443 438.299798 812.793979 432.822685 819.052063 433.605376 822.965515 406.221529 826.877248 389.790189 833.137051 371.79346899999996 841.743207 353.79846799999996 851.914743 339.7152 859.738207 329.54366300000004 858.955517 245.04233299999999 867.267518 242.13003600000002 878.734364 238.975192 891.063029 234.389141 902.817148 229.80137100000002 913.712888 225.78814699999998 923.459535 220.91310299999998 935.215374 216.03977999999995 948.116866 208.58615799999995 961.018358 201.13081599999998 971.625104 193.38992099999996 985.386695 183.06872699999997 997.142535 172.174708 1008.323827 158.41311700000006 1020.077947 143.21860000000004 1032.549389 125.72933699999999 1043.300632 105.086951 1052.476173 82.72436500000003 1060.502621 62.08197800000005 1066.093267 42.72974099999999 1069.963715 22.517404000000056 1073.834162-0.27523199999995995 1076.41446-26.93831499999999 1076.84451-45.000403000000006 1075.984411-61.12726799999996 1072.328988-73.59870999999998 1065.377664-87.28805299999999 1057.277248-96.391345 1042.440532-103.91721500000006 1351.099261-103.91721500000006 1365.182529-96.87472100000002 1376.136756-85.92221500000005 1383.17753-74.18529799999999 1384.742911-59.319339000000014ZM438.650719 816.389195L421.44873 797.467007 405.96694 775.104421 394.785647 751.021637 387.904851 723.498455 387.044752 688.234377 390.48515 655.550598 394.785647 613.4057250000001 385.324553 613.4057250000001 379.303857 605.6648299999999 377.583658 591.903239 379.303857 559.21946 383.604354 521.375084 387.044752 502.452896 393.065448 492.131703 404.246741 486.111007 411.127537 486.971106 415.428034 456.867625 419.728531 438.805537 426.609327 419.02325 436.070421 399.240962 447.251713 383.75917200000004 455.852708 372.57787900000005 454.992609 279.687139 440.370918 270.226045 405.96694 253.88415499999996 370.702863 238.40236500000003 342.319581 224.64077399999996 319.956995 215.17967999999996 295.014111 207.43878500000005 269.211128 202.278188 244.268244 196.25749199999996 218.46526 185.07619899999997 194.382475 173.034807 172.879989 157.55301699999995 148.797205 133.470232 131.595216 108.52734799999996 118.693724 84.44456400000001 108.372531 58.641579999999976 98.051337 29.398198999999977 92.89074 6.175514000000021 88.590243-13.606772999999976 86.009945-36.829458000000045 86.009945-57.47184500000003 89.450343-78.11423200000002 99.771536-91.87582299999997 115.253326-102.19701699999996 135.035613-103.91721500000006 995.995162-103.91721500000006 1011.476952-96.17632000000003 1023.518344-84.13492799999995 1031.259239-71.23343599999998 1032.979438-54.891546999999946 1031.259239-33.38906099999997 1027.818842-5.005778999999961 1020.077947 29.398198999999977 1008.896654 62.08197800000005 993.414864 95.625857 977.933074 121.42884000000004 956.430587 146.37172399999997 932.347803 166.15401199999997 898.803924 185.07619899999997 874.72114 196.25749199999996 842.89746 203.99838699999998 811.07378 211.739282 783.550598 222.060476 749.14662 238.40236500000003 721.623438 251.303857 688.079559 266.78564700000004 662.276576 281.407338 662.276576 372.57787900000005 673.457869 385.479371 683.779062 402.68136 691.519957 419.883349 697.540653 441.385835 704.421449 467.188819 707.001747 486.971106 710.729418 486.111007 718.18304 487.258379 723.916463 491.84443 730.224432 502.165623 734.237656 514.207015 736.532402 529.1159789999999 739.398253 556.066335 740.545626 579.001747 739.398253 598.496761 735.385029 610.538153 727.356861 615.1259239999999 722.77081 613.9785509999999 726.784034 639.7815350000001 730.224432 670.7451149999999 731.371805 698.842844 730.797258 721.205429 727.356861 741.847816 721.050611 761.915656 712.449617 780.265018 700.408225 800.907405 686.646634 818.109394 670.590297 831.2981589999999 649.94791 844.485204 624.144927 856.526596 602.356888 862.261739 575.979358 866.847789 550.176374 867.422336 523.800564 862.834565 498.570407 854.233571 476.207822 845.05975 456.712807 832.443811Z" horiz-adv-x="1449" />
+
+
+ <glyph glyph-name="layim-download" unicode="" d="M186.888458 77.07363199999998l0 581.729108c14.85022-14.450107 35.050284-23.436782 57.359382-23.436782l560.03604 0 0-151.561881 25.029046 0 0 176.591951-585.065086 0c-31.191396 0-57.359382 26.166963-57.359382 57.359382 0 31.191396 26.165939 57.359382 57.359382 57.359382l572.551074 0L816.798914 800.143838 244.24784 800.143838c-45.431725 0-82.388429-36.957727-82.388429-82.388429l0-640.681778c0-41.796942 34.000372-75.789127 75.789127-75.789127l225.950102 0 0 25.029046L237.648538 26.31355099999996C209.661114 26.31355099999996 186.888458 49.078021000000035 186.888458 77.07363199999998zM236.947574 730.269421l560.38601 0 0-25.029046-560.38601 0 0 25.029046ZM686.086897 428.171012c-85.917812 0-164.908864-55.248302-194.553021-135.882783-30.013571-81.641415-4.269233-175.567621 62.624293-230.942813 67.00302-55.465243 164.474982-62.808488 238.931764-17.720593 74.094532 44.868907 113.272833 133.533272 96.080266 218.517829C869.882923 357.47283300000004 783.297916 428.171012 686.086897 428.171012zM686.086897 38.82858599999997c-75.595722 0-145.060817 48.634674-171.092703 119.595842-26.354228 71.839165-3.63069 154.438395 55.287187 203.074092 59.017138 48.718585 144.762011 55.029314 210.191186 15.237029 65.11195-39.59888 99.396801-117.681236 84.064604-192.408171C847.384513 100.72940100000005 771.387655 38.82858599999997 686.086897 38.82858599999997zM698.600909 152.23547199999996L698.600909 311.02496499999995 673.571862 311.02496499999995 673.571862 152.28459099999998 604.675726 221.17254100000002 586.978668 203.47548400000005 686.111456 104.35190499999999 785.185916 203.42738799999995 767.489882 221.123422Z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="picture-fine" unicode="" d="M958.648085 84.30682933333333L65.772494 84.30682933333333 65.772494 721.9115253333333l892.87559 0L958.648085 84.30682933333333zM97.660762 116.20328333333339l829.099055 0L926.759817 690.0570263333334 97.660762 690.0570263333334 97.660762 116.20328333333339zM648.731616 419.05893933333334l-1.991354 0c-47.801702 0-86.696548 38.900985-86.696548 86.695524l0 1.978051c0 47.809889 38.894845 86.671988 86.696548 86.671988l1.991354 0c47.801702 0 86.698594-38.862099 86.698594-86.671988l0-1.978051C735.43021 457.95992433333333 696.533318 419.05893933333334 648.731616 419.05893933333334zM646.740262 562.5193053333333c-30.224372 0-54.810327-24.582885-54.810327-54.787814l0-1.978051c0-30.230512 24.584931-54.803163 54.810327-54.803163l1.991354 0c30.222325 0 54.810327 24.572652 54.810327 54.803163l0 1.978051c0 30.203906-24.586978 54.787814-54.810327 54.787814L646.740262 562.5193053333333zM91.097276 181.7900473333334l-22.748097 22.338774 274.373974 279.332916 22.750143-22.351054L91.097276 181.7900473333334zM604.886015 215.92242633333342L339.999113 480.74793033333333l22.548552 22.525016L627.433544 238.4638153333334 604.886015 215.92242633333342zM619.007641 202.70744933333333l-22.763446 22.337751 167.989015 171.035398 22.765493-22.350031L619.007641 202.70744933333333zM925.622924 222.7939273333334L758.534418 389.8343373333333l22.548552 22.529109 167.086459-167.044504L925.622924 222.7939273333334z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="link" unicode="" d="M262.4-121.60000000000002c-64 0-128 25.6-179.2 76.8-102.4 102.4-102.4 262.4 0 364.8l134.4 134.4 89.6-89.6-134.4-134.4c-51.2-51.2-51.2-128 0-179.2 51.2-51.2 128-51.2 179.2 0l179.2 179.2c25.6 25.6 38.4 57.6 38.4 89.6S556.8 384 537.6 409.6L467.2 473.6l89.6 89.6 70.4-70.4C672 448 697.6 384 697.6 313.6c0-70.4-25.6-134.4-76.8-179.2l-179.2-179.2C396.8-96 326.4-121.60000000000002 262.4-121.60000000000002zM467.2 204.79999999999995L396.8 268.79999999999995c-102.4 102.4-102.4 262.4 0 364.8l179.2 179.2c102.4 102.4 262.4 102.4 364.8 0 102.4-102.4 102.4-262.4 0-364.8l-134.4-134.4-89.6 89.6 134.4 134.4c51.2 51.2 51.2 128 0 179.2-51.2 51.2-134.4 51.2-179.2 0L486.4 544c-51.2-51.2-51.2-128 0-179.2l70.4-70.4L467.2 204.79999999999995z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="diamond" unicode="" d="M998.4 526.933333L797.866667 802.133333c-4.266667 6.4-12.8 10.666667-19.2 10.666667L243.2 812.8c0 0-14.933333-2.133333-23.466667-17.066667C194.133333 753.066667 32 512 32 512L21.333333 494.933333l12.8-14.933333L469.333333-27.733333000000016c4.266667-4.266667 6.4-6.4 10.666667-8.533333 6.4-4.266667 32-10.666667 46.933333 0 4.266667 2.133333 6.4 6.4 10.666667 8.533333l409.6 420.266667c10.666667 8.533333 10.666667 25.6 0 34.133333-8.533333 10.666667-23.466667 10.666667-32 0L561.066667 61.86666700000001l153.6 422.4 0 0 251.733333 0c2.133333 0 19.2 0 23.466667 4.266667l2.133333 2.133333C1004.8 497.066667 1006.933333 512 998.4 526.933333zM782.933333 763.733333l-96-226.133333L341.333333 537.6l-85.333333 226.133333L782.933333 763.733333zM221.866667 714.666667l72.533333-179.2-192 0L221.866667 714.666667zM91.733333 488.533333l215.466667 0 138.666667-416L91.733333 488.533333zM503.466667 44.799999999999955l-147.2 443.733333 307.2 0L503.466667 44.799999999999955zM736 535.4666669999999L810.666667 701.866667l119.466667-168.533333L736 533.333333z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="log" unicode="" d="M828.01742 700.357158C743.476979 784.899646 631.076002 831.458031 511.516999 831.458031c-119.55798 0-231.959979-46.558385-316.500421-131.09985C110.47716 615.81774 63.918775 503.41574 63.918775 383.85776c0-87.103824 25.045419-171.548074 72.429613-244.204861 9.393951-14.402011 28.685319-18.46249 43.087331-9.071609 14.404058 9.393951 18.46556 28.685319 9.072633 43.089377-40.768519 62.511729-62.317301 135.194098-62.317301 210.187093 0 212.469066 172.85586 385.326972 385.325949 385.326972s385.325949-172.857906 385.325949-385.326972-172.85586-385.326972-385.325949-385.326972c-70.357418 0-139.188062 19.131733-199.052498 55.323003-14.71412 8.900717-33.856086 4.180206-42.753733-10.534937-8.896624-14.71719-4.180206-33.856086 10.534937-42.753733 69.584821-42.070164 149.556201-64.307631 231.271294-64.307631 119.559003 0 231.959979 46.558385 316.500421 131.09985 84.539418 84.539418 131.097804 196.941418 131.097804 316.499397S912.556838 615.81774 828.01742 700.357158zM494.28964 690.216193c-21.782096 0-39.397289-17.658172-39.397289-39.439244l0-283.524378c0-1.360997 0.358157-2.706645 0.493234-4.03285 2.020006-19.886933 18.959817-34.573423 39.379892-34.573423l0 0 0.146333 0.832971 223.590358 0c21.782096 0 39.438221 17.616216 39.438221 39.397289s-17.658172 39.397289-39.439244 39.397289L533.686928 408.273846l0 242.503103C533.686928 672.5580219999999 516.071735 690.216193 494.28964 690.216193z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="rate-solid" unicode="" d="M957.111079 492.519576c-3.927449 11.669784-14.447037 19.86442-26.723641 20.816095L647.68068 535.250796 540.183388 811.873997c-4.586458 11.803837-15.951297 19.579941-28.614711 19.579941s-24.02723-7.776104-28.614711-19.579941L375.458719 535.250796l-282.708803-21.915126c-12.276604-0.951675-22.796192-9.146311-26.723641-20.816095-3.927449-11.669784-0.50142-24.557302 8.701173-32.737612l217.547735-193.358823-67.980277-291.298436c-2.848884-12.20702 2.009773-24.919553 12.273535-32.114418 10.264784-7.195889 23.87271-7.42818 34.375925-0.586354l240.624313 156.709111 240.625336-156.709111c5.099135-3.320629 10.92891-4.974291 16.752546-4.974291 6.173606 0 12.342096 1.858324 17.623379 5.561669 10.263761 7.194866 15.122419 19.907399 12.273535 32.114418l-67.980277 291.299459L948.409906 459.781964C957.613522 467.962274 961.037505 480.849792 957.111079 492.519576z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="fonts-del" unicode="" d="M928 448l-143.616 0c-3.456 55.616-14.272 106.56-29.504 144.96C725.504 666.816 617.344 768 464.32 768L256 768l0-320L96 448C78.336 448 64 433.664 64 416S78.336 384 96 384L256 384l0-320 229.632 0c156.288 0 240.768 97.856 267.904 167.488C772.736 280.96000000000004 782.272 333.312 784.96 384L928 384C945.664 384 960 398.336 960 416S945.664 448 928 448zM349.376 711.488l63.936 0c35.712 0 251.84 27.968 266.944-263.488l-330.88 0L349.376 711.488zM439.296 120.51199999999994L349.376 120.51199999999994 349.376 382.528 349.376 384l330.88 0C665.344 113.98400000000004 467.968 120.51199999999994 439.296 120.51199999999994z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="unlink" unicode="" d="M150.336 767.6800000000001C133.44 762.304 124.16 744.3199999999999 129.472 727.488 131.2 722.1759999999999 134.208 717.44 138.304 713.664l122.624-122.432C270.208 576.192 289.92 571.52 304.96 580.736 320 590.0799999999999 324.672 609.7280000000001 315.456 624.832 312.832 629.056 309.184 632.64 304.96 635.264L182.336 757.696C175.168 765.44 164.672 769.216 154.304 767.6800000000001 152.96 767.808 151.552 767.808 150.336 767.6800000000001L150.336 767.6800000000001zM406.08 831.424c-13.696-4.48-22.72-17.6-22.016-32L384.064 672c0-17.664 14.336-32 32-32s31.872 14.336 31.872 32L447.936 799.424C448.256 817.088 434.304 831.6800000000001 416.64 832 414.464 832.064 412.16 831.808 410.048 831.424 408.704 831.552 407.296 831.552 406.08 831.424L406.08 831.424zM91.392 511.872C73.728 509.12 61.632 492.544 64.384 474.88 67.136 457.28 83.712 445.248 101.376 448L224 448C241.664 448 256 462.208 256 479.872s-14.336 32-32 32L101.376 511.872c-1.984 0.192-3.968 0.192-6.016 0C94.016 512 92.608 512 91.392 511.872L91.392 511.872zM795.456 320c-17.728-2.752-29.824-14.08-27.072-31.744 2.752-17.6 19.328-35.008 36.992-32.256L928 256c17.664 0 32 19.584 32 37.248S945.664 320 928 320l-122.624 0c-1.984 0.192-3.968 0.192-6.016 0-1.344 0.128-2.688 0.128-4.032 0L795.456 320zM598.272 127.42399999999998c-13.76-4.48-22.72-17.6-22.08-32L576.192-32c0-17.664 14.336-32 32-32S640-49.66399999999999 640-32l0 127.424c0.32 17.6-13.568 32.256-31.232 32.576-2.176 0.064-4.352-0.192-6.592-0.576-1.344 0.128-2.688 0.128-4.032 0L598.272 127.42399999999998zM726.272 191.67999999999995c-16.896-5.376-26.24-23.36-20.864-40.192 1.664-5.312 4.736-10.048 8.832-13.824l122.56-122.432c9.28-15.04 28.928-19.776 44.032-10.496 14.976 9.344 19.712 28.992 10.368 44.032-2.624 4.224-6.144 7.808-10.368 10.432l-122.56 122.432c-7.168 7.744-17.6 11.52-28.032 9.984-1.344 0.128-2.688 0.128-4.032 0L726.272 191.61599999999999zM339.968 28.03200000000004c-49.152 0-98.304 18.688-135.744 56.128-74.816 74.88-74.816 196.608 0 271.488l87.744 87.744c12.48 12.48 32.768 12.48 45.248 0s12.48-32.768 0-45.248L249.408 310.46400000000006c-49.92-49.856-49.92-131.136 0-180.992 49.856-49.856 131.136-49.856 180.992 0l87.744 87.744c12.48 12.48 32.768 12.48 45.248 0s12.48-32.768 0-45.248l-87.744-87.744C438.272 46.72000000000003 389.12 28.03200000000004 339.968 28.03200000000004zM702.144 323.712c-8.192 0-16.384 3.136-22.656 9.344-12.48 12.48-12.48 32.768 0 45.248l87.744 87.744c49.856 49.92 49.856 131.072 0 180.992-49.856 49.856-131.136 49.856-180.992 0L498.496 559.296c-12.48-12.48-32.768-12.48-45.248 0s-12.48 32.768 0 45.248l87.744 87.744c74.88 74.88 196.608 74.88 271.488 0 74.88-74.816 74.88-196.672 0-271.488l-87.744-87.744C718.528 326.784 710.336 323.712 702.144 323.712z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="fonts-clear" unicode="" d="M944.787709 197.20939699999997L857.081297 197.20939699999997 741.092979-127.73993700000005 815.146059-127.73993700000005 832.440281-65.58476199999996 966.82809-65.58476199999996 984.512408-127.73993700000005 1062.011328-127.73993700000005 944.787709 197.20939699999997 944.787709 197.20939699999997ZM848.04409 1.1865400000000363L898.951519 153.25866699999995 949.923963 1.1865400000000363 848.04409 1.1865400000000363 848.04409 1.1865400000000363ZM210.238376 489.910857L183.386821 513.121524 12.46009 313.522794C-5.874386 292.652698-3.728862 260.989968 17.271265 242.720508 38.401424 224.45104800000001 70.454249 226.66158700000005 88.853741 247.53168300000004L100.361551 260.599873C106.603075 267.55657099999996 117.200662 268.20673 124.287392 262.22527 131.309106 256.048762 132.024281 245.51619000000005 125.912789 238.55949199999998 107.448281 217.62438099999997 98.085995 173.08850800000005 119.216154 154.81904799999995 140.281297 136.614603 183.841932 151.76330199999995 202.371455 172.69841299999996 208.417932 179.525079 219.145551 180.30526999999995 226.167265 174.19377799999995 233.188979 168.14730199999997 233.904154 157.61473 227.792662 150.65803200000005 209.328154 129.85295199999996 199.965868 85.05701599999998 221.096027 66.91758700000003 242.16117 48.648127000000045 285.656789 63.86184100000003 304.186313 84.666921 310.362821 91.62361899999996 321.025424 92.40381000000002 327.982122 86.29231700000003 335.068852 80.18082500000003 335.784027 69.71326999999997 329.672535 62.75657100000001 311.143011 41.82146 301.845741-2.9094599999999673 322.910884-20.983873000000017 344.041043-39.253333 387.601678-24.039619000000016 406.00117-3.234540000000038 412.177678 3.7221590000000333 422.840281 4.437332999999967 429.927011-1.6091430000000173 436.948725-7.720635000000016 437.598884-18.31822199999999 431.487392-25.144889000000035 413.022884-46.08000000000004 403.725614-90.81092100000001 424.790757-109.01536499999997 445.920916-127.15479400000004 477.973741-125.00927000000001 496.373233-104.20419000000004L667.299963 95.52457100000004 658.652852 132.90869799999996 210.238376 489.910857 210.238376 489.910857ZM844.013106 329.516698L680.10809 471.12127 929.639011 715.190857C933.2799 718.376635 936.725741 721.562413 939.976535 725.203302 977.815773 768.048762 973.524725 833.129651 930.28917 870.513778 887.183646 907.702857 821.58263 903.281778 783.808408 860.631365L783.483328 860.761397 564.249805 571.3107299999999 399.824662 713.56546C385.391138 726.113524 363.480789 724.553143 350.867709 710.249651L248.14263 593.871238 225.322059 567.994921 251.393424 545.434413 695.7119 161.25561900000002 726.26936 136.679619 847.328916 281.014857C859.941995 295.318349 858.44663 316.96863499999995 844.013106 329.516698L844.013106 329.516698ZM817.941741 830.724063C839.136916 854.779937 876.000916 857.315556 900.186821 836.250413 924.372725 815.380317 926.908344 778.906413 905.648154 754.85054 884.452979 730.924698 847.588979 728.389079 823.403075 749.3892060000001 799.21717 770.324317 796.811582 806.798222 817.941741 830.724063L817.941741 830.724063ZM765.473932 758.491429C768.919773 741.522286 777.6319 725.593397 791.80536 713.305397 806.043836 701.017397 823.533106 694.580825 841.087392 693.540571L643.634186 494.526984 593.116852 538.2176509999999 765.473932 758.491429 765.473932 758.491429ZM776.006503 299.739429L709.755328 219.314794 307.502122 566.369524 376.809043 645.03873C382.920535 651.865397 393.38809 652.5155560000001 400.409805 646.534095L774.381106 323.01511100000005C781.337805 317.098667 782.117995 306.69612700000005 776.006503 299.739429L776.006503 299.739429Z" horiz-adv-x="1063" />
+
+
+ <glyph glyph-name="triangle-r" unicode="" d="M293.291 728.256l426.88-355.456-426.88-355.52z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="circle" unicode="" d="M511.998 847.999C255.739 847.999 48 640.26 48 383.999c0-256.258 207.739-463.998 463.998-463.998C768.261-79.99900000000002 976 127.74199999999996 976 383.999 976 640.26 768.261 847.999 511.998 847.999zM512.002-16.000999999999976c-220.915 0-400.002 179.088-400.002 400 0 220.917 179.086 400 400.002 400 220.912 0 399.998-179.083 399.998-400C912 163.087 732.914-16.000999999999976 512.002-16.000999999999976z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="radio" unicode="" d="M512.5 383.5m-192 0a192 192 0 1 1 384 0 192 192 0 1 1-384 0ZM511.998 847.999C255.739 847.999 48 640.26 48 383.999c0-256.258 207.739-463.998 463.998-463.998C768.261-79.99900000000002 976 127.74199999999996 976 383.999 976 640.26 768.261 847.999 511.998 847.999zM512.002-16.000999999999976c-220.915 0-400.002 179.088-400.002 400 0 220.917 179.086 400 400.002 400 220.912 0 399.998-179.083 399.998-400C912 163.087 732.914-16.000999999999976 512.002-16.000999999999976z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="align-center" unicode="" d="M992 448L32 448C14.32 448 0 462.336 0 480 0 497.664 14.32 512 32 512L992 512C1009.68 512 1024 497.664 1024 480 1024 462.336 1009.68 448 992 448ZM800 704C817.664 704 832 689.664 832 672 832 654.336 817.664 640 800 640L224 640C206.32 640 192 654.336 192 672 192 689.664 206.32 704 224 704L800 704ZM992 832L32 832C14.32 832 0 846.336 0 864 0 881.664 14.32 896 32 896L992 896C1009.68 896 1024 881.664 1024 864 1024 846.336 1009.68 832 992 832ZM224 256C206.32 256 192 270.336 192 288 192 305.664 206.32 320 224 320L800 320C817.664 320 832 305.664 832 288 832 270.336 817.664 256 800 256L224 256ZM32 128L992 128C1009.68 128 1024 113.66399999999999 1024 96 1024 78.33600000000001 1009.68 64 992 64L32 64C14.32 64 0 78.33600000000001 0 96 0 113.66399999999999 14.32 128 32 128ZM224-64L800-64C817.664-64 832-78.33600000000001 832-96 832-113.66399999999999 817.664-128 800-128L224-128C206.32-128 192-113.66399999999999 192-96 192-78.33600000000001 206.32-64 224-64Z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="align-right" unicode="" d="M992 64L32 64C14.32 64 0 78.33600000000001 0 96 0 113.66399999999999 14.32 128 32 128L992 128C1009.68 128 1024 113.66399999999999 1024 96 1024 78.33600000000001 1009.68 64 992 64ZM992 256L288 256C270.32 256 256 270.336 256 288 256 305.664 270.32 320 288 320L992 320C1009.68 320 1024 305.664 1024 288 1024 270.336 1009.68 256 992 256ZM992 448L32 448C14.32 448 0 462.336 0 480 0 497.664 14.32 512 32 512L992 512C1009.68 512 1024 497.664 1024 480 1024 462.336 1009.68 448 992 448ZM992 640L288 640C270.32 640 256 654.336 256 672 256 689.664 270.32 704 288 704L992 704C1009.68 704 1024 689.664 1024 672 1024 654.336 1009.68 640 992 640ZM992 832L32 832C14.32 832 0 846.336 0 864 0 881.664 14.32 896 32 896L992 896C1009.68 896 1024 881.664 1024 864 1024 846.336 1009.68 832 992 832ZM288-64L992-64C1009.68-64 1024-78.33600000000001 1024-96 1024-113.66399999999999 1009.68-128 992-128L288-128C270.32-128 256-113.66399999999999 256-96 256-78.33600000000001 270.32-64 288-64Z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="align-left" unicode="" d="M992 448L32 448C14.336 448 0 462.336 0 480 0 497.664 14.336 512 32 512L992 512C1009.664 512 1024 497.664 1024 480 1024 462.336 1009.664 448 992 448ZM32 704L736 704C753.68 704 768 689.664 768 672 768 654.336 753.68 640 736 640L32 640C14.336 640 0 654.336 0 672 0 689.664 14.336 704 32 704ZM992 832L32 832C14.336 832 0 846.336 0 864 0 881.664 14.336 896 32 896L992 896C1009.664 896 1024 881.664 1024 864 1024 846.336 1009.664 832 992 832ZM32 320L736 320C753.68 320 768 305.664 768 288 768 270.336 753.68 256 736 256L32 256C14.336 256 0 270.336 0 288 0 305.664 14.336 320 32 320ZM32 128L992 128C1009.664 128 1024 113.66399999999999 1024 96 1024 78.33600000000001 1009.664 64 992 64L32 64C14.336 64 0 78.33600000000001 0 96 0 113.66399999999999 14.336 128 32 128ZM32-64L736-64C753.68-64 768-78.33600000000001 768-96 768-113.66399999999999 753.68-128 736-128L32-128C14.336-128 0-113.66399999999999 0-96 0-78.33600000000001 14.336-64 32-64Z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="loading-1" unicode="" d="M537.574469 831.696462c-14.123672 0-25.574469-11.447726-25.574469-25.574469 0-14.123672 11.450796-25.574469 25.574469-25.574469 204.495464 0 370.82877-166.358889 370.82877-370.82877 0-14.123672 11.450796-25.574469 25.574469-25.574469 14.123672 0 25.574469 11.450796 25.574469 25.574469C959.551152 642.385838 770.241552 831.696462 537.574469 831.696462z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="return" unicode="" d="M927.858848 417.938973L168.863431 417.938973l308.721247 308.86758c11.685133 11.69025 11.435447 30.881334-0.557702 42.868343-11.992125 11.985986-31.18321 12.226462-42.868343 0.536212L75.199191 411.071565c-1.994424-1.662873-3.773953-3.583618-5.294586-5.713119-4.047176-5.373381-6.013971-11.839653-5.9055-18.328437-0.12996-7.794523 2.725064-15.561417 8.595772-21.432125l361.565802-361.744881c11.685133-11.691273 30.876218-11.449773 42.868343 0.535189 11.993149 11.985986 12.242835 31.17707 0.557702 42.868343L168.441828 356.54571799999997l759.417019 0c16.527418 0 29.925566 13.738909 29.925566 30.694069S944.386266 417.938973 927.858848 417.938973z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="fonts-strong" unicode="" d="M199.092919 848.487893l355.326704 0c70.335928 0 122.780371-2.942005 157.349701-8.809643 34.568307-5.884011 65.491597-18.131963 92.78522-36.759205 27.27725-18.627243 50.01409-43.427068 68.209498-74.397431 18.195408-30.986735 27.293623-65.699328 27.293623-104.169501 0-41.7161-11.17655-79.977519-33.496905-114.802676s-52.604078-60.951187-90.818425-78.362742c54.075593-15.765055 95.647407-42.626843 124.715443-80.585363s43.602054-82.58388 43.602054-133.877103c0-40.388872-9.417487-79.673597-28.220738-117.839849-18.803251-38.182624-44.482097-68.673056-77.035514-91.489714-32.55444-22.833031-72.702835-36.855396-120.414487-42.09984-29.931706-3.229554-102.122889-5.260817-216.572524-6.060019L199.092919-40.765192999999954 199.092919 848.487893zM378.171504 700.1084940000001l0-205.684546 117.64849 0c69.935816 0 113.410979 1.006933 130.390699 3.038196 30.730908 3.629667 54.891168 14.246469 72.478731 31.850405 17.588587 17.588587 26.381857 40.756239 26.381857 69.473281 0 27.501354-7.594979 49.838082-22.75219 67.042929-15.158235 17.188474-37.702694 27.597545-67.618027 31.242562-17.796318 2.01489-68.945255 3.038196-153.431461 3.038196L378.171504 700.109518zM378.171504 346.04454999999996l0-236.383732 166.622902 0c64.85203 0 106.008382 1.807159 123.43631 5.420453 26.750247 4.828982 48.543599 16.58063 65.363683 35.272341s25.247011 43.714617 25.247011 75.085092c0 26.526143-6.491855 49.03888-19.459191 67.538209-12.983709 18.48398-31.722492 31.961946-56.250118 40.404222s-77.739549 12.663414-159.619394 12.663414L378.171504 346.04454999999996z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="upload" unicode="" d="M831.488 478.208C831.488 478.208 831.488 478.208 831.488 478.208c0 143.36-114.688 258.048-253.952 258.048-98.304 0-184.32-57.344-225.28-139.264C327.68 605.184 307.2 609.28 286.72 609.28c-90.112 0-159.744-73.728-159.744-159.744 0-16.384 4.096-28.672 8.192-40.96C57.344 379.904 0 310.27200000000005 0 224.25599999999997c0-106.496 86.016-192.512 192.512-192.512l192.512 0 0 192.512L258.048 224.25599999999997l258.048 258.048 258.048-258.048-126.976 0 0-192.512 192.512 0L839.68 35.84000000000003c106.496 16.384 192.512 110.592 192.512 221.184C1024 371.712 937.984 465.92 831.488 478.208z" horiz-adv-x="1033" />
+
+
+ <glyph glyph-name="dialogue" unicode="" d="M998.4 500.992C998.4 682.24 811.392 829.696 581.632 829.696c-121.216 0-235.904-41.472-315.264-114.048 37.504 8.192 76.416 13.056 115.456 14.464 59.264 30.592 128.256 46.72 199.808 46.72 198.144 0 359.296-123.776 359.296-275.968 0-31.872-7.04-63.232-20.992-93.056 7.552-28.16 11.264-57.344 11.008-86.528C975.104 374.784 998.4 436.736 998.4 500.992L998.4 500.992zM442.368 398.72c-30.72 0-55.808-23.04-55.808-51.328s25.088-51.328 55.808-51.328 55.808 23.04 55.808 51.328S473.088 398.72 442.368 398.72zM243.328 398.72c-30.72 0-55.808-23.04-55.808-51.328s25.088-51.328 55.808-51.328 55.808 23.04 55.808 51.328C299.264 375.67999999999995 274.176 398.72 243.328 398.72zM641.28 398.72c-30.72 0-55.808-23.04-55.808-51.328s25.088-51.328 55.808-51.328 55.808 23.04 55.808 51.328S672.128 398.72 641.28 398.72zM442.368 677.888C212.608 677.888 25.6 530.432 25.6 349.312c0-179.968 173.696-296.192 332.544-321.664l60.8-78.336c5.632-7.424 14.464-11.008 23.296-11.008 8.832 0 17.792 3.712 23.424 11.008l60.8 78.464C685.312 53.24800000000005 859.008 169.47199999999998 859.008 349.44000000000005 859.136 530.432 672.128 677.888 442.368 677.888zM714.88 173.82399999999996c-52.224-45.184-124.288-77.952-197.376-89.6C503.168 81.91999999999996 490.112 74.24000000000001 481.28 62.72000000000003l-38.784-49.92-38.912 49.92c-8.96 11.52-21.888 19.2-36.224 21.504-73.216 11.776-145.152 44.416-197.376 89.728-39.68 34.304-86.912 92.544-86.912 175.36 0 69.76 35.584 136.192 100.352 187.264 68.736 54.144 160.768 84.096 258.944 84.096 98.304 0 190.336-29.824 259.072-84.096 64.768-51.072 100.352-117.504 100.352-187.264C801.664 266.36800000000005 754.56 208.12800000000004 714.88 173.82399999999996z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="video" unicode="" d="M952.523633 599.2477269999999L952.523633 599.2477269999999 952.523633 599.2477269999999zM100.53762400000005 661.054062C100.53762400000005 661.054062 100.53762400000005 661.054062 100.53762400000005 661.054062 100.53762400000005 661.054062 100.53762400000005 661.054062 100.53762400000005 661.054062zM100.74228 720.404517L100.74228 720.404517 100.74228 720.404517zM660.990107 739.9449716666666c8.697911 0 17.498151-0.511642 25.684421-2.353553 12.279404-2.865194 23.22854-8.18627 34.382332-16.679524 15.144599-11.460777 26.196063-29.572899 32.02878-52.187469 3.479165-13.405016 2.967523-28.651944 2.558209-42.05696-0.102328-4.195463-0.204657-8.083941-0.204657-11.665434l0-37.759169 101.407415 70.401919 25.479764 17.60048c0.511642 0.306985 1.330269 1.023284 2.148896 1.637254 4.40012 3.376836 11.051464 8.595583 20.977316 11.051464 3.274508 0.818627 6.549016 1.22794 10.02818 1.22794 9.618867 0 19.44239-3.274508 27.730987999999996-9.311882 18.82842-13.916657999999998 18.726092-35.405616 18.726092-51.061857 0-1.023284 0-2.148896 0-3.172179l0-409.620466c0-15.963226 0.102328-37.963825-19.647047-51.982812-6.753672-4.809433-16.679524-8.390926-27.219346-8.390926-5.01409 0-10.130509 0.818627-15.144599 2.762866-7.162986 2.762866-12.279404 6.856000999999999-16.065554 9.823524-0.920955 0.716299-1.841911 1.432597-2.353553 1.841911l-24.968122 17.395823-101.10043 70.094934 0-37.963825c0-3.581493 0.102328-7.367643 0.204657-11.460777 0.409313-14.735285 0.818627-29.982212-2.865194-43.796542-5.62806-21.488957999999997-16.679524-39.396423-31.107825-50.447886-7.879285-6.037374-18.930748-13.405016-34.075347-16.986509-7.776956-1.841911-16.167882-2.353553-24.45648-2.353553-4.297792 0-8.595583 0.102328-12.688718 0.204657-3.683821 0.102328-7.162986 0.204657-10.232837 0.204657L167.15339300000005 84.94107466666674c-1.944239 0-3.888478 0-5.832717 0-1.944239 0-3.990806 0-5.935045 0-16.577196 0-33.461377 0.61397-47.787349 6.549016-27.935644999999997 11.563106-46.764065 37.759169-53.006096 73.574098l-0.409313 2.251224 0 2.353553c-0.102328 18.930748-0.204657 37.861497-0.306985 56.792245l0 0.511642L53.87588699999998 598.0155226666666c0 4.40012-0.102328 8.902568-0.102328 13.712001999999998-0.306985 27.01469-0.716299 54.950335 9.311882 76.643949 9.823524 21.284300999999996 27.526331999999996 38.066154 48.708304 45.945438 5.730389 2.148896 11.051464 2.762866 15.04227 3.172179 1.023284 0.102328 2.353553 0.306985 3.069851 0.409313l4.093135 1.534926 500.9997 0c3.581493 0 7.572299 0.102328 11.767763 0.306985C651.166583 739.7403146666667 656.078345 739.9449716666666 660.990107 739.9449716666666M304.273409 266.7785886666668L559.889677 394.2797376666667l0 33.973019L304.273409 555.9585626666667 304.273409 266.7785886666668M660.990107 780.8763196666666c-5.62806 0-10.949136-0.204657-15.758569-0.306985-3.888478-0.102328-7.469971-0.204657-10.437494-0.204657L133.79434400000002 780.3646776666667l-7.265314 0-6.446687-2.353553c-5.3210749999999996-0.61397-13.609673-1.841911-22.716898-5.218747-31.210153-11.665434-57.303887-36.121915-71.629859-67.229739-13.814329999999998-30.084541-13.405016-64.159888-12.995703-94.244429 0.102328-4.604777 0.102328-9.004897 0.102328-13.20036l0-371.349655 0-0.102328 0-0.102328 0-0.511642c0.102328-18.930748 0.204657-37.861497 0.306985-56.792245l0-2.251224 0-3.479165 0.61397-3.376836 0.409313-2.251224c4.195463-23.944839 12.791046-45.126811 25.479764-62.727291 13.609673-18.82842 31.107825-32.847407 52.08514-41.545318 21.488957999999997-8.902568 44.001199-9.618867 63.443589-9.618867 2.046567 0 4.093135 0 6.139702 0 1.841911 0 3.78615 0 5.62806 0l473.166384 0c2.558209 0 5.62806-0.102328 9.004897-0.204657 4.195463-0.102328 8.902568-0.306985 13.916657999999998-0.306985 13.302688 0 24.149495 1.125612 33.973019 3.479165 22.819227 5.423404 39.089437 16.474868 49.322274 24.251824 21.693613999999997 16.577196 37.963825 42.363944999999994 45.84311 72.653143 2.251224 8.595583 3.376836 17.088838 3.990806 25.377436l36.838213-25.582093 24.558809-17.088838c0.306985-0.204657 0.61397-0.511642 0.920955-0.716299 4.809433-3.683821 13.609673-10.642149999999999 26.400719-15.656241 9.516538-3.683821 19.647047-5.62806 30.084541-5.62806 18.009793 0 36.53122799999999 5.832717 50.8572 15.963226 16.577196 11.767763 27.730987999999996 27.935644999999997 33.052064 48.094334 3.78615 14.4283 3.78615 27.628659999999996 3.78615 37.34985499999999l0 409.518137c0 0.920955 0 1.739582 0 2.660538l0 0.409313c0 9.41421 0.102328 22.409913-3.479165 36.53122799999999-5.116419 19.749375-15.758569 35.81493-31.721795 47.68502-15.144599 11.153792-33.666034 17.293495-52.08514 17.293495-6.753672 0-13.507345-0.818627-19.954032-2.455881-18.21445-4.604777-30.289198-13.916657999999998-36.019586-18.419107l0 0c-0.204657-0.204657-0.511642-0.409313-0.716299-0.511642l-25.172779-17.293495-0.102328 0-0.102328 0-37.14519799999999-25.786749c-0.511642 7.674628-1.637254 15.553912-3.683821 23.433197-8.18627 31.721795-24.354152 57.508544-46.866394 74.597382-15.758569 11.972419-32.02878 19.851704-49.833916 23.944839C685.8559009999999 779.7507076666667 674.702109 780.8763196666666 660.990107 780.8763196666666L660.990107 780.8763196666666zM345.204757 332.9850436666668L345.204757 489.75210666666663l157.074048-78.48586L345.204757 332.9850436666668 345.204757 332.9850436666668zM347.455981 429.177975L347.455981 308.02118499999995 347.455981 429.177975Z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="headset" unicode="" d="M356.285031 2.1522690000000466L356.396571 2.1522690000000466 356.396571 285.236626 253.462201 285.236626 253.462201 2.1522690000000466ZM665.076886 285.236626l103.042841 0 0-283.08538-103.042841 0 0 283.08538ZM63.809793 301.950286c0-38.758746-3.195785-112.220874 5.457292-148.208507l65.735144 0c-10.112312 35.644825-7.747451 109.176538-7.747451 148.208507 0 219.937155 172.264389 398.231887 384.763131 398.231887 212.498742 0 384.763131-178.294732 384.763131-398.231887 0-39.031968 2.266623-112.563682-7.845689-148.208507l65.735144 0c8.653077 35.987632 5.555529 109.449761 5.555529 148.208507 0 256.20415-200.670346 463.898469-448.208115 463.898469C264.479115 765.848755 63.809793 558.1544349999999 63.809793 301.950286z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="cellphone-fine" unicode="" d="M731.514252 896L292.485748 896C195.323702 896 116.154627 816.830925 116.154627 719.6688790000001l0-671.337759c0-97.162046 79.169075-176.331121 176.331121-176.331121l438.628661 0c97.162046 0 176.331121 79.169075 176.331121 176.331121L907.445529 719.6688790000001C907.845373 816.830925 828.676298 896 731.514252 896zM292.485748 853.216712l438.628661 0c70.772355 0 128.349863-55.178446 133.147989-124.751269L159.737602 728.465443C164.135884 798.038266 222.113237 853.216712 292.485748 853.216712zM865.062085 48.73096399999997c0-73.571261-59.976572-133.547833-133.547833-133.547833L292.485748-84.816868c-73.571261 0-133.547833 59.976572-133.547833 133.547833l0 45.582194 705.724326 0L864.662241 48.73096399999997zM865.062085 137.096447L158.937915 137.096447 158.937915 685.682155l705.724326 0L864.662241 137.096447zM512-54.82858299999998c13.59469 0 26.789535 5.597813 36.385787 15.194065 9.596251 9.596251 15.194065 22.791097 15.194065 36.385787 0 13.59469-5.597813 26.789535-15.194065 36.385787-9.596251 9.596251-22.791097 15.194065-36.385787 15.194065-13.59469 0-26.789535-5.597813-36.385787-15.194065-9.596251-9.596251-15.194065-22.791097-15.194065-36.385787 0-13.59469 5.597813-26.789535 15.194065-36.385787C485.210465-49.23076900000001 498.40531-54.82858299999998 512-54.82858299999998z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="add-1" unicode="" d="M566.935 57.63900000000001c0-30.366-24.612-54.972-54.935-54.972v0c-30.384 0-54.996 24.612-54.996 54.972v610.057c0 30.361 24.612 54.972 54.996 54.972v0c30.33 0 54.935-24.612 54.935-54.972v-610.057zM817.004 417.633c30.384 0 54.996-24.606 54.996-54.966v0c0-30.354-24.612-54.966-54.996-54.966h-610.062c-30.33 0-54.942 24.612-54.942 54.966v0c0 30.359 24.612 54.966 54.942 54.966h610.062zM817.004 417.633z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="face-smile-b" unicode="" d="M511.931733-128c-136.738133 0-265.284267 53.213867-361.984 149.879467C53.282133 118.51093300000002 0 247.09119999999996 0 384c0 136.738133 53.282133 265.3184 150.050133 362.0864C246.749867 842.683733 375.296 896 512.136533 896s265.4208-53.316267 362.1888-149.9136c199.645867-199.714133 199.543467-524.5952 0-724.206933C777.454933-74.71786699999996 648.772267-128 511.931733-128L511.931733-128 511.931733-128 511.931733-128 511.931733-128 511.931733-128zM512.034133 829.303467c-118.920533 0-230.741333-46.2848-314.914133-130.389333C113.083733 614.8778669999999 66.7648 502.8864 66.7648 384c0-118.9888 46.2848-230.912 130.3552-315.016533 84.0704-84.0704 195.857067-130.321067 314.811733-130.321067 119.022933 0 230.946133 46.318933 315.016533 130.423467 173.704533 173.636267 173.704533 456.157867 0 629.794133C742.877867 782.984533 631.057067 829.303467 512.034133 829.303467L512.034133 829.303467 512.034133 829.303467 512.034133 829.303467 512.034133 829.303467 512.034133 829.303467zM330.103467 244.25813300000004c0 0 59.904-95.9488 181.828267-95.9488s201.8304 95.9488 201.8304 95.9488 45.294933 0.136533 45.192533-47.957333c0 0-78.506667-111.8208-247.022933-111.8208s-223.368533 111.8208-223.368533 111.8208S286.856533 244.25813300000004 330.103467 244.25813300000004L330.103467 244.25813300000004 330.103467 244.25813300000004 330.103467 244.25813300000004 330.103467 244.25813300000004zM363.2128 548.590933c-34.5088 0-62.702933-28.091733-62.702933-62.737067 0-34.679467 28.194133-62.6688 62.702933-62.6688 34.679467 0 62.702933 28.091733 62.702933 62.6688C425.915733 520.4992 397.858133 548.590933 363.2128 548.590933L363.2128 548.590933 363.2128 548.590933 363.2128 548.590933 363.2128 548.590933 363.2128 548.590933zM684.544 548.590933c-34.679467 0-62.702933-28.091733-62.702933-62.737067 0-34.679467 28.023467-62.6688 62.702933-62.6688 34.6112 0 62.600533 28.091733 62.600533 62.6688C747.144533 520.4992 719.121067 548.590933 684.544 548.590933L684.544 548.590933 684.544 548.590933 684.544 548.590933 684.544 548.590933 684.544 548.590933zM684.544 548.590933" horiz-adv-x="1025" />
+
+
+ <glyph glyph-name="fonts-html" unicode="" d="M194.33 416.235h-101.295v101.28h-46.035v-267.03h46.035v119.7h101.28v-119.7h46.035v267.03h-46.035v-101.28zM277.205 480.69h73.665v-230.205h46.035v230.205h73.665v36.825h-193.365v-36.825zM627.815 335.58000000000004l-46.755 181.935h-73.665v-267.03h46.035v211.785l46.035-211.785h55.245l46.83 213.93-0.795-213.93h46.035v267.03h-73.665l-45.3-181.935zM848.09 287.30999999999995v230.205h-46.035v-267.03h174.945v36.825h-128.91z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="screen-full" unicode="" d="M641.750109 511.899972l205.227128 204.519-0.704035-115.89966c-0.282433-9.611915 7.489578-18.09103 17.101493-17.808598l12.297071 0c9.611915 0.283456 17.667382 5.936199 17.808598 15.689331l0.565888 172.57752c0 0.14224 0.282433 9.187243 0.282433 9.187243 0.14224 4.804423-0.99056 9.187243-4.100388 12.297071-3.109828 3.109828-7.347339 5.086855-12.297071 4.946662l-8.763594-0.14224c-0.141216 0-0.278339 0-0.420579-0.14224L697.581696 797.833213c-9.611915-0.283456-17.667382-8.200776-17.808598-17.950837l0-12.297071c1.416256-11.44875 10.458189-18.092054 20.070104-17.808598l112.789832-0.283456-204.66124-203.814965c-9.329483-9.329483-9.329483-24.449855 0-33.778314 9.329483-9.470699 24.452925-9.470699 33.782408 0L641.750109 511.899972zM383.095141 319.11010699999997L177.726797 115.29411900000002l0.707105 115.338888c0.283456 9.607822-7.492648 18.086937-17.104563 17.808598l-13.001105 0c-9.611915-0.283456-17.667382-5.937223-17.808598-15.690354l-0.565888-172.718737c0-0.14224-0.282433-9.187243-0.282433-9.187243-0.14224-4.808516 0.99056-9.187243 4.096295-12.297071 3.109828-3.109828 7.351432-5.086855 12.297071-4.946662l8.762571 0.14224c0.14224 0 0.283456 0 0.425695 0.14224l171.873486-0.708128c9.607822 0.283456 17.667382 8.196683 17.808598 17.950837L344.93503 63.42477399999996c-1.415232 11.44875-10.461259 18.092054-20.074198 17.808598L212.069977 81.51682800000003 416.59 285.32872299999997c9.329483 9.329483 9.329483 24.453948 0 33.782408C407.40685 328.58182999999997 392.424624 328.58182999999997 383.095141 319.11010699999997L383.095141 319.11010699999997zM894.047276 60.03251399999999l-0.424672 172.718737c-0.283456 9.612938-8.200776 15.406898-17.809621 15.690354l-12.296047 0c-9.612938 0.278339-17.243733-8.200776-17.105586-17.808598l0.708128-115.903753L641.750109 319.11010699999997c-9.329483 9.329483-24.452925 9.329483-33.782408 0-9.325389-9.328459-9.325389-24.452925 0-33.782408L812.490795 81.51682800000003l-112.789832-0.283456c-9.611915 0.283456-18.515702-6.502088-20.073174-17.808598l0-12.297071c0.282433-9.611915 8.200776-17.667382 17.808598-17.950837l171.166381 0.708128c0.141216 0 0.282433-0.14224 0.424672-0.14224l8.763594-0.14224c4.803399-0.141216 9.187243 1.694595 12.296047 4.946662 3.109828 3.109828 4.238534 7.488555 4.097318 12.297071 0 0-0.14224 9.046027-0.14224 9.187243L894.047276 60.03149099999996zM212.216309 749.493252l112.789832 0.283456c9.607822-0.283456 18.512632 6.502088 20.070104 17.808598L345.076246 779.883399c-0.283456 9.611915-8.196683 17.667382-17.808598 17.950837l-172.011632-0.708128c-0.14224 0-0.283456 0.14224-0.425695 0.14224l-8.761548 0.14224c-4.808516 0.141216-9.187243-1.694595-12.297071-4.946662-3.109828-3.109828-4.242627-7.488555-4.096295-12.297071 0 0 0.282433-9.046027 0.282433-9.187243l0.420579-172.718737c0.14224-9.608845 8.200776-15.406898 17.808598-15.686261l13.005198 0c9.611915-0.282433 17.242709 8.196683 17.10047 17.808598l-0.564865 115.334795 205.231221-203.958228c9.324366-9.329483 24.448832-9.329483 33.777291 0 9.329483 9.329483 9.329483 24.452925 0 33.782408L212.216309 749.493252 212.216309 749.493252zM212.216309 749.493252" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="form" unicode="" d="M314.278111 437.019389l395.439892 0 0-30.297458-395.439892 0L314.278111 437.019389zM314.278111 315.83495200000004l395.439892 0 0-30.297458-395.439892 0L314.278111 315.83495200000004zM314.278111 194.62833l263.626661 0 0-30.297458L314.278111 164.330872 314.278111 194.62833zM609.376235 739.9931730000001c-7.849678 42.966669-48.394988 75.742447-97.378777 75.742447-48.961604 0-89.51311-32.775778-97.380776-75.742447L116.55177 739.9931730000001l0-787.725922 790.893774 0 0 787.725922L609.376235 739.9931730000001zM446.091342 670.440529l0 17.613058 0 36.791056c0 33.410348 29.57295 60.594317 65.906116 60.594317 36.352353 0 65.907115-27.183969 65.907115-60.594317l0-36.791056 0-17.621053 16.672696-8.712493c32.358061-16.929922 57.169039-42.663874 71.406386-73.213161L358.043239 588.50688c14.240345 30.555683 39.051523 56.281241 71.408385 73.213161L446.091342 670.440529zM874.489888-17.436289999999985L149.505227-17.436289999999985 149.505227 709.694715 413.138884 709.694715l0-21.641327c-51.44492-26.923746-88.727643-74.124144-98.86377-129.845165l395.44289 0c-10.102151 55.730615-47.40466 102.921419-98.859773 129.845165l0 21.641327 263.631658 0L874.489888-17.436289999999985z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="cart" unicode="" d="M365.920994 84.618469c-39.030945 0-70.78516-31.754215-70.78516-70.78516s31.754215-70.784136 70.78516-70.784136c39.030945 0 70.784136 31.753191 70.784136 70.784136S404.951939 84.618469 365.920994 84.618469zM365.920994-5.784493999999995c-10.818393 0-19.61985 8.801457-19.61985 19.618826 0 10.818393 8.801457 19.61985 19.61985 19.61985s19.618826-8.801457 19.618826-19.61985C385.540843 3.015939000000003 376.739387-5.784493999999995 365.920994-5.784493999999995zM808.821219 84.618469c-39.030945 0-70.784136-31.754215-70.784136-70.78516s31.753191-70.784136 70.784136-70.784136 70.78516 31.753191 70.78516 70.784136S847.852164 84.618469 808.821219 84.618469zM808.821219-5.784493999999995c-10.81737 0-19.618826 8.801457-19.618826 19.618826 0 10.818393 8.801457 19.61985 19.618826 19.61985 10.818393 0 19.61985-8.801457 19.61985-19.61985C828.441069 3.015939000000003 819.640636-5.784493999999995 808.821219-5.784493999999995zM443.99107 305.940157c-14.057157-1.416256-24.305569-13.959943-22.890336-28.0171 1.328251-13.187347 12.446473-23.02132 25.423019-23.02132 0.856507 0 1.723248 0.042979 2.594081 0.130983l439.314561 44.245713c0.088004 0.007163 0.174985 0.01842 0.261966 0.026606l0.180102 0.01842c0.50449 0.051165 1.001817 0.119727 1.496074 0.198521 0.222057 0.035816 0.443092 0.076748 0.663102 0.11768 0.552585 0.103354 1.100054 0.217964 1.638313 0.355087 0.085958 0.022513 0.169869 0.047072 0.254803 0.069585 0.586354 0.156566 1.161453 0.334621 1.728364 0.530073 0.077771 0.026606 0.155543 0.051165 0.233314 0.078795 0.626263 0.222057 1.239224 0.469698 1.840928 0.737804 0.039909 0.017396 0.078795 0.035816 0.118704 0.054235 1.277086 0.577145 2.496867 1.252527 3.647063 2.020006 0.001023 0.001023 0.002047 0.001023 0.00307 0.002047 0.553609 0.369414 1.088798 0.76134 1.609661 1.170662 0.069585 0.054235 0.137123 0.10847 0.205685 0.163729 0.48607 0.38988 0.958838 0.795109 1.413186 1.218758 0.092098 0.084934 0.180102 0.173962 0.270153 0.25992 0.394996 0.378623 0.778736 0.76748 1.14815 1.169639 0.11154 0.121773 0.222057 0.243547 0.331551 0.367367 0.333598 0.3776 0.653893 0.766456 0.964978 1.163499 0.12382 0.158612 0.249687 0.314155 0.370437 0.475837 0.322341 0.432859 0.629333 0.876973 0.925069 1.329275 0.113587 0.173962 0.224104 0.348947 0.333598 0.525979 0.296759 0.479931 0.580215 0.968048 0.845251 1.467421 0.069585 0.130983 0.134053 0.265036 0.201591 0.397043 0.289596 0.568958 0.563842 1.147126 0.811482 1.738597 0.00307 0.007163 0.005117 0.014326 0.008186 0.021489 0.569982 1.369184 1.019213 2.796696 1.345648 4.26514 0 0.001023 0 0.002047 0.001023 0.00307l0.00307 0.013303c0.035816 0.162706 0.075725 0.323365 0.10847 0.487094l56.17951 252.734118c0.895393 4.030803 0.780783 8.04728-0.165776 11.794627 0.50449 2.003634 0.774643 4.101411 0.774643 6.261611 0 14.128789-11.452843 25.582655-25.582655 25.582655L195.47502 616.098125l-52.358485 159.553902c-3.631714 11.067057-14.093996 17.972327-25.177426 17.590634-0.207731 0.005117-0.413416 0.01535-0.62217 0.01535L54.663994 793.258011c-14.128789 0-25.582655-11.453866-25.582655-25.582655s11.453866-25.582655 25.582655-25.582655l45.614897 0 197.955514-603.235934c3.536546-10.776438 13.546527-17.613146 24.303522-17.613146 2.067079 0 4.16281 0.26299 6.245238 0.788969l567.583946 0c14.129812 0 25.582655 11.453866 25.582655 25.582655s-11.452843 25.582655-25.582655 25.582655L340.816223 173.1979 212.265428 564.933839l701.224666 0-48.137347-216.557174L443.99107 305.940157z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="camera-fill" unicode="" d="M512 480C436.515555 480 375.111111 419.712 375.111111 345.6 375.111111 271.48800000000006 436.515555 211.20000000000005 512 211.20000000000005 587.484446 211.20000000000005 648.888887 271.48800000000006 648.888887 345.6 648.888887 419.712 587.484446 480 512 480M512 172.79999999999995C414.808889 172.79999999999995 336 250.15679999999998 336 345.6 336 441.0432 414.808889 518.4 512 518.4 609.210667 518.4 688 441.0432 688 345.6 688 250.15679999999998 609.210667 172.79999999999995 512 172.79999999999995M903.111113 691.2L723.767113 691.2C713.383113 691.2 703.448887 695.2512 696.115554 702.4512L640.792887 756.7488C633.459554 763.9488 623.505779 768 613.141333 768L512 768 410.878222 768C400.494222 768 390.56 763.9488 383.226667 756.7488L327.904 702.4512C320.570667 695.2512 310.616889 691.2 300.252445 691.2L120.888889 691.2C77.866667 691.2 42.666667 656.64 42.666667 614.4L42.666667 76.79999999999995C42.666667 34.559999999999945 77.866667 0 120.888889 0L903.111113 0C946.133333 0 981.333333 34.559999999999945 981.333333 76.79999999999995L981.333333 614.4C981.333333 656.64 946.133333 691.2 903.111113 691.2" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="tabs" unicode="" d="M310.30303 523.636364L124.121212 523.636364c-17.128727 0-31.030303-13.901576-31.030303-31.030303l0-186.181818c0-17.128727 13.901576-31.030303 31.030303-31.030303l186.181818 0c17.128727 0 31.030303 13.901576 31.030303 31.030303L341.333333 492.606061C341.333333 509.734788 327.431758 523.636364 310.30303 523.636364zM294.787879 306.42424200000005L139.636364 306.42424200000005c-17.128727 0-15.515152-1.613576-15.515152 15.515152L124.121212 477.090909c0 17.128727-1.613576 15.515152 15.515152 15.515152l155.151515 0c17.128727 0 15.515152 1.613576 15.515152-15.515152l0-155.151515C310.30303 304.81066699999997 311.916606 306.42424200000005 294.787879 306.42424200000005zM418.909091 352.969697l480.969697 0 0 31.030303L418.909091 384 418.909091 352.969697zM418.909091 228.84848499999998l480.969697 0 0 31.030303L418.909091 259.878788 418.909091 228.84848499999998zM418.909091 89.21212100000002l480.969697 0 0 31.030303L418.909091 120.24242400000003 418.909091 89.21212100000002zM418.909091 492.606061l480.969697 0 0 31.030303L418.909091 523.636364 418.909091 492.606061zM992.969697 725.333333l-15.515152 0L977.454545 849.454545c0 17.128727-13.901576 31.030303-31.030303 31.030303L775.757576 880.484848c-17.128727 0-31.030303-13.901576-31.030303-31.030303l0-124.121212-139.636364 0L605.090909 849.454545c0 17.128727-13.901576 31.030303-31.030303 31.030303L403.393939 880.484848c-17.128727 0-31.030303-13.901576-31.030303-31.030303l0-124.121212-124.121212 0L248.242424 849.454545c0 17.128727-13.901576 31.030303-31.030303 31.030303L31.030303 880.484848C13.901576 880.484848 0 866.583273 0 849.454545l0-946.424242c0-17.128727 13.901576-31.030303 31.030303-31.030303l961.939394 0c17.128727 0 31.030303 13.901576 31.030303 31.030303L1024 694.30303C1024 711.431758 1010.098424 725.333333 992.969697 725.333333zM992.969697-65.939394c0-17.128727-13.901576-31.030303-31.030303-31.030303L62.060606-96.969697c-17.128727 0-31.030303 13.901576-31.030303 31.030303L31.030303 818.424242c0 17.128727 13.901576 31.030303 31.030303 31.030303l124.121212 0c17.128727 0 31.030303-13.901576 31.030303-31.030303l0-124.121212 744.727273 0c17.128727 0 31.030303-13.901576 31.030303-31.030303L992.969697-65.939394z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="fonts-code" unicode="" d="M270 626c-12 12-32 12-44 0L9 409c-12-12-12-32 0-44l217-217c6-6 14-9 22-9s16 3 22 9c12 12 12 32 0 44L75 387 270 582C282 595 282 614 270 626zM1015 409L798 626c-12 12-32 12-44 0-12-12-12-32 0-44l195-195L754 192c-12-12-12-32 0-44 6-6 14-9 22-9s16 3 22 9l217 217C1027 377 1027 397 1015 409zM624 696L624 696c-16 6-34-3-40-19L382 119c-6-16 2-34 19-40l0 0c16-6 34 3 40 19l202 558C648 672 640 690 624 696z" horiz-adv-x="1025" />
+
+
+ <glyph glyph-name="fire" unicode="" d="M890.059904 352.19948999999997C845.890699 458.956706 840.554889 548.4951550000001 857.396326 618.42714 859.144623 625.686731 860.991676 631.9776790000001 862.858846 637.425182 863.763607 640.064841 865.906573 645.659889 866.16406 646.532651L880.890349 696.448108 833.062903 675.9309969999999C832.106692 675.5208 830.618069 674.894716 827.426684 673.550492 824.667648 672.380966 822.310677 671.354022 819.868514 670.244809 813.291441 667.2575449999999 807.049466 664.090938 800.697749 660.4128450000001 784.089623 650.795565 768.486253 638.656896 753.86285 623.033596 727.630498 595.007563 706.526618 557.766355 691.78157 509.713231 675.041103 455.157161 671.516484 411.46006 673.004574 347.939834 673.477918 327.73476900000003 673.463923 322.197583 672.83965 318.324215 673.779618 324.156339 684.455526 333.67819899999995 696.104608 329.19567600000005 693.056849 330.36844199999996 685.695898 339.012828 676.314007 361.368339 660.550914 398.92921 646.834249 460.170272 636.817284 549.350468 625.445924 650.588768 630.103925 734.7280519999999 644.646978 801.338628 647.677924 815.221065 650.899934 827.082435 654.086773 836.904609 655.91465 842.538316 657.254607 846.094657 657.880284 847.554385L678.645286 896 628.243642 880.578031C617.409833 877.263087 599.94569 869.52239 578.105438 855.845223 542.547644 833.577626 507.199569 802.385036 474.400401 760.836776 447.596676 726.883228 423.611383 687.30061 403.118547 641.7016189999999 378.907516 587.829195 363.003277 542.798944 353.158029 503.238462 349.274261 487.632585 346.433259 473.323627 344.1945 458.925156 343.334411 453.39353 342.592734 448.063234 341.804612 441.911844 341.502524 439.553997 340.356619 430.329551 340.073506 428.145504 337.596047 409.033293 335.848224 404.35337 329.235273 398.312868 336.081933 404.566848 343.232634 404.098227 346.608002 402.086756 344.852318 403.133013 341.598345 406.493651 337.991853 411.887149 327.030897 428.279226 317.980358 454.883162 313.690598 489.339595 311.250185 508.941598 310.203772 539.08627 310.370048 576.545325 310.480474 601.422138 311.113088 628.122479 312.099068 654.977888 312.481453 665.393013 312.891081 675.105466 313.30045 683.8491750000001 313.545346 689.079919 313.735044 692.813105 313.84201 694.783403L317.55517 763.179488 271.360516 712.604139C270.467691 711.626645 268.852992 709.837042 266.618705 707.326295 262.927895 703.178805 258.823678 698.493751 254.407949 693.3614689999999 241.78797 678.693606 229.164348 663.340425 217.341267 648.004036 211.724185 640.717803 206.411389 633.591345 201.450577 626.6638379999999 176.017063 591.147305 156.617347 555.4025280000001 138.122768 512.155497 90.841957 401.595812 76.97672 299.64870599999995 99.261816 188.13489300000003 126.80821 50.29373899999996 188.553235-37.64422200000001 278.8297-84.690336 344.19104-118.75233700000001 408.837235-128 507.940695-128 525.713007-128 557.977207-125.567138 590.857378-120.46215900000004 641.152493-112.65333099999998 687.496192-99.78932299999997 726.063273-80.59104400000001 738.155853-74.57148800000004 743.07901-59.88870199999997 737.059454-47.79612199999997 731.039898-35.70354299999997 716.357111-30.780384000000026 704.264531-36.79993999999999 670.855859-53.43041900000003 629.092954-65.02289699999994 583.352478-72.12456999999995 552.984316-76.83953499999996 523.228215-79.08327499999996 507.940695-79.08327499999996 416.16215-79.08327499999996 357.934257-70.75375399999996 301.436271-41.310745999999995 224.830174-1.3887230000000272 171.977796 73.88423 147.230072 197.72094500000003 126.99711 298.965952 139.514783 391.004811 183.099329 492.921284 200.282663 533.1021499999999 218.020237 565.784358 241.22153 598.183718 245.831691 604.6215589999999 250.802959 611.289899 256.082244 618.137961 267.31885 632.713596 279.402035 647.409487 291.488864 661.457681 298.732051 669.8762429999999 304.338773 676.1767130000001 307.478705 679.614406L264.997214 697.435142C264.883874 695.347445 264.688038 691.493511 264.43725 686.13688 264.020474 677.234965 263.603959 667.359281 263.215279 656.7726250000001 262.21142 629.430212 261.566827 602.224414 261.453805 576.7624579999999 261.278897 537.3588179999999 262.385015 505.49418 265.148621 483.296209 276.058157 395.668083 322.627019 326.024497 362.226031 362.19561799999997 379.341732 377.829698 384.756649 392.328523 388.584361 421.857186 397.932742 493.974714 407.332926 531.746825 447.736538 621.64966 466.587287 663.594818 488.484326 699.731218 512.795234 730.526996 542.034492 767.565749 573.156162 795.028785 604.068111 814.386984 614.696751 821.043029 624.472062 826.201428 633.124687 830.036563 638.02329 832.207788 641.258688 833.404991 642.556233 833.802016L612.91959 866.825663C608.658554 856.884484 602.686705 838.478616 596.856038 811.772799 581.186705 740.003594 576.231674 650.498985 588.206246 543.890345 607.295279 373.94226100000003 638.819345 298.82556999999997 678.537329 283.542234 701.302332 274.78234499999996 717.731637 289.43566899999996 721.133156 310.5407 722.475759 318.870999 722.489387 324.26340300000004 721.907881 349.08549100000005 720.532565 407.791853 723.691247 446.952173 738.546223 495.36355 751.151827 536.44438 768.544047 567.135763 789.576147 589.605967 809.230566 610.60429 821.725461 617.839716 852.347733 630.9761169999999L842.705318 653.453557 819.246577 660.374464C822.235501 670.505564 813.450321 644.87463 809.839253 629.8801189999999 790.647573 550.1890470000001 796.611315 450.1135 844.8591 333.498332 883.105728 241.056017 874.587669 126.06492400000002 824.002925 61.39712899999995 815.680378 50.75754500000005 817.558709 35.38570000000004 828.198295 27.063153000000057 838.837879 18.740607999999952 854.209724 20.618939999999952 862.532269 31.258523999999966 924.762731 110.81426299999998 934.658528 244.404363 890.059904 352.19948999999997Z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="set" unicode="" d="M466.496-126.62400000000002l-1.056 0.064c-25.184 2.08-47.456 22.368-51.744 47.232l-17.344 102.4c-0.672 4.064-6.624 11.04-10.56 12.416l-30.336 12.416c-5.44 2.496-15.424 0.8-17.472-0.64l-84.992-60.16c-19.584-14.016-51.456-12.736-70.08 3.168l-64.288 64c-17.952 20.48-19.488 50.592-4.736 71.296l60.416 84.672c2.176 3.072 2.784 11.52 1.024 15.04l0 0c0 0-1.664 3.104-7.264 16.608-6.176 14.848-6.816 17.44-6.816 17.44-0.992 3.04-7.456 8.672-11.36 9.376l-102.56 17.248c-25.152 4.288-45.44 26.624-47.168 52L0 428.288c2.112 27.36 22.496 49.6 47.52 53.728l102.528 17.344c4.128 0.672 11.008 6.56 12.416 10.496l12.608 30.336c2.368 4.992 1.6 14.112-0.8 17.504L113.984 642.24C99.36 662.88 100.704 692.896 117.056 712.192l64.416 64.224c20.672 18.208 51.296 18.784 71.36 4.64l84.992-60.16c1.952-1.376 13.28-2.016 15.04-1.056 0.384 0.192 2.528 1.344 16.704 7.168 14.24 5.92 16.576 6.592 16.576 6.592 3.84 1.184 9.504 7.648 10.144 11.424l17.44 102.4c4.32 25.152 26.752 45.376 52.128 47.104l90.528 0.064c27.328-2.112 49.632-22.368 53.952-47.232l17.344-102.432c0.672-4.064 6.656-11.04 10.624-12.48l30.304-12.352c6.24-2.784 15.456-0.8 17.44 0.608l85.024 60.16c19.52 14.016 51.392 12.704 70.08-3.136l64.288-64.032c17.952-20.48 19.456-50.56 4.736-71.264l-60.416-84.672c-2.208-3.136-2.848-11.616-1.056-15.04 0.16-0.352 1.376-2.56 7.232-16.672 5.856-14.112 6.592-16.512 6.592-16.512 1.248-4.032 7.712-9.6 11.648-10.304l102.56-17.248c25.152-4.224 45.44-26.592 47.168-52l0.096-90.304c-2.112-27.392-22.528-49.6-47.552-53.728l-102.528-17.376c-4.128-0.672-10.944-6.496-12.32-10.432l-12.736-30.432c-2.336-4.928-1.568-14.112 0.832-17.472l60.288-84.512c14.624-20.736 13.216-50.816-3.232-70.048l-64.192-64.096c-11.328-9.92-24.64-14.72-38.784-14.72l0 0c-11.904 0-23.52 3.552-32.704 10.016l-84.992 60.16c-1.952 1.408-13.312 2.016-15.072 1.056-0.288-0.16-2.432-1.312-16.608-7.2-14.08-5.792-16.384-6.496-16.384-6.496-4.16-1.28-9.792-7.776-10.432-11.52l-17.408-102.4c-4.352-25.152-26.72-45.344-52.032-47.104L466.496-126.62400000000002zM347.84 100.60799999999995c10.368 0 20.192-2.112 28.48-6.112l27.648-11.296c20.416-7.072 38.976-28.992 42.848-51.584l17.344-102.336c0.288-1.6 3.136-4.32 5.056-4.832l87.296 0.064c-0.032 0.064 3.04 2.944 3.328 4.672l17.408 102.368c3.872 22.656 23.328 44.832 45.28 51.584 0 0 0 0 0 0-0.096 0 2.976 1.152 12.448 5.056 9.472 3.936 12.384 5.248 13.12 5.568 18.208 9.6 49.44 8.032 67.776-4.96l84.928-60.16c0.192-0.128 1.312-0.64 3.104-0.64l0 0c2.048 0 3.52 0.672 3.872 0.96l61.536 61.408 0 0c-0.16 0 0.064 4.416-0.992 5.952l-60.224 84.448c-13.248 18.624-15.68 47.168-5.792 67.872l11.648 27.84c6.944 19.968 29.408 38.912 51.68 42.496l102.464 17.376c1.824 0.384 4.736 3.648 4.864 5.408L972.8 428.288l0 0c-0.096 0-2.88 3.072-4.576 3.424l-102.72 17.28c-23.168 4.032-44.896 22.976-51.776 45.056l0 0c-0.032 0-1.216 3.04-5.12 12.512-3.968 9.568-5.28 12.512-5.632 13.248-10.24 19.36-8.288 48.736 4.96 67.456L868.448 672c0.96 1.408 0.736 5.6-0.384 6.912l-61.408 61.184c0.704-0.8-0.768-0.192-2.848-0.192-1.728 0-2.784-0.416-3.008-0.576l-85.024-60.16c-17.824-12.8-47.776-15.36-68-5.664l-27.712 11.296c-20.512 7.2-39.04 29.088-42.88 51.584l-17.344 102.336c-0.288 1.76-3.616 4.704-5.504 4.864L467.616 843.52c0-0.064-3.104-2.944-3.392-4.672l-17.408-102.336c-3.84-22.624-23.264-44.8-45.216-51.584 0-0.032-3.008-1.184-12.416-5.088-9.568-3.936-12.512-5.248-13.248-5.568-17.984-9.568-49.344-8.032-67.744 4.992L223.264 739.36c-0.416 0.32-6.176 0.288-6.848-0.224L154.688 677.6320000000001c0 0 0 0 0 0 0.224 0 0.032-4.384 1.056-5.856L216 587.264c13.312-18.752 15.744-47.296 5.76-67.968l-11.52-27.648c-6.976-20.032-29.472-38.944-51.776-42.624L55.968 431.68c-1.824-0.384-4.704-3.648-4.832-5.408l0.096-86.56 0 0c0.096 0 2.912-3.104 4.608-3.424l102.656-17.28c23.04-4 44.704-22.912 51.712-44.928 0.256-0.736 1.44-3.84 5.088-12.64 3.68-8.832 5.024-11.84 5.472-12.736 10.592-20.288 8.672-48.96-4.672-67.904l-60.512-84.768c-0.96-1.408-0.736-5.632 0.384-6.912l61.408-61.184c-0.736 0.8 0.736 0.224 2.816 0.192 1.728 0 2.784 0.416 3.008 0.576l84.992 60.16C318.624 96.32000000000005 333.088 100.60799999999995 347.84 100.60799999999995zM512.032 133.856c-138.336 0-250.848 112.224-250.848 250.176 0 137.92 112.544 250.144 250.848 250.144s250.848-112.224 250.848-250.144C762.88 246.08000000000004 650.336 133.856 512.032 133.856zM512.032 583.136c-110.08 0-199.648-89.312-199.648-199.104s89.568-199.136 199.648-199.136 199.648 89.344 199.648 199.136S622.112 583.136 512.032 583.136z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="fonts-u" unicode="" d="M0-49.23076900000001L945.230769-49.23076900000001 945.230769-128 0-128 0-49.23076900000001ZM0 896L407.076943 896 407.076943 834.065644 319.153861 827.872177 299.076923 809.911217 299.076923 365.841959C299.076923 281.19796199999996 317.076716 220.709337 353.076933 184.37435100000005 389.077071 148.03936499999998 448.153442 129.87210800000003 530.307702 129.87210800000003 606.000364 129.87210800000003 660.807522 149.17482299999995 694.730752 187.78072599999996 728.653982 226.38662899999997 745.61536 289.66226700000004 745.61536 377.60953099999995L745.61536 804.956475 724.153817 826.633531 633.461524 834.065644 633.461524 896 955.384596 896 955.384596 834.065644 868.846119 826.633531 849.461563 804.956475 849.461563 364.60331299999996C849.461563 246.92743900000005 819.923338 161.66533900000002 760.846178 108.81441500000005 701.76894 55.96348999999998 606.462188 29.53846199999998 474.923087 29.53846199999998 406.153531 29.53846199999998 345.807951 38.51886300000001 293.884613 56.47990200000004 241.961275 74.44093999999996 201.230887 100.143419 171.692347 133.58820400000002 149.076834 160.01362700000004 133.038474 190.25793999999996 123.57695 224.32200899999998 114.115348 258.386078 109.384625 307.21047599999997 109.384625 370.796702L109.384625 809.911217 89.307687 827.872177 0 834.065644 0 896Z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="triangle-d" unicode="" d="M773.128299 88.65234199999998M889.696178 575.195553L158.862147 575.195553 524.357446 209.64704300000005 889.696178 575.195553Z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="tips" unicode="" d="M967.280184 578.537671c-24.915459 58.887178-60.544935 111.76755-105.96745 157.161413-45.393863 45.393863-98.273211 81.051991-157.160389 105.96745-60.988026 25.803689-125.735679 38.853913-192.494129 38.853913-66.729797 0-131.504056-13.0799-192.494129-38.853913-58.887178-24.916483-111.766526-60.544935-157.160389-105.96745-45.393863-45.393863-81.051991-98.274234-105.96745-157.161413-25.803689-60.988026-38.884612-125.734656-38.884612-192.464453s13.0799-131.50508 38.884612-192.464453c24.915459-58.887178 60.544935-111.737874 105.96745-157.161413 45.393863-45.393863 98.273211-81.051991 157.160389-105.96745 60.988026-25.803689 125.735679-38.853913 192.494129-38.853913 66.729797 0 131.504056 13.0799 192.494129 38.853913 58.887178 24.916483 111.766526 60.544935 157.160389 105.96745 45.393863 45.393863 81.051991 98.274234 105.96745 157.161413 25.803689 60.988026 38.853913 125.734656 38.853913 192.464453S993.084896 517.549645 967.280184 578.537671zM511.687892-55.138552000000004c-243.302305 0-441.241446 197.909465-441.241446 441.21177S268.385587 827.284989 511.687892 827.284989c243.273652-0.029676 441.210747-197.938118 441.210747-441.21177S754.990197-55.138552000000004 511.687892-55.138552000000004zM511.657192 573.565427m-45.511543 0a44.475 44.475 0 1 1 91.023086 0 44.475 44.475 0 1 1-91.023086 0ZM542.729885 184.14011300000004c0-17.162892-13.906731-31.071669-31.070646-31.071669l0 0c-17.163915 0-31.070646 13.907755-31.070646 31.071669L480.588593 426.998303c0 17.162892 13.906731 31.071669 31.070646 31.071669l0 0c17.163915 0 31.070646-13.907755 31.070646-31.071669L542.729885 184.14011300000004z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="picture" unicode="" d="M765.376 615.424c0 0 103.04 1.024 103.04-100.992 0 0 9.536-98.752-103.04-100.928 0 0-100.864-2.176-99.84 100.928C665.536 514.496 664.448 605.8879999999999 765.376 615.424ZM968.32 770.56c0 0 54.208-4.224 54.208-52.032l0-712.832c0 0-3.2-51.008-54.208-52.096L968.32 770.56ZM1.472 5.631999999999948c0 0 2.176-52.096 52.096-52.096L968.32-46.464000000000055l0 150.848-99.712 0-203.072 206.144-153.024-153.984L304.32 413.568l-205.056-307.072-45.632-1.024L52.48 718.4639999999999 1.472 718.4639999999999 1.472 5.631999999999948ZM968.32 770.56L53.568 770.56c0 0-52.096 1.088-52.096-52.032L968.32 718.528 968.32 770.56Z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="more-vertical" unicode="" d="M511.998465 623.681848c40.525995 0 73.386404 35.771715 73.386404 79.892585s-32.860409 79.892585-73.386404 79.892585c-40.524972 0-73.384357-35.771715-73.384357-79.892585S471.47247 623.681848 511.998465 623.681848L511.998465 623.681848zM511.998465 463.893608c-40.524972 0-73.384357-35.772738-73.384357-79.893608 0-44.12087 32.859385-79.892585 73.384357-79.892585 40.525995 0 73.386404 35.772738 73.386404 79.892585C585.384869 428.12087 552.52446 463.893608 511.998465 463.893608L511.998465 463.893608zM511.998465 144.320199c-40.524972 0-73.384357-35.733852-73.384357-79.894631 0-44.119847 32.859385-79.893608 73.384357-79.893608 40.525995 0 73.386404 35.772738 73.386404 79.893608C585.383846 108.58634600000005 552.52446 144.320199 511.998465 144.320199L511.998465 144.320199z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="flag" unicode="" d="M878.368178 798.272211c-11.363815 4.799306-24.470321 2.360767-33.31578-6.245238-0.36532-0.350994-37.162388-35.304064-95.163383-56.05262-75.462692-26.993794-150.763702-18.409279-223.812415 25.517163-38.347376 23.060205-81.875752 40.665165-129.376603 52.327786-37.582967 9.228175-77.742619 14.777565-119.363552 16.496719-70.805626 2.925632-121.493052-6.224772-123.615389-6.615675-14.56574-2.682086-25.140587-15.380292-25.140587-30.191626L128.58047-31.312913999999978c0-16.954137 13.745049-30.699186 30.699186-30.699186s30.699186 13.745049 30.699186 30.699186L189.978842 266.68306099999995c15.562441 5.250584 47.994084 14.447037 91.40171 17.48728 35.985586 2.51938 72.440869 0.378623 108.35073-6.363941 44.847417-8.420787 89.059362-24.102954 131.409912-46.611597 46.26879-24.591071 93.776803-41.069371 141.203976-48.977481 38.270629-6.380314 76.541257-7.219425 113.740484-2.491751 64.277956 8.16803 103.877859 30.461779 105.532545 31.406291 9.56689 5.464455 15.471366 15.637142 15.471366 26.656103L897.089565 769.958352C897.091612 782.298402 889.73711 793.470859 878.368178 798.272211zM835.69324 257.496841c-14.58416-5.755074-38.82526-13.530155-70.319555-17.225313-30.990828-3.635807-62.940494-2.676969-94.952582 2.851954-40.201607 6.943133-80.731696 21.171182-120.464629 42.289152-48.455595 25.753547-99.208513 43.61945-150.848637 53.101405-29.29214 5.378497-58.896388 8.079002-88.407516 8.079002-12.228509 0-24.443715-0.464581-36.609803-1.39272-34.879392-2.663666-63.618946-8.741082-84.111676-14.355963L189.978842 766.569162c19.971867 2.003634 50.446949 3.910053 86.392626 2.334161 58.186214-2.554172 143.250588-15.041578 218.064504-60.029188 61.32674-36.877909 119.196753-49.491181 169.691797-49.488111 42.293245 0.002047 79.416747 8.854669 109.019972 19.711947 24.269753 8.901741 45.327348 19.747763 62.544475 30.179346L835.692217 257.496841z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="loading" unicode="" d="M511.999488 756.654348m-70.608128 0a69 69 0 1 1 141.216255 0 69 69 0 1 1-141.216255 0ZM236.047576 639.997442m-68.561515 0a67 67 0 1 1 137.123031 0 67 67 0 1 1-137.123031 0ZM125.530506 382.12428m-62.421678 0a61 61 0 1 1 124.843356 0 61 61 0 1 1-124.843356 0ZM227.861126 100.71507499999996m-54.235229 0a53 53 0 1 1 108.470457 0 53 53 0 1 1-108.470457 0ZM514.166851-16.84438799999998m-47.192835 0a46.118 46.118 0 1 1 94.385671 0 46.118 46.118 0 1 1-94.385671 0ZM804.730553 91.450061m-33.834596 0a33.064 33.064 0 1 1 67.669192 0 33.064 33.064 0 1 1-67.669192 0ZM935.55411 383.395226m-23.969924 0a23.424 23.424 0 1 1 47.939849 0 23.424 23.424 0 1 1-47.939849 0ZM856.723717 634.80007m-17.135262 0a16.745 16.745 0 1 1 34.270525 0 16.745 16.745 0 1 1-34.270525 0Z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="fonts-i" unicode="" d="M897.948 834.255l0-64.322-128.65 0L447.674-1.9329999999999927l128.65 0 0-64.32L126.052-66.25300000000004l0 64.32 128.65 0 321.622 771.866-128.65 0L447.674 834.255 897.948 834.255z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="refresh-1" unicode="" d="M688.146 736l-192 128v-256l192 128.001zM496.146 767.7090000000001c-231.174-8.416-416-198.479-416-431.709 0-238.587 193.413-432 432-432 233.23 0 423.293 184.826 431.709 416h-64.05c-8.377-195.817-169.778-352-367.658-352-203.241 0-368 164.759-368 368 0 197.88 156.183 359.282 352 367.658v64.051z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="rmb" unicode="" d="M511.998465 896C229.23338 896 0.004605 666.769178 0.004605 384.001023c0-282.773272 229.227752-512.001023 511.99386-512.001023 282.769178 0 511.994883 229.227752 511.994883 512.001023C1023.994372 666.769178 794.767644 896 511.998465 896zM511.998465-91.59690499999999c-262.660188 0-475.589742 212.930577-475.589742 475.597929 0 262.663258 212.929554 475.594859 475.589742 475.594859 262.663258 0 475.590765-212.9316 475.590765-475.594859C987.590254 121.33469500000001 774.662747-91.59690499999999 511.998465-91.59690499999999zM738.742652 301.137781L544.432155 301.137781l0 69.780273 194.310497 0c17.835204 0 32.249495 14.43885 32.249495 32.220842 0 17.784038-14.414291 32.19526-32.249495 32.19526L589.7462 435.334155l149.620669 209.579249c8.916067 15.397688 3.63069 35.099403-11.82021 43.988864-15.398712 8.891508-35.097356 3.629667-44.017516-11.793604L512.187777 437.098335 340.84334 677.108664c-8.864902 15.423271-28.617781 20.685111-44.016493 11.793604-15.395642-8.889461-20.685111-28.590152-11.82021-43.988864l149.622716-209.579249L285.628808 435.334155c-17.781992 0-32.245402-14.411221-32.245402-32.19526 0-17.781992 14.46341-32.220842 32.245402-32.220842l194.310497 0 0-69.780273L285.628808 301.137781c-17.781992 0-32.245402-14.413268-32.245402-32.19526s14.46341-32.220842 32.245402-32.220842l194.310497 0 0-132.435265c0-17.780969 14.46341-32.19526 32.248472-32.19526 17.835204 0 32.245402 14.414291 32.245402 32.19526L544.433178 236.72065499999997l194.310497 0c17.835204 0 32.249495 14.43885 32.249495 32.220842S756.577856 301.137781 738.742652 301.137781" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="home" unicode="" d="M824.084343-40.42033900000001H232.898863c-74.604138 0-85.85232 28.334325-85.852321 49.997718l-0.584307 5.314029V447.645552h48.806589v-402.916582c0-25.547863 13.548574-36.343743 37.629015-36.343743h568.020898c25.928532 0 27.978215 6.220678 27.978215 37.84391V447.585177l48.806589 0.118704c0.022513-14.346753 0-382.76666 0-433.098999 0-38.130436-12.726859-54.765301-51.858088-54.765301l-1.76111-0.25992zM1012.470921 493.103884C849.773422 615.120868 687.101505 737.137853 524.404006 859.153814c-6.207375 4.659113-18.433838 4.659113-24.641213 0C337.077573 737.137853 174.393377 615.120868 11.696902 493.103884c-24.856108-18.635429-0.572028-61.044308 24.642236-42.13361A15995638.709915 15995638.709915 0 0 1 512.025071 807.737794c0.988514-0.715291 1.644453-1.144056 2.823302-2.037403 18.040888-13.524015 36.057217-27.036773 54.073546-40.560788 58.291614-43.718711 116.583229-87.437421 174.874843-131.143852 81.33647-61.008492 162.696476-122.015961 244.033969-183.024454 25.212218-18.911722 49.496298 23.497157 24.64019 42.132587z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="user" unicode="" d="M611.2 342.4c70.4 54.4 115.2 140.8 115.2 230.4 0 156.8-128 288-284.8 288s-284.8-128-284.8-284.8c0-92.8 44.8-182.4 115.2-236.8C108.8 272 0 105.60000000000002 0-80c0-9.6 9.6-19.2 19.2-19.2h848c9.6 0 19.2 9.6 19.2 19.2 0 188.8-112 355.2-275.2 422.4z m-576-396.8C44.8 115.20000000000005 156.8 268.79999999999995 320 320c6.4 3.2 12.8 9.6 12.8 16s-3.2 16-9.6 19.2c-76.8 41.6-128 131.2-128 224 0 134.4 112 246.4 246.4 246.4s246.4-112 246.4-249.6c0-89.6-51.2-176-128-220.8-6.4-3.2-9.6-9.6-9.6-19.2 0-6.4 6.4-12.8 12.8-16 160-51.2 275.2-204.8 281.6-377.6H35.2zM812.8 361.6c54.4 41.6 86.4 108.8 86.4 176 0 89.6-54.4 172.8-134.4 208-9.6 3.2-22.4 0-25.6-9.6-3.2-9.6 0-22.4 9.6-25.6 67.2-28.8 112-99.2 112-172.8 0-67.2-38.4-131.2-96-163.2-6.4-3.2-9.6-9.6-9.6-19.2 0-6.4 6.4-12.8 12.8-16 131.2-41.6 217.6-160 217.6-297.6 0-9.6 9.6-19.2 19.2-19.2s19.2 9.6 19.2 19.2c-3.2 140.8-86.4 262.4-211.2 320z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="notice" unicode="" d="M544 798.976V864h-64v-65.024C289.536 786.304 160 658.624 160 416v-288h64V416c0 192 115.456 320 288 320 180.544 0 288-128 288-320v-288h64V416c0 242.88-122.496 370.56-320 382.976zM672 64a160 160 0 1 0-320 0h64a96 96 0 0 1 192 0h64zM64 128h896v-64H64v64z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="login-weibo" unicode="" d="M411.270737 288.350316c-17.973895 7.504842-41.189053-0.229053-52.264421-17.542737-11.223579-17.394526-5.955368-38.103579 11.870316-46.201263 18.108632-8.232421 42.132211-0.417684 53.342316 17.421474C435.253895 260.05557899999997 429.446737 280.62989500000003 411.270737 288.350316zM455.545263 306.64757899999995c-6.885053 2.721684-15.508211-0.579368-19.550316-7.329684-3.920842-6.790737-1.751579-14.524632 5.146947-17.367579 7.019789-2.883368 16.006737 0.458105 20.048842 7.370105C465.071158 296.259368 462.551579 304.087579 455.545263 306.64757899999995zM427.52 426.684632c-115.968-11.439158-203.924211-82.216421-196.378947-158.073263 7.531789-75.910737 107.654737-128.161684 223.649684-116.749474 115.994947 11.439158 203.924211 82.216421 196.392421 158.140632C643.664842 385.859368 543.541895 438.110316 427.52 426.684632zM529.300211 247.70021099999997c-23.673263-53.355789-91.769263-81.798737-149.530947-63.232-55.754105 17.933474-79.373474 72.811789-54.945684 122.246737 23.956211 48.464842 86.352842 75.870316 141.541053 61.561263C523.506526 353.562947 552.663579 299.85684200000003 529.300211 247.70021099999997zM512 896C229.241263 896 0 666.772211 0 384c0-282.758737 229.241263-512 512-512 282.772211 0 512 229.241263 512 512C1024 666.772211 794.772211 896 512 896zM455.531789 101.02568399999996c-145.354105 0-293.941895 70.197895-293.941895 185.667368 0 60.362105 38.386526 130.182737 104.474947 196.069053 88.252632 87.929263 191.164632 127.986526 229.874526 89.397895 17.084632-17.003789 18.741895-46.457263 7.760842-81.623579-5.726316-17.690947 16.666947-7.895579 16.666947-7.936 71.343158 29.763368 133.564632 31.514947 156.321684-0.862316 12.139789-17.246316 10.954105-41.472-0.215579-69.510737-5.173895-12.921263 1.589895-14.928842 11.466105-17.879579 40.178526-12.422737 84.924632-42.455579 84.924632-95.380211C772.837053 211.36168399999997 646.090105 101.02568399999996 455.531789 101.02568399999996zM718.672842 468.197053c4.715789 14.457263 1.765053 30.962526-9.202526 43.061895-10.954105 12.072421-27.136 16.666947-42.037895 13.527579l0 0.026947c-12.463158-2.694737-24.724211 5.268211-27.392 17.664-2.667789 12.463158 5.281684 24.697263 17.744842 27.338105 30.531368 6.467368 63.595789-2.937263 85.989053-27.715368 22.447158-24.764632 28.456421-58.489263 18.849684-88.064-3.907368-12.099368-16.936421-18.728421-29.062737-14.848-12.139789 3.920842-18.782316 16.922947-14.874947 28.995368L718.672842 468.183579zM853.261474 424.865684c-0.013474-0.013474-0.013474-0.080842-0.013474-0.107789-4.567579-14.026105-19.712-21.706105-33.778526-17.165474-14.133895 4.554105-21.854316 19.590737-17.300211 33.670737l0 0.013474c13.999158 43.169684 5.12 92.429474-27.567158 128.565895-32.714105 36.122947-80.949895 49.92-125.507368 40.488421-14.484211-3.085474-28.752842 6.130526-31.838316 20.574316-3.098947 14.403368 6.144 28.631579 20.641684 31.717053l0.026947 0c62.625684 13.271579 130.519579-6.117053 176.545684-56.966737C860.483368 554.886737 872.892632 485.618526 853.261474 424.865684z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="voice" unicode="" d="M463.380164 644.0568969999999v-0.003069c-4.550643 4.549619-10.484795 7.02295-16.913205 7.02295s-12.365632-2.473331-16.915251-7.02295c-4.549619-4.551666-7.020904-10.485819-7.020904-16.914229s2.471284-12.365632 7.020904-16.915251c60.437487-60.438511 93.675496-140.756791 93.675496-226.222301 0-85.464487-33.238009-165.783791-93.675496-226.220255-4.549619-4.551666-7.020904-10.487865-7.020904-16.915252 0-6.429433 2.471284-12.365632 7.020904-16.914228 4.550643-4.549619 10.486842-7.02295 16.915251-7.02295s12.364609 2.473331 16.913205 7.02295c35.114752 35.116799 62.317301 76.06849 80.814584 121.668037 17.904789 44.018539 26.90579 90.608647 26.90579 138.384768s-9.101285 94.26799-26.90579 138.384767c-18.59552 45.697785-45.698808 86.550215-80.814584 121.667013zM781.892405 618.929614v-0.002047c-31.358195 77.452-77.550237 146.990772-137.098471 206.539007-4.550643 4.549619-10.485819 7.02295-16.915252 7.02295-6.42841 0-12.363585-2.473331-16.914228-7.02295-9.29776-9.299807-9.29776-24.531719 0-33.82948 54.997592-54.998615 97.631598-119.195729 126.613676-190.71153 27.993564-69.044516 42.237987-142.045133 42.237987-216.924541s-14.244422-147.882072-42.237987-216.923518c-28.982078-71.517847-71.616084-135.616724-126.613676-190.711529-9.29776-9.298783-9.29776-24.531719 0-33.82948 4.551666-4.551666 10.485819-7.02295 16.914228-7.02295 6.429433 0 12.366655 2.471284 16.915252 7.02295 59.547211 59.547211 105.740276 129.085984 137.098471 206.53696 30.369681 74.78117 45.699832 153.817248 45.699831 234.928591 0 81.111343-15.331173 160.146397-45.699831 234.927567zM299.474141 427.621497c-11.670807 11.573593-27.103288 18.004049-43.522236 18.004049-16.419971 0-31.852452-6.429433-43.52326-18.004049-11.57257-11.57257-18.003026-27.104311-18.003026-43.522236 0-16.420995 6.42841-31.851429 18.003026-43.52326 11.574616-11.57257 27.103288-18.003026 43.52326-18.003025s31.852452 6.429433 43.522236 18.003025c11.573593 11.573593 18.003026 27.104311 18.003025 43.52326 0 16.419971-6.427386 31.852452-18.003025 43.522236z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="upload-drag" unicode="" d="M666.931 445.918l-124.245 99.362c-7.221 5.639-16.428 9.042-26.429 9.042-9.963 0-19.136-3.376-26.438-9.047l-124.215-99.391c-9.615-7.772-15.713-19.565-15.713-32.782 0-9.946 3.453-19.084 9.223-26.284 13.828-17.359 41.51-20.465 58.918-6.505l56.252 45.022v-261.12c0-23.177 18.842-41.984 41.95-41.984s41.95 18.842 41.95 41.984v261.12l56.286-45.056c17.545-13.892 45.09-10.718 58.914 6.554 5.754 7.137 9.236 16.316 9.236 26.308 0 13.211-6.086 24.999-15.609 32.716zM235.827 142.95000000000005c-85.026 0-152.542 31.71-188.655 89.839-36.113 58.095-34.406 134.724 4.335 195.174 37.342 58.334 102.366 92.023 178.995 94.549-19.866 130.492 42.667 202.377 84.753 235.008 90.112 69.871 234.257 79.053 335.565 21.367 58.982-33.587 94.037-85.675 100.454-146.978 113.937 18.978 177.562-33.826 206.814-69.905 63.317-78.131 71.27-204.39 18.91-300.203-46.524-85.06-130.389-127.317-229.82-116.497-18.739 2.116-32.222 18.978-30.174 37.683s19.285 32.017 37.683 30.174c96.7-10.718 143.258 46.353 162.406 81.408 39.014 71.373 33.826 167.868-12.049 224.495-38.673 47.684-100.352 60.518-178.483 37.069-2.94-0.916-6.319-1.443-9.822-1.443-18.851 0-34.133 15.282-34.133 34.133 0 1.495 0.096 2.969 0.283 4.414 8.549 68.506-31.114 106.53-65.93 126.362-77.346 44.066-191.522 37.035-259.925-15.974-58.266-45.193-75.947-117.18-51.132-208.179 0.761-2.688 1.198-5.775 1.198-8.963 0-18.851-15.282-34.133-34.133-34.133-1.481 0-2.94 0.094-4.371 0.277-70.759 8.822-128.991-13.535-159.677-61.424-24.61-38.434-26.146-86.46-3.823-122.368 27.716-44.578 86.05-64.375 164.147-55.637 1.132 0.133 2.443 0.209 3.772 0.209 18.853 0 34.138-15.284 34.138-34.138 0-17.525-13.205-31.965-30.208-33.914-14.153-1.653-27.874-2.404-41.118-2.404z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="login-qq" unicode="" d="M512 896C229.227789 896 0 666.772211 0 384c0-282.745263 229.227789-512 512-512s512 229.254737 512 512C1024 666.772211 794.772211 896 512 896L512 896zM738.856421 258.93726300000003c0 0-16.208842-44.220632-45.945263-83.941053 0 0 53.126737-18.054737 48.64-64.983579 0 0 1.778526-52.345263-113.461895-48.734316 0 0-81.071158 6.319158-105.377684 40.609684l-21.423158 0c-24.306526-34.304-105.350737-40.609684-105.350737-40.609684-115.280842-3.610947-113.475368 48.734316-113.475368 48.734316-4.500211 46.928842 48.626526 64.983579 48.626526 64.983579-29.709474 39.720421-45.918316 83.941053-45.918316 83.941053-72.057263-116.439579-64.848842 16.249263-64.848842 16.249263 13.527579 78.524632 70.238316 129.967158 70.238316 129.967158-8.111158 71.316211 21.611789 83.941053 21.611789 83.941053C318.410105 709.712842 508.025263 705.859368 512 705.751579c3.988211 0.107789 193.576421 3.961263 199.828211-216.643368 0 0 29.709474-12.638316 21.611789-83.941053 0 0 56.737684-51.442526 70.238316-129.967158l0 0C803.678316 275.18652599999996 810.873263 142.49768400000005 738.856421 258.93726300000003L738.856421 258.93726300000003zM738.856421 258.93726300000003" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="snowflake" unicode="" d="M480.695-64h63.725V59.291000000000054l68.854-68.242 44.945 44.546-113.798 112.79v180.02l177.271-102.44 41.67-155.652 60.725 16.284-25.398 94.872 85.259-49.266 31.87 55.246-84.726 48.961 94.497 25.343-16.495 61.622-156.068-41.855-176.934 102.245 177.667 102.667 155.513-41.709 16.274 60.793-94.78 25.418 85.255 49.264-31.869 55.247-84.733-48.965 25.326 94.594-61.557 16.51-41.817-156.206-176.948-102.251V644.461l113.849 113.951-44.459 44.496-69.392-69.454V832h-63.725v-97.935l-69.188 69.249-45.068-45.107 114.256-114.355V438.89l-156.557 90.469L283.45 684.39l-60.188-16.458 24.84-94.632-107.544 62.145-31.868-55.247 106.667-61.639-93.463-25.557 16.074-61.237 154.482 42.243 156.169-90.243-156.138-90.226-154.485 42.243-15.855-60.409 94.289-25.784-107.534-62.14 31.868-55.247 106.672 61.642-24.621-93.801 61.012-16.685 40.69 155.028 156.179 90.25v-180.455l-113.801-112.79 44.338-43.944 69.463 68.845V-64z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="file-b" unicode="" d="M790.08 177.91999999999996l-138.112-119.232V177.91999999999996h138.112zM198.848 763.008h627.328v-516.16H617.088a34.56 34.56 0 0 1-34.816-34.432v-206.528H198.848V763.008z m662.208 68.8H164.032a34.56 34.56 0 0 1-34.816-34.432v-825.92a34.56 34.56 0 0 1 34.816-34.432h453.056l278.784 240.896V797.376a34.56 34.56 0 0 1-34.816 34.432z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="template" unicode="" d="M734 172.89999999999998v82.8h-59.9v-37l-35.7-9.7 15.7-57.8zM674.1 419.3H734v-81.8h-59.9zM734 600.2l-95.6-26 15.7-57.8 20 5.4v-20.7H734zM866.1 131.29999999999995v-37l-35.7-9.7 7.9-28.9 7.8-28.9 79.9 21.7v82.8h-29.9zM740.9 60.299999999999955L651.4 36l7.9-28.9 7.8-29 89.5 24.4-7.8 28.9zM740.9 781.7l-89.5-24.3 7.9-28.9 7.8-28.9 89.5 24.3-7.8 28.9zM830.4 806l7.9-28.9 7.8-28.9 20 5.5v-20.8H926V832zM866.1 612.6v-120.3H926V612.6h-29.9zM866.1 371.9v-120.3H926V371.9h-29.9zM541.9 665.6l35.7 9.7-7.8 28.9-7.8 28.9-50-13.6L98 832v-783.5l384.1-104.3L512-64l29.9 8.1 35.7 9.7-7.8 28.9-7.8 28.9-20-5.4V120.79999999999995l35.7 9.7-15.7 57.8-20-5.4V486l35.7 9.7-15.7 57.8-20-5.4V665.6z m-59.8-659.4l-324.2 88.1V753.7l324.2-88.1V548l-192 52.2v-427.3l192-52.2v-114.5z m0 360.9V182.79999999999995l-132.2 35.9V521.8l132.2-35.9v-118.8z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="auz" unicode="" d="M324.266667 435.2c-17.066667 17.066667-39.822222 17.066667-51.2 0-17.066667-17.066667-17.066667-39.822222 0-51.2l153.6-159.288889c5.688889-5.688889 17.066667-11.377778 28.444444-11.377778s17.066667 5.688889 28.444445 11.377778l295.822222 290.133333c17.066667 17.066667 17.066667 39.822222 0 51.2-17.066667 17.066667-39.822222 17.066667-51.2 0L455.111111 304.355556 324.266667 435.2zM927.288889 753.777778L523.377778 896h-22.755556L96.711111 753.777778c-17.066667-5.688889-28.444444-17.066667-28.444444-34.133334v-432.355555c11.377778-250.311111 409.6-409.6 426.666666-415.288889h22.755556c17.066667 5.688889 415.288889 159.288889 426.666667 415.288889V719.644444c11.377778 17.066667 0 28.444444-17.066667 34.133334z m-45.511111-460.8c-5.688889-182.044444-301.511111-312.888889-369.777778-341.333334-113.777778 45.511111-358.4 182.044444-369.777778 341.333334v398.222222L512 822.044444l369.777778-125.155555v-403.911111z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="console" unicode="" d="M30.552 104.72699999999998c4.654-16.29 23.272-23.272 37.236-18.618 16.291 4.655 23.273 23.273 18.618 37.236C16.588 314.182 84.08 521.31 237.68 640c11.636 9.31 23.273 16.29 37.236 25.6 25.6 16.29 53.528 30.255 83.782 39.564 58.182 20.945 118.691 30.254 176.873 27.927h25.6c6.982 0 11.636 0 18.618-2.327 30.255-4.655 58.182-11.637 88.436-23.273 235.055-86.11 356.073-346.764 269.964-581.818-4.654-16.291 2.327-32.582 18.618-37.237 16.291-4.654 32.582 2.328 37.237 18.619 41.89 116.363 39.563 239.709 0 349.09h2.327C921.897 656.2909999999999 738.043 784.2909999999999 537.897 793.6h-48.873c-200.145-9.31-384-137.31-458.472-337.455-39.564-109.381-41.891-232.727 0-351.418z m707.49 386.328a29.498 29.498 0 0 1-41.89 0L521.606 316.509c-4.654 2.327-9.309 2.327-13.963 2.327-32.582 0-58.182-25.6-58.182-58.181s25.6-58.182 58.182-58.182 58.181 25.6 58.181 58.182c0 4.654 0 9.309-2.327 16.29l174.546 174.546c11.636 11.636 11.636 30.254 0 39.564z m228.073-458.473H58.48c-16.29 0-30.255-13.964-30.255-30.255 0-16.29 13.964-30.254 30.255-30.254h907.636c16.291 0 30.255 13.963 30.255 30.254 0 16.291-13.964 30.255-30.255 30.255z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="app" unicode="" d="M432.022 818.946h-376.324c-6.627 0-12.078-5.45-12.078-12.078v-376.324c0-6.627 5.45-12.078 12.078-12.078h376.324c6.627 0 12.078 5.45 12.078 12.078v376.473c0 6.627-5.45 11.93-12.078 11.93zM391.517 471.196h-295.169v295.169h295.021v-295.169zM976.847 635.717l-211.95 211.95c-8.837 8.837-23.124 8.837-31.963 0l-211.95-211.95c-8.837-8.837-8.837-23.124 0-31.963l211.95-212.098c8.837-8.837 23.124-8.837 31.963 0l211.95 211.95c8.837 8.987 8.837 23.271 0 32.109zM432.022 313.45000000000005h-376.324c-6.627 0-12.078-5.45-12.078-12.078v-376.324c0-6.627 5.45-12.078 12.078-12.078h376.324c6.627 0 12.078 5.45 12.078 12.078v376.473c0 6.627-5.45 11.93-12.078 11.93zM391.517-34.15499999999997h-295.169v295.021h295.021v-295.021zM932.511 313.45000000000005h-376.324c-6.627 0-12.078-5.45-12.078-12.078v-376.324c0-6.627 5.45-12.078 12.078-12.078h376.324c6.627 0 12.078 5.45 12.078 12.078v376.473c0 6.627-5.45 11.93-12.078 11.93zM891.859-34.15499999999997h-295.021v295.021h295.021v-295.021z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="prev" unicode="" d="M62.573 384.103l423.401 423.662c18.985 18.985 49.757 18.985 68.727 0 18.982-18.972 18.985-49.746 0-68.729l-355.058-355.067 356.796-356.796c18.977-18.971 18.976-49.746 0-68.727-18.982-18.976-49.751-18.976-68.727 0l-39.753 39.753 0.269 0.246-385.655 385.661zM451.365 384.103l423.407 423.662c18.985 18.985 49.757 18.985 68.727 0 18.982-18.972 18.985-49.746 0-68.729l-355.058-355.067 356.796-356.796c18.977-18.971 18.976-49.746 0-68.727-18.982-18.976-49.757-18.977-68.727 0l-39.762 39.754 0.273 0.249-385.662 385.661zM451.365 384.103z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="website" unicode="" d="M777.073418 147.443038c-30.460759 21.387342-40.83038 40.182278-76.47595 53.792405 25.275949 60.273418 40.182278 83.605063 42.126583 154.896203H887.898734c-3.888608-99.159494-45.367089-143.878481-110.825316-208.688608zM136.101266 356.13164600000005h167.210126c1.944304-71.291139 16.850633-94.622785 42.126583-154.896203-34.997468-13.610127-68.050633-31.756962-98.511393-53.792405C181.468354 212.25316499999997 139.989873 256.97215200000005 136.101266 356.13164600000005z m103.048101 259.888607c29.164557-23.979747 61.56962-42.774684 96.567089-57.681012-19.443038-53.792405-30.460759-90.734177-31.756962-152.951899H136.101266c3.240506 90.734177 46.663291 147.767089 103.048101 210.632911z m309.144304-209.98481V523.989873c47.311392 1.296203 71.291139 10.36962 114.065823 25.27595 18.146835-51.2 28.516456-84.901266 30.460759-143.23038H548.293671z m104.344304-195.078481c-40.182278 12.962025-60.273418 20.091139-104.344304 21.387342V356.13164600000005h144.526582c-1.944304-68.050633-16.202532-88.141772-40.182278-145.174684z m36.941772-57.681013c31.756962-12.313924 39.534177-28.516456 66.75443-47.311392-51.848101-44.718987-114.713924-73.883544-182.116455-84.901266 36.941772 37.589873 90.734177 82.308861 115.362025 132.212658z m-163.321519-137.397468l22.035443 165.913924c40.182278-1.296203 56.38481-7.777215 92.678481-18.794937-27.220253-56.38481-66.106329-106.288608-113.417722-147.118987h-1.296202z m-75.827848 5.18481c-67.402532 11.017722-130.268354 40.83038-182.764557 84.901266 27.868354 19.443038 57.681013 34.997468 88.789873 47.311392 23.331646-48.607595 55.088608-93.326582 93.974684-132.212658z m47.311392 335.068355v-123.787342c-44.070886-1.296203-64.162025-8.425316-104.344304-21.387342-23.979747 57.681013-38.237975 77.124051-40.182278 145.174684h144.526582zM383.675949 549.265823c42.774684-14.906329 66.75443-23.331646 114.065823-25.27595v-117.95443H353.21519c1.944304 58.329114 12.313924 92.03038 30.460759 143.23038z m-37.589873 57.032911c-31.756962 12.962025-60.921519 30.460759-88.141772 51.848101 53.792405 51.848101 115.362025 91.382278 192.486076 104.344304-44.718987-44.718987-80.364557-97.863291-104.344304-156.192405z m151.655696 161.377215v-193.782278c-44.070886 1.296203-64.162025 9.073418-103.696202 22.683544 29.164557 68.698734 49.903797 127.027848 102.4 171.098734h1.296202z m75.827848-4.536708c77.772152-13.610127 149.711392-49.903797 206.744304-104.344304-29.164557-22.035443-46.01519-37.589873-80.364557-51.848102-25.275949 59.625316-82.956962 112.76962-126.379747 156.192406z m-46.01519 4.536708c54.440506-46.01519 97.21519-104.992405 124.435443-171.098734-39.534177-13.610127-59.625316-21.387342-103.696202-22.683544l-22.035443 193.782278h1.296202z m-31.10886-751.149367c-46.663291 38.886076-62.865823 88.789873-91.382279 147.118988 36.293671 11.665823 53.144304 17.498734 93.326582 18.794936v-165.913924h-1.944303zM887.898734 406.035443h-145.174683c-1.296203 61.56962-12.313924 98.511392-31.756962 152.303798 37.589873 15.55443 57.032911 33.053165 88.789873 57.681012 56.38481-62.865823 84.901266-119.898734 88.141772-209.98481z m-375.898734 427.746835c-244.334177 0-442.005063-197.670886-442.005063-442.005063S267.665823-50.227847999999994 512-50.227847999999994s442.005063 197.670886 442.005063 442.005063S756.334177 833.782278 512 833.782278z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="next" unicode="" d="M948.066926 382.958838l-411.990051-412.24426c-18.47333-18.47333-48.417689-18.47333-66.875207 0-18.47333 18.461167-18.47333 48.405526 0 66.875207L814.691135 383.088983 467.512212 730.269123c-18.466032 18.458735-18.466032 48.405526 0 66.873991 18.468465 18.464816 48.410391 18.464816 66.872774 0l38.682336-38.682336-0.261507-0.239614 375.259894-375.265975v0.003649m-378.312834 0L157.756743-29.28542200000004c-18.47333-18.47333-48.415256-18.47333-66.872775 0-18.47333 18.461167-18.47333 48.405526 0 66.875207L436.369787 383.088983 89.19208 730.269123c-18.4636 18.458735-18.4636 48.405526 0 66.873991 18.470898 18.464816 48.415256 18.464816 66.872774 0l38.692067-38.682336-0.266372-0.239614 375.267191-375.265975-0.004865 0.003649m0 0z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="component" unicode="" d="M917.376 652.544L500.8 891.2a34.304 34.304 0 0 1-34.176 0L50.112 652.48a33.92 33.92 0 0 1-17.088-29.376v-477.44c0-12.16 6.528-23.296 17.088-29.44l416.512-238.72a35.136 35.136 0 0 1 34.176 0l416.576 238.72a33.92 33.92 0 0 1 17.088 29.44v477.44a33.92 33.92 0 0 1-17.088 29.44z m-51.264-487.36l-382.4-219.136-382.336 219.136V603.52l382.336 219.136 382.4-219.136v-438.272zM198.784 535.488a33.792 33.792 0 0 1 12.544-46.4l237.824-136.32V83.20000000000005c0-18.816 15.232-33.92 34.176-33.92a33.92 33.92 0 0 1 34.176 33.92V352.384l238.656 136.832a33.856 33.856 0 0 1 12.544 46.4 34.368 34.368 0 0 1-46.72 12.416L483.712 411.52 245.504 548.0319999999999a34.432 34.432 0 0 1-46.72-12.544z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="more" unicode="" d="M224 288c-52.928 0-96 43.072-96 96s43.072 96 96 96 96-43.072 96-96-43.072-96-96-96z m288 0c-52.928 0-96 43.072-96 96s43.072 96 96 96 96-43.072 96-96-43.072-96-96-96z m288 0c-52.928 0-96 43.072-96 96s43.072 96 96 96 96-43.072 96-96-43.072-96-96-96z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="login-wechat" unicode="" d="M516.464646 896C233.714646 896 4.464646 666.75 4.464646 384S233.714646-128 516.464646-128s512 229.25 512 512S799.214646 896 516.464646 896z m-74-523.375c-0.25-0.75-0.5-1.125-0.75-1.875-0.25-0.75-0.5-1.125-0.75-1.875-0.25-0.75-0.5-1.125-0.75-1.875-0.25-0.75-0.5-1.125-0.75-1.875-0.25-0.75-0.5-1.125-0.75-1.875-0.25-0.75-0.5-1.125-0.75-1.875-0.25-0.75-0.5-1.125-0.75-1.875-0.25-0.75-0.5-1.125-0.75-1.875-0.25-0.75-0.5-1.125-0.5-1.875-0.25-0.75-0.5-1.125-0.5-1.875-0.25-0.75-0.5-1.125-0.5-1.875-0.25-0.75-0.25-1.125-0.5-1.875s-0.5-1.125-0.5-1.875c-0.25-0.75-0.25-1.125-0.5-1.875s-0.25-1.125-0.5-1.875-0.25-1.125-0.5-1.875-0.25-1.125-0.5-1.875-0.25-1.125-0.5-1.875-0.25-1.125-0.5-1.875-0.25-1.125-0.5-1.875-0.25-1.125-0.5-1.875c0-0.75-0.25-1.125-0.25-1.875s-0.25-1.125-0.25-1.875-0.25-1.125-0.25-1.875-0.25-1.125-0.25-1.875-0.25-1.125-0.25-1.875-0.25-1.125-0.25-1.875-0.25-1.125-0.25-1.875-0.25-1.125-0.25-1.875-0.25-1.125-0.25-1.875 0-1.125-0.25-1.875c0-0.75-0.25-1.125-0.25-1.875s0-1.125-0.25-1.875c0-0.75 0-1.125-0.25-1.875 0-0.75 0-1.125-0.25-1.875v-22.5c0-0.75 0-1.125 0.25-1.875 0-0.75 0-1.125 0.25-1.875 0-0.75 0-1.125 0.25-1.875 0-0.75 0-1.125 0.25-1.875 0-0.75 0.25-1.125 0.25-1.875s0.25-1.125 0.25-1.875 0.25-1.125 0.25-1.875 0.25-1.125 0.25-1.875 0.25-1.125 0.25-1.875 0.25-1.125 0.25-1.875 0.25-1.125 0.25-1.875 0.25-1.125 0.25-1.875 0.25-1.125 0.25-1.875 0.25-1.125 0.5-1.875 0.25-1.125 0.5-1.875 0.25-1.125 0.5-1.875 0.25-1.125 0.5-1.875 0.25-1.125 0.5-1.875 0.25-1.125 0.5-1.875 0.25-1.125 0.5-1.875 0.25-1.125 0.5-1.875 0.25-1.125 0.5-1.875 0.25-1.125 0.5-1.875l0.25-0.875c-4.25-0.25-8.625-0.75-12.75-0.75-3.75-0.25-7.25-0.25-11-0.25-3.5 0-7 0-10.5 0.25-7.25 0.25-14 0.875-20.75 1.875-4.25 0.5-8.125 1.125-12.375 1.875-3.5 0.5-6.75 1.125-10.25 1.875-3 0.5-6.25 1.125-9.25 1.875-3 0.75-5.875 1.125-8.875 1.875-2.75 0.75-5.875 1.125-8.875 1.875-2.75 0.5-5.625 1.125-8.375 1.625l-3.25-1.625-3.75-1.875-4 1.375-3.75-1.875-3.75-1.875-3.75-1.875-3.75-1.875-3.75-1.875-3.75-1.875-3.75-1.875-3.75-1.875-2.75-1.375-3.75-1.875-3.75-1.875-3.75-1.875-3.75-1.875-3.75-1.875-3.75-1.875-3.75-1.875-3.75-1.875-3.75-1.875-3.75-1.875-3.75-1.875-3.75-1.875-2.5-1.375 0.5 1.375 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.75 1.875 0.5 1.125c-0.5 0.25-0.75 0.5-1.125 0.75-0.875 0.75-1.625 1.125-2.5 1.875s-1.625 1.125-2.5 1.875-1.625 1.125-2.5 1.875c-0.75 0.75-1.625 1.125-2.375 1.875-0.75 0.75-1.625 1.125-2.375 1.875-0.75 0.75-1.625 1.125-2.375 1.875-0.75 0.75-1.625 1.125-2.375 1.875-0.75 0.75-1.375 1.125-2.375 1.875-0.75 0.75-1.375 1.125-2.125 1.875-0.75 0.75-1.375 1.125-2.125 1.875-0.75 0.75-1.375 1.125-2.125 1.875-0.75 0.75-1.375 1.125-2.125 1.875-0.75 0.75-1.375 1.125-2.125 1.875-0.75 0.75-1.375 1.125-2.125 1.875-0.75 0.75-1.375 1.125-1.875 1.875-0.75 0.75-1.375 1.125-1.875 1.875l-1.875 1.875-1.875 1.875-1.875 1.875-1.875 1.875c-0.75 0.75-1.125 1.125-1.625 1.875s-1.125 1.125-1.625 1.875-1.125 1.125-1.625 1.875-1.125 1.125-1.625 1.875-1.125 1.125-1.625 1.875-1.125 1.125-1.625 1.875-0.875 1.125-1.625 1.875c-0.5 0.75-0.875 1.125-1.625 1.875-0.5 0.75-0.875 1.125-1.375 1.875-0.5 0.75-0.875 1.125-1.375 1.875-0.5 0.75-0.875 1.125-1.375 1.875-0.5 0.75-0.875 1.125-1.375 1.875-0.5 0.75-0.875 1.125-1.375 1.875-0.5 0.75-0.875 1.125-1.375 1.875-0.5 0.75-0.875 1.125-1.375 1.875-0.5 0.75-0.875 1.125-1.375 1.875-0.5 0.75-0.875 1.125-1.125 1.875-0.5 0.75-0.875 1.125-1.125 1.875-0.5 0.75-0.75 1.125-1.125 1.875-0.5 0.75-0.75 1.125-1.125 1.875-0.5 0.75-0.75 1.125-1.125 1.875-0.5 0.75-0.75 1.125-1.125 1.875-0.5 0.75-0.75 1.125-1.125 1.875-0.5 0.75-0.75 1.125-1.125 1.875-0.25 0.75-0.75 1.125-0.875 1.875-0.25 0.75-0.75 1.125-0.875 1.875-0.25 0.75-0.75 1.125-0.875 1.875-0.25 0.75-0.75 1.125-0.875 1.875-0.25 0.75-0.75 1.125-0.875 1.875-0.25 0.75-0.75 1.125-0.875 1.875-0.25 0.75-0.75 1.125-0.875 1.875-0.25 0.75-0.5 1.125-0.875 1.875-0.25 0.75-0.5 1.125-0.875 1.875-0.25 0.75-0.5 1.125-0.875 1.875-0.25 0.75-0.5 1.125-0.75 1.875-0.25 0.75-0.5 1.125-0.75 1.875-0.25 0.75-0.5 1.125-0.75 1.875-0.25 0.75-0.5 1.125-0.75 1.875-0.25 0.75-0.5 1.125-0.75 1.875-0.25 0.75-0.5 1.125-0.75 1.875-0.25 0.75-0.5 1.125-0.75 1.875-0.25 0.75-0.5 1.125-0.75 1.875-0.25 0.75-0.5 1.125-0.75 1.875-0.25 0.75-0.5 1.125-0.75 1.875-0.25 0.75-0.5 1.125-0.5 1.875-0.25 0.75-0.5 1.125-0.5 1.875-0.25 0.75-0.5 1.125-0.5 1.875-0.25 0.75-0.25 1.125-0.5 1.875s-0.25 1.125-0.5 1.875-0.25 1.125-0.5 1.875-0.25 1.125-0.5 1.875-0.25 1.125-0.5 1.875-0.25 1.125-0.5 1.875-0.25 1.125-0.5 1.875-0.25 1.125-0.5 1.875-0.25 1.125-0.25 1.875-0.25 1.125-0.25 1.875-0.25 1.125-0.25 1.875-0.25 1.125-0.25 1.875-0.25 1.125-0.25 1.875-0.25 1.125-0.25 1.875-0.25 1.125-0.25 1.875-0.25 1.125-0.25 1.875-0.25 1.125-0.25 1.875 0 1.125-0.25 1.875c0 0.75 0 1.125-0.25 1.875 0 0.75 0 1.125-0.25 1.875 0 0.75 0 1.125-0.25 1.875V457.25v1.875 1.875 1.875 1.875 1.875 0.875 0.875 1.875 1.875 1.875 1.875 1.875 1.875c0 0.75 0 1.125 0.25 1.875 0 0.75 0 1.125 0.25 1.875 0 0.75 0 1.125 0.25 1.875 0 0.75 0.25 1.125 0.25 1.875s0.25 1.125 0.25 1.875 0.25 1.125 0.25 1.875 0.25 1.125 0.25 1.875 0.25 1.125 0.25 1.875 0.25 1.125 0.25 1.875 0.25 1.125 0.25 1.875 0.25 1.125 0.25 1.875 0.25 1.125 0.25 1.875 0.25 1.125 0.5 1.875c0 0.75 0.25 1.125 0.5 1.875s0.25 1.125 0.5 1.875 0.25 1.125 0.5 1.875 0.25 1.125 0.5 1.875 0.25 1.125 0.5 1.875 0.25 1.125 0.5 1.875 0.25 1.125 0.5 1.875 0.25 1.125 0.5 1.875 0.25 1.125 0.5 1.875 0.25 1.125 0.5 1.875 0.5 1.125 0.5 1.875c0.25 0.75 0.5 1.125 0.5 1.875 0.25 0.75 0.5 1.125 0.5 1.875 0.25 0.75 0.5 1.125 0.75 1.875 0.25 0.75 0.5 1.125 0.75 1.875 0.25 0.75 0.5 1.125 0.75 1.875 0.25 0.75 0.5 1.125 0.75 1.875 0.25 0.75 0.5 1.125 0.75 1.875 0.25 0.75 0.5 1.125 0.75 1.875 0.25 0.75 0.5 1.125 0.75 1.875 0.25 0.75 0.5 1.125 0.75 1.875 0.25 0.75 0.5 1.125 0.75 1.875 0.25 0.75 0.5 1.125 0.75 1.875 0.25 0.75 0.5 1.125 0.75 1.875 0.25 0.75 0.5 1.125 0.875 1.875 0.25 0.75 0.5 1.125 0.875 1.875 0.25 0.75 0.5 1.125 0.875 1.875 0.25 0.75 0.75 1.125 0.875 1.875 0.25 0.75 0.75 1.125 0.875 1.875 0.25 0.75 0.75 1.125 0.875 1.875 0.25 0.75 0.75 1.125 0.875 1.875 0.25 0.75 0.75 1.125 0.875 1.875 0.25 0.75 0.75 1.125 0.875 1.875 0.25 0.75 0.75 1.125 1.125 1.875 0.5 0.75 0.75 1.125 1.125 1.875 0.5 0.75 0.75 1.125 1.125 1.875 0.5 0.75 0.75 1.125 1.125 1.875 0.5 0.75 0.75 1.125 1.125 1.875 0.5 0.75 0.75 1.125 1.125 1.875 0.5 0.75 0.75 1.125 1.125 1.875 0.5 0.75 0.875 1.125 1.125 1.875 0.5 0.75 0.875 1.125 1.125 1.875 0.5 0.75 0.875 1.125 1.125 1.875 0.5 0.75 0.875 1.125 1.375 1.875 0.5 0.75 0.875 1.125 1.375 1.875 0.5 0.75 0.875 1.125 1.375 1.875 0.5 0.75 0.875 1.125 1.375 1.875 0.5 0.75 0.875 1.125 1.375 1.875 0.5 0.75 0.875 1.125 1.375 1.875 0.5 0.75 0.875 1.125 1.375 1.875 0.5 0.75 0.875 1.125 1.625 1.875 0.5 0.75 0.875 1.125 1.625 1.875 0.5 0.75 1.125 1.125 1.625 1.875s1.125 1.125 1.625 1.875 1.125 1.125 1.625 1.875 1.125 1.125 1.625 1.875 1.125 1.125 1.625 1.875l1.875 1.875 1.875 1.875 1.875 1.875 1.875 1.875c0.75 0.75 1.375 1.125 1.875 1.875 0.75 0.75 1.375 1.125 2.125 1.875 0.75 0.75 1.375 1.125 2.125 1.875 0.75 0.75 1.375 1.125 2.125 1.875 0.75 0.75 1.375 1.125 2.125 1.875 0.75 0.75 1.375 1.125 2.125 1.875 0.75 0.75 1.375 1.125 2.375 1.875 0.75 0.75 1.625 1.125 2.375 1.875 0.75 0.75 1.625 1.125 2.375 1.875 0.75 0.75 1.625 1.125 2.375 1.875 0.875 0.75 1.625 1.125 2.5 1.875s1.625 1.125 2.5 1.875 1.875 1.125 2.5 1.875c0.875 0.75 1.875 1.125 2.75 1.875 0.875 0.75 1.875 1.125 2.75 1.875 0.875 0.75 1.875 1.125 2.75 1.875 0.875 0.75 1.875 1.125 3 1.875 0.875 0.75 2.125 1.125 3 1.875s2.125 1.125 3 1.875c1.125 0.75 2.125 1.125 3.25 1.875 1.125 0.75 2.375 1.125 3.25 1.875 1.125 0.75 2.375 1.125 3.5 1.875 1.125 0.75 2.375 1.125 3.75 1.875 1.125 0.75 2.5 1.125 3.75 1.875 1.375 0.75 2.5 1.125 4 1.875 1.375 0.75 2.75 1.125 4.25 1.875 1.375 0.75 2.75 1.125 4.25 1.875 1.375 0.75 3 1.125 4.375 1.875 1.625 0.75 3 1.125 4.625 1.875 1.625 0.75 3.25 1.125 4.875 1.875 1.875 0.75 3.5 1.125 5.375 1.875s3.75 1.125 5.625 1.875c2.125 0.75 4.25 1.125 6 1.875 2.375 0.75 4.375 1.125 6.75 1.875 2.5 0.75 4.875 1.125 7.5 1.875 2.75 0.75 5.625 1.125 8.625 1.875 3.5 0.75 6.75 1.125 10.25 1.875 4.375 0.75 8.875 1.375 13.25 1.875 11 1.125 22.125 1.875 33.25 1.875h2.5c11.125 0 22.375-0.75 33.5-1.875 4.375-0.5 8.875-1.125 13.25-1.875 3.5-0.5 7-1.125 10.25-1.875 2.75-0.5 5.875-1.125 8.625-1.875 2.5-0.5 5.125-1.125 7.625-1.875 2.375-0.5 4.625-1.125 6.75-1.875 2.125-0.5 4.25-1.125 6.25-1.875 1.875-0.75 4-1.125 5.875-1.875s3.75-1.125 5.375-1.875c1.625-0.75 3.5-1.125 5.125-1.875 1.625-0.75 3.25-1.125 4.875-1.875 1.625-0.75 3-1.125 4.625-1.875 1.375-0.75 3-1.125 4.375-1.875s2.75-1.125 4.25-1.875c1.375-0.75 2.75-1.125 4-1.875 1.375-0.75 2.5-1.125 3.75-1.875 1.125-0.75 2.5-1.125 3.75-1.875 1.125-0.75 2.375-1.125 3.5-1.875 1.125-0.75 2.375-1.125 3.5-1.875 1.125-0.75 2.375-1.125 3.25-1.875 1.125-0.75 2.125-1.125 3.25-1.875 1.125-0.75 2.125-1.125 3-1.875s2.125-1.125 3-1.875 1.875-1.125 3-1.875c0.875-0.75 1.875-1.125 2.75-1.875 0.875-0.75 1.875-1.125 2.75-1.875 0.875-0.75 1.875-1.125 2.75-1.875 0.875-0.75 1.875-1.125 2.5-1.875 0.875-0.75 1.625-1.125 2.5-1.875s1.625-1.125 2.5-1.875 1.625-1.125 2.375-1.875c0.75-0.75 1.625-1.125 2.375-1.875 0.75-0.75 1.625-1.125 2.375-1.875 0.75-0.75 1.375-1.125 2.375-1.875 0.75-0.75 1.375-1.125 2.375-1.875 0.75-0.75 1.375-1.125 2.125-1.875 0.75-0.75 1.375-1.125 2.125-1.875 0.75-0.75 1.375-1.125 2.125-1.875 0.75-0.75 1.375-1.125 2.125-1.875 0.75-0.75 1.375-1.125 1.875-1.875 0.75-0.75 1.375-1.125 1.875-1.875l1.875-1.875 1.875-1.875 1.875-1.875 1.875-1.875c0.75-0.75 1.125-1.125 1.625-1.875s1.125-1.125 1.625-1.875 1.125-1.125 1.625-1.875 1.125-1.125 1.625-1.875 1.125-1.125 1.625-1.875 0.875-1.125 1.625-1.875c0.5-0.75 0.875-1.125 1.625-1.875 0.5-0.75 0.875-1.125 1.375-1.875 0.5-0.75 0.875-1.125 1.375-1.875 0.5-0.75 0.875-1.125 1.375-1.875 0.5-0.75 0.875-1.125 1.375-1.875 0.5-0.75 0.875-1.125 1.375-1.875 0.5-0.75 0.875-1.125 1.375-1.875 0.5-0.75 0.875-1.125 1.375-1.875 0.5-0.75 0.875-1.125 1.125-1.875 0.5-0.75 0.875-1.125 1.125-1.875 0.5-0.75 0.875-1.125 1.125-1.875 0.5-0.75 0.75-1.125 1.125-1.875 0.5-0.75 0.75-1.125 1.125-1.875 0.5-0.75 0.75-1.125 1.125-1.875 0.5-0.75 0.75-1.125 1.125-1.875 0.5-0.75 0.75-1.125 1.125-1.875 0.5-0.75 0.75-1.125 1.125-1.875 0.5-0.75 0.75-1.125 0.875-1.875 0.25-0.75 0.75-1.125 0.875-1.875 0.25-0.75 0.75-1.125 0.875-1.875 0.25-0.75 0.75-1.125 0.875-1.875 0.25-0.75 0.75-1.125 0.875-1.875 0.25-0.75 0.75-1.125 0.875-1.875 0.25-0.75 0.75-1.125 0.875-1.875 0.25-0.75 0.75-1.125 0.875-1.875 0.25-0.75 0.5-1.125 0.875-1.875 0.25-0.75 0.5-1.125 0.875-1.875 0.25-0.75 0.5-1.125 0.75-1.875 0.25-0.75 0.5-1.125 0.75-1.875 0.25-0.75 0.5-1.125 0.75-1.875 0.25-0.75 0.5-1.125 0.75-1.875 0.25-0.75 0.5-1.125 0.75-1.875 0.25-0.75 0.5-1.125 0.75-1.875 0.25-0.75 0.5-1.125 0.75-1.875 0.25-0.75 0.5-1.125 0.75-1.875 0.25-0.75 0.5-1.125 0.75-1.875 0.25-0.75 0.5-1.125 0.75-1.875 0.25-0.75 0.5-1.125 0.75-1.875 0.25-0.75 0.5-1.125 0.5-1.875 0.25-0.75 0.5-1.125 0.5-1.875 0.25-0.75 0.25-1.125 0.5-1.875s0.5-1.125 0.5-1.875c0.25-0.75 0.25-1.125 0.5-1.875s0.25-1.125 0.5-1.875 0.25-1.125 0.5-1.875 0.25-1.125 0.5-1.875 0.25-1.125 0.5-1.875c0-0.5 0.25-0.75 0.25-1.125-4.625 0.5-9.25 0.875-14 1.125-3.5 0.25-7 0.25-10.75 0.25-4 0-8.125 0-12.125-0.25-6.75-0.25-13.25-0.875-19.5-1.875-3.75-0.5-7.625-1.125-11.375-1.875-3-0.5-5.875-1.125-8.875-1.875-2.5-0.5-5.125-1.125-7.5-1.875-2.125-0.5-4.375-1.125-6.5-1.875-1.875-0.5-4-1.125-5.875-1.875-1.875-0.5-3.5-1.125-5.375-1.875-1.625-0.75-3.25-1.125-4.875-1.875-1.625-0.75-3-1.125-4.625-1.875-1.375-0.75-3-1.125-4.375-1.875s-2.75-1.125-4.25-1.875c-1.375-0.75-2.5-1.125-4-1.875-1.125-0.75-2.5-1.125-3.75-1.875-1.125-0.75-2.375-1.125-3.5-1.875-1.125-0.75-2.375-1.125-3.5-1.875-1.125-0.75-2.125-1.125-3.25-1.875-0.875-0.75-2.125-1.125-3-1.875s-2.125-1.125-3-1.875-1.875-1.125-3-1.875c-0.875-0.75-1.875-1.125-2.75-1.875-0.875-0.75-1.875-1.125-2.75-1.875-0.875-0.75-1.875-1.125-2.5-1.875-0.875-0.75-1.625-1.125-2.5-1.875s-1.625-1.125-2.5-1.875c-0.75-0.75-1.625-1.125-2.375-1.875-0.75-0.75-1.625-1.125-2.375-1.875-0.75-0.75-1.625-1.125-2.375-1.875-0.75-0.75-1.375-1.125-2.125-1.875-0.75-0.75-1.375-1.125-2.125-1.875-0.75-0.75-1.375-1.125-2.125-1.875-0.75-0.75-1.375-1.125-2.125-1.875-0.75-0.75-1.375-1.125-2.125-1.875-0.75-0.75-1.375-1.125-1.875-1.875l-1.875-1.875-1.875-1.875-1.875-1.875c-0.75-0.75-1.125-1.125-1.625-1.875s-1.125-1.125-1.625-1.875-1.125-1.125-1.625-1.875-1.125-1.125-1.625-1.875-1.125-1.125-1.625-1.875-0.875-1.125-1.625-1.875c-0.5-0.75-0.875-1.125-1.625-1.875-0.5-0.75-0.875-1.125-1.375-1.875-0.5-0.75-0.875-1.125-1.375-1.875-0.5-0.75-0.875-1.125-1.375-1.875-0.5-0.75-0.875-1.125-1.375-1.875-0.5-0.75-0.875-1.125-1.375-1.875-0.5-0.75-0.875-1.125-1.375-1.875-0.5-0.75-0.875-1.125-1.125-1.875-0.5-0.75-0.875-1.125-1.125-1.875-0.5-0.75-0.75-1.125-1.125-1.875-0.5-0.75-0.75-1.125-1.125-1.875-0.5-0.75-0.75-1.125-1.125-1.875-0.5-0.75-0.75-1.125-1.125-1.875-0.5-0.75-0.75-1.125-1.125-1.875-0.5-0.75-0.75-1.125-1.125-1.875-0.5-0.75-0.75-1.125-1.125-1.875-0.25-0.75-0.75-1.125-0.875-1.875-0.25-0.75-0.75-1.125-0.875-1.875-0.25-0.75-0.75-1.125-0.875-1.875-0.25-0.75-0.75-1.125-0.875-1.875-0.25-0.75-0.75-1.125-0.875-1.875-0.25-0.75-0.75-1.125-0.875-1.875-0.25-0.75-0.75-1.125-0.875-1.875-0.25-0.75-0.5-1.125-0.875-1.875-0.25-0.75-0.5-1.125-0.875-1.875-0.25-0.75-0.5-1.125-0.875-1.875-0.25-0.75-0.5-1.125-0.75-1.875-3.125-4.625-3.375-5.125-3.625-5.75z m433.625-71.25v-11.375c0-0.5 0-0.875-0.25-1.625 0-0.5 0-0.875-0.25-1.625 0-0.5 0-0.875-0.25-1.625 0-0.5-0.25-0.875-0.25-1.625 0-0.5-0.25-0.875-0.25-1.625 0-0.5-0.25-0.875-0.25-1.625 0-0.5-0.25-0.875-0.25-1.625 0-0.5-0.25-0.875-0.25-1.625 0-0.5-0.25-0.875-0.25-1.625 0-0.5-0.25-0.875-0.25-1.625 0-0.5-0.25-0.875-0.25-1.625 0-0.5-0.25-0.875-0.25-1.625 0-0.5-0.25-0.875-0.5-1.625-0.25-0.5-0.25-0.875-0.5-1.625-0.25-0.5-0.25-0.875-0.5-1.625-0.25-0.5-0.25-0.875-0.5-1.625-0.25-0.5-0.25-0.875-0.5-1.625-0.25-0.5-0.25-0.875-0.5-1.625-0.25-0.5-0.25-0.875-0.5-1.625-0.25-0.5-0.25-0.875-0.5-1.625-0.25-0.5-0.25-0.875-0.5-1.625-0.25-0.5-0.25-0.875-0.5-1.625-0.25-0.5-0.5-0.875-0.5-1.625-0.25-0.5-0.5-0.875-0.5-1.625-0.25-0.5-0.5-0.875-0.5-1.625-0.25-0.5-0.5-0.875-0.75-1.625-0.25-0.5-0.5-0.875-0.75-1.625-0.25-0.5-0.5-0.875-0.75-1.625-0.25-0.5-0.5-0.875-0.75-1.625-0.25-0.5-0.5-0.875-0.75-1.625-0.25-0.5-0.5-0.875-0.75-1.625-0.25-0.5-0.5-0.875-0.75-1.625-0.25-0.5-0.5-0.875-0.75-1.625-0.25-0.5-0.5-0.875-0.75-1.625-0.25-0.5-0.5-0.875-0.75-1.625-0.25-0.5-0.5-0.875-0.75-1.625-0.25-0.5-0.5-0.875-0.875-1.625-0.25-0.5-0.5-0.875-0.875-1.625-0.25-0.5-0.5-0.875-0.875-1.625-0.25-0.5-0.5-0.875-0.875-1.625-0.25-0.5-0.75-0.875-0.875-1.625-0.25-0.5-0.75-0.875-0.875-1.625-0.25-0.5-0.75-0.875-0.875-1.625-0.25-0.5-0.75-0.875-0.875-1.625-0.25-0.5-0.75-0.875-0.875-1.625-0.25-0.5-0.75-0.875-0.875-1.625-0.25-0.5-0.75-0.875-0.875-1.625-0.25-0.5-0.75-0.875-0.875-1.625-0.5-0.5-0.75-0.875-1.125-1.625-0.5-0.5-0.75-0.875-1.125-1.625-0.5-0.5-0.75-0.875-1.125-1.625-0.5-0.5-0.75-0.875-1.125-1.625-0.5-0.5-0.75-0.875-1.125-1.625-0.5-0.5-0.75-0.875-1.125-1.625-0.5-0.5-0.75-0.875-1.125-1.625-0.5-0.5-0.75-0.875-1.125-1.625-0.5-0.5-0.75-0.875-1.125-1.625-0.5-0.5-0.875-0.875-1.125-1.625-0.5-0.5-0.875-0.875-1.125-1.625-0.5-0.5-0.875-0.875-1.375-1.625-0.5-0.5-0.875-0.875-1.375-1.625-0.5-0.5-0.875-0.875-1.375-1.625-0.5-0.5-0.875-0.875-1.375-1.625-0.5-0.5-0.875-0.875-1.375-1.625-0.5-0.5-0.875-0.875-1.375-1.625-0.5-0.5-0.875-0.875-1.375-1.625-0.5-0.5-0.875-0.875-1.375-1.625-0.5-0.5-0.875-0.875-1.375-1.625-0.5-0.5-0.875-0.875-1.375-1.625l-1.625-1.625-1.625-1.625c-0.5-0.5-1.125-0.875-1.625-1.625-0.5-0.5-1.125-0.875-1.625-1.625-0.5-0.5-1.125-0.875-1.625-1.625-0.5-0.5-1.125-0.875-1.625-1.625-0.5-0.5-1.125-0.875-1.625-1.625-0.5-0.5-1.125-0.875-1.625-1.625-0.5-0.5-1.125-0.875-1.625-1.625-0.75-0.5-1.125-0.875-1.875-1.625-0.75-0.5-1.125-0.875-1.875-1.625-0.75-0.5-1.125-0.875-1.875-1.625-0.75-0.5-1.125-0.875-1.875-1.625-0.75-0.5-1.125-0.875-1.875-1.625-0.75-0.5-1.125-0.875-1.875-1.625-0.75-0.5-1.375-0.875-1.875-1.625-0.75-0.5-1.375-0.875-1.875-1.625-0.75-0.5-1.375-0.875-2.125-1.625-0.75-0.5-1.375-0.875-2.125-1.625l-0.75-0.5 0.25-0.875 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.5-1.625 0.25-1.125-2.125 1.125-2.75 1.625-2.75 1.625-2.75 1.625-2.75 1.625-2.75 1.625-2.75 1.625-2.75 1.625-2.75 1.625-2.75 1.625-2.75 1.625-2.75 1.625-2.75 1.625-2.75 1.625-2.75 1.625-2.75 1.625-2.75 1.625-2.75 1.625-2.75 1.625-2.75 1.625-2.75 1.625-2.75 1.625-2.75 1.625-2.75 1.625-2.75 1.625-0.5 0.25-0.875-0.25c-2.125-0.5-4.25-0.875-6-1.625-2.125-0.5-4.25-0.875-6.25-1.625-2.125-0.5-4.25-0.875-6.5-1.625-2.375-0.5-4.375-0.875-6.75-1.625-2.375-0.5-4.875-1.125-7.25-1.625-2.75-0.5-5.375-1.125-8.125-1.625-3.25-0.5-6.5-1.125-9.75-1.625-5.375-0.75-10.75-1.125-15.875-1.625-2.75-0.25-5.875-0.25-8.625-0.25-3.75 0-7.5 0-11.125 0.25-6.5 0.25-12.75 0.75-19.125 1.625-3.75 0.5-7.5 0.875-11 1.625-2.75 0.5-5.875 0.875-8.625 1.625-2.375 0.5-4.875 0.875-7.25 1.625-2.125 0.5-4.25 0.875-6.25 1.625-1.875 0.5-3.75 0.875-5.625 1.625-1.875 0.5-3.5 0.875-5.125 1.625-1.625 0.5-3.25 0.875-4.875 1.625-1.375 0.5-3 0.875-4.375 1.625-1.375 0.5-2.75 0.875-4.25 1.625-1.375 0.5-2.5 0.875-4 1.625-1.125 0.5-2.5 0.875-3.75 1.625-1.125 0.5-2.375 0.875-3.75 1.625-1.125 0.5-2.375 0.875-3.5 1.625-1.125 0.5-2.125 0.875-3.25 1.625-1.125 0.5-2.125 0.875-3.25 1.625-0.875 0.5-2.125 0.875-3 1.625-0.875 0.5-1.875 0.875-3 1.625-0.875 0.5-1.875 0.875-2.75 1.625-0.875 0.5-1.875 0.875-2.75 1.625-0.875 0.5-1.875 0.875-2.5 1.625-0.875 0.5-1.625 0.875-2.5 1.625-0.875 0.5-1.625 0.875-2.5 1.625-0.75 0.5-1.625 0.875-2.375 1.625-0.75 0.5-1.625 0.875-2.375 1.625-0.75 0.5-1.625 0.875-2.375 1.625-0.75 0.5-1.375 0.875-2.375 1.625-0.75 0.5-1.375 0.875-2.125 1.625-0.75 0.5-1.375 0.875-2.125 1.625-0.75 0.5-1.375 0.875-2.125 1.625-0.75 0.5-1.375 0.875-2.125 1.625-0.75 0.5-1.375 0.875-1.875 1.625-0.75 0.5-1.375 0.875-1.875 1.625-0.75 0.5-1.125 0.875-1.875 1.625-0.75 0.5-1.125 0.875-1.875 1.625-0.75 0.5-1.125 0.875-1.875 1.625-0.75 0.5-1.125 0.875-1.875 1.625-0.5 0.5-1.125 0.875-1.625 1.625-0.5 0.5-1.125 0.875-1.625 1.625-0.5 0.5-1.125 0.875-1.625 1.625-0.5 0.5-1.125 0.875-1.625 1.625l-1.625 1.625-1.625 1.625c-0.5 0.5-0.875 0.875-1.375 1.625-0.5 0.5-0.875 0.875-1.375 1.625-0.5 0.5-0.875 0.875-1.375 1.625-0.5 0.5-0.875 0.875-1.375 1.625-0.5 0.5-0.875 0.875-1.375 1.625-0.5 0.5-0.875 0.875-1.375 1.625-0.5 0.5-0.875 0.875-1.375 1.625-0.5 0.5-0.875 0.875-1.125 1.625-0.5 0.5-0.875 0.875-1.125 1.625-0.5 0.5-0.875 0.875-1.125 1.625-0.5 0.5-0.75 0.875-1.125 1.625-0.5 0.5-0.75 0.875-1.125 1.625-0.5 0.5-0.75 0.875-1.125 1.625-0.5 0.5-0.75 0.875-1.125 1.625-0.5 0.5-0.75 0.875-1.125 1.625-0.5 0.5-0.75 0.875-1.125 1.625-0.5 0.5-0.75 0.875-1.125 1.625-0.25 0.5-0.75 0.875-0.875 1.625-0.25 0.5-0.75 0.875-0.875 1.625-0.25 0.5-0.75 0.875-0.875 1.625-0.25 0.5-0.75 0.875-0.875 1.625-0.25 0.5-0.75 0.875-0.875 1.625-0.25 0.5-0.75 0.875-0.875 1.625-0.25 0.5-0.75 0.875-0.875 1.625-0.25 0.5-0.75 0.875-0.875 1.625-0.25 0.5-0.5 0.875-0.875 1.625-0.25 0.5-0.5 0.875-0.875 1.625-0.25 0.5-0.5 0.875-0.75 1.625-0.25 0.5-0.5 0.875-0.75 1.625-0.25 0.5-0.5 0.875-0.75 1.625-0.25 0.5-0.5 0.875-0.75 1.625-0.25 0.5-0.5 0.875-0.75 1.625-0.25 0.5-0.5 0.875-0.75 1.625-0.25 0.5-0.5 0.875-0.75 1.625-0.25 0.5-0.5 0.875-0.75 1.625-0.25 0.5-0.5 0.875-0.75 1.625-0.25 0.5-0.5 0.875-0.75 1.625-0.25 0.5-0.5 0.875-0.75 1.625-0.25 0.5-0.5 0.875-0.75 1.625-0.25 0.5-0.5 0.875-0.5 1.625-0.25 0.5-0.5 0.875-0.5 1.625-0.25 0.5-0.5 0.875-0.5 1.625-0.25 0.5-0.5 0.875-0.5 1.625-0.25 0.5-0.5 0.875-0.5 1.625-0.25 0.5-0.25 0.875-0.5 1.625-0.25 0.5-0.25 0.875-0.5 1.625-0.25 0.5-0.25 0.875-0.5 1.625-0.25 0.5-0.25 0.875-0.5 1.625-0.25 0.5-0.25 0.875-0.5 1.625-0.25 0.5-0.25 0.875-0.5 1.625-0.25 0.5-0.25 0.875-0.5 1.625-0.25 0.5-0.25 0.875-0.5 1.625-0.25 0.5-0.25 0.875-0.5 1.625-0.25 0.5-0.25 0.875-0.25 1.625 0 0.5-0.25 0.875-0.25 1.625 0 0.5-0.25 0.875-0.25 1.625 0 0.5-0.25 0.875-0.25 1.625 0 0.5-0.25 0.875-0.25 1.625 0 0.5-0.25 0.875-0.25 1.625 0 0.5-0.25 0.875-0.25 1.625 0 0.5-0.25 0.875-0.25 1.625 0 0.5-0.25 0.875-0.25 1.625 0 0.5-0.25 0.875-0.25 1.625 0 0.5-0.25 0.875-0.25 1.625 0 0.5-0.25 0.875-0.25 1.625 0 0.5 0 0.875-0.25 1.625 0 0.5 0 0.875-0.25 1.625 0 0.5 0 0.875-0.25 1.625v1.625 1.625 1.625 3.25 1.625 3.25 1.375 1.625 1.625 1.625 1.625 1.625 1.625 1.625 1.625 1.625c0 0.5 0 0.875 0.25 1.625 0 0.5 0 0.875 0.25 1.625 0 0.5 0 0.875 0.25 1.625 0 0.5 0.25 0.875 0.25 1.625 0 0.5 0.25 0.875 0.25 1.625 0 0.5 0.25 0.875 0.25 1.625 0 0.5 0.25 0.875 0.25 1.625 0 0.5 0.25 0.875 0.25 1.625 0 0.5 0.25 0.875 0.25 1.625 0 0.5 0.25 0.875 0.25 1.625 0 0.5 0.25 0.875 0.25 1.625 0 0.5 0.25 0.875 0.25 1.625 0 0.5 0.25 0.875 0.25 1.625 0 0.5 0.25 0.875 0.25 1.625 0 0.5 0.25 0.875 0.25 1.625 0.25 0.5 0.25 0.875 0.5 1.625 0.25 0.5 0.25 0.875 0.5 1.625 0.25 0.5 0.25 0.875 0.5 1.625 0.25 0.5 0.25 0.875 0.5 1.625 0.25 0.5 0.25 0.875 0.5 1.625 0.25 0.5 0.25 0.875 0.5 1.625 0.25 0.5 0.25 0.875 0.5 1.625 0.25 0.5 0.25 0.875 0.5 1.625 0.25 0.5 0.25 0.875 0.5 1.625 0.25 0.5 0.5 0.875 0.5 1.625 0.25 0.5 0.5 0.875 0.5 1.625 0.25 0.5 0.5 0.875 0.5 1.625 0.25 0.5 0.5 0.875 0.5 1.625 0.25 0.5 0.5 0.875 0.5 1.625 0.25 0.5 0.5 0.875 0.75 1.625 0.25 0.5 0.5 0.875 0.75 1.625 0.25 0.5 0.5 0.875 0.75 1.625 0.25 0.5 0.5 0.875 0.75 1.625 0.25 0.5 0.5 0.875 0.75 1.625 0.25 0.5 0.5 0.875 0.75 1.625 0.25 0.5 0.5 0.875 0.75 1.625 0.25 0.5 0.5 0.875 0.75 1.625 0.25 0.5 0.5 0.875 0.75 1.625 0.25 0.5 0.5 0.875 0.75 1.625 0.25 0.5 0.5 0.875 0.75 1.625 0.25 0.5 0.5 0.875 0.875 1.625 0.25 0.5 0.5 0.875 0.875 1.625 0.25 0.5 0.5 0.875 0.875 1.625 0.25 0.5 0.75 0.875 0.875 1.625 0.25 0.5 0.75 0.875 0.875 1.625 0.25 0.5 0.75 0.875 0.875 1.625 0.25 0.5 0.75 0.875 0.875 1.625 0.25 0.5 0.75 0.875 0.875 1.625 0.25 0.5 0.75 0.875 0.875 1.625 0.25 0.5 0.75 0.875 0.875 1.625 0.25 0.5 0.75 0.875 0.875 1.625 0.25 0.5 0.75 0.875 1.125 1.625 0.5 0.5 0.75 0.875 1.125 1.625 0.5 0.5 0.75 0.875 1.125 1.625 0.5 0.5 0.75 0.875 1.125 1.625 0.5 0.5 0.75 0.875 1.125 1.625 0.5 0.5 0.75 0.875 1.125 1.625 0.5 0.5 0.75 0.875 1.125 1.625 0.5 0.5 0.875 0.875 1.125 1.625 0.5 0.5 0.875 0.875 1.125 1.625 0.5 0.5 0.875 0.875 1.125 1.625 0.5 0.5 0.875 0.875 1.375 1.625 0.5 0.5 0.875 0.875 1.375 1.625 0.5 0.5 0.875 0.875 1.375 1.625 0.5 0.5 0.875 0.875 1.375 1.625 0.5 0.5 0.875 0.875 1.375 1.625 0.5 0.5 0.875 0.875 1.375 1.625 0.5 0.5 0.875 0.875 1.375 1.625l1.625 1.625 1.625 1.625c0.5 0.5 1.125 0.875 1.625 1.625 0.5 0.5 1.125 0.875 1.625 1.625 0.5 0.5 1.125 0.875 1.625 1.625 0.5 0.5 1.125 0.875 1.625 1.625 0.5 0.5 1.125 0.875 1.875 1.625 0.75 0.5 1.125 0.875 1.875 1.625 0.75 0.5 1.125 0.875 1.875 1.625 0.75 0.5 1.125 0.875 1.875 1.625 0.75 0.5 1.375 0.875 1.875 1.625 0.75 0.5 1.375 0.875 1.875 1.625 0.75 0.5 1.375 0.875 2.125 1.625 0.75 0.5 1.375 0.875 2.125 1.625 0.75 0.5 1.375 0.875 2.125 1.625 0.75 0.5 1.375 0.875 2.125 1.625 0.75 0.5 1.375 0.875 2.375 1.625 0.75 0.5 1.625 0.875 2.375 1.625 0.75 0.5 1.625 0.875 2.375 1.625 0.75 0.5 1.625 0.875 2.375 1.625 0.875 0.5 1.625 0.875 2.5 1.625 0.875 0.5 1.625 0.875 2.5 1.625 0.875 0.5 1.875 0.875 2.5 1.625 0.875 0.5 1.875 0.875 2.75 1.625 0.875 0.5 1.875 0.875 2.75 1.625 0.875 0.5 1.875 0.875 3 1.625 0.875 0.5 2.125 0.875 3 1.625 1.125 0.5 2.125 0.875 3.25 1.625 1.125 0.5 2.125 0.875 3.25 1.625 1.125 0.5 2.375 0.875 3.5 1.625 1.125 0.5 2.375 0.875 3.75 1.625 1.125 0.5 2.5 0.875 3.75 1.625 1.375 0.5 2.5 0.875 4 1.625 1.375 0.5 2.75 0.875 4.25 1.625 1.375 0.5 3 0.875 4.375 1.625 1.625 0.5 3.25 0.875 4.875 1.625 1.625 0.5 3.5 0.875 5.125 1.625 1.875 0.5 3.75 0.875 5.875 1.625 2.125 0.5 4.25 1.125 6.25 1.625 2.375 0.5 4.875 1.125 7.25 1.625 2.75 0.5 5.875 1.125 8.625 1.625 3.75 0.75 7.5 1.125 11.125 1.625 9.25 1.125 19.125 1.625 28.875 1.625h1.375c9.25 0 18.375-0.75 27.5-1.625 3.75-0.5 7.25-0.875 10.75-1.625 2.75-0.5 5.625-0.875 8.375-1.625 2.375-0.5 4.625-0.875 7-1.625 2.125-0.5 4.25-0.875 6.25-1.625 1.875-0.5 3.75-0.875 5.625-1.625 1.625-0.5 3.5-0.875 5.125-1.625 1.625-0.5 3.25-0.875 4.625-1.625 1.375-0.5 3-0.875 4.375-1.625 1.375-0.5 2.75-0.875 4.25-1.625 1.375-0.5 2.5-0.875 4-1.625 1.125-0.5 2.5-0.875 3.75-1.625 1.125-0.5 2.375-0.875 3.5-1.625 1.125-0.5 2.375-0.875 3.5-1.625 1.125-0.5 2.125-0.875 3.25-1.625 1.125-0.5 2.125-0.875 3.25-1.625 0.875-0.5 2.125-0.875 3-1.625 0.875-0.5 1.875-0.875 3-1.625 0.875-0.5 1.875-0.875 2.75-1.625 0.875-0.5 1.875-0.875 2.75-1.625 0.875-0.5 1.875-0.875 2.5-1.625 0.875-0.5 1.625-0.875 2.5-1.625 0.875-0.5 1.625-0.875 2.5-1.625 0.875-0.5 1.625-0.875 2.5-1.625 0.75-0.5 1.625-0.875 2.375-1.625 0.75-0.5 1.625-0.875 2.375-1.625 0.75-0.5 1.375-0.875 2.375-1.625 0.75-0.5 1.375-0.875 2.125-1.625 0.75-0.5 1.375-0.875 2.125-1.625 0.75-0.5 1.375-0.875 2.125-1.625 0.75-0.5 1.375-0.875 2.125-1.625 0.75-0.5 1.375-0.875 1.875-1.625 0.75-0.5 1.375-0.875 1.875-1.625 0.75-0.5 1.125-0.875 1.875-1.625 0.75-0.5 1.125-0.875 1.875-1.625 0.75-0.5 1.125-0.875 1.875-1.625 0.75-0.5 1.125-0.875 1.875-1.625 0.5-0.5 1.125-0.875 1.625-1.625 0.5-0.5 1.125-0.875 1.625-1.625 0.5-0.5 1.125-0.875 1.625-1.625 0.5-0.5 1.125-0.875 1.625-1.625 0.5-0.5 1.125-0.875 1.625-1.625l1.625-1.625 1.625-1.625c0.5-0.5 0.875-0.875 1.375-1.625 0.5-0.5 0.875-0.875 1.375-1.625 0.5-0.5 0.875-0.875 1.375-1.625 0.5-0.5 0.875-0.875 1.375-1.625 0.5-0.5 0.875-0.875 1.375-1.625 0.5-0.5 0.875-0.875 1.375-1.625 0.5-0.5 0.875-0.875 1.375-1.625 0.5-0.5 0.875-0.875 1.375-1.625 0.5-0.5 0.875-0.875 1.125-1.625 0.5-0.5 0.75-0.875 1.125-1.625 0.5-0.5 0.875-0.875 1.125-1.625 0.5-0.5 0.75-0.875 1.125-1.625 0.5-0.5 0.75-0.875 1.125-1.625 0.5-0.5 0.75-0.875 1.125-1.625 0.5-0.5 0.75-0.875 1.125-1.625 0.5-0.5 0.75-0.875 1.125-1.625 0.5-0.5 0.75-0.875 1.125-1.625 0.5-0.5 0.75-0.875 0.875-1.625 0.25-0.5 0.75-0.875 0.875-1.625 0.25-0.5 0.75-0.875 0.875-1.625 0.25-0.5 0.75-0.875 0.875-1.625 0.25-0.5 0.75-0.875 0.875-1.625 0.25-0.5 0.75-0.875 0.875-1.625 0.25-0.5 0.75-0.875 0.875-1.625 0.25-0.5 0.5-0.875 0.875-1.625 0.25-0.5 0.75-0.875 0.875-1.625 0.25-0.5 0.5-0.875 0.875-1.625 0.25-0.5 0.5-0.875 0.875-1.625 0.25-0.5 0.5-0.875 0.875-1.625 0.25-0.5 0.5-0.875 0.75-1.625 0.25-0.5 0.5-0.875 0.75-1.625 0.25-0.5 0.5-0.875 0.75-1.625 0.25-0.5 0.5-0.875 0.75-1.625 0.25-0.5 0.5-0.875 0.75-1.625 0.25-0.5 0.5-0.875 0.75-1.625 0.25-0.5 0.5-0.875 0.75-1.625 0.25-0.5 0.5-0.875 0.75-1.625 0.25-0.5 0.5-0.875 0.75-1.625 0.25-0.5 0.5-0.875 0.75-1.625 0.25-0.5 0.5-0.875 0.75-1.625 0.25-0.5 0.5-0.875 0.5-1.625 0.25-0.5 0.5-0.875 0.5-1.625 0.25-0.5 0.5-0.875 0.5-1.625 0.25-0.5 0.25-0.875 0.5-1.625 0.25-0.5 0.25-0.875 0.5-1.625 0.25-0.5 0.25-0.875 0.5-1.625 0.25-0.5 0.25-0.875 0.5-1.625 0.25-0.5 0.25-0.875 0.5-1.625 0.25-0.5 0.25-0.875 0.5-1.625 0.25-0.5 0.25-0.875 0.5-1.625 0.25-0.5 0.25-0.875 0.5-1.625 0.25-0.5 0.25-0.875 0.5-1.625 0.25-0.5 0.25-0.875 0.5-1.625 0.25-0.5 0.25-0.875 0.5-1.625 0.25-0.5 0.25-0.875 0.5-1.625 0-0.5 0.25-0.875 0.25-1.625 0-0.5 0.25-0.875 0.25-1.625 0-0.5 0.25-0.875 0.25-1.625 0-0.5 0.25-0.875 0.25-1.625 0-0.5 0.25-0.875 0.25-1.625 0-0.5 0.25-0.875 0.25-1.625 0-0.5 0.25-0.875 0.25-1.625 0-0.5 0.25-0.875 0.25-1.625 0-0.5 0.25-0.875 0.25-1.625 0-0.5 0-0.875 0.25-1.625 0-0.5 0-0.875 0.25-1.625 0-0.5 0-0.875 0.25-1.625 0-0.5 0-0.875 0.25-1.625 0-0.5 0-0.875 0.25-1.625v-11.375h-3.125zM589.714646 384c-12.625 0-25.375-12.75-25.375-25.375 0-12.75 12.75-25.375 25.375-25.375 19.375 0 31.875 12.625 31.875 25.375-0.125 12.625-12.75 25.375-31.875 25.375zM729.589646 384c-12.625 0-25.375-12.75-25.375-25.375 0-12.75 12.75-25.375 25.375-25.375 19.125 0 31.875 12.625 31.875 25.375 0 12.625-12.75 25.375-31.875 25.375zM328.714646 568.75c-19.125 0-38.375-12.625-38.375-31.625 0-19.125 19.375-31.875 38.375-31.875s31.875 12.75 31.875 31.875-12.875 31.625-31.875 31.625zM506.964646 568.75c-19.125 0-38.125-12.625-38.125-31.625 0-19.125 19.125-31.875 38.125-31.875 19.125 0 31.875 12.75 31.875 31.875s-12.875 31.625-31.875 31.625z" horiz-adv-x="1059" />
+
+
+ <glyph glyph-name="shrink-right" unicode="" d="M52.294-28.71900000000005h899.793c16.546 0 29.999 13.405 29.999 29.999v59.974c-0.013 16.562-13.436 29.985-29.998 29.999h-899.795c-16.57 0-29.999-13.429-29.999-29.999v-59.974c0-16.617 13.429-29.999 29.999-29.999zM952.087 451.165h-479.884c-16.57 0-29.999-13.405-29.999-29.999v-59.974c0 0 0 0 0 0 0-16.572 13.428-30.01 29.997-30.022h479.885c16.571 0.013 29.999 13.448 29.999 30.022 0 0 0 0 0 0v59.974c0 16.593-13.429 29.999-29.999 29.999zM52.294 691.0840000000001h899.793c16.554 0.013 29.972 13.423 29.999 29.974v59.999c0 16.57-13.429 29.999-29.999 29.999h-899.793c-16.57 0-29.999-13.429-29.999-29.999v-59.997c0-16.546 13.429-29.975 29.999-29.975zM45.183 383.53499999999997l239.919-150.598v301.196l-239.919-150.598z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="spread-left" unicode="" d="M942.974 770.924h-843.556c-15.513 0-28.124-12.567-28.124-28.124v-56.226c0.012-15.527 12.596-28.111 28.123-28.124h843.559c15.534 0 28.124 12.59 28.124 28.124v56.226c0 15.578-12.59 28.124-28.124 28.124zM99.418 321.033h449.891c15.534 0 28.124 12.567 28.124 28.124v56.226c0 0 0 0 0 0 0 15.537-12.589 28.134-28.122 28.146h-449.892c-15.534-0.012-28.124-12.608-28.124-28.146 0 0 0 0 0 0v-56.226c0-15.556 12.59-28.124 28.124-28.124zM942.974 96.10900000000004h-843.556c-15.519-0.012-28.099-12.584-28.124-28.101v-56.249c0-15.534 12.59-28.124 28.124-28.124h843.556c15.534 0 28.124 12.59 28.124 28.124v56.248c0 15.513-12.59 28.103-28.124 28.102zM949.641 384.436l-224.924 141.186v-282.37l224.924 141.186z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="camera" unicode="" d="M884.3 648.6H704.2L679.5 698l-0.2 0.4c-1.9 3.6-3.6 6.9-5.1 9.9-12 23.4-21.5 41.9-54.1 41.9H416.7c-32.9 0-43.7-21.3-55.1-43.8-1.3-2.6-2.7-5.3-4.2-8.1l-24.8-49.7H152.4c-34 0-61.7-27.7-61.7-61.7v-488c0-34 27.7-61.7 61.7-61.7h731.9c34 0 61.7 27.7 61.7 61.7v488c0 34-27.7 61.7-61.7 61.7zM904 98.89999999999998c0-10.8-8.8-19.7-19.7-19.7H152.4c-10.8 0-19.7 8.8-19.7 19.7v488c0 10.8 8.8 19.7 19.7 19.7h206.1l36.2 72.5c1.5 2.9 2.9 5.7 4.3 8.3 10.6 20.8 11.1 20.8 17.7 20.8H620c4.6 0 5.8-0.6 5.8-0.6 2-1.2 7.2-11.2 10.9-18.5 1.6-3.1 3.3-6.5 5.3-10.1l36.2-72.4h206.1c10.8 0 19.7-8.8 19.7-19.7v-488zM525.5 565.5c-123.5 0-223.6-100.1-223.6-223.6S402 118.20000000000005 525.5 118.20000000000005s223.7 100.1 223.7 223.7c0 123.5-100.2 223.6-223.7 223.6z m0-402.5c-98.8 0-178.9 80.1-178.9 178.9 0 98.8 80.1 178.9 178.9 178.9 98.8 0 178.9-80.1 178.9-178.9 0-98.8-80.1-178.9-178.9-178.9z m246 402.5v-44.7H861v44.7h-89.5z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="note" unicode="" d="M987.2 384.36L512.43 859.13a84.75 84.75 0 0 1-65 24.71L111.55 864.09a84.83 84.83 0 0 1-79.65-79.65L12.15 448.57a84.57 84.57 0 0 1 24.69-65l474.8-474.8a84.91 84.91 0 0 1 119.93 0L987.2 264.41999999999996a84.9 84.9 0 0 1 0 119.94z m-39.28-80.66L592.29-51.91999999999996a29.31 29.31 0 0 0-41.37 0L76.1 422.9a29.22 29.22 0 0 0-8.49 22.38l19.74 335.88a29.29 29.29 0 0 0 27.48 27.48l335.9 19.75a29.32 29.32 0 0 0 22.38-8.52l474.8-474.8a29.31 29.31 0 0 0 0.01-41.37zM236.86 659.14c-50.92-50.95-50.92-133.8 0-184.72a130.61 130.61 0 1 1 184.71 184.72c-50.89 50.86-133.77 50.86-184.71 0zM382.29 513.7c-28.38-28.38-77.78-28.38-106.15 0a75.08 75.08 0 1 0 106.15 0z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="refresh" unicode="" d="M928 810.666667c-18.133333 0-32-13.866667-32-32v-164.266667C816 747.733333 669.866667 832 512 832 264.533333 832 64 631.4666669999999 64 384s200.533333-448 448-448c230.4 0 422.4 172.8 445.866667 402.133333 2.133333 17.066667-10.666667 33.066667-28.8 35.2-17.066667 2.133333-33.066667-10.666667-35.2-28.8C873.6 148.26666699999998 709.333333 0 512 0c-212.266667 0-384 171.733333-384 384s171.733333 384 384 384c137.6 0 264.533333-74.666667 332.8-192H693.333333c-18.133333 0-32-13.866667-32-32s13.866667-32 32-32h266.666667V778.666667c0 18.133333-14.933333 32-32 32z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="female" unicode="" d="M774.4 800c-48 35.2-108.8 51.2-172.8 51.2-105.6 0-208-51.2-268.8-150.4-89.6-134.4-57.6-313.6 60.8-416l-32-51.2-188.8 121.6S128 384 108.8 352c-22.4-35.2 22.4-64 22.4-64l188.8-121.6-105.6-163.2s-19.2-32 16-51.2c38.4-22.4 57.6 12.8 57.6 12.8l102.4 160 185.6-121.6s48-28.8 70.4 6.4c19.2 28.8-25.6 57.6-25.6 57.6L432 192l32 48c44.8-22.4 92.8-32 137.6-32 105.6 0 208 51.2 268.8 150.4 96 147.2 51.2 345.6-96 441.6z m35.2-400c-44.8-67.2-118.4-108.8-201.6-108.8-44.8 0-92.8 12.8-131.2 38.4-112 73.6-147.2 220.8-73.6 332.8 44.8 64 121.6 105.6 201.6 108.8 44.8 0 92.8-12.8 131.2-38.4 112-73.6 147.2-220.8 73.6-332.8z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="male" unicode="" d="M889.6 800h-240s-35.2 0-38.4-41.6c0-19.2 16-38.4 38.4-38.4h140.8l-179.2-179.2C556.8 582.4 489.6 608 416 608 240 608 96 464 96 288s144-320 320-320 320 144 320 320c0 73.6-25.6 140.8-67.2 195.2l179.2 179.2v-140.8c0-22.4 19.2-38.4 38.4-38.4 22.4 0 38.4 19.2 38.4 41.6V764.8h3.2C924.8 800 889.6 800 889.6 800zM416 48c-131.2 0-236.8 105.6-236.8 236.8 0 131.2 105.6 236.8 236.8 236.8s236.8-105.6 236.8-236.8c0-131.2-105.6-236.8-236.8-236.8z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="screen-restore" unicode="" d="M582.6 454.6v320h50V540l274 274 35.4-35.4-274-274h234.6v-50h-320zM117.4-46l274 274v-234.6h50v320h-320v-50H356l-274-274 35.4-35.4zM132 764h302V814H82v-352h50V764z m760-760H590v-50h352V306h-50v-302z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="password" unicode="" d="M519.2 343.29999999999995c-41.1 0-74.4-33.3-74.4-74.4 0-29.7 17.5-55 42.5-67.1v-81.9c0-17.6 14.3-31.9 31.9-31.9 17.6 0 31.9 14.3 31.9 31.9v81.9c25.1 12 42.5 37.4 42.5 66.9 0 41.3-33.2 74.6-74.4 74.6zM827.6-62.10000000000002H189.4c-35.9 0-65.1 29.2-65.1 65.1V428.4c0 35.9 29.2 65.1 65.1 65.1h638.2c17.3 0 33.7-6.7 46-19.1 12.3-12.3 19.1-28.7 19.1-46V3c0-35.9-29.2-65.1-65.1-65.1zM231.9 427.2c-34.8 0-41.3-6.6-41.3-41.3v-340.4c0-34.8 6.6-41.3 41.3-41.3h553.2c34.8 0 41.3 6.6 41.3 41.3V385.9c0 34.8-6.6 41.3-41.3 41.3H231.9zM519.2 86.70000000000005c-18.3 0-33.2 14.8-33.2 33.2V201c-26.3 12.8-42.6 38.8-42.6 67.8 0 41.8 33.9 75.7 75.7 75.7s75.7-33.9 75.7-75.7c0-29-16.3-55-42.5-67.8v-81.1c0.1-18.2-14.9-33.2-33.1-33.2zM519.2 342c-40.4 0-73.2-32.9-73.2-73.2 0-28.3 16.1-53.6 41.9-65.8l0.7-0.4V120c0-17 13.7-30.7 30.7-30.7S550 103.10000000000002 550 120v82.6l0.7 0.4c25.8 12.3 41.9 37.5 41.9 65.8-0.2 40.4-33.1 73.2-73.4 73.2zM207 523.1c-9.1 0-17.6 3.5-23.9 10-6.4 6.4-10 15-10 23.9v2h-0.2l0.2 1.4c0.1 0.5 0.1 0.9 0.2 1.4l0.2 1c0.1 0.6 0.2 1.4 0.4 2 15.3 75.7 57 144.2 117.2 193 29.9 24.2 63.4 43 99.8 56 37.5 13.3 77 20.2 117.5 20.2 61 0 120.8-16.3 173-47.2 50.6-29.9 93-72.8 122.5-123.8 4-5.6 6.1-12.2 6.1-19.2 0-18.3-15-33.3-33.3-33.3-13.2 0-25.1 7.7-30.4 19.8-49.2 84.6-140.4 137.4-238 137.4-128.1 0-238.2-87.1-267.6-211.8v-0.2c-0.7-18.4-15.4-32.6-33.7-32.6z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="senior" unicode="" d="M719.9 249.39999999999998L514.7 379.5V485.1C615.6 419 731.5 344 731.5 344s139.2-45.6 139.2 106.5c0 93-172.5 112.1-197.2 11.8l-69.6 47.3s24.2 101.5 162.4 106.5c138.2 4.9 192-94.6 190.9-199.6-1.2-104.7-136-198.3-237.3-167.1zM561 414c-4-19-23-33.7-47.6-33.7l-6.9 4.3-217.3 137.8S171 555.2 160.8 439c-10.2-116.1 147.4-129.5 186.8-23.8l81.7-47.6s-65.1-119.1-198.5-119.1C97.3 248.5 0.6 423.8 114 546.3c113.5 122.4 218.6 64.6 257 35.7 16.4-12.4 85.3-57.9 158.6-105.9l3.1-2.4c28.3-18.2 33.4-35.6 28.3-59.7zM434.1 149.70000000000005h212c16.7 0 30.3-13.6 30.3-30.3v-15.1c0-16.7-13.6-30.3-30.3-30.3h-212c-16.7 0-30.3 13.6-30.3 30.3v15.1c0 16.8 13.6 30.3 30.3 30.3z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="theme" unicode="" d="M512 800C229.696 800 0 570.304 0 288c0-90.368 30.304-174.496 85.344-236.896 55.264-62.624 129.152-97.12 208.128-97.12 81.568 0 161.536 36.832 231.264 106.592l2.272 2.496c65.792 81.472 132.896 121.056 205.088 121.056 46.72 0 89.216-15.872 126.688-29.92 30.336-11.328 56.576-21.12 81.216-21.12C1024 133.08799999999997 1024 241.664 1024 288c0 282.304-229.696 512-512 512z m428-602.912c-13.088 0-35.296 8.288-58.784 17.088-40.48 15.136-90.848 33.952-149.12 33.952-92.352 0-175.328-46.944-253.76-143.456-57.184-56.704-121.056-86.688-184.832-86.688-60.352 0-117.216 26.784-160.128 75.456C88.64 144.12800000000004 64 213.216 64 288 64 535.04 264.96 736 512 736s448-200.96 448-448c0-27.328-1.952-90.912-20-90.912zM800.704 379.93600000000004m-64 0a64 64 0 1 1 128 0 64 64 0 1 1-128 0ZM457.024 582.624m-64 0a64 64 0 1 1 128 0 64 64 0 1 1-128 0ZM672.704 555.9359999999999m-64 0a64 64 0 1 1 128 0 64 64 0 1 1-128 0ZM291.392 443.936m-64 0a64 64 0 1 1 128 0 64 64 0 1 1-128 0ZM278.4 197.24800000000005m-96 0a96 96 0 1 1 192 0 96 96 0 1 1-192 0Z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="tread" unicode="" d="M860.8 172.79999999999995l6.4-57.6-6.4 57.6c12.8 0 25.6 3.2 35.2 12.8 6.4 9.6 6.4 22.4 3.2 32l57.6 12.8-57.6-12.8L800 553.6c-6.4 28.8-25.6 51.2-48 64-9.6 6.4-22.4 9.6-32 9.6H182.4c-22.4 3.2-41.6-6.4-51.2-25.6-6.4-9.6-6.4-19.2-9.6-28.8v-342.4c0-19.2 9.6-38.4 28.8-48 6.4-3.2 12.8-6.4 19.2-6.4h192l19.2-25.6 147.2-188.8c6.4-9.6 19.2-12.8 28.8-9.6 16 3.2 25.6 19.2 22.4 35.2l-9.6 118.4-6.4 67.2h297.6z m-233.6-57.6l9.6-128c3.2-28.8-9.6-54.4-28.8-73.6-35.2-32-92.8-28.8-124.8 6.4l-156.8 195.2H179.2c-19.2 0-38.4 6.4-57.6 16-35.2 19.2-57.6 57.6-57.6 99.2V572.8c0 19.2 6.4 38.4 16 57.6 19.2 38.4 57.6 60.8 99.2 54.4h537.6c67.2-3.2 121.6-48 137.6-112l102.4-339.2c6.4-28.8 3.2-57.6-12.8-80-19.2-22.4-48-38.4-76.8-38.4h-240zM304 627.2v-451.2h57.6V627.2H304z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="praise" unicode="" d="M860.8 595.2h-297.6l6.4 67.2 9.6 118.4c3.2 16-6.4 32-22.4 35.2-9.6 3.2-22.4 0-28.8-9.6l-147.2-188.8-19.2-25.6h-192c-6.4 0-12.8-3.2-19.2-6.4-19.2-9.6-28.8-28.8-28.8-48v-342.4c0-9.6 3.2-22.4 9.6-28.8 9.6-19.2 28.8-28.8 48-25.6h537.6c12.8 0 22.4 3.2 32 9.6 25.6 12.8 44.8 35.2 48 64l102.4 336 57.6-12.8-57.6 12.8c3.2 9.6 0 22.4-3.2 32-9.6 6.4-22.4 12.8-35.2 12.8l6.4 57.6-6.4-57.6z m-233.6 57.6h240c28.8 0 57.6-12.8 76.8-38.4 16-22.4 19.2-54.4 12.8-80l-102.4-339.2c-16-64-70.4-108.8-137.6-112H179.2c-41.6-3.2-80 19.2-99.2 54.4-9.6 19.2-16 38.4-16 57.6V537.6c0 41.6 22.4 80 57.6 99.2 19.2 9.6 38.4 12.8 57.6 16h144L480 848c32 35.2 89.6 38.4 124.8 6.4 19.2-19.2 32-44.8 28.8-73.6l-6.4-128z m-323.2-512h57.6V592H304v-451.2z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="star-fill" unicode="" d="M752-43.200000000000045c-9.6 0-20.8 3.2-30.4 8l-208 104-209.6-104c-20.8-11.2-48-9.6-67.2 4.8-19.2 14.4-30.4 40-25.6 64l43.2 224L89.6 411.2C72 428.8 65.6 456 72 478.4c8 24 27.2 41.6 52.8 44.8l228.8 41.6 102.4 208c11.2 22.4 33.6 36.8 57.6 36.8s48-14.4 57.6-36.8l102.4-208 228.8-40c24-3.2 44.8-20.8 51.2-44.8 8-24 1.6-49.6-16-67.2L772.8 257.6l41.6-224c4.8-25.6-6.4-49.6-25.6-64-9.6-8-22.4-12.8-36.8-12.8z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="rate" unicode="" d="M959.008 489.984l-308 47.008L512 832 372.992 536.992l-308-47.008 223.008-228-52.992-324L512 90.976l276.992-152.992-52.992 324zM512 156L304 39.00800000000004l40 235.008-179.008 182.016 242.016 32 104.992 224 104-224 240.992-34.016L680 273.024l36.992-235.008z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="template-1" unicode="" d="M512 384zM43.52 601.6l409.6-176.64c58.88-30.72 110.08 0 110.08 0l414.72 174.08 2.56 2.56c10.24 5.12 15.36 15.36 15.36 28.16 0 15.36-10.24 28.16-23.04 30.72L563.2 837.12c-56.32 23.04-97.28 0-97.28 0L46.08 660.48c-12.8-5.12-20.48-17.92-20.48-30.72s7.68-23.04 17.92-28.16z m0 0M512 222.72000000000003c-2.56 0-7.68 0-10.24 2.56l-486.4 215.04c-12.8 5.12-17.92 20.48-12.8 33.28 5.12 12.8 20.48 17.92 33.28 12.8L512 276.48 988.16 486.4c12.8 5.12 28.16 0 33.28-12.8 5.12-12.8 0-28.16-12.8-33.28l-486.4-215.04c-2.56-2.56-7.68-2.56-10.24-2.56zM512 71.67999999999995c-2.56 0-7.68 0-10.24 2.56l-486.4 215.04c-12.8 5.12-17.92 20.48-12.8 33.28 5.12 10.24 20.48 17.92 33.28 10.24L512 125.44000000000005 988.16 332.79999999999995c12.8 5.12 28.16 0 33.28-12.8 5.12-12.8 0-28.16-12.8-33.28l-486.4-215.04H512zM512-79.36000000000001c-2.56 0-7.68 0-10.24 2.56l-486.4 215.04c-12.8 5.12-17.92 20.48-12.8 33.28 5.12 12.8 20.48 17.92 33.28 12.8L512-25.600000000000023l476.16 209.92c12.8 5.12 28.16 0 33.28-12.8 5.12-12.8 0-28.16-12.8-33.28l-486.4-215.04c-2.56-2.56-7.68-2.56-10.24-2.56z" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="vercode" unicode="" d="M513.807059-128C351.171765-128 58.428235 126.19294100000002 54.211765 376.16941199999997V662.287059a93.364706 93.364706 0 0 0 81.317647 88.545882 570.428235 570.428235 0 0 1 163.237647 40.357647A393.336471 393.336471 0 0 1 446.945882 872.508235a101.797647 101.797647 0 0 0 120.470589 5.421177A629.458824 629.458824 0 0 1 716.8 792.395294a1255.303529 1255.303529 0 0 1 169.863529-38.550588 98.785882 98.785882 0 0 0 79.510589-90.955294 2911.171765 2911.171765 0 0 0-3.011765-291.538824C924.611765 49.09176500000001 672.828235-128 513.807059-128z m0 963.764706a39.152941 39.152941 0 0 1-24.696471-7.830588A438.512941 438.512941 0 0 0 319.247059 734.569412a608.376471 608.376471 0 0 0-180.705883-43.369412 33.731765 33.731765 0 0 1-24.094117-30.117647v-283.708235C118.663529 155.10588199999995 389.722353-67.76470600000005 513.807059-67.76470600000005s354.183529 148.178824 391.529412 444.536471c9.035294 175.887059 0 281.901176 0 283.105882a38.550588 38.550588 0 0 1-29.515295 33.731765 1287.830588 1287.830588 0 0 0-180.705882 41.562353A676.442353 676.442353 0 0 0 536.094118 829.741176a37.345882 37.345882 0 0 1-24.094118 6.02353zM784.865882 479.171765L487.905882 198.47529399999996a40.357647 40.357647 0 0 0-49.392941-4.818823l-7.830588 6.625882-161.430588 171.068235a40.357647 40.357647 0 1 0 60.235294 55.416471l133.722353-141.552941 267.444706 252.988235a40.357647 40.357647 0 1 0 55.41647-60.235294" horiz-adv-x="1024" />
+
+
+ <glyph glyph-name="cellphone" unicode="" d="M785.066667 896H238.933333a102.4 102.4 0 0 1-102.4-102.4v-819.2a102.4 102.4 0 0 1 102.4-102.4h546.133334a102.4 102.4 0 0 1 102.4 102.4V793.6a102.4 102.4 0 0 1-102.4 102.4zM238.933333 827.733333h546.133334a34.133333 34.133333 0 0 0 34.133333-34.133333v-648.533333H204.8V793.6a34.133333 34.133333 0 0 0 34.133333 34.133333z m546.133334-887.466666H238.933333a34.133333 34.133333 0 0 0-34.133333 34.133333v102.4h614.4v-102.4a34.133333 34.133333 0 0 0-34.133333-34.133333zM512 8.53333299999997m-34.133333 0a34.133333 34.133333 0 1 1 68.266666 0 34.133333 34.133333 0 1 1-68.266666 0ZM426.666667 725.333333h170.666666a17.066667 17.066667 0 0 1 0 34.133334h-170.666666a17.066667 17.066667 0 0 1 0-34.133334z" horiz-adv-x="1024" />
+
+
+
+
+ </font>
+</defs></svg>
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/font/iconfont.ttf b/src/main/webapp/static/wms/layuiadmin/layui/font/iconfont.ttf
new file mode 100644
index 0000000..43a3161
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/font/iconfont.ttf
Binary files differ
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/font/iconfont.woff b/src/main/webapp/static/wms/layuiadmin/layui/font/iconfont.woff
new file mode 100644
index 0000000..7fd98e3
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/font/iconfont.woff
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/0.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/0.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/0.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/0.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/1.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/1.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/1.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/1.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/10.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/10.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/10.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/10.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/11.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/11.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/11.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/11.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/12.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/12.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/12.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/12.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/13.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/13.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/13.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/13.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/14.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/14.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/14.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/14.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/15.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/15.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/15.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/15.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/16.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/16.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/16.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/16.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/17.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/17.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/17.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/17.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/18.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/18.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/18.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/18.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/19.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/19.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/19.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/19.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/2.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/2.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/2.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/2.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/20.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/20.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/20.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/20.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/21.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/21.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/21.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/21.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/22.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/22.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/22.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/22.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/23.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/23.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/23.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/23.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/24.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/24.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/24.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/24.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/25.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/25.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/25.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/25.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/26.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/26.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/26.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/26.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/27.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/27.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/27.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/27.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/28.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/28.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/28.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/28.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/29.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/29.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/29.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/29.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/3.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/3.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/3.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/3.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/30.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/30.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/30.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/30.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/31.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/31.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/31.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/31.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/32.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/32.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/32.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/32.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/33.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/33.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/33.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/33.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/34.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/34.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/34.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/34.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/35.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/35.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/35.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/35.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/36.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/36.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/36.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/36.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/37.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/37.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/37.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/37.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/38.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/38.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/38.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/38.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/39.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/39.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/39.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/39.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/4.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/4.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/4.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/4.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/40.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/40.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/40.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/40.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/41.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/41.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/41.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/41.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/42.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/42.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/42.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/42.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/43.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/43.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/43.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/43.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/44.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/44.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/44.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/44.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/45.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/45.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/45.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/45.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/46.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/46.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/46.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/46.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/47.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/47.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/47.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/47.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/48.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/48.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/48.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/48.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/49.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/49.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/49.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/49.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/5.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/5.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/5.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/5.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/50.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/50.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/50.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/50.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/51.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/51.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/51.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/51.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/52.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/52.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/52.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/52.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/53.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/53.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/53.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/53.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/54.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/54.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/54.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/54.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/55.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/55.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/55.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/55.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/56.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/56.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/56.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/56.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/57.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/57.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/57.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/57.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/58.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/58.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/58.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/58.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/59.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/59.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/59.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/59.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/6.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/6.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/6.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/6.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/60.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/60.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/60.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/60.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/61.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/61.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/61.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/61.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/62.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/62.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/62.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/62.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/63.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/63.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/63.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/63.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/64.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/64.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/64.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/64.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/65.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/65.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/65.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/65.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/66.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/66.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/66.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/66.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/67.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/67.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/67.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/67.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/68.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/68.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/68.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/68.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/69.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/69.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/69.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/69.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/7.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/7.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/7.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/7.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/70.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/70.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/70.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/70.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/71.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/71.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/71.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/71.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/8.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/8.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/8.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/8.gif
Binary files differ
diff --git a/src/main/webapp/static/layui/images/face/9.gif b/src/main/webapp/static/wms/layuiadmin/layui/images/face/9.gif
old mode 100755
new mode 100644
similarity index 100%
copy from src/main/webapp/static/layui/images/face/9.gif
copy to src/main/webapp/static/wms/layuiadmin/layui/images/face/9.gif
Binary files differ
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/lay/all-mobile.js b/src/main/webapp/static/wms/layuiadmin/layui/lay/all-mobile.js
new file mode 100644
index 0000000..2efafcc
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/lay/all-mobile.js
@@ -0,0 +1,11 @@
+/**
+
+ @Name锛氱敤浜庢墦鍖呯Щ鍔ㄥ畬鏁寸増
+ @Author锛氳搐蹇�
+ @License锛歀GPL
+
+ */
+
+layui.define(function(exports){
+ exports('layui.mobile', layui.v);
+});
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/lay/all.js b/src/main/webapp/static/wms/layuiadmin/layui/lay/all.js
new file mode 100644
index 0000000..3632da8
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/lay/all.js
@@ -0,0 +1,15 @@
+/**
+
+ @Name锛氱敤浜庢墦鍖匬C瀹屾暣鐗堬紝鍗冲寘鍚玪ayui.js鍜屾墍鏈夋ā鍧楃殑瀹屾暣鍚堝苟锛堣鏂囦欢涓嶄細瀛樺湪浜庢瀯寤哄悗鐨勭洰褰曪級
+ @Author锛氳搐蹇�
+ @License锛歀GPL
+
+ */
+
+layui.define(function(exports){
+ var cache = layui.cache;
+ layui.config({
+ dir: cache.dir.replace(/lay\/dest\/$/, '')
+ });
+ exports('layui.all', layui.v);
+});
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/carousel.js b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/carousel.js
new file mode 100644
index 0000000..5855394
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/carousel.js
@@ -0,0 +1,2 @@
+/** layui-v2.3.0 MIT License By https://www.layui.com */
+ ;layui.define("jquery",function(e){"use strict";var i=layui.$,n=(layui.hint(),layui.device(),{config:{},set:function(e){var n=this;return n.config=i.extend({},n.config,e),n},on:function(e,i){return layui.onevent.call(this,t,e,i)}}),t="carousel",a="layui-this",l=">*[carousel-item]>*",o="layui-carousel-left",r="layui-carousel-right",d="layui-carousel-prev",s="layui-carousel-next",u="layui-carousel-arrow",c="layui-carousel-ind",m=function(e){var t=this;t.config=i.extend({},t.config,n.config,e),t.render()};m.prototype.config={width:"600px",height:"280px",full:!1,arrow:"hover",indicator:"inside",autoplay:!0,interval:3e3,anim:"",trigger:"click",index:0},m.prototype.render=function(){var e=this,n=e.config;n.elem=i(n.elem),n.elem[0]&&(e.elemItem=n.elem.find(l),n.index<0&&(n.index=0),n.index>=e.elemItem.length&&(n.index=e.elemItem.length-1),n.interval<800&&(n.interval=800),n.full?n.elem.css({position:"fixed",width:"100%",height:"100%",zIndex:9999}):n.elem.css({width:n.width,height:n.height}),n.elem.attr("lay-anim",n.anim),e.elemItem.eq(n.index).addClass(a),e.elemItem.length<=1||(e.indicator(),e.arrow(),e.autoplay(),e.events()))},m.prototype.reload=function(e){var n=this;clearInterval(n.timer),n.config=i.extend({},n.config,e),n.render()},m.prototype.prevIndex=function(){var e=this,i=e.config,n=i.index-1;return n<0&&(n=e.elemItem.length-1),n},m.prototype.nextIndex=function(){var e=this,i=e.config,n=i.index+1;return n>=e.elemItem.length&&(n=0),n},m.prototype.addIndex=function(e){var i=this,n=i.config;e=e||1,n.index=n.index+e,n.index>=i.elemItem.length&&(n.index=0)},m.prototype.subIndex=function(e){var i=this,n=i.config;e=e||1,n.index=n.index-e,n.index<0&&(n.index=i.elemItem.length-1)},m.prototype.autoplay=function(){var e=this,i=e.config;i.autoplay&&(e.timer=setInterval(function(){e.slide()},i.interval))},m.prototype.arrow=function(){var e=this,n=e.config,t=i(['<button class="layui-icon '+u+'" lay-type="sub">'+("updown"===n.anim?"":"")+"</button>",'<button class="layui-icon '+u+'" lay-type="add">'+("updown"===n.anim?"":"")+"</button>"].join(""));n.elem.attr("lay-arrow",n.arrow),n.elem.find("."+u)[0]&&n.elem.find("."+u).remove(),n.elem.append(t),t.on("click",function(){var n=i(this),t=n.attr("lay-type");e.slide(t)})},m.prototype.indicator=function(){var e=this,n=e.config,t=e.elemInd=i(['<div class="'+c+'"><ul>',function(){var i=[];return layui.each(e.elemItem,function(e){i.push("<li"+(n.index===e?' class="layui-this"':"")+"></li>")}),i.join("")}(),"</ul></div>"].join(""));n.elem.attr("lay-indicator",n.indicator),n.elem.find("."+c)[0]&&n.elem.find("."+c).remove(),n.elem.append(t),"updown"===n.anim&&t.css("margin-top",-(t.height()/2)),t.find("li").on("hover"===n.trigger?"mouseover":n.trigger,function(){var t=i(this),a=t.index();a>n.index?e.slide("add",a-n.index):a<n.index&&e.slide("sub",n.index-a)})},m.prototype.slide=function(e,i){var n=this,l=n.elemItem,u=n.config,c=u.index,m=u.elem.attr("lay-filter");n.haveSlide||("sub"===e?(n.subIndex(i),l.eq(u.index).addClass(d),setTimeout(function(){l.eq(c).addClass(r),l.eq(u.index).addClass(r)},50)):(n.addIndex(i),l.eq(u.index).addClass(s),setTimeout(function(){l.eq(c).addClass(o),l.eq(u.index).addClass(o)},50)),setTimeout(function(){l.removeClass(a+" "+d+" "+s+" "+o+" "+r),l.eq(u.index).addClass(a),n.haveSlide=!1},300),n.elemInd.find("li").eq(u.index).addClass(a).siblings().removeClass(a),n.haveSlide=!0,layui.event.call(this,t,"change("+m+")",{index:u.index,prevIndex:c,item:l.eq(u.index)}))},m.prototype.events=function(){var e=this,i=e.config;i.elem.data("haveEvents")||(i.elem.on("mouseenter",function(){clearInterval(e.timer)}).on("mouseleave",function(){e.autoplay()}),i.elem.data("haveEvents",!0))},n.render=function(e){var i=new m(e);return i},e(t,n)});
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/code.js b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/code.js
new file mode 100644
index 0000000..ad795a6
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/code.js
@@ -0,0 +1,2 @@
+/** layui-v2.3.0 MIT License By https://www.layui.com */
+ ;layui.define("jquery",function(e){"use strict";var a=layui.$,l="http://www.layui.com/doc/modules/code.html";e("code",function(e){var t=[];e=e||{},e.elem=a(e.elem||".layui-code"),e.about=!("about"in e)||e.about,e.elem.each(function(){t.push(this)}),layui.each(t.reverse(),function(t,i){var c=a(i),o=c.html();(c.attr("lay-encode")||e.encode)&&(o=o.replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/'/g,"'").replace(/"/g,""")),c.html('<ol class="layui-code-ol"><li>'+o.replace(/[\r\t\n]+/g,"</li><li>")+"</li></ol>"),c.find(">.layui-code-h3")[0]||c.prepend('<h3 class="layui-code-h3">'+(c.attr("lay-title")||e.title||"code")+(e.about?'<a href="'+l+'" target="_blank">layui.code</a>':"")+"</h3>");var d=c.find(">.layui-code-ol");c.addClass("layui-box layui-code-view"),(c.attr("lay-skin")||e.skin)&&c.addClass("layui-code-"+(c.attr("lay-skin")||e.skin)),(d.find("li").length/100|0)>0&&d.css("margin-left",(d.find("li").length/100|0)+"px"),(c.attr("lay-height")||e.height)&&d.css("max-height",c.attr("lay-height")||e.height)})})}).addcss("modules/code.css","skincodecss");
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/element.js b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/element.js
new file mode 100644
index 0000000..cddd20a
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/element.js
@@ -0,0 +1,2 @@
+/** layui-v2.3.0 MIT License By https://www.layui.com */
+ ;layui.define("jquery",function(t){"use strict";var a=layui.$,i=(layui.hint(),layui.device()),e="element",l="layui-this",n="layui-show",s=function(){this.config={}};s.prototype.set=function(t){var i=this;return a.extend(!0,i.config,t),i},s.prototype.on=function(t,a){return layui.onevent.call(this,e,t,a)},s.prototype.tabAdd=function(t,i){var e=".layui-tab-title",l=a(".layui-tab[lay-filter="+t+"]"),n=l.children(e),s=n.children(".layui-tab-bar"),o=l.children(".layui-tab-content"),r='<li lay-id="'+(i.id||"")+'"'+(i.attr?' lay-attr="'+i.attr+'"':"")+">"+(i.title||"unnaming")+"</li>";return s[0]?s.before(r):n.append(r),o.append('<div class="layui-tab-item">'+(i.content||"")+"</div>"),f.hideTabMore(!0),f.tabAuto(),this},s.prototype.tabDelete=function(t,i){var e=".layui-tab-title",l=a(".layui-tab[lay-filter="+t+"]"),n=l.children(e),s=n.find('>li[lay-id="'+i+'"]');return f.tabDelete(null,s),this},s.prototype.tabChange=function(t,i){var e=".layui-tab-title",l=a(".layui-tab[lay-filter="+t+"]"),n=l.children(e),s=n.find('>li[lay-id="'+i+'"]');return f.tabClick.call(s[0],null,null,s),this},s.prototype.tab=function(t){t=t||{},b.on("click",t.headerElem,function(i){var e=a(this).index();f.tabClick.call(this,i,e,null,t)})},s.prototype.progress=function(t,i){var e="layui-progress",l=a("."+e+"[lay-filter="+t+"]"),n=l.find("."+e+"-bar"),s=n.find("."+e+"-text");return n.css("width",i),s.text(i),this};var o=".layui-nav",r="layui-nav-item",c="layui-nav-bar",u="layui-nav-tree",d="layui-nav-child",y="layui-nav-more",h="layui-anim layui-anim-upbit",f={tabClick:function(t,i,s,o){o=o||{};var r=s||a(this),i=i||r.parent().children("li").index(r),c=o.headerElem?r.parent():r.parents(".layui-tab").eq(0),u=o.bodyElem?a(o.bodyElem):c.children(".layui-tab-content").children(".layui-tab-item"),d=r.find("a"),y=c.attr("lay-filter");"javascript:;"!==d.attr("href")&&"_blank"===d.attr("target")||(r.addClass(l).siblings().removeClass(l),u.eq(i).addClass(n).siblings().removeClass(n)),layui.event.call(this,e,"tab("+y+")",{elem:c,index:i})},tabDelete:function(t,i){var n=i||a(this).parent(),s=n.index(),o=n.parents(".layui-tab").eq(0),r=o.children(".layui-tab-content").children(".layui-tab-item"),c=o.attr("lay-filter");n.hasClass(l)&&(n.next()[0]?f.tabClick.call(n.next()[0],null,s+1):n.prev()[0]&&f.tabClick.call(n.prev()[0],null,s-1)),n.remove(),r.eq(s).remove(),setTimeout(function(){f.tabAuto()},50),layui.event.call(this,e,"tabDelete("+c+")",{elem:o,index:s})},tabAuto:function(){var t="layui-tab-more",e="layui-tab-bar",l="layui-tab-close",n=this;a(".layui-tab").each(function(){var s=a(this),o=s.children(".layui-tab-title"),r=(s.children(".layui-tab-content").children(".layui-tab-item"),'lay-stope="tabmore"'),c=a('<span class="layui-unselect layui-tab-bar" '+r+"><i "+r+' class="layui-icon"></i></span>');if(n===window&&8!=i.ie&&f.hideTabMore(!0),s.attr("lay-allowClose")&&o.find("li").each(function(){var t=a(this);if(!t.find("."+l)[0]){var i=a('<i class="layui-icon layui-unselect '+l+'">ဆ</i>');i.on("click",f.tabDelete),t.append(i)}}),"string"!=typeof s.attr("lay-unauto"))if(o.prop("scrollWidth")>o.outerWidth()+1){if(o.find("."+e)[0])return;o.append(c),s.attr("overflow",""),c.on("click",function(a){o[this.title?"removeClass":"addClass"](t),this.title=this.title?"":"鏀剁缉"})}else o.find("."+e).remove(),s.removeAttr("overflow")})},hideTabMore:function(t){var i=a(".layui-tab-title");t!==!0&&"tabmore"===a(t.target).attr("lay-stope")||(i.removeClass("layui-tab-more"),i.find(".layui-tab-bar").attr("title",""))},clickThis:function(){var t=a(this),i=t.parents(o),n=i.attr("lay-filter"),s=t.parent(),c=t.siblings("."+d),y="string"==typeof s.attr("lay-unselect");"javascript:;"!==t.attr("href")&&"_blank"===t.attr("target")||y||c[0]||(i.find("."+l).removeClass(l),s.addClass(l)),i.hasClass(u)&&(c.removeClass(h),c[0]&&(s["none"===c.css("display")?"addClass":"removeClass"](r+"ed"),"all"===i.attr("lay-shrink")&&s.siblings().removeClass(r+"ed"))),layui.event.call(this,e,"nav("+n+")",t)},collapse:function(){var t=a(this),i=t.find(".layui-colla-icon"),l=t.siblings(".layui-colla-content"),s=t.parents(".layui-collapse").eq(0),o=s.attr("lay-filter"),r="none"===l.css("display");if("string"==typeof s.attr("lay-accordion")){var c=s.children(".layui-colla-item").children("."+n);c.siblings(".layui-colla-title").children(".layui-colla-icon").html(""),c.removeClass(n)}l[r?"addClass":"removeClass"](n),i.html(r?"":""),layui.event.call(this,e,"collapse("+o+")",{title:t,content:l,show:r})}};s.prototype.init=function(t,e){var l=function(){return e?'[lay-filter="'+e+'"]':""}(),s={tab:function(){f.tabAuto.call({})},nav:function(){var t=200,e={},s={},p={},b=function(l,o,r){var c=a(this),f=c.find("."+d);o.hasClass(u)?l.css({top:c.position().top,height:c.children("a").outerHeight(),opacity:1}):(f.addClass(h),l.css({left:c.position().left+parseFloat(c.css("marginLeft")),top:c.position().top+c.height()-l.height()}),e[r]=setTimeout(function(){l.css({width:c.width(),opacity:1})},i.ie&&i.ie<10?0:t),clearTimeout(p[r]),"block"===f.css("display")&&clearTimeout(s[r]),s[r]=setTimeout(function(){f.addClass(n),c.find("."+y).addClass(y+"d")},300))};a(o+l).each(function(i){var l=a(this),o=a('<span class="'+c+'"></span>'),h=l.find("."+r);l.find("."+c)[0]||(l.append(o),h.on("mouseenter",function(){b.call(this,o,l,i)}).on("mouseleave",function(){l.hasClass(u)||(clearTimeout(s[i]),s[i]=setTimeout(function(){l.find("."+d).removeClass(n),l.find("."+y).removeClass(y+"d")},300))}),l.on("mouseleave",function(){clearTimeout(e[i]),p[i]=setTimeout(function(){l.hasClass(u)?o.css({height:0,top:o.position().top+o.height()/2,opacity:0}):o.css({width:0,left:o.position().left+o.width()/2,opacity:0})},t)})),h.find("a").each(function(){var t=a(this),i=(t.parent(),t.siblings("."+d));i[0]&&!t.children("."+y)[0]&&t.append('<span class="'+y+'"></span>'),t.off("click",f.clickThis).on("click",f.clickThis)})})},breadcrumb:function(){var t=".layui-breadcrumb";a(t+l).each(function(){var t=a(this),i="lay-separator",e=t.attr(i)||"/",l=t.find("a");l.next("span["+i+"]")[0]||(l.each(function(t){t!==l.length-1&&a(this).after("<span "+i+">"+e+"</span>")}),t.css("visibility","visible"))})},progress:function(){var t="layui-progress";a("."+t+l).each(function(){var i=a(this),e=i.find(".layui-progress-bar"),l=e.attr("lay-percent");e.css("width",function(){return/^.+\/.+$/.test(l)?100*new Function("return "+l)()+"%":l}()),i.attr("lay-showPercent")&&setTimeout(function(){e.html('<span class="'+t+'-text">'+l+"</span>")},350)})},collapse:function(){var t="layui-collapse";a("."+t+l).each(function(){var t=a(this).find(".layui-colla-item");t.each(function(){var t=a(this),i=t.find(".layui-colla-title"),e=t.find(".layui-colla-content"),l="none"===e.css("display");i.find(".layui-colla-icon").remove(),i.append('<i class="layui-icon layui-colla-icon">'+(l?"":"")+"</i>"),i.off("click",f.collapse).on("click",f.collapse)})})}};return s[t]?s[t]():layui.each(s,function(t,a){a()})},s.prototype.render=s.prototype.init;var p=new s,b=a(document);p.render();var v=".layui-tab-title li";b.on("click",v,f.tabClick),b.on("click",f.hideTabMore),a(window).on("resize",f.tabAuto),t(e,p)});
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/flow.js b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/flow.js
new file mode 100644
index 0000000..0528c56
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/flow.js
@@ -0,0 +1,2 @@
+/** layui-v2.3.0 MIT License By https://www.layui.com */
+ ;layui.define("jquery",function(e){"use strict";var l=layui.$,o=function(e){},t='<i class="layui-anim layui-anim-rotate layui-anim-loop layui-icon "></i>';o.prototype.load=function(e){var o,i,n,r,a=this,c=0;e=e||{};var f=l(e.elem);if(f[0]){var m=l(e.scrollElem||document),u=e.mb||50,s=!("isAuto"in e)||e.isAuto,v=e.end||"娌℃湁鏇村浜�",y=e.scrollElem&&e.scrollElem!==document,d="<cite>鍔犺浇鏇村</cite>",h=l('<div class="layui-flow-more"><a href="javascript:;">'+d+"</a></div>");f.find(".layui-flow-more")[0]||f.append(h);var p=function(e,t){e=l(e),h.before(e),t=0==t||null,t?h.html(v):h.find("a").html(d),i=t,o=null,n&&n()},g=function(){o=!0,h.find("a").html(t),"function"==typeof e.done&&e.done(++c,p)};if(g(),h.find("a").on("click",function(){l(this);i||o||g()}),e.isLazyimg)var n=a.lazyimg({elem:e.elem+" img",scrollElem:e.scrollElem});return s?(m.on("scroll",function(){var e=l(this),t=e.scrollTop();r&&clearTimeout(r),i||(r=setTimeout(function(){var i=y?e.height():l(window).height(),n=y?e.prop("scrollHeight"):document.documentElement.scrollHeight;n-t-i<=u&&(o||g())},100))}),a):a}},o.prototype.lazyimg=function(e){var o,t=this,i=0;e=e||{};var n=l(e.scrollElem||document),r=e.elem||"img",a=e.scrollElem&&e.scrollElem!==document,c=function(e,l){var o=n.scrollTop(),r=o+l,c=a?function(){return e.offset().top-n.offset().top+o}():e.offset().top;if(c>=o&&c<=r&&!e.attr("src")){var m=e.attr("lay-src");layui.img(m,function(){var l=t.lazyimg.elem.eq(i);e.attr("src",m).removeAttr("lay-src"),l[0]&&f(l),i++})}},f=function(e,o){var f=a?(o||n).height():l(window).height(),m=n.scrollTop(),u=m+f;if(t.lazyimg.elem=l(r),e)c(e,f);else for(var s=0;s<t.lazyimg.elem.length;s++){var v=t.lazyimg.elem.eq(s),y=a?function(){return v.offset().top-n.offset().top+m}():v.offset().top;if(c(v,f),i=s,y>u)break}};if(f(),!o){var m;n.on("scroll",function(){var e=l(this);m&&clearTimeout(m),m=setTimeout(function(){f(null,e)},50)}),o=!0}return f},e("flow",new o)});
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/form.js b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/form.js
new file mode 100644
index 0000000..2d9373f
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/form.js
@@ -0,0 +1,2 @@
+/** layui-v2.3.0 MIT License By https://www.layui.com */
+ ;layui.define("layer",function(e){"use strict";var i=layui.$,t=layui.layer,a=layui.hint(),n=layui.device(),l="form",r=".layui-form",s="layui-this",o="layui-hide",c="layui-disabled",u=function(){this.config={verify:{required:[/[\S]+/,"蹇呭~椤逛笉鑳戒负绌�"],phone:[/^1\d{10}$/,"璇疯緭鍏ユ纭殑鎵嬫満鍙�"],email:[/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/,"閭鏍煎紡涓嶆纭�"],url:[/(^#)|(^http(s*):\/\/[^\s]+\.[^\s]+)/,"閾炬帴鏍煎紡涓嶆纭�"],number:function(e){if(!e||isNaN(e))return"鍙兘濉啓鏁板瓧"},date:[/^(\d{4})[-\/](\d{1}|0\d{1}|1[0-2])([-\/](\d{1}|0\d{1}|[1-2][0-9]|3[0-1]))*$/,"鏃ユ湡鏍煎紡涓嶆纭�"],identity:[/(^\d{15}$)|(^\d{17}(x|X|\d)$)/,"璇疯緭鍏ユ纭殑韬唤璇佸彿"]}}};u.prototype.set=function(e){var t=this;return i.extend(!0,t.config,e),t},u.prototype.verify=function(e){var t=this;return i.extend(!0,t.config.verify,e),t},u.prototype.on=function(e,i){return layui.onevent.call(this,l,e,i)},u.prototype.val=function(e,t){var a=i(r+'[lay-filter="'+e+'"]');a.each(function(e,a){var n=i(this);layui.each(t,function(e,i){var t,a=n.find('[name="'+e+'"]');a[0]&&(t=a[0].type,"checkbox"===t?a[0].checked=i:"radio"===t?a.each(function(){this.value===i&&(this.checked=!0)}):a.val(i))})}),f.render(null,e)},u.prototype.render=function(e,t){var n=this,u=i(r+function(){return t?'[lay-filter="'+t+'"]':""}()),d={select:function(){var e,t="璇烽�夋嫨",a="layui-form-select",n="layui-select-title",r="layui-select-none",d="",f=u.find("select"),v=function(t,l){i(t.target).parent().hasClass(n)&&!l||(i("."+a).removeClass(a+"ed "+a+"up"),e&&d&&e.val(d)),e=null},y=function(t,u,f){var y,p=i(this),m=t.find("."+n),k=m.find("input"),g=t.find("dl"),x=g.children("dd"),b=this.selectedIndex;if(!u){var C=function(){var e=t.offset().top+t.outerHeight()+5-h.scrollTop(),i=g.outerHeight();b=p[0].selectedIndex,t.addClass(a+"ed"),x.removeClass(o),y=null,x.eq(b).addClass(s).siblings().removeClass(s),e+i>h.height()&&e>=i&&t.addClass(a+"up")},w=function(e){t.removeClass(a+"ed "+a+"up"),k.blur(),y=null,e||$(k.val(),function(e){e&&(d=g.find("."+s).html(),k&&k.val(d))})};m.on("click",function(e){t.hasClass(a+"ed")?w():(v(e,!0),C()),g.find("."+r).remove()}),m.find(".layui-edge").on("click",function(){k.focus()}),k.on("keyup",function(e){var i=e.keyCode;9===i&&C()}).on("keydown",function(e){var i=e.keyCode;9===i&&w();var t=function(i,a){var n,l;if(e.preventDefault(),a=function(){return a&&a[0]?a:y&&y[0]?y:x.eq(b)}(),l=a[i](),n=a[i]("dd"),l[0]){if(y=a[i](),!n[0]||n.hasClass(c))return t(i,y);n.addClass(s).siblings().removeClass(s);var r=g.children("dd.layui-this"),o=r.position().top,u=g.height(),d=r.height();o>u&&g.scrollTop(o+g.scrollTop()-u+d-5),o<0&&g.scrollTop(o+g.scrollTop())}};38===i&&t("prev"),40===i&&t("next"),13===i&&(e.preventDefault(),g.children("dd."+s).trigger("click"))});var $=function(e,t,a){var n=0;layui.each(x,function(){var t=i(this),l=t.text(),r=l.indexOf(e)===-1;(""===e||"blur"===a?e!==l:r)&&n++,"keyup"===a&&t[r?"addClass":"removeClass"](o)});var l=n===x.length;return t(l),l},T=function(e){var i=this.value,t=e.keyCode;return 9!==t&&13!==t&&37!==t&&38!==t&&39!==t&&40!==t&&($(i,function(e){e?g.find("."+r)[0]||g.append('<p class="'+r+'">鏃犲尮閰嶉」</p>'):g.find("."+r).remove()},"keyup"),void(""===i&&g.find("."+r).remove()))};f&&k.on("keyup",T).on("blur",function(t){var a=p[0].selectedIndex;e=k,d=i(p[0].options[a]).html(),setTimeout(function(){$(k.val(),function(e){d||k.val("")},"blur")},200)}),x.on("click",function(){var e=i(this),a=e.attr("lay-value"),n=p.attr("lay-filter");return!e.hasClass(c)&&(e.hasClass("layui-select-tips")?k.val(""):(k.val(e.text()),e.addClass(s)),e.siblings().removeClass(s),p.val(a).removeClass("layui-form-danger"),layui.event.call(this,l,"select("+n+")",{elem:p[0],value:a,othis:t}),w(!0),!1)}),t.find("dl>dt").on("click",function(e){return!1}),i(document).off("click",v).on("click",v)}};f.each(function(e,l){var r=i(this),o=r.next("."+a),u=this.disabled,d=l.value,f=i(l.options[l.selectedIndex]),v=l.options[0];if("string"==typeof r.attr("lay-ignore"))return r.show();var h="string"==typeof r.attr("lay-search"),p=v?v.value?t:v.innerHTML||t:t,m=i(['<div class="'+(h?"":"layui-unselect ")+a,(u?" layui-select-disabled":"")+'">','<div class="'+n+'">','<input type="text" placeholder="'+p+'" '+('value="'+(d?f.html():"")+'"')+(h?"":" readonly")+' class="layui-input'+(h?"":" layui-unselect")+(u?" "+c:"")+'">','<i class="layui-edge"></i></div>','<dl class="layui-anim layui-anim-upbit'+(r.find("optgroup")[0]?" layui-select-group":"")+'">',function(e){var i=[];return layui.each(e,function(e,a){0!==e||a.value?"optgroup"===a.tagName.toLowerCase()?i.push("<dt>"+a.label+"</dt>"):i.push('<dd lay-value="'+a.value+'" class="'+(d===a.value?s:"")+(a.disabled?" "+c:"")+'">'+a.innerHTML+"</dd>"):i.push('<dd lay-value="" class="layui-select-tips">'+(a.innerHTML||t)+"</dd>")}),0===i.length&&i.push('<dd lay-value="" class="'+c+'">娌℃湁閫夐」</dd>'),i.join("")}(r.find("*"))+"</dl>","</div>"].join(""));o[0]&&o.remove(),r.after(m),y.call(this,m,u,h)})},checkbox:function(){var e={checkbox:["layui-form-checkbox","layui-form-checked","checkbox"],_switch:["layui-form-switch","layui-form-onswitch","switch"]},t=u.find("input[type=checkbox]"),a=function(e,t){var a=i(this);e.on("click",function(){var i=a.attr("lay-filter"),n=(a.attr("lay-text")||"").split("|");a[0].disabled||(a[0].checked?(a[0].checked=!1,e.removeClass(t[1]).find("em").text(n[1])):(a[0].checked=!0,e.addClass(t[1]).find("em").text(n[0])),layui.event.call(a[0],l,t[2]+"("+i+")",{elem:a[0],value:a[0].value,othis:e}))})};t.each(function(t,n){var l=i(this),r=l.attr("lay-skin"),s=(l.attr("lay-text")||"").split("|"),o=this.disabled;"switch"===r&&(r="_"+r);var u=e[r]||e.checkbox;if("string"==typeof l.attr("lay-ignore"))return l.show();var d=l.next("."+u[0]),f=i(['<div class="layui-unselect '+u[0],n.checked?" "+u[1]:"",o?" layui-checkbox-disbaled "+c:"",'"',r?' lay-skin="'+r+'"':"",">",function(){var e=n.title.replace(/\s/g,""),i={checkbox:[e?"<span>"+n.title+"</span>":"",'<i class="layui-icon layui-icon-ok"></i>'].join(""),_switch:"<em>"+((n.checked?s[0]:s[1])||"")+"</em><i></i>"};return i[r]||i.checkbox}(),"</div>"].join(""));d[0]&&d.remove(),l.after(f),a.call(this,f,u)})},radio:function(){var e="layui-form-radio",t=["",""],a=u.find("input[type=radio]"),n=function(a){var n=i(this),s="layui-anim-scaleSpring";a.on("click",function(){var o=n[0].name,c=n.parents(r),u=n.attr("lay-filter"),d=c.find("input[name="+o.replace(/(\.|#|\[|\])/g,"\\$1")+"]");n[0].disabled||(layui.each(d,function(){var a=i(this).next("."+e);this.checked=!1,a.removeClass(e+"ed"),a.find(".layui-icon").removeClass(s).html(t[1])}),n[0].checked=!0,a.addClass(e+"ed"),a.find(".layui-icon").addClass(s).html(t[0]),layui.event.call(n[0],l,"radio("+u+")",{elem:n[0],value:n[0].value,othis:a}))})};a.each(function(a,l){var r=i(this),s=r.next("."+e),o=this.disabled;if("string"==typeof r.attr("lay-ignore"))return r.show();s[0]&&s.remove();var u=i(['<div class="layui-unselect '+e,l.checked?" "+e+"ed":"",(o?" layui-radio-disbaled "+c:"")+'">','<i class="layui-anim layui-icon">'+t[l.checked?0:1]+"</i>","<div>"+function(){var e=l.title||"";return"string"==typeof r.next().attr("lay-radio")&&(e=r.next().html(),r.next().remove()),e}()+"</div>","</div>"].join(""));r.after(u),n.call(this,u)})}};return e?d[e]?d[e]():a.error("涓嶆敮鎸佺殑"+e+"琛ㄥ崟娓叉煋"):layui.each(d,function(e,i){i()}),n};var d=function(){var e=i(this),a=f.config.verify,s=null,o="layui-form-danger",c={},u=e.parents(r),d=u.find("*[lay-verify]"),v=e.parents("form")[0],h=u.find("input,select,textarea"),y=e.attr("lay-filter");if(layui.each(d,function(e,l){var r=i(this),c=r.attr("lay-verify").split("|"),u=r.attr("lay-verType"),d=r.val();if(r.removeClass(o),layui.each(c,function(e,i){var c,f="",v="function"==typeof a[i];if(a[i]){var c=v?f=a[i](d,l):!a[i][0].test(d);if(f=f||a[i][1],c)return"tips"===u?t.tips(f,function(){return"string"==typeof r.attr("lay-ignore")||"select"!==l.tagName.toLowerCase()&&!/^checkbox|radio$/.test(l.type)?r:r.next()}(),{tips:1}):"alert"===u?t.alert(f,{title:"鎻愮ず",shadeClose:!0}):t.msg(f,{icon:5,shift:6}),n.android||n.ios||l.focus(),r.addClass(o),s=!0}}),s)return s}),s)return!1;var p={};return layui.each(h,function(e,i){if(i.name=(i.name||"").replace(/^\s*|\s*&/,""),i.name){if(/^.*\[\]$/.test(i.name)){var t=i.name.match(/^(.*)\[\]$/g)[0];p[t]=0|p[t],i.name=i.name.replace(/^(.*)\[\]$/,"$1["+p[t]++ +"]")}/^checkbox|radio$/.test(i.type)&&!i.checked||(c[i.name]=i.value)}}),layui.event.call(this,l,"submit("+y+")",{elem:this,form:v,field:c})},f=new u,v=i(document),h=i(window);f.render(),v.on("reset",r,function(){var e=i(this).attr("lay-filter");setTimeout(function(){f.render(null,e)},50)}),v.on("submit",r,d).on("click","*[lay-submit]",d),e(l,f)});
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/jquery.js b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/jquery.js
new file mode 100644
index 0000000..f6d58cd
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/jquery.js
@@ -0,0 +1,5 @@
+/** layui-v2.3.0 MIT License By https://www.layui.com */
+ ;!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){function n(e){var t=!!e&&"length"in e&&e.length,n=pe.type(e);return"function"!==n&&!pe.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function r(e,t,n){if(pe.isFunction(t))return pe.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return pe.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(Ce.test(t))return pe.filter(t,e,n);t=pe.filter(t,e)}return pe.grep(e,function(e){return pe.inArray(e,t)>-1!==n})}function i(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function o(e){var t={};return pe.each(e.match(De)||[],function(e,n){t[n]=!0}),t}function a(){re.addEventListener?(re.removeEventListener("DOMContentLoaded",s),e.removeEventListener("load",s)):(re.detachEvent("onreadystatechange",s),e.detachEvent("onload",s))}function s(){(re.addEventListener||"load"===e.event.type||"complete"===re.readyState)&&(a(),pe.ready())}function u(e,t,n){if(void 0===n&&1===e.nodeType){var r="data-"+t.replace(_e,"-$1").toLowerCase();if(n=e.getAttribute(r),"string"==typeof n){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:qe.test(n)?pe.parseJSON(n):n)}catch(i){}pe.data(e,t,n)}else n=void 0}return n}function l(e){var t;for(t in e)if(("data"!==t||!pe.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function c(e,t,n,r){if(He(e)){var i,o,a=pe.expando,s=e.nodeType,u=s?pe.cache:e,l=s?e[a]:e[a]&&a;if(l&&u[l]&&(r||u[l].data)||void 0!==n||"string"!=typeof t)return l||(l=s?e[a]=ne.pop()||pe.guid++:a),u[l]||(u[l]=s?{}:{toJSON:pe.noop}),"object"!=typeof t&&"function"!=typeof t||(r?u[l]=pe.extend(u[l],t):u[l].data=pe.extend(u[l].data,t)),o=u[l],r||(o.data||(o.data={}),o=o.data),void 0!==n&&(o[pe.camelCase(t)]=n),"string"==typeof t?(i=o[t],null==i&&(i=o[pe.camelCase(t)])):i=o,i}}function f(e,t,n){if(He(e)){var r,i,o=e.nodeType,a=o?pe.cache:e,s=o?e[pe.expando]:pe.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){pe.isArray(t)?t=t.concat(pe.map(t,pe.camelCase)):t in r?t=[t]:(t=pe.camelCase(t),t=t in r?[t]:t.split(" ")),i=t.length;for(;i--;)delete r[t[i]];if(n?!l(r):!pe.isEmptyObject(r))return}(n||(delete a[s].data,l(a[s])))&&(o?pe.cleanData([e],!0):fe.deleteExpando||a!=a.window?delete a[s]:a[s]=void 0)}}}function d(e,t,n,r){var i,o=1,a=20,s=r?function(){return r.cur()}:function(){return pe.css(e,t,"")},u=s(),l=n&&n[3]||(pe.cssNumber[t]?"":"px"),c=(pe.cssNumber[t]||"px"!==l&&+u)&&Me.exec(pe.css(e,t));if(c&&c[3]!==l){l=l||c[3],n=n||[],c=+u||1;do o=o||".5",c/=o,pe.style(e,t,c+l);while(o!==(o=s()/u)&&1!==o&&--a)}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}function p(e){var t=ze.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function h(e,t){var n,r,i=0,o="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],n=e.childNodes||e;null!=(r=n[i]);i++)!t||pe.nodeName(r,t)?o.push(r):pe.merge(o,h(r,t));return void 0===t||t&&pe.nodeName(e,t)?pe.merge([e],o):o}function g(e,t){for(var n,r=0;null!=(n=e[r]);r++)pe._data(n,"globalEval",!t||pe._data(t[r],"globalEval"))}function m(e){Be.test(e.type)&&(e.defaultChecked=e.checked)}function y(e,t,n,r,i){for(var o,a,s,u,l,c,f,d=e.length,y=p(t),v=[],x=0;x<d;x++)if(a=e[x],a||0===a)if("object"===pe.type(a))pe.merge(v,a.nodeType?[a]:a);else if(Ue.test(a)){for(u=u||y.appendChild(t.createElement("div")),l=(We.exec(a)||["",""])[1].toLowerCase(),f=Xe[l]||Xe._default,u.innerHTML=f[1]+pe.htmlPrefilter(a)+f[2],o=f[0];o--;)u=u.lastChild;if(!fe.leadingWhitespace&&$e.test(a)&&v.push(t.createTextNode($e.exec(a)[0])),!fe.tbody)for(a="table"!==l||Ve.test(a)?"<table>"!==f[1]||Ve.test(a)?0:u:u.firstChild,o=a&&a.childNodes.length;o--;)pe.nodeName(c=a.childNodes[o],"tbody")&&!c.childNodes.length&&a.removeChild(c);for(pe.merge(v,u.childNodes),u.textContent="";u.firstChild;)u.removeChild(u.firstChild);u=y.lastChild}else v.push(t.createTextNode(a));for(u&&y.removeChild(u),fe.appendChecked||pe.grep(h(v,"input"),m),x=0;a=v[x++];)if(r&&pe.inArray(a,r)>-1)i&&i.push(a);else if(s=pe.contains(a.ownerDocument,a),u=h(y.appendChild(a),"script"),s&&g(u),n)for(o=0;a=u[o++];)Ie.test(a.type||"")&&n.push(a);return u=null,y}function v(){return!0}function x(){return!1}function b(){try{return re.activeElement}catch(e){}}function w(e,t,n,r,i,o){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)w(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),i===!1)i=x;else if(!i)return e;return 1===o&&(a=i,i=function(e){return pe().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=pe.guid++)),e.each(function(){pe.event.add(this,t,i,r,n)})}function T(e,t){return pe.nodeName(e,"table")&&pe.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function C(e){return e.type=(null!==pe.find.attr(e,"type"))+"/"+e.type,e}function E(e){var t=it.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function N(e,t){if(1===t.nodeType&&pe.hasData(e)){var n,r,i,o=pe._data(e),a=pe._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;r<i;r++)pe.event.add(t,n,s[n][r])}a.data&&(a.data=pe.extend({},a.data))}}function k(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!fe.noCloneEvent&&t[pe.expando]){i=pe._data(t);for(r in i.events)pe.removeEvent(t,r,i.handle);t.removeAttribute(pe.expando)}"script"===n&&t.text!==e.text?(C(t).text=e.text,E(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),fe.html5Clone&&e.innerHTML&&!pe.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Be.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}}function S(e,t,n,r){t=oe.apply([],t);var i,o,a,s,u,l,c=0,f=e.length,d=f-1,p=t[0],g=pe.isFunction(p);if(g||f>1&&"string"==typeof p&&!fe.checkClone&&rt.test(p))return e.each(function(i){var o=e.eq(i);g&&(t[0]=p.call(this,i,o.html())),S(o,t,n,r)});if(f&&(l=y(t,e[0].ownerDocument,!1,e,r),i=l.firstChild,1===l.childNodes.length&&(l=i),i||r)){for(s=pe.map(h(l,"script"),C),a=s.length;c<f;c++)o=l,c!==d&&(o=pe.clone(o,!0,!0),a&&pe.merge(s,h(o,"script"))),n.call(e[c],o,c);if(a)for(u=s[s.length-1].ownerDocument,pe.map(s,E),c=0;c<a;c++)o=s[c],Ie.test(o.type||"")&&!pe._data(o,"globalEval")&&pe.contains(u,o)&&(o.src?pe._evalUrl&&pe._evalUrl(o.src):pe.globalEval((o.text||o.textContent||o.innerHTML||"").replace(ot,"")));l=i=null}return e}function A(e,t,n){for(var r,i=t?pe.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||pe.cleanData(h(r)),r.parentNode&&(n&&pe.contains(r.ownerDocument,r)&&g(h(r,"script")),r.parentNode.removeChild(r));return e}function D(e,t){var n=pe(t.createElement(e)).appendTo(t.body),r=pe.css(n[0],"display");return n.detach(),r}function j(e){var t=re,n=lt[e];return n||(n=D(e,t),"none"!==n&&n||(ut=(ut||pe("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement),t=(ut[0].contentWindow||ut[0].contentDocument).document,t.write(),t.close(),n=D(e,t),ut.detach()),lt[e]=n),n}function L(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function H(e){if(e in Et)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=Ct.length;n--;)if(e=Ct[n]+t,e in Et)return e}function q(e,t){for(var n,r,i,o=[],a=0,s=e.length;a<s;a++)r=e[a],r.style&&(o[a]=pe._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&Re(r)&&(o[a]=pe._data(r,"olddisplay",j(r.nodeName)))):(i=Re(r),(n&&"none"!==n||!i)&&pe._data(r,"olddisplay",i?n:pe.css(r,"display"))));for(a=0;a<s;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}function _(e,t,n){var r=bt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function F(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;o<4;o+=2)"margin"===n&&(a+=pe.css(e,n+Oe[o],!0,i)),r?("content"===n&&(a-=pe.css(e,"padding"+Oe[o],!0,i)),"margin"!==n&&(a-=pe.css(e,"border"+Oe[o]+"Width",!0,i))):(a+=pe.css(e,"padding"+Oe[o],!0,i),"padding"!==n&&(a+=pe.css(e,"border"+Oe[o]+"Width",!0,i)));return a}function M(t,n,r){var i=!0,o="width"===n?t.offsetWidth:t.offsetHeight,a=ht(t),s=fe.boxSizing&&"border-box"===pe.css(t,"boxSizing",!1,a);if(re.msFullscreenElement&&e.top!==e&&t.getClientRects().length&&(o=Math.round(100*t.getBoundingClientRect()[n])),o<=0||null==o){if(o=gt(t,n,a),(o<0||null==o)&&(o=t.style[n]),ft.test(o))return o;i=s&&(fe.boxSizingReliable()||o===t.style[n]),o=parseFloat(o)||0}return o+F(t,n,r||(s?"border":"content"),i,a)+"px"}function O(e,t,n,r,i){return new O.prototype.init(e,t,n,r,i)}function R(){return e.setTimeout(function(){Nt=void 0}),Nt=pe.now()}function P(e,t){var n,r={height:e},i=0;for(t=t?1:0;i<4;i+=2-t)n=Oe[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function B(e,t,n){for(var r,i=($.tweeners[t]||[]).concat($.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function W(e,t,n){var r,i,o,a,s,u,l,c,f=this,d={},p=e.style,h=e.nodeType&&Re(e),g=pe._data(e,"fxshow");n.queue||(s=pe._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,u=s.empty.fire,s.empty.fire=function(){s.unqueued||u()}),s.unqueued++,f.always(function(){f.always(function(){s.unqueued--,pe.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],l=pe.css(e,"display"),c="none"===l?pe._data(e,"olddisplay")||j(e.nodeName):l,"inline"===c&&"none"===pe.css(e,"float")&&(fe.inlineBlockNeedsLayout&&"inline"!==j(e.nodeName)?p.zoom=1:p.display="inline-block")),n.overflow&&(p.overflow="hidden",fe.shrinkWrapBlocks()||f.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t)if(i=t[r],St.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(h?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;h=!0}d[r]=g&&g[r]||pe.style(e,r)}else l=void 0;if(pe.isEmptyObject(d))"inline"===("none"===l?j(e.nodeName):l)&&(p.display=l);else{g?"hidden"in g&&(h=g.hidden):g=pe._data(e,"fxshow",{}),o&&(g.hidden=!h),h?pe(e).show():f.done(function(){pe(e).hide()}),f.done(function(){var t;pe._removeData(e,"fxshow");for(t in d)pe.style(e,t,d[t])});for(r in d)a=B(h?g[r]:0,r,f),r in g||(g[r]=a.start,h&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}}function I(e,t){var n,r,i,o,a;for(n in e)if(r=pe.camelCase(n),i=t[r],o=e[n],pe.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),a=pe.cssHooks[r],a&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}function $(e,t,n){var r,i,o=0,a=$.prefilters.length,s=pe.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=Nt||R(),n=Math.max(0,l.startTime+l.duration-t),r=n/l.duration||0,o=1-r,a=0,u=l.tweens.length;a<u;a++)l.tweens[a].run(o);return s.notifyWith(e,[l,o,n]),o<1&&u?n:(s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:pe.extend({},t),opts:pe.extend(!0,{specialEasing:{},easing:pe.easing._default},n),originalProperties:t,originalOptions:n,startTime:Nt||R(),duration:n.duration,tweens:[],createTween:function(t,n){var r=pe.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(I(c,l.opts.specialEasing);o<a;o++)if(r=$.prefilters[o].call(l,e,c,l.opts))return pe.isFunction(r.stop)&&(pe._queueHooks(l.elem,l.opts.queue).stop=pe.proxy(r.stop,r)),r;return pe.map(c,B,l),pe.isFunction(l.opts.start)&&l.opts.start.call(e,l),pe.fx.timer(pe.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function z(e){return pe.attr(e,"class")||""}function X(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(De)||[];if(pe.isFunction(n))for(;r=o[i++];)"+"===r.charAt(0)?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function U(e,t,n,r){function i(s){var u;return o[s]=!0,pe.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||a||o[l]?a?!(u=l):void 0:(t.dataTypes.unshift(l),i(l),!1)}),u}var o={},a=e===Qt;return i(t.dataTypes[0])||!o["*"]&&i("*")}function V(e,t){var n,r,i=pe.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((i[r]?e:n||(n={}))[r]=t[r]);return n&&pe.extend(!0,e,n),e}function Y(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(a in s)if(s[a]&&s[a].test(i)){u.unshift(a);break}if(u[0]in n)o=u[0];else{for(a in n){if(!u[0]||e.converters[a+" "+u[0]]){o=a;break}r||(r=a)}o=o||r}if(o)return o!==u[0]&&u.unshift(o),n[o]}function J(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(a=l[u+" "+o]||l["* "+o],!a)for(i in l)if(s=i.split(" "),s[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){a===!0?a=l[i]:l[i]!==!0&&(o=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(f){return{state:"parsererror",error:a?f:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}function G(e){return e.style&&e.style.display||pe.css(e,"display")}function K(e){for(;e&&1===e.nodeType;){if("none"===G(e)||"hidden"===e.type)return!0;e=e.parentNode}return!1}function Q(e,t,n,r){var i;if(pe.isArray(t))pe.each(t,function(t,i){n||rn.test(e)?r(e,i):Q(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==pe.type(t))r(e,t);else for(i in t)Q(e+"["+i+"]",t[i],n,r)}function Z(){try{return new e.XMLHttpRequest}catch(t){}}function ee(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function te(e){return pe.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}var ne=[],re=e.document,ie=ne.slice,oe=ne.concat,ae=ne.push,se=ne.indexOf,ue={},le=ue.toString,ce=ue.hasOwnProperty,fe={},de="1.12.3",pe=function(e,t){return new pe.fn.init(e,t)},he=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ge=/^-ms-/,me=/-([\da-z])/gi,ye=function(e,t){return t.toUpperCase()};pe.fn=pe.prototype={jquery:de,constructor:pe,selector:"",length:0,toArray:function(){return ie.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:ie.call(this)},pushStack:function(e){var t=pe.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return pe.each(this,e)},map:function(e){return this.pushStack(pe.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(ie.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},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:ae,sort:ne.sort,splice:ne.splice},pe.extend=pe.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||pe.isFunction(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(i=arguments[s]))for(r in i)e=a[r],n=i[r],a!==n&&(l&&n&&(pe.isPlainObject(n)||(t=pe.isArray(n)))?(t?(t=!1,o=e&&pe.isArray(e)?e:[]):o=e&&pe.isPlainObject(e)?e:{},a[r]=pe.extend(l,o,n)):void 0!==n&&(a[r]=n));return a},pe.extend({expando:"jQuery"+(de+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===pe.type(e)},isArray:Array.isArray||function(e){return"array"===pe.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){var t=e&&e.toString();return!pe.isArray(e)&&t-parseFloat(t)+1>=0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||"object"!==pe.type(e)||e.nodeType||pe.isWindow(e))return!1;try{if(e.constructor&&!ce.call(e,"constructor")&&!ce.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}if(!fe.ownFirst)for(t in e)return ce.call(e,t);for(t in e);return void 0===t||ce.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?ue[le.call(e)]||"object":typeof e},globalEval:function(t){t&&pe.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(ge,"ms-").replace(me,ye)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var r,i=0;if(n(e))for(r=e.length;i<r&&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},trim:function(e){return null==e?"":(e+"").replace(he,"")},makeArray:function(e,t){var r=t||[];return null!=e&&(n(Object(e))?pe.merge(r,"string"==typeof e?[e]:e):ae.call(r,e)),r},inArray:function(e,t,n){var r;if(t){if(se)return se.call(t,e,n);for(r=t.length,n=n?n<0?Math.max(0,r+n):n:0;n<r;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;)e[i++]=t[r++];if(n!==n)for(;void 0!==t[r];)e[i++]=t[r++];return e.length=i,e},grep:function(e,t,n){for(var r,i=[],o=0,a=e.length,s=!n;o<a;o++)r=!t(e[o],o),r!==s&&i.push(e[o]);return i},map:function(e,t,r){var i,o,a=0,s=[];if(n(e))for(i=e.length;a<i;a++)o=t(e[a],a,r),null!=o&&s.push(o);else for(a in e)o=t(e[a],a,r),null!=o&&s.push(o);return oe.apply([],s)},guid:1,proxy:function(e,t){var n,r,i;if("string"==typeof t&&(i=e[t],t=e,e=i),pe.isFunction(e))return n=ie.call(arguments,2),r=function(){return e.apply(t||this,n.concat(ie.call(arguments)))},r.guid=e.guid=e.guid||pe.guid++,r},now:function(){return+new Date},support:fe}),"function"==typeof Symbol&&(pe.fn[Symbol.iterator]=ne[Symbol.iterator]),pe.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){ue["[object "+t+"]"]=t.toLowerCase()});var ve=function(e){function t(e,t,n,r){var i,o,a,s,u,l,f,p,h=t&&t.ownerDocument,g=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==g&&9!==g&&11!==g)return n;if(!r&&((t?t.ownerDocument||t:B)!==H&&L(t),t=t||H,_)){if(11!==g&&(l=ye.exec(e)))if(i=l[1]){if(9===g){if(!(a=t.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(h&&(a=h.getElementById(i))&&R(t,a)&&a.id===i)return n.push(a),n}else{if(l[2])return Q.apply(n,t.getElementsByTagName(e)),n;if((i=l[3])&&w.getElementsByClassName&&t.getElementsByClassName)return Q.apply(n,t.getElementsByClassName(i)),n}if(w.qsa&&!X[e+" "]&&(!F||!F.test(e))){if(1!==g)h=t,p=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(xe,"\\$&"):t.setAttribute("id",s=P),f=N(e),o=f.length,u=de.test(s)?"#"+s:"[id='"+s+"']";o--;)f[o]=u+" "+d(f[o]);p=f.join(","),h=ve.test(e)&&c(t.parentNode)||t}if(p)try{return Q.apply(n,h.querySelectorAll(p)),n}catch(m){}finally{s===P&&t.removeAttribute("id")}}}return S(e.replace(se,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>T.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[P]=!0,e}function i(e){var t=H.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),r=n.length;r--;)T.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||V)-(~e.sourceIndex||V);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function u(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function l(e){return r(function(t){return t=+t,r(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function c(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function f(){}function d(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function p(e,t,n){var r=t.dir,i=n&&"parentNode"===r,o=I++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||i)return e(t,n,o)}:function(t,n,a){var s,u,l,c=[W,o];if(a){for(;t=t[r];)if((1===t.nodeType||i)&&e(t,n,a))return!0}else for(;t=t[r];)if(1===t.nodeType||i){if(l=t[P]||(t[P]={}),u=l[t.uniqueID]||(l[t.uniqueID]={}),(s=u[r])&&s[0]===W&&s[1]===o)return c[2]=s[2];if(u[r]=c,c[2]=e(t,n,a))return!0}}}function h(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function g(e,n,r){for(var i=0,o=n.length;i<o;i++)t(e,n[i],r);return r}function m(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function y(e,t,n,i,o,a){return i&&!i[P]&&(i=y(i)),o&&!o[P]&&(o=y(o,a)),r(function(r,a,s,u){var l,c,f,d=[],p=[],h=a.length,y=r||g(t||"*",s.nodeType?[s]:s,[]),v=!e||!r&&t?y:m(y,d,e,s,u),x=n?o||(r?e:h||i)?[]:a:v;if(n&&n(v,x,s,u),i)for(l=m(x,p),i(l,[],s,u),c=l.length;c--;)(f=l[c])&&(x[p[c]]=!(v[p[c]]=f));if(r){if(o||e){if(o){for(l=[],c=x.length;c--;)(f=x[c])&&l.push(v[c]=f);o(null,x=[],l,u)}for(c=x.length;c--;)(f=x[c])&&(l=o?ee(r,f):d[c])>-1&&(r[l]=!(a[l]=f))}}else x=m(x===a?x.splice(h,x.length):x),o?o(null,a,x,u):Q.apply(a,x)})}function v(e){for(var t,n,r,i=e.length,o=T.relative[e[0].type],a=o||T.relative[" "],s=o?1:0,u=p(function(e){return e===t},a,!0),l=p(function(e){return ee(t,e)>-1},a,!0),c=[function(e,n,r){var i=!o&&(r||n!==A)||((t=n).nodeType?u(e,n,r):l(e,n,r));return t=null,i}];s<i;s++)if(n=T.relative[e[s].type])c=[p(h(c),n)];else{if(n=T.filter[e[s].type].apply(null,e[s].matches),n[P]){for(r=++s;r<i&&!T.relative[e[r].type];r++);return y(s>1&&h(c),s>1&&d(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(se,"$1"),n,s<r&&v(e.slice(s,r)),r<i&&v(e=e.slice(r)),r<i&&d(e))}c.push(n)}return h(c)}function x(e,n){var i=n.length>0,o=e.length>0,a=function(r,a,s,u,l){var c,f,d,p=0,h="0",g=r&&[],y=[],v=A,x=r||o&&T.find.TAG("*",l),b=W+=null==v?1:Math.random()||.1,w=x.length;for(l&&(A=a===H||a||l);h!==w&&null!=(c=x[h]);h++){if(o&&c){for(f=0,a||c.ownerDocument===H||(L(c),s=!_);d=e[f++];)if(d(c,a||H,s)){u.push(c);break}l&&(W=b)}i&&((c=!d&&c)&&p--,r&&g.push(c))}if(p+=h,i&&h!==p){for(f=0;d=n[f++];)d(g,y,a,s);if(r){if(p>0)for(;h--;)g[h]||y[h]||(y[h]=G.call(u));y=m(y)}Q.apply(u,y),l&&!r&&y.length>0&&p+n.length>1&&t.uniqueSort(u)}return l&&(W=b,A=v),g};return i?r(a):a}var b,w,T,C,E,N,k,S,A,D,j,L,H,q,_,F,M,O,R,P="sizzle"+1*new Date,B=e.document,W=0,I=0,$=n(),z=n(),X=n(),U=function(e,t){return e===t&&(j=!0),0},V=1<<31,Y={}.hasOwnProperty,J=[],G=J.pop,K=J.push,Q=J.push,Z=J.slice,ee=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",re="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ie="\\["+ne+"*("+re+")(?:"+ne+"*([*^$|!~]?=)"+ne+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+re+"))|)"+ne+"*\\]",oe=":("+re+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ie+")*)|.*)\\)|)",ae=new RegExp(ne+"+","g"),se=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),ue=new RegExp("^"+ne+"*,"+ne+"*"),le=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),ce=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),fe=new RegExp(oe),de=new RegExp("^"+re+"$"),pe={ID:new RegExp("^#("+re+")"),CLASS:new RegExp("^\\.("+re+")"),TAG:new RegExp("^("+re+"|[*])"),ATTR:new RegExp("^"+ie),PSEUDO:new RegExp("^"+oe),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},he=/^(?:input|select|textarea|button)$/i,ge=/^h\d$/i,me=/^[^{]+\{\s*\[native \w/,ye=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ve=/[+~]/,xe=/'|\\/g,be=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),we=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},Te=function(){L()};try{Q.apply(J=Z.call(B.childNodes),B.childNodes),J[B.childNodes.length].nodeType}catch(Ce){Q={apply:J.length?function(e,t){K.apply(e,Z.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}w=t.support={},E=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},L=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:B;return r!==H&&9===r.nodeType&&r.documentElement?(H=r,q=H.documentElement,_=!E(H),(n=H.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Te,!1):n.attachEvent&&n.attachEvent("onunload",Te)),w.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),w.getElementsByTagName=i(function(e){return e.appendChild(H.createComment("")),!e.getElementsByTagName("*").length}),w.getElementsByClassName=me.test(H.getElementsByClassName),w.getById=i(function(e){return q.appendChild(e).id=P,!H.getElementsByName||!H.getElementsByName(P).length}),w.getById?(T.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&_){var n=t.getElementById(e);return n?[n]:[]}},T.filter.ID=function(e){var t=e.replace(be,we);return function(e){return e.getAttribute("id")===t}}):(delete T.find.ID,T.filter.ID=function(e){var t=e.replace(be,we);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),T.find.TAG=w.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):w.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},T.find.CLASS=w.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&_)return t.getElementsByClassName(e)},M=[],F=[],(w.qsa=me.test(H.querySelectorAll))&&(i(function(e){q.appendChild(e).innerHTML="<a id='"+P+"'></a><select id='"+P+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&F.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||F.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+P+"-]").length||F.push("~="),e.querySelectorAll(":checked").length||F.push(":checked"),e.querySelectorAll("a#"+P+"+*").length||F.push(".#.+[+~]")}),i(function(e){var t=H.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&F.push("name"+ne+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||F.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),F.push(",.*:")})),(w.matchesSelector=me.test(O=q.matches||q.webkitMatchesSelector||q.mozMatchesSelector||q.oMatchesSelector||q.msMatchesSelector))&&i(function(e){w.disconnectedMatch=O.call(e,"div"),O.call(e,"[s!='']:x"),M.push("!=",oe)}),F=F.length&&new RegExp(F.join("|")),M=M.length&&new RegExp(M.join("|")),t=me.test(q.compareDocumentPosition),R=t||me.test(q.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},U=t?function(e,t){if(e===t)return j=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!w.sortDetached&&t.compareDocumentPosition(e)===n?e===H||e.ownerDocument===B&&R(B,e)?-1:t===H||t.ownerDocument===B&&R(B,t)?1:D?ee(D,e)-ee(D,t):0:4&n?-1:1)}:function(e,t){if(e===t)return j=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],u=[t];if(!i||!o)return e===H?-1:t===H?1:i?-1:o?1:D?ee(D,e)-ee(D,t):0;if(i===o)return a(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;s[r]===u[r];)r++;return r?a(s[r],u[r]):s[r]===B?-1:u[r]===B?1:0},H):H},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==H&&L(e),n=n.replace(ce,"='$1']"),w.matchesSelector&&_&&!X[n+" "]&&(!M||!M.test(n))&&(!F||!F.test(n)))try{var r=O.call(e,n);if(r||w.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(i){}return t(n,H,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==H&&L(e),R(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==H&&L(e);var n=T.attrHandle[t.toLowerCase()],r=n&&Y.call(T.attrHandle,t.toLowerCase())?n(e,t,!_):void 0;return void 0!==r?r:w.attributes||!_?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0;if(j=!w.detectDuplicates,D=!w.sortStable&&e.slice(0),e.sort(U),j){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return D=null,e},C=t.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=C(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=C(t);return n},T=t.selectors={cacheLength:50,createPseudo:r,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(be,we),e[3]=(e[3]||e[4]||e[5]||"").replace(be,we),"~="===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&&fe.test(n)&&(t=N(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(be,we).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=$[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&$(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(i){var o=t.attr(i,e);return null==o?"!="===n:!n||(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(ae," ")+" ").indexOf(r)>-1:"|="===n&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,d,p,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!u&&!s,x=!1;if(m){if(o){for(;g;){for(d=t;d=d[g];)if(s?d.nodeName.toLowerCase()===y:1===d.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&v){for(d=m,f=d[P]||(d[P]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),
+l=c[e]||[],p=l[0]===W&&l[1],x=p&&l[2],d=p&&m.childNodes[p];d=++p&&d&&d[g]||(x=p=0)||h.pop();)if(1===d.nodeType&&++x&&d===t){c[e]=[W,p,x];break}}else if(v&&(d=t,f=d[P]||(d[P]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),l=c[e]||[],p=l[0]===W&&l[1],x=p),x===!1)for(;(d=++p&&d&&d[g]||(x=p=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==y:1!==d.nodeType)||!++x||(v&&(f=d[P]||(d[P]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),c[e]=[W,x]),d!==t)););return x-=i,x===r||x%r===0&&x/r>=0}}},PSEUDO:function(e,n){var i,o=T.pseudos[e]||T.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[P]?o(n):o.length>1?(i=[e,e,"",n],T.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,i=o(e,n),a=i.length;a--;)r=ee(e,i[a]),e[r]=!(t[r]=i[a])}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t=[],n=[],i=k(e.replace(se,"$1"));return i[P]?r(function(e,t,n,r){for(var o,a=i(e,null,r,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(be,we),function(t){return(t.textContent||t.innerText||C(t)).indexOf(e)>-1}}),lang:r(function(e){return de.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(be,we).toLowerCase(),function(t){var n;do if(n=_?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===q},focus:function(e){return e===H.activeElement&&(!H.hasFocus||H.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!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!T.pseudos.empty(e)},header:function(e){return ge.test(e.nodeName)},input:function(e){return he.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:l(function(){return[0]}),last:l(function(e,t){return[t-1]}),eq:l(function(e,t,n){return[n<0?n+t:n]}),even:l(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:l(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:l(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:l(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},T.pseudos.nth=T.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})T.pseudos[b]=s(b);for(b in{submit:!0,reset:!0})T.pseudos[b]=u(b);return f.prototype=T.filters=T.pseudos,T.setFilters=new f,N=t.tokenize=function(e,n){var r,i,o,a,s,u,l,c=z[e+" "];if(c)return n?0:c.slice(0);for(s=e,u=[],l=T.preFilter;s;){r&&!(i=ue.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),r=!1,(i=le.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(se," ")}),s=s.slice(r.length));for(a in T.filter)!(i=pe[a].exec(s))||l[a]&&!(i=l[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length));if(!r)break}return n?s.length:s?t.error(e):z(e,u).slice(0)},k=t.compile=function(e,t){var n,r=[],i=[],o=X[e+" "];if(!o){for(t||(t=N(e)),n=t.length;n--;)o=v(t[n]),o[P]?r.push(o):i.push(o);o=X(e,x(i,r)),o.selector=e}return o},S=t.select=function(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,f=!r&&N(e=l.selector||e);if(n=n||[],1===f.length){if(o=f[0]=f[0].slice(0),o.length>2&&"ID"===(a=o[0]).type&&w.getById&&9===t.nodeType&&_&&T.relative[o[1].type]){if(t=(T.find.ID(a.matches[0].replace(be,we),t)||[])[0],!t)return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=pe.needsContext.test(e)?0:o.length;i--&&(a=o[i],!T.relative[s=a.type]);)if((u=T.find[s])&&(r=u(a.matches[0].replace(be,we),ve.test(o[0].type)&&c(t.parentNode)||t))){if(o.splice(i,1),e=r.length&&d(o),!e)return Q.apply(n,r),n;break}}return(l||k(e,f))(r,t,!_,n,!t||ve.test(e)&&c(t.parentNode)||t),n},w.sortStable=P.split("").sort(U).join("")===P,w.detectDuplicates=!!j,L(),w.sortDetached=i(function(e){return 1&e.compareDocumentPosition(H.createElement("div"))}),i(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)}),w.attributes&&i(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}),i(function(e){return null==e.getAttribute("disabled")})||o(te,function(e,t,n){var r;if(!n)return e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(e);pe.find=ve,pe.expr=ve.selectors,pe.expr[":"]=pe.expr.pseudos,pe.uniqueSort=pe.unique=ve.uniqueSort,pe.text=ve.getText,pe.isXMLDoc=ve.isXML,pe.contains=ve.contains;var xe=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&pe(e).is(n))break;r.push(e)}return r},be=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},we=pe.expr.match.needsContext,Te=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,Ce=/^.[^:#\[\.,]*$/;pe.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?pe.find.matchesSelector(r,e)?[r]:[]:pe.find.matches(e,pe.grep(t,function(e){return 1===e.nodeType}))},pe.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(pe(e).filter(function(){for(t=0;t<i;t++)if(pe.contains(r[t],this))return!0}));for(t=0;t<i;t++)pe.find(e,r[t],n);return n=this.pushStack(i>1?pe.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(r(this,e||[],!1))},not:function(e){return this.pushStack(r(this,e||[],!0))},is:function(e){return!!r(this,"string"==typeof e&&we.test(e)?pe(e):e||[],!1).length}});var Ee,Ne=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,ke=pe.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||Ee,"string"==typeof e){if(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:Ne.exec(e),!r||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof pe?t[0]:t,pe.merge(this,pe.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:re,!0)),Te.test(r[1])&&pe.isPlainObject(t))for(r in t)pe.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}if(i=re.getElementById(r[2]),i&&i.parentNode){if(i.id!==r[2])return Ee.find(e);this.length=1,this[0]=i}return this.context=re,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):pe.isFunction(e)?"undefined"!=typeof n.ready?n.ready(e):e(pe):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),pe.makeArray(e,this))};ke.prototype=pe.fn,Ee=pe(re);var Se=/^(?:parents|prev(?:Until|All))/,Ae={children:!0,contents:!0,next:!0,prev:!0};pe.fn.extend({has:function(e){var t,n=pe(e,this),r=n.length;return this.filter(function(){for(t=0;t<r;t++)if(pe.contains(this,n[t]))return!0})},closest:function(e,t){for(var n,r=0,i=this.length,o=[],a=we.test(e)||"string"!=typeof e?pe(e,t||this.context):0;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&pe.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?pe.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?pe.inArray(this[0],pe(e)):pe.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(pe.uniqueSort(pe.merge(this.get(),pe(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),pe.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return xe(e,"parentNode")},parentsUntil:function(e,t,n){return xe(e,"parentNode",n)},next:function(e){return i(e,"nextSibling")},prev:function(e){return i(e,"previousSibling")},nextAll:function(e){return xe(e,"nextSibling")},prevAll:function(e){return xe(e,"previousSibling")},nextUntil:function(e,t,n){return xe(e,"nextSibling",n)},prevUntil:function(e,t,n){return xe(e,"previousSibling",n)},siblings:function(e){return be((e.parentNode||{}).firstChild,e)},children:function(e){return be(e.firstChild)},contents:function(e){return pe.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:pe.merge([],e.childNodes)}},function(e,t){pe.fn[e]=function(n,r){var i=pe.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=pe.filter(r,i)),this.length>1&&(Ae[e]||(i=pe.uniqueSort(i)),Se.test(e)&&(i=i.reverse())),this.pushStack(i)}});var De=/\S+/g;pe.Callbacks=function(e){e="string"==typeof e?o(e):pe.extend({},e);var t,n,r,i,a=[],s=[],u=-1,l=function(){for(i=e.once,r=t=!0;s.length;u=-1)for(n=s.shift();++u<a.length;)a[u].apply(n[0],n[1])===!1&&e.stopOnFalse&&(u=a.length,n=!1);e.memory||(n=!1),t=!1,i&&(a=n?[]:"")},c={add:function(){return a&&(n&&!t&&(u=a.length-1,s.push(n)),function r(t){pe.each(t,function(t,n){pe.isFunction(n)?e.unique&&c.has(n)||a.push(n):n&&n.length&&"string"!==pe.type(n)&&r(n)})}(arguments),n&&!t&&l()),this},remove:function(){return pe.each(arguments,function(e,t){for(var n;(n=pe.inArray(t,a,n))>-1;)a.splice(n,1),n<=u&&u--}),this},has:function(e){return e?pe.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return i=s=[],a=n="",this},disabled:function(){return!a},lock:function(){return i=!0,n||c.disable(),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=n||[],n=[e,n.slice?n.slice():n],s.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},pe.extend({Deferred:function(e){var t=[["resolve","done",pe.Callbacks("once memory"),"resolved"],["reject","fail",pe.Callbacks("once memory"),"rejected"],["notify","progress",pe.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return pe.Deferred(function(n){pe.each(t,function(t,o){var a=pe.isFunction(e[t])&&e[t];i[o[1]](function(){var e=a&&a.apply(this,arguments);e&&pe.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[o[0]+"With"](this===r?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?pe.extend(e,r):r}},i={};return r.pipe=r.then,pe.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t,n,r,i=0,o=ie.call(arguments),a=o.length,s=1!==a||e&&pe.isFunction(e.promise)?a:0,u=1===s?e:pe.Deferred(),l=function(e,n,r){return function(i){n[e]=this,r[e]=arguments.length>1?ie.call(arguments):i,r===t?u.notifyWith(n,r):--s||u.resolveWith(n,r)}};if(a>1)for(t=new Array(a),n=new Array(a),r=new Array(a);i<a;i++)o[i]&&pe.isFunction(o[i].promise)?o[i].promise().progress(l(i,n,t)).done(l(i,r,o)).fail(u.reject):--s;return s||u.resolveWith(r,o),u.promise()}});var je;pe.fn.ready=function(e){return pe.ready.promise().done(e),this},pe.extend({isReady:!1,readyWait:1,holdReady:function(e){e?pe.readyWait++:pe.ready(!0)},ready:function(e){(e===!0?--pe.readyWait:pe.isReady)||(pe.isReady=!0,e!==!0&&--pe.readyWait>0||(je.resolveWith(re,[pe]),pe.fn.triggerHandler&&(pe(re).triggerHandler("ready"),pe(re).off("ready"))))}}),pe.ready.promise=function(t){if(!je)if(je=pe.Deferred(),"complete"===re.readyState||"loading"!==re.readyState&&!re.documentElement.doScroll)e.setTimeout(pe.ready);else if(re.addEventListener)re.addEventListener("DOMContentLoaded",s),e.addEventListener("load",s);else{re.attachEvent("onreadystatechange",s),e.attachEvent("onload",s);var n=!1;try{n=null==e.frameElement&&re.documentElement}catch(r){}n&&n.doScroll&&!function i(){if(!pe.isReady){try{n.doScroll("left")}catch(t){return e.setTimeout(i,50)}a(),pe.ready()}}()}return je.promise(t)},pe.ready.promise();var Le;for(Le in pe(fe))break;fe.ownFirst="0"===Le,fe.inlineBlockNeedsLayout=!1,pe(function(){var e,t,n,r;n=re.getElementsByTagName("body")[0],n&&n.style&&(t=re.createElement("div"),r=re.createElement("div"),r.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(t),"undefined"!=typeof t.style.zoom&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",fe.inlineBlockNeedsLayout=e=3===t.offsetWidth,e&&(n.style.zoom=1)),n.removeChild(r))}),function(){var e=re.createElement("div");fe.deleteExpando=!0;try{delete e.test}catch(t){fe.deleteExpando=!1}e=null}();var He=function(e){var t=pe.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return(1===n||9===n)&&(!t||t!==!0&&e.getAttribute("classid")===t)},qe=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,_e=/([A-Z])/g;pe.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?pe.cache[e[pe.expando]]:e[pe.expando],!!e&&!l(e)},data:function(e,t,n){return c(e,t,n)},removeData:function(e,t){return f(e,t)},_data:function(e,t,n){return c(e,t,n,!0)},_removeData:function(e,t){return f(e,t,!0)}}),pe.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=pe.data(o),1===o.nodeType&&!pe._data(o,"parsedAttrs"))){for(n=a.length;n--;)a[n]&&(r=a[n].name,0===r.indexOf("data-")&&(r=pe.camelCase(r.slice(5)),u(o,r,i[r])));pe._data(o,"parsedAttrs",!0)}return i}return"object"==typeof e?this.each(function(){pe.data(this,e)}):arguments.length>1?this.each(function(){pe.data(this,e,t)}):o?u(o,e,pe.data(o,e)):void 0},removeData:function(e){return this.each(function(){pe.removeData(this,e)})}}),pe.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=pe._data(e,t),n&&(!r||pe.isArray(n)?r=pe._data(e,t,pe.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=pe.queue(e,t),r=n.length,i=n.shift(),o=pe._queueHooks(e,t),a=function(){pe.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return pe._data(e,n)||pe._data(e,n,{empty:pe.Callbacks("once memory").add(function(){pe._removeData(e,t+"queue"),pe._removeData(e,n)})})}}),pe.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?pe.queue(this[0],e):void 0===t?this:this.each(function(){var n=pe.queue(this,e,t);pe._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&pe.dequeue(this,e)})},dequeue:function(e){return this.each(function(){pe.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=pe.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)n=pe._data(o[a],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}}),function(){var e;fe.shrinkWrapBlocks=function(){if(null!=e)return e;e=!1;var t,n,r;return n=re.getElementsByTagName("body")[0],n&&n.style?(t=re.createElement("div"),r=re.createElement("div"),r.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(t),"undefined"!=typeof t.style.zoom&&(t.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",t.appendChild(re.createElement("div")).style.width="5px",e=3!==t.offsetWidth),n.removeChild(r),e):void 0}}();var Fe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Me=new RegExp("^(?:([+-])=|)("+Fe+")([a-z%]*)$","i"),Oe=["Top","Right","Bottom","Left"],Re=function(e,t){return e=t||e,"none"===pe.css(e,"display")||!pe.contains(e.ownerDocument,e)},Pe=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===pe.type(n)){i=!0;for(s in n)Pe(e,t,s,n[s],!0,o,a)}else if(void 0!==r&&(i=!0,pe.isFunction(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(pe(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},Be=/^(?:checkbox|radio)$/i,We=/<([\w:-]+)/,Ie=/^$|\/(?:java|ecma)script/i,$e=/^\s+/,ze="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";!function(){var e=re.createElement("div"),t=re.createDocumentFragment(),n=re.createElement("input");e.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",fe.leadingWhitespace=3===e.firstChild.nodeType,fe.tbody=!e.getElementsByTagName("tbody").length,fe.htmlSerialize=!!e.getElementsByTagName("link").length,fe.html5Clone="<:nav></:nav>"!==re.createElement("nav").cloneNode(!0).outerHTML,n.type="checkbox",n.checked=!0,t.appendChild(n),fe.appendChecked=n.checked,e.innerHTML="<textarea>x</textarea>",fe.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,t.appendChild(e),n=re.createElement("input"),n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),fe.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,fe.noCloneEvent=!!e.addEventListener,e[pe.expando]=1,fe.attributes=!e.getAttribute(pe.expando)}();var Xe={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:fe.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]};Xe.optgroup=Xe.option,Xe.tbody=Xe.tfoot=Xe.colgroup=Xe.caption=Xe.thead,Xe.th=Xe.td;var Ue=/<|&#?\w+;/,Ve=/<tbody/i;!function(){var t,n,r=re.createElement("div");for(t in{submit:!0,change:!0,focusin:!0})n="on"+t,(fe[t]=n in e)||(r.setAttribute(n,"t"),fe[t]=r.attributes[n].expando===!1);r=null}();var Ye=/^(?:input|select|textarea)$/i,Je=/^key/,Ge=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ke=/^(?:focusinfocus|focusoutblur)$/,Qe=/^([^.]*)(?:\.(.+)|)/;pe.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,d,p,h,g,m=pe._data(e);if(m){for(n.handler&&(u=n,n=u.handler,i=u.selector),n.guid||(n.guid=pe.guid++),(a=m.events)||(a=m.events={}),(c=m.handle)||(c=m.handle=function(e){return"undefined"==typeof pe||e&&pe.event.triggered===e.type?void 0:pe.event.dispatch.apply(c.elem,arguments)},c.elem=e),t=(t||"").match(De)||[""],s=t.length;s--;)o=Qe.exec(t[s])||[],p=g=o[1],h=(o[2]||"").split(".").sort(),p&&(l=pe.event.special[p]||{},p=(i?l.delegateType:l.bindType)||p,l=pe.event.special[p]||{},f=pe.extend({type:p,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&pe.expr.match.needsContext.test(i),namespace:h.join(".")},u),(d=a[p])||(d=a[p]=[],d.delegateCount=0,l.setup&&l.setup.call(e,r,h,c)!==!1||(e.addEventListener?e.addEventListener(p,c,!1):e.attachEvent&&e.attachEvent("on"+p,c))),l.add&&(l.add.call(e,f),f.handler.guid||(f.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,f):d.push(f),pe.event.global[p]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,d,p,h,g,m=pe.hasData(e)&&pe._data(e);if(m&&(c=m.events)){for(t=(t||"").match(De)||[""],l=t.length;l--;)if(s=Qe.exec(t[l])||[],p=g=s[1],h=(s[2]||"").split(".").sort(),p){for(f=pe.event.special[p]||{},p=(r?f.delegateType:f.bindType)||p,d=c[p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=o=d.length;o--;)a=d[o],!i&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(d.splice(o,1),a.selector&&d.delegateCount--,f.remove&&f.remove.call(e,a));u&&!d.length&&(f.teardown&&f.teardown.call(e,h,m.handle)!==!1||pe.removeEvent(e,p,m.handle),delete c[p])}else for(p in c)pe.event.remove(e,p+t[l],n,r,!0);pe.isEmptyObject(c)&&(delete m.handle,pe._removeData(e,"events"))}},trigger:function(t,n,r,i){var o,a,s,u,l,c,f,d=[r||re],p=ce.call(t,"type")?t.type:t,h=ce.call(t,"namespace")?t.namespace.split("."):[];if(s=c=r=r||re,3!==r.nodeType&&8!==r.nodeType&&!Ke.test(p+pe.event.triggered)&&(p.indexOf(".")>-1&&(h=p.split("."),p=h.shift(),h.sort()),a=p.indexOf(":")<0&&"on"+p,t=t[pe.expando]?t:new pe.Event(p,"object"==typeof t&&t),t.isTrigger=i?2:3,t.namespace=h.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:pe.makeArray(n,[t]),l=pe.event.special[p]||{},i||!l.trigger||l.trigger.apply(r,n)!==!1)){if(!i&&!l.noBubble&&!pe.isWindow(r)){for(u=l.delegateType||p,Ke.test(u+p)||(s=s.parentNode);s;s=s.parentNode)d.push(s),c=s;c===(r.ownerDocument||re)&&d.push(c.defaultView||c.parentWindow||e)}for(f=0;(s=d[f++])&&!t.isPropagationStopped();)t.type=f>1?u:l.bindType||p,o=(pe._data(s,"events")||{})[t.type]&&pe._data(s,"handle"),o&&o.apply(s,n),o=a&&s[a],o&&o.apply&&He(s)&&(t.result=o.apply(s,n),t.result===!1&&t.preventDefault());if(t.type=p,!i&&!t.isDefaultPrevented()&&(!l._default||l._default.apply(d.pop(),n)===!1)&&He(r)&&a&&r[p]&&!pe.isWindow(r)){c=r[a],c&&(r[a]=null),pe.event.triggered=p;try{r[p]()}catch(g){}pe.event.triggered=void 0,c&&(r[a]=c)}return t.result}},dispatch:function(e){e=pe.event.fix(e);var t,n,r,i,o,a=[],s=ie.call(arguments),u=(pe._data(this,"events")||{})[e.type]||[],l=pe.event.special[e.type]||{};if(s[0]=e,e.delegateTarget=this,!l.preDispatch||l.preDispatch.call(this,e)!==!1){for(a=pe.event.handlers.call(this,e,u),t=0;(i=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(o.namespace)||(e.handleObj=o,e.data=o.data,r=((pe.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s),void 0!==r&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,a=[],s=t.delegateCount,u=e.target;if(s&&u.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(r=[],n=0;n<s;n++)o=t[n],i=o.selector+" ",void 0===r[i]&&(r[i]=o.needsContext?pe(i,this).index(u)>-1:pe.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&a.push({elem:u,handlers:r})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},fix:function(e){if(e[pe.expando])return e;var t,n,r,i=e.type,o=e,a=this.fixHooks[i];for(a||(this.fixHooks[i]=a=Ge.test(i)?this.mouseHooks:Je.test(i)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,e=new pe.Event(o),t=r.length;t--;)n=r[t],e[n]=o[n];return e.target||(e.target=o.srcElement||re),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,a.filter?a.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i,o=t.button,a=t.fromElement;return null==e.pageX&&null!=t.clientX&&(r=e.target.ownerDocument||re,i=r.documentElement,n=r.body,e.pageX=t.clientX+(i&&i.scrollLeft||n&&n.scrollLeft||0)-(i&&i.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(i&&i.scrollTop||n&&n.scrollTop||0)-(i&&i.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&a&&(e.relatedTarget=a===e.target?t.toElement:a),e.which||void 0===o||(e.which=1&o?1:2&o?3:4&o?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==b()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){if(this===b()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(pe.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(e){return pe.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n){var r=pe.extend(new pe.Event,n,{type:e,isSimulated:!0});pe.event.trigger(r,null,t),r.isDefaultPrevented()&&n.preventDefault()}},pe.removeEvent=re.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)}:function(e,t,n){var r="on"+t;e.detachEvent&&("undefined"==typeof e[r]&&(e[r]=null),e.detachEvent(r,n))},pe.Event=function(e,t){return this instanceof pe.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&e.returnValue===!1?v:x):this.type=e,t&&pe.extend(this,t),this.timeStamp=e&&e.timeStamp||pe.now(),void(this[pe.expando]=!0)):new pe.Event(e,t)},pe.Event.prototype={constructor:pe.Event,isDefaultPrevented:x,isPropagationStopped:x,isImmediatePropagationStopped:x,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=v,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=v,e&&!this.isSimulated&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=v,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}},pe.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){pe.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||pe.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),fe.submit||(pe.event.special.submit={setup:function(){return!pe.nodeName(this,"form")&&void pe.event.add(this,"click._submit keypress._submit",function(e){var t=e.target,n=pe.nodeName(t,"input")||pe.nodeName(t,"button")?pe.prop(t,"form"):void 0;n&&!pe._data(n,"submit")&&(pe.event.add(n,"submit._submit",function(e){e._submitBubble=!0}),pe._data(n,"submit",!0))})},postDispatch:function(e){e._submitBubble&&(delete e._submitBubble,this.parentNode&&!e.isTrigger&&pe.event.simulate("submit",this.parentNode,e))},teardown:function(){return!pe.nodeName(this,"form")&&void pe.event.remove(this,"._submit")}}),fe.change||(pe.event.special.change={setup:function(){return Ye.test(this.nodeName)?("checkbox"!==this.type&&"radio"!==this.type||(pe.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._justChanged=!0)}),pe.event.add(this,"click._change",function(e){this._justChanged&&!e.isTrigger&&(this._justChanged=!1),pe.event.simulate("change",this,e)})),!1):void pe.event.add(this,"beforeactivate._change",function(e){var t=e.target;Ye.test(t.nodeName)&&!pe._data(t,"change")&&(pe.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||pe.event.simulate("change",this.parentNode,e)}),pe._data(t,"change",!0))})},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return e.handleObj.handler.apply(this,arguments)},teardown:function(){return pe.event.remove(this,"._change"),!Ye.test(this.nodeName)}}),fe.focusin||pe.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){pe.event.simulate(t,e.target,pe.event.fix(e))};pe.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=pe._data(r,t);i||r.addEventListener(e,n,!0),pe._data(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=pe._data(r,t)-1;i?pe._data(r,t,i):(r.removeEventListener(e,n,!0),pe._removeData(r,t))}}}),pe.fn.extend({on:function(e,t,n,r){return w(this,e,t,n,r)},one:function(e,t,n,r){return w(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,pe(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return t!==!1&&"function"!=typeof t||(n=t,t=void 0),n===!1&&(n=x),this.each(function(){pe.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){pe.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return pe.event.trigger(e,t,n,!0)}});var Ze=/ jQuery\d+="(?:null|\d+)"/g,et=new RegExp("<(?:"+ze+")[\\s/>]","i"),tt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,nt=/<script|<style|<link/i,rt=/checked\s*(?:[^=]|=\s*.checked.)/i,it=/^true\/(.*)/,ot=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,at=p(re),st=at.appendChild(re.createElement("div"));pe.extend({htmlPrefilter:function(e){return e.replace(tt,"<$1></$2>")},clone:function(e,t,n){var r,i,o,a,s,u=pe.contains(e.ownerDocument,e);if(fe.html5Clone||pe.isXMLDoc(e)||!et.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(st.innerHTML=e.outerHTML,st.removeChild(o=st.firstChild)),!(fe.noCloneEvent&&fe.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||pe.isXMLDoc(e)))for(r=h(o),s=h(e),a=0;null!=(i=s[a]);++a)r[a]&&k(i,r[a]);if(t)if(n)for(s=s||h(e),r=r||h(o),a=0;null!=(i=s[a]);a++)N(i,r[a]);else N(e,o);return r=h(o,"script"),r.length>0&&g(r,!u&&h(e,"script")),r=s=i=null,o},cleanData:function(e,t){for(var n,r,i,o,a=0,s=pe.expando,u=pe.cache,l=fe.attributes,c=pe.event.special;null!=(n=e[a]);a++)if((t||He(n))&&(i=n[s],o=i&&u[i])){if(o.events)for(r in o.events)c[r]?pe.event.remove(n,r):pe.removeEvent(n,r,o.handle);u[i]&&(delete u[i],l||"undefined"==typeof n.removeAttribute?n[s]=void 0:n.removeAttribute(s),ne.push(i))}}}),pe.fn.extend({domManip:S,detach:function(e){return A(this,e,!0)},remove:function(e){return A(this,e)},text:function(e){return Pe(this,function(e){return void 0===e?pe.text(this):this.empty().append((this[0]&&this[0].ownerDocument||re).createTextNode(e))},null,e,arguments.length)},append:function(){return S(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=T(this,e);t.appendChild(e)}})},prepend:function(){return S(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=T(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return S(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return S(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&pe.cleanData(h(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&pe.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return pe.clone(this,e,t)})},html:function(e){return Pe(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(Ze,""):void 0;if("string"==typeof e&&!nt.test(e)&&(fe.htmlSerialize||!et.test(e))&&(fe.leadingWhitespace||!$e.test(e))&&!Xe[(We.exec(e)||["",""])[1].toLowerCase()]){e=pe.htmlPrefilter(e);try{for(;n<r;n++)t=this[n]||{},1===t.nodeType&&(pe.cleanData(h(t,!1)),t.innerHTML=e);t=0}catch(i){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return S(this,arguments,function(t){var n=this.parentNode;pe.inArray(this,e)<0&&(pe.cleanData(h(this)),
+n&&n.replaceChild(t,this))},e)}}),pe.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){pe.fn[e]=function(e){for(var n,r=0,i=[],o=pe(e),a=o.length-1;r<=a;r++)n=r===a?this:this.clone(!0),pe(o[r])[t](n),ae.apply(i,n.get());return this.pushStack(i)}});var ut,lt={HTML:"block",BODY:"block"},ct=/^margin/,ft=new RegExp("^("+Fe+")(?!px)[a-z%]+$","i"),dt=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i},pt=re.documentElement;!function(){function t(){var t,c,f=re.documentElement;f.appendChild(u),l.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",n=i=s=!1,r=a=!0,e.getComputedStyle&&(c=e.getComputedStyle(l),n="1%"!==(c||{}).top,s="2px"===(c||{}).marginLeft,i="4px"===(c||{width:"4px"}).width,l.style.marginRight="50%",r="4px"===(c||{marginRight:"4px"}).marginRight,t=l.appendChild(re.createElement("div")),t.style.cssText=l.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",l.style.width="1px",a=!parseFloat((e.getComputedStyle(t)||{}).marginRight),l.removeChild(t)),l.style.display="none",o=0===l.getClientRects().length,o&&(l.style.display="",l.innerHTML="<table><tr><td></td><td>t</td></tr></table>",t=l.getElementsByTagName("td"),t[0].style.cssText="margin:0;border:0;padding:0;display:none",o=0===t[0].offsetHeight,o&&(t[0].style.display="",t[1].style.display="none",o=0===t[0].offsetHeight)),f.removeChild(u)}var n,r,i,o,a,s,u=re.createElement("div"),l=re.createElement("div");l.style&&(l.style.cssText="float:left;opacity:.5",fe.opacity="0.5"===l.style.opacity,fe.cssFloat=!!l.style.cssFloat,l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",fe.clearCloneStyle="content-box"===l.style.backgroundClip,u=re.createElement("div"),u.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",l.innerHTML="",u.appendChild(l),fe.boxSizing=""===l.style.boxSizing||""===l.style.MozBoxSizing||""===l.style.WebkitBoxSizing,pe.extend(fe,{reliableHiddenOffsets:function(){return null==n&&t(),o},boxSizingReliable:function(){return null==n&&t(),i},pixelMarginRight:function(){return null==n&&t(),r},pixelPosition:function(){return null==n&&t(),n},reliableMarginRight:function(){return null==n&&t(),a},reliableMarginLeft:function(){return null==n&&t(),s}}))}();var ht,gt,mt=/^(top|right|bottom|left)$/;e.getComputedStyle?(ht=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},gt=function(e,t,n){var r,i,o,a,s=e.style;return n=n||ht(e),a=n?n.getPropertyValue(t)||n[t]:void 0,""!==a&&void 0!==a||pe.contains(e.ownerDocument,e)||(a=pe.style(e,t)),n&&!fe.pixelMarginRight()&&ft.test(a)&&ct.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o),void 0===a?a:a+""}):pt.currentStyle&&(ht=function(e){return e.currentStyle},gt=function(e,t,n){var r,i,o,a,s=e.style;return n=n||ht(e),a=n?n[t]:void 0,null==a&&s&&s[t]&&(a=s[t]),ft.test(a)&&!mt.test(t)&&(r=s.left,i=e.runtimeStyle,o=i&&i.left,o&&(i.left=e.currentStyle.left),s.left="fontSize"===t?"1em":a,a=s.pixelLeft+"px",s.left=r,o&&(i.left=o)),void 0===a?a:a+""||"auto"});var yt=/alpha\([^)]*\)/i,vt=/opacity\s*=\s*([^)]*)/i,xt=/^(none|table(?!-c[ea]).+)/,bt=new RegExp("^("+Fe+")(.*)$","i"),wt={position:"absolute",visibility:"hidden",display:"block"},Tt={letterSpacing:"0",fontWeight:"400"},Ct=["Webkit","O","Moz","ms"],Et=re.createElement("div").style;pe.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=gt(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":fe.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=pe.camelCase(t),u=e.style;if(t=pe.cssProps[s]||(pe.cssProps[s]=H(s)||s),a=pe.cssHooks[t]||pe.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:u[t];if(o=typeof n,"string"===o&&(i=Me.exec(n))&&i[1]&&(n=d(e,t,i),o="number"),null!=n&&n===n&&("number"===o&&(n+=i&&i[3]||(pe.cssNumber[s]?"":"px")),fe.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),!(a&&"set"in a&&void 0===(n=a.set(e,n,r)))))try{u[t]=n}catch(l){}}},css:function(e,t,n,r){var i,o,a,s=pe.camelCase(t);return t=pe.cssProps[s]||(pe.cssProps[s]=H(s)||s),a=pe.cssHooks[t]||pe.cssHooks[s],a&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=gt(e,t,r)),"normal"===o&&t in Tt&&(o=Tt[t]),""===n||n?(i=parseFloat(o),n===!0||isFinite(i)?i||0:o):o}}),pe.each(["height","width"],function(e,t){pe.cssHooks[t]={get:function(e,n,r){if(n)return xt.test(pe.css(e,"display"))&&0===e.offsetWidth?dt(e,wt,function(){return M(e,t,r)}):M(e,t,r)},set:function(e,n,r){var i=r&&ht(e);return _(e,n,r?F(e,t,r,fe.boxSizing&&"border-box"===pe.css(e,"boxSizing",!1,i),i):0)}}}),fe.opacity||(pe.cssHooks.opacity={get:function(e,t){return vt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=pe.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===pe.trim(o.replace(yt,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=yt.test(o)?o.replace(yt,i):o+" "+i)}}),pe.cssHooks.marginRight=L(fe.reliableMarginRight,function(e,t){if(t)return dt(e,{display:"inline-block"},gt,[e,"marginRight"])}),pe.cssHooks.marginLeft=L(fe.reliableMarginLeft,function(e,t){if(t)return(parseFloat(gt(e,"marginLeft"))||(pe.contains(e.ownerDocument,e)?e.getBoundingClientRect().left-dt(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}):0))+"px"}),pe.each({margin:"",padding:"",border:"Width"},function(e,t){pe.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+Oe[r]+t]=o[r]||o[r-2]||o[0];return i}},ct.test(e)||(pe.cssHooks[e+t].set=_)}),pe.fn.extend({css:function(e,t){return Pe(this,function(e,t,n){var r,i,o={},a=0;if(pe.isArray(t)){for(r=ht(e),i=t.length;a<i;a++)o[t[a]]=pe.css(e,t[a],!1,r);return o}return void 0!==n?pe.style(e,t,n):pe.css(e,t)},e,t,arguments.length>1)},show:function(){return q(this,!0)},hide:function(){return q(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Re(this)?pe(this).show():pe(this).hide()})}}),pe.Tween=O,O.prototype={constructor:O,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||pe.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(pe.cssNumber[n]?"":"px")},cur:function(){var e=O.propHooks[this.prop];return e&&e.get?e.get(this):O.propHooks._default.get(this)},run:function(e){var t,n=O.propHooks[this.prop];return this.options.duration?this.pos=t=pe.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):O.propHooks._default.set(this),this}},O.prototype.init.prototype=O.prototype,O.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=pe.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){pe.fx.step[e.prop]?pe.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[pe.cssProps[e.prop]]&&!pe.cssHooks[e.prop]?e.elem[e.prop]=e.now:pe.style(e.elem,e.prop,e.now+e.unit)}}},O.propHooks.scrollTop=O.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},pe.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},pe.fx=O.prototype.init,pe.fx.step={};var Nt,kt,St=/^(?:toggle|show|hide)$/,At=/queueHooks$/;pe.Animation=pe.extend($,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return d(n.elem,e,Me.exec(t),n),n}]},tweener:function(e,t){pe.isFunction(e)?(t=e,e=["*"]):e=e.match(De);for(var n,r=0,i=e.length;r<i;r++)n=e[r],$.tweeners[n]=$.tweeners[n]||[],$.tweeners[n].unshift(t)},prefilters:[W],prefilter:function(e,t){t?$.prefilters.unshift(e):$.prefilters.push(e)}}),pe.speed=function(e,t,n){var r=e&&"object"==typeof e?pe.extend({},e):{complete:n||!n&&t||pe.isFunction(e)&&e,duration:e,easing:n&&t||t&&!pe.isFunction(t)&&t};return r.duration=pe.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in pe.fx.speeds?pe.fx.speeds[r.duration]:pe.fx.speeds._default,null!=r.queue&&r.queue!==!0||(r.queue="fx"),r.old=r.complete,r.complete=function(){pe.isFunction(r.old)&&r.old.call(this),r.queue&&pe.dequeue(this,r.queue)},r},pe.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Re).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=pe.isEmptyObject(e),o=pe.speed(t,n,r),a=function(){var t=$(this,pe.extend({},e),o);(i||pe._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=pe.timers,a=pe._data(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&At.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||pe.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=pe._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=pe.timers,a=r?r.length:0;for(n.finish=!0,pe.queue(this,e,[]),i&&i.stop&&i.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<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),pe.each(["toggle","show","hide"],function(e,t){var n=pe.fn[t];pe.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(P(t,!0),e,r,i)}}),pe.each({slideDown:P("show"),slideUp:P("hide"),slideToggle:P("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){pe.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),pe.timers=[],pe.fx.tick=function(){var e,t=pe.timers,n=0;for(Nt=pe.now();n<t.length;n++)e=t[n],e()||t[n]!==e||t.splice(n--,1);t.length||pe.fx.stop(),Nt=void 0},pe.fx.timer=function(e){pe.timers.push(e),e()?pe.fx.start():pe.timers.pop()},pe.fx.interval=13,pe.fx.start=function(){kt||(kt=e.setInterval(pe.fx.tick,pe.fx.interval))},pe.fx.stop=function(){e.clearInterval(kt),kt=null},pe.fx.speeds={slow:600,fast:200,_default:400},pe.fn.delay=function(t,n){return t=pe.fx?pe.fx.speeds[t]||t:t,n=n||"fx",this.queue(n,function(n,r){var i=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(i)}})},function(){var e,t=re.createElement("input"),n=re.createElement("div"),r=re.createElement("select"),i=r.appendChild(re.createElement("option"));n=re.createElement("div"),n.setAttribute("className","t"),n.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",e=n.getElementsByTagName("a")[0],t.setAttribute("type","checkbox"),n.appendChild(t),e=n.getElementsByTagName("a")[0],e.style.cssText="top:1px",fe.getSetAttribute="t"!==n.className,fe.style=/top/.test(e.getAttribute("style")),fe.hrefNormalized="/a"===e.getAttribute("href"),fe.checkOn=!!t.value,fe.optSelected=i.selected,fe.enctype=!!re.createElement("form").enctype,r.disabled=!0,fe.optDisabled=!i.disabled,t=re.createElement("input"),t.setAttribute("value",""),fe.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),fe.radioValue="t"===t.value}();var Dt=/\r/g,jt=/[\x20\t\r\n\f]+/g;pe.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=pe.isFunction(e),this.each(function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,pe(this).val()):e,null==i?i="":"number"==typeof i?i+="":pe.isArray(i)&&(i=pe.map(i,function(e){return null==e?"":e+""})),t=pe.valHooks[this.type]||pe.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return t=pe.valHooks[i.type]||pe.valHooks[i.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(Dt,""):null==n?"":n)}}}),pe.extend({valHooks:{option:{get:function(e){var t=pe.find.attr(e,"value");return null!=t?t:pe.trim(pe.text(e)).replace(jt," ")}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||i<0,a=o?null:[],s=o?i+1:r.length,u=i<0?s:o?i:0;u<s;u++)if(n=r[u],(n.selected||u===i)&&(fe.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!pe.nodeName(n.parentNode,"optgroup"))){if(t=pe(n).val(),o)return t;a.push(t)}return a},set:function(e,t){for(var n,r,i=e.options,o=pe.makeArray(t),a=i.length;a--;)if(r=i[a],pe.inArray(pe.valHooks.option.get(r),o)>-1)try{r.selected=n=!0}catch(s){r.scrollHeight}else r.selected=!1;return n||(e.selectedIndex=-1),i}}}}),pe.each(["radio","checkbox"],function(){pe.valHooks[this]={set:function(e,t){if(pe.isArray(t))return e.checked=pe.inArray(pe(e).val(),t)>-1}},fe.checkOn||(pe.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Lt,Ht,qt=pe.expr.attrHandle,_t=/^(?:checked|selected)$/i,Ft=fe.getSetAttribute,Mt=fe.input;pe.fn.extend({attr:function(e,t){return Pe(this,pe.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){pe.removeAttr(this,e)})}}),pe.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?pe.prop(e,t,n):(1===o&&pe.isXMLDoc(e)||(t=t.toLowerCase(),i=pe.attrHooks[t]||(pe.expr.match.bool.test(t)?Ht:Lt)),void 0!==n?null===n?void pe.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:(r=pe.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!fe.radioValue&&"radio"===t&&pe.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(De);if(o&&1===e.nodeType)for(;n=o[i++];)r=pe.propFix[n]||n,pe.expr.match.bool.test(n)?Mt&&Ft||!_t.test(n)?e[r]=!1:e[pe.camelCase("default-"+n)]=e[r]=!1:pe.attr(e,n,""),e.removeAttribute(Ft?n:r)}}),Ht={set:function(e,t,n){return t===!1?pe.removeAttr(e,n):Mt&&Ft||!_t.test(n)?e.setAttribute(!Ft&&pe.propFix[n]||n,n):e[pe.camelCase("default-"+n)]=e[n]=!0,n}},pe.each(pe.expr.match.bool.source.match(/\w+/g),function(e,t){var n=qt[t]||pe.find.attr;Mt&&Ft||!_t.test(t)?qt[t]=function(e,t,r){var i,o;return r||(o=qt[t],qt[t]=i,i=null!=n(e,t,r)?t.toLowerCase():null,qt[t]=o),i}:qt[t]=function(e,t,n){if(!n)return e[pe.camelCase("default-"+t)]?t.toLowerCase():null}}),Mt&&Ft||(pe.attrHooks.value={set:function(e,t,n){return pe.nodeName(e,"input")?void(e.defaultValue=t):Lt&&Lt.set(e,t,n)}}),Ft||(Lt={set:function(e,t,n){var r=e.getAttributeNode(n);if(r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=t+="","value"===n||t===e.getAttribute(n))return t}},qt.id=qt.name=qt.coords=function(e,t,n){var r;if(!n)return(r=e.getAttributeNode(t))&&""!==r.value?r.value:null},pe.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);if(n&&n.specified)return n.value},set:Lt.set},pe.attrHooks.contenteditable={set:function(e,t,n){Lt.set(e,""!==t&&t,n)}},pe.each(["width","height"],function(e,t){pe.attrHooks[t]={set:function(e,n){if(""===n)return e.setAttribute(t,"auto"),n}}})),fe.style||(pe.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}});var Ot=/^(?:input|select|textarea|button|object)$/i,Rt=/^(?:a|area)$/i;pe.fn.extend({prop:function(e,t){return Pe(this,pe.prop,e,t,arguments.length>1)},removeProp:function(e){return e=pe.propFix[e]||e,this.each(function(){try{this[e]=void 0,delete this[e]}catch(t){}})}}),pe.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&pe.isXMLDoc(e)||(t=pe.propFix[t]||t,i=pe.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=pe.find.attr(e,"tabindex");return t?parseInt(t,10):Ot.test(e.nodeName)||Rt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),fe.hrefNormalized||pe.each(["href","src"],function(e,t){pe.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),fe.optSelected||(pe.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),pe.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){pe.propFix[this.toLowerCase()]=this}),fe.enctype||(pe.propFix.enctype="encoding");var Pt=/[\t\r\n\f]/g;pe.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(pe.isFunction(e))return this.each(function(t){pe(this).addClass(e.call(this,t,z(this)))});if("string"==typeof e&&e)for(t=e.match(De)||[];n=this[u++];)if(i=z(n),r=1===n.nodeType&&(" "+i+" ").replace(Pt," ")){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");s=pe.trim(r),i!==s&&pe.attr(n,"class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(pe.isFunction(e))return this.each(function(t){pe(this).removeClass(e.call(this,t,z(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(De)||[];n=this[u++];)if(i=z(n),r=1===n.nodeType&&(" "+i+" ").replace(Pt," ")){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");s=pe.trim(r),i!==s&&pe.attr(n,"class",s)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):pe.isFunction(e)?this.each(function(n){pe(this).toggleClass(e.call(this,n,z(this),t),t)}):this.each(function(){var t,r,i,o;if("string"===n)for(r=0,i=pe(this),o=e.match(De)||[];t=o[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||(t=z(this),t&&pe._data(this,"__className__",t),pe.attr(this,"class",t||e===!1?"":pe._data(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+z(n)+" ").replace(Pt," ").indexOf(t)>-1)return!0;return!1}}),pe.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){pe.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),pe.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});var Bt=e.location,Wt=pe.now(),It=/\?/,$t=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;pe.parseJSON=function(t){if(e.JSON&&e.JSON.parse)return e.JSON.parse(t+"");var n,r=null,i=pe.trim(t+"");return i&&!pe.trim(i.replace($t,function(e,t,i,o){return n&&t&&(r=0),0===r?e:(n=i||t,r+=!o-!i,"")}))?Function("return "+i)():pe.error("Invalid JSON: "+t)},pe.parseXML=function(t){var n,r;if(!t||"string"!=typeof t)return null;try{e.DOMParser?(r=new e.DOMParser,n=r.parseFromString(t,"text/xml")):(n=new e.ActiveXObject("Microsoft.XMLDOM"),n.async="false",n.loadXML(t))}catch(i){n=void 0}return n&&n.documentElement&&!n.getElementsByTagName("parsererror").length||pe.error("Invalid XML: "+t),n};var zt=/#.*$/,Xt=/([?&])_=[^&]*/,Ut=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Vt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Yt=/^(?:GET|HEAD)$/,Jt=/^\/\//,Gt=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Kt={},Qt={},Zt="*/".concat("*"),en=Bt.href,tn=Gt.exec(en.toLowerCase())||[];pe.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:en,type:"GET",isLocal:Vt.test(tn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Zt,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":pe.parseJSON,"text xml":pe.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?V(V(e,pe.ajaxSettings),t):V(pe.ajaxSettings,e)},ajaxPrefilter:X(Kt),ajaxTransport:X(Qt),ajax:function(t,n){function r(t,n,r,i){var o,f,v,x,w,C=n;2!==b&&(b=2,u&&e.clearTimeout(u),c=void 0,s=i||"",T.readyState=t>0?4:0,o=t>=200&&t<300||304===t,r&&(x=Y(d,T,r)),x=J(d,x,T,o),o?(d.ifModified&&(w=T.getResponseHeader("Last-Modified"),w&&(pe.lastModified[a]=w),w=T.getResponseHeader("etag"),w&&(pe.etag[a]=w)),204===t||"HEAD"===d.type?C="nocontent":304===t?C="notmodified":(C=x.state,f=x.data,v=x.error,o=!v)):(v=C,!t&&C||(C="error",t<0&&(t=0))),T.status=t,T.statusText=(n||C)+"",o?g.resolveWith(p,[f,C,T]):g.rejectWith(p,[T,C,v]),T.statusCode(y),y=void 0,l&&h.trigger(o?"ajaxSuccess":"ajaxError",[T,d,o?f:v]),m.fireWith(p,[T,C]),l&&(h.trigger("ajaxComplete",[T,d]),--pe.active||pe.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,o,a,s,u,l,c,f,d=pe.ajaxSetup({},n),p=d.context||d,h=d.context&&(p.nodeType||p.jquery)?pe(p):pe.event,g=pe.Deferred(),m=pe.Callbacks("once memory"),y=d.statusCode||{},v={},x={},b=0,w="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!f)for(f={};t=Ut.exec(s);)f[t[1].toLowerCase()]=t[2];t=f[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?s:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=x[n]=x[n]||e,v[e]=t),this},overrideMimeType:function(e){return b||(d.mimeType=e),this},statusCode:function(e){var t;if(e)if(b<2)for(t in e)y[t]=[y[t],e[t]];else T.always(e[T.status]);return this},abort:function(e){var t=e||w;return c&&c.abort(t),r(0,t),this}};if(g.promise(T).complete=m.add,T.success=T.done,T.error=T.fail,d.url=((t||d.url||en)+"").replace(zt,"").replace(Jt,tn[1]+"//"),d.type=n.method||n.type||d.method||d.type,d.dataTypes=pe.trim(d.dataType||"*").toLowerCase().match(De)||[""],null==d.crossDomain&&(i=Gt.exec(d.url.toLowerCase()),d.crossDomain=!(!i||i[1]===tn[1]&&i[2]===tn[2]&&(i[3]||("http:"===i[1]?"80":"443"))===(tn[3]||("http:"===tn[1]?"80":"443")))),d.data&&d.processData&&"string"!=typeof d.data&&(d.data=pe.param(d.data,d.traditional)),U(Kt,d,n,T),2===b)return T;l=pe.event&&d.global,l&&0===pe.active++&&pe.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Yt.test(d.type),a=d.url,d.hasContent||(d.data&&(a=d.url+=(It.test(a)?"&":"?")+d.data,delete d.data),d.cache===!1&&(d.url=Xt.test(a)?a.replace(Xt,"$1_="+Wt++):a+(It.test(a)?"&":"?")+"_="+Wt++)),d.ifModified&&(pe.lastModified[a]&&T.setRequestHeader("If-Modified-Since",pe.lastModified[a]),pe.etag[a]&&T.setRequestHeader("If-None-Match",pe.etag[a])),(d.data&&d.hasContent&&d.contentType!==!1||n.contentType)&&T.setRequestHeader("Content-Type",d.contentType),T.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Zt+"; q=0.01":""):d.accepts["*"]);for(o in d.headers)T.setRequestHeader(o,d.headers[o]);if(d.beforeSend&&(d.beforeSend.call(p,T,d)===!1||2===b))return T.abort();w="abort";for(o in{success:1,error:1,complete:1})T[o](d[o]);if(c=U(Qt,d,n,T)){if(T.readyState=1,l&&h.trigger("ajaxSend",[T,d]),2===b)return T;d.async&&d.timeout>0&&(u=e.setTimeout(function(){T.abort("timeout")},d.timeout));try{b=1,c.send(v,r)}catch(C){if(!(b<2))throw C;r(-1,C)}}else r(-1,"No Transport");return T},getJSON:function(e,t,n){return pe.get(e,t,n,"json")},getScript:function(e,t){return pe.get(e,void 0,t,"script")}}),pe.each(["get","post"],function(e,t){pe[t]=function(e,n,r,i){return pe.isFunction(n)&&(i=i||r,r=n,n=void 0),pe.ajax(pe.extend({url:e,type:t,dataType:i,data:n,success:r},pe.isPlainObject(e)&&e))}}),pe._evalUrl=function(e){return pe.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},pe.fn.extend({wrapAll:function(e){if(pe.isFunction(e))return this.each(function(t){pe(this).wrapAll(e.call(this,t))});if(this[0]){var t=pe(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return pe.isFunction(e)?this.each(function(t){pe(this).wrapInner(e.call(this,t))}):this.each(function(){var t=pe(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=pe.isFunction(e);return this.each(function(n){pe(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){pe.nodeName(this,"body")||pe(this).replaceWith(this.childNodes)}).end()}}),pe.expr.filters.hidden=function(e){return fe.reliableHiddenOffsets()?e.offsetWidth<=0&&e.offsetHeight<=0&&!e.getClientRects().length:K(e)},pe.expr.filters.visible=function(e){return!pe.expr.filters.hidden(e)};var nn=/%20/g,rn=/\[\]$/,on=/\r?\n/g,an=/^(?:submit|button|image|reset|file)$/i,sn=/^(?:input|select|textarea|keygen)/i;pe.param=function(e,t){var n,r=[],i=function(e,t){t=pe.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=pe.ajaxSettings&&pe.ajaxSettings.traditional),pe.isArray(e)||e.jquery&&!pe.isPlainObject(e))pe.each(e,function(){i(this.name,this.value)});else for(n in e)Q(n,e[n],t,i);return r.join("&").replace(nn,"+")},pe.fn.extend({serialize:function(){return pe.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=pe.prop(this,"elements");return e?pe.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!pe(this).is(":disabled")&&sn.test(this.nodeName)&&!an.test(e)&&(this.checked||!Be.test(e))}).map(function(e,t){var n=pe(this).val();return null==n?null:pe.isArray(n)?pe.map(n,function(e){return{name:t.name,value:e.replace(on,"\r\n")}}):{name:t.name,value:n.replace(on,"\r\n")}}).get()}}),pe.ajaxSettings.xhr=void 0!==e.ActiveXObject?function(){return this.isLocal?ee():re.documentMode>8?Z():/^(get|post|head|put|delete|options)$/i.test(this.type)&&Z()||ee()}:Z;var un=0,ln={},cn=pe.ajaxSettings.xhr();e.attachEvent&&e.attachEvent("onunload",function(){for(var e in ln)ln[e](void 0,!0)}),fe.cors=!!cn&&"withCredentials"in cn,cn=fe.ajax=!!cn,cn&&pe.ajaxTransport(function(t){if(!t.crossDomain||fe.cors){var n;return{send:function(r,i){var o,a=t.xhr(),s=++un;if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)a[o]=t.xhrFields[o];t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(o in r)void 0!==r[o]&&a.setRequestHeader(o,r[o]+"");a.send(t.hasContent&&t.data||null),n=function(e,r){var o,u,l;if(n&&(r||4===a.readyState))if(delete ln[s],n=void 0,a.onreadystatechange=pe.noop,r)4!==a.readyState&&a.abort();else{l={},o=a.status,"string"==typeof a.responseText&&(l.text=a.responseText);try{u=a.statusText}catch(c){u=""}o||!t.isLocal||t.crossDomain?1223===o&&(o=204):o=l.text?200:404}l&&i(o,u,l,a.getAllResponseHeaders())},t.async?4===a.readyState?e.setTimeout(n):a.onreadystatechange=ln[s]=n:n()},abort:function(){n&&n(void 0,!0)}}}}),pe.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 pe.globalEval(e),e}}}),pe.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),pe.ajaxTransport("script",function(e){if(e.crossDomain){var t,n=re.head||pe("head")[0]||re.documentElement;return{send:function(r,i){t=re.createElement("script"),t.async=!0,e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(e,n){(n||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,n||i(200,"success"))},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(void 0,!0)}}}});var fn=[],dn=/(=)\?(?=&|$)|\?\?/;pe.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=fn.pop()||pe.expando+"_"+Wt++;return this[e]=!0,e}}),pe.ajaxPrefilter("json jsonp",function(t,n,r){var i,o,a,s=t.jsonp!==!1&&(dn.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&dn.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=pe.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(dn,"$1"+i):t.jsonp!==!1&&(t.url+=(It.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||pe.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){a=arguments},r.always(function(){void 0===o?pe(e).removeProp(i):e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,fn.push(i)),a&&pe.isFunction(o)&&o(a[0]),a=o=void 0}),"script"}),pe.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||re;var r=Te.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=y([e],t,i),i&&i.length&&pe(i).remove(),pe.merge([],r.childNodes))};var pn=pe.fn.load;return pe.fn.load=function(e,t,n){if("string"!=typeof e&&pn)return pn.apply(this,arguments);var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=pe.trim(e.slice(s,e.length)),e=e.slice(0,s)),pe.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&pe.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?pe("<div>").append(pe.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},pe.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){pe.fn[t]=function(e){return this.on(t,e)}}),pe.expr.filters.animated=function(e){return pe.grep(pe.timers,function(t){return e===t.elem}).length},pe.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l,c=pe.css(e,"position"),f=pe(e),d={};"static"===c&&(e.style.position="relative"),s=f.offset(),o=pe.css(e,"top"),u=pe.css(e,"left"),l=("absolute"===c||"fixed"===c)&&pe.inArray("auto",[o,u])>-1,l?(r=f.position(),a=r.top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),pe.isFunction(t)&&(t=t.call(e,n,pe.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):f.css(d)}},pe.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){pe.offset.setOffset(this,e,t)});var t,n,r={top:0,left:0},i=this[0],o=i&&i.ownerDocument;if(o)return t=o.documentElement,pe.contains(t,i)?("undefined"!=typeof i.getBoundingClientRect&&(r=i.getBoundingClientRect()),n=te(o),{top:r.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:r.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):r},position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===pe.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),pe.nodeName(e[0],"html")||(n=e.offset()),n.top+=pe.css(e[0],"borderTopWidth",!0),n.left+=pe.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-pe.css(r,"marginTop",!0),left:t.left-n.left-pe.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){
+for(var e=this.offsetParent;e&&!pe.nodeName(e,"html")&&"static"===pe.css(e,"position");)e=e.offsetParent;return e||pt})}}),pe.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);pe.fn[e]=function(r){return Pe(this,function(e,r,i){var o=te(e);return void 0===i?o?t in o?o[t]:o.document.documentElement[r]:e[r]:void(o?o.scrollTo(n?pe(o).scrollLeft():i,n?i:pe(o).scrollTop()):e[r]=i)},e,r,arguments.length,null)}}),pe.each(["top","left"],function(e,t){pe.cssHooks[t]=L(fe.pixelPosition,function(e,n){if(n)return n=gt(e,t),ft.test(n)?pe(e).position()[t]+"px":n})}),pe.each({Height:"height",Width:"width"},function(e,t){pe.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){pe.fn[r]=function(r,i){var o=arguments.length&&(n||"boolean"!=typeof r),a=n||(r===!0||i===!0?"margin":"border");return Pe(this,function(t,n,r){var i;return pe.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===r?pe.css(t,n,a):pe.style(t,n,r,a)},t,o?r:void 0,o,null)}})}),pe.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,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),pe.fn.size=function(){return this.length},pe.fn.andSelf=pe.fn.addBack,layui.define(function(e){layui.$=pe,e("jquery",pe)}),pe});
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/laydate.js b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/laydate.js
new file mode 100644
index 0000000..345a217
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/laydate.js
@@ -0,0 +1,2 @@
+/** layui-v2.3.0 MIT License By https://www.layui.com */
+ ;!function(){"use strict";var e=window.layui&&layui.define,t={getPath:function(){var e=document.currentScript?document.currentScript.src:function(){for(var e,t=document.scripts,n=t.length-1,a=n;a>0;a--)if("interactive"===t[a].readyState){e=t[a].src;break}return e||t[n].src}();return e.substring(0,e.lastIndexOf("/")+1)}(),getStyle:function(e,t){var n=e.currentStyle?e.currentStyle:window.getComputedStyle(e,null);return n[n.getPropertyValue?"getPropertyValue":"getAttribute"](t)},link:function(e,a,i){if(n.path){var r=document.getElementsByTagName("head")[0],o=document.createElement("link");"string"==typeof a&&(i=a);var s=(i||e).replace(/\.|\//g,""),l="layuicss-"+s,d=0;o.rel="stylesheet",o.href=n.path+e,o.id=l,document.getElementById(l)||r.appendChild(o),"function"==typeof a&&!function c(){return++d>80?window.console&&console.error("laydate.css: Invalid"):void(1989===parseInt(t.getStyle(document.getElementById(l),"width"))?a():setTimeout(c,100))}()}}},n={v:"5.0.9",config:{},index:window.laydate&&window.laydate.v?1e5:0,path:t.getPath,set:function(e){var t=this;return t.config=w.extend({},t.config,e),t},ready:function(a){var i="laydate",r="",o=(e?"modules/laydate/":"theme/")+"default/laydate.css?v="+n.v+r;return e?layui.addcss(o,a,i):t.link(o,a,i),this}},a=function(){var e=this;return{hint:function(t){e.hint.call(e,t)},config:e.config}},i="laydate",r=".layui-laydate",o="layui-this",s="laydate-disabled",l="寮�濮嬫棩鏈熻秴鍑轰簡缁撴潫鏃ユ湡<br>寤鸿閲嶆柊閫夋嫨",d=[100,2e5],c="layui-laydate-static",m="layui-laydate-list",u="laydate-selected",h="layui-laydate-hint",y="laydate-day-prev",f="laydate-day-next",p="layui-laydate-footer",g=".laydate-btns-confirm",v="laydate-time-text",D=".laydate-btns-time",T=function(e){var t=this;t.index=++n.index,t.config=w.extend({},t.config,n.config,e),n.ready(function(){t.init()})},w=function(e){return new C(e)},C=function(e){for(var t=0,n="object"==typeof e?[e]:(this.selector=e,document.querySelectorAll(e||null));t<n.length;t++)this.push(n[t])};C.prototype=[],C.prototype.constructor=C,w.extend=function(){var e=1,t=arguments,n=function(e,t){e=e||(t.constructor===Array?[]:{});for(var a in t)e[a]=t[a]&&t[a].constructor===Object?n(e[a],t[a]):t[a];return e};for(t[0]="object"==typeof t[0]?t[0]:{};e<t.length;e++)"object"==typeof t[e]&&n(t[0],t[e]);return t[0]},w.ie=function(){var e=navigator.userAgent.toLowerCase();return!!(window.ActiveXObject||"ActiveXObject"in window)&&((e.match(/msie\s(\d+)/)||[])[1]||"11")}(),w.stope=function(e){e=e||window.event,e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},w.each=function(e,t){var n,a=this;if("function"!=typeof t)return a;if(e=e||[],e.constructor===Object){for(n in e)if(t.call(e[n],n,e[n]))break}else for(n=0;n<e.length&&!t.call(e[n],n,e[n]);n++);return a},w.digit=function(e,t,n){var a="";e=String(e),t=t||2;for(var i=e.length;i<t;i++)a+="0";return e<Math.pow(10,t)?a+(0|e):e},w.elem=function(e,t){var n=document.createElement(e);return w.each(t||{},function(e,t){n.setAttribute(e,t)}),n},C.addStr=function(e,t){return e=e.replace(/\s+/," "),t=t.replace(/\s+/," ").split(" "),w.each(t,function(t,n){new RegExp("\\b"+n+"\\b").test(e)||(e=e+" "+n)}),e.replace(/^\s|\s$/,"")},C.removeStr=function(e,t){return e=e.replace(/\s+/," "),t=t.replace(/\s+/," ").split(" "),w.each(t,function(t,n){var a=new RegExp("\\b"+n+"\\b");a.test(e)&&(e=e.replace(a,""))}),e.replace(/\s+/," ").replace(/^\s|\s$/,"")},C.prototype.find=function(e){var t=this,n=0,a=[],i="object"==typeof e;return this.each(function(r,o){for(var s=i?[e]:o.querySelectorAll(e||null);n<s.length;n++)a.push(s[n]);t.shift()}),i||(t.selector=(t.selector?t.selector+" ":"")+e),w.each(a,function(e,n){t.push(n)}),t},C.prototype.each=function(e){return w.each.call(this,this,e)},C.prototype.addClass=function(e,t){return this.each(function(n,a){a.className=C[t?"removeStr":"addStr"](a.className,e)})},C.prototype.removeClass=function(e){return this.addClass(e,!0)},C.prototype.hasClass=function(e){var t=!1;return this.each(function(n,a){new RegExp("\\b"+e+"\\b").test(a.className)&&(t=!0)}),t},C.prototype.attr=function(e,t){var n=this;return void 0===t?function(){if(n.length>0)return n[0].getAttribute(e)}():n.each(function(n,a){a.setAttribute(e,t)})},C.prototype.removeAttr=function(e){return this.each(function(t,n){n.removeAttribute(e)})},C.prototype.html=function(e){return this.each(function(t,n){n.innerHTML=e})},C.prototype.val=function(e){return this.each(function(t,n){n.value=e})},C.prototype.append=function(e){return this.each(function(t,n){"object"==typeof e?n.appendChild(e):n.innerHTML=n.innerHTML+e})},C.prototype.remove=function(e){return this.each(function(t,n){e?n.removeChild(e):n.parentNode.removeChild(n)})},C.prototype.on=function(e,t){return this.each(function(n,a){a.attachEvent?a.attachEvent("on"+e,function(e){e.target=e.srcElement,t.call(a,e)}):a.addEventListener(e,t,!1)})},C.prototype.off=function(e,t){return this.each(function(n,a){a.detachEvent?a.detachEvent("on"+e,t):a.removeEventListener(e,t,!1)})},T.isLeapYear=function(e){return e%4===0&&e%100!==0||e%400===0},T.prototype.config={type:"date",range:!1,format:"yyyy-MM-dd",value:null,isInitValue:!0,min:"1900-1-1",max:"2099-12-31",trigger:"focus",show:!1,showBottom:!0,btns:["clear","now","confirm"],lang:"cn",theme:"default",position:null,calendar:!1,mark:{},zIndex:null,done:null,change:null},T.prototype.lang=function(){var e=this,t=e.config,n={cn:{weeks:["鏃�","涓�","浜�","涓�","鍥�","浜�","鍏�"],time:["鏃�","鍒�","绉�"],timeTips:"閫夋嫨鏃堕棿",startTime:"寮�濮嬫椂闂�",endTime:"缁撴潫鏃堕棿",dateTips:"杩斿洖鏃ユ湡",month:["涓�","浜�","涓�","鍥�","浜�","鍏�","涓�","鍏�","涔�","鍗�","鍗佷竴","鍗佷簩"],tools:{confirm:"纭畾",clear:"娓呯┖",now:"鐜板湪"}},en:{weeks:["Su","Mo","Tu","We","Th","Fr","Sa"],time:["Hours","Minutes","Seconds"],timeTips:"Select Time",startTime:"Start Time",endTime:"End Time",dateTips:"Select Date",month:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],tools:{confirm:"Confirm",clear:"Clear",now:"Now"}}};return n[t.lang]||n.cn},T.prototype.init=function(){var e=this,t=e.config,n="yyyy|y|MM|M|dd|d|HH|H|mm|m|ss|s",a="static"===t.position,i={year:"yyyy",month:"yyyy-MM",date:"yyyy-MM-dd",time:"HH:mm:ss",datetime:"yyyy-MM-dd HH:mm:ss"};t.elem=w(t.elem),t.eventElem=w(t.eventElem),t.elem[0]&&(t.range===!0&&(t.range="-"),t.format===i.date&&(t.format=i[t.type]),e.format=t.format.match(new RegExp(n+"|.","g"))||[],e.EXP_IF="",e.EXP_SPLIT="",w.each(e.format,function(t,a){var i=new RegExp(n).test(a)?"\\d{"+function(){return new RegExp(n).test(e.format[0===t?t+1:t-1]||"")?/^yyyy|y$/.test(a)?4:a.length:/^yyyy$/.test(a)?"1,4":/^y$/.test(a)?"1,308":"1,2"}()+"}":"\\"+a;e.EXP_IF=e.EXP_IF+i,e.EXP_SPLIT=e.EXP_SPLIT+"("+i+")"}),e.EXP_IF=new RegExp("^"+(t.range?e.EXP_IF+"\\s\\"+t.range+"\\s"+e.EXP_IF:e.EXP_IF)+"$"),e.EXP_SPLIT=new RegExp("^"+e.EXP_SPLIT+"$",""),e.isInput(t.elem[0])||"focus"===t.trigger&&(t.trigger="click"),t.elem.attr("lay-key")||(t.elem.attr("lay-key",e.index),t.eventElem.attr("lay-key",e.index)),t.mark=w.extend({},t.calendar&&"cn"===t.lang?{"0-1-1":"鍏冩棪","0-2-14":"鎯呬汉","0-3-8":"濡囧コ","0-3-12":"妞嶆爲","0-4-1":"鎰氫汉","0-5-1":"鍔冲姩","0-5-4":"闈掑勾","0-6-1":"鍎跨","0-9-10":"鏁欏笀","0-9-18":"鍥借��","0-10-1":"鍥藉簡","0-12-25":"鍦h癁"}:{},t.mark),w.each(["min","max"],function(e,n){var a=[],i=[];if("number"==typeof t[n]){var r=t[n],o=(new Date).getTime(),s=864e5,l=new Date(r?r<s?o+r*s:r:o);a=[l.getFullYear(),l.getMonth()+1,l.getDate()],r<s||(i=[l.getHours(),l.getMinutes(),l.getSeconds()])}else a=(t[n].match(/\d+-\d+-\d+/)||[""])[0].split("-"),i=(t[n].match(/\d+:\d+:\d+/)||[""])[0].split(":");t[n]={year:0|a[0]||(new Date).getFullYear(),month:a[1]?(0|a[1])-1:(new Date).getMonth(),date:0|a[2]||(new Date).getDate(),hours:0|i[0],minutes:0|i[1],seconds:0|i[2]}}),e.elemID="layui-laydate"+t.elem.attr("lay-key"),(t.show||a)&&e.render(),a||e.events(),t.value&&t.isInitValue&&(t.value.constructor===Date?e.setValue(e.parse(0,e.systemDate(t.value))):e.setValue(t.value)))},T.prototype.render=function(){var e=this,t=e.config,n=e.lang(),a="static"===t.position,i=e.elem=w.elem("div",{id:e.elemID,"class":["layui-laydate",t.range?" layui-laydate-range":"",a?" "+c:"",t.theme&&"default"!==t.theme&&!/^#/.test(t.theme)?" laydate-theme-"+t.theme:""].join("")}),r=e.elemMain=[],o=e.elemHeader=[],s=e.elemCont=[],l=e.table=[],d=e.footer=w.elem("div",{"class":p});if(t.zIndex&&(i.style.zIndex=t.zIndex),w.each(new Array(2),function(e){if(!t.range&&e>0)return!0;var a=w.elem("div",{"class":"layui-laydate-header"}),i=[function(){var e=w.elem("i",{"class":"layui-icon laydate-icon laydate-prev-y"});return e.innerHTML="",e}(),function(){var e=w.elem("i",{"class":"layui-icon laydate-icon laydate-prev-m"});return e.innerHTML="",e}(),function(){var e=w.elem("div",{"class":"laydate-set-ym"}),t=w.elem("span"),n=w.elem("span");return e.appendChild(t),e.appendChild(n),e}(),function(){var e=w.elem("i",{"class":"layui-icon laydate-icon laydate-next-m"});return e.innerHTML="",e}(),function(){var e=w.elem("i",{"class":"layui-icon laydate-icon laydate-next-y"});return e.innerHTML="",e}()],d=w.elem("div",{"class":"layui-laydate-content"}),c=w.elem("table"),m=w.elem("thead"),u=w.elem("tr");w.each(i,function(e,t){a.appendChild(t)}),m.appendChild(u),w.each(new Array(6),function(e){var t=c.insertRow(0);w.each(new Array(7),function(a){if(0===e){var i=w.elem("th");i.innerHTML=n.weeks[a],u.appendChild(i)}t.insertCell(a)})}),c.insertBefore(m,c.children[0]),d.appendChild(c),r[e]=w.elem("div",{"class":"layui-laydate-main laydate-main-list-"+e}),r[e].appendChild(a),r[e].appendChild(d),o.push(i),s.push(d),l.push(c)}),w(d).html(function(){var e=[],i=[];return"datetime"===t.type&&e.push('<span lay-type="datetime" class="laydate-btns-time">'+n.timeTips+"</span>"),w.each(t.btns,function(e,r){var o=n.tools[r]||"btn";t.range&&"now"===r||(a&&"clear"===r&&(o="cn"===t.lang?"閲嶇疆":"Reset"),i.push('<span lay-type="'+r+'" class="laydate-btns-'+r+'">'+o+"</span>"))}),e.push('<div class="laydate-footer-btns">'+i.join("")+"</div>"),e.join("")}()),w.each(r,function(e,t){i.appendChild(t)}),t.showBottom&&i.appendChild(d),/^#/.test(t.theme)){var m=w.elem("style"),u=["#{{id}} .layui-laydate-header{background-color:{{theme}};}","#{{id}} .layui-this{background-color:{{theme}} !important;}"].join("").replace(/{{id}}/g,e.elemID).replace(/{{theme}}/g,t.theme);"styleSheet"in m?(m.setAttribute("type","text/css"),m.styleSheet.cssText=u):m.innerHTML=u,w(i).addClass("laydate-theme-molv"),i.appendChild(m)}e.remove(T.thisElemDate),a?t.elem.append(i):(document.body.appendChild(i),e.position()),e.checkDate().calendar(),e.changeEvent(),T.thisElemDate=e.elemID,"function"==typeof t.ready&&t.ready(w.extend({},t.dateTime,{month:t.dateTime.month+1}))},T.prototype.remove=function(e){var t=this,n=(t.config,w("#"+(e||t.elemID)));return n.hasClass(c)||t.checkDate(function(){n.remove()}),t},T.prototype.position=function(){var e=this,t=e.config,n=e.bindElem||t.elem[0],a=n.getBoundingClientRect(),i=e.elem.offsetWidth,r=e.elem.offsetHeight,o=function(e){return e=e?"scrollLeft":"scrollTop",document.body[e]|document.documentElement[e]},s=function(e){return document.documentElement[e?"clientWidth":"clientHeight"]},l=5,d=a.left,c=a.bottom;d+i+l>s("width")&&(d=s("width")-i-l),c+r+l>s()&&(c=a.top>r?a.top-r:s()-r,c-=2*l),t.position&&(e.elem.style.position=t.position),e.elem.style.left=d+("fixed"===t.position?0:o(1))+"px",e.elem.style.top=c+("fixed"===t.position?0:o())+"px"},T.prototype.hint=function(e){var t=this,n=(t.config,w.elem("div",{"class":h}));n.innerHTML=e||"",w(t.elem).find("."+h).remove(),t.elem.appendChild(n),clearTimeout(t.hinTimer),t.hinTimer=setTimeout(function(){w(t.elem).find("."+h).remove()},3e3)},T.prototype.getAsYM=function(e,t,n){return n?t--:t++,t<0&&(t=11,e--),t>11&&(t=0,e++),[e,t]},T.prototype.systemDate=function(e){var t=e||new Date;return{year:t.getFullYear(),month:t.getMonth(),date:t.getDate(),hours:e?e.getHours():0,minutes:e?e.getMinutes():0,seconds:e?e.getSeconds():0}},T.prototype.checkDate=function(e){var t,a,i=this,r=(new Date,i.config),o=r.dateTime=r.dateTime||i.systemDate(),s=i.bindElem||r.elem[0],l=(i.isInput(s)?"val":"html",i.isInput(s)?s.value:"static"===r.position?"":s.innerHTML),c=function(e){e.year>d[1]&&(e.year=d[1],a=!0),e.month>11&&(e.month=11,a=!0),e.hours>23&&(e.hours=0,a=!0),e.minutes>59&&(e.minutes=0,e.hours++,a=!0),e.seconds>59&&(e.seconds=0,e.minutes++,a=!0),t=n.getEndDate(e.month+1,e.year),e.date>t&&(e.date=t,a=!0)},m=function(e,t,n){var o=["startTime","endTime"];t=(t.match(i.EXP_SPLIT)||[]).slice(1),n=n||0,r.range&&(i[o[n]]=i[o[n]]||{}),w.each(i.format,function(s,l){var c=parseFloat(t[s]);t[s].length<l.length&&(a=!0),/yyyy|y/.test(l)?(c<d[0]&&(c=d[0],a=!0),e.year=c):/MM|M/.test(l)?(c<1&&(c=1,a=!0),e.month=c-1):/dd|d/.test(l)?(c<1&&(c=1,a=!0),e.date=c):/HH|H/.test(l)?(c<1&&(c=0,a=!0),e.hours=c,r.range&&(i[o[n]].hours=c)):/mm|m/.test(l)?(c<1&&(c=0,a=!0),e.minutes=c,r.range&&(i[o[n]].minutes=c)):/ss|s/.test(l)&&(c<1&&(c=0,a=!0),e.seconds=c,r.range&&(i[o[n]].seconds=c))}),c(e)};return"limit"===e?(c(o),i):(l=l||r.value,"string"==typeof l&&(l=l.replace(/\s+/g," ").replace(/^\s|\s$/g,"")),i.startState&&!i.endState&&(delete i.startState,i.endState=!0),"string"==typeof l&&l?i.EXP_IF.test(l)?r.range?(l=l.split(" "+r.range+" "),i.startDate=i.startDate||i.systemDate(),i.endDate=i.endDate||i.systemDate(),r.dateTime=w.extend({},i.startDate),w.each([i.startDate,i.endDate],function(e,t){m(t,l[e],e)})):m(o,l):(i.hint("鏃ユ湡鏍煎紡涓嶅悎娉�<br>蹇呴』閬靛惊涓嬭堪鏍煎紡锛�<br>"+(r.range?r.format+" "+r.range+" "+r.format:r.format)+"<br>宸蹭负浣犻噸缃�"),a=!0):l&&l.constructor===Date?r.dateTime=i.systemDate(l):(r.dateTime=i.systemDate(),delete i.startState,delete i.endState,delete i.startDate,delete i.endDate,delete i.startTime,delete i.endTime),c(o),a&&l&&i.setValue(r.range?i.endDate?i.parse():"":i.parse()),e&&e(),i)},T.prototype.mark=function(e,t){var n,a=this,i=a.config;return w.each(i.mark,function(e,a){var i=e.split("-");i[0]!=t[0]&&0!=i[0]||i[1]!=t[1]&&0!=i[1]||i[2]!=t[2]||(n=a||t[2])}),n&&e.html('<span class="laydate-day-mark">'+n+"</span>"),a},T.prototype.limit=function(e,t,n,a){var i,r=this,o=r.config,l={},d=o[n>41?"endDate":"dateTime"],c=w.extend({},d,t||{});return w.each({now:c,min:o.min,max:o.max},function(e,t){l[e]=r.newDate(w.extend({year:t.year,month:t.month,date:t.date},function(){var e={};return w.each(a,function(n,a){e[a]=t[a]}),e}())).getTime()}),i=l.now<l.min||l.now>l.max,e&&e[i?"addClass":"removeClass"](s),i},T.prototype.calendar=function(e){var t,a,i,r=this,s=r.config,l=e||s.dateTime,c=new Date,m=r.lang(),u="date"!==s.type&&"datetime"!==s.type,h=e?1:0,y=w(r.table[h]).find("td"),f=w(r.elemHeader[h][2]).find("span");if(l.year<d[0]&&(l.year=d[0],r.hint("鏈�浣庡彧鑳芥敮鎸佸埌鍏厓"+d[0]+"骞�")),l.year>d[1]&&(l.year=d[1],r.hint("鏈�楂樺彧鑳芥敮鎸佸埌鍏厓"+d[1]+"骞�")),r.firstDate||(r.firstDate=w.extend({},l)),c.setFullYear(l.year,l.month,1),t=c.getDay(),a=n.getEndDate(l.month||12,l.year),i=n.getEndDate(l.month+1,l.year),w.each(y,function(e,n){var d=[l.year,l.month],c=0;n=w(n),n.removeAttr("class"),e<t?(c=a-t+e,n.addClass("laydate-day-prev"),d=r.getAsYM(l.year,l.month,"sub")):e>=t&&e<i+t?(c=e-t,s.range||c+1===l.date&&n.addClass(o)):(c=e-i-t,n.addClass("laydate-day-next"),d=r.getAsYM(l.year,l.month)),d[1]++,d[2]=c+1,n.attr("lay-ymd",d.join("-")).html(d[2]),r.mark(n,d).limit(n,{year:d[0],month:d[1]-1,date:d[2]},e)}),w(f[0]).attr("lay-ym",l.year+"-"+(l.month+1)),w(f[1]).attr("lay-ym",l.year+"-"+(l.month+1)),"cn"===s.lang?(w(f[0]).attr("lay-type","year").html(l.year+"骞�"),w(f[1]).attr("lay-type","month").html(l.month+1+"鏈�")):(w(f[0]).attr("lay-type","month").html(m.month[l.month]),w(f[1]).attr("lay-type","year").html(l.year)),u&&(s.range&&(e?r.endDate=r.endDate||{year:l.year+("year"===s.type?1:0),month:l.month+("month"===s.type?0:-1)}:r.startDate=r.startDate||{year:l.year,month:l.month},e&&(r.listYM=[[r.startDate.year,r.startDate.month+1],[r.endDate.year,r.endDate.month+1]],r.list(s.type,0).list(s.type,1),"time"===s.type?r.setBtnStatus("鏃堕棿",w.extend({},r.systemDate(),r.startTime),w.extend({},r.systemDate(),r.endTime)):r.setBtnStatus(!0))),s.range||(r.listYM=[[l.year,l.month+1]],r.list(s.type,0))),s.range&&!e){var p=r.getAsYM(l.year,l.month);r.calendar(w.extend({},l,{year:p[0],month:p[1]}))}return s.range||r.limit(w(r.footer).find(g),null,0,["hours","minutes","seconds"]),s.range&&e&&!u&&r.stampRange(),r},T.prototype.list=function(e,t){var n=this,a=n.config,i=a.dateTime,r=n.lang(),l=a.range&&"date"!==a.type&&"datetime"!==a.type,d=w.elem("ul",{"class":m+" "+{year:"laydate-year-list",month:"laydate-month-list",time:"laydate-time-list"}[e]}),c=n.elemHeader[t],u=w(c[2]).find("span"),h=n.elemCont[t||0],y=w(h).find("."+m)[0],f="cn"===a.lang,p=f?"骞�":"",T=n.listYM[t]||{},C=["hours","minutes","seconds"],x=["startTime","endTime"][t];if(T[0]<1&&(T[0]=1),"year"===e){var M,b=M=T[0]-7;b<1&&(b=M=1),w.each(new Array(15),function(e){var i=w.elem("li",{"lay-ym":M}),r={year:M};M==T[0]&&w(i).addClass(o),i.innerHTML=M+p,d.appendChild(i),M<n.firstDate.year?(r.month=a.min.month,r.date=a.min.date):M>=n.firstDate.year&&(r.month=a.max.month,r.date=a.max.date),n.limit(w(i),r,t),M++}),w(u[f?0:1]).attr("lay-ym",M-8+"-"+T[1]).html(b+p+" - "+(M-1+p))}else if("month"===e)w.each(new Array(12),function(e){var i=w.elem("li",{"lay-ym":e}),s={year:T[0],month:e};e+1==T[1]&&w(i).addClass(o),i.innerHTML=r.month[e]+(f?"鏈�":""),d.appendChild(i),T[0]<n.firstDate.year?s.date=a.min.date:T[0]>=n.firstDate.year&&(s.date=a.max.date),n.limit(w(i),s,t)}),w(u[f?0:1]).attr("lay-ym",T[0]+"-"+T[1]).html(T[0]+p);else if("time"===e){var E=function(){w(d).find("ol").each(function(e,a){w(a).find("li").each(function(a,i){n.limit(w(i),[{hours:a},{hours:n[x].hours,minutes:a},{hours:n[x].hours,minutes:n[x].minutes,seconds:a}][e],t,[["hours"],["hours","minutes"],["hours","minutes","seconds"]][e])})}),a.range||n.limit(w(n.footer).find(g),n[x],0,["hours","minutes","seconds"])};a.range?n[x]||(n[x]={hours:0,minutes:0,seconds:0}):n[x]=i,w.each([24,60,60],function(e,t){var a=w.elem("li"),i=["<p>"+r.time[e]+"</p><ol>"];w.each(new Array(t),function(t){i.push("<li"+(n[x][C[e]]===t?' class="'+o+'"':"")+">"+w.digit(t,2)+"</li>")}),a.innerHTML=i.join("")+"</ol>",d.appendChild(a)}),E()}if(y&&h.removeChild(y),h.appendChild(d),"year"===e||"month"===e)w(n.elemMain[t]).addClass("laydate-ym-show"),w(d).find("li").on("click",function(){var r=0|w(this).attr("lay-ym");if(!w(this).hasClass(s)){if(0===t)i[e]=r,l&&(n.startDate[e]=r),n.limit(w(n.footer).find(g),null,0);else if(l)n.endDate[e]=r;else{var c="year"===e?n.getAsYM(r,T[1]-1,"sub"):n.getAsYM(T[0],r,"sub");w.extend(i,{year:c[0],month:c[1]})}"year"===a.type||"month"===a.type?(w(d).find("."+o).removeClass(o),w(this).addClass(o),"month"===a.type&&"year"===e&&(n.listYM[t][0]=r,l&&(n[["startDate","endDate"][t]].year=r),n.list("month",t))):(n.checkDate("limit").calendar(),n.closeList()),n.setBtnStatus(),a.range||n.done(null,"change"),w(n.footer).find(D).removeClass(s)}});else{var S=w.elem("span",{"class":v}),k=function(){w(d).find("ol").each(function(e){var t=this,a=w(t).find("li");t.scrollTop=30*(n[x][C[e]]-2),t.scrollTop<=0&&a.each(function(e,n){if(!w(this).hasClass(s))return t.scrollTop=30*(e-2),!0})})},H=w(c[2]).find("."+v);k(),S.innerHTML=a.range?[r.startTime,r.endTime][t]:r.timeTips,w(n.elemMain[t]).addClass("laydate-time-show"),H[0]&&H.remove(),c[2].appendChild(S),w(d).find("ol").each(function(e){var t=this;w(t).find("li").on("click",function(){var r=0|this.innerHTML;w(this).hasClass(s)||(a.range?n[x][C[e]]=r:i[C[e]]=r,w(t).find("."+o).removeClass(o),w(this).addClass(o),E(),k(),(n.endDate||"time"===a.type)&&n.done(null,"change"),n.setBtnStatus())})})}return n},T.prototype.listYM=[],T.prototype.closeList=function(){var e=this;e.config;w.each(e.elemCont,function(t,n){w(this).find("."+m).remove(),w(e.elemMain[t]).removeClass("laydate-ym-show laydate-time-show")}),w(e.elem).find("."+v).remove()},T.prototype.setBtnStatus=function(e,t,n){var a,i=this,r=i.config,o=w(i.footer).find(g),d=r.range&&"date"!==r.type&&"time"!==r.type;d&&(t=t||i.startDate,n=n||i.endDate,a=i.newDate(t).getTime()>i.newDate(n).getTime(),i.limit(null,t)||i.limit(null,n)?o.addClass(s):o[a?"addClass":"removeClass"](s),e&&a&&i.hint("string"==typeof e?l.replace(/鏃ユ湡/g,e):l))},T.prototype.parse=function(e,t){var n=this,a=n.config,i=t||(e?w.extend({},n.endDate,n.endTime):a.range?w.extend({},n.startDate,n.startTime):a.dateTime),r=n.format.concat();return w.each(r,function(e,t){/yyyy|y/.test(t)?r[e]=w.digit(i.year,t.length):/MM|M/.test(t)?r[e]=w.digit(i.month+1,t.length):/dd|d/.test(t)?r[e]=w.digit(i.date,t.length):/HH|H/.test(t)?r[e]=w.digit(i.hours,t.length):/mm|m/.test(t)?r[e]=w.digit(i.minutes,t.length):/ss|s/.test(t)&&(r[e]=w.digit(i.seconds,t.length))}),a.range&&!e?r.join("")+" "+a.range+" "+n.parse(1):r.join("")},T.prototype.newDate=function(e){return e=e||{},new Date(e.year||1,e.month||0,e.date||1,e.hours||0,e.minutes||0,e.seconds||0)},T.prototype.setValue=function(e){var t=this,n=t.config,a=t.bindElem||n.elem[0],i=t.isInput(a)?"val":"html";return"static"===n.position||w(a)[i](e||""),this},T.prototype.stampRange=function(){var e,t,n=this,a=n.config,i=w(n.elem).find("td");if(a.range&&!n.endDate&&w(n.footer).find(g).addClass(s),n.endDate)return e=n.newDate({year:n.startDate.year,month:n.startDate.month,date:n.startDate.date}).getTime(),t=n.newDate({year:n.endDate.year,month:n.endDate.month,date:n.endDate.date}).getTime(),e>t?n.hint(l):void w.each(i,function(a,i){var r=w(i).attr("lay-ymd").split("-"),s=n.newDate({year:r[0],month:r[1]-1,date:r[2]}).getTime();w(i).removeClass(u+" "+o),s!==e&&s!==t||w(i).addClass(w(i).hasClass(y)||w(i).hasClass(f)?u:o),s>e&&s<t&&w(i).addClass(u)})},T.prototype.done=function(e,t){var n=this,a=n.config,i=w.extend({},n.startDate?w.extend(n.startDate,n.startTime):a.dateTime),r=w.extend({},w.extend(n.endDate,n.endTime));return w.each([i,r],function(e,t){"month"in t&&w.extend(t,{month:t.month+1})}),e=e||[n.parse(),i,r],"function"==typeof a[t||"done"]&&a[t||"done"].apply(a,e),n},T.prototype.choose=function(e){var t=this,n=t.config,a=n.dateTime,i=w(t.elem).find("td"),r=e.attr("lay-ymd").split("-"),l=function(e){new Date;e&&w.extend(a,r),n.range&&(t.startDate?w.extend(t.startDate,r):t.startDate=w.extend({},r,t.startTime),t.startYMD=r)};if(r={year:0|r[0],month:(0|r[1])-1,date:0|r[2]},!e.hasClass(s))if(n.range){if(w.each(["startTime","endTime"],function(e,n){t[n]=t[n]||{hours:0,minutes:0,seconds:0}}),t.endState)l(),delete t.endState,delete t.endDate,t.startState=!0,i.removeClass(o+" "+u),e.addClass(o);else if(t.startState){if(e.addClass(o),t.endDate?w.extend(t.endDate,r):t.endDate=w.extend({},r,t.endTime),t.newDate(r).getTime()<t.newDate(t.startYMD).getTime()){var d=w.extend({},t.endDate,{hours:t.startDate.hours,minutes:t.startDate.minutes,seconds:t.startDate.seconds});w.extend(t.endDate,t.startDate,{hours:t.endDate.hours,minutes:t.endDate.minutes,seconds:t.endDate.seconds}),t.startDate=d}n.showBottom||t.done(),t.stampRange(),t.endState=!0,t.done(null,"change")}else e.addClass(o),l(),t.startState=!0;w(t.footer).find(g)[t.endDate?"removeClass":"addClass"](s)}else"static"===n.position?(l(!0),t.calendar().done().done(null,"change")):"date"===n.type?(l(!0),t.setValue(t.parse()).remove().done()):"datetime"===n.type&&(l(!0),t.calendar().done(null,"change"))},T.prototype.tool=function(e,t){var n=this,a=n.config,i=a.dateTime,r="static"===a.position,o={datetime:function(){w(e).hasClass(s)||(n.list("time",0),a.range&&n.list("time",1),w(e).attr("lay-type","date").html(n.lang().dateTips))},date:function(){n.closeList(),w(e).attr("lay-type","datetime").html(n.lang().timeTips)},clear:function(){n.setValue("").remove(),r&&(w.extend(i,n.firstDate),n.calendar()),a.range&&(delete n.startState,delete n.endState,delete n.endDate,delete n.startTime,delete n.endTime),n.done(["",{},{}])},now:function(){var e=new Date;w.extend(i,n.systemDate(),{hours:e.getHours(),minutes:e.getMinutes(),seconds:e.getSeconds()}),n.setValue(n.parse()).remove(),r&&n.calendar(),n.done()},confirm:function(){if(a.range){if(!n.endDate)return n.hint("璇峰厛閫夋嫨鏃ユ湡鑼冨洿");if(w(e).hasClass(s))return n.hint("time"===a.type?l.replace(/鏃ユ湡/g,"鏃堕棿"):l)}else if(w(e).hasClass(s))return n.hint("涓嶅湪鏈夋晥鏃ユ湡鎴栨椂闂磋寖鍥村唴");n.done(),n.setValue(n.parse()).remove()}};o[t]&&o[t]()},T.prototype.change=function(e){var t=this,n=t.config,a=n.dateTime,i=n.range&&("year"===n.type||"month"===n.type),r=t.elemCont[e||0],o=t.listYM[e],s=function(s){var l=["startDate","endDate"][e],d=w(r).find(".laydate-year-list")[0],c=w(r).find(".laydate-month-list")[0];return d&&(o[0]=s?o[0]-15:o[0]+15,t.list("year",e)),c&&(s?o[0]--:o[0]++,t.list("month",e)),(d||c)&&(w.extend(a,{year:o[0]}),i&&(t[l].year=o[0]),n.range||t.done(null,"change"),t.setBtnStatus(),n.range||t.limit(w(t.footer).find(g),{year:o[0]})),d||c};return{prevYear:function(){s("sub")||(a.year--,t.checkDate("limit").calendar(),n.range||t.done(null,"change"))},prevMonth:function(){var e=t.getAsYM(a.year,a.month,"sub");w.extend(a,{year:e[0],month:e[1]}),t.checkDate("limit").calendar(),n.range||t.done(null,"change")},nextMonth:function(){var e=t.getAsYM(a.year,a.month);w.extend(a,{year:e[0],month:e[1]}),t.checkDate("limit").calendar(),n.range||t.done(null,"change")},nextYear:function(){s()||(a.year++,t.checkDate("limit").calendar(),n.range||t.done(null,"change"))}}},T.prototype.changeEvent=function(){var e=this;e.config;w(e.elem).on("click",function(e){w.stope(e)}),w.each(e.elemHeader,function(t,n){w(n[0]).on("click",function(n){e.change(t).prevYear()}),w(n[1]).on("click",function(n){e.change(t).prevMonth()}),w(n[2]).find("span").on("click",function(n){var a=w(this),i=a.attr("lay-ym"),r=a.attr("lay-type");i&&(i=i.split("-"),e.listYM[t]=[0|i[0],0|i[1]],e.list(r,t),w(e.footer).find(D).addClass(s))}),w(n[3]).on("click",function(n){e.change(t).nextMonth()}),w(n[4]).on("click",function(n){e.change(t).nextYear()})}),w.each(e.table,function(t,n){var a=w(n).find("td");a.on("click",function(){e.choose(w(this))})}),w(e.footer).find("span").on("click",function(){var t=w(this).attr("lay-type");e.tool(this,t)})},T.prototype.isInput=function(e){return/input|textarea/.test(e.tagName.toLocaleLowerCase())},T.prototype.events=function(){var e=this,t=e.config,n=function(n,a){n.on(t.trigger,function(){a&&(e.bindElem=this),e.render()})};t.elem[0]&&!t.elem[0].eventHandler&&(n(t.elem,"bind"),n(t.eventElem),w(document).on("click",function(n){n.target!==t.elem[0]&&n.target!==t.eventElem[0]&&n.target!==w(t.closeStop)[0]&&e.remove()}).on("keydown",function(t){13===t.keyCode&&w("#"+e.elemID)[0]&&e.elemID===T.thisElem&&(t.preventDefault(),w(e.footer).find(g)[0].click())}),w(window).on("resize",function(){return!(!e.elem||!w(r)[0])&&void e.position()}),t.elem[0].eventHandler=!0)},n.render=function(e){var t=new T(e);return a.call(t)},n.getEndDate=function(e,t){var n=new Date;return n.setFullYear(t||n.getFullYear(),e||n.getMonth()+1,1),new Date(n.getTime()-864e5).getDate()},window.lay=window.lay||w,e?(n.ready(),layui.define(function(e){n.path=layui.cache.dir,e(i,n)})):"function"==typeof define&&define.amd?define(function(){return n}):function(){n.ready(),window.laydate=n}()}();
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/layedit.js b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/layedit.js
new file mode 100644
index 0000000..fc1727d
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/layedit.js
@@ -0,0 +1,2 @@
+/** layui-v2.3.0 MIT License By https://www.layui.com */
+ ;layui.define(["layer","form"],function(t){"use strict";var e=layui.$,i=layui.layer,a=layui.form,l=(layui.hint(),layui.device()),n="layedit",o="layui-show",r="layui-disabled",c=function(){var t=this;t.index=0,t.config={tool:["strong","italic","underline","del","|","left","center","right","|","link","unlink","face","image"],hideTool:[],height:280}};c.prototype.set=function(t){var i=this;return e.extend(!0,i.config,t),i},c.prototype.on=function(t,e){return layui.onevent(n,t,e)},c.prototype.build=function(t,i){i=i||{};var a=this,n=a.config,r="layui-layedit",c=e("string"==typeof t?"#"+t:t),u="LAY_layedit_"+ ++a.index,d=c.next("."+r),y=e.extend({},n,i),f=function(){var t=[],e={};return layui.each(y.hideTool,function(t,i){e[i]=!0}),layui.each(y.tool,function(i,a){C[a]&&!e[a]&&t.push(C[a])}),t.join("")}(),m=e(['<div class="'+r+'">','<div class="layui-unselect layui-layedit-tool">'+f+"</div>",'<div class="layui-layedit-iframe">','<iframe id="'+u+'" name="'+u+'" textarea="'+t+'" frameborder="0"></iframe>',"</div>","</div>"].join(""));return l.ie&&l.ie<8?c.removeClass("layui-hide").addClass(o):(d[0]&&d.remove(),s.call(a,m,c[0],y),c.addClass("layui-hide").after(m),a.index)},c.prototype.getContent=function(t){var e=u(t);if(e[0])return d(e[0].document.body.innerHTML)},c.prototype.getText=function(t){var i=u(t);if(i[0])return e(i[0].document.body).text()},c.prototype.setContent=function(t,i,a){var l=u(t);l[0]&&(a?e(l[0].document.body).append(i):e(l[0].document.body).html(i),layedit.sync(t))},c.prototype.sync=function(t){var i=u(t);if(i[0]){var a=e("#"+i[1].attr("textarea"));a.val(d(i[0].document.body.innerHTML))}},c.prototype.getSelection=function(t){var e=u(t);if(e[0]){var i=m(e[0].document);return document.selection?i.text:i.toString()}};var s=function(t,i,a){var l=this,n=t.find("iframe");n.css({height:a.height}).on("load",function(){var o=n.contents(),r=n.prop("contentWindow"),c=o.find("head"),s=e(["<style>","*{margin: 0; padding: 0;}","body{padding: 10px; line-height: 20px; overflow-x: hidden; word-wrap: break-word; font: 14px Helvetica Neue,Helvetica,PingFang SC,Microsoft YaHei,Tahoma,Arial,sans-serif; -webkit-box-sizing: border-box !important; -moz-box-sizing: border-box !important; box-sizing: border-box !important;}","a{color:#01AAED; text-decoration:none;}a:hover{color:#c00}","p{margin-bottom: 10px;}","img{display: inline-block; border: none; vertical-align: middle;}","pre{margin: 10px 0; padding: 10px; line-height: 20px; border: 1px solid #ddd; border-left-width: 6px; background-color: #F2F2F2; color: #333; font-family: Courier New; font-size: 12px;}","</style>"].join("")),u=o.find("body");c.append(s),u.attr("contenteditable","true").css({"min-height":a.height}).html(i.value||""),y.apply(l,[r,n,i,a]),g.call(l,r,t,a)})},u=function(t){var i=e("#LAY_layedit_"+t),a=i.prop("contentWindow");return[a,i]},d=function(t){return 8==l.ie&&(t=t.replace(/<.+>/g,function(t){return t.toLowerCase()})),t},y=function(t,a,n,o){var r=t.document,c=e(r.body);c.on("keydown",function(t){var e=t.keyCode;if(13===e){var a=m(r),l=p(a),n=l.parentNode;if("pre"===n.tagName.toLowerCase()){if(t.shiftKey)return;return i.msg("璇锋殏鏃剁敤shift+enter"),!1}r.execCommand("formatBlock",!1,"<p>")}}),e(n).parents("form").on("submit",function(){var t=c.html();8==l.ie&&(t=t.replace(/<.+>/g,function(t){return t.toLowerCase()})),n.value=t}),c.on("paste",function(e){r.execCommand("formatBlock",!1,"<p>"),setTimeout(function(){f.call(t,c),n.value=c.html()},100)})},f=function(t){var i=this;i.document;t.find("*[style]").each(function(){var t=this.style.textAlign;this.removeAttribute("style"),e(this).css({"text-align":t||""})}),t.find("table").addClass("layui-table"),t.find("script,link").remove()},m=function(t){return t.selection?t.selection.createRange():t.getSelection().getRangeAt(0)},p=function(t){return t.endContainer||t.parentElement().childNodes[0]},v=function(t,i,a){var l=this.document,n=document.createElement(t);for(var o in i)n.setAttribute(o,i[o]);if(n.removeAttribute("text"),l.selection){var r=a.text||i.text;if("a"===t&&!r)return;r&&(n.innerHTML=r),a.pasteHTML(e(n).prop("outerHTML")),a.select()}else{var r=a.toString()||i.text;if("a"===t&&!r)return;r&&(n.innerHTML=r),a.deleteContents(),a.insertNode(n)}},h=function(t,i){var a=this.document,l="layedit-tool-active",n=p(m(a)),o=function(e){return t.find(".layedit-tool-"+e)};i&&i[i.hasClass(l)?"removeClass":"addClass"](l),t.find(">i").removeClass(l),o("unlink").addClass(r),e(n).parents().each(function(){var t=this.tagName.toLowerCase(),e=this.style.textAlign;"b"!==t&&"strong"!==t||o("b").addClass(l),"i"!==t&&"em"!==t||o("i").addClass(l),"u"===t&&o("u").addClass(l),"strike"===t&&o("d").addClass(l),"p"===t&&("center"===e?o("center").addClass(l):"right"===e?o("right").addClass(l):o("left").addClass(l)),"a"===t&&(o("link").addClass(l),o("unlink").removeClass(r))})},g=function(t,a,l){var n=t.document,o=e(n.body),c={link:function(i){var a=p(i),l=e(a).parent();b.call(o,{href:l.attr("href"),target:l.attr("target")},function(e){var a=l[0];"A"===a.tagName?a.href=e.url:v.call(t,"a",{target:e.target,href:e.url,text:e.url},i)})},unlink:function(t){n.execCommand("unlink")},face:function(e){x.call(this,function(i){v.call(t,"img",{src:i.src,alt:i.alt},e)})},image:function(a){var n=this;layui.use("upload",function(o){var r=l.uploadImage||{};o.render({url:r.url,method:r.type,elem:e(n).find("input")[0],done:function(e){0==e.code?(e.data=e.data||{},v.call(t,"img",{src:e.data.src,alt:e.data.title},a)):i.msg(e.msg||"涓婁紶澶辫触")}})})},code:function(e){k.call(o,function(i){v.call(t,"pre",{text:i.code,"lay-lang":i.lang},e)})},help:function(){i.open({type:2,title:"甯姪",area:["600px","380px"],shadeClose:!0,shade:.1,skin:"layui-layer-msg",content:["http://www.layui.com/about/layedit/help.html","no"]})}},s=a.find(".layui-layedit-tool"),u=function(){var i=e(this),a=i.attr("layedit-event"),l=i.attr("lay-command");if(!i.hasClass(r)){o.focus();var u=m(n);u.commonAncestorContainer;l?(n.execCommand(l),/justifyLeft|justifyCenter|justifyRight/.test(l)&&n.execCommand("formatBlock",!1,"<p>"),setTimeout(function(){o.focus()},10)):c[a]&&c[a].call(this,u),h.call(t,s,i)}},d=/image/;s.find(">i").on("mousedown",function(){var t=e(this),i=t.attr("layedit-event");d.test(i)||u.call(this)}).on("click",function(){var t=e(this),i=t.attr("layedit-event");d.test(i)&&u.call(this)}),o.on("click",function(){h.call(t,s),i.close(x.index)})},b=function(t,e){var l=this,n=i.open({type:1,id:"LAY_layedit_link",area:"350px",shade:.05,shadeClose:!0,moveType:1,title:"瓒呴摼鎺�",skin:"layui-layer-msg",content:['<ul class="layui-form" style="margin: 15px;">','<li class="layui-form-item">','<label class="layui-form-label" style="width: 60px;">URL</label>','<div class="layui-input-block" style="margin-left: 90px">','<input name="url" lay-verify="url" value="'+(t.href||"")+'" autofocus="true" autocomplete="off" class="layui-input">',"</div>","</li>",'<li class="layui-form-item">','<label class="layui-form-label" style="width: 60px;">鎵撳紑鏂瑰紡</label>','<div class="layui-input-block" style="margin-left: 90px">','<input type="radio" name="target" value="_self" class="layui-input" title="褰撳墠绐楀彛"'+("_self"!==t.target&&t.target?"":"checked")+">",'<input type="radio" name="target" value="_blank" class="layui-input" title="鏂扮獥鍙�" '+("_blank"===t.target?"checked":"")+">","</div>","</li>",'<li class="layui-form-item" style="text-align: center;">','<button type="button" lay-submit lay-filter="layedit-link-yes" class="layui-btn"> 纭畾 </button>','<button style="margin-left: 20px;" type="button" class="layui-btn layui-btn-primary"> 鍙栨秷 </button>',"</li>","</ul>"].join(""),success:function(t,n){var o="submit(layedit-link-yes)";a.render("radio"),t.find(".layui-btn-primary").on("click",function(){i.close(n),l.focus()}),a.on(o,function(t){i.close(b.index),e&&e(t.field)})}});b.index=n},x=function(t){var a=function(){var t=["[寰瑧]","[鍢诲樆]","[鍝堝搱]","[鍙埍]","[鍙�淽","[鎸栭蓟]","[鍚冩儕]","[瀹崇緸]","[鎸ょ溂]","[闂槾]","[閯欒]","[鐖变綘]","[娉猐","[鍋风瑧]","[浜蹭翰]","[鐢熺梾]","[澶紑蹇僝","[鐧界溂]","[鍙冲摷鍝糫","[宸﹀摷鍝糫","[鍢榏","[琛癩","[濮斿眻]","[鍚怾","[鍝堟瑺]","[鎶辨姳]","[鎬抅","[鐤戦棶]","[棣嬪槾]","[鎷滄嫓]","[鎬濊�僝","[姹梋","[鍥癩","[鐫","[閽盷","[澶辨湜]","[閰穄","[鑹瞉","[鍝糫","[榧撴帉]","[鏅昡","[鎮蹭激]","[鎶撶媯]","[榛戠嚎]","[闃撮櫓]","[鎬掗獋]","[浜掔矇]","[蹇僝","[浼ゅ績]","[鐚ご]","[鐔婄尗]","[鍏斿瓙]","[ok]","[鑰禲","[good]","[NO]","[璧瀅","[鏉","[寮盷","[鑽夋偿椹琞","[绁為┈]","[鍥","[娴簯]","[缁欏姏]","[鍥磋]","[濞佹]","[濂ョ壒鏇糫","[绀肩墿]","[閽焆","[璇濈瓛]","[铚$儧]","[铔嬬硶]"],e={};return layui.each(t,function(t,i){e[i]=layui.cache.dir+"images/face/"+t+".gif"}),e}();return x.hide=x.hide||function(t){"face"!==e(t.target).attr("layedit-event")&&i.close(x.index)},x.index=i.tips(function(){var t=[];return layui.each(a,function(e,i){t.push('<li title="'+e+'"><img src="'+i+'" alt="'+e+'"></li>')}),'<ul class="layui-clear">'+t.join("")+"</ul>"}(),this,{tips:1,time:0,skin:"layui-box layui-util-face",maxWidth:500,success:function(l,n){l.css({marginTop:-4,marginLeft:-10}).find(".layui-clear>li").on("click",function(){t&&t({src:a[this.title],alt:this.title}),i.close(n)}),e(document).off("click",x.hide).on("click",x.hide)}})},k=function(t){var e=this,l=i.open({type:1,id:"LAY_layedit_code",area:"550px",shade:.05,shadeClose:!0,moveType:1,title:"鎻掑叆浠g爜",skin:"layui-layer-msg",content:['<ul class="layui-form layui-form-pane" style="margin: 15px;">','<li class="layui-form-item">','<label class="layui-form-label">璇烽�夋嫨璇█</label>','<div class="layui-input-block">','<select name="lang">','<option value="JavaScript">JavaScript</option>','<option value="HTML">HTML</option>','<option value="CSS">CSS</option>','<option value="Java">Java</option>','<option value="PHP">PHP</option>','<option value="C#">C#</option>','<option value="Python">Python</option>','<option value="Ruby">Ruby</option>','<option value="Go">Go</option>',"</select>","</div>","</li>",'<li class="layui-form-item layui-form-text">','<label class="layui-form-label">浠g爜</label>','<div class="layui-input-block">','<textarea name="code" lay-verify="required" autofocus="true" class="layui-textarea" style="height: 200px;"></textarea>',"</div>","</li>",'<li class="layui-form-item" style="text-align: center;">','<button type="button" lay-submit lay-filter="layedit-code-yes" class="layui-btn"> 纭畾 </button>','<button style="margin-left: 20px;" type="button" class="layui-btn layui-btn-primary"> 鍙栨秷 </button>',"</li>","</ul>"].join(""),success:function(l,n){var o="submit(layedit-code-yes)";a.render("select"),l.find(".layui-btn-primary").on("click",function(){i.close(n),e.focus()}),a.on(o,function(e){i.close(k.index),t&&t(e.field)})}});k.index=l},C={html:'<i class="layui-icon layedit-tool-html" title="HTML婧愪唬鐮�" lay-command="html" layedit-event="html""></i><span class="layedit-tool-mid"></span>',strong:'<i class="layui-icon layedit-tool-b" title="鍔犵矖" lay-command="Bold" layedit-event="b""></i>',italic:'<i class="layui-icon layedit-tool-i" title="鏂滀綋" lay-command="italic" layedit-event="i""></i>',underline:'<i class="layui-icon layedit-tool-u" title="涓嬪垝绾�" lay-command="underline" layedit-event="u""></i>',del:'<i class="layui-icon layedit-tool-d" title="鍒犻櫎绾�" lay-command="strikeThrough" layedit-event="d""></i>',"|":'<span class="layedit-tool-mid"></span>',left:'<i class="layui-icon layedit-tool-left" title="宸﹀榻�" lay-command="justifyLeft" layedit-event="left""></i>',center:'<i class="layui-icon layedit-tool-center" title="灞呬腑瀵归綈" lay-command="justifyCenter" layedit-event="center""></i>',right:'<i class="layui-icon layedit-tool-right" title="鍙冲榻�" lay-command="justifyRight" layedit-event="right""></i>',link:'<i class="layui-icon layedit-tool-link" title="鎻掑叆閾炬帴" layedit-event="link""></i>',unlink:'<i class="layui-icon layedit-tool-unlink layui-disabled" title="娓呴櫎閾炬帴" lay-command="unlink" layedit-event="unlink""></i>',face:'<i class="layui-icon layedit-tool-face" title="琛ㄦ儏" layedit-event="face""></i>',image:'<i class="layui-icon layedit-tool-image" title="鍥剧墖" layedit-event="image"><input type="file" name="file"></i>',code:'<i class="layui-icon layedit-tool-code" title="鎻掑叆浠g爜" layedit-event="code"></i>',help:'<i class="layui-icon layedit-tool-help" title="甯姪" layedit-event="help"></i>'},w=new c;t(n,w)});
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/layer.js b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/layer.js
new file mode 100644
index 0000000..a8975b9
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/layer.js
@@ -0,0 +1,2 @@
+/** layui-v2.3.0 MIT License By https://www.layui.com */
+ ;!function(e,t){"use strict";var i,n,a=e.layui&&layui.define,o={getPath:function(){var e=document.currentScript?document.currentScript.src:function(){for(var e,t=document.scripts,i=t.length-1,n=i;n>0;n--)if("interactive"===t[n].readyState){e=t[n].src;break}return e||t[i].src}();return e.substring(0,e.lastIndexOf("/")+1)}(),config:{},end:{},minIndex:0,minLeft:[],btn:["确定","取消"],type:["dialog","page","iframe","loading","tips"],getStyle:function(t,i){var n=t.currentStyle?t.currentStyle:e.getComputedStyle(t,null);return n[n.getPropertyValue?"getPropertyValue":"getAttribute"](i)},link:function(t,i,n){if(r.path){var a=document.getElementsByTagName("head")[0],s=document.createElement("link");"string"==typeof i&&(n=i);var l=(n||t).replace(/\.|\//g,""),f="layuicss-"+l,c=0;s.rel="stylesheet",s.href=r.path+t,s.id=f,document.getElementById(f)||a.appendChild(s),"function"==typeof i&&!function u(){return++c>80?e.console&&console.error("layer.css: Invalid"):void(1989===parseInt(o.getStyle(document.getElementById(f),"width"))?i():setTimeout(u,100))}()}}},r={v:"3.1.1",ie:function(){var t=navigator.userAgent.toLowerCase();return!!(e.ActiveXObject||"ActiveXObject"in e)&&((t.match(/msie\s(\d+)/)||[])[1]||"11")}(),index:e.layer&&e.layer.v?1e5:0,path:o.getPath,config:function(e,t){return e=e||{},r.cache=o.config=i.extend({},o.config,e),r.path=o.config.path||r.path,"string"==typeof e.extend&&(e.extend=[e.extend]),o.config.path&&r.ready(),e.extend?(a?layui.addcss("modules/layer/"+e.extend):o.link("theme/"+e.extend),this):this},ready:function(e){var t="layer",i="",n=(a?"modules/layer/":"theme/")+"default/layer.css?v="+r.v+i;return a?layui.addcss(n,e,t):o.link(n,e,t),this},alert:function(e,t,n){var a="function"==typeof t;return a&&(n=t),r.open(i.extend({content:e,yes:n},a?{}:t))},confirm:function(e,t,n,a){var s="function"==typeof t;return s&&(a=n,n=t),r.open(i.extend({content:e,btn:o.btn,yes:n,btn2:a},s?{}:t))},msg:function(e,n,a){var s="function"==typeof n,f=o.config.skin,c=(f?f+" "+f+"-msg":"")||"layui-layer-msg",u=l.anim.length-1;return s&&(a=n),r.open(i.extend({content:e,time:3e3,shade:!1,skin:c,title:!1,closeBtn:!1,btn:!1,resize:!1,end:a},s&&!o.config.skin?{skin:c+" layui-layer-hui",anim:u}:function(){return n=n||{},(n.icon===-1||n.icon===t&&!o.config.skin)&&(n.skin=c+" "+(n.skin||"layui-layer-hui")),n}()))},load:function(e,t){return r.open(i.extend({type:3,icon:e||0,resize:!1,shade:.01},t))},tips:function(e,t,n){return r.open(i.extend({type:4,content:[e,t],closeBtn:!1,time:3e3,shade:!1,resize:!1,fixed:!1,maxWidth:210},n))}},s=function(e){var t=this;t.index=++r.index,t.config=i.extend({},t.config,o.config,e),document.body?t.creat():setTimeout(function(){t.creat()},30)};s.pt=s.prototype;var l=["layui-layer",".layui-layer-title",".layui-layer-main",".layui-layer-dialog","layui-layer-iframe","layui-layer-content","layui-layer-btn","layui-layer-close"];l.anim=["layer-anim-00","layer-anim-01","layer-anim-02","layer-anim-03","layer-anim-04","layer-anim-05","layer-anim-06"],s.pt.config={type:0,shade:.3,fixed:!0,move:l[1],title:"信息",offset:"auto",area:"auto",closeBtn:1,time:0,zIndex:19891014,maxWidth:360,anim:0,isOutAnim:!0,icon:-1,moveType:1,resize:!0,scrollbar:!0,tips:2},s.pt.vessel=function(e,t){var n=this,a=n.index,r=n.config,s=r.zIndex+a,f="object"==typeof r.title,c=r.maxmin&&(1===r.type||2===r.type),u=r.title?'<div class="layui-layer-title" style="'+(f?r.title[1]:"")+'">'+(f?r.title[0]:r.title)+"</div>":"";return r.zIndex=s,t([r.shade?'<div class="layui-layer-shade" id="layui-layer-shade'+a+'" times="'+a+'" style="'+("z-index:"+(s-1)+"; ")+'"></div>':"",'<div class="'+l[0]+(" layui-layer-"+o.type[r.type])+(0!=r.type&&2!=r.type||r.shade?"":" layui-layer-border")+" "+(r.skin||"")+'" id="'+l[0]+a+'" type="'+o.type[r.type]+'" times="'+a+'" showtime="'+r.time+'" conType="'+(e?"object":"string")+'" style="z-index: '+s+"; width:"+r.area[0]+";height:"+r.area[1]+(r.fixed?"":";position:absolute;")+'">'+(e&&2!=r.type?"":u)+'<div id="'+(r.id||"")+'" class="layui-layer-content'+(0==r.type&&r.icon!==-1?" layui-layer-padding":"")+(3==r.type?" layui-layer-loading"+r.icon:"")+'">'+(0==r.type&&r.icon!==-1?'<i class="layui-layer-ico layui-layer-ico'+r.icon+'"></i>':"")+(1==r.type&&e?"":r.content||"")+'</div><span class="layui-layer-setwin">'+function(){var e=c?'<a class="layui-layer-min" href="javascript:;"><cite></cite></a><a class="layui-layer-ico layui-layer-max" href="javascript:;"></a>':"";return r.closeBtn&&(e+='<a class="layui-layer-ico '+l[7]+" "+l[7]+(r.title?r.closeBtn:4==r.type?"1":"2")+'" href="javascript:;"></a>'),e}()+"</span>"+(r.btn?function(){var e="";"string"==typeof r.btn&&(r.btn=[r.btn]);for(var t=0,i=r.btn.length;t<i;t++)e+='<a class="'+l[6]+t+'">'+r.btn[t]+"</a>";return'<div class="'+l[6]+" layui-layer-btn-"+(r.btnAlign||"")+'">'+e+"</div>"}():"")+(r.resize?'<span class="layui-layer-resize"></span>':"")+"</div>"],u,i('<div class="layui-layer-move"></div>')),n},s.pt.creat=function(){var e=this,t=e.config,a=e.index,s=t.content,f="object"==typeof s,c=i("body");if(!t.id||!i("#"+t.id)[0]){switch("string"==typeof t.area&&(t.area="auto"===t.area?["",""]:[t.area,""]),t.shift&&(t.anim=t.shift),6==r.ie&&(t.fixed=!1),t.type){case 0:t.btn="btn"in t?t.btn:o.btn[0],r.closeAll("dialog");break;case 2:var s=t.content=f?t.content:[t.content||"http://layer.layui.com","auto"];t.content='<iframe scrolling="'+(t.content[1]||"auto")+'" allowtransparency="true" id="'+l[4]+a+'" name="'+l[4]+a+'" onload="this.className=\'\';" class="layui-layer-load" frameborder="0" src="'+t.content[0]+'"></iframe>';break;case 3:delete t.title,delete t.closeBtn,t.icon===-1&&0===t.icon,r.closeAll("loading");break;case 4:f||(t.content=[t.content,"body"]),t.follow=t.content[1],t.content=t.content[0]+'<i class="layui-layer-TipsG"></i>',delete t.title,t.tips="object"==typeof t.tips?t.tips:[t.tips,!0],t.tipsMore||r.closeAll("tips")}if(e.vessel(f,function(n,r,u){c.append(n[0]),f?function(){2==t.type||4==t.type?function(){i("body").append(n[1])}():function(){s.parents("."+l[0])[0]||(s.data("display",s.css("display")).show().addClass("layui-layer-wrap").wrap(n[1]),i("#"+l[0]+a).find("."+l[5]).before(r))}()}():c.append(n[1]),i(".layui-layer-move")[0]||c.append(o.moveElem=u),e.layero=i("#"+l[0]+a),t.scrollbar||l.html.css("overflow","hidden").attr("layer-full",a)}).auto(a),i("#layui-layer-shade"+e.index).css({"background-color":t.shade[1]||"#000",opacity:t.shade[0]||t.shade}),2==t.type&&6==r.ie&&e.layero.find("iframe").attr("src",s[0]),4==t.type?e.tips():e.offset(),t.fixed&&n.on("resize",function(){e.offset(),(/^\d+%$/.test(t.area[0])||/^\d+%$/.test(t.area[1]))&&e.auto(a),4==t.type&&e.tips()}),t.time<=0||setTimeout(function(){r.close(e.index)},t.time),e.move().callback(),l.anim[t.anim]){var u="layer-anim "+l.anim[t.anim];e.layero.addClass(u).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){i(this).removeClass(u)})}t.isOutAnim&&e.layero.data("isOutAnim",!0)}},s.pt.auto=function(e){var t=this,a=t.config,o=i("#"+l[0]+e);""===a.area[0]&&a.maxWidth>0&&(r.ie&&r.ie<8&&a.btn&&o.width(o.innerWidth()),o.outerWidth()>a.maxWidth&&o.width(a.maxWidth));var s=[o.innerWidth(),o.innerHeight()],f=o.find(l[1]).outerHeight()||0,c=o.find("."+l[6]).outerHeight()||0,u=function(e){e=o.find(e),e.height(s[1]-f-c-2*(0|parseFloat(e.css("padding-top"))))};switch(a.type){case 2:u("iframe");break;default:""===a.area[1]?a.maxHeight>0&&o.outerHeight()>a.maxHeight?(s[1]=a.maxHeight,u("."+l[5])):a.fixed&&s[1]>=n.height()&&(s[1]=n.height(),u("."+l[5])):u("."+l[5])}return t},s.pt.offset=function(){var e=this,t=e.config,i=e.layero,a=[i.outerWidth(),i.outerHeight()],o="object"==typeof t.offset;e.offsetTop=(n.height()-a[1])/2,e.offsetLeft=(n.width()-a[0])/2,o?(e.offsetTop=t.offset[0],e.offsetLeft=t.offset[1]||e.offsetLeft):"auto"!==t.offset&&("t"===t.offset?e.offsetTop=0:"r"===t.offset?e.offsetLeft=n.width()-a[0]:"b"===t.offset?e.offsetTop=n.height()-a[1]:"l"===t.offset?e.offsetLeft=0:"lt"===t.offset?(e.offsetTop=0,e.offsetLeft=0):"lb"===t.offset?(e.offsetTop=n.height()-a[1],e.offsetLeft=0):"rt"===t.offset?(e.offsetTop=0,e.offsetLeft=n.width()-a[0]):"rb"===t.offset?(e.offsetTop=n.height()-a[1],e.offsetLeft=n.width()-a[0]):e.offsetTop=t.offset),t.fixed||(e.offsetTop=/%$/.test(e.offsetTop)?n.height()*parseFloat(e.offsetTop)/100:parseFloat(e.offsetTop),e.offsetLeft=/%$/.test(e.offsetLeft)?n.width()*parseFloat(e.offsetLeft)/100:parseFloat(e.offsetLeft),e.offsetTop+=n.scrollTop(),e.offsetLeft+=n.scrollLeft()),i.attr("minLeft")&&(e.offsetTop=n.height()-(i.find(l[1]).outerHeight()||0),e.offsetLeft=i.css("left")),i.css({top:e.offsetTop,left:e.offsetLeft})},s.pt.tips=function(){var e=this,t=e.config,a=e.layero,o=[a.outerWidth(),a.outerHeight()],r=i(t.follow);r[0]||(r=i("body"));var s={width:r.outerWidth(),height:r.outerHeight(),top:r.offset().top,left:r.offset().left},f=a.find(".layui-layer-TipsG"),c=t.tips[0];t.tips[1]||f.remove(),s.autoLeft=function(){s.left+o[0]-n.width()>0?(s.tipLeft=s.left+s.width-o[0],f.css({right:12,left:"auto"})):s.tipLeft=s.left},s.where=[function(){s.autoLeft(),s.tipTop=s.top-o[1]-10,f.removeClass("layui-layer-TipsB").addClass("layui-layer-TipsT").css("border-right-color",t.tips[1])},function(){s.tipLeft=s.left+s.width+10,s.tipTop=s.top,f.removeClass("layui-layer-TipsL").addClass("layui-layer-TipsR").css("border-bottom-color",t.tips[1])},function(){s.autoLeft(),s.tipTop=s.top+s.height+10,f.removeClass("layui-layer-TipsT").addClass("layui-layer-TipsB").css("border-right-color",t.tips[1])},function(){s.tipLeft=s.left-o[0]-10,s.tipTop=s.top,f.removeClass("layui-layer-TipsR").addClass("layui-layer-TipsL").css("border-bottom-color",t.tips[1])}],s.where[c-1](),1===c?s.top-(n.scrollTop()+o[1]+16)<0&&s.where[2]():2===c?n.width()-(s.left+s.width+o[0]+16)>0||s.where[3]():3===c?s.top-n.scrollTop()+s.height+o[1]+16-n.height()>0&&s.where[0]():4===c&&o[0]+16-s.left>0&&s.where[1](),a.find("."+l[5]).css({"background-color":t.tips[1],"padding-right":t.closeBtn?"30px":""}),a.css({left:s.tipLeft-(t.fixed?n.scrollLeft():0),top:s.tipTop-(t.fixed?n.scrollTop():0)})},s.pt.move=function(){var e=this,t=e.config,a=i(document),s=e.layero,l=s.find(t.move),f=s.find(".layui-layer-resize"),c={};return t.move&&l.css("cursor","move"),l.on("mousedown",function(e){e.preventDefault(),t.move&&(c.moveStart=!0,c.offset=[e.clientX-parseFloat(s.css("left")),e.clientY-parseFloat(s.css("top"))],o.moveElem.css("cursor","move").show())}),f.on("mousedown",function(e){e.preventDefault(),c.resizeStart=!0,c.offset=[e.clientX,e.clientY],c.area=[s.outerWidth(),s.outerHeight()],o.moveElem.css("cursor","se-resize").show()}),a.on("mousemove",function(i){if(c.moveStart){var a=i.clientX-c.offset[0],o=i.clientY-c.offset[1],l="fixed"===s.css("position");if(i.preventDefault(),c.stX=l?0:n.scrollLeft(),c.stY=l?0:n.scrollTop(),!t.moveOut){var f=n.width()-s.outerWidth()+c.stX,u=n.height()-s.outerHeight()+c.stY;a<c.stX&&(a=c.stX),a>f&&(a=f),o<c.stY&&(o=c.stY),o>u&&(o=u)}s.css({left:a,top:o})}if(t.resize&&c.resizeStart){var a=i.clientX-c.offset[0],o=i.clientY-c.offset[1];i.preventDefault(),r.style(e.index,{width:c.area[0]+a,height:c.area[1]+o}),c.isResize=!0,t.resizing&&t.resizing(s)}}).on("mouseup",function(e){c.moveStart&&(delete c.moveStart,o.moveElem.hide(),t.moveEnd&&t.moveEnd(s)),c.resizeStart&&(delete c.resizeStart,o.moveElem.hide())}),e},s.pt.callback=function(){function e(){var e=a.cancel&&a.cancel(t.index,n);e===!1||r.close(t.index)}var t=this,n=t.layero,a=t.config;t.openLayer(),a.success&&(2==a.type?n.find("iframe").on("load",function(){a.success(n,t.index)}):a.success(n,t.index)),6==r.ie&&t.IE6(n),n.find("."+l[6]).children("a").on("click",function(){var e=i(this).index();if(0===e)a.yes?a.yes(t.index,n):a.btn1?a.btn1(t.index,n):r.close(t.index);else{var o=a["btn"+(e+1)]&&a["btn"+(e+1)](t.index,n);o===!1||r.close(t.index)}}),n.find("."+l[7]).on("click",e),a.shadeClose&&i("#layui-layer-shade"+t.index).on("click",function(){r.close(t.index)}),n.find(".layui-layer-min").on("click",function(){var e=a.min&&a.min(n);e===!1||r.min(t.index,a)}),n.find(".layui-layer-max").on("click",function(){i(this).hasClass("layui-layer-maxmin")?(r.restore(t.index),a.restore&&a.restore(n)):(r.full(t.index,a),setTimeout(function(){a.full&&a.full(n)},100))}),a.end&&(o.end[t.index]=a.end)},o.reselect=function(){i.each(i("select"),function(e,t){var n=i(this);n.parents("."+l[0])[0]||1==n.attr("layer")&&i("."+l[0]).length<1&&n.removeAttr("layer").show(),n=null})},s.pt.IE6=function(e){i("select").each(function(e,t){var n=i(this);n.parents("."+l[0])[0]||"none"===n.css("display")||n.attr({layer:"1"}).hide(),n=null})},s.pt.openLayer=function(){var e=this;r.zIndex=e.config.zIndex,r.setTop=function(e){var t=function(){r.zIndex++,e.css("z-index",r.zIndex+1)};return r.zIndex=parseInt(e[0].style.zIndex),e.on("mousedown",t),r.zIndex}},o.record=function(e){var t=[e.width(),e.height(),e.position().top,e.position().left+parseFloat(e.css("margin-left"))];e.find(".layui-layer-max").addClass("layui-layer-maxmin"),e.attr({area:t})},o.rescollbar=function(e){l.html.attr("layer-full")==e&&(l.html[0].style.removeProperty?l.html[0].style.removeProperty("overflow"):l.html[0].style.removeAttribute("overflow"),l.html.removeAttr("layer-full"))},e.layer=r,r.getChildFrame=function(e,t){return t=t||i("."+l[4]).attr("times"),i("#"+l[0]+t).find("iframe").contents().find(e)},r.getFrameIndex=function(e){return i("#"+e).parents("."+l[4]).attr("times")},r.iframeAuto=function(e){if(e){var t=r.getChildFrame("html",e).outerHeight(),n=i("#"+l[0]+e),a=n.find(l[1]).outerHeight()||0,o=n.find("."+l[6]).outerHeight()||0;n.css({height:t+a+o}),n.find("iframe").css({height:t})}},r.iframeSrc=function(e,t){i("#"+l[0]+e).find("iframe").attr("src",t)},r.style=function(e,t,n){var a=i("#"+l[0]+e),r=a.find(".layui-layer-content"),s=a.attr("type"),f=a.find(l[1]).outerHeight()||0,c=a.find("."+l[6]).outerHeight()||0;a.attr("minLeft");s!==o.type[3]&&s!==o.type[4]&&(n||(parseFloat(t.width)<=260&&(t.width=260),parseFloat(t.height)-f-c<=64&&(t.height=64+f+c)),a.css(t),c=a.find("."+l[6]).outerHeight(),s===o.type[2]?a.find("iframe").css({height:parseFloat(t.height)-f-c}):r.css({height:parseFloat(t.height)-f-c-parseFloat(r.css("padding-top"))-parseFloat(r.css("padding-bottom"))}))},r.min=function(e,t){var a=i("#"+l[0]+e),s=a.find(l[1]).outerHeight()||0,f=a.attr("minLeft")||181*o.minIndex+"px",c=a.css("position");o.record(a),o.minLeft[0]&&(f=o.minLeft[0],o.minLeft.shift()),a.attr("position",c),r.style(e,{width:180,height:s,left:f,top:n.height()-s,position:"fixed",overflow:"hidden"},!0),a.find(".layui-layer-min").hide(),"page"===a.attr("type")&&a.find(l[4]).hide(),o.rescollbar(e),a.attr("minLeft")||o.minIndex++,a.attr("minLeft",f)},r.restore=function(e){var t=i("#"+l[0]+e),n=t.attr("area").split(",");t.attr("type");r.style(e,{width:parseFloat(n[0]),height:parseFloat(n[1]),top:parseFloat(n[2]),left:parseFloat(n[3]),position:t.attr("position"),overflow:"visible"},!0),t.find(".layui-layer-max").removeClass("layui-layer-maxmin"),t.find(".layui-layer-min").show(),"page"===t.attr("type")&&t.find(l[4]).show(),o.rescollbar(e)},r.full=function(e){var t,a=i("#"+l[0]+e);o.record(a),l.html.attr("layer-full")||l.html.css("overflow","hidden").attr("layer-full",e),clearTimeout(t),t=setTimeout(function(){var t="fixed"===a.css("position");r.style(e,{top:t?0:n.scrollTop(),left:t?0:n.scrollLeft(),width:n.width(),height:n.height()},!0),a.find(".layui-layer-min").hide()},100)},r.title=function(e,t){var n=i("#"+l[0]+(t||r.index)).find(l[1]);n.html(e)},r.close=function(e){var t=i("#"+l[0]+e),n=t.attr("type"),a="layer-anim-close";if(t[0]){var s="layui-layer-wrap",f=function(){if(n===o.type[1]&&"object"===t.attr("conType")){t.children(":not(."+l[5]+")").remove();for(var a=t.find("."+s),r=0;r<2;r++)a.unwrap();a.css("display",a.data("display")).removeClass(s)}else{if(n===o.type[2])try{var f=i("#"+l[4]+e)[0];f.contentWindow.document.write(""),f.contentWindow.close(),t.find("."+l[5])[0].removeChild(f)}catch(c){}t[0].innerHTML="",t.remove()}"function"==typeof o.end[e]&&o.end[e](),delete o.end[e]};t.data("isOutAnim")&&t.addClass("layer-anim "+a),i("#layui-layer-moves, #layui-layer-shade"+e).remove(),6==r.ie&&o.reselect(),o.rescollbar(e),t.attr("minLeft")&&(o.minIndex--,o.minLeft.push(t.attr("minLeft"))),r.ie&&r.ie<10||!t.data("isOutAnim")?f():setTimeout(function(){f()},200)}},r.closeAll=function(e){i.each(i("."+l[0]),function(){var t=i(this),n=e?t.attr("type")===e:1;n&&r.close(t.attr("times")),n=null})};var f=r.cache||{},c=function(e){return f.skin?" "+f.skin+" "+f.skin+"-"+e:""};r.prompt=function(e,t){var a="";if(e=e||{},"function"==typeof e&&(t=e),e.area){var o=e.area;a='style="width: '+o[0]+"; height: "+o[1]+';"',delete e.area}var s,l=2==e.formType?'<textarea class="layui-layer-input"'+a+"></textarea>":function(){return'<input type="'+(1==e.formType?"password":"text")+'" class="layui-layer-input">'}(),f=e.success;return delete e.success,r.open(i.extend({type:1,btn:["确定","取消"],content:l,skin:"layui-layer-prompt"+c("prompt"),maxWidth:n.width(),success:function(t){s=t.find(".layui-layer-input"),s.val(e.value||"").focus(),"function"==typeof f&&f(t)},resize:!1,yes:function(i){var n=s.val();""===n?s.focus():n.length>(e.maxlength||500)?r.tips("最多输入"+(e.maxlength||500)+"个字数",s,{tips:1}):t&&t(n,i,s)}},e))},r.tab=function(e){e=e||{};var t=e.tab||{},n="layui-this",a=e.success;return delete e.success,r.open(i.extend({type:1,skin:"layui-layer-tab"+c("tab"),resize:!1,title:function(){var e=t.length,i=1,a="";if(e>0)for(a='<span class="'+n+'">'+t[0].title+"</span>";i<e;i++)a+="<span>"+t[i].title+"</span>";return a}(),content:'<ul class="layui-layer-tabmain">'+function(){var e=t.length,i=1,a="";if(e>0)for(a='<li class="layui-layer-tabli '+n+'">'+(t[0].content||"no content")+"</li>";i<e;i++)a+='<li class="layui-layer-tabli">'+(t[i].content||"no content")+"</li>";return a}()+"</ul>",success:function(t){var o=t.find(".layui-layer-title").children(),r=t.find(".layui-layer-tabmain").children();o.on("mousedown",function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0;var a=i(this),o=a.index();a.addClass(n).siblings().removeClass(n),r.eq(o).show().siblings().hide(),"function"==typeof e.change&&e.change(o)}),"function"==typeof a&&a(t)}},e))},r.photos=function(t,n,a){function o(e,t,i){var n=new Image;return n.src=e,n.complete?t(n):(n.onload=function(){n.onload=null,t(n)},void(n.onerror=function(e){n.onerror=null,i(e)}))}var s={};if(t=t||{},t.photos){var l=t.photos.constructor===Object,f=l?t.photos:{},u=f.data||[],d=f.start||0;s.imgIndex=(0|d)+1,t.img=t.img||"img";var y=t.success;if(delete t.success,l){if(0===u.length)return r.msg("没有图片")}else{var p=i(t.photos),h=function(){u=[],p.find(t.img).each(function(e){var t=i(this);t.attr("layer-index",e),u.push({alt:t.attr("alt"),pid:t.attr("layer-pid"),src:t.attr("layer-src")||t.attr("src"),thumb:t.attr("src")})})};if(h(),0===u.length)return;if(n||p.on("click",t.img,function(){var e=i(this),n=e.attr("layer-index");r.photos(i.extend(t,{photos:{start:n,data:u,tab:t.tab},full:t.full}),!0),h()}),!n)return}s.imgprev=function(e){s.imgIndex--,s.imgIndex<1&&(s.imgIndex=u.length),s.tabimg(e)},s.imgnext=function(e,t){s.imgIndex++,s.imgIndex>u.length&&(s.imgIndex=1,t)||s.tabimg(e)},s.keyup=function(e){if(!s.end){var t=e.keyCode;e.preventDefault(),37===t?s.imgprev(!0):39===t?s.imgnext(!0):27===t&&r.close(s.index)}},s.tabimg=function(e){if(!(u.length<=1))return f.start=s.imgIndex-1,r.close(s.index),r.photos(t,!0,e)},s.event=function(){s.bigimg.hover(function(){s.imgsee.show()},function(){s.imgsee.hide()}),s.bigimg.find(".layui-layer-imgprev").on("click",function(e){e.preventDefault(),s.imgprev()}),s.bigimg.find(".layui-layer-imgnext").on("click",function(e){e.preventDefault(),s.imgnext()}),i(document).on("keyup",s.keyup)},s.loadi=r.load(1,{shade:!("shade"in t)&&.9,scrollbar:!1}),o(u[d].src,function(n){r.close(s.loadi),s.index=r.open(i.extend({type:1,id:"layui-layer-photos",area:function(){var a=[n.width,n.height],o=[i(e).width()-100,i(e).height()-100];if(!t.full&&(a[0]>o[0]||a[1]>o[1])){var r=[a[0]/o[0],a[1]/o[1]];r[0]>r[1]?(a[0]=a[0]/r[0],a[1]=a[1]/r[0]):r[0]<r[1]&&(a[0]=a[0]/r[1],a[1]=a[1]/r[1])}return[a[0]+"px",a[1]+"px"]}(),title:!1,shade:.9,shadeClose:!0,closeBtn:!1,move:".layui-layer-phimg img",moveType:1,scrollbar:!1,moveOut:!0,isOutAnim:!1,skin:"layui-layer-photos"+c("photos"),content:'<div class="layui-layer-phimg"><img src="'+u[d].src+'" alt="'+(u[d].alt||"")+'" layer-pid="'+u[d].pid+'"><div class="layui-layer-imgsee">'+(u.length>1?'<span class="layui-layer-imguide"><a href="javascript:;" class="layui-layer-iconext layui-layer-imgprev"></a><a href="javascript:;" class="layui-layer-iconext layui-layer-imgnext"></a></span>':"")+'<div class="layui-layer-imgbar" style="display:'+(a?"block":"")+'"><span class="layui-layer-imgtit"><a href="javascript:;">'+(u[d].alt||"")+"</a><em>"+s.imgIndex+"/"+u.length+"</em></span></div></div></div>",success:function(e,i){s.bigimg=e.find(".layui-layer-phimg"),s.imgsee=e.find(".layui-layer-imguide,.layui-layer-imgbar"),s.event(e),t.tab&&t.tab(u[d],e),"function"==typeof y&&y(e)},end:function(){s.end=!0,i(document).off("keyup",s.keyup)}},t))},function(){r.close(s.loadi),r.msg("当前图片地址异常<br>是否继续查看下一张?",{time:3e4,btn:["下一张","不看了"],yes:function(){u.length>1&&s.imgnext(!0,!0)}})})}},o.run=function(t){i=t,n=i(e),l.html=i("html"),r.open=function(e){var t=new s(e);return t.index}},e.layui&&layui.define?(r.ready(),layui.define("jquery",function(t){r.path=layui.cache.dir,o.run(layui.$),e.layer=r,t("layer",r)})):"function"==typeof define&&define.amd?define(["jquery"],function(){return o.run(e.jQuery),r}):function(){o.run(e.jQuery),r.ready()}()}(window);
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/layim.js b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/layim.js
new file mode 100644
index 0000000..082180b
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/layim.js
@@ -0,0 +1,3 @@
+/** layui-v2.3.0 MIT License By https://www.layui.com */
+ ;layui.define(["layer","laytpl","upload"],function(i){var a="3.7.7",e=layui.$,t=layui.layer,n=layui.laytpl,l=layui.device(),s="layui-show",o="layim-this",d=20,r={},c=function(){this.v=a,e("body").on("click","*[layim-event]",function(i){var a=e(this),t=a.attr("layim-event");ti[t]?ti[t].call(this,a,i):""})};c.prototype.config=function(i){var a=[];if(layui.each(Array(5),function(i){a.push(layui.cache.dir+"css/modules/layim/skin/"+(i+1)+".jpg")}),i=i||{},i.skin=i.skin||[],layui.each(i.skin,function(i,e){a.unshift(e)}),i.skin=a,i=e.extend({isfriend:!0,isgroup:!0,voice:"default.mp3"},i),window.JSON&&window.JSON.parse)return H(i),this},c.prototype.on=function(i,a){return"function"==typeof a&&(r[i]?r[i].push(a):r[i]=[a]),this},c.prototype.cache=function(){return j},c.prototype.chat=function(i){if(window.JSON&&window.JSON.parse)return z(i),this},c.prototype.setChatMin=function(){return N(),this},c.prototype.setChatStatus=function(i){var a=_();if(a){var e=a.elem.find(".layim-chat-status");return e.html(i),this}},c.prototype.getMessage=function(i){return K(i),this},c.prototype.notice=function(i){return J(i),this},c.prototype.add=function(i){return M(i),this},c.prototype.setFriendGroup=function(i){return M(i,"setGroup"),this},c.prototype.msgbox=function(i){return V(i),this},c.prototype.addList=function(i){return P(i),this},c.prototype.removeList=function(i){return W(i),this},c.prototype.setFriendStatus=function(i,a){var t=e(".layim-friend"+i);t["online"===a?"removeClass":"addClass"]("layim-list-gray")},c.prototype.content=function(i){return layui.data.content(i)};var u=function(i){var a={friend:"璇ュ垎缁勪笅鏆傛棤濂藉弸",group:"鏆傛棤缇ょ粍",history:"鏆傛棤鍘嗗彶浼氳瘽"};return i=i||{},i.item=i.item||"d."+i.type,["{{# var length = 0; layui.each("+i.item+", function(i, data){ length++; }}",'<li layim-event="chat" data-type="'+i.type+'" data-index="{{ '+(i.index||"i")+' }}" class="layim-'+("history"===i.type?"{{i}}":i.type+"{{data.id}}")+' {{ data.status === "offline" ? "layim-list-gray" : "" }}"><img src="{{ data.avatar }}"><span>{{ data.username||data.groupname||data.name||"浣氬悕" }}</span><p>{{ data.remark||data.sign||"" }}</p><span class="layim-msg-status">new</span></li>',"{{# }); if(length === 0){ }}",'<li class="layim-null">'+(a[i.type]||"鏆傛棤鏁版嵁")+"</li>","{{# } }}"].join("")},y=['<div class="layui-layim-main">','<div class="layui-layim-info">','<div class="layui-layim-user">{{ d.mine.username }}</div>','<div class="layui-layim-status">','{{# if(d.mine.status === "online"){ }}','<span class="layui-icon layim-status-online" layim-event="status" lay-type="show"></span>','{{# } else if(d.mine.status === "hide") { }}','<span class="layui-icon layim-status-hide" layim-event="status" lay-type="show"></span>',"{{# } }}",'<ul class="layui-anim layim-menu-box">','<li {{d.mine.status === "online" ? "class=layim-this" : ""}} layim-event="status" lay-type="online"><i class="layui-icon"></i><cite class="layui-icon layim-status-online"></cite>鍦ㄧ嚎</li>','<li {{d.mine.status === "hide" ? "class=layim-this" : ""}} layim-event="status" lay-type="hide"><i class="layui-icon"></i><cite class="layui-icon layim-status-hide"></cite>闅愯韩</li>',"</ul>","</div>",'<input class="layui-layim-remark" placeholder="缂栬緫绛惧悕" value="{{ d.mine.remark||d.mine.sign||"" }}">',"</div>",'<ul class="layui-unselect layui-layim-tab{{# if(!d.base.isfriend || !d.base.isgroup){ }}'," layim-tab-two",'{{# } }}">','<li class="layui-icon',"{{# if(!d.base.isfriend){ }}"," layim-hide","{{# } else { }}"," layim-this","{{# } }}",'" title="鑱旂郴浜�" layim-event="tab" lay-type="friend"></li>','<li class="layui-icon',"{{# if(!d.base.isgroup){ }}"," layim-hide","{{# } else if(!d.base.isfriend) { }}"," layim-this","{{# } }}",'" title="缇ょ粍" layim-event="tab" lay-type="group"></li>','<li class="layui-icon" title="鍘嗗彶浼氳瘽" layim-event="tab" lay-type="history"></li>',"</ul>",'<ul class="layui-unselect layim-tab-content {{# if(d.base.isfriend){ }}layui-show{{# } }} layim-list-friend">','{{# layui.each(d.friend, function(index, item){ var spread = d.local["spread"+index]; }}',"<li>",'<h5 layim-event="spread" lay-type="{{ spread }}"><i class="layui-icon">{{# if(spread === "true"){ }}{{# } else { }}{{# } }}</i><span>{{ item.groupname||"鏈懡鍚嶅垎缁�"+index }}</span><em>(<cite class="layim-count"> {{ (item.list||[]).length }}</cite>)</em></h5>','<ul class="layui-layim-list {{# if(spread === "true"){ }}'," layui-show",'{{# } }}">',u({type:"friend",item:"item.list",index:"index"}),"</ul>","</li>","{{# }); if(d.friend.length === 0){ }}",'<li><ul class="layui-layim-list layui-show"><li class="layim-null">鏆傛棤鑱旂郴浜�</li></ul>',"{{# } }}","</ul>",'<ul class="layui-unselect layim-tab-content {{# if(!d.base.isfriend && d.base.isgroup){ }}layui-show{{# } }}">',"<li>",'<ul class="layui-layim-list layui-show layim-list-group">',u({type:"group"}),"</ul>","</li>","</ul>",'<ul class="layui-unselect layim-tab-content {{# if(!d.base.isfriend && !d.base.isgroup){ }}layui-show{{# } }}">',"<li>",'<ul class="layui-layim-list layui-show layim-list-history">',u({type:"history"}),"</ul>","</li>","</ul>",'<ul class="layui-unselect layim-tab-content">',"<li>",'<ul class="layui-layim-list layui-show" id="layui-layim-search"></ul>',"</li>","</ul>",'<ul class="layui-unselect layui-layim-tool">','<li class="layui-icon layim-tool-search" layim-event="search" title="鎼滅储"></li>',"{{# if(d.base.msgbox){ }}",'<li class="layui-icon layim-tool-msgbox" layim-event="msgbox" title="娑堟伅鐩掑瓙"><span class="layui-anim"></span></li>',"{{# } }}","{{# if(d.base.find){ }}",'<li class="layui-icon layim-tool-find" layim-event="find" title="鏌ユ壘"></li>',"{{# } }}",'<li class="layui-icon layim-tool-skin" layim-event="skin" title="鏇存崲鑳屾櫙"></li>',"{{# if(!d.base.copyright){ }}",'<li class="layui-icon layim-tool-about" layim-event="about" title="鍏充簬"></li>',"{{# } }}","</ul>",'<div class="layui-layim-search"><input><label class="layui-icon" layim-event="closeSearch">ဇ</label></div>',"</div>"].join(""),m=['<ul class="layui-layim-skin">',"{{# layui.each(d.skin, function(index, item){ }}",'<li><img layim-event="setSkin" src="{{ item }}"></li>',"{{# }); }}",'<li layim-event="setSkin"><cite>绠�绾�</cite></li>',"</ul>"].join(""),f=['<div class="layim-chat layim-chat-{{d.data.type}}{{d.first ? " layui-show" : ""}}">','<div class="layui-unselect layim-chat-title">','<div class="layim-chat-other">','<img class="layim-{{ d.data.type }}{{ d.data.id }}" src="{{ d.data.avatar }}"><span class="layim-chat-username" layim-event="{{ d.data.type==="group" ? "groupMembers" : "" }}">{{ d.data.name||"浣氬悕" }} {{d.data.temporary ? "<cite>涓存椂浼氳瘽</cite>" : ""}} {{# if(d.data.type==="group"){ }} <em class="layim-chat-members"></em><i class="layui-icon"></i> {{# } }}</span>','<p class="layim-chat-status"></p>',"</div>","</div>",'<div class="layim-chat-main">',"<ul></ul>","</div>",'<div class="layim-chat-footer">','<div class="layui-unselect layim-chat-tool" data-json="{{encodeURIComponent(JSON.stringify(d.data))}}">','<span class="layui-icon layim-tool-face" title="閫夋嫨琛ㄦ儏" layim-event="face"></span>',"{{# if(d.base && d.base.uploadImage){ }}",'<span class="layui-icon layim-tool-image" title="涓婁紶鍥剧墖" layim-event="image"><input type="file" name="file"></span>',"{{# }; }}","{{# if(d.base && d.base.uploadFile){ }}",'<span class="layui-icon layim-tool-image" title="鍙戦�佹枃浠�" layim-event="image" data-type="file"><input type="file" name="file"></span>',"{{# }; }}","{{# if(d.base && d.base.isAudio){ }}",'<span class="layui-icon layim-tool-audio" title="鍙戦�佺綉缁滈煶棰�" layim-event="media" data-type="audio"></span>',"{{# }; }}","{{# if(d.base && d.base.isVideo){ }}",'<span class="layui-icon layim-tool-video" title="鍙戦�佺綉缁滆棰�" layim-event="media" data-type="video"></span>',"{{# }; }}","{{# layui.each(d.base.tool, function(index, item){ }}",'<span class="layui-icon layim-tool-{{item.alias}}" title="{{item.title}}" layim-event="extend" lay-filter="{{ item.alias }}">{{item.icon}}</span>',"{{# }); }}","{{# if(d.base && d.base.chatLog){ }}",'<span class="layim-tool-log" layim-event="chatLog"><i class="layui-icon"></i>鑱婂ぉ璁板綍</span>',"{{# }; }}","</div>",'<div class="layim-chat-textarea"><textarea></textarea></div>','<div class="layim-chat-bottom">','<div class="layim-chat-send">',"{{# if(!d.base.brief){ }}",'<span class="layim-send-close" layim-event="closeThisChat">鍏抽棴</span>',"{{# } }}",'<span class="layim-send-btn" layim-event="send">鍙戦��</span>','<span class="layim-send-set" layim-event="setSend" lay-type="show"><em class="layui-edge"></em></span>','<ul class="layui-anim layim-menu-box">','<li {{d.local.sendHotKey !== "Ctrl+Enter" ? "class=layim-this" : ""}} layim-event="setSend" lay-type="Enter"><i class="layui-icon"></i>鎸塃nter閿彂閫佹秷鎭�</li>','<li {{d.local.sendHotKey === "Ctrl+Enter" ? "class=layim-this" : ""}} layim-event="setSend" lay-type="Ctrl+Enter"><i class="layui-icon"></i>鎸塁trl+Enter閿彂閫佹秷鎭�</li>',"</ul>","</div>","</div>","</div>","</div>"].join(""),p=['<div class="layim-add-box">','<div class="layim-add-img"><img class="layui-circle" src="{{ d.data.avatar }}"><p>{{ d.data.name||"" }}</p></div>','<div class="layim-add-remark">','{{# if(d.data.type === "friend" && d.type === "setGroup"){ }}',"<p>閫夋嫨鍒嗙粍</p>",'{{# } if(d.data.type === "friend"){ }}','<select class="layui-select" id="LAY_layimGroup">',"{{# layui.each(d.data.group, function(index, item){ }}",'<option value="{{ item.id }}">{{ item.groupname }}</option>',"{{# }); }}","</select>","{{# } }}",'{{# if(d.data.type === "group"){ }}',"<p>璇疯緭鍏ラ獙璇佷俊鎭�</p>",'{{# } if(d.type !== "setGroup"){ }}','<textarea id="LAY_layimRemark" placeholder="楠岃瘉淇℃伅" class="layui-textarea"></textarea>',"{{# } }}","</div>","</div>"].join(""),h=['<li {{ d.mine ? "class=layim-chat-mine" : "" }} {{# if(d.cid){ }}data-cid="{{d.cid}}"{{# } }}>','<div class="layim-chat-user"><img src="{{ d.avatar }}"><cite>',"{{# if(d.mine){ }}",'<i>{{ layui.data.date(d.timestamp) }}</i>{{ d.username||"浣氬悕" }}',"{{# } else { }}",'{{ d.username||"浣氬悕" }}<i>{{ layui.data.date(d.timestamp) }}</i>',"{{# } }}","</cite></div>",'<div class="layim-chat-text">{{ layui.data.content(d.content||" ") }}</div>',"</li>"].join(""),v='<li class="layim-{{ d.data.type }}{{ d.data.id }} layim-chatlist-{{ d.data.type }}{{ d.data.id }} layim-this" layim-event="tabChat"><img src="{{ d.data.avatar }}"><span>{{ d.data.name||"浣氬悕" }}</span>{{# if(!d.base.brief){ }}<i class="layui-icon" layim-event="closeChat">ဇ</i>{{# } }}</li>',g=function(i){return i<10?"0"+(0|i):i};layui.data.date=function(i){var a=new Date(i||new Date);return a.getFullYear()+"-"+g(a.getMonth()+1)+"-"+g(a.getDate())+" "+g(a.getHours())+":"+g(a.getMinutes())+":"+g(a.getSeconds())},layui.data.content=function(i){var a=function(i){return new RegExp("\\n*\\["+(i||"")+"(code|pre|div|span|p|table|thead|th|tbody|tr|td|ul|li|ol|li|dl|dt|dd|h2|h3|h4|h5)([\\s\\S]*?)\\]\\n*","g")};return i=(i||"").replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/'/g,"'").replace(/"/g,""").replace(/@(\S+)(\s+?|$)/g,'@<a href="javascript:;">$1</a>$2').replace(/face\[([^\s\[\]]+?)\]/g,function(i){var a=i.replace(/^face/g,"");return'<img alt="'+a+'" title="'+a+'" src="'+X[a]+'">'}).replace(/img\[([^\s]+?)\]/g,function(i){return'<img class="layui-layim-photos" src="'+i.replace(/(^img\[)|(\]$)/g,"")+'">'}).replace(/file\([\s\S]+?\)\[[\s\S]*?\]/g,function(i){var a=(i.match(/file\(([\s\S]+?)\)\[/)||[])[1],e=(i.match(/\)\[([\s\S]*?)\]/)||[])[1];return a?'<a class="layui-layim-file" href="'+a+'" download target="_blank"><i class="layui-icon"></i><cite>'+(e||a)+"</cite></a>":i}).replace(/audio\[([^\s]+?)\]/g,function(i){return'<div class="layui-unselect layui-layim-audio" layim-event="playAudio" data-src="'+i.replace(/(^audio\[)|(\]$)/g,"")+'"><i class="layui-icon"></i><p>闊抽娑堟伅</p></div>'}).replace(/video\[([^\s]+?)\]/g,function(i){return'<div class="layui-unselect layui-layim-video" layim-event="playVideo" data-src="'+i.replace(/(^video\[)|(\]$)/g,"")+'"><i class="layui-icon"></i></div>'}).replace(/a\([\s\S]+?\)\[[\s\S]*?\]/g,function(i){var a=(i.match(/a\(([\s\S]+?)\)\[/)||[])[1],e=(i.match(/\)\[([\s\S]*?)\]/)||[])[1];return a?'<a href="'+a+'" target="_blank">'+(e||a)+"</a>":i}).replace(a(),"<$1 $2>").replace(a("/"),"</$1>").replace(/\n/g,"<br>")};var x,b,w,k,C,S=function(i,a,n){return i=i||{},e.ajax({url:i.url,type:i.type||"get",data:i.data,dataType:i.dataType||"json",cache:!1,success:function(i){0==i.code?a&&a(i.data||{}):t.msg(i.msg||(n||"Error")+": LAYIM_NOT_GET_DATA",{time:5e3})},error:function(i,a){window.console&&console.log&&console.error("LAYIM_DATE_ERROR锛�"+a)}})},j={message:{},chat:[]},H=function(i){var a=i.init||{};return mine=a.mine||{},local=layui.data("layim")[mine.id]||{},obj={base:i,local:local,mine:mine,history:local.history||{}},create=function(a){var t=a.mine||{},l=layui.data("layim")[t.id]||{},s={base:i,local:l,mine:t,friend:a.friend||[],group:a.group||[],history:l.history||{}};j=e.extend(j,s),L(n(y).render(s)),(l.close||i.min)&&T(),layui.each(r.ready,function(i,a){a&&a(s)})},j=e.extend(j,obj),i.brief?layui.each(r.ready,function(i,a){a&&a(obj)}):void(a.url?S(a,create,"INIT"):create(a))},L=function(i){return t.open({type:1,area:["260px","520px"],skin:"layui-box layui-layim",title:"​",offset:"rb",id:"layui-layim",shade:!1,anim:2,resize:!1,content:i,success:function(i){x=i,R(i),j.base.right&&i.css("margin-left","-"+j.base.right),b&&t.close(b.attr("times"));var a=[],n=i.find(".layim-list-history");n.find("li").each(function(){a.push(e(this).prop("outerHTML"))}),a.length>0&&(a.reverse(),n.html(a.join(""))),A(),ti.sign()},cancel:function(i){T();var a=layui.data("layim")[j.mine.id]||{};return a.close=!0,layui.data("layim",{key:j.mine.id,value:a}),!1}})},A=function(){x.on("contextmenu",function(i){return i.cancelBubble=!0,i.returnValue=!1,!1});var i=function(){t.closeAll("tips")};x.find(".layim-list-history").on("contextmenu","li",function(a){var n=e(this),l='<ul data-id="'+n[0].id+'" data-index="'+n.data("index")+'"><li layim-event="menuHistory" data-type="one">绉婚櫎璇ヤ細璇�</li><li layim-event="menuHistory" data-type="all">娓呯┖鍏ㄩ儴浼氳瘽鍒楄〃</li></ul>';n.hasClass("layim-null")||(t.tips(l,this,{tips:1,time:0,anim:5,fixed:!0,skin:"layui-box layui-layim-contextmenu",success:function(i){var a=function(i){ii(i)};i.off("mousedown",a).on("mousedown",a)}}),e(document).off("mousedown",i).on("mousedown",i),e(window).off("resize",i).on("resize",i))})},T=function(i){return b&&t.close(b.attr("times")),x&&x.hide(),j.mine=j.mine||{},t.open({type:1,title:!1,id:"layui-layim-close",skin:"layui-box layui-layim-min layui-layim-close",shade:!1,closeBtn:!1,anim:2,offset:"rb",resize:!1,content:'<img src="'+(j.mine.avatar||layui.cache.dir+"css/pc/layim/skin/logo.jpg")+'"><span>'+(i||j.base.title||"鎴戠殑LayIM")+"</span>",move:"#layui-layim-close img",success:function(i,a){b=i,j.base.right&&i.css("margin-left","-"+j.base.right),i.on("click",function(){t.close(a),x.show();var i=layui.data("layim")[j.mine.id]||{};delete i.close,layui.data("layim",{key:j.mine.id,value:i})})}})},z=function(i){i=i||{};var a=e("#layui-layim-chat"),l={data:i,base:j.base,local:j.local};if(!i.id)return t.msg("闈炴硶鐢ㄦ埛");if(a[0]){var s=w.find(".layim-chat-list"),o=s.find(".layim-chatlist-"+i.type+i.id),d=w.find(".layui-layer-max").hasClass("layui-layer-maxmin"),c=a.children(".layim-chat-box");return"none"===w.css("display")&&w.show(),k&&t.close(k.attr("times")),1!==s.find("li").length||o[0]||(d||w.css("width",800),s.css({height:w.height()}).show(),c.css("margin-left","200px")),o[0]||(s.append(n(v).render(l)),c.append(n(f).render(l)),I(i),E()),O(s.find(".layim-chatlist-"+i.type+i.id)),o[0]||U(),$(i),Q(),C}l.first=!0;var u=C=t.open({type:1,area:"600px",skin:"layui-box layui-layim-chat",id:"layui-layim-chat",title:"​",shade:!1,maxmin:!0,offset:i.offset||"auto",anim:i.anim||0,closeBtn:!j.base.brief&&1,content:n('<ul class="layui-unselect layim-chat-list">'+v+'</ul><div class="layim-chat-box">'+f+"</div>").render(l),success:function(a){w=a,a.css({"min-width":"500px","min-height":"420px"}),I(i),"function"==typeof i.success&&i.success(a),Q(),R(a),$(i),U(),q(),layui.each(r.chatChange,function(i,a){a&&a(_())}),a.on("dblclick",".layui-layim-photos",function(){var i=this.src;t.close(z.photosIndex),t.photos({photos:{data:[{alt:"澶у浘妯″紡",src:i}]},shade:.01,closeBtn:2,anim:0,resize:!1,success:function(i,a){z.photosIndex=a}})})},full:function(i){t.style(u,{width:"100%",height:"100%"},!0),E()},resizing:E,restore:E,min:function(){return N(),!1},end:function(){t.closeAll("tips"),w=null}});return u},I=function(i){e(".layim-"+i.type+i.id).each(function(){e(this).hasClass("layim-list-gray")&&layui.layim.setFriendStatus(i.id,"offline")})},E=function(){var i=w.find(".layim-chat-list"),a=w.find(".layim-chat-main"),e=w.height();i.css({height:e}),a.css({height:e-20-80-158})},N=function(i){var a=i||_().data,n=layui.layim.cache().base;w&&!i&&w.hide(),t.close(N.index),N.index=t.open({type:1,title:!1,skin:"layui-box layui-layim-min",shade:!1,closeBtn:!1,anim:a.anim||2,offset:"b",move:"#layui-layim-min",resize:!1,area:["182px","50px"],content:'<img id="layui-layim-min" src="'+a.avatar+'"><span>'+a.name+"</span>",success:function(a,l){i||(k=a),n.minRight&&t.style(l,{left:e(window).width()-a.outerWidth()-parseFloat(n.minRight)}),a.find(".layui-layer-content span").on("click",function(){t.close(l),i?layui.each(j.chat,function(i,a){z(a)}):w.show(),i&&(j.chat=[],Z())}),a.find(".layui-layer-content img").on("click",function(i){ii(i)})}})},M=function(i,a){return i=i||{},t.close(M.index),M.index=t.open({type:1,area:"430px",title:{friend:"娣诲姞濂藉弸",group:"鍔犲叆缇ょ粍"}[i.type]||"",shade:!1,resize:!1,btn:a?["纭","鍙栨秷"]:["鍙戦�佺敵璇�","鍏抽棴"],content:n(p).render({data:{name:i.username||i.groupname,avatar:i.avatar,group:i.group||parent.layui.layim.cache().friend||[],type:i.type},type:a}),yes:function(e,t){var n=t.find("#LAY_layimGroup"),l=t.find("#LAY_layimRemark");a?i.submit&&i.submit(n.val(),e):i.submit&&i.submit(n.val(),l.val(),e)}})},O=function(i,a){i=i||e(".layim-chat-list ."+o);var n=i.index()===-1?0:i.index(),l=".layim-chat",d=w.find(l).eq(n),c=w.find(".layui-layer-max").hasClass("layui-layer-maxmin");if(a){i.hasClass(o)&&O(0===n?i.next():i.prev());var u=w.find(l).length;return 1===u?t.close(C):(i.remove(),d.remove(),2===u&&(w.find(".layim-chat-list").hide(),c||w.css("width","600px"),w.find(".layim-chat-box").css("margin-left",0)),!1)}i.addClass(o).siblings().removeClass(o),d.addClass(s).siblings(l).removeClass(s),d.find("textarea").focus(),layui.each(r.chatChange,function(i,a){a&&a(_())}),q()},q=function(){var i=_(),a=j.message[i.data.type+i.data.id];a&&delete j.message[i.data.type+i.data.id]},_=c.prototype.thisChat=function(){if(w){var i=e(".layim-chat-list ."+o).index(),a=w.find(".layim-chat").eq(i),t=JSON.parse(decodeURIComponent(a.find(".layim-chat-tool").data("json")));return{elem:a,data:t,textarea:a.find("textarea")}}},R=function(i){var a=layui.data("layim")[j.mine.id]||{},e=a.skin;i.css({"background-image":e?"url("+e+")":function(){return j.base.initSkin?"url("+(layui.cache.dir+"css/modules/layim/skin/"+j.base.initSkin)+")":"none"}()})},$=function(i){var a=layui.data("layim")[j.mine.id]||{},e={},t=a.history||{},l=t[i.type+i.id];if(x){var s=x.find(".layim-list-history");if(i.historyTime=(new Date).getTime(),t[i.type+i.id]=i,a.history=t,layui.data("layim",{key:j.mine.id,value:a}),!l){e[i.type+i.id]=i;var o=n(u({type:"history",item:"d.data"})).render({data:e});s.prepend(o),s.find(".layim-null").remove()}}},D=function(){var i={username:j.mine?j.mine.username:"璁垮",avatar:j.mine?j.mine.avatar:layui.cache.dir+"css/pc/layim/skin/logo.jpg",id:j.mine?j.mine.id:null,mine:!0},a=_(),e=a.elem.find(".layim-chat-main ul"),l=j.base.maxLength||3e3;if(i.content=a.textarea.val(),""!==i.content.replace(/\s/g,"")){if(i.content.length>l)return t.msg("鍐呭鏈�闀夸笉鑳借秴杩�"+l+"涓瓧绗�");e.append(n(h).render(i));var s={mine:i,to:a.data},o={username:s.mine.username,avatar:s.mine.avatar,id:s.to.id,type:s.to.type,content:s.mine.content,timestamp:(new Date).getTime(),mine:!0};B(o),layui.each(r.sendMessage,function(i,a){a&&a(s)})}Z(),a.textarea.val("").focus()},J=function(i){if(i=i||{},window.Notification)if("granted"===Notification.permission){new Notification(i.title||"",{body:i.content||"",icon:i.avatar||"http://tp2.sinaimg.cn/5488749285/50/5719808192/1"})}else Notification.requestPermission()},F=function(){if(!(l.ie&&l.ie<9)){var i=document.createElement("audio");i.src=layui.cache.dir+"css/modules/layim/voice/"+j.base.voice,i.play()}},G={},K=function(i){i=i||{};var a=e(".layim-chatlist-"+i.type+i.id),t={},l=a.index();if(i.timestamp=i.timestamp||(new Date).getTime(),i.fromid==j.mine.id&&(i.mine=!0),i.system||B(i),G=JSON.parse(JSON.stringify(i)),j.base.voice&&F(),!w&&i.content||l===-1){if(j.message[i.type+i.id])j.message[i.type+i.id].push(i);else if(j.message[i.type+i.id]=[i],"friend"===i.type){var s;layui.each(j.friend,function(a,e){if(layui.each(e.list,function(a,e){if(e.id==i.id)return e.type="friend",e.name=e.username,j.chat.push(e),s=!0}),s)return!0}),s||(i.name=i.username,i.temporary=!0,j.chat.push(i))}else if("group"===i.type){var o;layui.each(j.group,function(a,e){if(e.id==i.id)return e.type="group",e.name=e.groupname,j.chat.push(e),o=!0}),o||(i.name=i.groupname,j.chat.push(i))}else i.name=i.name||i.username||i.groupname,j.chat.push(i);if("group"===i.type&&layui.each(j.group,function(a,e){if(e.id==i.id)return t.avatar=e.avatar,!0}),!i.system)return j.base.notice&&J({title:"鏉ヨ嚜 "+i.username+" 鐨勬秷鎭�",content:i.content,avatar:t.avatar||i.avatar}),N({name:"鏀跺埌鏂版秷鎭�",avatar:t.avatar||i.avatar,anim:6})}if(w){var d=_();d.data.type+d.data.id!==i.type+i.id&&(a.addClass("layui-anim layer-anim-06"),setTimeout(function(){a.removeClass("layui-anim layer-anim-06")},300));var r=w.find(".layim-chat").eq(l),c=r.find(".layim-chat-main ul");i.system?l!==-1&&c.append('<li class="layim-chat-system"><span>'+i.content+"</span></li>"):""!==i.content.replace(/\s/g,"")&&c.append(n(h).render(i)),Z()}},Y="layui-anim-loop layer-anim-05",V=function(i){var a=x.find(".layim-tool-msgbox");a.find("span").addClass(Y).html(i)},B=function(i){var a=layui.data("layim")[j.mine.id]||{};a.chatlog=a.chatlog||{};var e=a.chatlog[i.type+i.id];if(e){var t;layui.each(e,function(a,e){e.timestamp===i.timestamp&&e.type===i.type&&e.id===i.id&&e.content===i.content&&(t=!0)}),t||i.fromid==j.mine.id||e.push(i),e.length>d&&e.shift()}else a.chatlog[i.type+i.id]=[i];layui.data("layim",{key:j.mine.id,value:a})},U=function(){var i=layui.data("layim")[j.mine.id]||{},a=_(),e=i.chatlog||{},t=a.elem.find(".layim-chat-main ul");layui.each(e[a.data.type+a.data.id],function(i,a){t.append(n(h).render(a))}),Z()},P=function(i){var a,e={},l=x.find(".layim-list-"+i.type);if(j[i.type])if("friend"===i.type)layui.each(j.friend,function(n,l){if(i.groupid==l.id)return layui.each(j.friend[n].list,function(e,t){if(t.id==i.id)return a=!0}),a?t.msg("濂藉弸 ["+(i.username||"")+"] 宸茬粡瀛樺湪鍒楄〃涓�",{anim:6}):(j.friend[n].list=j.friend[n].list||[],e[j.friend[n].list.length]=i,i.groupIndex=n,j.friend[n].list.push(i),!0)});else if("group"===i.type){if(layui.each(j.group,function(e,t){if(t.id==i.id)return a=!0}),a)return t.msg("鎮ㄥ凡鏄� ["+(i.groupname||"")+"] 鐨勭兢鎴愬憳",{anim:6});e[j.group.length]=i,j.group.push(i)}if(!a){var s=n(u({type:i.type,item:"d.data",index:"friend"===i.type?"data.groupIndex":null})).render({data:e});if("friend"===i.type){var o=l.find(">li").eq(i.groupIndex);o.find(".layui-layim-list").append(s),o.find(".layim-count").html(j.friend[i.groupIndex].list.length),o.find(".layim-null")[0]&&o.find(".layim-null").remove()}else"group"===i.type&&(l.append(s),l.find(".layim-null")[0]&&l.find(".layim-null").remove())}},W=function(i){var a=x.find(".layim-list-"+i.type);j[i.type]&&("friend"===i.type?layui.each(j.friend,function(e,t){layui.each(t.list,function(t,n){if(i.id==n.id){var l=a.find(">li").eq(e);l.find(".layui-layim-list>li");return l.find(".layui-layim-list>li").eq(t).remove(),j.friend[e].list.splice(t,1),l.find(".layim-count").html(j.friend[e].list.length),0===j.friend[e].list.length&&l.find(".layui-layim-list").html('<li class="layim-null">璇ュ垎缁勪笅宸叉棤濂藉弸浜�</li>'),!0}})}):"group"===i.type&&layui.each(j.group,function(e,t){if(i.id==t.id)return a.find(">li").eq(e).remove(),j.group.splice(e,1),0===j.group.length&&a.html('<li class="layim-null">鏆傛棤缇ょ粍</li>'),!0}))},Z=function(){var i=_(),a=i.elem.find(".layim-chat-main"),e=a.find("ul"),t=e.find("li").length;if(t>=d){var n=e.find("li").eq(0);e.prev().hasClass("layim-chat-system")||e.before('<div class="layim-chat-system"><span layim-event="chatLog">鏌ョ湅鏇村璁板綍</span></div>'),t>d&&n.remove()}a.scrollTop(a[0].scrollHeight+1e3),a.find("ul li:last").find("img").load(function(){a.scrollTop(a[0].scrollHeight+1e3)})},Q=function(){var i=_(),a=i.textarea;a.focus(),a.off("keydown").on("keydown",function(i){var e=layui.data("layim")[j.mine.id]||{},t=i.keyCode;if("Ctrl+Enter"===e.sendHotKey)return void(i.ctrlKey&&13===t&&D());if(13===t){if(i.ctrlKey)return a.val(a.val()+"\n");if(i.shiftKey)return;i.preventDefault(),D()}})},X=function(){var i=["[寰瑧]","[鍢诲樆]","[鍝堝搱]","[鍙埍]","[鍙�淽","[鎸栭蓟]","[鍚冩儕]","[瀹崇緸]","[鎸ょ溂]","[闂槾]","[閯欒]","[鐖变綘]","[娉猐","[鍋风瑧]","[浜蹭翰]","[鐢熺梾]","[澶紑蹇僝","[鐧界溂]","[鍙冲摷鍝糫","[宸﹀摷鍝糫","[鍢榏","[琛癩","[濮斿眻]","[鍚怾","[鍝堟瑺]","[鎶辨姳]","[鎬抅","[鐤戦棶]","[棣嬪槾]","[鎷滄嫓]","[鎬濊�僝","[姹梋","[鍥癩","[鐫","[閽盷","[澶辨湜]","[閰穄","[鑹瞉","[鍝糫","[榧撴帉]","[鏅昡","[鎮蹭激]","[鎶撶媯]","[榛戠嚎]","[闃撮櫓]","[鎬掗獋]","[浜掔矇]","[蹇僝","[浼ゅ績]","[鐚ご]","[鐔婄尗]","[鍏斿瓙]","[ok]","[鑰禲","[good]","[NO]","[璧瀅","[鏉","[寮盷","[鑽夋偿椹琞","[绁為┈]","[鍥","[娴簯]","[缁欏姏]","[鍥磋]","[濞佹]","[濂ョ壒鏇糫","[绀肩墿]","[閽焆","[璇濈瓛]","[铚$儧]","[铔嬬硶]"],a={};return layui.each(i,function(i,e){a[e]=layui.cache.dir+"images/face/"+i+".gif"}),a}(),ii=layui.stope,ai=function(i,a){var e,t=i.value;i.focus(),document.selection?(e=document.selection.createRange(),document.selection.empty(),e.text=a):(e=[t.substring(0,i.selectionStart),a,t.substr(i.selectionEnd)],i.focus(),i.value=e.join(""))},ei="layui-anim-upbit",ti={status:function(i,a){var t=function(){i.next().hide().removeClass(ei)},n=i.attr("lay-type");if("show"===n)ii(a),i.next().show().addClass(ei),e(document).off("click",t).on("click",t);else{var l=i.parent().prev();i.addClass(o).siblings().removeClass(o),l.html(i.find("cite").html()),l.removeClass("layim-status-"+("online"===n?"hide":"online")).addClass("layim-status-"+n),layui.each(r.online,function(i,a){a&&a(n)})}},sign:function(){var i=x.find(".layui-layim-remark");i.on("change",function(){var i=this.value;layui.each(r.sign,function(a,e){e&&e(i)})}),i.on("keyup",function(i){var a=i.keyCode;13===a&&this.blur()})},tab:function(i){var a,e=".layim-tab-content",t=x.find(".layui-layim-tab>li");"number"==typeof i?(a=i,i=t.eq(a)):a=i.index(),a>2?t.removeClass(o):(ti.tab.index=a,i.addClass(o).siblings().removeClass(o)),x.find(e).eq(a).addClass(s).siblings(e).removeClass(s)},spread:function(i){var a=i.attr("lay-type"),e="true"===a?"false":"true",t=layui.data("layim")[j.mine.id]||{};i.next()["true"===a?"removeClass":"addClass"](s),t["spread"+i.parent().index()]=e,layui.data("layim",{key:j.mine.id,value:t}),i.attr("lay-type",e),i.find(".layui-icon").html("true"===e?"":"")},search:function(i){var a=x.find(".layui-layim-search"),e=x.find("#layui-layim-search"),t=a.find("input"),n=function(i){var a=t.val().replace(/\s/);if(""===a)ti.tab(0|ti.tab.index);else{for(var n=[],l=j.friend||[],s=j.group||[],o="",d=0;d<l.length;d++)for(var r=0;r<(l[d].list||[]).length;r++)l[d].list[r].username.indexOf(a)!==-1&&(l[d].list[r].type="friend",l[d].list[r].index=d,l[d].list[r].list=r,n.push(l[d].list[r]));for(var c=0;c<s.length;c++)s[c].groupname.indexOf(a)!==-1&&(s[c].type="group",s[c].index=c,s[c].list=c,n.push(s[c]));if(n.length>0)for(var u=0;u<n.length;u++)o+='<li layim-event="chat" data-type="'+n[u].type+'" data-index="'+n[u].index+'" data-list="'+n[u].list+'"><img src="'+n[u].avatar+'"><span>'+(n[u].username||n[u].groupname||"浣氬悕")+"</span><p>"+(n[u].remark||n[u].sign||"")+"</p></li>";else o='<li class="layim-null">鏃犳悳绱㈢粨鏋�</li>';e.html(o),ti.tab(3)}};!j.base.isfriend&&j.base.isgroup?ti.tab.index=1:j.base.isfriend||j.base.isgroup||(ti.tab.index=2),a.show(),t.focus(),t.off("keyup",n).on("keyup",n)},closeSearch:function(i){i.parent().hide(),ti.tab(0|ti.tab.index)},msgbox:function(){var i=x.find(".layim-tool-msgbox");return t.close(ti.msgbox.index),i.find("span").removeClass(Y).html(""),ti.msgbox.index=t.open({type:2,title:"娑堟伅鐩掑瓙",shade:!1,maxmin:!0,area:["600px","520px"],skin:"layui-box layui-layer-border",resize:!1,content:j.base.msgbox})},find:function(){return t.close(ti.find.index),ti.find.index=t.open({type:2,title:"鏌ユ壘",shade:!1,maxmin:!0,area:["1000px","520px"],skin:"layui-box layui-layer-border",resize:!1,content:j.base.find})},skin:function(){t.open({type:1,title:"鏇存崲鑳屾櫙",shade:!1,area:"300px",skin:"layui-box layui-layer-border",id:"layui-layim-skin",zIndex:66666666,resize:!1,content:n(m).render({skin:j.base.skin})})},about:function(){t.alert("鐗堟湰锛� "+a+'<br>鐗堟潈鎵�鏈夛細<a href="http://layim.layui.com" target="_blank">layim.layui.com</a>',{title:"鍏充簬 LayIM",shade:!1})},setSkin:function(i){var a=i.attr("src"),e=layui.data("layim")[j.mine.id]||{};e.skin=a,a||delete e.skin,layui.data("layim",{key:j.mine.id,value:e});try{x.css({"background-image":a?"url("+a+")":"none"}),w.css({"background-image":a?"url("+a+")":"none"})}catch(t){}layui.each(r.setSkin,function(i,e){var t=(a||"").replace(layui.cache.dir+"css/modules/layim/skin/","");e&&e(t,a)})},chat:function(i){var a=layui.data("layim")[j.mine.id]||{},e=i.data("type"),t=i.data("index"),n=i.attr("data-list")||i.index(),l={};"friend"===e?l=j[e][t].list[n]:"group"===e?l=j[e][n]:"history"===e&&(l=(a.history||{})[t]||{}),l.name=l.name||l.username||l.groupname,"history"!==e&&(l.type=e),z(l)},tabChat:function(i){O(i)},closeChat:function(i,a){O(i.parent(),1),ii(a)},closeThisChat:function(){O(null,1)},groupMembers:function(i,a){var n=i.find(".layui-icon"),l=function(){n.html(""),i.data("down",null),t.close(ti.groupMembers.index)},s=function(i){ii(i)};i.data("down")?l():(n.html(""),i.data("down",!0),ti.groupMembers.index=t.tips('<ul class="layim-members-list"></ul>',i,{tips:3,time:0,anim:5,fixed:!0,skin:"layui-box layui-layim-members",success:function(a){var t=j.base.members||{},n=_(),s=a.find(".layim-members-list"),o="",d={},c=w.find(".layui-layer-max").hasClass("layui-layer-maxmin"),u="none"===w.find(".layim-chat-list").css("display");c&&s.css({width:e(window).width()-22-(u||200)}),t.data=e.extend(t.data,{id:n.data.id}),S(t,function(a){layui.each(a.list,function(i,a){o+='<li data-uid="'+a.id+'"><a href="javascript:;"><img src="'+a.avatar+'"><cite>'+a.username+"</cite></a></li>",d[a.id]=a}),s.html(o),i.find(".layim-chat-members").html(a.members||(a.list||[]).length+"浜�"),s.find("li").on("click",function(){var i=e(this).data("uid"),a=d[i];z({name:a.username,type:"friend",avatar:a.avatar,id:a.id}),l()}),layui.each(r.members,function(i,e){e&&e(a)})}),a.on("mousedown",function(i){ii(i)})}}),e(document).off("mousedown",l).on("mousedown",l),e(window).off("resize",l).on("resize",l),i.off("mousedown",s).on("mousedown",s))},send:function(){D()},setSend:function(i,a){var t=ti.setSend.box=i.siblings(".layim-menu-box"),n=i.attr("lay-type");if("show"===n)ii(a),t.show().addClass(ei),e(document).off("click",ti.setSendHide).on("click",ti.setSendHide);else{i.addClass(o).siblings().removeClass(o);var l=layui.data("layim")[j.mine.id]||{};l.sendHotKey=n,layui.data("layim",{key:j.mine.id,value:l}),ti.setSendHide(a,i.parent())}},setSendHide:function(i,a){(a||ti.setSend.box).hide().removeClass(ei)},face:function(i,a){var n="",l=_();for(var s in X)n+='<li title="'+s+'"><img src="'+X[s]+'"></li>';n='<ul class="layui-clear layim-face-list">'+n+"</ul>",ti.face.index=t.tips(n,i,{tips:1,time:0,fixed:!0,skin:"layui-box layui-layim-face",success:function(i){i.find(".layim-face-list>li").on("mousedown",function(i){ii(i)}).on("click",function(){ai(l.textarea[0],"face"+this.title+" "),t.close(ti.face.index);
+})}}),e(document).off("mousedown",ti.faceHide).on("mousedown",ti.faceHide),e(window).off("resize",ti.faceHide).on("resize",ti.faceHide),ii(a)},faceHide:function(){t.close(ti.face.index)},image:function(i){var a=i.data("type")||"images",e={images:"uploadImage",file:"uploadFile"},n=_(),l=j.base[e[a]]||{};layui.upload.render({url:l.url||"",method:l.type,elem:i.find("input")[0],accept:a,done:function(i){0==i.code?(i.data=i.data||{},"images"===a?ai(n.textarea[0],"img["+(i.data.src||"")+"]"):"file"===a&&ai(n.textarea[0],"file("+(i.data.src||"")+")["+(i.data.name||"涓嬭浇鏂囦欢")+"]"),D()):t.msg(i.msg||"涓婁紶澶辫触")}})},media:function(i){var a=i.data("type"),n={audio:"闊抽",video:"瑙嗛"},l=_();t.prompt({title:"璇疯緭鍏ョ綉缁�"+n[a]+"鍦板潃",shade:!1,offset:[i.offset().top-e(window).scrollTop()-158+"px",i.offset().left+"px"]},function(i,e){ai(l.textarea[0],a+"["+i+"]"),D(),t.close(e)})},extend:function(i){var a=i.attr("lay-filter"),e=_();layui.each(r["tool("+a+")"],function(a,t){t&&t.call(i,function(i){ai(e.textarea[0],i)},D,e)})},playAudio:function(i){var a=i.data("audio"),e=a||document.createElement("audio"),n=function(){e.pause(),i.removeAttr("status"),i.find("i").html("")};return i.data("error")?t.msg("鎾斁闊抽婧愬紓甯�"):e.play?void(i.attr("status")?n():(a||(e.src=i.data("src")),e.play(),i.attr("status","pause"),i.data("audio",e),i.find("i").html(""),e.onended=function(){n()},e.onerror=function(){t.msg("鎾斁闊抽婧愬紓甯�"),i.data("error",!0),n()})):t.msg("鎮ㄧ殑娴忚鍣ㄤ笉鏀寔audio")},playVideo:function(i){var a=i.data("src"),e=document.createElement("video");return e.play?(t.close(ti.playVideo.index),void(ti.playVideo.index=t.open({type:1,title:"鎾斁瑙嗛",area:["460px","300px"],maxmin:!0,shade:!1,content:'<div style="background-color: #000; height: 100%;"><video style="position: absolute; width: 100%; height: 100%;" src="'+a+'" loop="loop" autoplay="autoplay"></video></div>'}))):t.msg("鎮ㄧ殑娴忚鍣ㄤ笉鏀寔video")},chatLog:function(i){var a=_();return j.base.chatLog?(t.close(ti.chatLog.index),ti.chatLog.index=t.open({type:2,maxmin:!0,title:"涓� "+a.data.name+" 鐨勮亰澶╄褰�",area:["450px","100%"],shade:!1,offset:"rb",skin:"layui-box",anim:2,id:"layui-layim-chatlog",content:j.base.chatLog+"?id="+a.data.id+"&type="+a.data.type})):t.msg("鏈紑鍚洿澶氳亰澶╄褰�")},menuHistory:function(i,a){var n=layui.data("layim")[j.mine.id]||{},l=i.parent(),s=i.data("type"),o=x.find(".layim-list-history"),d='<li class="layim-null">鏆傛棤鍘嗗彶浼氳瘽</li>';if("one"===s){var r=n.history;delete r[l.data("index")],n.history=r,layui.data("layim",{key:j.mine.id,value:n}),e("#"+l.data("id")).remove(),0===o.find("li").length&&o.html(d)}else"all"===s&&(delete n.history,layui.data("layim",{key:j.mine.id,value:n}),o.html(d));t.closeAll("tips")}};i("layim",new c)}).addcss("modules/layim/layim.css?v=3.7.7","skinlayimcss");
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/laypage.js b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/laypage.js
new file mode 100644
index 0000000..2cf64d5
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/laypage.js
@@ -0,0 +1,2 @@
+/** layui-v2.3.0 MIT License By https://www.layui.com */
+ ;layui.define(function(e){"use strict";var a=document,t="getElementById",n="getElementsByTagName",i="laypage",r="layui-disabled",u=function(e){var a=this;a.config=e||{},a.config.index=++s.index,a.render(!0)};u.prototype.type=function(){var e=this.config;if("object"==typeof e.elem)return void 0===e.elem.length?2:3},u.prototype.view=function(){var e=this,a=e.config,t=a.groups="groups"in a?0|a.groups:5;a.layout="object"==typeof a.layout?a.layout:["prev","page","next"],a.count=0|a.count,a.curr=0|a.curr||1,a.limits="object"==typeof a.limits?a.limits:[10,20,30,40,50],a.limit=0|a.limit||10,a.pages=Math.ceil(a.count/a.limit)||1,a.curr>a.pages&&(a.curr=a.pages),t<0?t=1:t>a.pages&&(t=a.pages),a.prev="prev"in a?a.prev:"上一页",a.next="next"in a?a.next:"下一页";var n=a.pages>t?Math.ceil((a.curr+(t>1?1:0))/(t>0?t:1)):1,i={prev:function(){return a.prev?'<a href="javascript:;" class="layui-laypage-prev'+(1==a.curr?" "+r:"")+'" data-page="'+(a.curr-1)+'">'+a.prev+"</a>":""}(),page:function(){var e=[];if(a.count<1)return"";n>1&&a.first!==!1&&0!==t&&e.push('<a href="javascript:;" class="layui-laypage-first" data-page="1" title="首页">'+(a.first||1)+"</a>");var i=Math.floor((t-1)/2),r=n>1?a.curr-i:1,u=n>1?function(){var e=a.curr+(t-i-1);return e>a.pages?a.pages:e}():t;for(u-r<t-1&&(r=u-t+1),a.first!==!1&&r>2&&e.push('<span class="layui-laypage-spr">…</span>');r<=u;r++)r===a.curr?e.push('<span class="layui-laypage-curr"><em class="layui-laypage-em" '+(/^#/.test(a.theme)?'style="background-color:'+a.theme+';"':"")+"></em><em>"+r+"</em></span>"):e.push('<a href="javascript:;" data-page="'+r+'">'+r+"</a>");return a.pages>t&&a.pages>u&&a.last!==!1&&(u+1<a.pages&&e.push('<span class="layui-laypage-spr">…</span>'),0!==t&&e.push('<a href="javascript:;" class="layui-laypage-last" title="尾页" data-page="'+a.pages+'">'+(a.last||a.pages)+"</a>")),e.join("")}(),next:function(){return a.next?'<a href="javascript:;" class="layui-laypage-next'+(a.curr==a.pages?" "+r:"")+'" data-page="'+(a.curr+1)+'">'+a.next+"</a>":""}(),count:'<span class="layui-laypage-count">鍏� '+a.count+" 鏉�</span>",limit:function(){var e=['<span class="layui-laypage-limits"><select lay-ignore>'];return layui.each(a.limits,function(t,n){e.push('<option value="'+n+'"'+(n===a.limit?"selected":"")+">"+n+" 鏉�/椤�</option>")}),e.join("")+"</select></span>"}(),refresh:['<a href="javascript:;" data-page="'+a.curr+'" class="layui-laypage-refresh">','<i class="layui-icon layui-icon-refresh"></i>',"</a>"].join(""),skip:function(){return['<span class="layui-laypage-skip">到第','<input type="text" min="1" value="'+a.curr+'" class="layui-input">','页<button type="button" class="layui-laypage-btn">确定</button>',"</span>"].join("")}()};return['<div class="layui-box layui-laypage layui-laypage-'+(a.theme?/^#/.test(a.theme)?"molv":a.theme:"default")+'" id="layui-laypage-'+a.index+'">',function(){var e=[];return layui.each(a.layout,function(a,t){i[t]&&e.push(i[t])}),e.join("")}(),"</div>"].join("")},u.prototype.jump=function(e,a){if(e){var t=this,i=t.config,r=e.children,u=e[n]("button")[0],l=e[n]("input")[0],p=e[n]("select")[0],c=function(){var e=0|l.value.replace(/\s|\D/g,"");e&&(i.curr=e,t.render())};if(a)return c();for(var o=0,y=r.length;o<y;o++)"a"===r[o].nodeName.toLowerCase()&&s.on(r[o],"click",function(){var e=0|this.getAttribute("data-page");e<1||e>i.pages||(i.curr=e,t.render())});p&&s.on(p,"change",function(){var e=this.value;i.curr*e>i.count&&(i.curr=Math.ceil(i.count/e)),i.limit=e,t.render()}),u&&s.on(u,"click",function(){c()})}},u.prototype.skip=function(e){if(e){var a=this,t=e[n]("input")[0];t&&s.on(t,"keyup",function(t){var n=this.value,i=t.keyCode;/^(37|38|39|40)$/.test(i)||(/\D/.test(n)&&(this.value=n.replace(/\D/,"")),13===i&&a.jump(e,!0))})}},u.prototype.render=function(e){var n=this,i=n.config,r=n.type(),u=n.view();2===r?i.elem&&(i.elem.innerHTML=u):3===r?i.elem.html(u):a[t](i.elem)&&(a[t](i.elem).innerHTML=u),i.jump&&i.jump(i,e);var s=a[t]("layui-laypage-"+i.index);n.jump(s),i.hash&&!e&&(location.hash="!"+i.hash+"="+i.curr),n.skip(s)};var s={render:function(e){var a=new u(e);return a.index},index:layui.laypage?layui.laypage.index+1e4:0,on:function(e,a,t){return e.attachEvent?e.attachEvent("on"+a,function(a){a.target=a.srcElement,t.call(e,a)}):e.addEventListener(a,t,!1),this}};e(i,s)});
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/laytpl.js b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/laytpl.js
new file mode 100644
index 0000000..9e694d7
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/laytpl.js
@@ -0,0 +1,2 @@
+/** layui-v2.3.0 MIT License By https://www.layui.com */
+ ;layui.define(function(e){"use strict";var r={open:"{{",close:"}}"},c={exp:function(e){return new RegExp(e,"g")},query:function(e,c,t){var o=["#([\\s\\S])+?","([^{#}])*?"][e||0];return n((c||"")+r.open+o+r.close+(t||""))},escape:function(e){return String(e||"").replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/'/g,"'").replace(/"/g,""")},error:function(e,r){var c="Laytpl Error锛�";return"object"==typeof console&&console.error(c+e+"\n"+(r||"")),c+e}},n=c.exp,t=function(e){this.tpl=e};t.pt=t.prototype,window.errors=0,t.pt.parse=function(e,t){var o=this,p=e,a=n("^"+r.open+"#",""),l=n(r.close+"$","");e=e.replace(/\s+|\r|\t|\n/g," ").replace(n(r.open+"#"),r.open+"# ").replace(n(r.close+"}"),"} "+r.close).replace(/\\/g,"\\\\").replace(n(r.open+"!(.+?)!"+r.close),function(e){return e=e.replace(n("^"+r.open+"!"),"").replace(n("!"+r.close),"").replace(n(r.open+"|"+r.close),function(e){return e.replace(/(.)/g,"\\$1")})}).replace(/(?="|')/g,"\\").replace(c.query(),function(e){return e=e.replace(a,"").replace(l,""),'";'+e.replace(/\\/g,"")+';view+="'}).replace(c.query(1),function(e){var c='"+(';return e.replace(/\s/g,"")===r.open+r.close?"":(e=e.replace(n(r.open+"|"+r.close),""),/^=/.test(e)&&(e=e.replace(/^=/,""),c='"+_escape_('),c+e.replace(/\\/g,"")+')+"')}),e='"use strict";var view = "'+e+'";return view;';try{return o.cache=e=new Function("d, _escape_",e),e(t,c.escape)}catch(u){return delete o.cache,c.error(u,p)}},t.pt.render=function(e,r){var n,t=this;return e?(n=t.cache?t.cache(e,c.escape):t.parse(t.tpl,e),r?void r(n):n):c.error("no data")};var o=function(e){return"string"!=typeof e?c.error("Template not found"):new t(e)};o.config=function(e){e=e||{};for(var c in e)r[c]=e[c]},o.v="1.2.0",e("laytpl",o)});
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/mobile.js b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/mobile.js
new file mode 100644
index 0000000..f0210eb
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/mobile.js
@@ -0,0 +1,2 @@
+/** layui-v2.3.0 MIT License By https://www.layui.com */
+ ;layui.define(function(i){i("layui.mobile",layui.v)});layui.define(function(e){"use strict";var r={open:"{{",close:"}}"},c={exp:function(e){return new RegExp(e,"g")},query:function(e,c,t){var o=["#([\\s\\S])+?","([^{#}])*?"][e||0];return n((c||"")+r.open+o+r.close+(t||""))},escape:function(e){return String(e||"").replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/'/g,"'").replace(/"/g,""")},error:function(e,r){var c="Laytpl Error锛�";return"object"==typeof console&&console.error(c+e+"\n"+(r||"")),c+e}},n=c.exp,t=function(e){this.tpl=e};t.pt=t.prototype,window.errors=0,t.pt.parse=function(e,t){var o=this,p=e,a=n("^"+r.open+"#",""),l=n(r.close+"$","");e=e.replace(/\s+|\r|\t|\n/g," ").replace(n(r.open+"#"),r.open+"# ").replace(n(r.close+"}"),"} "+r.close).replace(/\\/g,"\\\\").replace(n(r.open+"!(.+?)!"+r.close),function(e){return e=e.replace(n("^"+r.open+"!"),"").replace(n("!"+r.close),"").replace(n(r.open+"|"+r.close),function(e){return e.replace(/(.)/g,"\\$1")})}).replace(/(?="|')/g,"\\").replace(c.query(),function(e){return e=e.replace(a,"").replace(l,""),'";'+e.replace(/\\/g,"")+';view+="'}).replace(c.query(1),function(e){var c='"+(';return e.replace(/\s/g,"")===r.open+r.close?"":(e=e.replace(n(r.open+"|"+r.close),""),/^=/.test(e)&&(e=e.replace(/^=/,""),c='"+_escape_('),c+e.replace(/\\/g,"")+')+"')}),e='"use strict";var view = "'+e+'";return view;';try{return o.cache=e=new Function("d, _escape_",e),e(t,c.escape)}catch(u){return delete o.cache,c.error(u,p)}},t.pt.render=function(e,r){var n,t=this;return e?(n=t.cache?t.cache(e,c.escape):t.parse(t.tpl,e),r?void r(n):n):c.error("no data")};var o=function(e){return"string"!=typeof e?c.error("Template not found"):new t(e)};o.config=function(e){e=e||{};for(var c in e)r[c]=e[c]},o.v="1.2.0",e("laytpl",o)});layui.define(function(e){"use strict";var t=(window,document),i="querySelectorAll",n="getElementsByClassName",a=function(e){return t[i](e)},s={type:0,shade:!0,shadeClose:!0,fixed:!0,anim:"scale"},l={extend:function(e){var t=JSON.parse(JSON.stringify(s));for(var i in e)t[i]=e[i];return t},timer:{},end:{}};l.touch=function(e,t){e.addEventListener("click",function(e){t.call(this,e)},!1)};var o=0,r=["layui-m-layer"],d=function(e){var t=this;t.config=l.extend(e),t.view()};d.prototype.view=function(){var e=this,i=e.config,s=t.createElement("div");e.id=s.id=r[0]+o,s.setAttribute("class",r[0]+" "+r[0]+(i.type||0)),s.setAttribute("index",o);var l=function(){var e="object"==typeof i.title;return i.title?'<h3 style="'+(e?i.title[1]:"")+'">'+(e?i.title[0]:i.title)+"</h3>":""}(),d=function(){"string"==typeof i.btn&&(i.btn=[i.btn]);var e,t=(i.btn||[]).length;return 0!==t&&i.btn?(e='<span yes type="1">'+i.btn[0]+"</span>",2===t&&(e='<span no type="0">'+i.btn[1]+"</span>"+e),'<div class="layui-m-layerbtn">'+e+"</div>"):""}();if(i.fixed||(i.top=i.hasOwnProperty("top")?i.top:100,i.style=i.style||"",i.style+=" top:"+(t.body.scrollTop+i.top)+"px"),2===i.type&&(i.content='<i></i><i class="layui-m-layerload"></i><i></i><p>'+(i.content||"")+"</p>"),i.skin&&(i.anim="up"),"msg"===i.skin&&(i.shade=!1),s.innerHTML=(i.shade?"<div "+("string"==typeof i.shade?'style="'+i.shade+'"':"")+' class="layui-m-layershade"></div>':"")+'<div class="layui-m-layermain" '+(i.fixed?"":'style="position:static;"')+'><div class="layui-m-layersection"><div class="layui-m-layerchild '+(i.skin?"layui-m-layer-"+i.skin+" ":"")+(i.className?i.className:"")+" "+(i.anim?"layui-m-anim-"+i.anim:"")+'" '+(i.style?'style="'+i.style+'"':"")+">"+l+'<div class="layui-m-layercont">'+i.content+"</div>"+d+"</div></div></div>",!i.type||2===i.type){var y=t[n](r[0]+i.type),u=y.length;u>=1&&c.close(y[0].getAttribute("index"))}document.body.appendChild(s);var m=e.elem=a("#"+e.id)[0];i.success&&i.success(m),e.index=o++,e.action(i,m)},d.prototype.action=function(e,t){var i=this;e.time&&(l.timer[i.index]=setTimeout(function(){c.close(i.index)},1e3*e.time));var a=function(){var t=this.getAttribute("type");0==t?(e.no&&e.no(),c.close(i.index)):e.yes?e.yes(i.index):c.close(i.index)};if(e.btn)for(var s=t[n]("layui-m-layerbtn")[0].children,o=s.length,r=0;r<o;r++)l.touch(s[r],a);if(e.shade&&e.shadeClose){var d=t[n]("layui-m-layershade")[0];l.touch(d,function(){c.close(i.index,e.end)})}e.end&&(l.end[i.index]=e.end)};var c={v:"2.0 m",index:o,open:function(e){var t=new d(e||{});return t.index},close:function(e){var i=a("#"+r[0]+e)[0];i&&(i.innerHTML="",t.body.removeChild(i),clearTimeout(l.timer[e]),delete l.timer[e],"function"==typeof l.end[e]&&l.end[e](),delete l.end[e])},closeAll:function(){for(var e=t[n](r[0]),i=0,a=e.length;i<a;i++)c.close(0|e[0].getAttribute("index"))}};e("layer-mobile",c)});layui.define(function(t){var e=function(){function t(t){return null==t?String(t):J[W.call(t)]||"object"}function e(e){return"function"==t(e)}function n(t){return null!=t&&t==t.window}function r(t){return null!=t&&t.nodeType==t.DOCUMENT_NODE}function i(e){return"object"==t(e)}function o(t){return i(t)&&!n(t)&&Object.getPrototypeOf(t)==Object.prototype}function a(t){var e=!!t&&"length"in t&&t.length,r=T.type(t);return"function"!=r&&!n(t)&&("array"==r||0===e||"number"==typeof e&&e>0&&e-1 in t)}function s(t){return A.call(t,function(t){return null!=t})}function u(t){return t.length>0?T.fn.concat.apply([],t):t}function c(t){return t.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function l(t){return t in F?F[t]:F[t]=new RegExp("(^|\\s)"+t+"(\\s|$)")}function f(t,e){return"number"!=typeof e||k[c(t)]?e:e+"px"}function h(t){var e,n;return $[t]||(e=L.createElement(t),L.body.appendChild(e),n=getComputedStyle(e,"").getPropertyValue("display"),e.parentNode.removeChild(e),"none"==n&&(n="block"),$[t]=n),$[t]}function p(t){return"children"in t?D.call(t.children):T.map(t.childNodes,function(t){if(1==t.nodeType)return t})}function d(t,e){var n,r=t?t.length:0;for(n=0;n<r;n++)this[n]=t[n];this.length=r,this.selector=e||""}function m(t,e,n){for(j in e)n&&(o(e[j])||Q(e[j]))?(o(e[j])&&!o(t[j])&&(t[j]={}),Q(e[j])&&!Q(t[j])&&(t[j]=[]),m(t[j],e[j],n)):e[j]!==E&&(t[j]=e[j])}function v(t,e){return null==e?T(t):T(t).filter(e)}function g(t,n,r,i){return e(n)?n.call(t,r,i):n}function y(t,e,n){null==n?t.removeAttribute(e):t.setAttribute(e,n)}function x(t,e){var n=t.className||"",r=n&&n.baseVal!==E;return e===E?r?n.baseVal:n:void(r?n.baseVal=e:t.className=e)}function b(t){try{return t?"true"==t||"false"!=t&&("null"==t?null:+t+""==t?+t:/^[\[\{]/.test(t)?T.parseJSON(t):t):t}catch(e){return t}}function w(t,e){e(t);for(var n=0,r=t.childNodes.length;n<r;n++)w(t.childNodes[n],e)}var E,j,T,S,C,N,O=[],P=O.concat,A=O.filter,D=O.slice,L=window.document,$={},F={},k={"column-count":1,columns:1,"font-weight":1,"line-height":1,opacity:1,"z-index":1,zoom:1},M=/^\s*<(\w+|!)[^>]*>/,R=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,z=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Z=/^(?:body|html)$/i,q=/([A-Z])/g,H=["val","css","html","text","data","width","height","offset"],I=["after","prepend","before","append"],V=L.createElement("table"),_=L.createElement("tr"),B={tr:L.createElement("tbody"),tbody:V,thead:V,tfoot:V,td:_,th:_,"*":L.createElement("div")},U=/complete|loaded|interactive/,X=/^[\w-]*$/,J={},W=J.toString,Y={},G=L.createElement("div"),K={tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},Q=Array.isArray||function(t){return t instanceof Array};return Y.matches=function(t,e){if(!e||!t||1!==t.nodeType)return!1;var n=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.matchesSelector;if(n)return n.call(t,e);var r,i=t.parentNode,o=!i;return o&&(i=G).appendChild(t),r=~Y.qsa(i,e).indexOf(t),o&&G.removeChild(t),r},C=function(t){return t.replace(/-+(.)?/g,function(t,e){return e?e.toUpperCase():""})},N=function(t){return A.call(t,function(e,n){return t.indexOf(e)==n})},Y.fragment=function(t,e,n){var r,i,a;return R.test(t)&&(r=T(L.createElement(RegExp.$1))),r||(t.replace&&(t=t.replace(z,"<$1></$2>")),e===E&&(e=M.test(t)&&RegExp.$1),e in B||(e="*"),a=B[e],a.innerHTML=""+t,r=T.each(D.call(a.childNodes),function(){a.removeChild(this)})),o(n)&&(i=T(r),T.each(n,function(t,e){H.indexOf(t)>-1?i[t](e):i.attr(t,e)})),r},Y.Z=function(t,e){return new d(t,e)},Y.isZ=function(t){return t instanceof Y.Z},Y.init=function(t,n){var r;if(!t)return Y.Z();if("string"==typeof t)if(t=t.trim(),"<"==t[0]&&M.test(t))r=Y.fragment(t,RegExp.$1,n),t=null;else{if(n!==E)return T(n).find(t);r=Y.qsa(L,t)}else{if(e(t))return T(L).ready(t);if(Y.isZ(t))return t;if(Q(t))r=s(t);else if(i(t))r=[t],t=null;else if(M.test(t))r=Y.fragment(t.trim(),RegExp.$1,n),t=null;else{if(n!==E)return T(n).find(t);r=Y.qsa(L,t)}}return Y.Z(r,t)},T=function(t,e){return Y.init(t,e)},T.extend=function(t){var e,n=D.call(arguments,1);return"boolean"==typeof t&&(e=t,t=n.shift()),n.forEach(function(n){m(t,n,e)}),t},Y.qsa=function(t,e){var n,r="#"==e[0],i=!r&&"."==e[0],o=r||i?e.slice(1):e,a=X.test(o);return t.getElementById&&a&&r?(n=t.getElementById(o))?[n]:[]:1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType?[]:D.call(a&&!r&&t.getElementsByClassName?i?t.getElementsByClassName(o):t.getElementsByTagName(e):t.querySelectorAll(e))},T.contains=L.documentElement.contains?function(t,e){return t!==e&&t.contains(e)}:function(t,e){for(;e&&(e=e.parentNode);)if(e===t)return!0;return!1},T.type=t,T.isFunction=e,T.isWindow=n,T.isArray=Q,T.isPlainObject=o,T.isEmptyObject=function(t){var e;for(e in t)return!1;return!0},T.isNumeric=function(t){var e=Number(t),n=typeof t;return null!=t&&"boolean"!=n&&("string"!=n||t.length)&&!isNaN(e)&&isFinite(e)||!1},T.inArray=function(t,e,n){return O.indexOf.call(e,t,n)},T.camelCase=C,T.trim=function(t){return null==t?"":String.prototype.trim.call(t)},T.uuid=0,T.support={},T.expr={},T.noop=function(){},T.map=function(t,e){var n,r,i,o=[];if(a(t))for(r=0;r<t.length;r++)n=e(t[r],r),null!=n&&o.push(n);else for(i in t)n=e(t[i],i),null!=n&&o.push(n);return u(o)},T.each=function(t,e){var n,r;if(a(t)){for(n=0;n<t.length;n++)if(e.call(t[n],n,t[n])===!1)return t}else for(r in t)if(e.call(t[r],r,t[r])===!1)return t;return t},T.grep=function(t,e){return A.call(t,e)},window.JSON&&(T.parseJSON=JSON.parse),T.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){J["[object "+e+"]"]=e.toLowerCase()}),T.fn={constructor:Y.Z,length:0,forEach:O.forEach,reduce:O.reduce,push:O.push,sort:O.sort,splice:O.splice,indexOf:O.indexOf,concat:function(){var t,e,n=[];for(t=0;t<arguments.length;t++)e=arguments[t],n[t]=Y.isZ(e)?e.toArray():e;return P.apply(Y.isZ(this)?this.toArray():this,n)},map:function(t){return T(T.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return T(D.apply(this,arguments))},ready:function(t){return U.test(L.readyState)&&L.body?t(T):L.addEventListener("DOMContentLoaded",function(){t(T)},!1),this},get:function(t){return t===E?D.call(this):this[t>=0?t:t+this.length]},toArray:function(){return this.get()},size:function(){return this.length},remove:function(){return this.each(function(){null!=this.parentNode&&this.parentNode.removeChild(this)})},each:function(t){return O.every.call(this,function(e,n){return t.call(e,n,e)!==!1}),this},filter:function(t){return e(t)?this.not(this.not(t)):T(A.call(this,function(e){return Y.matches(e,t)}))},add:function(t,e){return T(N(this.concat(T(t,e))))},is:function(t){return this.length>0&&Y.matches(this[0],t)},not:function(t){var n=[];if(e(t)&&t.call!==E)this.each(function(e){t.call(this,e)||n.push(this)});else{var r="string"==typeof t?this.filter(t):a(t)&&e(t.item)?D.call(t):T(t);this.forEach(function(t){r.indexOf(t)<0&&n.push(t)})}return T(n)},has:function(t){return this.filter(function(){return i(t)?T.contains(this,t):T(this).find(t).size()})},eq:function(t){return t===-1?this.slice(t):this.slice(t,+t+1)},first:function(){var t=this[0];return t&&!i(t)?t:T(t)},last:function(){var t=this[this.length-1];return t&&!i(t)?t:T(t)},find:function(t){var e,n=this;return e=t?"object"==typeof t?T(t).filter(function(){var t=this;return O.some.call(n,function(e){return T.contains(e,t)})}):1==this.length?T(Y.qsa(this[0],t)):this.map(function(){return Y.qsa(this,t)}):T()},closest:function(t,e){var n=[],i="object"==typeof t&&T(t);return this.each(function(o,a){for(;a&&!(i?i.indexOf(a)>=0:Y.matches(a,t));)a=a!==e&&!r(a)&&a.parentNode;a&&n.indexOf(a)<0&&n.push(a)}),T(n)},parents:function(t){for(var e=[],n=this;n.length>0;)n=T.map(n,function(t){if((t=t.parentNode)&&!r(t)&&e.indexOf(t)<0)return e.push(t),t});return v(e,t)},parent:function(t){return v(N(this.pluck("parentNode")),t)},children:function(t){return v(this.map(function(){return p(this)}),t)},contents:function(){return this.map(function(){return this.contentDocument||D.call(this.childNodes)})},siblings:function(t){return v(this.map(function(t,e){return A.call(p(e.parentNode),function(t){return t!==e})}),t)},empty:function(){return this.each(function(){this.innerHTML=""})},pluck:function(t){return T.map(this,function(e){return e[t]})},show:function(){return this.each(function(){"none"==this.style.display&&(this.style.display=""),"none"==getComputedStyle(this,"").getPropertyValue("display")&&(this.style.display=h(this.nodeName))})},replaceWith:function(t){return this.before(t).remove()},wrap:function(t){var n=e(t);if(this[0]&&!n)var r=T(t).get(0),i=r.parentNode||this.length>1;return this.each(function(e){T(this).wrapAll(n?t.call(this,e):i?r.cloneNode(!0):r)})},wrapAll:function(t){if(this[0]){T(this[0]).before(t=T(t));for(var e;(e=t.children()).length;)t=e.first();T(t).append(this)}return this},wrapInner:function(t){var n=e(t);return this.each(function(e){var r=T(this),i=r.contents(),o=n?t.call(this,e):t;i.length?i.wrapAll(o):r.append(o)})},unwrap:function(){return this.parent().each(function(){T(this).replaceWith(T(this).children())}),this},clone:function(){return this.map(function(){return this.cloneNode(!0)})},hide:function(){return this.css("display","none")},toggle:function(t){return this.each(function(){var e=T(this);(t===E?"none"==e.css("display"):t)?e.show():e.hide()})},prev:function(t){return T(this.pluck("previousElementSibling")).filter(t||"*")},next:function(t){return T(this.pluck("nextElementSibling")).filter(t||"*")},html:function(t){return 0 in arguments?this.each(function(e){var n=this.innerHTML;T(this).empty().append(g(this,t,e,n))}):0 in this?this[0].innerHTML:null},text:function(t){return 0 in arguments?this.each(function(e){var n=g(this,t,e,this.textContent);this.textContent=null==n?"":""+n}):0 in this?this.pluck("textContent").join(""):null},attr:function(t,e){var n;return"string"!=typeof t||1 in arguments?this.each(function(n){if(1===this.nodeType)if(i(t))for(j in t)y(this,j,t[j]);else y(this,t,g(this,e,n,this.getAttribute(t)))}):0 in this&&1==this[0].nodeType&&null!=(n=this[0].getAttribute(t))?n:E},removeAttr:function(t){return this.each(function(){1===this.nodeType&&t.split(" ").forEach(function(t){y(this,t)},this)})},prop:function(t,e){return t=K[t]||t,1 in arguments?this.each(function(n){this[t]=g(this,e,n,this[t])}):this[0]&&this[0][t]},removeProp:function(t){return t=K[t]||t,this.each(function(){delete this[t]})},data:function(t,e){var n="data-"+t.replace(q,"-$1").toLowerCase(),r=1 in arguments?this.attr(n,e):this.attr(n);return null!==r?b(r):E},val:function(t){return 0 in arguments?(null==t&&(t=""),this.each(function(e){this.value=g(this,t,e,this.value)})):this[0]&&(this[0].multiple?T(this[0]).find("option").filter(function(){return this.selected}).pluck("value"):this[0].value)},offset:function(t){if(t)return this.each(function(e){var n=T(this),r=g(this,t,e,n.offset()),i=n.offsetParent().offset(),o={top:r.top-i.top,left:r.left-i.left};"static"==n.css("position")&&(o.position="relative"),n.css(o)});if(!this.length)return null;if(L.documentElement!==this[0]&&!T.contains(L.documentElement,this[0]))return{top:0,left:0};var e=this[0].getBoundingClientRect();return{left:e.left+window.pageXOffset,top:e.top+window.pageYOffset,width:Math.round(e.width),height:Math.round(e.height)}},css:function(e,n){if(arguments.length<2){var r=this[0];if("string"==typeof e){if(!r)return;return r.style[C(e)]||getComputedStyle(r,"").getPropertyValue(e)}if(Q(e)){if(!r)return;var i={},o=getComputedStyle(r,"");return T.each(e,function(t,e){i[e]=r.style[C(e)]||o.getPropertyValue(e)}),i}}var a="";if("string"==t(e))n||0===n?a=c(e)+":"+f(e,n):this.each(function(){this.style.removeProperty(c(e))});else for(j in e)e[j]||0===e[j]?a+=c(j)+":"+f(j,e[j])+";":this.each(function(){this.style.removeProperty(c(j))});return this.each(function(){this.style.cssText+=";"+a})},index:function(t){return t?this.indexOf(T(t)[0]):this.parent().children().indexOf(this[0])},hasClass:function(t){return!!t&&O.some.call(this,function(t){return this.test(x(t))},l(t))},addClass:function(t){return t?this.each(function(e){if("className"in this){S=[];var n=x(this),r=g(this,t,e,n);r.split(/\s+/g).forEach(function(t){T(this).hasClass(t)||S.push(t)},this),S.length&&x(this,n+(n?" ":"")+S.join(" "))}}):this},removeClass:function(t){return this.each(function(e){if("className"in this){if(t===E)return x(this,"");S=x(this),g(this,t,e,S).split(/\s+/g).forEach(function(t){S=S.replace(l(t)," ")}),x(this,S.trim())}})},toggleClass:function(t,e){return t?this.each(function(n){var r=T(this),i=g(this,t,n,x(this));i.split(/\s+/g).forEach(function(t){(e===E?!r.hasClass(t):e)?r.addClass(t):r.removeClass(t)})}):this},scrollTop:function(t){if(this.length){var e="scrollTop"in this[0];return t===E?e?this[0].scrollTop:this[0].pageYOffset:this.each(e?function(){this.scrollTop=t}:function(){this.scrollTo(this.scrollX,t)})}},scrollLeft:function(t){if(this.length){var e="scrollLeft"in this[0];return t===E?e?this[0].scrollLeft:this[0].pageXOffset:this.each(e?function(){this.scrollLeft=t}:function(){this.scrollTo(t,this.scrollY)})}},position:function(){if(this.length){var t=this[0],e=this.offsetParent(),n=this.offset(),r=Z.test(e[0].nodeName)?{top:0,left:0}:e.offset();return n.top-=parseFloat(T(t).css("margin-top"))||0,n.left-=parseFloat(T(t).css("margin-left"))||0,r.top+=parseFloat(T(e[0]).css("border-top-width"))||0,r.left+=parseFloat(T(e[0]).css("border-left-width"))||0,{top:n.top-r.top,left:n.left-r.left}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||L.body;t&&!Z.test(t.nodeName)&&"static"==T(t).css("position");)t=t.offsetParent;return t})}},T.fn.detach=T.fn.remove,["width","height"].forEach(function(t){var e=t.replace(/./,function(t){return t[0].toUpperCase()});T.fn[t]=function(i){var o,a=this[0];return i===E?n(a)?a["inner"+e]:r(a)?a.documentElement["scroll"+e]:(o=this.offset())&&o[t]:this.each(function(e){a=T(this),a.css(t,g(this,i,e,a[t]()))})}}),I.forEach(function(e,n){var r=n%2;T.fn[e]=function(){var e,i,o=T.map(arguments,function(n){var r=[];return e=t(n),"array"==e?(n.forEach(function(t){return t.nodeType!==E?r.push(t):T.zepto.isZ(t)?r=r.concat(t.get()):void(r=r.concat(Y.fragment(t)))}),r):"object"==e||null==n?n:Y.fragment(n)}),a=this.length>1;return o.length<1?this:this.each(function(t,e){i=r?e:e.parentNode,e=0==n?e.nextSibling:1==n?e.firstChild:2==n?e:null;var s=T.contains(L.documentElement,i);o.forEach(function(t){if(a)t=t.cloneNode(!0);else if(!i)return T(t).remove();i.insertBefore(t,e),s&&w(t,function(t){if(!(null==t.nodeName||"SCRIPT"!==t.nodeName.toUpperCase()||t.type&&"text/javascript"!==t.type||t.src)){var e=t.ownerDocument?t.ownerDocument.defaultView:window;e.eval.call(e,t.innerHTML)}})})})},T.fn[r?e+"To":"insert"+(n?"Before":"After")]=function(t){return T(t)[e](this),this}}),Y.Z.prototype=d.prototype=T.fn,Y.uniq=N,Y.deserializeValue=b,T.zepto=Y,T}();!function(t){function e(t){return t._zid||(t._zid=h++)}function n(t,n,o,a){if(n=r(n),n.ns)var s=i(n.ns);return(v[e(t)]||[]).filter(function(t){return t&&(!n.e||t.e==n.e)&&(!n.ns||s.test(t.ns))&&(!o||e(t.fn)===e(o))&&(!a||t.sel==a)})}function r(t){var e=(""+t).split(".");return{e:e[0],ns:e.slice(1).sort().join(" ")}}function i(t){return new RegExp("(?:^| )"+t.replace(" "," .* ?")+"(?: |$)")}function o(t,e){return t.del&&!y&&t.e in x||!!e}function a(t){return b[t]||y&&x[t]||t}function s(n,i,s,u,l,h,p){var d=e(n),m=v[d]||(v[d]=[]);i.split(/\s/).forEach(function(e){if("ready"==e)return t(document).ready(s);var i=r(e);i.fn=s,i.sel=l,i.e in b&&(s=function(e){var n=e.relatedTarget;if(!n||n!==this&&!t.contains(this,n))return i.fn.apply(this,arguments)}),i.del=h;var d=h||s;i.proxy=function(t){if(t=c(t),!t.isImmediatePropagationStopped()){t.data=u;var e=d.apply(n,t._args==f?[t]:[t].concat(t._args));return e===!1&&(t.preventDefault(),t.stopPropagation()),e}},i.i=m.length,m.push(i),"addEventListener"in n&&n.addEventListener(a(i.e),i.proxy,o(i,p))})}function u(t,r,i,s,u){var c=e(t);(r||"").split(/\s/).forEach(function(e){n(t,e,i,s).forEach(function(e){delete v[c][e.i],"removeEventListener"in t&&t.removeEventListener(a(e.e),e.proxy,o(e,u))})})}function c(e,n){return!n&&e.isDefaultPrevented||(n||(n=e),t.each(T,function(t,r){var i=n[t];e[t]=function(){return this[r]=w,i&&i.apply(n,arguments)},e[r]=E}),e.timeStamp||(e.timeStamp=Date.now()),(n.defaultPrevented!==f?n.defaultPrevented:"returnValue"in n?n.returnValue===!1:n.getPreventDefault&&n.getPreventDefault())&&(e.isDefaultPrevented=w)),e}function l(t){var e,n={originalEvent:t};for(e in t)j.test(e)||t[e]===f||(n[e]=t[e]);return c(n,t)}var f,h=1,p=Array.prototype.slice,d=t.isFunction,m=function(t){return"string"==typeof t},v={},g={},y="onfocusin"in window,x={focus:"focusin",blur:"focusout"},b={mouseenter:"mouseover",mouseleave:"mouseout"};g.click=g.mousedown=g.mouseup=g.mousemove="MouseEvents",t.event={add:s,remove:u},t.proxy=function(n,r){var i=2 in arguments&&p.call(arguments,2);if(d(n)){var o=function(){return n.apply(r,i?i.concat(p.call(arguments)):arguments)};return o._zid=e(n),o}if(m(r))return i?(i.unshift(n[r],n),t.proxy.apply(null,i)):t.proxy(n[r],n);throw new TypeError("expected function")},t.fn.bind=function(t,e,n){return this.on(t,e,n)},t.fn.unbind=function(t,e){return this.off(t,e)},t.fn.one=function(t,e,n,r){return this.on(t,e,n,r,1)};var w=function(){return!0},E=function(){return!1},j=/^([A-Z]|returnValue$|layer[XY]$|webkitMovement[XY]$)/,T={preventDefault:"isDefaultPrevented",stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"};t.fn.delegate=function(t,e,n){return this.on(e,t,n)},t.fn.undelegate=function(t,e,n){return this.off(e,t,n)},t.fn.live=function(e,n){return t(document.body).delegate(this.selector,e,n),this},t.fn.die=function(e,n){return t(document.body).undelegate(this.selector,e,n),this},t.fn.on=function(e,n,r,i,o){var a,c,h=this;return e&&!m(e)?(t.each(e,function(t,e){h.on(t,n,r,e,o)}),h):(m(n)||d(i)||i===!1||(i=r,r=n,n=f),i!==f&&r!==!1||(i=r,r=f),i===!1&&(i=E),h.each(function(f,h){o&&(a=function(t){return u(h,t.type,i),i.apply(this,arguments)}),n&&(c=function(e){var r,o=t(e.target).closest(n,h).get(0);if(o&&o!==h)return r=t.extend(l(e),{currentTarget:o,liveFired:h}),(a||i).apply(o,[r].concat(p.call(arguments,1)))}),s(h,e,i,r,n,c||a)}))},t.fn.off=function(e,n,r){var i=this;return e&&!m(e)?(t.each(e,function(t,e){i.off(t,n,e)}),i):(m(n)||d(r)||r===!1||(r=n,n=f),r===!1&&(r=E),i.each(function(){u(this,e,r,n)}))},t.fn.trigger=function(e,n){return e=m(e)||t.isPlainObject(e)?t.Event(e):c(e),e._args=n,this.each(function(){e.type in x&&"function"==typeof this[e.type]?this[e.type]():"dispatchEvent"in this?this.dispatchEvent(e):t(this).triggerHandler(e,n)})},t.fn.triggerHandler=function(e,r){var i,o;return this.each(function(a,s){i=l(m(e)?t.Event(e):e),i._args=r,i.target=s,t.each(n(s,e.type||e),function(t,e){if(o=e.proxy(i),i.isImmediatePropagationStopped())return!1})}),o},"focusin focusout focus blur load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select keydown keypress keyup error".split(" ").forEach(function(e){t.fn[e]=function(t){return 0 in arguments?this.bind(e,t):this.trigger(e)}}),t.Event=function(t,e){m(t)||(e=t,t=e.type);var n=document.createEvent(g[t]||"Events"),r=!0;if(e)for(var i in e)"bubbles"==i?r=!!e[i]:n[i]=e[i];return n.initEvent(t,r,!0),c(n)}}(e),function(t){function e(e,n,r){var i=t.Event(n);return t(e).trigger(i,r),!i.isDefaultPrevented()}function n(t,n,r,i){if(t.global)return e(n||x,r,i)}function r(e){e.global&&0===t.active++&&n(e,null,"ajaxStart")}function i(e){e.global&&!--t.active&&n(e,null,"ajaxStop")}function o(t,e){var r=e.context;return e.beforeSend.call(r,t,e)!==!1&&n(e,r,"ajaxBeforeSend",[t,e])!==!1&&void n(e,r,"ajaxSend",[t,e])}function a(t,e,r,i){var o=r.context,a="success";r.success.call(o,t,a,e),i&&i.resolveWith(o,[t,a,e]),n(r,o,"ajaxSuccess",[e,r,t]),u(a,e,r)}function s(t,e,r,i,o){var a=i.context;i.error.call(a,r,e,t),o&&o.rejectWith(a,[r,e,t]),n(i,a,"ajaxError",[r,i,t||e]),u(e,r,i)}function u(t,e,r){var o=r.context;r.complete.call(o,e,t),n(r,o,"ajaxComplete",[e,r]),i(r)}function c(t,e,n){if(n.dataFilter==l)return t;var r=n.context;return n.dataFilter.call(r,t,e)}function l(){}function f(t){return t&&(t=t.split(";",2)[0]),t&&(t==T?"html":t==j?"json":w.test(t)?"script":E.test(t)&&"xml")||"text"}function h(t,e){return""==e?t:(t+"&"+e).replace(/[&?]{1,2}/,"?")}function p(e){e.processData&&e.data&&"string"!=t.type(e.data)&&(e.data=t.param(e.data,e.traditional)),!e.data||e.type&&"GET"!=e.type.toUpperCase()&&"jsonp"!=e.dataType||(e.url=h(e.url,e.data),e.data=void 0)}function d(e,n,r,i){return t.isFunction(n)&&(i=r,r=n,n=void 0),t.isFunction(r)||(i=r,r=void 0),{url:e,data:n,success:r,dataType:i}}function m(e,n,r,i){var o,a=t.isArray(n),s=t.isPlainObject(n);t.each(n,function(n,u){o=t.type(u),i&&(n=r?i:i+"["+(s||"object"==o||"array"==o?n:"")+"]"),!i&&a?e.add(u.name,u.value):"array"==o||!r&&"object"==o?m(e,u,r,n):e.add(n,u)})}var v,g,y=+new Date,x=window.document,b=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,w=/^(?:text|application)\/javascript/i,E=/^(?:text|application)\/xml/i,j="application/json",T="text/html",S=/^\s*$/,C=x.createElement("a");C.href=window.location.href,t.active=0,t.ajaxJSONP=function(e,n){if(!("type"in e))return t.ajax(e);var r,i,u=e.jsonpCallback,c=(t.isFunction(u)?u():u)||"Zepto"+y++,l=x.createElement("script"),f=window[c],h=function(e){t(l).triggerHandler("error",e||"abort")},p={abort:h};return n&&n.promise(p),t(l).on("load error",function(o,u){clearTimeout(i),t(l).off().remove(),"error"!=o.type&&r?a(r[0],p,e,n):s(null,u||"error",p,e,n),window[c]=f,r&&t.isFunction(f)&&f(r[0]),f=r=void 0}),o(p,e)===!1?(h("abort"),p):(window[c]=function(){r=arguments},l.src=e.url.replace(/\?(.+)=\?/,"?$1="+c),x.head.appendChild(l),e.timeout>0&&(i=setTimeout(function(){h("timeout")},e.timeout)),p)},t.ajaxSettings={type:"GET",beforeSend:l,success:l,error:l,complete:l,context:null,global:!0,xhr:function(){return new window.XMLHttpRequest},accepts:{script:"text/javascript, application/javascript, application/x-javascript",json:j,xml:"application/xml, text/xml",html:T,text:"text/plain"},crossDomain:!1,timeout:0,processData:!0,cache:!0,dataFilter:l},t.ajax=function(e){var n,i,u=t.extend({},e||{}),d=t.Deferred&&t.Deferred();for(v in t.ajaxSettings)void 0===u[v]&&(u[v]=t.ajaxSettings[v]);r(u),u.crossDomain||(n=x.createElement("a"),n.href=u.url,n.href=n.href,u.crossDomain=C.protocol+"//"+C.host!=n.protocol+"//"+n.host),u.url||(u.url=window.location.toString()),(i=u.url.indexOf("#"))>-1&&(u.url=u.url.slice(0,i)),p(u);var m=u.dataType,y=/\?.+=\?/.test(u.url);if(y&&(m="jsonp"),u.cache!==!1&&(e&&e.cache===!0||"script"!=m&&"jsonp"!=m)||(u.url=h(u.url,"_="+Date.now())),"jsonp"==m)return y||(u.url=h(u.url,u.jsonp?u.jsonp+"=?":u.jsonp===!1?"":"callback=?")),t.ajaxJSONP(u,d);var b,w=u.accepts[m],E={},j=function(t,e){E[t.toLowerCase()]=[t,e]},T=/^([\w-]+:)\/\//.test(u.url)?RegExp.$1:window.location.protocol,N=u.xhr(),O=N.setRequestHeader;if(d&&d.promise(N),u.crossDomain||j("X-Requested-With","XMLHttpRequest"),j("Accept",w||"*/*"),(w=u.mimeType||w)&&(w.indexOf(",")>-1&&(w=w.split(",",2)[0]),N.overrideMimeType&&N.overrideMimeType(w)),(u.contentType||u.contentType!==!1&&u.data&&"GET"!=u.type.toUpperCase())&&j("Content-Type",u.contentType||"application/x-www-form-urlencoded"),u.headers)for(g in u.headers)j(g,u.headers[g]);if(N.setRequestHeader=j,N.onreadystatechange=function(){if(4==N.readyState){N.onreadystatechange=l,clearTimeout(b);var e,n=!1;if(N.status>=200&&N.status<300||304==N.status||0==N.status&&"file:"==T){if(m=m||f(u.mimeType||N.getResponseHeader("content-type")),"arraybuffer"==N.responseType||"blob"==N.responseType)e=N.response;else{e=N.responseText;try{e=c(e,m,u),"script"==m?(0,eval)(e):"xml"==m?e=N.responseXML:"json"==m&&(e=S.test(e)?null:t.parseJSON(e))}catch(r){n=r}if(n)return s(n,"parsererror",N,u,d)}a(e,N,u,d)}else s(N.statusText||null,N.status?"error":"abort",N,u,d)}},o(N,u)===!1)return N.abort(),s(null,"abort",N,u,d),N;var P=!("async"in u)||u.async;if(N.open(u.type,u.url,P,u.username,u.password),u.xhrFields)for(g in u.xhrFields)N[g]=u.xhrFields[g];for(g in E)O.apply(N,E[g]);return u.timeout>0&&(b=setTimeout(function(){N.onreadystatechange=l,N.abort(),s(null,"timeout",N,u,d)},u.timeout)),N.send(u.data?u.data:null),N},t.get=function(){return t.ajax(d.apply(null,arguments))},t.post=function(){var e=d.apply(null,arguments);return e.type="POST",t.ajax(e)},t.getJSON=function(){var e=d.apply(null,arguments);return e.dataType="json",t.ajax(e)},t.fn.load=function(e,n,r){if(!this.length)return this;var i,o=this,a=e.split(/\s/),s=d(e,n,r),u=s.success;return a.length>1&&(s.url=a[0],i=a[1]),s.success=function(e){o.html(i?t("<div>").html(e.replace(b,"")).find(i):e),u&&u.apply(o,arguments)},t.ajax(s),this};var N=encodeURIComponent;t.param=function(e,n){var r=[];return r.add=function(e,n){t.isFunction(n)&&(n=n()),null==n&&(n=""),this.push(N(e)+"="+N(n))},m(r,e,n),r.join("&").replace(/%20/g,"+")}}(e),function(t){t.fn.serializeArray=function(){var e,n,r=[],i=function(t){return t.forEach?t.forEach(i):void r.push({name:e,value:t})};return this[0]&&t.each(this[0].elements,function(r,o){n=o.type,e=o.name,e&&"fieldset"!=o.nodeName.toLowerCase()&&!o.disabled&&"submit"!=n&&"reset"!=n&&"button"!=n&&"file"!=n&&("radio"!=n&&"checkbox"!=n||o.checked)&&i(t(o).val())}),r},t.fn.serialize=function(){var t=[];return this.serializeArray().forEach(function(e){t.push(encodeURIComponent(e.name)+"="+encodeURIComponent(e.value))}),t.join("&")},t.fn.submit=function(e){if(0 in arguments)this.bind("submit",e);else if(this.length){var n=t.Event("submit");this.eq(0).trigger(n),n.isDefaultPrevented()||this.get(0).submit()}return this}}(e),function(){try{getComputedStyle(void 0)}catch(t){var e=getComputedStyle;window.getComputedStyle=function(t,n){try{return e(t,n)}catch(r){return null}}}}(),t("zepto",e)});layui.define(["layer-mobile","zepto"],function(e){"use strict";var t=layui.zepto,a=layui["layer-mobile"],i=(layui.device(),"layui-upload-enter"),n="layui-upload-iframe",r={icon:2,shift:6},o={file:"鏂囦欢",video:"瑙嗛",audio:"闊抽"};a.msg=function(e){return a.open({content:e||"",skin:"msg",time:2})};var s=function(e){this.options=e};s.prototype.init=function(){var e=this,a=e.options,r=t("body"),s=t(a.elem||".layui-upload-file"),u=t('<iframe id="'+n+'" class="'+n+'" name="'+n+'"></iframe>');return t("#"+n)[0]||r.append(u),s.each(function(r,s){s=t(s);var u='<form target="'+n+'" method="'+(a.method||"post")+'" key="set-mine" enctype="multipart/form-data" action="'+(a.url||"")+'"></form>',l=s.attr("lay-type")||a.type;a.unwrap||(u='<div class="layui-box layui-upload-button">'+u+'<span class="layui-upload-icon"><i class="layui-icon"></i>'+(s.attr("lay-title")||a.title||"涓婁紶"+(o[l]||"鍥剧墖"))+"</span></div>"),u=t(u),a.unwrap||u.on("dragover",function(e){e.preventDefault(),t(this).addClass(i)}).on("dragleave",function(){t(this).removeClass(i)}).on("drop",function(){t(this).removeClass(i)}),s.parent("form").attr("target")===n&&(a.unwrap?s.unwrap():(s.parent().next().remove(),s.unwrap().unwrap())),s.wrap(u),s.off("change").on("change",function(){e.action(this,l)})})},s.prototype.action=function(e,i){var o=this,s=o.options,u=e.value,l=t(e),p=l.attr("lay-ext")||s.ext||"";if(u){switch(i){case"file":if(p&&!RegExp("\\w\\.("+p+")$","i").test(escape(u)))return a.msg("涓嶆敮鎸佽鏂囦欢鏍煎紡",r),e.value="";break;case"video":if(!RegExp("\\w\\.("+(p||"avi|mp4|wma|rmvb|rm|flash|3gp|flv")+")$","i").test(escape(u)))return a.msg("涓嶆敮鎸佽瑙嗛鏍煎紡",r),e.value="";break;case"audio":if(!RegExp("\\w\\.("+(p||"mp3|wav|mid")+")$","i").test(escape(u)))return a.msg("涓嶆敮鎸佽闊抽鏍煎紡",r),e.value="";break;default:if(!RegExp("\\w\\.("+(p||"jpg|png|gif|bmp|jpeg")+")$","i").test(escape(u)))return a.msg("涓嶆敮鎸佽鍥剧墖鏍煎紡",r),e.value=""}s.before&&s.before(e),l.parent().submit();var c=t("#"+n),f=setInterval(function(){var t;try{t=c.contents().find("body").text()}catch(i){a.msg("涓婁紶鎺ュ彛瀛樺湪璺ㄥ煙",r),clearInterval(f)}if(t){clearInterval(f),c.contents().find("body").html("");try{t=JSON.parse(t)}catch(i){return t={},a.msg("璇峰涓婁紶鎺ュ彛杩斿洖JSON瀛楃",r)}"function"==typeof s.success&&s.success(t,e)}},30);e.value=""}},e("upload-mobile",function(e){var t=new s(e=e||{});t.init()})});layui.define(["laytpl","upload-mobile","layer-mobile","zepto"],function(i){var e="2.1.0",a=layui.zepto,t=layui.laytpl,n=layui["layer-mobile"],l=layui["upload-mobile"],s=layui.device(),o="layui-show",c="layim-this",d=20,r={},u=function(){this.v=e,m(a("body"),"*[layim-event]",function(i){var e=a(this),t=e.attr("layim-event");U[t]?U[t].call(this,e,i):""})},m=function(i,e,t){var n,l="function"==typeof e,s=function(i){var e=a(this);e.data("lock")||(n||t.call(this,i),n=!1,e.data("lock","true"),setTimeout(function(){e.removeAttr("data-lock")},e.data("locktime")||0))};return l&&(t=e),i="string"==typeof i?a(i):i,y?void(l?i.on("touchmove",function(){n=!0}).on("touchend",s):i.on("touchmove",e,function(){n=!0}).on("touchend",e,s)):void(l?i.on("click",s):i.on("click",e,s))},y=/Android|iPhone|SymbianOS|Windows Phone|iPad|iPod/.test(navigator.userAgent);n.popBottom=function(i){n.close(n.popBottom.index),n.popBottom.index=n.open(a.extend({type:1,content:i.content||"",shade:!1,className:"layim-layer"},i))},u.prototype.config=function(i){i=i||{},i=a.extend({title:"鎴戠殑IM",isgroup:0,isNewFriend:!0,voice:"default.mp3",chatTitleColor:"#36373C"},i),k(i)},u.prototype.on=function(i,e){return"function"==typeof e&&(r[i]?r[i].push(e):r[i]=[e]),this},u.prototype.chat=function(i){if(window.JSON&&window.JSON.parse)return L(i,-1),this},u.prototype.panel=function(i){return N(i)},u.prototype.cache=function(){return C},u.prototype.getMessage=function(i){return M(i),this},u.prototype.addList=function(i){return O(i),this},u.prototype.removeList=function(i){return Y(i),this},u.prototype.setFriendStatus=function(i,e){var t=a(".layim-friend"+i);t["online"===e?"removeClass":"addClass"]("layim-list-gray")},u.prototype.setChatStatus=function(i){var e=A(),a=e.elem.find(".layim-chat-status");return a.html(i),this},u.prototype.showNew=function(i,e){I(i,e)},u.prototype.content=function(i){return layui.data.content(i)};var p=function(i){var e={friend:"璇ュ垎缁勪笅鏆傛棤濂藉弸",group:"鏆傛棤缇ょ粍",history:"鏆傛棤浠讳綍娑堟伅"};return i=i||{},"history"===i.type&&(i.item=i.item||"d.sortHistory"),["{{# var length = 0; layui.each("+i.item+", function(i, data){ length++; }}",'<li layim-event="chat" data-type="'+i.type+'" data-index="'+(i.index?"{{"+i.index+"}}":("history"===i.type?"{{data.type}}":i.type)+"{{data.id}}")+'" class="layim-'+("history"===i.type?"{{data.type}}":i.type)+'{{data.id}} {{ data.status === "offline" ? "layim-list-gray" : "" }}"><div><img src="{{data.avatar}}"></div><span>{{ data.username||data.groupname||data.name||"浣氬悕" }}</span><p>{{ data.remark||data.sign||"" }}</p><span class="layim-msg-status">new</span></li>',"{{# }); if(length === 0){ }}",'<li class="layim-null">'+(e[i.type]||"鏆傛棤鏁版嵁")+"</li>","{{# } }}"].join("")},f=function(i,e,a){return['<div class="layim-panel'+(e?" layui-m-anim-left":"")+'">','<div class="layim-title" style="background-color: {{d.base.chatTitleColor}};">',"<p>",a?'<i class="layui-icon layim-chat-back" layim-event="back"></i>':"",'{{ d.title || d.base.title }}<span class="layim-chat-status"></span>',"{{# if(d.data){ }}",'{{# if(d.data.type === "group"){ }}','<i class="layui-icon layim-chat-detail" layim-event="detail"></i>',"{{# } }}","{{# } }}","</p>","</div>",'<div class="layui-unselect layim-content">',i,"</div>","</div>"].join("")},h=['<div class="layui-layim">','<div class="layim-tab-content layui-show">','<ul class="layim-list-friend">','<ul class="layui-layim-list layui-show layim-list-history">',p({type:"history"}),"</ul>","</ul>","</div>",'<div class="layim-tab-content">','<ul class="layim-list-top">',"{{# if(d.base.isNewFriend){ }}",'<li layim-event="newFriend"><i class="layui-icon"></i>鏂扮殑鏈嬪弸<i class="layim-new" id="LAY_layimNewFriend"></i></li>',"{{# } if(d.base.isgroup){ }}",'<li layim-event="group"><i class="layui-icon"></i>缇よ亰<i class="layim-new" id="LAY_layimNewGroup"></i></li>',"{{# } }}","</ul>",'<ul class="layim-list-friend">','{{# layui.each(d.friend, function(index, item){ var spread = d.local["spread"+index]; }}',"<li>",'<h5 layim-event="spread" lay-type="{{ spread }}"><i class="layui-icon">{{# if(spread === "true"){ }}{{# } else { }}{{# } }}</i><span>{{ item.groupname||"鏈懡鍚嶅垎缁�"+index }}</span><em>(<cite class="layim-count"> {{ (item.list||[]).length }}</cite>)</em></h5>','<ul class="layui-layim-list {{# if(spread === "true"){ }}'," layui-show",'{{# } }}">',p({type:"friend",item:"item.list",index:"index"}),"</ul>","</li>","{{# }); if(d.friend.length === 0){ }}",'<li><ul class="layui-layim-list layui-show"><li class="layim-null">鏆傛棤鑱旂郴浜�</li></ul>',"{{# } }}","</ul>","</div>",'<div class="layim-tab-content">','<ul class="layim-list-top">',"{{# layui.each(d.base.moreList, function(index, item){ }}",'<li layim-event="moreList" lay-filter="{{ item.alias }}">','<i class="layui-icon {{item.iconClass||""}}">{{item.iconUnicode||""}}</i>{{item.title}}<i class="layim-new" id="LAY_layimNew{{ item.alias }}"></i>',"</li>","{{# }); if(!d.base.copyright){ }}",'<li layim-event="about"><i class="layui-icon"></i>鍏充簬<i class="layim-new" id="LAY_layimNewAbout"></i></li>',"{{# } }}","</ul>","</div>","</div>",'<ul class="layui-unselect layui-layim-tab">','<li title="娑堟伅" layim-event="tab" lay-type="message" class="layim-this"><i class="layui-icon"></i><span>娑堟伅</span><i class="layim-new" id="LAY_layimNewMsg"></i></li>','<li title="鑱旂郴浜�" layim-event="tab" lay-type="friend"><i class="layui-icon"></i><span>鑱旂郴浜�</span><i class="layim-new" id="LAY_layimNewList"></i></li>','<li title="鏇村" layim-event="tab" lay-type="more"><i class="layui-icon"></i><span>鏇村</span><i class="layim-new" id="LAY_layimNewMore"></i></li>',"</ul>"].join(""),v=['<div class="layim-chat layim-chat-{{d.data.type}}">','<div class="layim-chat-main">',"<ul></ul>","</div>",'<div class="layim-chat-footer">','<div class="layim-chat-send"><input type="text" autocomplete="off"><button class="layim-send layui-disabled" layim-event="send">鍙戦��</button></div>','<div class="layim-chat-tool" data-json="{{encodeURIComponent(JSON.stringify(d.data))}}">','<span class="layui-icon layim-tool-face" title="閫夋嫨琛ㄦ儏" layim-event="face"></span>',"{{# if(d.base && d.base.uploadImage){ }}",'<span class="layui-icon layim-tool-image" title="涓婁紶鍥剧墖" layim-event="image"><input type="file" name="file" accept="image/*"></span>',"{{# }; }}","{{# if(d.base && d.base.uploadFile){ }}",'<span class="layui-icon layim-tool-image" title="鍙戦�佹枃浠�" layim-event="image" data-type="file"><input type="file" name="file"></span>',"{{# }; }}","{{# layui.each(d.base.tool, function(index, item){ }}",'<span class="layui-icon {{item.iconClass||""}} layim-tool-{{item.alias}}" title="{{item.title}}" layim-event="extend" lay-filter="{{ item.alias }}">{{item.iconUnicode||""}}</span>',"{{# }); }}","</div>","</div>","</div>"].join(""),g=function(i){return i<10?"0"+(0|i):i};layui.data.date=function(i){var e=new Date(i||new Date);return g(e.getMonth()+1)+"-"+g(e.getDate())+" "+g(e.getHours())+":"+g(e.getMinutes())},layui.data.content=function(i){var e=function(i){return new RegExp("\\n*\\["+(i||"")+"(pre|div|p|table|thead|th|tbody|tr|td|ul|li|ol|li|dl|dt|dd|h2|h3|h4|h5)([\\s\\S]*?)\\]\\n*","g")};return i=(i||"").replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/'/g,"'").replace(/"/g,""").replace(/@(\S+)(\s+?|$)/g,'@<a href="javascript:;">$1</a>$2').replace(/face\[([^\s\[\]]+?)\]/g,function(i){var e=i.replace(/^face/g,"");return'<img alt="'+e+'" title="'+e+'" src="'+E[e]+'">'}).replace(/img\[([^\s]+?)\]/g,function(i){return'<img class="layui-layim-photos" src="'+i.replace(/(^img\[)|(\]$)/g,"")+'">'}).replace(/file\([\s\S]+?\)\[[\s\S]*?\]/g,function(i){var e=(i.match(/file\(([\s\S]+?)\)\[/)||[])[1],a=(i.match(/\)\[([\s\S]*?)\]/)||[])[1];return e?'<a class="layui-layim-file" href="'+e+'" download target="_blank"><i class="layui-icon"></i><cite>'+(a||e)+"</cite></a>":i}).replace(/audio\[([^\s]+?)\]/g,function(i){return'<div class="layui-unselect layui-layim-audio" layim-event="playAudio" data-src="'+i.replace(/(^audio\[)|(\]$)/g,"")+'"><i class="layui-icon"></i><p>闊抽娑堟伅</p></div>'}).replace(/video\[([^\s]+?)\]/g,function(i){return'<div class="layui-unselect layui-layim-video" layim-event="playVideo" data-src="'+i.replace(/(^video\[)|(\]$)/g,"")+'"><i class="layui-icon"></i></div>'}).replace(/a\([\s\S]+?\)\[[\s\S]*?\]/g,function(i){var e=(i.match(/a\(([\s\S]+?)\)\[/)||[])[1],a=(i.match(/\)\[([\s\S]*?)\]/)||[])[1];return e?'<a href="'+e+'" target="_blank">'+(a||e)+"</a>":i}).replace(e(),"<$1 $2>").replace(e("/"),"</$1>").replace(/\n/g,"<br>")};var b,x,w=['<li class="layim-chat-li{{ d.mine ? " layim-chat-mine" : "" }}">','<div class="layim-chat-user"><img src="{{ d.avatar }}"><cite>','{{ d.username||"浣氬悕" }}',"</cite></div>",'<div class="layim-chat-text">{{ layui.data.content(d.content||" ") }}</div>',"</li>"].join(""),C={message:{},chat:[]},k=function(i){var e=i.init||{};return mine=e.mine||{},local=layui.data("layim-mobile")[mine.id]||{},obj={base:i,local:local,mine:mine,history:local.history||[]},create=function(e){var n=e.mine||{},l=layui.data("layim-mobile")[n.id]||{},s={base:i,local:l,mine:n,friend:e.friend||[],group:e.group||[],history:l.history||[]};s.sortHistory=j(s.history,"historyTime"),C=a.extend(C,s),S(t(f(h)).render(s)),layui.each(r.ready,function(i,e){e&&e(s)})},C=a.extend(C,obj),i.brief?layui.each(r.ready,function(i,e){e&&e(obj)}):void create(e)},S=function(i){return n.open({type:1,shade:!1,shadeClose:!1,anim:-1,content:i,success:function(i){b=a(i),T(b.find(".layui-layim")),C.base.tabIndex&&U.tab(a(".layui-layim-tab>li").eq(C.base.tabIndex))}})},N=function(i,e){i=i||{};var l=a.extend({},C,{title:i.title||"",data:i.data});return n.open({type:1,shade:!1,shadeClose:!1,anim:-1,content:t(f(i.tpl,e!==-1,!0)).render(l),success:function(e){var t=a(e);t.prev().find(".layim-panel").addClass("layui-m-anim-lout"),i.success&&i.success(e),i.isChat||T(t.find(".layim-content"))},end:i.end})},L=function(i,e,t){return i=i||{},i.id?(n.close(L.index),L.index=N({tpl:v,data:i,title:i.name,isChat:!0,success:function(e){x=a(e),B(),$(),delete C.message[i.type+i.id],I("Msg");var t=A(),n=t.elem.find(".layim-chat-main");layui.each(r.chatChange,function(i,e){e&&e(t)}),T(n),t.textarea.on("focus",function(){setTimeout(function(){n.scrollTop(n[0].scrollHeight+1e3)},500)})},end:function(){x=null,q.time=0}},e)):n.msg("闈炴硶鐢ㄦ埛")},T=function(i){s.ios&&i.on("touchmove",function(e){var a=i.scrollTop();a<=0&&(i.scrollTop(1),e.preventDefault(e)),this.scrollHeight-a-i.height()<=0&&(i.scrollTop(i.scrollTop()-1),e.preventDefault(e))})},A=function(){if(!x)return{};var i=x.find(".layim-chat"),e=JSON.parse(decodeURIComponent(i.find(".layim-chat-tool").data("json")));return{elem:i,data:e,textarea:i.find("input")}},j=function(i,e,a){var t=[],n=function(i,a){var t=i[e],n=a[e];return n<t?-1:n>t?1:0};return layui.each(i,function(i,e){t.push(e)}),t.sort(n),a&&t.reverse(),t},H=function(i){var e=layui.data("layim-mobile")[C.mine.id]||{},a={},n=e.history||{};n[i.type+i.id];if(b){var l=b.find(".layim-list-history");i.historyTime=(new Date).getTime(),i.sign=i.content,n[i.type+i.id]=i,e.history=n,layui.data("layim-mobile",{key:C.mine.id,value:e});var s=l.find(".layim-"+i.type+i.id),c=(C.message[i.type+i.id]||[]).length,d=function(){s=l.find(".layim-"+i.type+i.id),s.find("p").html(i.content),c>0&&s.find(".layim-msg-status").html(c).addClass(o)};if(s.length>0)d(),l.prepend(s.clone()),s.remove();else{a[i.type+i.id]=i;var r=t(p({type:"history",item:"d.data"})).render({data:a});l.prepend(r),d(),l.find(".layim-null").remove()}I("Msg")}},I=function(i,e){if(!e){var e;layui.each(C.message,function(){return e=!0,!1})}a("#LAY_layimNew"+i)[e?"addClass":"removeClass"](o)},q=function(){var i={username:C.mine?C.mine.username:"璁垮",avatar:C.mine?C.mine.avatar:layui.cache.dir+"css/pc/layim/skin/logo.jpg",id:C.mine?C.mine.id:null,mine:!0},e=A(),a=e.elem.find(".layim-chat-main ul"),l=e.data,s=C.base.maxLength||3e3,o=(new Date).getTime(),c=e.textarea;if(i.content=c.val(),""!==i.content){if(i.content.length>s)return n.msg("鍐呭鏈�闀夸笉鑳借秴杩�"+s+"涓瓧绗�");o-(q.time||0)>6e4&&(a.append('<li class="layim-chat-system"><span>'+layui.data.date()+"</span></li>"),q.time=o),a.append(t(w).render(i));var d={mine:i,to:l},u={username:d.mine.username,avatar:d.mine.avatar,id:l.id,type:l.type,content:d.mine.content,timestamp:o,mine:!0};F(u),layui.each(r.sendMessage,function(i,e){e&&e(d)}),l.content=i.content,H(l),J(),c.val(""),c.next().addClass("layui-disabled")}},_=function(){var i=document.createElement("audio");i.src=layui.cache.dir+"css/modules/layim/voice/"+C.base.voice,i.play()},D={},M=function(i){i=i||{};var e={},n=A(),l=n.data||{},s=l.id==i.id&&l.type==i.type;i.timestamp=i.timestamp||(new Date).getTime(),i.system||F(i),D=JSON.parse(JSON.stringify(i)),C.base.voice&&_(),(!x&&i.content||!s)&&(C.message[i.type+i.id]?C.message[i.type+i.id].push(i):C.message[i.type+i.id]=[i]);var e={};if("friend"===i.type){var o;layui.each(C.friend,function(e,a){if(layui.each(a.list,function(e,a){if(a.id==i.id)return i.type="friend",i.name=a.username,o=!0}),o)return!0}),o||(i.temporary=!0)}else"group"===i.type?layui.each(C.group,function(a,t){if(t.id==i.id)return i.type="group",i.name=i.groupname=t.groupname,e.avatar=t.avatar,!0}):i.name=i.name||i.username||i.groupname;var c=a.extend({},i,{avatar:e.avatar||i.avatar});if("group"===i.type&&delete c.username,H(c),x&&s){var d=x.find(".layim-chat"),r=d.find(".layim-chat-main ul");i.system?r.append('<li class="layim-chat-system"><span>'+i.content+"</span></li>"):""!==i.content.replace(/\s/g,"")&&(i.timestamp-(q.time||0)>6e4&&(r.append('<li class="layim-chat-system"><span>'+layui.data.date(i.timestamp)+"</span></li>"),q.time=i.timestamp),r.append(t(w).render(i))),J()}},F=function(i){var e=layui.data("layim-mobile")[C.mine.id]||{},a=e.chatlog||{};a[i.type+i.id]?(a[i.type+i.id].push(i),a[i.type+i.id].length>d&&a[i.type+i.id].shift()):a[i.type+i.id]=[i],e.chatlog=a,layui.data("layim-mobile",{key:C.mine.id,value:e})},$=function(){var i=layui.data("layim-mobile")[C.mine.id]||{},e=A(),a=i.chatlog||{},n=e.elem.find(".layim-chat-main ul");layui.each(a[e.data.type+e.data.id],function(i,e){(new Date).getTime()>e.timestamp&&e.timestamp-(q.time||0)>6e4&&(n.append('<li class="layim-chat-system"><span>'+layui.data.date(e.timestamp)+"</span></li>"),q.time=e.timestamp),n.append(t(w).render(e))}),J()},O=function(i){var e,a={},l=b.find(".layim-list-"+i.type);if(C[i.type])if("friend"===i.type)layui.each(C.friend,function(t,l){if(i.groupid==l.id)return layui.each(C.friend[t].list,function(a,t){if(t.id==i.id)return e=!0}),e?n.msg("濂藉弸 ["+(i.username||"")+"] 宸茬粡瀛樺湪鍒楄〃涓�",{anim:6}):(C.friend[t].list=C.friend[t].list||[],a[C.friend[t].list.length]=i,i.groupIndex=t,C.friend[t].list.push(i),!0)});else if("group"===i.type){if(layui.each(C.group,function(a,t){if(t.id==i.id)return e=!0}),e)return n.msg("鎮ㄥ凡鏄� ["+(i.groupname||"")+"] 鐨勭兢鎴愬憳",{anim:6});a[C.group.length]=i,C.group.push(i)}if(!e){var s=t(p({type:i.type,item:"d.data",index:"friend"===i.type?"data.groupIndex":null})).render({data:a});if("friend"===i.type){var o=l.children("li").eq(i.groupIndex);o.find(".layui-layim-list").append(s),o.find(".layim-count").html(C.friend[i.groupIndex].list.length),o.find(".layim-null")[0]&&o.find(".layim-null").remove()}else"group"===i.type&&(l.append(s),l.find(".layim-null")[0]&&l.find(".layim-null").remove())}},Y=function(i){var e=b.find(".layim-list-"+i.type);C[i.type]&&("friend"===i.type?layui.each(C.friend,function(a,t){layui.each(t.list,function(t,n){if(i.id==n.id){var l=e.children("li").eq(a);l.find(".layui-layim-list").children("li");return l.find(".layui-layim-list").children("li").eq(t).remove(),C.friend[a].list.splice(t,1),l.find(".layim-count").html(C.friend[a].list.length),0===C.friend[a].list.length&&l.find(".layui-layim-list").html('<li class="layim-null">璇ュ垎缁勪笅宸叉棤濂藉弸浜�</li>'),!0}})}):"group"===i.type&&layui.each(C.group,function(a,t){if(i.id==t.id)return e.children("li").eq(a).remove(),C.group.splice(a,1),0===C.group.length&&e.html('<li class="layim-null">鏆傛棤缇ょ粍</li>'),!0}))},J=function(){var i=A(),e=i.elem.find(".layim-chat-main"),a=e.find("ul"),t=a.children(".layim-chat-li");if(t.length>=d){var n=t.eq(0);n.prev().remove(),a.prev().hasClass("layim-chat-system")||a.before('<div class="layim-chat-system"><span layim-event="chatLog">鏌ョ湅鏇村璁板綍</span></div>'),n.remove()}e.scrollTop(e[0].scrollHeight+1e3)},B=function(){var i=A(),e=i.textarea,a=e.next();e.off("keyup").on("keyup",function(i){var t=i.keyCode;13===t&&(i.preventDefault(),q()),a[""===e.val()?"addClass":"removeClass"]("layui-disabled")})},E=function(){var i=["[寰瑧]","[鍢诲樆]","[鍝堝搱]","[鍙埍]","[鍙�淽","[鎸栭蓟]","[鍚冩儕]","[瀹崇緸]","[鎸ょ溂]","[闂槾]","[閯欒]","[鐖变綘]","[娉猐","[鍋风瑧]","[浜蹭翰]","[鐢熺梾]","[澶紑蹇僝","[鐧界溂]","[鍙冲摷鍝糫","[宸﹀摷鍝糫","[鍢榏","[琛癩","[濮斿眻]","[鍚怾","[鍝堟瑺]","[鎶辨姳]","[鎬抅","[鐤戦棶]","[棣嬪槾]","[鎷滄嫓]","[鎬濊�僝","[姹梋","[鍥癩","[鐫","[閽盷","[澶辨湜]","[閰穄","[鑹瞉","[鍝糫","[榧撴帉]","[鏅昡","[鎮蹭激]","[鎶撶媯]","[榛戠嚎]","[闃撮櫓]","[鎬掗獋]","[浜掔矇]","[蹇僝","[浼ゅ績]","[鐚ご]","[鐔婄尗]","[鍏斿瓙]","[ok]","[鑰禲","[good]","[NO]","[璧瀅","[鏉","[寮盷","[鑽夋偿椹琞","[绁為┈]","[鍥","[娴簯]","[缁欏姏]","[鍥磋]","[濞佹]","[濂ョ壒鏇糫","[绀肩墿]","[閽焆","[璇濈瓛]","[铚$儧]","[铔嬬硶]"],e={};return layui.each(i,function(i,a){e[a]=layui.cache.dir+"images/face/"+i+".gif"}),e}(),P=layui.stope,R=function(i,e,a){var t,n=i.value;a||i.focus(),document.selection?(t=document.selection.createRange(),document.selection.empty(),t.text=e):(t=[n.substring(0,i.selectionStart),e,n.substr(i.selectionEnd)],a||i.focus(),i.value=t.join(""))},U={chat:function(i){var e=layui.data("layim-mobile")[C.mine.id]||{},t=i.data("type"),n=i.data("index"),l=i.attr("data-list")||i.index(),s={};"friend"===t?s=C[t][n].list[l]:"group"===t?s=C[t][l]:"history"===t&&(s=(e.history||{})[n]||{}),s.name=s.name||s.username||s.groupname,"history"!==t&&(s.type=t),L(s,!0),a(".layim-"+s.type+s.id).find(".layim-msg-status").removeClass(o)},spread:function(i){var e=i.attr("lay-type"),a="true"===e?"false":"true",t=layui.data("layim-mobile")[C.mine.id]||{};i.next()["true"===e?"removeClass":"addClass"](o),t["spread"+i.parent().index()]=a,layui.data("layim-mobile",{key:C.mine.id,value:t}),i.attr("lay-type",a),i.find(".layui-icon").html("true"===a?"":"")},tab:function(i){var e=i.index(),a=".layim-tab-content";i.addClass(c).siblings().removeClass(c),b.find(a).eq(e).addClass(o).siblings(a).removeClass(o)},back:function(i){var e=i.parents(".layui-m-layer").eq(0),a=e.attr("index"),t=".layim-panel";setTimeout(function(){n.close(a)},300),i.parents(t).eq(0).removeClass("layui-m-anim-left").addClass("layui-m-anim-rout"),e.prev().find(t).eq(0).removeClass("layui-m-anim-lout").addClass("layui-m-anim-right"),layui.each(r.back,function(i,e){setTimeout(function(){e&&e()},200)})},send:function(){q()},face:function(i,e){var t="",l=A(),s=l.textarea;layui.each(E,function(i,e){t+='<li title="'+i+'"><img src="'+e+'"></li>'}),t='<ul class="layui-layim-face">'+t+"</ul>",n.popBottom({content:t,success:function(i){var e=a(i).find(".layui-layim-face").children("li");m(e,function(){return R(s[0],"face"+this.title+" ",!0),s.next()[""===s.val()?"addClass":"removeClass"]("layui-disabled"),!1})}});var o=a(document);y?o.off("touchend",U.faceHide).on("touchend",U.faceHide):o.off("click",U.faceHide).on("click",U.faceHide),P(e)},faceHide:function(){n.close(n.popBottom.index),a(document).off("touchend",U.faceHide).off("click",U.faceHide)},image:function(i){var e=i.data("type")||"images",a={images:"uploadImage",file:"uploadFile"},t=A(),s=C.base[a[e]]||{};l({url:s.url||"",method:s.type,elem:i.find("input")[0],unwrap:!0,type:e,success:function(i){0==i.code?(i.data=i.data||{},"images"===e?R(t.textarea[0],"img["+(i.data.src||"")+"]"):"file"===e&&R(t.textarea[0],"file("+(i.data.src||"")+")["+(i.data.name||"涓嬭浇鏂囦欢")+"]"),q()):n.msg(i.msg||"涓婁紶澶辫触")}})},extend:function(i){var e=i.attr("lay-filter"),a=A();layui.each(r["tool("+e+")"],function(e,t){t&&t.call(i,function(i){R(a.textarea[0],i)},q,a)})},newFriend:function(){layui.each(r.newFriend,function(i,e){e&&e()})},group:function(){N({title:"缇よ亰",tpl:['<div class="layui-layim-list layim-list-group">',p({type:"group",item:"d.group"}),"</div>"].join(""),data:{}})},detail:function(){var i=A();layui.each(r.detail,function(e,a){a&&a(i.data)})},playAudio:function(i){var e=i.data("audio"),a=e||document.createElement("audio"),t=function(){a.pause(),i.removeAttr("status"),i.find("i").html("")};return i.data("error")?n.msg("鎾斁闊抽婧愬紓甯�"):a.play?void(i.attr("status")?t():(e||(a.src=i.data("src")),a.play(),i.attr("status","pause"),i.data("audio",a),i.find("i").html(""),a.onended=function(){t()},a.onerror=function(){n.msg("鎾斁闊抽婧愬紓甯�"),i.data("error",!0),t()})):n.msg("鎮ㄧ殑娴忚鍣ㄤ笉鏀寔audio")},playVideo:function(i){var e=i.data("src"),a=document.createElement("video");return a.play?(n.close(U.playVideo.index),void(U.playVideo.index=n.open({type:1,anim:!1,style:"width: 100%; height: 50%;",content:'<div style="background-color: #000; height: 100%;"><video style="position: absolute; width: 100%; height: 100%;" src="'+e+'" autoplay="autoplay"></video></div>'}))):n.msg("鎮ㄧ殑娴忚鍣ㄤ笉鏀寔video")},chatLog:function(i){var e=A();layui.each(r.chatlog,function(i,a){a&&a(e.data,e.elem.find(".layim-chat-main>ul"))})},moreList:function(i){var e=i.attr("lay-filter");layui.each(r.moreList,function(i,a){a&&a({alias:e})})},about:function(){n.open({content:'<p style="padding-bottom: 5px;">LayIM灞炰簬浠樿垂浜у搧锛屾杩庨�氳繃瀹樼綉鑾峰緱鎺堟潈锛屼績杩涜壇鎬у彂灞曪紒</p><p>褰撳墠鐗堟湰锛歭ayim mobile v'+e+'</p><p>鐗堟潈鎵�鏈夛細<a href="http://layim.layui.com" target="_blank">layim.layui.com</a></p>',className:"layim-about",shadeClose:!1,btn:"鎴戠煡閬撲簡"})}};i("layim-mobile",new u)}).addcss("modules/layim/mobile/layim.css?v=2.10","skinlayim-mobilecss");layui["layui.mobile"]||layui.config({base:layui.cache.dir+"lay/modules/mobile/"}).extend({"layer-mobile":"layer-mobile",zepto:"zepto","upload-mobile":"upload-mobile","layim-mobile":"layim-mobile"}),layui.define(["layer-mobile","zepto","layim-mobile"],function(l){l("mobile",{layer:layui["layer-mobile"],layim:layui["layim-mobile"]})});
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/mobile/layer-mobile.js b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/mobile/layer-mobile.js
new file mode 100644
index 0000000..1b9ff1f
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/mobile/layer-mobile.js
@@ -0,0 +1,189 @@
+/*!
+
+ @Name锛歭ayer mobile v2.0.0 寮瑰眰缁勪欢绉诲姩鐗�
+ @Author锛氳搐蹇�
+ @Site锛歨ttp://layer.layui.com/mobie/
+ @License锛歁IT
+
+ */
+
+layui.define(function(exports){
+
+ "use strict";
+
+ var win = window, doc = document, query = 'querySelectorAll', claname = 'getElementsByClassName', S = function(s){
+ return doc[query](s);
+ };
+
+ //榛樿閰嶇疆
+ var config = {
+ type: 0
+ ,shade: true
+ ,shadeClose: true
+ ,fixed: true
+ ,anim: 'scale' //榛樿鍔ㄧ敾绫诲瀷
+ };
+
+ var ready = {
+ extend: function(obj){
+ var newobj = JSON.parse(JSON.stringify(config));
+ for(var i in obj){
+ newobj[i] = obj[i];
+ }
+ return newobj;
+ },
+ timer: {}, end: {}
+ };
+
+ //鐐硅Е浜嬩欢
+ ready.touch = function(elem, fn){
+ elem.addEventListener('click', function(e){
+ fn.call(this, e);
+ }, false);
+ };
+
+ var index = 0, classs = ['layui-m-layer'], Layer = function(options){
+ var that = this;
+ that.config = ready.extend(options);
+ that.view();
+ };
+
+ Layer.prototype.view = function(){
+ var that = this, config = that.config, layerbox = doc.createElement('div');
+
+ that.id = layerbox.id = classs[0] + index;
+ layerbox.setAttribute('class', classs[0] + ' ' + classs[0]+(config.type || 0));
+ layerbox.setAttribute('index', index);
+
+ //鏍囬鍖哄煙
+ var title = (function(){
+ var titype = typeof config.title === 'object';
+ return config.title
+ ? '<h3 style="'+ (titype ? config.title[1] : '') +'">'+ (titype ? config.title[0] : config.title) +'</h3>'
+ : '';
+ }());
+
+ //鎸夐挳鍖哄煙
+ var button = (function(){
+ typeof config.btn === 'string' && (config.btn = [config.btn]);
+ var btns = (config.btn || []).length, btndom;
+ if(btns === 0 || !config.btn){
+ return '';
+ }
+ btndom = '<span yes type="1">'+ config.btn[0] +'</span>'
+ if(btns === 2){
+ btndom = '<span no type="0">'+ config.btn[1] +'</span>' + btndom;
+ }
+ return '<div class="layui-m-layerbtn">'+ btndom + '</div>';
+ }());
+
+ if(!config.fixed){
+ config.top = config.hasOwnProperty('top') ? config.top : 100;
+ config.style = config.style || '';
+ config.style += ' top:'+ ( doc.body.scrollTop + config.top) + 'px';
+ }
+
+ if(config.type === 2){
+ config.content = '<i></i><i class="layui-m-layerload"></i><i></i><p>'+ (config.content||'') +'</p>';
+ }
+
+ if(config.skin) config.anim = 'up';
+ if(config.skin === 'msg') config.shade = false;
+
+ layerbox.innerHTML = (config.shade ? '<div '+ (typeof config.shade === 'string' ? 'style="'+ config.shade +'"' : '') +' class="layui-m-layershade"></div>' : '')
+ +'<div class="layui-m-layermain" '+ (!config.fixed ? 'style="position:static;"' : '') +'>'
+ +'<div class="layui-m-layersection">'
+ +'<div class="layui-m-layerchild '+ (config.skin ? 'layui-m-layer-' + config.skin + ' ' : '') + (config.className ? config.className : '') + ' ' + (config.anim ? 'layui-m-anim-' + config.anim : '') +'" ' + ( config.style ? 'style="'+config.style+'"' : '' ) +'>'
+ + title
+ +'<div class="layui-m-layercont">'+ config.content +'</div>'
+ + button
+ +'</div>'
+ +'</div>'
+ +'</div>';
+
+ if(!config.type || config.type === 2){
+ var dialogs = doc[claname](classs[0] + config.type), dialen = dialogs.length;
+ if(dialen >= 1){
+ layer.close(dialogs[0].getAttribute('index'))
+ }
+ }
+
+ document.body.appendChild(layerbox);
+ var elem = that.elem = S('#'+that.id)[0];
+ config.success && config.success(elem);
+
+ that.index = index++;
+ that.action(config, elem);
+ };
+
+ Layer.prototype.action = function(config, elem){
+ var that = this;
+
+ //鑷姩鍏抽棴
+ if(config.time){
+ ready.timer[that.index] = setTimeout(function(){
+ layer.close(that.index);
+ }, config.time*1000);
+ }
+
+ //纭鍙栨秷
+ var btn = function(){
+ var type = this.getAttribute('type');
+ if(type == 0){
+ config.no && config.no();
+ layer.close(that.index);
+ } else {
+ config.yes ? config.yes(that.index) : layer.close(that.index);
+ }
+ };
+ if(config.btn){
+ var btns = elem[claname]('layui-m-layerbtn')[0].children, btnlen = btns.length;
+ for(var ii = 0; ii < btnlen; ii++){
+ ready.touch(btns[ii], btn);
+ }
+ }
+
+ //鐐归伄缃╁叧闂�
+ if(config.shade && config.shadeClose){
+ var shade = elem[claname]('layui-m-layershade')[0];
+ ready.touch(shade, function(){
+ layer.close(that.index, config.end);
+ });
+ }
+
+ config.end && (ready.end[that.index] = config.end);
+ };
+
+ var layer = {
+ v: '2.0 m',
+ index: index,
+
+ //鏍稿績鏂规硶
+ open: function(options){
+ var o = new Layer(options || {});
+ return o.index;
+ },
+
+ close: function(index){
+ var ibox = S('#'+classs[0]+index)[0];
+ if(!ibox) return;
+ ibox.innerHTML = '';
+ doc.body.removeChild(ibox);
+ clearTimeout(ready.timer[index]);
+ delete ready.timer[index];
+ typeof ready.end[index] === 'function' && ready.end[index]();
+ delete ready.end[index];
+ },
+
+ //鍏抽棴鎵�鏈塴ayer灞�
+ closeAll: function(){
+ var boxs = doc[claname](classs[0]);
+ for(var i = 0, len = boxs.length; i < len; i++){
+ layer.close((boxs[0].getAttribute('index')|0));
+ }
+ }
+ };
+
+ exports('layer-mobile', layer);
+
+});
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/mobile/layim-mobile-open.js b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/mobile/layim-mobile-open.js
new file mode 100644
index 0000000..bd623c5
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/mobile/layim-mobile-open.js
@@ -0,0 +1,11 @@
+/**
+
+ @Name锛歭ayim mobile 寮�婧愬寘
+ @Author锛氳搐蹇�
+ @License锛歁IT
+
+ */
+
+layui.define(function(exports){
+ exports('layim-mobile', layui.v);
+});
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/mobile/layim-mobile.js b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/mobile/layim-mobile.js
new file mode 100644
index 0000000..d6f8a4e
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/mobile/layim-mobile.js
@@ -0,0 +1,1167 @@
+/**
+
+ @Name锛歭ayim mobile 2.1.0
+ @Author锛氳搐蹇�
+ @Site锛歨ttp://layim.layui.com
+ @License锛歀GPL
+
+ */
+
+layui.define(['laytpl', 'upload-mobile', 'layer-mobile', 'zepto'], function(exports){
+
+ var v = '2.1.0';
+ var $ = layui.zepto;
+ var laytpl = layui.laytpl;
+ var layer = layui['layer-mobile'];
+ var upload = layui['upload-mobile'];
+ var device = layui.device();
+
+ var SHOW = 'layui-show', THIS = 'layim-this', MAX_ITEM = 20;
+
+ //鍥炶皟
+ var call = {};
+
+ //瀵瑰API
+ var LAYIM = function(){
+ this.v = v;
+ touch($('body'), '*[layim-event]', function(e){
+ var othis = $(this), methid = othis.attr('layim-event');
+ events[methid] ? events[methid].call(this, othis, e) : '';
+ });
+ };
+
+ //閬垮厤tochmove瑙﹀彂touchend
+ var touch = function(obj, child, fn){
+ var move, type = typeof child === 'function', end = function(e){
+ var othis = $(this);
+ if(othis.data('lock')){
+ return;
+ }
+ move || fn.call(this, e);
+ move = false;
+ othis.data('lock', 'true');
+ setTimeout(function(){
+ othis.removeAttr('data-lock');
+ }, othis.data('locktime') || 0);
+ };
+
+ if(type){
+ fn = child;
+ }
+
+ obj = typeof obj === 'string' ? $(obj) : obj;
+
+ if(!isTouch){
+ if(type){
+ obj.on('click', end);
+ } else {
+ obj.on('click', child, end);
+ }
+ return;
+ }
+
+ if(type){
+ obj.on('touchmove', function(){
+ move = true;
+ }).on('touchend', end);
+ } else {
+ obj.on('touchmove', child, function(){
+ move = true;
+ }).on('touchend', child, end);
+ }
+ };
+
+ //鏄惁鏀寔Touch
+ var isTouch = /Android|iPhone|SymbianOS|Windows Phone|iPad|iPod/.test(navigator.userAgent);
+
+ //搴曢儴寮瑰嚭
+ layer.popBottom = function(options){
+ layer.close(layer.popBottom.index);
+ layer.popBottom.index = layer.open($.extend({
+ type: 1
+ ,content: options.content || ''
+ ,shade: false
+ ,className: 'layim-layer'
+ }, options));
+ };
+
+ //鍩虹閰嶇疆
+ LAYIM.prototype.config = function(options){
+ options = options || {};
+ options = $.extend({
+ title: '鎴戠殑IM'
+ ,isgroup: 0
+ ,isNewFriend: !0
+ ,voice: 'default.mp3'
+ ,chatTitleColor: '#36373C'
+ }, options);
+ init(options);
+ };
+
+ //鐩戝惉浜嬩欢
+ LAYIM.prototype.on = function(events, callback){
+ if(typeof callback === 'function'){
+ call[events] ? call[events].push(callback) : call[events] = [callback];
+ }
+ return this;
+ };
+
+ //鎵撳紑涓�涓嚜瀹氫箟鐨勪細璇濈晫闈�
+ LAYIM.prototype.chat = function(data){
+ if(!window.JSON || !window.JSON.parse) return;
+ return popchat(data, -1), this;
+ };
+
+ //鎵撳紑涓�涓嚜瀹氫箟闈㈡澘
+ LAYIM.prototype.panel = function(options){
+ return popPanel(options);
+ };
+
+ //鑾峰彇鎵�鏈夌紦瀛樻暟鎹�
+ LAYIM.prototype.cache = function(){
+ return cache;
+ };
+
+ //鎺ュ彈娑堟伅
+ LAYIM.prototype.getMessage = function(data){
+ return getMessage(data), this;
+ };
+
+ //娣诲姞濂藉弸/缇�
+ LAYIM.prototype.addList = function(data){
+ return addList(data), this;
+ };
+
+ //鍒犻櫎濂藉弸/缇�
+ LAYIM.prototype.removeList = function(data){
+ return removeList(data), this;
+ };
+
+ //璁剧疆濂藉弸鍦ㄧ嚎/绂荤嚎鐘舵��
+ LAYIM.prototype.setFriendStatus = function(id, type){
+ var list = $('.layim-friend'+ id);
+ list[type === 'online' ? 'removeClass' : 'addClass']('layim-list-gray');
+ };
+
+ //璁剧疆褰撳墠浼氳瘽鐘舵��
+ LAYIM.prototype.setChatStatus = function(str){
+ var thatChat = thisChat(), status = thatChat.elem.find('.layim-chat-status');
+ return status.html(str), this;
+ };
+
+ //鏍囪鏂板姩鎬�
+ LAYIM.prototype.showNew = function(alias, show){
+ showNew(alias, show);
+ };
+
+ //瑙f瀽鑱婂ぉ鍐呭
+ LAYIM.prototype.content = function(content){
+ return layui.data.content(content);
+ };
+
+ //鍒楄〃鍐呭妯℃澘
+ var listTpl = function(options){
+ var nodata = {
+ friend: "璇ュ垎缁勪笅鏆傛棤濂藉弸"
+ ,group: "鏆傛棤缇ょ粍"
+ ,history: "鏆傛棤浠讳綍娑堟伅"
+ };
+
+ options = options || {};
+
+ //濡傛灉鏄巻鍙茶褰曪紝鍒欒鍙栨帓搴忓ソ鐨勬暟鎹�
+ if(options.type === 'history'){
+ options.item = options.item || 'd.sortHistory';
+ }
+
+ return ['{{# var length = 0; layui.each('+ options.item +', function(i, data){ length++; }}'
+ ,'<li layim-event="chat" data-type="'+ options.type +'" data-index="'+ (options.index ? '{{'+ options.index +'}}' : (options.type === 'history' ? '{{data.type}}' : options.type) +'{{data.id}}') +'" class="layim-'+ (options.type === 'history' ? '{{data.type}}' : options.type) +'{{data.id}} {{ data.status === "offline" ? "layim-list-gray" : "" }}"><div><img src="{{data.avatar}}"></div><span>{{ data.username||data.groupname||data.name||"浣氬悕" }}</span><p>{{ data.remark||data.sign||"" }}</p><span class="layim-msg-status">new</span></li>'
+ ,'{{# }); if(length === 0){ }}'
+ ,'<li class="layim-null">'+ (nodata[options.type] || "鏆傛棤鏁版嵁") +'</li>'
+ ,'{{# } }}'].join('');
+ };
+
+ //鍏叡闈㈡澘
+ var comTpl = function(tpl, anim, back){
+ return ['<div class="layim-panel'+ (anim ? ' layui-m-anim-left' : '') +'">'
+ ,'<div class="layim-title" style="background-color: {{d.base.chatTitleColor}};">'
+ ,'<p>'
+ ,(back ? '<i class="layui-icon layim-chat-back" layim-event="back"></i>' : '')
+ ,'{{ d.title || d.base.title }}<span class="layim-chat-status"></span>'
+ ,'{{# if(d.data){ }}'
+ ,'{{# if(d.data.type === "group"){ }}'
+ ,'<i class="layui-icon layim-chat-detail" layim-event="detail"></i>'
+ ,'{{# } }}'
+ ,'{{# } }}'
+ ,'</p>'
+ ,'</div>'
+ ,'<div class="layui-unselect layim-content">'
+ ,tpl
+ ,'</div>'
+ ,'</div>'].join('');
+ };
+
+ //涓荤晫闈㈡ā鐗�
+ var elemTpl = ['<div class="layui-layim">'
+ ,'<div class="layim-tab-content layui-show">'
+ ,'<ul class="layim-list-friend">'
+ ,'<ul class="layui-layim-list layui-show layim-list-history">'
+ ,listTpl({
+ type: 'history'
+ })
+ ,'</ul>'
+ ,'</ul>'
+ ,'</div>'
+ ,'<div class="layim-tab-content">'
+ ,'<ul class="layim-list-top">'
+ ,'{{# if(d.base.isNewFriend){ }}'
+ ,'<li layim-event="newFriend"><i class="layui-icon"></i>鏂扮殑鏈嬪弸<i class="layim-new" id="LAY_layimNewFriend"></i></li>'
+ ,'{{# } if(d.base.isgroup){ }}'
+ ,'<li layim-event="group"><i class="layui-icon"></i>缇よ亰<i class="layim-new" id="LAY_layimNewGroup"></i></li>'
+ ,'{{# } }}'
+ ,'</ul>'
+ ,'<ul class="layim-list-friend">'
+ ,'{{# layui.each(d.friend, function(index, item){ var spread = d.local["spread"+index]; }}'
+ ,'<li>'
+ ,'<h5 layim-event="spread" lay-type="{{ spread }}"><i class="layui-icon">{{# if(spread === "true"){ }}{{# } else { }}{{# } }}</i><span>{{ item.groupname||"鏈懡鍚嶅垎缁�"+index }}</span><em>(<cite class="layim-count"> {{ (item.list||[]).length }}</cite>)</em></h5>'
+ ,'<ul class="layui-layim-list {{# if(spread === "true"){ }}'
+ ,' layui-show'
+ ,'{{# } }}">'
+ ,listTpl({
+ type: "friend"
+ ,item: "item.list"
+ ,index: "index"
+ })
+ ,'</ul>'
+ ,'</li>'
+ ,'{{# }); if(d.friend.length === 0){ }}'
+ ,'<li><ul class="layui-layim-list layui-show"><li class="layim-null">鏆傛棤鑱旂郴浜�</li></ul>'
+ ,'{{# } }}'
+ ,'</ul>'
+ ,'</div>'
+ ,'<div class="layim-tab-content">'
+ ,'<ul class="layim-list-top">'
+ ,'{{# layui.each(d.base.moreList, function(index, item){ }}'
+ ,'<li layim-event="moreList" lay-filter="{{ item.alias }}">'
+ ,'<i class="layui-icon {{item.iconClass||\"\"}}">{{item.iconUnicode||""}}</i>{{item.title}}<i class="layim-new" id="LAY_layimNew{{ item.alias }}"></i>'
+ ,'</li>'
+ ,'{{# }); if(!d.base.copyright){ }}'
+ ,'<li layim-event="about"><i class="layui-icon"></i>鍏充簬<i class="layim-new" id="LAY_layimNewAbout"></i></li>'
+ ,'{{# } }}'
+ ,'</ul>'
+ ,'</div>'
+ ,'</div>'
+ ,'<ul class="layui-unselect layui-layim-tab">'
+ ,'<li title="娑堟伅" layim-event="tab" lay-type="message" class="layim-this"><i class="layui-icon"></i><span>娑堟伅</span><i class="layim-new" id="LAY_layimNewMsg"></i></li>'
+ ,'<li title="鑱旂郴浜�" layim-event="tab" lay-type="friend"><i class="layui-icon"></i><span>鑱旂郴浜�</span><i class="layim-new" id="LAY_layimNewList"></i></li>'
+ ,'<li title="鏇村" layim-event="tab" lay-type="more"><i class="layui-icon"></i><span>鏇村</span><i class="layim-new" id="LAY_layimNewMore"></i></li>'
+ ,'</ul>'].join('');
+
+ //鑱婂ぉ涓绘ā鏉�
+ var elemChatTpl = ['<div class="layim-chat layim-chat-{{d.data.type}}">'
+ ,'<div class="layim-chat-main">'
+ ,'<ul></ul>'
+ ,'</div>'
+ ,'<div class="layim-chat-footer">'
+ ,'<div class="layim-chat-send"><input type="text" autocomplete="off"><button class="layim-send layui-disabled" layim-event="send">鍙戦��</button></div>'
+ ,'<div class="layim-chat-tool" data-json="{{encodeURIComponent(JSON.stringify(d.data))}}">'
+ ,'<span class="layui-icon layim-tool-face" title="閫夋嫨琛ㄦ儏" layim-event="face"></span>'
+ ,'{{# if(d.base && d.base.uploadImage){ }}'
+ ,'<span class="layui-icon layim-tool-image" title="涓婁紶鍥剧墖" layim-event="image"><input type="file" name="file" accept="image/*"></span>'
+ ,'{{# }; }}'
+ ,'{{# if(d.base && d.base.uploadFile){ }}'
+ ,'<span class="layui-icon layim-tool-image" title="鍙戦�佹枃浠�" layim-event="image" data-type="file"><input type="file" name="file"></span>'
+ ,'{{# }; }}'
+ ,'{{# layui.each(d.base.tool, function(index, item){ }}'
+ ,'<span class="layui-icon {{item.iconClass||\"\"}} layim-tool-{{item.alias}}" title="{{item.title}}" layim-event="extend" lay-filter="{{ item.alias }}">{{item.iconUnicode||""}}</span>'
+ ,'{{# }); }}'
+ ,'</div>'
+ ,'</div>'
+ ,'</div>'].join('');
+
+ //琛ラ綈鏁颁綅
+ var digit = function(num){
+ return num < 10 ? '0' + (num|0) : num;
+ };
+
+ //杞崲鏃堕棿
+ layui.data.date = function(timestamp){
+ var d = new Date(timestamp||new Date());
+ return digit(d.getMonth() + 1) + '-' + digit(d.getDate())
+ + ' ' + digit(d.getHours()) + ':' + digit(d.getMinutes());
+ };
+
+ //杞崲鍐呭
+ layui.data.content = function(content){
+ //鏀寔鐨刪tml鏍囩
+ var html = function(end){
+ return new RegExp('\\n*\\['+ (end||'') +'(pre|div|p|table|thead|th|tbody|tr|td|ul|li|ol|li|dl|dt|dd|h2|h3|h4|h5)([\\s\\S]*?)\\]\\n*', 'g');
+ };
+ content = (content||'').replace(/&(?!#?[a-zA-Z0-9]+;)/g, '&')
+ .replace(/</g, '<').replace(/>/g, '>').replace(/'/g, ''').replace(/"/g, '"') //XSS
+ .replace(/@(\S+)(\s+?|$)/g, '@<a href="javascript:;">$1</a>$2') //杞箟@
+
+ .replace(/face\[([^\s\[\]]+?)\]/g, function(face){ //杞箟琛ㄦ儏
+ var alt = face.replace(/^face/g, '');
+ return '<img alt="'+ alt +'" title="'+ alt +'" src="' + faces[alt] + '">';
+ })
+ .replace(/img\[([^\s]+?)\]/g, function(img){ //杞箟鍥剧墖
+ return '<img class="layui-layim-photos" src="' + img.replace(/(^img\[)|(\]$)/g, '') + '">';
+ })
+ .replace(/file\([\s\S]+?\)\[[\s\S]*?\]/g, function(str){ //杞箟鏂囦欢
+ var href = (str.match(/file\(([\s\S]+?)\)\[/)||[])[1];
+ var text = (str.match(/\)\[([\s\S]*?)\]/)||[])[1];
+ if(!href) return str;
+ return '<a class="layui-layim-file" href="'+ href +'" download target="_blank"><i class="layui-icon"></i><cite>'+ (text||href) +'</cite></a>';
+ })
+ .replace(/audio\[([^\s]+?)\]/g, function(audio){ //杞箟闊抽
+ return '<div class="layui-unselect layui-layim-audio" layim-event="playAudio" data-src="' + audio.replace(/(^audio\[)|(\]$)/g, '') + '"><i class="layui-icon"></i><p>闊抽娑堟伅</p></div>';
+ })
+ .replace(/video\[([^\s]+?)\]/g, function(video){ //杞箟闊抽
+ return '<div class="layui-unselect layui-layim-video" layim-event="playVideo" data-src="' + video.replace(/(^video\[)|(\]$)/g, '') + '"><i class="layui-icon"></i></div>';
+ })
+
+ .replace(/a\([\s\S]+?\)\[[\s\S]*?\]/g, function(str){ //杞箟閾炬帴
+ var href = (str.match(/a\(([\s\S]+?)\)\[/)||[])[1];
+ var text = (str.match(/\)\[([\s\S]*?)\]/)||[])[1];
+ if(!href) return str;
+ return '<a href="'+ href +'" target="_blank">'+ (text||href) +'</a>';
+ }).replace(html(), '\<$1 $2\>').replace(html('/'), '\</$1\>') //杞ЩHTML浠g爜
+ .replace(/\n/g, '<br>') //杞箟鎹㈣
+ return content;
+ };
+
+ var elemChatMain = ['<li class="layim-chat-li{{ d.mine ? " layim-chat-mine" : "" }}">'
+ ,'<div class="layim-chat-user"><img src="{{ d.avatar }}"><cite>'
+ ,'{{ d.username||"浣氬悕" }}'
+ ,'</cite></div>'
+ ,'<div class="layim-chat-text">{{ layui.data.content(d.content||" ") }}</div>'
+ ,'</li>'].join('');
+
+ //澶勭悊鍒濆鍖栦俊鎭�
+ var cache = {message: {}, chat: []}, init = function(options){
+ var init = options.init || {}
+ mine = init.mine || {}
+ ,local = layui.data('layim-mobile')[mine.id] || {}
+ ,obj = {
+ base: options
+ ,local: local
+ ,mine: mine
+ ,history: local.history || []
+ }, create = function(data){
+ var mine = data.mine || {};
+ var local = layui.data('layim-mobile')[mine.id] || {}, obj = {
+ base: options //鍩虹閰嶇疆淇℃伅
+ ,local: local //鏈湴鏁版嵁
+ ,mine: mine //鎴戠殑鐢ㄦ埛淇℃伅
+ ,friend: data.friend || [] //鑱旂郴浜轰俊鎭�
+ ,group: data.group || [] //缇ょ粍淇℃伅
+ ,history: local.history || [] //鍘嗗彶浼氳瘽淇℃伅
+ };
+ obj.sortHistory = sort(obj.history, 'historyTime');
+ cache = $.extend(cache, obj);
+ popim(laytpl(comTpl(elemTpl)).render(obj));
+ layui.each(call.ready, function(index, item){
+ item && item(obj);
+ });
+ };
+ cache = $.extend(cache, obj);
+ if(options.brief){
+ return layui.each(call.ready, function(index, item){
+ item && item(obj);
+ });
+ };
+ create(init)
+ };
+
+ //鏄剧ず濂藉弸鍒楄〃闈㈡澘
+ var layimMain, popim = function(content){
+ return layer.open({
+ type: 1
+ ,shade: false
+ ,shadeClose: false
+ ,anim: -1
+ ,content: content
+ ,success: function(elem){
+ layimMain = $(elem);
+ fixIosScroll(layimMain.find('.layui-layim'));
+ if(cache.base.tabIndex){
+ events.tab($('.layui-layim-tab>li').eq(cache.base.tabIndex));
+ }
+ }
+ });
+ };
+
+ //寮瑰嚭鍏叡闈㈡澘
+ var popPanel = function(options, anim){
+ options = options || {};
+ var data = $.extend({}, cache, {
+ title: options.title||''
+ ,data: options.data
+ });
+ return layer.open({
+ type: 1
+ ,shade: false
+ ,shadeClose: false
+ ,anim: -1
+ ,content: laytpl(comTpl(options.tpl, anim === -1 ? false : true, true)).render(data)
+ ,success: function(elem){
+ var othis = $(elem);
+ othis.prev().find('.layim-panel').addClass('layui-m-anim-lout');
+ options.success && options.success(elem);
+ options.isChat || fixIosScroll(othis.find('.layim-content'));
+ }
+ ,end: options.end
+ });
+ }
+
+ //鏄剧ず鑱婂ぉ闈㈡澘
+ var layimChat, layimMin, To = {}, popchat = function(data, anim, back){
+ data = data || {};
+
+ if(!data.id){
+ return layer.msg('闈炴硶鐢ㄦ埛');
+ }
+
+ layer.close(popchat.index);
+
+ return popchat.index = popPanel({
+ tpl: elemChatTpl
+ ,data: data
+ ,title: data.name
+ ,isChat: !0
+ ,success: function(elem){
+ layimChat = $(elem);
+
+ hotkeySend();
+ viewChatlog();
+
+ delete cache.message[data.type + data.id]; //鍓旈櫎缂撳瓨娑堟伅
+ showNew('Msg');
+
+ //鑱婂ぉ绐楀彛鐨勫垏鎹㈢洃鍚�
+ var thatChat = thisChat(), chatMain = thatChat.elem.find('.layim-chat-main');
+ layui.each(call.chatChange, function(index, item){
+ item && item(thatChat);
+ });
+
+ fixIosScroll(chatMain);
+
+ //杈撳叆妗嗚幏鍙栫劍鐐�
+ thatChat.textarea.on('focus', function(){
+ setTimeout(function(){
+ chatMain.scrollTop(chatMain[0].scrollHeight + 1000);
+ }, 500);
+ });
+ }
+ ,end: function(){
+ layimChat = null;
+ sendMessage.time = 0;
+ }
+ }, anim);
+
+ };
+
+ //淇IOS璁惧鍦ㄨ竟鐣屽紩鍙戞棤娉曟粴鍔ㄧ殑闂
+ var fixIosScroll = function(othis){
+ if(device.ios){
+ othis.on('touchmove', function(e){
+ var top = othis.scrollTop();
+ if(top <= 0){
+ othis.scrollTop(1);
+ e.preventDefault(e);
+ }
+ if(this.scrollHeight - top - othis.height() <= 0){
+ othis.scrollTop(othis.scrollTop() - 1);
+ e.preventDefault(e);
+ }
+ });
+ }
+ };
+
+ //鍚屾缃伆鐘舵��
+ var syncGray = function(data){
+ $('.layim-'+data.type+data.id).each(function(){
+ if($(this).hasClass('layim-list-gray')){
+ layui.layim.setFriendStatus(data.id, 'offline');
+ }
+ });
+ };
+
+ //鑾峰彇褰撳墠鑱婂ぉ闈㈡澘
+ var thisChat = function(){
+ if(!layimChat) return {};
+ var cont = layimChat.find('.layim-chat');
+ var to = JSON.parse(decodeURIComponent(cont.find('.layim-chat-tool').data('json')));
+ return {
+ elem: cont
+ ,data: to
+ ,textarea: cont.find('input')
+ };
+ };
+
+ //灏嗗璞℃寜瀛愬璞$殑鏌愪釜key鎺掑簭
+ var sort = function(data, key, asc){
+ var arr = []
+ ,compare = function (obj1, obj2) {
+ var value1 = obj1[key];
+ var value2 = obj2[key];
+ if (value2 < value1) {
+ return -1;
+ } else if (value2 > value1) {
+ return 1;
+ } else {
+ return 0;
+ }
+ };
+ layui.each(data, function(index, item){
+ arr.push(item);
+ });
+ arr.sort(compare);
+ if(asc) arr.reverse();
+ return arr;
+ };
+
+ //璁板綍鍘嗗彶浼氳瘽
+ var setHistory = function(data){
+ var local = layui.data('layim-mobile')[cache.mine.id] || {};
+ var obj = {}, history = local.history || {};
+ var is = history[data.type + data.id];
+
+ if(!layimMain) return;
+
+ var historyElem = layimMain.find('.layim-list-history');
+
+ data.historyTime = new Date().getTime();
+ data.sign = data.content;
+ history[data.type + data.id] = data;
+
+ local.history = history;
+
+ layui.data('layim-mobile', {
+ key: cache.mine.id
+ ,value: local
+ });
+
+ var msgItem = historyElem.find('.layim-'+ data.type + data.id)
+ ,msgNums = (cache.message[data.type+data.id]||[]).length //鏈娑堟伅鏁�
+ ,showMsg = function(){
+ msgItem = historyElem.find('.layim-'+ data.type + data.id);
+ msgItem.find('p').html(data.content);
+ if(msgNums > 0){
+ msgItem.find('.layim-msg-status').html(msgNums).addClass(SHOW);
+ }
+ };
+
+ if(msgItem.length > 0){
+ showMsg();
+ historyElem.prepend(msgItem.clone());
+ msgItem.remove();
+ } else {
+ obj[data.type + data.id] = data;
+ var historyList = laytpl(listTpl({
+ type: 'history'
+ ,item: 'd.data'
+ })).render({data: obj});
+ historyElem.prepend(historyList);
+ showMsg();
+ historyElem.find('.layim-null').remove();
+ }
+
+ showNew('Msg');
+ };
+
+ //鏍囨敞搴曢儴瀵艰埅鏂板姩鎬佸窘绔�
+ var showNew = function(alias, show){
+ if(!show){
+ var show;
+ layui.each(cache.message, function(){
+ show = true;
+ return false;
+ });
+ }
+ $('#LAY_layimNew'+alias)[show ? 'addClass' : 'removeClass'](SHOW);
+ };
+
+ //鍙戦�佹秷鎭�
+ var sendMessage = function(){
+ var data = {
+ username: cache.mine ? cache.mine.username : '璁垮'
+ ,avatar: cache.mine ? cache.mine.avatar : (layui.cache.dir+'css/pc/layim/skin/logo.jpg')
+ ,id: cache.mine ? cache.mine.id : null
+ ,mine: true
+ };
+ var thatChat = thisChat(), ul = thatChat.elem.find('.layim-chat-main ul');
+ var To = thatChat.data, maxLength = cache.base.maxLength || 3000;
+ var time = new Date().getTime(), textarea = thatChat.textarea;
+
+ data.content = textarea.val();
+
+ if(data.content === '') return;
+
+ if(data.content.length > maxLength){
+ return layer.msg('鍐呭鏈�闀夸笉鑳借秴杩�'+ maxLength +'涓瓧绗�')
+ }
+
+ if(time - (sendMessage.time||0) > 60*1000){
+ ul.append('<li class="layim-chat-system"><span>'+ layui.data.date() +'</span></li>');
+ sendMessage.time = time;
+ }
+ ul.append(laytpl(elemChatMain).render(data));
+
+ var param = {
+ mine: data
+ ,to: To
+ }, message = {
+ username: param.mine.username
+ ,avatar: param.mine.avatar
+ ,id: To.id
+ ,type: To.type
+ ,content: param.mine.content
+ ,timestamp: time
+ ,mine: true
+ };
+ pushChatlog(message);
+
+ layui.each(call.sendMessage, function(index, item){
+ item && item(param);
+ });
+
+ To.content = data.content;
+ setHistory(To);
+ chatListMore();
+ textarea.val('');
+
+ textarea.next().addClass('layui-disabled');
+ };
+
+ //娑堟伅澹伴煶鎻愰啋
+ var voice = function() {
+ var audio = document.createElement("audio");
+ audio.src = layui.cache.dir+'css/modules/layim/voice/'+ cache.base.voice;
+ audio.play();
+ };
+
+ //鎺ュ彈娑堟伅
+ var messageNew = {}, getMessage = function(data){
+ data = data || {};
+
+ var group = {}, thatChat = thisChat(), thisData = thatChat.data || {}
+ ,isThisData = thisData.id == data.id && thisData.type == data.type; //鏄惁褰撳墠鎵撳紑鑱旂郴浜虹殑娑堟伅
+
+ data.timestamp = data.timestamp || new Date().getTime();
+ data.system || pushChatlog(data);
+ messageNew = JSON.parse(JSON.stringify(data));
+
+ if(cache.base.voice){
+ voice();
+ }
+
+ if((!layimChat && data.content) || !isThisData){
+ if(cache.message[data.type + data.id]){
+ cache.message[data.type + data.id].push(data)
+ } else {
+ cache.message[data.type + data.id] = [data];
+ }
+ }
+
+ //璁板綍鑱婂ぉ闈㈡澘闃熷垪
+ var group = {};
+ if(data.type === 'friend'){
+ var friend;
+ layui.each(cache.friend, function(index1, item1){
+ layui.each(item1.list, function(index, item){
+ if(item.id == data.id){
+ data.type = 'friend';
+ data.name = item.username;
+ return friend = true;
+ }
+ });
+ if(friend) return true;
+ });
+ if(!friend){
+ data.temporary = true; //涓存椂浼氳瘽
+ }
+ } else if(data.type === 'group'){
+ layui.each(cache.group, function(index, item){
+ if(item.id == data.id){
+ data.type = 'group';
+ data.name = data.groupname = item.groupname;
+ group.avatar = item.avatar;
+ return true;
+ }
+ });
+ } else {
+ data.name = data.name || data.username || data.groupname;
+ }
+ var newData = $.extend({}, data, {
+ avatar: group.avatar || data.avatar
+ });
+ if(data.type === 'group'){
+ delete newData.username;
+ }
+ setHistory(newData);
+
+ if(!layimChat || !isThisData) return;
+
+ var cont = layimChat.find('.layim-chat')
+ ,ul = cont.find('.layim-chat-main ul');
+
+ //绯荤粺娑堟伅
+ if(data.system){
+ ul.append('<li class="layim-chat-system"><span>'+ data.content +'</span></li>');
+ } else if(data.content.replace(/\s/g, '') !== ''){
+ if(data.timestamp - (sendMessage.time||0) > 60*1000){
+ ul.append('<li class="layim-chat-system"><span>'+ layui.data.date(data.timestamp) +'</span></li>');
+ sendMessage.time = data.timestamp;
+ }
+ ul.append(laytpl(elemChatMain).render(data));
+ }
+ chatListMore();
+ };
+
+ //瀛樺偍鏈�杩慚AX_ITEM鏉¤亰澶╄褰曞埌鏈湴
+ var pushChatlog = function(message){
+ var local = layui.data('layim-mobile')[cache.mine.id] || {};
+ var chatlog = local.chatlog || {};
+ if(chatlog[message.type + message.id]){
+ chatlog[message.type + message.id].push(message);
+ if(chatlog[message.type + message.id].length > MAX_ITEM){
+ chatlog[message.type + message.id].shift();
+ }
+ } else {
+ chatlog[message.type + message.id] = [message];
+ }
+ local.chatlog = chatlog;
+ layui.data('layim-mobile', {
+ key: cache.mine.id
+ ,value: local
+ });
+ };
+
+ //娓叉煋鏈湴鏈�鏂拌亰澶╄褰曞埌鐩稿簲闈㈡澘
+ var viewChatlog = function(){
+ var local = layui.data('layim-mobile')[cache.mine.id] || {};
+ var thatChat = thisChat(), chatlog = local.chatlog || {};
+ var ul = thatChat.elem.find('.layim-chat-main ul');
+ layui.each(chatlog[thatChat.data.type + thatChat.data.id], function(index, item){
+ if(new Date().getTime() > item.timestamp && item.timestamp - (sendMessage.time||0) > 60*1000){
+ ul.append('<li class="layim-chat-system"><span>'+ layui.data.date(item.timestamp) +'</span></li>');
+ sendMessage.time = item.timestamp;
+ }
+ ul.append(laytpl(elemChatMain).render(item));
+ });
+ chatListMore();
+ };
+
+ //娣诲姞濂藉弸鎴栫兢
+ var addList = function(data){
+ var obj = {}, has, listElem = layimMain.find('.layim-list-'+ data.type);
+
+ if(cache[data.type]){
+ if(data.type === 'friend'){
+ layui.each(cache.friend, function(index, item){
+ if(data.groupid == item.id){
+ //妫�鏌ュソ鍙嬫槸鍚﹀凡缁忓湪鍒楄〃涓�
+ layui.each(cache.friend[index].list, function(idx, itm){
+ if(itm.id == data.id){
+ return has = true
+ }
+ });
+ if(has) return layer.msg('濂藉弸 ['+ (data.username||'') +'] 宸茬粡瀛樺湪鍒楄〃涓�',{anim: 6});
+ cache.friend[index].list = cache.friend[index].list || [];
+ obj[cache.friend[index].list.length] = data;
+ data.groupIndex = index;
+ cache.friend[index].list.push(data); //鍦╟ache鐨刦riend閲岄潰涔熷鍔犲ソ鍙�
+ return true;
+ }
+ });
+ } else if(data.type === 'group'){
+ //妫�鏌ョ兢缁勬槸鍚﹀凡缁忓湪鍒楄〃涓�
+ layui.each(cache.group, function(idx, itm){
+ if(itm.id == data.id){
+ return has = true
+ }
+ });
+ if(has) return layer.msg('鎮ㄥ凡鏄� ['+ (data.groupname||'') +'] 鐨勭兢鎴愬憳',{anim: 6});
+ obj[cache.group.length] = data;
+ cache.group.push(data);
+ }
+ }
+
+ if(has) return;
+
+ var list = laytpl(listTpl({
+ type: data.type
+ ,item: 'd.data'
+ ,index: data.type === 'friend' ? 'data.groupIndex' : null
+ })).render({data: obj});
+
+ if(data.type === 'friend'){
+ var li = listElem.children('li').eq(data.groupIndex);
+ li.find('.layui-layim-list').append(list);
+ li.find('.layim-count').html(cache.friend[data.groupIndex].list.length); //鍒锋柊濂藉弸鏁伴噺
+ //濡傛灉鍒濆娌℃湁濂藉弸
+ if(li.find('.layim-null')[0]){
+ li.find('.layim-null').remove();
+ }
+ } else if(data.type === 'group'){
+ listElem.append(list);
+ //濡傛灉鍒濆娌℃湁缇ょ粍
+ if(listElem.find('.layim-null')[0]){
+ listElem.find('.layim-null').remove();
+ }
+ }
+ };
+
+ //绉诲嚭濂藉弸鎴栫兢
+ var removeList = function(data){
+ var listElem = layimMain.find('.layim-list-'+ data.type);
+ var obj = {};
+ if(cache[data.type]){
+ if(data.type === 'friend'){
+ layui.each(cache.friend, function(index1, item1){
+ layui.each(item1.list, function(index, item){
+ if(data.id == item.id){
+ var li = listElem.children('li').eq(index1);
+ var list = li.find('.layui-layim-list').children('li');
+ li.find('.layui-layim-list').children('li').eq(index).remove();
+ cache.friend[index1].list.splice(index, 1); //浠巆ache鐨刦riend閲岄潰涔熷垹闄ゆ帀濂藉弸
+ li.find('.layim-count').html(cache.friend[index1].list.length); //鍒锋柊濂藉弸鏁伴噺
+ //濡傛灉涓�涓ソ鍙嬮兘娌′簡
+ if(cache.friend[index1].list.length === 0){
+ li.find('.layui-layim-list').html('<li class="layim-null">璇ュ垎缁勪笅宸叉棤濂藉弸浜�</li>');
+ }
+ return true;
+ }
+ });
+ });
+ } else if(data.type === 'group'){
+ layui.each(cache.group, function(index, item){
+ if(data.id == item.id){
+ listElem.children('li').eq(index).remove();
+ cache.group.splice(index, 1); //浠巆ache鐨刧roup閲岄潰涔熷垹闄ゆ帀鏁版嵁
+ //濡傛灉涓�涓兢缁勯兘娌′簡
+ if(cache.group.length === 0){
+ listElem.html('<li class="layim-null">鏆傛棤缇ょ粍</li>');
+ }
+ return true;
+ }
+ });
+ }
+ }
+ };
+
+ //鏌ョ湅鏇村璁板綍
+ var chatListMore = function(){
+ var thatChat = thisChat(), chatMain = thatChat.elem.find('.layim-chat-main');
+ var ul = chatMain.find('ul'), li = ul.children('.layim-chat-li');
+
+ if(li.length >= MAX_ITEM){
+ var first = li.eq(0);
+ first.prev().remove();
+ if(!ul.prev().hasClass('layim-chat-system')){
+ ul.before('<div class="layim-chat-system"><span layim-event="chatLog">鏌ョ湅鏇村璁板綍</span></div>');
+ }
+ first.remove();
+ }
+ chatMain.scrollTop(chatMain[0].scrollHeight + 1000);
+ };
+
+ //蹇嵎閿彂閫�
+ var hotkeySend = function(){
+ var thatChat = thisChat(), textarea = thatChat.textarea;
+ var btn = textarea.next();
+ textarea.off('keyup').on('keyup', function(e){
+ var keyCode = e.keyCode;
+ if(keyCode === 13){
+ e.preventDefault();
+ sendMessage();
+ }
+ btn[textarea.val() === '' ? 'addClass' : 'removeClass']('layui-disabled');
+ });
+ };
+
+ //琛ㄦ儏搴�
+ var faces = function(){
+ var alt = ["[寰瑧]", "[鍢诲樆]", "[鍝堝搱]", "[鍙埍]", "[鍙�淽", "[鎸栭蓟]", "[鍚冩儕]", "[瀹崇緸]", "[鎸ょ溂]", "[闂槾]", "[閯欒]", "[鐖变綘]", "[娉猐", "[鍋风瑧]", "[浜蹭翰]", "[鐢熺梾]", "[澶紑蹇僝", "[鐧界溂]", "[鍙冲摷鍝糫", "[宸﹀摷鍝糫", "[鍢榏", "[琛癩", "[濮斿眻]", "[鍚怾", "[鍝堟瑺]", "[鎶辨姳]", "[鎬抅", "[鐤戦棶]", "[棣嬪槾]", "[鎷滄嫓]", "[鎬濊�僝", "[姹梋", "[鍥癩", "[鐫", "[閽盷", "[澶辨湜]", "[閰穄", "[鑹瞉", "[鍝糫", "[榧撴帉]", "[鏅昡", "[鎮蹭激]", "[鎶撶媯]", "[榛戠嚎]", "[闃撮櫓]", "[鎬掗獋]", "[浜掔矇]", "[蹇僝", "[浼ゅ績]", "[鐚ご]", "[鐔婄尗]", "[鍏斿瓙]", "[ok]", "[鑰禲", "[good]", "[NO]", "[璧瀅", "[鏉", "[寮盷", "[鑽夋偿椹琞", "[绁為┈]", "[鍥", "[娴簯]", "[缁欏姏]", "[鍥磋]", "[濞佹]", "[濂ョ壒鏇糫", "[绀肩墿]", "[閽焆", "[璇濈瓛]", "[铚$儧]", "[铔嬬硶]"], arr = {};
+ layui.each(alt, function(index, item){
+ arr[item] = layui.cache.dir + 'images/face/'+ index + '.gif';
+ });
+ return arr;
+ }();
+
+
+ var stope = layui.stope; //缁勪欢浜嬩欢鍐掓场
+
+ //鍦ㄧ劍鐐瑰鎻掑叆鍐呭
+ var focusInsert = function(obj, str, nofocus){
+ var result, val = obj.value;
+ nofocus || obj.focus();
+ if(document.selection){ //ie
+ result = document.selection.createRange();
+ document.selection.empty();
+ result.text = str;
+ } else {
+ result = [val.substring(0, obj.selectionStart), str, val.substr(obj.selectionEnd)];
+ nofocus || obj.focus();
+ obj.value = result.join('');
+ }
+ };
+
+ //浜嬩欢
+ var anim = 'layui-anim-upbit', events = {
+ //寮瑰嚭鑱婂ぉ闈㈡澘
+ chat: function(othis){
+ var local = layui.data('layim-mobile')[cache.mine.id] || {};
+ var type = othis.data('type'), index = othis.data('index');
+ var list = othis.attr('data-list') || othis.index(), data = {};
+ if(type === 'friend'){
+ data = cache[type][index].list[list];
+ } else if(type === 'group'){
+ data = cache[type][list];
+ } else if(type === 'history'){
+ data = (local.history || {})[index] || {};
+ }
+ data.name = data.name || data.username || data.groupname;
+ if(type !== 'history'){
+ data.type = type;
+ }
+ popchat(data, true);
+ $('.layim-'+ data.type + data.id).find('.layim-msg-status').removeClass(SHOW);
+ }
+
+ //灞曞紑鑱旂郴浜哄垎缁�
+ ,spread: function(othis){
+ var type = othis.attr('lay-type');
+ var spread = type === 'true' ? 'false' : 'true';
+ var local = layui.data('layim-mobile')[cache.mine.id] || {};
+ othis.next()[type === 'true' ? 'removeClass' : 'addClass'](SHOW);
+ local['spread' + othis.parent().index()] = spread;
+ layui.data('layim-mobile', {
+ key: cache.mine.id
+ ,value: local
+ });
+ othis.attr('lay-type', spread);
+ othis.find('.layui-icon').html(spread === 'true' ? '' : '');
+ }
+
+ //搴曢儴瀵艰埅鍒囨崲
+ ,tab: function(othis){
+ var index = othis.index(), main = '.layim-tab-content';
+ othis.addClass(THIS).siblings().removeClass(THIS);
+ layimMain.find(main).eq(index).addClass(SHOW).siblings(main).removeClass(SHOW);
+ }
+
+ //杩斿洖鍒颁笂涓�涓潰鏉�
+ ,back: function(othis){
+ var layero = othis.parents('.layui-m-layer').eq(0)
+ ,index = layero.attr('index')
+ ,PANEL = '.layim-panel';
+ setTimeout(function(){
+ layer.close(index);
+ }, 300);
+ othis.parents(PANEL).eq(0).removeClass('layui-m-anim-left').addClass('layui-m-anim-rout');
+ layero.prev().find(PANEL).eq(0).removeClass('layui-m-anim-lout').addClass('layui-m-anim-right');
+ layui.each(call.back, function(index, item){
+ setTimeout(function(){
+ item && item();
+ }, 200);
+ });
+ }
+
+ //鍙戦�佽亰澶╁唴瀹�
+ ,send: function(){
+ sendMessage();
+ }
+
+ //琛ㄦ儏
+ ,face: function(othis, e){
+ var content = '', thatChat = thisChat(), input = thatChat.textarea;
+ layui.each(faces, function(key, item){
+ content += '<li title="'+ key +'"><img src="'+ item +'"></li>';
+ });
+ content = '<ul class="layui-layim-face">'+ content +'</ul>';
+ layer.popBottom({
+ content: content
+ ,success: function(elem){
+ var list = $(elem).find('.layui-layim-face').children('li')
+ touch(list, function(){
+ focusInsert(input[0], 'face' + this.title + ' ', true);
+ input.next()[input.val() === '' ? 'addClass' : 'removeClass']('layui-disabled');
+ return false;
+ });
+ }
+ });
+ var doc = $(document);
+ if(isTouch){
+ doc.off('touchend', events.faceHide).on('touchend', events.faceHide);
+ } else {
+ doc.off('click', events.faceHide).on('click', events.faceHide);
+ }
+ stope(e);
+ } ,faceHide: function(){
+ layer.close(layer.popBottom.index);
+ $(document).off('touchend', events.faceHide)
+ .off('click', events.faceHide);
+ }
+
+ //鍥剧墖鎴栦竴鑸枃浠�
+ ,image: function(othis){
+ var type = othis.data('type') || 'images', api = {
+ images: 'uploadImage'
+ ,file: 'uploadFile'
+ }
+ ,thatChat = thisChat(), conf = cache.base[api[type]] || {};
+ upload({
+ url: conf.url || ''
+ ,method: conf.type
+ ,elem: othis.find('input')[0]
+ ,unwrap: true
+ ,type: type
+ ,success: function(res){
+ if(res.code == 0){
+ res.data = res.data || {};
+ if(type === 'images'){
+ focusInsert(thatChat.textarea[0], 'img['+ (res.data.src||'') +']');
+ } else if(type === 'file'){
+ focusInsert(thatChat.textarea[0], 'file('+ (res.data.src||'') +')['+ (res.data.name||'涓嬭浇鏂囦欢') +']');
+ }
+ sendMessage();
+ } else {
+ layer.msg(res.msg||'涓婁紶澶辫触');
+ }
+ }
+ });
+ }
+
+ //鎵╁睍宸ュ叿鏍�
+ ,extend: function(othis){
+ var filter = othis.attr('lay-filter')
+ ,thatChat = thisChat();
+
+ layui.each(call['tool('+ filter +')'], function(index, item){
+ item && item.call(othis, function(content){
+ focusInsert(thatChat.textarea[0], content);
+ }, sendMessage, thatChat);
+ });
+ }
+
+ //寮瑰嚭鏂扮殑鏈嬪弸闈㈡澘
+ ,newFriend: function(){
+ layui.each(call.newFriend, function(index, item){
+ item && item();
+ });
+ }
+
+ //寮瑰嚭缇ょ粍闈㈡澘
+ ,group: function(){
+ popPanel({
+ title: '缇よ亰'
+ ,tpl: ['<div class="layui-layim-list layim-list-group">'
+ ,listTpl({
+ type: 'group'
+ ,item: 'd.group'
+ })
+ ,'</div>'].join('')
+ ,data: {}
+ });
+ }
+
+ //鏌ョ湅缇ょ粍鎴愬憳
+ ,detail: function(){
+ var thatChat = thisChat();
+ layui.each(call.detail, function(index, item){
+ item && item(thatChat.data);
+ });
+ }
+
+ //鎾斁闊抽
+ ,playAudio: function(othis){
+ var audioData = othis.data('audio')
+ ,audio = audioData || document.createElement('audio')
+ ,pause = function(){
+ audio.pause();
+ othis.removeAttr('status');
+ othis.find('i').html('');
+ };
+ if(othis.data('error')){
+ return layer.msg('鎾斁闊抽婧愬紓甯�');
+ }
+ if(!audio.play){
+ return layer.msg('鎮ㄧ殑娴忚鍣ㄤ笉鏀寔audio');
+ }
+ if(othis.attr('status')){
+ pause();
+ } else {
+ audioData || (audio.src = othis.data('src'));
+ audio.play();
+ othis.attr('status', 'pause');
+ othis.data('audio', audio);
+ othis.find('i').html('');
+ //鎾斁缁撴潫
+ audio.onended = function(){
+ pause();
+ };
+ //鎾斁寮傚父
+ audio.onerror = function(){
+ layer.msg('鎾斁闊抽婧愬紓甯�');
+ othis.data('error', true);
+ pause();
+ };
+ }
+ }
+
+ //鎾斁瑙嗛
+ ,playVideo: function(othis){
+ var videoData = othis.data('src')
+ ,video = document.createElement('video');
+ if(!video.play){
+ return layer.msg('鎮ㄧ殑娴忚鍣ㄤ笉鏀寔video');
+ }
+ layer.close(events.playVideo.index);
+ events.playVideo.index = layer.open({
+ type: 1
+ ,anim: false
+ ,style: 'width: 100%; height: 50%;'
+ ,content: '<div style="background-color: #000; height: 100%;"><video style="position: absolute; width: 100%; height: 100%;" src="'+ videoData +'" autoplay="autoplay"></video></div>'
+ });
+ }
+
+ //鑱婂ぉ璁板綍
+ ,chatLog: function(othis){
+ var thatChat = thisChat();
+ layui.each(call.chatlog, function(index, item){
+ item && item(thatChat.data, thatChat.elem.find('.layim-chat-main>ul'));
+ });
+ }
+
+ //鏇村鍒楄〃
+ ,moreList: function(othis){
+ var filter = othis.attr('lay-filter');
+ layui.each(call.moreList, function(index, item){
+ item && item({
+ alias: filter
+ });
+ });
+ }
+
+ //鍏充簬
+ ,about: function(){
+ layer.open({
+ content: '<p style="padding-bottom: 5px;">LayIM灞炰簬浠樿垂浜у搧锛屾杩庨�氳繃瀹樼綉鑾峰緱鎺堟潈锛屼績杩涜壇鎬у彂灞曪紒</p><p>褰撳墠鐗堟湰锛歭ayim mobile v'+ v + '</p><p>鐗堟潈鎵�鏈夛細<a href="http://layim.layui.com" target="_blank">layim.layui.com</a></p>'
+ ,className: 'layim-about'
+ ,shadeClose: false
+ ,btn: '鎴戠煡閬撲簡'
+ });
+ }
+
+ };
+
+ //鏆撮湶鎺ュ彛
+ exports('layim-mobile', new LAYIM());
+
+}).addcss(
+ 'modules/layim/mobile/layim.css?v=2.10'
+ ,'skinlayim-mobilecss'
+);
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/mobile/upload-mobile.js b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/mobile/upload-mobile.js
new file mode 100644
index 0000000..4f4ac7a
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/mobile/upload-mobile.js
@@ -0,0 +1,166 @@
+/*!
+
+ @Title: layui.upload 鍗曟枃浠朵笂浼� - 鍏ㄦ祻瑙堝櫒鍏煎鐗�
+ @Author: 璐ゅ績
+ @License锛歁IT
+
+ */
+
+layui.define(['layer-mobile', 'zepto'] , function(exports){
+ "use strict";
+
+ var $ = layui.zepto;
+ var layer = layui['layer-mobile'];
+ var device = layui.device();
+
+ var elemDragEnter = 'layui-upload-enter';
+ var elemIframe = 'layui-upload-iframe';
+
+ var msgConf = {
+ icon: 2
+ ,shift: 6
+ }, fileType = {
+ file: '鏂囦欢'
+ ,video: '瑙嗛'
+ ,audio: '闊抽'
+ };
+
+ layer.msg = function(content){
+ return layer.open({
+ content: content || ''
+ ,skin: 'msg'
+ ,time: 2 //2绉掑悗鑷姩鍏抽棴
+ });
+ };
+
+ var Upload = function(options){
+ this.options = options;
+ };
+
+ //鍒濆鍖栨覆鏌�
+ Upload.prototype.init = function(){
+ var that = this, options = that.options;
+ var body = $('body'), elem = $(options.elem || '.layui-upload-file');
+ var iframe = $('<iframe id="'+ elemIframe +'" class="'+ elemIframe +'" name="'+ elemIframe +'"></iframe>');
+
+ //鎻掑叆iframe
+ $('#'+elemIframe)[0] || body.append(iframe);
+
+ return elem.each(function(index, item){
+ item = $(item);
+ var form = '<form target="'+ elemIframe +'" method="'+ (options.method||'post') +'" key="set-mine" enctype="multipart/form-data" action="'+ (options.url||'') +'"></form>';
+
+ var type = item.attr('lay-type') || options.type; //鑾峰彇鏂囦欢绫诲瀷
+
+ //鍖呰9ui鍏冪礌
+ if(!options.unwrap){
+ form = '<div class="layui-box layui-upload-button">' + form + '<span class="layui-upload-icon"><i class="layui-icon"></i>'+ (
+ item.attr('lay-title') || options.title|| ('涓婁紶'+ (fileType[type]||'鍥剧墖') )
+ ) +'</span></div>';
+ }
+
+ form = $(form);
+
+ //鎷栨嫿鏀寔
+ if(!options.unwrap){
+ form.on('dragover', function(e){
+ e.preventDefault();
+ $(this).addClass(elemDragEnter);
+ }).on('dragleave', function(){
+ $(this).removeClass(elemDragEnter);
+ }).on('drop', function(){
+ $(this).removeClass(elemDragEnter);
+ });
+ }
+
+ //濡傛灉宸茬粡瀹炰緥鍖栵紝鍒欑Щ闄ゅ寘瑁瑰厓绱�
+ if(item.parent('form').attr('target') === elemIframe){
+ if(options.unwrap){
+ item.unwrap();
+ } else {
+ item.parent().next().remove();
+ item.unwrap().unwrap();
+ }
+ };
+
+ //鍖呰9鍏冪礌
+ item.wrap(form);
+
+ //瑙﹀彂涓婁紶
+ item.off('change').on('change', function(){
+ that.action(this, type);
+ });
+ });
+ };
+
+ //鎻愪氦涓婁紶
+ Upload.prototype.action = function(input, type){
+ var that = this, options = that.options, val = input.value;
+ var item = $(input), ext = item.attr('lay-ext') || options.ext || ''; //鑾峰彇鏀寔涓婁紶鐨勬枃浠舵墿灞曞悕;
+
+ if(!val){
+ return;
+ };
+
+ //鏍¢獙鏂囦欢
+ switch(type){
+ case 'file': //涓�鑸枃浠�
+ if(ext && !RegExp('\\w\\.('+ ext +')$', 'i').test(escape(val))){
+ layer.msg('涓嶆敮鎸佽鏂囦欢鏍煎紡', msgConf);
+ return input.value = '';
+ }
+ break;
+ case 'video': //瑙嗛鏂囦欢
+ if(!RegExp('\\w\\.('+ (ext||'avi|mp4|wma|rmvb|rm|flash|3gp|flv') +')$', 'i').test(escape(val))){
+ layer.msg('涓嶆敮鎸佽瑙嗛鏍煎紡', msgConf);
+ return input.value = '';
+ }
+ break;
+ case 'audio': //闊抽鏂囦欢
+ if(!RegExp('\\w\\.('+ (ext||'mp3|wav|mid') +')$', 'i').test(escape(val))){
+ layer.msg('涓嶆敮鎸佽闊抽鏍煎紡', msgConf);
+ return input.value = '';
+ }
+ break;
+ default: //鍥剧墖鏂囦欢
+ if(!RegExp('\\w\\.('+ (ext||'jpg|png|gif|bmp|jpeg') +')$', 'i').test(escape(val))){
+ layer.msg('涓嶆敮鎸佽鍥剧墖鏍煎紡', msgConf);
+ return input.value = '';
+ }
+ break;
+ }
+
+ options.before && options.before(input);
+ item.parent().submit();
+
+ var iframe = $('#'+elemIframe), timer = setInterval(function() {
+ var res;
+ try {
+ res = iframe.contents().find('body').text();
+ } catch(e) {
+ layer.msg('涓婁紶鎺ュ彛瀛樺湪璺ㄥ煙', msgConf);
+ clearInterval(timer);
+ }
+ if(res){
+ clearInterval(timer);
+ iframe.contents().find('body').html('');
+ try {
+ res = JSON.parse(res);
+ } catch(e){
+ res = {};
+ return layer.msg('璇峰涓婁紶鎺ュ彛杩斿洖JSON瀛楃', msgConf);
+ }
+ typeof options.success === 'function' && options.success(res, input);
+ }
+ }, 30);
+
+ input.value = '';
+ };
+
+ //鏆撮湶鎺ュ彛
+ exports('upload-mobile', function(options){
+ var upload = new Upload(options = options || {});
+ upload.init();
+ });
+});
+
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/mobile/zepto.js b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/mobile/zepto.js
new file mode 100644
index 0000000..404ec0b
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/mobile/zepto.js
@@ -0,0 +1,1646 @@
+/* Zepto v1.2.0 - zepto event ajax form ie - zeptojs.com/license */
+
+layui.define(function(exports){
+
+ var Zepto = (function() {
+ var undefined, key, $, classList, emptyArray = [], concat = emptyArray.concat, filter = emptyArray.filter, slice = emptyArray.slice,
+ document = window.document,
+ elementDisplay = {}, classCache = {},
+ cssNumber = { 'column-count': 1, 'columns': 1, 'font-weight': 1, 'line-height': 1,'opacity': 1, 'z-index': 1, 'zoom': 1 },
+ fragmentRE = /^\s*<(\w+|!)[^>]*>/,
+ singleTagRE = /^<(\w+)\s*\/?>(?:<\/\1>|)$/,
+ tagExpanderRE = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,
+ rootNodeRE = /^(?:body|html)$/i,
+ capitalRE = /([A-Z])/g,
+
+ // special attributes that should be get/set via method calls
+ methodAttributes = ['val', 'css', 'html', 'text', 'data', 'width', 'height', 'offset'],
+
+ adjacencyOperators = [ 'after', 'prepend', 'before', 'append' ],
+ table = document.createElement('table'),
+ tableRow = document.createElement('tr'),
+ containers = {
+ 'tr': document.createElement('tbody'),
+ 'tbody': table, 'thead': table, 'tfoot': table,
+ 'td': tableRow, 'th': tableRow,
+ '*': document.createElement('div')
+ },
+ readyRE = /complete|loaded|interactive/,
+ simpleSelectorRE = /^[\w-]*$/,
+ class2type = {},
+ toString = class2type.toString,
+ zepto = {},
+ camelize, uniq,
+ tempParent = document.createElement('div'),
+ propMap = {
+ 'tabindex': 'tabIndex',
+ 'readonly': 'readOnly',
+ 'for': 'htmlFor',
+ 'class': 'className',
+ 'maxlength': 'maxLength',
+ 'cellspacing': 'cellSpacing',
+ 'cellpadding': 'cellPadding',
+ 'rowspan': 'rowSpan',
+ 'colspan': 'colSpan',
+ 'usemap': 'useMap',
+ 'frameborder': 'frameBorder',
+ 'contenteditable': 'contentEditable'
+ },
+ isArray = Array.isArray ||
+ function(object){ return object instanceof Array }
+
+ zepto.matches = function(element, selector) {
+ if (!selector || !element || element.nodeType !== 1) return false
+ var matchesSelector = element.matches || element.webkitMatchesSelector ||
+ element.mozMatchesSelector || element.oMatchesSelector ||
+ element.matchesSelector
+ if (matchesSelector) return matchesSelector.call(element, selector)
+ // fall back to performing a selector:
+ var match, parent = element.parentNode, temp = !parent
+ if (temp) (parent = tempParent).appendChild(element)
+ match = ~zepto.qsa(parent, selector).indexOf(element)
+ temp && tempParent.removeChild(element)
+ return match
+ }
+
+ function type(obj) {
+ return obj == null ? String(obj) :
+ class2type[toString.call(obj)] || "object"
+ }
+
+ function isFunction(value) { return type(value) == "function" }
+ function isWindow(obj) { return obj != null && obj == obj.window }
+ function isDocument(obj) { return obj != null && obj.nodeType == obj.DOCUMENT_NODE }
+ function isObject(obj) { return type(obj) == "object" }
+ function isPlainObject(obj) {
+ return isObject(obj) && !isWindow(obj) && Object.getPrototypeOf(obj) == Object.prototype
+ }
+
+ function likeArray(obj) {
+ var length = !!obj && 'length' in obj && obj.length,
+ type = $.type(obj)
+
+ return 'function' != type && !isWindow(obj) && (
+ 'array' == type || length === 0 ||
+ (typeof length == 'number' && length > 0 && (length - 1) in obj)
+ )
+ }
+
+ function compact(array) { return filter.call(array, function(item){ return item != null }) }
+ function flatten(array) { return array.length > 0 ? $.fn.concat.apply([], array) : array }
+ camelize = function(str){ return str.replace(/-+(.)?/g, function(match, chr){ return chr ? chr.toUpperCase() : '' }) }
+ function dasherize(str) {
+ return str.replace(/::/g, '/')
+ .replace(/([A-Z]+)([A-Z][a-z])/g, '$1_$2')
+ .replace(/([a-z\d])([A-Z])/g, '$1_$2')
+ .replace(/_/g, '-')
+ .toLowerCase()
+ }
+ uniq = function(array){ return filter.call(array, function(item, idx){ return array.indexOf(item) == idx }) }
+
+ function classRE(name) {
+ return name in classCache ?
+ classCache[name] : (classCache[name] = new RegExp('(^|\\s)' + name + '(\\s|$)'))
+ }
+
+ function maybeAddPx(name, value) {
+ return (typeof value == "number" && !cssNumber[dasherize(name)]) ? value + "px" : value
+ }
+
+ function defaultDisplay(nodeName) {
+ var element, display
+ if (!elementDisplay[nodeName]) {
+ element = document.createElement(nodeName)
+ document.body.appendChild(element)
+ display = getComputedStyle(element, '').getPropertyValue("display")
+ element.parentNode.removeChild(element)
+ display == "none" && (display = "block")
+ elementDisplay[nodeName] = display
+ }
+ return elementDisplay[nodeName]
+ }
+
+ function children(element) {
+ return 'children' in element ?
+ slice.call(element.children) :
+ $.map(element.childNodes, function(node){ if (node.nodeType == 1) return node })
+ }
+
+ function Z(dom, selector) {
+ var i, len = dom ? dom.length : 0
+ for (i = 0; i < len; i++) this[i] = dom[i]
+ this.length = len
+ this.selector = selector || ''
+ }
+
+ // `$.zepto.fragment` takes a html string and an optional tag name
+ // to generate DOM nodes from the given html string.
+ // The generated DOM nodes are returned as an array.
+ // This function can be overridden in plugins for example to make
+ // it compatible with browsers that don't support the DOM fully.
+ zepto.fragment = function(html, name, properties) {
+ var dom, nodes, container
+
+ // A special case optimization for a single tag
+ if (singleTagRE.test(html)) dom = $(document.createElement(RegExp.$1))
+
+ if (!dom) {
+ if (html.replace) html = html.replace(tagExpanderRE, "<$1></$2>")
+ if (name === undefined) name = fragmentRE.test(html) && RegExp.$1
+ if (!(name in containers)) name = '*'
+
+ container = containers[name]
+ container.innerHTML = '' + html
+ dom = $.each(slice.call(container.childNodes), function(){
+ container.removeChild(this)
+ })
+ }
+
+ if (isPlainObject(properties)) {
+ nodes = $(dom)
+ $.each(properties, function(key, value) {
+ if (methodAttributes.indexOf(key) > -1) nodes[key](value)
+ else nodes.attr(key, value)
+ })
+ }
+
+ return dom
+ }
+
+ // `$.zepto.Z` swaps out the prototype of the given `dom` array
+ // of nodes with `$.fn` and thus supplying all the Zepto functions
+ // to the array. This method can be overridden in plugins.
+ zepto.Z = function(dom, selector) {
+ return new Z(dom, selector)
+ }
+
+ // `$.zepto.isZ` should return `true` if the given object is a Zepto
+ // collection. This method can be overridden in plugins.
+ zepto.isZ = function(object) {
+ return object instanceof zepto.Z
+ }
+
+ // `$.zepto.init` is Zepto's counterpart to jQuery's `$.fn.init` and
+ // takes a CSS selector and an optional context (and handles various
+ // special cases).
+ // This method can be overridden in plugins.
+ zepto.init = function(selector, context) {
+ var dom
+ // If nothing given, return an empty Zepto collection
+ if (!selector) return zepto.Z()
+ // Optimize for string selectors
+ else if (typeof selector == 'string') {
+ selector = selector.trim()
+ // If it's a html fragment, create nodes from it
+ // Note: In both Chrome 21 and Firefox 15, DOM error 12
+ // is thrown if the fragment doesn't begin with <
+ if (selector[0] == '<' && fragmentRE.test(selector))
+ dom = zepto.fragment(selector, RegExp.$1, context), selector = null
+ // If there's a context, create a collection on that context first, and select
+ // nodes from there
+ else if (context !== undefined) return $(context).find(selector)
+ // If it's a CSS selector, use it to select nodes.
+ else dom = zepto.qsa(document, selector)
+ }
+ // If a function is given, call it when the DOM is ready
+ else if (isFunction(selector)) return $(document).ready(selector)
+ // If a Zepto collection is given, just return it
+ else if (zepto.isZ(selector)) return selector
+ else {
+ // normalize array if an array of nodes is given
+ if (isArray(selector)) dom = compact(selector)
+ // Wrap DOM nodes.
+ else if (isObject(selector))
+ dom = [selector], selector = null
+ // If it's a html fragment, create nodes from it
+ else if (fragmentRE.test(selector))
+ dom = zepto.fragment(selector.trim(), RegExp.$1, context), selector = null
+ // If there's a context, create a collection on that context first, and select
+ // nodes from there
+ else if (context !== undefined) return $(context).find(selector)
+ // And last but no least, if it's a CSS selector, use it to select nodes.
+ else dom = zepto.qsa(document, selector)
+ }
+ // create a new Zepto collection from the nodes found
+ return zepto.Z(dom, selector)
+ }
+
+ // `$` will be the base `Zepto` object. When calling this
+ // function just call `$.zepto.init, which makes the implementation
+ // details of selecting nodes and creating Zepto collections
+ // patchable in plugins.
+ $ = function(selector, context){
+ return zepto.init(selector, context)
+ }
+
+ function extend(target, source, deep) {
+ for (key in source)
+ if (deep && (isPlainObject(source[key]) || isArray(source[key]))) {
+ if (isPlainObject(source[key]) && !isPlainObject(target[key]))
+ target[key] = {}
+ if (isArray(source[key]) && !isArray(target[key]))
+ target[key] = []
+ extend(target[key], source[key], deep)
+ }
+ else if (source[key] !== undefined) target[key] = source[key]
+ }
+
+ // Copy all but undefined properties from one or more
+ // objects to the `target` object.
+ $.extend = function(target){
+ var deep, args = slice.call(arguments, 1)
+ if (typeof target == 'boolean') {
+ deep = target
+ target = args.shift()
+ }
+ args.forEach(function(arg){ extend(target, arg, deep) })
+ return target
+ }
+
+ // `$.zepto.qsa` is Zepto's CSS selector implementation which
+ // uses `document.querySelectorAll` and optimizes for some special cases, like `#id`.
+ // This method can be overridden in plugins.
+ zepto.qsa = function(element, selector){
+ var found,
+ maybeID = selector[0] == '#',
+ maybeClass = !maybeID && selector[0] == '.',
+ nameOnly = maybeID || maybeClass ? selector.slice(1) : selector, // Ensure that a 1 char tag name still gets checked
+ isSimple = simpleSelectorRE.test(nameOnly)
+ return (element.getElementById && isSimple && maybeID) ? // Safari DocumentFragment doesn't have getElementById
+ ( (found = element.getElementById(nameOnly)) ? [found] : [] ) :
+ (element.nodeType !== 1 && element.nodeType !== 9 && element.nodeType !== 11) ? [] :
+ slice.call(
+ isSimple && !maybeID && element.getElementsByClassName ? // DocumentFragment doesn't have getElementsByClassName/TagName
+ maybeClass ? element.getElementsByClassName(nameOnly) : // If it's simple, it could be a class
+ element.getElementsByTagName(selector) : // Or a tag
+ element.querySelectorAll(selector) // Or it's not simple, and we need to query all
+ )
+ }
+
+ function filtered(nodes, selector) {
+ return selector == null ? $(nodes) : $(nodes).filter(selector)
+ }
+
+ $.contains = document.documentElement.contains ?
+ function(parent, node) {
+ return parent !== node && parent.contains(node)
+ } :
+ function(parent, node) {
+ while (node && (node = node.parentNode))
+ if (node === parent) return true
+ return false
+ }
+
+ function funcArg(context, arg, idx, payload) {
+ return isFunction(arg) ? arg.call(context, idx, payload) : arg
+ }
+
+ function setAttribute(node, name, value) {
+ value == null ? node.removeAttribute(name) : node.setAttribute(name, value)
+ }
+
+ // access className property while respecting SVGAnimatedString
+ function className(node, value){
+ var klass = node.className || '',
+ svg = klass && klass.baseVal !== undefined
+
+ if (value === undefined) return svg ? klass.baseVal : klass
+ svg ? (klass.baseVal = value) : (node.className = value)
+ }
+
+ // "true" => true
+ // "false" => false
+ // "null" => null
+ // "42" => 42
+ // "42.5" => 42.5
+ // "08" => "08"
+ // JSON => parse if valid
+ // String => self
+ function deserializeValue(value) {
+ try {
+ return value ?
+ value == "true" ||
+ ( value == "false" ? false :
+ value == "null" ? null :
+ +value + "" == value ? +value :
+ /^[\[\{]/.test(value) ? $.parseJSON(value) :
+ value )
+ : value
+ } catch(e) {
+ return value
+ }
+ }
+
+ $.type = type
+ $.isFunction = isFunction
+ $.isWindow = isWindow
+ $.isArray = isArray
+ $.isPlainObject = isPlainObject
+
+ $.isEmptyObject = function(obj) {
+ var name
+ for (name in obj) return false
+ return true
+ }
+
+ $.isNumeric = function(val) {
+ var num = Number(val), type = typeof val
+ return val != null && type != 'boolean' &&
+ (type != 'string' || val.length) &&
+ !isNaN(num) && isFinite(num) || false
+ }
+
+ $.inArray = function(elem, array, i){
+ return emptyArray.indexOf.call(array, elem, i)
+ }
+
+ $.camelCase = camelize
+ $.trim = function(str) {
+ return str == null ? "" : String.prototype.trim.call(str)
+ }
+
+ // plugin compatibility
+ $.uuid = 0
+ $.support = { }
+ $.expr = { }
+ $.noop = function() {}
+
+ $.map = function(elements, callback){
+ var value, values = [], i, key
+ if (likeArray(elements))
+ for (i = 0; i < elements.length; i++) {
+ value = callback(elements[i], i)
+ if (value != null) values.push(value)
+ }
+ else
+ for (key in elements) {
+ value = callback(elements[key], key)
+ if (value != null) values.push(value)
+ }
+ return flatten(values)
+ }
+
+ $.each = function(elements, callback){
+ var i, key
+ if (likeArray(elements)) {
+ for (i = 0; i < elements.length; i++)
+ if (callback.call(elements[i], i, elements[i]) === false) return elements
+ } else {
+ for (key in elements)
+ if (callback.call(elements[key], key, elements[key]) === false) return elements
+ }
+
+ return elements
+ }
+
+ $.grep = function(elements, callback){
+ return filter.call(elements, callback)
+ }
+
+ if (window.JSON) $.parseJSON = JSON.parse
+
+ // Populate the class2type map
+ $.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(i, name) {
+ class2type[ "[object " + name + "]" ] = name.toLowerCase()
+ })
+
+ // Define methods that will be available on all
+ // Zepto collections
+ $.fn = {
+ constructor: zepto.Z,
+ length: 0,
+
+ // Because a collection acts like an array
+ // copy over these useful array functions.
+ forEach: emptyArray.forEach,
+ reduce: emptyArray.reduce,
+ push: emptyArray.push,
+ sort: emptyArray.sort,
+ splice: emptyArray.splice,
+ indexOf: emptyArray.indexOf,
+ concat: function(){
+ var i, value, args = []
+ for (i = 0; i < arguments.length; i++) {
+ value = arguments[i]
+ args[i] = zepto.isZ(value) ? value.toArray() : value
+ }
+ return concat.apply(zepto.isZ(this) ? this.toArray() : this, args)
+ },
+
+ // `map` and `slice` in the jQuery API work differently
+ // from their array counterparts
+ map: function(fn){
+ return $($.map(this, function(el, i){ return fn.call(el, i, el) }))
+ },
+ slice: function(){
+ return $(slice.apply(this, arguments))
+ },
+
+ ready: function(callback){
+ // need to check if document.body exists for IE as that browser reports
+ // document ready when it hasn't yet created the body element
+ if (readyRE.test(document.readyState) && document.body) callback($)
+ else document.addEventListener('DOMContentLoaded', function(){ callback($) }, false)
+ return this
+ },
+ get: function(idx){
+ return idx === undefined ? slice.call(this) : this[idx >= 0 ? idx : idx + this.length]
+ },
+ toArray: function(){ return this.get() },
+ size: function(){
+ return this.length
+ },
+ remove: function(){
+ return this.each(function(){
+ if (this.parentNode != null)
+ this.parentNode.removeChild(this)
+ })
+ },
+ each: function(callback){
+ emptyArray.every.call(this, function(el, idx){
+ return callback.call(el, idx, el) !== false
+ })
+ return this
+ },
+ filter: function(selector){
+ if (isFunction(selector)) return this.not(this.not(selector))
+ return $(filter.call(this, function(element){
+ return zepto.matches(element, selector)
+ }))
+ },
+ add: function(selector,context){
+ return $(uniq(this.concat($(selector,context))))
+ },
+ is: function(selector){
+ return this.length > 0 && zepto.matches(this[0], selector)
+ },
+ not: function(selector){
+ var nodes=[]
+ if (isFunction(selector) && selector.call !== undefined)
+ this.each(function(idx){
+ if (!selector.call(this,idx)) nodes.push(this)
+ })
+ else {
+ var excludes = typeof selector == 'string' ? this.filter(selector) :
+ (likeArray(selector) && isFunction(selector.item)) ? slice.call(selector) : $(selector)
+ this.forEach(function(el){
+ if (excludes.indexOf(el) < 0) nodes.push(el)
+ })
+ }
+ return $(nodes)
+ },
+ has: function(selector){
+ return this.filter(function(){
+ return isObject(selector) ?
+ $.contains(this, selector) :
+ $(this).find(selector).size()
+ })
+ },
+ eq: function(idx){
+ return idx === -1 ? this.slice(idx) : this.slice(idx, + idx + 1)
+ },
+ first: function(){
+ var el = this[0]
+ return el && !isObject(el) ? el : $(el)
+ },
+ last: function(){
+ var el = this[this.length - 1]
+ return el && !isObject(el) ? el : $(el)
+ },
+ find: function(selector){
+ var result, $this = this
+ if (!selector) result = $()
+ else if (typeof selector == 'object')
+ result = $(selector).filter(function(){
+ var node = this
+ return emptyArray.some.call($this, function(parent){
+ return $.contains(parent, node)
+ })
+ })
+ else if (this.length == 1) result = $(zepto.qsa(this[0], selector))
+ else result = this.map(function(){ return zepto.qsa(this, selector) })
+ return result
+ },
+ closest: function(selector, context){
+ var nodes = [], collection = typeof selector == 'object' && $(selector)
+ this.each(function(_, node){
+ while (node && !(collection ? collection.indexOf(node) >= 0 : zepto.matches(node, selector)))
+ node = node !== context && !isDocument(node) && node.parentNode
+ if (node && nodes.indexOf(node) < 0) nodes.push(node)
+ })
+ return $(nodes)
+ },
+ parents: function(selector){
+ var ancestors = [], nodes = this
+ while (nodes.length > 0)
+ nodes = $.map(nodes, function(node){
+ if ((node = node.parentNode) && !isDocument(node) && ancestors.indexOf(node) < 0) {
+ ancestors.push(node)
+ return node
+ }
+ })
+ return filtered(ancestors, selector)
+ },
+ parent: function(selector){
+ return filtered(uniq(this.pluck('parentNode')), selector)
+ },
+ children: function(selector){
+ return filtered(this.map(function(){ return children(this) }), selector)
+ },
+ contents: function() {
+ return this.map(function() { return this.contentDocument || slice.call(this.childNodes) })
+ },
+ siblings: function(selector){
+ return filtered(this.map(function(i, el){
+ return filter.call(children(el.parentNode), function(child){ return child!==el })
+ }), selector)
+ },
+ empty: function(){
+ return this.each(function(){ this.innerHTML = '' })
+ },
+ // `pluck` is borrowed from Prototype.js
+ pluck: function(property){
+ return $.map(this, function(el){ return el[property] })
+ },
+ show: function(){
+ return this.each(function(){
+ this.style.display == "none" && (this.style.display = '')
+ if (getComputedStyle(this, '').getPropertyValue("display") == "none")
+ this.style.display = defaultDisplay(this.nodeName)
+ })
+ },
+ replaceWith: function(newContent){
+ return this.before(newContent).remove()
+ },
+ wrap: function(structure){
+ var func = isFunction(structure)
+ if (this[0] && !func)
+ var dom = $(structure).get(0),
+ clone = dom.parentNode || this.length > 1
+
+ return this.each(function(index){
+ $(this).wrapAll(
+ func ? structure.call(this, index) :
+ clone ? dom.cloneNode(true) : dom
+ )
+ })
+ },
+ wrapAll: function(structure){
+ if (this[0]) {
+ $(this[0]).before(structure = $(structure))
+ var children
+ // drill down to the inmost element
+ while ((children = structure.children()).length) structure = children.first()
+ $(structure).append(this)
+ }
+ return this
+ },
+ wrapInner: function(structure){
+ var func = isFunction(structure)
+ return this.each(function(index){
+ var self = $(this), contents = self.contents(),
+ dom = func ? structure.call(this, index) : structure
+ contents.length ? contents.wrapAll(dom) : self.append(dom)
+ })
+ },
+ unwrap: function(){
+ this.parent().each(function(){
+ $(this).replaceWith($(this).children())
+ })
+ return this
+ },
+ clone: function(){
+ return this.map(function(){ return this.cloneNode(true) })
+ },
+ hide: function(){
+ return this.css("display", "none")
+ },
+ toggle: function(setting){
+ return this.each(function(){
+ var el = $(this)
+ ;(setting === undefined ? el.css("display") == "none" : setting) ? el.show() : el.hide()
+ })
+ },
+ prev: function(selector){ return $(this.pluck('previousElementSibling')).filter(selector || '*') },
+ next: function(selector){ return $(this.pluck('nextElementSibling')).filter(selector || '*') },
+ html: function(html){
+ return 0 in arguments ?
+ this.each(function(idx){
+ var originHtml = this.innerHTML
+ $(this).empty().append( funcArg(this, html, idx, originHtml) )
+ }) :
+ (0 in this ? this[0].innerHTML : null)
+ },
+ text: function(text){
+ return 0 in arguments ?
+ this.each(function(idx){
+ var newText = funcArg(this, text, idx, this.textContent)
+ this.textContent = newText == null ? '' : ''+newText
+ }) :
+ (0 in this ? this.pluck('textContent').join("") : null)
+ },
+ attr: function(name, value){
+ var result
+ return (typeof name == 'string' && !(1 in arguments)) ?
+ (0 in this && this[0].nodeType == 1 && (result = this[0].getAttribute(name)) != null ? result : undefined) :
+ this.each(function(idx){
+ if (this.nodeType !== 1) return
+ if (isObject(name)) for (key in name) setAttribute(this, key, name[key])
+ else setAttribute(this, name, funcArg(this, value, idx, this.getAttribute(name)))
+ })
+ },
+ removeAttr: function(name){
+ return this.each(function(){ this.nodeType === 1 && name.split(' ').forEach(function(attribute){
+ setAttribute(this, attribute)
+ }, this)})
+ },
+ prop: function(name, value){
+ name = propMap[name] || name
+ return (1 in arguments) ?
+ this.each(function(idx){
+ this[name] = funcArg(this, value, idx, this[name])
+ }) :
+ (this[0] && this[0][name])
+ },
+ removeProp: function(name){
+ name = propMap[name] || name
+ return this.each(function(){ delete this[name] })
+ },
+ data: function(name, value){
+ var attrName = 'data-' + name.replace(capitalRE, '-$1').toLowerCase()
+
+ var data = (1 in arguments) ?
+ this.attr(attrName, value) :
+ this.attr(attrName)
+
+ return data !== null ? deserializeValue(data) : undefined
+ },
+ val: function(value){
+ if (0 in arguments) {
+ if (value == null) value = ""
+ return this.each(function(idx){
+ this.value = funcArg(this, value, idx, this.value)
+ })
+ } else {
+ return this[0] && (this[0].multiple ?
+ $(this[0]).find('option').filter(function(){ return this.selected }).pluck('value') :
+ this[0].value)
+ }
+ },
+ offset: function(coordinates){
+ if (coordinates) return this.each(function(index){
+ var $this = $(this),
+ coords = funcArg(this, coordinates, index, $this.offset()),
+ parentOffset = $this.offsetParent().offset(),
+ props = {
+ top: coords.top - parentOffset.top,
+ left: coords.left - parentOffset.left
+ }
+
+ if ($this.css('position') == 'static') props['position'] = 'relative'
+ $this.css(props)
+ })
+ if (!this.length) return null
+ if (document.documentElement !== this[0] && !$.contains(document.documentElement, this[0]))
+ return {top: 0, left: 0}
+ var obj = this[0].getBoundingClientRect()
+ return {
+ left: obj.left + window.pageXOffset,
+ top: obj.top + window.pageYOffset,
+ width: Math.round(obj.width),
+ height: Math.round(obj.height)
+ }
+ },
+ css: function(property, value){
+ if (arguments.length < 2) {
+ var element = this[0]
+ if (typeof property == 'string') {
+ if (!element) return
+ return element.style[camelize(property)] || getComputedStyle(element, '').getPropertyValue(property)
+ } else if (isArray(property)) {
+ if (!element) return
+ var props = {}
+ var computedStyle = getComputedStyle(element, '')
+ $.each(property, function(_, prop){
+ props[prop] = (element.style[camelize(prop)] || computedStyle.getPropertyValue(prop))
+ })
+ return props
+ }
+ }
+
+ var css = ''
+ if (type(property) == 'string') {
+ if (!value && value !== 0)
+ this.each(function(){ this.style.removeProperty(dasherize(property)) })
+ else
+ css = dasherize(property) + ":" + maybeAddPx(property, value)
+ } else {
+ for (key in property)
+ if (!property[key] && property[key] !== 0)
+ this.each(function(){ this.style.removeProperty(dasherize(key)) })
+ else
+ css += dasherize(key) + ':' + maybeAddPx(key, property[key]) + ';'
+ }
+
+ return this.each(function(){ this.style.cssText += ';' + css })
+ },
+ index: function(element){
+ return element ? this.indexOf($(element)[0]) : this.parent().children().indexOf(this[0])
+ },
+ hasClass: function(name){
+ if (!name) return false
+ return emptyArray.some.call(this, function(el){
+ return this.test(className(el))
+ }, classRE(name))
+ },
+ addClass: function(name){
+ if (!name) return this
+ return this.each(function(idx){
+ if (!('className' in this)) return
+ classList = []
+ var cls = className(this), newName = funcArg(this, name, idx, cls)
+ newName.split(/\s+/g).forEach(function(klass){
+ if (!$(this).hasClass(klass)) classList.push(klass)
+ }, this)
+ classList.length && className(this, cls + (cls ? " " : "") + classList.join(" "))
+ })
+ },
+ removeClass: function(name){
+ return this.each(function(idx){
+ if (!('className' in this)) return
+ if (name === undefined) return className(this, '')
+ classList = className(this)
+ funcArg(this, name, idx, classList).split(/\s+/g).forEach(function(klass){
+ classList = classList.replace(classRE(klass), " ")
+ })
+ className(this, classList.trim())
+ })
+ },
+ toggleClass: function(name, when){
+ if (!name) return this
+ return this.each(function(idx){
+ var $this = $(this), names = funcArg(this, name, idx, className(this))
+ names.split(/\s+/g).forEach(function(klass){
+ (when === undefined ? !$this.hasClass(klass) : when) ?
+ $this.addClass(klass) : $this.removeClass(klass)
+ })
+ })
+ },
+ scrollTop: function(value){
+ if (!this.length) return
+ var hasScrollTop = 'scrollTop' in this[0]
+ if (value === undefined) return hasScrollTop ? this[0].scrollTop : this[0].pageYOffset
+ return this.each(hasScrollTop ?
+ function(){ this.scrollTop = value } :
+ function(){ this.scrollTo(this.scrollX, value) })
+ },
+ scrollLeft: function(value){
+ if (!this.length) return
+ var hasScrollLeft = 'scrollLeft' in this[0]
+ if (value === undefined) return hasScrollLeft ? this[0].scrollLeft : this[0].pageXOffset
+ return this.each(hasScrollLeft ?
+ function(){ this.scrollLeft = value } :
+ function(){ this.scrollTo(value, this.scrollY) })
+ },
+ position: function() {
+ if (!this.length) return
+
+ var elem = this[0],
+ // Get *real* offsetParent
+ offsetParent = this.offsetParent(),
+ // Get correct offsets
+ offset = this.offset(),
+ parentOffset = rootNodeRE.test(offsetParent[0].nodeName) ? { top: 0, left: 0 } : offsetParent.offset()
+
+ // Subtract element margins
+ // note: when an element has margin: auto the offsetLeft and marginLeft
+ // are the same in Safari causing offset.left to incorrectly be 0
+ offset.top -= parseFloat( $(elem).css('margin-top') ) || 0
+ offset.left -= parseFloat( $(elem).css('margin-left') ) || 0
+
+ // Add offsetParent borders
+ parentOffset.top += parseFloat( $(offsetParent[0]).css('border-top-width') ) || 0
+ parentOffset.left += parseFloat( $(offsetParent[0]).css('border-left-width') ) || 0
+
+ // Subtract the two offsets
+ return {
+ top: offset.top - parentOffset.top,
+ left: offset.left - parentOffset.left
+ }
+ },
+ offsetParent: function() {
+ return this.map(function(){
+ var parent = this.offsetParent || document.body
+ while (parent && !rootNodeRE.test(parent.nodeName) && $(parent).css("position") == "static")
+ parent = parent.offsetParent
+ return parent
+ })
+ }
+ }
+
+ // for now
+ $.fn.detach = $.fn.remove
+
+ // Generate the `width` and `height` functions
+ ;['width', 'height'].forEach(function(dimension){
+ var dimensionProperty =
+ dimension.replace(/./, function(m){ return m[0].toUpperCase() })
+
+ $.fn[dimension] = function(value){
+ var offset, el = this[0]
+ if (value === undefined) return isWindow(el) ? el['inner' + dimensionProperty] :
+ isDocument(el) ? el.documentElement['scroll' + dimensionProperty] :
+ (offset = this.offset()) && offset[dimension]
+ else return this.each(function(idx){
+ el = $(this)
+ el.css(dimension, funcArg(this, value, idx, el[dimension]()))
+ })
+ }
+ })
+
+ function traverseNode(node, fun) {
+ fun(node)
+ for (var i = 0, len = node.childNodes.length; i < len; i++)
+ traverseNode(node.childNodes[i], fun)
+ }
+
+ // Generate the `after`, `prepend`, `before`, `append`,
+ // `insertAfter`, `insertBefore`, `appendTo`, and `prependTo` methods.
+ adjacencyOperators.forEach(function(operator, operatorIndex) {
+ var inside = operatorIndex % 2 //=> prepend, append
+
+ $.fn[operator] = function(){
+ // arguments can be nodes, arrays of nodes, Zepto objects and HTML strings
+ var argType, nodes = $.map(arguments, function(arg) {
+ var arr = []
+ argType = type(arg)
+ if (argType == "array") {
+ arg.forEach(function(el) {
+ if (el.nodeType !== undefined) return arr.push(el)
+ else if ($.zepto.isZ(el)) return arr = arr.concat(el.get())
+ arr = arr.concat(zepto.fragment(el))
+ })
+ return arr
+ }
+ return argType == "object" || arg == null ?
+ arg : zepto.fragment(arg)
+ }),
+ parent, copyByClone = this.length > 1
+ if (nodes.length < 1) return this
+
+ return this.each(function(_, target){
+ parent = inside ? target : target.parentNode
+
+ // convert all methods to a "before" operation
+ target = operatorIndex == 0 ? target.nextSibling :
+ operatorIndex == 1 ? target.firstChild :
+ operatorIndex == 2 ? target :
+ null
+
+ var parentInDocument = $.contains(document.documentElement, parent)
+
+ nodes.forEach(function(node){
+ if (copyByClone) node = node.cloneNode(true)
+ else if (!parent) return $(node).remove()
+
+ parent.insertBefore(node, target)
+ if (parentInDocument) traverseNode(node, function(el){
+ if (el.nodeName != null && el.nodeName.toUpperCase() === 'SCRIPT' &&
+ (!el.type || el.type === 'text/javascript') && !el.src){
+ var target = el.ownerDocument ? el.ownerDocument.defaultView : window
+ target['eval'].call(target, el.innerHTML)
+ }
+ })
+ })
+ })
+ }
+
+ // after => insertAfter
+ // prepend => prependTo
+ // before => insertBefore
+ // append => appendTo
+ $.fn[inside ? operator+'To' : 'insert'+(operatorIndex ? 'Before' : 'After')] = function(html){
+ $(html)[operator](this)
+ return this
+ }
+ })
+
+ zepto.Z.prototype = Z.prototype = $.fn
+
+ // Export internal API functions in the `$.zepto` namespace
+ zepto.uniq = uniq
+ zepto.deserializeValue = deserializeValue
+ $.zepto = zepto
+
+ return $
+})()
+
+;(function($){
+ var _zid = 1, undefined,
+ slice = Array.prototype.slice,
+ isFunction = $.isFunction,
+ isString = function(obj){ return typeof obj == 'string' },
+ handlers = {},
+ specialEvents={},
+ focusinSupported = 'onfocusin' in window,
+ focus = { focus: 'focusin', blur: 'focusout' },
+ hover = { mouseenter: 'mouseover', mouseleave: 'mouseout' }
+
+ specialEvents.click = specialEvents.mousedown = specialEvents.mouseup = specialEvents.mousemove = 'MouseEvents'
+
+ function zid(element) {
+ return element._zid || (element._zid = _zid++)
+ }
+ function findHandlers(element, event, fn, selector) {
+ event = parse(event)
+ if (event.ns) var matcher = matcherFor(event.ns)
+ return (handlers[zid(element)] || []).filter(function(handler) {
+ return handler
+ && (!event.e || handler.e == event.e)
+ && (!event.ns || matcher.test(handler.ns))
+ && (!fn || zid(handler.fn) === zid(fn))
+ && (!selector || handler.sel == selector)
+ })
+ }
+ function parse(event) {
+ var parts = ('' + event).split('.')
+ return {e: parts[0], ns: parts.slice(1).sort().join(' ')}
+ }
+ function matcherFor(ns) {
+ return new RegExp('(?:^| )' + ns.replace(' ', ' .* ?') + '(?: |$)')
+ }
+
+ function eventCapture(handler, captureSetting) {
+ return handler.del &&
+ (!focusinSupported && (handler.e in focus)) ||
+ !!captureSetting
+ }
+
+ function realEvent(type) {
+ return hover[type] || (focusinSupported && focus[type]) || type
+ }
+
+ function add(element, events, fn, data, selector, delegator, capture){
+ var id = zid(element), set = (handlers[id] || (handlers[id] = []))
+ events.split(/\s/).forEach(function(event){
+ if (event == 'ready') return $(document).ready(fn)
+ var handler = parse(event)
+ handler.fn = fn
+ handler.sel = selector
+ // emulate mouseenter, mouseleave
+ if (handler.e in hover) fn = function(e){
+ var related = e.relatedTarget
+ if (!related || (related !== this && !$.contains(this, related)))
+ return handler.fn.apply(this, arguments)
+ }
+ handler.del = delegator
+ var callback = delegator || fn
+ handler.proxy = function(e){
+ e = compatible(e)
+ if (e.isImmediatePropagationStopped()) return
+ e.data = data
+ var result = callback.apply(element, e._args == undefined ? [e] : [e].concat(e._args))
+ if (result === false) e.preventDefault(), e.stopPropagation()
+ return result
+ }
+ handler.i = set.length
+ set.push(handler)
+ if ('addEventListener' in element)
+ element.addEventListener(realEvent(handler.e), handler.proxy, eventCapture(handler, capture))
+ })
+ }
+ function remove(element, events, fn, selector, capture){
+ var id = zid(element)
+ ;(events || '').split(/\s/).forEach(function(event){
+ findHandlers(element, event, fn, selector).forEach(function(handler){
+ delete handlers[id][handler.i]
+ if ('removeEventListener' in element)
+ element.removeEventListener(realEvent(handler.e), handler.proxy, eventCapture(handler, capture))
+ })
+ })
+ }
+
+ $.event = { add: add, remove: remove }
+
+ $.proxy = function(fn, context) {
+ var args = (2 in arguments) && slice.call(arguments, 2)
+ if (isFunction(fn)) {
+ var proxyFn = function(){ return fn.apply(context, args ? args.concat(slice.call(arguments)) : arguments) }
+ proxyFn._zid = zid(fn)
+ return proxyFn
+ } else if (isString(context)) {
+ if (args) {
+ args.unshift(fn[context], fn)
+ return $.proxy.apply(null, args)
+ } else {
+ return $.proxy(fn[context], fn)
+ }
+ } else {
+ throw new TypeError("expected function")
+ }
+ }
+
+ $.fn.bind = function(event, data, callback){
+ return this.on(event, data, callback)
+ }
+ $.fn.unbind = function(event, callback){
+ return this.off(event, callback)
+ }
+ $.fn.one = function(event, selector, data, callback){
+ return this.on(event, selector, data, callback, 1)
+ }
+
+ var returnTrue = function(){return true},
+ returnFalse = function(){return false},
+ ignoreProperties = /^([A-Z]|returnValue$|layer[XY]$|webkitMovement[XY]$)/,
+ eventMethods = {
+ preventDefault: 'isDefaultPrevented',
+ stopImmediatePropagation: 'isImmediatePropagationStopped',
+ stopPropagation: 'isPropagationStopped'
+ }
+
+ function compatible(event, source) {
+ if (source || !event.isDefaultPrevented) {
+ source || (source = event)
+
+ $.each(eventMethods, function(name, predicate) {
+ var sourceMethod = source[name]
+ event[name] = function(){
+ this[predicate] = returnTrue
+ return sourceMethod && sourceMethod.apply(source, arguments)
+ }
+ event[predicate] = returnFalse
+ })
+
+ event.timeStamp || (event.timeStamp = Date.now())
+
+ if (source.defaultPrevented !== undefined ? source.defaultPrevented :
+ 'returnValue' in source ? source.returnValue === false :
+ source.getPreventDefault && source.getPreventDefault())
+ event.isDefaultPrevented = returnTrue
+ }
+ return event
+ }
+
+ function createProxy(event) {
+ var key, proxy = { originalEvent: event }
+ for (key in event)
+ if (!ignoreProperties.test(key) && event[key] !== undefined) proxy[key] = event[key]
+
+ return compatible(proxy, event)
+ }
+
+ $.fn.delegate = function(selector, event, callback){
+ return this.on(event, selector, callback)
+ }
+ $.fn.undelegate = function(selector, event, callback){
+ return this.off(event, selector, callback)
+ }
+
+ $.fn.live = function(event, callback){
+ $(document.body).delegate(this.selector, event, callback)
+ return this
+ }
+ $.fn.die = function(event, callback){
+ $(document.body).undelegate(this.selector, event, callback)
+ return this
+ }
+
+ $.fn.on = function(event, selector, data, callback, one){
+ var autoRemove, delegator, $this = this
+ if (event && !isString(event)) {
+ $.each(event, function(type, fn){
+ $this.on(type, selector, data, fn, one)
+ })
+ return $this
+ }
+
+ if (!isString(selector) && !isFunction(callback) && callback !== false)
+ callback = data, data = selector, selector = undefined
+ if (callback === undefined || data === false)
+ callback = data, data = undefined
+
+ if (callback === false) callback = returnFalse
+
+ return $this.each(function(_, element){
+ if (one) autoRemove = function(e){
+ remove(element, e.type, callback)
+ return callback.apply(this, arguments)
+ }
+
+ if (selector) delegator = function(e){
+ var evt, match = $(e.target).closest(selector, element).get(0)
+ if (match && match !== element) {
+ evt = $.extend(createProxy(e), {currentTarget: match, liveFired: element})
+ return (autoRemove || callback).apply(match, [evt].concat(slice.call(arguments, 1)))
+ }
+ }
+
+ add(element, event, callback, data, selector, delegator || autoRemove)
+ })
+ }
+ $.fn.off = function(event, selector, callback){
+ var $this = this
+ if (event && !isString(event)) {
+ $.each(event, function(type, fn){
+ $this.off(type, selector, fn)
+ })
+ return $this
+ }
+
+ if (!isString(selector) && !isFunction(callback) && callback !== false)
+ callback = selector, selector = undefined
+
+ if (callback === false) callback = returnFalse
+
+ return $this.each(function(){
+ remove(this, event, callback, selector)
+ })
+ }
+
+ $.fn.trigger = function(event, args){
+ event = (isString(event) || $.isPlainObject(event)) ? $.Event(event) : compatible(event)
+ event._args = args
+ return this.each(function(){
+ // handle focus(), blur() by calling them directly
+ if (event.type in focus && typeof this[event.type] == "function") this[event.type]()
+ // items in the collection might not be DOM elements
+ else if ('dispatchEvent' in this) this.dispatchEvent(event)
+ else $(this).triggerHandler(event, args)
+ })
+ }
+
+ // triggers event handlers on current element just as if an event occurred,
+ // doesn't trigger an actual event, doesn't bubble
+ $.fn.triggerHandler = function(event, args){
+ var e, result
+ this.each(function(i, element){
+ e = createProxy(isString(event) ? $.Event(event) : event)
+ e._args = args
+ e.target = element
+ $.each(findHandlers(element, event.type || event), function(i, handler){
+ result = handler.proxy(e)
+ if (e.isImmediatePropagationStopped()) return false
+ })
+ })
+ return result
+ }
+
+ // shortcut methods for `.bind(event, fn)` for each event type
+ ;('focusin focusout focus blur load resize scroll unload click dblclick '+
+ 'mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave '+
+ 'change select keydown keypress keyup error').split(' ').forEach(function(event) {
+ $.fn[event] = function(callback) {
+ return (0 in arguments) ?
+ this.bind(event, callback) :
+ this.trigger(event)
+ }
+ })
+
+ $.Event = function(type, props) {
+ if (!isString(type)) props = type, type = props.type
+ var event = document.createEvent(specialEvents[type] || 'Events'), bubbles = true
+ if (props) for (var name in props) (name == 'bubbles') ? (bubbles = !!props[name]) : (event[name] = props[name])
+ event.initEvent(type, bubbles, true)
+ return compatible(event)
+ }
+
+})(Zepto)
+
+;(function($){
+ var jsonpID = +new Date(),
+ document = window.document,
+ key,
+ name,
+ rscript = /<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,
+ scriptTypeRE = /^(?:text|application)\/javascript/i,
+ xmlTypeRE = /^(?:text|application)\/xml/i,
+ jsonType = 'application/json',
+ htmlType = 'text/html',
+ blankRE = /^\s*$/,
+ originAnchor = document.createElement('a')
+
+ originAnchor.href = window.location.href
+
+ // trigger a custom event and return false if it was cancelled
+ function triggerAndReturn(context, eventName, data) {
+ var event = $.Event(eventName)
+ $(context).trigger(event, data)
+ return !event.isDefaultPrevented()
+ }
+
+ // trigger an Ajax "global" event
+ function triggerGlobal(settings, context, eventName, data) {
+ if (settings.global) return triggerAndReturn(context || document, eventName, data)
+ }
+
+ // Number of active Ajax requests
+ $.active = 0
+
+ function ajaxStart(settings) {
+ if (settings.global && $.active++ === 0) triggerGlobal(settings, null, 'ajaxStart')
+ }
+ function ajaxStop(settings) {
+ if (settings.global && !(--$.active)) triggerGlobal(settings, null, 'ajaxStop')
+ }
+
+ // triggers an extra global event "ajaxBeforeSend" that's like "ajaxSend" but cancelable
+ function ajaxBeforeSend(xhr, settings) {
+ var context = settings.context
+ if (settings.beforeSend.call(context, xhr, settings) === false ||
+ triggerGlobal(settings, context, 'ajaxBeforeSend', [xhr, settings]) === false)
+ return false
+
+ triggerGlobal(settings, context, 'ajaxSend', [xhr, settings])
+ }
+ function ajaxSuccess(data, xhr, settings, deferred) {
+ var context = settings.context, status = 'success'
+ settings.success.call(context, data, status, xhr)
+ if (deferred) deferred.resolveWith(context, [data, status, xhr])
+ triggerGlobal(settings, context, 'ajaxSuccess', [xhr, settings, data])
+ ajaxComplete(status, xhr, settings)
+ }
+ // type: "timeout", "error", "abort", "parsererror"
+ function ajaxError(error, type, xhr, settings, deferred) {
+ var context = settings.context
+ settings.error.call(context, xhr, type, error)
+ if (deferred) deferred.rejectWith(context, [xhr, type, error])
+ triggerGlobal(settings, context, 'ajaxError', [xhr, settings, error || type])
+ ajaxComplete(type, xhr, settings)
+ }
+ // status: "success", "notmodified", "error", "timeout", "abort", "parsererror"
+ function ajaxComplete(status, xhr, settings) {
+ var context = settings.context
+ settings.complete.call(context, xhr, status)
+ triggerGlobal(settings, context, 'ajaxComplete', [xhr, settings])
+ ajaxStop(settings)
+ }
+
+ function ajaxDataFilter(data, type, settings) {
+ if (settings.dataFilter == empty) return data
+ var context = settings.context
+ return settings.dataFilter.call(context, data, type)
+ }
+
+ // Empty function, used as default callback
+ function empty() {}
+
+ $.ajaxJSONP = function(options, deferred){
+ if (!('type' in options)) return $.ajax(options)
+
+ var _callbackName = options.jsonpCallback,
+ callbackName = ($.isFunction(_callbackName) ?
+ _callbackName() : _callbackName) || ('Zepto' + (jsonpID++)),
+ script = document.createElement('script'),
+ originalCallback = window[callbackName],
+ responseData,
+ abort = function(errorType) {
+ $(script).triggerHandler('error', errorType || 'abort')
+ },
+ xhr = { abort: abort }, abortTimeout
+
+ if (deferred) deferred.promise(xhr)
+
+ $(script).on('load error', function(e, errorType){
+ clearTimeout(abortTimeout)
+ $(script).off().remove()
+
+ if (e.type == 'error' || !responseData) {
+ ajaxError(null, errorType || 'error', xhr, options, deferred)
+ } else {
+ ajaxSuccess(responseData[0], xhr, options, deferred)
+ }
+
+ window[callbackName] = originalCallback
+ if (responseData && $.isFunction(originalCallback))
+ originalCallback(responseData[0])
+
+ originalCallback = responseData = undefined
+ })
+
+ if (ajaxBeforeSend(xhr, options) === false) {
+ abort('abort')
+ return xhr
+ }
+
+ window[callbackName] = function(){
+ responseData = arguments
+ }
+
+ script.src = options.url.replace(/\?(.+)=\?/, '?$1=' + callbackName)
+ document.head.appendChild(script)
+
+ if (options.timeout > 0) abortTimeout = setTimeout(function(){
+ abort('timeout')
+ }, options.timeout)
+
+ return xhr
+ }
+
+ $.ajaxSettings = {
+ // Default type of request
+ type: 'GET',
+ // Callback that is executed before request
+ beforeSend: empty,
+ // Callback that is executed if the request succeeds
+ success: empty,
+ // Callback that is executed the the server drops error
+ error: empty,
+ // Callback that is executed on request complete (both: error and success)
+ complete: empty,
+ // The context for the callbacks
+ context: null,
+ // Whether to trigger "global" Ajax events
+ global: true,
+ // Transport
+ xhr: function () {
+ return new window.XMLHttpRequest()
+ },
+ // MIME types mapping
+ // IIS returns Javascript as "application/x-javascript"
+ accepts: {
+ script: 'text/javascript, application/javascript, application/x-javascript',
+ json: jsonType,
+ xml: 'application/xml, text/xml',
+ html: htmlType,
+ text: 'text/plain'
+ },
+ // Whether the request is to another domain
+ crossDomain: false,
+ // Default timeout
+ timeout: 0,
+ // Whether data should be serialized to string
+ processData: true,
+ // Whether the browser should be allowed to cache GET responses
+ cache: true,
+ //Used to handle the raw response data of XMLHttpRequest.
+ //This is a pre-filtering function to sanitize the response.
+ //The sanitized response should be returned
+ dataFilter: empty
+ }
+
+ function mimeToDataType(mime) {
+ if (mime) mime = mime.split(';', 2)[0]
+ return mime && ( mime == htmlType ? 'html' :
+ mime == jsonType ? 'json' :
+ scriptTypeRE.test(mime) ? 'script' :
+ xmlTypeRE.test(mime) && 'xml' ) || 'text'
+ }
+
+ function appendQuery(url, query) {
+ if (query == '') return url
+ return (url + '&' + query).replace(/[&?]{1,2}/, '?')
+ }
+
+ // serialize payload and append it to the URL for GET requests
+ function serializeData(options) {
+ if (options.processData && options.data && $.type(options.data) != "string")
+ options.data = $.param(options.data, options.traditional)
+ if (options.data && (!options.type || options.type.toUpperCase() == 'GET' || 'jsonp' == options.dataType))
+ options.url = appendQuery(options.url, options.data), options.data = undefined
+ }
+
+ $.ajax = function(options){
+ var settings = $.extend({}, options || {}),
+ deferred = $.Deferred && $.Deferred(),
+ urlAnchor, hashIndex
+ for (key in $.ajaxSettings) if (settings[key] === undefined) settings[key] = $.ajaxSettings[key]
+
+ ajaxStart(settings)
+
+ if (!settings.crossDomain) {
+ urlAnchor = document.createElement('a')
+ urlAnchor.href = settings.url
+ // cleans up URL for .href (IE only), see https://github.com/madrobby/zepto/pull/1049
+ urlAnchor.href = urlAnchor.href
+ settings.crossDomain = (originAnchor.protocol + '//' + originAnchor.host) !== (urlAnchor.protocol + '//' + urlAnchor.host)
+ }
+
+ if (!settings.url) settings.url = window.location.toString()
+ if ((hashIndex = settings.url.indexOf('#')) > -1) settings.url = settings.url.slice(0, hashIndex)
+ serializeData(settings)
+
+ var dataType = settings.dataType, hasPlaceholder = /\?.+=\?/.test(settings.url)
+ if (hasPlaceholder) dataType = 'jsonp'
+
+ if (settings.cache === false || (
+ (!options || options.cache !== true) &&
+ ('script' == dataType || 'jsonp' == dataType)
+ ))
+ settings.url = appendQuery(settings.url, '_=' + Date.now())
+
+ if ('jsonp' == dataType) {
+ if (!hasPlaceholder)
+ settings.url = appendQuery(settings.url,
+ settings.jsonp ? (settings.jsonp + '=?') : settings.jsonp === false ? '' : 'callback=?')
+ return $.ajaxJSONP(settings, deferred)
+ }
+
+ var mime = settings.accepts[dataType],
+ headers = { },
+ setHeader = function(name, value) { headers[name.toLowerCase()] = [name, value] },
+ protocol = /^([\w-]+:)\/\//.test(settings.url) ? RegExp.$1 : window.location.protocol,
+ xhr = settings.xhr(),
+ nativeSetHeader = xhr.setRequestHeader,
+ abortTimeout
+
+ if (deferred) deferred.promise(xhr)
+
+ if (!settings.crossDomain) setHeader('X-Requested-With', 'XMLHttpRequest')
+ setHeader('Accept', mime || '*/*')
+ if (mime = settings.mimeType || mime) {
+ if (mime.indexOf(',') > -1) mime = mime.split(',', 2)[0]
+ xhr.overrideMimeType && xhr.overrideMimeType(mime)
+ }
+ if (settings.contentType || (settings.contentType !== false && settings.data && settings.type.toUpperCase() != 'GET'))
+ setHeader('Content-Type', settings.contentType || 'application/x-www-form-urlencoded')
+
+ if (settings.headers) for (name in settings.headers) setHeader(name, settings.headers[name])
+ xhr.setRequestHeader = setHeader
+
+ xhr.onreadystatechange = function(){
+ if (xhr.readyState == 4) {
+ xhr.onreadystatechange = empty
+ clearTimeout(abortTimeout)
+ var result, error = false
+ if ((xhr.status >= 200 && xhr.status < 300) || xhr.status == 304 || (xhr.status == 0 && protocol == 'file:')) {
+ dataType = dataType || mimeToDataType(settings.mimeType || xhr.getResponseHeader('content-type'))
+
+ if (xhr.responseType == 'arraybuffer' || xhr.responseType == 'blob')
+ result = xhr.response
+ else {
+ result = xhr.responseText
+
+ try {
+ // http://perfectionkills.com/global-eval-what-are-the-options/
+ // sanitize response accordingly if data filter callback provided
+ result = ajaxDataFilter(result, dataType, settings)
+ if (dataType == 'script') (1,eval)(result)
+ else if (dataType == 'xml') result = xhr.responseXML
+ else if (dataType == 'json') result = blankRE.test(result) ? null : $.parseJSON(result)
+ } catch (e) { error = e }
+
+ if (error) return ajaxError(error, 'parsererror', xhr, settings, deferred)
+ }
+
+ ajaxSuccess(result, xhr, settings, deferred)
+ } else {
+ ajaxError(xhr.statusText || null, xhr.status ? 'error' : 'abort', xhr, settings, deferred)
+ }
+ }
+ }
+
+ if (ajaxBeforeSend(xhr, settings) === false) {
+ xhr.abort()
+ ajaxError(null, 'abort', xhr, settings, deferred)
+ return xhr
+ }
+
+ var async = 'async' in settings ? settings.async : true
+ xhr.open(settings.type, settings.url, async, settings.username, settings.password)
+
+ if (settings.xhrFields) for (name in settings.xhrFields) xhr[name] = settings.xhrFields[name]
+
+ for (name in headers) nativeSetHeader.apply(xhr, headers[name])
+
+ if (settings.timeout > 0) abortTimeout = setTimeout(function(){
+ xhr.onreadystatechange = empty
+ xhr.abort()
+ ajaxError(null, 'timeout', xhr, settings, deferred)
+ }, settings.timeout)
+
+ // avoid sending empty string (#319)
+ xhr.send(settings.data ? settings.data : null)
+ return xhr
+ }
+
+ // handle optional data/success arguments
+ function parseArguments(url, data, success, dataType) {
+ if ($.isFunction(data)) dataType = success, success = data, data = undefined
+ if (!$.isFunction(success)) dataType = success, success = undefined
+ return {
+ url: url
+ , data: data
+ , success: success
+ , dataType: dataType
+ }
+ }
+
+ $.get = function(/* url, data, success, dataType */){
+ return $.ajax(parseArguments.apply(null, arguments))
+ }
+
+ $.post = function(/* url, data, success, dataType */){
+ var options = parseArguments.apply(null, arguments)
+ options.type = 'POST'
+ return $.ajax(options)
+ }
+
+ $.getJSON = function(/* url, data, success */){
+ var options = parseArguments.apply(null, arguments)
+ options.dataType = 'json'
+ return $.ajax(options)
+ }
+
+ $.fn.load = function(url, data, success){
+ if (!this.length) return this
+ var self = this, parts = url.split(/\s/), selector,
+ options = parseArguments(url, data, success),
+ callback = options.success
+ if (parts.length > 1) options.url = parts[0], selector = parts[1]
+ options.success = function(response){
+ self.html(selector ?
+ $('<div>').html(response.replace(rscript, "")).find(selector)
+ : response)
+ callback && callback.apply(self, arguments)
+ }
+ $.ajax(options)
+ return this
+ }
+
+ var escape = encodeURIComponent
+
+ function serialize(params, obj, traditional, scope){
+ var type, array = $.isArray(obj), hash = $.isPlainObject(obj)
+ $.each(obj, function(key, value) {
+ type = $.type(value)
+ if (scope) key = traditional ? scope :
+ scope + '[' + (hash || type == 'object' || type == 'array' ? key : '') + ']'
+ // handle data in serializeArray() format
+ if (!scope && array) params.add(value.name, value.value)
+ // recurse into nested objects
+ else if (type == "array" || (!traditional && type == "object"))
+ serialize(params, value, traditional, key)
+ else params.add(key, value)
+ })
+ }
+
+ $.param = function(obj, traditional){
+ var params = []
+ params.add = function(key, value) {
+ if ($.isFunction(value)) value = value()
+ if (value == null) value = ""
+ this.push(escape(key) + '=' + escape(value))
+ }
+ serialize(params, obj, traditional)
+ return params.join('&').replace(/%20/g, '+')
+ }
+})(Zepto)
+
+;(function($){
+ $.fn.serializeArray = function() {
+ var name, type, result = [],
+ add = function(value) {
+ if (value.forEach) return value.forEach(add)
+ result.push({ name: name, value: value })
+ }
+ if (this[0]) $.each(this[0].elements, function(_, field){
+ type = field.type, name = field.name
+ if (name && field.nodeName.toLowerCase() != 'fieldset' &&
+ !field.disabled && type != 'submit' && type != 'reset' && type != 'button' && type != 'file' &&
+ ((type != 'radio' && type != 'checkbox') || field.checked))
+ add($(field).val())
+ })
+ return result
+ }
+
+ $.fn.serialize = function(){
+ var result = []
+ this.serializeArray().forEach(function(elm){
+ result.push(encodeURIComponent(elm.name) + '=' + encodeURIComponent(elm.value))
+ })
+ return result.join('&')
+ }
+
+ $.fn.submit = function(callback) {
+ if (0 in arguments) this.bind('submit', callback)
+ else if (this.length) {
+ var event = $.Event('submit')
+ this.eq(0).trigger(event)
+ if (!event.isDefaultPrevented()) this.get(0).submit()
+ }
+ return this
+ }
+
+})(Zepto)
+
+;(function(){
+ // getComputedStyle shouldn't freak out when called
+ // without a valid element as argument
+ try {
+ getComputedStyle(undefined)
+ } catch(e) {
+ var nativeGetComputedStyle = getComputedStyle
+ window.getComputedStyle = function(element, pseudoElement){
+ try {
+ return nativeGetComputedStyle(element, pseudoElement)
+ } catch(e) {
+ return null
+ }
+ }
+ }
+})()
+
+
+ exports('zepto', Zepto)
+});
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/rate.js b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/rate.js
new file mode 100644
index 0000000..3c98909
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/rate.js
@@ -0,0 +1,2 @@
+/** layui-v2.3.0 MIT License By https://www.layui.com */
+ ;layui.define("jquery",function(e){"use strict";var a=layui.jquery,i={config:{},index:layui.rate?layui.rate.index+1e4:0,set:function(e){var i=this;return i.config=a.extend({},i.config,e),i},on:function(e,a){return layui.onevent.call(this,n,e,a)}},l=function(){var e=this,a=e.config;return{setvalue:function(a){e.setvalue.call(e,a)},config:a}},n="rate",t="layui-rate",o="layui-icon-rate",s="layui-icon-rate-solid",u="layui-icon-rate-half",r="layui-icon-rate-solid layui-icon-rate-half",c="layui-icon-rate-solid layui-icon-rate",f="layui-icon-rate layui-icon-rate-half",v=function(e){var l=this;l.index=++i.index,l.config=a.extend({},l.config,i.config,e),l.render()};v.prototype.config={length:5,text:!1,readonly:!1,half:!1,value:0,theme:""},v.prototype.render=function(){var e=this,i=e.config,l=i.theme?'style="color: '+i.theme+';"':"";i.elem=a(i.elem),parseInt(i.value)!==i.value&&(i.half||(i.value=Math.ceil(i.value)-i.value<.5?Math.ceil(i.value):Math.floor(i.value)));for(var n='<ul class="layui-rate" '+(i.readonly?"readonly":"")+">",u=1;u<=i.length;u++){var r='<li class="layui-inline"><i class="layui-icon '+(u>Math.floor(i.value)?o:s)+'" '+l+"></i></li>";i.half&&parseInt(i.value)!==i.value&&u==Math.ceil(i.value)?n=n+'<li><i class="layui-icon layui-icon-rate-half" '+l+"></i></li>":n+=r}n+="</ul>"+(i.text?'<span class="layui-inline">'+i.value+"鏄�":"")+"</span>";var c=i.elem,f=c.next("."+t);f[0]&&f.remove(),e.elemTemp=a(n),i.span=e.elemTemp.next("span"),i.setText&&i.setText(i.value),c.html(e.elemTemp),c.addClass("layui-inline"),i.readonly||e.action()},v.prototype.setvalue=function(e){var a=this,i=a.config;i.value=e,a.render()},v.prototype.action=function(){var e=this,i=e.config,l=e.elemTemp,n=l.find("i").width();l.children("li").each(function(e){var t=e+1,v=a(this);v.on("click",function(e){if(i.value=t,i.half){var o=e.pageX-a(this).offset().left;o<=n/2&&(i.value=i.value-.5)}i.text&&l.next("span").text(i.value+"鏄�"),i.choose&&i.choose(i.value),i.setText&&i.setText(i.value)}),v.on("mousemove",function(e){if(l.find("i").each(function(){a(this).addClass(o).removeClass(r)}),l.find("i:lt("+t+")").each(function(){a(this).addClass(s).removeClass(f)}),i.half){var c=e.pageX-a(this).offset().left;c<=n/2&&v.children("i").addClass(u).removeClass(s)}}),v.on("mouseleave",function(){l.find("i").each(function(){a(this).addClass(o).removeClass(r)}),l.find("i:lt("+Math.floor(i.value)+")").each(function(){a(this).addClass(s).removeClass(f)}),i.half&&parseInt(i.value)!==i.value&&l.children("li:eq("+Math.floor(i.value)+")").children("i").addClass(u).removeClass(c)})})},v.prototype.events=function(){var e=this;e.config},i.render=function(e){var a=new v(e);return l.call(a)},e(n,i)});
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/table.js b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/table.js
new file mode 100644
index 0000000..fe4e4ee
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/table.js
@@ -0,0 +1,2 @@
+/** layui-v2.3.0 MIT License By https://www.layui.com */
+ ;layui.define(["laytpl","laypage","layer","form"],function(e){"use strict";var t=layui.$,i=layui.laytpl,a=layui.laypage,l=layui.layer,n=layui.form,o=layui.hint(),r=layui.device(),d={config:{checkName:"LAY_CHECKED",indexName:"LAY_TABLE_INDEX"},cache:{},index:layui.table?layui.table.index+1e4:0,set:function(e){var i=this;return i.config=t.extend({},i.config,e),i},on:function(e,t){return layui.onevent.call(this,s,e,t)}},c=function(){var e=this,t=e.config,i=t.id;return i&&(c.config[i]=t),{reload:function(t){e.reload.call(e,t)},config:t}},s="table",u=".layui-table",h="layui-hide",f="layui-none",y="layui-table-view",p=".layui-table-header",m=".layui-table-body",v=".layui-table-main",g=".layui-table-fixed",x=".layui-table-fixed-l",b=".layui-table-fixed-r",k=".layui-table-tool",C=".layui-table-page",w=".layui-table-sort",N="layui-table-edit",T="layui-table-hover",F=function(e){var t='{{#if(item2.colspan){}} colspan="{{item2.colspan}}"{{#} if(item2.rowspan){}} rowspan="{{item2.rowspan}}"{{#}}}';return e=e||{},['<table cellspacing="0" cellpadding="0" border="0" class="layui-table" ','{{# if(d.data.skin){ }}lay-skin="{{d.data.skin}}"{{# } }} {{# if(d.data.size){ }}lay-size="{{d.data.size}}"{{# } }} {{# if(d.data.even){ }}lay-even{{# } }}>',"<thead>","{{# layui.each(d.data.cols, function(i1, item1){ }}","<tr>","{{# layui.each(item1, function(i2, item2){ }}",'{{# if(item2.fixed && item2.fixed !== "right"){ left = true; } }}','{{# if(item2.fixed === "right"){ right = true; } }}',function(){return e.fixed&&"right"!==e.fixed?'{{# if(item2.fixed && item2.fixed !== "right"){ }}':"right"===e.fixed?'{{# if(item2.fixed === "right"){ }}':""}(),'<th data-field="{{ item2.field||i2 }}" {{# if(item2.minWidth){ }}data-minwidth="{{item2.minWidth}}"{{# } }} '+t+' {{# if(item2.unresize){ }}data-unresize="true"{{# } }}>','<div class="layui-table-cell laytable-cell-',"{{# if(item2.colspan > 1){ }}","group","{{# } else { }}","{{d.index}}-{{item2.field || i2}}",'{{# if(item2.type !== "normal"){ }}'," laytable-cell-{{ item2.type }}","{{# } }}","{{# } }}",'" {{#if(item2.align){}}align="{{item2.align}}"{{#}}}>','{{# if(item2.type === "checkbox"){ }}','<input type="checkbox" name="layTableCheckbox" lay-skin="primary" lay-filter="layTableAllChoose" {{# if(item2[d.data.checkName]){ }}checked{{# }; }}>',"{{# } else { }}",'<span>{{item2.title||""}}</span>',"{{# if(!(item2.colspan > 1) && item2.sort){ }}",'<span class="layui-table-sort layui-inline"><i class="layui-edge layui-table-sort-asc"></i><i class="layui-edge layui-table-sort-desc"></i></span>',"{{# } }}","{{# } }}","</div>","</th>",e.fixed?"{{# }; }}":"","{{# }); }}","</tr>","{{# }); }}","</thead>","</table>"].join("")},W=['<table cellspacing="0" cellpadding="0" border="0" class="layui-table" ','{{# if(d.data.skin){ }}lay-skin="{{d.data.skin}}"{{# } }} {{# if(d.data.size){ }}lay-size="{{d.data.size}}"{{# } }} {{# if(d.data.even){ }}lay-even{{# } }}>',"<tbody></tbody>","</table>"].join(""),z=['<div class="layui-form layui-border-box {{d.VIEW_CLASS}}" lay-filter="LAY-table-{{d.index}}" style="{{# if(d.data.width){ }}width:{{d.data.width}}px;{{# } }} {{# if(d.data.height){ }}height:{{d.data.height}}px;{{# } }}">',"{{# if(d.data.toolbar){ }}",'<div class="layui-table-tool"></div>',"{{# } }}",'<div class="layui-table-box">',"{{# var left, right; }}",'<div class="layui-table-header">',F(),"</div>",'<div class="layui-table-body layui-table-main">',W,"</div>","{{# if(left){ }}",'<div class="layui-table-fixed layui-table-fixed-l">','<div class="layui-table-header">',F({fixed:!0}),"</div>",'<div class="layui-table-body">',W,"</div>","</div>","{{# }; }}","{{# if(right){ }}",'<div class="layui-table-fixed layui-table-fixed-r">','<div class="layui-table-header">',F({fixed:"right"}),'<div class="layui-table-mend"></div>',"</div>",'<div class="layui-table-body">',W,"</div>","</div>","{{# }; }}","</div>","{{# if(d.data.page){ }}",'<div class="layui-table-page">','<div id="layui-table-page{{d.index}}"></div>',"</div>","{{# } }}","<style>","{{# layui.each(d.data.cols, function(i1, item1){","layui.each(item1, function(i2, item2){ }}",".laytable-cell-{{d.index}}-{{item2.field||i2}}{ ","{{# if(item2.width){ }}","width: {{item2.width}}px;","{{# } }}"," }","{{# });","}); }}","</style>","</div>"].join(""),A=t(window),S=t(document),M=function(e){var i=this;i.index=++d.index,i.config=t.extend({},i.config,d.config,e),i.render()};M.prototype.config={limit:10,loading:!0,cellMinWidth:60,text:{none:"鏃犳暟鎹�"}},M.prototype.render=function(){var e=this,a=e.config;if(a.elem=t(a.elem),a.where=a.where||{},a.id=a.id||a.elem.attr("id"),a.request=t.extend({pageName:"page",limitName:"limit"},a.request),a.response=t.extend({statusName:"code",statusCode:0,msgName:"msg",dataName:"data",countName:"count"},a.response),"object"==typeof a.page&&(a.limit=a.page.limit||a.limit,a.limits=a.page.limits||a.limits,e.page=a.page.curr=a.page.curr||1,delete a.page.elem,delete a.page.jump),!a.elem[0])return e;e.setArea();var l=a.elem,n=l.next("."+y),o=e.elem=t(i(z).render({VIEW_CLASS:y,data:a,index:e.index}));if(a.index=e.index,n[0]&&n.remove(),l.after(o),e.layHeader=o.find(p),e.layMain=o.find(v),e.layBody=o.find(m),e.layFixed=o.find(g),e.layFixLeft=o.find(x),e.layFixRight=o.find(b),e.layTool=o.find(k),e.layPage=o.find(C),e.layTool.html(i(t(a.toolbar).html()||"").render(a)),a.height&&e.fullSize(),a.cols.length>1){var r=e.layFixed.find(p).find("th");r.height(e.layHeader.height()-1-parseFloat(r.css("padding-top"))-parseFloat(r.css("padding-bottom")))}e.pullData(e.page),e.events()},M.prototype.initOpts=function(e){var t=this,i=(t.config,{checkbox:48,space:15,numbers:40});e.checkbox&&(e.type="checkbox"),e.space&&(e.type="space"),e.type||(e.type="normal"),"normal"!==e.type&&(e.unresize=!0,e.width=e.width||i[e.type])},M.prototype.setArea=function(){var e=this,t=e.config,i=0,a=0,l=0,n=0,o=t.width||function(){var e=function(i){var a,l;i=i||t.elem.parent(),a=i.width();try{l="none"===i.css("display")}catch(n){}return!i[0]||a&&!l?a:e(i.parent())};return e()}();e.eachCols(function(){i++}),o-=function(){return"line"===t.skin||"nob"===t.skin?2:i+1}(),layui.each(t.cols,function(t,i){layui.each(i,function(t,l){var r;return l?(e.initOpts(l),r=l.width||0,void(l.colspan>1||(/\d+%$/.test(r)?l.width=r=Math.floor(parseFloat(r)/100*o):r||(l.width=r=0,a++),n+=r))):void i.splice(t,1)})}),e.autoColNums=a,o>n&&a&&(l=(o-n)/a),layui.each(t.cols,function(e,i){layui.each(i,function(e,i){var a=i.minWidth||t.cellMinWidth;i.colspan>1||0===i.width&&(i.width=Math.floor(l>=a?l:a))})}),t.height&&/^full-\d+$/.test(t.height)&&(e.fullHeightGap=t.height.split("-")[1],t.height=A.height()-e.fullHeightGap)},M.prototype.reload=function(e){var i=this;i.config.data&&i.config.data.constructor===Array&&delete i.config.data,i.config=t.extend({},i.config,e),i.render()},M.prototype.page=1,M.prototype.pullData=function(e,i){var a=this,n=a.config,o=n.request,r=n.response,d=function(){"object"==typeof n.initSort&&a.sort(n.initSort.field,n.initSort.type)};if(a.startTime=(new Date).getTime(),n.url){var c={};c[o.pageName]=e,c[o.limitName]=n.limit;var s=t.extend(c,n.where);n.contentType&&0==n.contentType.indexOf("application/json")&&(s=JSON.stringify(s)),t.ajax({type:n.method||"get",url:n.url,contentType:n.contentType,data:s,dataType:"json",headers:n.headers||{},success:function(t){t[r.statusName]!=r.statusCode?(a.renderForm(),a.layMain.html('<div class="'+f+'">'+(t[r.msgName]||"杩斿洖鐨勬暟鎹姸鎬佸紓甯�")+"</div>")):(a.renderData(t,e,t[r.countName]),d(),n.time=(new Date).getTime()-a.startTime+" ms"),i&&l.close(i),"function"==typeof n.done&&n.done(t,e,t[r.countName])},error:function(e,t){a.layMain.html('<div class="'+f+'">鏁版嵁鎺ュ彛璇锋眰寮傚父</div>'),a.renderForm(),i&&l.close(i)}})}else if(n.data&&n.data.constructor===Array){var u={},h=e*n.limit-n.limit;u[r.dataName]=n.data.concat().splice(h,n.limit),u[r.countName]=n.data.length,a.renderData(u,e,n.data.length),d(),"function"==typeof n.done&&n.done(u,e,u[r.countName])}},M.prototype.eachCols=function(e){var i=t.extend(!0,[],this.config.cols),a=[],l=0;layui.each(i,function(e,t){layui.each(t,function(t,n){if(n.colspan>1){var o=0;l++,n.CHILD_COLS=[],layui.each(i[e+1],function(e,t){t.PARENT_COL||o==n.colspan||(t.PARENT_COL=l,n.CHILD_COLS.push(t),o+=t.colspan>1?t.colspan:1)})}n.PARENT_COL||a.push(n)})});var n=function(t){layui.each(t||a,function(t,i){return i.CHILD_COLS?n(i.CHILD_COLS):void e(t,i)})};n()},M.prototype.renderData=function(e,n,o,r){var c=this,s=c.config,u=e[s.response.dataName]||[],y=[],p=[],m=[],v=function(){return!r&&c.sortKey?c.sort(c.sortKey.field,c.sortKey.sort,!0):(layui.each(u,function(e,a){var l=[],o=[],u=[],h=e+s.limit*(n-1)+1;0!==a.length&&(r||(a[d.config.indexName]=e),c.eachCols(function(e,n){var r=n.field||e,f=a[r];c.getColElem(c.layHeader,r);if(void 0!==f&&null!==f||(f=""),!(n.colspan>1)){var y=['<td data-field="'+r+'" '+function(){var e=[];return n.edit&&e.push('data-edit="'+n.edit+'"'),n.align&&e.push('align="'+n.align+'"'),n.templet&&e.push('data-content="'+f+'"'),n.toolbar&&e.push('data-off="true"'),n.event&&e.push('lay-event="'+n.event+'"'),n.style&&e.push('style="'+n.style+'"'),n.minWidth&&e.push('data-minwidth="'+n.minWidth+'"'),e.join(" ")}()+">",'<div class="layui-table-cell laytable-cell-'+function(){var e=s.index+"-"+r;return"normal"===n.type?e:e+" laytable-cell-"+n.type}()+'">'+function(){var e=t.extend(!0,{LAY_INDEX:h},a);return"checkbox"===n.type?'<input type="checkbox" name="layTableCheckbox" lay-skin="primary" '+function(){var t=d.config.checkName;return n[t]?(a[t]=n[t],n[t]?"checked":""):e[t]?"checked":""}()+">":"numbers"===n.type?h:n.toolbar?i(t(n.toolbar).html()||"").render(e):n.templet?function(){return"function"==typeof n.templet?n.templet(e):i(t(n.templet).html()||String(f)).render(e)}():f}(),"</div></td>"].join("");l.push(y),n.fixed&&"right"!==n.fixed&&o.push(y),"right"===n.fixed&&u.push(y)}}),y.push('<tr data-index="'+e+'">'+l.join("")+"</tr>"),p.push('<tr data-index="'+e+'">'+o.join("")+"</tr>"),m.push('<tr data-index="'+e+'">'+u.join("")+"</tr>"))}),c.layBody.scrollTop(0),c.layMain.find("."+f).remove(),c.layMain.find("tbody").html(y.join("")),c.layFixLeft.find("tbody").html(p.join("")),c.layFixRight.find("tbody").html(m.join("")),c.renderForm(),c.syncCheckAll(),c.haveInit?c.scrollPatch():setTimeout(function(){c.scrollPatch()},50),c.haveInit=!0,void l.close(c.tipsIndex))};return c.key=s.id||s.index,d.cache[c.key]=u,c.layPage[0===u.length&&1==n?"addClass":"removeClass"](h),r?v():0===u.length?(c.renderForm(),c.layFixed.remove(),c.layMain.find("tbody").html(""),c.layMain.find("."+f).remove(),c.layMain.append('<div class="'+f+'">'+s.text.none+"</div>")):(v(),void(s.page&&(s.page=t.extend({elem:"layui-table-page"+s.index,count:o,limit:s.limit,limits:s.limits||[10,20,30,40,50,60,70,80,90],groups:3,layout:["prev","page","next","skip","count","limit"],prev:'<i class="layui-icon"></i>',next:'<i class="layui-icon"></i>',jump:function(e,t){t||(c.page=e.curr,s.limit=e.limit,c.pullData(e.curr,c.loading()))}},s.page),s.page.count=o,a.render(s.page))))},M.prototype.getColElem=function(e,t){var i=this,a=i.config;return e.eq(0).find(".laytable-cell-"+(a.index+"-"+t)+":eq(0)")},M.prototype.renderForm=function(e){n.render(e,"LAY-table-"+this.index)},M.prototype.sort=function(e,i,a,l){var n,r,c=this,u={},h=c.config,f=h.elem.attr("lay-filter"),y=d.cache[c.key];"string"==typeof e&&c.layHeader.find("th").each(function(i,a){var l=t(this),o=l.data("field");if(o===e)return e=l,n=o,!1});try{var n=n||e.data("field");if(c.sortKey&&!a&&n===c.sortKey.field&&i===c.sortKey.sort)return;var p=c.layHeader.find("th .laytable-cell-"+h.index+"-"+n).find(w);c.layHeader.find("th").find(w).removeAttr("lay-sort"),p.attr("lay-sort",i||null),c.layFixed.find("th")}catch(m){return o.error("Table modules: Did not match to field")}c.sortKey={field:n,sort:i},"asc"===i?r=layui.sort(y,n):"desc"===i?r=layui.sort(y,n,!0):(r=layui.sort(y,d.config.indexName),delete c.sortKey),u[h.response.dataName]=r,c.renderData(u,c.page,c.count,!0),l&&layui.event.call(e,s,"sort("+f+")",{field:n,type:i})},M.prototype.loading=function(){var e=this,t=e.config;if(t.loading&&t.url)return l.msg("鏁版嵁璇锋眰涓�",{icon:16,offset:[e.elem.offset().top+e.elem.height()/2-35-A.scrollTop()+"px",e.elem.offset().left+e.elem.width()/2-90-A.scrollLeft()+"px"],time:-1,anim:-1,fixed:!1})},M.prototype.setCheckData=function(e,t){var i=this,a=i.config,l=d.cache[i.key];l[e]&&l[e].constructor!==Array&&(l[e][a.checkName]=t)},M.prototype.syncCheckAll=function(){var e=this,t=e.config,i=e.layHeader.find('input[name="layTableCheckbox"]'),a=function(i){return e.eachCols(function(e,a){"checkbox"===a.type&&(a[t.checkName]=i)}),i};i[0]&&(d.checkStatus(e.key).isAll?(i[0].checked||(i.prop("checked",!0),e.renderForm("checkbox")),a(!0)):(i[0].checked&&(i.prop("checked",!1),e.renderForm("checkbox")),a(!1)))},M.prototype.getCssRule=function(e,t){var i=this,a=i.elem.find("style")[0],l=a.sheet||a.styleSheet||{},n=l.cssRules||l.rules;layui.each(n,function(a,l){if(l.selectorText===".laytable-cell-"+i.index+"-"+e)return t(l),!0})},M.prototype.fullSize=function(){var e,t=this,i=t.config,a=i.height;t.fullHeightGap&&(a=A.height()-t.fullHeightGap,a<135&&(a=135),t.elem.css("height",a)),e=parseFloat(a)-parseFloat(t.layHeader.height())-1,i.toolbar&&(e-=t.layTool.outerHeight()),i.page&&(e=e-t.layPage.outerHeight()-1),t.layMain.css("height",e)},M.prototype.getScrollWidth=function(e){var t=0;return e?t=e.offsetWidth-e.clientWidth:(e=document.createElement("div"),e.style.width="100px",e.style.height="100px",e.style.overflowY="scroll",document.body.appendChild(e),t=e.offsetWidth-e.clientWidth,document.body.removeChild(e)),t},M.prototype.scrollPatch=function(){var e=this,i=e.layMain.children("table"),a=e.layMain.width()-e.layMain.prop("clientWidth"),l=e.layMain.height()-e.layMain.prop("clientHeight"),n=e.getScrollWidth(e.layMain[0]),o=i.outerWidth()-e.layMain.width();if(e.autoColNums&&o<5&&!e.scrollPatchWStatus){var r=e.layHeader.eq(0).find("thead th:last-child"),d=r.data("field");e.getCssRule(d,function(t){var i=t.style.width||r.outerWidth();t.style.width=parseFloat(i)-n-o+"px",e.layMain.height()-e.layMain.prop("clientHeight")>0&&(t.style.width=parseFloat(t.style.width)-1+"px"),e.scrollPatchWStatus=!0})}if(a&&l){if(!e.elem.find(".layui-table-patch")[0]){var c=t('<th class="layui-table-patch"><div class="layui-table-cell"></div></th>');c.find("div").css({width:a}),e.layHeader.eq(0).find("thead tr").append(c)}}else e.layHeader.eq(0).find(".layui-table-patch").remove();var s=e.layMain.height(),u=s-l;e.layFixed.find(m).css("height",i.height()>u?u:"auto"),e.layFixRight[o>0?"removeClass":"addClass"](h),e.layFixRight.css("right",a-1)},M.prototype.events=function(){var e,a=this,n=a.config,o=t("body"),c={},u=a.layHeader.find("th"),h=".layui-table-cell",f=n.elem.attr("lay-filter");u.on("mousemove",function(e){var i=t(this),a=i.offset().left,l=e.clientX-a;i.attr("colspan")>1||i.data("unresize")||c.resizeStart||(c.allowResize=i.width()-l<=10,o.css("cursor",c.allowResize?"col-resize":""))}).on("mouseleave",function(){t(this);c.resizeStart||o.css("cursor","")}).on("mousedown",function(e){var i=t(this);if(c.allowResize){var l=i.data("field");e.preventDefault(),c.resizeStart=!0,c.offset=[e.clientX,e.clientY],a.getCssRule(l,function(e){var t=e.style.width||i.outerWidth();c.rule=e,c.ruleWidth=parseFloat(t),c.minWidth=i.data("minwidth")||n.cellMinWidth})}}),S.on("mousemove",function(t){if(c.resizeStart){if(t.preventDefault(),c.rule){var i=c.ruleWidth+t.clientX-c.offset[0];i<c.minWidth&&(i=c.minWidth),c.rule.style.width=i+"px",l.close(a.tipsIndex)}e=1}}).on("mouseup",function(t){c.resizeStart&&(c={},o.css("cursor",""),a.scrollPatch()),2===e&&(e=null)}),u.on("click",function(){var i,l=t(this),n=l.find(w),o=n.attr("lay-sort");return n[0]&&1!==e?(i="asc"===o?"desc":"desc"===o?null:"asc",void a.sort(l,i,null,!0)):e=2}).find(w+" .layui-edge ").on("click",function(e){var i=t(this),l=i.index(),n=i.parents("th").eq(0).data("field");layui.stope(e),0===l?a.sort(n,"asc",null,!0):a.sort(n,"desc",null,!0)}),a.elem.on("click",'input[name="layTableCheckbox"]+',function(){var e=t(this).prev(),i=a.layBody.find('input[name="layTableCheckbox"]'),l=e.parents("tr").eq(0).data("index"),n=e[0].checked,o="layTableAllChoose"===e.attr("lay-filter");o?(i.each(function(e,t){t.checked=n,a.setCheckData(e,n)}),a.syncCheckAll(),a.renderForm("checkbox")):(a.setCheckData(l,n),a.syncCheckAll()),layui.event.call(this,s,"checkbox("+f+")",{checked:n,data:d.cache[a.key]?d.cache[a.key][l]||{}:{},type:o?"all":"one"})}),a.layBody.on("mouseenter","tr",function(){var e=t(this),i=e.index();a.layBody.find("tr:eq("+i+")").addClass(T)}).on("mouseleave","tr",function(){var e=t(this),i=e.index();a.layBody.find("tr:eq("+i+")").removeClass(T)}),a.layBody.on("change","."+N,function(){var e=t(this),i=this.value,l=e.parent().data("field"),n=e.parents("tr").eq(0).data("index"),o=d.cache[a.key][n];o[l]=i,layui.event.call(this,s,"edit("+f+")",{value:i,data:o,field:l})}).on("blur","."+N,function(){var e,l=t(this),n=l.parent().data("field"),o=l.parents("tr").eq(0).data("index"),r=d.cache[a.key][o];a.eachCols(function(t,i){i.field==n&&i.templet&&(e=i.templet)}),l.siblings(h).html(e?i(t(e).html()||this.value).render(r):this.value),l.parent().data("content",this.value),l.remove()}),a.layBody.on("click","td",function(){var e=t(this),i=(e.data("field"),e.data("edit")),o=e.children(h);if(l.close(a.tipsIndex),!e.data("off"))if(i)if("select"===i);else{var d=t('<input class="layui-input '+N+'">');d[0].value=e.data("content")||o.text(),e.find("."+N)[0]||e.append(d),d.focus()}else o.find(".layui-form-switch,.layui-form-checkbox")[0]||Math.round(o.prop("scrollWidth"))>Math.round(o.outerWidth())&&(a.tipsIndex=l.tips(['<div class="layui-table-tips-main" style="margin-top: -'+(o.height()+16)+"px;"+function(){return"sm"===n.size?"padding: 4px 15px; font-size: 12px;":"lg"===n.size?"padding: 14px 15px;":""}()+'">',o.html(),"</div>",'<i class="layui-icon layui-table-tips-c">ဆ</i>'].join(""),o[0],{tips:[3,""],time:-1,anim:-1,maxWidth:r.ios||r.android?300:600,isOutAnim:!1,skin:"layui-table-tips",success:function(e,t){e.find(".layui-table-tips-c").on("click",function(){l.close(t)})}}))}),a.layBody.on("click","*[lay-event]",function(){var e=t(this),l=e.parents("tr").eq(0).data("index"),n=a.layBody.find('tr[data-index="'+l+'"]'),o="layui-table-click",r=d.cache[a.key][l];layui.event.call(this,s,"tool("+f+")",{data:d.clearCacheKey(r),event:e.attr("lay-event"),tr:n,del:function(){d.cache[a.key][l]=[],n.remove(),a.scrollPatch()},update:function(e){e=e||{},layui.each(e,function(e,l){if(e in r){var o,d=n.children('td[data-field="'+e+'"]');r[e]=l,a.eachCols(function(t,i){i.field==e&&i.templet&&(o=i.templet)}),d.children(h).html(o?i(t(o).html()||l).render(r):l),d.data("content",l)}})}}),n.addClass(o).siblings("tr").removeClass(o)}),a.layMain.on("scroll",function(){var e=t(this),i=e.scrollLeft(),n=e.scrollTop();a.layHeader.scrollLeft(i),a.layFixed.find(m).scrollTop(n),l.close(a.tipsIndex)}),A.on("resize",function(){a.fullSize(),a.scrollPatch()})},d.init=function(e,i){i=i||{};var a=this,l=t(e?'table[lay-filter="'+e+'"]':u+"[lay-data]"),n="Table element property lay-data configuration item has a syntax error: ";return l.each(function(){var a=t(this),l=a.attr("lay-data");try{l=new Function("return "+l)()}catch(r){o.error(n+l)}var c=[],s=t.extend({elem:this,cols:[],data:[],skin:a.attr("lay-skin"),size:a.attr("lay-size"),even:"string"==typeof a.attr("lay-even")},d.config,i,l);e&&a.hide(),a.find("thead>tr").each(function(e){s.cols[e]=[],t(this).children().each(function(i){var a=t(this),l=a.attr("lay-data");try{l=new Function("return "+l)()}catch(r){return o.error(n+l)}var d=t.extend({title:a.text(),colspan:a.attr("colspan")||0,rowspan:a.attr("rowspan")||0},l);d.colspan<2&&c.push(d),s.cols[e].push(d)})}),a.find("tbody>tr").each(function(e){var i=t(this),a={};i.children("td").each(function(e,i){var l=t(this),n=l.data("field");if(n)return a[n]=l.html()}),layui.each(c,function(e,t){var l=i.children("td").eq(e);a[t.field]=l.html()}),s.data[e]=a}),d.render(s)}),a},d.checkStatus=function(e){var t=0,i=0,a=[],l=d.cache[e]||[];return layui.each(l,function(e,l){return l.constructor===Array?void i++:void(l[d.config.checkName]&&(t++,a.push(d.clearCacheKey(l))))}),{data:a,isAll:!!l.length&&t===l.length-i}},c.config={},d.reload=function(e,i){var a=c.config[e];return i=i||{},a?(i.data&&i.data.constructor===Array&&delete a.data,d.render(t.extend(!0,{},a,i))):o.error("The ID option was not found in the table instance")},d.render=function(e){var t=new M(e);return c.call(t)},d.clearCacheKey=function(e){return e=t.extend({},e),delete e[d.config.checkName],delete e[d.config.indexName],e},d.init(),e(s,d)});
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/tree.js b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/tree.js
new file mode 100644
index 0000000..ed01acb
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/tree.js
@@ -0,0 +1,2 @@
+/** layui-v2.3.0 MIT License By https://www.layui.com */
+ ;layui.define("jquery",function(e){"use strict";var o=layui.$,a=layui.hint(),i="layui-tree-enter",r=function(e){this.options=e},t={arrow:["",""],checkbox:["",""],radio:["",""],branch:["",""],leaf:""};r.prototype.init=function(e){var o=this;e.addClass("layui-box layui-tree"),o.options.skin&&e.addClass("layui-tree-skin-"+o.options.skin),o.tree(e),o.on(e)},r.prototype.tree=function(e,a){var i=this,r=i.options,n=a||r.nodes;layui.each(n,function(a,n){var l=n.children&&n.children.length>0,c=o('<ul class="'+(n.spread?"layui-show":"")+'"></ul>'),s=o(["<li "+(n.spread?'data-spread="'+n.spread+'"':"")+">",function(){return l?'<i class="layui-icon layui-tree-spread">'+(n.spread?t.arrow[1]:t.arrow[0])+"</i>":""}(),function(){return r.check?'<i class="layui-icon layui-tree-check">'+("checkbox"===r.check?t.checkbox[0]:"radio"===r.check?t.radio[0]:"")+"</i>":""}(),function(){return'<a href="'+(n.href||"javascript:;")+'" '+(r.target&&n.href?'target="'+r.target+'"':"")+">"+('<i class="layui-icon layui-tree-'+(l?"branch":"leaf")+'">'+(l?n.spread?t.branch[1]:t.branch[0]:t.leaf)+"</i>")+("<cite>"+(n.name||"鏈懡鍚�")+"</cite></a>")}(),"</li>"].join(""));l&&(s.append(c),i.tree(c,n.children)),e.append(s),"function"==typeof r.click&&i.click(s,n),i.spread(s,n),r.drag&&i.drag(s,n)})},r.prototype.click=function(e,o){var a=this,i=a.options;e.children("a").on("click",function(e){layui.stope(e),i.click(o)})},r.prototype.spread=function(e,o){var a=this,i=(a.options,e.children(".layui-tree-spread")),r=e.children("ul"),n=e.children("a"),l=function(){e.data("spread")?(e.data("spread",null),r.removeClass("layui-show"),i.html(t.arrow[0]),n.find(".layui-icon").html(t.branch[0])):(e.data("spread",!0),r.addClass("layui-show"),i.html(t.arrow[1]),n.find(".layui-icon").html(t.branch[1]))};r[0]&&(i.on("click",l),n.on("dblclick",l))},r.prototype.on=function(e){var a=this,r=a.options,t="layui-tree-drag";e.find("i").on("selectstart",function(e){return!1}),r.drag&&o(document).on("mousemove",function(e){var i=a.move;if(i.from){var r=(i.to,o('<div class="layui-box '+t+'"></div>'));e.preventDefault(),o("."+t)[0]||o("body").append(r);var n=o("."+t)[0]?o("."+t):r;n.addClass("layui-show").html(i.from.elem.children("a").html()),n.css({left:e.pageX+10,top:e.pageY+10})}}).on("mouseup",function(){var e=a.move;e.from&&(e.from.elem.children("a").removeClass(i),e.to&&e.to.elem.children("a").removeClass(i),a.move={},o("."+t).remove())})},r.prototype.move={},r.prototype.drag=function(e,a){var r=this,t=(r.options,e.children("a")),n=function(){var t=o(this),n=r.move;n.from&&(n.to={item:a,elem:e},t.addClass(i))};t.on("mousedown",function(){var o=r.move;o.from={item:a,elem:e}}),t.on("mouseenter",n).on("mousemove",n).on("mouseleave",function(){var e=o(this),a=r.move;a.from&&(delete a.to,e.removeClass(i))})},e("tree",function(e){var i=new r(e=e||{}),t=o(e.elem);return t[0]?void i.init(t):a.error("layui.tree 娌℃湁鎵惧埌"+e.elem+"鍏冪礌")})});
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/upload.js b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/upload.js
new file mode 100644
index 0000000..469a13f
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/upload.js
@@ -0,0 +1,2 @@
+/** layui-v2.3.0 MIT License By https://www.layui.com */
+ ;layui.define("layer",function(e){"use strict";var i=layui.$,t=layui.layer,n=layui.hint(),a=layui.device(),o={config:{},set:function(e){var t=this;return t.config=i.extend({},t.config,e),t},on:function(e,i){return layui.onevent.call(this,r,e,i)}},l=function(){var e=this;return{upload:function(i){e.upload.call(e,i)},config:e.config}},r="upload",u="layui-upload-file",c="layui-upload-form",f="layui-upload-iframe",s="layui-upload-choose",p=function(e){var t=this;t.config=i.extend({},t.config,o.config,e),t.render()};p.prototype.config={accept:"images",exts:"",auto:!0,bindAction:"",url:"",field:"file",method:"post",data:{},drag:!0,size:0,number:0,multiple:!1},p.prototype.render=function(e){var t=this,e=t.config;e.elem=i(e.elem),e.bindAction=i(e.bindAction),t.file(),t.events()},p.prototype.file=function(){var e=this,t=e.config,n=e.elemFile=i(['<input class="'+u+'" type="file" accept="'+t.acceptMime+'" name="'+t.field+'"',t.multiple?" multiple":"",">"].join("")),o=t.elem.next();(o.hasClass(u)||o.hasClass(c))&&o.remove(),a.ie&&a.ie<10&&t.elem.wrap('<div class="layui-upload-wrap"></div>'),e.isFile()?(e.elemFile=t.elem,t.field=t.elem[0].name):t.elem.after(n),a.ie&&a.ie<10&&e.initIE()},p.prototype.initIE=function(){var e=this,t=e.config,n=i('<iframe id="'+f+'" class="'+f+'" name="'+f+'" frameborder="0"></iframe>'),a=i(['<form target="'+f+'" class="'+c+'" method="'+t.method,'" key="set-mine" enctype="multipart/form-data" action="'+t.url+'">',"</form>"].join(""));i("#"+f)[0]||i("body").append(n),t.elem.next().hasClass(c)||(e.elemFile.wrap(a),t.elem.next("."+c).append(function(){var e=[];return layui.each(t.data,function(i,t){t="function"==typeof t?t():t,e.push('<input type="hidden" name="'+i+'" value="'+t+'">')}),e.join("")}()))},p.prototype.msg=function(e){return t.msg(e,{icon:2,shift:6})},p.prototype.isFile=function(){var e=this.config.elem[0];if(e)return"input"===e.tagName.toLocaleLowerCase()&&"file"===e.type},p.prototype.preview=function(e){var i=this;window.FileReader&&layui.each(i.chooseFiles,function(i,t){var n=new FileReader;n.readAsDataURL(t),n.onload=function(){e&&e(i,t,this.result)}})},p.prototype.upload=function(e,t){var n,o=this,l=o.config,r=o.elemFile[0],u=function(){var t=0,n=0,a=e||o.files||o.chooseFiles||r.files,u=function(){l.multiple&&t+n===o.fileLength&&"function"==typeof l.allDone&&l.allDone({total:o.fileLength,successful:t,aborted:n})};layui.each(a,function(e,a){var r=new FormData;r.append(l.field,a),layui.each(l.data,function(e,i){i="function"==typeof i?i():i,r.append(e,i)}),i.ajax({url:l.url,type:l.method,data:r,contentType:!1,processData:!1,dataType:"json",headers:l.headers||{},success:function(i){t++,d(e,i),u()},error:function(){n++,o.msg("璇锋眰涓婁紶鎺ュ彛鍑虹幇寮傚父"),m(e),u()}})})},c=function(){var e=i("#"+f);o.elemFile.parent().submit(),clearInterval(p.timer),p.timer=setInterval(function(){var i,t=e.contents().find("body");try{i=t.text()}catch(n){o.msg("鑾峰彇涓婁紶鍚庣殑鍝嶅簲淇℃伅鍑虹幇寮傚父"),clearInterval(p.timer),m()}i&&(clearInterval(p.timer),t.html(""),d(0,i))},30)},d=function(e,i){if(o.elemFile.next("."+s).remove(),r.value="","object"!=typeof i)try{i=JSON.parse(i)}catch(t){return i={},o.msg("璇峰涓婁紶鎺ュ彛杩斿洖鏈夋晥JSON")}"function"==typeof l.done&&l.done(i,e||0,function(e){o.upload(e)})},m=function(e){l.auto&&(r.value=""),"function"==typeof l.error&&l.error(e||0,function(e){o.upload(e)})},h=l.exts,v=function(){var i=[];return layui.each(e||o.chooseFiles,function(e,t){i.push(t.name)}),i}(),g={preview:function(e){o.preview(e)},upload:function(e,i){var t={};t[e]=i,o.upload(t)},pushFile:function(){return o.files=o.files||{},layui.each(o.chooseFiles,function(e,i){o.files[e]=i}),o.files},resetFile:function(e,i,t){var n=new File([i],t);o.files=o.files||{},o.files[e]=n}},y=function(){if("choose"!==t&&!l.auto||(l.choose&&l.choose(g),"choose"!==t))return l.before&&l.before(g),a.ie?a.ie>9?u():c():void u()};if(v=0===v.length?r.value.match(/[^\/\\]+\..+/g)||[]||"":v,0!==v.length){switch(l.accept){case"file":if(h&&!RegExp("\\w\\.("+h+")$","i").test(escape(v)))return o.msg("閫夋嫨鐨勬枃浠朵腑鍖呭惈涓嶆敮鎸佺殑鏍煎紡"),r.value="";break;case"video":if(!RegExp("\\w\\.("+(h||"avi|mp4|wma|rmvb|rm|flash|3gp|flv")+")$","i").test(escape(v)))return o.msg("閫夋嫨鐨勮棰戜腑鍖呭惈涓嶆敮鎸佺殑鏍煎紡"),r.value="";break;case"audio":if(!RegExp("\\w\\.("+(h||"mp3|wav|mid")+")$","i").test(escape(v)))return o.msg("閫夋嫨鐨勯煶棰戜腑鍖呭惈涓嶆敮鎸佺殑鏍煎紡"),r.value="";break;default:if(layui.each(v,function(e,i){RegExp("\\w\\.("+(h||"jpg|png|gif|bmp|jpeg$")+")","i").test(escape(i))||(n=!0)}),n)return o.msg("閫夋嫨鐨勫浘鐗囦腑鍖呭惈涓嶆敮鎸佺殑鏍煎紡"),r.value=""}if(o.fileLength=function(){var i=0,t=e||o.files||o.chooseFiles||r.files;return layui.each(t,function(){i++}),i}(),l.number&&o.fileLength>l.number)return o.msg("鍚屾椂鏈�澶氬彧鑳戒笂浼犵殑鏁伴噺涓猴細"+l.number);if(l.size>0&&!(a.ie&&a.ie<10)){var F;if(layui.each(o.chooseFiles,function(e,i){if(i.size>1024*l.size){var t=l.size/1024;t=t>=1?t.toFixed(2)+"MB":l.size+"KB",r.value="",F=t}}),F)return o.msg("鏂囦欢涓嶈兘瓒呰繃"+F)}y()}},p.prototype.events=function(){var e=this,t=e.config,o=function(i){e.chooseFiles={},layui.each(i,function(i,t){var n=(new Date).getTime();e.chooseFiles[n+"-"+i]=t})},l=function(i,n){var a=e.elemFile,o=i.length>1?i.length+"涓枃浠�":(i[0]||{}).name||a[0].value.match(/[^\/\\]+\..+/g)||[]||"";a.next().hasClass(s)&&a.next().remove(),e.upload(null,"choose"),e.isFile()||t.choose||a.after('<span class="layui-inline '+s+'">'+o+"</span>")};t.elem.off("upload.start").on("upload.start",function(){var a=i(this),o=a.attr("lay-data");if(o)try{o=new Function("return "+o)(),e.config=i.extend({},t,o)}catch(l){n.error("Upload element property lay-data configuration item has a syntax error: "+o)}e.config.item=a,e.elemFile[0].click()}),a.ie&&a.ie<10||t.elem.off("upload.over").on("upload.over",function(){var e=i(this);e.attr("lay-over","")}).off("upload.leave").on("upload.leave",function(){var e=i(this);e.removeAttr("lay-over")}).off("upload.drop").on("upload.drop",function(n,a){var r=i(this),u=a.originalEvent.dataTransfer.files||[];r.removeAttr("lay-over"),o(u),t.auto?e.upload(u):l(u)}),e.elemFile.off("upload.change").on("upload.change",function(){var i=this.files||[];o(i),t.auto?e.upload():l(i)}),t.bindAction.off("upload.action").on("upload.action",function(){e.upload()}),t.elem.data("haveEvents")||(e.elemFile.on("change",function(){i(this).trigger("upload.change")}),t.elem.on("click",function(){e.isFile()||i(this).trigger("upload.start")}),t.drag&&t.elem.on("dragover",function(e){e.preventDefault(),i(this).trigger("upload.over")}).on("dragleave",function(e){i(this).trigger("upload.leave")}).on("drop",function(e){e.preventDefault(),i(this).trigger("upload.drop",e)}),t.bindAction.on("click",function(){i(this).trigger("upload.action")}),t.elem.data("haveEvents",!0))},o.render=function(e){var i=new p(e);return l.call(i)},e(r,o)});
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/util.js b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/util.js
new file mode 100644
index 0000000..32bffa4
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/lay/modules/util.js
@@ -0,0 +1,2 @@
+/** layui-v2.3.0 MIT License By https://www.layui.com */
+ ;layui.define("jquery",function(e){"use strict";var t=layui.$,i={fixbar:function(e){var i,a,o="layui-fixbar",r="layui-fixbar-top",l=t(document),n=t("body");e=t.extend({showHeight:200},e),e.bar1=e.bar1===!0?"":e.bar1,e.bar2=e.bar2===!0?"":e.bar2,e.bgcolor=e.bgcolor?"background-color:"+e.bgcolor:"";var c=[e.bar1,e.bar2,""],g=t(['<ul class="'+o+'">',e.bar1?'<li class="layui-icon" lay-type="bar1" style="'+e.bgcolor+'">'+c[0]+"</li>":"",e.bar2?'<li class="layui-icon" lay-type="bar2" style="'+e.bgcolor+'">'+c[1]+"</li>":"",'<li class="layui-icon '+r+'" lay-type="top" style="'+e.bgcolor+'">'+c[2]+"</li>","</ul>"].join("")),u=g.find("."+r),s=function(){var t=l.scrollTop();t>=e.showHeight?i||(u.show(),i=1):i&&(u.hide(),i=0)};t("."+o)[0]||("object"==typeof e.css&&g.css(e.css),n.append(g),s(),g.find("li").on("click",function(){var i=t(this),a=i.attr("lay-type");"top"===a&&t("html,body").animate({scrollTop:0},200),e.click&&e.click.call(this,a)}),l.on("scroll",function(){clearTimeout(a),a=setTimeout(function(){s()},100)}))},countdown:function(e,t,i){var a=this,o="function"==typeof t,r=new Date(e).getTime(),l=new Date(!t||o?(new Date).getTime():t).getTime(),n=r-l,c=[Math.floor(n/864e5),Math.floor(n/36e5)%24,Math.floor(n/6e4)%60,Math.floor(n/1e3)%60];o&&(i=t);var g=setTimeout(function(){a.countdown(e,l+1e3,i)},1e3);return i&&i(n>0?c:[0,0,0,0],t,g),n<=0&&clearTimeout(g),g},timeAgo:function(e,t){var i=this,a=[[],[]],o=(new Date).getTime()-new Date(e).getTime();return o>6912e5?(o=new Date(e),a[0][0]=i.digit(o.getFullYear(),4),a[0][1]=i.digit(o.getMonth()+1),a[0][2]=i.digit(o.getDate()),t||(a[1][0]=i.digit(o.getHours()),a[1][1]=i.digit(o.getMinutes()),a[1][2]=i.digit(o.getSeconds())),a[0].join("-")+" "+a[1].join(":")):o>=864e5?(o/1e3/60/60/24|0)+"澶╁墠":o>=36e5?(o/1e3/60/60|0)+"灏忔椂鍓�":o>=12e4?(o/1e3/60|0)+"鍒嗛挓鍓�":o<0?"鏈潵":"鍒氬垰"},digit:function(e,t){var i="";e=String(e),t=t||2;for(var a=e.length;a<t;a++)i+="0";return e<Math.pow(10,t)?i+(0|e):e},toDateString:function(e,t){var i=this,a=new Date(e||new Date),o=[i.digit(a.getFullYear(),4),i.digit(a.getMonth()+1),i.digit(a.getDate())],r=[i.digit(a.getHours()),i.digit(a.getMinutes()),i.digit(a.getSeconds())];return t=t||"yyyy-MM-dd HH:mm:ss",t.replace(/yyyy/g,o[0]).replace(/MM/g,o[1]).replace(/dd/g,o[2]).replace(/HH/g,r[0]).replace(/mm/g,r[1]).replace(/ss/g,r[2])},escape:function(e){return String(e||"").replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/'/g,"'").replace(/"/g,""")}};e("util",i)});
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/layui.all.js b/src/main/webapp/static/wms/layuiadmin/layui/layui.all.js
new file mode 100644
index 0000000..9321cab
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/layui.all.js
@@ -0,0 +1,5 @@
+/** layui-v2.3.0 MIT License By https://www.layui.com */
+ ;!function(e){"use strict";var t=document,n={modules:{},status:{},timeout:10,event:{}},o=function(){this.v="2.3.0"},r=function(){var e=t.currentScript?t.currentScript.src:function(){for(var e,n=t.scripts,o=n.length-1,r=o;r>0;r--)if("interactive"===n[r].readyState){e=n[r].src;break}return e||n[o].src}();return e.substring(0,e.lastIndexOf("/")+1)}(),a=function(t){e.console&&console.error&&console.error("Layui hint: "+t)},i="undefined"!=typeof opera&&"[object Opera]"===opera.toString(),u={layer:"modules/layer",laydate:"modules/laydate",laypage:"modules/laypage",laytpl:"modules/laytpl",layim:"modules/layim",layedit:"modules/layedit",form:"modules/form",upload:"modules/upload",tree:"modules/tree",table:"modules/table",element:"modules/element",rate:"modules/rate",carousel:"modules/carousel",flow:"modules/flow",util:"modules/util",code:"modules/code",jquery:"modules/jquery",mobile:"modules/mobile","layui.all":"../layui.all"};o.prototype.cache=n,o.prototype.define=function(e,t){var o=this,r="function"==typeof e,a=function(){var e=function(e,t){layui[e]=t,n.status[e]=!0};return"function"==typeof t&&t(function(o,r){e(o,r),n.callback[o]=function(){t(e)}}),this};return r&&(t=e,e=[]),layui["layui.all"]||!layui["layui.all"]&&layui["layui.mobile"]?a.call(o):(o.use(e,a),o)},o.prototype.use=function(e,o,l){function s(e,t){var o="PLaySTATION 3"===navigator.platform?/^complete$/:/^(complete|loaded)$/;("load"===e.type||o.test((e.currentTarget||e.srcElement).readyState))&&(n.modules[d]=t,f.removeChild(v),function r(){return++m>1e3*n.timeout/4?a(d+" is not a valid module"):void(n.status[d]?c():setTimeout(r,4))}())}function c(){l.push(layui[d]),e.length>1?y.use(e.slice(1),o,l):"function"==typeof o&&o.apply(layui,l)}var y=this,p=n.dir=n.dir?n.dir:r,f=t.getElementsByTagName("head")[0];e="string"==typeof e?[e]:e,window.jQuery&&jQuery.fn.on&&(y.each(e,function(t,n){"jquery"===n&&e.splice(t,1)}),layui.jquery=layui.$=jQuery);var d=e[0],m=0;if(l=l||[],n.host=n.host||(p.match(/\/\/([\s\S]+?)\//)||["//"+location.host+"/"])[0],0===e.length||layui["layui.all"]&&u[d]||!layui["layui.all"]&&layui["layui.mobile"]&&u[d])return c(),y;if(n.modules[d])!function g(){return++m>1e3*n.timeout/4?a(d+" is not a valid module"):void("string"==typeof n.modules[d]&&n.status[d]?c():setTimeout(g,4))}();else{var v=t.createElement("script"),h=(u[d]?p+"lay/":/^\{\/\}/.test(y.modules[d])?"":n.base||"")+(y.modules[d]||d)+".js";h=h.replace(/^\{\/\}/,""),v.async=!0,v.charset="utf-8",v.src=h+function(){var e=n.version===!0?n.v||(new Date).getTime():n.version||"";return e?"?v="+e:""}(),f.appendChild(v),!v.attachEvent||v.attachEvent.toString&&v.attachEvent.toString().indexOf("[native code")<0||i?v.addEventListener("load",function(e){s(e,h)},!1):v.attachEvent("onreadystatechange",function(e){s(e,h)}),n.modules[d]=h}return y},o.prototype.getStyle=function(t,n){var o=t.currentStyle?t.currentStyle:e.getComputedStyle(t,null);return o[o.getPropertyValue?"getPropertyValue":"getAttribute"](n)},o.prototype.link=function(e,o,r){var i=this,u=t.createElement("link"),l=t.getElementsByTagName("head")[0];"string"==typeof o&&(r=o);var s=(r||e).replace(/\.|\//g,""),c=u.id="layuicss-"+s,y=0;return u.rel="stylesheet",u.href=e+(n.debug?"?v="+(new Date).getTime():""),u.media="all",t.getElementById(c)||l.appendChild(u),"function"!=typeof o?i:(function p(){return++y>1e3*n.timeout/100?a(e+" timeout"):void(1989===parseInt(i.getStyle(t.getElementById(c),"width"))?function(){o()}():setTimeout(p,100))}(),i)},n.callback={},o.prototype.factory=function(e){if(layui[e])return"function"==typeof n.callback[e]?n.callback[e]:null},o.prototype.addcss=function(e,t,o){return layui.link(n.dir+"css/"+e,t,o)},o.prototype.img=function(e,t,n){var o=new Image;return o.src=e,o.complete?t(o):(o.onload=function(){o.onload=null,"function"==typeof t&&t(o)},void(o.onerror=function(e){o.onerror=null,"function"==typeof n&&n(e)}))},o.prototype.config=function(e){e=e||{};for(var t in e)n[t]=e[t];return this},o.prototype.modules=function(){var e={};for(var t in u)e[t]=u[t];return e}(),o.prototype.extend=function(e){var t=this;e=e||{};for(var n in e)t[n]||t.modules[n]?a("妯″潡鍚� "+n+" 宸茶鍗犵敤"):t.modules[n]=e[n];return t},o.prototype.router=function(e){var t=this,e=e||location.hash,n={path:[],search:{},hash:(e.match(/[^#](#.*$)/)||[])[1]||""};return/^#\//.test(e)?(e=e.replace(/^#\//,""),n.href="/"+e,e=e.replace(/([^#])(#.*$)/,"$1").split("/")||[],t.each(e,function(e,t){/^\w+=/.test(t)?function(){t=t.split("="),n.search[t[0]]=t[1]}():n.path.push(t)}),n):n},o.prototype.data=function(t,n,o){if(t=t||"layui",o=o||localStorage,e.JSON&&e.JSON.parse){if(null===n)return delete o[t];n="object"==typeof n?n:{key:n};try{var r=JSON.parse(o[t])}catch(a){var r={}}return"value"in n&&(r[n.key]=n.value),n.remove&&delete r[n.key],o[t]=JSON.stringify(r),n.key?r[n.key]:r}},o.prototype.sessionData=function(e,t){return this.data(e,t,sessionStorage)},o.prototype.device=function(t){var n=navigator.userAgent.toLowerCase(),o=function(e){var t=new RegExp(e+"/([^\\s\\_\\-]+)");return e=(n.match(t)||[])[1],e||!1},r={os:function(){return/windows/.test(n)?"windows":/linux/.test(n)?"linux":/iphone|ipod|ipad|ios/.test(n)?"ios":/mac/.test(n)?"mac":void 0}(),ie:function(){return!!(e.ActiveXObject||"ActiveXObject"in e)&&((n.match(/msie\s(\d+)/)||[])[1]||"11")}(),weixin:o("micromessenger")};return t&&!r[t]&&(r[t]=o(t)),r.android=/android/.test(n),r.ios="ios"===r.os,r},o.prototype.hint=function(){return{error:a}},o.prototype.each=function(e,t){var n,o=this;if("function"!=typeof t)return o;if(e=e||[],e.constructor===Object){for(n in e)if(t.call(e[n],n,e[n]))break}else for(n=0;n<e.length&&!t.call(e[n],n,e[n]);n++);return o},o.prototype.sort=function(e,t,n){var o=JSON.parse(JSON.stringify(e||[]));return t?(o.sort(function(e,n){var o=/^-?\d+$/,r=e[t],a=n[t];return o.test(r)&&(r=parseFloat(r)),o.test(a)&&(a=parseFloat(a)),r&&!a?1:!r&&a?-1:r>a?1:r<a?-1:0}),n&&o.reverse(),o):o},o.prototype.stope=function(t){t=t||e.event;try{t.stopPropagation()}catch(n){t.cancelBubble=!0}},o.prototype.onevent=function(e,t,n){return"string"!=typeof e||"function"!=typeof n?this:o.event(e,t,null,n)},o.prototype.event=o.event=function(e,t,o,r){var a=this,i=null,u=t.match(/\((.*)\)$/)||[],l=(e+"."+t).replace(u[0],""),s=u[1]||"",c=function(e,t){var n=t&&t.call(a,o);n===!1&&null===i&&(i=!1)};return r?(n.event[l]=n.event[l]||{},n.event[l][s]=[r],this):(layui.each(n.event[l],function(e,t){return"{*}"===s?void layui.each(t,c):(""===e&&layui.each(t,c),void(e===s&&layui.each(t,c)))}),i)},e.layui=new o}(window);layui.define(function(a){var i=layui.cache;layui.config({dir:i.dir.replace(/lay\/dest\/$/,"")}),a("layui.all",layui.v)});layui.define(function(e){"use strict";var r={open:"{{",close:"}}"},c={exp:function(e){return new RegExp(e,"g")},query:function(e,c,t){var o=["#([\\s\\S])+?","([^{#}])*?"][e||0];return n((c||"")+r.open+o+r.close+(t||""))},escape:function(e){return String(e||"").replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/'/g,"'").replace(/"/g,""")},error:function(e,r){var c="Laytpl Error锛�";return"object"==typeof console&&console.error(c+e+"\n"+(r||"")),c+e}},n=c.exp,t=function(e){this.tpl=e};t.pt=t.prototype,window.errors=0,t.pt.parse=function(e,t){var o=this,p=e,a=n("^"+r.open+"#",""),l=n(r.close+"$","");e=e.replace(/\s+|\r|\t|\n/g," ").replace(n(r.open+"#"),r.open+"# ").replace(n(r.close+"}"),"} "+r.close).replace(/\\/g,"\\\\").replace(n(r.open+"!(.+?)!"+r.close),function(e){return e=e.replace(n("^"+r.open+"!"),"").replace(n("!"+r.close),"").replace(n(r.open+"|"+r.close),function(e){return e.replace(/(.)/g,"\\$1")})}).replace(/(?="|')/g,"\\").replace(c.query(),function(e){return e=e.replace(a,"").replace(l,""),'";'+e.replace(/\\/g,"")+';view+="'}).replace(c.query(1),function(e){var c='"+(';return e.replace(/\s/g,"")===r.open+r.close?"":(e=e.replace(n(r.open+"|"+r.close),""),/^=/.test(e)&&(e=e.replace(/^=/,""),c='"+_escape_('),c+e.replace(/\\/g,"")+')+"')}),e='"use strict";var view = "'+e+'";return view;';try{return o.cache=e=new Function("d, _escape_",e),e(t,c.escape)}catch(u){return delete o.cache,c.error(u,p)}},t.pt.render=function(e,r){var n,t=this;return e?(n=t.cache?t.cache(e,c.escape):t.parse(t.tpl,e),r?void r(n):n):c.error("no data")};var o=function(e){return"string"!=typeof e?c.error("Template not found"):new t(e)};o.config=function(e){e=e||{};for(var c in e)r[c]=e[c]},o.v="1.2.0",e("laytpl",o)});layui.define(function(e){"use strict";var a=document,t="getElementById",n="getElementsByTagName",i="laypage",r="layui-disabled",u=function(e){var a=this;a.config=e||{},a.config.index=++s.index,a.render(!0)};u.prototype.type=function(){var e=this.config;if("object"==typeof e.elem)return void 0===e.elem.length?2:3},u.prototype.view=function(){var e=this,a=e.config,t=a.groups="groups"in a?0|a.groups:5;a.layout="object"==typeof a.layout?a.layout:["prev","page","next"],a.count=0|a.count,a.curr=0|a.curr||1,a.limits="object"==typeof a.limits?a.limits:[10,20,30,40,50],a.limit=0|a.limit||10,a.pages=Math.ceil(a.count/a.limit)||1,a.curr>a.pages&&(a.curr=a.pages),t<0?t=1:t>a.pages&&(t=a.pages),a.prev="prev"in a?a.prev:"上一页",a.next="next"in a?a.next:"下一页";var n=a.pages>t?Math.ceil((a.curr+(t>1?1:0))/(t>0?t:1)):1,i={prev:function(){return a.prev?'<a href="javascript:;" class="layui-laypage-prev'+(1==a.curr?" "+r:"")+'" data-page="'+(a.curr-1)+'">'+a.prev+"</a>":""}(),page:function(){var e=[];if(a.count<1)return"";n>1&&a.first!==!1&&0!==t&&e.push('<a href="javascript:;" class="layui-laypage-first" data-page="1" title="首页">'+(a.first||1)+"</a>");var i=Math.floor((t-1)/2),r=n>1?a.curr-i:1,u=n>1?function(){var e=a.curr+(t-i-1);return e>a.pages?a.pages:e}():t;for(u-r<t-1&&(r=u-t+1),a.first!==!1&&r>2&&e.push('<span class="layui-laypage-spr">…</span>');r<=u;r++)r===a.curr?e.push('<span class="layui-laypage-curr"><em class="layui-laypage-em" '+(/^#/.test(a.theme)?'style="background-color:'+a.theme+';"':"")+"></em><em>"+r+"</em></span>"):e.push('<a href="javascript:;" data-page="'+r+'">'+r+"</a>");return a.pages>t&&a.pages>u&&a.last!==!1&&(u+1<a.pages&&e.push('<span class="layui-laypage-spr">…</span>'),0!==t&&e.push('<a href="javascript:;" class="layui-laypage-last" title="尾页" data-page="'+a.pages+'">'+(a.last||a.pages)+"</a>")),e.join("")}(),next:function(){return a.next?'<a href="javascript:;" class="layui-laypage-next'+(a.curr==a.pages?" "+r:"")+'" data-page="'+(a.curr+1)+'">'+a.next+"</a>":""}(),count:'<span class="layui-laypage-count">鍏� '+a.count+" 鏉�</span>",limit:function(){var e=['<span class="layui-laypage-limits"><select lay-ignore>'];return layui.each(a.limits,function(t,n){e.push('<option value="'+n+'"'+(n===a.limit?"selected":"")+">"+n+" 鏉�/椤�</option>")}),e.join("")+"</select></span>"}(),refresh:['<a href="javascript:;" data-page="'+a.curr+'" class="layui-laypage-refresh">','<i class="layui-icon layui-icon-refresh"></i>',"</a>"].join(""),skip:function(){return['<span class="layui-laypage-skip">到第','<input type="text" min="1" value="'+a.curr+'" class="layui-input">','页<button type="button" class="layui-laypage-btn">确定</button>',"</span>"].join("")}()};return['<div class="layui-box layui-laypage layui-laypage-'+(a.theme?/^#/.test(a.theme)?"molv":a.theme:"default")+'" id="layui-laypage-'+a.index+'">',function(){var e=[];return layui.each(a.layout,function(a,t){i[t]&&e.push(i[t])}),e.join("")}(),"</div>"].join("")},u.prototype.jump=function(e,a){if(e){var t=this,i=t.config,r=e.children,u=e[n]("button")[0],l=e[n]("input")[0],p=e[n]("select")[0],c=function(){var e=0|l.value.replace(/\s|\D/g,"");e&&(i.curr=e,t.render())};if(a)return c();for(var o=0,y=r.length;o<y;o++)"a"===r[o].nodeName.toLowerCase()&&s.on(r[o],"click",function(){var e=0|this.getAttribute("data-page");e<1||e>i.pages||(i.curr=e,t.render())});p&&s.on(p,"change",function(){var e=this.value;i.curr*e>i.count&&(i.curr=Math.ceil(i.count/e)),i.limit=e,t.render()}),u&&s.on(u,"click",function(){c()})}},u.prototype.skip=function(e){if(e){var a=this,t=e[n]("input")[0];t&&s.on(t,"keyup",function(t){var n=this.value,i=t.keyCode;/^(37|38|39|40)$/.test(i)||(/\D/.test(n)&&(this.value=n.replace(/\D/,"")),13===i&&a.jump(e,!0))})}},u.prototype.render=function(e){var n=this,i=n.config,r=n.type(),u=n.view();2===r?i.elem&&(i.elem.innerHTML=u):3===r?i.elem.html(u):a[t](i.elem)&&(a[t](i.elem).innerHTML=u),i.jump&&i.jump(i,e);var s=a[t]("layui-laypage-"+i.index);n.jump(s),i.hash&&!e&&(location.hash="!"+i.hash+"="+i.curr),n.skip(s)};var s={render:function(e){var a=new u(e);return a.index},index:layui.laypage?layui.laypage.index+1e4:0,on:function(e,a,t){return e.attachEvent?e.attachEvent("on"+a,function(a){a.target=a.srcElement,t.call(e,a)}):e.addEventListener(a,t,!1),this}};e(i,s)});!function(){"use strict";var e=window.layui&&layui.define,t={getPath:function(){var e=document.currentScript?document.currentScript.src:function(){for(var e,t=document.scripts,n=t.length-1,a=n;a>0;a--)if("interactive"===t[a].readyState){e=t[a].src;break}return e||t[n].src}();return e.substring(0,e.lastIndexOf("/")+1)}(),getStyle:function(e,t){var n=e.currentStyle?e.currentStyle:window.getComputedStyle(e,null);return n[n.getPropertyValue?"getPropertyValue":"getAttribute"](t)},link:function(e,a,i){if(n.path){var r=document.getElementsByTagName("head")[0],o=document.createElement("link");"string"==typeof a&&(i=a);var s=(i||e).replace(/\.|\//g,""),l="layuicss-"+s,d=0;o.rel="stylesheet",o.href=n.path+e,o.id=l,document.getElementById(l)||r.appendChild(o),"function"==typeof a&&!function c(){return++d>80?window.console&&console.error("laydate.css: Invalid"):void(1989===parseInt(t.getStyle(document.getElementById(l),"width"))?a():setTimeout(c,100))}()}}},n={v:"5.0.9",config:{},index:window.laydate&&window.laydate.v?1e5:0,path:t.getPath,set:function(e){var t=this;return t.config=w.extend({},t.config,e),t},ready:function(a){var i="laydate",r="",o=(e?"modules/laydate/":"theme/")+"default/laydate.css?v="+n.v+r;return e?layui.addcss(o,a,i):t.link(o,a,i),this}},a=function(){var e=this;return{hint:function(t){e.hint.call(e,t)},config:e.config}},i="laydate",r=".layui-laydate",o="layui-this",s="laydate-disabled",l="寮�濮嬫棩鏈熻秴鍑轰簡缁撴潫鏃ユ湡<br>寤鸿閲嶆柊閫夋嫨",d=[100,2e5],c="layui-laydate-static",m="layui-laydate-list",u="laydate-selected",h="layui-laydate-hint",y="laydate-day-prev",f="laydate-day-next",p="layui-laydate-footer",g=".laydate-btns-confirm",v="laydate-time-text",D=".laydate-btns-time",T=function(e){var t=this;t.index=++n.index,t.config=w.extend({},t.config,n.config,e),n.ready(function(){t.init()})},w=function(e){return new C(e)},C=function(e){for(var t=0,n="object"==typeof e?[e]:(this.selector=e,document.querySelectorAll(e||null));t<n.length;t++)this.push(n[t])};C.prototype=[],C.prototype.constructor=C,w.extend=function(){var e=1,t=arguments,n=function(e,t){e=e||(t.constructor===Array?[]:{});for(var a in t)e[a]=t[a]&&t[a].constructor===Object?n(e[a],t[a]):t[a];return e};for(t[0]="object"==typeof t[0]?t[0]:{};e<t.length;e++)"object"==typeof t[e]&&n(t[0],t[e]);return t[0]},w.ie=function(){var e=navigator.userAgent.toLowerCase();return!!(window.ActiveXObject||"ActiveXObject"in window)&&((e.match(/msie\s(\d+)/)||[])[1]||"11")}(),w.stope=function(e){e=e||window.event,e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},w.each=function(e,t){var n,a=this;if("function"!=typeof t)return a;if(e=e||[],e.constructor===Object){for(n in e)if(t.call(e[n],n,e[n]))break}else for(n=0;n<e.length&&!t.call(e[n],n,e[n]);n++);return a},w.digit=function(e,t,n){var a="";e=String(e),t=t||2;for(var i=e.length;i<t;i++)a+="0";return e<Math.pow(10,t)?a+(0|e):e},w.elem=function(e,t){var n=document.createElement(e);return w.each(t||{},function(e,t){n.setAttribute(e,t)}),n},C.addStr=function(e,t){return e=e.replace(/\s+/," "),t=t.replace(/\s+/," ").split(" "),w.each(t,function(t,n){new RegExp("\\b"+n+"\\b").test(e)||(e=e+" "+n)}),e.replace(/^\s|\s$/,"")},C.removeStr=function(e,t){return e=e.replace(/\s+/," "),t=t.replace(/\s+/," ").split(" "),w.each(t,function(t,n){var a=new RegExp("\\b"+n+"\\b");a.test(e)&&(e=e.replace(a,""))}),e.replace(/\s+/," ").replace(/^\s|\s$/,"")},C.prototype.find=function(e){var t=this,n=0,a=[],i="object"==typeof e;return this.each(function(r,o){for(var s=i?[e]:o.querySelectorAll(e||null);n<s.length;n++)a.push(s[n]);t.shift()}),i||(t.selector=(t.selector?t.selector+" ":"")+e),w.each(a,function(e,n){t.push(n)}),t},C.prototype.each=function(e){return w.each.call(this,this,e)},C.prototype.addClass=function(e,t){return this.each(function(n,a){a.className=C[t?"removeStr":"addStr"](a.className,e)})},C.prototype.removeClass=function(e){return this.addClass(e,!0)},C.prototype.hasClass=function(e){var t=!1;return this.each(function(n,a){new RegExp("\\b"+e+"\\b").test(a.className)&&(t=!0)}),t},C.prototype.attr=function(e,t){var n=this;return void 0===t?function(){if(n.length>0)return n[0].getAttribute(e)}():n.each(function(n,a){a.setAttribute(e,t)})},C.prototype.removeAttr=function(e){return this.each(function(t,n){n.removeAttribute(e)})},C.prototype.html=function(e){return this.each(function(t,n){n.innerHTML=e})},C.prototype.val=function(e){return this.each(function(t,n){n.value=e})},C.prototype.append=function(e){return this.each(function(t,n){"object"==typeof e?n.appendChild(e):n.innerHTML=n.innerHTML+e})},C.prototype.remove=function(e){return this.each(function(t,n){e?n.removeChild(e):n.parentNode.removeChild(n)})},C.prototype.on=function(e,t){return this.each(function(n,a){a.attachEvent?a.attachEvent("on"+e,function(e){e.target=e.srcElement,t.call(a,e)}):a.addEventListener(e,t,!1)})},C.prototype.off=function(e,t){return this.each(function(n,a){a.detachEvent?a.detachEvent("on"+e,t):a.removeEventListener(e,t,!1)})},T.isLeapYear=function(e){return e%4===0&&e%100!==0||e%400===0},T.prototype.config={type:"date",range:!1,format:"yyyy-MM-dd",value:null,isInitValue:!0,min:"1900-1-1",max:"2099-12-31",trigger:"focus",show:!1,showBottom:!0,btns:["clear","now","confirm"],lang:"cn",theme:"default",position:null,calendar:!1,mark:{},zIndex:null,done:null,change:null},T.prototype.lang=function(){var e=this,t=e.config,n={cn:{weeks:["鏃�","涓�","浜�","涓�","鍥�","浜�","鍏�"],time:["鏃�","鍒�","绉�"],timeTips:"閫夋嫨鏃堕棿",startTime:"寮�濮嬫椂闂�",endTime:"缁撴潫鏃堕棿",dateTips:"杩斿洖鏃ユ湡",month:["涓�","浜�","涓�","鍥�","浜�","鍏�","涓�","鍏�","涔�","鍗�","鍗佷竴","鍗佷簩"],tools:{confirm:"纭畾",clear:"娓呯┖",now:"鐜板湪"}},en:{weeks:["Su","Mo","Tu","We","Th","Fr","Sa"],time:["Hours","Minutes","Seconds"],timeTips:"Select Time",startTime:"Start Time",endTime:"End Time",dateTips:"Select Date",month:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],tools:{confirm:"Confirm",clear:"Clear",now:"Now"}}};return n[t.lang]||n.cn},T.prototype.init=function(){var e=this,t=e.config,n="yyyy|y|MM|M|dd|d|HH|H|mm|m|ss|s",a="static"===t.position,i={year:"yyyy",month:"yyyy-MM",date:"yyyy-MM-dd",time:"HH:mm:ss",datetime:"yyyy-MM-dd HH:mm:ss"};t.elem=w(t.elem),t.eventElem=w(t.eventElem),t.elem[0]&&(t.range===!0&&(t.range="-"),t.format===i.date&&(t.format=i[t.type]),e.format=t.format.match(new RegExp(n+"|.","g"))||[],e.EXP_IF="",e.EXP_SPLIT="",w.each(e.format,function(t,a){var i=new RegExp(n).test(a)?"\\d{"+function(){return new RegExp(n).test(e.format[0===t?t+1:t-1]||"")?/^yyyy|y$/.test(a)?4:a.length:/^yyyy$/.test(a)?"1,4":/^y$/.test(a)?"1,308":"1,2"}()+"}":"\\"+a;e.EXP_IF=e.EXP_IF+i,e.EXP_SPLIT=e.EXP_SPLIT+"("+i+")"}),e.EXP_IF=new RegExp("^"+(t.range?e.EXP_IF+"\\s\\"+t.range+"\\s"+e.EXP_IF:e.EXP_IF)+"$"),e.EXP_SPLIT=new RegExp("^"+e.EXP_SPLIT+"$",""),e.isInput(t.elem[0])||"focus"===t.trigger&&(t.trigger="click"),t.elem.attr("lay-key")||(t.elem.attr("lay-key",e.index),t.eventElem.attr("lay-key",e.index)),t.mark=w.extend({},t.calendar&&"cn"===t.lang?{"0-1-1":"鍏冩棪","0-2-14":"鎯呬汉","0-3-8":"濡囧コ","0-3-12":"妞嶆爲","0-4-1":"鎰氫汉","0-5-1":"鍔冲姩","0-5-4":"闈掑勾","0-6-1":"鍎跨","0-9-10":"鏁欏笀","0-9-18":"鍥借��","0-10-1":"鍥藉簡","0-12-25":"鍦h癁"}:{},t.mark),w.each(["min","max"],function(e,n){var a=[],i=[];if("number"==typeof t[n]){var r=t[n],o=(new Date).getTime(),s=864e5,l=new Date(r?r<s?o+r*s:r:o);a=[l.getFullYear(),l.getMonth()+1,l.getDate()],r<s||(i=[l.getHours(),l.getMinutes(),l.getSeconds()])}else a=(t[n].match(/\d+-\d+-\d+/)||[""])[0].split("-"),i=(t[n].match(/\d+:\d+:\d+/)||[""])[0].split(":");t[n]={year:0|a[0]||(new Date).getFullYear(),month:a[1]?(0|a[1])-1:(new Date).getMonth(),date:0|a[2]||(new Date).getDate(),hours:0|i[0],minutes:0|i[1],seconds:0|i[2]}}),e.elemID="layui-laydate"+t.elem.attr("lay-key"),(t.show||a)&&e.render(),a||e.events(),t.value&&t.isInitValue&&(t.value.constructor===Date?e.setValue(e.parse(0,e.systemDate(t.value))):e.setValue(t.value)))},T.prototype.render=function(){var e=this,t=e.config,n=e.lang(),a="static"===t.position,i=e.elem=w.elem("div",{id:e.elemID,"class":["layui-laydate",t.range?" layui-laydate-range":"",a?" "+c:"",t.theme&&"default"!==t.theme&&!/^#/.test(t.theme)?" laydate-theme-"+t.theme:""].join("")}),r=e.elemMain=[],o=e.elemHeader=[],s=e.elemCont=[],l=e.table=[],d=e.footer=w.elem("div",{"class":p});if(t.zIndex&&(i.style.zIndex=t.zIndex),w.each(new Array(2),function(e){if(!t.range&&e>0)return!0;var a=w.elem("div",{"class":"layui-laydate-header"}),i=[function(){var e=w.elem("i",{"class":"layui-icon laydate-icon laydate-prev-y"});return e.innerHTML="",e}(),function(){var e=w.elem("i",{"class":"layui-icon laydate-icon laydate-prev-m"});return e.innerHTML="",e}(),function(){var e=w.elem("div",{"class":"laydate-set-ym"}),t=w.elem("span"),n=w.elem("span");return e.appendChild(t),e.appendChild(n),e}(),function(){var e=w.elem("i",{"class":"layui-icon laydate-icon laydate-next-m"});return e.innerHTML="",e}(),function(){var e=w.elem("i",{"class":"layui-icon laydate-icon laydate-next-y"});return e.innerHTML="",e}()],d=w.elem("div",{"class":"layui-laydate-content"}),c=w.elem("table"),m=w.elem("thead"),u=w.elem("tr");w.each(i,function(e,t){a.appendChild(t)}),m.appendChild(u),w.each(new Array(6),function(e){var t=c.insertRow(0);w.each(new Array(7),function(a){if(0===e){var i=w.elem("th");i.innerHTML=n.weeks[a],u.appendChild(i)}t.insertCell(a)})}),c.insertBefore(m,c.children[0]),d.appendChild(c),r[e]=w.elem("div",{"class":"layui-laydate-main laydate-main-list-"+e}),r[e].appendChild(a),r[e].appendChild(d),o.push(i),s.push(d),l.push(c)}),w(d).html(function(){var e=[],i=[];return"datetime"===t.type&&e.push('<span lay-type="datetime" class="laydate-btns-time">'+n.timeTips+"</span>"),w.each(t.btns,function(e,r){var o=n.tools[r]||"btn";t.range&&"now"===r||(a&&"clear"===r&&(o="cn"===t.lang?"閲嶇疆":"Reset"),i.push('<span lay-type="'+r+'" class="laydate-btns-'+r+'">'+o+"</span>"))}),e.push('<div class="laydate-footer-btns">'+i.join("")+"</div>"),e.join("")}()),w.each(r,function(e,t){i.appendChild(t)}),t.showBottom&&i.appendChild(d),/^#/.test(t.theme)){var m=w.elem("style"),u=["#{{id}} .layui-laydate-header{background-color:{{theme}};}","#{{id}} .layui-this{background-color:{{theme}} !important;}"].join("").replace(/{{id}}/g,e.elemID).replace(/{{theme}}/g,t.theme);"styleSheet"in m?(m.setAttribute("type","text/css"),m.styleSheet.cssText=u):m.innerHTML=u,w(i).addClass("laydate-theme-molv"),i.appendChild(m)}e.remove(T.thisElemDate),a?t.elem.append(i):(document.body.appendChild(i),e.position()),e.checkDate().calendar(),e.changeEvent(),T.thisElemDate=e.elemID,"function"==typeof t.ready&&t.ready(w.extend({},t.dateTime,{month:t.dateTime.month+1}))},T.prototype.remove=function(e){var t=this,n=(t.config,w("#"+(e||t.elemID)));return n.hasClass(c)||t.checkDate(function(){n.remove()}),t},T.prototype.position=function(){var e=this,t=e.config,n=e.bindElem||t.elem[0],a=n.getBoundingClientRect(),i=e.elem.offsetWidth,r=e.elem.offsetHeight,o=function(e){return e=e?"scrollLeft":"scrollTop",document.body[e]|document.documentElement[e]},s=function(e){return document.documentElement[e?"clientWidth":"clientHeight"]},l=5,d=a.left,c=a.bottom;d+i+l>s("width")&&(d=s("width")-i-l),c+r+l>s()&&(c=a.top>r?a.top-r:s()-r,c-=2*l),t.position&&(e.elem.style.position=t.position),e.elem.style.left=d+("fixed"===t.position?0:o(1))+"px",e.elem.style.top=c+("fixed"===t.position?0:o())+"px"},T.prototype.hint=function(e){var t=this,n=(t.config,w.elem("div",{"class":h}));n.innerHTML=e||"",w(t.elem).find("."+h).remove(),t.elem.appendChild(n),clearTimeout(t.hinTimer),t.hinTimer=setTimeout(function(){w(t.elem).find("."+h).remove()},3e3)},T.prototype.getAsYM=function(e,t,n){return n?t--:t++,t<0&&(t=11,e--),t>11&&(t=0,e++),[e,t]},T.prototype.systemDate=function(e){var t=e||new Date;return{year:t.getFullYear(),month:t.getMonth(),date:t.getDate(),hours:e?e.getHours():0,minutes:e?e.getMinutes():0,seconds:e?e.getSeconds():0}},T.prototype.checkDate=function(e){var t,a,i=this,r=(new Date,i.config),o=r.dateTime=r.dateTime||i.systemDate(),s=i.bindElem||r.elem[0],l=(i.isInput(s)?"val":"html",i.isInput(s)?s.value:"static"===r.position?"":s.innerHTML),c=function(e){e.year>d[1]&&(e.year=d[1],a=!0),e.month>11&&(e.month=11,a=!0),e.hours>23&&(e.hours=0,a=!0),e.minutes>59&&(e.minutes=0,e.hours++,a=!0),e.seconds>59&&(e.seconds=0,e.minutes++,a=!0),t=n.getEndDate(e.month+1,e.year),e.date>t&&(e.date=t,a=!0)},m=function(e,t,n){var o=["startTime","endTime"];t=(t.match(i.EXP_SPLIT)||[]).slice(1),n=n||0,r.range&&(i[o[n]]=i[o[n]]||{}),w.each(i.format,function(s,l){var c=parseFloat(t[s]);t[s].length<l.length&&(a=!0),/yyyy|y/.test(l)?(c<d[0]&&(c=d[0],a=!0),e.year=c):/MM|M/.test(l)?(c<1&&(c=1,a=!0),e.month=c-1):/dd|d/.test(l)?(c<1&&(c=1,a=!0),e.date=c):/HH|H/.test(l)?(c<1&&(c=0,a=!0),e.hours=c,r.range&&(i[o[n]].hours=c)):/mm|m/.test(l)?(c<1&&(c=0,a=!0),e.minutes=c,r.range&&(i[o[n]].minutes=c)):/ss|s/.test(l)&&(c<1&&(c=0,a=!0),e.seconds=c,r.range&&(i[o[n]].seconds=c))}),c(e)};return"limit"===e?(c(o),i):(l=l||r.value,"string"==typeof l&&(l=l.replace(/\s+/g," ").replace(/^\s|\s$/g,"")),i.startState&&!i.endState&&(delete i.startState,i.endState=!0),"string"==typeof l&&l?i.EXP_IF.test(l)?r.range?(l=l.split(" "+r.range+" "),i.startDate=i.startDate||i.systemDate(),i.endDate=i.endDate||i.systemDate(),r.dateTime=w.extend({},i.startDate),w.each([i.startDate,i.endDate],function(e,t){m(t,l[e],e)})):m(o,l):(i.hint("鏃ユ湡鏍煎紡涓嶅悎娉�<br>蹇呴』閬靛惊涓嬭堪鏍煎紡锛�<br>"+(r.range?r.format+" "+r.range+" "+r.format:r.format)+"<br>宸蹭负浣犻噸缃�"),a=!0):l&&l.constructor===Date?r.dateTime=i.systemDate(l):(r.dateTime=i.systemDate(),delete i.startState,delete i.endState,delete i.startDate,delete i.endDate,delete i.startTime,delete i.endTime),c(o),a&&l&&i.setValue(r.range?i.endDate?i.parse():"":i.parse()),e&&e(),i)},T.prototype.mark=function(e,t){var n,a=this,i=a.config;return w.each(i.mark,function(e,a){var i=e.split("-");i[0]!=t[0]&&0!=i[0]||i[1]!=t[1]&&0!=i[1]||i[2]!=t[2]||(n=a||t[2])}),n&&e.html('<span class="laydate-day-mark">'+n+"</span>"),a},T.prototype.limit=function(e,t,n,a){var i,r=this,o=r.config,l={},d=o[n>41?"endDate":"dateTime"],c=w.extend({},d,t||{});return w.each({now:c,min:o.min,max:o.max},function(e,t){l[e]=r.newDate(w.extend({year:t.year,month:t.month,date:t.date},function(){var e={};return w.each(a,function(n,a){e[a]=t[a]}),e}())).getTime()}),i=l.now<l.min||l.now>l.max,e&&e[i?"addClass":"removeClass"](s),i},T.prototype.calendar=function(e){var t,a,i,r=this,s=r.config,l=e||s.dateTime,c=new Date,m=r.lang(),u="date"!==s.type&&"datetime"!==s.type,h=e?1:0,y=w(r.table[h]).find("td"),f=w(r.elemHeader[h][2]).find("span");if(l.year<d[0]&&(l.year=d[0],r.hint("鏈�浣庡彧鑳芥敮鎸佸埌鍏厓"+d[0]+"骞�")),l.year>d[1]&&(l.year=d[1],r.hint("鏈�楂樺彧鑳芥敮鎸佸埌鍏厓"+d[1]+"骞�")),r.firstDate||(r.firstDate=w.extend({},l)),c.setFullYear(l.year,l.month,1),t=c.getDay(),a=n.getEndDate(l.month||12,l.year),i=n.getEndDate(l.month+1,l.year),w.each(y,function(e,n){var d=[l.year,l.month],c=0;n=w(n),n.removeAttr("class"),e<t?(c=a-t+e,n.addClass("laydate-day-prev"),d=r.getAsYM(l.year,l.month,"sub")):e>=t&&e<i+t?(c=e-t,s.range||c+1===l.date&&n.addClass(o)):(c=e-i-t,n.addClass("laydate-day-next"),d=r.getAsYM(l.year,l.month)),d[1]++,d[2]=c+1,n.attr("lay-ymd",d.join("-")).html(d[2]),r.mark(n,d).limit(n,{year:d[0],month:d[1]-1,date:d[2]},e)}),w(f[0]).attr("lay-ym",l.year+"-"+(l.month+1)),w(f[1]).attr("lay-ym",l.year+"-"+(l.month+1)),"cn"===s.lang?(w(f[0]).attr("lay-type","year").html(l.year+"骞�"),w(f[1]).attr("lay-type","month").html(l.month+1+"鏈�")):(w(f[0]).attr("lay-type","month").html(m.month[l.month]),w(f[1]).attr("lay-type","year").html(l.year)),u&&(s.range&&(e?r.endDate=r.endDate||{year:l.year+("year"===s.type?1:0),month:l.month+("month"===s.type?0:-1)}:r.startDate=r.startDate||{year:l.year,month:l.month},e&&(r.listYM=[[r.startDate.year,r.startDate.month+1],[r.endDate.year,r.endDate.month+1]],r.list(s.type,0).list(s.type,1),"time"===s.type?r.setBtnStatus("鏃堕棿",w.extend({},r.systemDate(),r.startTime),w.extend({},r.systemDate(),r.endTime)):r.setBtnStatus(!0))),s.range||(r.listYM=[[l.year,l.month+1]],r.list(s.type,0))),s.range&&!e){var p=r.getAsYM(l.year,l.month);r.calendar(w.extend({},l,{year:p[0],month:p[1]}))}return s.range||r.limit(w(r.footer).find(g),null,0,["hours","minutes","seconds"]),s.range&&e&&!u&&r.stampRange(),r},T.prototype.list=function(e,t){var n=this,a=n.config,i=a.dateTime,r=n.lang(),l=a.range&&"date"!==a.type&&"datetime"!==a.type,d=w.elem("ul",{"class":m+" "+{year:"laydate-year-list",month:"laydate-month-list",time:"laydate-time-list"}[e]}),c=n.elemHeader[t],u=w(c[2]).find("span"),h=n.elemCont[t||0],y=w(h).find("."+m)[0],f="cn"===a.lang,p=f?"骞�":"",T=n.listYM[t]||{},C=["hours","minutes","seconds"],x=["startTime","endTime"][t];if(T[0]<1&&(T[0]=1),"year"===e){var M,b=M=T[0]-7;b<1&&(b=M=1),w.each(new Array(15),function(e){var i=w.elem("li",{"lay-ym":M}),r={year:M};M==T[0]&&w(i).addClass(o),i.innerHTML=M+p,d.appendChild(i),M<n.firstDate.year?(r.month=a.min.month,r.date=a.min.date):M>=n.firstDate.year&&(r.month=a.max.month,r.date=a.max.date),n.limit(w(i),r,t),M++}),w(u[f?0:1]).attr("lay-ym",M-8+"-"+T[1]).html(b+p+" - "+(M-1+p))}else if("month"===e)w.each(new Array(12),function(e){var i=w.elem("li",{"lay-ym":e}),s={year:T[0],month:e};e+1==T[1]&&w(i).addClass(o),i.innerHTML=r.month[e]+(f?"鏈�":""),d.appendChild(i),T[0]<n.firstDate.year?s.date=a.min.date:T[0]>=n.firstDate.year&&(s.date=a.max.date),n.limit(w(i),s,t)}),w(u[f?0:1]).attr("lay-ym",T[0]+"-"+T[1]).html(T[0]+p);else if("time"===e){var E=function(){w(d).find("ol").each(function(e,a){w(a).find("li").each(function(a,i){n.limit(w(i),[{hours:a},{hours:n[x].hours,minutes:a},{hours:n[x].hours,minutes:n[x].minutes,seconds:a}][e],t,[["hours"],["hours","minutes"],["hours","minutes","seconds"]][e])})}),a.range||n.limit(w(n.footer).find(g),n[x],0,["hours","minutes","seconds"])};a.range?n[x]||(n[x]={hours:0,minutes:0,seconds:0}):n[x]=i,w.each([24,60,60],function(e,t){var a=w.elem("li"),i=["<p>"+r.time[e]+"</p><ol>"];w.each(new Array(t),function(t){i.push("<li"+(n[x][C[e]]===t?' class="'+o+'"':"")+">"+w.digit(t,2)+"</li>")}),a.innerHTML=i.join("")+"</ol>",d.appendChild(a)}),E()}if(y&&h.removeChild(y),h.appendChild(d),"year"===e||"month"===e)w(n.elemMain[t]).addClass("laydate-ym-show"),w(d).find("li").on("click",function(){var r=0|w(this).attr("lay-ym");if(!w(this).hasClass(s)){if(0===t)i[e]=r,l&&(n.startDate[e]=r),n.limit(w(n.footer).find(g),null,0);else if(l)n.endDate[e]=r;else{var c="year"===e?n.getAsYM(r,T[1]-1,"sub"):n.getAsYM(T[0],r,"sub");w.extend(i,{year:c[0],month:c[1]})}"year"===a.type||"month"===a.type?(w(d).find("."+o).removeClass(o),w(this).addClass(o),"month"===a.type&&"year"===e&&(n.listYM[t][0]=r,l&&(n[["startDate","endDate"][t]].year=r),n.list("month",t))):(n.checkDate("limit").calendar(),n.closeList()),n.setBtnStatus(),a.range||n.done(null,"change"),w(n.footer).find(D).removeClass(s)}});else{var S=w.elem("span",{"class":v}),k=function(){w(d).find("ol").each(function(e){var t=this,a=w(t).find("li");t.scrollTop=30*(n[x][C[e]]-2),t.scrollTop<=0&&a.each(function(e,n){if(!w(this).hasClass(s))return t.scrollTop=30*(e-2),!0})})},H=w(c[2]).find("."+v);k(),S.innerHTML=a.range?[r.startTime,r.endTime][t]:r.timeTips,w(n.elemMain[t]).addClass("laydate-time-show"),H[0]&&H.remove(),c[2].appendChild(S),w(d).find("ol").each(function(e){var t=this;w(t).find("li").on("click",function(){var r=0|this.innerHTML;w(this).hasClass(s)||(a.range?n[x][C[e]]=r:i[C[e]]=r,w(t).find("."+o).removeClass(o),w(this).addClass(o),E(),k(),(n.endDate||"time"===a.type)&&n.done(null,"change"),n.setBtnStatus())})})}return n},T.prototype.listYM=[],T.prototype.closeList=function(){var e=this;e.config;w.each(e.elemCont,function(t,n){w(this).find("."+m).remove(),w(e.elemMain[t]).removeClass("laydate-ym-show laydate-time-show")}),w(e.elem).find("."+v).remove()},T.prototype.setBtnStatus=function(e,t,n){var a,i=this,r=i.config,o=w(i.footer).find(g),d=r.range&&"date"!==r.type&&"time"!==r.type;d&&(t=t||i.startDate,n=n||i.endDate,a=i.newDate(t).getTime()>i.newDate(n).getTime(),i.limit(null,t)||i.limit(null,n)?o.addClass(s):o[a?"addClass":"removeClass"](s),e&&a&&i.hint("string"==typeof e?l.replace(/鏃ユ湡/g,e):l))},T.prototype.parse=function(e,t){var n=this,a=n.config,i=t||(e?w.extend({},n.endDate,n.endTime):a.range?w.extend({},n.startDate,n.startTime):a.dateTime),r=n.format.concat();return w.each(r,function(e,t){/yyyy|y/.test(t)?r[e]=w.digit(i.year,t.length):/MM|M/.test(t)?r[e]=w.digit(i.month+1,t.length):/dd|d/.test(t)?r[e]=w.digit(i.date,t.length):/HH|H/.test(t)?r[e]=w.digit(i.hours,t.length):/mm|m/.test(t)?r[e]=w.digit(i.minutes,t.length):/ss|s/.test(t)&&(r[e]=w.digit(i.seconds,t.length))}),a.range&&!e?r.join("")+" "+a.range+" "+n.parse(1):r.join("")},T.prototype.newDate=function(e){return e=e||{},new Date(e.year||1,e.month||0,e.date||1,e.hours||0,e.minutes||0,e.seconds||0)},T.prototype.setValue=function(e){var t=this,n=t.config,a=t.bindElem||n.elem[0],i=t.isInput(a)?"val":"html";return"static"===n.position||w(a)[i](e||""),this},T.prototype.stampRange=function(){var e,t,n=this,a=n.config,i=w(n.elem).find("td");if(a.range&&!n.endDate&&w(n.footer).find(g).addClass(s),n.endDate)return e=n.newDate({year:n.startDate.year,month:n.startDate.month,date:n.startDate.date}).getTime(),t=n.newDate({year:n.endDate.year,month:n.endDate.month,date:n.endDate.date}).getTime(),e>t?n.hint(l):void w.each(i,function(a,i){var r=w(i).attr("lay-ymd").split("-"),s=n.newDate({year:r[0],month:r[1]-1,date:r[2]}).getTime();w(i).removeClass(u+" "+o),s!==e&&s!==t||w(i).addClass(w(i).hasClass(y)||w(i).hasClass(f)?u:o),s>e&&s<t&&w(i).addClass(u)})},T.prototype.done=function(e,t){var n=this,a=n.config,i=w.extend({},n.startDate?w.extend(n.startDate,n.startTime):a.dateTime),r=w.extend({},w.extend(n.endDate,n.endTime));return w.each([i,r],function(e,t){"month"in t&&w.extend(t,{month:t.month+1})}),e=e||[n.parse(),i,r],"function"==typeof a[t||"done"]&&a[t||"done"].apply(a,e),n},T.prototype.choose=function(e){var t=this,n=t.config,a=n.dateTime,i=w(t.elem).find("td"),r=e.attr("lay-ymd").split("-"),l=function(e){new Date;e&&w.extend(a,r),n.range&&(t.startDate?w.extend(t.startDate,r):t.startDate=w.extend({},r,t.startTime),t.startYMD=r)};if(r={year:0|r[0],month:(0|r[1])-1,date:0|r[2]},!e.hasClass(s))if(n.range){if(w.each(["startTime","endTime"],function(e,n){t[n]=t[n]||{hours:0,minutes:0,seconds:0}}),t.endState)l(),delete t.endState,delete t.endDate,t.startState=!0,i.removeClass(o+" "+u),e.addClass(o);else if(t.startState){if(e.addClass(o),t.endDate?w.extend(t.endDate,r):t.endDate=w.extend({},r,t.endTime),t.newDate(r).getTime()<t.newDate(t.startYMD).getTime()){var d=w.extend({},t.endDate,{hours:t.startDate.hours,minutes:t.startDate.minutes,seconds:t.startDate.seconds});w.extend(t.endDate,t.startDate,{hours:t.endDate.hours,minutes:t.endDate.minutes,seconds:t.endDate.seconds}),t.startDate=d}n.showBottom||t.done(),t.stampRange(),t.endState=!0,t.done(null,"change")}else e.addClass(o),l(),t.startState=!0;w(t.footer).find(g)[t.endDate?"removeClass":"addClass"](s)}else"static"===n.position?(l(!0),t.calendar().done().done(null,"change")):"date"===n.type?(l(!0),t.setValue(t.parse()).remove().done()):"datetime"===n.type&&(l(!0),t.calendar().done(null,"change"))},T.prototype.tool=function(e,t){var n=this,a=n.config,i=a.dateTime,r="static"===a.position,o={datetime:function(){w(e).hasClass(s)||(n.list("time",0),a.range&&n.list("time",1),w(e).attr("lay-type","date").html(n.lang().dateTips))},date:function(){n.closeList(),w(e).attr("lay-type","datetime").html(n.lang().timeTips)},clear:function(){n.setValue("").remove(),r&&(w.extend(i,n.firstDate),n.calendar()),a.range&&(delete n.startState,delete n.endState,delete n.endDate,delete n.startTime,delete n.endTime),n.done(["",{},{}])},now:function(){var e=new Date;w.extend(i,n.systemDate(),{hours:e.getHours(),minutes:e.getMinutes(),seconds:e.getSeconds()}),n.setValue(n.parse()).remove(),r&&n.calendar(),n.done()},confirm:function(){if(a.range){if(!n.endDate)return n.hint("璇峰厛閫夋嫨鏃ユ湡鑼冨洿");if(w(e).hasClass(s))return n.hint("time"===a.type?l.replace(/鏃ユ湡/g,"鏃堕棿"):l)}else if(w(e).hasClass(s))return n.hint("涓嶅湪鏈夋晥鏃ユ湡鎴栨椂闂磋寖鍥村唴");n.done(),n.setValue(n.parse()).remove()}};o[t]&&o[t]()},T.prototype.change=function(e){var t=this,n=t.config,a=n.dateTime,i=n.range&&("year"===n.type||"month"===n.type),r=t.elemCont[e||0],o=t.listYM[e],s=function(s){var l=["startDate","endDate"][e],d=w(r).find(".laydate-year-list")[0],c=w(r).find(".laydate-month-list")[0];return d&&(o[0]=s?o[0]-15:o[0]+15,t.list("year",e)),c&&(s?o[0]--:o[0]++,t.list("month",e)),(d||c)&&(w.extend(a,{year:o[0]}),i&&(t[l].year=o[0]),n.range||t.done(null,"change"),t.setBtnStatus(),n.range||t.limit(w(t.footer).find(g),{year:o[0]})),d||c};return{prevYear:function(){s("sub")||(a.year--,t.checkDate("limit").calendar(),n.range||t.done(null,"change"))},prevMonth:function(){var e=t.getAsYM(a.year,a.month,"sub");w.extend(a,{year:e[0],month:e[1]}),t.checkDate("limit").calendar(),n.range||t.done(null,"change")},nextMonth:function(){var e=t.getAsYM(a.year,a.month);w.extend(a,{year:e[0],month:e[1]}),t.checkDate("limit").calendar(),n.range||t.done(null,"change")},nextYear:function(){s()||(a.year++,t.checkDate("limit").calendar(),n.range||t.done(null,"change"))}}},T.prototype.changeEvent=function(){var e=this;e.config;w(e.elem).on("click",function(e){w.stope(e)}),w.each(e.elemHeader,function(t,n){w(n[0]).on("click",function(n){e.change(t).prevYear()}),w(n[1]).on("click",function(n){e.change(t).prevMonth()}),w(n[2]).find("span").on("click",function(n){var a=w(this),i=a.attr("lay-ym"),r=a.attr("lay-type");i&&(i=i.split("-"),e.listYM[t]=[0|i[0],0|i[1]],e.list(r,t),w(e.footer).find(D).addClass(s))}),w(n[3]).on("click",function(n){e.change(t).nextMonth()}),w(n[4]).on("click",function(n){e.change(t).nextYear()})}),w.each(e.table,function(t,n){var a=w(n).find("td");a.on("click",function(){e.choose(w(this))})}),w(e.footer).find("span").on("click",function(){var t=w(this).attr("lay-type");e.tool(this,t)})},T.prototype.isInput=function(e){return/input|textarea/.test(e.tagName.toLocaleLowerCase())},T.prototype.events=function(){var e=this,t=e.config,n=function(n,a){n.on(t.trigger,function(){a&&(e.bindElem=this),e.render()})};t.elem[0]&&!t.elem[0].eventHandler&&(n(t.elem,"bind"),n(t.eventElem),w(document).on("click",function(n){n.target!==t.elem[0]&&n.target!==t.eventElem[0]&&n.target!==w(t.closeStop)[0]&&e.remove()}).on("keydown",function(t){13===t.keyCode&&w("#"+e.elemID)[0]&&e.elemID===T.thisElem&&(t.preventDefault(),w(e.footer).find(g)[0].click())}),w(window).on("resize",function(){return!(!e.elem||!w(r)[0])&&void e.position()}),t.elem[0].eventHandler=!0)},n.render=function(e){var t=new T(e);return a.call(t)},n.getEndDate=function(e,t){var n=new Date;return n.setFullYear(t||n.getFullYear(),e||n.getMonth()+1,1),new Date(n.getTime()-864e5).getDate()},window.lay=window.lay||w,e?(n.ready(),layui.define(function(e){n.path=layui.cache.dir,e(i,n)})):"function"==typeof define&&define.amd?define(function(){return n}):function(){n.ready(),window.laydate=n}()}();!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){function n(e){var t=!!e&&"length"in e&&e.length,n=pe.type(e);return"function"!==n&&!pe.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function r(e,t,n){if(pe.isFunction(t))return pe.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return pe.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(Ce.test(t))return pe.filter(t,e,n);t=pe.filter(t,e)}return pe.grep(e,function(e){return pe.inArray(e,t)>-1!==n})}function i(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function o(e){var t={};return pe.each(e.match(De)||[],function(e,n){t[n]=!0}),t}function a(){re.addEventListener?(re.removeEventListener("DOMContentLoaded",s),e.removeEventListener("load",s)):(re.detachEvent("onreadystatechange",s),e.detachEvent("onload",s))}function s(){(re.addEventListener||"load"===e.event.type||"complete"===re.readyState)&&(a(),pe.ready())}function u(e,t,n){if(void 0===n&&1===e.nodeType){var r="data-"+t.replace(_e,"-$1").toLowerCase();if(n=e.getAttribute(r),"string"==typeof n){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:qe.test(n)?pe.parseJSON(n):n)}catch(i){}pe.data(e,t,n)}else n=void 0}return n}function l(e){var t;for(t in e)if(("data"!==t||!pe.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function c(e,t,n,r){if(He(e)){var i,o,a=pe.expando,s=e.nodeType,u=s?pe.cache:e,l=s?e[a]:e[a]&&a;if(l&&u[l]&&(r||u[l].data)||void 0!==n||"string"!=typeof t)return l||(l=s?e[a]=ne.pop()||pe.guid++:a),u[l]||(u[l]=s?{}:{toJSON:pe.noop}),"object"!=typeof t&&"function"!=typeof t||(r?u[l]=pe.extend(u[l],t):u[l].data=pe.extend(u[l].data,t)),o=u[l],r||(o.data||(o.data={}),o=o.data),void 0!==n&&(o[pe.camelCase(t)]=n),"string"==typeof t?(i=o[t],null==i&&(i=o[pe.camelCase(t)])):i=o,i}}function f(e,t,n){if(He(e)){var r,i,o=e.nodeType,a=o?pe.cache:e,s=o?e[pe.expando]:pe.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){pe.isArray(t)?t=t.concat(pe.map(t,pe.camelCase)):t in r?t=[t]:(t=pe.camelCase(t),t=t in r?[t]:t.split(" ")),i=t.length;for(;i--;)delete r[t[i]];if(n?!l(r):!pe.isEmptyObject(r))return}(n||(delete a[s].data,l(a[s])))&&(o?pe.cleanData([e],!0):fe.deleteExpando||a!=a.window?delete a[s]:a[s]=void 0)}}}function d(e,t,n,r){var i,o=1,a=20,s=r?function(){return r.cur()}:function(){return pe.css(e,t,"")},u=s(),l=n&&n[3]||(pe.cssNumber[t]?"":"px"),c=(pe.cssNumber[t]||"px"!==l&&+u)&&Me.exec(pe.css(e,t));if(c&&c[3]!==l){l=l||c[3],n=n||[],c=+u||1;do o=o||".5",c/=o,pe.style(e,t,c+l);while(o!==(o=s()/u)&&1!==o&&--a)}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}function p(e){var t=ze.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function h(e,t){var n,r,i=0,o="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],n=e.childNodes||e;null!=(r=n[i]);i++)!t||pe.nodeName(r,t)?o.push(r):pe.merge(o,h(r,t));return void 0===t||t&&pe.nodeName(e,t)?pe.merge([e],o):o}function g(e,t){for(var n,r=0;null!=(n=e[r]);r++)pe._data(n,"globalEval",!t||pe._data(t[r],"globalEval"))}function m(e){Be.test(e.type)&&(e.defaultChecked=e.checked)}function y(e,t,n,r,i){for(var o,a,s,u,l,c,f,d=e.length,y=p(t),v=[],x=0;x<d;x++)if(a=e[x],a||0===a)if("object"===pe.type(a))pe.merge(v,a.nodeType?[a]:a);else if(Ue.test(a)){for(u=u||y.appendChild(t.createElement("div")),l=(We.exec(a)||["",""])[1].toLowerCase(),f=Xe[l]||Xe._default,u.innerHTML=f[1]+pe.htmlPrefilter(a)+f[2],o=f[0];o--;)u=u.lastChild;if(!fe.leadingWhitespace&&$e.test(a)&&v.push(t.createTextNode($e.exec(a)[0])),!fe.tbody)for(a="table"!==l||Ve.test(a)?"<table>"!==f[1]||Ve.test(a)?0:u:u.firstChild,o=a&&a.childNodes.length;o--;)pe.nodeName(c=a.childNodes[o],"tbody")&&!c.childNodes.length&&a.removeChild(c);for(pe.merge(v,u.childNodes),u.textContent="";u.firstChild;)u.removeChild(u.firstChild);u=y.lastChild}else v.push(t.createTextNode(a));for(u&&y.removeChild(u),fe.appendChecked||pe.grep(h(v,"input"),m),x=0;a=v[x++];)if(r&&pe.inArray(a,r)>-1)i&&i.push(a);else if(s=pe.contains(a.ownerDocument,a),u=h(y.appendChild(a),"script"),s&&g(u),n)for(o=0;a=u[o++];)Ie.test(a.type||"")&&n.push(a);return u=null,y}function v(){return!0}function x(){return!1}function b(){try{return re.activeElement}catch(e){}}function w(e,t,n,r,i,o){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)w(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),i===!1)i=x;else if(!i)return e;return 1===o&&(a=i,i=function(e){return pe().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=pe.guid++)),e.each(function(){pe.event.add(this,t,i,r,n)})}function T(e,t){return pe.nodeName(e,"table")&&pe.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function C(e){return e.type=(null!==pe.find.attr(e,"type"))+"/"+e.type,e}function E(e){var t=it.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function N(e,t){if(1===t.nodeType&&pe.hasData(e)){var n,r,i,o=pe._data(e),a=pe._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;r<i;r++)pe.event.add(t,n,s[n][r])}a.data&&(a.data=pe.extend({},a.data))}}function k(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!fe.noCloneEvent&&t[pe.expando]){i=pe._data(t);for(r in i.events)pe.removeEvent(t,r,i.handle);t.removeAttribute(pe.expando)}"script"===n&&t.text!==e.text?(C(t).text=e.text,E(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),fe.html5Clone&&e.innerHTML&&!pe.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Be.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}}function S(e,t,n,r){t=oe.apply([],t);var i,o,a,s,u,l,c=0,f=e.length,d=f-1,p=t[0],g=pe.isFunction(p);if(g||f>1&&"string"==typeof p&&!fe.checkClone&&rt.test(p))return e.each(function(i){var o=e.eq(i);g&&(t[0]=p.call(this,i,o.html())),S(o,t,n,r)});if(f&&(l=y(t,e[0].ownerDocument,!1,e,r),i=l.firstChild,1===l.childNodes.length&&(l=i),i||r)){for(s=pe.map(h(l,"script"),C),a=s.length;c<f;c++)o=l,c!==d&&(o=pe.clone(o,!0,!0),a&&pe.merge(s,h(o,"script"))),n.call(e[c],o,c);if(a)for(u=s[s.length-1].ownerDocument,pe.map(s,E),c=0;c<a;c++)o=s[c],Ie.test(o.type||"")&&!pe._data(o,"globalEval")&&pe.contains(u,o)&&(o.src?pe._evalUrl&&pe._evalUrl(o.src):pe.globalEval((o.text||o.textContent||o.innerHTML||"").replace(ot,"")));l=i=null}return e}function A(e,t,n){for(var r,i=t?pe.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||pe.cleanData(h(r)),r.parentNode&&(n&&pe.contains(r.ownerDocument,r)&&g(h(r,"script")),r.parentNode.removeChild(r));return e}function D(e,t){var n=pe(t.createElement(e)).appendTo(t.body),r=pe.css(n[0],"display");return n.detach(),r}function j(e){var t=re,n=lt[e];return n||(n=D(e,t),"none"!==n&&n||(ut=(ut||pe("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement),t=(ut[0].contentWindow||ut[0].contentDocument).document,t.write(),t.close(),n=D(e,t),ut.detach()),lt[e]=n),n}function L(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function H(e){if(e in Et)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=Ct.length;n--;)if(e=Ct[n]+t,e in Et)return e}function q(e,t){for(var n,r,i,o=[],a=0,s=e.length;a<s;a++)r=e[a],r.style&&(o[a]=pe._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&Re(r)&&(o[a]=pe._data(r,"olddisplay",j(r.nodeName)))):(i=Re(r),(n&&"none"!==n||!i)&&pe._data(r,"olddisplay",i?n:pe.css(r,"display"))));for(a=0;a<s;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}function _(e,t,n){var r=bt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function F(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;o<4;o+=2)"margin"===n&&(a+=pe.css(e,n+Oe[o],!0,i)),r?("content"===n&&(a-=pe.css(e,"padding"+Oe[o],!0,i)),"margin"!==n&&(a-=pe.css(e,"border"+Oe[o]+"Width",!0,i))):(a+=pe.css(e,"padding"+Oe[o],!0,i),"padding"!==n&&(a+=pe.css(e,"border"+Oe[o]+"Width",!0,i)));return a}function M(t,n,r){var i=!0,o="width"===n?t.offsetWidth:t.offsetHeight,a=ht(t),s=fe.boxSizing&&"border-box"===pe.css(t,"boxSizing",!1,a);if(re.msFullscreenElement&&e.top!==e&&t.getClientRects().length&&(o=Math.round(100*t.getBoundingClientRect()[n])),o<=0||null==o){if(o=gt(t,n,a),(o<0||null==o)&&(o=t.style[n]),ft.test(o))return o;i=s&&(fe.boxSizingReliable()||o===t.style[n]),o=parseFloat(o)||0}return o+F(t,n,r||(s?"border":"content"),i,a)+"px"}function O(e,t,n,r,i){return new O.prototype.init(e,t,n,r,i)}function R(){return e.setTimeout(function(){Nt=void 0}),Nt=pe.now()}function P(e,t){var n,r={height:e},i=0;for(t=t?1:0;i<4;i+=2-t)n=Oe[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function B(e,t,n){for(var r,i=($.tweeners[t]||[]).concat($.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function W(e,t,n){var r,i,o,a,s,u,l,c,f=this,d={},p=e.style,h=e.nodeType&&Re(e),g=pe._data(e,"fxshow");n.queue||(s=pe._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,u=s.empty.fire,s.empty.fire=function(){s.unqueued||u()}),s.unqueued++,f.always(function(){f.always(function(){s.unqueued--,pe.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],l=pe.css(e,"display"),c="none"===l?pe._data(e,"olddisplay")||j(e.nodeName):l,"inline"===c&&"none"===pe.css(e,"float")&&(fe.inlineBlockNeedsLayout&&"inline"!==j(e.nodeName)?p.zoom=1:p.display="inline-block")),n.overflow&&(p.overflow="hidden",fe.shrinkWrapBlocks()||f.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t)if(i=t[r],St.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(h?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;h=!0}d[r]=g&&g[r]||pe.style(e,r)}else l=void 0;if(pe.isEmptyObject(d))"inline"===("none"===l?j(e.nodeName):l)&&(p.display=l);else{g?"hidden"in g&&(h=g.hidden):g=pe._data(e,"fxshow",{}),o&&(g.hidden=!h),h?pe(e).show():f.done(function(){pe(e).hide()}),f.done(function(){var t;pe._removeData(e,"fxshow");for(t in d)pe.style(e,t,d[t])});for(r in d)a=B(h?g[r]:0,r,f),r in g||(g[r]=a.start,h&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}}function I(e,t){var n,r,i,o,a;for(n in e)if(r=pe.camelCase(n),i=t[r],o=e[n],pe.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),a=pe.cssHooks[r],a&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}function $(e,t,n){var r,i,o=0,a=$.prefilters.length,s=pe.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=Nt||R(),n=Math.max(0,l.startTime+l.duration-t),r=n/l.duration||0,o=1-r,a=0,u=l.tweens.length;a<u;a++)l.tweens[a].run(o);return s.notifyWith(e,[l,o,n]),o<1&&u?n:(s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:pe.extend({},t),opts:pe.extend(!0,{specialEasing:{},easing:pe.easing._default},n),originalProperties:t,originalOptions:n,startTime:Nt||R(),duration:n.duration,tweens:[],createTween:function(t,n){var r=pe.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(I(c,l.opts.specialEasing);o<a;o++)if(r=$.prefilters[o].call(l,e,c,l.opts))return pe.isFunction(r.stop)&&(pe._queueHooks(l.elem,l.opts.queue).stop=pe.proxy(r.stop,r)),r;return pe.map(c,B,l),pe.isFunction(l.opts.start)&&l.opts.start.call(e,l),pe.fx.timer(pe.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function z(e){return pe.attr(e,"class")||""}function X(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(De)||[];if(pe.isFunction(n))for(;r=o[i++];)"+"===r.charAt(0)?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function U(e,t,n,r){function i(s){var u;return o[s]=!0,pe.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||a||o[l]?a?!(u=l):void 0:(t.dataTypes.unshift(l),i(l),!1)}),u}var o={},a=e===Qt;return i(t.dataTypes[0])||!o["*"]&&i("*")}function V(e,t){var n,r,i=pe.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((i[r]?e:n||(n={}))[r]=t[r]);return n&&pe.extend(!0,e,n),e}function Y(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(a in s)if(s[a]&&s[a].test(i)){u.unshift(a);break}if(u[0]in n)o=u[0];else{for(a in n){if(!u[0]||e.converters[a+" "+u[0]]){o=a;break}r||(r=a)}o=o||r}if(o)return o!==u[0]&&u.unshift(o),n[o]}function J(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(a=l[u+" "+o]||l["* "+o],!a)for(i in l)if(s=i.split(" "),s[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){a===!0?a=l[i]:l[i]!==!0&&(o=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(f){return{state:"parsererror",error:a?f:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}function G(e){return e.style&&e.style.display||pe.css(e,"display")}function K(e){for(;e&&1===e.nodeType;){if("none"===G(e)||"hidden"===e.type)return!0;e=e.parentNode}return!1}function Q(e,t,n,r){var i;if(pe.isArray(t))pe.each(t,function(t,i){n||rn.test(e)?r(e,i):Q(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==pe.type(t))r(e,t);else for(i in t)Q(e+"["+i+"]",t[i],n,r)}function Z(){try{return new e.XMLHttpRequest}catch(t){}}function ee(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function te(e){return pe.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}var ne=[],re=e.document,ie=ne.slice,oe=ne.concat,ae=ne.push,se=ne.indexOf,ue={},le=ue.toString,ce=ue.hasOwnProperty,fe={},de="1.12.3",pe=function(e,t){return new pe.fn.init(e,t)},he=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ge=/^-ms-/,me=/-([\da-z])/gi,ye=function(e,t){return t.toUpperCase()};pe.fn=pe.prototype={jquery:de,constructor:pe,selector:"",length:0,toArray:function(){return ie.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:ie.call(this)},pushStack:function(e){var t=pe.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return pe.each(this,e)},map:function(e){return this.pushStack(pe.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(ie.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},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:ae,sort:ne.sort,splice:ne.splice},pe.extend=pe.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||pe.isFunction(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(i=arguments[s]))for(r in i)e=a[r],n=i[r],a!==n&&(l&&n&&(pe.isPlainObject(n)||(t=pe.isArray(n)))?(t?(t=!1,o=e&&pe.isArray(e)?e:[]):o=e&&pe.isPlainObject(e)?e:{},a[r]=pe.extend(l,o,n)):void 0!==n&&(a[r]=n));return a},pe.extend({expando:"jQuery"+(de+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===pe.type(e)},isArray:Array.isArray||function(e){return"array"===pe.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){var t=e&&e.toString();return!pe.isArray(e)&&t-parseFloat(t)+1>=0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||"object"!==pe.type(e)||e.nodeType||pe.isWindow(e))return!1;try{if(e.constructor&&!ce.call(e,"constructor")&&!ce.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}if(!fe.ownFirst)for(t in e)return ce.call(e,t);for(t in e);return void 0===t||ce.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?ue[le.call(e)]||"object":typeof e},globalEval:function(t){t&&pe.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(ge,"ms-").replace(me,ye)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var r,i=0;if(n(e))for(r=e.length;i<r&&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},trim:function(e){return null==e?"":(e+"").replace(he,"")},makeArray:function(e,t){var r=t||[];return null!=e&&(n(Object(e))?pe.merge(r,"string"==typeof e?[e]:e):ae.call(r,e)),r},inArray:function(e,t,n){var r;if(t){if(se)return se.call(t,e,n);for(r=t.length,n=n?n<0?Math.max(0,r+n):n:0;n<r;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;)e[i++]=t[r++];if(n!==n)for(;void 0!==t[r];)e[i++]=t[r++];return e.length=i,e},grep:function(e,t,n){for(var r,i=[],o=0,a=e.length,s=!n;o<a;o++)r=!t(e[o],o),r!==s&&i.push(e[o]);return i},map:function(e,t,r){var i,o,a=0,s=[];if(n(e))for(i=e.length;a<i;a++)o=t(e[a],a,r),null!=o&&s.push(o);else for(a in e)o=t(e[a],a,r),null!=o&&s.push(o);return oe.apply([],s)},guid:1,proxy:function(e,t){var n,r,i;if("string"==typeof t&&(i=e[t],t=e,e=i),pe.isFunction(e))return n=ie.call(arguments,2),r=function(){return e.apply(t||this,n.concat(ie.call(arguments)))},r.guid=e.guid=e.guid||pe.guid++,r},now:function(){return+new Date},support:fe}),"function"==typeof Symbol&&(pe.fn[Symbol.iterator]=ne[Symbol.iterator]),pe.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){ue["[object "+t+"]"]=t.toLowerCase()});var ve=function(e){function t(e,t,n,r){var i,o,a,s,u,l,f,p,h=t&&t.ownerDocument,g=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==g&&9!==g&&11!==g)return n;if(!r&&((t?t.ownerDocument||t:B)!==H&&L(t),t=t||H,_)){if(11!==g&&(l=ye.exec(e)))if(i=l[1]){if(9===g){if(!(a=t.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(h&&(a=h.getElementById(i))&&R(t,a)&&a.id===i)return n.push(a),n}else{if(l[2])return Q.apply(n,t.getElementsByTagName(e)),n;if((i=l[3])&&w.getElementsByClassName&&t.getElementsByClassName)return Q.apply(n,t.getElementsByClassName(i)),n}if(w.qsa&&!X[e+" "]&&(!F||!F.test(e))){if(1!==g)h=t,p=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(xe,"\\$&"):t.setAttribute("id",s=P),f=N(e),o=f.length,u=de.test(s)?"#"+s:"[id='"+s+"']";o--;)f[o]=u+" "+d(f[o]);p=f.join(","),h=ve.test(e)&&c(t.parentNode)||t}if(p)try{return Q.apply(n,h.querySelectorAll(p)),n}catch(m){}finally{s===P&&t.removeAttribute("id")}}}return S(e.replace(se,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>T.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[P]=!0,e}function i(e){var t=H.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),r=n.length;r--;)T.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||V)-(~e.sourceIndex||V);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function u(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function l(e){return r(function(t){return t=+t,r(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function c(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function f(){}function d(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function p(e,t,n){var r=t.dir,i=n&&"parentNode"===r,o=I++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||i)return e(t,n,o)}:function(t,n,a){var s,u,l,c=[W,o];if(a){for(;t=t[r];)if((1===t.nodeType||i)&&e(t,n,a))return!0}else for(;t=t[r];)if(1===t.nodeType||i){if(l=t[P]||(t[P]={}),u=l[t.uniqueID]||(l[t.uniqueID]={}),(s=u[r])&&s[0]===W&&s[1]===o)return c[2]=s[2];if(u[r]=c,c[2]=e(t,n,a))return!0}}}function h(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function g(e,n,r){for(var i=0,o=n.length;i<o;i++)t(e,n[i],r);return r}function m(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function y(e,t,n,i,o,a){return i&&!i[P]&&(i=y(i)),o&&!o[P]&&(o=y(o,a)),r(function(r,a,s,u){var l,c,f,d=[],p=[],h=a.length,y=r||g(t||"*",s.nodeType?[s]:s,[]),v=!e||!r&&t?y:m(y,d,e,s,u),x=n?o||(r?e:h||i)?[]:a:v;if(n&&n(v,x,s,u),i)for(l=m(x,p),i(l,[],s,u),c=l.length;c--;)(f=l[c])&&(x[p[c]]=!(v[p[c]]=f));if(r){if(o||e){if(o){for(l=[],c=x.length;c--;)(f=x[c])&&l.push(v[c]=f);o(null,x=[],l,u)}for(c=x.length;c--;)(f=x[c])&&(l=o?ee(r,f):d[c])>-1&&(r[l]=!(a[l]=f))}}else x=m(x===a?x.splice(h,x.length):x),o?o(null,a,x,u):Q.apply(a,x)})}function v(e){for(var t,n,r,i=e.length,o=T.relative[e[0].type],a=o||T.relative[" "],s=o?1:0,u=p(function(e){return e===t},a,!0),l=p(function(e){return ee(t,e)>-1},a,!0),c=[function(e,n,r){var i=!o&&(r||n!==A)||((t=n).nodeType?u(e,n,r):l(e,n,r));return t=null,i}];s<i;s++)if(n=T.relative[e[s].type])c=[p(h(c),n)];else{if(n=T.filter[e[s].type].apply(null,e[s].matches),n[P]){for(r=++s;r<i&&!T.relative[e[r].type];r++);return y(s>1&&h(c),s>1&&d(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(se,"$1"),n,s<r&&v(e.slice(s,r)),r<i&&v(e=e.slice(r)),r<i&&d(e))}c.push(n)}return h(c)}function x(e,n){var i=n.length>0,o=e.length>0,a=function(r,a,s,u,l){var c,f,d,p=0,h="0",g=r&&[],y=[],v=A,x=r||o&&T.find.TAG("*",l),b=W+=null==v?1:Math.random()||.1,w=x.length;for(l&&(A=a===H||a||l);h!==w&&null!=(c=x[h]);h++){if(o&&c){for(f=0,a||c.ownerDocument===H||(L(c),s=!_);d=e[f++];)if(d(c,a||H,s)){u.push(c);break}l&&(W=b)}i&&((c=!d&&c)&&p--,r&&g.push(c))}if(p+=h,i&&h!==p){for(f=0;d=n[f++];)d(g,y,a,s);if(r){if(p>0)for(;h--;)g[h]||y[h]||(y[h]=G.call(u));y=m(y)}Q.apply(u,y),l&&!r&&y.length>0&&p+n.length>1&&t.uniqueSort(u)}return l&&(W=b,A=v),g};return i?r(a):a}var b,w,T,C,E,N,k,S,A,D,j,L,H,q,_,F,M,O,R,P="sizzle"+1*new Date,B=e.document,W=0,I=0,$=n(),z=n(),X=n(),U=function(e,t){return e===t&&(j=!0),0},V=1<<31,Y={}.hasOwnProperty,J=[],G=J.pop,K=J.push,Q=J.push,Z=J.slice,ee=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",re="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ie="\\["+ne+"*("+re+")(?:"+ne+"*([*^$|!~]?=)"+ne+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+re+"))|)"+ne+"*\\]",oe=":("+re+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ie+")*)|.*)\\)|)",ae=new RegExp(ne+"+","g"),se=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),ue=new RegExp("^"+ne+"*,"+ne+"*"),le=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),ce=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),fe=new RegExp(oe),de=new RegExp("^"+re+"$"),pe={ID:new RegExp("^#("+re+")"),CLASS:new RegExp("^\\.("+re+")"),TAG:new RegExp("^("+re+"|[*])"),ATTR:new RegExp("^"+ie),PSEUDO:new RegExp("^"+oe),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},he=/^(?:input|select|textarea|button)$/i,ge=/^h\d$/i,me=/^[^{]+\{\s*\[native \w/,ye=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ve=/[+~]/,xe=/'|\\/g,be=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),we=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},Te=function(){L()};try{Q.apply(J=Z.call(B.childNodes),B.childNodes),J[B.childNodes.length].nodeType}catch(Ce){Q={apply:J.length?function(e,t){K.apply(e,Z.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}w=t.support={},E=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},L=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:B;return r!==H&&9===r.nodeType&&r.documentElement?(H=r,q=H.documentElement,_=!E(H),(n=H.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Te,!1):n.attachEvent&&n.attachEvent("onunload",Te)),w.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),w.getElementsByTagName=i(function(e){return e.appendChild(H.createComment("")),!e.getElementsByTagName("*").length}),w.getElementsByClassName=me.test(H.getElementsByClassName),w.getById=i(function(e){return q.appendChild(e).id=P,!H.getElementsByName||!H.getElementsByName(P).length}),w.getById?(T.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&_){var n=t.getElementById(e);return n?[n]:[]}},T.filter.ID=function(e){var t=e.replace(be,we);return function(e){return e.getAttribute("id")===t}}):(delete T.find.ID,T.filter.ID=function(e){var t=e.replace(be,we);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),T.find.TAG=w.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):w.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},T.find.CLASS=w.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&_)return t.getElementsByClassName(e)},M=[],F=[],(w.qsa=me.test(H.querySelectorAll))&&(i(function(e){q.appendChild(e).innerHTML="<a id='"+P+"'></a><select id='"+P+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&F.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||F.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+P+"-]").length||F.push("~="),e.querySelectorAll(":checked").length||F.push(":checked"),e.querySelectorAll("a#"+P+"+*").length||F.push(".#.+[+~]")}),i(function(e){var t=H.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&F.push("name"+ne+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||F.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),F.push(",.*:")})),(w.matchesSelector=me.test(O=q.matches||q.webkitMatchesSelector||q.mozMatchesSelector||q.oMatchesSelector||q.msMatchesSelector))&&i(function(e){w.disconnectedMatch=O.call(e,"div"),O.call(e,"[s!='']:x"),M.push("!=",oe)}),F=F.length&&new RegExp(F.join("|")),M=M.length&&new RegExp(M.join("|")),t=me.test(q.compareDocumentPosition),R=t||me.test(q.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},U=t?function(e,t){if(e===t)return j=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!w.sortDetached&&t.compareDocumentPosition(e)===n?e===H||e.ownerDocument===B&&R(B,e)?-1:t===H||t.ownerDocument===B&&R(B,t)?1:D?ee(D,e)-ee(D,t):0:4&n?-1:1)}:function(e,t){if(e===t)return j=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],u=[t];if(!i||!o)return e===H?-1:t===H?1:i?-1:o?1:D?ee(D,e)-ee(D,t):0;if(i===o)return a(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;s[r]===u[r];)r++;return r?a(s[r],u[r]):s[r]===B?-1:u[r]===B?1:0},H):H},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==H&&L(e),n=n.replace(ce,"='$1']"),w.matchesSelector&&_&&!X[n+" "]&&(!M||!M.test(n))&&(!F||!F.test(n)))try{var r=O.call(e,n);if(r||w.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(i){}return t(n,H,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==H&&L(e),R(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==H&&L(e);var n=T.attrHandle[t.toLowerCase()],r=n&&Y.call(T.attrHandle,t.toLowerCase())?n(e,t,!_):void 0;return void 0!==r?r:w.attributes||!_?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0;if(j=!w.detectDuplicates,D=!w.sortStable&&e.slice(0),e.sort(U),j){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return D=null,e},C=t.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=C(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=C(t);return n},T=t.selectors={cacheLength:50,createPseudo:r,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(be,we),e[3]=(e[3]||e[4]||e[5]||"").replace(be,we),"~="===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&&fe.test(n)&&(t=N(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(be,we).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=$[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&$(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(i){var o=t.attr(i,e);return null==o?"!="===n:!n||(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(ae," ")+" ").indexOf(r)>-1:"|="===n&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,d,p,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!u&&!s,x=!1;if(m){if(o){for(;g;){for(d=t;d=d[g];)if(s?d.nodeName.toLowerCase()===y:1===d.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&v){for(d=m,f=d[P]||(d[P]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),
+l=c[e]||[],p=l[0]===W&&l[1],x=p&&l[2],d=p&&m.childNodes[p];d=++p&&d&&d[g]||(x=p=0)||h.pop();)if(1===d.nodeType&&++x&&d===t){c[e]=[W,p,x];break}}else if(v&&(d=t,f=d[P]||(d[P]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),l=c[e]||[],p=l[0]===W&&l[1],x=p),x===!1)for(;(d=++p&&d&&d[g]||(x=p=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==y:1!==d.nodeType)||!++x||(v&&(f=d[P]||(d[P]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),c[e]=[W,x]),d!==t)););return x-=i,x===r||x%r===0&&x/r>=0}}},PSEUDO:function(e,n){var i,o=T.pseudos[e]||T.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[P]?o(n):o.length>1?(i=[e,e,"",n],T.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,i=o(e,n),a=i.length;a--;)r=ee(e,i[a]),e[r]=!(t[r]=i[a])}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t=[],n=[],i=k(e.replace(se,"$1"));return i[P]?r(function(e,t,n,r){for(var o,a=i(e,null,r,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(be,we),function(t){return(t.textContent||t.innerText||C(t)).indexOf(e)>-1}}),lang:r(function(e){return de.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(be,we).toLowerCase(),function(t){var n;do if(n=_?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===q},focus:function(e){return e===H.activeElement&&(!H.hasFocus||H.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!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!T.pseudos.empty(e)},header:function(e){return ge.test(e.nodeName)},input:function(e){return he.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:l(function(){return[0]}),last:l(function(e,t){return[t-1]}),eq:l(function(e,t,n){return[n<0?n+t:n]}),even:l(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:l(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:l(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:l(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},T.pseudos.nth=T.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})T.pseudos[b]=s(b);for(b in{submit:!0,reset:!0})T.pseudos[b]=u(b);return f.prototype=T.filters=T.pseudos,T.setFilters=new f,N=t.tokenize=function(e,n){var r,i,o,a,s,u,l,c=z[e+" "];if(c)return n?0:c.slice(0);for(s=e,u=[],l=T.preFilter;s;){r&&!(i=ue.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),r=!1,(i=le.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(se," ")}),s=s.slice(r.length));for(a in T.filter)!(i=pe[a].exec(s))||l[a]&&!(i=l[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length));if(!r)break}return n?s.length:s?t.error(e):z(e,u).slice(0)},k=t.compile=function(e,t){var n,r=[],i=[],o=X[e+" "];if(!o){for(t||(t=N(e)),n=t.length;n--;)o=v(t[n]),o[P]?r.push(o):i.push(o);o=X(e,x(i,r)),o.selector=e}return o},S=t.select=function(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,f=!r&&N(e=l.selector||e);if(n=n||[],1===f.length){if(o=f[0]=f[0].slice(0),o.length>2&&"ID"===(a=o[0]).type&&w.getById&&9===t.nodeType&&_&&T.relative[o[1].type]){if(t=(T.find.ID(a.matches[0].replace(be,we),t)||[])[0],!t)return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=pe.needsContext.test(e)?0:o.length;i--&&(a=o[i],!T.relative[s=a.type]);)if((u=T.find[s])&&(r=u(a.matches[0].replace(be,we),ve.test(o[0].type)&&c(t.parentNode)||t))){if(o.splice(i,1),e=r.length&&d(o),!e)return Q.apply(n,r),n;break}}return(l||k(e,f))(r,t,!_,n,!t||ve.test(e)&&c(t.parentNode)||t),n},w.sortStable=P.split("").sort(U).join("")===P,w.detectDuplicates=!!j,L(),w.sortDetached=i(function(e){return 1&e.compareDocumentPosition(H.createElement("div"))}),i(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)}),w.attributes&&i(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}),i(function(e){return null==e.getAttribute("disabled")})||o(te,function(e,t,n){var r;if(!n)return e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(e);pe.find=ve,pe.expr=ve.selectors,pe.expr[":"]=pe.expr.pseudos,pe.uniqueSort=pe.unique=ve.uniqueSort,pe.text=ve.getText,pe.isXMLDoc=ve.isXML,pe.contains=ve.contains;var xe=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&pe(e).is(n))break;r.push(e)}return r},be=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},we=pe.expr.match.needsContext,Te=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,Ce=/^.[^:#\[\.,]*$/;pe.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?pe.find.matchesSelector(r,e)?[r]:[]:pe.find.matches(e,pe.grep(t,function(e){return 1===e.nodeType}))},pe.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(pe(e).filter(function(){for(t=0;t<i;t++)if(pe.contains(r[t],this))return!0}));for(t=0;t<i;t++)pe.find(e,r[t],n);return n=this.pushStack(i>1?pe.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(r(this,e||[],!1))},not:function(e){return this.pushStack(r(this,e||[],!0))},is:function(e){return!!r(this,"string"==typeof e&&we.test(e)?pe(e):e||[],!1).length}});var Ee,Ne=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,ke=pe.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||Ee,"string"==typeof e){if(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:Ne.exec(e),!r||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof pe?t[0]:t,pe.merge(this,pe.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:re,!0)),Te.test(r[1])&&pe.isPlainObject(t))for(r in t)pe.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}if(i=re.getElementById(r[2]),i&&i.parentNode){if(i.id!==r[2])return Ee.find(e);this.length=1,this[0]=i}return this.context=re,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):pe.isFunction(e)?"undefined"!=typeof n.ready?n.ready(e):e(pe):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),pe.makeArray(e,this))};ke.prototype=pe.fn,Ee=pe(re);var Se=/^(?:parents|prev(?:Until|All))/,Ae={children:!0,contents:!0,next:!0,prev:!0};pe.fn.extend({has:function(e){var t,n=pe(e,this),r=n.length;return this.filter(function(){for(t=0;t<r;t++)if(pe.contains(this,n[t]))return!0})},closest:function(e,t){for(var n,r=0,i=this.length,o=[],a=we.test(e)||"string"!=typeof e?pe(e,t||this.context):0;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&pe.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?pe.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?pe.inArray(this[0],pe(e)):pe.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(pe.uniqueSort(pe.merge(this.get(),pe(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),pe.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return xe(e,"parentNode")},parentsUntil:function(e,t,n){return xe(e,"parentNode",n)},next:function(e){return i(e,"nextSibling")},prev:function(e){return i(e,"previousSibling")},nextAll:function(e){return xe(e,"nextSibling")},prevAll:function(e){return xe(e,"previousSibling")},nextUntil:function(e,t,n){return xe(e,"nextSibling",n)},prevUntil:function(e,t,n){return xe(e,"previousSibling",n)},siblings:function(e){return be((e.parentNode||{}).firstChild,e)},children:function(e){return be(e.firstChild)},contents:function(e){return pe.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:pe.merge([],e.childNodes)}},function(e,t){pe.fn[e]=function(n,r){var i=pe.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=pe.filter(r,i)),this.length>1&&(Ae[e]||(i=pe.uniqueSort(i)),Se.test(e)&&(i=i.reverse())),this.pushStack(i)}});var De=/\S+/g;pe.Callbacks=function(e){e="string"==typeof e?o(e):pe.extend({},e);var t,n,r,i,a=[],s=[],u=-1,l=function(){for(i=e.once,r=t=!0;s.length;u=-1)for(n=s.shift();++u<a.length;)a[u].apply(n[0],n[1])===!1&&e.stopOnFalse&&(u=a.length,n=!1);e.memory||(n=!1),t=!1,i&&(a=n?[]:"")},c={add:function(){return a&&(n&&!t&&(u=a.length-1,s.push(n)),function r(t){pe.each(t,function(t,n){pe.isFunction(n)?e.unique&&c.has(n)||a.push(n):n&&n.length&&"string"!==pe.type(n)&&r(n)})}(arguments),n&&!t&&l()),this},remove:function(){return pe.each(arguments,function(e,t){for(var n;(n=pe.inArray(t,a,n))>-1;)a.splice(n,1),n<=u&&u--}),this},has:function(e){return e?pe.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return i=s=[],a=n="",this},disabled:function(){return!a},lock:function(){return i=!0,n||c.disable(),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=n||[],n=[e,n.slice?n.slice():n],s.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},pe.extend({Deferred:function(e){var t=[["resolve","done",pe.Callbacks("once memory"),"resolved"],["reject","fail",pe.Callbacks("once memory"),"rejected"],["notify","progress",pe.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return pe.Deferred(function(n){pe.each(t,function(t,o){var a=pe.isFunction(e[t])&&e[t];i[o[1]](function(){var e=a&&a.apply(this,arguments);e&&pe.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[o[0]+"With"](this===r?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?pe.extend(e,r):r}},i={};return r.pipe=r.then,pe.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t,n,r,i=0,o=ie.call(arguments),a=o.length,s=1!==a||e&&pe.isFunction(e.promise)?a:0,u=1===s?e:pe.Deferred(),l=function(e,n,r){return function(i){n[e]=this,r[e]=arguments.length>1?ie.call(arguments):i,r===t?u.notifyWith(n,r):--s||u.resolveWith(n,r)}};if(a>1)for(t=new Array(a),n=new Array(a),r=new Array(a);i<a;i++)o[i]&&pe.isFunction(o[i].promise)?o[i].promise().progress(l(i,n,t)).done(l(i,r,o)).fail(u.reject):--s;return s||u.resolveWith(r,o),u.promise()}});var je;pe.fn.ready=function(e){return pe.ready.promise().done(e),this},pe.extend({isReady:!1,readyWait:1,holdReady:function(e){e?pe.readyWait++:pe.ready(!0)},ready:function(e){(e===!0?--pe.readyWait:pe.isReady)||(pe.isReady=!0,e!==!0&&--pe.readyWait>0||(je.resolveWith(re,[pe]),pe.fn.triggerHandler&&(pe(re).triggerHandler("ready"),pe(re).off("ready"))))}}),pe.ready.promise=function(t){if(!je)if(je=pe.Deferred(),"complete"===re.readyState||"loading"!==re.readyState&&!re.documentElement.doScroll)e.setTimeout(pe.ready);else if(re.addEventListener)re.addEventListener("DOMContentLoaded",s),e.addEventListener("load",s);else{re.attachEvent("onreadystatechange",s),e.attachEvent("onload",s);var n=!1;try{n=null==e.frameElement&&re.documentElement}catch(r){}n&&n.doScroll&&!function i(){if(!pe.isReady){try{n.doScroll("left")}catch(t){return e.setTimeout(i,50)}a(),pe.ready()}}()}return je.promise(t)},pe.ready.promise();var Le;for(Le in pe(fe))break;fe.ownFirst="0"===Le,fe.inlineBlockNeedsLayout=!1,pe(function(){var e,t,n,r;n=re.getElementsByTagName("body")[0],n&&n.style&&(t=re.createElement("div"),r=re.createElement("div"),r.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(t),"undefined"!=typeof t.style.zoom&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",fe.inlineBlockNeedsLayout=e=3===t.offsetWidth,e&&(n.style.zoom=1)),n.removeChild(r))}),function(){var e=re.createElement("div");fe.deleteExpando=!0;try{delete e.test}catch(t){fe.deleteExpando=!1}e=null}();var He=function(e){var t=pe.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return(1===n||9===n)&&(!t||t!==!0&&e.getAttribute("classid")===t)},qe=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,_e=/([A-Z])/g;pe.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?pe.cache[e[pe.expando]]:e[pe.expando],!!e&&!l(e)},data:function(e,t,n){return c(e,t,n)},removeData:function(e,t){return f(e,t)},_data:function(e,t,n){return c(e,t,n,!0)},_removeData:function(e,t){return f(e,t,!0)}}),pe.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=pe.data(o),1===o.nodeType&&!pe._data(o,"parsedAttrs"))){for(n=a.length;n--;)a[n]&&(r=a[n].name,0===r.indexOf("data-")&&(r=pe.camelCase(r.slice(5)),u(o,r,i[r])));pe._data(o,"parsedAttrs",!0)}return i}return"object"==typeof e?this.each(function(){pe.data(this,e)}):arguments.length>1?this.each(function(){pe.data(this,e,t)}):o?u(o,e,pe.data(o,e)):void 0},removeData:function(e){return this.each(function(){pe.removeData(this,e)})}}),pe.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=pe._data(e,t),n&&(!r||pe.isArray(n)?r=pe._data(e,t,pe.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=pe.queue(e,t),r=n.length,i=n.shift(),o=pe._queueHooks(e,t),a=function(){pe.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return pe._data(e,n)||pe._data(e,n,{empty:pe.Callbacks("once memory").add(function(){pe._removeData(e,t+"queue"),pe._removeData(e,n)})})}}),pe.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?pe.queue(this[0],e):void 0===t?this:this.each(function(){var n=pe.queue(this,e,t);pe._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&pe.dequeue(this,e)})},dequeue:function(e){return this.each(function(){pe.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=pe.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)n=pe._data(o[a],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}}),function(){var e;fe.shrinkWrapBlocks=function(){if(null!=e)return e;e=!1;var t,n,r;return n=re.getElementsByTagName("body")[0],n&&n.style?(t=re.createElement("div"),r=re.createElement("div"),r.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(t),"undefined"!=typeof t.style.zoom&&(t.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",t.appendChild(re.createElement("div")).style.width="5px",e=3!==t.offsetWidth),n.removeChild(r),e):void 0}}();var Fe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Me=new RegExp("^(?:([+-])=|)("+Fe+")([a-z%]*)$","i"),Oe=["Top","Right","Bottom","Left"],Re=function(e,t){return e=t||e,"none"===pe.css(e,"display")||!pe.contains(e.ownerDocument,e)},Pe=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===pe.type(n)){i=!0;for(s in n)Pe(e,t,s,n[s],!0,o,a)}else if(void 0!==r&&(i=!0,pe.isFunction(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(pe(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},Be=/^(?:checkbox|radio)$/i,We=/<([\w:-]+)/,Ie=/^$|\/(?:java|ecma)script/i,$e=/^\s+/,ze="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";!function(){var e=re.createElement("div"),t=re.createDocumentFragment(),n=re.createElement("input");e.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",fe.leadingWhitespace=3===e.firstChild.nodeType,fe.tbody=!e.getElementsByTagName("tbody").length,fe.htmlSerialize=!!e.getElementsByTagName("link").length,fe.html5Clone="<:nav></:nav>"!==re.createElement("nav").cloneNode(!0).outerHTML,n.type="checkbox",n.checked=!0,t.appendChild(n),fe.appendChecked=n.checked,e.innerHTML="<textarea>x</textarea>",fe.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,t.appendChild(e),n=re.createElement("input"),n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),fe.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,fe.noCloneEvent=!!e.addEventListener,e[pe.expando]=1,fe.attributes=!e.getAttribute(pe.expando)}();var Xe={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:fe.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]};Xe.optgroup=Xe.option,Xe.tbody=Xe.tfoot=Xe.colgroup=Xe.caption=Xe.thead,Xe.th=Xe.td;var Ue=/<|&#?\w+;/,Ve=/<tbody/i;!function(){var t,n,r=re.createElement("div");for(t in{submit:!0,change:!0,focusin:!0})n="on"+t,(fe[t]=n in e)||(r.setAttribute(n,"t"),fe[t]=r.attributes[n].expando===!1);r=null}();var Ye=/^(?:input|select|textarea)$/i,Je=/^key/,Ge=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ke=/^(?:focusinfocus|focusoutblur)$/,Qe=/^([^.]*)(?:\.(.+)|)/;pe.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,d,p,h,g,m=pe._data(e);if(m){for(n.handler&&(u=n,n=u.handler,i=u.selector),n.guid||(n.guid=pe.guid++),(a=m.events)||(a=m.events={}),(c=m.handle)||(c=m.handle=function(e){return"undefined"==typeof pe||e&&pe.event.triggered===e.type?void 0:pe.event.dispatch.apply(c.elem,arguments)},c.elem=e),t=(t||"").match(De)||[""],s=t.length;s--;)o=Qe.exec(t[s])||[],p=g=o[1],h=(o[2]||"").split(".").sort(),p&&(l=pe.event.special[p]||{},p=(i?l.delegateType:l.bindType)||p,l=pe.event.special[p]||{},f=pe.extend({type:p,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&pe.expr.match.needsContext.test(i),namespace:h.join(".")},u),(d=a[p])||(d=a[p]=[],d.delegateCount=0,l.setup&&l.setup.call(e,r,h,c)!==!1||(e.addEventListener?e.addEventListener(p,c,!1):e.attachEvent&&e.attachEvent("on"+p,c))),l.add&&(l.add.call(e,f),f.handler.guid||(f.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,f):d.push(f),pe.event.global[p]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,d,p,h,g,m=pe.hasData(e)&&pe._data(e);if(m&&(c=m.events)){for(t=(t||"").match(De)||[""],l=t.length;l--;)if(s=Qe.exec(t[l])||[],p=g=s[1],h=(s[2]||"").split(".").sort(),p){for(f=pe.event.special[p]||{},p=(r?f.delegateType:f.bindType)||p,d=c[p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=o=d.length;o--;)a=d[o],!i&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(d.splice(o,1),a.selector&&d.delegateCount--,f.remove&&f.remove.call(e,a));u&&!d.length&&(f.teardown&&f.teardown.call(e,h,m.handle)!==!1||pe.removeEvent(e,p,m.handle),delete c[p])}else for(p in c)pe.event.remove(e,p+t[l],n,r,!0);pe.isEmptyObject(c)&&(delete m.handle,pe._removeData(e,"events"))}},trigger:function(t,n,r,i){var o,a,s,u,l,c,f,d=[r||re],p=ce.call(t,"type")?t.type:t,h=ce.call(t,"namespace")?t.namespace.split("."):[];if(s=c=r=r||re,3!==r.nodeType&&8!==r.nodeType&&!Ke.test(p+pe.event.triggered)&&(p.indexOf(".")>-1&&(h=p.split("."),p=h.shift(),h.sort()),a=p.indexOf(":")<0&&"on"+p,t=t[pe.expando]?t:new pe.Event(p,"object"==typeof t&&t),t.isTrigger=i?2:3,t.namespace=h.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:pe.makeArray(n,[t]),l=pe.event.special[p]||{},i||!l.trigger||l.trigger.apply(r,n)!==!1)){if(!i&&!l.noBubble&&!pe.isWindow(r)){for(u=l.delegateType||p,Ke.test(u+p)||(s=s.parentNode);s;s=s.parentNode)d.push(s),c=s;c===(r.ownerDocument||re)&&d.push(c.defaultView||c.parentWindow||e)}for(f=0;(s=d[f++])&&!t.isPropagationStopped();)t.type=f>1?u:l.bindType||p,o=(pe._data(s,"events")||{})[t.type]&&pe._data(s,"handle"),o&&o.apply(s,n),o=a&&s[a],o&&o.apply&&He(s)&&(t.result=o.apply(s,n),t.result===!1&&t.preventDefault());if(t.type=p,!i&&!t.isDefaultPrevented()&&(!l._default||l._default.apply(d.pop(),n)===!1)&&He(r)&&a&&r[p]&&!pe.isWindow(r)){c=r[a],c&&(r[a]=null),pe.event.triggered=p;try{r[p]()}catch(g){}pe.event.triggered=void 0,c&&(r[a]=c)}return t.result}},dispatch:function(e){e=pe.event.fix(e);var t,n,r,i,o,a=[],s=ie.call(arguments),u=(pe._data(this,"events")||{})[e.type]||[],l=pe.event.special[e.type]||{};if(s[0]=e,e.delegateTarget=this,!l.preDispatch||l.preDispatch.call(this,e)!==!1){for(a=pe.event.handlers.call(this,e,u),t=0;(i=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(o.namespace)||(e.handleObj=o,e.data=o.data,r=((pe.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s),void 0!==r&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,a=[],s=t.delegateCount,u=e.target;if(s&&u.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(r=[],n=0;n<s;n++)o=t[n],i=o.selector+" ",void 0===r[i]&&(r[i]=o.needsContext?pe(i,this).index(u)>-1:pe.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&a.push({elem:u,handlers:r})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},fix:function(e){if(e[pe.expando])return e;var t,n,r,i=e.type,o=e,a=this.fixHooks[i];for(a||(this.fixHooks[i]=a=Ge.test(i)?this.mouseHooks:Je.test(i)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,e=new pe.Event(o),t=r.length;t--;)n=r[t],e[n]=o[n];return e.target||(e.target=o.srcElement||re),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,a.filter?a.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i,o=t.button,a=t.fromElement;return null==e.pageX&&null!=t.clientX&&(r=e.target.ownerDocument||re,i=r.documentElement,n=r.body,e.pageX=t.clientX+(i&&i.scrollLeft||n&&n.scrollLeft||0)-(i&&i.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(i&&i.scrollTop||n&&n.scrollTop||0)-(i&&i.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&a&&(e.relatedTarget=a===e.target?t.toElement:a),e.which||void 0===o||(e.which=1&o?1:2&o?3:4&o?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==b()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){if(this===b()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(pe.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(e){return pe.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n){var r=pe.extend(new pe.Event,n,{type:e,isSimulated:!0});pe.event.trigger(r,null,t),r.isDefaultPrevented()&&n.preventDefault()}},pe.removeEvent=re.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)}:function(e,t,n){var r="on"+t;e.detachEvent&&("undefined"==typeof e[r]&&(e[r]=null),e.detachEvent(r,n))},pe.Event=function(e,t){return this instanceof pe.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&e.returnValue===!1?v:x):this.type=e,t&&pe.extend(this,t),this.timeStamp=e&&e.timeStamp||pe.now(),void(this[pe.expando]=!0)):new pe.Event(e,t)},pe.Event.prototype={constructor:pe.Event,isDefaultPrevented:x,isPropagationStopped:x,isImmediatePropagationStopped:x,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=v,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=v,e&&!this.isSimulated&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=v,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}},pe.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){pe.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||pe.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),fe.submit||(pe.event.special.submit={setup:function(){return!pe.nodeName(this,"form")&&void pe.event.add(this,"click._submit keypress._submit",function(e){var t=e.target,n=pe.nodeName(t,"input")||pe.nodeName(t,"button")?pe.prop(t,"form"):void 0;n&&!pe._data(n,"submit")&&(pe.event.add(n,"submit._submit",function(e){e._submitBubble=!0}),pe._data(n,"submit",!0))})},postDispatch:function(e){e._submitBubble&&(delete e._submitBubble,this.parentNode&&!e.isTrigger&&pe.event.simulate("submit",this.parentNode,e))},teardown:function(){return!pe.nodeName(this,"form")&&void pe.event.remove(this,"._submit")}}),fe.change||(pe.event.special.change={setup:function(){return Ye.test(this.nodeName)?("checkbox"!==this.type&&"radio"!==this.type||(pe.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._justChanged=!0)}),pe.event.add(this,"click._change",function(e){this._justChanged&&!e.isTrigger&&(this._justChanged=!1),pe.event.simulate("change",this,e)})),!1):void pe.event.add(this,"beforeactivate._change",function(e){var t=e.target;Ye.test(t.nodeName)&&!pe._data(t,"change")&&(pe.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||pe.event.simulate("change",this.parentNode,e)}),pe._data(t,"change",!0))})},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return e.handleObj.handler.apply(this,arguments)},teardown:function(){return pe.event.remove(this,"._change"),!Ye.test(this.nodeName)}}),fe.focusin||pe.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){pe.event.simulate(t,e.target,pe.event.fix(e))};pe.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=pe._data(r,t);i||r.addEventListener(e,n,!0),pe._data(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=pe._data(r,t)-1;i?pe._data(r,t,i):(r.removeEventListener(e,n,!0),pe._removeData(r,t))}}}),pe.fn.extend({on:function(e,t,n,r){return w(this,e,t,n,r)},one:function(e,t,n,r){return w(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,pe(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return t!==!1&&"function"!=typeof t||(n=t,t=void 0),n===!1&&(n=x),this.each(function(){pe.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){pe.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return pe.event.trigger(e,t,n,!0)}});var Ze=/ jQuery\d+="(?:null|\d+)"/g,et=new RegExp("<(?:"+ze+")[\\s/>]","i"),tt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,nt=/<script|<style|<link/i,rt=/checked\s*(?:[^=]|=\s*.checked.)/i,it=/^true\/(.*)/,ot=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,at=p(re),st=at.appendChild(re.createElement("div"));pe.extend({htmlPrefilter:function(e){return e.replace(tt,"<$1></$2>")},clone:function(e,t,n){var r,i,o,a,s,u=pe.contains(e.ownerDocument,e);if(fe.html5Clone||pe.isXMLDoc(e)||!et.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(st.innerHTML=e.outerHTML,st.removeChild(o=st.firstChild)),!(fe.noCloneEvent&&fe.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||pe.isXMLDoc(e)))for(r=h(o),s=h(e),a=0;null!=(i=s[a]);++a)r[a]&&k(i,r[a]);if(t)if(n)for(s=s||h(e),r=r||h(o),a=0;null!=(i=s[a]);a++)N(i,r[a]);else N(e,o);return r=h(o,"script"),r.length>0&&g(r,!u&&h(e,"script")),r=s=i=null,o},cleanData:function(e,t){for(var n,r,i,o,a=0,s=pe.expando,u=pe.cache,l=fe.attributes,c=pe.event.special;null!=(n=e[a]);a++)if((t||He(n))&&(i=n[s],o=i&&u[i])){if(o.events)for(r in o.events)c[r]?pe.event.remove(n,r):pe.removeEvent(n,r,o.handle);u[i]&&(delete u[i],l||"undefined"==typeof n.removeAttribute?n[s]=void 0:n.removeAttribute(s),ne.push(i))}}}),pe.fn.extend({domManip:S,detach:function(e){return A(this,e,!0)},remove:function(e){return A(this,e)},text:function(e){return Pe(this,function(e){return void 0===e?pe.text(this):this.empty().append((this[0]&&this[0].ownerDocument||re).createTextNode(e))},null,e,arguments.length)},append:function(){return S(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=T(this,e);t.appendChild(e)}})},prepend:function(){return S(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=T(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return S(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return S(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&pe.cleanData(h(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&pe.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return pe.clone(this,e,t)})},html:function(e){return Pe(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(Ze,""):void 0;if("string"==typeof e&&!nt.test(e)&&(fe.htmlSerialize||!et.test(e))&&(fe.leadingWhitespace||!$e.test(e))&&!Xe[(We.exec(e)||["",""])[1].toLowerCase()]){e=pe.htmlPrefilter(e);try{for(;n<r;n++)t=this[n]||{},1===t.nodeType&&(pe.cleanData(h(t,!1)),t.innerHTML=e);t=0}catch(i){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return S(this,arguments,function(t){var n=this.parentNode;pe.inArray(this,e)<0&&(pe.cleanData(h(this)),
+n&&n.replaceChild(t,this))},e)}}),pe.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){pe.fn[e]=function(e){for(var n,r=0,i=[],o=pe(e),a=o.length-1;r<=a;r++)n=r===a?this:this.clone(!0),pe(o[r])[t](n),ae.apply(i,n.get());return this.pushStack(i)}});var ut,lt={HTML:"block",BODY:"block"},ct=/^margin/,ft=new RegExp("^("+Fe+")(?!px)[a-z%]+$","i"),dt=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i},pt=re.documentElement;!function(){function t(){var t,c,f=re.documentElement;f.appendChild(u),l.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",n=i=s=!1,r=a=!0,e.getComputedStyle&&(c=e.getComputedStyle(l),n="1%"!==(c||{}).top,s="2px"===(c||{}).marginLeft,i="4px"===(c||{width:"4px"}).width,l.style.marginRight="50%",r="4px"===(c||{marginRight:"4px"}).marginRight,t=l.appendChild(re.createElement("div")),t.style.cssText=l.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",l.style.width="1px",a=!parseFloat((e.getComputedStyle(t)||{}).marginRight),l.removeChild(t)),l.style.display="none",o=0===l.getClientRects().length,o&&(l.style.display="",l.innerHTML="<table><tr><td></td><td>t</td></tr></table>",t=l.getElementsByTagName("td"),t[0].style.cssText="margin:0;border:0;padding:0;display:none",o=0===t[0].offsetHeight,o&&(t[0].style.display="",t[1].style.display="none",o=0===t[0].offsetHeight)),f.removeChild(u)}var n,r,i,o,a,s,u=re.createElement("div"),l=re.createElement("div");l.style&&(l.style.cssText="float:left;opacity:.5",fe.opacity="0.5"===l.style.opacity,fe.cssFloat=!!l.style.cssFloat,l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",fe.clearCloneStyle="content-box"===l.style.backgroundClip,u=re.createElement("div"),u.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",l.innerHTML="",u.appendChild(l),fe.boxSizing=""===l.style.boxSizing||""===l.style.MozBoxSizing||""===l.style.WebkitBoxSizing,pe.extend(fe,{reliableHiddenOffsets:function(){return null==n&&t(),o},boxSizingReliable:function(){return null==n&&t(),i},pixelMarginRight:function(){return null==n&&t(),r},pixelPosition:function(){return null==n&&t(),n},reliableMarginRight:function(){return null==n&&t(),a},reliableMarginLeft:function(){return null==n&&t(),s}}))}();var ht,gt,mt=/^(top|right|bottom|left)$/;e.getComputedStyle?(ht=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},gt=function(e,t,n){var r,i,o,a,s=e.style;return n=n||ht(e),a=n?n.getPropertyValue(t)||n[t]:void 0,""!==a&&void 0!==a||pe.contains(e.ownerDocument,e)||(a=pe.style(e,t)),n&&!fe.pixelMarginRight()&&ft.test(a)&&ct.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o),void 0===a?a:a+""}):pt.currentStyle&&(ht=function(e){return e.currentStyle},gt=function(e,t,n){var r,i,o,a,s=e.style;return n=n||ht(e),a=n?n[t]:void 0,null==a&&s&&s[t]&&(a=s[t]),ft.test(a)&&!mt.test(t)&&(r=s.left,i=e.runtimeStyle,o=i&&i.left,o&&(i.left=e.currentStyle.left),s.left="fontSize"===t?"1em":a,a=s.pixelLeft+"px",s.left=r,o&&(i.left=o)),void 0===a?a:a+""||"auto"});var yt=/alpha\([^)]*\)/i,vt=/opacity\s*=\s*([^)]*)/i,xt=/^(none|table(?!-c[ea]).+)/,bt=new RegExp("^("+Fe+")(.*)$","i"),wt={position:"absolute",visibility:"hidden",display:"block"},Tt={letterSpacing:"0",fontWeight:"400"},Ct=["Webkit","O","Moz","ms"],Et=re.createElement("div").style;pe.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=gt(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":fe.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=pe.camelCase(t),u=e.style;if(t=pe.cssProps[s]||(pe.cssProps[s]=H(s)||s),a=pe.cssHooks[t]||pe.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:u[t];if(o=typeof n,"string"===o&&(i=Me.exec(n))&&i[1]&&(n=d(e,t,i),o="number"),null!=n&&n===n&&("number"===o&&(n+=i&&i[3]||(pe.cssNumber[s]?"":"px")),fe.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),!(a&&"set"in a&&void 0===(n=a.set(e,n,r)))))try{u[t]=n}catch(l){}}},css:function(e,t,n,r){var i,o,a,s=pe.camelCase(t);return t=pe.cssProps[s]||(pe.cssProps[s]=H(s)||s),a=pe.cssHooks[t]||pe.cssHooks[s],a&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=gt(e,t,r)),"normal"===o&&t in Tt&&(o=Tt[t]),""===n||n?(i=parseFloat(o),n===!0||isFinite(i)?i||0:o):o}}),pe.each(["height","width"],function(e,t){pe.cssHooks[t]={get:function(e,n,r){if(n)return xt.test(pe.css(e,"display"))&&0===e.offsetWidth?dt(e,wt,function(){return M(e,t,r)}):M(e,t,r)},set:function(e,n,r){var i=r&&ht(e);return _(e,n,r?F(e,t,r,fe.boxSizing&&"border-box"===pe.css(e,"boxSizing",!1,i),i):0)}}}),fe.opacity||(pe.cssHooks.opacity={get:function(e,t){return vt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=pe.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===pe.trim(o.replace(yt,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=yt.test(o)?o.replace(yt,i):o+" "+i)}}),pe.cssHooks.marginRight=L(fe.reliableMarginRight,function(e,t){if(t)return dt(e,{display:"inline-block"},gt,[e,"marginRight"])}),pe.cssHooks.marginLeft=L(fe.reliableMarginLeft,function(e,t){if(t)return(parseFloat(gt(e,"marginLeft"))||(pe.contains(e.ownerDocument,e)?e.getBoundingClientRect().left-dt(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}):0))+"px"}),pe.each({margin:"",padding:"",border:"Width"},function(e,t){pe.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+Oe[r]+t]=o[r]||o[r-2]||o[0];return i}},ct.test(e)||(pe.cssHooks[e+t].set=_)}),pe.fn.extend({css:function(e,t){return Pe(this,function(e,t,n){var r,i,o={},a=0;if(pe.isArray(t)){for(r=ht(e),i=t.length;a<i;a++)o[t[a]]=pe.css(e,t[a],!1,r);return o}return void 0!==n?pe.style(e,t,n):pe.css(e,t)},e,t,arguments.length>1)},show:function(){return q(this,!0)},hide:function(){return q(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Re(this)?pe(this).show():pe(this).hide()})}}),pe.Tween=O,O.prototype={constructor:O,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||pe.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(pe.cssNumber[n]?"":"px")},cur:function(){var e=O.propHooks[this.prop];return e&&e.get?e.get(this):O.propHooks._default.get(this)},run:function(e){var t,n=O.propHooks[this.prop];return this.options.duration?this.pos=t=pe.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):O.propHooks._default.set(this),this}},O.prototype.init.prototype=O.prototype,O.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=pe.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){pe.fx.step[e.prop]?pe.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[pe.cssProps[e.prop]]&&!pe.cssHooks[e.prop]?e.elem[e.prop]=e.now:pe.style(e.elem,e.prop,e.now+e.unit)}}},O.propHooks.scrollTop=O.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},pe.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},pe.fx=O.prototype.init,pe.fx.step={};var Nt,kt,St=/^(?:toggle|show|hide)$/,At=/queueHooks$/;pe.Animation=pe.extend($,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return d(n.elem,e,Me.exec(t),n),n}]},tweener:function(e,t){pe.isFunction(e)?(t=e,e=["*"]):e=e.match(De);for(var n,r=0,i=e.length;r<i;r++)n=e[r],$.tweeners[n]=$.tweeners[n]||[],$.tweeners[n].unshift(t)},prefilters:[W],prefilter:function(e,t){t?$.prefilters.unshift(e):$.prefilters.push(e)}}),pe.speed=function(e,t,n){var r=e&&"object"==typeof e?pe.extend({},e):{complete:n||!n&&t||pe.isFunction(e)&&e,duration:e,easing:n&&t||t&&!pe.isFunction(t)&&t};return r.duration=pe.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in pe.fx.speeds?pe.fx.speeds[r.duration]:pe.fx.speeds._default,null!=r.queue&&r.queue!==!0||(r.queue="fx"),r.old=r.complete,r.complete=function(){pe.isFunction(r.old)&&r.old.call(this),r.queue&&pe.dequeue(this,r.queue)},r},pe.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Re).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=pe.isEmptyObject(e),o=pe.speed(t,n,r),a=function(){var t=$(this,pe.extend({},e),o);(i||pe._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=pe.timers,a=pe._data(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&At.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||pe.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=pe._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=pe.timers,a=r?r.length:0;for(n.finish=!0,pe.queue(this,e,[]),i&&i.stop&&i.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<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),pe.each(["toggle","show","hide"],function(e,t){var n=pe.fn[t];pe.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(P(t,!0),e,r,i)}}),pe.each({slideDown:P("show"),slideUp:P("hide"),slideToggle:P("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){pe.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),pe.timers=[],pe.fx.tick=function(){var e,t=pe.timers,n=0;for(Nt=pe.now();n<t.length;n++)e=t[n],e()||t[n]!==e||t.splice(n--,1);t.length||pe.fx.stop(),Nt=void 0},pe.fx.timer=function(e){pe.timers.push(e),e()?pe.fx.start():pe.timers.pop()},pe.fx.interval=13,pe.fx.start=function(){kt||(kt=e.setInterval(pe.fx.tick,pe.fx.interval))},pe.fx.stop=function(){e.clearInterval(kt),kt=null},pe.fx.speeds={slow:600,fast:200,_default:400},pe.fn.delay=function(t,n){return t=pe.fx?pe.fx.speeds[t]||t:t,n=n||"fx",this.queue(n,function(n,r){var i=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(i)}})},function(){var e,t=re.createElement("input"),n=re.createElement("div"),r=re.createElement("select"),i=r.appendChild(re.createElement("option"));n=re.createElement("div"),n.setAttribute("className","t"),n.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",e=n.getElementsByTagName("a")[0],t.setAttribute("type","checkbox"),n.appendChild(t),e=n.getElementsByTagName("a")[0],e.style.cssText="top:1px",fe.getSetAttribute="t"!==n.className,fe.style=/top/.test(e.getAttribute("style")),fe.hrefNormalized="/a"===e.getAttribute("href"),fe.checkOn=!!t.value,fe.optSelected=i.selected,fe.enctype=!!re.createElement("form").enctype,r.disabled=!0,fe.optDisabled=!i.disabled,t=re.createElement("input"),t.setAttribute("value",""),fe.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),fe.radioValue="t"===t.value}();var Dt=/\r/g,jt=/[\x20\t\r\n\f]+/g;pe.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=pe.isFunction(e),this.each(function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,pe(this).val()):e,null==i?i="":"number"==typeof i?i+="":pe.isArray(i)&&(i=pe.map(i,function(e){return null==e?"":e+""})),t=pe.valHooks[this.type]||pe.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return t=pe.valHooks[i.type]||pe.valHooks[i.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(Dt,""):null==n?"":n)}}}),pe.extend({valHooks:{option:{get:function(e){var t=pe.find.attr(e,"value");return null!=t?t:pe.trim(pe.text(e)).replace(jt," ")}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||i<0,a=o?null:[],s=o?i+1:r.length,u=i<0?s:o?i:0;u<s;u++)if(n=r[u],(n.selected||u===i)&&(fe.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!pe.nodeName(n.parentNode,"optgroup"))){if(t=pe(n).val(),o)return t;a.push(t)}return a},set:function(e,t){for(var n,r,i=e.options,o=pe.makeArray(t),a=i.length;a--;)if(r=i[a],pe.inArray(pe.valHooks.option.get(r),o)>-1)try{r.selected=n=!0}catch(s){r.scrollHeight}else r.selected=!1;return n||(e.selectedIndex=-1),i}}}}),pe.each(["radio","checkbox"],function(){pe.valHooks[this]={set:function(e,t){if(pe.isArray(t))return e.checked=pe.inArray(pe(e).val(),t)>-1}},fe.checkOn||(pe.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Lt,Ht,qt=pe.expr.attrHandle,_t=/^(?:checked|selected)$/i,Ft=fe.getSetAttribute,Mt=fe.input;pe.fn.extend({attr:function(e,t){return Pe(this,pe.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){pe.removeAttr(this,e)})}}),pe.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?pe.prop(e,t,n):(1===o&&pe.isXMLDoc(e)||(t=t.toLowerCase(),i=pe.attrHooks[t]||(pe.expr.match.bool.test(t)?Ht:Lt)),void 0!==n?null===n?void pe.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:(r=pe.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!fe.radioValue&&"radio"===t&&pe.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(De);if(o&&1===e.nodeType)for(;n=o[i++];)r=pe.propFix[n]||n,pe.expr.match.bool.test(n)?Mt&&Ft||!_t.test(n)?e[r]=!1:e[pe.camelCase("default-"+n)]=e[r]=!1:pe.attr(e,n,""),e.removeAttribute(Ft?n:r)}}),Ht={set:function(e,t,n){return t===!1?pe.removeAttr(e,n):Mt&&Ft||!_t.test(n)?e.setAttribute(!Ft&&pe.propFix[n]||n,n):e[pe.camelCase("default-"+n)]=e[n]=!0,n}},pe.each(pe.expr.match.bool.source.match(/\w+/g),function(e,t){var n=qt[t]||pe.find.attr;Mt&&Ft||!_t.test(t)?qt[t]=function(e,t,r){var i,o;return r||(o=qt[t],qt[t]=i,i=null!=n(e,t,r)?t.toLowerCase():null,qt[t]=o),i}:qt[t]=function(e,t,n){if(!n)return e[pe.camelCase("default-"+t)]?t.toLowerCase():null}}),Mt&&Ft||(pe.attrHooks.value={set:function(e,t,n){return pe.nodeName(e,"input")?void(e.defaultValue=t):Lt&&Lt.set(e,t,n)}}),Ft||(Lt={set:function(e,t,n){var r=e.getAttributeNode(n);if(r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=t+="","value"===n||t===e.getAttribute(n))return t}},qt.id=qt.name=qt.coords=function(e,t,n){var r;if(!n)return(r=e.getAttributeNode(t))&&""!==r.value?r.value:null},pe.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);if(n&&n.specified)return n.value},set:Lt.set},pe.attrHooks.contenteditable={set:function(e,t,n){Lt.set(e,""!==t&&t,n)}},pe.each(["width","height"],function(e,t){pe.attrHooks[t]={set:function(e,n){if(""===n)return e.setAttribute(t,"auto"),n}}})),fe.style||(pe.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}});var Ot=/^(?:input|select|textarea|button|object)$/i,Rt=/^(?:a|area)$/i;pe.fn.extend({prop:function(e,t){return Pe(this,pe.prop,e,t,arguments.length>1)},removeProp:function(e){return e=pe.propFix[e]||e,this.each(function(){try{this[e]=void 0,delete this[e]}catch(t){}})}}),pe.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&pe.isXMLDoc(e)||(t=pe.propFix[t]||t,i=pe.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=pe.find.attr(e,"tabindex");return t?parseInt(t,10):Ot.test(e.nodeName)||Rt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),fe.hrefNormalized||pe.each(["href","src"],function(e,t){pe.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),fe.optSelected||(pe.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),pe.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){pe.propFix[this.toLowerCase()]=this}),fe.enctype||(pe.propFix.enctype="encoding");var Pt=/[\t\r\n\f]/g;pe.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(pe.isFunction(e))return this.each(function(t){pe(this).addClass(e.call(this,t,z(this)))});if("string"==typeof e&&e)for(t=e.match(De)||[];n=this[u++];)if(i=z(n),r=1===n.nodeType&&(" "+i+" ").replace(Pt," ")){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");s=pe.trim(r),i!==s&&pe.attr(n,"class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(pe.isFunction(e))return this.each(function(t){pe(this).removeClass(e.call(this,t,z(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(De)||[];n=this[u++];)if(i=z(n),r=1===n.nodeType&&(" "+i+" ").replace(Pt," ")){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");s=pe.trim(r),i!==s&&pe.attr(n,"class",s)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):pe.isFunction(e)?this.each(function(n){pe(this).toggleClass(e.call(this,n,z(this),t),t)}):this.each(function(){var t,r,i,o;if("string"===n)for(r=0,i=pe(this),o=e.match(De)||[];t=o[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||(t=z(this),t&&pe._data(this,"__className__",t),pe.attr(this,"class",t||e===!1?"":pe._data(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+z(n)+" ").replace(Pt," ").indexOf(t)>-1)return!0;return!1}}),pe.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){pe.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),pe.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});var Bt=e.location,Wt=pe.now(),It=/\?/,$t=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;pe.parseJSON=function(t){if(e.JSON&&e.JSON.parse)return e.JSON.parse(t+"");var n,r=null,i=pe.trim(t+"");return i&&!pe.trim(i.replace($t,function(e,t,i,o){return n&&t&&(r=0),0===r?e:(n=i||t,r+=!o-!i,"")}))?Function("return "+i)():pe.error("Invalid JSON: "+t)},pe.parseXML=function(t){var n,r;if(!t||"string"!=typeof t)return null;try{e.DOMParser?(r=new e.DOMParser,n=r.parseFromString(t,"text/xml")):(n=new e.ActiveXObject("Microsoft.XMLDOM"),n.async="false",n.loadXML(t))}catch(i){n=void 0}return n&&n.documentElement&&!n.getElementsByTagName("parsererror").length||pe.error("Invalid XML: "+t),n};var zt=/#.*$/,Xt=/([?&])_=[^&]*/,Ut=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Vt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Yt=/^(?:GET|HEAD)$/,Jt=/^\/\//,Gt=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Kt={},Qt={},Zt="*/".concat("*"),en=Bt.href,tn=Gt.exec(en.toLowerCase())||[];pe.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:en,type:"GET",isLocal:Vt.test(tn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Zt,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":pe.parseJSON,"text xml":pe.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?V(V(e,pe.ajaxSettings),t):V(pe.ajaxSettings,e)},ajaxPrefilter:X(Kt),ajaxTransport:X(Qt),ajax:function(t,n){function r(t,n,r,i){var o,f,v,x,w,C=n;2!==b&&(b=2,u&&e.clearTimeout(u),c=void 0,s=i||"",T.readyState=t>0?4:0,o=t>=200&&t<300||304===t,r&&(x=Y(d,T,r)),x=J(d,x,T,o),o?(d.ifModified&&(w=T.getResponseHeader("Last-Modified"),w&&(pe.lastModified[a]=w),w=T.getResponseHeader("etag"),w&&(pe.etag[a]=w)),204===t||"HEAD"===d.type?C="nocontent":304===t?C="notmodified":(C=x.state,f=x.data,v=x.error,o=!v)):(v=C,!t&&C||(C="error",t<0&&(t=0))),T.status=t,T.statusText=(n||C)+"",o?g.resolveWith(p,[f,C,T]):g.rejectWith(p,[T,C,v]),T.statusCode(y),y=void 0,l&&h.trigger(o?"ajaxSuccess":"ajaxError",[T,d,o?f:v]),m.fireWith(p,[T,C]),l&&(h.trigger("ajaxComplete",[T,d]),--pe.active||pe.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,o,a,s,u,l,c,f,d=pe.ajaxSetup({},n),p=d.context||d,h=d.context&&(p.nodeType||p.jquery)?pe(p):pe.event,g=pe.Deferred(),m=pe.Callbacks("once memory"),y=d.statusCode||{},v={},x={},b=0,w="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!f)for(f={};t=Ut.exec(s);)f[t[1].toLowerCase()]=t[2];t=f[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?s:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=x[n]=x[n]||e,v[e]=t),this},overrideMimeType:function(e){return b||(d.mimeType=e),this},statusCode:function(e){var t;if(e)if(b<2)for(t in e)y[t]=[y[t],e[t]];else T.always(e[T.status]);return this},abort:function(e){var t=e||w;return c&&c.abort(t),r(0,t),this}};if(g.promise(T).complete=m.add,T.success=T.done,T.error=T.fail,d.url=((t||d.url||en)+"").replace(zt,"").replace(Jt,tn[1]+"//"),d.type=n.method||n.type||d.method||d.type,d.dataTypes=pe.trim(d.dataType||"*").toLowerCase().match(De)||[""],null==d.crossDomain&&(i=Gt.exec(d.url.toLowerCase()),d.crossDomain=!(!i||i[1]===tn[1]&&i[2]===tn[2]&&(i[3]||("http:"===i[1]?"80":"443"))===(tn[3]||("http:"===tn[1]?"80":"443")))),d.data&&d.processData&&"string"!=typeof d.data&&(d.data=pe.param(d.data,d.traditional)),U(Kt,d,n,T),2===b)return T;l=pe.event&&d.global,l&&0===pe.active++&&pe.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Yt.test(d.type),a=d.url,d.hasContent||(d.data&&(a=d.url+=(It.test(a)?"&":"?")+d.data,delete d.data),d.cache===!1&&(d.url=Xt.test(a)?a.replace(Xt,"$1_="+Wt++):a+(It.test(a)?"&":"?")+"_="+Wt++)),d.ifModified&&(pe.lastModified[a]&&T.setRequestHeader("If-Modified-Since",pe.lastModified[a]),pe.etag[a]&&T.setRequestHeader("If-None-Match",pe.etag[a])),(d.data&&d.hasContent&&d.contentType!==!1||n.contentType)&&T.setRequestHeader("Content-Type",d.contentType),T.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Zt+"; q=0.01":""):d.accepts["*"]);for(o in d.headers)T.setRequestHeader(o,d.headers[o]);if(d.beforeSend&&(d.beforeSend.call(p,T,d)===!1||2===b))return T.abort();w="abort";for(o in{success:1,error:1,complete:1})T[o](d[o]);if(c=U(Qt,d,n,T)){if(T.readyState=1,l&&h.trigger("ajaxSend",[T,d]),2===b)return T;d.async&&d.timeout>0&&(u=e.setTimeout(function(){T.abort("timeout")},d.timeout));try{b=1,c.send(v,r)}catch(C){if(!(b<2))throw C;r(-1,C)}}else r(-1,"No Transport");return T},getJSON:function(e,t,n){return pe.get(e,t,n,"json")},getScript:function(e,t){return pe.get(e,void 0,t,"script")}}),pe.each(["get","post"],function(e,t){pe[t]=function(e,n,r,i){return pe.isFunction(n)&&(i=i||r,r=n,n=void 0),pe.ajax(pe.extend({url:e,type:t,dataType:i,data:n,success:r},pe.isPlainObject(e)&&e))}}),pe._evalUrl=function(e){return pe.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},pe.fn.extend({wrapAll:function(e){if(pe.isFunction(e))return this.each(function(t){pe(this).wrapAll(e.call(this,t))});if(this[0]){var t=pe(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return pe.isFunction(e)?this.each(function(t){pe(this).wrapInner(e.call(this,t))}):this.each(function(){var t=pe(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=pe.isFunction(e);return this.each(function(n){pe(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){pe.nodeName(this,"body")||pe(this).replaceWith(this.childNodes)}).end()}}),pe.expr.filters.hidden=function(e){return fe.reliableHiddenOffsets()?e.offsetWidth<=0&&e.offsetHeight<=0&&!e.getClientRects().length:K(e)},pe.expr.filters.visible=function(e){return!pe.expr.filters.hidden(e)};var nn=/%20/g,rn=/\[\]$/,on=/\r?\n/g,an=/^(?:submit|button|image|reset|file)$/i,sn=/^(?:input|select|textarea|keygen)/i;pe.param=function(e,t){var n,r=[],i=function(e,t){t=pe.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=pe.ajaxSettings&&pe.ajaxSettings.traditional),pe.isArray(e)||e.jquery&&!pe.isPlainObject(e))pe.each(e,function(){i(this.name,this.value)});else for(n in e)Q(n,e[n],t,i);return r.join("&").replace(nn,"+")},pe.fn.extend({serialize:function(){return pe.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=pe.prop(this,"elements");return e?pe.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!pe(this).is(":disabled")&&sn.test(this.nodeName)&&!an.test(e)&&(this.checked||!Be.test(e))}).map(function(e,t){var n=pe(this).val();return null==n?null:pe.isArray(n)?pe.map(n,function(e){return{name:t.name,value:e.replace(on,"\r\n")}}):{name:t.name,value:n.replace(on,"\r\n")}}).get()}}),pe.ajaxSettings.xhr=void 0!==e.ActiveXObject?function(){return this.isLocal?ee():re.documentMode>8?Z():/^(get|post|head|put|delete|options)$/i.test(this.type)&&Z()||ee()}:Z;var un=0,ln={},cn=pe.ajaxSettings.xhr();e.attachEvent&&e.attachEvent("onunload",function(){for(var e in ln)ln[e](void 0,!0)}),fe.cors=!!cn&&"withCredentials"in cn,cn=fe.ajax=!!cn,cn&&pe.ajaxTransport(function(t){if(!t.crossDomain||fe.cors){var n;return{send:function(r,i){var o,a=t.xhr(),s=++un;if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)a[o]=t.xhrFields[o];t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(o in r)void 0!==r[o]&&a.setRequestHeader(o,r[o]+"");a.send(t.hasContent&&t.data||null),n=function(e,r){var o,u,l;if(n&&(r||4===a.readyState))if(delete ln[s],n=void 0,a.onreadystatechange=pe.noop,r)4!==a.readyState&&a.abort();else{l={},o=a.status,"string"==typeof a.responseText&&(l.text=a.responseText);try{u=a.statusText}catch(c){u=""}o||!t.isLocal||t.crossDomain?1223===o&&(o=204):o=l.text?200:404}l&&i(o,u,l,a.getAllResponseHeaders())},t.async?4===a.readyState?e.setTimeout(n):a.onreadystatechange=ln[s]=n:n()},abort:function(){n&&n(void 0,!0)}}}}),pe.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 pe.globalEval(e),e}}}),pe.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),pe.ajaxTransport("script",function(e){if(e.crossDomain){var t,n=re.head||pe("head")[0]||re.documentElement;return{send:function(r,i){t=re.createElement("script"),t.async=!0,e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(e,n){(n||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,n||i(200,"success"))},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(void 0,!0)}}}});var fn=[],dn=/(=)\?(?=&|$)|\?\?/;pe.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=fn.pop()||pe.expando+"_"+Wt++;return this[e]=!0,e}}),pe.ajaxPrefilter("json jsonp",function(t,n,r){var i,o,a,s=t.jsonp!==!1&&(dn.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&dn.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=pe.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(dn,"$1"+i):t.jsonp!==!1&&(t.url+=(It.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||pe.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){a=arguments},r.always(function(){void 0===o?pe(e).removeProp(i):e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,fn.push(i)),a&&pe.isFunction(o)&&o(a[0]),a=o=void 0}),"script"}),pe.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||re;var r=Te.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=y([e],t,i),i&&i.length&&pe(i).remove(),pe.merge([],r.childNodes))};var pn=pe.fn.load;return pe.fn.load=function(e,t,n){if("string"!=typeof e&&pn)return pn.apply(this,arguments);var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=pe.trim(e.slice(s,e.length)),e=e.slice(0,s)),pe.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&pe.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?pe("<div>").append(pe.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},pe.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){pe.fn[t]=function(e){return this.on(t,e)}}),pe.expr.filters.animated=function(e){return pe.grep(pe.timers,function(t){return e===t.elem}).length},pe.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l,c=pe.css(e,"position"),f=pe(e),d={};"static"===c&&(e.style.position="relative"),s=f.offset(),o=pe.css(e,"top"),u=pe.css(e,"left"),l=("absolute"===c||"fixed"===c)&&pe.inArray("auto",[o,u])>-1,l?(r=f.position(),a=r.top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),pe.isFunction(t)&&(t=t.call(e,n,pe.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):f.css(d)}},pe.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){pe.offset.setOffset(this,e,t)});var t,n,r={top:0,left:0},i=this[0],o=i&&i.ownerDocument;if(o)return t=o.documentElement,pe.contains(t,i)?("undefined"!=typeof i.getBoundingClientRect&&(r=i.getBoundingClientRect()),n=te(o),{top:r.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:r.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):r},position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===pe.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),pe.nodeName(e[0],"html")||(n=e.offset()),n.top+=pe.css(e[0],"borderTopWidth",!0),n.left+=pe.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-pe.css(r,"marginTop",!0),left:t.left-n.left-pe.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){
+for(var e=this.offsetParent;e&&!pe.nodeName(e,"html")&&"static"===pe.css(e,"position");)e=e.offsetParent;return e||pt})}}),pe.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);pe.fn[e]=function(r){return Pe(this,function(e,r,i){var o=te(e);return void 0===i?o?t in o?o[t]:o.document.documentElement[r]:e[r]:void(o?o.scrollTo(n?pe(o).scrollLeft():i,n?i:pe(o).scrollTop()):e[r]=i)},e,r,arguments.length,null)}}),pe.each(["top","left"],function(e,t){pe.cssHooks[t]=L(fe.pixelPosition,function(e,n){if(n)return n=gt(e,t),ft.test(n)?pe(e).position()[t]+"px":n})}),pe.each({Height:"height",Width:"width"},function(e,t){pe.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){pe.fn[r]=function(r,i){var o=arguments.length&&(n||"boolean"!=typeof r),a=n||(r===!0||i===!0?"margin":"border");return Pe(this,function(t,n,r){var i;return pe.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===r?pe.css(t,n,a):pe.style(t,n,r,a)},t,o?r:void 0,o,null)}})}),pe.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,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),pe.fn.size=function(){return this.length},pe.fn.andSelf=pe.fn.addBack,layui.define(function(e){layui.$=pe,e("jquery",pe)}),pe});!function(e,t){"use strict";var i,n,a=e.layui&&layui.define,o={getPath:function(){var e=document.currentScript?document.currentScript.src:function(){for(var e,t=document.scripts,i=t.length-1,n=i;n>0;n--)if("interactive"===t[n].readyState){e=t[n].src;break}return e||t[i].src}();return e.substring(0,e.lastIndexOf("/")+1)}(),config:{},end:{},minIndex:0,minLeft:[],btn:["确定","取消"],type:["dialog","page","iframe","loading","tips"],getStyle:function(t,i){var n=t.currentStyle?t.currentStyle:e.getComputedStyle(t,null);return n[n.getPropertyValue?"getPropertyValue":"getAttribute"](i)},link:function(t,i,n){if(r.path){var a=document.getElementsByTagName("head")[0],s=document.createElement("link");"string"==typeof i&&(n=i);var l=(n||t).replace(/\.|\//g,""),f="layuicss-"+l,c=0;s.rel="stylesheet",s.href=r.path+t,s.id=f,document.getElementById(f)||a.appendChild(s),"function"==typeof i&&!function u(){return++c>80?e.console&&console.error("layer.css: Invalid"):void(1989===parseInt(o.getStyle(document.getElementById(f),"width"))?i():setTimeout(u,100))}()}}},r={v:"3.1.1",ie:function(){var t=navigator.userAgent.toLowerCase();return!!(e.ActiveXObject||"ActiveXObject"in e)&&((t.match(/msie\s(\d+)/)||[])[1]||"11")}(),index:e.layer&&e.layer.v?1e5:0,path:o.getPath,config:function(e,t){return e=e||{},r.cache=o.config=i.extend({},o.config,e),r.path=o.config.path||r.path,"string"==typeof e.extend&&(e.extend=[e.extend]),o.config.path&&r.ready(),e.extend?(a?layui.addcss("modules/layer/"+e.extend):o.link("theme/"+e.extend),this):this},ready:function(e){var t="layer",i="",n=(a?"modules/layer/":"theme/")+"default/layer.css?v="+r.v+i;return a?layui.addcss(n,e,t):o.link(n,e,t),this},alert:function(e,t,n){var a="function"==typeof t;return a&&(n=t),r.open(i.extend({content:e,yes:n},a?{}:t))},confirm:function(e,t,n,a){var s="function"==typeof t;return s&&(a=n,n=t),r.open(i.extend({content:e,btn:o.btn,yes:n,btn2:a},s?{}:t))},msg:function(e,n,a){var s="function"==typeof n,f=o.config.skin,c=(f?f+" "+f+"-msg":"")||"layui-layer-msg",u=l.anim.length-1;return s&&(a=n),r.open(i.extend({content:e,time:3e3,shade:!1,skin:c,title:!1,closeBtn:!1,btn:!1,resize:!1,end:a},s&&!o.config.skin?{skin:c+" layui-layer-hui",anim:u}:function(){return n=n||{},(n.icon===-1||n.icon===t&&!o.config.skin)&&(n.skin=c+" "+(n.skin||"layui-layer-hui")),n}()))},load:function(e,t){return r.open(i.extend({type:3,icon:e||0,resize:!1,shade:.01},t))},tips:function(e,t,n){return r.open(i.extend({type:4,content:[e,t],closeBtn:!1,time:3e3,shade:!1,resize:!1,fixed:!1,maxWidth:210},n))}},s=function(e){var t=this;t.index=++r.index,t.config=i.extend({},t.config,o.config,e),document.body?t.creat():setTimeout(function(){t.creat()},30)};s.pt=s.prototype;var l=["layui-layer",".layui-layer-title",".layui-layer-main",".layui-layer-dialog","layui-layer-iframe","layui-layer-content","layui-layer-btn","layui-layer-close"];l.anim=["layer-anim-00","layer-anim-01","layer-anim-02","layer-anim-03","layer-anim-04","layer-anim-05","layer-anim-06"],s.pt.config={type:0,shade:.3,fixed:!0,move:l[1],title:"信息",offset:"auto",area:"auto",closeBtn:1,time:0,zIndex:19891014,maxWidth:360,anim:0,isOutAnim:!0,icon:-1,moveType:1,resize:!0,scrollbar:!0,tips:2},s.pt.vessel=function(e,t){var n=this,a=n.index,r=n.config,s=r.zIndex+a,f="object"==typeof r.title,c=r.maxmin&&(1===r.type||2===r.type),u=r.title?'<div class="layui-layer-title" style="'+(f?r.title[1]:"")+'">'+(f?r.title[0]:r.title)+"</div>":"";return r.zIndex=s,t([r.shade?'<div class="layui-layer-shade" id="layui-layer-shade'+a+'" times="'+a+'" style="'+("z-index:"+(s-1)+"; ")+'"></div>':"",'<div class="'+l[0]+(" layui-layer-"+o.type[r.type])+(0!=r.type&&2!=r.type||r.shade?"":" layui-layer-border")+" "+(r.skin||"")+'" id="'+l[0]+a+'" type="'+o.type[r.type]+'" times="'+a+'" showtime="'+r.time+'" conType="'+(e?"object":"string")+'" style="z-index: '+s+"; width:"+r.area[0]+";height:"+r.area[1]+(r.fixed?"":";position:absolute;")+'">'+(e&&2!=r.type?"":u)+'<div id="'+(r.id||"")+'" class="layui-layer-content'+(0==r.type&&r.icon!==-1?" layui-layer-padding":"")+(3==r.type?" layui-layer-loading"+r.icon:"")+'">'+(0==r.type&&r.icon!==-1?'<i class="layui-layer-ico layui-layer-ico'+r.icon+'"></i>':"")+(1==r.type&&e?"":r.content||"")+'</div><span class="layui-layer-setwin">'+function(){var e=c?'<a class="layui-layer-min" href="javascript:;"><cite></cite></a><a class="layui-layer-ico layui-layer-max" href="javascript:;"></a>':"";return r.closeBtn&&(e+='<a class="layui-layer-ico '+l[7]+" "+l[7]+(r.title?r.closeBtn:4==r.type?"1":"2")+'" href="javascript:;"></a>'),e}()+"</span>"+(r.btn?function(){var e="";"string"==typeof r.btn&&(r.btn=[r.btn]);for(var t=0,i=r.btn.length;t<i;t++)e+='<a class="'+l[6]+t+'">'+r.btn[t]+"</a>";return'<div class="'+l[6]+" layui-layer-btn-"+(r.btnAlign||"")+'">'+e+"</div>"}():"")+(r.resize?'<span class="layui-layer-resize"></span>':"")+"</div>"],u,i('<div class="layui-layer-move"></div>')),n},s.pt.creat=function(){var e=this,t=e.config,a=e.index,s=t.content,f="object"==typeof s,c=i("body");if(!t.id||!i("#"+t.id)[0]){switch("string"==typeof t.area&&(t.area="auto"===t.area?["",""]:[t.area,""]),t.shift&&(t.anim=t.shift),6==r.ie&&(t.fixed=!1),t.type){case 0:t.btn="btn"in t?t.btn:o.btn[0],r.closeAll("dialog");break;case 2:var s=t.content=f?t.content:[t.content||"http://layer.layui.com","auto"];t.content='<iframe scrolling="'+(t.content[1]||"auto")+'" allowtransparency="true" id="'+l[4]+a+'" name="'+l[4]+a+'" onload="this.className=\'\';" class="layui-layer-load" frameborder="0" src="'+t.content[0]+'"></iframe>';break;case 3:delete t.title,delete t.closeBtn,t.icon===-1&&0===t.icon,r.closeAll("loading");break;case 4:f||(t.content=[t.content,"body"]),t.follow=t.content[1],t.content=t.content[0]+'<i class="layui-layer-TipsG"></i>',delete t.title,t.tips="object"==typeof t.tips?t.tips:[t.tips,!0],t.tipsMore||r.closeAll("tips")}if(e.vessel(f,function(n,r,u){c.append(n[0]),f?function(){2==t.type||4==t.type?function(){i("body").append(n[1])}():function(){s.parents("."+l[0])[0]||(s.data("display",s.css("display")).show().addClass("layui-layer-wrap").wrap(n[1]),i("#"+l[0]+a).find("."+l[5]).before(r))}()}():c.append(n[1]),i(".layui-layer-move")[0]||c.append(o.moveElem=u),e.layero=i("#"+l[0]+a),t.scrollbar||l.html.css("overflow","hidden").attr("layer-full",a)}).auto(a),i("#layui-layer-shade"+e.index).css({"background-color":t.shade[1]||"#000",opacity:t.shade[0]||t.shade}),2==t.type&&6==r.ie&&e.layero.find("iframe").attr("src",s[0]),4==t.type?e.tips():e.offset(),t.fixed&&n.on("resize",function(){e.offset(),(/^\d+%$/.test(t.area[0])||/^\d+%$/.test(t.area[1]))&&e.auto(a),4==t.type&&e.tips()}),t.time<=0||setTimeout(function(){r.close(e.index)},t.time),e.move().callback(),l.anim[t.anim]){var u="layer-anim "+l.anim[t.anim];e.layero.addClass(u).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){i(this).removeClass(u)})}t.isOutAnim&&e.layero.data("isOutAnim",!0)}},s.pt.auto=function(e){var t=this,a=t.config,o=i("#"+l[0]+e);""===a.area[0]&&a.maxWidth>0&&(r.ie&&r.ie<8&&a.btn&&o.width(o.innerWidth()),o.outerWidth()>a.maxWidth&&o.width(a.maxWidth));var s=[o.innerWidth(),o.innerHeight()],f=o.find(l[1]).outerHeight()||0,c=o.find("."+l[6]).outerHeight()||0,u=function(e){e=o.find(e),e.height(s[1]-f-c-2*(0|parseFloat(e.css("padding-top"))))};switch(a.type){case 2:u("iframe");break;default:""===a.area[1]?a.maxHeight>0&&o.outerHeight()>a.maxHeight?(s[1]=a.maxHeight,u("."+l[5])):a.fixed&&s[1]>=n.height()&&(s[1]=n.height(),u("."+l[5])):u("."+l[5])}return t},s.pt.offset=function(){var e=this,t=e.config,i=e.layero,a=[i.outerWidth(),i.outerHeight()],o="object"==typeof t.offset;e.offsetTop=(n.height()-a[1])/2,e.offsetLeft=(n.width()-a[0])/2,o?(e.offsetTop=t.offset[0],e.offsetLeft=t.offset[1]||e.offsetLeft):"auto"!==t.offset&&("t"===t.offset?e.offsetTop=0:"r"===t.offset?e.offsetLeft=n.width()-a[0]:"b"===t.offset?e.offsetTop=n.height()-a[1]:"l"===t.offset?e.offsetLeft=0:"lt"===t.offset?(e.offsetTop=0,e.offsetLeft=0):"lb"===t.offset?(e.offsetTop=n.height()-a[1],e.offsetLeft=0):"rt"===t.offset?(e.offsetTop=0,e.offsetLeft=n.width()-a[0]):"rb"===t.offset?(e.offsetTop=n.height()-a[1],e.offsetLeft=n.width()-a[0]):e.offsetTop=t.offset),t.fixed||(e.offsetTop=/%$/.test(e.offsetTop)?n.height()*parseFloat(e.offsetTop)/100:parseFloat(e.offsetTop),e.offsetLeft=/%$/.test(e.offsetLeft)?n.width()*parseFloat(e.offsetLeft)/100:parseFloat(e.offsetLeft),e.offsetTop+=n.scrollTop(),e.offsetLeft+=n.scrollLeft()),i.attr("minLeft")&&(e.offsetTop=n.height()-(i.find(l[1]).outerHeight()||0),e.offsetLeft=i.css("left")),i.css({top:e.offsetTop,left:e.offsetLeft})},s.pt.tips=function(){var e=this,t=e.config,a=e.layero,o=[a.outerWidth(),a.outerHeight()],r=i(t.follow);r[0]||(r=i("body"));var s={width:r.outerWidth(),height:r.outerHeight(),top:r.offset().top,left:r.offset().left},f=a.find(".layui-layer-TipsG"),c=t.tips[0];t.tips[1]||f.remove(),s.autoLeft=function(){s.left+o[0]-n.width()>0?(s.tipLeft=s.left+s.width-o[0],f.css({right:12,left:"auto"})):s.tipLeft=s.left},s.where=[function(){s.autoLeft(),s.tipTop=s.top-o[1]-10,f.removeClass("layui-layer-TipsB").addClass("layui-layer-TipsT").css("border-right-color",t.tips[1])},function(){s.tipLeft=s.left+s.width+10,s.tipTop=s.top,f.removeClass("layui-layer-TipsL").addClass("layui-layer-TipsR").css("border-bottom-color",t.tips[1])},function(){s.autoLeft(),s.tipTop=s.top+s.height+10,f.removeClass("layui-layer-TipsT").addClass("layui-layer-TipsB").css("border-right-color",t.tips[1])},function(){s.tipLeft=s.left-o[0]-10,s.tipTop=s.top,f.removeClass("layui-layer-TipsR").addClass("layui-layer-TipsL").css("border-bottom-color",t.tips[1])}],s.where[c-1](),1===c?s.top-(n.scrollTop()+o[1]+16)<0&&s.where[2]():2===c?n.width()-(s.left+s.width+o[0]+16)>0||s.where[3]():3===c?s.top-n.scrollTop()+s.height+o[1]+16-n.height()>0&&s.where[0]():4===c&&o[0]+16-s.left>0&&s.where[1](),a.find("."+l[5]).css({"background-color":t.tips[1],"padding-right":t.closeBtn?"30px":""}),a.css({left:s.tipLeft-(t.fixed?n.scrollLeft():0),top:s.tipTop-(t.fixed?n.scrollTop():0)})},s.pt.move=function(){var e=this,t=e.config,a=i(document),s=e.layero,l=s.find(t.move),f=s.find(".layui-layer-resize"),c={};return t.move&&l.css("cursor","move"),l.on("mousedown",function(e){e.preventDefault(),t.move&&(c.moveStart=!0,c.offset=[e.clientX-parseFloat(s.css("left")),e.clientY-parseFloat(s.css("top"))],o.moveElem.css("cursor","move").show())}),f.on("mousedown",function(e){e.preventDefault(),c.resizeStart=!0,c.offset=[e.clientX,e.clientY],c.area=[s.outerWidth(),s.outerHeight()],o.moveElem.css("cursor","se-resize").show()}),a.on("mousemove",function(i){if(c.moveStart){var a=i.clientX-c.offset[0],o=i.clientY-c.offset[1],l="fixed"===s.css("position");if(i.preventDefault(),c.stX=l?0:n.scrollLeft(),c.stY=l?0:n.scrollTop(),!t.moveOut){var f=n.width()-s.outerWidth()+c.stX,u=n.height()-s.outerHeight()+c.stY;a<c.stX&&(a=c.stX),a>f&&(a=f),o<c.stY&&(o=c.stY),o>u&&(o=u)}s.css({left:a,top:o})}if(t.resize&&c.resizeStart){var a=i.clientX-c.offset[0],o=i.clientY-c.offset[1];i.preventDefault(),r.style(e.index,{width:c.area[0]+a,height:c.area[1]+o}),c.isResize=!0,t.resizing&&t.resizing(s)}}).on("mouseup",function(e){c.moveStart&&(delete c.moveStart,o.moveElem.hide(),t.moveEnd&&t.moveEnd(s)),c.resizeStart&&(delete c.resizeStart,o.moveElem.hide())}),e},s.pt.callback=function(){function e(){var e=a.cancel&&a.cancel(t.index,n);e===!1||r.close(t.index)}var t=this,n=t.layero,a=t.config;t.openLayer(),a.success&&(2==a.type?n.find("iframe").on("load",function(){a.success(n,t.index)}):a.success(n,t.index)),6==r.ie&&t.IE6(n),n.find("."+l[6]).children("a").on("click",function(){var e=i(this).index();if(0===e)a.yes?a.yes(t.index,n):a.btn1?a.btn1(t.index,n):r.close(t.index);else{var o=a["btn"+(e+1)]&&a["btn"+(e+1)](t.index,n);o===!1||r.close(t.index)}}),n.find("."+l[7]).on("click",e),a.shadeClose&&i("#layui-layer-shade"+t.index).on("click",function(){r.close(t.index)}),n.find(".layui-layer-min").on("click",function(){var e=a.min&&a.min(n);e===!1||r.min(t.index,a)}),n.find(".layui-layer-max").on("click",function(){i(this).hasClass("layui-layer-maxmin")?(r.restore(t.index),a.restore&&a.restore(n)):(r.full(t.index,a),setTimeout(function(){a.full&&a.full(n)},100))}),a.end&&(o.end[t.index]=a.end)},o.reselect=function(){i.each(i("select"),function(e,t){var n=i(this);n.parents("."+l[0])[0]||1==n.attr("layer")&&i("."+l[0]).length<1&&n.removeAttr("layer").show(),n=null})},s.pt.IE6=function(e){i("select").each(function(e,t){var n=i(this);n.parents("."+l[0])[0]||"none"===n.css("display")||n.attr({layer:"1"}).hide(),n=null})},s.pt.openLayer=function(){var e=this;r.zIndex=e.config.zIndex,r.setTop=function(e){var t=function(){r.zIndex++,e.css("z-index",r.zIndex+1)};return r.zIndex=parseInt(e[0].style.zIndex),e.on("mousedown",t),r.zIndex}},o.record=function(e){var t=[e.width(),e.height(),e.position().top,e.position().left+parseFloat(e.css("margin-left"))];e.find(".layui-layer-max").addClass("layui-layer-maxmin"),e.attr({area:t})},o.rescollbar=function(e){l.html.attr("layer-full")==e&&(l.html[0].style.removeProperty?l.html[0].style.removeProperty("overflow"):l.html[0].style.removeAttribute("overflow"),l.html.removeAttr("layer-full"))},e.layer=r,r.getChildFrame=function(e,t){return t=t||i("."+l[4]).attr("times"),i("#"+l[0]+t).find("iframe").contents().find(e)},r.getFrameIndex=function(e){return i("#"+e).parents("."+l[4]).attr("times")},r.iframeAuto=function(e){if(e){var t=r.getChildFrame("html",e).outerHeight(),n=i("#"+l[0]+e),a=n.find(l[1]).outerHeight()||0,o=n.find("."+l[6]).outerHeight()||0;n.css({height:t+a+o}),n.find("iframe").css({height:t})}},r.iframeSrc=function(e,t){i("#"+l[0]+e).find("iframe").attr("src",t)},r.style=function(e,t,n){var a=i("#"+l[0]+e),r=a.find(".layui-layer-content"),s=a.attr("type"),f=a.find(l[1]).outerHeight()||0,c=a.find("."+l[6]).outerHeight()||0;a.attr("minLeft");s!==o.type[3]&&s!==o.type[4]&&(n||(parseFloat(t.width)<=260&&(t.width=260),parseFloat(t.height)-f-c<=64&&(t.height=64+f+c)),a.css(t),c=a.find("."+l[6]).outerHeight(),s===o.type[2]?a.find("iframe").css({height:parseFloat(t.height)-f-c}):r.css({height:parseFloat(t.height)-f-c-parseFloat(r.css("padding-top"))-parseFloat(r.css("padding-bottom"))}))},r.min=function(e,t){var a=i("#"+l[0]+e),s=a.find(l[1]).outerHeight()||0,f=a.attr("minLeft")||181*o.minIndex+"px",c=a.css("position");o.record(a),o.minLeft[0]&&(f=o.minLeft[0],o.minLeft.shift()),a.attr("position",c),r.style(e,{width:180,height:s,left:f,top:n.height()-s,position:"fixed",overflow:"hidden"},!0),a.find(".layui-layer-min").hide(),"page"===a.attr("type")&&a.find(l[4]).hide(),o.rescollbar(e),a.attr("minLeft")||o.minIndex++,a.attr("minLeft",f)},r.restore=function(e){var t=i("#"+l[0]+e),n=t.attr("area").split(",");t.attr("type");r.style(e,{width:parseFloat(n[0]),height:parseFloat(n[1]),top:parseFloat(n[2]),left:parseFloat(n[3]),position:t.attr("position"),overflow:"visible"},!0),t.find(".layui-layer-max").removeClass("layui-layer-maxmin"),t.find(".layui-layer-min").show(),"page"===t.attr("type")&&t.find(l[4]).show(),o.rescollbar(e)},r.full=function(e){var t,a=i("#"+l[0]+e);o.record(a),l.html.attr("layer-full")||l.html.css("overflow","hidden").attr("layer-full",e),clearTimeout(t),t=setTimeout(function(){var t="fixed"===a.css("position");r.style(e,{top:t?0:n.scrollTop(),left:t?0:n.scrollLeft(),width:n.width(),height:n.height()},!0),a.find(".layui-layer-min").hide()},100)},r.title=function(e,t){var n=i("#"+l[0]+(t||r.index)).find(l[1]);n.html(e)},r.close=function(e){var t=i("#"+l[0]+e),n=t.attr("type"),a="layer-anim-close";if(t[0]){var s="layui-layer-wrap",f=function(){if(n===o.type[1]&&"object"===t.attr("conType")){t.children(":not(."+l[5]+")").remove();for(var a=t.find("."+s),r=0;r<2;r++)a.unwrap();a.css("display",a.data("display")).removeClass(s)}else{if(n===o.type[2])try{var f=i("#"+l[4]+e)[0];f.contentWindow.document.write(""),f.contentWindow.close(),t.find("."+l[5])[0].removeChild(f)}catch(c){}t[0].innerHTML="",t.remove()}"function"==typeof o.end[e]&&o.end[e](),delete o.end[e]};t.data("isOutAnim")&&t.addClass("layer-anim "+a),i("#layui-layer-moves, #layui-layer-shade"+e).remove(),6==r.ie&&o.reselect(),o.rescollbar(e),t.attr("minLeft")&&(o.minIndex--,o.minLeft.push(t.attr("minLeft"))),r.ie&&r.ie<10||!t.data("isOutAnim")?f():setTimeout(function(){f()},200)}},r.closeAll=function(e){i.each(i("."+l[0]),function(){var t=i(this),n=e?t.attr("type")===e:1;n&&r.close(t.attr("times")),n=null})};var f=r.cache||{},c=function(e){return f.skin?" "+f.skin+" "+f.skin+"-"+e:""};r.prompt=function(e,t){var a="";if(e=e||{},"function"==typeof e&&(t=e),e.area){var o=e.area;a='style="width: '+o[0]+"; height: "+o[1]+';"',delete e.area}var s,l=2==e.formType?'<textarea class="layui-layer-input"'+a+"></textarea>":function(){return'<input type="'+(1==e.formType?"password":"text")+'" class="layui-layer-input">'}(),f=e.success;return delete e.success,r.open(i.extend({type:1,btn:["确定","取消"],content:l,skin:"layui-layer-prompt"+c("prompt"),maxWidth:n.width(),success:function(t){s=t.find(".layui-layer-input"),s.val(e.value||"").focus(),"function"==typeof f&&f(t)},resize:!1,yes:function(i){var n=s.val();""===n?s.focus():n.length>(e.maxlength||500)?r.tips("最多输入"+(e.maxlength||500)+"个字数",s,{tips:1}):t&&t(n,i,s)}},e))},r.tab=function(e){e=e||{};var t=e.tab||{},n="layui-this",a=e.success;return delete e.success,r.open(i.extend({type:1,skin:"layui-layer-tab"+c("tab"),resize:!1,title:function(){var e=t.length,i=1,a="";if(e>0)for(a='<span class="'+n+'">'+t[0].title+"</span>";i<e;i++)a+="<span>"+t[i].title+"</span>";return a}(),content:'<ul class="layui-layer-tabmain">'+function(){var e=t.length,i=1,a="";if(e>0)for(a='<li class="layui-layer-tabli '+n+'">'+(t[0].content||"no content")+"</li>";i<e;i++)a+='<li class="layui-layer-tabli">'+(t[i].content||"no content")+"</li>";return a}()+"</ul>",success:function(t){var o=t.find(".layui-layer-title").children(),r=t.find(".layui-layer-tabmain").children();o.on("mousedown",function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0;var a=i(this),o=a.index();a.addClass(n).siblings().removeClass(n),r.eq(o).show().siblings().hide(),"function"==typeof e.change&&e.change(o)}),"function"==typeof a&&a(t)}},e))},r.photos=function(t,n,a){function o(e,t,i){var n=new Image;return n.src=e,n.complete?t(n):(n.onload=function(){n.onload=null,t(n)},void(n.onerror=function(e){n.onerror=null,i(e)}))}var s={};if(t=t||{},t.photos){var l=t.photos.constructor===Object,f=l?t.photos:{},u=f.data||[],d=f.start||0;s.imgIndex=(0|d)+1,t.img=t.img||"img";var y=t.success;if(delete t.success,l){if(0===u.length)return r.msg("没有图片")}else{var p=i(t.photos),h=function(){u=[],p.find(t.img).each(function(e){var t=i(this);t.attr("layer-index",e),u.push({alt:t.attr("alt"),pid:t.attr("layer-pid"),src:t.attr("layer-src")||t.attr("src"),thumb:t.attr("src")})})};if(h(),0===u.length)return;if(n||p.on("click",t.img,function(){var e=i(this),n=e.attr("layer-index");r.photos(i.extend(t,{photos:{start:n,data:u,tab:t.tab},full:t.full}),!0),h()}),!n)return}s.imgprev=function(e){s.imgIndex--,s.imgIndex<1&&(s.imgIndex=u.length),s.tabimg(e)},s.imgnext=function(e,t){s.imgIndex++,s.imgIndex>u.length&&(s.imgIndex=1,t)||s.tabimg(e)},s.keyup=function(e){if(!s.end){var t=e.keyCode;e.preventDefault(),37===t?s.imgprev(!0):39===t?s.imgnext(!0):27===t&&r.close(s.index)}},s.tabimg=function(e){if(!(u.length<=1))return f.start=s.imgIndex-1,r.close(s.index),r.photos(t,!0,e)},s.event=function(){s.bigimg.hover(function(){s.imgsee.show()},function(){s.imgsee.hide()}),s.bigimg.find(".layui-layer-imgprev").on("click",function(e){e.preventDefault(),s.imgprev()}),s.bigimg.find(".layui-layer-imgnext").on("click",function(e){e.preventDefault(),s.imgnext()}),i(document).on("keyup",s.keyup)},s.loadi=r.load(1,{shade:!("shade"in t)&&.9,scrollbar:!1}),o(u[d].src,function(n){r.close(s.loadi),s.index=r.open(i.extend({type:1,id:"layui-layer-photos",area:function(){var a=[n.width,n.height],o=[i(e).width()-100,i(e).height()-100];if(!t.full&&(a[0]>o[0]||a[1]>o[1])){var r=[a[0]/o[0],a[1]/o[1]];r[0]>r[1]?(a[0]=a[0]/r[0],a[1]=a[1]/r[0]):r[0]<r[1]&&(a[0]=a[0]/r[1],a[1]=a[1]/r[1])}return[a[0]+"px",a[1]+"px"]}(),title:!1,shade:.9,shadeClose:!0,closeBtn:!1,move:".layui-layer-phimg img",moveType:1,scrollbar:!1,moveOut:!0,isOutAnim:!1,skin:"layui-layer-photos"+c("photos"),content:'<div class="layui-layer-phimg"><img src="'+u[d].src+'" alt="'+(u[d].alt||"")+'" layer-pid="'+u[d].pid+'"><div class="layui-layer-imgsee">'+(u.length>1?'<span class="layui-layer-imguide"><a href="javascript:;" class="layui-layer-iconext layui-layer-imgprev"></a><a href="javascript:;" class="layui-layer-iconext layui-layer-imgnext"></a></span>':"")+'<div class="layui-layer-imgbar" style="display:'+(a?"block":"")+'"><span class="layui-layer-imgtit"><a href="javascript:;">'+(u[d].alt||"")+"</a><em>"+s.imgIndex+"/"+u.length+"</em></span></div></div></div>",success:function(e,i){s.bigimg=e.find(".layui-layer-phimg"),s.imgsee=e.find(".layui-layer-imguide,.layui-layer-imgbar"),s.event(e),t.tab&&t.tab(u[d],e),"function"==typeof y&&y(e)},end:function(){s.end=!0,i(document).off("keyup",s.keyup)}},t))},function(){r.close(s.loadi),r.msg("当前图片地址异常<br>是否继续查看下一张?",{time:3e4,btn:["下一张","不看了"],yes:function(){u.length>1&&s.imgnext(!0,!0)}})})}},o.run=function(t){i=t,n=i(e),l.html=i("html"),r.open=function(e){var t=new s(e);return t.index}},e.layui&&layui.define?(r.ready(),layui.define("jquery",function(t){r.path=layui.cache.dir,o.run(layui.$),e.layer=r,t("layer",r)})):"function"==typeof define&&define.amd?define(["jquery"],function(){return o.run(e.jQuery),r}):function(){o.run(e.jQuery),r.ready()}()}(window);layui.define("jquery",function(t){"use strict";var a=layui.$,i=(layui.hint(),layui.device()),e="element",l="layui-this",n="layui-show",s=function(){this.config={}};s.prototype.set=function(t){var i=this;return a.extend(!0,i.config,t),i},s.prototype.on=function(t,a){return layui.onevent.call(this,e,t,a)},s.prototype.tabAdd=function(t,i){var e=".layui-tab-title",l=a(".layui-tab[lay-filter="+t+"]"),n=l.children(e),s=n.children(".layui-tab-bar"),o=l.children(".layui-tab-content"),r='<li lay-id="'+(i.id||"")+'"'+(i.attr?' lay-attr="'+i.attr+'"':"")+">"+(i.title||"unnaming")+"</li>";return s[0]?s.before(r):n.append(r),o.append('<div class="layui-tab-item">'+(i.content||"")+"</div>"),f.hideTabMore(!0),f.tabAuto(),this},s.prototype.tabDelete=function(t,i){var e=".layui-tab-title",l=a(".layui-tab[lay-filter="+t+"]"),n=l.children(e),s=n.find('>li[lay-id="'+i+'"]');return f.tabDelete(null,s),this},s.prototype.tabChange=function(t,i){var e=".layui-tab-title",l=a(".layui-tab[lay-filter="+t+"]"),n=l.children(e),s=n.find('>li[lay-id="'+i+'"]');return f.tabClick.call(s[0],null,null,s),this},s.prototype.tab=function(t){t=t||{},b.on("click",t.headerElem,function(i){var e=a(this).index();f.tabClick.call(this,i,e,null,t)})},s.prototype.progress=function(t,i){var e="layui-progress",l=a("."+e+"[lay-filter="+t+"]"),n=l.find("."+e+"-bar"),s=n.find("."+e+"-text");return n.css("width",i),s.text(i),this};var o=".layui-nav",r="layui-nav-item",c="layui-nav-bar",u="layui-nav-tree",d="layui-nav-child",y="layui-nav-more",h="layui-anim layui-anim-upbit",f={tabClick:function(t,i,s,o){o=o||{};var r=s||a(this),i=i||r.parent().children("li").index(r),c=o.headerElem?r.parent():r.parents(".layui-tab").eq(0),u=o.bodyElem?a(o.bodyElem):c.children(".layui-tab-content").children(".layui-tab-item"),d=r.find("a"),y=c.attr("lay-filter");"javascript:;"!==d.attr("href")&&"_blank"===d.attr("target")||(r.addClass(l).siblings().removeClass(l),u.eq(i).addClass(n).siblings().removeClass(n)),layui.event.call(this,e,"tab("+y+")",{elem:c,index:i})},tabDelete:function(t,i){var n=i||a(this).parent(),s=n.index(),o=n.parents(".layui-tab").eq(0),r=o.children(".layui-tab-content").children(".layui-tab-item"),c=o.attr("lay-filter");n.hasClass(l)&&(n.next()[0]?f.tabClick.call(n.next()[0],null,s+1):n.prev()[0]&&f.tabClick.call(n.prev()[0],null,s-1)),n.remove(),r.eq(s).remove(),setTimeout(function(){f.tabAuto()},50),layui.event.call(this,e,"tabDelete("+c+")",{elem:o,index:s})},tabAuto:function(){var t="layui-tab-more",e="layui-tab-bar",l="layui-tab-close",n=this;a(".layui-tab").each(function(){var s=a(this),o=s.children(".layui-tab-title"),r=(s.children(".layui-tab-content").children(".layui-tab-item"),'lay-stope="tabmore"'),c=a('<span class="layui-unselect layui-tab-bar" '+r+"><i "+r+' class="layui-icon"></i></span>');if(n===window&&8!=i.ie&&f.hideTabMore(!0),s.attr("lay-allowClose")&&o.find("li").each(function(){var t=a(this);if(!t.find("."+l)[0]){var i=a('<i class="layui-icon layui-unselect '+l+'">ဆ</i>');i.on("click",f.tabDelete),t.append(i)}}),"string"!=typeof s.attr("lay-unauto"))if(o.prop("scrollWidth")>o.outerWidth()+1){if(o.find("."+e)[0])return;o.append(c),s.attr("overflow",""),c.on("click",function(a){o[this.title?"removeClass":"addClass"](t),this.title=this.title?"":"鏀剁缉"})}else o.find("."+e).remove(),s.removeAttr("overflow")})},hideTabMore:function(t){var i=a(".layui-tab-title");t!==!0&&"tabmore"===a(t.target).attr("lay-stope")||(i.removeClass("layui-tab-more"),i.find(".layui-tab-bar").attr("title",""))},clickThis:function(){var t=a(this),i=t.parents(o),n=i.attr("lay-filter"),s=t.parent(),c=t.siblings("."+d),y="string"==typeof s.attr("lay-unselect");"javascript:;"!==t.attr("href")&&"_blank"===t.attr("target")||y||c[0]||(i.find("."+l).removeClass(l),s.addClass(l)),i.hasClass(u)&&(c.removeClass(h),c[0]&&(s["none"===c.css("display")?"addClass":"removeClass"](r+"ed"),"all"===i.attr("lay-shrink")&&s.siblings().removeClass(r+"ed"))),layui.event.call(this,e,"nav("+n+")",t)},collapse:function(){var t=a(this),i=t.find(".layui-colla-icon"),l=t.siblings(".layui-colla-content"),s=t.parents(".layui-collapse").eq(0),o=s.attr("lay-filter"),r="none"===l.css("display");if("string"==typeof s.attr("lay-accordion")){var c=s.children(".layui-colla-item").children("."+n);c.siblings(".layui-colla-title").children(".layui-colla-icon").html(""),c.removeClass(n)}l[r?"addClass":"removeClass"](n),i.html(r?"":""),layui.event.call(this,e,"collapse("+o+")",{title:t,content:l,show:r})}};s.prototype.init=function(t,e){var l=function(){return e?'[lay-filter="'+e+'"]':""}(),s={tab:function(){f.tabAuto.call({})},nav:function(){var t=200,e={},s={},p={},b=function(l,o,r){var c=a(this),f=c.find("."+d);o.hasClass(u)?l.css({top:c.position().top,height:c.children("a").outerHeight(),opacity:1}):(f.addClass(h),l.css({left:c.position().left+parseFloat(c.css("marginLeft")),top:c.position().top+c.height()-l.height()}),e[r]=setTimeout(function(){l.css({width:c.width(),opacity:1})},i.ie&&i.ie<10?0:t),clearTimeout(p[r]),"block"===f.css("display")&&clearTimeout(s[r]),s[r]=setTimeout(function(){f.addClass(n),c.find("."+y).addClass(y+"d")},300))};a(o+l).each(function(i){var l=a(this),o=a('<span class="'+c+'"></span>'),h=l.find("."+r);l.find("."+c)[0]||(l.append(o),h.on("mouseenter",function(){b.call(this,o,l,i)}).on("mouseleave",function(){l.hasClass(u)||(clearTimeout(s[i]),s[i]=setTimeout(function(){l.find("."+d).removeClass(n),l.find("."+y).removeClass(y+"d")},300))}),l.on("mouseleave",function(){clearTimeout(e[i]),p[i]=setTimeout(function(){l.hasClass(u)?o.css({height:0,top:o.position().top+o.height()/2,opacity:0}):o.css({width:0,left:o.position().left+o.width()/2,opacity:0})},t)})),h.find("a").each(function(){var t=a(this),i=(t.parent(),t.siblings("."+d));i[0]&&!t.children("."+y)[0]&&t.append('<span class="'+y+'"></span>'),t.off("click",f.clickThis).on("click",f.clickThis)})})},breadcrumb:function(){var t=".layui-breadcrumb";a(t+l).each(function(){var t=a(this),i="lay-separator",e=t.attr(i)||"/",l=t.find("a");l.next("span["+i+"]")[0]||(l.each(function(t){t!==l.length-1&&a(this).after("<span "+i+">"+e+"</span>")}),t.css("visibility","visible"))})},progress:function(){var t="layui-progress";a("."+t+l).each(function(){var i=a(this),e=i.find(".layui-progress-bar"),l=e.attr("lay-percent");e.css("width",function(){return/^.+\/.+$/.test(l)?100*new Function("return "+l)()+"%":l}()),i.attr("lay-showPercent")&&setTimeout(function(){e.html('<span class="'+t+'-text">'+l+"</span>")},350)})},collapse:function(){var t="layui-collapse";a("."+t+l).each(function(){var t=a(this).find(".layui-colla-item");t.each(function(){var t=a(this),i=t.find(".layui-colla-title"),e=t.find(".layui-colla-content"),l="none"===e.css("display");i.find(".layui-colla-icon").remove(),i.append('<i class="layui-icon layui-colla-icon">'+(l?"":"")+"</i>"),i.off("click",f.collapse).on("click",f.collapse)})})}};return s[t]?s[t]():layui.each(s,function(t,a){a()})},s.prototype.render=s.prototype.init;var p=new s,b=a(document);p.render();var v=".layui-tab-title li";b.on("click",v,f.tabClick),b.on("click",f.hideTabMore),a(window).on("resize",f.tabAuto),t(e,p)});layui.define("layer",function(e){"use strict";var i=layui.$,t=layui.layer,n=layui.hint(),a=layui.device(),o={config:{},set:function(e){var t=this;return t.config=i.extend({},t.config,e),t},on:function(e,i){return layui.onevent.call(this,r,e,i)}},l=function(){var e=this;return{upload:function(i){e.upload.call(e,i)},config:e.config}},r="upload",u="layui-upload-file",c="layui-upload-form",f="layui-upload-iframe",s="layui-upload-choose",p=function(e){var t=this;t.config=i.extend({},t.config,o.config,e),t.render()};p.prototype.config={accept:"images",exts:"",auto:!0,bindAction:"",url:"",field:"file",method:"post",data:{},drag:!0,size:0,number:0,multiple:!1},p.prototype.render=function(e){var t=this,e=t.config;e.elem=i(e.elem),e.bindAction=i(e.bindAction),t.file(),t.events()},p.prototype.file=function(){var e=this,t=e.config,n=e.elemFile=i(['<input class="'+u+'" type="file" accept="'+t.acceptMime+'" name="'+t.field+'"',t.multiple?" multiple":"",">"].join("")),o=t.elem.next();(o.hasClass(u)||o.hasClass(c))&&o.remove(),a.ie&&a.ie<10&&t.elem.wrap('<div class="layui-upload-wrap"></div>'),e.isFile()?(e.elemFile=t.elem,t.field=t.elem[0].name):t.elem.after(n),a.ie&&a.ie<10&&e.initIE()},p.prototype.initIE=function(){var e=this,t=e.config,n=i('<iframe id="'+f+'" class="'+f+'" name="'+f+'" frameborder="0"></iframe>'),a=i(['<form target="'+f+'" class="'+c+'" method="'+t.method,'" key="set-mine" enctype="multipart/form-data" action="'+t.url+'">',"</form>"].join(""));i("#"+f)[0]||i("body").append(n),t.elem.next().hasClass(c)||(e.elemFile.wrap(a),t.elem.next("."+c).append(function(){var e=[];return layui.each(t.data,function(i,t){t="function"==typeof t?t():t,e.push('<input type="hidden" name="'+i+'" value="'+t+'">')}),e.join("")}()))},p.prototype.msg=function(e){return t.msg(e,{icon:2,shift:6})},p.prototype.isFile=function(){var e=this.config.elem[0];if(e)return"input"===e.tagName.toLocaleLowerCase()&&"file"===e.type},p.prototype.preview=function(e){var i=this;window.FileReader&&layui.each(i.chooseFiles,function(i,t){var n=new FileReader;n.readAsDataURL(t),n.onload=function(){e&&e(i,t,this.result)}})},p.prototype.upload=function(e,t){var n,o=this,l=o.config,r=o.elemFile[0],u=function(){var t=0,n=0,a=e||o.files||o.chooseFiles||r.files,u=function(){l.multiple&&t+n===o.fileLength&&"function"==typeof l.allDone&&l.allDone({total:o.fileLength,successful:t,aborted:n})};layui.each(a,function(e,a){var r=new FormData;r.append(l.field,a),layui.each(l.data,function(e,i){i="function"==typeof i?i():i,r.append(e,i)}),i.ajax({url:l.url,type:l.method,data:r,contentType:!1,processData:!1,dataType:"json",headers:l.headers||{},success:function(i){t++,d(e,i),u()},error:function(){n++,o.msg("璇锋眰涓婁紶鎺ュ彛鍑虹幇寮傚父"),m(e),u()}})})},c=function(){var e=i("#"+f);o.elemFile.parent().submit(),clearInterval(p.timer),p.timer=setInterval(function(){var i,t=e.contents().find("body");try{i=t.text()}catch(n){o.msg("鑾峰彇涓婁紶鍚庣殑鍝嶅簲淇℃伅鍑虹幇寮傚父"),clearInterval(p.timer),m()}i&&(clearInterval(p.timer),t.html(""),d(0,i))},30)},d=function(e,i){if(o.elemFile.next("."+s).remove(),r.value="","object"!=typeof i)try{i=JSON.parse(i)}catch(t){return i={},o.msg("璇峰涓婁紶鎺ュ彛杩斿洖鏈夋晥JSON")}"function"==typeof l.done&&l.done(i,e||0,function(e){o.upload(e)})},m=function(e){l.auto&&(r.value=""),"function"==typeof l.error&&l.error(e||0,function(e){o.upload(e)})},h=l.exts,v=function(){var i=[];return layui.each(e||o.chooseFiles,function(e,t){i.push(t.name)}),i}(),g={preview:function(e){o.preview(e)},upload:function(e,i){var t={};t[e]=i,o.upload(t)},pushFile:function(){return o.files=o.files||{},layui.each(o.chooseFiles,function(e,i){o.files[e]=i}),o.files},resetFile:function(e,i,t){var n=new File([i],t);o.files=o.files||{},o.files[e]=n}},y=function(){if("choose"!==t&&!l.auto||(l.choose&&l.choose(g),"choose"!==t))return l.before&&l.before(g),a.ie?a.ie>9?u():c():void u()};if(v=0===v.length?r.value.match(/[^\/\\]+\..+/g)||[]||"":v,0!==v.length){switch(l.accept){case"file":if(h&&!RegExp("\\w\\.("+h+")$","i").test(escape(v)))return o.msg("閫夋嫨鐨勬枃浠朵腑鍖呭惈涓嶆敮鎸佺殑鏍煎紡"),r.value="";break;case"video":if(!RegExp("\\w\\.("+(h||"avi|mp4|wma|rmvb|rm|flash|3gp|flv")+")$","i").test(escape(v)))return o.msg("閫夋嫨鐨勮棰戜腑鍖呭惈涓嶆敮鎸佺殑鏍煎紡"),r.value="";break;case"audio":if(!RegExp("\\w\\.("+(h||"mp3|wav|mid")+")$","i").test(escape(v)))return o.msg("閫夋嫨鐨勯煶棰戜腑鍖呭惈涓嶆敮鎸佺殑鏍煎紡"),r.value="";break;default:if(layui.each(v,function(e,i){RegExp("\\w\\.("+(h||"jpg|png|gif|bmp|jpeg$")+")","i").test(escape(i))||(n=!0)}),n)return o.msg("閫夋嫨鐨勫浘鐗囦腑鍖呭惈涓嶆敮鎸佺殑鏍煎紡"),r.value=""}if(o.fileLength=function(){var i=0,t=e||o.files||o.chooseFiles||r.files;return layui.each(t,function(){i++}),i}(),l.number&&o.fileLength>l.number)return o.msg("鍚屾椂鏈�澶氬彧鑳戒笂浼犵殑鏁伴噺涓猴細"+l.number);if(l.size>0&&!(a.ie&&a.ie<10)){var F;if(layui.each(o.chooseFiles,function(e,i){if(i.size>1024*l.size){var t=l.size/1024;t=t>=1?t.toFixed(2)+"MB":l.size+"KB",r.value="",F=t}}),F)return o.msg("鏂囦欢涓嶈兘瓒呰繃"+F)}y()}},p.prototype.events=function(){var e=this,t=e.config,o=function(i){e.chooseFiles={},layui.each(i,function(i,t){var n=(new Date).getTime();e.chooseFiles[n+"-"+i]=t})},l=function(i,n){var a=e.elemFile,o=i.length>1?i.length+"涓枃浠�":(i[0]||{}).name||a[0].value.match(/[^\/\\]+\..+/g)||[]||"";a.next().hasClass(s)&&a.next().remove(),e.upload(null,"choose"),e.isFile()||t.choose||a.after('<span class="layui-inline '+s+'">'+o+"</span>")};t.elem.off("upload.start").on("upload.start",function(){var a=i(this),o=a.attr("lay-data");if(o)try{o=new Function("return "+o)(),e.config=i.extend({},t,o)}catch(l){n.error("Upload element property lay-data configuration item has a syntax error: "+o)}e.config.item=a,e.elemFile[0].click()}),a.ie&&a.ie<10||t.elem.off("upload.over").on("upload.over",function(){var e=i(this);e.attr("lay-over","")}).off("upload.leave").on("upload.leave",function(){var e=i(this);e.removeAttr("lay-over")}).off("upload.drop").on("upload.drop",function(n,a){var r=i(this),u=a.originalEvent.dataTransfer.files||[];r.removeAttr("lay-over"),o(u),t.auto?e.upload(u):l(u)}),e.elemFile.off("upload.change").on("upload.change",function(){var i=this.files||[];o(i),t.auto?e.upload():l(i)}),t.bindAction.off("upload.action").on("upload.action",function(){e.upload()}),t.elem.data("haveEvents")||(e.elemFile.on("change",function(){i(this).trigger("upload.change")}),t.elem.on("click",function(){e.isFile()||i(this).trigger("upload.start")}),t.drag&&t.elem.on("dragover",function(e){e.preventDefault(),i(this).trigger("upload.over")}).on("dragleave",function(e){i(this).trigger("upload.leave")}).on("drop",function(e){e.preventDefault(),i(this).trigger("upload.drop",e)}),t.bindAction.on("click",function(){i(this).trigger("upload.action")}),t.elem.data("haveEvents",!0))},o.render=function(e){var i=new p(e);return l.call(i)},e(r,o)});layui.define("layer",function(e){"use strict";var i=layui.$,t=layui.layer,a=layui.hint(),n=layui.device(),l="form",r=".layui-form",s="layui-this",o="layui-hide",c="layui-disabled",u=function(){this.config={verify:{required:[/[\S]+/,"蹇呭~椤逛笉鑳戒负绌�"],phone:[/^1\d{10}$/,"璇疯緭鍏ユ纭殑鎵嬫満鍙�"],email:[/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/,"閭鏍煎紡涓嶆纭�"],url:[/(^#)|(^http(s*):\/\/[^\s]+\.[^\s]+)/,"閾炬帴鏍煎紡涓嶆纭�"],number:function(e){if(!e||isNaN(e))return"鍙兘濉啓鏁板瓧"},date:[/^(\d{4})[-\/](\d{1}|0\d{1}|1[0-2])([-\/](\d{1}|0\d{1}|[1-2][0-9]|3[0-1]))*$/,"鏃ユ湡鏍煎紡涓嶆纭�"],identity:[/(^\d{15}$)|(^\d{17}(x|X|\d)$)/,"璇疯緭鍏ユ纭殑韬唤璇佸彿"]}}};u.prototype.set=function(e){var t=this;return i.extend(!0,t.config,e),t},u.prototype.verify=function(e){var t=this;return i.extend(!0,t.config.verify,e),t},u.prototype.on=function(e,i){return layui.onevent.call(this,l,e,i)},u.prototype.val=function(e,t){var a=i(r+'[lay-filter="'+e+'"]');a.each(function(e,a){var n=i(this);layui.each(t,function(e,i){var t,a=n.find('[name="'+e+'"]');a[0]&&(t=a[0].type,"checkbox"===t?a[0].checked=i:"radio"===t?a.each(function(){this.value===i&&(this.checked=!0)}):a.val(i))})}),f.render(null,e)},u.prototype.render=function(e,t){var n=this,u=i(r+function(){return t?'[lay-filter="'+t+'"]':""}()),d={select:function(){var e,t="璇烽�夋嫨",a="layui-form-select",n="layui-select-title",r="layui-select-none",d="",f=u.find("select"),v=function(t,l){i(t.target).parent().hasClass(n)&&!l||(i("."+a).removeClass(a+"ed "+a+"up"),e&&d&&e.val(d)),e=null},y=function(t,u,f){var y,p=i(this),m=t.find("."+n),k=m.find("input"),g=t.find("dl"),x=g.children("dd"),b=this.selectedIndex;if(!u){var C=function(){var e=t.offset().top+t.outerHeight()+5-h.scrollTop(),i=g.outerHeight();b=p[0].selectedIndex,t.addClass(a+"ed"),x.removeClass(o),y=null,x.eq(b).addClass(s).siblings().removeClass(s),e+i>h.height()&&e>=i&&t.addClass(a+"up")},w=function(e){t.removeClass(a+"ed "+a+"up"),k.blur(),y=null,e||$(k.val(),function(e){e&&(d=g.find("."+s).html(),k&&k.val(d))})};m.on("click",function(e){t.hasClass(a+"ed")?w():(v(e,!0),C()),g.find("."+r).remove()}),m.find(".layui-edge").on("click",function(){k.focus()}),k.on("keyup",function(e){var i=e.keyCode;9===i&&C()}).on("keydown",function(e){var i=e.keyCode;9===i&&w();var t=function(i,a){var n,l;if(e.preventDefault(),a=function(){return a&&a[0]?a:y&&y[0]?y:x.eq(b)}(),l=a[i](),n=a[i]("dd"),l[0]){if(y=a[i](),!n[0]||n.hasClass(c))return t(i,y);n.addClass(s).siblings().removeClass(s);var r=g.children("dd.layui-this"),o=r.position().top,u=g.height(),d=r.height();o>u&&g.scrollTop(o+g.scrollTop()-u+d-5),o<0&&g.scrollTop(o+g.scrollTop())}};38===i&&t("prev"),40===i&&t("next"),13===i&&(e.preventDefault(),g.children("dd."+s).trigger("click"))});var $=function(e,t,a){var n=0;layui.each(x,function(){var t=i(this),l=t.text(),r=l.indexOf(e)===-1;(""===e||"blur"===a?e!==l:r)&&n++,"keyup"===a&&t[r?"addClass":"removeClass"](o)});var l=n===x.length;return t(l),l},T=function(e){var i=this.value,t=e.keyCode;return 9!==t&&13!==t&&37!==t&&38!==t&&39!==t&&40!==t&&($(i,function(e){e?g.find("."+r)[0]||g.append('<p class="'+r+'">鏃犲尮閰嶉」</p>'):g.find("."+r).remove()},"keyup"),void(""===i&&g.find("."+r).remove()))};f&&k.on("keyup",T).on("blur",function(t){var a=p[0].selectedIndex;e=k,d=i(p[0].options[a]).html(),setTimeout(function(){$(k.val(),function(e){d||k.val("")},"blur")},200)}),x.on("click",function(){var e=i(this),a=e.attr("lay-value"),n=p.attr("lay-filter");return!e.hasClass(c)&&(e.hasClass("layui-select-tips")?k.val(""):(k.val(e.text()),e.addClass(s)),e.siblings().removeClass(s),p.val(a).removeClass("layui-form-danger"),layui.event.call(this,l,"select("+n+")",{elem:p[0],value:a,othis:t}),w(!0),!1)}),t.find("dl>dt").on("click",function(e){return!1}),i(document).off("click",v).on("click",v)}};f.each(function(e,l){var r=i(this),o=r.next("."+a),u=this.disabled,d=l.value,f=i(l.options[l.selectedIndex]),v=l.options[0];if("string"==typeof r.attr("lay-ignore"))return r.show();var h="string"==typeof r.attr("lay-search"),p=v?v.value?t:v.innerHTML||t:t,m=i(['<div class="'+(h?"":"layui-unselect ")+a,(u?" layui-select-disabled":"")+'">','<div class="'+n+'">','<input type="text" placeholder="'+p+'" '+('value="'+(d?f.html():"")+'"')+(h?"":" readonly")+' class="layui-input'+(h?"":" layui-unselect")+(u?" "+c:"")+'">','<i class="layui-edge"></i></div>','<dl class="layui-anim layui-anim-upbit'+(r.find("optgroup")[0]?" layui-select-group":"")+'">',function(e){var i=[];return layui.each(e,function(e,a){0!==e||a.value?"optgroup"===a.tagName.toLowerCase()?i.push("<dt>"+a.label+"</dt>"):i.push('<dd lay-value="'+a.value+'" class="'+(d===a.value?s:"")+(a.disabled?" "+c:"")+'">'+a.innerHTML+"</dd>"):i.push('<dd lay-value="" class="layui-select-tips">'+(a.innerHTML||t)+"</dd>")}),0===i.length&&i.push('<dd lay-value="" class="'+c+'">娌℃湁閫夐」</dd>'),i.join("")}(r.find("*"))+"</dl>","</div>"].join(""));o[0]&&o.remove(),r.after(m),y.call(this,m,u,h)})},checkbox:function(){var e={checkbox:["layui-form-checkbox","layui-form-checked","checkbox"],_switch:["layui-form-switch","layui-form-onswitch","switch"]},t=u.find("input[type=checkbox]"),a=function(e,t){var a=i(this);e.on("click",function(){var i=a.attr("lay-filter"),n=(a.attr("lay-text")||"").split("|");a[0].disabled||(a[0].checked?(a[0].checked=!1,e.removeClass(t[1]).find("em").text(n[1])):(a[0].checked=!0,e.addClass(t[1]).find("em").text(n[0])),layui.event.call(a[0],l,t[2]+"("+i+")",{elem:a[0],value:a[0].value,othis:e}))})};t.each(function(t,n){var l=i(this),r=l.attr("lay-skin"),s=(l.attr("lay-text")||"").split("|"),o=this.disabled;"switch"===r&&(r="_"+r);var u=e[r]||e.checkbox;if("string"==typeof l.attr("lay-ignore"))return l.show();var d=l.next("."+u[0]),f=i(['<div class="layui-unselect '+u[0],n.checked?" "+u[1]:"",o?" layui-checkbox-disbaled "+c:"",'"',r?' lay-skin="'+r+'"':"",">",function(){var e=n.title.replace(/\s/g,""),i={checkbox:[e?"<span>"+n.title+"</span>":"",'<i class="layui-icon layui-icon-ok"></i>'].join(""),_switch:"<em>"+((n.checked?s[0]:s[1])||"")+"</em><i></i>"};return i[r]||i.checkbox}(),"</div>"].join(""));d[0]&&d.remove(),l.after(f),a.call(this,f,u)})},radio:function(){var e="layui-form-radio",t=["",""],a=u.find("input[type=radio]"),n=function(a){var n=i(this),s="layui-anim-scaleSpring";a.on("click",function(){var o=n[0].name,c=n.parents(r),u=n.attr("lay-filter"),d=c.find("input[name="+o.replace(/(\.|#|\[|\])/g,"\\$1")+"]");n[0].disabled||(layui.each(d,function(){var a=i(this).next("."+e);this.checked=!1,a.removeClass(e+"ed"),a.find(".layui-icon").removeClass(s).html(t[1])}),n[0].checked=!0,a.addClass(e+"ed"),a.find(".layui-icon").addClass(s).html(t[0]),layui.event.call(n[0],l,"radio("+u+")",{elem:n[0],value:n[0].value,othis:a}))})};a.each(function(a,l){var r=i(this),s=r.next("."+e),o=this.disabled;if("string"==typeof r.attr("lay-ignore"))return r.show();s[0]&&s.remove();var u=i(['<div class="layui-unselect '+e,l.checked?" "+e+"ed":"",(o?" layui-radio-disbaled "+c:"")+'">','<i class="layui-anim layui-icon">'+t[l.checked?0:1]+"</i>","<div>"+function(){var e=l.title||"";return"string"==typeof r.next().attr("lay-radio")&&(e=r.next().html(),r.next().remove()),e}()+"</div>","</div>"].join(""));r.after(u),n.call(this,u)})}};return e?d[e]?d[e]():a.error("涓嶆敮鎸佺殑"+e+"琛ㄥ崟娓叉煋"):layui.each(d,function(e,i){i()}),n};var d=function(){var e=i(this),a=f.config.verify,s=null,o="layui-form-danger",c={},u=e.parents(r),d=u.find("*[lay-verify]"),v=e.parents("form")[0],h=u.find("input,select,textarea"),y=e.attr("lay-filter");if(layui.each(d,function(e,l){var r=i(this),c=r.attr("lay-verify").split("|"),u=r.attr("lay-verType"),d=r.val();if(r.removeClass(o),layui.each(c,function(e,i){var c,f="",v="function"==typeof a[i];if(a[i]){var c=v?f=a[i](d,l):!a[i][0].test(d);if(f=f||a[i][1],c)return"tips"===u?t.tips(f,function(){return"string"==typeof r.attr("lay-ignore")||"select"!==l.tagName.toLowerCase()&&!/^checkbox|radio$/.test(l.type)?r:r.next()}(),{tips:1}):"alert"===u?t.alert(f,{title:"鎻愮ず",shadeClose:!0}):t.msg(f,{icon:5,shift:6}),n.android||n.ios||l.focus(),r.addClass(o),s=!0}}),s)return s}),s)return!1;var p={};return layui.each(h,function(e,i){if(i.name=(i.name||"").replace(/^\s*|\s*&/,""),i.name){if(/^.*\[\]$/.test(i.name)){var t=i.name.match(/^(.*)\[\]$/g)[0];p[t]=0|p[t],i.name=i.name.replace(/^(.*)\[\]$/,"$1["+p[t]++ +"]")}/^checkbox|radio$/.test(i.type)&&!i.checked||(c[i.name]=i.value)}}),layui.event.call(this,l,"submit("+y+")",{elem:this,form:v,field:c})},f=new u,v=i(document),h=i(window);f.render(),v.on("reset",r,function(){var e=i(this).attr("lay-filter");setTimeout(function(){f.render(null,e)},50)}),v.on("submit",r,d).on("click","*[lay-submit]",d),e(l,f)});layui.define("jquery",function(e){"use strict";var o=layui.$,a=layui.hint(),i="layui-tree-enter",r=function(e){this.options=e},t={arrow:["",""],checkbox:["",""],radio:["",""],branch:["",""],leaf:""};r.prototype.init=function(e){var o=this;e.addClass("layui-box layui-tree"),o.options.skin&&e.addClass("layui-tree-skin-"+o.options.skin),o.tree(e),o.on(e)},r.prototype.tree=function(e,a){var i=this,r=i.options,n=a||r.nodes;layui.each(n,function(a,n){var l=n.children&&n.children.length>0,c=o('<ul class="'+(n.spread?"layui-show":"")+'"></ul>'),s=o(["<li "+(n.spread?'data-spread="'+n.spread+'"':"")+">",function(){return l?'<i class="layui-icon layui-tree-spread">'+(n.spread?t.arrow[1]:t.arrow[0])+"</i>":""}(),function(){return r.check?'<i class="layui-icon layui-tree-check">'+("checkbox"===r.check?t.checkbox[0]:"radio"===r.check?t.radio[0]:"")+"</i>":""}(),function(){return'<a href="'+(n.href||"javascript:;")+'" '+(r.target&&n.href?'target="'+r.target+'"':"")+">"+('<i class="layui-icon layui-tree-'+(l?"branch":"leaf")+'">'+(l?n.spread?t.branch[1]:t.branch[0]:t.leaf)+"</i>")+("<cite>"+(n.name||"鏈懡鍚�")+"</cite></a>")}(),"</li>"].join(""));l&&(s.append(c),i.tree(c,n.children)),e.append(s),"function"==typeof r.click&&i.click(s,n),i.spread(s,n),r.drag&&i.drag(s,n)})},r.prototype.click=function(e,o){var a=this,i=a.options;e.children("a").on("click",function(e){layui.stope(e),i.click(o)})},r.prototype.spread=function(e,o){var a=this,i=(a.options,e.children(".layui-tree-spread")),r=e.children("ul"),n=e.children("a"),l=function(){e.data("spread")?(e.data("spread",null),r.removeClass("layui-show"),i.html(t.arrow[0]),n.find(".layui-icon").html(t.branch[0])):(e.data("spread",!0),r.addClass("layui-show"),i.html(t.arrow[1]),n.find(".layui-icon").html(t.branch[1]))};r[0]&&(i.on("click",l),n.on("dblclick",l))},r.prototype.on=function(e){var a=this,r=a.options,t="layui-tree-drag";e.find("i").on("selectstart",function(e){return!1}),r.drag&&o(document).on("mousemove",function(e){var i=a.move;if(i.from){var r=(i.to,o('<div class="layui-box '+t+'"></div>'));e.preventDefault(),o("."+t)[0]||o("body").append(r);var n=o("."+t)[0]?o("."+t):r;n.addClass("layui-show").html(i.from.elem.children("a").html()),n.css({left:e.pageX+10,top:e.pageY+10})}}).on("mouseup",function(){var e=a.move;e.from&&(e.from.elem.children("a").removeClass(i),e.to&&e.to.elem.children("a").removeClass(i),a.move={},o("."+t).remove())})},r.prototype.move={},r.prototype.drag=function(e,a){var r=this,t=(r.options,e.children("a")),n=function(){var t=o(this),n=r.move;n.from&&(n.to={item:a,elem:e},t.addClass(i))};t.on("mousedown",function(){var o=r.move;o.from={item:a,elem:e}}),t.on("mouseenter",n).on("mousemove",n).on("mouseleave",function(){var e=o(this),a=r.move;a.from&&(delete a.to,e.removeClass(i))})},e("tree",function(e){var i=new r(e=e||{}),t=o(e.elem);return t[0]?void i.init(t):a.error("layui.tree 娌℃湁鎵惧埌"+e.elem+"鍏冪礌")})});layui.define(["laytpl","laypage","layer","form"],function(e){"use strict";var t=layui.$,i=layui.laytpl,a=layui.laypage,l=layui.layer,n=layui.form,o=layui.hint(),r=layui.device(),d={config:{checkName:"LAY_CHECKED",indexName:"LAY_TABLE_INDEX"},cache:{},index:layui.table?layui.table.index+1e4:0,set:function(e){var i=this;return i.config=t.extend({},i.config,e),i},on:function(e,t){return layui.onevent.call(this,s,e,t)}},c=function(){var e=this,t=e.config,i=t.id;return i&&(c.config[i]=t),{reload:function(t){e.reload.call(e,t)},config:t}},s="table",u=".layui-table",h="layui-hide",f="layui-none",y="layui-table-view",p=".layui-table-header",m=".layui-table-body",v=".layui-table-main",g=".layui-table-fixed",x=".layui-table-fixed-l",b=".layui-table-fixed-r",k=".layui-table-tool",C=".layui-table-page",w=".layui-table-sort",N="layui-table-edit",T="layui-table-hover",F=function(e){var t='{{#if(item2.colspan){}} colspan="{{item2.colspan}}"{{#} if(item2.rowspan){}} rowspan="{{item2.rowspan}}"{{#}}}';return e=e||{},['<table cellspacing="0" cellpadding="0" border="0" class="layui-table" ','{{# if(d.data.skin){ }}lay-skin="{{d.data.skin}}"{{# } }} {{# if(d.data.size){ }}lay-size="{{d.data.size}}"{{# } }} {{# if(d.data.even){ }}lay-even{{# } }}>',"<thead>","{{# layui.each(d.data.cols, function(i1, item1){ }}","<tr>","{{# layui.each(item1, function(i2, item2){ }}",'{{# if(item2.fixed && item2.fixed !== "right"){ left = true; } }}','{{# if(item2.fixed === "right"){ right = true; } }}',function(){return e.fixed&&"right"!==e.fixed?'{{# if(item2.fixed && item2.fixed !== "right"){ }}':"right"===e.fixed?'{{# if(item2.fixed === "right"){ }}':""}(),'<th data-field="{{ item2.field||i2 }}" {{# if(item2.minWidth){ }}data-minwidth="{{item2.minWidth}}"{{# } }} '+t+' {{# if(item2.unresize){ }}data-unresize="true"{{# } }}>','<div class="layui-table-cell laytable-cell-',"{{# if(item2.colspan > 1){ }}","group","{{# } else { }}","{{d.index}}-{{item2.field || i2}}",'{{# if(item2.type !== "normal"){ }}'," laytable-cell-{{ item2.type }}","{{# } }}","{{# } }}",'" {{#if(item2.align){}}align="{{item2.align}}"{{#}}}>','{{# if(item2.type === "checkbox"){ }}','<input type="checkbox" name="layTableCheckbox" lay-skin="primary" lay-filter="layTableAllChoose" {{# if(item2[d.data.checkName]){ }}checked{{# }; }}>',"{{# } else { }}",'<span>{{item2.title||""}}</span>',"{{# if(!(item2.colspan > 1) && item2.sort){ }}",'<span class="layui-table-sort layui-inline"><i class="layui-edge layui-table-sort-asc"></i><i class="layui-edge layui-table-sort-desc"></i></span>',"{{# } }}","{{# } }}","</div>","</th>",e.fixed?"{{# }; }}":"","{{# }); }}","</tr>","{{# }); }}","</thead>","</table>"].join("")},W=['<table cellspacing="0" cellpadding="0" border="0" class="layui-table" ','{{# if(d.data.skin){ }}lay-skin="{{d.data.skin}}"{{# } }} {{# if(d.data.size){ }}lay-size="{{d.data.size}}"{{# } }} {{# if(d.data.even){ }}lay-even{{# } }}>',"<tbody></tbody>","</table>"].join(""),z=['<div class="layui-form layui-border-box {{d.VIEW_CLASS}}" lay-filter="LAY-table-{{d.index}}" style="{{# if(d.data.width){ }}width:{{d.data.width}}px;{{# } }} {{# if(d.data.height){ }}height:{{d.data.height}}px;{{# } }}">',"{{# if(d.data.toolbar){ }}",'<div class="layui-table-tool"></div>',"{{# } }}",'<div class="layui-table-box">',"{{# var left, right; }}",'<div class="layui-table-header">',F(),"</div>",'<div class="layui-table-body layui-table-main">',W,"</div>","{{# if(left){ }}",'<div class="layui-table-fixed layui-table-fixed-l">','<div class="layui-table-header">',F({fixed:!0}),"</div>",'<div class="layui-table-body">',W,"</div>","</div>","{{# }; }}","{{# if(right){ }}",'<div class="layui-table-fixed layui-table-fixed-r">','<div class="layui-table-header">',F({fixed:"right"}),'<div class="layui-table-mend"></div>',"</div>",'<div class="layui-table-body">',W,"</div>","</div>","{{# }; }}","</div>","{{# if(d.data.page){ }}",'<div class="layui-table-page">','<div id="layui-table-page{{d.index}}"></div>',"</div>","{{# } }}","<style>","{{# layui.each(d.data.cols, function(i1, item1){","layui.each(item1, function(i2, item2){ }}",".laytable-cell-{{d.index}}-{{item2.field||i2}}{ ","{{# if(item2.width){ }}","width: {{item2.width}}px;","{{# } }}"," }","{{# });","}); }}","</style>","</div>"].join(""),A=t(window),S=t(document),M=function(e){var i=this;i.index=++d.index,i.config=t.extend({},i.config,d.config,e),i.render()};M.prototype.config={limit:10,loading:!0,cellMinWidth:60,text:{none:"鏃犳暟鎹�"}},M.prototype.render=function(){var e=this,a=e.config;if(a.elem=t(a.elem),a.where=a.where||{},a.id=a.id||a.elem.attr("id"),a.request=t.extend({pageName:"page",limitName:"limit"},a.request),a.response=t.extend({statusName:"code",statusCode:0,msgName:"msg",dataName:"data",countName:"count"},a.response),"object"==typeof a.page&&(a.limit=a.page.limit||a.limit,a.limits=a.page.limits||a.limits,e.page=a.page.curr=a.page.curr||1,delete a.page.elem,delete a.page.jump),!a.elem[0])return e;e.setArea();var l=a.elem,n=l.next("."+y),o=e.elem=t(i(z).render({VIEW_CLASS:y,data:a,index:e.index}));if(a.index=e.index,n[0]&&n.remove(),l.after(o),e.layHeader=o.find(p),e.layMain=o.find(v),e.layBody=o.find(m),e.layFixed=o.find(g),e.layFixLeft=o.find(x),e.layFixRight=o.find(b),e.layTool=o.find(k),e.layPage=o.find(C),e.layTool.html(i(t(a.toolbar).html()||"").render(a)),a.height&&e.fullSize(),a.cols.length>1){var r=e.layFixed.find(p).find("th");r.height(e.layHeader.height()-1-parseFloat(r.css("padding-top"))-parseFloat(r.css("padding-bottom")))}e.pullData(e.page),e.events()},M.prototype.initOpts=function(e){var t=this,i=(t.config,{checkbox:48,space:15,numbers:40});e.checkbox&&(e.type="checkbox"),e.space&&(e.type="space"),e.type||(e.type="normal"),"normal"!==e.type&&(e.unresize=!0,e.width=e.width||i[e.type])},M.prototype.setArea=function(){var e=this,t=e.config,i=0,a=0,l=0,n=0,o=t.width||function(){var e=function(i){var a,l;i=i||t.elem.parent(),a=i.width();try{l="none"===i.css("display")}catch(n){}return!i[0]||a&&!l?a:e(i.parent())};return e()}();e.eachCols(function(){i++}),o-=function(){return"line"===t.skin||"nob"===t.skin?2:i+1}(),layui.each(t.cols,function(t,i){layui.each(i,function(t,l){var r;return l?(e.initOpts(l),r=l.width||0,void(l.colspan>1||(/\d+%$/.test(r)?l.width=r=Math.floor(parseFloat(r)/100*o):r||(l.width=r=0,a++),n+=r))):void i.splice(t,1)})}),e.autoColNums=a,o>n&&a&&(l=(o-n)/a),layui.each(t.cols,function(e,i){layui.each(i,function(e,i){var a=i.minWidth||t.cellMinWidth;i.colspan>1||0===i.width&&(i.width=Math.floor(l>=a?l:a))})}),t.height&&/^full-\d+$/.test(t.height)&&(e.fullHeightGap=t.height.split("-")[1],t.height=A.height()-e.fullHeightGap)},M.prototype.reload=function(e){var i=this;i.config.data&&i.config.data.constructor===Array&&delete i.config.data,i.config=t.extend({},i.config,e),i.render()},M.prototype.page=1,M.prototype.pullData=function(e,i){var a=this,n=a.config,o=n.request,r=n.response,d=function(){"object"==typeof n.initSort&&a.sort(n.initSort.field,n.initSort.type)};if(a.startTime=(new Date).getTime(),n.url){var c={};c[o.pageName]=e,c[o.limitName]=n.limit;var s=t.extend(c,n.where);n.contentType&&0==n.contentType.indexOf("application/json")&&(s=JSON.stringify(s)),t.ajax({type:n.method||"get",url:n.url,contentType:n.contentType,data:s,dataType:"json",headers:n.headers||{},success:function(t){t[r.statusName]!=r.statusCode?(a.renderForm(),a.layMain.html('<div class="'+f+'">'+(t[r.msgName]||"杩斿洖鐨勬暟鎹姸鎬佸紓甯�")+"</div>")):(a.renderData(t,e,t[r.countName]),d(),n.time=(new Date).getTime()-a.startTime+" ms"),i&&l.close(i),"function"==typeof n.done&&n.done(t,e,t[r.countName])},error:function(e,t){a.layMain.html('<div class="'+f+'">鏁版嵁鎺ュ彛璇锋眰寮傚父</div>'),a.renderForm(),i&&l.close(i)}})}else if(n.data&&n.data.constructor===Array){var u={},h=e*n.limit-n.limit;u[r.dataName]=n.data.concat().splice(h,n.limit),u[r.countName]=n.data.length,a.renderData(u,e,n.data.length),d(),"function"==typeof n.done&&n.done(u,e,u[r.countName])}},M.prototype.eachCols=function(e){var i=t.extend(!0,[],this.config.cols),a=[],l=0;layui.each(i,function(e,t){layui.each(t,function(t,n){if(n.colspan>1){var o=0;l++,n.CHILD_COLS=[],layui.each(i[e+1],function(e,t){t.PARENT_COL||o==n.colspan||(t.PARENT_COL=l,n.CHILD_COLS.push(t),o+=t.colspan>1?t.colspan:1)})}n.PARENT_COL||a.push(n)})});var n=function(t){layui.each(t||a,function(t,i){return i.CHILD_COLS?n(i.CHILD_COLS):void e(t,i)})};n()},M.prototype.renderData=function(e,n,o,r){var c=this,s=c.config,u=e[s.response.dataName]||[],y=[],p=[],m=[],v=function(){return!r&&c.sortKey?c.sort(c.sortKey.field,c.sortKey.sort,!0):(layui.each(u,function(e,a){var l=[],o=[],u=[],h=e+s.limit*(n-1)+1;0!==a.length&&(r||(a[d.config.indexName]=e),c.eachCols(function(e,n){var r=n.field||e,f=a[r];c.getColElem(c.layHeader,r);if(void 0!==f&&null!==f||(f=""),!(n.colspan>1)){var y=['<td data-field="'+r+'" '+function(){var e=[];return n.edit&&e.push('data-edit="'+n.edit+'"'),n.align&&e.push('align="'+n.align+'"'),n.templet&&e.push('data-content="'+f+'"'),n.toolbar&&e.push('data-off="true"'),n.event&&e.push('lay-event="'+n.event+'"'),n.style&&e.push('style="'+n.style+'"'),n.minWidth&&e.push('data-minwidth="'+n.minWidth+'"'),e.join(" ")}()+">",'<div class="layui-table-cell laytable-cell-'+function(){var e=s.index+"-"+r;return"normal"===n.type?e:e+" laytable-cell-"+n.type}()+'">'+function(){var e=t.extend(!0,{LAY_INDEX:h},a);return"checkbox"===n.type?'<input type="checkbox" name="layTableCheckbox" lay-skin="primary" '+function(){var t=d.config.checkName;return n[t]?(a[t]=n[t],n[t]?"checked":""):e[t]?"checked":""}()+">":"numbers"===n.type?h:n.toolbar?i(t(n.toolbar).html()||"").render(e):n.templet?function(){return"function"==typeof n.templet?n.templet(e):i(t(n.templet).html()||String(f)).render(e)}():f}(),"</div></td>"].join("");l.push(y),n.fixed&&"right"!==n.fixed&&o.push(y),"right"===n.fixed&&u.push(y)}}),y.push('<tr data-index="'+e+'">'+l.join("")+"</tr>"),p.push('<tr data-index="'+e+'">'+o.join("")+"</tr>"),m.push('<tr data-index="'+e+'">'+u.join("")+"</tr>"))}),c.layBody.scrollTop(0),c.layMain.find("."+f).remove(),c.layMain.find("tbody").html(y.join("")),c.layFixLeft.find("tbody").html(p.join("")),c.layFixRight.find("tbody").html(m.join("")),c.renderForm(),c.syncCheckAll(),c.haveInit?c.scrollPatch():setTimeout(function(){c.scrollPatch()},50),c.haveInit=!0,void l.close(c.tipsIndex))};return c.key=s.id||s.index,d.cache[c.key]=u,c.layPage[0===u.length&&1==n?"addClass":"removeClass"](h),r?v():0===u.length?(c.renderForm(),c.layFixed.remove(),c.layMain.find("tbody").html(""),c.layMain.find("."+f).remove(),c.layMain.append('<div class="'+f+'">'+s.text.none+"</div>")):(v(),void(s.page&&(s.page=t.extend({elem:"layui-table-page"+s.index,count:o,limit:s.limit,limits:s.limits||[10,20,30,40,50,60,70,80,90],groups:3,layout:["prev","page","next","skip","count","limit"],prev:'<i class="layui-icon"></i>',next:'<i class="layui-icon"></i>',jump:function(e,t){t||(c.page=e.curr,s.limit=e.limit,c.pullData(e.curr,c.loading()))}},s.page),s.page.count=o,a.render(s.page))))},M.prototype.getColElem=function(e,t){var i=this,a=i.config;return e.eq(0).find(".laytable-cell-"+(a.index+"-"+t)+":eq(0)")},M.prototype.renderForm=function(e){n.render(e,"LAY-table-"+this.index)},M.prototype.sort=function(e,i,a,l){var n,r,c=this,u={},h=c.config,f=h.elem.attr("lay-filter"),y=d.cache[c.key];"string"==typeof e&&c.layHeader.find("th").each(function(i,a){var l=t(this),o=l.data("field");if(o===e)return e=l,n=o,!1});try{var n=n||e.data("field");if(c.sortKey&&!a&&n===c.sortKey.field&&i===c.sortKey.sort)return;var p=c.layHeader.find("th .laytable-cell-"+h.index+"-"+n).find(w);c.layHeader.find("th").find(w).removeAttr("lay-sort"),p.attr("lay-sort",i||null),c.layFixed.find("th")}catch(m){return o.error("Table modules: Did not match to field")}c.sortKey={field:n,sort:i},"asc"===i?r=layui.sort(y,n):"desc"===i?r=layui.sort(y,n,!0):(r=layui.sort(y,d.config.indexName),delete c.sortKey),u[h.response.dataName]=r,c.renderData(u,c.page,c.count,!0),l&&layui.event.call(e,s,"sort("+f+")",{field:n,type:i})},M.prototype.loading=function(){var e=this,t=e.config;if(t.loading&&t.url)return l.msg("鏁版嵁璇锋眰涓�",{icon:16,offset:[e.elem.offset().top+e.elem.height()/2-35-A.scrollTop()+"px",e.elem.offset().left+e.elem.width()/2-90-A.scrollLeft()+"px"],time:-1,anim:-1,fixed:!1})},M.prototype.setCheckData=function(e,t){var i=this,a=i.config,l=d.cache[i.key];l[e]&&l[e].constructor!==Array&&(l[e][a.checkName]=t)},M.prototype.syncCheckAll=function(){var e=this,t=e.config,i=e.layHeader.find('input[name="layTableCheckbox"]'),a=function(i){return e.eachCols(function(e,a){"checkbox"===a.type&&(a[t.checkName]=i)}),i};i[0]&&(d.checkStatus(e.key).isAll?(i[0].checked||(i.prop("checked",!0),e.renderForm("checkbox")),a(!0)):(i[0].checked&&(i.prop("checked",!1),e.renderForm("checkbox")),a(!1)))},M.prototype.getCssRule=function(e,t){var i=this,a=i.elem.find("style")[0],l=a.sheet||a.styleSheet||{},n=l.cssRules||l.rules;layui.each(n,function(a,l){if(l.selectorText===".laytable-cell-"+i.index+"-"+e)return t(l),!0})},M.prototype.fullSize=function(){var e,t=this,i=t.config,a=i.height;t.fullHeightGap&&(a=A.height()-t.fullHeightGap,a<135&&(a=135),t.elem.css("height",a)),e=parseFloat(a)-parseFloat(t.layHeader.height())-1,i.toolbar&&(e-=t.layTool.outerHeight()),i.page&&(e=e-t.layPage.outerHeight()-1),t.layMain.css("height",e)},M.prototype.getScrollWidth=function(e){var t=0;return e?t=e.offsetWidth-e.clientWidth:(e=document.createElement("div"),e.style.width="100px",e.style.height="100px",e.style.overflowY="scroll",document.body.appendChild(e),t=e.offsetWidth-e.clientWidth,document.body.removeChild(e)),t},M.prototype.scrollPatch=function(){var e=this,i=e.layMain.children("table"),a=e.layMain.width()-e.layMain.prop("clientWidth"),l=e.layMain.height()-e.layMain.prop("clientHeight"),n=e.getScrollWidth(e.layMain[0]),o=i.outerWidth()-e.layMain.width();if(e.autoColNums&&o<5&&!e.scrollPatchWStatus){var r=e.layHeader.eq(0).find("thead th:last-child"),d=r.data("field");e.getCssRule(d,function(t){var i=t.style.width||r.outerWidth();t.style.width=parseFloat(i)-n-o+"px",e.layMain.height()-e.layMain.prop("clientHeight")>0&&(t.style.width=parseFloat(t.style.width)-1+"px"),e.scrollPatchWStatus=!0})}if(a&&l){if(!e.elem.find(".layui-table-patch")[0]){var c=t('<th class="layui-table-patch"><div class="layui-table-cell"></div></th>');c.find("div").css({width:a}),e.layHeader.eq(0).find("thead tr").append(c)}}else e.layHeader.eq(0).find(".layui-table-patch").remove();var s=e.layMain.height(),u=s-l;e.layFixed.find(m).css("height",i.height()>u?u:"auto"),e.layFixRight[o>0?"removeClass":"addClass"](h),e.layFixRight.css("right",a-1)},M.prototype.events=function(){var e,a=this,n=a.config,o=t("body"),c={},u=a.layHeader.find("th"),h=".layui-table-cell",f=n.elem.attr("lay-filter");u.on("mousemove",function(e){var i=t(this),a=i.offset().left,l=e.clientX-a;i.attr("colspan")>1||i.data("unresize")||c.resizeStart||(c.allowResize=i.width()-l<=10,o.css("cursor",c.allowResize?"col-resize":""))}).on("mouseleave",function(){t(this);c.resizeStart||o.css("cursor","")}).on("mousedown",function(e){var i=t(this);if(c.allowResize){var l=i.data("field");e.preventDefault(),c.resizeStart=!0,c.offset=[e.clientX,e.clientY],a.getCssRule(l,function(e){var t=e.style.width||i.outerWidth();c.rule=e,c.ruleWidth=parseFloat(t),c.minWidth=i.data("minwidth")||n.cellMinWidth})}}),S.on("mousemove",function(t){if(c.resizeStart){if(t.preventDefault(),c.rule){var i=c.ruleWidth+t.clientX-c.offset[0];i<c.minWidth&&(i=c.minWidth),c.rule.style.width=i+"px",l.close(a.tipsIndex)}e=1}}).on("mouseup",function(t){c.resizeStart&&(c={},o.css("cursor",""),a.scrollPatch()),2===e&&(e=null)}),u.on("click",function(){var i,l=t(this),n=l.find(w),o=n.attr("lay-sort");return n[0]&&1!==e?(i="asc"===o?"desc":"desc"===o?null:"asc",void a.sort(l,i,null,!0)):e=2}).find(w+" .layui-edge ").on("click",function(e){var i=t(this),l=i.index(),n=i.parents("th").eq(0).data("field");layui.stope(e),0===l?a.sort(n,"asc",null,!0):a.sort(n,"desc",null,!0)}),a.elem.on("click",'input[name="layTableCheckbox"]+',function(){var e=t(this).prev(),i=a.layBody.find('input[name="layTableCheckbox"]'),l=e.parents("tr").eq(0).data("index"),n=e[0].checked,o="layTableAllChoose"===e.attr("lay-filter");o?(i.each(function(e,t){t.checked=n,a.setCheckData(e,n)}),a.syncCheckAll(),a.renderForm("checkbox")):(a.setCheckData(l,n),a.syncCheckAll()),layui.event.call(this,s,"checkbox("+f+")",{checked:n,data:d.cache[a.key]?d.cache[a.key][l]||{}:{},type:o?"all":"one"})}),a.layBody.on("mouseenter","tr",function(){var e=t(this),i=e.index();a.layBody.find("tr:eq("+i+")").addClass(T)}).on("mouseleave","tr",function(){var e=t(this),i=e.index();a.layBody.find("tr:eq("+i+")").removeClass(T)}),a.layBody.on("change","."+N,function(){var e=t(this),i=this.value,l=e.parent().data("field"),n=e.parents("tr").eq(0).data("index"),o=d.cache[a.key][n];o[l]=i,layui.event.call(this,s,"edit("+f+")",{value:i,data:o,field:l})}).on("blur","."+N,function(){var e,l=t(this),n=l.parent().data("field"),o=l.parents("tr").eq(0).data("index"),r=d.cache[a.key][o];a.eachCols(function(t,i){i.field==n&&i.templet&&(e=i.templet)}),l.siblings(h).html(e?i(t(e).html()||this.value).render(r):this.value),l.parent().data("content",this.value),l.remove()}),a.layBody.on("click","td",function(){var e=t(this),i=(e.data("field"),e.data("edit")),o=e.children(h);if(l.close(a.tipsIndex),!e.data("off"))if(i)if("select"===i);else{var d=t('<input class="layui-input '+N+'">');d[0].value=e.data("content")||o.text(),e.find("."+N)[0]||e.append(d),d.focus()}else o.find(".layui-form-switch,.layui-form-checkbox")[0]||Math.round(o.prop("scrollWidth"))>Math.round(o.outerWidth())&&(a.tipsIndex=l.tips(['<div class="layui-table-tips-main" style="margin-top: -'+(o.height()+16)+"px;"+function(){return"sm"===n.size?"padding: 4px 15px; font-size: 12px;":"lg"===n.size?"padding: 14px 15px;":""}()+'">',o.html(),"</div>",'<i class="layui-icon layui-table-tips-c">ဆ</i>'].join(""),o[0],{tips:[3,""],time:-1,anim:-1,maxWidth:r.ios||r.android?300:600,isOutAnim:!1,skin:"layui-table-tips",success:function(e,t){e.find(".layui-table-tips-c").on("click",function(){l.close(t)})}}))}),a.layBody.on("click","*[lay-event]",function(){var e=t(this),l=e.parents("tr").eq(0).data("index"),n=a.layBody.find('tr[data-index="'+l+'"]'),o="layui-table-click",r=d.cache[a.key][l];layui.event.call(this,s,"tool("+f+")",{data:d.clearCacheKey(r),event:e.attr("lay-event"),tr:n,del:function(){d.cache[a.key][l]=[],n.remove(),a.scrollPatch()},update:function(e){e=e||{},layui.each(e,function(e,l){if(e in r){var o,d=n.children('td[data-field="'+e+'"]');r[e]=l,a.eachCols(function(t,i){i.field==e&&i.templet&&(o=i.templet)}),d.children(h).html(o?i(t(o).html()||l).render(r):l),d.data("content",l)}})}}),n.addClass(o).siblings("tr").removeClass(o)}),a.layMain.on("scroll",function(){var e=t(this),i=e.scrollLeft(),n=e.scrollTop();a.layHeader.scrollLeft(i),a.layFixed.find(m).scrollTop(n),l.close(a.tipsIndex)}),A.on("resize",function(){a.fullSize(),a.scrollPatch()})},d.init=function(e,i){i=i||{};var a=this,l=t(e?'table[lay-filter="'+e+'"]':u+"[lay-data]"),n="Table element property lay-data configuration item has a syntax error: ";return l.each(function(){var a=t(this),l=a.attr("lay-data");try{l=new Function("return "+l)()}catch(r){o.error(n+l)}var c=[],s=t.extend({elem:this,cols:[],data:[],skin:a.attr("lay-skin"),size:a.attr("lay-size"),even:"string"==typeof a.attr("lay-even")},d.config,i,l);e&&a.hide(),a.find("thead>tr").each(function(e){s.cols[e]=[],t(this).children().each(function(i){var a=t(this),l=a.attr("lay-data");try{l=new Function("return "+l)()}catch(r){return o.error(n+l)}var d=t.extend({title:a.text(),colspan:a.attr("colspan")||0,rowspan:a.attr("rowspan")||0},l);d.colspan<2&&c.push(d),s.cols[e].push(d)})}),a.find("tbody>tr").each(function(e){var i=t(this),a={};i.children("td").each(function(e,i){var l=t(this),n=l.data("field");if(n)return a[n]=l.html()}),layui.each(c,function(e,t){var l=i.children("td").eq(e);a[t.field]=l.html()}),s.data[e]=a}),d.render(s)}),a},d.checkStatus=function(e){var t=0,i=0,a=[],l=d.cache[e]||[];return layui.each(l,function(e,l){return l.constructor===Array?void i++:void(l[d.config.checkName]&&(t++,a.push(d.clearCacheKey(l))))}),{data:a,isAll:!!l.length&&t===l.length-i}},c.config={},d.reload=function(e,i){var a=c.config[e];return i=i||{},a?(i.data&&i.data.constructor===Array&&delete a.data,d.render(t.extend(!0,{},a,i))):o.error("The ID option was not found in the table instance")},d.render=function(e){var t=new M(e);return c.call(t)},d.clearCacheKey=function(e){return e=t.extend({},e),delete e[d.config.checkName],delete e[d.config.indexName],e},d.init(),e(s,d)});layui.define("jquery",function(e){"use strict";var i=layui.$,n=(layui.hint(),layui.device(),{config:{},set:function(e){var n=this;return n.config=i.extend({},n.config,e),n},on:function(e,i){return layui.onevent.call(this,t,e,i)}}),t="carousel",a="layui-this",l=">*[carousel-item]>*",o="layui-carousel-left",r="layui-carousel-right",d="layui-carousel-prev",s="layui-carousel-next",u="layui-carousel-arrow",c="layui-carousel-ind",m=function(e){var t=this;t.config=i.extend({},t.config,n.config,e),t.render()};m.prototype.config={width:"600px",height:"280px",full:!1,arrow:"hover",indicator:"inside",autoplay:!0,interval:3e3,anim:"",trigger:"click",index:0},m.prototype.render=function(){var e=this,n=e.config;n.elem=i(n.elem),n.elem[0]&&(e.elemItem=n.elem.find(l),n.index<0&&(n.index=0),n.index>=e.elemItem.length&&(n.index=e.elemItem.length-1),n.interval<800&&(n.interval=800),n.full?n.elem.css({position:"fixed",width:"100%",height:"100%",zIndex:9999}):n.elem.css({width:n.width,height:n.height}),n.elem.attr("lay-anim",n.anim),e.elemItem.eq(n.index).addClass(a),e.elemItem.length<=1||(e.indicator(),e.arrow(),e.autoplay(),e.events()))},m.prototype.reload=function(e){var n=this;clearInterval(n.timer),n.config=i.extend({},n.config,e),n.render()},m.prototype.prevIndex=function(){var e=this,i=e.config,n=i.index-1;return n<0&&(n=e.elemItem.length-1),n},m.prototype.nextIndex=function(){var e=this,i=e.config,n=i.index+1;return n>=e.elemItem.length&&(n=0),n},m.prototype.addIndex=function(e){var i=this,n=i.config;e=e||1,n.index=n.index+e,n.index>=i.elemItem.length&&(n.index=0)},m.prototype.subIndex=function(e){var i=this,n=i.config;e=e||1,n.index=n.index-e,n.index<0&&(n.index=i.elemItem.length-1)},m.prototype.autoplay=function(){var e=this,i=e.config;i.autoplay&&(e.timer=setInterval(function(){e.slide()},i.interval))},m.prototype.arrow=function(){var e=this,n=e.config,t=i(['<button class="layui-icon '+u+'" lay-type="sub">'+("updown"===n.anim?"":"")+"</button>",'<button class="layui-icon '+u+'" lay-type="add">'+("updown"===n.anim?"":"")+"</button>"].join(""));n.elem.attr("lay-arrow",n.arrow),n.elem.find("."+u)[0]&&n.elem.find("."+u).remove(),n.elem.append(t),t.on("click",function(){var n=i(this),t=n.attr("lay-type");e.slide(t)})},m.prototype.indicator=function(){var e=this,n=e.config,t=e.elemInd=i(['<div class="'+c+'"><ul>',function(){var i=[];return layui.each(e.elemItem,function(e){i.push("<li"+(n.index===e?' class="layui-this"':"")+"></li>")}),i.join("")}(),"</ul></div>"].join(""));n.elem.attr("lay-indicator",n.indicator),n.elem.find("."+c)[0]&&n.elem.find("."+c).remove(),n.elem.append(t),"updown"===n.anim&&t.css("margin-top",-(t.height()/2)),t.find("li").on("hover"===n.trigger?"mouseover":n.trigger,function(){var t=i(this),a=t.index();a>n.index?e.slide("add",a-n.index):a<n.index&&e.slide("sub",n.index-a)})},m.prototype.slide=function(e,i){var n=this,l=n.elemItem,u=n.config,c=u.index,m=u.elem.attr("lay-filter");n.haveSlide||("sub"===e?(n.subIndex(i),l.eq(u.index).addClass(d),setTimeout(function(){l.eq(c).addClass(r),l.eq(u.index).addClass(r)},50)):(n.addIndex(i),l.eq(u.index).addClass(s),setTimeout(function(){l.eq(c).addClass(o),l.eq(u.index).addClass(o)},50)),setTimeout(function(){l.removeClass(a+" "+d+" "+s+" "+o+" "+r),l.eq(u.index).addClass(a),n.haveSlide=!1},300),n.elemInd.find("li").eq(u.index).addClass(a).siblings().removeClass(a),n.haveSlide=!0,layui.event.call(this,t,"change("+m+")",{index:u.index,prevIndex:c,item:l.eq(u.index)}))},m.prototype.events=function(){var e=this,i=e.config;i.elem.data("haveEvents")||(i.elem.on("mouseenter",function(){clearInterval(e.timer)}).on("mouseleave",function(){e.autoplay()}),i.elem.data("haveEvents",!0))},n.render=function(e){var i=new m(e);return i},e(t,n)});layui.define("jquery",function(e){"use strict";var a=layui.jquery,i={config:{},index:layui.rate?layui.rate.index+1e4:0,set:function(e){var i=this;return i.config=a.extend({},i.config,e),i},on:function(e,a){return layui.onevent.call(this,n,e,a)}},l=function(){var e=this,a=e.config;return{setvalue:function(a){e.setvalue.call(e,a)},config:a}},n="rate",t="layui-rate",o="layui-icon-rate",s="layui-icon-rate-solid",u="layui-icon-rate-half",r="layui-icon-rate-solid layui-icon-rate-half",c="layui-icon-rate-solid layui-icon-rate",f="layui-icon-rate layui-icon-rate-half",v=function(e){var l=this;l.index=++i.index,l.config=a.extend({},l.config,i.config,e),l.render()};v.prototype.config={length:5,text:!1,readonly:!1,half:!1,value:0,theme:""},v.prototype.render=function(){var e=this,i=e.config,l=i.theme?'style="color: '+i.theme+';"':"";i.elem=a(i.elem),parseInt(i.value)!==i.value&&(i.half||(i.value=Math.ceil(i.value)-i.value<.5?Math.ceil(i.value):Math.floor(i.value)));for(var n='<ul class="layui-rate" '+(i.readonly?"readonly":"")+">",u=1;u<=i.length;u++){var r='<li class="layui-inline"><i class="layui-icon '+(u>Math.floor(i.value)?o:s)+'" '+l+"></i></li>";i.half&&parseInt(i.value)!==i.value&&u==Math.ceil(i.value)?n=n+'<li><i class="layui-icon layui-icon-rate-half" '+l+"></i></li>":n+=r}n+="</ul>"+(i.text?'<span class="layui-inline">'+i.value+"鏄�":"")+"</span>";var c=i.elem,f=c.next("."+t);f[0]&&f.remove(),e.elemTemp=a(n),i.span=e.elemTemp.next("span"),i.setText&&i.setText(i.value),c.html(e.elemTemp),c.addClass("layui-inline"),i.readonly||e.action()},v.prototype.setvalue=function(e){var a=this,i=a.config;i.value=e,a.render()},v.prototype.action=function(){var e=this,i=e.config,l=e.elemTemp,n=l.find("i").width();l.children("li").each(function(e){var t=e+1,v=a(this);v.on("click",function(e){if(i.value=t,i.half){var o=e.pageX-a(this).offset().left;o<=n/2&&(i.value=i.value-.5)}i.text&&l.next("span").text(i.value+"鏄�"),i.choose&&i.choose(i.value),i.setText&&i.setText(i.value)}),v.on("mousemove",function(e){if(l.find("i").each(function(){a(this).addClass(o).removeClass(r)}),l.find("i:lt("+t+")").each(function(){a(this).addClass(s).removeClass(f)}),i.half){var c=e.pageX-a(this).offset().left;c<=n/2&&v.children("i").addClass(u).removeClass(s)}}),v.on("mouseleave",function(){l.find("i").each(function(){a(this).addClass(o).removeClass(r)}),l.find("i:lt("+Math.floor(i.value)+")").each(function(){a(this).addClass(s).removeClass(f)}),i.half&&parseInt(i.value)!==i.value&&l.children("li:eq("+Math.floor(i.value)+")").children("i").addClass(u).removeClass(c)})})},v.prototype.events=function(){var e=this;e.config},i.render=function(e){var a=new v(e);return l.call(a)},e(n,i)});layui.define("jquery",function(e){"use strict";var t=layui.$,i={fixbar:function(e){var i,a,o="layui-fixbar",r="layui-fixbar-top",l=t(document),n=t("body");e=t.extend({showHeight:200},e),e.bar1=e.bar1===!0?"":e.bar1,e.bar2=e.bar2===!0?"":e.bar2,e.bgcolor=e.bgcolor?"background-color:"+e.bgcolor:"";var c=[e.bar1,e.bar2,""],g=t(['<ul class="'+o+'">',e.bar1?'<li class="layui-icon" lay-type="bar1" style="'+e.bgcolor+'">'+c[0]+"</li>":"",e.bar2?'<li class="layui-icon" lay-type="bar2" style="'+e.bgcolor+'">'+c[1]+"</li>":"",'<li class="layui-icon '+r+'" lay-type="top" style="'+e.bgcolor+'">'+c[2]+"</li>","</ul>"].join("")),u=g.find("."+r),s=function(){var t=l.scrollTop();t>=e.showHeight?i||(u.show(),i=1):i&&(u.hide(),i=0)};t("."+o)[0]||("object"==typeof e.css&&g.css(e.css),n.append(g),s(),g.find("li").on("click",function(){var i=t(this),a=i.attr("lay-type");"top"===a&&t("html,body").animate({scrollTop:0},200),e.click&&e.click.call(this,a)}),l.on("scroll",function(){clearTimeout(a),a=setTimeout(function(){s()},100)}))},countdown:function(e,t,i){var a=this,o="function"==typeof t,r=new Date(e).getTime(),l=new Date(!t||o?(new Date).getTime():t).getTime(),n=r-l,c=[Math.floor(n/864e5),Math.floor(n/36e5)%24,Math.floor(n/6e4)%60,Math.floor(n/1e3)%60];o&&(i=t);var g=setTimeout(function(){a.countdown(e,l+1e3,i)},1e3);return i&&i(n>0?c:[0,0,0,0],t,g),n<=0&&clearTimeout(g),g},timeAgo:function(e,t){var i=this,a=[[],[]],o=(new Date).getTime()-new Date(e).getTime();return o>6912e5?(o=new Date(e),a[0][0]=i.digit(o.getFullYear(),4),a[0][1]=i.digit(o.getMonth()+1),a[0][2]=i.digit(o.getDate()),t||(a[1][0]=i.digit(o.getHours()),a[1][1]=i.digit(o.getMinutes()),a[1][2]=i.digit(o.getSeconds())),a[0].join("-")+" "+a[1].join(":")):o>=864e5?(o/1e3/60/60/24|0)+"澶╁墠":o>=36e5?(o/1e3/60/60|0)+"灏忔椂鍓�":o>=12e4?(o/1e3/60|0)+"鍒嗛挓鍓�":o<0?"鏈潵":"鍒氬垰"},digit:function(e,t){var i="";e=String(e),t=t||2;for(var a=e.length;a<t;a++)i+="0";return e<Math.pow(10,t)?i+(0|e):e},toDateString:function(e,t){var i=this,a=new Date(e||new Date),o=[i.digit(a.getFullYear(),4),i.digit(a.getMonth()+1),i.digit(a.getDate())],r=[i.digit(a.getHours()),i.digit(a.getMinutes()),i.digit(a.getSeconds())];return t=t||"yyyy-MM-dd HH:mm:ss",t.replace(/yyyy/g,o[0]).replace(/MM/g,o[1]).replace(/dd/g,o[2]).replace(/HH/g,r[0]).replace(/mm/g,r[1]).replace(/ss/g,r[2])},escape:function(e){return String(e||"").replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/'/g,"'").replace(/"/g,""")}};e("util",i)});layui.define("jquery",function(e){"use strict";var l=layui.$,o=function(e){},t='<i class="layui-anim layui-anim-rotate layui-anim-loop layui-icon "></i>';o.prototype.load=function(e){var o,i,n,r,a=this,c=0;e=e||{};var f=l(e.elem);if(f[0]){var m=l(e.scrollElem||document),u=e.mb||50,s=!("isAuto"in e)||e.isAuto,v=e.end||"娌℃湁鏇村浜�",y=e.scrollElem&&e.scrollElem!==document,d="<cite>鍔犺浇鏇村</cite>",h=l('<div class="layui-flow-more"><a href="javascript:;">'+d+"</a></div>");f.find(".layui-flow-more")[0]||f.append(h);var p=function(e,t){e=l(e),h.before(e),t=0==t||null,t?h.html(v):h.find("a").html(d),i=t,o=null,n&&n()},g=function(){o=!0,h.find("a").html(t),"function"==typeof e.done&&e.done(++c,p)};if(g(),h.find("a").on("click",function(){l(this);i||o||g()}),e.isLazyimg)var n=a.lazyimg({elem:e.elem+" img",scrollElem:e.scrollElem});return s?(m.on("scroll",function(){var e=l(this),t=e.scrollTop();r&&clearTimeout(r),i||(r=setTimeout(function(){var i=y?e.height():l(window).height(),n=y?e.prop("scrollHeight"):document.documentElement.scrollHeight;n-t-i<=u&&(o||g())},100))}),a):a}},o.prototype.lazyimg=function(e){var o,t=this,i=0;e=e||{};var n=l(e.scrollElem||document),r=e.elem||"img",a=e.scrollElem&&e.scrollElem!==document,c=function(e,l){var o=n.scrollTop(),r=o+l,c=a?function(){return e.offset().top-n.offset().top+o}():e.offset().top;if(c>=o&&c<=r&&!e.attr("src")){var m=e.attr("lay-src");layui.img(m,function(){var l=t.lazyimg.elem.eq(i);e.attr("src",m).removeAttr("lay-src"),l[0]&&f(l),i++})}},f=function(e,o){var f=a?(o||n).height():l(window).height(),m=n.scrollTop(),u=m+f;if(t.lazyimg.elem=l(r),e)c(e,f);else for(var s=0;s<t.lazyimg.elem.length;s++){var v=t.lazyimg.elem.eq(s),y=a?function(){return v.offset().top-n.offset().top+m}():v.offset().top;if(c(v,f),i=s,y>u)break}};if(f(),!o){var m;n.on("scroll",function(){var e=l(this);m&&clearTimeout(m),m=setTimeout(function(){f(null,e)},50)}),o=!0}return f},e("flow",new o)});layui.define(["layer","form"],function(t){"use strict";var e=layui.$,i=layui.layer,a=layui.form,l=(layui.hint(),layui.device()),n="layedit",o="layui-show",r="layui-disabled",c=function(){var t=this;t.index=0,t.config={tool:["strong","italic","underline","del","|","left","center","right","|","link","unlink","face","image"],hideTool:[],height:280}};c.prototype.set=function(t){var i=this;return e.extend(!0,i.config,t),i},c.prototype.on=function(t,e){return layui.onevent(n,t,e)},c.prototype.build=function(t,i){i=i||{};var a=this,n=a.config,r="layui-layedit",c=e("string"==typeof t?"#"+t:t),u="LAY_layedit_"+ ++a.index,d=c.next("."+r),y=e.extend({},n,i),f=function(){var t=[],e={};return layui.each(y.hideTool,function(t,i){e[i]=!0}),layui.each(y.tool,function(i,a){C[a]&&!e[a]&&t.push(C[a])}),t.join("")}(),m=e(['<div class="'+r+'">','<div class="layui-unselect layui-layedit-tool">'+f+"</div>",'<div class="layui-layedit-iframe">','<iframe id="'+u+'" name="'+u+'" textarea="'+t+'" frameborder="0"></iframe>',"</div>","</div>"].join(""));return l.ie&&l.ie<8?c.removeClass("layui-hide").addClass(o):(d[0]&&d.remove(),s.call(a,m,c[0],y),c.addClass("layui-hide").after(m),a.index)},c.prototype.getContent=function(t){var e=u(t);if(e[0])return d(e[0].document.body.innerHTML)},c.prototype.getText=function(t){var i=u(t);if(i[0])return e(i[0].document.body).text()},c.prototype.setContent=function(t,i,a){var l=u(t);l[0]&&(a?e(l[0].document.body).append(i):e(l[0].document.body).html(i),layedit.sync(t))},c.prototype.sync=function(t){var i=u(t);if(i[0]){var a=e("#"+i[1].attr("textarea"));a.val(d(i[0].document.body.innerHTML))}},c.prototype.getSelection=function(t){var e=u(t);if(e[0]){var i=m(e[0].document);return document.selection?i.text:i.toString()}};var s=function(t,i,a){var l=this,n=t.find("iframe");n.css({height:a.height}).on("load",function(){var o=n.contents(),r=n.prop("contentWindow"),c=o.find("head"),s=e(["<style>","*{margin: 0; padding: 0;}","body{padding: 10px; line-height: 20px; overflow-x: hidden; word-wrap: break-word; font: 14px Helvetica Neue,Helvetica,PingFang SC,Microsoft YaHei,Tahoma,Arial,sans-serif; -webkit-box-sizing: border-box !important; -moz-box-sizing: border-box !important; box-sizing: border-box !important;}","a{color:#01AAED; text-decoration:none;}a:hover{color:#c00}","p{margin-bottom: 10px;}","img{display: inline-block; border: none; vertical-align: middle;}","pre{margin: 10px 0; padding: 10px; line-height: 20px; border: 1px solid #ddd; border-left-width: 6px; background-color: #F2F2F2; color: #333; font-family: Courier New; font-size: 12px;}","</style>"].join("")),u=o.find("body");c.append(s),u.attr("contenteditable","true").css({"min-height":a.height}).html(i.value||""),y.apply(l,[r,n,i,a]),g.call(l,r,t,a)})},u=function(t){var i=e("#LAY_layedit_"+t),a=i.prop("contentWindow");return[a,i]},d=function(t){return 8==l.ie&&(t=t.replace(/<.+>/g,function(t){return t.toLowerCase()})),t},y=function(t,a,n,o){var r=t.document,c=e(r.body);c.on("keydown",function(t){var e=t.keyCode;if(13===e){var a=m(r),l=p(a),n=l.parentNode;if("pre"===n.tagName.toLowerCase()){if(t.shiftKey)return;return i.msg("璇锋殏鏃剁敤shift+enter"),!1}r.execCommand("formatBlock",!1,"<p>")}}),e(n).parents("form").on("submit",function(){var t=c.html();8==l.ie&&(t=t.replace(/<.+>/g,function(t){return t.toLowerCase()})),n.value=t}),c.on("paste",function(e){r.execCommand("formatBlock",!1,"<p>"),setTimeout(function(){f.call(t,c),n.value=c.html()},100)})},f=function(t){var i=this;i.document;t.find("*[style]").each(function(){var t=this.style.textAlign;this.removeAttribute("style"),e(this).css({"text-align":t||""})}),t.find("table").addClass("layui-table"),t.find("script,link").remove()},m=function(t){return t.selection?t.selection.createRange():t.getSelection().getRangeAt(0)},p=function(t){return t.endContainer||t.parentElement().childNodes[0]},v=function(t,i,a){var l=this.document,n=document.createElement(t);for(var o in i)n.setAttribute(o,i[o]);if(n.removeAttribute("text"),l.selection){var r=a.text||i.text;if("a"===t&&!r)return;r&&(n.innerHTML=r),a.pasteHTML(e(n).prop("outerHTML")),a.select()}else{var r=a.toString()||i.text;if("a"===t&&!r)return;r&&(n.innerHTML=r),a.deleteContents(),a.insertNode(n)}},h=function(t,i){var a=this.document,l="layedit-tool-active",n=p(m(a)),o=function(e){return t.find(".layedit-tool-"+e)};i&&i[i.hasClass(l)?"removeClass":"addClass"](l),t.find(">i").removeClass(l),o("unlink").addClass(r),e(n).parents().each(function(){var t=this.tagName.toLowerCase(),e=this.style.textAlign;"b"!==t&&"strong"!==t||o("b").addClass(l),"i"!==t&&"em"!==t||o("i").addClass(l),"u"===t&&o("u").addClass(l),"strike"===t&&o("d").addClass(l),"p"===t&&("center"===e?o("center").addClass(l):"right"===e?o("right").addClass(l):o("left").addClass(l)),"a"===t&&(o("link").addClass(l),o("unlink").removeClass(r))})},g=function(t,a,l){var n=t.document,o=e(n.body),c={link:function(i){var a=p(i),l=e(a).parent();b.call(o,{href:l.attr("href"),target:l.attr("target")},function(e){var a=l[0];"A"===a.tagName?a.href=e.url:v.call(t,"a",{target:e.target,href:e.url,text:e.url},i)})},unlink:function(t){n.execCommand("unlink")},face:function(e){x.call(this,function(i){v.call(t,"img",{src:i.src,alt:i.alt},e)})},image:function(a){var n=this;layui.use("upload",function(o){var r=l.uploadImage||{};o.render({url:r.url,method:r.type,elem:e(n).find("input")[0],done:function(e){0==e.code?(e.data=e.data||{},v.call(t,"img",{src:e.data.src,alt:e.data.title},a)):i.msg(e.msg||"涓婁紶澶辫触")}})})},code:function(e){k.call(o,function(i){v.call(t,"pre",{text:i.code,"lay-lang":i.lang},e)})},help:function(){i.open({type:2,title:"甯姪",area:["600px","380px"],shadeClose:!0,shade:.1,skin:"layui-layer-msg",content:["http://www.layui.com/about/layedit/help.html","no"]})}},s=a.find(".layui-layedit-tool"),u=function(){var i=e(this),a=i.attr("layedit-event"),l=i.attr("lay-command");if(!i.hasClass(r)){o.focus();var u=m(n);u.commonAncestorContainer;l?(n.execCommand(l),/justifyLeft|justifyCenter|justifyRight/.test(l)&&n.execCommand("formatBlock",!1,"<p>"),setTimeout(function(){o.focus()},10)):c[a]&&c[a].call(this,u),h.call(t,s,i)}},d=/image/;s.find(">i").on("mousedown",function(){var t=e(this),i=t.attr("layedit-event");d.test(i)||u.call(this)}).on("click",function(){var t=e(this),i=t.attr("layedit-event");d.test(i)&&u.call(this)}),o.on("click",function(){h.call(t,s),i.close(x.index)})},b=function(t,e){var l=this,n=i.open({type:1,id:"LAY_layedit_link",area:"350px",shade:.05,shadeClose:!0,moveType:1,title:"瓒呴摼鎺�",skin:"layui-layer-msg",content:['<ul class="layui-form" style="margin: 15px;">','<li class="layui-form-item">','<label class="layui-form-label" style="width: 60px;">URL</label>','<div class="layui-input-block" style="margin-left: 90px">','<input name="url" lay-verify="url" value="'+(t.href||"")+'" autofocus="true" autocomplete="off" class="layui-input">',"</div>","</li>",'<li class="layui-form-item">','<label class="layui-form-label" style="width: 60px;">鎵撳紑鏂瑰紡</label>','<div class="layui-input-block" style="margin-left: 90px">','<input type="radio" name="target" value="_self" class="layui-input" title="褰撳墠绐楀彛"'+("_self"!==t.target&&t.target?"":"checked")+">",'<input type="radio" name="target" value="_blank" class="layui-input" title="鏂扮獥鍙�" '+("_blank"===t.target?"checked":"")+">","</div>","</li>",'<li class="layui-form-item" style="text-align: center;">','<button type="button" lay-submit lay-filter="layedit-link-yes" class="layui-btn"> 纭畾 </button>','<button style="margin-left: 20px;" type="button" class="layui-btn layui-btn-primary"> 鍙栨秷 </button>',"</li>","</ul>"].join(""),success:function(t,n){var o="submit(layedit-link-yes)";a.render("radio"),t.find(".layui-btn-primary").on("click",function(){i.close(n),l.focus()}),a.on(o,function(t){i.close(b.index),e&&e(t.field)})}});b.index=n},x=function(t){var a=function(){var t=["[寰瑧]","[鍢诲樆]","[鍝堝搱]","[鍙埍]","[鍙�淽","[鎸栭蓟]","[鍚冩儕]","[瀹崇緸]","[鎸ょ溂]","[闂槾]","[閯欒]","[鐖变綘]","[娉猐","[鍋风瑧]","[浜蹭翰]","[鐢熺梾]","[澶紑蹇僝","[鐧界溂]","[鍙冲摷鍝糫","[宸﹀摷鍝糫","[鍢榏","[琛癩","[濮斿眻]","[鍚怾","[鍝堟瑺]","[鎶辨姳]","[鎬抅","[鐤戦棶]","[棣嬪槾]","[鎷滄嫓]","[鎬濊�僝","[姹梋","[鍥癩","[鐫","[閽盷","[澶辨湜]","[閰穄","[鑹瞉","[鍝糫","[榧撴帉]","[鏅昡","[鎮蹭激]","[鎶撶媯]","[榛戠嚎]","[闃撮櫓]","[鎬掗獋]","[浜掔矇]","[蹇僝","[浼ゅ績]","[鐚ご]","[鐔婄尗]","[鍏斿瓙]","[ok]","[鑰禲","[good]","[NO]","[璧瀅","[鏉","[寮盷","[鑽夋偿椹琞","[绁為┈]","[鍥","[娴簯]","[缁欏姏]","[鍥磋]","[濞佹]","[濂ョ壒鏇糫","[绀肩墿]","[閽焆","[璇濈瓛]","[铚$儧]","[铔嬬硶]"],e={};return layui.each(t,function(t,i){e[i]=layui.cache.dir+"images/face/"+t+".gif"}),e}();return x.hide=x.hide||function(t){"face"!==e(t.target).attr("layedit-event")&&i.close(x.index)},x.index=i.tips(function(){var t=[];return layui.each(a,function(e,i){t.push('<li title="'+e+'"><img src="'+i+'" alt="'+e+'"></li>')}),'<ul class="layui-clear">'+t.join("")+"</ul>"}(),this,{tips:1,time:0,skin:"layui-box layui-util-face",maxWidth:500,success:function(l,n){l.css({marginTop:-4,marginLeft:-10}).find(".layui-clear>li").on("click",function(){t&&t({src:a[this.title],alt:this.title}),i.close(n)}),e(document).off("click",x.hide).on("click",x.hide)}})},k=function(t){var e=this,l=i.open({type:1,id:"LAY_layedit_code",area:"550px",shade:.05,shadeClose:!0,moveType:1,title:"鎻掑叆浠g爜",skin:"layui-layer-msg",content:['<ul class="layui-form layui-form-pane" style="margin: 15px;">','<li class="layui-form-item">','<label class="layui-form-label">璇烽�夋嫨璇█</label>','<div class="layui-input-block">','<select name="lang">','<option value="JavaScript">JavaScript</option>','<option value="HTML">HTML</option>','<option value="CSS">CSS</option>','<option value="Java">Java</option>','<option value="PHP">PHP</option>','<option value="C#">C#</option>','<option value="Python">Python</option>','<option value="Ruby">Ruby</option>','<option value="Go">Go</option>',"</select>","</div>","</li>",'<li class="layui-form-item layui-form-text">','<label class="layui-form-label">浠g爜</label>','<div class="layui-input-block">','<textarea name="code" lay-verify="required" autofocus="true" class="layui-textarea" style="height: 200px;"></textarea>',"</div>","</li>",'<li class="layui-form-item" style="text-align: center;">','<button type="button" lay-submit lay-filter="layedit-code-yes" class="layui-btn"> 纭畾 </button>','<button style="margin-left: 20px;" type="button" class="layui-btn layui-btn-primary"> 鍙栨秷 </button>',"</li>","</ul>"].join(""),success:function(l,n){var o="submit(layedit-code-yes)";a.render("select"),l.find(".layui-btn-primary").on("click",function(){i.close(n),e.focus()}),a.on(o,function(e){i.close(k.index),t&&t(e.field)})}});k.index=l},C={html:'<i class="layui-icon layedit-tool-html" title="HTML婧愪唬鐮�" lay-command="html" layedit-event="html""></i><span class="layedit-tool-mid"></span>',strong:'<i class="layui-icon layedit-tool-b" title="鍔犵矖" lay-command="Bold" layedit-event="b""></i>',italic:'<i class="layui-icon layedit-tool-i" title="鏂滀綋" lay-command="italic" layedit-event="i""></i>',underline:'<i class="layui-icon layedit-tool-u" title="涓嬪垝绾�" lay-command="underline" layedit-event="u""></i>',del:'<i class="layui-icon layedit-tool-d" title="鍒犻櫎绾�" lay-command="strikeThrough" layedit-event="d""></i>',"|":'<span class="layedit-tool-mid"></span>',left:'<i class="layui-icon layedit-tool-left" title="宸﹀榻�" lay-command="justifyLeft" layedit-event="left""></i>',center:'<i class="layui-icon layedit-tool-center" title="灞呬腑瀵归綈" lay-command="justifyCenter" layedit-event="center""></i>',right:'<i class="layui-icon layedit-tool-right" title="鍙冲榻�" lay-command="justifyRight" layedit-event="right""></i>',link:'<i class="layui-icon layedit-tool-link" title="鎻掑叆閾炬帴" layedit-event="link""></i>',unlink:'<i class="layui-icon layedit-tool-unlink layui-disabled" title="娓呴櫎閾炬帴" lay-command="unlink" layedit-event="unlink""></i>',face:'<i class="layui-icon layedit-tool-face" title="琛ㄦ儏" layedit-event="face""></i>',image:'<i class="layui-icon layedit-tool-image" title="鍥剧墖" layedit-event="image"><input type="file" name="file"></i>',code:'<i class="layui-icon layedit-tool-code" title="鎻掑叆浠g爜" layedit-event="code"></i>',help:'<i class="layui-icon layedit-tool-help" title="甯姪" layedit-event="help"></i>'},w=new c;t(n,w)});layui.define("jquery",function(e){"use strict";var a=layui.$,l="http://www.layui.com/doc/modules/code.html";e("code",function(e){var t=[];e=e||{},e.elem=a(e.elem||".layui-code"),e.about=!("about"in e)||e.about,e.elem.each(function(){t.push(this)}),layui.each(t.reverse(),function(t,i){var c=a(i),o=c.html();(c.attr("lay-encode")||e.encode)&&(o=o.replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/'/g,"'").replace(/"/g,""")),c.html('<ol class="layui-code-ol"><li>'+o.replace(/[\r\t\n]+/g,"</li><li>")+"</li></ol>"),c.find(">.layui-code-h3")[0]||c.prepend('<h3 class="layui-code-h3">'+(c.attr("lay-title")||e.title||"code")+(e.about?'<a href="'+l+'" target="_blank">layui.code</a>':"")+"</h3>");var d=c.find(">.layui-code-ol");c.addClass("layui-box layui-code-view"),(c.attr("lay-skin")||e.skin)&&c.addClass("layui-code-"+(c.attr("lay-skin")||e.skin)),(d.find("li").length/100|0)>0&&d.css("margin-left",(d.find("li").length/100|0)+"px"),(c.attr("lay-height")||e.height)&&d.css("max-height",c.attr("lay-height")||e.height)})})}).addcss("modules/code.css","skincodecss");
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/layui/layui.js b/src/main/webapp/static/wms/layuiadmin/layui/layui.js
new file mode 100644
index 0000000..0806c13
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/layui/layui.js
@@ -0,0 +1,2 @@
+/** layui-v2.3.0 MIT License By https://www.layui.com */
+ ;!function(e){"use strict";var t=document,n={modules:{},status:{},timeout:10,event:{}},o=function(){this.v="2.3.0"},r=function(){var e=t.currentScript?t.currentScript.src:function(){for(var e,n=t.scripts,o=n.length-1,r=o;r>0;r--)if("interactive"===n[r].readyState){e=n[r].src;break}return e||n[o].src}();return e.substring(0,e.lastIndexOf("/")+1)}(),a=function(t){e.console&&console.error&&console.error("Layui hint: "+t)},i="undefined"!=typeof opera&&"[object Opera]"===opera.toString(),u={layer:"modules/layer",laydate:"modules/laydate",laypage:"modules/laypage",laytpl:"modules/laytpl",layim:"modules/layim",layedit:"modules/layedit",form:"modules/form",upload:"modules/upload",tree:"modules/tree",table:"modules/table",element:"modules/element",rate:"modules/rate",carousel:"modules/carousel",flow:"modules/flow",util:"modules/util",code:"modules/code",jquery:"modules/jquery",mobile:"modules/mobile","layui.all":"../layui.all"};o.prototype.cache=n,o.prototype.define=function(e,t){var o=this,r="function"==typeof e,a=function(){var e=function(e,t){layui[e]=t,n.status[e]=!0};return"function"==typeof t&&t(function(o,r){e(o,r),n.callback[o]=function(){t(e)}}),this};return r&&(t=e,e=[]),layui["layui.all"]||!layui["layui.all"]&&layui["layui.mobile"]?a.call(o):(o.use(e,a),o)},o.prototype.use=function(e,o,l){function s(e,t){var o="PLaySTATION 3"===navigator.platform?/^complete$/:/^(complete|loaded)$/;("load"===e.type||o.test((e.currentTarget||e.srcElement).readyState))&&(n.modules[d]=t,f.removeChild(v),function r(){return++m>1e3*n.timeout/4?a(d+" is not a valid module"):void(n.status[d]?c():setTimeout(r,4))}())}function c(){l.push(layui[d]),e.length>1?y.use(e.slice(1),o,l):"function"==typeof o&&o.apply(layui,l)}var y=this,p=n.dir=n.dir?n.dir:r,f=t.getElementsByTagName("head")[0];e="string"==typeof e?[e]:e,window.jQuery&&jQuery.fn.on&&(y.each(e,function(t,n){"jquery"===n&&e.splice(t,1)}),layui.jquery=layui.$=jQuery);var d=e[0],m=0;if(l=l||[],n.host=n.host||(p.match(/\/\/([\s\S]+?)\//)||["//"+location.host+"/"])[0],0===e.length||layui["layui.all"]&&u[d]||!layui["layui.all"]&&layui["layui.mobile"]&&u[d])return c(),y;if(n.modules[d])!function g(){return++m>1e3*n.timeout/4?a(d+" is not a valid module"):void("string"==typeof n.modules[d]&&n.status[d]?c():setTimeout(g,4))}();else{var v=t.createElement("script"),h=(u[d]?p+"lay/":/^\{\/\}/.test(y.modules[d])?"":n.base||"")+(y.modules[d]||d)+".js";h=h.replace(/^\{\/\}/,""),v.async=!0,v.charset="utf-8",v.src=h+function(){var e=n.version===!0?n.v||(new Date).getTime():n.version||"";return e?"?v="+e:""}(),f.appendChild(v),!v.attachEvent||v.attachEvent.toString&&v.attachEvent.toString().indexOf("[native code")<0||i?v.addEventListener("load",function(e){s(e,h)},!1):v.attachEvent("onreadystatechange",function(e){s(e,h)}),n.modules[d]=h}return y},o.prototype.getStyle=function(t,n){var o=t.currentStyle?t.currentStyle:e.getComputedStyle(t,null);return o[o.getPropertyValue?"getPropertyValue":"getAttribute"](n)},o.prototype.link=function(e,o,r){var i=this,u=t.createElement("link"),l=t.getElementsByTagName("head")[0];"string"==typeof o&&(r=o);var s=(r||e).replace(/\.|\//g,""),c=u.id="layuicss-"+s,y=0;return u.rel="stylesheet",u.href=e+(n.debug?"?v="+(new Date).getTime():""),u.media="all",t.getElementById(c)||l.appendChild(u),"function"!=typeof o?i:(function p(){return++y>1e3*n.timeout/100?a(e+" timeout"):void(1989===parseInt(i.getStyle(t.getElementById(c),"width"))?function(){o()}():setTimeout(p,100))}(),i)},n.callback={},o.prototype.factory=function(e){if(layui[e])return"function"==typeof n.callback[e]?n.callback[e]:null},o.prototype.addcss=function(e,t,o){return layui.link(n.dir+"css/"+e,t,o)},o.prototype.img=function(e,t,n){var o=new Image;return o.src=e,o.complete?t(o):(o.onload=function(){o.onload=null,"function"==typeof t&&t(o)},void(o.onerror=function(e){o.onerror=null,"function"==typeof n&&n(e)}))},o.prototype.config=function(e){e=e||{};for(var t in e)n[t]=e[t];return this},o.prototype.modules=function(){var e={};for(var t in u)e[t]=u[t];return e}(),o.prototype.extend=function(e){var t=this;e=e||{};for(var n in e)t[n]||t.modules[n]?a("妯″潡鍚� "+n+" 宸茶鍗犵敤"):t.modules[n]=e[n];return t},o.prototype.router=function(e){var t=this,e=e||location.hash,n={path:[],search:{},hash:(e.match(/[^#](#.*$)/)||[])[1]||""};return/^#\//.test(e)?(e=e.replace(/^#\//,""),n.href="/"+e,e=e.replace(/([^#])(#.*$)/,"$1").split("/")||[],t.each(e,function(e,t){/^\w+=/.test(t)?function(){t=t.split("="),n.search[t[0]]=t[1]}():n.path.push(t)}),n):n},o.prototype.data=function(t,n,o){if(t=t||"layui",o=o||localStorage,e.JSON&&e.JSON.parse){if(null===n)return delete o[t];n="object"==typeof n?n:{key:n};try{var r=JSON.parse(o[t])}catch(a){var r={}}return"value"in n&&(r[n.key]=n.value),n.remove&&delete r[n.key],o[t]=JSON.stringify(r),n.key?r[n.key]:r}},o.prototype.sessionData=function(e,t){return this.data(e,t,sessionStorage)},o.prototype.device=function(t){var n=navigator.userAgent.toLowerCase(),o=function(e){var t=new RegExp(e+"/([^\\s\\_\\-]+)");return e=(n.match(t)||[])[1],e||!1},r={os:function(){return/windows/.test(n)?"windows":/linux/.test(n)?"linux":/iphone|ipod|ipad|ios/.test(n)?"ios":/mac/.test(n)?"mac":void 0}(),ie:function(){return!!(e.ActiveXObject||"ActiveXObject"in e)&&((n.match(/msie\s(\d+)/)||[])[1]||"11")}(),weixin:o("micromessenger")};return t&&!r[t]&&(r[t]=o(t)),r.android=/android/.test(n),r.ios="ios"===r.os,r},o.prototype.hint=function(){return{error:a}},o.prototype.each=function(e,t){var n,o=this;if("function"!=typeof t)return o;if(e=e||[],e.constructor===Object){for(n in e)if(t.call(e[n],n,e[n]))break}else for(n=0;n<e.length&&!t.call(e[n],n,e[n]);n++);return o},o.prototype.sort=function(e,t,n){var o=JSON.parse(JSON.stringify(e||[]));return t?(o.sort(function(e,n){var o=/^-?\d+$/,r=e[t],a=n[t];return o.test(r)&&(r=parseFloat(r)),o.test(a)&&(a=parseFloat(a)),r&&!a?1:!r&&a?-1:r>a?1:r<a?-1:0}),n&&o.reverse(),o):o},o.prototype.stope=function(t){t=t||e.event;try{t.stopPropagation()}catch(n){t.cancelBubble=!0}},o.prototype.onevent=function(e,t,n){return"string"!=typeof e||"function"!=typeof n?this:o.event(e,t,null,n)},o.prototype.event=o.event=function(e,t,o,r){var a=this,i=null,u=t.match(/\((.*)\)$/)||[],l=(e+"."+t).replace(u[0],""),s=u[1]||"",c=function(e,t){var n=t&&t.call(a,o);n===!1&&null===i&&(i=!1)};return r?(n.event[l]=n.event[l]||{},n.event[l][s]=[r],this):(layui.each(n.event[l],function(e,t){return"{*}"===s?void layui.each(t,c):(""===e&&layui.each(t,c),void(e===s&&layui.each(t,c)))}),i)},e.layui=new o}(window);
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/lib/admin.js b/src/main/webapp/static/wms/layuiadmin/lib/admin.js
new file mode 100644
index 0000000..0e69e9e
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/lib/admin.js
@@ -0,0 +1,866 @@
+/**
+
+ @Name锛歭ayuiAdmin iframe鐗堟牳蹇冩ā鍧�
+ @Author锛氳搐蹇�
+ @Site锛歨ttp://www.layui.com/admin/
+ @License锛歀PPL
+
+ */
+
+layui.define('view', function(exports){
+ var $ = layui.jquery
+ ,laytpl = layui.laytpl
+ ,element = layui.element
+ ,setter = layui.setter
+ ,view = layui.view
+ ,device = layui.device()
+
+ ,$win = $(window), $body = $('body')
+ ,container = $('#'+ setter.container)
+
+ ,SHOW = 'layui-show', HIDE = 'layui-hide', THIS = 'layui-this', DISABLED = 'layui-disabled', TEMP = 'template'
+ ,APP_BODY = '#LAY_app_body', APP_FLEXIBLE = 'LAY_app_flexible'
+ ,FILTER_TAB_TBAS = 'layadmin-layout-tabs'
+ ,APP_SPREAD_SM = 'layadmin-side-spread-sm', TABS_BODY = 'layadmin-tabsbody-item'
+ ,ICON_SHRINK = 'layui-icon-shrink-right', ICON_SPREAD = 'layui-icon-spread-left'
+ ,SIDE_SHRINK = 'layadmin-side-shrink', SIDE_MENU = 'LAY-system-side-menu'
+
+ //閫氱敤鏂规硶
+ ,admin = {
+ v: '1.0.0 std'
+
+ //鏁版嵁鐨勫紓姝ヨ姹�
+ ,req: view.req
+
+ //鍙戦�侀獙璇佺爜
+ ,sendAuthCode: function(options){
+ options = $.extend({
+ seconds: 60
+ ,elemPhone: '#LAY_phone'
+ ,elemVercode: '#LAY_vercode'
+ }, options);
+
+ var seconds = options.seconds
+ ,btn = $(options.elem)
+ ,token = null
+ ,timer, countDown = function(loop){
+ seconds--;
+ if(seconds < 0){
+ btn.removeClass(DISABLED).html('鑾峰彇楠岃瘉鐮�');
+ seconds = options.seconds;
+ clearInterval(timer);
+ } else {
+ btn.addClass(DISABLED).html(seconds + '绉掑悗閲嶈幏');
+ }
+
+ if(!loop){
+ timer = setInterval(function(){
+ countDown(true);
+ }, 1000);
+ }
+ };
+
+ options.elemPhone = $(options.elemPhone);
+ options.elemVercode = $(options.elemVercode);
+
+ btn.on('click', function(){
+ var elemPhone = options.elemPhone
+ ,value = elemPhone.val();
+
+ if(seconds !== options.seconds || $(this).hasClass(DISABLED)) return;
+
+ if(!/^1\d{10}$/.test(value)){
+ elemPhone.focus();
+ return layer.msg('璇疯緭鍏ユ纭殑鎵嬫満鍙�')
+ };
+
+ if(typeof options.ajax === 'object'){
+ var success = options.ajax.success;
+ delete options.ajax.success;
+ }
+
+ admin.req($.extend(true, {
+ url: '/auth/code'
+ ,type: 'get'
+ ,data: {
+ phone: value
+ }
+ ,success: function(res){
+ layer.msg('楠岃瘉鐮佸凡鍙戦�佽嚦浣犵殑鎵嬫満锛岃娉ㄦ剰鏌ユ敹', {
+ icon: 1
+ ,shade: 0
+ });
+ options.elemVercode.focus();
+ countDown();
+ success && success(res);
+ }
+ }, options.ajax));
+ });
+ }
+
+ //灞忓箷绫诲瀷
+ ,screen: function(){
+ var width = $win.width()
+ if(width >= 1200){
+ return 3; //澶у睆骞�
+ } else if(width >= 992){
+ return 2; //涓睆骞�
+ } else if(width >= 768){
+ return 1; //灏忓睆骞�
+ } else {
+ return 0; //瓒呭皬灞忓箷
+ }
+ }
+
+ //娓呴櫎鏈湴 token锛屽苟璺宠浆鍒扮櫥鍏ラ〉
+ ,exit: view.exit
+
+ //渚ц竟浼哥缉
+ ,sideFlexible: function(status){
+ var app = container
+ ,iconElem = $('#'+ APP_FLEXIBLE)
+ ,screen = admin.screen();
+
+ //璁剧疆鐘舵�侊紝PC锛氶粯璁ゅ睍寮�銆佺Щ鍔細榛樿鏀剁缉
+ if(status === 'spread'){
+ //鍒囨崲鍒板睍寮�鐘舵�佺殑 icon锛岀澶达細鈫�
+ iconElem.removeClass(ICON_SPREAD).addClass(ICON_SHRINK);
+
+ //绉诲姩锛氫粠宸﹀埌鍙充綅绉伙紱PC锛氭竻闄ゅ浣欓�夋嫨鍣ㄦ仮澶嶉粯璁�
+ if(screen < 2){
+ app.addClass(APP_SPREAD_SM);
+ } else {
+ app.removeClass(APP_SPREAD_SM);
+ }
+
+ app.removeClass(SIDE_SHRINK)
+ } else {
+ //鍒囨崲鍒版悳绱㈢姸鎬佺殑 icon锛岀澶达細鈫�
+ iconElem.removeClass(ICON_SHRINK).addClass(ICON_SPREAD);
+
+ //绉诲姩锛氭竻闄ゅ浣欓�夋嫨鍣ㄦ仮澶嶉粯璁わ紱PC锛氫粠鍙冲線宸︽敹缂�
+ if(screen < 2){
+ app.removeClass(SIDE_SHRINK);
+ } else {
+ app.addClass(SIDE_SHRINK);
+ }
+
+ app.removeClass(APP_SPREAD_SM)
+ }
+
+ layui.event.call(this, setter.MOD_NAME, 'side({*})', {
+ status: status
+ });
+ }
+
+ //xss 杞箟
+ ,escape: function(html){
+ return String(html || '').replace(/&(?!#?[a-zA-Z0-9]+;)/g, '&')
+ .replace(/</g, '<').replace(/>/g, '>')
+ .replace(/'/g, ''').replace(/"/g, '"');
+ }
+
+ //浜嬩欢鐩戝惉
+ ,on: function(events, callback){
+ return layui.onevent.call(this, setter.MOD_NAME, events, callback);
+ }
+
+ //寮瑰嚭闈㈡澘
+ ,popup: view.popup
+
+ //鍙充晶闈㈡澘
+ ,popupRight: function(options){
+ //layer.close(admin.popup.index);
+ return admin.popup.index = layer.open($.extend({
+ type: 1
+ ,id: 'LAY_adminPopupR'
+ ,anim: -1
+ ,title: false
+ ,closeBtn: false
+ ,offset: 'r'
+ ,shade: 0.1
+ ,shadeClose: true
+ ,skin: 'layui-anim layui-anim-rl layui-layer-adminRight'
+ ,area: '300px'
+ }, options));
+ }
+
+ //涓婚璁剧疆
+ ,theme: function(options){
+ var theme = setter.theme
+ ,local = layui.data(setter.tableName)
+ ,id = 'LAY_layadmin_theme'
+ ,style = document.createElement('style')
+ ,styleText = laytpl([
+ //涓婚鑹�
+ '.layui-side-menu,'
+ ,'.layadmin-pagetabs .layui-tab-title li:after,'
+ ,'.layadmin-pagetabs .layui-tab-title li.layui-this:after,'
+ ,'.layui-layer-admin .layui-layer-title,'
+ ,'.layadmin-side-shrink .layui-side-menu .layui-nav>.layui-nav-item>.layui-nav-child'
+ ,'{background-color:{{d.color.main}} !important;}'
+
+ //閫変腑鑹�
+ ,'.layui-nav-tree .layui-this,'
+ ,'.layui-nav-tree .layui-this>a,'
+ ,'.layui-nav-tree .layui-nav-child dd.layui-this,'
+ ,'.layui-nav-tree .layui-nav-child dd.layui-this a'
+ ,'{background-color:{{d.color.selected}} !important;}'
+
+ //logo
+ ,'.layui-layout-admin .layui-logo{background-color:{{d.color.logo || d.color.main}} !important;}'
+
+ //澶撮儴鑹�
+ ,'{{# if(d.color.header){ }}'
+ ,'.layui-layout-admin .layui-header{background-color:{{ d.color.header }};}'
+ ,'.layui-layout-admin .layui-header a,'
+ ,'.layui-layout-admin .layui-header a cite{color: #f8f8f8;}'
+ ,'.layui-layout-admin .layui-header a:hover{color: #fff;}'
+ ,'.layui-layout-admin .layui-header .layui-nav .layui-nav-more{border-top-color: #fbfbfb;}'
+ ,'.layui-layout-admin .layui-header .layui-nav .layui-nav-mored{border-color: transparent; border-bottom-color: #fbfbfb;}'
+ ,'.layui-layout-admin .layui-header .layui-nav .layui-this:after, .layui-layout-admin .layui-header .layui-nav-bar{background-color: #fff; background-color: rgba(255,255,255,.5);}'
+ ,'.layadmin-pagetabs .layui-tab-title li:after{display: none;}'
+ ,'{{# } }}'
+ ].join('')).render(options = $.extend({}, local.theme, options))
+ ,styleElem = document.getElementById(id);
+
+ //娣诲姞涓婚鏍峰紡
+ if('styleSheet' in style){
+ style.setAttribute('type', 'text/css');
+ style.styleSheet.cssText = styleText;
+ } else {
+ style.innerHTML = styleText;
+ }
+ style.id = id;
+
+ styleElem && $body[0].removeChild(styleElem);
+ $body[0].appendChild(style);
+ $body.attr('layadmin-themealias', options.color.alias);
+
+ //鏈湴瀛樺偍璁板綍
+ local.theme = local.theme || {};
+ layui.each(options, function(key, value){
+ local.theme[key] = value;
+ });
+ layui.data(setter.tableName, {
+ key: 'theme'
+ ,value: local.theme
+ });
+ }
+
+ //鍒濆鍖栦富棰�
+ ,initTheme: function(index){
+ var theme = setter.theme;
+ index = index || 0;
+ if(theme.color[index]){
+ theme.color[index].index = index;
+ admin.theme({
+ color: theme.color[index]
+ });
+ }
+ }
+
+ //璁板綍鏈�杩戜竴娆$偣鍑荤殑椤甸潰鏍囩鏁版嵁
+ ,tabsPage: {}
+
+ //鑾峰彇椤甸潰鏍囩涓讳綋鍏冪礌
+ ,tabsBody: function(index){
+ return $(APP_BODY).find('.'+ TABS_BODY).eq(index || 0);
+ }
+
+ //鍒囨崲椤甸潰鏍囩涓讳綋
+ ,tabsBodyChange: function(index, options){
+ options = options || {};
+
+ admin.tabsBody(index).addClass(SHOW).siblings().removeClass(SHOW);
+ events.rollPage('auto', index);
+
+ //鎵ц {setter.MOD_NAME}.tabsPage 涓嬬殑浜嬩欢
+ layui.event.call(this, setter.MOD_NAME, 'tabsPage({*})', {
+ url: options.url
+ ,text: options.text
+ });
+ }
+
+ //resize浜嬩欢绠$悊
+ ,resize: function(fn){
+ var router = layui.router()
+ ,key = router.path.join('-');
+ $win.off('resize', admin.resizeFn[key]);
+ fn(), admin.resizeFn[key] = fn;
+ $win.on('resize', admin.resizeFn[key]);
+ }
+ ,resizeFn: {}
+ ,runResize: function(){
+ var router = layui.router()
+ ,key = router.path.join('-');
+ admin.resizeFn[key] && admin.resizeFn[key]();
+ }
+ ,delResize: function(){
+ var router = layui.router()
+ ,key = router.path.join('-');
+ $win.off('resize', admin.resizeFn[key])
+ delete admin.resizeFn[key];
+ }
+
+ //鍏抽棴褰撳墠 pageTabs
+ ,closeThisTabs: function(){
+ if(!admin.tabsPage.index) return;
+ $(TABS_HEADER).eq(admin.tabsPage.index).find('.layui-tab-close').trigger('click');
+ }
+
+ //鈥︹��
+ };
+
+ //浜嬩欢
+ var events = admin.events = {
+ //浼哥缉
+ flexible: function(othis){
+ var iconElem = othis.find('#'+ APP_FLEXIBLE)
+ ,isSpread = iconElem.hasClass(ICON_SPREAD);
+ admin.sideFlexible(isSpread ? 'spread' : null);
+ }
+
+ //鍒锋柊
+ ,refresh: function(){
+ var ELEM_IFRAME = '.layadmin-iframe'
+ ,length = $('.'+ TABS_BODY).length;
+
+ if(admin.tabsPage.index >= length){
+ admin.tabsPage.index = length - 1;
+ }
+
+ var iframe = admin.tabsBody(admin.tabsPage.index).find(ELEM_IFRAME);
+ iframe[0].contentWindow.location.reload(true);
+ }
+
+ //杈撳叆妗嗘悳绱�
+ ,serach: function(othis){
+ othis.off('keypress').on('keypress',function(e){
+ if(!this.value.replace(/\s/g, '')) return;
+ //鍥炶溅璺宠浆
+ if(e.keyCode === 13){
+ var href = othis.attr('lay-action')
+ ,text = othis.attr('lay-text') || '鎼滅储';
+
+ href = href + this.value;
+ text = text + ' <span style="color: #FF5722;">'+ admin.escape(this.value) +'</span>';
+
+ //鎵撳紑鏍囩椤�
+ layui.index.openTabsPage(href, text);
+
+ //濡傛灉鎼滅储鍏抽敭璇嶅凡缁忔墦寮�锛屽垯鍒锋柊椤甸潰鍗冲彲
+ events.serach.keys || (events.serach.keys = {});
+ events.serach.keys[admin.tabsPage.index] = this.value;
+ if(this.value === events.serach.keys[admin.tabsPage.index]){
+ events.refresh(othis);
+ }
+
+ //娓呯┖杈撳叆妗�
+ this.value = '';
+ }
+ });
+ }
+
+ //鐐瑰嚮娑堟伅
+ ,message: function(othis){
+ othis.find('.layui-badge-dot').remove();
+ }
+
+ //寮瑰嚭涓婚闈㈡澘
+ ,theme: function(){
+ admin.popupRight({
+ id: 'LAY_adminPopupTheme'
+ ,success: function(){
+ view(this.id).render('system/theme')
+ }
+ });
+ }
+
+ //绉橀挜
+ ,note: function(othis){
+ var mobile = admin.screen() < 2
+ ,note = layui.data(setter.tableName).note;
+ // 鑾峰彇婵�娲荤姸鎬�
+ var activation = false;
+ var exprTime;
+ $.ajax({
+ url: baseUrl+"/system/activation/auth",
+ dataType:'json',
+ method: 'GET',
+ async: false,
+ success: function (res) {
+ if (res.code === 200) {
+ activation = true;
+ exprTime = res.data;
+ }
+ }
+ });
+
+ events.note.index = admin.popup({
+ title: (activation?"宸叉縺娲伙紙鏈夋晥鏈熻嚦"+exprTime+"锛�":"Activation Code(鏈縺娲�)")
+ // title: 'license'
+ ,shade: 0
+ ,offset: [
+ '41px'
+ ,(mobile ? null : (othis.offset().left - 250) + 'px')
+ ]
+ ,anim: -1
+ ,id: 'LAY_adminNote'
+ ,skin: 'layadmin-note layui-anim layui-anim-upbit'
+ ,content: '<textarea placeholder="鍐呭"></textarea>'
+ ,resize: false
+ ,btn: [(activation?"鏇存柊":"绔嬪嵆婵�娲�"), '鍙栨秷']
+ ,success: function(layero, index){
+ var textarea = layero.find('textarea')
+ ,value = note === undefined ? '' : note;
+
+ // textarea.val(value).focus().on('keyup', function(){
+ // layui.data(setter.tableName, {
+ // key: 'note'
+ // ,value: this.value
+ // });
+ // });
+ }
+ ,yes: function(index, layero){
+ $.ajax({
+ url: baseUrl+"/system/secret/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: "secret="+$("#LAY_adminNote").children("textarea").val(),
+ dataType:'json',
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200) {
+ alert("婵�娲绘垚鍔�");
+ location.reload();
+ // layer.msg(res.msg);
+ // layer.close(index);
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/login";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ });
+ }
+ ,btn2: function(index, layero){
+ layer.close(index);
+ }
+ })
+ }
+
+ //鍏ㄥ睆
+ ,fullscreen: function(othis){
+ var SCREEN_FULL = 'layui-icon-screen-full'
+ ,SCREEN_REST = 'layui-icon-screen-restore'
+ ,iconElem = othis.children("i");
+
+ if(iconElem.hasClass(SCREEN_FULL)){
+ var elem = document.body;
+ if(elem.webkitRequestFullScreen){
+ elem.webkitRequestFullScreen();
+ } else if(elem.mozRequestFullScreen) {
+ elem.mozRequestFullScreen();
+ } else if(elem.requestFullScreen) {
+ elem.requestFullscreen();
+ }
+
+ iconElem.addClass(SCREEN_REST).removeClass(SCREEN_FULL);
+ } else {
+ var elem = document;
+ if(elem.webkitCancelFullScreen){
+ elem.webkitCancelFullScreen();
+ } else if(elem.mozCancelFullScreen) {
+ elem.mozCancelFullScreen();
+ } else if(elem.cancelFullScreen) {
+ elem.cancelFullScreen();
+ } else if(elem.exitFullscreen) {
+ elem.exitFullscreen();
+ }
+
+ iconElem.addClass(SCREEN_FULL).removeClass(SCREEN_REST);
+ }
+ }
+
+ //寮瑰嚭鍏充簬闈㈡澘
+ ,about: function(){
+ admin.popupRight({
+ id: 'LAY_adminPopupAbout'
+ ,success: function(){
+ view(this.id).render('system/about');
+ }
+ });
+ }
+
+ //寮瑰嚭鏇村闈㈡澘
+ ,more: function(){
+ admin.popupRight({
+ id: 'LAY_adminPopupMore'
+ ,success: function(){
+ view(this.id).render('system/more');
+ }
+ });
+ }
+
+ //杩斿洖涓婁竴椤�
+ ,back: function(){
+ history.back();
+ }
+
+ //涓婚璁剧疆
+ ,setTheme: function(othis){
+ var index = othis.data('index')
+ ,nextIndex = othis.siblings('.layui-this').data('index');
+
+ if(othis.hasClass(THIS)) return;
+
+ othis.addClass(THIS).siblings('.layui-this').removeClass(THIS);
+ admin.initTheme(index);
+ }
+
+ //宸﹀彸婊氬姩椤甸潰鏍囩
+ ,rollPage: function(type, index){
+ var tabsHeader = $('#LAY_app_tabsheader')
+ ,liItem = tabsHeader.children('li')
+ ,scrollWidth = tabsHeader.prop('scrollWidth')
+ ,outerWidth = tabsHeader.outerWidth()
+ ,tabsLeft = parseFloat(tabsHeader.css('left'));
+
+ //鍙冲乏寰�鍙�
+ if(type === 'left'){
+ if(!tabsLeft && tabsLeft <=0) return;
+
+ //褰撳墠鐨刲eft鍑忓幓鍙瀹藉害锛岀敤浜庝笌涓婁竴杞殑椤垫爣姣旇緝
+ var prefLeft = -tabsLeft - outerWidth;
+
+ liItem.each(function(index, item){
+ var li = $(item)
+ ,left = li.position().left;
+
+ if(left >= prefLeft){
+ tabsHeader.css('left', -left);
+ return false;
+ }
+ });
+ } else if(type === 'auto'){ //鑷姩婊氬姩
+ (function(){
+ var thisLi = liItem.eq(index), thisLeft;
+
+ if(!thisLi[0]) return;
+ thisLeft = thisLi.position().left;
+
+ //褰撶洰鏍囨爣绛惧湪鍙鍖哄煙宸︿晶鏃�
+ if(thisLeft < -tabsLeft){
+ return tabsHeader.css('left', -thisLeft);
+ }
+
+ //褰撶洰鏍囨爣绛惧湪鍙鍖哄煙鍙充晶鏃�
+ if(thisLeft + thisLi.outerWidth() >= outerWidth - tabsLeft){
+ var subLeft = thisLeft + thisLi.outerWidth() - (outerWidth - tabsLeft);
+ liItem.each(function(i, item){
+ var li = $(item)
+ ,left = li.position().left;
+
+ //浠庡綋鍓嶅彲瑙嗗尯鍩熺殑鏈�宸︾浜屼釜鑺傜偣閬嶅巻锛屽鏋滃噺鍘绘渶宸﹁妭鐐圭殑宸� > 鐩爣鍦ㄥ彸渚т笉鍙鐨勫搴︼紝鍒欏皢璇ヨ妭鐐规斁缃彲瑙嗗尯鍩熸渶宸�
+ if(left + tabsLeft > 0){
+ if(left - tabsLeft > subLeft){
+ tabsHeader.css('left', -left);
+ return false;
+ }
+ }
+ });
+ }
+ }());
+ } else {
+ //榛樿鍚戝乏婊氬姩
+ liItem.each(function(i, item){
+ var li = $(item)
+ ,left = li.position().left;
+
+ if(left + li.outerWidth() >= outerWidth - tabsLeft){
+ tabsHeader.css('left', -left);
+ return false;
+ }
+ });
+ }
+ }
+
+ //鍚戝彸婊氬姩椤甸潰鏍囩
+ ,leftPage: function(){
+ events.rollPage('left');
+ }
+
+ //鍚戝乏婊氬姩椤甸潰鏍囩
+ ,rightPage: function(){
+ events.rollPage();
+ }
+
+ //鍏抽棴褰撳墠鏍囩椤�
+ ,closeThisTabs: function(){
+ admin.closeThisTabs();
+ }
+
+ //鍏抽棴鍏跺畠鏍囩椤�
+ ,closeOtherTabs: function(type){
+ var TABS_REMOVE = 'LAY-system-pagetabs-remove';
+ if(type === 'all'){
+ $(TABS_HEADER+ ':gt(0)').remove();
+ $(APP_BODY).find('.'+ TABS_BODY+ ':gt(0)').remove();
+
+ $(TABS_HEADER).eq(0).trigger('click');
+ } else {
+ $(TABS_HEADER).each(function(index, item){
+ if(index && index != admin.tabsPage.index){
+ $(item).addClass(TABS_REMOVE);
+ admin.tabsBody(index).addClass(TABS_REMOVE);
+ }
+ });
+ $('.'+ TABS_REMOVE).remove();
+ }
+ }
+
+ //鍏抽棴鍏ㄩ儴鏍囩椤�
+ ,closeAllTabs: function(){
+ events.closeOtherTabs('all');
+ //location.hash = '';
+ }
+
+ //閬僵
+ ,shade: function(){
+ admin.sideFlexible();
+ }
+
+ //鍛煎嚭IM 绀轰緥
+ ,im: function(){
+ admin.popup({
+ id: 'LAY-popup-layim-demo' //瀹氫箟鍞竴ID锛岄槻姝㈤噸澶嶅脊鍑�
+ ,shade: 0
+ ,area: ['800px', '300px']
+ ,title: '闈㈡澘澶栫殑鎿嶄綔绀轰緥'
+ ,offset: 'lb'
+ ,success: function(){
+ //灏� views 鐩綍涓嬬殑鏌愯鍥炬枃浠跺唴瀹规覆鏌撶粰璇ラ潰鏉�
+ layui.view(this.id).render('layim/demo').then(function(){
+ layui.use('im');
+ });
+ }
+ })
+ }
+ };
+
+ //鍒濆
+ !function(){
+ //涓婚鍒濆鍖栵紝鏈湴涓婚璁板綍浼樺厛锛屽叾娆′负 initColorIndex
+ var local = layui.data(setter.tableName);
+ if(local.theme){
+ admin.theme(local.theme);
+ } else if(setter.theme){
+ admin.initTheme(setter.theme.initColorIndex);
+ }
+
+ //甯歌鐗堥粯璁ゅ紑鍚鏍囩椤�
+ if(!('pageTabs' in layui.setter)) layui.setter.pageTabs = true;
+
+ //涓嶅紑鍚〉闈㈡爣绛炬椂
+ if(!setter.pageTabs){
+ $('#LAY_app_tabs').addClass(HIDE);
+ container.addClass('layadmin-tabspage-none');
+ }
+
+ //浣庣増鏈琁E鎻愮ず
+ if(device.ie && device.ie < 10){
+ view.error('IE'+ device.ie + '涓嬭闂彲鑳戒笉浣筹紝鎺ㄨ崘浣跨敤锛欳hrome / Firefox / Edge 绛夐珮绾ф祻瑙堝櫒', {
+ offset: 'auto'
+ ,id: 'LAY_errorIE'
+ });
+ }
+
+ }();
+
+ //admin.prevRouter = {}; //涓婁竴涓矾鐢�
+
+ //鐩戝惉 tab 缁勪欢鍒囨崲锛屽悓姝� index
+ element.on('tab('+ FILTER_TAB_TBAS +')', function(data){
+ admin.tabsPage.index = data.index;
+ });
+
+ //鐩戝惉閫夐」鍗″垏鎹紝鏀瑰彉鑿滃崟鐘舵��
+ admin.on('tabsPage(setMenustatus)', function(router){
+ var pathURL = router.url, getData = function(item){
+ return {
+ list: item.children('.layui-nav-child')
+ ,a: item.children('*[lay-href]')
+ }
+ }
+ ,sideMenu = $('#'+ SIDE_MENU)
+ ,SIDE_NAV_ITEMD = 'layui-nav-itemed'
+
+ //鎹曡幏瀵瑰簲鑿滃崟
+ ,matchMenu = function(list){
+ list.each(function(index1, item1){
+ var othis1 = $(item1)
+ ,data1 = getData(othis1)
+ ,listChildren1 = data1.list.children('dd')
+ ,matched1 = pathURL === data1.a.attr('lay-href');
+
+ listChildren1.each(function(index2, item2){
+ var othis2 = $(item2)
+ ,data2 = getData(othis2)
+ ,listChildren2 = data2.list.children('dd')
+ ,matched2 = pathURL === data2.a.attr('lay-href');
+
+ listChildren2.each(function(index3, item3){
+ var othis3 = $(item3)
+ ,data3 = getData(othis3)
+ ,matched3 = pathURL === data3.a.attr('lay-href');
+
+ if(matched3){
+ var selected = data3.list[0] ? SIDE_NAV_ITEMD : THIS;
+ othis3.addClass(selected).siblings().removeClass(selected); //鏍囪閫夋嫨鍣�
+ return false;
+ }
+
+ });
+
+ if(matched2){
+ var selected = data2.list[0] ? SIDE_NAV_ITEMD : THIS;
+ othis2.addClass(selected).siblings().removeClass(selected); //鏍囪閫夋嫨鍣�
+ return false
+ }
+
+ });
+
+ if(matched1){
+ var selected = data1.list[0] ? SIDE_NAV_ITEMD : THIS;
+ othis1.addClass(selected).siblings().removeClass(selected); //鏍囪閫夋嫨鍣�
+ return false;
+ }
+
+ });
+ }
+
+ //閲嶇疆鐘舵��
+ sideMenu.find('.'+ THIS).removeClass(THIS);
+
+ //绉诲姩绔偣鍑昏彍鍗曟椂鑷姩鏀剁缉
+ if(admin.screen() < 2) admin.sideFlexible();
+
+ //寮�濮嬫崟鑾�
+ matchMenu(sideMenu.children('li'));
+ });
+
+ //鐩戝惉渚ц竟瀵艰埅鐐瑰嚮浜嬩欢
+ element.on('nav(layadmin-system-side-menu)', function(elem){
+ if(elem.siblings('.layui-nav-child')[0] && container.hasClass(SIDE_SHRINK)){
+ admin.sideFlexible('spread');
+ layer.close(elem.data('index'));
+ };
+ admin.tabsPage.type = 'nav';
+ });
+
+ //鐩戝惉閫夐」鍗$殑鏇村鎿嶄綔
+ element.on('nav(layadmin-pagetabs-nav)', function(elem){
+ var dd = elem.parent();
+ dd.removeClass(THIS);
+ dd.parent().removeClass(SHOW);
+ });
+
+ //鍚屾璺敱
+ var setThisRouter = function(othis){
+ var layid = othis.attr('lay-id')
+ ,attr = othis.attr('lay-attr')
+ ,index = othis.index();
+
+ admin.tabsBodyChange(index, {
+ url: attr
+ });
+ //location.hash = layid === setter.entry ? '/' : attr;
+ }
+ ,TABS_HEADER = '#LAY_app_tabsheader>li';
+
+ //鏍囩椤垫爣棰樼偣鍑�
+ $body.on('click', TABS_HEADER, function(){
+ var othis = $(this)
+ ,index = othis.index();
+
+ admin.tabsPage.type = 'tab';
+ admin.tabsPage.index = index;
+
+ setThisRouter(othis);
+ });
+
+ //鐩戝惉 tabspage 鍒犻櫎
+ element.on('tabDelete('+ FILTER_TAB_TBAS +')', function(obj){
+ var othis = $(TABS_HEADER+ '.layui-this');
+
+ obj.index && admin.tabsBody(obj.index).remove();
+ setThisRouter(othis);
+
+ //绉婚櫎resize浜嬩欢
+ admin.delResize();
+ });
+
+ //椤甸潰璺宠浆
+ $body.on('click', '*[lay-href]', function(){
+ var othis = $(this)
+ ,href = othis.attr('lay-href')
+ ,text = othis.attr('lay-text')
+ ,router = layui.router();
+
+ admin.tabsPage.elem = othis;
+ //admin.prevRouter[router.path[0]] = router.href; //璁板綍涓婁竴娆″悇鑿滃崟鐨勮矾鐢变俊鎭�
+
+ //鎵ц璺宠浆
+ var topLayui = parent === self ? layui : top.layui;
+ topLayui.index.openTabsPage(href, text || othis.text());
+ });
+
+ //鐐瑰嚮浜嬩欢
+ $body.on('click', '*[layadmin-event]', function(){
+ var othis = $(this)
+ ,attrEvent = othis.attr('layadmin-event');
+ events[attrEvent] && events[attrEvent].call(this, othis);
+ });
+
+ //tips
+ $body.on('mouseenter', '*[lay-tips]', function(){
+ var othis = $(this);
+
+ if(othis.parent().hasClass('layui-nav-item') && !container.hasClass(SIDE_SHRINK)) return;
+
+ var tips = othis.attr('lay-tips')
+ ,offset = othis.attr('lay-offset')
+ ,direction = othis.attr('lay-direction')
+ ,index = layer.tips(tips, this, {
+ tips: direction || 1
+ ,time: -1
+ ,success: function(layero, index){
+ if(offset){
+ layero.css('margin-left', offset + 'px');
+ }
+ }
+ });
+ othis.data('index', index);
+ }).on('mouseleave', '*[lay-tips]', function(){
+ layer.close($(this).data('index'));
+ });
+
+ //绐楀彛resize浜嬩欢
+ var resizeSystem = layui.data.resizeSystem = function(){
+ //layer.close(events.note.index);
+ layer.closeAll('tips');
+
+ if(!resizeSystem.lock){
+ setTimeout(function(){
+ admin.sideFlexible(admin.screen() < 2 ? '' : 'spread');
+ delete resizeSystem.lock;
+ }, 100);
+ }
+
+ resizeSystem.lock = true;
+ }
+ $win.on('resize', layui.data.resizeSystem);
+
+ //鎺ュ彛杈撳嚭
+ exports('admin', admin);
+});
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/lib/extend/echarts.js b/src/main/webapp/static/wms/layuiadmin/lib/extend/echarts.js
new file mode 100644
index 0000000..7af448c
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/lib/extend/echarts.js
@@ -0,0 +1,39 @@
+!function(e){var t,i;!function(){function e(e,t){if(!t)return e;if(0===e.indexOf(".")){var i=t.split("/"),n=e.split("/"),a=i.length-1,o=n.length,r=0,s=0;e:for(var l=0;o>l;l++)switch(n[l]){case"..":if(!(a>r))break e;r++,s++;break;case".":s++;break;default:break e}return i.length=a-r,n=n.slice(s),i.concat(n).join("/")}return e}function n(t){function i(i,r){if("string"==typeof i){var s=n[i];return s||(s=o(e(i,t)),n[i]=s),s}i instanceof Array&&(r=r||function(){},r.apply(this,a(i,r,t)))}var n={};return i}function a(i,n,a){for(var s=[],l=r[a],h=0,m=Math.min(i.length,n.length);m>h;h++){var V,U=e(i[h],a);switch(U){case"require":V=l&&l.require||t;break;case"exports":V=l.exports;break;case"module":V=l;break;default:V=o(U)}s.push(V)}return s}function o(e){var t=r[e];if(!t)throw new Error("No "+e);if(!t.defined){var i=t.factory,n=i.apply(this,a(t.deps||[],i,e));"undefined"!=typeof n&&(t.exports=n),t.defined=1}return t.exports}var r={};i=function(e,t,i){r[e]={id:e,deps:t,factory:i,defined:0,exports:{},require:n(e)}},t=n("")}(),i("echarts",["echarts/echarts"],function(e){return e}),i("echarts/echarts",["require","./config","zrender/tool/util","zrender/tool/event","zrender/tool/env","zrender","zrender/config","./chart/island","./component/toolbox","./component","./component/title","./component/tooltip","./component/legend","./util/ecData","./chart","zrender/tool/color","./component/timeline","zrender/shape/Image","zrender/loadingEffect/Bar","zrender/loadingEffect/Bubble","zrender/loadingEffect/DynamicLine","zrender/loadingEffect/Ring","zrender/loadingEffect/Spin","zrender/loadingEffect/Whirling","./theme/macarons","./theme/infographic"],function(e){function t(){r.Dispatcher.call(this)}function i(e){e.innerHTML="",this._themeConfig={},this.dom=e,this._connected=!1,this._status={dragIn:!1,dragOut:!1,needRefresh:!1},this._curEventType=!1,this._chartList=[],this._messageCenter=new t,this._messageCenterOutSide=new t,this.resize=this.resize(),this._init()}function n(e,t,i,n,a){for(var o=e._chartList,r=o.length;r--;){var s=o[r];"function"==typeof s[t]&&s[t](i,n,a)}}var a=e("./config"),o=e("zrender/tool/util"),r=e("zrender/tool/event"),s={},l=e("zrender/tool/env").canvasSupported,h=new Date-0,m={},V="_echarts_instance_";s.version="2.2.7",s.dependencies={zrender:"2.1.1"},s.init=function(t,n){var a=e("zrender");a.version.replace(".","")-0<s.dependencies.zrender.replace(".","")-0&&console.error("ZRender "+a.version+" is too old for ECharts "+s.version+". Current version need ZRender "+s.dependencies.zrender+"+"),t=t instanceof Array?t[0]:t;var o=t.getAttribute(V);return o||(o=h++,t.setAttribute(V,o)),m[o]&&m[o].dispose(),m[o]=new i(t),m[o].id=o,m[o].canvasSupported=l,m[o].setTheme(n),m[o]},s.getInstanceById=function(e){return m[e]},o.merge(t.prototype,r.Dispatcher.prototype,!0);var U=e("zrender/config").EVENT,d=["CLICK","DBLCLICK","MOUSEOVER","MOUSEOUT","DRAGSTART","DRAGEND","DRAGENTER","DRAGOVER","DRAGLEAVE","DROP"];return i.prototype={_init:function(){var t=this,i=e("zrender").init(this.dom);this._zr=i,this._messageCenter.dispatch=function(e,i,n,a){n=n||{},n.type=e,n.event=i,t._messageCenter.dispatchWithContext(e,n,a),t._messageCenterOutSide.dispatchWithContext(e,n,a)},this._onevent=function(e){return t.__onevent(e)};for(var n in a.EVENT)"CLICK"!=n&&"DBLCLICK"!=n&&"HOVER"!=n&&"MOUSEOUT"!=n&&"MAP_ROAM"!=n&&this._messageCenter.bind(a.EVENT[n],this._onevent,this);var o={};this._onzrevent=function(e){return t[o[e.type]](e)};for(var r=0,s=d.length;s>r;r++){var l=d[r],h=U[l];o[h]="_on"+l.toLowerCase(),i.on(h,this._onzrevent)}this.chart={},this.component={};var m=e("./chart/island");this._island=new m(this._themeConfig,this._messageCenter,i,{},this),this.chart.island=this._island;var V=e("./component/toolbox");this._toolbox=new V(this._themeConfig,this._messageCenter,i,{},this),this.component.toolbox=this._toolbox;var p=e("./component");p.define("title",e("./component/title")),p.define("tooltip",e("./component/tooltip")),p.define("legend",e("./component/legend")),(0===i.getWidth()||0===i.getHeight())&&console.error("Dom鈥檚 width & height should be ready before init.")},__onevent:function(e){e.__echartsId=e.__echartsId||this.id;var t=e.__echartsId===this.id;switch(this._curEventType||(this._curEventType=e.type),e.type){case a.EVENT.LEGEND_SELECTED:this._onlegendSelected(e);break;case a.EVENT.DATA_ZOOM:if(!t){var i=this.component.dataZoom;i&&(i.silence(!0),i.absoluteZoom(e.zoom),i.silence(!1))}this._ondataZoom(e);break;case a.EVENT.DATA_RANGE:t&&this._ondataRange(e);break;case a.EVENT.MAGIC_TYPE_CHANGED:if(!t){var n=this.component.toolbox;n&&(n.silence(!0),n.setMagicType(e.magicType),n.silence(!1))}this._onmagicTypeChanged(e);break;case a.EVENT.DATA_VIEW_CHANGED:t&&this._ondataViewChanged(e);break;case a.EVENT.TOOLTIP_HOVER:t&&this._tooltipHover(e);break;case a.EVENT.RESTORE:this._onrestore();break;case a.EVENT.REFRESH:t&&this._onrefresh(e);break;case a.EVENT.TOOLTIP_IN_GRID:case a.EVENT.TOOLTIP_OUT_GRID:if(t){if(this._connected){var o=this.component.grid;o&&(e.x=(e.event.zrenderX-o.getX())/o.getWidth(),e.y=(e.event.zrenderY-o.getY())/o.getHeight())}}else{var o=this.component.grid;o&&this._zr.trigger("mousemove",{connectTrigger:!0,zrenderX:o.getX()+e.x*o.getWidth(),zrenderY:o.getY()+e.y*o.getHeight()})}}if(this._connected&&t&&this._curEventType===e.type){for(var r in this._connected)this._connected[r].connectedEventHandler(e);this._curEventType=null}(!t||!this._connected&&t)&&(this._curEventType=null)},_onclick:function(e){if(n(this,"onclick",e),e.target){var t=this._eventPackage(e.target);t&&null!=t.seriesIndex&&this._messageCenter.dispatch(a.EVENT.CLICK,e.event,t,this)}},_ondblclick:function(e){if(n(this,"ondblclick",e),e.target){var t=this._eventPackage(e.target);t&&null!=t.seriesIndex&&this._messageCenter.dispatch(a.EVENT.DBLCLICK,e.event,t,this)}},_onmouseover:function(e){if(e.target){var t=this._eventPackage(e.target);t&&null!=t.seriesIndex&&this._messageCenter.dispatch(a.EVENT.HOVER,e.event,t,this)}},_onmouseout:function(e){if(e.target){var t=this._eventPackage(e.target);t&&null!=t.seriesIndex&&this._messageCenter.dispatch(a.EVENT.MOUSEOUT,e.event,t,this)}},_ondragstart:function(e){this._status={dragIn:!1,dragOut:!1,needRefresh:!1},n(this,"ondragstart",e)},_ondragenter:function(e){n(this,"ondragenter",e)},_ondragover:function(e){n(this,"ondragover",e)},_ondragleave:function(e){n(this,"ondragleave",e)},_ondrop:function(e){n(this,"ondrop",e,this._status),this._island.ondrop(e,this._status)},_ondragend:function(e){if(n(this,"ondragend",e,this._status),this._timeline&&this._timeline.ondragend(e,this._status),this._island.ondragend(e,this._status),this._status.needRefresh){this._syncBackupData(this._option);var t=this._messageCenter;t.dispatch(a.EVENT.DATA_CHANGED,e.event,this._eventPackage(e.target),this),t.dispatch(a.EVENT.REFRESH,null,null,this)}},_onlegendSelected:function(e){this._status.needRefresh=!1,n(this,"onlegendSelected",e,this._status),this._status.needRefresh&&this._messageCenter.dispatch(a.EVENT.REFRESH,null,null,this)},_ondataZoom:function(e){this._status.needRefresh=!1,n(this,"ondataZoom",e,this._status),this._status.needRefresh&&this._messageCenter.dispatch(a.EVENT.REFRESH,null,null,this)},_ondataRange:function(e){this._clearEffect(),this._status.needRefresh=!1,n(this,"ondataRange",e,this._status),this._status.needRefresh&&this._zr.refreshNextFrame()},_onmagicTypeChanged:function(){this._clearEffect(),this._render(this._toolbox.getMagicOption())},_ondataViewChanged:function(e){this._syncBackupData(e.option),this._messageCenter.dispatch(a.EVENT.DATA_CHANGED,null,e,this),this._messageCenter.dispatch(a.EVENT.REFRESH,null,null,this)},_tooltipHover:function(e){var t=[];n(this,"ontooltipHover",e,t)},_onrestore:function(){this.restore()},_onrefresh:function(e){this._refreshInside=!0,this.refresh(e),this._refreshInside=!1},_syncBackupData:function(e){this.component.dataZoom&&this.component.dataZoom.syncBackupData(e)},_eventPackage:function(t){if(t){var i=e("./util/ecData"),n=i.get(t,"seriesIndex"),a=i.get(t,"dataIndex");return a=-1!=n&&this.component.dataZoom?this.component.dataZoom.getRealDataIndex(n,a):a,{seriesIndex:n,seriesName:(i.get(t,"series")||{}).name,dataIndex:a,data:i.get(t,"data"),name:i.get(t,"name"),value:i.get(t,"value"),special:i.get(t,"special")}}},_noDataCheck:function(e){for(var t=e.series,i=0,n=t.length;n>i;i++)if(t[i].type==a.CHART_TYPE_MAP||t[i].data&&t[i].data.length>0||t[i].markPoint&&t[i].markPoint.data&&t[i].markPoint.data.length>0||t[i].markLine&&t[i].markLine.data&&t[i].markLine.data.length>0||t[i].nodes&&t[i].nodes.length>0||t[i].links&&t[i].links.length>0||t[i].matrix&&t[i].matrix.length>0||t[i].eventList&&t[i].eventList.length>0)return!1;var o=this._option&&this._option.noDataLoadingOption||this._themeConfig.noDataLoadingOption||a.noDataLoadingOption||{text:this._option&&this._option.noDataText||this._themeConfig.noDataText||a.noDataText,effect:this._option&&this._option.noDataEffect||this._themeConfig.noDataEffect||a.noDataEffect};return this.clear(),this.showLoading(o),!0},_render:function(t){if(this._mergeGlobalConifg(t),!this._noDataCheck(t)){var i=t.backgroundColor;if(i)if(l||-1==i.indexOf("rgba"))this.dom.style.backgroundColor=i;else{var n=i.split(",");this.dom.style.filter="alpha(opacity="+100*n[3].substring(0,n[3].lastIndexOf(")"))+")",n.length=3,n[0]=n[0].replace("a",""),this.dom.style.backgroundColor=n.join(",")+")"}this._zr.clearAnimation(),this._chartList=[];var o=e("./chart"),r=e("./component");(t.xAxis||t.yAxis)&&(t.grid=t.grid||{},t.dataZoom=t.dataZoom||{});for(var s,h,m,V=["title","legend","tooltip","dataRange","roamController","grid","dataZoom","xAxis","yAxis","polar"],U=0,d=V.length;d>U;U++)h=V[U],m=this.component[h],t[h]?(m?m.refresh&&m.refresh(t):(s=r.get(/^[xy]Axis$/.test(h)?"axis":h),m=new s(this._themeConfig,this._messageCenter,this._zr,t,this,h),this.component[h]=m),this._chartList.push(m)):m&&(m.dispose(),this.component[h]=null,delete this.component[h]);for(var p,c,u,y={},U=0,d=t.series.length;d>U;U++)c=t.series[U].type,c?y[c]||(y[c]=!0,p=o.get(c),p?(this.chart[c]?(u=this.chart[c],u.refresh(t)):u=new p(this._themeConfig,this._messageCenter,this._zr,t,this),this._chartList.push(u),this.chart[c]=u):console.error(c+" has not been required.")):console.error("series["+U+"] chart type has not been defined.");for(c in this.chart)c==a.CHART_TYPE_ISLAND||y[c]||(this.chart[c].dispose(),this.chart[c]=null,delete this.chart[c]);this.component.grid&&this.component.grid.refixAxisShape(this.component),this._island.refresh(t),this._toolbox.refresh(t),t.animation&&!t.renderAsImage?this._zr.refresh():this._zr.render();var g="IMG"+this.id,b=document.getElementById(g);t.renderAsImage&&l?(b?b.src=this.getDataURL(t.renderAsImage):(b=this.getImage(t.renderAsImage),b.id=g,b.style.position="absolute",b.style.left=0,b.style.top=0,this.dom.firstChild.appendChild(b)),this.un(),this._zr.un(),this._disposeChartList(),this._zr.clear()):b&&b.parentNode.removeChild(b),b=null,this._option=t}},restore:function(){this._clearEffect(),this._option=o.clone(this._optionRestore),this._disposeChartList(),this._island.clear(),this._toolbox.reset(this._option,!0),this._render(this._option)},refresh:function(e){this._clearEffect(),e=e||{};var t=e.option;!this._refreshInside&&t&&(t=this.getOption(),o.merge(t,e.option,!0),o.merge(this._optionRestore,e.option,!0),this._toolbox.reset(t)),this._island.refresh(t),this._toolbox.refresh(t),this._zr.clearAnimation();for(var i=0,n=this._chartList.length;n>i;i++)this._chartList[i].refresh&&this._chartList[i].refresh(t);this.component.grid&&this.component.grid.refixAxisShape(this.component),this._zr.refresh()},_disposeChartList:function(){this._clearEffect(),this._zr.clearAnimation();for(var e=this._chartList.length;e--;){var t=this._chartList[e];if(t){var i=t.type;this.chart[i]&&delete this.chart[i],this.component[i]&&delete this.component[i],t.dispose&&t.dispose()}}this._chartList=[]},_mergeGlobalConifg:function(t){for(var i=["backgroundColor","calculable","calculableColor","calculableHolderColor","nameConnector","valueConnector","animation","animationThreshold","animationDuration","animationDurationUpdate","animationEasing","addDataAnimation","symbolList","DRAG_ENABLE_TIME"],n=i.length;n--;){var o=i[n];null==t[o]&&(t[o]=null!=this._themeConfig[o]?this._themeConfig[o]:a[o])}var r=t.color;r&&r.length||(r=this._themeConfig.color||a.color),this._zr.getColor=function(t){var i=e("zrender/tool/color");return i.getColor(t,r)},l||(t.animation=!1,t.addDataAnimation=!1)},setOption:function(e,t){return e.timeline?this._setTimelineOption(e):this._setOption(e,t)},_setOption:function(e,t,i){return!t&&this._option?this._option=o.merge(this.getOption(),o.clone(e),!0):(this._option=o.clone(e),!i&&this._timeline&&this._timeline.dispose()),this._optionRestore=o.clone(this._option),this._option.series&&0!==this._option.series.length?(this.component.dataZoom&&(this._option.dataZoom||this._option.toolbox&&this._option.toolbox.feature&&this._option.toolbox.feature.dataZoom&&this._option.toolbox.feature.dataZoom.show)&&this.component.dataZoom.syncOption(this._option),this._toolbox.reset(this._option),this._render(this._option),this):void this._zr.clear()},getOption:function(){function e(e){var n=i._optionRestore[e];if(n)if(n instanceof Array)for(var a=n.length;a--;)t[e][a].data=o.clone(n[a].data);else t[e].data=o.clone(n.data)}var t=o.clone(this._option),i=this;return e("xAxis"),e("yAxis"),e("series"),t},setSeries:function(e,t){return t?(this._option.series=e,this.setOption(this._option,t)):this.setOption({series:e}),this},getSeries:function(){return this.getOption().series},_setTimelineOption:function(t){this._timeline&&this._timeline.dispose();var i=e("./component/timeline"),n=new i(this._themeConfig,this._messageCenter,this._zr,t,this);return this._timeline=n,this.component.timeline=this._timeline,this},addData:function(e,t,i,n,r){function s(){if(V._zr){V._zr.clearAnimation();for(var e=0,t=X.length;t>e;e++)X[e].motionlessOnce=h.addDataAnimation&&X[e].addDataAnimation;V._messageCenter.dispatch(a.EVENT.REFRESH,null,{option:h},V)}}for(var l=e instanceof Array?e:[[e,t,i,n,r]],h=this.getOption(),m=this._optionRestore,V=this,U=0,d=l.length;d>U;U++){e=l[U][0],t=l[U][1],i=l[U][2],n=l[U][3],r=l[U][4];var p=m.series[e],c=i?"unshift":"push",u=i?"pop":"shift";if(p){var y=p.data,g=h.series[e].data;if(y[c](t),g[c](t),n||(y[u](),t=g[u]()),null!=r){var b,f;if(p.type===a.CHART_TYPE_PIE&&(b=m.legend)&&(f=b.data)){var k=h.legend.data;if(f[c](r),k[c](r),!n){var x=o.indexOf(f,t.name);-1!=x&&f.splice(x,1),x=o.indexOf(k,t.name),-1!=x&&k.splice(x,1)}}else if(null!=m.xAxis&&null!=m.yAxis){var _,L,W=p.xAxisIndex||0;(null==m.xAxis[W].type||"category"===m.xAxis[W].type)&&(_=m.xAxis[W].data,L=h.xAxis[W].data,_[c](r),L[c](r),n||(_[u](),L[u]())),W=p.yAxisIndex||0,"category"===m.yAxis[W].type&&(_=m.yAxis[W].data,L=h.yAxis[W].data,_[c](r),L[c](r),n||(_[u](),L[u]()))}}this._option.series[e].data=h.series[e].data}}this._zr.clearAnimation();for(var X=this._chartList,v=0,w=function(){v--,0===v&&s()},U=0,d=X.length;d>U;U++)h.addDataAnimation&&X[U].addDataAnimation&&(v++,X[U].addDataAnimation(l,w));return this.component.dataZoom&&this.component.dataZoom.syncOption(h),this._option=h,h.addDataAnimation||setTimeout(s,0),this},addMarkPoint:function(e,t){return this._addMark(e,t,"markPoint")},addMarkLine:function(e,t){return this._addMark(e,t,"markLine")},_addMark:function(e,t,i){var n,a=this._option.series;if(a&&(n=a[e])){var r=this._optionRestore.series,s=r[e],l=n[i],h=s[i];l=n[i]=l||{data:[]},h=s[i]=h||{data:[]};for(var m in t)"data"===m?(l.data=l.data.concat(t.data),h.data=h.data.concat(t.data)):"object"!=typeof t[m]||null==l[m]?l[m]=h[m]=t[m]:(o.merge(l[m],t[m],!0),o.merge(h[m],t[m],!0));var V=this.chart[n.type];V&&V.addMark(e,t,i)}return this},delMarkPoint:function(e,t){return this._delMark(e,t,"markPoint")},delMarkLine:function(e,t){return this._delMark(e,t,"markLine")},_delMark:function(e,t,i){var n,a,o,r=this._option.series;if(!(r&&(n=r[e])&&(a=n[i])&&(o=a.data)))return this;t=t.split(" > ");for(var s=-1,l=0,h=o.length;h>l;l++){var m=o[l];if(m instanceof Array){if(m[0].name===t[0]&&m[1].name===t[1]){s=l;break}}else if(m.name===t[0]){s=l;break}}if(s>-1){o.splice(s,1),this._optionRestore.series[e][i].data.splice(s,1);var V=this.chart[n.type];V&&V.delMark(e,t.join(" > "),i)}return this},getDom:function(){return this.dom},getZrender:function(){return this._zr},getDataURL:function(e){if(!l)return"";if(0===this._chartList.length){var t="IMG"+this.id,i=document.getElementById(t);if(i)return i.src}var n=this.component.tooltip;switch(n&&n.hideTip(),e){case"jpeg":break;default:e="png"}var a=this._option.backgroundColor;return a&&"rgba(0,0,0,0)"===a.replace(" ","")&&(a="#fff"),this._zr.toDataURL("image/"+e,a)},getImage:function(e){var t=this._optionRestore.title,i=document.createElement("img");return i.src=this.getDataURL(e),i.title=t&&t.text||"ECharts",i},getConnectedDataURL:function(t){if(!this.isConnected())return this.getDataURL(t);var i=this.dom,n={self:{img:this.getDataURL(t),left:i.offsetLeft,top:i.offsetTop,right:i.offsetLeft+i.offsetWidth,bottom:i.offsetTop+i.offsetHeight}},a=n.self.left,o=n.self.top,r=n.self.right,s=n.self.bottom;for(var l in this._connected)i=this._connected[l].getDom(),n[l]={img:this._connected[l].getDataURL(t),left:i.offsetLeft,top:i.offsetTop,right:i.offsetLeft+i.offsetWidth,bottom:i.offsetTop+i.offsetHeight},a=Math.min(a,n[l].left),o=Math.min(o,n[l].top),r=Math.max(r,n[l].right),s=Math.max(s,n[l].bottom);var h=document.createElement("div");h.style.position="absolute",h.style.left="-4000px",h.style.width=r-a+"px",h.style.height=s-o+"px",document.body.appendChild(h);var m=e("zrender").init(h),V=e("zrender/shape/Image");for(var l in n)m.addShape(new V({style:{x:n[l].left-a,y:n[l].top-o,image:n[l].img}}));m.render();var U=this._option.backgroundColor;U&&"rgba(0,0,0,0)"===U.replace(/ /g,"")&&(U="#fff");var d=m.toDataURL("image/png",U);return setTimeout(function(){m.dispose(),h.parentNode.removeChild(h),h=null},100),d},getConnectedImage:function(e){var t=this._optionRestore.title,i=document.createElement("img");return i.src=this.getConnectedDataURL(e),i.title=t&&t.text||"ECharts",i},on:function(e,t){return this._messageCenterOutSide.bind(e,t,this),this},un:function(e,t){return this._messageCenterOutSide.unbind(e,t),this},connect:function(e){if(!e)return this;if(this._connected||(this._connected={}),e instanceof Array)for(var t=0,i=e.length;i>t;t++)this._connected[e[t].id]=e[t];else this._connected[e.id]=e;return this},disConnect:function(e){if(!e||!this._connected)return this;if(e instanceof Array)for(var t=0,i=e.length;i>t;t++)delete this._connected[e[t].id];else delete this._connected[e.id];for(var n in this._connected)return this;return this._connected=!1,this},connectedEventHandler:function(e){e.__echartsId!=this.id&&this._onevent(e)},isConnected:function(){return!!this._connected},showLoading:function(t){var i={bar:e("zrender/loadingEffect/Bar"),bubble:e("zrender/loadingEffect/Bubble"),dynamicLine:e("zrender/loadingEffect/DynamicLine"),ring:e("zrender/loadingEffect/Ring"),spin:e("zrender/loadingEffect/Spin"),whirling:e("zrender/loadingEffect/Whirling")};this._toolbox.hideDataView(),t=t||{};var n=t.textStyle||{};t.textStyle=n;var r=o.merge(o.merge(o.clone(n),this._themeConfig.textStyle),a.textStyle);n.textFont=r.fontStyle+" "+r.fontWeight+" "+r.fontSize+"px "+r.fontFamily,n.text=t.text||this._option&&this._option.loadingText||this._themeConfig.loadingText||a.loadingText,null!=t.x&&(n.x=t.x),null!=t.y&&(n.y=t.y),t.effectOption=t.effectOption||{},t.effectOption.textStyle=n;var s=t.effect;return("string"==typeof s||null==s)&&(s=i[t.effect||this._option&&this._option.loadingEffect||this._themeConfig.loadingEffect||a.loadingEffect]||i.spin),this._zr.showLoading(new s(t.effectOption)),this},hideLoading:function(){return this._zr.hideLoading(),this},setTheme:function(t){if(t){if("string"==typeof t)switch(t){case"macarons":t=e("./theme/macarons");break;case"infographic":t=e("./theme/infographic");break;default:t={}}else t=t||{};this._themeConfig=t}if(!l){var i=this._themeConfig.textStyle;i&&i.fontFamily&&i.fontFamily2&&(i.fontFamily=i.fontFamily2),i=a.textStyle,i.fontFamily=i.fontFamily2}this._timeline&&this._timeline.setTheme(!0),this._optionRestore&&this.restore()},resize:function(){var e=this;return function(){if(e._clearEffect(),e._zr.resize(),e._option&&e._option.renderAsImage&&l)return e._render(e._option),e;e._zr.clearAnimation(),e._island.resize(),e._toolbox.resize(),e._timeline&&e._timeline.resize();for(var t=0,i=e._chartList.length;i>t;t++)e._chartList[t].resize&&e._chartList[t].resize();return e.component.grid&&e.component.grid.refixAxisShape(e.component),e._zr.refresh(),e._messageCenter.dispatch(a.EVENT.RESIZE,null,null,e),e}},_clearEffect:function(){this._zr.modLayer(a.EFFECT_ZLEVEL,{motionBlur:!1}),this._zr.painter.clearLayer(a.EFFECT_ZLEVEL)},clear:function(){return this._disposeChartList(),this._zr.clear(),this._option={},this._optionRestore={},this.dom.style.backgroundColor=null,this},dispose:function(){var e=this.dom.getAttribute(V);e&&delete m[e],this._island.dispose(),this._toolbox.dispose(),this._timeline&&this._timeline.dispose(),this._messageCenter.unbind(),this.clear(),this._zr.dispose(),this._zr=null}},s}),i("echarts/config",[],function(){var e={CHART_TYPE_LINE:"line",CHART_TYPE_BAR:"bar",CHART_TYPE_SCATTER:"scatter",CHART_TYPE_PIE:"pie",CHART_TYPE_RADAR:"radar",CHART_TYPE_VENN:"venn",CHART_TYPE_TREEMAP:"treemap",CHART_TYPE_TREE:"tree",CHART_TYPE_MAP:"map",CHART_TYPE_K:"k",CHART_TYPE_ISLAND:"island",CHART_TYPE_FORCE:"force",CHART_TYPE_CHORD:"chord",CHART_TYPE_GAUGE:"gauge",CHART_TYPE_FUNNEL:"funnel",CHART_TYPE_EVENTRIVER:"eventRiver",CHART_TYPE_WORDCLOUD:"wordCloud",CHART_TYPE_HEATMAP:"heatmap",COMPONENT_TYPE_TITLE:"title",COMPONENT_TYPE_LEGEND:"legend",COMPONENT_TYPE_DATARANGE:"dataRange",COMPONENT_TYPE_DATAVIEW:"dataView",COMPONENT_TYPE_DATAZOOM:"dataZoom",COMPONENT_TYPE_TOOLBOX:"toolbox",COMPONENT_TYPE_TOOLTIP:"tooltip",COMPONENT_TYPE_GRID:"grid",COMPONENT_TYPE_AXIS:"axis",COMPONENT_TYPE_POLAR:"polar",COMPONENT_TYPE_X_AXIS:"xAxis",COMPONENT_TYPE_Y_AXIS:"yAxis",COMPONENT_TYPE_AXIS_CATEGORY:"categoryAxis",COMPONENT_TYPE_AXIS_VALUE:"valueAxis",COMPONENT_TYPE_TIMELINE:"timeline",COMPONENT_TYPE_ROAMCONTROLLER:"roamController",backgroundColor:"rgba(0,0,0,0)",color:["#ff7f50","#87cefa","#da70d6","#32cd32","#6495ed","#ff69b4","#ba55d3","#cd5c5c","#ffa500","#40e0d0","#1e90ff","#ff6347","#7b68ee","#00fa9a","#ffd700","#6699FF","#ff6666","#3cb371","#b8860b","#30e0e0"],markPoint:{clickable:!0,symbol:"pin",symbolSize:10,large:!1,effect:{show:!1,loop:!0,period:15,type:"scale",scaleSize:2,bounceDistance:10},itemStyle:{normal:{borderWidth:2,label:{show:!0,position:"inside"}},emphasis:{label:{show:!0}}}},markLine:{clickable:!0,symbol:["circle","arrow"],symbolSize:[2,4],smoothness:.2,precision:2,effect:{show:!1,loop:!0,period:15,scaleSize:2},bundling:{enable:!1,maxTurningAngle:45},itemStyle:{normal:{borderWidth:1.5,label:{show:!0,position:"end"},lineStyle:{type:"dashed"}},emphasis:{label:{show:!1},lineStyle:{}}}},textStyle:{decoration:"none",fontFamily:"Arial, Verdana, sans-serif",fontFamily2:"寰蒋闆呴粦",fontSize:12,fontStyle:"normal",fontWeight:"normal"},EVENT:{REFRESH:"refresh",RESTORE:"restore",RESIZE:"resize",CLICK:"click",DBLCLICK:"dblclick",HOVER:"hover",MOUSEOUT:"mouseout",DATA_CHANGED:"dataChanged",DATA_ZOOM:"dataZoom",DATA_RANGE:"dataRange",DATA_RANGE_SELECTED:"dataRangeSelected",DATA_RANGE_HOVERLINK:"dataRangeHoverLink",LEGEND_SELECTED:"legendSelected",LEGEND_HOVERLINK:"legendHoverLink",MAP_SELECTED:"mapSelected",PIE_SELECTED:"pieSelected",MAGIC_TYPE_CHANGED:"magicTypeChanged",DATA_VIEW_CHANGED:"dataViewChanged",TIMELINE_CHANGED:"timelineChanged",MAP_ROAM:"mapRoam",FORCE_LAYOUT_END:"forceLayoutEnd",TOOLTIP_HOVER:"tooltipHover",TOOLTIP_IN_GRID:"tooltipInGrid",TOOLTIP_OUT_GRID:"tooltipOutGrid",ROAMCONTROLLER:"roamController"},DRAG_ENABLE_TIME:120,EFFECT_ZLEVEL:10,effectBlendAlpha:.95,symbolList:["circle","rectangle","triangle","diamond","emptyCircle","emptyRectangle","emptyTriangle","emptyDiamond"],loadingEffect:"spin",loadingText:"鏁版嵁璇诲彇涓�...",noDataEffect:"bubble",noDataText:"鏆傛棤鏁版嵁",calculable:!1,calculableColor:"rgba(255,165,0,0.6)",calculableHolderColor:"#ccc",nameConnector:" & ",valueConnector:": ",animation:!0,addDataAnimation:!0,animationThreshold:2e3,animationDuration:2e3,animationDurationUpdate:500,animationEasing:"ExponentialOut"};return e}),i("zrender/tool/util",["require","../dep/excanvas"],function(e){function t(e){return e&&1===e.nodeType&&"string"==typeof e.nodeName}function i(e){if("object"==typeof e&&null!==e){var n=e;if(e instanceof Array){n=[];for(var a=0,o=e.length;o>a;a++)n[a]=i(e[a])}else if(!y[g.call(e)]&&!t(e)){n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=i(e[r]))}return n}return e}function n(e,i,n,o){if(i.hasOwnProperty(n)){var r=e[n];"object"!=typeof r||y[g.call(r)]||t(r)?!o&&n in e||(e[n]=i[n]):a(e[n],i[n],o)}}function a(e,t,i){for(var a in t)n(e,t,a,i);return e}function o(){if(!U)if(e("../dep/excanvas"),window.G_vmlCanvasManager){var t=document.createElement("div");t.style.position="absolute",t.style.top="-1000px",document.body.appendChild(t),U=G_vmlCanvasManager.initElement(t).getContext("2d")}else U=document.createElement("canvas").getContext("2d");return U}function r(e,t){if(e.indexOf)return e.indexOf(t);for(var i=0,n=e.length;n>i;i++)if(e[i]===t)return i;return-1}function s(e,t){function i(){}var n=e.prototype;i.prototype=t.prototype,e.prototype=new i;for(var a in n)e.prototype[a]=n[a];e.constructor=e}function l(e,t,i){if(e&&t)if(e.forEach&&e.forEach===p)e.forEach(t,i);else if(e.length===+e.length)for(var n=0,a=e.length;a>n;n++)t.call(i,e[n],n,e);else for(var o in e)e.hasOwnProperty(o)&&t.call(i,e[o],o,e)}function h(e,t,i){if(e&&t){if(e.map&&e.map===c)return e.map(t,i);for(var n=[],a=0,o=e.length;o>a;a++)n.push(t.call(i,e[a],a,e));return n}}function m(e,t,i){if(e&&t){if(e.filter&&e.filter===u)return e.filter(t,i);for(var n=[],a=0,o=e.length;o>a;a++)t.call(i,e[a],a,e)&&n.push(e[a]);return n}}function V(e,t){return function(){e.apply(t,arguments)}}var U,d=Array.prototype,p=d.forEach,c=d.map,u=d.filter,y={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1},g=Object.prototype.toString;return{inherits:s,clone:i,merge:a,getContext:o,indexOf:r,each:l,map:h,filter:m,bind:V}}),i("zrender/tool/event",["require","../mixin/Eventful"],function(e){"use strict";function t(e){return"undefined"!=typeof e.zrenderX&&e.zrenderX||"undefined"!=typeof e.offsetX&&e.offsetX||"undefined"!=typeof e.layerX&&e.layerX||"undefined"!=typeof e.clientX&&e.clientX}function i(e){return"undefined"!=typeof e.zrenderY&&e.zrenderY||"undefined"!=typeof e.offsetY&&e.offsetY||"undefined"!=typeof e.layerY&&e.layerY||"undefined"!=typeof e.clientY&&e.clientY}function n(e){return"undefined"!=typeof e.zrenderDelta&&e.zrenderDelta||"undefined"!=typeof e.wheelDelta&&e.wheelDelta||"undefined"!=typeof e.detail&&-e.detail}var a=e("../mixin/Eventful"),o="function"==typeof window.addEventListener?function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0}:function(e){e.returnValue=!1,e.cancelBubble=!0};return{getX:t,getY:i,getDelta:n,stop:o,Dispatcher:a}}),i("zrender/tool/env",[],function(){function e(e){var t=this.os={},i=this.browser={},n=e.match(/Web[kK]it[\/]{0,1}([\d.]+)/),a=e.match(/(Android);?[\s\/]+([\d.]+)?/),o=e.match(/(iPad).*OS\s([\d_]+)/),r=e.match(/(iPod)(.*OS\s([\d_]+))?/),s=!o&&e.match(/(iPhone\sOS)\s([\d_]+)/),l=e.match(/(webOS|hpwOS)[\s\/]([\d.]+)/),h=l&&e.match(/TouchPad/),m=e.match(/Kindle\/([\d.]+)/),V=e.match(/Silk\/([\d._]+)/),U=e.match(/(BlackBerry).*Version\/([\d.]+)/),d=e.match(/(BB10).*Version\/([\d.]+)/),p=e.match(/(RIM\sTablet\sOS)\s([\d.]+)/),c=e.match(/PlayBook/),u=e.match(/Chrome\/([\d.]+)/)||e.match(/CriOS\/([\d.]+)/),y=e.match(/Firefox\/([\d.]+)/),g=e.match(/MSIE ([\d.]+)/),b=n&&e.match(/Mobile\//)&&!u,f=e.match(/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/)&&!u,g=e.match(/MSIE\s([\d.]+)/);return(i.webkit=!!n)&&(i.version=n[1]),a&&(t.android=!0,t.version=a[2]),s&&!r&&(t.ios=t.iphone=!0,t.version=s[2].replace(/_/g,".")),o&&(t.ios=t.ipad=!0,t.version=o[2].replace(/_/g,".")),r&&(t.ios=t.ipod=!0,t.version=r[3]?r[3].replace(/_/g,"."):null),l&&(t.webos=!0,t.version=l[2]),h&&(t.touchpad=!0),U&&(t.blackberry=!0,t.version=U[2]),d&&(t.bb10=!0,t.version=d[2]),p&&(t.rimtabletos=!0,t.version=p[2]),c&&(i.playbook=!0),m&&(t.kindle=!0,t.version=m[1]),V&&(i.silk=!0,i.version=V[1]),!V&&t.android&&e.match(/Kindle Fire/)&&(i.silk=!0),u&&(i.chrome=!0,i.version=u[1]),y&&(i.firefox=!0,i.version=y[1]),g&&(i.ie=!0,i.version=g[1]),b&&(e.match(/Safari/)||t.ios)&&(i.safari=!0),f&&(i.webview=!0),g&&(i.ie=!0,i.version=g[1]),t.tablet=!!(o||c||a&&!e.match(/Mobile/)||y&&e.match(/Tablet/)||g&&!e.match(/Phone/)&&e.match(/Touch/)),t.phone=!(t.tablet||t.ipod||!(a||s||l||U||d||u&&e.match(/Android/)||u&&e.match(/CriOS\/([\d.]+)/)||y&&e.match(/Mobile/)||g&&e.match(/Touch/))),{browser:i,os:t,canvasSupported:document.createElement("canvas").getContext?!0:!1}}return e(navigator.userAgent)}),i("zrender",["zrender/zrender"],function(e){return e}),i("zrender/zrender",["require","./dep/excanvas","./tool/util","./tool/log","./tool/guid","./Handler","./Painter","./Storage","./animation/Animation","./tool/env"],function(e){function t(e){return function(){e._needsRefreshNextFrame&&e.refresh()}}e("./dep/excanvas");var i=e("./tool/util"),n=e("./tool/log"),a=e("./tool/guid"),o=e("./Handler"),r=e("./Painter"),s=e("./Storage"),l=e("./animation/Animation"),h={},m={};m.version="2.1.1",m.init=function(e){var t=new V(a(),e);return h[t.id]=t,t},m.dispose=function(e){if(e)e.dispose();else{for(var t in h)h[t].dispose();h={}}return m},m.getInstance=function(e){return h[e]},m.delInstance=function(e){return delete h[e],m};var V=function(i,n){this.id=i,this.env=e("./tool/env"),this.storage=new s,this.painter=new r(n,this.storage),this.handler=new o(n,this.storage,this.painter),this.animation=new l({stage:{update:t(this)}}),this.animation.start();var a=this;this.painter.refreshNextFrame=function(){a.refreshNextFrame()},this._needsRefreshNextFrame=!1;var a=this,h=this.storage,m=h.delFromMap;h.delFromMap=function(e){var t=h.get(e);a.stopAnimation(t),m.call(h,e)}};return V.prototype.getId=function(){return this.id},V.prototype.addShape=function(e){return this.addElement(e),this},V.prototype.addGroup=function(e){return this.addElement(e),this},V.prototype.delShape=function(e){return this.delElement(e),this},V.prototype.delGroup=function(e){return this.delElement(e),this},V.prototype.modShape=function(e,t){return this.modElement(e,t),this},V.prototype.modGroup=function(e,t){return this.modElement(e,t),this},V.prototype.addElement=function(e){return this.storage.addRoot(e),this._needsRefreshNextFrame=!0,this},V.prototype.delElement=function(e){return this.storage.delRoot(e),this._needsRefreshNextFrame=!0,this},V.prototype.modElement=function(e,t){return this.storage.mod(e,t),this._needsRefreshNextFrame=!0,this},V.prototype.modLayer=function(e,t){return this.painter.modLayer(e,t),this._needsRefreshNextFrame=!0,this},V.prototype.addHoverShape=function(e){return this.storage.addHover(e),this},V.prototype.render=function(e){return this.painter.render(e),this._needsRefreshNextFrame=!1,this},V.prototype.refresh=function(e){return this.painter.refresh(e),this._needsRefreshNextFrame=!1,this},V.prototype.refreshNextFrame=function(){return this._needsRefreshNextFrame=!0,this},V.prototype.refreshHover=function(e){return this.painter.refreshHover(e),this},V.prototype.refreshShapes=function(e,t){return this.painter.refreshShapes(e,t),this},V.prototype.resize=function(){return this.painter.resize(),this},V.prototype.animate=function(e,t,a){var o=this;if("string"==typeof e&&(e=this.storage.get(e)),e){var r;if(t){for(var s=t.split("."),l=e,h=0,m=s.length;m>h;h++)l&&(l=l[s[h]]);l&&(r=l)}else r=e;if(!r)return void n('Property "'+t+'" is not existed in element '+e.id);
+
+null==e.__animators&&(e.__animators=[]);var V=e.__animators,U=this.animation.animate(r,{loop:a}).during(function(){o.modShape(e)}).done(function(){var t=i.indexOf(e.__animators,U);t>=0&&V.splice(t,1)});return V.push(U),U}n("Element not existed")},V.prototype.stopAnimation=function(e){if(e.__animators){for(var t=e.__animators,i=t.length,n=0;i>n;n++)t[n].stop();t.length=0}return this},V.prototype.clearAnimation=function(){return this.animation.clear(),this},V.prototype.showLoading=function(e){return this.painter.showLoading(e),this},V.prototype.hideLoading=function(){return this.painter.hideLoading(),this},V.prototype.getWidth=function(){return this.painter.getWidth()},V.prototype.getHeight=function(){return this.painter.getHeight()},V.prototype.toDataURL=function(e,t,i){return this.painter.toDataURL(e,t,i)},V.prototype.shapeToImage=function(e,t,i){var n=a();return this.painter.shapeToImage(n,e,t,i)},V.prototype.on=function(e,t,i){return this.handler.on(e,t,i),this},V.prototype.un=function(e,t){return this.handler.un(e,t),this},V.prototype.trigger=function(e,t){return this.handler.trigger(e,t),this},V.prototype.clear=function(){return this.storage.delRoot(),this.painter.clear(),this},V.prototype.dispose=function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,m.delInstance(this.id)},m}),i("zrender/config",[],function(){var e={EVENT:{RESIZE:"resize",CLICK:"click",DBLCLICK:"dblclick",MOUSEWHEEL:"mousewheel",MOUSEMOVE:"mousemove",MOUSEOVER:"mouseover",MOUSEOUT:"mouseout",MOUSEDOWN:"mousedown",MOUSEUP:"mouseup",GLOBALOUT:"globalout",DRAGSTART:"dragstart",DRAGEND:"dragend",DRAGENTER:"dragenter",DRAGOVER:"dragover",DRAGLEAVE:"dragleave",DROP:"drop",touchClickDelay:300},elementClassName:"zr-element",catchBrushException:!1,debugMode:0,devicePixelRatio:Math.max(window.devicePixelRatio||1,1)};return e}),i("echarts/chart/island",["require","./base","zrender/shape/Circle","../config","../util/ecData","zrender/tool/util","zrender/tool/event","zrender/tool/color","../util/accMath","../chart"],function(e){function t(e,t,n,a,r){i.call(this,e,t,n,a,r),this._nameConnector,this._valueConnector,this._zrHeight=this.zr.getHeight(),this._zrWidth=this.zr.getWidth();var l=this;l.shapeHandler.onmousewheel=function(e){var t=e.target,i=e.event,n=s.getDelta(i);n=n>0?-1:1,t.style.r-=n,t.style.r=t.style.r<5?5:t.style.r;var a=o.get(t,"value"),r=a*l.option.island.calculateStep;a=r>1?Math.round(a-r*n):+(a-r*n).toFixed(2);var h=o.get(t,"name");t.style.text=h+":"+a,o.set(t,"value",a),o.set(t,"name",h),l.zr.modShape(t.id),l.zr.refreshNextFrame(),s.stop(i)}}var i=e("./base"),n=e("zrender/shape/Circle"),a=e("../config");a.island={zlevel:0,z:5,r:15,calculateStep:.1};var o=e("../util/ecData"),r=e("zrender/tool/util"),s=e("zrender/tool/event");return t.prototype={type:a.CHART_TYPE_ISLAND,_combine:function(t,i){var n=e("zrender/tool/color"),a=e("../util/accMath"),r=a.accAdd(o.get(t,"value"),o.get(i,"value")),s=o.get(t,"name")+this._nameConnector+o.get(i,"name");t.style.text=s+this._valueConnector+r,o.set(t,"value",r),o.set(t,"name",s),t.style.r=this.option.island.r,t.style.color=n.mix(t.style.color,i.style.color)},refresh:function(e){e&&(e.island=this.reformOption(e.island),this.option=e,this._nameConnector=this.option.nameConnector,this._valueConnector=this.option.valueConnector)},getOption:function(){return this.option},resize:function(){var e=this.zr.getWidth(),t=this.zr.getHeight(),i=e/(this._zrWidth||e),n=t/(this._zrHeight||t);if(1!==i||1!==n){this._zrWidth=e,this._zrHeight=t;for(var a=0,o=this.shapeList.length;o>a;a++)this.zr.modShape(this.shapeList[a].id,{style:{x:Math.round(this.shapeList[a].style.x*i),y:Math.round(this.shapeList[a].style.y*n)}})}},add:function(e){var t=o.get(e,"name"),i=o.get(e,"value"),a=null!=o.get(e,"series")?o.get(e,"series").name:"",r=this.getFont(this.option.island.textStyle),s=this.option.island,l={zlevel:s.zlevel,z:s.z,style:{x:e.style.x,y:e.style.y,r:this.option.island.r,color:e.style.color||e.style.strokeColor,text:t+this._valueConnector+i,textFont:r},draggable:!0,hoverable:!0,onmousewheel:this.shapeHandler.onmousewheel,_type:"island"};"#fff"===l.style.color&&(l.style.color=e.style.strokeColor),this.setCalculable(l),l.dragEnableTime=0,o.pack(l,{name:a},-1,i,-1,t),l=new n(l),this.shapeList.push(l),this.zr.addShape(l)},del:function(e){this.zr.delShape(e.id);for(var t=[],i=0,n=this.shapeList.length;n>i;i++)this.shapeList[i].id!=e.id&&t.push(this.shapeList[i]);this.shapeList=t},ondrop:function(e,t){if(this.isDrop&&e.target){var i=e.target,n=e.dragged;this._combine(i,n),this.zr.modShape(i.id),t.dragIn=!0,this.isDrop=!1}},ondragend:function(e,t){var i=e.target;this.isDragend?t.dragIn&&(this.del(i),t.needRefresh=!0):t.dragIn||(i.style.x=s.getX(e.event),i.style.y=s.getY(e.event),this.add(i),t.needRefresh=!0),this.isDragend=!1}},r.inherits(t,i),e("../chart").define("island",t),t}),i("echarts/component/toolbox",["require","./base","zrender/shape/Line","zrender/shape/Image","zrender/shape/Rectangle","../util/shape/Icon","../config","zrender/tool/util","zrender/config","zrender/tool/event","./dataView","../component"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o),this.dom=o.dom,this._magicType={},this._magicMap={},this._isSilence=!1,this._iconList,this._iconShapeMap={},this._featureTitle={},this._featureIcon={},this._featureColor={},this._featureOption={},this._enableColor="red",this._disableColor="#ccc",this._markShapeList=[];var r=this;r._onMark=function(e){r.__onMark(e)},r._onMarkUndo=function(e){r.__onMarkUndo(e)},r._onMarkClear=function(e){r.__onMarkClear(e)},r._onDataZoom=function(e){r.__onDataZoom(e)},r._onDataZoomReset=function(e){r.__onDataZoomReset(e)},r._onDataView=function(e){r.__onDataView(e)},r._onRestore=function(e){r.__onRestore(e)},r._onSaveAsImage=function(e){r.__onSaveAsImage(e)},r._onMagicType=function(e){r.__onMagicType(e)},r._onCustomHandler=function(e){r.__onCustomHandler(e)},r._onmousemove=function(e){return r.__onmousemove(e)},r._onmousedown=function(e){return r.__onmousedown(e)},r._onmouseup=function(e){return r.__onmouseup(e)},r._onclick=function(e){return r.__onclick(e)}}var i=e("./base"),n=e("zrender/shape/Line"),a=e("zrender/shape/Image"),o=e("zrender/shape/Rectangle"),r=e("../util/shape/Icon"),s=e("../config");s.toolbox={zlevel:0,z:6,show:!1,orient:"horizontal",x:"right",y:"top",color:["#1e90ff","#22bb22","#4b0082","#d2691e"],disableColor:"#ddd",effectiveColor:"red",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,itemSize:16,showTitle:!0,feature:{mark:{show:!1,title:{mark:"杈呭姪绾垮紑鍏�",markUndo:"鍒犻櫎杈呭姪绾�",markClear:"娓呯┖杈呭姪绾�"},lineStyle:{width:1,color:"#1e90ff",type:"dashed"}},dataZoom:{show:!1,title:{dataZoom:"鍖哄煙缂╂斁",dataZoomReset:"鍖哄煙缂╂斁鍚庨��"}},dataView:{show:!1,title:"鏁版嵁瑙嗗浘",readOnly:!1,lang:["鏁版嵁瑙嗗浘","鍏抽棴","鍒锋柊"]},magicType:{show:!1,title:{line:"鎶樼嚎鍥惧垏鎹�",bar:"鏌卞舰鍥惧垏鎹�",stack:"鍫嗙Н",tiled:"骞抽摵",force:"鍔涘鍚戝竷灞�鍥惧垏鎹�",chord:"鍜屽鸡鍥惧垏鎹�",pie:"楗煎浘鍒囨崲",funnel:"婕忔枟鍥惧垏鎹�"},type:[]},restore:{show:!1,title:"杩樺師"},saveAsImage:{show:!1,title:"淇濆瓨涓哄浘鐗�",type:"png",lang:["鐐瑰嚮淇濆瓨"]}}};var l=e("zrender/tool/util"),h=e("zrender/config"),m=e("zrender/tool/event"),V="stack",U="tiled";return t.prototype={type:s.COMPONENT_TYPE_TOOLBOX,_buildShape:function(){this._iconList=[];var e=this.option.toolbox;this._enableColor=e.effectiveColor,this._disableColor=e.disableColor;var t=e.feature,i=[];for(var n in t)if(t[n].show)switch(n){case"mark":i.push({key:n,name:"mark"}),i.push({key:n,name:"markUndo"}),i.push({key:n,name:"markClear"});break;case"magicType":for(var a=0,o=t[n].type.length;o>a;a++)t[n].title[t[n].type[a]+"Chart"]=t[n].title[t[n].type[a]],t[n].option&&(t[n].option[t[n].type[a]+"Chart"]=t[n].option[t[n].type[a]]),i.push({key:n,name:t[n].type[a]+"Chart"});break;case"dataZoom":i.push({key:n,name:"dataZoom"}),i.push({key:n,name:"dataZoomReset"});break;case"saveAsImage":this.canvasSupported&&i.push({key:n,name:"saveAsImage"});break;default:i.push({key:n,name:n})}if(i.length>0){for(var r,n,a=0,o=i.length;o>a;a++)r=i[a].name,n=i[a].key,this._iconList.push(r),this._featureTitle[r]=t[n].title[r]||t[n].title,t[n].icon&&(this._featureIcon[r]=t[n].icon[r]||t[n].icon),t[n].color&&(this._featureColor[r]=t[n].color[r]||t[n].color),t[n].option&&(this._featureOption[r]=t[n].option[r]||t[n].option);this._itemGroupLocation=this._getItemGroupLocation(),this._buildBackground(),this._buildItem();for(var a=0,o=this.shapeList.length;o>a;a++)this.zr.addShape(this.shapeList[a]);this._iconShapeMap.mark&&(this._iconDisable(this._iconShapeMap.markUndo),this._iconDisable(this._iconShapeMap.markClear)),this._iconShapeMap.dataZoomReset&&0===this._zoomQueue.length&&this._iconDisable(this._iconShapeMap.dataZoomReset)}},_buildItem:function(){var t,i,n,o,s=this.option.toolbox,l=this._iconList.length,h=this._itemGroupLocation.x,m=this._itemGroupLocation.y,V=s.itemSize,U=s.itemGap,d=s.color instanceof Array?s.color:[s.color],p=this.getFont(s.textStyle);"horizontal"===s.orient?(i=this._itemGroupLocation.y/this.zr.getHeight()<.5?"bottom":"top",n=this._itemGroupLocation.x/this.zr.getWidth()<.5?"left":"right",o=this._itemGroupLocation.y/this.zr.getHeight()<.5?"top":"bottom"):i=this._itemGroupLocation.x/this.zr.getWidth()<.5?"right":"left",this._iconShapeMap={};for(var c=this,u=0;l>u;u++){switch(t={type:"icon",zlevel:this.getZlevelBase(),z:this.getZBase(),style:{x:h,y:m,width:V,height:V,iconType:this._iconList[u],lineWidth:1,strokeColor:this._featureColor[this._iconList[u]]||d[u%d.length],brushType:"stroke"},highlightStyle:{lineWidth:1,text:s.showTitle?this._featureTitle[this._iconList[u]]:void 0,textFont:p,textPosition:i,strokeColor:this._featureColor[this._iconList[u]]||d[u%d.length]},hoverable:!0,clickable:!0},this._featureIcon[this._iconList[u]]&&(t.style.image=this._featureIcon[this._iconList[u]].replace(new RegExp("^image:\\/\\/"),""),t.style.opacity=.8,t.highlightStyle.opacity=1,t.type="image"),"horizontal"===s.orient&&(0===u&&"left"===n&&(t.highlightStyle.textPosition="specific",t.highlightStyle.textAlign=n,t.highlightStyle.textBaseline=o,t.highlightStyle.textX=h,t.highlightStyle.textY="top"===o?m+V+10:m-10),u===l-1&&"right"===n&&(t.highlightStyle.textPosition="specific",t.highlightStyle.textAlign=n,t.highlightStyle.textBaseline=o,t.highlightStyle.textX=h+V,t.highlightStyle.textY="top"===o?m+V+10:m-10)),this._iconList[u]){case"mark":t.onclick=c._onMark;break;case"markUndo":t.onclick=c._onMarkUndo;break;case"markClear":t.onclick=c._onMarkClear;break;case"dataZoom":t.onclick=c._onDataZoom;break;case"dataZoomReset":t.onclick=c._onDataZoomReset;break;case"dataView":if(!this._dataView){var y=e("./dataView");this._dataView=new y(this.ecTheme,this.messageCenter,this.zr,this.option,this.myChart)}t.onclick=c._onDataView;break;case"restore":t.onclick=c._onRestore;break;case"saveAsImage":t.onclick=c._onSaveAsImage;break;default:this._iconList[u].match("Chart")?(t._name=this._iconList[u].replace("Chart",""),t.onclick=c._onMagicType):t.onclick=c._onCustomHandler}"icon"===t.type?t=new r(t):"image"===t.type&&(t=new a(t)),this.shapeList.push(t),this._iconShapeMap[this._iconList[u]]=t,"horizontal"===s.orient?h+=V+U:m+=V+U}},_buildBackground:function(){var e=this.option.toolbox,t=this.reformCssArray(this.option.toolbox.padding);this.shapeList.push(new o({zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{x:this._itemGroupLocation.x-t[3],y:this._itemGroupLocation.y-t[0],width:this._itemGroupLocation.width+t[3]+t[1],height:this._itemGroupLocation.height+t[0]+t[2],brushType:0===e.borderWidth?"fill":"both",color:e.backgroundColor,strokeColor:e.borderColor,lineWidth:e.borderWidth}}))},_getItemGroupLocation:function(){var e=this.option.toolbox,t=this.reformCssArray(this.option.toolbox.padding),i=this._iconList.length,n=e.itemGap,a=e.itemSize,o=0,r=0;"horizontal"===e.orient?(o=(a+n)*i-n,r=a):(r=(a+n)*i-n,o=a);var s,l=this.zr.getWidth();switch(e.x){case"center":s=Math.floor((l-o)/2);break;case"left":s=t[3]+e.borderWidth;break;case"right":s=l-o-t[1]-e.borderWidth;break;default:s=e.x-0,s=isNaN(s)?0:s}var h,m=this.zr.getHeight();switch(e.y){case"top":h=t[0]+e.borderWidth;break;case"bottom":h=m-r-t[2]-e.borderWidth;break;case"center":h=Math.floor((m-r)/2);break;default:h=e.y-0,h=isNaN(h)?0:h}return{x:s,y:h,width:o,height:r}},__onmousemove:function(e){this._marking&&(this._markShape.style.xEnd=m.getX(e.event),this._markShape.style.yEnd=m.getY(e.event),this.zr.addHoverShape(this._markShape)),this._zooming&&(this._zoomShape.style.width=m.getX(e.event)-this._zoomShape.style.x,this._zoomShape.style.height=m.getY(e.event)-this._zoomShape.style.y,this.zr.addHoverShape(this._zoomShape),this.dom.style.cursor="crosshair",m.stop(e.event)),this._zoomStart&&"pointer"!=this.dom.style.cursor&&"move"!=this.dom.style.cursor&&(this.dom.style.cursor="crosshair")},__onmousedown:function(e){if(!e.target){this._zooming=!0;var t=m.getX(e.event),i=m.getY(e.event),n=this.option.dataZoom||{};return this._zoomShape=new o({zlevel:this.getZlevelBase(),z:this.getZBase(),style:{x:t,y:i,width:1,height:1,brushType:"both"},highlightStyle:{lineWidth:2,color:n.fillerColor||s.dataZoom.fillerColor,strokeColor:n.handleColor||s.dataZoom.handleColor,brushType:"both"}}),this.zr.addHoverShape(this._zoomShape),!0}},__onmouseup:function(){if(!this._zoomShape||Math.abs(this._zoomShape.style.width)<10||Math.abs(this._zoomShape.style.height)<10)return this._zooming=!1,!0;if(this._zooming&&this.component.dataZoom){this._zooming=!1;var e=this.component.dataZoom.rectZoom(this._zoomShape.style);e&&(this._zoomQueue.push({start:e.start,end:e.end,start2:e.start2,end2:e.end2}),this._iconEnable(this._iconShapeMap.dataZoomReset),this.zr.refreshNextFrame())}return!0},__onclick:function(e){if(!e.target)if(this._marking)this._marking=!1,this._markShapeList.push(this._markShape),this._iconEnable(this._iconShapeMap.markUndo),this._iconEnable(this._iconShapeMap.markClear),this.zr.addShape(this._markShape),this.zr.refreshNextFrame();else if(this._markStart){this._marking=!0;var t=m.getX(e.event),i=m.getY(e.event);this._markShape=new n({zlevel:this.getZlevelBase(),z:this.getZBase(),style:{xStart:t,yStart:i,xEnd:t,yEnd:i,lineWidth:this.query(this.option,"toolbox.feature.mark.lineStyle.width"),strokeColor:this.query(this.option,"toolbox.feature.mark.lineStyle.color"),lineType:this.query(this.option,"toolbox.feature.mark.lineStyle.type")}}),this.zr.addHoverShape(this._markShape)}},__onMark:function(e){var t=e.target;if(this._marking||this._markStart)this._resetMark(),this.zr.refreshNextFrame();else{this._resetZoom(),this.zr.modShape(t.id,{style:{strokeColor:this._enableColor}}),this.zr.refreshNextFrame(),this._markStart=!0;var i=this;setTimeout(function(){i.zr&&i.zr.on(h.EVENT.CLICK,i._onclick)&&i.zr.on(h.EVENT.MOUSEMOVE,i._onmousemove)},10)}return!0},__onMarkUndo:function(){if(this._marking)this._marking=!1;else{var e=this._markShapeList.length;if(e>=1){var t=this._markShapeList[e-1];this.zr.delShape(t.id),this.zr.refreshNextFrame(),this._markShapeList.pop(),1===e&&(this._iconDisable(this._iconShapeMap.markUndo),this._iconDisable(this._iconShapeMap.markClear))}}return!0},__onMarkClear:function(){this._marking&&(this._marking=!1);var e=this._markShapeList.length;if(e>0){for(;e--;)this.zr.delShape(this._markShapeList.pop().id);this._iconDisable(this._iconShapeMap.markUndo),this._iconDisable(this._iconShapeMap.markClear),this.zr.refreshNextFrame()}return!0},__onDataZoom:function(e){var t=e.target;if(this._zooming||this._zoomStart)this._resetZoom(),this.zr.refreshNextFrame(),this.dom.style.cursor="default";else{this._resetMark(),this.zr.modShape(t.id,{style:{strokeColor:this._enableColor}}),this.zr.refreshNextFrame(),this._zoomStart=!0;var i=this;setTimeout(function(){i.zr&&i.zr.on(h.EVENT.MOUSEDOWN,i._onmousedown)&&i.zr.on(h.EVENT.MOUSEUP,i._onmouseup)&&i.zr.on(h.EVENT.MOUSEMOVE,i._onmousemove)},10),this.dom.style.cursor="crosshair"}return!0},__onDataZoomReset:function(){return this._zooming&&(this._zooming=!1),this._zoomQueue.pop(),this._zoomQueue.length>0?this.component.dataZoom.absoluteZoom(this._zoomQueue[this._zoomQueue.length-1]):(this.component.dataZoom.rectZoom(),this._iconDisable(this._iconShapeMap.dataZoomReset),this.zr.refreshNextFrame()),!0},_resetMark:function(){this._marking=!1,this._markStart&&(this._markStart=!1,this._iconShapeMap.mark&&this.zr.modShape(this._iconShapeMap.mark.id,{style:{strokeColor:this._iconShapeMap.mark.highlightStyle.strokeColor}}),this.zr.un(h.EVENT.CLICK,this._onclick),this.zr.un(h.EVENT.MOUSEMOVE,this._onmousemove))},_resetZoom:function(){this._zooming=!1,this._zoomStart&&(this._zoomStart=!1,this._iconShapeMap.dataZoom&&this.zr.modShape(this._iconShapeMap.dataZoom.id,{style:{strokeColor:this._iconShapeMap.dataZoom.highlightStyle.strokeColor}}),this.zr.un(h.EVENT.MOUSEDOWN,this._onmousedown),this.zr.un(h.EVENT.MOUSEUP,this._onmouseup),this.zr.un(h.EVENT.MOUSEMOVE,this._onmousemove))},_iconDisable:function(e){"image"!=e.type?this.zr.modShape(e.id,{hoverable:!1,clickable:!1,style:{strokeColor:this._disableColor}}):this.zr.modShape(e.id,{hoverable:!1,clickable:!1,style:{opacity:.3}})},_iconEnable:function(e){"image"!=e.type?this.zr.modShape(e.id,{hoverable:!0,clickable:!0,style:{strokeColor:e.highlightStyle.strokeColor}}):this.zr.modShape(e.id,{hoverable:!0,clickable:!0,style:{opacity:.8}})},__onDataView:function(){return this._dataView.show(this.option),!0},__onRestore:function(){return this._resetMark(),this._resetZoom(),this.messageCenter.dispatch(s.EVENT.RESTORE,null,null,this.myChart),!0},__onSaveAsImage:function(){var e=this.option.toolbox.feature.saveAsImage,t=e.type||"png";"png"!=t&&"jpeg"!=t&&(t="png");var i;i=this.myChart.isConnected()?this.myChart.getConnectedDataURL(t):this.zr.toDataURL("image/"+t,this.option.backgroundColor&&"rgba(0,0,0,0)"===this.option.backgroundColor.replace(" ","")?"#fff":this.option.backgroundColor);var n=document.createElement("div");n.id="__echarts_download_wrap__",n.style.cssText="position:fixed;z-index:99999;display:block;top:0;left:0;background-color:rgba(33,33,33,0.5);text-align:center;width:100%;height:100%;line-height:"+document.documentElement.clientHeight+"px;";var a=document.createElement("a");a.href=i,a.setAttribute("download",(e.name?e.name:this.option.title&&(this.option.title.text||this.option.title.subtext)?this.option.title.text||this.option.title.subtext:"ECharts")+"."+t),a.innerHTML='<img style="vertical-align:middle" src="'+i+'" title="'+(window.ActiveXObject||"ActiveXObject"in window?"鍙抽敭->鍥剧墖鍙﹀瓨涓�":e.lang?e.lang[0]:"鐐瑰嚮淇濆瓨")+'"/>',n.appendChild(a),document.body.appendChild(n),a=null,n=null,setTimeout(function(){var e=document.getElementById("__echarts_download_wrap__");e&&(e.onclick=function(){var e=document.getElementById("__echarts_download_wrap__");e.onclick=null,e.innerHTML="",document.body.removeChild(e),e=null},e=null)},500)},__onMagicType:function(e){this._resetMark();var t=e.target._name;return this._magicType[t]||(this._magicType[t]=!0,t===s.CHART_TYPE_LINE?this._magicType[s.CHART_TYPE_BAR]=!1:t===s.CHART_TYPE_BAR&&(this._magicType[s.CHART_TYPE_LINE]=!1),t===s.CHART_TYPE_PIE?this._magicType[s.CHART_TYPE_FUNNEL]=!1:t===s.CHART_TYPE_FUNNEL&&(this._magicType[s.CHART_TYPE_PIE]=!1),t===s.CHART_TYPE_FORCE?this._magicType[s.CHART_TYPE_CHORD]=!1:t===s.CHART_TYPE_CHORD&&(this._magicType[s.CHART_TYPE_FORCE]=!1),t===V?this._magicType[U]=!1:t===U&&(this._magicType[V]=!1),this.messageCenter.dispatch(s.EVENT.MAGIC_TYPE_CHANGED,e.event,{magicType:this._magicType},this.myChart)),!0},setMagicType:function(e){this._resetMark(),this._magicType=e,!this._isSilence&&this.messageCenter.dispatch(s.EVENT.MAGIC_TYPE_CHANGED,null,{magicType:this._magicType},this.myChart)},__onCustomHandler:function(e){var t=e.target.style.iconType,i=this.option.toolbox.feature[t].onclick;"function"==typeof i&&i.call(this,this.option)},reset:function(e,t){if(t&&this.clear(),this.query(e,"toolbox.show")&&this.query(e,"toolbox.feature.magicType.show")){var i=e.toolbox.feature.magicType.type,n=i.length;for(this._magicMap={};n--;)this._magicMap[i[n]]=!0;n=e.series.length;for(var a,o;n--;)a=e.series[n].type,this._magicMap[a]&&(o=e.xAxis instanceof Array?e.xAxis[e.series[n].xAxisIndex||0]:e.xAxis,o&&"category"===(o.type||"category")&&(o.__boundaryGap=null!=o.boundaryGap?o.boundaryGap:!0),o=e.yAxis instanceof Array?e.yAxis[e.series[n].yAxisIndex||0]:e.yAxis,o&&"category"===o.type&&(o.__boundaryGap=null!=o.boundaryGap?o.boundaryGap:!0),e.series[n].__type=a,e.series[n].__itemStyle=l.clone(e.series[n].itemStyle||{})),(this._magicMap[V]||this._magicMap[U])&&(e.series[n].__stack=e.series[n].stack)}this._magicType=t?{}:this._magicType||{};for(var r in this._magicType)if(this._magicType[r]){this.option=e,this.getMagicOption();break}var s=e.dataZoom;if(s&&s.show){var h=null!=s.start&&s.start>=0&&s.start<=100?s.start:0,m=null!=s.end&&s.end>=0&&s.end<=100?s.end:100;h>m&&(h+=m,m=h-m,h-=m),this._zoomQueue=[{start:h,end:m,start2:0,end2:100}]}else this._zoomQueue=[]},getMagicOption:function(){var e,t;if(this._magicType[s.CHART_TYPE_LINE]||this._magicType[s.CHART_TYPE_BAR]){for(var i=this._magicType[s.CHART_TYPE_LINE]?!1:!0,n=0,a=this.option.series.length;a>n;n++)t=this.option.series[n].type,(t==s.CHART_TYPE_LINE||t==s.CHART_TYPE_BAR)&&(e=this.option.xAxis instanceof Array?this.option.xAxis[this.option.series[n].xAxisIndex||0]:this.option.xAxis,e&&"category"===(e.type||"category")&&(e.boundaryGap=i?!0:e.__boundaryGap),e=this.option.yAxis instanceof Array?this.option.yAxis[this.option.series[n].yAxisIndex||0]:this.option.yAxis,e&&"category"===e.type&&(e.boundaryGap=i?!0:e.__boundaryGap));this._defaultMagic(s.CHART_TYPE_LINE,s.CHART_TYPE_BAR)}if(this._defaultMagic(s.CHART_TYPE_CHORD,s.CHART_TYPE_FORCE),this._defaultMagic(s.CHART_TYPE_PIE,s.CHART_TYPE_FUNNEL),this._magicType[V]||this._magicType[U])for(var n=0,a=this.option.series.length;a>n;n++)this._magicType[V]?(this.option.series[n].stack="_ECHARTS_STACK_KENER_2014_",t=V):this._magicType[U]&&(this.option.series[n].stack=null,t=U),this._featureOption[t+"Chart"]&&l.merge(this.option.series[n],this._featureOption[t+"Chart"]||{},!0);return this.option},_defaultMagic:function(e,t){if(this._magicType[e]||this._magicType[t])for(var i=0,n=this.option.series.length;n>i;i++){var a=this.option.series[i].type;(a==e||a==t)&&(this.option.series[i].type=this._magicType[e]?e:t,this.option.series[i].itemStyle=l.clone(this.option.series[i].__itemStyle),a=this.option.series[i].type,this._featureOption[a+"Chart"]&&l.merge(this.option.series[i],this._featureOption[a+"Chart"]||{},!0))}},silence:function(e){this._isSilence=e},resize:function(){this._resetMark(),this.clear(),this.option&&this.option.toolbox&&this.option.toolbox.show&&this._buildShape(),this._dataView&&this._dataView.resize()},hideDataView:function(){this._dataView&&this._dataView.hide()},clear:function(e){this.zr&&(this.zr.delShape(this.shapeList),this.shapeList=[],e||(this.zr.delShape(this._markShapeList),this._markShapeList=[]))},onbeforDispose:function(){this._dataView&&(this._dataView.dispose(),this._dataView=null),this._markShapeList=null},refresh:function(e){e&&(this._resetMark(),this._resetZoom(),e.toolbox=this.reformOption(e.toolbox),this.option=e,this.clear(!0),e.toolbox.show&&this._buildShape(),this.hideDataView())}},l.inherits(t,i),e("../component").define("toolbox",t),t}),i("echarts/component",[],function(){var e={},t={};return e.define=function(i,n){return t[i]=n,e},e.get=function(e){return t[e]},e}),i("echarts/component/title",["require","./base","zrender/shape/Text","zrender/shape/Rectangle","../config","zrender/tool/util","zrender/tool/area","zrender/tool/color","../component"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o),this.refresh(a)}var i=e("./base"),n=e("zrender/shape/Text"),a=e("zrender/shape/Rectangle"),o=e("../config");o.title={zlevel:0,z:6,show:!0,text:"",subtext:"",x:"left",y:"top",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:5,textStyle:{fontSize:18,fontWeight:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}};var r=e("zrender/tool/util"),s=e("zrender/tool/area"),l=e("zrender/tool/color");return t.prototype={type:o.COMPONENT_TYPE_TITLE,_buildShape:function(){if(this.titleOption.show){this._itemGroupLocation=this._getItemGroupLocation(),this._buildBackground(),this._buildItem();for(var e=0,t=this.shapeList.length;t>e;e++)this.zr.addShape(this.shapeList[e])}},_buildItem:function(){var e=this.titleOption.text,t=this.titleOption.link,i=this.titleOption.target,a=this.titleOption.subtext,o=this.titleOption.sublink,r=this.titleOption.subtarget,s=this.getFont(this.titleOption.textStyle),h=this.getFont(this.titleOption.subtextStyle),m=this._itemGroupLocation.x,V=this._itemGroupLocation.y,U=this._itemGroupLocation.width,d=this._itemGroupLocation.height,p={zlevel:this.getZlevelBase(),z:this.getZBase(),style:{y:V,color:this.titleOption.textStyle.color,text:e,textFont:s,textBaseline:"top"},highlightStyle:{color:l.lift(this.titleOption.textStyle.color,1),brushType:"fill"},hoverable:!1};t&&(p.hoverable=!0,p.clickable=!0,p.onclick=function(){i&&"self"==i?window.location=t:window.open(t)});var c={zlevel:this.getZlevelBase(),z:this.getZBase(),style:{y:V+d,color:this.titleOption.subtextStyle.color,text:a,textFont:h,textBaseline:"bottom"},highlightStyle:{color:l.lift(this.titleOption.subtextStyle.color,1),brushType:"fill"},hoverable:!1};switch(o&&(c.hoverable=!0,c.clickable=!0,c.onclick=function(){r&&"self"==r?window.location=o:window.open(o)}),this.titleOption.x){case"center":p.style.x=c.style.x=m+U/2,p.style.textAlign=c.style.textAlign="center";break;case"left":p.style.x=c.style.x=m,p.style.textAlign=c.style.textAlign="left";break;case"right":p.style.x=c.style.x=m+U,p.style.textAlign=c.style.textAlign="right";break;default:m=this.titleOption.x-0,m=isNaN(m)?0:m,p.style.x=c.style.x=m}this.titleOption.textAlign&&(p.style.textAlign=c.style.textAlign=this.titleOption.textAlign),this.shapeList.push(new n(p)),""!==a&&this.shapeList.push(new n(c))},_buildBackground:function(){var e=this.reformCssArray(this.titleOption.padding);this.shapeList.push(new a({zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{x:this._itemGroupLocation.x-e[3],y:this._itemGroupLocation.y-e[0],width:this._itemGroupLocation.width+e[3]+e[1],height:this._itemGroupLocation.height+e[0]+e[2],brushType:0===this.titleOption.borderWidth?"fill":"both",color:this.titleOption.backgroundColor,strokeColor:this.titleOption.borderColor,lineWidth:this.titleOption.borderWidth}}))},_getItemGroupLocation:function(){var e,t=this.reformCssArray(this.titleOption.padding),i=this.titleOption.text,n=this.titleOption.subtext,a=this.getFont(this.titleOption.textStyle),o=this.getFont(this.titleOption.subtextStyle),r=Math.max(s.getTextWidth(i,a),s.getTextWidth(n,o)),l=s.getTextHeight(i,a)+(""===n?0:this.titleOption.itemGap+s.getTextHeight(n,o)),h=this.zr.getWidth();switch(this.titleOption.x){case"center":e=Math.floor((h-r)/2);break;case"left":e=t[3]+this.titleOption.borderWidth;break;case"right":e=h-r-t[1]-this.titleOption.borderWidth;break;default:e=this.titleOption.x-0,e=isNaN(e)?0:e}var m,V=this.zr.getHeight();switch(this.titleOption.y){case"top":m=t[0]+this.titleOption.borderWidth;break;case"bottom":m=V-l-t[2]-this.titleOption.borderWidth;break;case"center":m=Math.floor((V-l)/2);break;default:m=this.titleOption.y-0,m=isNaN(m)?0:m}return{x:e,y:m,width:r,height:l}},refresh:function(e){e&&(this.option=e,this.option.title=this.reformOption(this.option.title),this.titleOption=this.option.title,this.titleOption.textStyle=this.getTextStyle(this.titleOption.textStyle),this.titleOption.subtextStyle=this.getTextStyle(this.titleOption.subtextStyle)),this.clear(),this._buildShape()}},r.inherits(t,i),e("../component").define("title",t),t}),i("echarts/component/tooltip",["require","./base","../util/shape/Cross","zrender/shape/Line","zrender/shape/Rectangle","../config","../util/ecData","zrender/config","zrender/tool/event","zrender/tool/area","zrender/tool/color","zrender/tool/util","zrender/shape/Base","../component"],function(e){function t(e,t,o,r,s){i.call(this,e,t,o,r,s),this.dom=s.dom;var l=this;l._onmousemove=function(e){return l.__onmousemove(e)},l._onglobalout=function(e){return l.__onglobalout(e)},this.zr.on(h.EVENT.MOUSEMOVE,l._onmousemove),this.zr.on(h.EVENT.GLOBALOUT,l._onglobalout),l._hide=function(e){return l.__hide(e)},l._tryShow=function(e){return l.__tryShow(e)},l._refixed=function(e){return l.__refixed(e)},l._setContent=function(e,t){return l.__setContent(e,t)},this._tDom=this._tDom||document.createElement("div"),this._tDom.onselectstart=function(){return!1},this._tDom.onmouseover=function(){l._mousein=!0},this._tDom.onmouseout=function(){l._mousein=!1},this._tDom.className="echarts-tooltip",this._tDom.style.position="absolute",this.hasAppend=!1,this._axisLineShape&&this.zr.delShape(this._axisLineShape.id),this._axisLineShape=new a({zlevel:this.getZlevelBase(),z:this.getZBase(),invisible:!0,hoverable:!1}),this.shapeList.push(this._axisLineShape),this.zr.addShape(this._axisLineShape),this._axisShadowShape&&this.zr.delShape(this._axisShadowShape.id),this._axisShadowShape=new a({zlevel:this.getZlevelBase(),z:1,invisible:!0,hoverable:!1}),this.shapeList.push(this._axisShadowShape),this.zr.addShape(this._axisShadowShape),this._axisCrossShape&&this.zr.delShape(this._axisCrossShape.id),this._axisCrossShape=new n({zlevel:this.getZlevelBase(),z:this.getZBase(),invisible:!0,hoverable:!1}),this.shapeList.push(this._axisCrossShape),this.zr.addShape(this._axisCrossShape),this.showing=!1,this.refresh(r)}var i=e("./base"),n=e("../util/shape/Cross"),a=e("zrender/shape/Line"),o=e("zrender/shape/Rectangle"),r=new o({}),s=e("../config");s.tooltip={zlevel:1,z:8,show:!0,showContent:!0,trigger:"item",islandFormatter:"{a} <br/>{b} : {c}",showDelay:20,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(0,0,0,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,axisPointer:{type:"line",lineStyle:{color:"#48b",width:2,type:"solid"},crossStyle:{color:"#1e90ff",width:1,type:"dashed"},shadowStyle:{color:"rgba(150,150,150,0.3)",width:"auto",type:"default"}},textStyle:{color:"#fff"}};var l=e("../util/ecData"),h=e("zrender/config"),m=e("zrender/tool/event"),V=e("zrender/tool/area"),U=e("zrender/tool/color"),d=e("zrender/tool/util"),p=e("zrender/shape/Base");return t.prototype={type:s.COMPONENT_TYPE_TOOLTIP,_gCssText:"position:absolute;display:block;border-style:solid;white-space:nowrap;",_style:function(e){if(!e)return"";var t=[];if(e.transitionDuration){var i="left "+e.transitionDuration+"s,top "+e.transitionDuration+"s";t.push("transition:"+i),t.push("-moz-transition:"+i),t.push("-webkit-transition:"+i),t.push("-o-transition:"+i)}e.backgroundColor&&(t.push("background-Color:"+U.toHex(e.backgroundColor)),t.push("filter:alpha(opacity=70)"),t.push("background-Color:"+e.backgroundColor)),null!=e.borderWidth&&t.push("border-width:"+e.borderWidth+"px"),null!=e.borderColor&&t.push("border-color:"+e.borderColor),null!=e.borderRadius&&(t.push("border-radius:"+e.borderRadius+"px"),t.push("-moz-border-radius:"+e.borderRadius+"px"),t.push("-webkit-border-radius:"+e.borderRadius+"px"),t.push("-o-border-radius:"+e.borderRadius+"px"));var n=e.textStyle;n&&(n.color&&t.push("color:"+n.color),n.decoration&&t.push("text-decoration:"+n.decoration),n.align&&t.push("text-align:"+n.align),n.fontFamily&&t.push("font-family:"+n.fontFamily),n.fontSize&&t.push("font-size:"+n.fontSize+"px"),n.fontSize&&t.push("line-height:"+Math.round(3*n.fontSize/2)+"px"),n.fontStyle&&t.push("font-style:"+n.fontStyle),n.fontWeight&&t.push("font-weight:"+n.fontWeight));var a=e.padding;return null!=a&&(a=this.reformCssArray(a),t.push("padding:"+a[0]+"px "+a[1]+"px "+a[2]+"px "+a[3]+"px")),t=t.join(";")+";"},__hide:function(){this._lastDataIndex=-1,this._lastSeriesIndex=-1,this._lastItemTriggerId=-1,this._tDom&&(this._tDom.style.display="none");var e=!1;this._axisLineShape.invisible||(this._axisLineShape.invisible=!0,
+this.zr.modShape(this._axisLineShape.id),e=!0),this._axisShadowShape.invisible||(this._axisShadowShape.invisible=!0,this.zr.modShape(this._axisShadowShape.id),e=!0),this._axisCrossShape.invisible||(this._axisCrossShape.invisible=!0,this.zr.modShape(this._axisCrossShape.id),e=!0),this._lastTipShape&&this._lastTipShape.tipShape.length>0&&(this.zr.delShape(this._lastTipShape.tipShape),this._lastTipShape=!1,this.shapeList.length=2),e&&this.zr.refreshNextFrame(),this.showing=!1},_show:function(e,t,i,n){var a=this._tDom.offsetHeight,o=this._tDom.offsetWidth;e&&("function"==typeof e&&(e=e([t,i])),e instanceof Array&&(t=e[0],i=e[1])),t+o>this._zrWidth&&(t-=o+40),i+a>this._zrHeight&&(i-=a-20),20>i&&(i=0),this._tDom.style.cssText=this._gCssText+this._defaultCssText+(n?n:"")+"left:"+t+"px;top:"+i+"px;",(10>a||10>o)&&setTimeout(this._refixed,20),this.showing=!0},__refixed:function(){if(this._tDom){var e="",t=this._tDom.offsetHeight,i=this._tDom.offsetWidth;this._tDom.offsetLeft+i>this._zrWidth&&(e+="left:"+(this._zrWidth-i-20)+"px;"),this._tDom.offsetTop+t>this._zrHeight&&(e+="top:"+(this._zrHeight-t-10)+"px;"),""!==e&&(this._tDom.style.cssText+=e)}},__tryShow:function(){var e,t;if(this._curTarget){if("island"===this._curTarget._type&&this.option.tooltip.show)return void this._showItemTrigger();var i=l.get(this._curTarget,"series"),n=l.get(this._curTarget,"data");e=this.deepQuery([n,i,this.option],"tooltip.show"),null!=i&&null!=n&&e?(t=this.deepQuery([n,i,this.option],"tooltip.trigger"),"axis"===t?this._showAxisTrigger(i.xAxisIndex,i.yAxisIndex,l.get(this._curTarget,"dataIndex")):this._showItemTrigger()):(clearTimeout(this._hidingTicket),clearTimeout(this._showingTicket),this._hidingTicket=setTimeout(this._hide,this._hideDelay))}else this._findPolarTrigger()||this._findAxisTrigger()},_findAxisTrigger:function(){if(!this.component.xAxis||!this.component.yAxis)return void(this._hidingTicket=setTimeout(this._hide,this._hideDelay));for(var e,t,i=this.option.series,n=0,a=i.length;a>n;n++)if("axis"===this.deepQuery([i[n],this.option],"tooltip.trigger"))return e=i[n].xAxisIndex||0,t=i[n].yAxisIndex||0,this.component.xAxis.getAxis(e)&&this.component.xAxis.getAxis(e).type===s.COMPONENT_TYPE_AXIS_CATEGORY?void this._showAxisTrigger(e,t,this._getNearestDataIndex("x",this.component.xAxis.getAxis(e))):this.component.yAxis.getAxis(t)&&this.component.yAxis.getAxis(t).type===s.COMPONENT_TYPE_AXIS_CATEGORY?void this._showAxisTrigger(e,t,this._getNearestDataIndex("y",this.component.yAxis.getAxis(t))):void this._showAxisTrigger(e,t,-1);"cross"===this.option.tooltip.axisPointer.type&&this._showAxisTrigger(-1,-1,-1)},_findPolarTrigger:function(){if(!this.component.polar)return!1;var e,t=m.getX(this._event),i=m.getY(this._event),n=this.component.polar.getNearestIndex([t,i]);return n?(e=n.valueIndex,n=n.polarIndex):n=-1,-1!=n?this._showPolarTrigger(n,e):!1},_getNearestDataIndex:function(e,t){var i=-1,n=m.getX(this._event),a=m.getY(this._event);if("x"===e){for(var o,r,s=this.component.grid.getXend(),l=t.getCoordByIndex(i);s>l&&(r=l,n>=l);)o=l,l=t.getCoordByIndex(++i);return 0>=i?i=0:r-n>=n-o?i-=1:null==t.getNameByIndex(i)&&(i-=1),i}for(var h,V,U=this.component.grid.getY(),l=t.getCoordByIndex(i);l>U&&(h=l,l>=a);)V=l,l=t.getCoordByIndex(++i);return 0>=i?i=0:a-h>=V-a?i-=1:null==t.getNameByIndex(i)&&(i-=1),i},_showAxisTrigger:function(e,t,i){if(!this._event.connectTrigger&&this.messageCenter.dispatch(s.EVENT.TOOLTIP_IN_GRID,this._event,null,this.myChart),null==this.component.xAxis||null==this.component.yAxis||null==e||null==t)return clearTimeout(this._hidingTicket),clearTimeout(this._showingTicket),void(this._hidingTicket=setTimeout(this._hide,this._hideDelay));var n,a,o,r,l=this.option.series,h=[],V=[],U="";if("axis"===this.option.tooltip.trigger){if(!this.option.tooltip.show)return;a=this.option.tooltip.formatter,o=this.option.tooltip.position}var d,p,c=-1!=e&&this.component.xAxis.getAxis(e).type===s.COMPONENT_TYPE_AXIS_CATEGORY?"xAxis":-1!=t&&this.component.yAxis.getAxis(t).type===s.COMPONENT_TYPE_AXIS_CATEGORY?"yAxis":!1;if(c){var u="xAxis"==c?e:t;n=this.component[c].getAxis(u);for(var y=0,g=l.length;g>y;y++)this._isSelected(l[y].name)&&l[y][c+"Index"]===u&&"axis"===this.deepQuery([l[y],this.option],"tooltip.trigger")&&(r=this.query(l[y],"tooltip.showContent")||r,a=this.query(l[y],"tooltip.formatter")||a,o=this.query(l[y],"tooltip.position")||o,U+=this._style(this.query(l[y],"tooltip")),null!=l[y].stack&&"xAxis"==c?(h.unshift(l[y]),V.unshift(y)):(h.push(l[y]),V.push(y)));this.messageCenter.dispatch(s.EVENT.TOOLTIP_HOVER,this._event,{seriesIndex:V,dataIndex:i},this.myChart);var b;"xAxis"==c?(d=this.subPixelOptimize(n.getCoordByIndex(i),this._axisLineWidth),p=m.getY(this._event),b=[d,this.component.grid.getY(),d,this.component.grid.getYend()]):(d=m.getX(this._event),p=this.subPixelOptimize(n.getCoordByIndex(i),this._axisLineWidth),b=[this.component.grid.getX(),p,this.component.grid.getXend(),p]),this._styleAxisPointer(h,b[0],b[1],b[2],b[3],n.getGap(),d,p)}else d=m.getX(this._event),p=m.getY(this._event),this._styleAxisPointer(l,this.component.grid.getX(),p,this.component.grid.getXend(),p,0,d,p),i>=0?this._showItemTrigger(!0):(clearTimeout(this._hidingTicket),clearTimeout(this._showingTicket),this._tDom.style.display="none");if(h.length>0){if(this._lastItemTriggerId=-1,this._lastDataIndex!=i||this._lastSeriesIndex!=V[0]){this._lastDataIndex=i,this._lastSeriesIndex=V[0];var f,k;if("function"==typeof a){for(var x=[],y=0,g=h.length;g>y;y++)f=h[y].data[i],k=this.getDataFromOption(f,"-"),x.push({seriesIndex:V[y],seriesName:h[y].name||"",series:h[y],dataIndex:i,data:f,name:n.getNameByIndex(i),value:k,0:h[y].name||"",1:n.getNameByIndex(i),2:k,3:f});this._curTicket="axis:"+i,this._tDom.innerHTML=a.call(this.myChart,x,this._curTicket,this._setContent)}else if("string"==typeof a){this._curTicket=0/0,a=a.replace("{a}","{a0}").replace("{b}","{b0}").replace("{c}","{c0}");for(var y=0,g=h.length;g>y;y++)a=a.replace("{a"+y+"}",this._encodeHTML(h[y].name||"")),a=a.replace("{b"+y+"}",this._encodeHTML(n.getNameByIndex(i))),f=h[y].data[i],f=this.getDataFromOption(f,"-"),a=a.replace("{c"+y+"}",f instanceof Array?f:this.numAddCommas(f));this._tDom.innerHTML=a}else{this._curTicket=0/0,a=this._encodeHTML(n.getNameByIndex(i));for(var y=0,g=h.length;g>y;y++)a+="<br/>"+this._encodeHTML(h[y].name||"")+" : ",f=h[y].data[i],f=this.getDataFromOption(f,"-"),a+=f instanceof Array?f:this.numAddCommas(f);this._tDom.innerHTML=a}}if(r===!1||!this.option.tooltip.showContent)return;this.hasAppend||(this._tDom.style.left=this._zrWidth/2+"px",this._tDom.style.top=this._zrHeight/2+"px",this.dom.firstChild.appendChild(this._tDom),this.hasAppend=!0),this._show(o,d+10,p+10,U)}},_showPolarTrigger:function(e,t){if(null==this.component.polar||null==e||null==t||0>t)return!1;var i,n,a,o=this.option.series,r=[],s=[],l="";if("axis"===this.option.tooltip.trigger){if(!this.option.tooltip.show)return!1;i=this.option.tooltip.formatter,n=this.option.tooltip.position}for(var h=this.option.polar[e].indicator[t].text,V=0,U=o.length;U>V;V++)this._isSelected(o[V].name)&&o[V].polarIndex===e&&"axis"===this.deepQuery([o[V],this.option],"tooltip.trigger")&&(a=this.query(o[V],"tooltip.showContent")||a,i=this.query(o[V],"tooltip.formatter")||i,n=this.query(o[V],"tooltip.position")||n,l+=this._style(this.query(o[V],"tooltip")),r.push(o[V]),s.push(V));if(r.length>0){for(var d,p,c,u=[],V=0,U=r.length;U>V;V++){d=r[V].data;for(var y=0,g=d.length;g>y;y++)p=d[y],this._isSelected(p.name)&&(p=null!=p?p:{name:"",value:{dataIndex:"-"}},c=this.getDataFromOption(p.value[t]),u.push({seriesIndex:s[V],seriesName:r[V].name||"",series:r[V],dataIndex:t,data:p,name:p.name,indicator:h,value:c,0:r[V].name||"",1:p.name,2:c,3:h}))}if(u.length<=0)return;if(this._lastItemTriggerId=-1,this._lastDataIndex!=t||this._lastSeriesIndex!=s[0])if(this._lastDataIndex=t,this._lastSeriesIndex=s[0],"function"==typeof i)this._curTicket="axis:"+t,this._tDom.innerHTML=i.call(this.myChart,u,this._curTicket,this._setContent);else if("string"==typeof i){i=i.replace("{a}","{a0}").replace("{b}","{b0}").replace("{c}","{c0}").replace("{d}","{d0}");for(var V=0,U=u.length;U>V;V++)i=i.replace("{a"+V+"}",this._encodeHTML(u[V].seriesName)),i=i.replace("{b"+V+"}",this._encodeHTML(u[V].name)),i=i.replace("{c"+V+"}",this.numAddCommas(u[V].value)),i=i.replace("{d"+V+"}",this._encodeHTML(u[V].indicator));this._tDom.innerHTML=i}else{i=this._encodeHTML(u[0].name)+"<br/>"+this._encodeHTML(u[0].indicator)+" : "+this.numAddCommas(u[0].value);for(var V=1,U=u.length;U>V;V++)i+="<br/>"+this._encodeHTML(u[V].name)+"<br/>",i+=this._encodeHTML(u[V].indicator)+" : "+this.numAddCommas(u[V].value);this._tDom.innerHTML=i}if(a===!1||!this.option.tooltip.showContent)return;return this.hasAppend||(this._tDom.style.left=this._zrWidth/2+"px",this._tDom.style.top=this._zrHeight/2+"px",this.dom.firstChild.appendChild(this._tDom),this.hasAppend=!0),this._show(n,m.getX(this._event),m.getY(this._event),l),!0}},_showItemTrigger:function(e){if(this._curTarget){var t,i,n,a=l.get(this._curTarget,"series"),o=l.get(this._curTarget,"seriesIndex"),r=l.get(this._curTarget,"data"),h=l.get(this._curTarget,"dataIndex"),V=l.get(this._curTarget,"name"),U=l.get(this._curTarget,"value"),d=l.get(this._curTarget,"special"),p=l.get(this._curTarget,"special2"),c=[r,a,this.option],u="";if("island"!=this._curTarget._type){var y=e?"axis":"item";this.option.tooltip.trigger===y&&(t=this.option.tooltip.formatter,i=this.option.tooltip.position),this.query(a,"tooltip.trigger")===y&&(n=this.query(a,"tooltip.showContent")||n,t=this.query(a,"tooltip.formatter")||t,i=this.query(a,"tooltip.position")||i,u+=this._style(this.query(a,"tooltip"))),n=this.query(r,"tooltip.showContent")||n,t=this.query(r,"tooltip.formatter")||t,i=this.query(r,"tooltip.position")||i,u+=this._style(this.query(r,"tooltip"))}else this._lastItemTriggerId=0/0,n=this.deepQuery(c,"tooltip.showContent"),t=this.deepQuery(c,"tooltip.islandFormatter"),i=this.deepQuery(c,"tooltip.islandPosition");this._lastDataIndex=-1,this._lastSeriesIndex=-1,this._lastItemTriggerId!==this._curTarget.id&&(this._lastItemTriggerId=this._curTarget.id,"function"==typeof t?(this._curTicket=(a.name||"")+":"+h,this._tDom.innerHTML=t.call(this.myChart,{seriesIndex:o,seriesName:a.name||"",series:a,dataIndex:h,data:r,name:V,value:U,percent:d,indicator:d,value2:p,indicator2:p,0:a.name||"",1:V,2:U,3:d,4:p,5:r,6:o,7:h},this._curTicket,this._setContent)):"string"==typeof t?(this._curTicket=0/0,t=t.replace("{a}","{a0}").replace("{b}","{b0}").replace("{c}","{c0}"),t=t.replace("{a0}",this._encodeHTML(a.name||"")).replace("{b0}",this._encodeHTML(V)).replace("{c0}",U instanceof Array?U:this.numAddCommas(U)),t=t.replace("{d}","{d0}").replace("{d0}",d||""),t=t.replace("{e}","{e0}").replace("{e0}",l.get(this._curTarget,"special2")||""),this._tDom.innerHTML=t):(this._curTicket=0/0,this._tDom.innerHTML=a.type===s.CHART_TYPE_RADAR&&d?this._itemFormatter.radar.call(this,a,V,U,d):a.type===s.CHART_TYPE_EVENTRIVER?this._itemFormatter.eventRiver.call(this,a,V,U,r):""+(null!=a.name?this._encodeHTML(a.name)+"<br/>":"")+(""===V?"":this._encodeHTML(V)+" : ")+(U instanceof Array?U:this.numAddCommas(U))));var g=m.getX(this._event),b=m.getY(this._event);this.deepQuery(c,"tooltip.axisPointer.show")&&this.component.grid?this._styleAxisPointer([a],this.component.grid.getX(),b,this.component.grid.getXend(),b,0,g,b):this._hide(),n!==!1&&this.option.tooltip.showContent&&(this.hasAppend||(this._tDom.style.left=this._zrWidth/2+"px",this._tDom.style.top=this._zrHeight/2+"px",this.dom.firstChild.appendChild(this._tDom),this.hasAppend=!0),this._show(i,g+20,b-20,u))}},_itemFormatter:{radar:function(e,t,i,n){var a="";a+=this._encodeHTML(""===t?e.name||"":t),a+=""===a?"":"<br />";for(var o=0;o<n.length;o++)a+=this._encodeHTML(n[o].text)+" : "+this.numAddCommas(i[o])+"<br />";return a},chord:function(e,t,i,n,a){if(null==a)return this._encodeHTML(t)+" ("+this.numAddCommas(i)+")";var o=this._encodeHTML(t),r=this._encodeHTML(n);return""+(null!=e.name?this._encodeHTML(e.name)+"<br/>":"")+o+" -> "+r+" ("+this.numAddCommas(i)+")<br />"+r+" -> "+o+" ("+this.numAddCommas(a)+")"},eventRiver:function(e,t,i,n){var a="";a+=this._encodeHTML(""===e.name?"":e.name+" : "),a+=this._encodeHTML(t),a+=""===a?"":"<br />",n=n.evolution;for(var o=0,r=n.length;r>o;o++)a+='<div style="padding-top:5px;">',n[o].detail&&(n[o].detail.img&&(a+='<img src="'+n[o].detail.img+'" style="float:left;width:40px;height:40px;">'),a+='<div style="margin-left:45px;">'+n[o].time+"<br/>",a+='<a href="'+n[o].detail.link+'" target="_blank">',a+=n[o].detail.text+"</a></div>",a+="</div>");return a}},_styleAxisPointer:function(e,t,i,n,a,o,r,s){if(e.length>0){var l,h,m=this.option.tooltip.axisPointer,V=m.type,U={line:{},cross:{},shadow:{}};for(var d in U)U[d].color=m[d+"Style"].color,U[d].width=m[d+"Style"].width,U[d].type=m[d+"Style"].type;for(var p=0,c=e.length;c>p;p++)l=e[p],h=this.query(l,"tooltip.axisPointer.type"),V=h||V,h&&(U[h].color=this.query(l,"tooltip.axisPointer."+h+"Style.color")||U[h].color,U[h].width=this.query(l,"tooltip.axisPointer."+h+"Style.width")||U[h].width,U[h].type=this.query(l,"tooltip.axisPointer."+h+"Style.type")||U[h].type);if("line"===V){var u=U.line.width,y=t==n;this._axisLineShape.style={xStart:y?this.subPixelOptimize(t,u):t,yStart:y?i:this.subPixelOptimize(i,u),xEnd:y?this.subPixelOptimize(n,u):n,yEnd:y?a:this.subPixelOptimize(a,u),strokeColor:U.line.color,lineWidth:u,lineType:U.line.type},this._axisLineShape.invisible=!1,this.zr.modShape(this._axisLineShape.id)}else if("cross"===V){var g=U.cross.width;this._axisCrossShape.style={brushType:"stroke",rect:this.component.grid.getArea(),x:this.subPixelOptimize(r,g),y:this.subPixelOptimize(s,g),text:("( "+this.component.xAxis.getAxis(0).getValueFromCoord(r)+" , "+this.component.yAxis.getAxis(0).getValueFromCoord(s)+" )").replace(" , "," ").replace(" , "," "),textPosition:"specific",strokeColor:U.cross.color,lineWidth:g,lineType:U.cross.type},this.component.grid.getXend()-r>100?(this._axisCrossShape.style.textAlign="left",this._axisCrossShape.style.textX=r+10):(this._axisCrossShape.style.textAlign="right",this._axisCrossShape.style.textX=r-10),s-this.component.grid.getY()>50?(this._axisCrossShape.style.textBaseline="bottom",this._axisCrossShape.style.textY=s-10):(this._axisCrossShape.style.textBaseline="top",this._axisCrossShape.style.textY=s+10),this._axisCrossShape.invisible=!1,this.zr.modShape(this._axisCrossShape.id)}else"shadow"===V&&((null==U.shadow.width||"auto"===U.shadow.width||isNaN(U.shadow.width))&&(U.shadow.width=o),t===n?Math.abs(this.component.grid.getX()-t)<2?(U.shadow.width/=2,t=n+=U.shadow.width/2):Math.abs(this.component.grid.getXend()-t)<2&&(U.shadow.width/=2,t=n-=U.shadow.width/2):i===a&&(Math.abs(this.component.grid.getY()-i)<2?(U.shadow.width/=2,i=a+=U.shadow.width/2):Math.abs(this.component.grid.getYend()-i)<2&&(U.shadow.width/=2,i=a-=U.shadow.width/2)),this._axisShadowShape.style={xStart:t,yStart:i,xEnd:n,yEnd:a,strokeColor:U.shadow.color,lineWidth:U.shadow.width},this._axisShadowShape.invisible=!1,this.zr.modShape(this._axisShadowShape.id));this.zr.refreshNextFrame()}},__onmousemove:function(e){if(clearTimeout(this._hidingTicket),clearTimeout(this._showingTicket),!this._mousein||!this._enterable){var t=e.target,i=m.getX(e.event),n=m.getY(e.event);if(t){this._curTarget=t,this._event=e.event,this._event.zrenderX=i,this._event.zrenderY=n;var a;if(this._needAxisTrigger&&this.component.polar&&-1!=(a=this.component.polar.isInside([i,n])))for(var o=this.option.series,l=0,h=o.length;h>l;l++)if(o[l].polarIndex===a&&"axis"===this.deepQuery([o[l],this.option],"tooltip.trigger")){this._curTarget=null;break}this._showingTicket=setTimeout(this._tryShow,this._showDelay)}else this._curTarget=!1,this._event=e.event,this._event.zrenderX=i,this._event.zrenderY=n,this._needAxisTrigger&&this.component.grid&&V.isInside(r,this.component.grid.getArea(),i,n)?this._showingTicket=setTimeout(this._tryShow,this._showDelay):this._needAxisTrigger&&this.component.polar&&-1!=this.component.polar.isInside([i,n])?this._showingTicket=setTimeout(this._tryShow,this._showDelay):(!this._event.connectTrigger&&this.messageCenter.dispatch(s.EVENT.TOOLTIP_OUT_GRID,this._event,null,this.myChart),this._hidingTicket=setTimeout(this._hide,this._hideDelay))}},__onglobalout:function(){clearTimeout(this._hidingTicket),clearTimeout(this._showingTicket),this._hidingTicket=setTimeout(this._hide,this._hideDelay)},__setContent:function(e,t){this._tDom&&(e===this._curTicket&&(this._tDom.innerHTML=t),setTimeout(this._refixed,20))},ontooltipHover:function(e,t){if(!this._lastTipShape||this._lastTipShape&&this._lastTipShape.dataIndex!=e.dataIndex){this._lastTipShape&&this._lastTipShape.tipShape.length>0&&(this.zr.delShape(this._lastTipShape.tipShape),this.shapeList.length=2);for(var i=0,n=t.length;n>i;i++)t[i].zlevel=this.getZlevelBase(),t[i].z=this.getZBase(),t[i].style=p.prototype.getHighlightStyle(t[i].style,t[i].highlightStyle),t[i].draggable=!1,t[i].hoverable=!1,t[i].clickable=!1,t[i].ondragend=null,t[i].ondragover=null,t[i].ondrop=null,this.shapeList.push(t[i]),this.zr.addShape(t[i]);this._lastTipShape={dataIndex:e.dataIndex,tipShape:t}}},ondragend:function(){this._hide()},onlegendSelected:function(e){this._selectedMap=e.selected},_setSelectedMap:function(){this._selectedMap=this.component.legend?d.clone(this.component.legend.getSelectedMap()):{}},_isSelected:function(e){return null!=this._selectedMap[e]?this._selectedMap[e]:!0},showTip:function(e){if(e){var t,i=this.option.series;if(null!=e.seriesIndex)t=e.seriesIndex;else for(var n=e.seriesName,a=0,o=i.length;o>a;a++)if(i[a].name===n){t=a;break}var r=i[t];if(null!=r){var m=this.myChart.chart[r.type],V="axis"===this.deepQuery([r,this.option],"tooltip.trigger");if(m)if(V){var U=e.dataIndex;switch(m.type){case s.CHART_TYPE_LINE:case s.CHART_TYPE_BAR:case s.CHART_TYPE_K:case s.CHART_TYPE_RADAR:if(null==this.component.polar||r.data[0].value.length<=U)return;var d=r.polarIndex||0,p=this.component.polar.getVector(d,U,"max");this._event={zrenderX:p[0],zrenderY:p[1]},this._showPolarTrigger(d,U)}}else{var c,u,y=m.shapeList;switch(m.type){case s.CHART_TYPE_LINE:case s.CHART_TYPE_BAR:case s.CHART_TYPE_K:case s.CHART_TYPE_TREEMAP:case s.CHART_TYPE_SCATTER:for(var U=e.dataIndex,a=0,o=y.length;o>a;a++)if(null==y[a]._mark&&l.get(y[a],"seriesIndex")==t&&l.get(y[a],"dataIndex")==U){this._curTarget=y[a],c=y[a].style.x,u=m.type!=s.CHART_TYPE_K?y[a].style.y:y[a].style.y[0];break}break;case s.CHART_TYPE_RADAR:for(var U=e.dataIndex,a=0,o=y.length;o>a;a++)if("polygon"===y[a].type&&l.get(y[a],"seriesIndex")==t&&l.get(y[a],"dataIndex")==U){this._curTarget=y[a];var p=this.component.polar.getCenter(r.polarIndex||0);c=p[0],u=p[1];break}break;case s.CHART_TYPE_PIE:for(var g=e.name,a=0,o=y.length;o>a;a++)if("sector"===y[a].type&&l.get(y[a],"seriesIndex")==t&&l.get(y[a],"name")==g){this._curTarget=y[a];var b=this._curTarget.style,f=(b.startAngle+b.endAngle)/2*Math.PI/180;c=this._curTarget.style.x+Math.cos(f)*b.r/1.5,u=this._curTarget.style.y-Math.sin(f)*b.r/1.5;break}break;case s.CHART_TYPE_MAP:for(var g=e.name,k=r.mapType,a=0,o=y.length;o>a;a++)if("text"===y[a].type&&y[a]._mapType===k&&y[a].style._name===g){this._curTarget=y[a],c=this._curTarget.style.x+this._curTarget.position[0],u=this._curTarget.style.y+this._curTarget.position[1];break}break;case s.CHART_TYPE_CHORD:for(var g=e.name,a=0,o=y.length;o>a;a++)if("sector"===y[a].type&&l.get(y[a],"name")==g){this._curTarget=y[a];var b=this._curTarget.style,f=(b.startAngle+b.endAngle)/2*Math.PI/180;return c=this._curTarget.style.x+Math.cos(f)*(b.r-2),u=this._curTarget.style.y-Math.sin(f)*(b.r-2),void this.zr.trigger(h.EVENT.MOUSEMOVE,{zrenderX:c,zrenderY:u})}break;case s.CHART_TYPE_FORCE:for(var g=e.name,a=0,o=y.length;o>a;a++)if("circle"===y[a].type&&l.get(y[a],"name")==g){this._curTarget=y[a],c=this._curTarget.position[0],u=this._curTarget.position[1];break}}null!=c&&null!=u&&(this._event={zrenderX:c,zrenderY:u},this.zr.addHoverShape(this._curTarget),this.zr.refreshHover(),this._showItemTrigger())}}}},hideTip:function(){this._hide()},refresh:function(e){if(this._zrHeight=this.zr.getHeight(),this._zrWidth=this.zr.getWidth(),this._lastTipShape&&this._lastTipShape.tipShape.length>0&&this.zr.delShape(this._lastTipShape.tipShape),this._lastTipShape=!1,this.shapeList.length=2,this._lastDataIndex=-1,this._lastSeriesIndex=-1,this._lastItemTriggerId=-1,e){this.option=e,this.option.tooltip=this.reformOption(this.option.tooltip),this.option.tooltip.textStyle=d.merge(this.option.tooltip.textStyle,this.ecTheme.textStyle),this._needAxisTrigger=!1,"axis"===this.option.tooltip.trigger&&(this._needAxisTrigger=!0);for(var t=this.option.series,i=0,n=t.length;n>i;i++)if("axis"===this.query(t[i],"tooltip.trigger")){this._needAxisTrigger=!0;break}this._showDelay=this.option.tooltip.showDelay,this._hideDelay=this.option.tooltip.hideDelay,this._defaultCssText=this._style(this.option.tooltip),this._setSelectedMap(),this._axisLineWidth=this.option.tooltip.axisPointer.lineStyle.width,this._enterable=this.option.tooltip.enterable,!this._enterable&&this._tDom.className.indexOf(h.elementClassName)<0&&(this._tDom.className+=" "+h.elementClassName)}if(this.showing){var a=this;setTimeout(function(){a.zr.trigger(h.EVENT.MOUSEMOVE,a.zr.handler._event)},50)}},onbeforDispose:function(){this._lastTipShape&&this._lastTipShape.tipShape.length>0&&this.zr.delShape(this._lastTipShape.tipShape),clearTimeout(this._hidingTicket),clearTimeout(this._showingTicket),this.zr.un(h.EVENT.MOUSEMOVE,this._onmousemove),this.zr.un(h.EVENT.GLOBALOUT,this._onglobalout),this.hasAppend&&this.dom.firstChild&&this.dom.firstChild.removeChild(this._tDom),this._tDom=null},_encodeHTML:function(e){return String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}},d.inherits(t,i),e("../component").define("tooltip",t),t}),i("echarts/component/legend",["require","./base","zrender/shape/Text","zrender/shape/Rectangle","zrender/shape/Sector","../util/shape/Icon","../util/shape/Candle","../config","zrender/tool/util","zrender/tool/area","../component"],function(e){function t(e,t,n,a,o){if(!this.query(a,"legend.data"))return void console.error("option.legend.data has not been defined.");i.call(this,e,t,n,a,o);var r=this;r._legendSelected=function(e){r.__legendSelected(e)},r._dispatchHoverLink=function(e){return r.__dispatchHoverLink(e)},this._colorIndex=0,this._colorMap={},this._selectedMap={},this._hasDataMap={},this.refresh(a)}var i=e("./base"),n=e("zrender/shape/Text"),a=e("zrender/shape/Rectangle"),o=e("zrender/shape/Sector"),r=e("../util/shape/Icon"),s=e("../util/shape/Candle"),l=e("../config");l.legend={zlevel:0,z:4,show:!0,orient:"horizontal",x:"center",y:"top",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,itemWidth:20,itemHeight:14,textStyle:{color:"#333"},selectedMode:!0};var h=e("zrender/tool/util"),m=e("zrender/tool/area");t.prototype={type:l.COMPONENT_TYPE_LEGEND,_buildShape:function(){if(this.legendOption.show){this._itemGroupLocation=this._getItemGroupLocation(),this._buildBackground(),this._buildItem();for(var e=0,t=this.shapeList.length;t>e;e++)this.zr.addShape(this.shapeList[e])}},_buildItem:function(){var e,t,i,a,o,s,l,V,U=this.legendOption.data,d=U.length,p=this.legendOption.textStyle,c=this.zr.getWidth(),u=this.zr.getHeight(),y=this._itemGroupLocation.x,g=this._itemGroupLocation.y,b=this.legendOption.itemWidth,f=this.legendOption.itemHeight,k=this.legendOption.itemGap;"vertical"===this.legendOption.orient&&"right"===this.legendOption.x&&(y=this._itemGroupLocation.x+this._itemGroupLocation.width-b);for(var x=0;d>x;x++)o=h.merge(U[x].textStyle||{},p),s=this.getFont(o),e=this._getName(U[x]),l=this._getFormatterName(e),""!==e?(t=U[x].icon||this._getSomethingByName(e).type,V=this.getColor(e),"horizontal"===this.legendOption.orient?200>c-y&&b+5+m.getTextWidth(l,s)+(x===d-1||""===U[x+1]?0:k)>=c-y&&(y=this._itemGroupLocation.x,g+=f+k):200>u-g&&f+(x===d-1||""===U[x+1]?0:k)>=u-g&&("right"===this.legendOption.x?y-=this._itemGroupLocation.maxWidth+k:y+=this._itemGroupLocation.maxWidth+k,g=this._itemGroupLocation.y),i=this._getItemShapeByType(y,g,b,f,this._selectedMap[e]&&this._hasDataMap[e]?V:"#ccc",t,V),i._name=e,i=new r(i),a={zlevel:this.getZlevelBase(),z:this.getZBase(),style:{x:y+b+5,y:g+f/2,color:this._selectedMap[e]?"auto"===o.color?V:o.color:"#ccc",text:l,textFont:s,textBaseline:"middle"},highlightStyle:{color:V,brushType:"fill"},hoverable:!!this.legendOption.selectedMode,clickable:!!this.legendOption.selectedMode},"vertical"===this.legendOption.orient&&"right"===this.legendOption.x&&(a.style.x-=b+10,a.style.textAlign="right"),a._name=e,a=new n(a),this.legendOption.selectedMode&&(i.onclick=a.onclick=this._legendSelected,i.onmouseover=a.onmouseover=this._dispatchHoverLink,i.hoverConnect=a.id,a.hoverConnect=i.id),this.shapeList.push(i),this.shapeList.push(a),"horizontal"===this.legendOption.orient?y+=b+5+m.getTextWidth(l,s)+k:g+=f+k):"horizontal"===this.legendOption.orient?(y=this._itemGroupLocation.x,g+=f+k):("right"===this.legendOption.x?y-=this._itemGroupLocation.maxWidth+k:y+=this._itemGroupLocation.maxWidth+k,g=this._itemGroupLocation.y);"horizontal"===this.legendOption.orient&&"center"===this.legendOption.x&&g!=this._itemGroupLocation.y&&this._mLineOptimize()},_getName:function(e){return"undefined"!=typeof e.name?e.name:e},_getFormatterName:function(e){var t,i=this.legendOption.formatter;return t="function"==typeof i?i.call(this.myChart,e):"string"==typeof i?i.replace("{name}",e):e},_getFormatterNameFromData:function(e){var t=this._getName(e);return this._getFormatterName(t)},_mLineOptimize:function(){for(var e=[],t=this._itemGroupLocation.x,i=2,n=this.shapeList.length;n>i;i++)this.shapeList[i].style.x===t?e.push((this._itemGroupLocation.width-(this.shapeList[i-1].style.x+m.getTextWidth(this.shapeList[i-1].style.text,this.shapeList[i-1].style.textFont)-t))/2):i===n-1&&e.push((this._itemGroupLocation.width-(this.shapeList[i].style.x+m.getTextWidth(this.shapeList[i].style.text,this.shapeList[i].style.textFont)-t))/2);for(var a=-1,i=1,n=this.shapeList.length;n>i;i++)this.shapeList[i].style.x===t&&a++,0!==e[a]&&(this.shapeList[i].style.x+=e[a])},_buildBackground:function(){var e=this.reformCssArray(this.legendOption.padding);this.shapeList.push(new a({zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{x:this._itemGroupLocation.x-e[3],y:this._itemGroupLocation.y-e[0],width:this._itemGroupLocation.width+e[3]+e[1],height:this._itemGroupLocation.height+e[0]+e[2],brushType:0===this.legendOption.borderWidth?"fill":"both",color:this.legendOption.backgroundColor,strokeColor:this.legendOption.borderColor,lineWidth:this.legendOption.borderWidth}}))},_getItemGroupLocation:function(){var e=this.legendOption.data,t=e.length,i=this.legendOption.itemGap,n=this.legendOption.itemWidth+5,a=this.legendOption.itemHeight,o=this.legendOption.textStyle,r=this.getFont(o),s=0,l=0,V=this.reformCssArray(this.legendOption.padding),U=this.zr.getWidth()-V[1]-V[3],d=this.zr.getHeight()-V[0]-V[2],p=0,c=0;if("horizontal"===this.legendOption.orient){l=a;for(var u=0;t>u;u++)if(""!==this._getName(e[u])){var y=m.getTextWidth(this._getFormatterNameFromData(e[u]),e[u].textStyle?this.getFont(h.merge(e[u].textStyle||{},o)):r);p+n+y+i>U?(p-=i,s=Math.max(s,p),l+=a+i,p=0):(p+=n+y+i,s=Math.max(s,p-i))}else p-=i,s=Math.max(s,p),l+=a+i,p=0}else{for(var u=0;t>u;u++)c=Math.max(c,m.getTextWidth(this._getFormatterNameFromData(e[u]),e[u].textStyle?this.getFont(h.merge(e[u].textStyle||{},o)):r));c+=n,s=c;for(var u=0;t>u;u++)""!==this._getName(e[u])?p+a+i>d?(s+=c+i,p-=i,l=Math.max(l,p),p=0):(p+=a+i,l=Math.max(l,p-i)):(s+=c+i,p-=i,l=Math.max(l,p),p=0)}U=this.zr.getWidth(),d=this.zr.getHeight();var g;switch(this.legendOption.x){case"center":g=Math.floor((U-s)/2);break;case"left":g=V[3]+this.legendOption.borderWidth;break;case"right":g=U-s-V[1]-V[3]-2*this.legendOption.borderWidth;break;default:g=this.parsePercent(this.legendOption.x,U)}var b;switch(this.legendOption.y){case"top":b=V[0]+this.legendOption.borderWidth;break;case"bottom":b=d-l-V[0]-V[2]-2*this.legendOption.borderWidth;break;case"center":b=Math.floor((d-l)/2);break;default:b=this.parsePercent(this.legendOption.y,d)}return{x:g,y:b,width:s,height:l,maxWidth:c}},_getSomethingByName:function(e){for(var t,i=this.option.series,n=0,a=i.length;a>n;n++){if(i[n].name===e)return{type:i[n].type,series:i[n],seriesIndex:n,data:null,dataIndex:-1};if(i[n].type===l.CHART_TYPE_PIE||i[n].type===l.CHART_TYPE_RADAR||i[n].type===l.CHART_TYPE_CHORD||i[n].type===l.CHART_TYPE_FORCE||i[n].type===l.CHART_TYPE_FUNNEL||i[n].type===l.CHART_TYPE_TREEMAP){t=i[n].categories||i[n].data||i[n].nodes;for(var o=0,r=t.length;r>o;o++)if(t[o].name===e)return{type:i[n].type,series:i[n],seriesIndex:n,data:t[o],dataIndex:o}}}return{type:"bar",series:null,seriesIndex:-1,data:null,dataIndex:-1}},_getItemShapeByType:function(e,t,i,n,a,o,r){var s,h="#ccc"===a?r:a,m={zlevel:this.getZlevelBase(),z:this.getZBase(),style:{iconType:"legendicon"+o,x:e,y:t,width:i,height:n,color:a,strokeColor:a,lineWidth:2},highlightStyle:{color:h,strokeColor:h,lineWidth:1},hoverable:this.legendOption.selectedMode,clickable:this.legendOption.selectedMode};if(o.match("image")){var s=o.replace(new RegExp("^image:\\/\\/"),"");o="image"}switch(o){case"line":m.style.brushType="stroke",m.highlightStyle.lineWidth=3;break;case"radar":case"venn":case"tree":case"treemap":case"scatter":m.highlightStyle.lineWidth=3;break;case"k":m.style.brushType="both",m.highlightStyle.lineWidth=3,m.highlightStyle.color=m.style.color=this.deepQuery([this.ecTheme,l],"k.itemStyle.normal.color")||"#fff",m.style.strokeColor="#ccc"!=a?this.deepQuery([this.ecTheme,l],"k.itemStyle.normal.lineStyle.color")||"#ff3200":a;break;case"image":m.style.iconType="image",m.style.image=s,"#ccc"===a&&(m.style.opacity=.5)}return m},__legendSelected:function(e){var t=e.target._name;if("single"===this.legendOption.selectedMode)for(var i in this._selectedMap)this._selectedMap[i]=!1;this._selectedMap[t]=!this._selectedMap[t],this.messageCenter.dispatch(l.EVENT.LEGEND_SELECTED,e.event,{selected:this._selectedMap,target:t},this.myChart)},__dispatchHoverLink:function(e){this.messageCenter.dispatch(l.EVENT.LEGEND_HOVERLINK,e.event,{target:e.target._name},this.myChart)},refresh:function(e){if(e){this.option=e||this.option,this.option.legend=this.reformOption(this.option.legend),this.legendOption=this.option.legend;var t,i,n,a,o=this.legendOption.data||[];if(this.legendOption.selected)for(var r in this.legendOption.selected)this._selectedMap[r]="undefined"!=typeof this._selectedMap[r]?this._selectedMap[r]:this.legendOption.selected[r];for(var s=0,h=o.length;h>s;s++)t=this._getName(o[s]),""!==t&&(i=this._getSomethingByName(t),i.series?(this._hasDataMap[t]=!0,a=!i.data||i.type!==l.CHART_TYPE_PIE&&i.type!==l.CHART_TYPE_FORCE&&i.type!==l.CHART_TYPE_FUNNEL?[i.series]:[i.data,i.series],n=this.getItemStyleColor(this.deepQuery(a,"itemStyle.normal.color"),i.seriesIndex,i.dataIndex,i.data),n&&i.type!=l.CHART_TYPE_K&&this.setColor(t,n),this._selectedMap[t]=null!=this._selectedMap[t]?this._selectedMap[t]:!0):this._hasDataMap[t]=!1)}this.clear(),this._buildShape()},getRelatedAmount:function(e){for(var t,i=0,n=this.option.series,a=0,o=n.length;o>a;a++)if(n[a].name===e&&i++,n[a].type===l.CHART_TYPE_PIE||n[a].type===l.CHART_TYPE_RADAR||n[a].type===l.CHART_TYPE_CHORD||n[a].type===l.CHART_TYPE_FORCE||n[a].type===l.CHART_TYPE_FUNNEL){t=n[a].type!=l.CHART_TYPE_FORCE?n[a].data:n[a].categories;for(var r=0,s=t.length;s>r;r++)t[r].name===e&&"-"!=t[r].value&&i++}return i},setColor:function(e,t){this._colorMap[e]=t},getColor:function(e){return this._colorMap[e]||(this._colorMap[e]=this.zr.getColor(this._colorIndex++)),this._colorMap[e]},hasColor:function(e){return this._colorMap[e]?this._colorMap[e]:!1},add:function(e,t){
+for(var i=this.legendOption.data,n=0,a=i.length;a>n;n++)if(this._getName(i[n])===e)return;this.legendOption.data.push(e),this.setColor(e,t),this._selectedMap[e]=!0,this._hasDataMap[e]=!0},del:function(e){for(var t=this.legendOption.data,i=0,n=t.length;n>i;i++)if(this._getName(t[i])===e)return this.legendOption.data.splice(i,1)},getItemShape:function(e){if(null!=e)for(var t,i=0,n=this.shapeList.length;n>i;i++)if(t=this.shapeList[i],t._name===e&&"text"!=t.type)return t},setItemShape:function(e,t){for(var i,n=0,a=this.shapeList.length;a>n;n++)i=this.shapeList[n],i._name===e&&"text"!=i.type&&(this._selectedMap[e]||(t.style.color="#ccc",t.style.strokeColor="#ccc"),this.zr.modShape(i.id,t))},isSelected:function(e){return"undefined"!=typeof this._selectedMap[e]?this._selectedMap[e]:!0},getSelectedMap:function(){return this._selectedMap},setSelected:function(e,t){if("single"===this.legendOption.selectedMode)for(var i in this._selectedMap)this._selectedMap[i]=!1;this._selectedMap[e]=t,this.messageCenter.dispatch(l.EVENT.LEGEND_SELECTED,null,{selected:this._selectedMap,target:e},this.myChart)},onlegendSelected:function(e,t){var i=e.selected;for(var n in i)this._selectedMap[n]!=i[n]&&(t.needRefresh=!0),this._selectedMap[n]=i[n]}};var V={line:function(e,t){var i=t.height/2;e.moveTo(t.x,t.y+i),e.lineTo(t.x+t.width,t.y+i)},pie:function(e,t){var i=t.x,n=t.y,a=t.width,r=t.height;o.prototype.buildPath(e,{x:i+a/2,y:n+r+2,r:r,r0:6,startAngle:45,endAngle:135})},eventRiver:function(e,t){var i=t.x,n=t.y,a=t.width,o=t.height;e.moveTo(i,n+o),e.bezierCurveTo(i+a,n+o,i,n+4,i+a,n+4),e.lineTo(i+a,n),e.bezierCurveTo(i,n,i+a,n+o-4,i,n+o-4),e.lineTo(i,n+o)},k:function(e,t){var i=t.x,n=t.y,a=t.width,o=t.height;s.prototype.buildPath(e,{x:i+a/2,y:[n+1,n+1,n+o-6,n+o],width:a-6})},bar:function(e,t){var i=t.x,n=t.y+1,a=t.width,o=t.height-2,r=3;e.moveTo(i+r,n),e.lineTo(i+a-r,n),e.quadraticCurveTo(i+a,n,i+a,n+r),e.lineTo(i+a,n+o-r),e.quadraticCurveTo(i+a,n+o,i+a-r,n+o),e.lineTo(i+r,n+o),e.quadraticCurveTo(i,n+o,i,n+o-r),e.lineTo(i,n+r),e.quadraticCurveTo(i,n,i+r,n)},force:function(e,t){r.prototype.iconLibrary.circle(e,t)},radar:function(e,t){var i=6,n=t.x+t.width/2,a=t.y+t.height/2,o=t.height/2,r=2*Math.PI/i,s=-Math.PI/2,l=n+o*Math.cos(s),h=a+o*Math.sin(s);e.moveTo(l,h),s+=r;for(var m=0,V=i-1;V>m;m++)e.lineTo(n+o*Math.cos(s),a+o*Math.sin(s)),s+=r;e.lineTo(l,h)}};V.chord=V.pie,V.map=V.bar;for(var U in V)r.prototype.iconLibrary["legendicon"+U]=V[U];return h.inherits(t,i),e("../component").define("legend",t),t}),i("echarts/util/ecData",[],function(){function e(e,t,i,n,a,o,r,s){var l;return"undefined"!=typeof n&&(l=null==n.value?n:n.value),e._echartsData={_series:t,_seriesIndex:i,_data:n,_dataIndex:a,_name:o,_value:l,_special:r,_special2:s},e._echartsData}function t(e,t){var i=e._echartsData;if(!t)return i;switch(t){case"series":case"seriesIndex":case"data":case"dataIndex":case"name":case"value":case"special":case"special2":return i&&i["_"+t]}return null}function i(e,t,i){switch(e._echartsData=e._echartsData||{},t){case"series":case"seriesIndex":case"data":case"dataIndex":case"name":case"value":case"special":case"special2":e._echartsData["_"+t]=i}}function n(e,t){t._echartsData={_series:e._echartsData._series,_seriesIndex:e._echartsData._seriesIndex,_data:e._echartsData._data,_dataIndex:e._echartsData._dataIndex,_name:e._echartsData._name,_value:e._echartsData._value,_special:e._echartsData._special,_special2:e._echartsData._special2}}return{pack:e,set:i,get:t,clone:n}}),i("echarts/chart",[],function(){var e={},t={};return e.define=function(i,n){return t[i]=n,e},e.get=function(e){return t[e]},e}),i("zrender/tool/color",["require","../tool/util"],function(e){function t(e){D=e}function i(){D=N}function n(e,t){return e=0|e,t=t||D,t[e%t.length]}function a(e){B=e}function o(){H=B}function r(){return B}function s(e,t,i,n,a,o,r){O||(O=P.getContext());for(var s=O.createRadialGradient(e,t,i,n,a,o),l=0,h=r.length;h>l;l++)s.addColorStop(r[l][0],r[l][1]);return s.__nonRecursion=!0,s}function l(e,t,i,n,a){O||(O=P.getContext());for(var o=O.createLinearGradient(e,t,i,n),r=0,s=a.length;s>r;r++)o.addColorStop(a[r][0],a[r][1]);return o.__nonRecursion=!0,o}function h(e,t,i){e=p(e),t=p(t),e=I(e),t=I(t);for(var n=[],a=(t[0]-e[0])/i,o=(t[1]-e[1])/i,r=(t[2]-e[2])/i,s=(t[3]-e[3])/i,l=0,h=e[0],m=e[1],U=e[2],d=e[3];i>l;l++)n[l]=V([S(Math.floor(h),[0,255]),S(Math.floor(m),[0,255]),S(Math.floor(U),[0,255]),d.toFixed(4)-0],"rgba"),h+=a,m+=o,U+=r,d+=s;return h=t[0],m=t[1],U=t[2],d=t[3],n[l]=V([h,m,U,d],"rgba"),n}function m(e,t){var i=[],n=e.length;if(void 0===t&&(t=20),1===n)i=h(e[0],e[0],t);else if(n>1)for(var a=0,o=n-1;o>a;a++){var r=h(e[a],e[a+1],t);o-1>a&&r.pop(),i=i.concat(r)}return i}function V(e,t){if(t=t||"rgb",e&&(3===e.length||4===e.length)){if(e=C(e,function(e){return e>1?Math.ceil(e):e}),t.indexOf("hex")>-1)return"#"+((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1);if(t.indexOf("hs")>-1){var i=C(e.slice(1,3),function(e){return e+"%"});e[1]=i[0],e[2]=i[1]}return t.indexOf("a")>-1?(3===e.length&&e.push(1),e[3]=S(e[3],[0,1]),t+"("+e.slice(0,4).join(",")+")"):t+"("+e.slice(0,3).join(",")+")"}}function U(e){e=L(e),e.indexOf("rgba")<0&&(e=p(e));var t=[],i=0;return e.replace(/[\d.]+/g,function(e){e=3>i?0|e:+e,t[i++]=e}),t}function d(e,t){if(!E(e))return e;var i=I(e),n=i[3];return"undefined"==typeof n&&(n=1),e.indexOf("hsb")>-1?i=F(i):e.indexOf("hsl")>-1&&(i=T(i)),t.indexOf("hsb")>-1||t.indexOf("hsv")>-1?i=A(i):t.indexOf("hsl")>-1&&(i=M(i)),i[3]=n,V(i,t)}function p(e){return d(e,"rgba")}function c(e){return d(e,"rgb")}function u(e){return d(e,"hex")}function y(e){return d(e,"hsva")}function g(e){return d(e,"hsv")}function b(e){return d(e,"hsba")}function f(e){return d(e,"hsb")}function k(e){return d(e,"hsla")}function x(e){return d(e,"hsl")}function _(e){for(var t in G)if(u(G[t])===u(e))return t;return null}function L(e){return String(e).replace(/\s+/g,"")}function W(e){if(G[e]&&(e=G[e]),e=L(e),e=e.replace(/hsv/i,"hsb"),/^#[\da-f]{3}$/i.test(e)){e=parseInt(e.slice(1),16);var t=(3840&e)<<8,i=(240&e)<<4,n=15&e;e="#"+((1<<24)+(t<<4)+t+(i<<4)+i+(n<<4)+n).toString(16).slice(1)}return e}function X(e,t){if(!E(e))return e;var i=t>0?1:-1;"undefined"==typeof t&&(t=0),t=Math.abs(t)>1?1:Math.abs(t),e=c(e);for(var n=I(e),a=0;3>a;a++)n[a]=1===i?n[a]*(1-t)|0:(255-n[a])*t+n[a]|0;return"rgb("+n.join(",")+")"}function v(e){if(!E(e))return e;var t=I(p(e));return t=C(t,function(e){return 255-e}),V(t,"rgb")}function w(e,t,i){if(!E(e)||!E(t))return e;"undefined"==typeof i&&(i=.5),i=1-S(i,[0,1]);for(var n=2*i-1,a=I(p(e)),o=I(p(t)),r=a[3]-o[3],s=((n*r===-1?n:(n+r)/(1+n*r))+1)/2,l=1-s,h=[],m=0;3>m;m++)h[m]=a[m]*s+o[m]*l;var U=a[3]*i+o[3]*(1-i);return U=Math.max(0,Math.min(1,U)),1===a[3]&&1===o[3]?V(h,"rgb"):(h[3]=U,V(h,"rgba"))}function K(){return"#"+(Math.random().toString(16)+"0000").slice(2,8)}function I(e){e=W(e);var t=e.match(R);if(null===t)throw new Error("The color format error");var i,n,a,o=[];if(t[2])i=t[2].replace("#","").split(""),a=[i[0]+i[1],i[2]+i[3],i[4]+i[5]],o=C(a,function(e){return S(parseInt(e,16),[0,255])});else if(t[4]){var r=t[4].split(",");n=r[3],a=r.slice(0,3),o=C(a,function(e){return e=Math.floor(e.indexOf("%")>0?2.55*parseInt(e,0):e),S(e,[0,255])}),"undefined"!=typeof n&&o.push(S(parseFloat(n),[0,1]))}else if(t[5]||t[6]){var s=(t[5]||t[6]).split(","),l=parseInt(s[0],0)/360,h=s[1],m=s[2];n=s[3],o=C([h,m],function(e){return S(parseFloat(e)/100,[0,1])}),o.unshift(l),"undefined"!=typeof n&&o.push(S(parseFloat(n),[0,1]))}return o}function J(e,t){if(!E(e))return e;null===t&&(t=1);var i=I(p(e));return i[3]=S(Number(t).toFixed(4),[0,1]),V(i,"rgba")}function C(e,t){if("function"!=typeof t)throw new TypeError;for(var i=e?e.length:0,n=0;i>n;n++)e[n]=t(e[n]);return e}function S(e,t){return e<=t[0]?e=t[0]:e>=t[1]&&(e=t[1]),e}function E(e){return e instanceof Array||"string"==typeof e}function F(e){var t,i,n,a=e[0],o=e[1],r=e[2];if(0===o)t=255*r,i=255*r,n=255*r;else{var s=6*a;6===s&&(s=0);var l=0|s,h=r*(1-o),m=r*(1-o*(s-l)),V=r*(1-o*(1-(s-l))),U=0,d=0,p=0;0===l?(U=r,d=V,p=h):1===l?(U=m,d=r,p=h):2===l?(U=h,d=r,p=V):3===l?(U=h,d=m,p=r):4===l?(U=V,d=h,p=r):(U=r,d=h,p=m),t=255*U,i=255*d,n=255*p}return[t,i,n]}function T(e){var t,i,n,a=e[0],o=e[1],r=e[2];if(0===o)t=255*r,i=255*r,n=255*r;else{var s;s=.5>r?r*(1+o):r+o-o*r;var l=2*r-s;t=255*z(l,s,a+1/3),i=255*z(l,s,a),n=255*z(l,s,a-1/3)}return[t,i,n]}function z(e,t,i){return 0>i&&(i+=1),i>1&&(i-=1),1>6*i?e+6*(t-e)*i:1>2*i?t:2>3*i?e+(t-e)*(2/3-i)*6:e}function A(e){var t,i,n=e[0]/255,a=e[1]/255,o=e[2]/255,r=Math.min(n,a,o),s=Math.max(n,a,o),l=s-r,h=s;if(0===l)t=0,i=0;else{i=l/s;var m=((s-n)/6+l/2)/l,V=((s-a)/6+l/2)/l,U=((s-o)/6+l/2)/l;n===s?t=U-V:a===s?t=1/3+m-U:o===s&&(t=2/3+V-m),0>t&&(t+=1),t>1&&(t-=1)}return t=360*t,i=100*i,h=100*h,[t,i,h]}function M(e){var t,i,n=e[0]/255,a=e[1]/255,o=e[2]/255,r=Math.min(n,a,o),s=Math.max(n,a,o),l=s-r,h=(s+r)/2;if(0===l)t=0,i=0;else{i=.5>h?l/(s+r):l/(2-s-r);var m=((s-n)/6+l/2)/l,V=((s-a)/6+l/2)/l,U=((s-o)/6+l/2)/l;n===s?t=U-V:a===s?t=1/3+m-U:o===s&&(t=2/3+V-m),0>t&&(t+=1),t>1&&(t-=1)}return t=360*t,i=100*i,h=100*h,[t,i,h]}var O,P=e("../tool/util"),D=["#ff9277"," #dddd00"," #ffc877"," #bbe3ff"," #d5ffbb","#bbbbff"," #ddb000"," #b0dd00"," #e2bbff"," #ffbbe3","#ff7777"," #ff9900"," #83dd00"," #77e3ff"," #778fff","#c877ff"," #ff77ab"," #ff6600"," #aa8800"," #77c7ff","#ad77ff"," #ff77ff"," #dd0083"," #777700"," #00aa00","#0088aa"," #8400dd"," #aa0088"," #dd0000"," #772e00"],N=D,B="rgba(255,255,0,0.5)",H=B,R=/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+)?)%?\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+)?)%?\s*\))\s*$/i,G={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#0ff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000",blanchedalmond:"#ffebcd",blue:"#00f",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#0ff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#f0f",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#789",lightslategrey:"#789",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#0f0",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#f0f",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#f00",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#fff",whitesmoke:"#f5f5f5",yellow:"#ff0",yellowgreen:"#9acd32"};return{customPalette:t,resetPalette:i,getColor:n,getHighlightColor:r,customHighlight:a,resetHighlight:o,getRadialGradient:s,getLinearGradient:l,getGradientColors:m,getStepColors:h,reverse:v,mix:w,lift:X,trim:L,random:K,toRGB:c,toRGBA:p,toHex:u,toHSL:x,toHSLA:k,toHSB:f,toHSBA:b,toHSV:g,toHSVA:y,toName:_,toColor:V,toArray:U,alpha:J,getData:I}}),i("echarts/component/timeline",["require","./base","zrender/shape/Rectangle","../util/shape/Icon","../util/shape/Chain","../config","zrender/tool/util","zrender/tool/area","zrender/tool/event","../component"],function(e){function t(e,t,i,a,o){n.call(this,e,t,i,a,o);var r=this;if(r._onclick=function(e){return r.__onclick(e)},r._ondrift=function(e,t){return r.__ondrift(this,e,t)},r._ondragend=function(){return r.__ondragend()},r._setCurrentOption=function(){var e=r.timelineOption;r.currentIndex%=e.data.length;var t=r.options[r.currentIndex]||{};r.myChart._setOption(t,e.notMerge,!0),r.messageCenter.dispatch(s.EVENT.TIMELINE_CHANGED,null,{currentIndex:r.currentIndex,data:null!=e.data[r.currentIndex].name?e.data[r.currentIndex].name:e.data[r.currentIndex]},r.myChart)},r._onFrame=function(){r._setCurrentOption(),r._syncHandleShape(),r.timelineOption.autoPlay&&(r.playTicket=setTimeout(function(){return r.currentIndex+=1,!r.timelineOption.loop&&r.currentIndex>=r.timelineOption.data.length?(r.currentIndex=r.timelineOption.data.length-1,void r.stop()):void r._onFrame()},r.timelineOption.playInterval))},this.setTheme(!1),this.options=this.option.options,this.currentIndex=this.timelineOption.currentIndex%this.timelineOption.data.length,this.timelineOption.notMerge||0===this.currentIndex||(this.options[this.currentIndex]=l.merge(this.options[this.currentIndex],this.options[0])),this.timelineOption.show&&(this._buildShape(),this._syncHandleShape()),this._setCurrentOption(),this.timelineOption.autoPlay){var r=this;this.playTicket=setTimeout(function(){r.play()},null!=this.ecTheme.animationDuration?this.ecTheme.animationDuration:s.animationDuration)}}function i(e,t){var i=2,n=t.x+i,a=t.y+i+2,r=t.width-i,s=t.height-i,l=t.symbol;if("last"===l)e.moveTo(n+r-2,a+s/3),e.lineTo(n+r-2,a),e.lineTo(n+2,a+s/2),e.lineTo(n+r-2,a+s),e.lineTo(n+r-2,a+s/3*2),e.moveTo(n,a),e.lineTo(n,a);else if("next"===l)e.moveTo(n+2,a+s/3),e.lineTo(n+2,a),e.lineTo(n+r-2,a+s/2),e.lineTo(n+2,a+s),e.lineTo(n+2,a+s/3*2),e.moveTo(n,a),e.lineTo(n,a);else if("play"===l)if("stop"===t.status)e.moveTo(n+2,a),e.lineTo(n+r-2,a+s/2),e.lineTo(n+2,a+s),e.lineTo(n+2,a);else{var h="both"===t.brushType?2:3;e.rect(n+2,a,h,s),e.rect(n+r-h-2,a,h,s)}else if(l.match("image")){var m="";m=l.replace(new RegExp("^image:\\/\\/"),""),l=o.prototype.iconLibrary.image,l(e,{x:n,y:a,width:r,height:s,image:m})}}var n=e("./base"),a=e("zrender/shape/Rectangle"),o=e("../util/shape/Icon"),r=e("../util/shape/Chain"),s=e("../config");s.timeline={zlevel:0,z:4,show:!0,type:"time",notMerge:!1,realtime:!0,x:80,x2:80,y2:0,height:50,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,controlPosition:"left",autoPlay:!1,loop:!0,playInterval:2e3,lineStyle:{width:1,color:"#666",type:"dashed"},label:{show:!0,interval:"auto",rotate:0,textStyle:{color:"#333"}},checkpointStyle:{symbol:"auto",symbolSize:"auto",color:"auto",borderColor:"auto",borderWidth:"auto",label:{show:!1,textStyle:{color:"auto"}}},controlStyle:{itemSize:15,itemGap:5,normal:{color:"#333"},emphasis:{color:"#1e90ff"}},symbol:"emptyDiamond",symbolSize:4,currentIndex:0};var l=e("zrender/tool/util"),h=e("zrender/tool/area"),m=e("zrender/tool/event");return t.prototype={type:s.COMPONENT_TYPE_TIMELINE,_buildShape:function(){if(this._location=this._getLocation(),this._buildBackground(),this._buildControl(),this._chainPoint=this._getChainPoint(),this.timelineOption.label.show)for(var e=this._getInterval(),t=0,i=this._chainPoint.length;i>t;t+=e)this._chainPoint[t].showLabel=!0;this._buildChain(),this._buildHandle();for(var t=0,n=this.shapeList.length;n>t;t++)this.zr.addShape(this.shapeList[t])},_getLocation:function(){var e,t=this.timelineOption,i=this.reformCssArray(this.timelineOption.padding),n=this.zr.getWidth(),a=this.parsePercent(t.x,n),o=this.parsePercent(t.x2,n);null==t.width?(e=n-a-o,o=n-o):(e=this.parsePercent(t.width,n),o=a+e);var r,s,l=this.zr.getHeight(),h=this.parsePercent(t.height,l);return null!=t.y?(r=this.parsePercent(t.y,l),s=r+h):(s=l-this.parsePercent(t.y2,l),r=s-h),{x:a+i[3],y:r+i[0],x2:o-i[1],y2:s-i[2],width:e-i[1]-i[3],height:h-i[0]-i[2]}},_getReformedLabel:function(e){var t=this.timelineOption,i=null!=t.data[e].name?t.data[e].name:t.data[e],n=t.data[e].formatter||t.label.formatter;return n&&("function"==typeof n?i=n.call(this.myChart,i):"string"==typeof n&&(i=n.replace("{value}",i))),i},_getInterval:function(){var e=this._chainPoint,t=this.timelineOption,i=t.label.interval;if("auto"===i){var n=t.label.textStyle.fontSize,a=t.data,o=t.data.length;if(o>3){var r,s,l=!1;for(i=0;!l&&o>i;){i++,l=!0;for(var m=i;o>m;m+=i){if(r=e[m].x-e[m-i].x,0!==t.label.rotate)s=n;else if(a[m].textStyle)s=h.getTextWidth(e[m].name,e[m].textFont);else{var V=e[m].name+"",U=(V.match(/\w/g)||"").length,d=V.length-U;s=U*n*2/3+d*n}if(s>r){l=!1;break}}}}else i=1}else i=i-0+1;return i},_getChainPoint:function(){function e(e){return null!=h[e].name?h[e].name:h[e]+""}var t,i=this.timelineOption,n=i.symbol.toLowerCase(),a=i.symbolSize,o=i.label.rotate,r=i.label.textStyle,s=this.getFont(r),h=i.data,m=this._location.x,V=this._location.y+this._location.height/4*3,U=this._location.x2-this._location.x,d=h.length,p=[];if(d>1){var c=U/d;if(c=c>50?50:20>c?5:c,U-=2*c,"number"===i.type)for(var u=0;d>u;u++)p.push(m+c+U/(d-1)*u);else{p[0]=new Date(e(0).replace(/-/g,"/")),p[d-1]=new Date(e(d-1).replace(/-/g,"/"))-p[0];for(var u=1;d>u;u++)p[u]=m+c+U*(new Date(e(u).replace(/-/g,"/"))-p[0])/p[d-1];p[0]=m+c}}else p.push(m+U/2);for(var y,g,b,f,k,x=[],u=0;d>u;u++)m=p[u],y=h[u].symbol&&h[u].symbol.toLowerCase()||n,y.match("empty")?(y=y.replace("empty",""),b=!0):b=!1,y.match("star")&&(g=y.replace("star","")-0||5,y="star"),t=h[u].textStyle?l.merge(h[u].textStyle||{},r):r,f=t.align||"center",o?(f=o>0?"right":"left",k=[o*Math.PI/180,m,V-5]):k=!1,x.push({x:m,n:g,isEmpty:b,symbol:y,symbolSize:h[u].symbolSize||a,color:h[u].color,borderColor:h[u].borderColor,borderWidth:h[u].borderWidth,name:this._getReformedLabel(u),textColor:t.color,textAlign:f,textBaseline:t.baseline||"middle",textX:m,textY:V-(o?5:0),textFont:h[u].textStyle?this.getFont(t):s,rotation:k,showLabel:!1});return x},_buildBackground:function(){var e=this.timelineOption,t=this.reformCssArray(this.timelineOption.padding),i=this._location.width,n=this._location.height;(0!==e.borderWidth||"rgba(0,0,0,0)"!=e.backgroundColor.replace(/\s/g,""))&&this.shapeList.push(new a({zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{x:this._location.x-t[3],y:this._location.y-t[0],width:i+t[1]+t[3],height:n+t[0]+t[2],brushType:0===e.borderWidth?"fill":"both",color:e.backgroundColor,strokeColor:e.borderColor,lineWidth:e.borderWidth}}))},_buildControl:function(){var e=this,t=this.timelineOption,i=t.lineStyle,n=t.controlStyle;if("none"!==t.controlPosition){var a,r=n.itemSize,s=n.itemGap;"left"===t.controlPosition?(a=this._location.x,this._location.x+=3*(r+s)):(a=this._location.x2-(3*(r+s)-s),this._location.x2-=3*(r+s));var h=this._location.y,m={zlevel:this.getZlevelBase(),z:this.getZBase()+1,style:{iconType:"timelineControl",symbol:"last",x:a,y:h,width:r,height:r,brushType:"stroke",color:n.normal.color,strokeColor:n.normal.color,lineWidth:i.width},highlightStyle:{color:n.emphasis.color,strokeColor:n.emphasis.color,lineWidth:i.width+1},clickable:!0};this._ctrLastShape=new o(m),this._ctrLastShape.onclick=function(){e.last()},this.shapeList.push(this._ctrLastShape),a+=r+s,this._ctrPlayShape=new o(l.clone(m)),this._ctrPlayShape.style.brushType="fill",this._ctrPlayShape.style.symbol="play",this._ctrPlayShape.style.status=this.timelineOption.autoPlay?"playing":"stop",this._ctrPlayShape.style.x=a,this._ctrPlayShape.onclick=function(){"stop"===e._ctrPlayShape.style.status?e.play():e.stop()},this.shapeList.push(this._ctrPlayShape),a+=r+s,this._ctrNextShape=new o(l.clone(m)),this._ctrNextShape.style.symbol="next",this._ctrNextShape.style.x=a,this._ctrNextShape.onclick=function(){e.next()},this.shapeList.push(this._ctrNextShape)}},_buildChain:function(){var e=this.timelineOption,t=e.lineStyle;this._timelineShae={zlevel:this.getZlevelBase(),z:this.getZBase(),style:{x:this._location.x,y:this.subPixelOptimize(this._location.y,t.width),width:this._location.x2-this._location.x,height:this._location.height,chainPoint:this._chainPoint,brushType:"both",strokeColor:t.color,lineWidth:t.width,lineType:t.type},hoverable:!1,clickable:!0,onclick:this._onclick},this._timelineShae=new r(this._timelineShae),this.shapeList.push(this._timelineShae)},_buildHandle:function(){var e=this._chainPoint[this.currentIndex],t=e.symbolSize+1;t=5>t?5:t,this._handleShape={zlevel:this.getZlevelBase(),z:this.getZBase()+1,hoverable:!1,draggable:!0,style:{iconType:"diamond",n:e.n,x:e.x-t,y:this._location.y+this._location.height/4-t,width:2*t,height:2*t,brushType:"both",textPosition:"specific",textX:e.x,textY:this._location.y-this._location.height/4,textAlign:"center",textBaseline:"middle"},highlightStyle:{},ondrift:this._ondrift,ondragend:this._ondragend},this._handleShape=new o(this._handleShape),this.shapeList.push(this._handleShape)},_syncHandleShape:function(){if(this.timelineOption.show){var e=this.timelineOption,t=e.checkpointStyle,i=this._chainPoint[this.currentIndex];this._handleShape.style.text=t.label.show?i.name:"",this._handleShape.style.textFont=i.textFont,this._handleShape.style.n=i.n,"auto"===t.symbol?this._handleShape.style.iconType="none"!=i.symbol?i.symbol:"diamond":(this._handleShape.style.iconType=t.symbol,t.symbol.match("star")&&(this._handleShape.style.n=t.symbol.replace("star","")-0||5,this._handleShape.style.iconType="star"));var n;"auto"===t.symbolSize?(n=i.symbolSize+2,n=5>n?5:n):n=t.symbolSize-0,this._handleShape.style.color="auto"===t.color?i.color?i.color:e.controlStyle.emphasis.color:t.color,this._handleShape.style.textColor="auto"===t.label.textStyle.color?this._handleShape.style.color:t.label.textStyle.color,this._handleShape.highlightStyle.strokeColor=this._handleShape.style.strokeColor="auto"===t.borderColor?i.borderColor?i.borderColor:"#fff":t.borderColor,this._handleShape.style.lineWidth="auto"===t.borderWidth?i.borderWidth?i.borderWidth:0:t.borderWidth-0,this._handleShape.highlightStyle.lineWidth=this._handleShape.style.lineWidth+1,this.zr.animate(this._handleShape.id,"style").when(500,{x:i.x-n,textX:i.x,y:this._location.y+this._location.height/4-n,width:2*n,height:2*n}).start("ExponentialOut")}},_findChainIndex:function(e){var t=this._chainPoint,i=t.length;if(e<=t[0].x)return 0;if(e>=t[i-1].x)return i-1;for(var n=0;i-1>n;n++)if(e>=t[n].x&&e<=t[n+1].x)return Math.abs(e-t[n].x)<Math.abs(e-t[n+1].x)?n:n+1},__onclick:function(e){var t=m.getX(e.event),i=this._findChainIndex(t);return i===this.currentIndex?!0:(this.currentIndex=i,this.timelineOption.autoPlay&&this.stop(),clearTimeout(this.playTicket),void this._onFrame())},__ondrift:function(e,t){this.timelineOption.autoPlay&&this.stop();var i,n=this._chainPoint,a=n.length;e.style.x+t<=n[0].x-n[0].symbolSize?(e.style.x=n[0].x-n[0].symbolSize,i=0):e.style.x+t>=n[a-1].x-n[a-1].symbolSize?(e.style.x=n[a-1].x-n[a-1].symbolSize,i=a-1):(e.style.x+=t,i=this._findChainIndex(e.style.x));var o=n[i],r=o.symbolSize+2;if(e.style.iconType=o.symbol,e.style.n=o.n,e.style.textX=e.style.x+r/2,e.style.y=this._location.y+this._location.height/4-r,e.style.width=2*r,e.style.height=2*r,e.style.text=o.name,i===this.currentIndex)return!0;if(this.currentIndex=i,this.timelineOption.realtime){clearTimeout(this.playTicket);var s=this;this.playTicket=setTimeout(function(){s._setCurrentOption()},200)}return!0},__ondragend:function(){this.isDragend=!0},ondragend:function(e,t){this.isDragend&&e.target&&(!this.timelineOption.realtime&&this._setCurrentOption(),t.dragOut=!0,t.dragIn=!0,t.needRefresh=!1,this.isDragend=!1,this._syncHandleShape())},last:function(){return this.timelineOption.autoPlay&&this.stop(),this.currentIndex-=1,this.currentIndex<0&&(this.currentIndex=this.timelineOption.data.length-1),this._onFrame(),this.currentIndex},next:function(){return this.timelineOption.autoPlay&&this.stop(),this.currentIndex+=1,this.currentIndex>=this.timelineOption.data.length&&(this.currentIndex=0),this._onFrame(),this.currentIndex},play:function(e,t){return this._ctrPlayShape&&"playing"!=this._ctrPlayShape.style.status&&(this._ctrPlayShape.style.status="playing",this.zr.modShape(this._ctrPlayShape.id),this.zr.refreshNextFrame()),this.timelineOption.autoPlay=null!=t?t:!0,this.timelineOption.autoPlay||clearTimeout(this.playTicket),this.currentIndex=null!=e?e:this.currentIndex+1,this.currentIndex>=this.timelineOption.data.length&&(this.currentIndex=0),this._onFrame(),this.currentIndex},stop:function(){return this._ctrPlayShape&&"stop"!=this._ctrPlayShape.style.status&&(this._ctrPlayShape.style.status="stop",this.zr.modShape(this._ctrPlayShape.id),this.zr.refreshNextFrame()),this.timelineOption.autoPlay=!1,clearTimeout(this.playTicket),this.currentIndex},resize:function(){this.timelineOption.show&&(this.clear(),this._buildShape(),this._syncHandleShape())},setTheme:function(e){this.timelineOption=this.reformOption(l.clone(this.option.timeline)),this.timelineOption.label.textStyle=this.getTextStyle(this.timelineOption.label.textStyle),this.timelineOption.checkpointStyle.label.textStyle=this.getTextStyle(this.timelineOption.checkpointStyle.label.textStyle),this.myChart.canvasSupported||(this.timelineOption.realtime=!1),this.timelineOption.show&&e&&(this.clear(),this._buildShape(),this._syncHandleShape())},onbeforDispose:function(){clearTimeout(this.playTicket)}},o.prototype.iconLibrary.timelineControl=i,l.inherits(t,n),e("../component").define("timeline",t),t}),i("zrender/shape/Image",["require","./Base","../tool/util"],function(e){var t=e("./Base"),i=function(e){t.call(this,e)};return i.prototype={type:"image",brush:function(e,t,i){var n=this.style||{};t&&(n=this.getHighlightStyle(n,this.highlightStyle||{}));var a=n.image,o=this;if(this._imageCache||(this._imageCache={}),"string"==typeof a){var r=a;this._imageCache[r]?a=this._imageCache[r]:(a=new Image,a.onload=function(){a.onload=null,o.modSelf(),i()},a.src=r,this._imageCache[r]=a)}if(a){if("IMG"==a.nodeName.toUpperCase())if(window.ActiveXObject){if("complete"!=a.readyState)return}else if(!a.complete)return;var s=n.width||a.width,l=n.height||a.height,h=n.x,m=n.y;if(!a.width||!a.height)return;if(e.save(),this.doClip(e),this.setContext(e,n),this.setTransform(e),n.sWidth&&n.sHeight){var V=n.sx||0,U=n.sy||0;e.drawImage(a,V,U,n.sWidth,n.sHeight,h,m,s,l)}else if(n.sx&&n.sy){var V=n.sx,U=n.sy,d=s-V,p=l-U;e.drawImage(a,V,U,d,p,h,m,s,l)}else e.drawImage(a,h,m,s,l);n.width||(n.width=s),n.height||(n.height=l),this.style.width||(this.style.width=s),this.style.height||(this.style.height=l),this.drawText(e,n,this.style),e.restore()}},getRect:function(e){return{x:e.x,y:e.y,width:e.width,height:e.height}},clearCache:function(){this._imageCache={}}},e("../tool/util").inherits(i,t),i}),i("zrender/loadingEffect/Bar",["require","./Base","../tool/util","../tool/color","../shape/Rectangle"],function(e){function t(e){i.call(this,e)}var i=e("./Base"),n=e("../tool/util"),a=e("../tool/color"),o=e("../shape/Rectangle");return n.inherits(t,i),t.prototype._start=function(e,t){var i=n.merge(this.options,{textStyle:{color:"#888"},backgroundColor:"rgba(250, 250, 250, 0.8)",effectOption:{x:0,y:this.canvasHeight/2-30,width:this.canvasWidth,height:5,brushType:"fill",timeInterval:100}}),r=this.createTextShape(i.textStyle),s=this.createBackgroundShape(i.backgroundColor),l=i.effectOption,h=new o({highlightStyle:n.clone(l)});return h.highlightStyle.color=l.color||a.getLinearGradient(l.x,l.y,l.x+l.width,l.y+l.height,[[0,"#ff6400"],[.5,"#ffe100"],[1,"#b1ff00"]]),null!=i.progress?(e(s),h.highlightStyle.width=this.adjust(i.progress,[0,1])*i.effectOption.width,e(h),e(r),void t()):(h.highlightStyle.width=0,setInterval(function(){e(s),h.highlightStyle.width<l.width?h.highlightStyle.width+=8:h.highlightStyle.width=0,e(h),e(r),t()},l.timeInterval))},t}),i("zrender/loadingEffect/Bubble",["require","./Base","../tool/util","../tool/color","../shape/Circle"],function(e){function t(e){i.call(this,e)}var i=e("./Base"),n=e("../tool/util"),a=e("../tool/color"),o=e("../shape/Circle");return n.inherits(t,i),t.prototype._start=function(e,t){for(var i=n.merge(this.options,{textStyle:{color:"#888"},backgroundColor:"rgba(250, 250, 250, 0.8)",effect:{n:50,lineWidth:2,brushType:"stroke",color:"random",timeInterval:100}}),r=this.createTextShape(i.textStyle),s=this.createBackgroundShape(i.backgroundColor),l=i.effect,h=l.n,m=l.brushType,V=l.lineWidth,U=[],d=this.canvasWidth,p=this.canvasHeight,c=0;h>c;c++){var u="random"==l.color?a.alpha(a.random(),.3):l.color;U[c]=new o({highlightStyle:{x:Math.ceil(Math.random()*d),y:Math.ceil(Math.random()*p),r:Math.ceil(40*Math.random()),brushType:m,color:u,strokeColor:u,lineWidth:V},animationY:Math.ceil(20*Math.random())})}return setInterval(function(){e(s);for(var i=0;h>i;i++){var n=U[i].highlightStyle;n.y-U[i].animationY+n.r<=0&&(U[i].highlightStyle.y=p+n.r,U[i].highlightStyle.x=Math.ceil(Math.random()*d)),U[i].highlightStyle.y-=U[i].animationY,e(U[i])}e(r),t()},l.timeInterval)},t}),i("zrender/loadingEffect/DynamicLine",["require","./Base","../tool/util","../tool/color","../shape/Line"],function(e){function t(e){i.call(this,e)}var i=e("./Base"),n=e("../tool/util"),a=e("../tool/color"),o=e("../shape/Line");return n.inherits(t,i),t.prototype._start=function(e,t){for(var i=n.merge(this.options,{textStyle:{color:"#fff"},backgroundColor:"rgba(0, 0, 0, 0.8)",effectOption:{n:30,lineWidth:1,color:"random",timeInterval:100}}),r=this.createTextShape(i.textStyle),s=this.createBackgroundShape(i.backgroundColor),l=i.effectOption,h=l.n,m=l.lineWidth,V=[],U=this.canvasWidth,d=this.canvasHeight,p=0;h>p;p++){var c=-Math.ceil(1e3*Math.random()),u=Math.ceil(400*Math.random()),y=Math.ceil(Math.random()*d),g="random"==l.color?a.random():l.color;V[p]=new o({highlightStyle:{xStart:c,yStart:y,xEnd:c+u,yEnd:y,strokeColor:g,lineWidth:m},animationX:Math.ceil(100*Math.random()),len:u})}return setInterval(function(){e(s);for(var i=0;h>i;i++){var n=V[i].highlightStyle;n.xStart>=U&&(V[i].len=Math.ceil(400*Math.random()),n.xStart=-400,n.xEnd=-400+V[i].len,n.yStart=Math.ceil(Math.random()*d),n.yEnd=n.yStart),n.xStart+=V[i].animationX,n.xEnd+=V[i].animationX,e(V[i])}e(r),t()},l.timeInterval)},t}),i("zrender/loadingEffect/Ring",["require","./Base","../tool/util","../tool/color","../shape/Ring","../shape/Sector"],function(e){function t(e){i.call(this,e)}var i=e("./Base"),n=e("../tool/util"),a=e("../tool/color"),o=e("../shape/Ring"),r=e("../shape/Sector");return n.inherits(t,i),t.prototype._start=function(e,t){var i=n.merge(this.options,{textStyle:{color:"#07a"},backgroundColor:"rgba(250, 250, 250, 0.8)",effect:{x:this.canvasWidth/2,y:this.canvasHeight/2,r0:60,r:100,color:"#bbdcff",brushType:"fill",textPosition:"inside",textFont:"normal 30px verdana",textColor:"rgba(30, 144, 255, 0.6)",timeInterval:100}}),s=i.effect,l=i.textStyle;
+
+null==l.x&&(l.x=s.x),null==l.y&&(l.y=s.y+(s.r0+s.r)/2-5);for(var h=this.createTextShape(i.textStyle),m=this.createBackgroundShape(i.backgroundColor),V=s.x,U=s.y,d=s.r0+6,p=s.r-6,c=s.color,u=a.lift(c,.1),y=new o({highlightStyle:n.clone(s)}),g=[],b=a.getGradientColors(["#ff6400","#ffe100","#97ff00"],25),f=15,k=240,x=0;16>x;x++)g.push(new r({highlightStyle:{x:V,y:U,r0:d,r:p,startAngle:k-f,endAngle:k,brushType:"fill",color:u},_color:a.getLinearGradient(V+d*Math.cos(k,!0),U-d*Math.sin(k,!0),V+d*Math.cos(k-f,!0),U-d*Math.sin(k-f,!0),[[0,b[2*x]],[1,b[2*x+1]]])})),k-=f;k=360;for(var x=0;4>x;x++)g.push(new r({highlightStyle:{x:V,y:U,r0:d,r:p,startAngle:k-f,endAngle:k,brushType:"fill",color:u},_color:a.getLinearGradient(V+d*Math.cos(k,!0),U-d*Math.sin(k,!0),V+d*Math.cos(k-f,!0),U-d*Math.sin(k-f,!0),[[0,b[2*x+32]],[1,b[2*x+33]]])})),k-=f;var _=0;if(null!=i.progress){e(m),_=100*this.adjust(i.progress,[0,1]).toFixed(2)/5,y.highlightStyle.text=5*_+"%",e(y);for(var x=0;20>x;x++)g[x].highlightStyle.color=_>x?g[x]._color:u,e(g[x]);return e(h),void t()}return setInterval(function(){e(m),_+=_>=20?-20:1,e(y);for(var i=0;20>i;i++)g[i].highlightStyle.color=_>i?g[i]._color:u,e(g[i]);e(h),t()},s.timeInterval)},t}),i("zrender/loadingEffect/Spin",["require","./Base","../tool/util","../tool/color","../tool/area","../shape/Sector"],function(e){function t(e){i.call(this,e)}var i=e("./Base"),n=e("../tool/util"),a=e("../tool/color"),o=e("../tool/area"),r=e("../shape/Sector");return n.inherits(t,i),t.prototype._start=function(e,t){var i=n.merge(this.options,{textStyle:{color:"#fff",textAlign:"start"},backgroundColor:"rgba(0, 0, 0, 0.8)"}),s=this.createTextShape(i.textStyle),l=10,h=o.getTextWidth(s.highlightStyle.text,s.highlightStyle.textFont),m=o.getTextHeight(s.highlightStyle.text,s.highlightStyle.textFont),V=n.merge(this.options.effect||{},{r0:9,r:15,n:18,color:"#fff",timeInterval:100}),U=this.getLocation(this.options.textStyle,h+l+2*V.r,Math.max(2*V.r,m));V.x=U.x+V.r,V.y=s.highlightStyle.y=U.y+U.height/2,s.highlightStyle.x=V.x+V.r+l;for(var d=this.createBackgroundShape(i.backgroundColor),p=V.n,c=V.x,u=V.y,y=V.r0,g=V.r,b=V.color,f=[],k=Math.round(180/p),x=0;p>x;x++)f[x]=new r({highlightStyle:{x:c,y:u,r0:y,r:g,startAngle:k*x*2,endAngle:k*x*2+k,color:a.alpha(b,(x+1)/p),brushType:"fill"}});var _=[0,c,u];return setInterval(function(){e(d),_[0]-=.3;for(var i=0;p>i;i++)f[i].rotation=_,e(f[i]);e(s),t()},V.timeInterval)},t}),i("zrender/loadingEffect/Whirling",["require","./Base","../tool/util","../tool/area","../shape/Ring","../shape/Droplet","../shape/Circle"],function(e){function t(e){i.call(this,e)}var i=e("./Base"),n=e("../tool/util"),a=e("../tool/area"),o=e("../shape/Ring"),r=e("../shape/Droplet"),s=e("../shape/Circle");return n.inherits(t,i),t.prototype._start=function(e,t){var i=n.merge(this.options,{textStyle:{color:"#888",textAlign:"start"},backgroundColor:"rgba(250, 250, 250, 0.8)"}),l=this.createTextShape(i.textStyle),h=10,m=a.getTextWidth(l.highlightStyle.text,l.highlightStyle.textFont),V=a.getTextHeight(l.highlightStyle.text,l.highlightStyle.textFont),U=n.merge(this.options.effect||{},{r:18,colorIn:"#fff",colorOut:"#555",colorWhirl:"#6cf",timeInterval:50}),d=this.getLocation(this.options.textStyle,m+h+2*U.r,Math.max(2*U.r,V));U.x=d.x+U.r,U.y=l.highlightStyle.y=d.y+d.height/2,l.highlightStyle.x=U.x+U.r+h;var p=this.createBackgroundShape(i.backgroundColor),c=new r({highlightStyle:{a:Math.round(U.r/2),b:Math.round(U.r-U.r/6),brushType:"fill",color:U.colorWhirl}}),u=new s({highlightStyle:{r:Math.round(U.r/6),brushType:"fill",color:U.colorIn}}),y=new o({highlightStyle:{r0:Math.round(U.r-U.r/3),r:U.r,brushType:"fill",color:U.colorOut}}),g=[0,U.x,U.y];return c.highlightStyle.x=u.highlightStyle.x=y.highlightStyle.x=g[1],c.highlightStyle.y=u.highlightStyle.y=y.highlightStyle.y=g[2],setInterval(function(){e(p),e(y),g[0]-=.3,c.rotation=g,e(c),e(u),e(l),t()},U.timeInterval)},t}),i("echarts/theme/macarons",[],function(){var e={color:["#2ec7c9","#b6a2de","#5ab1ef","#ffb980","#d87a80","#8d98b3","#e5cf0d","#97b552","#95706d","#dc69aa","#07a2a4","#9a7fd1","#588dd5","#f5994e","#c05050","#59678c","#c9ab00","#7eb00a","#6f5553","#c14089"],title:{textStyle:{fontWeight:"normal",color:"#008acd"}},dataRange:{itemWidth:15,color:["#5ab1ef","#e0ffff"]},toolbox:{color:["#1e90ff","#1e90ff","#1e90ff","#1e90ff"],effectiveColor:"#ff4500"},tooltip:{backgroundColor:"rgba(50,50,50,0.5)",axisPointer:{type:"line",lineStyle:{color:"#008acd"},crossStyle:{color:"#008acd"},shadowStyle:{color:"rgba(200,200,200,0.2)"}}},dataZoom:{dataBackgroundColor:"#efefff",fillerColor:"rgba(182,162,222,0.2)",handleColor:"#008acd"},grid:{borderColor:"#eee"},categoryAxis:{axisLine:{lineStyle:{color:"#008acd"}},splitLine:{lineStyle:{color:["#eee"]}}},valueAxis:{axisLine:{lineStyle:{color:"#008acd"}},splitArea:{show:!0,areaStyle:{color:["rgba(250,250,250,0.1)","rgba(200,200,200,0.1)"]}},splitLine:{lineStyle:{color:["#eee"]}}},polar:{axisLine:{lineStyle:{color:"#ddd"}},splitArea:{show:!0,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(200,200,200,0.2)"]}},splitLine:{lineStyle:{color:"#ddd"}}},timeline:{lineStyle:{color:"#008acd"},controlStyle:{normal:{color:"#008acd"},emphasis:{color:"#008acd"}},symbol:"emptyCircle",symbolSize:3},bar:{itemStyle:{normal:{barBorderRadius:5},emphasis:{barBorderRadius:5}}},line:{smooth:!0,symbol:"emptyCircle",symbolSize:3},k:{itemStyle:{normal:{color:"#d87a80",color0:"#2ec7c9",lineStyle:{color:"#d87a80",color0:"#2ec7c9"}}}},scatter:{symbol:"circle",symbolSize:4},radar:{symbol:"emptyCircle",symbolSize:3},map:{itemStyle:{normal:{areaStyle:{color:"#ddd"},label:{textStyle:{color:"#d87a80"}}},emphasis:{areaStyle:{color:"#fe994e"}}}},force:{itemStyle:{normal:{linkStyle:{color:"#1e90ff"}}}},chord:{itemStyle:{normal:{borderWidth:1,borderColor:"rgba(128, 128, 128, 0.5)",chordStyle:{lineStyle:{color:"rgba(128, 128, 128, 0.5)"}}},emphasis:{borderWidth:1,borderColor:"rgba(128, 128, 128, 0.5)",chordStyle:{lineStyle:{color:"rgba(128, 128, 128, 0.5)"}}}}},gauge:{axisLine:{lineStyle:{color:[[.2,"#2ec7c9"],[.8,"#5ab1ef"],[1,"#d87a80"]],width:10}},axisTick:{splitNumber:10,length:15,lineStyle:{color:"auto"}},splitLine:{length:22,lineStyle:{color:"auto"}},pointer:{width:5}},textStyle:{fontFamily:"寰蒋闆呴粦, Arial, Verdana, sans-serif"}};return e}),i("echarts/theme/infographic",[],function(){var e={color:["#C1232B","#B5C334","#FCCE10","#E87C25","#27727B","#FE8463","#9BCA63","#FAD860","#F3A43B","#60C0DD","#D7504B","#C6E579","#F4E001","#F0805A","#26C0C0"],title:{textStyle:{fontWeight:"normal",color:"#27727B"}},dataRange:{x:"right",y:"center",itemWidth:5,itemHeight:25,color:["#C1232B","#FCCE10"]},toolbox:{color:["#C1232B","#B5C334","#FCCE10","#E87C25","#27727B","#FE8463","#9BCA63","#FAD860","#F3A43B","#60C0DD"],effectiveColor:"#ff4500"},tooltip:{backgroundColor:"rgba(50,50,50,0.5)",axisPointer:{type:"line",lineStyle:{color:"#27727B",type:"dashed"},crossStyle:{color:"#27727B"},shadowStyle:{color:"rgba(200,200,200,0.3)"}}},dataZoom:{dataBackgroundColor:"rgba(181,195,52,0.3)",fillerColor:"rgba(181,195,52,0.2)",handleColor:"#27727B"},grid:{borderWidth:0},categoryAxis:{axisLine:{lineStyle:{color:"#27727B"}},splitLine:{show:!1}},valueAxis:{axisLine:{show:!1},splitArea:{show:!1},splitLine:{lineStyle:{color:["#ccc"],type:"dashed"}}},polar:{axisLine:{lineStyle:{color:"#ddd"}},splitArea:{show:!0,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(200,200,200,0.2)"]}},splitLine:{lineStyle:{color:"#ddd"}}},timeline:{lineStyle:{color:"#27727B"},controlStyle:{normal:{color:"#27727B"},emphasis:{color:"#27727B"}},symbol:"emptyCircle",symbolSize:3},line:{itemStyle:{normal:{borderWidth:2,borderColor:"#fff",lineStyle:{width:3}},emphasis:{borderWidth:0}},symbol:"circle",symbolSize:3.5},k:{itemStyle:{normal:{color:"#C1232B",color0:"#B5C334",lineStyle:{width:1,color:"#C1232B",color0:"#B5C334"}}}},scatter:{itemStyle:{normal:{borderWidth:1,borderColor:"rgba(200,200,200,0.5)"},emphasis:{borderWidth:0}},symbol:"star4",symbolSize:4},radar:{symbol:"emptyCircle",symbolSize:3},map:{itemStyle:{normal:{areaStyle:{color:"#ddd"},label:{textStyle:{color:"#C1232B"}}},emphasis:{areaStyle:{color:"#fe994e"},label:{textStyle:{color:"rgb(100,0,0)"}}}}},force:{itemStyle:{normal:{linkStyle:{color:"#27727B"}}}},chord:{itemStyle:{normal:{borderWidth:1,borderColor:"rgba(128, 128, 128, 0.5)",chordStyle:{lineStyle:{color:"rgba(128, 128, 128, 0.5)"}}},emphasis:{borderWidth:1,borderColor:"rgba(128, 128, 128, 0.5)",chordStyle:{lineStyle:{color:"rgba(128, 128, 128, 0.5)"}}}}},gauge:{center:["50%","80%"],radius:"100%",startAngle:180,endAngle:0,axisLine:{show:!0,lineStyle:{color:[[.2,"#B5C334"],[.8,"#27727B"],[1,"#C1232B"]],width:"40%"}},axisTick:{splitNumber:2,length:5,lineStyle:{color:"#fff"}},axisLabel:{textStyle:{color:"#fff",fontWeight:"bolder"}},splitLine:{length:"5%",lineStyle:{color:"#fff"}},pointer:{width:"40%",length:"80%",color:"#fff"},title:{offsetCenter:[0,-20],textStyle:{color:"auto",fontSize:20}},detail:{offsetCenter:[0,0],textStyle:{color:"auto",fontSize:40}}},textStyle:{fontFamily:"寰蒋闆呴粦, Arial, Verdana, sans-serif"}};return e}),i("zrender/dep/excanvas",["require"],function(){return document.createElement("canvas").getContext?G_vmlCanvasManager=!1:!function(){function e(){return this.context_||(this.context_=new f(this))}function t(e,t){var i=O.call(arguments,2);return function(){return e.apply(t,i.concat(O.call(arguments)))}}function i(e){return String(e).replace(/&/g,"&").replace(/"/g,""")}function n(e,t,i){e.namespaces[t]||e.namespaces.add(t,i,"#default#VML")}function a(e){if(n(e,"g_vml_","urn:schemas-microsoft-com:vml"),n(e,"g_o_","urn:schemas-microsoft-com:office:office"),!e.styleSheets.ex_canvas_){var t=e.createStyleSheet();t.owningElement.id="ex_canvas_",t.cssText="canvas{display:inline-block;overflow:hidden;text-align:left;width:300px;height:150px}"}}function o(e){var t=e.srcElement;switch(e.propertyName){case"width":t.getContext().clearRect(),t.style.width=t.attributes.width.nodeValue+"px",t.firstChild.style.width=t.clientWidth+"px";break;case"height":t.getContext().clearRect(),t.style.height=t.attributes.height.nodeValue+"px",t.firstChild.style.height=t.clientHeight+"px"}}function r(e){var t=e.srcElement;t.firstChild&&(t.firstChild.style.width=t.clientWidth+"px",t.firstChild.style.height=t.clientHeight+"px")}function s(){return[[1,0,0],[0,1,0],[0,0,1]]}function l(e,t){for(var i=s(),n=0;3>n;n++)for(var a=0;3>a;a++){for(var o=0,r=0;3>r;r++)o+=e[n][r]*t[r][a];i[n][a]=o}return i}function h(e,t){t.fillStyle=e.fillStyle,t.lineCap=e.lineCap,t.lineJoin=e.lineJoin,t.lineWidth=e.lineWidth,t.miterLimit=e.miterLimit,t.shadowBlur=e.shadowBlur,t.shadowColor=e.shadowColor,t.shadowOffsetX=e.shadowOffsetX,t.shadowOffsetY=e.shadowOffsetY,t.strokeStyle=e.strokeStyle,t.globalAlpha=e.globalAlpha,t.font=e.font,t.textAlign=e.textAlign,t.textBaseline=e.textBaseline,t.scaleX_=e.scaleX_,t.scaleY_=e.scaleY_,t.lineScale_=e.lineScale_}function m(e){var t=e.indexOf("(",3),i=e.indexOf(")",t+1),n=e.substring(t+1,i).split(",");return(4!=n.length||"a"!=e.charAt(3))&&(n[3]=1),n}function V(e){return parseFloat(e)/100}function U(e,t,i){return Math.min(i,Math.max(t,e))}function d(e){var t,i,n,a,o,r;if(a=parseFloat(e[0])/360%360,0>a&&a++,o=U(V(e[1]),0,1),r=U(V(e[2]),0,1),0==o)t=i=n=r;else{var s=.5>r?r*(1+o):r+o-r*o,l=2*r-s;t=p(l,s,a+1/3),i=p(l,s,a),n=p(l,s,a-1/3)}return"#"+D[Math.floor(255*t)]+D[Math.floor(255*i)]+D[Math.floor(255*n)]}function p(e,t,i){return 0>i&&i++,i>1&&i--,1>6*i?e+6*(t-e)*i:1>2*i?t:2>3*i?e+(t-e)*(2/3-i)*6:e}function c(e){if(e in R)return R[e];var t,i=1;if(e=String(e),"#"==e.charAt(0))t=e;else if(/^rgb/.test(e)){for(var n,a=m(e),t="#",o=0;3>o;o++)n=-1!=a[o].indexOf("%")?Math.floor(255*V(a[o])):+a[o],t+=D[U(n,0,255)];i=+a[3]}else if(/^hsl/.test(e)){var a=m(e);t=d(a),i=a[3]}else t=H[e]||e;return R[e]={color:t,alpha:i}}function u(e){if(Y[e])return Y[e];var t,i=document.createElement("div"),n=i.style;try{n.font=e,t=n.fontFamily.split(",")[0]}catch(a){}return Y[e]={style:n.fontStyle||G.style,variant:n.fontVariant||G.variant,weight:n.fontWeight||G.weight,size:n.fontSize||G.size,family:t||G.family}}function y(e,t){var i={};for(var n in e)i[n]=e[n];var a=parseFloat(t.currentStyle.fontSize),o=parseFloat(e.size);return i.size="number"==typeof e.size?e.size:-1!=e.size.indexOf("px")?o:-1!=e.size.indexOf("em")?a*o:-1!=e.size.indexOf("%")?a/100*o:-1!=e.size.indexOf("pt")?o/.75:a,i}function g(e){return e.style+" "+e.variant+" "+e.weight+" "+e.size+"px '"+e.family+"'"}function b(e){return Q[e]||"square"}function f(e){this.m_=s(),this.mStack_=[],this.aStack_=[],this.currentPath_=[],this.strokeStyle="#000",this.fillStyle="#000",this.lineWidth=1,this.lineJoin="miter",this.lineCap="butt",this.miterLimit=1*A,this.globalAlpha=1,this.font="12px 寰蒋闆呴粦",this.textAlign="left",this.textBaseline="alphabetic",this.canvas=e;var t="width:"+e.clientWidth+"px;height:"+e.clientHeight+"px;overflow:hidden;position:absolute",i=e.ownerDocument.createElement("div");i.style.cssText=t,e.appendChild(i);var n=i.cloneNode(!1);n.style.backgroundColor="#fff",n.style.filter="alpha(opacity=0)",e.appendChild(n),this.element_=i,this.scaleX_=1,this.scaleY_=1,this.lineScale_=1}function k(e,t,i,n){e.currentPath_.push({type:"bezierCurveTo",cp1x:t.x,cp1y:t.y,cp2x:i.x,cp2y:i.y,x:n.x,y:n.y}),e.currentX_=n.x,e.currentY_=n.y}function x(e,t){var i=c(e.strokeStyle),n=i.color,a=i.alpha*e.globalAlpha,o=e.lineScale_*e.lineWidth;1>o&&(a*=o),t.push("<g_vml_:stroke",' opacity="',a,'"',' joinstyle="',e.lineJoin,'"',' miterlimit="',e.miterLimit,'"',' endcap="',b(e.lineCap),'"',' weight="',o,'px"',' color="',n,'" />')}function _(e,t,i,n){var a=e.fillStyle,o=e.scaleX_,r=e.scaleY_,s=n.x-i.x,l=n.y-i.y;if(a instanceof v){var h=0,m={x:0,y:0},V=0,U=1;if("gradient"==a.type_){var d=a.x0_/o,p=a.y0_/r,u=a.x1_/o,y=a.y1_/r,g=L(e,d,p),b=L(e,u,y),f=b.x-g.x,k=b.y-g.y;h=180*Math.atan2(f,k)/Math.PI,0>h&&(h+=360),1e-6>h&&(h=0)}else{var g=L(e,a.x0_,a.y0_);m={x:(g.x-i.x)/s,y:(g.y-i.y)/l},s/=o*A,l/=r*A;var x=C.max(s,l);V=2*a.r0_/x,U=2*a.r1_/x-V}var _=a.colors_;_.sort(function(e,t){return e.offset-t.offset});for(var W=_.length,X=_[0].color,K=_[W-1].color,I=_[0].alpha*e.globalAlpha,J=_[W-1].alpha*e.globalAlpha,S=[],E=0;W>E;E++){var F=_[E];S.push(F.offset*U+V+" "+F.color)}t.push('<g_vml_:fill type="',a.type_,'"',' method="none" focus="100%"',' color="',X,'"',' color2="',K,'"',' colors="',S.join(","),'"',' opacity="',J,'"',' g_o_:opacity2="',I,'"',' angle="',h,'"',' focusposition="',m.x,",",m.y,'" />')}else if(a instanceof w){if(s&&l){var T=-i.x,z=-i.y;t.push("<g_vml_:fill",' position="',T/s*o*o,",",z/l*r*r,'"',' type="tile"',' src="',a.src_,'" />')}}else{var M=c(e.fillStyle),O=M.color,P=M.alpha*e.globalAlpha;t.push('<g_vml_:fill color="',O,'" opacity="',P,'" />')}}function L(e,t,i){var n=e.m_;return{x:A*(t*n[0][0]+i*n[1][0]+n[2][0])-M,y:A*(t*n[0][1]+i*n[1][1]+n[2][1])-M}}function W(e){return isFinite(e[0][0])&&isFinite(e[0][1])&&isFinite(e[1][0])&&isFinite(e[1][1])&&isFinite(e[2][0])&&isFinite(e[2][1])}function X(e,t,i){if(W(t)&&(e.m_=t,e.scaleX_=Math.sqrt(t[0][0]*t[0][0]+t[0][1]*t[0][1]),e.scaleY_=Math.sqrt(t[1][0]*t[1][0]+t[1][1]*t[1][1]),i)){var n=t[0][0]*t[1][1]-t[0][1]*t[1][0];e.lineScale_=z(T(n))}}function v(e){this.type_=e,this.x0_=0,this.y0_=0,this.r0_=0,this.x1_=0,this.y1_=0,this.r1_=0,this.colors_=[]}function w(e,t){switch(I(e),t){case"repeat":case null:case"":this.repetition_="repeat";break;case"repeat-x":case"repeat-y":case"no-repeat":this.repetition_=t;break;default:K("SYNTAX_ERR")}this.src_=e.src,this.width_=e.width,this.height_=e.height}function K(e){throw new J(e)}function I(e){e&&1==e.nodeType&&"IMG"==e.tagName||K("TYPE_MISMATCH_ERR"),"complete"!=e.readyState&&K("INVALID_STATE_ERR")}function J(e){this.code=this[e],this.message=e+": DOM Exception "+this.code}var C=Math,S=C.round,E=C.sin,F=C.cos,T=C.abs,z=C.sqrt,A=10,M=A/2,O=(+navigator.userAgent.match(/MSIE ([\d.]+)?/)[1],Array.prototype.slice);a(document);var P={init:function(e){var i=e||document;i.createElement("canvas"),i.attachEvent("onreadystatechange",t(this.init_,this,i))},init_:function(e){for(var t=e.getElementsByTagName("canvas"),i=0;i<t.length;i++)this.initElement(t[i])},initElement:function(t){if(!t.getContext){t.getContext=e,a(t.ownerDocument),t.innerHTML="",t.attachEvent("onpropertychange",o),t.attachEvent("onresize",r);var i=t.attributes;i.width&&i.width.specified?t.style.width=i.width.nodeValue+"px":t.width=t.clientWidth,i.height&&i.height.specified?t.style.height=i.height.nodeValue+"px":t.height=t.clientHeight}return t}};P.init();for(var D=[],N=0;16>N;N++)for(var B=0;16>B;B++)D[16*N+B]=N.toString(16)+B.toString(16);var H={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#00FFFF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgreen:"#006400",darkgrey:"#A9A9A9",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",grey:"#808080",greenyellow:"#ADFF2F",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgreen:"#90EE90",lightgrey:"#D3D3D3",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",oldlace:"#FDF5E6",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",whitesmoke:"#F5F5F5",yellowgreen:"#9ACD32"},R={},G={style:"normal",variant:"normal",weight:"normal",size:12,family:"寰蒋闆呴粦"},Y={},Q={butt:"flat",round:"round"},Z=f.prototype;Z.clearRect=function(){this.textMeasureEl_&&(this.textMeasureEl_.removeNode(!0),this.textMeasureEl_=null),this.element_.innerHTML=""},Z.beginPath=function(){this.currentPath_=[]},Z.moveTo=function(e,t){var i=L(this,e,t);this.currentPath_.push({type:"moveTo",x:i.x,y:i.y}),this.currentX_=i.x,this.currentY_=i.y},Z.lineTo=function(e,t){var i=L(this,e,t);this.currentPath_.push({type:"lineTo",x:i.x,y:i.y}),this.currentX_=i.x,this.currentY_=i.y},Z.bezierCurveTo=function(e,t,i,n,a,o){var r=L(this,a,o),s=L(this,e,t),l=L(this,i,n);k(this,s,l,r)},Z.quadraticCurveTo=function(e,t,i,n){var a=L(this,e,t),o=L(this,i,n),r={x:this.currentX_+2/3*(a.x-this.currentX_),y:this.currentY_+2/3*(a.y-this.currentY_)},s={x:r.x+(o.x-this.currentX_)/3,y:r.y+(o.y-this.currentY_)/3};k(this,r,s,o)},Z.arc=function(e,t,i,n,a,o){i*=A;var r=o?"at":"wa",s=e+F(n)*i-M,l=t+E(n)*i-M,h=e+F(a)*i-M,m=t+E(a)*i-M;s!=h||o||(s+=.125);var V=L(this,e,t),U=L(this,s,l),d=L(this,h,m);this.currentPath_.push({type:r,x:V.x,y:V.y,radius:i,xStart:U.x,yStart:U.y,xEnd:d.x,yEnd:d.y})},Z.rect=function(e,t,i,n){this.moveTo(e,t),this.lineTo(e+i,t),this.lineTo(e+i,t+n),this.lineTo(e,t+n),this.closePath()},Z.strokeRect=function(e,t,i,n){var a=this.currentPath_;this.beginPath(),this.moveTo(e,t),this.lineTo(e+i,t),this.lineTo(e+i,t+n),this.lineTo(e,t+n),this.closePath(),this.stroke(),this.currentPath_=a},Z.fillRect=function(e,t,i,n){var a=this.currentPath_;this.beginPath(),this.moveTo(e,t),this.lineTo(e+i,t),this.lineTo(e+i,t+n),this.lineTo(e,t+n),this.closePath(),this.fill(),this.currentPath_=a},Z.createLinearGradient=function(e,t,i,n){var a=new v("gradient");return a.x0_=e,a.y0_=t,a.x1_=i,a.y1_=n,a},Z.createRadialGradient=function(e,t,i,n,a,o){var r=new v("gradientradial");return r.x0_=e,r.y0_=t,r.r0_=i,r.x1_=n,r.y1_=a,r.r1_=o,r},Z.drawImage=function(e){var t,i,n,a,o,r,s,l,h=e.runtimeStyle.width,m=e.runtimeStyle.height;e.runtimeStyle.width="auto",e.runtimeStyle.height="auto";var V=e.width,U=e.height;if(e.runtimeStyle.width=h,e.runtimeStyle.height=m,3==arguments.length)t=arguments[1],i=arguments[2],o=r=0,s=n=V,l=a=U;else if(5==arguments.length)t=arguments[1],i=arguments[2],n=arguments[3],a=arguments[4],o=r=0,s=V,l=U;else{if(9!=arguments.length)throw Error("Invalid number of arguments");o=arguments[1],r=arguments[2],s=arguments[3],l=arguments[4],t=arguments[5],i=arguments[6],n=arguments[7],a=arguments[8]}var d=L(this,t,i),p=[],c=10,u=10,y=b=1;if(p.push(" <g_vml_:group",' coordsize="',A*c,",",A*u,'"',' coordorigin="0,0"',' style="width:',c,"px;height:",u,"px;position:absolute;"),1!=this.m_[0][0]||this.m_[0][1]||1!=this.m_[1][1]||this.m_[1][0]){var g=[],y=this.scaleX_,b=this.scaleY_;g.push("M11=",this.m_[0][0]/y,",","M12=",this.m_[1][0]/b,",","M21=",this.m_[0][1]/y,",","M22=",this.m_[1][1]/b,",","Dx=",S(d.x/A),",","Dy=",S(d.y/A),"");var f=d,k=L(this,t+n,i),x=L(this,t,i+a),_=L(this,t+n,i+a);f.x=C.max(f.x,k.x,x.x,_.x),f.y=C.max(f.y,k.y,x.y,_.y),p.push("padding:0 ",S(f.x/A),"px ",S(f.y/A),"px 0;filter:progid:DXImageTransform.Microsoft.Matrix(",g.join(""),", SizingMethod='clip');")}else p.push("top:",S(d.y/A),"px;left:",S(d.x/A),"px;");p.push(' ">'),(o||r)&&p.push('<div style="overflow: hidden; width:',Math.ceil((n+o*n/s)*y),"px;"," height:",Math.ceil((a+r*a/l)*b),"px;"," filter:progid:DxImageTransform.Microsoft.Matrix(Dx=",-o*n/s*y,",Dy=",-r*a/l*b,');">'),p.push('<div style="width:',Math.round(y*V*n/s),"px;"," height:",Math.round(b*U*a/l),"px;"," filter:"),this.globalAlpha<1&&p.push(" progid:DXImageTransform.Microsoft.Alpha(opacity="+100*this.globalAlpha+")"),p.push(" progid:DXImageTransform.Microsoft.AlphaImageLoader(src=",e.src,',sizingMethod=scale)">'),(o||r)&&p.push("</div>"),p.push("</div></div>"),this.element_.insertAdjacentHTML("BeforeEnd",p.join(""))},Z.stroke=function(e){var t=[],i=10,n=10;t.push("<g_vml_:shape",' filled="',!!e,'"',' style="position:absolute;width:',i,"px;height:",n,'px;"',' coordorigin="0,0"',' coordsize="',A*i,",",A*n,'"',' stroked="',!e,'"',' path="');for(var a={x:null,y:null},o={x:null,y:null},r=0;r<this.currentPath_.length;r++){var s,l=this.currentPath_[r];switch(l.type){case"moveTo":s=l,t.push(" m ",S(l.x),",",S(l.y));break;case"lineTo":t.push(" l ",S(l.x),",",S(l.y));break;case"close":t.push(" x "),l=null;break;case"bezierCurveTo":t.push(" c ",S(l.cp1x),",",S(l.cp1y),",",S(l.cp2x),",",S(l.cp2y),",",S(l.x),",",S(l.y));break;case"at":case"wa":t.push(" ",l.type," ",S(l.x-this.scaleX_*l.radius),",",S(l.y-this.scaleY_*l.radius)," ",S(l.x+this.scaleX_*l.radius),",",S(l.y+this.scaleY_*l.radius)," ",S(l.xStart),",",S(l.yStart)," ",S(l.xEnd),",",S(l.yEnd))}l&&((null==a.x||l.x<a.x)&&(a.x=l.x),(null==o.x||l.x>o.x)&&(o.x=l.x),(null==a.y||l.y<a.y)&&(a.y=l.y),(null==o.y||l.y>o.y)&&(o.y=l.y))}t.push(' ">'),e?_(this,t,a,o):x(this,t),t.push("</g_vml_:shape>"),this.element_.insertAdjacentHTML("beforeEnd",t.join(""))},Z.fill=function(){this.stroke(!0)},Z.closePath=function(){this.currentPath_.push({type:"close"})},Z.save=function(){var e={};h(this,e),this.aStack_.push(e),this.mStack_.push(this.m_),this.m_=l(s(),this.m_)},Z.restore=function(){this.aStack_.length&&(h(this.aStack_.pop(),this),this.m_=this.mStack_.pop())},Z.translate=function(e,t){var i=[[1,0,0],[0,1,0],[e,t,1]];X(this,l(i,this.m_),!1)},Z.rotate=function(e){var t=F(e),i=E(e),n=[[t,i,0],[-i,t,0],[0,0,1]];X(this,l(n,this.m_),!1)},Z.scale=function(e,t){var i=[[e,0,0],[0,t,0],[0,0,1]];X(this,l(i,this.m_),!0)},Z.transform=function(e,t,i,n,a,o){var r=[[e,t,0],[i,n,0],[a,o,1]];X(this,l(r,this.m_),!0)},Z.setTransform=function(e,t,i,n,a,o){var r=[[e,t,0],[i,n,0],[a,o,1]];X(this,r,!0)},Z.drawText_=function(e,t,n,a,o){var r=this.m_,s=1e3,l=0,h=s,m={x:0,y:0},V=[],U=y(u(this.font),this.element_),d=g(U),p=this.element_.currentStyle,c=this.textAlign.toLowerCase();switch(c){case"left":case"center":case"right":break;case"end":c="ltr"==p.direction?"right":"left";break;case"start":c="rtl"==p.direction?"right":"left";break;default:c="left"}switch(this.textBaseline){case"hanging":case"top":m.y=U.size/1.75;break;case"middle":break;default:case null:case"alphabetic":case"ideographic":case"bottom":m.y=-U.size/2.25}switch(c){case"right":l=s,h=.05;break;case"center":l=h=s/2}var b=L(this,t+m.x,n+m.y);V.push('<g_vml_:line from="',-l,' 0" to="',h,' 0.05" ',' coordsize="100 100" coordorigin="0 0"',' filled="',!o,'" stroked="',!!o,'" style="position:absolute;width:1px;height:1px;">'),o?x(this,V):_(this,V,{x:-l,y:0},{x:h,y:U.size});var f=r[0][0].toFixed(3)+","+r[1][0].toFixed(3)+","+r[0][1].toFixed(3)+","+r[1][1].toFixed(3)+",0,0",k=S(b.x/A)+","+S(b.y/A);V.push('<g_vml_:skew on="t" matrix="',f,'" ',' offset="',k,'" origin="',l,' 0" />','<g_vml_:path textpathok="true" />','<g_vml_:textpath on="true" string="',i(e),'" style="v-text-align:',c,";font:",i(d),'" /></g_vml_:line>'),this.element_.insertAdjacentHTML("beforeEnd",V.join(""))},Z.fillText=function(e,t,i,n){this.drawText_(e,t,i,n,!1)},Z.strokeText=function(e,t,i,n){this.drawText_(e,t,i,n,!0)},Z.measureText=function(e){if(!this.textMeasureEl_){var t='<span style="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;"></span>';this.element_.insertAdjacentHTML("beforeEnd",t),this.textMeasureEl_=this.element_.lastChild}var i=this.element_.ownerDocument;this.textMeasureEl_.innerHTML="";try{this.textMeasureEl_.style.font=this.font}catch(n){}return this.textMeasureEl_.appendChild(i.createTextNode(e)),{width:this.textMeasureEl_.offsetWidth}},Z.clip=function(){},Z.arcTo=function(){},Z.createPattern=function(e,t){return new w(e,t)},v.prototype.addColorStop=function(e,t){t=c(t),this.colors_.push({offset:e,color:t.color,alpha:t.alpha})};var q=J.prototype=new Error;q.INDEX_SIZE_ERR=1,q.DOMSTRING_SIZE_ERR=2,q.HIERARCHY_REQUEST_ERR=3,q.WRONG_DOCUMENT_ERR=4,q.INVALID_CHARACTER_ERR=5,q.NO_DATA_ALLOWED_ERR=6,q.NO_MODIFICATION_ALLOWED_ERR=7,q.NOT_FOUND_ERR=8,q.NOT_SUPPORTED_ERR=9,q.INUSE_ATTRIBUTE_ERR=10,q.INVALID_STATE_ERR=11,q.SYNTAX_ERR=12,q.INVALID_MODIFICATION_ERR=13,q.NAMESPACE_ERR=14,q.INVALID_ACCESS_ERR=15,q.VALIDATION_ERR=16,q.TYPE_MISMATCH_ERR=17,G_vmlCanvasManager=P,CanvasRenderingContext2D=f,CanvasGradient=v,CanvasPattern=w,DOMException=J}(),G_vmlCanvasManager}),i("zrender/mixin/Eventful",["require"],function(){var e=function(){this._handlers={}};return e.prototype.one=function(e,t,i){var n=this._handlers;return t&&e?(n[e]||(n[e]=[]),n[e].push({h:t,one:!0,ctx:i||this}),this):this},e.prototype.bind=function(e,t,i){var n=this._handlers;return t&&e?(n[e]||(n[e]=[]),n[e].push({h:t,one:!1,ctx:i||this}),this):this},e.prototype.unbind=function(e,t){var i=this._handlers;if(!e)return this._handlers={},this;if(t){if(i[e]){for(var n=[],a=0,o=i[e].length;o>a;a++)i[e][a].h!=t&&n.push(i[e][a]);i[e]=n}i[e]&&0===i[e].length&&delete i[e]}else delete i[e];return this},e.prototype.dispatch=function(e){if(this._handlers[e]){var t=arguments,i=t.length;i>3&&(t=Array.prototype.slice.call(t,1));for(var n=this._handlers[e],a=n.length,o=0;a>o;){switch(i){case 1:n[o].h.call(n[o].ctx);break;case 2:n[o].h.call(n[o].ctx,t[1]);break;case 3:n[o].h.call(n[o].ctx,t[1],t[2]);break;default:n[o].h.apply(n[o].ctx,t)}n[o].one?(n.splice(o,1),a--):o++}}return this},e.prototype.dispatchWithContext=function(e){if(this._handlers[e]){var t=arguments,i=t.length;i>4&&(t=Array.prototype.slice.call(t,1,t.length-1));for(var n=t[t.length-1],a=this._handlers[e],o=a.length,r=0;o>r;){switch(i){case 1:a[r].h.call(n);break;case 2:a[r].h.call(n,t[1]);break;case 3:a[r].h.call(n,t[1],t[2]);break;default:a[r].h.apply(n,t)}a[r].one?(a.splice(r,1),o--):r++}}return this},e}),i("zrender/tool/log",["require","../config"],function(e){var t=e("../config");return function(){if(0!==t.debugMode)if(1==t.debugMode)for(var e in arguments)throw new Error(arguments[e]);else if(t.debugMode>1)for(var e in arguments)console.log(arguments[e])}}),i("zrender/tool/guid",[],function(){var e=2311;return function(){return"zrender__"+e++}}),i("zrender/Handler",["require","./config","./tool/env","./tool/event","./tool/util","./tool/vector","./tool/matrix","./mixin/Eventful"],function(e){"use strict";function t(e,t){return function(i,n){return e.call(t,i,n)}}function i(e,t){return function(i,n,a){return e.call(t,i,n,a)}}function n(e){for(var i=d.length;i--;){var n=d[i];e["_"+n+"Handler"]=t(c[n],e)}}function a(e,t,i){if(this._draggingTarget&&this._draggingTarget.id==e.id||e.isSilent())return!1;var n=this._event;if(e.isCover(t,i)){e.hoverable&&this.storage.addHover(e);for(var a=e.parent;a;){if(a.clipShape&&!a.clipShape.isCover(this._mouseX,this._mouseY))return!1;a=a.parent}return this._lastHover!=e&&(this._processOutShape(n),this._processDragLeave(n),this._lastHover=e,this._processDragEnter(n)),this._processOverShape(n),this._processDragOver(n),this._hasfound=1,!0}return!1}var o=e("./config"),r=e("./tool/env"),s=e("./tool/event"),l=e("./tool/util"),h=e("./tool/vector"),m=e("./tool/matrix"),V=o.EVENT,U=e("./mixin/Eventful"),d=["resize","click","dblclick","mousewheel","mousemove","mouseout","mouseup","mousedown","touchstart","touchend","touchmove"],p=function(e){if(window.G_vmlCanvasManager)return!0;e=e||window.event;var t=e.toElement||e.relatedTarget||e.srcElement||e.target;return t&&t.className.match(o.elementClassName)},c={resize:function(e){e=e||window.event,this._lastHover=null,this._isMouseDown=0,this.dispatch(V.RESIZE,e)},click:function(e,t){if(p(e)||t){e=this._zrenderEventFixed(e);var i=this._lastHover;(i&&i.clickable||!i)&&this._clickThreshold<5&&this._dispatchAgency(i,V.CLICK,e),this._mousemoveHandler(e)}},dblclick:function(e,t){if(p(e)||t){e=e||window.event,e=this._zrenderEventFixed(e);var i=this._lastHover;(i&&i.clickable||!i)&&this._clickThreshold<5&&this._dispatchAgency(i,V.DBLCLICK,e),this._mousemoveHandler(e)}},mousewheel:function(e,t){if(p(e)||t){e=this._zrenderEventFixed(e);var i=e.wheelDelta||-e.detail,n=i>0?1.1:1/1.1,a=!1,o=this._mouseX,r=this._mouseY;this.painter.eachBuildinLayer(function(t){var i=t.position;if(t.zoomable){t.__zoom=t.__zoom||1;var l=t.__zoom;l*=n,l=Math.max(Math.min(t.maxZoom,l),t.minZoom),n=l/t.__zoom,t.__zoom=l,i[0]-=(o-i[0])*(n-1),i[1]-=(r-i[1])*(n-1),t.scale[0]*=n,t.scale[1]*=n,t.dirty=!0,a=!0,s.stop(e)}}),a&&this.painter.refresh(),this._dispatchAgency(this._lastHover,V.MOUSEWHEEL,e),this._mousemoveHandler(e)}},mousemove:function(e,t){if((p(e)||t)&&!this.painter.isLoading()){e=this._zrenderEventFixed(e),this._lastX=this._mouseX,this._lastY=this._mouseY,this._mouseX=s.getX(e),this._mouseY=s.getY(e);var i=this._mouseX-this._lastX,n=this._mouseY-this._lastY;this._processDragStart(e),this._hasfound=0,this._event=e,this._iterateAndFindHover(),this._hasfound||((!this._draggingTarget||this._lastHover&&this._lastHover!=this._draggingTarget)&&(this._processOutShape(e),
+this._processDragLeave(e)),this._lastHover=null,this.storage.delHover(),this.painter.clearHover());var a="default";if(this._draggingTarget)this.storage.drift(this._draggingTarget.id,i,n),this._draggingTarget.modSelf(),this.storage.addHover(this._draggingTarget),this._clickThreshold++;else if(this._isMouseDown){var o=!1;this.painter.eachBuildinLayer(function(e){e.panable&&(a="move",e.position[0]+=i,e.position[1]+=n,o=!0,e.dirty=!0)}),o&&this.painter.refresh()}this._draggingTarget||this._hasfound&&this._lastHover.draggable?a="move":this._hasfound&&this._lastHover.clickable&&(a="pointer"),this.root.style.cursor=a,this._dispatchAgency(this._lastHover,V.MOUSEMOVE,e),(this._draggingTarget||this._hasfound||this.storage.hasHoverShape())&&this.painter.refreshHover()}},mouseout:function(e,t){if(p(e)||t){e=this._zrenderEventFixed(e);var i=e.toElement||e.relatedTarget;if(i!=this.root)for(;i&&9!=i.nodeType;){if(i==this.root)return void this._mousemoveHandler(e);i=i.parentNode}e.zrenderX=this._lastX,e.zrenderY=this._lastY,this.root.style.cursor="default",this._isMouseDown=0,this._processOutShape(e),this._processDrop(e),this._processDragEnd(e),this.painter.isLoading()||this.painter.refreshHover(),this.dispatch(V.GLOBALOUT,e)}},mousedown:function(e,t){if(p(e)||t){if(this._clickThreshold=0,2==this._lastDownButton)return this._lastDownButton=e.button,void(this._mouseDownTarget=null);this._lastMouseDownMoment=new Date,e=this._zrenderEventFixed(e),this._isMouseDown=1,this._mouseDownTarget=this._lastHover,this._dispatchAgency(this._lastHover,V.MOUSEDOWN,e),this._lastDownButton=e.button}},mouseup:function(e,t){(p(e)||t)&&(e=this._zrenderEventFixed(e),this.root.style.cursor="default",this._isMouseDown=0,this._mouseDownTarget=null,this._dispatchAgency(this._lastHover,V.MOUSEUP,e),this._processDrop(e),this._processDragEnd(e))},touchstart:function(e,t){(p(e)||t)&&(e=this._zrenderEventFixed(e,!0),this._lastTouchMoment=new Date,this._mobileFindFixed(e),this._mousedownHandler(e))},touchmove:function(e,t){(p(e)||t)&&(e=this._zrenderEventFixed(e,!0),this._mousemoveHandler(e),this._isDragging&&s.stop(e))},touchend:function(e,t){if(p(e)||t){e=this._zrenderEventFixed(e,!0),this._mouseupHandler(e);var i=new Date;i-this._lastTouchMoment<V.touchClickDelay&&(this._mobileFindFixed(e),this._clickHandler(e),i-this._lastClickMoment<V.touchClickDelay/2&&(this._dblclickHandler(e),this._lastHover&&this._lastHover.clickable&&s.stop(e)),this._lastClickMoment=i),this.painter.clearHover()}}},u=function(e,t,o){U.call(this),this.root=e,this.storage=t,this.painter=o,this._lastX=this._lastY=this._mouseX=this._mouseY=0,this._findHover=i(a,this),this._domHover=o.getDomHover(),n(this),window.addEventListener?(window.addEventListener("resize",this._resizeHandler),r.os.tablet||r.os.phone?(e.addEventListener("touchstart",this._touchstartHandler),e.addEventListener("touchmove",this._touchmoveHandler),e.addEventListener("touchend",this._touchendHandler)):(e.addEventListener("click",this._clickHandler),e.addEventListener("dblclick",this._dblclickHandler),e.addEventListener("mousewheel",this._mousewheelHandler),e.addEventListener("mousemove",this._mousemoveHandler),e.addEventListener("mousedown",this._mousedownHandler),e.addEventListener("mouseup",this._mouseupHandler)),e.addEventListener("DOMMouseScroll",this._mousewheelHandler),e.addEventListener("mouseout",this._mouseoutHandler)):(window.attachEvent("onresize",this._resizeHandler),e.attachEvent("onclick",this._clickHandler),e.ondblclick=this._dblclickHandler,e.attachEvent("onmousewheel",this._mousewheelHandler),e.attachEvent("onmousemove",this._mousemoveHandler),e.attachEvent("onmouseout",this._mouseoutHandler),e.attachEvent("onmousedown",this._mousedownHandler),e.attachEvent("onmouseup",this._mouseupHandler))};u.prototype.on=function(e,t,i){return this.bind(e,t,i),this},u.prototype.un=function(e,t){return this.unbind(e,t),this},u.prototype.trigger=function(e,t){switch(e){case V.RESIZE:case V.CLICK:case V.DBLCLICK:case V.MOUSEWHEEL:case V.MOUSEMOVE:case V.MOUSEDOWN:case V.MOUSEUP:case V.MOUSEOUT:this["_"+e+"Handler"](t,!0)}},u.prototype.dispose=function(){var e=this.root;window.removeEventListener?(window.removeEventListener("resize",this._resizeHandler),r.os.tablet||r.os.phone?(e.removeEventListener("touchstart",this._touchstartHandler),e.removeEventListener("touchmove",this._touchmoveHandler),e.removeEventListener("touchend",this._touchendHandler)):(e.removeEventListener("click",this._clickHandler),e.removeEventListener("dblclick",this._dblclickHandler),e.removeEventListener("mousewheel",this._mousewheelHandler),e.removeEventListener("mousemove",this._mousemoveHandler),e.removeEventListener("mousedown",this._mousedownHandler),e.removeEventListener("mouseup",this._mouseupHandler)),e.removeEventListener("DOMMouseScroll",this._mousewheelHandler),e.removeEventListener("mouseout",this._mouseoutHandler)):(window.detachEvent("onresize",this._resizeHandler),e.detachEvent("onclick",this._clickHandler),e.detachEvent("dblclick",this._dblclickHandler),e.detachEvent("onmousewheel",this._mousewheelHandler),e.detachEvent("onmousemove",this._mousemoveHandler),e.detachEvent("onmouseout",this._mouseoutHandler),e.detachEvent("onmousedown",this._mousedownHandler),e.detachEvent("onmouseup",this._mouseupHandler)),this.root=this._domHover=this.storage=this.painter=null,this.un()},u.prototype._processDragStart=function(e){var t=this._lastHover;if(this._isMouseDown&&t&&t.draggable&&!this._draggingTarget&&this._mouseDownTarget==t){if(t.dragEnableTime&&new Date-this._lastMouseDownMoment<t.dragEnableTime)return;var i=t;this._draggingTarget=i,this._isDragging=1,i.invisible=!0,this.storage.mod(i.id),this._dispatchAgency(i,V.DRAGSTART,e),this.painter.refresh()}},u.prototype._processDragEnter=function(e){this._draggingTarget&&this._dispatchAgency(this._lastHover,V.DRAGENTER,e,this._draggingTarget)},u.prototype._processDragOver=function(e){this._draggingTarget&&this._dispatchAgency(this._lastHover,V.DRAGOVER,e,this._draggingTarget)},u.prototype._processDragLeave=function(e){this._draggingTarget&&this._dispatchAgency(this._lastHover,V.DRAGLEAVE,e,this._draggingTarget)},u.prototype._processDrop=function(e){this._draggingTarget&&(this._draggingTarget.invisible=!1,this.storage.mod(this._draggingTarget.id),this.painter.refresh(),this._dispatchAgency(this._lastHover,V.DROP,e,this._draggingTarget))},u.prototype._processDragEnd=function(e){this._draggingTarget&&(this._dispatchAgency(this._draggingTarget,V.DRAGEND,e),this._lastHover=null),this._isDragging=0,this._draggingTarget=null},u.prototype._processOverShape=function(e){this._dispatchAgency(this._lastHover,V.MOUSEOVER,e)},u.prototype._processOutShape=function(e){this._dispatchAgency(this._lastHover,V.MOUSEOUT,e)},u.prototype._dispatchAgency=function(e,t,i,n){var a="on"+t,o={type:t,event:i,target:e,cancelBubble:!1},r=e;for(n&&(o.dragged=n);r&&(r[a]&&(o.cancelBubble=r[a](o)),r.dispatch(t,o),r=r.parent,!o.cancelBubble););if(e)o.cancelBubble||this.dispatch(t,o);else if(!n){var s={type:t,event:i};this.dispatch(t,s),this.painter.eachOtherLayer(function(e){"function"==typeof e[a]&&e[a](s),e.dispatch&&e.dispatch(t,s)})}},u.prototype._iterateAndFindHover=function(){var e=m.create();return function(){for(var t,i,n=this.storage.getShapeList(),a=[0,0],o=n.length-1;o>=0;o--){var r=n[o];if(t!==r.zlevel&&(i=this.painter.getLayer(r.zlevel,i),a[0]=this._mouseX,a[1]=this._mouseY,i.needTransform&&(m.invert(e,i.transform),h.applyTransform(a,a,e))),this._findHover(r,a[0],a[1]))break}}}();var y=[{x:10},{x:-20},{x:10,y:10},{y:-20}];return u.prototype._mobileFindFixed=function(e){this._lastHover=null,this._mouseX=e.zrenderX,this._mouseY=e.zrenderY,this._event=e,this._iterateAndFindHover();for(var t=0;!this._lastHover&&t<y.length;t++){var i=y[t];i.x&&(this._mouseX+=i.x),i.y&&(this._mouseY+=i.y),this._iterateAndFindHover()}this._lastHover&&(e.zrenderX=this._mouseX,e.zrenderY=this._mouseY)},u.prototype._zrenderEventFixed=function(e,t){if(e.zrenderFixed)return e;if(t){var i="touchend"!=e.type?e.targetTouches[0]:e.changedTouches[0];if(i){var n=this.painter._domRoot.getBoundingClientRect();e.zrenderX=i.clientX-n.left,e.zrenderY=i.clientY-n.top}}else{e=e||window.event;var a=e.toElement||e.relatedTarget||e.srcElement||e.target;a&&a!=this._domHover&&(e.zrenderX=("undefined"!=typeof e.offsetX?e.offsetX:e.layerX)+a.offsetLeft,e.zrenderY=("undefined"!=typeof e.offsetY?e.offsetY:e.layerY)+a.offsetTop)}return e.zrenderFixed=1,e},l.merge(u.prototype,U.prototype,!0),u}),i("zrender/Painter",["require","./config","./tool/util","./tool/log","./loadingEffect/Base","./Layer","./shape/Image"],function(e){"use strict";function t(){return!1}function i(){}function n(e){return e?e.isBuildin?!0:"function"!=typeof e.resize||"function"!=typeof e.refresh?!1:!0:!1}var a=e("./config"),o=e("./tool/util"),r=e("./tool/log"),s=e("./loadingEffect/Base"),l=e("./Layer"),h=function(e,i){this.root=e,e.style["-webkit-tap-highlight-color"]="transparent",e.style["-webkit-user-select"]="none",e.style["user-select"]="none",e.style["-webkit-touch-callout"]="none",this.storage=i,e.innerHTML="",this._width=this._getWidth(),this._height=this._getHeight();var n=document.createElement("div");this._domRoot=n,n.style.position="relative",n.style.overflow="hidden",n.style.width=this._width+"px",n.style.height=this._height+"px",e.appendChild(n),this._layers={},this._zlevelList=[],this._layerConfig={},this._loadingEffect=new s({}),this.shapeToImage=this._createShapeToImageProcessor(),this._bgDom=document.createElement("div"),this._bgDom.style.cssText=["position:absolute;left:0px;top:0px;width:",this._width,"px;height:",this._height+"px;","-webkit-user-select:none;user-select;none;","-webkit-touch-callout:none;"].join(""),this._bgDom.setAttribute("data-zr-dom-id","bg"),this._bgDom.className=a.elementClassName,n.appendChild(this._bgDom),this._bgDom.onselectstart=t;var o=new l("_zrender_hover_",this);this._layers.hover=o,n.appendChild(o.dom),o.initContext(),o.dom.onselectstart=t,o.dom.style["-webkit-user-select"]="none",o.dom.style["user-select"]="none",o.dom.style["-webkit-touch-callout"]="none",this.refreshNextFrame=null};return h.prototype.render=function(e){return this.isLoading()&&this.hideLoading(),this.refresh(e,!0),this},h.prototype.refresh=function(e,t){var i=this.storage.getShapeList(!0);this._paintList(i,t);for(var n=0;n<this._zlevelList.length;n++){var a=this._zlevelList[n],o=this._layers[a];!o.isBuildin&&o.refresh&&o.refresh()}return"function"==typeof e&&e(),this},h.prototype._preProcessLayer=function(e){e.unusedCount++,e.updateTransform()},h.prototype._postProcessLayer=function(e){e.dirty=!1,1==e.unusedCount&&e.clear()},h.prototype._paintList=function(e,t){"undefined"==typeof t&&(t=!1),this._updateLayerStatus(e);var i,n,o;this.eachBuildinLayer(this._preProcessLayer);for(var s=0,l=e.length;l>s;s++){var h=e[s];if(n!==h.zlevel&&(i&&(i.needTransform&&o.restore(),o.flush&&o.flush()),n=h.zlevel,i=this.getLayer(n),i.isBuildin||r("ZLevel "+n+" has been used by unkown layer "+i.id),o=i.ctx,i.unusedCount=0,(i.dirty||t)&&i.clear(),i.needTransform&&(o.save(),i.setTransform(o))),(i.dirty||t)&&!h.invisible&&(!h.onbrush||h.onbrush&&!h.onbrush(o,!1)))if(a.catchBrushException)try{h.brush(o,!1,this.refreshNextFrame)}catch(m){r(m,"brush error of "+h.type,h)}else h.brush(o,!1,this.refreshNextFrame);h.__dirty=!1}i&&(i.needTransform&&o.restore(),o.flush&&o.flush()),this.eachBuildinLayer(this._postProcessLayer)},h.prototype.getLayer=function(e){var t=this._layers[e];return t||(t=new l(e,this),t.isBuildin=!0,this._layerConfig[e]&&o.merge(t,this._layerConfig[e],!0),t.updateTransform(),this.insertLayer(e,t),t.initContext()),t},h.prototype.insertLayer=function(e,t){if(this._layers[e])return void r("ZLevel "+e+" has been used already");if(!n(t))return void r("Layer of zlevel "+e+" is not valid");var i=this._zlevelList.length,a=null,o=-1;if(i>0&&e>this._zlevelList[0]){for(o=0;i-1>o&&!(this._zlevelList[o]<e&&this._zlevelList[o+1]>e);o++);a=this._layers[this._zlevelList[o]]}this._zlevelList.splice(o+1,0,e);var s=a?a.dom:this._bgDom;s.nextSibling?s.parentNode.insertBefore(t.dom,s.nextSibling):s.parentNode.appendChild(t.dom),this._layers[e]=t},h.prototype.eachLayer=function(e,t){for(var i=0;i<this._zlevelList.length;i++){var n=this._zlevelList[i];e.call(t,this._layers[n],n)}},h.prototype.eachBuildinLayer=function(e,t){for(var i=0;i<this._zlevelList.length;i++){var n=this._zlevelList[i],a=this._layers[n];a.isBuildin&&e.call(t,a,n)}},h.prototype.eachOtherLayer=function(e,t){for(var i=0;i<this._zlevelList.length;i++){var n=this._zlevelList[i],a=this._layers[n];a.isBuildin||e.call(t,a,n)}},h.prototype.getLayers=function(){return this._layers},h.prototype._updateLayerStatus=function(e){var t=this._layers,i={};this.eachBuildinLayer(function(e,t){i[t]=e.elCount,e.elCount=0});for(var n=0,a=e.length;a>n;n++){var o=e[n],r=o.zlevel,s=t[r];if(s){if(s.elCount++,s.dirty)continue;s.dirty=o.__dirty}}this.eachBuildinLayer(function(e,t){i[t]!==e.elCount&&(e.dirty=!0)})},h.prototype.refreshShapes=function(e,t){for(var i=0,n=e.length;n>i;i++){var a=e[i];a.modSelf()}return this.refresh(t),this},h.prototype.setLoadingEffect=function(e){return this._loadingEffect=e,this},h.prototype.clear=function(){return this.eachBuildinLayer(this._clearLayer),this},h.prototype._clearLayer=function(e){e.clear()},h.prototype.modLayer=function(e,t){if(t){this._layerConfig[e]?o.merge(this._layerConfig[e],t,!0):this._layerConfig[e]=t;var i=this._layers[e];i&&o.merge(i,this._layerConfig[e],!0)}},h.prototype.delLayer=function(e){var t=this._layers[e];t&&(this.modLayer(e,{position:t.position,rotation:t.rotation,scale:t.scale}),t.dom.parentNode.removeChild(t.dom),delete this._layers[e],this._zlevelList.splice(o.indexOf(this._zlevelList,e),1))},h.prototype.refreshHover=function(){this.clearHover();for(var e=this.storage.getHoverShapes(!0),t=0,i=e.length;i>t;t++)this._brushHover(e[t]);var n=this._layers.hover.ctx;return n.flush&&n.flush(),this.storage.delHover(),this},h.prototype.clearHover=function(){var e=this._layers.hover;return e&&e.clear(),this},h.prototype.showLoading=function(e){return this._loadingEffect&&this._loadingEffect.stop(),e&&this.setLoadingEffect(e),this._loadingEffect.start(this),this.loading=!0,this},h.prototype.hideLoading=function(){return this._loadingEffect.stop(),this.clearHover(),this.loading=!1,this},h.prototype.isLoading=function(){return this.loading},h.prototype.resize=function(){var e=this._domRoot;e.style.display="none";var t=this._getWidth(),i=this._getHeight();if(e.style.display="",this._width!=t||i!=this._height){this._width=t,this._height=i,e.style.width=t+"px",e.style.height=i+"px";for(var n in this._layers)this._layers[n].resize(t,i);this.refresh(null,!0)}return this},h.prototype.clearLayer=function(e){var t=this._layers[e];t&&t.clear()},h.prototype.dispose=function(){this.isLoading()&&this.hideLoading(),this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},h.prototype.getDomHover=function(){return this._layers.hover.dom},h.prototype.toDataURL=function(e,t,i){if(window.G_vmlCanvasManager)return null;var n=new l("image",this);this._bgDom.appendChild(n.dom),n.initContext();var o=n.ctx;n.clearColor=t||"#fff",n.clear();var s=this;this.storage.iterShape(function(e){if(!e.invisible&&(!e.onbrush||e.onbrush&&!e.onbrush(o,!1)))if(a.catchBrushException)try{e.brush(o,!1,s.refreshNextFrame)}catch(t){r(t,"brush error of "+e.type,e)}else e.brush(o,!1,s.refreshNextFrame)},{normal:"up",update:!0});var h=n.dom.toDataURL(e,i);return o=null,this._bgDom.removeChild(n.dom),h},h.prototype.getWidth=function(){return this._width},h.prototype.getHeight=function(){return this._height},h.prototype._getWidth=function(){var e=this.root,t=e.currentStyle||document.defaultView.getComputedStyle(e);return((e.clientWidth||parseInt(t.width,10))-parseInt(t.paddingLeft,10)-parseInt(t.paddingRight,10)).toFixed(0)-0},h.prototype._getHeight=function(){var e=this.root,t=e.currentStyle||document.defaultView.getComputedStyle(e);return((e.clientHeight||parseInt(t.height,10))-parseInt(t.paddingTop,10)-parseInt(t.paddingBottom,10)).toFixed(0)-0},h.prototype._brushHover=function(e){var t=this._layers.hover.ctx;if(!e.onbrush||e.onbrush&&!e.onbrush(t,!0)){var i=this.getLayer(e.zlevel);if(i.needTransform&&(t.save(),i.setTransform(t)),a.catchBrushException)try{e.brush(t,!0,this.refreshNextFrame)}catch(n){r(n,"hoverBrush error of "+e.type,e)}else e.brush(t,!0,this.refreshNextFrame);i.needTransform&&t.restore()}},h.prototype._shapeToImage=function(t,i,n,a,o){var r=document.createElement("canvas"),s=r.getContext("2d");r.style.width=n+"px",r.style.height=a+"px",r.setAttribute("width",n*o),r.setAttribute("height",a*o),s.clearRect(0,0,n*o,a*o);var l={position:i.position,rotation:i.rotation,scale:i.scale};i.position=[0,0,0],i.rotation=0,i.scale=[1,1],i&&i.brush(s,!1);var h=e("./shape/Image"),m=new h({id:t,style:{x:0,y:0,image:r}});return null!=l.position&&(m.position=i.position=l.position),null!=l.rotation&&(m.rotation=i.rotation=l.rotation),null!=l.scale&&(m.scale=i.scale=l.scale),m},h.prototype._createShapeToImageProcessor=function(){if(window.G_vmlCanvasManager)return i;var e=this;return function(t,i,n,o){return e._shapeToImage(t,i,n,o,a.devicePixelRatio)}},h}),i("zrender/Storage",["require","./tool/util","./Group"],function(e){"use strict";function t(e,t){return e.zlevel==t.zlevel?e.z==t.z?e.__renderidx-t.__renderidx:e.z-t.z:e.zlevel-t.zlevel}var i=e("./tool/util"),n=e("./Group"),a={hover:!1,normal:"down",update:!1},o=function(){this._elements={},this._hoverElements=[],this._roots=[],this._shapeList=[],this._shapeListOffset=0};return o.prototype.iterShape=function(e,t){if(t||(t=a),t.hover)for(var i=0,n=this._hoverElements.length;n>i;i++){var o=this._hoverElements[i];if(o.updateTransform(),e(o))return this}switch(t.update&&this.updateShapeList(),t.normal){case"down":for(var n=this._shapeList.length;n--;)if(e(this._shapeList[n]))return this;break;default:for(var i=0,n=this._shapeList.length;n>i;i++)if(e(this._shapeList[i]))return this}return this},o.prototype.getHoverShapes=function(e){for(var i=[],n=0,a=this._hoverElements.length;a>n;n++){i.push(this._hoverElements[n]);var o=this._hoverElements[n].hoverConnect;if(o){var r;o=o instanceof Array?o:[o];for(var s=0,l=o.length;l>s;s++)r=o[s].id?o[s]:this.get(o[s]),r&&i.push(r)}}if(i.sort(t),e)for(var n=0,a=i.length;a>n;n++)i[n].updateTransform();return i},o.prototype.getShapeList=function(e){return e&&this.updateShapeList(),this._shapeList},o.prototype.updateShapeList=function(){this._shapeListOffset=0;for(var e=0,i=this._roots.length;i>e;e++){var n=this._roots[e];this._updateAndAddShape(n)}this._shapeList.length=this._shapeListOffset;for(var e=0,i=this._shapeList.length;i>e;e++)this._shapeList[e].__renderidx=e;this._shapeList.sort(t)},o.prototype._updateAndAddShape=function(e,t){if(!e.ignore)if(e.updateTransform(),e.clipShape&&(e.clipShape.parent=e,e.clipShape.updateTransform(),t?(t=t.slice(),t.push(e.clipShape)):t=[e.clipShape]),"group"==e.type){for(var i=0;i<e._children.length;i++){var n=e._children[i];n.__dirty=e.__dirty||n.__dirty,this._updateAndAddShape(n,t)}e.__dirty=!1}else e.__clipShapes=t,this._shapeList[this._shapeListOffset++]=e},o.prototype.mod=function(e,t){if("string"==typeof e&&(e=this._elements[e]),e&&(e.modSelf(),t))if(t.parent||t._storage||t.__clipShapes){var n={};for(var a in t)"parent"!==a&&"_storage"!==a&&"__clipShapes"!==a&&t.hasOwnProperty(a)&&(n[a]=t[a]);i.merge(e,n,!0)}else i.merge(e,t,!0);return this},o.prototype.drift=function(e,t,i){var n=this._elements[e];return n&&(n.needTransform=!0,"horizontal"===n.draggable?i=0:"vertical"===n.draggable&&(t=0),(!n.ondrift||n.ondrift&&!n.ondrift(t,i))&&n.drift(t,i)),this},o.prototype.addHover=function(e){return e.updateNeedTransform(),this._hoverElements.push(e),this},o.prototype.delHover=function(){return this._hoverElements=[],this},o.prototype.hasHoverShape=function(){return this._hoverElements.length>0},o.prototype.addRoot=function(e){this._elements[e.id]||(e instanceof n&&e.addChildrenToStorage(this),this.addToMap(e),this._roots.push(e))},o.prototype.delRoot=function(e){if("undefined"==typeof e){for(var t=0;t<this._roots.length;t++){var a=this._roots[t];a instanceof n&&a.delChildrenFromStorage(this)}return this._elements={},this._hoverElements=[],this._roots=[],this._shapeList=[],void(this._shapeListOffset=0)}if(e instanceof Array)for(var t=0,o=e.length;o>t;t++)this.delRoot(e[t]);else{var r;r="string"==typeof e?this._elements[e]:e;var s=i.indexOf(this._roots,r);s>=0&&(this.delFromMap(r.id),this._roots.splice(s,1),r instanceof n&&r.delChildrenFromStorage(this))}},o.prototype.addToMap=function(e){return e instanceof n&&(e._storage=this),e.modSelf(),this._elements[e.id]=e,this},o.prototype.get=function(e){return this._elements[e]},o.prototype.delFromMap=function(e){var t=this._elements[e];return t&&(delete this._elements[e],t instanceof n&&(t._storage=null)),this},o.prototype.dispose=function(){this._elements=this._renderList=this._roots=this._hoverElements=null},o}),i("zrender/animation/Animation",["require","./Clip","../tool/color","../tool/util","../tool/event"],function(e){"use strict";function t(e,t){return e[t]}function i(e,t,i){e[t]=i}function n(e,t,i){return(t-e)*i+e}function a(e,t,i,a,o){var r=e.length;if(1==o)for(var s=0;r>s;s++)a[s]=n(e[s],t[s],i);else for(var l=e[0].length,s=0;r>s;s++)for(var h=0;l>h;h++)a[s][h]=n(e[s][h],t[s][h],i)}function o(e){switch(typeof e){case"undefined":case"string":return!1}return"undefined"!=typeof e.length}function r(e,t,i,n,a,o,r,l,h){var m=e.length;if(1==h)for(var V=0;m>V;V++)l[V]=s(e[V],t[V],i[V],n[V],a,o,r);else for(var U=e[0].length,V=0;m>V;V++)for(var d=0;U>d;d++)l[V][d]=s(e[V][d],t[V][d],i[V][d],n[V][d],a,o,r)}function s(e,t,i,n,a,o,r){var s=.5*(i-e),l=.5*(n-t);return(2*(t-i)+s+l)*r+(-3*(t-i)-2*s-l)*o+s*a+t}function l(e){if(o(e)){var t=e.length;if(o(e[0])){for(var i=[],n=0;t>n;n++)i.push(c.call(e[n]));return i}return c.call(e)}return e}function h(e){return e[0]=Math.floor(e[0]),e[1]=Math.floor(e[1]),e[2]=Math.floor(e[2]),"rgba("+e.join(",")+")"}var m=e("./Clip"),V=e("../tool/color"),U=e("../tool/util"),d=e("../tool/event").Dispatcher,p=window.requestAnimationFrame||window.msRequestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){setTimeout(e,16)},c=Array.prototype.slice,u=function(e){e=e||{},this.stage=e.stage||{},this.onframe=e.onframe||function(){},this._clips=[],this._running=!1,this._time=0,d.call(this)};u.prototype={add:function(e){this._clips.push(e)},remove:function(e){if(e.__inStep)e.__needsRemove=!0;else{var t=U.indexOf(this._clips,e);t>=0&&this._clips.splice(t,1)}},_update:function(){for(var e=(new Date).getTime(),t=e-this._time,i=this._clips,n=i.length,a=[],o=[],r=0;n>r;r++){var s=i[r];s.__inStep=!0;var l=s.step(e);s.__inStep=!1,l&&(a.push(l),o.push(s))}for(var r=0;n>r;)i[r].__needsRemove?(i[r]=i[n-1],i.pop(),n--):r++;n=a.length;for(var r=0;n>r;r++)o[r].fire(a[r]);this._time=e,this.onframe(t),this.dispatch("frame",t),this.stage.update&&this.stage.update()},start:function(){function e(){t._running&&(p(e),t._update())}var t=this;this._running=!0,this._time=(new Date).getTime(),p(e)},stop:function(){this._running=!1},clear:function(){this._clips=[]},animate:function(e,t){t=t||{};var i=new y(e,t.loop,t.getter,t.setter);return i.animation=this,i},constructor:u},U.merge(u.prototype,d.prototype,!0);var y=function(e,n,a,o){this._tracks={},this._target=e,this._loop=n||!1,this._getter=a||t,this._setter=o||i,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};return y.prototype={when:function(e,t){for(var i in t)this._tracks[i]||(this._tracks[i]=[],0!==e&&this._tracks[i].push({time:0,value:l(this._getter(this._target,i))})),this._tracks[i].push({time:parseInt(e,10),value:t[i]});return this},during:function(e){return this._onframeList.push(e),this},start:function(e){var t=this,i=this._setter,l=this._getter,U="spline"===e,d=function(){if(t._clipCount--,0===t._clipCount){t._tracks={};for(var e=t._doneList.length,i=0;e>i;i++)t._doneList[i].call(t)}},p=function(p,c){var u=p.length;if(u){var y=p[0].value,g=o(y),b=!1,f=g&&o(y[0])?2:1;p.sort(function(e,t){return e.time-t.time});var k;if(u){k=p[u-1].time;for(var x=[],_=[],L=0;u>L;L++){x.push(p[L].time/k);var W=p[L].value;"string"==typeof W&&(W=V.toArray(W),0===W.length&&(W[0]=W[1]=W[2]=0,W[3]=1),b=!0),_.push(W)}var X,L,v,w,K,I,J,C=0,S=0;if(b)var E=[0,0,0,0];var F=function(e,o){if(S>o){for(X=Math.min(C+1,u-1),L=X;L>=0&&!(x[L]<=o);L--);L=Math.min(L,u-2)}else{for(L=C;u>L&&!(x[L]>o);L++);L=Math.min(L-1,u-2)}C=L,S=o;var m=x[L+1]-x[L];if(0!==m){if(v=(o-x[L])/m,U)if(K=_[L],w=_[0===L?L:L-1],I=_[L>u-2?u-1:L+1],J=_[L>u-3?u-1:L+2],g)r(w,K,I,J,v,v*v,v*v*v,l(e,c),f);else{var V;b?(V=r(w,K,I,J,v,v*v,v*v*v,E,1),V=h(E)):V=s(w,K,I,J,v,v*v,v*v*v),i(e,c,V)}else if(g)a(_[L],_[L+1],v,l(e,c),f);else{var V;b?(a(_[L],_[L+1],v,E,1),V=h(E)):V=n(_[L],_[L+1],v),i(e,c,V)}for(L=0;L<t._onframeList.length;L++)t._onframeList[L](e,o)}},T=new m({target:t._target,life:k,loop:t._loop,delay:t._delay,onframe:F,ondestroy:d});e&&"spline"!==e&&(T.easing=e),t._clipList.push(T),t._clipCount++,t.animation.add(T)}}};for(var c in this._tracks)p(this._tracks[c],c);return this},stop:function(){for(var e=0;e<this._clipList.length;e++){var t=this._clipList[e];this.animation.remove(t)}this._clipList=[]},delay:function(e){return this._delay=e,this},done:function(e){return e&&this._doneList.push(e),this}},u}),i("zrender/tool/vector",[],function(){var e="undefined"==typeof Float32Array?Array:Float32Array,t={create:function(t,i){var n=new e(2);return n[0]=t||0,n[1]=i||0,n},copy:function(e,t){return e[0]=t[0],e[1]=t[1],e},clone:function(t){var i=new e(2);return i[0]=t[0],i[1]=t[1],i},set:function(e,t,i){return e[0]=t,e[1]=i,e},add:function(e,t,i){return e[0]=t[0]+i[0],e[1]=t[1]+i[1],e},scaleAndAdd:function(e,t,i,n){return e[0]=t[0]+i[0]*n,e[1]=t[1]+i[1]*n,e},sub:function(e,t,i){return e[0]=t[0]-i[0],e[1]=t[1]-i[1],e},len:function(e){return Math.sqrt(this.lenSquare(e))},lenSquare:function(e){return e[0]*e[0]+e[1]*e[1]},mul:function(e,t,i){return e[0]=t[0]*i[0],e[1]=t[1]*i[1],e},div:function(e,t,i){return e[0]=t[0]/i[0],e[1]=t[1]/i[1],e},dot:function(e,t){return e[0]*t[0]+e[1]*t[1]},scale:function(e,t,i){return e[0]=t[0]*i,e[1]=t[1]*i,e},normalize:function(e,i){var n=t.len(i);return 0===n?(e[0]=0,e[1]=0):(e[0]=i[0]/n,e[1]=i[1]/n),e},distance:function(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))},distanceSquare:function(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])},negate:function(e,t){return e[0]=-t[0],e[1]=-t[1],e},lerp:function(e,t,i,n){return e[0]=t[0]+n*(i[0]-t[0]),e[1]=t[1]+n*(i[1]-t[1]),e},applyTransform:function(e,t,i){var n=t[0],a=t[1];return e[0]=i[0]*n+i[2]*a+i[4],e[1]=i[1]*n+i[3]*a+i[5],e},min:function(e,t,i){return e[0]=Math.min(t[0],i[0]),e[1]=Math.min(t[1],i[1]),e},max:function(e,t,i){return e[0]=Math.max(t[0],i[0]),e[1]=Math.max(t[1],i[1]),e}};return t.length=t.len,t.lengthSquare=t.lenSquare,t.dist=t.distance,t.distSquare=t.distanceSquare,t}),i("zrender/tool/matrix",[],function(){var e="undefined"==typeof Float32Array?Array:Float32Array,t={create:function(){var i=new e(6);return t.identity(i),i},identity:function(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e},copy:function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e},mul:function(e,t,i){return e[0]=t[0]*i[0]+t[2]*i[1],e[1]=t[1]*i[0]+t[3]*i[1],e[2]=t[0]*i[2]+t[2]*i[3],e[3]=t[1]*i[2]+t[3]*i[3],e[4]=t[0]*i[4]+t[2]*i[5]+t[4],e[5]=t[1]*i[4]+t[3]*i[5]+t[5],e},translate:function(e,t,i){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+i[0],e[5]=t[5]+i[1],e},rotate:function(e,t,i){var n=t[0],a=t[2],o=t[4],r=t[1],s=t[3],l=t[5],h=Math.sin(i),m=Math.cos(i);return e[0]=n*m+r*h,e[1]=-n*h+r*m,e[2]=a*m+s*h,e[3]=-a*h+m*s,e[4]=m*o+h*l,e[5]=m*l-h*o,e},scale:function(e,t,i){var n=i[0],a=i[1];return e[0]=t[0]*n,e[1]=t[1]*a,e[2]=t[2]*n,e[3]=t[3]*a,e[4]=t[4]*n,e[5]=t[5]*a,e},invert:function(e,t){var i=t[0],n=t[2],a=t[4],o=t[1],r=t[3],s=t[5],l=i*r-o*n;return l?(l=1/l,e[0]=r*l,e[1]=-o*l,e[2]=-n*l,e[3]=i*l,e[4]=(n*s-r*a)*l,e[5]=(o*a-i*s)*l,e):null}};return t}),i("zrender/loadingEffect/Base",["require","../tool/util","../shape/Text","../shape/Rectangle"],function(e){function t(e){this.setOptions(e)}var i=e("../tool/util"),n=e("../shape/Text"),a=e("../shape/Rectangle"),o="Loading...",r="normal 16px Arial";return t.prototype.createTextShape=function(e){return new n({highlightStyle:i.merge({x:this.canvasWidth/2,y:this.canvasHeight/2,text:o,textAlign:"center",textBaseline:"middle",textFont:r,color:"#333",brushType:"fill"},e,!0)})},t.prototype.createBackgroundShape=function(e){return new a({highlightStyle:{x:0,y:0,width:this.canvasWidth,height:this.canvasHeight,brushType:"fill",color:e}})},t.prototype.start=function(e){function t(t){e.storage.addHover(t)}function i(){e.refreshHover()}this.canvasWidth=e._width,this.canvasHeight=e._height,this.loadingTimer=this._start(t,i)},t.prototype._start=function(){return setInterval(function(){},1e4)},t.prototype.stop=function(){clearInterval(this.loadingTimer)},t.prototype.setOptions=function(e){this.options=e||{}},t.prototype.adjust=function(e,t){return e<=t[0]?e=t[0]:e>=t[1]&&(e=t[1]),e},t.prototype.getLocation=function(e,t,i){var n=null!=e.x?e.x:"center";switch(n){case"center":n=Math.floor((this.canvasWidth-t)/2);break;case"left":n=0;break;case"right":n=this.canvasWidth-t}var a=null!=e.y?e.y:"center";switch(a){case"center":a=Math.floor((this.canvasHeight-i)/2);break;case"top":a=0;break;case"bottom":a=this.canvasHeight-i}return{x:n,y:a,width:t,height:i}},t}),i("zrender/Layer",["require","./mixin/Transformable","./tool/util","./config"],function(e){function t(){return!1}function i(e,t,i){var n=document.createElement(t),a=i.getWidth(),o=i.getHeight();return n.style.position="absolute",n.style.left=0,n.style.top=0,n.style.width=a+"px",n.style.height=o+"px",n.width=a*r.devicePixelRatio,n.height=o*r.devicePixelRatio,n.setAttribute("data-zr-dom-id",e),n}var n=e("./mixin/Transformable"),a=e("./tool/util"),o=window.G_vmlCanvasManager,r=e("./config"),s=function(e,a){this.id=e,this.dom=i(e,"canvas",a),this.dom.onselectstart=t,this.dom.style["-webkit-user-select"]="none",this.dom.style["user-select"]="none",this.dom.style["-webkit-touch-callout"]="none",this.dom.style["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",this.dom.className=r.elementClassName,o&&o.initElement(this.dom),this.domBack=null,this.ctxBack=null,this.painter=a,this.unusedCount=0,this.config=null,this.dirty=!0,this.elCount=0,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.zoomable=!1,this.panable=!1,this.maxZoom=1/0,this.minZoom=0,n.call(this)};return s.prototype.initContext=function(){this.ctx=this.dom.getContext("2d");var e=r.devicePixelRatio;1!=e&&this.ctx.scale(e,e)},s.prototype.createBackBuffer=function(){if(!o){this.domBack=i("back-"+this.id,"canvas",this.painter),this.ctxBack=this.domBack.getContext("2d");var e=r.devicePixelRatio;1!=e&&this.ctxBack.scale(e,e)}},s.prototype.resize=function(e,t){var i=r.devicePixelRatio;this.dom.style.width=e+"px",this.dom.style.height=t+"px",this.dom.setAttribute("width",e*i),this.dom.setAttribute("height",t*i),1!=i&&this.ctx.scale(i,i),this.domBack&&(this.domBack.setAttribute("width",e*i),this.domBack.setAttribute("height",t*i),1!=i&&this.ctxBack.scale(i,i))},s.prototype.clear=function(){var e=this.dom,t=this.ctx,i=e.width,n=e.height,a=this.clearColor&&!o,s=this.motionBlur&&!o,l=this.lastFrameAlpha,h=r.devicePixelRatio;if(s&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(e,0,0,i/h,n/h)),t.clearRect(0,0,i/h,n/h),a&&(t.save(),t.fillStyle=this.clearColor,t.fillRect(0,0,i/h,n/h),t.restore()),s){var m=this.domBack;t.save(),t.globalAlpha=l,t.drawImage(m,0,0,i/h,n/h),t.restore()}},a.merge(s.prototype,n.prototype),s}),i("zrender/shape/Text",["require","../tool/area","./Base","../tool/util"],function(e){
+var t=e("../tool/area"),i=e("./Base"),n=function(e){i.call(this,e)};return n.prototype={type:"text",brush:function(e,i){var n=this.style;if(i&&(n=this.getHighlightStyle(n,this.highlightStyle||{})),"undefined"!=typeof n.text&&n.text!==!1){e.save(),this.doClip(e),this.setContext(e,n),this.setTransform(e),n.textFont&&(e.font=n.textFont),e.textAlign=n.textAlign||"start",e.textBaseline=n.textBaseline||"middle";var a,o=(n.text+"").split("\n"),r=t.getTextHeight("鍥�",n.textFont),s=this.getRect(n),l=n.x;a="top"==n.textBaseline?s.y:"bottom"==n.textBaseline?s.y+r:s.y+r/2;for(var h=0,m=o.length;m>h;h++){if(n.maxWidth)switch(n.brushType){case"fill":e.fillText(o[h],l,a,n.maxWidth);break;case"stroke":e.strokeText(o[h],l,a,n.maxWidth);break;case"both":e.fillText(o[h],l,a,n.maxWidth),e.strokeText(o[h],l,a,n.maxWidth);break;default:e.fillText(o[h],l,a,n.maxWidth)}else switch(n.brushType){case"fill":e.fillText(o[h],l,a);break;case"stroke":e.strokeText(o[h],l,a);break;case"both":e.fillText(o[h],l,a),e.strokeText(o[h],l,a);break;default:e.fillText(o[h],l,a)}a+=r}e.restore()}},getRect:function(e){if(e.__rect)return e.__rect;var i=t.getTextWidth(e.text,e.textFont),n=t.getTextHeight(e.text,e.textFont),a=e.x;"end"==e.textAlign||"right"==e.textAlign?a-=i:"center"==e.textAlign&&(a-=i/2);var o;return o="top"==e.textBaseline?e.y:"bottom"==e.textBaseline?e.y-n:e.y-n/2,e.__rect={x:a,y:o,width:i,height:n},e.__rect}},e("../tool/util").inherits(n,i),n}),i("zrender/shape/Rectangle",["require","./Base","../tool/util"],function(e){var t=e("./Base"),i=function(e){t.call(this,e)};return i.prototype={type:"rectangle",_buildRadiusPath:function(e,t){var i,n,a,o,r=t.x,s=t.y,l=t.width,h=t.height,m=t.radius;"number"==typeof m?i=n=a=o=m:m instanceof Array?1===m.length?i=n=a=o=m[0]:2===m.length?(i=a=m[0],n=o=m[1]):3===m.length?(i=m[0],n=o=m[1],a=m[2]):(i=m[0],n=m[1],a=m[2],o=m[3]):i=n=a=o=0;var V;i+n>l&&(V=i+n,i*=l/V,n*=l/V),a+o>l&&(V=a+o,a*=l/V,o*=l/V),n+a>h&&(V=n+a,n*=h/V,a*=h/V),i+o>h&&(V=i+o,i*=h/V,o*=h/V),e.moveTo(r+i,s),e.lineTo(r+l-n,s),0!==n&&e.quadraticCurveTo(r+l,s,r+l,s+n),e.lineTo(r+l,s+h-a),0!==a&&e.quadraticCurveTo(r+l,s+h,r+l-a,s+h),e.lineTo(r+o,s+h),0!==o&&e.quadraticCurveTo(r,s+h,r,s+h-o),e.lineTo(r,s+i),0!==i&&e.quadraticCurveTo(r,s,r+i,s)},buildPath:function(e,t){t.radius?this._buildRadiusPath(e,t):(e.moveTo(t.x,t.y),e.lineTo(t.x+t.width,t.y),e.lineTo(t.x+t.width,t.y+t.height),e.lineTo(t.x,t.y+t.height),e.lineTo(t.x,t.y)),e.closePath()},getRect:function(e){if(e.__rect)return e.__rect;var t;return t="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(e.x-t/2),y:Math.round(e.y-t/2),width:e.width+t,height:e.height+t},e.__rect}},e("../tool/util").inherits(i,t),i}),i("zrender/tool/area",["require","./util","./curve"],function(e){"use strict";function t(e){return e%=C,0>e&&(e+=C),e}function i(e,t,i,o){if(!t||!e)return!1;var r=e.type;L=L||W.getContext();var s=n(e,t,i,o);if("undefined"!=typeof s)return s;if(e.buildPath&&L.isPointInPath)return a(e,L,t,i,o);switch(r){case"ellipse":return!0;case"trochoid":var l="out"==t.location?t.r1+t.r2+t.d:t.r1-t.r2+t.d;return d(t,i,o,l);case"rose":return d(t,i,o,t.maxr);default:return!1}}function n(e,t,i,n){var a=e.type;switch(a){case"bezier-curve":return"undefined"==typeof t.cpX2?l(t.xStart,t.yStart,t.cpX1,t.cpY1,t.xEnd,t.yEnd,t.lineWidth,i,n):s(t.xStart,t.yStart,t.cpX1,t.cpY1,t.cpX2,t.cpY2,t.xEnd,t.yEnd,t.lineWidth,i,n);case"line":return r(t.xStart,t.yStart,t.xEnd,t.yEnd,t.lineWidth,i,n);case"polyline":return m(t.pointList,t.lineWidth,i,n);case"ring":return V(t.x,t.y,t.r0,t.r,i,n);case"circle":return d(t.x,t.y,t.r,i,n);case"sector":var o=t.startAngle*Math.PI/180,h=t.endAngle*Math.PI/180;return t.clockWise||(o=-o,h=-h),p(t.x,t.y,t.r0,t.r,o,h,!t.clockWise,i,n);case"path":return t.pathArray&&k(t.pathArray,Math.max(t.lineWidth,5),t.brushType,i,n);case"polygon":case"star":case"isogon":return c(t.pointList,i,n);case"text":var u=t.__rect||e.getRect(t);return U(u.x,u.y,u.width,u.height,i,n);case"rectangle":case"image":return U(t.x,t.y,t.width,t.height,i,n)}}function a(e,t,i,n,a){return t.beginPath(),e.buildPath(t,i),t.closePath(),t.isPointInPath(n,a)}function o(e,t,n,a){return!i(e,t,n,a)}function r(e,t,i,n,a,o,r){if(0===a)return!1;var s=Math.max(a,5),l=0,h=e;if(r>t+s&&r>n+s||t-s>r&&n-s>r||o>e+s&&o>i+s||e-s>o&&i-s>o)return!1;if(e===i)return Math.abs(o-e)<=s/2;l=(t-n)/(e-i),h=(e*n-i*t)/(e-i);var m=l*o-r+h,V=m*m/(l*l+1);return s/2*s/2>=V}function s(e,t,i,n,a,o,r,s,l,h,m){if(0===l)return!1;var V=Math.max(l,5);if(m>t+V&&m>n+V&&m>o+V&&m>s+V||t-V>m&&n-V>m&&o-V>m&&s-V>m||h>e+V&&h>i+V&&h>a+V&&h>r+V||e-V>h&&i-V>h&&a-V>h&&r-V>h)return!1;var U=X.cubicProjectPoint(e,t,i,n,a,o,r,s,h,m,null);return V/2>=U}function l(e,t,i,n,a,o,r,s,l){if(0===r)return!1;var h=Math.max(r,5);if(l>t+h&&l>n+h&&l>o+h||t-h>l&&n-h>l&&o-h>l||s>e+h&&s>i+h&&s>a+h||e-h>s&&i-h>s&&a-h>s)return!1;var m=X.quadraticProjectPoint(e,t,i,n,a,o,s,l,null);return h/2>=m}function h(e,i,n,a,o,r,s,l,h){if(0===s)return!1;var m=Math.max(s,5);l-=e,h-=i;var V=Math.sqrt(l*l+h*h);if(V-m>n||n>V+m)return!1;if(Math.abs(a-o)>=C)return!0;if(r){var U=a;a=t(o),o=t(U)}else a=t(a),o=t(o);a>o&&(o+=C);var d=Math.atan2(h,l);return 0>d&&(d+=C),d>=a&&o>=d||d+C>=a&&o>=d+C}function m(e,t,i,n){for(var t=Math.max(t,10),a=0,o=e.length-1;o>a;a++){var s=e[a][0],l=e[a][1],h=e[a+1][0],m=e[a+1][1];if(r(s,l,h,m,t,i,n))return!0}return!1}function V(e,t,i,n,a,o){var r=(a-e)*(a-e)+(o-t)*(o-t);return n*n>r&&r>i*i}function U(e,t,i,n,a,o){return a>=e&&e+i>=a&&o>=t&&t+n>=o}function d(e,t,i,n,a){return i*i>(n-e)*(n-e)+(a-t)*(a-t)}function p(e,t,i,n,a,o,r,s,l){return h(e,t,(i+n)/2,a,o,r,n-i,s,l)}function c(e,t,i){for(var n=e.length,a=0,o=0,r=n-1;n>o;o++){var s=e[r][0],l=e[r][1],h=e[o][0],m=e[o][1];a+=u(s,l,h,m,t,i),r=o}return 0!==a}function u(e,t,i,n,a,o){if(o>t&&o>n||t>o&&n>o)return 0;if(n==t)return 0;var r=t>n?1:-1,s=(o-t)/(n-t),l=s*(i-e)+e;return l>a?r:0}function y(){var e=E[0];E[0]=E[1],E[1]=e}function g(e,t,i,n,a,o,r,s,l,h){if(h>t&&h>n&&h>o&&h>s||t>h&&n>h&&o>h&&s>h)return 0;var m=X.cubicRootAt(t,n,o,s,h,S);if(0===m)return 0;for(var V,U,d=0,p=-1,c=0;m>c;c++){var u=S[c],g=X.cubicAt(e,i,a,r,u);l>g||(0>p&&(p=X.cubicExtrema(t,n,o,s,E),E[1]<E[0]&&p>1&&y(),V=X.cubicAt(t,n,o,s,E[0]),p>1&&(U=X.cubicAt(t,n,o,s,E[1]))),d+=2==p?u<E[0]?t>V?1:-1:u<E[1]?V>U?1:-1:U>s?1:-1:u<E[0]?t>V?1:-1:V>s?1:-1)}return d}function b(e,t,i,n,a,o,r,s){if(s>t&&s>n&&s>o||t>s&&n>s&&o>s)return 0;var l=X.quadraticRootAt(t,n,o,s,S);if(0===l)return 0;var h=X.quadraticExtremum(t,n,o);if(h>=0&&1>=h){for(var m=0,V=X.quadraticAt(t,n,o,h),U=0;l>U;U++){var d=X.quadraticAt(e,i,a,S[U]);r>d||(m+=S[U]<h?t>V?1:-1:V>o?1:-1)}return m}var d=X.quadraticAt(e,i,a,S[0]);return r>d?0:t>o?1:-1}function f(e,i,n,a,o,r,s,l){if(l-=i,l>n||-n>l)return 0;var h=Math.sqrt(n*n-l*l);if(S[0]=-h,S[1]=h,Math.abs(a-o)>=C){a=0,o=C;var m=r?1:-1;return s>=S[0]+e&&s<=S[1]+e?m:0}if(r){var h=a;a=t(o),o=t(h)}else a=t(a),o=t(o);a>o&&(o+=C);for(var V=0,U=0;2>U;U++){var d=S[U];if(d+e>s){var p=Math.atan2(l,d),m=r?1:-1;0>p&&(p=C+p),(p>=a&&o>=p||p+C>=a&&o>=p+C)&&(p>Math.PI/2&&p<1.5*Math.PI&&(m=-m),V+=m)}}return V}function k(e,t,i,n,a){var o=0,m=0,V=0,U=0,d=0,p=!0,c=!0;i=i||"fill";for(var y="stroke"===i||"both"===i,k="fill"===i||"both"===i,x=0;x<e.length;x++){var _=e[x],L=_.points;if(p||"M"===_.command){if(x>0&&(k&&(o+=u(m,V,U,d,n,a)),0!==o))return!0;U=L[L.length-2],d=L[L.length-1],p=!1,c&&"A"!==_.command&&(c=!1,m=U,V=d)}switch(_.command){case"M":m=L[0],V=L[1];break;case"L":if(y&&r(m,V,L[0],L[1],t,n,a))return!0;k&&(o+=u(m,V,L[0],L[1],n,a)),m=L[0],V=L[1];break;case"C":if(y&&s(m,V,L[0],L[1],L[2],L[3],L[4],L[5],t,n,a))return!0;k&&(o+=g(m,V,L[0],L[1],L[2],L[3],L[4],L[5],n,a)),m=L[4],V=L[5];break;case"Q":if(y&&l(m,V,L[0],L[1],L[2],L[3],t,n,a))return!0;k&&(o+=b(m,V,L[0],L[1],L[2],L[3],n,a)),m=L[2],V=L[3];break;case"A":var W=L[0],X=L[1],v=L[2],w=L[3],K=L[4],I=L[5],J=Math.cos(K)*v+W,C=Math.sin(K)*w+X;c?(c=!1,U=J,d=C):o+=u(m,V,J,C);var S=(n-W)*w/v+W;if(y&&h(W,X,w,K,K+I,1-L[7],t,S,a))return!0;k&&(o+=f(W,X,w,K,K+I,1-L[7],S,a)),m=Math.cos(K+I)*v+W,V=Math.sin(K+I)*w+X;break;case"z":if(y&&r(m,V,U,d,t,n,a))return!0;p=!0}}return k&&(o+=u(m,V,U,d,n,a)),0!==o}function x(e,t){var i=e+":"+t;if(v[i])return v[i];L=L||W.getContext(),L.save(),t&&(L.font=t),e=(e+"").split("\n");for(var n=0,a=0,o=e.length;o>a;a++)n=Math.max(L.measureText(e[a]).width,n);return L.restore(),v[i]=n,++K>J&&(K=0,v={}),n}function _(e,t){var i=e+":"+t;if(w[i])return w[i];L=L||W.getContext(),L.save(),t&&(L.font=t),e=(e+"").split("\n");var n=(L.measureText("鍥�").width+2)*e.length;return L.restore(),w[i]=n,++I>J&&(I=0,w={}),n}var L,W=e("./util"),X=e("./curve"),v={},w={},K=0,I=0,J=5e3,C=2*Math.PI,S=[-1,-1,-1],E=[-1,-1];return{isInside:i,isOutside:o,getTextWidth:x,getTextHeight:_,isInsidePath:k,isInsidePolygon:c,isInsideSector:p,isInsideCircle:d,isInsideLine:r,isInsideRect:U,isInsidePolyline:m,isInsideCubicStroke:s,isInsideQuadraticStroke:l}}),i("zrender/shape/Base",["require","../tool/matrix","../tool/guid","../tool/util","../tool/log","../mixin/Transformable","../mixin/Eventful","../tool/area","../tool/color"],function(e){function t(t,n,a,o,r,s,l){r&&(t.font=r),t.textAlign=s,t.textBaseline=l;var h=i(n,a,o,r,s,l);n=(n+"").split("\n");var m=e("../tool/area").getTextHeight("鍥�",r);switch(l){case"top":o=h.y;break;case"bottom":o=h.y+m;break;default:o=h.y+m/2}for(var V=0,U=n.length;U>V;V++)t.fillText(n[V],a,o),o+=m}function i(t,i,n,a,o,r){var s=e("../tool/area"),l=s.getTextWidth(t,a),h=s.getTextHeight("鍥�",a);switch(t=(t+"").split("\n"),o){case"end":case"right":i-=l;break;case"center":i-=l/2}switch(r){case"top":break;case"bottom":n-=h*t.length;break;default:n-=h*t.length/2}return{x:i,y:n,width:l,height:h*t.length}}var n=window.G_vmlCanvasManager,a=e("../tool/matrix"),o=e("../tool/guid"),r=e("../tool/util"),s=e("../tool/log"),l=e("../mixin/Transformable"),h=e("../mixin/Eventful"),m=function(e){e=e||{},this.id=e.id||o();for(var t in e)this[t]=e[t];this.style=this.style||{},this.highlightStyle=this.highlightStyle||null,this.parent=null,this.__dirty=!0,this.__clipShapes=[],l.call(this),h.call(this)};m.prototype.invisible=!1,m.prototype.ignore=!1,m.prototype.zlevel=0,m.prototype.draggable=!1,m.prototype.clickable=!1,m.prototype.hoverable=!0,m.prototype.z=0,m.prototype.brush=function(e,t){var i=this.beforeBrush(e,t);switch(e.beginPath(),this.buildPath(e,i),i.brushType){case"both":e.fill();case"stroke":i.lineWidth>0&&e.stroke();break;default:e.fill()}this.drawText(e,i,this.style),this.afterBrush(e)},m.prototype.beforeBrush=function(e,t){var i=this.style;return this.brushTypeOnly&&(i.brushType=this.brushTypeOnly),t&&(i=this.getHighlightStyle(i,this.highlightStyle||{},this.brushTypeOnly)),"stroke"==this.brushTypeOnly&&(i.strokeColor=i.strokeColor||i.color),e.save(),this.doClip(e),this.setContext(e,i),this.setTransform(e),i},m.prototype.afterBrush=function(e){e.restore()};var V=[["color","fillStyle"],["strokeColor","strokeStyle"],["opacity","globalAlpha"],["lineCap","lineCap"],["lineJoin","lineJoin"],["miterLimit","miterLimit"],["lineWidth","lineWidth"],["shadowBlur","shadowBlur"],["shadowColor","shadowColor"],["shadowOffsetX","shadowOffsetX"],["shadowOffsetY","shadowOffsetY"]];m.prototype.setContext=function(e,t){for(var i=0,n=V.length;n>i;i++){var a=V[i][0],o=t[a],r=V[i][1];"undefined"!=typeof o&&(e[r]=o)}};var U=a.create();return m.prototype.doClip=function(e){if(this.__clipShapes&&!n)for(var t=0;t<this.__clipShapes.length;t++){var i=this.__clipShapes[t];if(i.needTransform){var o=i.transform;a.invert(U,o),e.transform(o[0],o[1],o[2],o[3],o[4],o[5])}if(e.beginPath(),i.buildPath(e,i.style),e.clip(),i.needTransform){var o=U;e.transform(o[0],o[1],o[2],o[3],o[4],o[5])}}},m.prototype.getHighlightStyle=function(t,i,n){var a={};for(var o in t)a[o]=t[o];var r=e("../tool/color"),s=r.getHighlightColor();"stroke"!=t.brushType?(a.strokeColor=s,a.lineWidth=(t.lineWidth||1)+this.getHighlightZoom(),a.brushType="both"):"stroke"!=n?(a.strokeColor=s,a.lineWidth=(t.lineWidth||1)+this.getHighlightZoom()):a.strokeColor=i.strokeColor||r.mix(t.strokeColor,r.toRGB(s));for(var o in i)"undefined"!=typeof i[o]&&(a[o]=i[o]);return a},m.prototype.getHighlightZoom=function(){return"text"!=this.type?6:2},m.prototype.drift=function(e,t){this.position[0]+=e,this.position[1]+=t},m.prototype.buildPath=function(){s("buildPath not implemented in "+this.type)},m.prototype.getRect=function(){s("getRect not implemented in "+this.type)},m.prototype.isCover=function(t,i){var n=this.transformCoordToLocal(t,i);return t=n[0],i=n[1],this.isCoverRect(t,i)?e("../tool/area").isInside(this,this.style,t,i):!1},m.prototype.isCoverRect=function(e,t){var i=this.style.__rect;return i||(i=this.style.__rect=this.getRect(this.style)),e>=i.x&&e<=i.x+i.width&&t>=i.y&&t<=i.y+i.height},m.prototype.drawText=function(e,i,n){if("undefined"!=typeof i.text&&i.text!==!1){var a=i.textColor||i.color||i.strokeColor;e.fillStyle=a;var o,r,s,l,h=10,m=i.textPosition||this.textPosition||"top";switch(m){case"inside":case"top":case"bottom":case"left":case"right":if(this.getRect){var V=(n||i).__rect||this.getRect(n||i);switch(m){case"inside":s=V.x+V.width/2,l=V.y+V.height/2,o="center",r="middle","stroke"!=i.brushType&&a==i.color&&(e.fillStyle="#fff");break;case"left":s=V.x-h,l=V.y+V.height/2,o="end",r="middle";break;case"right":s=V.x+V.width+h,l=V.y+V.height/2,o="start",r="middle";break;case"top":s=V.x+V.width/2,l=V.y-h,o="center",r="bottom";break;case"bottom":s=V.x+V.width/2,l=V.y+V.height+h,o="center",r="top"}}break;case"start":case"end":var U=i.pointList||[[i.xStart||0,i.yStart||0],[i.xEnd||0,i.yEnd||0]],d=U.length;if(2>d)return;var p,c,u,y;switch(m){case"start":p=U[1][0],c=U[0][0],u=U[1][1],y=U[0][1];break;case"end":p=U[d-2][0],c=U[d-1][0],u=U[d-2][1],y=U[d-1][1]}s=c,l=y;var g=Math.atan((u-y)/(c-p))/Math.PI*180;0>c-p?g+=180:0>u-y&&(g+=360),h=5,g>=30&&150>=g?(o="center",r="bottom",l-=h):g>150&&210>g?(o="right",r="middle",s-=h):g>=210&&330>=g?(o="center",r="top",l+=h):(o="left",r="middle",s+=h);break;case"specific":s=i.textX||0,l=i.textY||0,o="start",r="middle"}null!=s&&null!=l&&t(e,i.text,s,l,i.textFont,i.textAlign||o,i.textBaseline||r)}},m.prototype.modSelf=function(){this.__dirty=!0,this.style&&(this.style.__rect=null),this.highlightStyle&&(this.highlightStyle.__rect=null)},m.prototype.isSilent=function(){return!(this.hoverable||this.draggable||this.clickable||this.onmousemove||this.onmouseover||this.onmouseout||this.onmousedown||this.onmouseup||this.onclick||this.ondragenter||this.ondragover||this.ondragleave||this.ondrop)},r.merge(m.prototype,l.prototype,!0),r.merge(m.prototype,h.prototype,!0),m}),i("zrender/tool/curve",["require","./vector"],function(e){function t(e){return e>-u&&u>e}function i(e){return e>u||-u>e}function n(e,t,i,n,a){var o=1-a;return o*o*(o*e+3*a*t)+a*a*(a*n+3*o*i)}function a(e,t,i,n,a){var o=1-a;return 3*(((t-e)*o+2*(i-t)*a)*o+(n-i)*a*a)}function o(e,i,n,a,o,r){var s=a+3*(i-n)-e,l=3*(n-2*i+e),h=3*(i-e),m=e-o,V=l*l-3*s*h,U=l*h-9*s*m,d=h*h-3*l*m,p=0;if(t(V)&&t(U))if(t(l))r[0]=0;else{var c=-h/l;c>=0&&1>=c&&(r[p++]=c)}else{var u=U*U-4*V*d;if(t(u)){var b=U/V,c=-l/s+b,f=-b/2;c>=0&&1>=c&&(r[p++]=c),f>=0&&1>=f&&(r[p++]=f)}else if(u>0){var k=Math.sqrt(u),x=V*l+1.5*s*(-U+k),_=V*l+1.5*s*(-U-k);x=0>x?-Math.pow(-x,g):Math.pow(x,g),_=0>_?-Math.pow(-_,g):Math.pow(_,g);var c=(-l-(x+_))/(3*s);c>=0&&1>=c&&(r[p++]=c)}else{var L=(2*V*l-3*s*U)/(2*Math.sqrt(V*V*V)),W=Math.acos(L)/3,X=Math.sqrt(V),v=Math.cos(W),c=(-l-2*X*v)/(3*s),f=(-l+X*(v+y*Math.sin(W)))/(3*s),w=(-l+X*(v-y*Math.sin(W)))/(3*s);c>=0&&1>=c&&(r[p++]=c),f>=0&&1>=f&&(r[p++]=f),w>=0&&1>=w&&(r[p++]=w)}}return p}function r(e,n,a,o,r){var s=6*a-12*n+6*e,l=9*n+3*o-3*e-9*a,h=3*n-3*e,m=0;if(t(l)){if(i(s)){var V=-h/s;V>=0&&1>=V&&(r[m++]=V)}}else{var U=s*s-4*l*h;if(t(U))r[0]=-s/(2*l);else if(U>0){var d=Math.sqrt(U),V=(-s+d)/(2*l),p=(-s-d)/(2*l);V>=0&&1>=V&&(r[m++]=V),p>=0&&1>=p&&(r[m++]=p)}}return m}function s(e,t,i,n,a,o){var r=(t-e)*a+e,s=(i-t)*a+t,l=(n-i)*a+i,h=(s-r)*a+r,m=(l-s)*a+s,V=(m-h)*a+h;o[0]=e,o[1]=r,o[2]=h,o[3]=V,o[4]=V,o[5]=m,o[6]=l,o[7]=n}function l(e,t,i,a,o,r,s,l,h,m,V){var U,d=.005,p=1/0;b[0]=h,b[1]=m;for(var y=0;1>y;y+=.05){f[0]=n(e,i,o,s,y),f[1]=n(t,a,r,l,y);var g=c.distSquare(b,f);p>g&&(U=y,p=g)}p=1/0;for(var x=0;32>x&&!(u>d);x++){var _=U-d,L=U+d;f[0]=n(e,i,o,s,_),f[1]=n(t,a,r,l,_);var g=c.distSquare(f,b);if(_>=0&&p>g)U=_,p=g;else{k[0]=n(e,i,o,s,L),k[1]=n(t,a,r,l,L);var W=c.distSquare(k,b);1>=L&&p>W?(U=L,p=W):d*=.5}}return V&&(V[0]=n(e,i,o,s,U),V[1]=n(t,a,r,l,U)),Math.sqrt(p)}function h(e,t,i,n){var a=1-n;return a*(a*e+2*n*t)+n*n*i}function m(e,t,i,n){return 2*((1-n)*(t-e)+n*(i-t))}function V(e,n,a,o,r){var s=e-2*n+a,l=2*(n-e),h=e-o,m=0;if(t(s)){if(i(l)){var V=-h/l;V>=0&&1>=V&&(r[m++]=V)}}else{var U=l*l-4*s*h;if(t(U)){var V=-l/(2*s);V>=0&&1>=V&&(r[m++]=V)}else if(U>0){var d=Math.sqrt(U),V=(-l+d)/(2*s),p=(-l-d)/(2*s);V>=0&&1>=V&&(r[m++]=V),p>=0&&1>=p&&(r[m++]=p)}}return m}function U(e,t,i){var n=e+i-2*t;return 0===n?.5:(e-t)/n}function d(e,t,i,n,a){var o=(t-e)*n+e,r=(i-t)*n+t,s=(r-o)*n+o;a[0]=e,a[1]=o,a[2]=s,a[3]=s,a[4]=r,a[5]=i}function p(e,t,i,n,a,o,r,s,l){var m,V=.005,U=1/0;b[0]=r,b[1]=s;for(var d=0;1>d;d+=.05){f[0]=h(e,i,a,d),f[1]=h(t,n,o,d);var p=c.distSquare(b,f);U>p&&(m=d,U=p)}U=1/0;for(var y=0;32>y&&!(u>V);y++){var g=m-V,x=m+V;f[0]=h(e,i,a,g),f[1]=h(t,n,o,g);var p=c.distSquare(f,b);if(g>=0&&U>p)m=g,U=p;else{k[0]=h(e,i,a,x),k[1]=h(t,n,o,x);var _=c.distSquare(k,b);1>=x&&U>_?(m=x,U=_):V*=.5}}return l&&(l[0]=h(e,i,a,m),l[1]=h(t,n,o,m)),Math.sqrt(U)}var c=e("./vector"),u=1e-4,y=Math.sqrt(3),g=1/3,b=c.create(),f=c.create(),k=c.create();return{cubicAt:n,cubicDerivativeAt:a,cubicRootAt:o,cubicExtrema:r,cubicSubdivide:s,cubicProjectPoint:l,quadraticAt:h,quadraticDerivativeAt:m,quadraticRootAt:V,quadraticExtremum:U,quadraticSubdivide:d,quadraticProjectPoint:p}}),i("zrender/mixin/Transformable",["require","../tool/matrix","../tool/vector"],function(e){"use strict";function t(e){return e>-s&&s>e}function i(e){return e>s||-s>e}var n=e("../tool/matrix"),a=e("../tool/vector"),o=[0,0],r=n.translate,s=5e-5,l=function(){this.position||(this.position=[0,0]),"undefined"==typeof this.rotation&&(this.rotation=[0,0,0]),this.scale||(this.scale=[1,1,0,0]),this.needLocalTransform=!1,this.needTransform=!1};return l.prototype={constructor:l,updateNeedTransform:function(){this.needLocalTransform=i(this.rotation[0])||i(this.position[0])||i(this.position[1])||i(this.scale[0]-1)||i(this.scale[1]-1)},updateTransform:function(){this.updateNeedTransform();var e=this.parent&&this.parent.needTransform;if(this.needTransform=this.needLocalTransform||e,this.needTransform){var t=this.transform||n.create();if(n.identity(t),this.needLocalTransform){var a=this.scale;if(i(a[0])||i(a[1])){o[0]=-a[2]||0,o[1]=-a[3]||0;var s=i(o[0])||i(o[1]);s&&r(t,t,o),n.scale(t,t,a),s&&(o[0]=-o[0],o[1]=-o[1],r(t,t,o))}if(this.rotation instanceof Array){if(0!==this.rotation[0]){o[0]=-this.rotation[1]||0,o[1]=-this.rotation[2]||0;var s=i(o[0])||i(o[1]);s&&r(t,t,o),n.rotate(t,t,this.rotation[0]),s&&(o[0]=-o[0],o[1]=-o[1],r(t,t,o))}}else 0!==this.rotation&&n.rotate(t,t,this.rotation);(i(this.position[0])||i(this.position[1]))&&r(t,t,this.position)}e&&(this.needLocalTransform?n.mul(t,this.parent.transform,t):n.copy(t,this.parent.transform)),this.transform=t,this.invTransform=this.invTransform||n.create(),n.invert(this.invTransform,t)}},setTransform:function(e){if(this.needTransform){var t=this.transform;e.transform(t[0],t[1],t[2],t[3],t[4],t[5])}},lookAt:function(){var e=a.create();return function(i){this.transform||(this.transform=n.create());var o=this.transform;if(a.sub(e,i,this.position),!t(e[0])||!t(e[1])){a.normalize(e,e);var r=this.scale;o[2]=e[0]*r[1],o[3]=e[1]*r[1],o[0]=e[1]*r[0],o[1]=-e[0]*r[0],o[4]=this.position[0],o[5]=this.position[1],this.decomposeTransform()}}}(),decomposeTransform:function(){if(this.transform){var e=this.transform,t=e[0]*e[0]+e[1]*e[1],n=this.position,a=this.scale,o=this.rotation;i(t-1)&&(t=Math.sqrt(t));var r=e[2]*e[2]+e[3]*e[3];i(r-1)&&(r=Math.sqrt(r)),n[0]=e[4],n[1]=e[5],a[0]=t,a[1]=r,a[2]=a[3]=0,o[0]=Math.atan2(-e[1]/r,e[0]/t),o[1]=o[2]=0}},transformCoordToLocal:function(e,t){var i=[e,t];return this.needTransform&&this.invTransform&&a.applyTransform(i,i,this.invTransform),i}},l}),i("zrender/Group",["require","./tool/guid","./tool/util","./mixin/Transformable","./mixin/Eventful"],function(e){var t=e("./tool/guid"),i=e("./tool/util"),n=e("./mixin/Transformable"),a=e("./mixin/Eventful"),o=function(e){e=e||{},this.id=e.id||t();for(var i in e)this[i]=e[i];this.type="group",this.clipShape=null,this._children=[],this._storage=null,this.__dirty=!0,n.call(this),a.call(this)};return o.prototype.ignore=!1,o.prototype.children=function(){return this._children.slice()},o.prototype.childAt=function(e){return this._children[e]},o.prototype.addChild=function(e){e!=this&&e.parent!=this&&(e.parent&&e.parent.removeChild(e),this._children.push(e),e.parent=this,this._storage&&this._storage!==e._storage&&(this._storage.addToMap(e),e instanceof o&&e.addChildrenToStorage(this._storage)))},o.prototype.removeChild=function(e){var t=i.indexOf(this._children,e);t>=0&&this._children.splice(t,1),e.parent=null,this._storage&&(this._storage.delFromMap(e.id),e instanceof o&&e.delChildrenFromStorage(this._storage))},o.prototype.clearChildren=function(){for(var e=0;e<this._children.length;e++){var t=this._children[e];this._storage&&(this._storage.delFromMap(t.id),t instanceof o&&t.delChildrenFromStorage(this._storage))}this._children.length=0},o.prototype.eachChild=function(e,t){for(var i=!!t,n=0;n<this._children.length;n++){var a=this._children[n];i?e.call(t,a):e(a)}},o.prototype.traverse=function(e,t){for(var i=!!t,n=0;n<this._children.length;n++){var a=this._children[n];i?e.call(t,a):e(a),"group"===a.type&&a.traverse(e,t)}},o.prototype.addChildrenToStorage=function(e){for(var t=0;t<this._children.length;t++){var i=this._children[t];e.addToMap(i),i instanceof o&&i.addChildrenToStorage(e)}},o.prototype.delChildrenFromStorage=function(e){for(var t=0;t<this._children.length;t++){var i=this._children[t];e.delFromMap(i.id),i instanceof o&&i.delChildrenFromStorage(e)}},o.prototype.modSelf=function(){this.__dirty=!0},i.merge(o.prototype,n.prototype,!0),i.merge(o.prototype,a.prototype,!0),o}),i("zrender/animation/Clip",["require","./easing"],function(e){function t(e){this._targetPool=e.target||{},this._targetPool instanceof Array||(this._targetPool=[this._targetPool]),this._life=e.life||1e3,this._delay=e.delay||0,this._startTime=(new Date).getTime()+this._delay,this._endTime=this._startTime+1e3*this._life,this.loop="undefined"==typeof e.loop?!1:e.loop,this.gap=e.gap||0,this.easing=e.easing||"Linear",this.onframe=e.onframe,this.ondestroy=e.ondestroy,this.onrestart=e.onrestart}var i=e("./easing");return t.prototype={step:function(e){var t=(e-this._startTime)/this._life;if(!(0>t)){t=Math.min(t,1);var n="string"==typeof this.easing?i[this.easing]:this.easing,a="function"==typeof n?n(t):t;return this.fire("frame",a),1==t?this.loop?(this.restart(),"restart"):(this.__needsRemove=!0,"destroy"):null}},restart:function(){var e=(new Date).getTime(),t=(e-this._startTime)%this._life;this._startTime=(new Date).getTime()-t+this.gap,this.__needsRemove=!1},fire:function(e,t){for(var i=0,n=this._targetPool.length;n>i;i++)this["on"+e]&&this["on"+e](this._targetPool[i],t)},constructor:t},t}),i("zrender/animation/easing",[],function(){var e={Linear:function(e){return e},QuadraticIn:function(e){return e*e},QuadraticOut:function(e){return e*(2-e)},QuadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},CubicIn:function(e){return e*e*e},CubicOut:function(e){return--e*e*e+1},CubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},QuarticIn:function(e){return e*e*e*e},QuarticOut:function(e){return 1- --e*e*e*e},QuarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},QuinticIn:function(e){return e*e*e*e*e},QuinticOut:function(e){return--e*e*e*e*e+1},QuinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},SinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},SinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},SinusoidalInOut:function(e){return.5*(1-Math.cos(Math.PI*e))},ExponentialIn:function(e){return 0===e?0:Math.pow(1024,e-1)},ExponentialOut:function(e){return 1===e?1:1-Math.pow(2,-10*e)},ExponentialInOut:function(e){return 0===e?0:1===e?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(-Math.pow(2,-10*(e-1))+2)},CircularIn:function(e){return 1-Math.sqrt(1-e*e)},CircularOut:function(e){return Math.sqrt(1- --e*e)},CircularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},ElasticIn:function(e){var t,i=.1,n=.4;return 0===e?0:1===e?1:(!i||1>i?(i=1,t=n/4):t=n*Math.asin(1/i)/(2*Math.PI),-(i*Math.pow(2,10*(e-=1))*Math.sin(2*(e-t)*Math.PI/n)))},ElasticOut:function(e){var t,i=.1,n=.4;return 0===e?0:1===e?1:(!i||1>i?(i=1,t=n/4):t=n*Math.asin(1/i)/(2*Math.PI),i*Math.pow(2,-10*e)*Math.sin(2*(e-t)*Math.PI/n)+1)},ElasticInOut:function(e){var t,i=.1,n=.4;return 0===e?0:1===e?1:(!i||1>i?(i=1,t=n/4):t=n*Math.asin(1/i)/(2*Math.PI),(e*=2)<1?-.5*i*Math.pow(2,10*(e-=1))*Math.sin(2*(e-t)*Math.PI/n):i*Math.pow(2,-10*(e-=1))*Math.sin(2*(e-t)*Math.PI/n)*.5+1)},BackIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},BackOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},BackInOut:function(e){var t=2.5949095;return(e*=2)<1?.5*e*e*((t+1)*e-t):.5*((e-=2)*e*((t+1)*e+t)+2)},BounceIn:function(t){return 1-e.BounceOut(1-t)},BounceOut:function(e){return 1/2.75>e?7.5625*e*e:2/2.75>e?7.5625*(e-=1.5/2.75)*e+.75:2.5/2.75>e?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},BounceInOut:function(t){return.5>t?.5*e.BounceIn(2*t):.5*e.BounceOut(2*t-1)+.5}};return e}),i("echarts/chart/base",["require","zrender/shape/Image","../util/shape/Icon","../util/shape/MarkLine","../util/shape/Symbol","zrender/shape/Polyline","zrender/shape/ShapeBundle","../config","../util/ecData","../util/ecAnimation","../util/ecEffect","../util/accMath","../component/base","../layout/EdgeBundling","zrender/tool/util","zrender/tool/area"],function(e){function t(e){return null!=e.x&&null!=e.y}function i(e,t,i,n,a){p.call(this,e,t,i,n,a);var o=this;this.selectedMap={},this.lastShapeList=[],this.shapeHandler={onclick:function(){o.isClick=!0},ondragover:function(e){var t=e.target;t.highlightStyle=t.highlightStyle||{};var i=t.highlightStyle,n=i.brushTyep,a=i.strokeColor,r=i.lineWidth;i.brushType="stroke",i.strokeColor=o.ecTheme.calculableColor||h.calculableColor,i.lineWidth="icon"===t.type?30:10,o.zr.addHoverShape(t),setTimeout(function(){i&&(i.brushType=n,i.strokeColor=a,i.lineWidth=r)},20)},ondrop:function(e){null!=m.get(e.dragged,"data")&&(o.isDrop=!0)},ondragend:function(){o.isDragend=!0}}}var n=e("zrender/shape/Image"),a=e("../util/shape/Icon"),o=e("../util/shape/MarkLine"),r=e("../util/shape/Symbol"),s=e("zrender/shape/Polyline"),l=e("zrender/shape/ShapeBundle"),h=e("../config"),m=e("../util/ecData"),V=e("../util/ecAnimation"),U=e("../util/ecEffect"),d=e("../util/accMath"),p=e("../component/base"),c=e("../layout/EdgeBundling"),u=e("zrender/tool/util"),y=e("zrender/tool/area");return i.prototype={setCalculable:function(e){return e.dragEnableTime=this.ecTheme.DRAG_ENABLE_TIME||h.DRAG_ENABLE_TIME,e.ondragover=this.shapeHandler.ondragover,e.ondragend=this.shapeHandler.ondragend,e.ondrop=this.shapeHandler.ondrop,e},ondrop:function(e,t){if(this.isDrop&&e.target&&!t.dragIn){var i,n=e.target,a=e.dragged,o=m.get(n,"seriesIndex"),r=m.get(n,"dataIndex"),s=this.series,l=this.component.legend;if(-1===r){if(m.get(a,"seriesIndex")==o)return t.dragOut=t.dragIn=t.needRefresh=!0,void(this.isDrop=!1);i={value:m.get(a,"value"),name:m.get(a,"name")},this.type===h.CHART_TYPE_PIE&&i.value<0&&(i.value=0);for(var V=!1,U=s[o].data,p=0,c=U.length;c>p;p++)U[p].name===i.name&&"-"===U[p].value&&(s[o].data[p].value=i.value,V=!0);!V&&s[o].data.push(i),l&&l.add(i.name,a.style.color||a.style.strokeColor)}else i=s[o].data[r]||"-",null!=i.value?(s[o].data[r].value="-"!=i.value?d.accAdd(s[o].data[r].value,m.get(a,"value")):m.get(a,"value"),(this.type===h.CHART_TYPE_FUNNEL||this.type===h.CHART_TYPE_PIE)&&(l&&1===l.getRelatedAmount(i.name)&&this.component.legend.del(i.name),i.name+=this.option.nameConnector+m.get(a,"name"),l&&l.add(i.name,a.style.color||a.style.strokeColor))):s[o].data[r]="-"!=i?d.accAdd(s[o].data[r],m.get(a,"value")):m.get(a,"value");t.dragIn=t.dragIn||!0,this.isDrop=!1;var u=this;setTimeout(function(){u.zr.trigger("mousemove",e.event)},300)}},ondragend:function(e,t){if(this.isDragend&&e.target&&!t.dragOut){var i=e.target,n=m.get(i,"seriesIndex"),a=m.get(i,"dataIndex"),o=this.series;if(null!=o[n].data[a].value){o[n].data[a].value="-";var r=o[n].data[a].name,s=this.component.legend;s&&0===s.getRelatedAmount(r)&&s.del(r)}else o[n].data[a]="-";t.dragOut=!0,t.needRefresh=!0,this.isDragend=!1}},onlegendSelected:function(e,t){var i=e.selected;for(var n in this.selectedMap)this.selectedMap[n]!=i[n]&&(t.needRefresh=!0),this.selectedMap[n]=i[n]},_buildPosition:function(){this._symbol=this.option.symbolList,this._sIndex2ShapeMap={},this._sIndex2ColorMap={},this.selectedMap={},this.xMarkMap={};for(var e,t,i,n,a=this.series,o={top:[],bottom:[],left:[],right:[],other:[]},r=0,s=a.length;s>r;r++)a[r].type===this.type&&(a[r]=this.reformOption(a[r]),this.legendHoverLink=a[r].legendHoverLink||this.legendHoverLink,e=a[r].xAxisIndex,t=a[r].yAxisIndex,i=this.component.xAxis.getAxis(e),n=this.component.yAxis.getAxis(t),i.type===h.COMPONENT_TYPE_AXIS_CATEGORY?o[i.getPosition()].push(r):n.type===h.COMPONENT_TYPE_AXIS_CATEGORY?o[n.getPosition()].push(r):o.other.push(r));for(var l in o)o[l].length>0&&this._buildSinglePosition(l,o[l]);this.addShapeList()},_buildSinglePosition:function(e,t){var i=this._mapData(t),n=i.locationMap,a=i.maxDataLength;if(0!==a&&0!==n.length){switch(e){case"bottom":case"top":this._buildHorizontal(t,a,n,this.xMarkMap);break;case"left":case"right":this._buildVertical(t,a,n,this.xMarkMap);break;case"other":this._buildOther(t,a,n,this.xMarkMap)}for(var o=0,r=t.length;r>o;o++)this.buildMark(t[o])}},_mapData:function(e){for(var t,i,n,a,o=this.series,r=0,s={},l="__kener__stack__",m=this.component.legend,V=[],U=0,d=0,p=e.length;p>d;d++){if(t=o[e[d]],n=t.name,this._sIndex2ShapeMap[e[d]]=this._sIndex2ShapeMap[e[d]]||this.query(t,"symbol")||this._symbol[d%this._symbol.length],m){if(this.selectedMap[n]=m.isSelected(n),this._sIndex2ColorMap[e[d]]=m.getColor(n),a=m.getItemShape(n)){var c=a.style;if(this.type==h.CHART_TYPE_LINE)c.iconType="legendLineIcon",c.symbol=this._sIndex2ShapeMap[e[d]];else if(t.itemStyle.normal.barBorderWidth>0){var u=a.highlightStyle;c.brushType="both",c.x+=1,c.y+=1,c.width-=2,c.height-=2,c.strokeColor=u.strokeColor=t.itemStyle.normal.barBorderColor,u.lineWidth=3}m.setItemShape(n,a)}}else this.selectedMap[n]=!0,this._sIndex2ColorMap[e[d]]=this.zr.getColor(e[d]);this.selectedMap[n]&&(i=t.stack||l+e[d],null==s[i]?(s[i]=r,V[r]=[e[d]],r++):V[s[i]].push(e[d])),U=Math.max(U,t.data.length)}return{locationMap:V,maxDataLength:U}},_calculMarkMapXY:function(e,t,i){for(var n=this.series,a=0,o=t.length;o>a;a++)for(var r=0,s=t[a].length;s>r;r++){var l=t[a][r],h="xy"==i?0:"",m=this.component.grid,V=e[l];if("-1"!=i.indexOf("x")){V["counter"+h]>0&&(V["average"+h]=V["sum"+h]/V["counter"+h]);var U=this.component.xAxis.getAxis(n[l].xAxisIndex||0).getCoord(V["average"+h]);V["averageLine"+h]=[[U,m.getYend()],[U,m.getY()]],V["minLine"+h]=[[V["minX"+h],m.getYend()],[V["minX"+h],m.getY()]],V["maxLine"+h]=[[V["maxX"+h],m.getYend()],[V["maxX"+h],m.getY()]],V.isHorizontal=!1}if(h="xy"==i?1:"","-1"!=i.indexOf("y")){V["counter"+h]>0&&(V["average"+h]=V["sum"+h]/V["counter"+h]);var d=this.component.yAxis.getAxis(n[l].yAxisIndex||0).getCoord(V["average"+h]);V["averageLine"+h]=[[m.getX(),d],[m.getXend(),d]],V["minLine"+h]=[[m.getX(),V["minY"+h]],[m.getXend(),V["minY"+h]]],V["maxLine"+h]=[[m.getX(),V["maxY"+h]],[m.getXend(),V["maxY"+h]]],V.isHorizontal=!0}}},addLabel:function(e,t,i,n,a){var o=[i,t],r=this.deepMerge(o,"itemStyle.normal.label"),s=this.deepMerge(o,"itemStyle.emphasis.label"),l=r.textStyle||{},h=s.textStyle||{};
+
+if(r.show){var m=e.style;m.text=this._getLabelText(t,i,n,"normal"),m.textPosition=null==r.position?"horizontal"===a?"right":"top":r.position,m.textColor=l.color,m.textFont=this.getFont(l),m.textAlign=l.align,m.textBaseline=l.baseline}if(s.show){var V=e.highlightStyle;V.text=this._getLabelText(t,i,n,"emphasis"),V.textPosition=r.show?e.style.textPosition:null==s.position?"horizontal"===a?"right":"top":s.position,V.textColor=h.color,V.textFont=this.getFont(h),V.textAlign=h.align,V.textBaseline=h.baseline}return e},_getLabelText:function(e,t,i,n){var a=this.deepQuery([t,e],"itemStyle."+n+".label.formatter");a||"emphasis"!==n||(a=this.deepQuery([t,e],"itemStyle.normal.label.formatter"));var o=this.getDataFromOption(t,"-");return a?"function"==typeof a?a.call(this.myChart,{seriesName:e.name,series:e,name:i,value:o,data:t,status:n}):"string"==typeof a?a=a.replace("{a}","{a0}").replace("{b}","{b0}").replace("{c}","{c0}").replace("{a0}",e.name).replace("{b0}",i).replace("{c0}",this.numAddCommas(o)):void 0:o instanceof Array?null!=o[2]?this.numAddCommas(o[2]):o[0]+" , "+o[1]:this.numAddCommas(o)},buildMark:function(e){var t=this.series[e];this.selectedMap[t.name]&&(t.markLine&&this._buildMarkLine(e),t.markPoint&&this._buildMarkPoint(e))},_buildMarkPoint:function(e){for(var t,i,n=(this.markAttachStyle||{})[e],a=this.series[e],o=u.clone(a.markPoint),r=0,s=o.data.length;s>r;r++)t=o.data[r],i=this.getMarkCoord(e,t),t.x=null!=t.x?t.x:i[0],t.y=null!=t.y?t.y:i[1],!t.type||"max"!==t.type&&"min"!==t.type||(t.value=i[3],t.name=t.name||t.type,t.symbolSize=t.symbolSize||y.getTextWidth(i[3],this.getFont())/2+5);for(var l=this._markPoint(e,o),r=0,s=l.length;s>r;r++){var m=l[r];m.zlevel=a.zlevel,m.z=a.z+1;for(var V in n)m[V]=u.clone(n[V]);this.shapeList.push(m)}if(this.type===h.CHART_TYPE_FORCE||this.type===h.CHART_TYPE_CHORD)for(var r=0,s=l.length;s>r;r++)this.zr.addShape(l[r])},_buildMarkLine:function(e){for(var t,i=(this.markAttachStyle||{})[e],n=this.series[e],a=u.clone(n.markLine),o=0,r=a.data.length;r>o;o++){var s=a.data[o];!s.type||"max"!==s.type&&"min"!==s.type&&"average"!==s.type?t=[this.getMarkCoord(e,s[0]),this.getMarkCoord(e,s[1])]:(t=this.getMarkCoord(e,s),a.data[o]=[u.clone(s),{}],a.data[o][0].name=s.name||s.type,a.data[o][0].value="average"!==s.type?t[3]:+t[3].toFixed(null!=a.precision?a.precision:this.deepQuery([this.ecTheme,h],"markLine.precision")),t=t[2],s=[{},{}]),null!=t&&null!=t[0]&&null!=t[1]&&(a.data[o][0].x=null!=s[0].x?s[0].x:t[0][0],a.data[o][0].y=null!=s[0].y?s[0].y:t[0][1],a.data[o][1].x=null!=s[1].x?s[1].x:t[1][0],a.data[o][1].y=null!=s[1].y?s[1].y:t[1][1])}var m=this._markLine(e,a),V=a.large;if(V){var U=new l({style:{shapeList:m}}),d=m[0];if(d){u.merge(U.style,d.style),u.merge(U.highlightStyle={},d.highlightStyle),U.style.brushType="stroke",U.zlevel=n.zlevel,U.z=n.z+1,U.hoverable=!1;for(var p in i)U[p]=u.clone(i[p])}this.shapeList.push(U),this.zr.addShape(U),U._mark="largeLine";var c=a.effect;c.show&&(U.effect=c)}else{for(var o=0,r=m.length;r>o;o++){var y=m[o];y.zlevel=n.zlevel,y.z=n.z+1;for(var p in i)y[p]=u.clone(i[p]);this.shapeList.push(y)}if(this.type===h.CHART_TYPE_FORCE||this.type===h.CHART_TYPE_CHORD)for(var o=0,r=m.length;r>o;o++)this.zr.addShape(m[o])}},_markPoint:function(e,t){var i=this.series[e],n=this.component;u.merge(u.merge(t,u.clone(this.ecTheme.markPoint||{})),u.clone(h.markPoint)),t.name=i.name;var a,o,r,s,l,V,U,d=[],p=t.data,c=n.dataRange,y=n.legend,g=this.zr.getWidth(),b=this.zr.getHeight();if(t.large)a=this.getLargeMarkPointShape(e,t),a._mark="largePoint",a&&d.push(a);else for(var f=0,k=p.length;k>f;f++)null!=p[f].x&&null!=p[f].y&&(r=null!=p[f].value?p[f].value:"",y&&(o=y.getColor(i.name)),c&&(o=isNaN(r)?o:c.getColor(r),s=[p[f],t],l=this.deepQuery(s,"itemStyle.normal.color")||o,V=this.deepQuery(s,"itemStyle.emphasis.color")||l,null==l&&null==V)||(o=null==o?this.zr.getColor(e):o,p[f].tooltip=p[f].tooltip||t.tooltip||{trigger:"item"},p[f].name=null!=p[f].name?p[f].name:"",p[f].value=r,a=this.getSymbolShape(t,e,p[f],f,p[f].name,this.parsePercent(p[f].x,g),this.parsePercent(p[f].y,b),"pin",o,"rgba(0,0,0,0)","horizontal"),a._mark="point",U=this.deepMerge([p[f],t],"effect"),U.show&&(a.effect=U),i.type===h.CHART_TYPE_MAP&&(a._geo=this.getMarkGeo(p[f])),m.pack(a,i,e,p[f],f,p[f].name,r),d.push(a)));return d},_markLine:function(){function e(e,t){e[t]=e[t]instanceof Array?e[t].length>1?e[t]:[e[t][0],e[t][0]]:[e[t],e[t]]}return function(i,n){var a=this.series[i],o=this.component,r=o.dataRange,s=o.legend;u.merge(u.merge(n,u.clone(this.ecTheme.markLine||{})),u.clone(h.markLine));var l=s?s.getColor(a.name):this.zr.getColor(i);e(n,"symbol"),e(n,"symbolSize"),e(n,"symbolRotate");for(var V=n.data,U=[],d=this.zr.getWidth(),p=this.zr.getHeight(),y=0;y<V.length;y++){var g=V[y];if(t(g[0])&&t(g[1])){var b=this.deepMerge(g),f=[b,n],k=l,x=null!=b.value?b.value:"";if(r){k=isNaN(x)?k:r.getColor(x);var _=this.deepQuery(f,"itemStyle.normal.color")||k,L=this.deepQuery(f,"itemStyle.emphasis.color")||_;if(null==_&&null==L)continue}g[0].tooltip=b.tooltip||n.tooltip||{trigger:"item"},g[0].name=g[0].name||"",g[1].name=g[1].name||"",g[0].value=x,U.push({points:[[this.parsePercent(g[0].x,d),this.parsePercent(g[0].y,p)],[this.parsePercent(g[1].x,d),this.parsePercent(g[1].y,p)]],rawData:g,color:k})}}var W=this.query(n,"bundling.enable");if(W){var X=new c;X.maxTurningAngle=this.query(n,"bundling.maxTurningAngle")/180*Math.PI,U=X.run(U)}n.name=a.name;for(var v=[],y=0,w=U.length;w>y;y++){var K=U[y],I=K.rawEdge||K,g=I.rawData,x=null!=g.value?g.value:"",J=this.getMarkLineShape(n,i,g,y,K.points,W,I.color);J._mark="line";var C=this.deepMerge([g[0],g[1],n],"effect");C.show&&(J.effect=C,J.effect.large=n.large),a.type===h.CHART_TYPE_MAP&&(J._geo=[this.getMarkGeo(g[0]),this.getMarkGeo(g[1])]),m.pack(J,a,i,g[0],y,g[0].name+(""!==g[1].name?" > "+g[1].name:""),x),v.push(J)}return v}}(),getMarkCoord:function(){return[0,0]},getSymbolShape:function(e,t,i,o,r,s,l,h,V,U,d){var p=[i,e],c=this.getDataFromOption(i,"-");h=this.deepQuery(p,"symbol")||h;var u=this.deepQuery(p,"symbolSize");u="function"==typeof u?u(c):u,"number"==typeof u&&(u=[u,u]);var y=this.deepQuery(p,"symbolRotate"),g=this.deepMerge(p,"itemStyle.normal"),b=this.deepMerge(p,"itemStyle.emphasis"),f=null!=g.borderWidth?g.borderWidth:g.lineStyle&&g.lineStyle.width;null==f&&(f=h.match("empty")?2:0);var k=null!=b.borderWidth?b.borderWidth:b.lineStyle&&b.lineStyle.width;null==k&&(k=f+2);var x=this.getItemStyleColor(g.color,t,o,i),_=this.getItemStyleColor(b.color,t,o,i),L=u[0],W=u[1],X=new a({style:{iconType:h.replace("empty","").toLowerCase(),x:s-L,y:l-W,width:2*L,height:2*W,brushType:"both",color:h.match("empty")?U:x||V,strokeColor:g.borderColor||x||V,lineWidth:f},highlightStyle:{color:h.match("empty")?U:_||x||V,strokeColor:b.borderColor||g.borderColor||_||x||V,lineWidth:k},clickable:this.deepQuery(p,"clickable")});return h.match("image")&&(X.style.image=h.replace(new RegExp("^image:\\/\\/"),""),X=new n({style:X.style,highlightStyle:X.highlightStyle,clickable:this.deepQuery(p,"clickable")})),null!=y&&(X.rotation=[y*Math.PI/180,s,l]),h.match("star")&&(X.style.iconType="star",X.style.n=h.replace("empty","").replace("star","")-0||5),"none"===h&&(X.invisible=!0,X.hoverable=!1),X=this.addLabel(X,e,i,r,d),h.match("empty")&&(null==X.style.textColor&&(X.style.textColor=X.style.strokeColor),null==X.highlightStyle.textColor&&(X.highlightStyle.textColor=X.highlightStyle.strokeColor)),m.pack(X,e,t,i,o,r),X._x=s,X._y=l,X._dataIndex=o,X._seriesIndex=t,X},getMarkLineShape:function(e,t,i,n,a,r,l){var h=null!=i[0].value?i[0].value:"-",m=null!=i[1].value?i[1].value:"-",V=[i[0].symbol||e.symbol[0],i[1].symbol||e.symbol[1]],U=[i[0].symbolSize||e.symbolSize[0],i[1].symbolSize||e.symbolSize[1]];U[0]="function"==typeof U[0]?U[0](h):U[0],U[1]="function"==typeof U[1]?U[1](m):U[1];var d=[this.query(i[0],"symbolRotate")||e.symbolRotate[0],this.query(i[1],"symbolRotate")||e.symbolRotate[1]],p=[i[0],i[1],e],c=this.deepMerge(p,"itemStyle.normal");c.color=this.getItemStyleColor(c.color,t,n,i);var u=this.deepMerge(p,"itemStyle.emphasis");u.color=this.getItemStyleColor(u.color,t,n,i);var y=c.lineStyle,g=u.lineStyle,b=y.width;null==b&&(b=c.borderWidth);var f=g.width;null==f&&(f=null!=u.borderWidth?u.borderWidth:b+2);var k=this.deepQuery(p,"smoothness");this.deepQuery(p,"smooth")||(k=0);var x=r?s:o,_=new x({style:{symbol:V,symbolSize:U,symbolRotate:d,brushType:"both",lineType:y.type,shadowColor:y.shadowColor||y.color||c.borderColor||c.color||l,shadowBlur:y.shadowBlur,shadowOffsetX:y.shadowOffsetX,shadowOffsetY:y.shadowOffsetY,color:c.color||l,strokeColor:y.color||c.borderColor||c.color||l,lineWidth:b,symbolBorderColor:c.borderColor||c.color||l,symbolBorder:c.borderWidth},highlightStyle:{shadowColor:g.shadowColor,shadowBlur:g.shadowBlur,shadowOffsetX:g.shadowOffsetX,shadowOffsetY:g.shadowOffsetY,color:u.color||c.color||l,strokeColor:g.color||y.color||u.borderColor||c.borderColor||u.color||c.color||l,lineWidth:f,symbolBorderColor:u.borderColor||c.borderColor||u.color||c.color||l,symbolBorder:null==u.borderWidth?c.borderWidth+2:u.borderWidth},clickable:this.deepQuery(p,"clickable")}),L=_.style;return r?(L.pointList=a,L.smooth=k):(L.xStart=a[0][0],L.yStart=a[0][1],L.xEnd=a[1][0],L.yEnd=a[1][1],L.curveness=k,_.updatePoints(_.style)),_=this.addLabel(_,e,i[0],i[0].name+" : "+i[1].name)},getLargeMarkPointShape:function(e,t){var i,n,a,o,s,l,h=this.series[e],m=this.component,V=t.data,U=m.dataRange,d=m.legend,p=[V[0],t];if(d&&(n=d.getColor(h.name)),!U||(a=null!=V[0].value?V[0].value:"",n=isNaN(a)?n:U.getColor(a),o=this.deepQuery(p,"itemStyle.normal.color")||n,s=this.deepQuery(p,"itemStyle.emphasis.color")||o,null!=o||null!=s)){n=this.deepMerge(p,"itemStyle.normal").color||n;var c=this.deepQuery(p,"symbol")||"circle";c=c.replace("empty","").replace(/\d/g,""),l=this.deepMerge([V[0],t],"effect");var u=window.devicePixelRatio||1;return i=new r({style:{pointList:V,color:n,strokeColor:n,shadowColor:l.shadowColor||n,shadowBlur:(null!=l.shadowBlur?l.shadowBlur:8)*u,size:this.deepQuery(p,"symbolSize"),iconType:c,brushType:"fill",lineWidth:1},draggable:!1,hoverable:!1}),l.show&&(i.effect=l),i}},backupShapeList:function(){this.shapeList&&this.shapeList.length>0?(this.lastShapeList=this.shapeList,this.shapeList=[]):this.lastShapeList=[]},addShapeList:function(){var e,t,i=this.option.animationThreshold/(this.canvasSupported?2:4),n=this.lastShapeList,a=this.shapeList,o=n.length>0,r=o?this.query(this.option,"animationDurationUpdate"):this.query(this.option,"animationDuration"),s=this.query(this.option,"animationEasing"),l={},m={};if(this.option.animation&&!this.option.renderAsImage&&a.length<i&&!this.motionlessOnce){for(var V=0,U=n.length;U>V;V++)t=this._getAnimationKey(n[V]),t.match("undefined")?this.zr.delShape(n[V].id):(t+=n[V].type,l[t]?this.zr.delShape(n[V].id):l[t]=n[V]);for(var V=0,U=a.length;U>V;V++)t=this._getAnimationKey(a[V]),t.match("undefined")?this.zr.addShape(a[V]):(t+=a[V].type,m[t]=a[V]);for(t in l)m[t]||this.zr.delShape(l[t].id);for(t in m)l[t]?(this.zr.delShape(l[t].id),this._animateMod(l[t],m[t],r,s,0,o)):(e=this.type!=h.CHART_TYPE_LINE&&this.type!=h.CHART_TYPE_RADAR||0===t.indexOf("icon")?0:r/2,this._animateMod(!1,m[t],r,s,e,o));this.zr.refresh(),this.animationEffect()}else{this.motionlessOnce=!1,this.zr.delShape(n);for(var V=0,U=a.length;U>V;V++)this.zr.addShape(a[V])}},_getAnimationKey:function(e){return this.type!=h.CHART_TYPE_MAP&&this.type!=h.CHART_TYPE_TREEMAP&&this.type!=h.CHART_TYPE_VENN&&this.type!=h.CHART_TYPE_TREE?m.get(e,"seriesIndex")+"_"+m.get(e,"dataIndex")+(e._mark?e._mark:"")+(this.type===h.CHART_TYPE_RADAR?m.get(e,"special"):""):m.get(e,"seriesIndex")+"_"+m.get(e,"dataIndex")+(e._mark?e._mark:"undefined")},_animateMod:function(e,t,i,n,a,o){switch(t.type){case"polyline":case"half-smooth-polygon":V.pointList(this.zr,e,t,i,n);break;case"rectangle":V.rectangle(this.zr,e,t,i,n);break;case"image":case"icon":V.icon(this.zr,e,t,i,n,a);break;case"candle":o?this.zr.addShape(t):V.candle(this.zr,e,t,i,n);break;case"ring":case"sector":case"circle":o?"sector"===t.type?V.sector(this.zr,e,t,i,n):this.zr.addShape(t):V.ring(this.zr,e,t,i+(m.get(t,"dataIndex")||0)%20*100,n);break;case"text":V.text(this.zr,e,t,i,n);break;case"polygon":o?V.pointList(this.zr,e,t,i,n):V.polygon(this.zr,e,t,i,n);break;case"ribbon":V.ribbon(this.zr,e,t,i,n);break;case"gauge-pointer":V.gaugePointer(this.zr,e,t,i,n);break;case"mark-line":V.markline(this.zr,e,t,i,n);break;case"bezier-curve":case"line":V.line(this.zr,e,t,i,n);break;default:this.zr.addShape(t)}},animationMark:function(e,t,i){for(var i=i||this.shapeList,n=0,a=i.length;a>n;n++)i[n]._mark&&this._animateMod(!1,i[n],e,t,0,!0);this.animationEffect(i)},animationEffect:function(e){if(!e&&this.clearEffectShape(),e=e||this.shapeList,null!=e){var t=h.EFFECT_ZLEVEL;this.canvasSupported&&this.zr.modLayer(t,{motionBlur:!0,lastFrameAlpha:this.option.effectBlendAlpha||h.effectBlendAlpha});for(var i,n=0,a=e.length;a>n;n++)i=e[n],i._mark&&i.effect&&i.effect.show&&U[i._mark]&&(U[i._mark](this.zr,this.effectList,i,t),this.effectList[this.effectList.length-1]._mark=i._mark)}},clearEffectShape:function(e){var t=this.effectList;if(this.zr&&t&&t.length>0){e&&this.zr.modLayer(h.EFFECT_ZLEVEL,{motionBlur:!1}),this.zr.delShape(t);for(var i=0;i<t.length;i++)t[i].effectAnimator&&t[i].effectAnimator.stop()}this.effectList=[]},addMark:function(e,t,i){var n=this.series[e];if(this.selectedMap[n.name]){var a=this.query(this.option,"animationDurationUpdate"),o=this.query(this.option,"animationEasing"),r=n[i].data,s=this.shapeList.length;if(n[i].data=t.data,this["_build"+i.replace("m","M")](e),this.option.animation&&!this.option.renderAsImage)this.animationMark(a,o,this.shapeList.slice(s));else{for(var l=s,h=this.shapeList.length;h>l;l++)this.zr.addShape(this.shapeList[l]);this.zr.refreshNextFrame()}n[i].data=r}},delMark:function(e,t,i){i=i.replace("mark","").replace("large","").toLowerCase();var n=this.series[e];if(this.selectedMap[n.name]){for(var a=!1,o=[this.shapeList,this.effectList],r=2;r--;)for(var s=0,l=o[r].length;l>s;s++)if(o[r][s]._mark==i&&m.get(o[r][s],"seriesIndex")==e&&m.get(o[r][s],"name")==t){this.zr.delShape(o[r][s].id),o[r].splice(s,1),a=!0;break}a&&this.zr.refreshNextFrame()}}},u.inherits(i,p),i}),i("zrender/shape/Circle",["require","./Base","../tool/util"],function(e){"use strict";var t=e("./Base"),i=function(e){t.call(this,e)};return i.prototype={type:"circle",buildPath:function(e,t){e.moveTo(t.x+t.r,t.y),e.arc(t.x,t.y,t.r,0,2*Math.PI,!0)},getRect:function(e){if(e.__rect)return e.__rect;var t;return t="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(e.x-e.r-t/2),y:Math.round(e.y-e.r-t/2),width:2*e.r+t,height:2*e.r+t},e.__rect}},e("../tool/util").inherits(i,t),i}),i("echarts/util/accMath",[],function(){function e(e,t){var i=e.toString(),n=t.toString(),a=0;try{a=n.split(".")[1].length}catch(o){}try{a-=i.split(".")[1].length}catch(o){}return(i.replace(".","")-0)/(n.replace(".","")-0)*Math.pow(10,a)}function t(e,t){var i=e.toString(),n=t.toString(),a=0;try{a+=i.split(".")[1].length}catch(o){}try{a+=n.split(".")[1].length}catch(o){}return(i.replace(".","")-0)*(n.replace(".","")-0)/Math.pow(10,a)}function i(e,t){var i=0,n=0;try{i=e.toString().split(".")[1].length}catch(a){}try{n=t.toString().split(".")[1].length}catch(a){}var o=Math.pow(10,Math.max(i,n));return(Math.round(e*o)+Math.round(t*o))/o}function n(e,t){return i(e,-t)}return{accDiv:e,accMul:t,accAdd:i,accSub:n}}),i("echarts/util/shape/Icon",["require","zrender/tool/util","zrender/shape/Star","zrender/shape/Heart","zrender/shape/Droplet","zrender/shape/Image","zrender/shape/Base"],function(e){function t(e,t){var i=t.x,n=t.y,a=t.width/16,o=t.height/16;e.moveTo(i,n+t.height),e.lineTo(i+5*a,n+14*o),e.lineTo(i+t.width,n+3*o),e.lineTo(i+13*a,n),e.lineTo(i+2*a,n+11*o),e.lineTo(i,n+t.height),e.moveTo(i+6*a,n+10*o),e.lineTo(i+14*a,n+2*o),e.moveTo(i+10*a,n+13*o),e.lineTo(i+t.width,n+13*o),e.moveTo(i+13*a,n+10*o),e.lineTo(i+13*a,n+t.height)}function i(e,t){var i=t.x,n=t.y,a=t.width/16,o=t.height/16;e.moveTo(i,n+t.height),e.lineTo(i+5*a,n+14*o),e.lineTo(i+t.width,n+3*o),e.lineTo(i+13*a,n),e.lineTo(i+2*a,n+11*o),e.lineTo(i,n+t.height),e.moveTo(i+6*a,n+10*o),e.lineTo(i+14*a,n+2*o),e.moveTo(i+10*a,n+13*o),e.lineTo(i+t.width,n+13*o)}function n(e,t){var i=t.x,n=t.y,a=t.width/16,o=t.height/16;e.moveTo(i+4*a,n+15*o),e.lineTo(i+9*a,n+13*o),e.lineTo(i+14*a,n+8*o),e.lineTo(i+11*a,n+5*o),e.lineTo(i+6*a,n+10*o),e.lineTo(i+4*a,n+15*o),e.moveTo(i+5*a,n),e.lineTo(i+11*a,n),e.moveTo(i+5*a,n+o),e.lineTo(i+11*a,n+o),e.moveTo(i,n+2*o),e.lineTo(i+t.width,n+2*o),e.moveTo(i,n+5*o),e.lineTo(i+3*a,n+t.height),e.lineTo(i+13*a,n+t.height),e.lineTo(i+t.width,n+5*o)}function a(e,t){var i=t.x,n=t.y,a=t.width/16,o=t.height/16;e.moveTo(i,n+3*o),e.lineTo(i+6*a,n+3*o),e.moveTo(i+3*a,n),e.lineTo(i+3*a,n+6*o),e.moveTo(i+3*a,n+8*o),e.lineTo(i+3*a,n+t.height),e.lineTo(i+t.width,n+t.height),e.lineTo(i+t.width,n+3*o),e.lineTo(i+8*a,n+3*o)}function o(e,t){var i=t.x,n=t.y,a=t.width/16,o=t.height/16;e.moveTo(i+6*a,n),e.lineTo(i+2*a,n+3*o),e.lineTo(i+6*a,n+6*o),e.moveTo(i+2*a,n+3*o),e.lineTo(i+14*a,n+3*o),e.lineTo(i+14*a,n+11*o),e.moveTo(i+2*a,n+5*o),e.lineTo(i+2*a,n+13*o),e.lineTo(i+14*a,n+13*o),e.moveTo(i+10*a,n+10*o),e.lineTo(i+14*a,n+13*o),e.lineTo(i+10*a,n+t.height)}function r(e,t){var i=t.x,n=t.y,a=t.width/16,o=t.height/16,r=t.width/2;e.lineWidth=1.5,e.arc(i+r,n+r,r-a,0,2*Math.PI/3),e.moveTo(i+3*a,n+t.height),e.lineTo(i+0*a,n+12*o),e.lineTo(i+5*a,n+11*o),e.moveTo(i,n+8*o),e.arc(i+r,n+r,r-a,Math.PI,5*Math.PI/3),e.moveTo(i+13*a,n),e.lineTo(i+t.width,n+4*o),e.lineTo(i+11*a,n+5*o)}function s(e,t){var i=t.x,n=t.y,a=t.width/16,o=t.height/16;e.moveTo(i,n),e.lineTo(i,n+t.height),e.lineTo(i+t.width,n+t.height),e.moveTo(i+2*a,n+14*o),e.lineTo(i+7*a,n+6*o),e.lineTo(i+11*a,n+11*o),e.lineTo(i+15*a,n+2*o)}function l(e,t){var i=t.x,n=t.y,a=t.width/16,o=t.height/16;e.moveTo(i,n),e.lineTo(i,n+t.height),e.lineTo(i+t.width,n+t.height),e.moveTo(i+3*a,n+14*o),e.lineTo(i+3*a,n+6*o),e.lineTo(i+4*a,n+6*o),e.lineTo(i+4*a,n+14*o),e.moveTo(i+7*a,n+14*o),e.lineTo(i+7*a,n+2*o),e.lineTo(i+8*a,n+2*o),e.lineTo(i+8*a,n+14*o),e.moveTo(i+11*a,n+14*o),e.lineTo(i+11*a,n+9*o),e.lineTo(i+12*a,n+9*o),e.lineTo(i+12*a,n+14*o)}function h(e,t){var i=t.x,n=t.y,a=t.width-2,o=t.height-2,r=Math.min(a,o)/2;n+=2,e.moveTo(i+r+3,n+r-3),e.arc(i+r+3,n+r-3,r-1,0,-Math.PI/2,!0),e.lineTo(i+r+3,n+r-3),e.moveTo(i+r,n),e.lineTo(i+r,n+r),e.arc(i+r,n+r,r,-Math.PI/2,2*Math.PI,!0),e.lineTo(i+r,n+r),e.lineWidth=1.5}function m(e,t){var i=t.x,n=t.y,a=t.width/16,o=t.height/16;n-=o,e.moveTo(i+1*a,n+2*o),e.lineTo(i+15*a,n+2*o),e.lineTo(i+14*a,n+3*o),e.lineTo(i+2*a,n+3*o),e.moveTo(i+3*a,n+6*o),e.lineTo(i+13*a,n+6*o),e.lineTo(i+12*a,n+7*o),e.lineTo(i+4*a,n+7*o),e.moveTo(i+5*a,n+10*o),e.lineTo(i+11*a,n+10*o),e.lineTo(i+10*a,n+11*o),e.lineTo(i+6*a,n+11*o),e.moveTo(i+7*a,n+14*o),e.lineTo(i+9*a,n+14*o),e.lineTo(i+8*a,n+15*o),e.lineTo(i+7*a,n+15*o)}function V(e,t){var i=t.x,n=t.y,a=t.width,o=t.height,r=a/16,s=o/16,l=2*Math.min(r,s);e.moveTo(i+r+l,n+s+l),e.arc(i+r,n+s,l,Math.PI/4,3*Math.PI),e.lineTo(i+7*r-l,n+6*s-l),e.arc(i+7*r,n+6*s,l,Math.PI/4*5,4*Math.PI),e.arc(i+7*r,n+6*s,l/2,Math.PI/4*5,4*Math.PI),e.moveTo(i+7*r-l/2,n+6*s+l),e.lineTo(i+r+l,n+14*s-l),e.arc(i+r,n+14*s,l,-Math.PI/4,2*Math.PI),e.moveTo(i+7*r+l/2,n+6*s),e.lineTo(i+14*r-l,n+10*s-l/2),e.moveTo(i+16*r,n+10*s),e.arc(i+14*r,n+10*s,l,0,3*Math.PI),e.lineWidth=1.5}function U(e,t){var i=t.x,n=t.y,a=t.width,o=t.height,r=Math.min(a,o)/2;e.moveTo(i+a,n+o/2),e.arc(i+r,n+r,r,0,2*Math.PI),e.arc(i+r,n,r,Math.PI/4,Math.PI/5*4),e.arc(i,n+r,r,-Math.PI/3,Math.PI/3),e.arc(i+a,n+o,r,Math.PI,Math.PI/2*3),e.lineWidth=1.5}function d(e,t){for(var i=t.x,n=t.y,a=t.width,o=t.height,r=Math.round(o/3),s=Math.round((r-2)/2),l=3;l--;)e.rect(i,n+r*l+s,a,2)}function p(e,t){for(var i=t.x,n=t.y,a=t.width,o=t.height,r=Math.round(a/3),s=Math.round((r-2)/2),l=3;l--;)e.rect(i+r*l+s,n,2,o)}function c(e,t){var i=t.x,n=t.y,a=t.width/16;e.moveTo(i+a,n),e.lineTo(i+a,n+t.height),e.lineTo(i+15*a,n+t.height),e.lineTo(i+15*a,n),e.lineTo(i+a,n),e.moveTo(i+3*a,n+3*a),e.lineTo(i+13*a,n+3*a),e.moveTo(i+3*a,n+6*a),e.lineTo(i+13*a,n+6*a),e.moveTo(i+3*a,n+9*a),e.lineTo(i+13*a,n+9*a),e.moveTo(i+3*a,n+12*a),e.lineTo(i+9*a,n+12*a)}function u(e,t){var i=t.x,n=t.y,a=t.width/16,o=t.height/16;e.moveTo(i,n),e.lineTo(i,n+t.height),e.lineTo(i+t.width,n+t.height),e.lineTo(i+t.width,n),e.lineTo(i,n),e.moveTo(i+4*a,n),e.lineTo(i+4*a,n+8*o),e.lineTo(i+12*a,n+8*o),e.lineTo(i+12*a,n),e.moveTo(i+6*a,n+11*o),e.lineTo(i+6*a,n+13*o),e.lineTo(i+10*a,n+13*o),e.lineTo(i+10*a,n+11*o),e.lineTo(i+6*a,n+11*o)}function y(e,t){var i=t.x,n=t.y,a=t.width,o=t.height;e.moveTo(i,n+o/2),e.lineTo(i+a,n+o/2),e.moveTo(i+a/2,n),e.lineTo(i+a/2,n+o)}function g(e,t){var i=t.width/2,n=t.height/2,a=Math.min(i,n);e.moveTo(t.x+i+a,t.y+n),e.arc(t.x+i,t.y+n,a,0,2*Math.PI),e.closePath()}function b(e,t){e.rect(t.x,t.y,t.width,t.height),e.closePath()}function f(e,t){var i=t.width/2,n=t.height/2,a=t.x+i,o=t.y+n,r=Math.min(i,n);e.moveTo(a,o-r),e.lineTo(a+r,o+r),e.lineTo(a-r,o+r),e.lineTo(a,o-r),e.closePath()}function k(e,t){var i=t.width/2,n=t.height/2,a=t.x+i,o=t.y+n,r=Math.min(i,n);e.moveTo(a,o-r),e.lineTo(a+r,o),e.lineTo(a,o+r),e.lineTo(a-r,o),e.lineTo(a,o-r),e.closePath()}function x(e,t){var i=t.x,n=t.y,a=t.width/16;e.moveTo(i+8*a,n),e.lineTo(i+a,n+t.height),e.lineTo(i+8*a,n+t.height/4*3),e.lineTo(i+15*a,n+t.height),e.lineTo(i+8*a,n),e.closePath()}function _(t,i){var n=e("zrender/shape/Star"),a=i.width/2,o=i.height/2;n.prototype.buildPath(t,{x:i.x+a,y:i.y+o,r:Math.min(a,o),n:i.n||5})}function L(t,i){var n=e("zrender/shape/Heart");n.prototype.buildPath(t,{x:i.x+i.width/2,y:i.y+.2*i.height,a:i.width/2,b:.8*i.height})}function W(t,i){var n=e("zrender/shape/Droplet");n.prototype.buildPath(t,{x:i.x+.5*i.width,y:i.y+.5*i.height,a:.5*i.width,b:.8*i.height})}function X(e,t){var i=t.x,n=t.y-t.height/2*1.5,a=t.width/2,o=t.height/2,r=Math.min(a,o);e.arc(i+a,n+o,r,Math.PI/5*4,Math.PI/5),e.lineTo(i+a,n+o+1.5*r),e.closePath()}function v(t,i,n){var a=e("zrender/shape/Image");this._imageShape=this._imageShape||new a({style:{}});for(var o in i)this._imageShape.style[o]=i[o];this._imageShape.brush(t,!1,n)}function w(e){I.call(this,e)}var K=e("zrender/tool/util"),I=e("zrender/shape/Base");return w.prototype={type:"icon",iconLibrary:{mark:t,markUndo:i,markClear:n,dataZoom:a,dataZoomReset:o,restore:r,lineChart:s,barChart:l,pieChart:h,funnelChart:m,forceChart:V,chordChart:U,stackChart:d,tiledChart:p,dataView:c,saveAsImage:u,cross:y,circle:g,rectangle:b,triangle:f,diamond:k,arrow:x,star:_,heart:L,droplet:W,pin:X,image:v},brush:function(t,i,n){var a=i?this.highlightStyle:this.style;a=a||{};var o=a.iconType||this.style.iconType;if("image"===o){var r=e("zrender/shape/Image");r.prototype.brush.call(this,t,i,n)}else{var a=this.beforeBrush(t,i);switch(t.beginPath(),this.buildPath(t,a,n),a.brushType){case"both":t.fill();case"stroke":a.lineWidth>0&&t.stroke();break;default:t.fill()}this.drawText(t,a,this.style),this.afterBrush(t)}},buildPath:function(e,t,i){this.iconLibrary[t.iconType]?this.iconLibrary[t.iconType].call(this,e,t,i):(e.moveTo(t.x,t.y),e.lineTo(t.x+t.width,t.y),e.lineTo(t.x+t.width,t.y+t.height),e.lineTo(t.x,t.y+t.height),e.lineTo(t.x,t.y),e.closePath())},getRect:function(e){return e.__rect?e.__rect:(e.__rect={x:Math.round(e.x),y:Math.round(e.y-("pin"==e.iconType?e.height/2*1.5:0)),width:e.width,height:e.height*("pin"===e.iconType?1.25:1)},e.__rect)},isCover:function(e,t){var i=this.transformCoordToLocal(e,t);e=i[0],t=i[1];var n=this.style.__rect;n||(n=this.style.__rect=this.getRect(this.style));var a=n.height<8||n.width<8?4:0;return e>=n.x-a&&e<=n.x+n.width+a&&t>=n.y-a&&t<=n.y+n.height+a}},K.inherits(w,I),w}),i("echarts/util/shape/MarkLine",["require","zrender/shape/Base","./Icon","zrender/shape/Line","zrender/shape/BezierCurve","zrender/tool/area","zrender/shape/util/dashedLineTo","zrender/tool/util","zrender/tool/curve"],function(e){function t(e){i.call(this,e),this.style.curveness>0&&this.updatePoints(this.style),this.highlightStyle.curveness>0&&this.updatePoints(this.highlightStyle)}var i=e("zrender/shape/Base"),n=e("./Icon"),a=e("zrender/shape/Line"),o=new a({}),r=e("zrender/shape/BezierCurve"),s=new r({}),l=e("zrender/tool/area"),h=e("zrender/shape/util/dashedLineTo"),m=e("zrender/tool/util"),V=e("zrender/tool/curve");return t.prototype={type:"mark-line",brush:function(e,t){var i=this.style;t&&(i=this.getHighlightStyle(i,this.highlightStyle||{})),e.save(),this.setContext(e,i),this.setTransform(e),e.save(),e.beginPath(),this.buildPath(e,i),e.stroke(),e.restore(),this.brushSymbol(e,i,0),this.brushSymbol(e,i,1),this.drawText(e,i,this.style),e.restore()},buildPath:function(e,t){var i=t.lineType||"solid";if(e.moveTo(t.xStart,t.yStart),t.curveness>0){var n=null;switch(i){case"dashed":n=[5,5];break;case"dotted":n=[1,1]}n&&e.setLineDash&&e.setLineDash(n),e.quadraticCurveTo(t.cpX1,t.cpY1,t.xEnd,t.yEnd)}else if("solid"==i)e.lineTo(t.xEnd,t.yEnd);else{var a=(t.lineWidth||1)*("dashed"==t.lineType?5:1);h(e,t.xStart,t.yStart,t.xEnd,t.yEnd,a)}},updatePoints:function(e){var t=e.curveness||0,i=1,n=e.xStart,a=e.yStart,o=e.xEnd,r=e.yEnd,s=(n+o)/2-i*(a-r)*t,l=(a+r)/2-i*(o-n)*t;e.cpX1=s,e.cpY1=l},brushSymbol:function(e,t,i){if("none"!=t.symbol[i]){e.save(),e.beginPath(),e.lineWidth=t.symbolBorder,e.strokeStyle=t.symbolBorderColor;var a=t.symbol[i].replace("empty","").toLowerCase();t.symbol[i].match("empty")&&(e.fillStyle="#fff");var o=t.xStart,r=t.yStart,s=t.xEnd,l=t.yEnd,h=0===i?o:s,m=0===i?r:l,U=t.curveness||0,d=null!=t.symbolRotate[i]?t.symbolRotate[i]-0:0;if(d=d/180*Math.PI,"arrow"==a&&0===d)if(0===U){var p=0===i?-1:1;d=Math.PI/2+Math.atan2(p*(l-r),p*(s-o))}else{var c=t.cpX1,u=t.cpY1,y=V.quadraticDerivativeAt,g=y(o,c,s,i),b=y(r,u,l,i);d=Math.PI/2+Math.atan2(b,g)}e.translate(h,m),0!==d&&e.rotate(d);var f=t.symbolSize[i];n.prototype.buildPath(e,{x:-f,y:-f,width:2*f,height:2*f,iconType:a}),e.closePath(),e.fill(),e.stroke(),e.restore()}},getRect:function(e){return e.curveness>0?s.getRect(e):o.getRect(e),e.__rect},isCover:function(e,t){var i=this.transformCoordToLocal(e,t);return e=i[0],t=i[1],this.isCoverRect(e,t)?this.style.curveness>0?l.isInside(s,this.style,e,t):l.isInside(o,this.style,e,t):!1}},m.inherits(t,i),t}),i("echarts/util/shape/Symbol",["require","zrender/shape/Base","zrender/shape/Polygon","zrender/tool/util","./normalIsCover"],function(e){function t(e){i.call(this,e)}var i=e("zrender/shape/Base"),n=e("zrender/shape/Polygon"),a=new n({}),o=e("zrender/tool/util");return t.prototype={type:"symbol",buildPath:function(e,t){var i=t.pointList,n=i.length;if(0!==n)for(var a,o,r,s,l,h=1e4,m=Math.ceil(n/h),V=i[0]instanceof Array,U=t.size?t.size:2,d=U,p=U/2,c=2*Math.PI,u=0;m>u;u++){e.beginPath(),a=u*h,o=a+h,o=o>n?n:o;for(var y=a;o>y;y++)if(t.random&&(r=t["randomMap"+y%20]/100,d=U*r*r,p=d/2),V?(s=i[y][0],l=i[y][1]):(s=i[y].x,l=i[y].y),3>d)e.rect(s-p,l-p,d,d);else switch(t.iconType){case"circle":e.moveTo(s,l),e.arc(s,l,p,0,c,!0);break;case"diamond":e.moveTo(s,l-p),e.lineTo(s+p/3,l-p/3),e.lineTo(s+p,l),e.lineTo(s+p/3,l+p/3),e.lineTo(s,l+p),e.lineTo(s-p/3,l+p/3),e.lineTo(s-p,l),e.lineTo(s-p/3,l-p/3),e.lineTo(s,l-p);break;default:e.rect(s-p,l-p,d,d)}if(e.closePath(),m-1>u)switch(t.brushType){case"both":e.fill(),t.lineWidth>0&&e.stroke();break;case"stroke":t.lineWidth>0&&e.stroke();break;default:e.fill()}}},getRect:function(e){return e.__rect||a.getRect(e)},isCover:e("./normalIsCover")},o.inherits(t,i),t}),i("zrender/shape/Polyline",["require","./Base","./util/smoothSpline","./util/smoothBezier","./util/dashedLineTo","./Polygon","../tool/util"],function(e){var t=e("./Base"),i=e("./util/smoothSpline"),n=e("./util/smoothBezier"),a=e("./util/dashedLineTo"),o=function(e){this.brushTypeOnly="stroke",this.textPosition="end",t.call(this,e)};return o.prototype={type:"polyline",buildPath:function(e,t){var n=t.pointList;if(!(n.length<2)){var o=Math.min(t.pointList.length,Math.round(t.pointListLength||t.pointList.length));if(t.smooth&&"spline"!==t.smooth){t.controlPointList||this.updateControlPoints(t);var r=t.controlPointList;e.moveTo(n[0][0],n[0][1]);for(var s,l,h,m=0;o-1>m;m++)s=r[2*m],l=r[2*m+1],h=n[m+1],e.bezierCurveTo(s[0],s[1],l[0],l[1],h[0],h[1])}else if("spline"===t.smooth&&(n=i(n),o=n.length),t.lineType&&"solid"!=t.lineType){if("dashed"==t.lineType||"dotted"==t.lineType){var V=(t.lineWidth||1)*("dashed"==t.lineType?5:1);e.moveTo(n[0][0],n[0][1]);for(var m=1;o>m;m++)a(e,n[m-1][0],n[m-1][1],n[m][0],n[m][1],V)}}else{e.moveTo(n[0][0],n[0][1]);for(var m=1;o>m;m++)e.lineTo(n[m][0],n[m][1])}}},updateControlPoints:function(e){e.controlPointList=n(e.pointList,e.smooth,!1,e.smoothConstraint)},getRect:function(t){return e("./Polygon").prototype.getRect(t)}},e("../tool/util").inherits(o,t),o}),i("zrender/shape/ShapeBundle",["require","./Base","../tool/util"],function(e){var t=e("./Base"),i=function(e){t.call(this,e)};return i.prototype={constructor:i,type:"shape-bundle",brush:function(e,t){var i=this.beforeBrush(e,t);e.beginPath();for(var n=0;n<i.shapeList.length;n++){var a=i.shapeList[n],o=a.style;t&&(o=a.getHighlightStyle(o,a.highlightStyle||{},a.brushTypeOnly)),a.buildPath(e,o)}switch(i.brushType){case"both":e.fill();case"stroke":i.lineWidth>0&&e.stroke();break;default:e.fill()}this.drawText(e,i,this.style),this.afterBrush(e)},getRect:function(e){if(e.__rect)return e.__rect;for(var t=1/0,i=-(1/0),n=1/0,a=-(1/0),o=0;o<e.shapeList.length;o++)var r=e.shapeList[o],s=r.getRect(r.style),t=Math.min(s.x,t),n=Math.min(s.y,n),i=Math.max(s.x+s.width,i),a=Math.max(s.y+s.height,a);return e.__rect={x:t,y:n,width:i-t,height:a-n},e.__rect},isCover:function(e,t){var i=this.transformCoordToLocal(e,t);if(e=i[0],t=i[1],this.isCoverRect(e,t))for(var n=0;n<this.style.shapeList.length;n++){var a=this.style.shapeList[n];if(a.isCover(e,t))return!0}return!1}},e("../tool/util").inherits(i,t),i}),i("echarts/util/ecAnimation",["require","zrender/tool/util","zrender/tool/curve","zrender/shape/Polygon"],function(e){function t(e,t,i,n,a){var o,r=i.style.pointList,s=r.length;if(!t){if(o=[],"vertical"!=i._orient)for(var l=r[0][1],h=0;s>h;h++)o[h]=[r[h][0],l];else for(var m=r[0][0],h=0;s>h;h++)o[h]=[m,r[h][1]];"half-smooth-polygon"==i.type&&(o[s-1]=p.clone(r[s-1]),o[s-2]=p.clone(r[s-2])),t={style:{pointList:o}}}o=t.style.pointList;var V=o.length;i.style.pointList=V==s?o:s>V?o.concat(r.slice(V)):o.slice(0,s),e.addShape(i),i.__animating=!0,e.animate(i.id,"style").when(n,{pointList:r}).during(function(){i.updateControlPoints&&i.updateControlPoints(i.style)}).done(function(){i.__animating=!1}).start(a)}function i(e,t){for(var i=arguments.length,n=2;i>n;n++){var a=arguments[n];e.style[a]=t.style[a]}}function n(e,t,n,a,o){var r=n.style;t||(t={position:n.position,style:{x:r.x,y:"vertical"==n._orient?r.y+r.height:r.y,width:"vertical"==n._orient?r.width:0,height:"vertical"!=n._orient?r.height:0}});var s=r.x,l=r.y,h=r.width,m=r.height,V=[n.position[0],n.position[1]];i(n,t,"x","y","width","height"),n.position=t.position,e.addShape(n),(V[0]!=t.position[0]||V[1]!=t.position[1])&&e.animate(n.id,"").when(a,{position:V}).start(o),n.__animating=!0,e.animate(n.id,"style").when(a,{x:s,y:l,width:h,height:m}).done(function(){n.__animating=!1}).start(o)}function a(e,t,i,n,a){if(!t){var o=i.style.y;t={style:{y:[o[0],o[0],o[0],o[0]]}}}var r=i.style.y;i.style.y=t.style.y,e.addShape(i),i.__animating=!0,e.animate(i.id,"style").when(n,{y:r}).done(function(){i.__animating=!1}).start(a)}function o(e,t,i,n,a){var o=i.style.x,r=i.style.y,s=i.style.r0,l=i.style.r;i.__animating=!0,"r"!=i._animationAdd?(i.style.r0=0,i.style.r=0,i.rotation=[2*Math.PI,o,r],e.addShape(i),e.animate(i.id,"style").when(n,{r0:s,r:l}).done(function(){i.__animating=!1}).start(a),e.animate(i.id,"").when(n,{rotation:[0,o,r]}).start(a)):(i.style.r0=i.style.r,e.addShape(i),e.animate(i.id,"style").when(n,{r0:s}).done(function(){i.__animating=!1}).start(a))}function r(e,t,n,a,o){t||(t="r"!=n._animationAdd?{
+style:{startAngle:n.style.startAngle,endAngle:n.style.startAngle}}:{style:{r0:n.style.r}});var r=n.style.startAngle,s=n.style.endAngle;i(n,t,"startAngle","endAngle"),e.addShape(n),n.__animating=!0,e.animate(n.id,"style").when(a,{startAngle:r,endAngle:s}).done(function(){n.__animating=!1}).start(o)}function s(e,t,n,a,o){t||(t={style:{x:"left"==n.style.textAlign?n.style.x+100:n.style.x-100,y:n.style.y}});var r=n.style.x,s=n.style.y;i(n,t,"x","y"),e.addShape(n),n.__animating=!0,e.animate(n.id,"style").when(a,{x:r,y:s}).done(function(){n.__animating=!1}).start(o)}function l(t,i,n,a,o){var r=e("zrender/shape/Polygon").prototype.getRect(n.style),s=r.x+r.width/2,l=r.y+r.height/2;n.scale=[.1,.1,s,l],t.addShape(n),n.__animating=!0,t.animate(n.id,"").when(a,{scale:[1,1,s,l]}).done(function(){n.__animating=!1}).start(o)}function h(e,t,n,a,o){t||(t={style:{source0:0,source1:n.style.source1>0?360:-360,target0:0,target1:n.style.target1>0?360:-360}});var r=n.style.source0,s=n.style.source1,l=n.style.target0,h=n.style.target1;t.style&&i(n,t,"source0","source1","target0","target1"),e.addShape(n),n.__animating=!0,e.animate(n.id,"style").when(a,{source0:r,source1:s,target0:l,target1:h}).done(function(){n.__animating=!1}).start(o)}function m(e,t,i,n,a){t||(t={style:{angle:i.style.startAngle}});var o=i.style.angle;i.style.angle=t.style.angle,e.addShape(i),i.__animating=!0,e.animate(i.id,"style").when(n,{angle:o}).done(function(){i.__animating=!1}).start(a)}function V(e,t,i,a,o,r){if(i.style._x=i.style.x,i.style._y=i.style.y,i.style._width=i.style.width,i.style._height=i.style.height,t)n(e,t,i,a,o);else{var s=i._x||0,l=i._y||0;i.scale=[.01,.01,s,l],e.addShape(i),i.__animating=!0,e.animate(i.id,"").delay(r).when(a,{scale:[1,1,s,l]}).done(function(){i.__animating=!1}).start(o||"QuinticOut")}}function U(e,t,n,a,o){t||(t={style:{xStart:n.style.xStart,yStart:n.style.yStart,xEnd:n.style.xStart,yEnd:n.style.yStart}});var r=n.style.xStart,s=n.style.xEnd,l=n.style.yStart,h=n.style.yEnd;i(n,t,"xStart","xEnd","yStart","yEnd"),e.addShape(n),n.__animating=!0,e.animate(n.id,"style").when(a,{xStart:r,xEnd:s,yStart:l,yEnd:h}).done(function(){n.__animating=!1}).start(o)}function d(e,t,i,n,a){a=a||"QuinticOut",i.__animating=!0,e.addShape(i);var o=i.style,r=function(){i.__animating=!1},s=o.xStart,l=o.yStart,h=o.xEnd,m=o.yEnd;if(o.curveness>0){i.updatePoints(o);var V={p:0},U=o.cpX1,d=o.cpY1,p=[],u=[],y=c.quadraticSubdivide;e.animation.animate(V).when(n,{p:1}).during(function(){y(s,U,h,V.p,p),y(l,d,m,V.p,u),o.cpX1=p[1],o.cpY1=u[1],o.xEnd=p[2],o.yEnd=u[2],e.modShape(i)}).done(r).start(a)}else e.animate(i.id,"style").when(0,{xEnd:s,yEnd:l}).when(n,{xEnd:h,yEnd:m}).done(r).start(a)}var p=e("zrender/tool/util"),c=e("zrender/tool/curve");return{pointList:t,rectangle:n,candle:a,ring:o,sector:r,text:s,polygon:l,ribbon:h,gaugePointer:m,icon:V,line:U,markline:d}}),i("echarts/util/ecEffect",["require","../util/ecData","zrender/shape/Circle","zrender/shape/Image","zrender/tool/curve","../util/shape/Icon","../util/shape/Symbol","zrender/shape/ShapeBundle","zrender/shape/Polyline","zrender/tool/vector","zrender/tool/env"],function(e){function t(e,t,i,n){var a,r=i.effect,l=r.color||i.style.strokeColor||i.style.color,m=r.shadowColor||l,V=r.scaleSize,U=r.bounceDistance,d="undefined"!=typeof r.shadowBlur?r.shadowBlur:V;"image"!==i.type?(a=new h({zlevel:n,style:{brushType:"stroke",iconType:"droplet"!=i.style.iconType?i.style.iconType:"circle",x:d+1,y:d+1,n:i.style.n,width:i.style._width*V,height:i.style._height*V,lineWidth:1,strokeColor:l,shadowColor:m,shadowBlur:d},draggable:!1,hoverable:!1}),"pin"==i.style.iconType&&(a.style.y+=a.style.height/2*1.5),p&&(a.style.image=e.shapeToImage(a,a.style.width+2*d+2,a.style.height+2*d+2).style.image,a=new s({zlevel:a.zlevel,style:a.style,draggable:!1,hoverable:!1}))):a=new s({zlevel:n,style:i.style,draggable:!1,hoverable:!1}),o.clone(i,a),a.position=i.position,t.push(a),e.addShape(a);var c="image"!==i.type?window.devicePixelRatio||1:1,u=(a.style.width/c-i.style._width)/2;a.style.x=i.style._x-u,a.style.y=i.style._y-u,"pin"==i.style.iconType&&(a.style.y-=i.style.height/2*1.5);var y=100*(r.period+10*Math.random());e.modShape(i.id,{invisible:!0});var g=a.style.x+a.style.width/2/c,b=a.style.y+a.style.height/2/c;"scale"===r.type?(e.modShape(a.id,{scale:[.1,.1,g,b]}),e.animate(a.id,"",r.loop).when(y,{scale:[1,1,g,b]}).done(function(){i.effect.show=!1,e.delShape(a.id)}).start()):e.animate(a.id,"style",r.loop).when(y,{y:a.style.y-U}).when(2*y,{y:a.style.y}).done(function(){i.effect.show=!1,e.delShape(a.id)}).start()}function i(e,t,i,n){var a=i.effect,o=a.color||i.style.strokeColor||i.style.color,r=a.scaleSize,s=a.shadowColor||o,l="undefined"!=typeof a.shadowBlur?a.shadowBlur:2*r,h=window.devicePixelRatio||1,V=new m({zlevel:n,position:i.position,scale:i.scale,style:{pointList:i.style.pointList,iconType:i.style.iconType,color:o,strokeColor:o,shadowColor:s,shadowBlur:l*h,random:!0,brushType:"fill",lineWidth:1,size:i.style.size},draggable:!1,hoverable:!1});t.push(V),e.addShape(V),e.modShape(i.id,{invisible:!0});for(var U=Math.round(100*a.period),d={},p={},c=0;20>c;c++)V.style["randomMap"+c]=0,d={},d["randomMap"+c]=100,p={},p["randomMap"+c]=0,V.style["randomMap"+c]=100*Math.random(),e.animate(V.id,"style",!0).when(U,d).when(2*U,p).when(3*U,d).when(4*U,d).delay(Math.random()*U*c).start()}function n(e,t,i,n,a){var s=i.effect,h=i.style,m=s.color||h.strokeColor||h.color,V=s.shadowColor||h.strokeColor||m,c=h.lineWidth*s.scaleSize,u="undefined"!=typeof s.shadowBlur?s.shadowBlur:c,y=new r({zlevel:n,style:{x:u,y:u,r:c,color:m,shadowColor:V,shadowBlur:u},hoverable:!1}),g=0;if(p&&!a){var n=y.zlevel;y=e.shapeToImage(y,2*(c+u),2*(c+u)),y.zlevel=n,y.hoverable=!1,g=u}a||(o.clone(i,y),y.position=i.position,t.push(y),e.addShape(y));var b=function(){a||(i.effect.show=!1,e.delShape(y.id)),y.effectAnimator=null};if(i instanceof U){for(var f=[0],k=0,x=h.pointList,_=h.controlPointList,L=1;L<x.length;L++){if(_){var W=_[2*(L-1)],X=_[2*(L-1)+1];k+=d.dist(x[L-1],W)+d.dist(W,X)+d.dist(X,x[L])}else k+=d.dist(x[L-1],x[L]);f.push(k)}for(var v={p:0},w=e.animation.animate(v,{loop:s.loop}),L=0;L<f.length;L++)w.when(f[L]*s.period,{p:L});w.during(function(){var t,i,n=Math.floor(v.p);if(n==x.length-1)t=x[n][0],i=x[n][1];else{var o=v.p-n,r=x[n],s=x[n+1];if(_){var h=_[2*n],m=_[2*n+1];t=l.cubicAt(r[0],h[0],m[0],s[0],o),i=l.cubicAt(r[1],h[1],m[1],s[1],o)}else t=(s[0]-r[0])*o+r[0],i=(s[1]-r[1])*o+r[1]}y.style.x=t,y.style.y=i,a||e.modShape(y)}).done(b).start(),w.duration=k*s.period,y.effectAnimator=w}else{var K=h.xStart-g,I=h.yStart-g,J=h.xEnd-g,C=h.yEnd-g;y.style.x=K,y.style.y=I;var S=(J-K)*(J-K)+(C-I)*(C-I),E=Math.round(Math.sqrt(Math.round(S*s.period*s.period)));if(i.style.curveness>0){var F=h.cpX1-g,T=h.cpY1-g;y.effectAnimator=e.animation.animate(y,{loop:s.loop}).when(E,{p:1}).during(function(t,i){y.style.x=l.quadraticAt(K,F,J,i),y.style.y=l.quadraticAt(I,T,C,i),a||e.modShape(y)}).done(b).start()}else y.effectAnimator=e.animation.animate(y.style,{loop:s.loop}).when(E,{x:J,y:C}).during(function(){a||e.modShape(y)}).done(b).start();y.effectAnimator.duration=E}return y}function a(e,t,i,a){var o=new V({style:{shapeList:[]},zlevel:a,hoverable:!1}),r=i.style.shapeList,s=i.effect;o.position=i.position;for(var l=0,h=[],m=0;m<r.length;m++){r[m].effect=s;var U=n(e,null,r[m],a,!0),d=U.effectAnimator;o.style.shapeList.push(U),d.duration>l&&(l=d.duration),0===m&&(o.style.color=U.style.color,o.style.shadowBlur=U.style.shadowBlur,o.style.shadowColor=U.style.shadowColor),h.push(d)}t.push(o),e.addShape(o);var p=function(){for(var e=0;e<h.length;e++)h[e].stop()};if(l){o.__dummy=0;var c=e.animate(o.id,"",s.loop).when(l,{__dummy:1}).during(function(){e.modShape(o)}).done(function(){i.effect.show=!1,e.delShape(o.id)}).start(),u=c.stop;c.stop=function(){p(),u.call(this)}}}var o=e("../util/ecData"),r=e("zrender/shape/Circle"),s=e("zrender/shape/Image"),l=e("zrender/tool/curve"),h=e("../util/shape/Icon"),m=e("../util/shape/Symbol"),V=e("zrender/shape/ShapeBundle"),U=e("zrender/shape/Polyline"),d=e("zrender/tool/vector"),p=e("zrender/tool/env").canvasSupported;return{point:t,largePoint:i,line:n,largeLine:a}}),i("echarts/component/base",["require","../config","../util/ecData","../util/ecQuery","../util/number","zrender/tool/util","zrender/tool/env"],function(e){function t(e,t,a,o,r){this.ecTheme=e,this.messageCenter=t,this.zr=a,this.option=o,this.series=o.series,this.myChart=r,this.component=r.component,this.shapeList=[],this.effectList=[];var s=this;s._onlegendhoverlink=function(e){if(s.legendHoverLink)for(var t,a=e.target,o=s.shapeList.length-1;o>=0;o--)t=s.type==i.CHART_TYPE_PIE||s.type==i.CHART_TYPE_FUNNEL?n.get(s.shapeList[o],"name"):(n.get(s.shapeList[o],"series")||{}).name,t!=a||s.shapeList[o].invisible||s.shapeList[o].__animating||s.zr.addHoverShape(s.shapeList[o])},t&&t.bind(i.EVENT.LEGEND_HOVERLINK,this._onlegendhoverlink)}var i=e("../config"),n=e("../util/ecData"),a=e("../util/ecQuery"),o=e("../util/number"),r=e("zrender/tool/util");return t.prototype={canvasSupported:e("zrender/tool/env").canvasSupported,_getZ:function(e){if(null!=this[e])return this[e];var t=this.ecTheme[this.type];return t&&null!=t[e]?t[e]:(t=i[this.type],t&&null!=t[e]?t[e]:0)},getZlevelBase:function(){return this._getZ("zlevel")},getZBase:function(){return this._getZ("z")},reformOption:function(e){return e=r.merge(r.merge(e||{},r.clone(this.ecTheme[this.type]||{})),r.clone(i[this.type]||{})),this.z=e.z,this.zlevel=e.zlevel,e},reformCssArray:function(e){if(!(e instanceof Array))return[e,e,e,e];switch(e.length+""){case"4":return e;case"3":return[e[0],e[1],e[2],e[1]];case"2":return[e[0],e[1],e[0],e[1]];case"1":return[e[0],e[0],e[0],e[0]];case"0":return[0,0,0,0]}},getShapeById:function(e){for(var t=0,i=this.shapeList.length;i>t;t++)if(this.shapeList[t].id===e)return this.shapeList[t];return null},getFont:function(e){var t=this.getTextStyle(r.clone(e));return t.fontStyle+" "+t.fontWeight+" "+t.fontSize+"px "+t.fontFamily},getTextStyle:function(e){return r.merge(r.merge(e||{},this.ecTheme.textStyle),i.textStyle)},getItemStyleColor:function(e,t,i,n){return"function"==typeof e?e.call(this.myChart,{seriesIndex:t,series:this.series[t],dataIndex:i,data:n}):e},getDataFromOption:function(e,t){return null!=e?null!=e.value?e.value:e:t},subPixelOptimize:function(e,t){return e=t%2===1?Math.floor(e)+.5:Math.round(e)},resize:function(){this.refresh&&this.refresh(),this.clearEffectShape&&this.clearEffectShape(!0);var e=this;setTimeout(function(){e.animationEffect&&e.animationEffect()},200)},clear:function(){this.clearEffectShape&&this.clearEffectShape(),this.zr&&this.zr.delShape(this.shapeList),this.shapeList=[]},dispose:function(){this.onbeforDispose&&this.onbeforDispose(),this.clear(),this.shapeList=null,this.effectList=null,this.messageCenter&&this.messageCenter.unbind(i.EVENT.LEGEND_HOVERLINK,this._onlegendhoverlink),this.onafterDispose&&this.onafterDispose()},query:a.query,deepQuery:a.deepQuery,deepMerge:a.deepMerge,parsePercent:o.parsePercent,parseCenter:o.parseCenter,parseRadius:o.parseRadius,numAddCommas:o.addCommas,getPrecision:o.getPrecision},t}),i("echarts/layout/EdgeBundling",["require","../data/KDTree","zrender/tool/vector"],function(e){function t(e,t){e=e.array,t=t.array;var i=t[0]-e[0],n=t[1]-e[1],a=t[2]-e[2],o=t[3]-e[3];return i*i+n*n+a*a+o*o}function i(e){this.points=[e.mp0,e.mp1],this.group=e}function n(e){var t=e.points;t[0][1]<t[1][1]||e instanceof i?(this.array=[t[0][0],t[0][1],t[1][0],t[1][1]],this._startPoint=t[0],this._endPoint=t[1]):(this.array=[t[1][0],t[1][1],t[0][0],t[0][1]],this._startPoint=t[1],this._endPoint=t[0]),this.ink=m(t[0],t[1]),this.edge=e,this.group=null}function a(){this.edgeList=[],this.mp0=l(),this.mp1=l(),this.ink=0}function o(){this.maxNearestEdge=6,this.maxTurningAngle=Math.PI/4,this.maxIteration=20}var r=e("../data/KDTree"),s=e("zrender/tool/vector"),l=s.create,h=s.distSquare,m=s.dist,V=s.copy,U=s.clone;return n.prototype.getStartPoint=function(){return this._startPoint},n.prototype.getEndPoint=function(){return this._endPoint},a.prototype.addEdge=function(e){e.group=this,this.edgeList.push(e)},a.prototype.removeEdge=function(e){e.group=null,this.edgeList.splice(this.edgeList.indexOf(e),1)},o.prototype={constructor:o,run:function(e){function t(e,t){return h(e,t)<1e-10}function n(e,i){for(var n=[],a=0,o=0;o<e.length;o++)a>0&&t(e[o],n[a-1])||(n[a++]=U(e[o]));return i[0]&&!t(n[0],i[0])&&(n=n.reverse()),n}for(var a=this._iterate(e),o=0;o++<this.maxIteration;){for(var r=[],s=0;s<a.groups.length;s++)r.push(new i(a.groups[s]));var l=this._iterate(r);if(l.savedInk<=0)break;a=l}var m=[],V=function(e,t){for(var a,o=0;o<e.length;o++){var r=e[o];if(r.edgeList[0]&&r.edgeList[0].edge instanceof i){for(var s=[],l=0;l<r.edgeList.length;l++)s.push(r.edgeList[l].edge.group);a=t?t.slice():[],a.unshift(r.mp0),a.push(r.mp1),V(s,a)}else for(var l=0;l<r.edgeList.length;l++){var h=r.edgeList[l];a=t?t.slice():[],a.unshift(r.mp0),a.push(r.mp1),a.unshift(h.getStartPoint()),a.push(h.getEndPoint()),m.push({points:n(a,h.edge.points),rawEdge:h.edge})}}};return V(a.groups),m},_iterate:function(e){for(var i=[],o=[],s=0,h=0;h<e.length;h++){var m=new n(e[h]);i.push(m)}for(var U=new r(i,4),d=[],p=l(),c=l(),u=0,y=l(),g=l(),b=0,h=0;h<i.length;h++){var m=i[h];if(!m.group){U.nearestN(m,this.maxNearestEdge,t,d);for(var f=0,k=null,x=null,_=0;_<d.length;_++){var L=d[_],W=0;L.group?L.group!==x&&(x=L.group,u=this._calculateGroupEdgeInk(L.group,m,p,c),W=L.group.ink+m.ink-u):(u=this._calculateEdgeEdgeInk(m,L,p,c),W=L.ink+m.ink-u),W>f&&(f=W,k=L,V(g,c),V(y,p),b=u)}if(k){s+=f;var X;k.group||(X=new a,o.push(X),X.addEdge(k)),X=k.group,V(X.mp0,y),V(X.mp1,g),X.ink=b,k.group.addEdge(m)}else{var X=new a;o.push(X),V(X.mp0,m.getStartPoint()),V(X.mp1,m.getEndPoint()),X.ink=m.ink,X.addEdge(m)}}}return{groups:o,edges:i,savedInk:s}},_calculateEdgeEdgeInk:function(){var e=[],t=[];return function(i,n,a,o){e[0]=i.getStartPoint(),e[1]=n.getStartPoint(),t[0]=i.getEndPoint(),t[1]=n.getEndPoint(),this._calculateMeetPoints(e,t,a,o);var r=m(e[0],a)+m(a,o)+m(o,t[0])+m(e[1],a)+m(o,t[1]);return r}}(),_calculateGroupEdgeInk:function(e,t,i,n){for(var a=[],o=[],r=0;r<e.edgeList.length;r++){var s=e.edgeList[r];a.push(s.getStartPoint()),o.push(s.getEndPoint())}a.push(t.getStartPoint()),o.push(t.getEndPoint()),this._calculateMeetPoints(a,o,i,n);for(var l=m(i,n),r=0;r<a.length;r++)l+=m(a[r],i)+m(o[r],n);return l},_calculateMeetPoints:function(){var e=l(),t=l();return function(i,n,a,o){s.set(e,0,0),s.set(t,0,0);for(var r=i.length,l=0;r>l;l++)s.add(e,e,i[l]);s.scale(e,e,1/r),r=n.length;for(var l=0;r>l;l++)s.add(t,t,n[l]);s.scale(t,t,1/r),this._limitTurningAngle(i,e,t,a),this._limitTurningAngle(n,t,e,o)}}(),_limitTurningAngle:function(){var e=l(),t=l(),i=l(),n=l();return function(a,o,r,l){var V=Math.cos(this.maxTurningAngle),U=Math.tan(this.maxTurningAngle);s.sub(e,o,r),s.normalize(e,e),s.copy(l,o);for(var d=0,p=0;p<a.length;p++){var c=a[p];s.sub(t,c,o);var u=s.len(t);s.scale(t,t,1/u);var y=s.dot(t,e);if(V>y){s.scaleAndAdd(i,o,e,u*y);var g=m(i,c),b=g/U;s.scaleAndAdd(n,i,e,-b);var f=h(n,o);f>d&&(d=f,s.copy(l,n))}}}}()},o}),i("zrender/shape/Star",["require","../tool/math","./Base","../tool/util"],function(e){var t=e("../tool/math"),i=t.sin,n=t.cos,a=Math.PI,o=e("./Base"),r=function(e){o.call(this,e)};return r.prototype={type:"star",buildPath:function(e,t){var o=t.n;if(o&&!(2>o)){var r=t.x,s=t.y,l=t.r,h=t.r0;null==h&&(h=o>4?l*n(2*a/o)/n(a/o):l/3);var m=a/o,V=-a/2,U=r+l*n(V),d=s+l*i(V);V+=m;var p=t.pointList=[];p.push([U,d]);for(var c,u=0,y=2*o-1;y>u;u++)c=u%2===0?h:l,p.push([r+c*n(V),s+c*i(V)]),V+=m;p.push([U,d]),e.moveTo(p[0][0],p[0][1]);for(var u=0;u<p.length;u++)e.lineTo(p[u][0],p[u][1]);e.closePath()}},getRect:function(e){if(e.__rect)return e.__rect;var t;return t="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(e.x-e.r-t/2),y:Math.round(e.y-e.r-t/2),width:2*e.r+t,height:2*e.r+t},e.__rect}},e("../tool/util").inherits(r,o),r}),i("zrender/shape/Heart",["require","./Base","./util/PathProxy","../tool/area","../tool/util"],function(e){"use strict";var t=e("./Base"),i=e("./util/PathProxy"),n=e("../tool/area"),a=function(e){t.call(this,e),this._pathProxy=new i};return a.prototype={type:"heart",buildPath:function(e,t){var n=this._pathProxy||new i;n.begin(e),n.moveTo(t.x,t.y),n.bezierCurveTo(t.x+t.a/2,t.y-2*t.b/3,t.x+2*t.a,t.y+t.b/3,t.x,t.y+t.b),n.bezierCurveTo(t.x-2*t.a,t.y+t.b/3,t.x-t.a/2,t.y-2*t.b/3,t.x,t.y),n.closePath()},getRect:function(e){return e.__rect?e.__rect:(this._pathProxy.isEmpty()||this.buildPath(null,e),this._pathProxy.fastBoundingRect())},isCover:function(e,t){var i=this.transformCoordToLocal(e,t);return e=i[0],t=i[1],this.isCoverRect(e,t)?n.isInsidePath(this._pathProxy.pathCommands,this.style.lineWidth,this.style.brushType,e,t):void 0}},e("../tool/util").inherits(a,t),a}),i("zrender/shape/Droplet",["require","./Base","./util/PathProxy","../tool/area","../tool/util"],function(e){"use strict";var t=e("./Base"),i=e("./util/PathProxy"),n=e("../tool/area"),a=function(e){t.call(this,e),this._pathProxy=new i};return a.prototype={type:"droplet",buildPath:function(e,t){var n=this._pathProxy||new i;n.begin(e),n.moveTo(t.x,t.y+t.a),n.bezierCurveTo(t.x+t.a,t.y+t.a,t.x+3*t.a/2,t.y-t.a/3,t.x,t.y-t.b),n.bezierCurveTo(t.x-3*t.a/2,t.y-t.a/3,t.x-t.a,t.y+t.a,t.x,t.y+t.a),n.closePath()},getRect:function(e){return e.__rect?e.__rect:(this._pathProxy.isEmpty()||this.buildPath(null,e),this._pathProxy.fastBoundingRect())},isCover:function(e,t){var i=this.transformCoordToLocal(e,t);return e=i[0],t=i[1],this.isCoverRect(e,t)?n.isInsidePath(this._pathProxy.pathCommands,this.style.lineWidth,this.style.brushType,e,t):void 0}},e("../tool/util").inherits(a,t),a}),i("zrender/tool/math",[],function(){function e(e,t){return Math.sin(t?e*a:e)}function t(e,t){return Math.cos(t?e*a:e)}function i(e){return e*a}function n(e){return e/a}var a=Math.PI/180;return{sin:e,cos:t,degreeToRadian:i,radianToDegree:n}}),i("zrender/shape/util/PathProxy",["require","../../tool/vector"],function(e){var t=e("../../tool/vector"),i=function(e,t){this.command=e,this.points=t||null},n=function(){this.pathCommands=[],this._ctx=null,this._min=[],this._max=[]};return n.prototype.fastBoundingRect=function(){var e=this._min,i=this._max;e[0]=e[1]=1/0,i[0]=i[1]=-(1/0);for(var n=0;n<this.pathCommands.length;n++){var a=this.pathCommands[n],o=a.points;switch(a.command){case"M":t.min(e,e,o),t.max(i,i,o);break;case"L":t.min(e,e,o),t.max(i,i,o);break;case"C":for(var r=0;6>r;r+=2)e[0]=Math.min(e[0],e[0],o[r]),e[1]=Math.min(e[1],e[1],o[r+1]),i[0]=Math.max(i[0],i[0],o[r]),i[1]=Math.max(i[1],i[1],o[r+1]);break;case"Q":for(var r=0;4>r;r+=2)e[0]=Math.min(e[0],e[0],o[r]),e[1]=Math.min(e[1],e[1],o[r+1]),i[0]=Math.max(i[0],i[0],o[r]),i[1]=Math.max(i[1],i[1],o[r+1]);break;case"A":var s=o[0],l=o[1],h=o[2],m=o[3];e[0]=Math.min(e[0],e[0],s-h),e[1]=Math.min(e[1],e[1],l-m),i[0]=Math.max(i[0],i[0],s+h),i[1]=Math.max(i[1],i[1],l+m)}}return{x:e[0],y:e[1],width:i[0]-e[0],height:i[1]-e[1]}},n.prototype.begin=function(e){return this._ctx=e||null,this.pathCommands.length=0,this},n.prototype.moveTo=function(e,t){return this.pathCommands.push(new i("M",[e,t])),this._ctx&&this._ctx.moveTo(e,t),this},n.prototype.lineTo=function(e,t){return this.pathCommands.push(new i("L",[e,t])),this._ctx&&this._ctx.lineTo(e,t),this},n.prototype.bezierCurveTo=function(e,t,n,a,o,r){return this.pathCommands.push(new i("C",[e,t,n,a,o,r])),this._ctx&&this._ctx.bezierCurveTo(e,t,n,a,o,r),this},n.prototype.quadraticCurveTo=function(e,t,n,a){return this.pathCommands.push(new i("Q",[e,t,n,a])),this._ctx&&this._ctx.quadraticCurveTo(e,t,n,a),this},n.prototype.arc=function(e,t,n,a,o,r){return this.pathCommands.push(new i("A",[e,t,n,n,a,o-a,0,r?0:1])),this._ctx&&this._ctx.arc(e,t,n,a,o,r),this},n.prototype.arcTo=function(e,t,i,n,a){return this._ctx&&this._ctx.arcTo(e,t,i,n,a),this},n.prototype.rect=function(e,t,i,n){return this._ctx&&this._ctx.rect(e,t,i,n),this},n.prototype.closePath=function(){return this.pathCommands.push(new i("z")),this._ctx&&this._ctx.closePath(),this},n.prototype.isEmpty=function(){return 0===this.pathCommands.length},n.PathSegment=i,n}),i("zrender/shape/Line",["require","./Base","./util/dashedLineTo","../tool/util"],function(e){var t=e("./Base"),i=e("./util/dashedLineTo"),n=function(e){this.brushTypeOnly="stroke",this.textPosition="end",t.call(this,e)};return n.prototype={type:"line",buildPath:function(e,t){if(t.lineType&&"solid"!=t.lineType){if("dashed"==t.lineType||"dotted"==t.lineType){var n=(t.lineWidth||1)*("dashed"==t.lineType?5:1);i(e,t.xStart,t.yStart,t.xEnd,t.yEnd,n)}}else e.moveTo(t.xStart,t.yStart),e.lineTo(t.xEnd,t.yEnd)},getRect:function(e){if(e.__rect)return e.__rect;var t=e.lineWidth||1;return e.__rect={x:Math.min(e.xStart,e.xEnd)-t,y:Math.min(e.yStart,e.yEnd)-t,width:Math.abs(e.xStart-e.xEnd)+t,height:Math.abs(e.yStart-e.yEnd)+t},e.__rect}},e("../tool/util").inherits(n,t),n}),i("zrender/shape/BezierCurve",["require","./Base","../tool/util"],function(e){"use strict";var t=e("./Base"),i=function(e){this.brushTypeOnly="stroke",this.textPosition="end",t.call(this,e)};return i.prototype={type:"bezier-curve",buildPath:function(e,t){e.moveTo(t.xStart,t.yStart),"undefined"!=typeof t.cpX2&&"undefined"!=typeof t.cpY2?e.bezierCurveTo(t.cpX1,t.cpY1,t.cpX2,t.cpY2,t.xEnd,t.yEnd):e.quadraticCurveTo(t.cpX1,t.cpY1,t.xEnd,t.yEnd)},getRect:function(e){if(e.__rect)return e.__rect;var t=Math.min(e.xStart,e.xEnd,e.cpX1),i=Math.min(e.yStart,e.yEnd,e.cpY1),n=Math.max(e.xStart,e.xEnd,e.cpX1),a=Math.max(e.yStart,e.yEnd,e.cpY1),o=e.cpX2,r=e.cpY2;"undefined"!=typeof o&&"undefined"!=typeof r&&(t=Math.min(t,o),i=Math.min(i,r),n=Math.max(n,o),a=Math.max(a,r));var s=e.lineWidth||1;return e.__rect={x:t-s,y:i-s,width:n-t+s,height:a-i+s},e.__rect}},e("../tool/util").inherits(i,t),i}),i("zrender/shape/util/dashedLineTo",[],function(){var e=[5,5];return function(t,i,n,a,o,r){if(t.setLineDash)return e[0]=e[1]=r,t.setLineDash(e),t.moveTo(i,n),void t.lineTo(a,o);r="number"!=typeof r?5:r;var s=a-i,l=o-n,h=Math.floor(Math.sqrt(s*s+l*l)/r);s/=h,l/=h;for(var m=!0,V=0;h>V;++V)m?t.moveTo(i,n):t.lineTo(i,n),m=!m,i+=s,n+=l;t.lineTo(a,o)}}),i("zrender/shape/Polygon",["require","./Base","./util/smoothSpline","./util/smoothBezier","./util/dashedLineTo","../tool/util"],function(e){var t=e("./Base"),i=e("./util/smoothSpline"),n=e("./util/smoothBezier"),a=e("./util/dashedLineTo"),o=function(e){t.call(this,e)};return o.prototype={type:"polygon",buildPath:function(e,t){var o=t.pointList;if(!(o.length<2)){if(t.smooth&&"spline"!==t.smooth){var r=n(o,t.smooth,!0,t.smoothConstraint);e.moveTo(o[0][0],o[0][1]);for(var s,l,h,m=o.length,V=0;m>V;V++)s=r[2*V],l=r[2*V+1],h=o[(V+1)%m],e.bezierCurveTo(s[0],s[1],l[0],l[1],h[0],h[1])}else if("spline"===t.smooth&&(o=i(o,!0)),t.lineType&&"solid"!=t.lineType){if("dashed"==t.lineType||"dotted"==t.lineType){var U=t._dashLength||(t.lineWidth||1)*("dashed"==t.lineType?5:1);t._dashLength=U,e.moveTo(o[0][0],o[0][1]);for(var V=1,d=o.length;d>V;V++)a(e,o[V-1][0],o[V-1][1],o[V][0],o[V][1],U);a(e,o[o.length-1][0],o[o.length-1][1],o[0][0],o[0][1],U)}}else{e.moveTo(o[0][0],o[0][1]);for(var V=1,d=o.length;d>V;V++)e.lineTo(o[V][0],o[V][1]);e.lineTo(o[0][0],o[0][1])}e.closePath()}},getRect:function(e){if(e.__rect)return e.__rect;for(var t=Number.MAX_VALUE,i=Number.MIN_VALUE,n=Number.MAX_VALUE,a=Number.MIN_VALUE,o=e.pointList,r=0,s=o.length;s>r;r++)o[r][0]<t&&(t=o[r][0]),o[r][0]>i&&(i=o[r][0]),o[r][1]<n&&(n=o[r][1]),o[r][1]>a&&(a=o[r][1]);var l;return l="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(t-l/2),y:Math.round(n-l/2),width:i-t+l,height:a-n+l},e.__rect}},e("../tool/util").inherits(o,t),o}),i("echarts/util/shape/normalIsCover",[],function(){return function(e,t){var i=this.transformCoordToLocal(e,t);return e=i[0],t=i[1],this.isCoverRect(e,t)}}),i("zrender/shape/util/smoothSpline",["require","../../tool/vector"],function(e){function t(e,t,i,n,a,o,r){var s=.5*(i-e),l=.5*(n-t);return(2*(t-i)+s+l)*r+(-3*(t-i)-2*s-l)*o+s*a+t}var i=e("../../tool/vector");return function(e,n){for(var a=e.length,o=[],r=0,s=1;a>s;s++)r+=i.distance(e[s-1],e[s]);var l=r/5;l=a>l?a:l;for(var s=0;l>s;s++){var h,m,V,U=s/(l-1)*(n?a:a-1),d=Math.floor(U),p=U-d,c=e[d%a];n?(h=e[(d-1+a)%a],m=e[(d+1)%a],V=e[(d+2)%a]):(h=e[0===d?d:d-1],m=e[d>a-2?a-1:d+1],V=e[d>a-3?a-1:d+2]);var u=p*p,y=p*u;o.push([t(h[0],c[0],m[0],V[0],p,u,y),t(h[1],c[1],m[1],V[1],p,u,y)])}return o}}),i("zrender/shape/util/smoothBezier",["require","../../tool/vector"],function(e){var t=e("../../tool/vector");return function(e,i,n,a){var o,r,s,l,h=[],m=[],V=[],U=[],d=!!a;if(d){s=[1/0,1/0],l=[-(1/0),-(1/0)];for(var p=0,c=e.length;c>p;p++)t.min(s,s,e[p]),t.max(l,l,e[p]);t.min(s,s,a[0]),t.max(l,l,a[1])}for(var p=0,c=e.length;c>p;p++){var o,r,u=e[p];if(n)o=e[p?p-1:c-1],r=e[(p+1)%c];else{if(0===p||p===c-1){h.push(t.clone(e[p]));continue}o=e[p-1],r=e[p+1]}t.sub(m,r,o),t.scale(m,m,i);var y=t.distance(u,o),g=t.distance(u,r),b=y+g;0!==b&&(y/=b,g/=b),t.scale(V,m,-y),t.scale(U,m,g);var f=t.add([],u,V),k=t.add([],u,U);d&&(t.max(f,f,s),t.min(f,f,l),t.max(k,k,s),t.min(k,k,l)),h.push(f),h.push(k)}return n&&h.push(t.clone(h.shift())),h}}),i("echarts/util/ecQuery",["require","zrender/tool/util"],function(e){function t(e,t){if("undefined"!=typeof e){if(!t)return e;t=t.split(".");for(var i=t.length,n=0;i>n;){if(e=e[t[n]],"undefined"==typeof e)return;n++}return e}}function i(e,i){for(var n,a=0,o=e.length;o>a;a++)if(n=t(e[a],i),"undefined"!=typeof n)return n}function n(e,i){for(var n,o=e.length;o--;){var r=t(e[o],i);"undefined"!=typeof r&&("undefined"==typeof n?n=a.clone(r):a.merge(n,r,!0))}return n}var a=e("zrender/tool/util");return{query:t,deepQuery:i,deepMerge:n}}),i("echarts/util/number",[],function(){function e(e){return e.replace(/^\s+/,"").replace(/\s+$/,"")}function t(t,i){return"string"==typeof t?e(t).match(/%$/)?parseFloat(t)/100*i:parseFloat(t):t}function i(e,i){return[t(i[0],e.getWidth()),t(i[1],e.getHeight())]}function n(e,i){i instanceof Array||(i=[0,i]);var n=Math.min(e.getWidth(),e.getHeight())/2;return[t(i[0],n),t(i[1],n)]}function a(e){return isNaN(e)?"-":(e=(e+"").split("."),e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:""))}function o(e){for(var t=1,i=0;Math.round(e*t)/t!==e;)t*=10,i++;return i}return{parsePercent:t,parseCenter:i,parseRadius:n,addCommas:a,getPrecision:o}}),i("echarts/data/KDTree",["require","./quickSelect"],function(e){function t(e,t){this.left=null,this.right=null,this.axis=e,this.data=t}var i=e("./quickSelect"),n=function(e,t){e.length&&(t||(t=e[0].array.length),this.dimension=t,this.root=this._buildTree(e,0,e.length-1,0),this._stack=[],this._nearstNList=[])};return n.prototype._buildTree=function(e,n,a,o){if(n>a)return null;var r=Math.floor((n+a)/2);r=i(e,n,a,r,function(e,t){return e.array[o]-t.array[o]});var s=e[r],l=new t(o,s);return o=(o+1)%this.dimension,a>n&&(l.left=this._buildTree(e,n,r-1,o),l.right=this._buildTree(e,r+1,a,o)),l},n.prototype.nearest=function(e,t){var i=this.root,n=this._stack,a=0,o=1/0,r=null;for(i.data!==e&&(o=t(i.data,e),r=i),e.array[i.axis]<i.data.array[i.axis]?(i.right&&(n[a++]=i.right),i.left&&(n[a++]=i.left)):(i.left&&(n[a++]=i.left),i.right&&(n[a++]=i.right));a--;){i=n[a];var s=e.array[i.axis]-i.data.array[i.axis],l=0>s,h=!1;s*=s,o>s&&(s=t(i.data,e),o>s&&i.data!==e&&(o=s,r=i),h=!0),l?(h&&i.right&&(n[a++]=i.right),i.left&&(n[a++]=i.left)):(h&&i.left&&(n[a++]=i.left),i.right&&(n[a++]=i.right))}return r.data},n.prototype._addNearest=function(e,t,i){for(var n=this._nearstNList,a=e-1;a>0&&!(t>=n[a-1].dist);a--)n[a].dist=n[a-1].dist,n[a].node=n[a-1].node;n[a].dist=t,n[a].node=i},n.prototype.nearestN=function(e,t,i,n){if(0>=t)return n.length=0,n;for(var a=this.root,o=this._stack,r=0,s=this._nearstNList,l=0;t>l;l++)s[l]||(s[l]={}),s[l].dist=0,s[l].node=null;var h=i(a.data,e),m=0;for(a.data!==e&&(m++,this._addNearest(m,h,a)),e.array[a.axis]<a.data.array[a.axis]?(a.right&&(o[r++]=a.right),a.left&&(o[r++]=a.left)):(a.left&&(o[r++]=a.left),a.right&&(o[r++]=a.right));r--;){a=o[r];var h=e.array[a.axis]-a.data.array[a.axis],V=0>h,U=!1;h*=h,(t>m||h<s[m-1].dist)&&(h=i(a.data,e),(t>m||h<s[m-1].dist)&&a.data!==e&&(t>m&&m++,this._addNearest(m,h,a)),U=!0),V?(U&&a.right&&(o[r++]=a.right),a.left&&(o[r++]=a.left)):(U&&a.left&&(o[r++]=a.left),a.right&&(o[r++]=a.right))}for(var l=0;m>l;l++)n[l]=s[l].node.data;return n.length=m,n},n}),i("echarts/data/quickSelect",["require"],function(){function e(e,t){return e-t}function t(e,t,i){var n=e[t];e[t]=e[i],e[i]=n}function i(e,i,n,a,o){for(var r=i;n>i;){var r=Math.round((n+i)/2),s=e[r];t(e,r,n),r=i;for(var l=i;n-1>=l;l++)o(s,e[l])>=0&&(t(e,l,r),r++);if(t(e,n,r),r===a)return r;a>r?i=r+1:n=r-1}return i}function n(t,n,a,o,r){return arguments.length<=3&&(o=n,r=2==arguments.length?e:a,n=0,a=t.length-1),i(t,n,a,o,r)}return n}),i("echarts/component/dataView",["require","./base","../config","zrender/tool/util","../component"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o),this.dom=o.dom,this._tDom=document.createElement("div"),this._textArea=document.createElement("textArea"),this._buttonRefresh=document.createElement("button"),this._buttonRefresh.setAttribute("type","button"),this._buttonClose=document.createElement("button"),this._buttonClose.setAttribute("type","button"),this._hasShow=!1,this._zrHeight=n.getHeight(),this._zrWidth=n.getWidth(),this._tDom.className="echarts-dataview",this.hide(),this.dom.firstChild.appendChild(this._tDom),window.addEventListener?(this._tDom.addEventListener("click",this._stop),this._tDom.addEventListener("mousewheel",this._stop),this._tDom.addEventListener("mousemove",this._stop),this._tDom.addEventListener("mousedown",this._stop),this._tDom.addEventListener("mouseup",this._stop),this._tDom.addEventListener("touchstart",this._stop),this._tDom.addEventListener("touchmove",this._stop),this._tDom.addEventListener("touchend",this._stop)):(this._tDom.attachEvent("onclick",this._stop),this._tDom.attachEvent("onmousewheel",this._stop),this._tDom.attachEvent("onmousemove",this._stop),this._tDom.attachEvent("onmousedown",this._stop),this._tDom.attachEvent("onmouseup",this._stop))}var i=e("./base"),n=e("../config"),a=e("zrender/tool/util");return t.prototype={type:n.COMPONENT_TYPE_DATAVIEW,_lang:["Data View","close","refresh"],_gCssText:"position:absolute;display:block;overflow:hidden;transition:height 0.8s,background-color 1s;-moz-transition:height 0.8s,background-color 1s;-webkit-transition:height 0.8s,background-color 1s;-o-transition:height 0.8s,background-color 1s;z-index:1;left:0;top:0;",hide:function(){this._sizeCssText="width:"+this._zrWidth+"px;height:0px;background-color:#f0ffff;",this._tDom.style.cssText=this._gCssText+this._sizeCssText},show:function(e){this._hasShow=!0;var t=this.query(this.option,"toolbox.feature.dataView.lang")||this._lang;this.option=e,this._tDom.innerHTML='<p style="padding:8px 0;margin:0 0 10px 0;border-bottom:1px solid #eee">'+(t[0]||this._lang[0])+"</p>";var i=this.query(this.option,"toolbox.feature.dataView.optionToContent");"function"!=typeof i?this._textArea.value=this._optionToContent():(this._textArea=document.createElement("div"),this._textArea.innerHTML=i(this.option)),this._textArea.style.cssText="display:block;margin:0 0 8px 0;padding:4px 6px;overflow:auto;width:100%;height:"+(this._zrHeight-100)+"px;",this._tDom.appendChild(this._textArea),this._buttonClose.style.cssText="float:right;padding:1px 6px;",this._buttonClose.innerHTML=t[1]||this._lang[1];var n=this;this._buttonClose.onclick=function(){n.hide()},this._tDom.appendChild(this._buttonClose),this.query(this.option,"toolbox.feature.dataView.readOnly")===!1?(this._buttonRefresh.style.cssText="float:right;margin-right:10px;padding:1px 6px;",this._buttonRefresh.innerHTML=t[2]||this._lang[2],this._buttonRefresh.onclick=function(){n._save()},this._textArea.readOnly=!1,this._textArea.style.cursor="default"):(this._buttonRefresh.style.cssText="display:none",
+this._textArea.readOnly=!0,this._textArea.style.cursor="text"),this._tDom.appendChild(this._buttonRefresh),this._sizeCssText="width:"+this._zrWidth+"px;height:"+this._zrHeight+"px;background-color:#fff;",this._tDom.style.cssText=this._gCssText+this._sizeCssText},_optionToContent:function(){var e,t,i,a,o,r,s=[],l="";if(this.option.xAxis)for(s=this.option.xAxis instanceof Array?this.option.xAxis:[this.option.xAxis],e=0,a=s.length;a>e;e++)if("category"==(s[e].type||"category")){for(r=[],t=0,i=s[e].data.length;i>t;t++)r.push(this.getDataFromOption(s[e].data[t]));l+=r.join(", ")+"\n\n"}if(this.option.yAxis)for(s=this.option.yAxis instanceof Array?this.option.yAxis:[this.option.yAxis],e=0,a=s.length;a>e;e++)if("category"==s[e].type){for(r=[],t=0,i=s[e].data.length;i>t;t++)r.push(this.getDataFromOption(s[e].data[t]));l+=r.join(", ")+"\n\n"}var h,m=this.option.series;for(e=0,a=m.length;a>e;e++){for(r=[],t=0,i=m[e].data.length;i>t;t++)o=m[e].data[t],h=m[e].type==n.CHART_TYPE_PIE||m[e].type==n.CHART_TYPE_MAP?(o.name||"-")+":":"",m[e].type==n.CHART_TYPE_SCATTER&&(o=this.getDataFromOption(o).join(", ")),r.push(h+this.getDataFromOption(o));l+=(m[e].name||"-")+" : \n",l+=r.join(m[e].type==n.CHART_TYPE_SCATTER?"\n":", "),l+="\n\n"}return l},_save:function(){var e=this.query(this.option,"toolbox.feature.dataView.contentToOption");if("function"!=typeof e){for(var t=this._textArea.value.split("\n"),i=[],a=0,o=t.length;o>a;a++)t[a]=this._trim(t[a]),""!==t[a]&&i.push(t[a]);this._contentToOption(i)}else e(this._textArea,this.option);this.hide();var r=this;setTimeout(function(){r.messageCenter&&r.messageCenter.dispatch(n.EVENT.DATA_VIEW_CHANGED,null,{option:r.option},r.myChart)},r.canvasSupported?800:100)},_contentToOption:function(e){var t,i,a,o,r,s,l,h=[],m=0;if(this.option.xAxis)for(h=this.option.xAxis instanceof Array?this.option.xAxis:[this.option.xAxis],t=0,o=h.length;o>t;t++)if("category"==(h[t].type||"category")){for(s=e[m].split(","),i=0,a=h[t].data.length;a>i;i++)l=this._trim(s[i]||""),r=h[t].data[i],"undefined"!=typeof h[t].data[i].value?h[t].data[i].value=l:h[t].data[i]=l;m++}if(this.option.yAxis)for(h=this.option.yAxis instanceof Array?this.option.yAxis:[this.option.yAxis],t=0,o=h.length;o>t;t++)if("category"==h[t].type){for(s=e[m].split(","),i=0,a=h[t].data.length;a>i;i++)l=this._trim(s[i]||""),r=h[t].data[i],"undefined"!=typeof h[t].data[i].value?h[t].data[i].value=l:h[t].data[i]=l;m++}var V=this.option.series;for(t=0,o=V.length;o>t;t++)if(m++,V[t].type==n.CHART_TYPE_SCATTER)for(var i=0,a=V[t].data.length;a>i;i++)s=e[m],l=s.replace(" ","").split(","),"undefined"!=typeof V[t].data[i].value?V[t].data[i].value=l:V[t].data[i]=l,m++;else{s=e[m].split(",");for(var i=0,a=V[t].data.length;a>i;i++)l=(s[i]||"").replace(/.*:/,""),l=this._trim(l),l="-"!=l&&""!==l?l-0:"-","undefined"!=typeof V[t].data[i].value?V[t].data[i].value=l:V[t].data[i]=l;m++}},_trim:function(e){var t=new RegExp("(^[\\s\\t\\xa0\\u3000]+)|([\\u3000\\xa0\\s\\t]+$)","g");return e.replace(t,"")},_stop:function(e){e=e||window.event,e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},resize:function(){this._zrHeight=this.zr.getHeight(),this._zrWidth=this.zr.getWidth(),this._tDom.offsetHeight>10&&(this._sizeCssText="width:"+this._zrWidth+"px;height:"+this._zrHeight+"px;background-color:#fff;",this._tDom.style.cssText=this._gCssText+this._sizeCssText,this._textArea.style.cssText="display:block;margin:0 0 8px 0;padding:4px 6px;overflow:auto;width:100%;height:"+(this._zrHeight-100)+"px;")},dispose:function(){window.removeEventListener?(this._tDom.removeEventListener("click",this._stop),this._tDom.removeEventListener("mousewheel",this._stop),this._tDom.removeEventListener("mousemove",this._stop),this._tDom.removeEventListener("mousedown",this._stop),this._tDom.removeEventListener("mouseup",this._stop),this._tDom.removeEventListener("touchstart",this._stop),this._tDom.removeEventListener("touchmove",this._stop),this._tDom.removeEventListener("touchend",this._stop)):(this._tDom.detachEvent("onclick",this._stop),this._tDom.detachEvent("onmousewheel",this._stop),this._tDom.detachEvent("onmousemove",this._stop),this._tDom.detachEvent("onmousedown",this._stop),this._tDom.detachEvent("onmouseup",this._stop)),this._buttonRefresh.onclick=null,this._buttonClose.onclick=null,this._hasShow&&(this._tDom.removeChild(this._textArea),this._tDom.removeChild(this._buttonRefresh),this._tDom.removeChild(this._buttonClose)),this._textArea=null,this._buttonRefresh=null,this._buttonClose=null,this.dom.firstChild.removeChild(this._tDom),this._tDom=null}},a.inherits(t,i),e("../component").define("dataView",t),t}),i("echarts/util/shape/Cross",["require","zrender/shape/Base","zrender/shape/Line","zrender/tool/util","./normalIsCover"],function(e){function t(e){i.call(this,e)}var i=e("zrender/shape/Base"),n=e("zrender/shape/Line"),a=e("zrender/tool/util");return t.prototype={type:"cross",buildPath:function(e,t){var i=t.rect;t.xStart=i.x,t.xEnd=i.x+i.width,t.yStart=t.yEnd=t.y,n.prototype.buildPath(e,t),t.xStart=t.xEnd=t.x,t.yStart=i.y,t.yEnd=i.y+i.height,n.prototype.buildPath(e,t)},getRect:function(e){return e.rect},isCover:e("./normalIsCover")},a.inherits(t,i),t}),i("zrender/shape/Sector",["require","../tool/math","../tool/computeBoundingBox","../tool/vector","./Base","../tool/util"],function(e){var t=e("../tool/math"),i=e("../tool/computeBoundingBox"),n=e("../tool/vector"),a=e("./Base"),o=n.create(),r=n.create(),s=n.create(),l=n.create(),h=function(e){a.call(this,e)};return h.prototype={type:"sector",buildPath:function(e,i){var n=i.x,a=i.y,o=i.r0||0,r=i.r,s=i.startAngle,l=i.endAngle,h=i.clockWise||!1;s=t.degreeToRadian(s),l=t.degreeToRadian(l),h||(s=-s,l=-l);var m=t.cos(s),V=t.sin(s);e.moveTo(m*o+n,V*o+a),e.lineTo(m*r+n,V*r+a),e.arc(n,a,r,s,l,!h),e.lineTo(t.cos(l)*o+n,t.sin(l)*o+a),0!==o&&e.arc(n,a,o,l,s,h),e.closePath()},getRect:function(e){if(e.__rect)return e.__rect;var a=e.x,h=e.y,m=e.r0||0,V=e.r,U=t.degreeToRadian(e.startAngle),d=t.degreeToRadian(e.endAngle),p=e.clockWise;return p||(U=-U,d=-d),m>1?i.arc(a,h,m,U,d,!p,o,s):(o[0]=s[0]=a,o[1]=s[1]=h),i.arc(a,h,V,U,d,!p,r,l),n.min(o,o,r),n.max(s,s,l),e.__rect={x:o[0],y:o[1],width:s[0]-o[0],height:s[1]-o[1]},e.__rect}},e("../tool/util").inherits(h,a),h}),i("echarts/util/shape/Candle",["require","zrender/shape/Base","zrender/tool/util","./normalIsCover"],function(e){function t(e){i.call(this,e)}var i=e("zrender/shape/Base"),n=e("zrender/tool/util");return t.prototype={type:"candle",_numberOrder:function(e,t){return t-e},buildPath:function(e,t){var i=n.clone(t.y).sort(this._numberOrder);e.moveTo(t.x,i[3]),e.lineTo(t.x,i[2]),e.moveTo(t.x-t.width/2,i[2]),e.rect(t.x-t.width/2,i[2],t.width,i[1]-i[2]),e.moveTo(t.x,i[1]),e.lineTo(t.x,i[0])},getRect:function(e){if(!e.__rect){var t=0;("stroke"==e.brushType||"fill"==e.brushType)&&(t=e.lineWidth||1);var i=n.clone(e.y).sort(this._numberOrder);e.__rect={x:Math.round(e.x-e.width/2-t/2),y:Math.round(i[3]-t/2),width:e.width+t,height:i[0]-i[3]+t}}return e.__rect},isCover:e("./normalIsCover")},n.inherits(t,i),t}),i("zrender/tool/computeBoundingBox",["require","./vector","./curve"],function(e){function t(e,t,i){if(0!==e.length){for(var n=e[0][0],a=e[0][0],o=e[0][1],r=e[0][1],s=1;s<e.length;s++){var l=e[s];l[0]<n&&(n=l[0]),l[0]>a&&(a=l[0]),l[1]<o&&(o=l[1]),l[1]>r&&(r=l[1])}t[0]=n,t[1]=o,i[0]=a,i[1]=r}}function i(e,t,i,n,a,r){var s=[];o.cubicExtrema(e[0],t[0],i[0],n[0],s);for(var l=0;l<s.length;l++)s[l]=o.cubicAt(e[0],t[0],i[0],n[0],s[l]);var h=[];o.cubicExtrema(e[1],t[1],i[1],n[1],h);for(var l=0;l<h.length;l++)h[l]=o.cubicAt(e[1],t[1],i[1],n[1],h[l]);s.push(e[0],n[0]),h.push(e[1],n[1]);var m=Math.min.apply(null,s),V=Math.max.apply(null,s),U=Math.min.apply(null,h),d=Math.max.apply(null,h);a[0]=m,a[1]=U,r[0]=V,r[1]=d}function n(e,t,i,n,a){var r=o.quadraticExtremum(e[0],t[0],i[0]),s=o.quadraticExtremum(e[1],t[1],i[1]);r=Math.max(Math.min(r,1),0),s=Math.max(Math.min(s,1),0);var l=1-r,h=1-s,m=l*l*e[0]+2*l*r*t[0]+r*r*i[0],V=l*l*e[1]+2*l*r*t[1]+r*r*i[1],U=h*h*e[0]+2*h*s*t[0]+s*s*i[0],d=h*h*e[1]+2*h*s*t[1]+s*s*i[1];n[0]=Math.min(e[0],i[0],m,U),n[1]=Math.min(e[1],i[1],V,d),a[0]=Math.max(e[0],i[0],m,U),a[1]=Math.max(e[1],i[1],V,d)}var a=e("./vector"),o=e("./curve"),r=a.create(),s=a.create(),l=a.create(),h=function(e,t,i,n,o,h,m,V){if(Math.abs(n-o)>=2*Math.PI)return m[0]=e-i,m[1]=t-i,V[0]=e+i,void(V[1]=t+i);if(r[0]=Math.cos(n)*i+e,r[1]=Math.sin(n)*i+t,s[0]=Math.cos(o)*i+e,s[1]=Math.sin(o)*i+t,a.min(m,r,s),a.max(V,r,s),n%=2*Math.PI,0>n&&(n+=2*Math.PI),o%=2*Math.PI,0>o&&(o+=2*Math.PI),n>o&&!h?o+=2*Math.PI:o>n&&h&&(n+=2*Math.PI),h){var U=o;o=n,n=U}for(var d=0;o>d;d+=Math.PI/2)d>n&&(l[0]=Math.cos(d)*i+e,l[1]=Math.sin(d)*i+t,a.min(m,l,m),a.max(V,l,V))};return t.cubeBezier=i,t.quadraticBezier=n,t.arc=h,t}),i("echarts/util/shape/Chain",["require","zrender/shape/Base","./Icon","zrender/shape/util/dashedLineTo","zrender/tool/util","zrender/tool/matrix"],function(e){function t(e){i.call(this,e)}var i=e("zrender/shape/Base"),n=e("./Icon"),a=e("zrender/shape/util/dashedLineTo"),o=e("zrender/tool/util"),r=e("zrender/tool/matrix");return t.prototype={type:"chain",brush:function(e,t){var i=this.style;t&&(i=this.getHighlightStyle(i,this.highlightStyle||{})),e.save(),this.setContext(e,i),this.setTransform(e),e.save(),e.beginPath(),this.buildLinePath(e,i),e.stroke(),e.restore(),this.brushSymbol(e,i),e.restore()},buildLinePath:function(e,t){var i=t.x,n=t.y+5,o=t.width,r=t.height/2-10;if(e.moveTo(i,n),e.lineTo(i,n+r),e.moveTo(i+o,n),e.lineTo(i+o,n+r),e.moveTo(i,n+r/2),t.lineType&&"solid"!=t.lineType){if("dashed"==t.lineType||"dotted"==t.lineType){var s=(t.lineWidth||1)*("dashed"==t.lineType?5:1);a(e,i,n+r/2,i+o,n+r/2,s)}}else e.lineTo(i+o,n+r/2)},brushSymbol:function(e,t){var i=t.y+t.height/4;e.save();for(var a,o=t.chainPoint,r=0,s=o.length;s>r;r++){if(a=o[r],"none"!=a.symbol){e.beginPath();var l=a.symbolSize;n.prototype.buildPath(e,{iconType:a.symbol,x:a.x-l,y:i-l,width:2*l,height:2*l,n:a.n}),e.fillStyle=a.isEmpty?"#fff":t.strokeColor,e.closePath(),e.fill(),e.stroke()}a.showLabel&&(e.font=a.textFont,e.fillStyle=a.textColor,e.textAlign=a.textAlign,e.textBaseline=a.textBaseline,a.rotation?(e.save(),this._updateTextTransform(e,a.rotation),e.fillText(a.name,a.textX,a.textY),e.restore()):e.fillText(a.name,a.textX,a.textY))}e.restore()},_updateTextTransform:function(e,t){var i=r.create();if(r.identity(i),0!==t[0]){var n=t[1]||0,a=t[2]||0;(n||a)&&r.translate(i,i,[-n,-a]),r.rotate(i,i,t[0]),(n||a)&&r.translate(i,i,[n,a])}e.transform.apply(e,i)},isCover:function(e,t){var i=this.style;return e>=i.x&&e<=i.x+i.width&&t>=i.y&&t<=i.y+i.height?!0:!1}},o.inherits(t,i),t}),i("zrender/shape/Ring",["require","./Base","../tool/util"],function(e){var t=e("./Base"),i=function(e){t.call(this,e)};return i.prototype={type:"ring",buildPath:function(e,t){e.arc(t.x,t.y,t.r,0,2*Math.PI,!1),e.moveTo(t.x+t.r0,t.y),e.arc(t.x,t.y,t.r0,0,2*Math.PI,!0)},getRect:function(e){if(e.__rect)return e.__rect;var t;return t="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(e.x-e.r-t/2),y:Math.round(e.y-e.r-t/2),width:2*e.r+t,height:2*e.r+t},e.__rect}},e("../tool/util").inherits(i,t),i}),i("echarts/component/axis",["require","./base","zrender/shape/Line","../config","../util/ecData","zrender/tool/util","zrender/tool/color","./categoryAxis","./valueAxis","../component"],function(e){function t(e,t,n,a,o,r){i.call(this,e,t,n,a,o),this.axisType=r,this._axisList=[],this.refresh(a)}var i=e("./base"),n=e("zrender/shape/Line"),a=e("../config"),o=e("../util/ecData"),r=e("zrender/tool/util"),s=e("zrender/tool/color");return t.prototype={type:a.COMPONENT_TYPE_AXIS,axisBase:{_buildAxisLine:function(){var e=this.option.axisLine.lineStyle.width,t=e/2,i={_axisShape:"axisLine",zlevel:this.getZlevelBase(),z:this.getZBase()+3,hoverable:!1},a=this.grid;switch(this.option.position){case"left":i.style={xStart:a.getX()-t,yStart:a.getYend(),xEnd:a.getX()-t,yEnd:a.getY(),lineCap:"round"};break;case"right":i.style={xStart:a.getXend()+t,yStart:a.getYend(),xEnd:a.getXend()+t,yEnd:a.getY(),lineCap:"round"};break;case"bottom":i.style={xStart:a.getX(),yStart:a.getYend()+t,xEnd:a.getXend(),yEnd:a.getYend()+t,lineCap:"round"};break;case"top":i.style={xStart:a.getX(),yStart:a.getY()-t,xEnd:a.getXend(),yEnd:a.getY()-t,lineCap:"round"}}var o=i.style;""!==this.option.name&&(o.text=this.option.name,o.textPosition=this.option.nameLocation,o.textFont=this.getFont(this.option.nameTextStyle),this.option.nameTextStyle.align&&(o.textAlign=this.option.nameTextStyle.align),this.option.nameTextStyle.baseline&&(o.textBaseline=this.option.nameTextStyle.baseline),this.option.nameTextStyle.color&&(o.textColor=this.option.nameTextStyle.color)),o.strokeColor=this.option.axisLine.lineStyle.color,o.lineWidth=e,this.isHorizontal()?o.yStart=o.yEnd=this.subPixelOptimize(o.yEnd,e):o.xStart=o.xEnd=this.subPixelOptimize(o.xEnd,e),o.lineType=this.option.axisLine.lineStyle.type,i=new n(i),this.shapeList.push(i)},_axisLabelClickable:function(e,t){return e?(o.pack(t,void 0,-1,void 0,-1,t.style.text),t.hoverable=!0,t.clickable=!0,t.highlightStyle={color:s.lift(t.style.color,1),brushType:"fill"},t):t},refixAxisShape:function(e,t){if(this.option.axisLine.onZero){var i;if(this.isHorizontal()&&null!=t)for(var n=0,a=this.shapeList.length;a>n;n++)"axisLine"===this.shapeList[n]._axisShape?(this.shapeList[n].style.yStart=this.shapeList[n].style.yEnd=this.subPixelOptimize(t,this.shapeList[n].stylelineWidth),this.zr.modShape(this.shapeList[n].id)):"axisTick"===this.shapeList[n]._axisShape&&(i=this.shapeList[n].style.yEnd-this.shapeList[n].style.yStart,this.shapeList[n].style.yStart=t-i,this.shapeList[n].style.yEnd=t,this.zr.modShape(this.shapeList[n].id));if(!this.isHorizontal()&&null!=e)for(var n=0,a=this.shapeList.length;a>n;n++)"axisLine"===this.shapeList[n]._axisShape?(this.shapeList[n].style.xStart=this.shapeList[n].style.xEnd=this.subPixelOptimize(e,this.shapeList[n].stylelineWidth),this.zr.modShape(this.shapeList[n].id)):"axisTick"===this.shapeList[n]._axisShape&&(i=this.shapeList[n].style.xEnd-this.shapeList[n].style.xStart,this.shapeList[n].style.xStart=e,this.shapeList[n].style.xEnd=e+i,this.zr.modShape(this.shapeList[n].id))}},getPosition:function(){return this.option.position},isHorizontal:function(){return"bottom"===this.option.position||"top"===this.option.position}},reformOption:function(e){if(!e||e instanceof Array&&0===e.length?e=[{type:a.COMPONENT_TYPE_AXIS_VALUE}]:e instanceof Array||(e=[e]),e.length>2&&(e=[e[0],e[1]]),"xAxis"===this.axisType){(!e[0].position||"bottom"!=e[0].position&&"top"!=e[0].position)&&(e[0].position="bottom"),e.length>1&&(e[1].position="bottom"===e[0].position?"top":"bottom");for(var t=0,i=e.length;i>t;t++)e[t].type=e[t].type||"category",e[t].xAxisIndex=t,e[t].yAxisIndex=-1}else{(!e[0].position||"left"!=e[0].position&&"right"!=e[0].position)&&(e[0].position="left"),e.length>1&&(e[1].position="left"===e[0].position?"right":"left");for(var t=0,i=e.length;i>t;t++)e[t].type=e[t].type||"value",e[t].xAxisIndex=-1,e[t].yAxisIndex=t}return e},refresh:function(t){var i;t&&(this.option=t,"xAxis"===this.axisType?(this.option.xAxis=this.reformOption(t.xAxis),i=this.option.xAxis):(this.option.yAxis=this.reformOption(t.yAxis),i=this.option.yAxis),this.series=t.series);for(var n=e("./categoryAxis"),a=e("./valueAxis"),o=Math.max(i&&i.length||0,this._axisList.length),r=0;o>r;r++)!this._axisList[r]||!t||i[r]&&this._axisList[r].type==i[r].type||(this._axisList[r].dispose&&this._axisList[r].dispose(),this._axisList[r]=!1),this._axisList[r]?this._axisList[r].refresh&&this._axisList[r].refresh(i?i[r]:!1,this.series):i&&i[r]&&(this._axisList[r]="category"===i[r].type?new n(this.ecTheme,this.messageCenter,this.zr,i[r],this.myChart,this.axisBase):new a(this.ecTheme,this.messageCenter,this.zr,i[r],this.myChart,this.axisBase,this.series))},getAxis:function(e){return this._axisList[e]},getAxisCount:function(){return this._axisList.length},clear:function(){for(var e=0,t=this._axisList.length;t>e;e++)this._axisList[e].dispose&&this._axisList[e].dispose();this._axisList=[]}},r.inherits(t,i),e("../component").define("axis",t),t}),i("echarts/component/grid",["require","./base","zrender/shape/Rectangle","../config","zrender/tool/util","../component"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o),this.refresh(a)}var i=e("./base"),n=e("zrender/shape/Rectangle"),a=e("../config");a.grid={zlevel:0,z:0,x:80,y:60,x2:80,y2:60,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"};var o=e("zrender/tool/util");return t.prototype={type:a.COMPONENT_TYPE_GRID,getX:function(){return this._x},getY:function(){return this._y},getWidth:function(){return this._width},getHeight:function(){return this._height},getXend:function(){return this._x+this._width},getYend:function(){return this._y+this._height},getArea:function(){return{x:this._x,y:this._y,width:this._width,height:this._height}},getBbox:function(){return[[this._x,this._y],[this.getXend(),this.getYend()]]},refixAxisShape:function(e){for(var t,i,n,o=e.xAxis._axisList.concat(e.yAxis?e.yAxis._axisList:[]),r=o.length;r--;)n=o[r],n.type==a.COMPONENT_TYPE_AXIS_VALUE&&n._min<0&&n._max>=0&&(n.isHorizontal()?t=n.getCoord(0):i=n.getCoord(0));if("undefined"!=typeof t||"undefined"!=typeof i)for(r=o.length;r--;)o[r].refixAxisShape(t,i)},refresh:function(e){if(e||this._zrWidth!=this.zr.getWidth()||this._zrHeight!=this.zr.getHeight()){this.clear(),this.option=e||this.option,this.option.grid=this.reformOption(this.option.grid);var t=this.option.grid;this._zrWidth=this.zr.getWidth(),this._zrHeight=this.zr.getHeight(),this._x=this.parsePercent(t.x,this._zrWidth),this._y=this.parsePercent(t.y,this._zrHeight);var i=this.parsePercent(t.x2,this._zrWidth),a=this.parsePercent(t.y2,this._zrHeight);this._width="undefined"==typeof t.width?this._zrWidth-this._x-i:this.parsePercent(t.width,this._zrWidth),this._width=this._width<=0?10:this._width,this._height="undefined"==typeof t.height?this._zrHeight-this._y-a:this.parsePercent(t.height,this._zrHeight),this._height=this._height<=0?10:this._height,this._x=this.subPixelOptimize(this._x,t.borderWidth),this._y=this.subPixelOptimize(this._y,t.borderWidth),this.shapeList.push(new n({zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{x:this._x,y:this._y,width:this._width,height:this._height,brushType:t.borderWidth>0?"both":"fill",color:t.backgroundColor,strokeColor:t.borderColor,lineWidth:t.borderWidth}})),this.zr.addShape(this.shapeList[0])}}},o.inherits(t,i),e("../component").define("grid",t),t}),i("echarts/component/dataZoom",["require","./base","zrender/shape/Rectangle","zrender/shape/Polygon","../util/shape/Icon","../config","../util/date","zrender/tool/util","../component"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o);var r=this;r._ondrift=function(e,t){return r.__ondrift(this,e,t)},r._ondragend=function(){return r.__ondragend()},this._fillerSize=30,this._isSilence=!1,this._zoom={},this.option.dataZoom=this.reformOption(this.option.dataZoom),this.zoomOption=this.option.dataZoom,this._handleSize=this.zoomOption.handleSize,this.myChart.canvasSupported||(this.zoomOption.realtime=!1),this._location=this._getLocation(),this._zoom=this._getZoom(),this._backupData(),this.option.dataZoom.show&&this._buildShape(),this._syncData()}var i=e("./base"),n=e("zrender/shape/Rectangle"),a=e("zrender/shape/Polygon"),o=e("../util/shape/Icon"),r=e("../config");r.dataZoom={zlevel:0,z:4,show:!1,orient:"horizontal",backgroundColor:"rgba(0,0,0,0)",dataBackgroundColor:"#eee",fillerColor:"rgba(144,197,237,0.2)",handleColor:"rgba(70,130,180,0.8)",handleSize:8,showDetail:!0,realtime:!0};var s=e("../util/date"),l=e("zrender/tool/util");return t.prototype={type:r.COMPONENT_TYPE_DATAZOOM,_buildShape:function(){this._buildBackground(),this._buildFiller(),this._buildHandle(),this._buildFrame();for(var e=0,t=this.shapeList.length;t>e;e++)this.zr.addShape(this.shapeList[e]);this._syncFrameShape()},_getLocation:function(){var e,t,i,n,a=this.component.grid;return"horizontal"==this.zoomOption.orient?(i=this.zoomOption.width||a.getWidth(),n=this.zoomOption.height||this._fillerSize,e=null!=this.zoomOption.x?this.zoomOption.x:a.getX(),t=null!=this.zoomOption.y?this.zoomOption.y:this.zr.getHeight()-n-2):(i=this.zoomOption.width||this._fillerSize,n=this.zoomOption.height||a.getHeight(),e=null!=this.zoomOption.x?this.zoomOption.x:2,t=null!=this.zoomOption.y?this.zoomOption.y:a.getY()),{x:e,y:t,width:i,height:n}},_getZoom:function(){var e=this.option.series,t=this.option.xAxis;!t||t instanceof Array||(t=[t],this.option.xAxis=t);var i=this.option.yAxis;!i||i instanceof Array||(i=[i],this.option.yAxis=i);var n,a,o=[],s=this.zoomOption.xAxisIndex;if(t&&null==s){n=[];for(var l=0,h=t.length;h>l;l++)("category"==t[l].type||null==t[l].type)&&n.push(l)}else n=s instanceof Array?s:null!=s?[s]:[];if(s=this.zoomOption.yAxisIndex,i&&null==s){a=[];for(var l=0,h=i.length;h>l;l++)"category"==i[l].type&&a.push(l)}else a=s instanceof Array?s:null!=s?[s]:[];for(var m,l=0,h=e.length;h>l;l++)if(m=e[l],m.type==r.CHART_TYPE_LINE||m.type==r.CHART_TYPE_BAR||m.type==r.CHART_TYPE_SCATTER||m.type==r.CHART_TYPE_K){for(var V=0,U=n.length;U>V;V++)if(n[V]==(m.xAxisIndex||0)){o.push(l);break}for(var V=0,U=a.length;U>V;V++)if(a[V]==(m.yAxisIndex||0)){o.push(l);break}null==this.zoomOption.xAxisIndex&&null==this.zoomOption.yAxisIndex&&m.data&&this.getDataFromOption(m.data[0])instanceof Array&&(m.type==r.CHART_TYPE_SCATTER||m.type==r.CHART_TYPE_LINE||m.type==r.CHART_TYPE_BAR)&&o.push(l)}var d=null!=this._zoom.start?this._zoom.start:null!=this.zoomOption.start?this.zoomOption.start:0,p=null!=this._zoom.end?this._zoom.end:null!=this.zoomOption.end?this.zoomOption.end:100;d>p&&(d+=p,p=d-p,d-=p);var c=Math.round((p-d)/100*("horizontal"==this.zoomOption.orient?this._location.width:this._location.height));return{start:d,end:p,start2:0,end2:100,size:c,xAxisIndex:n,yAxisIndex:a,seriesIndex:o,scatterMap:this._zoom.scatterMap||{}}},_backupData:function(){this._originalData={xAxis:{},yAxis:{},series:{}};for(var e=this.option.xAxis,t=this._zoom.xAxisIndex,i=0,n=t.length;n>i;i++)this._originalData.xAxis[t[i]]=e[t[i]].data;for(var a=this.option.yAxis,o=this._zoom.yAxisIndex,i=0,n=o.length;n>i;i++)this._originalData.yAxis[o[i]]=a[o[i]].data;for(var s,l=this.option.series,h=this._zoom.seriesIndex,i=0,n=h.length;n>i;i++)s=l[h[i]],this._originalData.series[h[i]]=s.data,s.data&&this.getDataFromOption(s.data[0])instanceof Array&&(s.type==r.CHART_TYPE_SCATTER||s.type==r.CHART_TYPE_LINE||s.type==r.CHART_TYPE_BAR)&&(this._backupScale(),this._calculScatterMap(h[i]))},_calculScatterMap:function(t){this._zoom.scatterMap=this._zoom.scatterMap||{},this._zoom.scatterMap[t]=this._zoom.scatterMap[t]||{};var i=e("../component"),n=i.get("axis"),a=l.clone(this.option.xAxis);"category"==a[0].type&&(a[0].type="value"),a[1]&&"category"==a[1].type&&(a[1].type="value");var o=new n(this.ecTheme,null,!1,{xAxis:a,series:this.option.series},this,"xAxis"),r=this.option.series[t].xAxisIndex||0;this._zoom.scatterMap[t].x=o.getAxis(r).getExtremum(),o.dispose(),a=l.clone(this.option.yAxis),"category"==a[0].type&&(a[0].type="value"),a[1]&&"category"==a[1].type&&(a[1].type="value"),o=new n(this.ecTheme,null,!1,{yAxis:a,series:this.option.series},this,"yAxis"),r=this.option.series[t].yAxisIndex||0,this._zoom.scatterMap[t].y=o.getAxis(r).getExtremum(),o.dispose()},_buildBackground:function(){var e=this._location.width,t=this._location.height;this.shapeList.push(new n({zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{x:this._location.x,y:this._location.y,width:e,height:t,color:this.zoomOption.backgroundColor}}));for(var i=0,o=this._originalData.xAxis,s=this._zoom.xAxisIndex,l=0,h=s.length;h>l;l++)i=Math.max(i,o[s[l]].length);for(var m=this._originalData.yAxis,V=this._zoom.yAxisIndex,l=0,h=V.length;h>l;l++)i=Math.max(i,m[V[l]].length);for(var U,d=this._zoom.seriesIndex[0],p=this._originalData.series[d],c=Number.MIN_VALUE,u=Number.MAX_VALUE,l=0,h=p.length;h>l;l++)U=this.getDataFromOption(p[l],0),this.option.series[d].type==r.CHART_TYPE_K&&(U=U[1]),isNaN(U)&&(U=0),c=Math.max(c,U),u=Math.min(u,U);var y=c-u,g=[],b=e/(i-(i>1?1:0)),f=t/(i-(i>1?1:0)),k=1;"horizontal"==this.zoomOption.orient&&1>b?k=Math.floor(3*i/e):"vertical"==this.zoomOption.orient&&1>f&&(k=Math.floor(3*i/t));for(var l=0,h=i;h>l;l+=k)U=this.getDataFromOption(p[l],0),this.option.series[d].type==r.CHART_TYPE_K&&(U=U[1]),isNaN(U)&&(U=0),g.push("horizontal"==this.zoomOption.orient?[this._location.x+b*l,this._location.y+t-1-Math.round((U-u)/y*(t-10))]:[this._location.x+1+Math.round((U-u)/y*(e-10)),this._location.y+f*(h-l-1)]);"horizontal"==this.zoomOption.orient?(g.push([this._location.x+e,this._location.y+t]),g.push([this._location.x,this._location.y+t])):(g.push([this._location.x,this._location.y]),g.push([this._location.x,this._location.y+t])),this.shapeList.push(new a({zlevel:this.getZlevelBase(),z:this.getZBase(),style:{pointList:g,color:this.zoomOption.dataBackgroundColor},hoverable:!1}))},_buildFiller:function(){this._fillerShae={zlevel:this.getZlevelBase(),z:this.getZBase(),draggable:!0,ondrift:this._ondrift,ondragend:this._ondragend,_type:"filler"},this._fillerShae.style="horizontal"==this.zoomOption.orient?{x:this._location.x+Math.round(this._zoom.start/100*this._location.width)+this._handleSize,y:this._location.y,width:this._zoom.size-2*this._handleSize,height:this._location.height,color:this.zoomOption.fillerColor,text:":::",textPosition:"inside"}:{x:this._location.x,y:this._location.y+Math.round(this._zoom.start/100*this._location.height)+this._handleSize,width:this._location.width,height:this._zoom.size-2*this._handleSize,color:this.zoomOption.fillerColor,text:"::",textPosition:"inside"},this._fillerShae.highlightStyle={brushType:"fill",color:"rgba(0,0,0,0)"},this._fillerShae=new n(this._fillerShae),this.shapeList.push(this._fillerShae)},_buildHandle:function(){var e=this.zoomOption.showDetail?this._getDetail():{start:"",end:""};this._startShape={zlevel:this.getZlevelBase(),z:this.getZBase(),draggable:!0,style:{iconType:"rectangle",x:this._location.x,y:this._location.y,width:this._handleSize,height:this._handleSize,color:this.zoomOption.handleColor,text:"=",textPosition:"inside"},highlightStyle:{text:e.start,brushType:"fill",textPosition:"left"},ondrift:this._ondrift,ondragend:this._ondragend},"horizontal"==this.zoomOption.orient?(this._startShape.style.height=this._location.height,this._endShape=l.clone(this._startShape),this._startShape.style.x=this._fillerShae.style.x-this._handleSize,this._endShape.style.x=this._fillerShae.style.x+this._fillerShae.style.width,this._endShape.highlightStyle.text=e.end,this._endShape.highlightStyle.textPosition="right"):(this._startShape.style.width=this._location.width,this._endShape=l.clone(this._startShape),this._startShape.style.y=this._fillerShae.style.y+this._fillerShae.style.height,this._startShape.highlightStyle.textPosition="bottom",this._endShape.style.y=this._fillerShae.style.y-this._handleSize,this._endShape.highlightStyle.text=e.end,this._endShape.highlightStyle.textPosition="top"),this._startShape=new o(this._startShape),this._endShape=new o(this._endShape),this.shapeList.push(this._startShape),this.shapeList.push(this._endShape)},_buildFrame:function(){var e=this.subPixelOptimize(this._location.x,1),t=this.subPixelOptimize(this._location.y,1);this._startFrameShape={zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{x:e,y:t,width:this._location.width-(e>this._location.x?1:0),height:this._location.height-(t>this._location.y?1:0),lineWidth:1,brushType:"stroke",strokeColor:this.zoomOption.handleColor}},this._endFrameShape=l.clone(this._startFrameShape),this._startFrameShape=new n(this._startFrameShape),this._endFrameShape=new n(this._endFrameShape),this.shapeList.push(this._startFrameShape),this.shapeList.push(this._endFrameShape)},_syncHandleShape:function(){"horizontal"==this.zoomOption.orient?(this._startShape.style.x=this._fillerShae.style.x-this._handleSize,this._endShape.style.x=this._fillerShae.style.x+this._fillerShae.style.width,this._zoom.start=(this._startShape.style.x-this._location.x)/this._location.width*100,this._zoom.end=(this._endShape.style.x+this._handleSize-this._location.x)/this._location.width*100):(this._startShape.style.y=this._fillerShae.style.y+this._fillerShae.style.height,this._endShape.style.y=this._fillerShae.style.y-this._handleSize,this._zoom.start=(this._location.y+this._location.height-this._startShape.style.y)/this._location.height*100,this._zoom.end=(this._location.y+this._location.height-this._endShape.style.y-this._handleSize)/this._location.height*100),this.zr.modShape(this._startShape.id),this.zr.modShape(this._endShape.id),this._syncFrameShape(),this.zr.refreshNextFrame()},_syncFillerShape:function(){var e,t;"horizontal"==this.zoomOption.orient?(e=this._startShape.style.x,t=this._endShape.style.x,this._fillerShae.style.x=Math.min(e,t)+this._handleSize,this._fillerShae.style.width=Math.abs(e-t)-this._handleSize,this._zoom.start=(Math.min(e,t)-this._location.x)/this._location.width*100,this._zoom.end=(Math.max(e,t)+this._handleSize-this._location.x)/this._location.width*100):(e=this._startShape.style.y,t=this._endShape.style.y,this._fillerShae.style.y=Math.min(e,t)+this._handleSize,this._fillerShae.style.height=Math.abs(e-t)-this._handleSize,this._zoom.start=(this._location.y+this._location.height-Math.max(e,t))/this._location.height*100,this._zoom.end=(this._location.y+this._location.height-Math.min(e,t)-this._handleSize)/this._location.height*100),this.zr.modShape(this._fillerShae.id),this._syncFrameShape(),this.zr.refreshNextFrame()},_syncFrameShape:function(){"horizontal"==this.zoomOption.orient?(this._startFrameShape.style.width=this._fillerShae.style.x-this._location.x,this._endFrameShape.style.x=this._fillerShae.style.x+this._fillerShae.style.width,this._endFrameShape.style.width=this._location.x+this._location.width-this._endFrameShape.style.x):(this._startFrameShape.style.y=this._fillerShae.style.y+this._fillerShae.style.height,this._startFrameShape.style.height=this._location.y+this._location.height-this._startFrameShape.style.y,this._endFrameShape.style.height=this._fillerShae.style.y-this._location.y),this.zr.modShape(this._startFrameShape.id),this.zr.modShape(this._endFrameShape.id)},_syncShape:function(){this.zoomOption.show&&("horizontal"==this.zoomOption.orient?(this._startShape.style.x=this._location.x+this._zoom.start/100*this._location.width,this._endShape.style.x=this._location.x+this._zoom.end/100*this._location.width-this._handleSize,this._fillerShae.style.x=this._startShape.style.x+this._handleSize,this._fillerShae.style.width=this._endShape.style.x-this._startShape.style.x-this._handleSize):(this._startShape.style.y=this._location.y+this._location.height-this._zoom.start/100*this._location.height,this._endShape.style.y=this._location.y+this._location.height-this._zoom.end/100*this._location.height-this._handleSize,this._fillerShae.style.y=this._endShape.style.y+this._handleSize,this._fillerShae.style.height=this._startShape.style.y-this._endShape.style.y-this._handleSize),this.zr.modShape(this._startShape.id),this.zr.modShape(this._endShape.id),this.zr.modShape(this._fillerShae.id),this._syncFrameShape(),this.zr.refresh())},_syncData:function(e){var t,i,n,a,o;for(var s in this._originalData){t=this._originalData[s];for(var l in t)o=t[l],null!=o&&(a=o.length,i=Math.floor(this._zoom.start/100*a),n=Math.ceil(this._zoom.end/100*a),this.getDataFromOption(o[0])instanceof Array&&this.option[s][l].type!=r.CHART_TYPE_K?(this._setScale(),this.option[s][l].data=this._synScatterData(l,o)):this.option[s][l].data=o.slice(i,n))}this._isSilence||!this.zoomOption.realtime&&!e||this.messageCenter.dispatch(r.EVENT.DATA_ZOOM,null,{zoom:this._zoom},this.myChart)},_synScatterData:function(e,t){if(0===this._zoom.start&&100==this._zoom.end&&0===this._zoom.start2&&100==this._zoom.end2)return t;var i,n,a,o,r,s=[],l=this._zoom.scatterMap[e];
+
+"horizontal"==this.zoomOption.orient?(i=l.x.max-l.x.min,n=this._zoom.start/100*i+l.x.min,a=this._zoom.end/100*i+l.x.min,i=l.y.max-l.y.min,o=this._zoom.start2/100*i+l.y.min,r=this._zoom.end2/100*i+l.y.min):(i=l.x.max-l.x.min,n=this._zoom.start2/100*i+l.x.min,a=this._zoom.end2/100*i+l.x.min,i=l.y.max-l.y.min,o=this._zoom.start/100*i+l.y.min,r=this._zoom.end/100*i+l.y.min);var h;(h=l.x.dataMappingMethods)&&(n=h.coord2Value(n),a=h.coord2Value(a)),(h=l.y.dataMappingMethods)&&(o=h.coord2Value(o),r=h.coord2Value(r));for(var m,V=0,U=t.length;U>V;V++)m=t[V].value||t[V],m[0]>=n&&m[0]<=a&&m[1]>=o&&m[1]<=r&&s.push(t[V]);return s},_setScale:function(){var e=0!==this._zoom.start||100!==this._zoom.end||0!==this._zoom.start2||100!==this._zoom.end2,t={xAxis:this.option.xAxis,yAxis:this.option.yAxis};for(var i in t)for(var n=0,a=t[i].length;a>n;n++)t[i][n].scale=e||t[i][n]._scale},_backupScale:function(){var e={xAxis:this.option.xAxis,yAxis:this.option.yAxis};for(var t in e)for(var i=0,n=e[t].length;n>i;i++)e[t][i]._scale=e[t][i].scale},_getDetail:function(){for(var e=["xAxis","yAxis"],t=0,i=e.length;i>t;t++){var n=this._originalData[e[t]];for(var a in n){var o=n[a];if(null!=o){var r=o.length,l=Math.floor(this._zoom.start/100*r),h=Math.ceil(this._zoom.end/100*r);return h-=h>0?1:0,{start:this.getDataFromOption(o[l]),end:this.getDataFromOption(o[h])}}}}e="horizontal"==this.zoomOption.orient?"xAxis":"yAxis";var m=this._zoom.seriesIndex[0],V=this.option.series[m][e+"Index"]||0,U=this.option[e][V].type,d=this._zoom.scatterMap[m][e.charAt(0)].min,p=this._zoom.scatterMap[m][e.charAt(0)].max,c=p-d;if("value"==U)return{start:d+c*this._zoom.start/100,end:d+c*this._zoom.end/100};if("time"==U){p=d+c*this._zoom.end/100,d+=c*this._zoom.start/100;var u=s.getAutoFormatter(d,p).formatter;return{start:s.format(u,d),end:s.format(u,p)}}return{start:"",end:""}},__ondrift:function(e,t,i){this.zoomOption.zoomLock&&(e=this._fillerShae);var n="filler"==e._type?this._handleSize:0;if("horizontal"==this.zoomOption.orient?e.style.x+t-n<=this._location.x?e.style.x=this._location.x+n:e.style.x+t+e.style.width+n>=this._location.x+this._location.width?e.style.x=this._location.x+this._location.width-e.style.width-n:e.style.x+=t:e.style.y+i-n<=this._location.y?e.style.y=this._location.y+n:e.style.y+i+e.style.height+n>=this._location.y+this._location.height?e.style.y=this._location.y+this._location.height-e.style.height-n:e.style.y+=i,"filler"==e._type?this._syncHandleShape():this._syncFillerShape(),this.zoomOption.realtime&&this._syncData(),this.zoomOption.showDetail){var a=this._getDetail();this._startShape.style.text=this._startShape.highlightStyle.text=a.start,this._endShape.style.text=this._endShape.highlightStyle.text=a.end,this._startShape.style.textPosition=this._startShape.highlightStyle.textPosition,this._endShape.style.textPosition=this._endShape.highlightStyle.textPosition}return!0},__ondragend:function(){this.zoomOption.showDetail&&(this._startShape.style.text=this._endShape.style.text="=",this._startShape.style.textPosition=this._endShape.style.textPosition="inside",this.zr.modShape(this._startShape.id),this.zr.modShape(this._endShape.id),this.zr.refreshNextFrame()),this.isDragend=!0},ondragend:function(e,t){this.isDragend&&e.target&&(!this.zoomOption.realtime&&this._syncData(),t.dragOut=!0,t.dragIn=!0,this._isSilence||this.zoomOption.realtime||this.messageCenter.dispatch(r.EVENT.DATA_ZOOM,null,{zoom:this._zoom},this.myChart),t.needRefresh=!1,this.isDragend=!1)},ondataZoom:function(e,t){t.needRefresh=!0},absoluteZoom:function(e){this._zoom.start=e.start,this._zoom.end=e.end,this._zoom.start2=e.start2,this._zoom.end2=e.end2,this._syncShape(),this._syncData(!0)},rectZoom:function(e){if(!e)return this._zoom.start=this._zoom.start2=0,this._zoom.end=this._zoom.end2=100,this._syncShape(),this._syncData(!0),this._zoom;var t=this.component.grid.getArea(),i={x:e.x,y:e.y,width:e.width,height:e.height};if(i.width<0&&(i.x+=i.width,i.width=-i.width),i.height<0&&(i.y+=i.height,i.height=-i.height),i.x>t.x+t.width||i.y>t.y+t.height)return!1;i.x<t.x&&(i.x=t.x),i.x+i.width>t.x+t.width&&(i.width=t.x+t.width-i.x),i.y+i.height>t.y+t.height&&(i.height=t.y+t.height-i.y);var n,a=(i.x-t.x)/t.width,o=1-(i.x+i.width-t.x)/t.width,r=1-(i.y+i.height-t.y)/t.height,s=(i.y-t.y)/t.height;return"horizontal"==this.zoomOption.orient?(n=this._zoom.end-this._zoom.start,this._zoom.start+=n*a,this._zoom.end-=n*o,n=this._zoom.end2-this._zoom.start2,this._zoom.start2+=n*r,this._zoom.end2-=n*s):(n=this._zoom.end-this._zoom.start,this._zoom.start+=n*r,this._zoom.end-=n*s,n=this._zoom.end2-this._zoom.start2,this._zoom.start2+=n*a,this._zoom.end2-=n*o),this._syncShape(),this._syncData(!0),this._zoom},syncBackupData:function(e){for(var t,i,n=this._originalData.series,a=e.series,o=0,r=a.length;r>o;o++){i=a[o].data||a[o].eventList,t=n[o]?Math.floor(this._zoom.start/100*n[o].length):0;for(var s=0,l=i.length;l>s;s++)n[o]&&(n[o][s+t]=i[s])}},syncOption:function(e){this.silence(!0),this.option=e,this.option.dataZoom=this.reformOption(this.option.dataZoom),this.zoomOption=this.option.dataZoom,this.myChart.canvasSupported||(this.zoomOption.realtime=!1),this.clear(),this._location=this._getLocation(),this._zoom=this._getZoom(),this._backupData(),this.option.dataZoom&&this.option.dataZoom.show&&this._buildShape(),this._syncData(),this.silence(!1)},silence:function(e){this._isSilence=e},getRealDataIndex:function(e,t){if(!this._originalData||0===this._zoom.start&&100==this._zoom.end)return t;var i=this._originalData.series;return i[e]?Math.floor(this._zoom.start/100*i[e].length)+t:-1},resize:function(){this.clear(),this._location=this._getLocation(),this._zoom=this._getZoom(),this.option.dataZoom.show&&this._buildShape()}},l.inherits(t,i),e("../component").define("dataZoom",t),t}),i("echarts/component/categoryAxis",["require","./base","zrender/shape/Text","zrender/shape/Line","zrender/shape/Rectangle","../config","zrender/tool/util","zrender/tool/area","../component"],function(e){function t(e,t,n,a,o,r){if(a.data.length<1)return void console.error("option.data.length < 1.");i.call(this,e,t,n,a,o),this.grid=this.component.grid;for(var s in r)this[s]=r[s];this.refresh(a)}var i=e("./base"),n=e("zrender/shape/Text"),a=e("zrender/shape/Line"),o=e("zrender/shape/Rectangle"),r=e("../config");r.categoryAxis={zlevel:0,z:0,show:!0,position:"bottom",name:"",nameLocation:"end",nameTextStyle:{},boundaryGap:!0,axisLine:{show:!0,onZero:!0,lineStyle:{color:"#48b",width:2,type:"solid"}},axisTick:{show:!0,interval:"auto",inside:!1,length:5,lineStyle:{color:"#333",width:1}},axisLabel:{show:!0,interval:"auto",rotate:0,margin:8,textStyle:{color:"#333"}},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}};var s=e("zrender/tool/util"),l=e("zrender/tool/area");return t.prototype={type:r.COMPONENT_TYPE_AXIS_CATEGORY,_getReformedLabel:function(e){var t=this.getDataFromOption(this.option.data[e]),i=this.option.data[e].formatter||this.option.axisLabel.formatter;return i&&("function"==typeof i?t=i.call(this.myChart,t):"string"==typeof i&&(t=i.replace("{value}",t))),t},_getInterval:function(){var e=this.option.axisLabel.interval;if("auto"==e){var t=this.option.axisLabel.textStyle.fontSize,i=this.option.data,n=this.option.data.length;if(this.isHorizontal())if(n>3){var a,o,r=this.getGap(),h=!1,m=Math.floor(.5/r);for(m=1>m?1:m,e=Math.floor(15/r);!h&&n>e;){e+=m,h=!0,a=Math.floor(r*e);for(var V=Math.floor((n-1)/e)*e;V>=0;V-=e){if(0!==this.option.axisLabel.rotate)o=t;else if(i[V].textStyle)o=l.getTextWidth(this._getReformedLabel(V),this.getFont(s.merge(i[V].textStyle,this.option.axisLabel.textStyle)));else{var U=this._getReformedLabel(V)+"",d=(U.match(/\w/g)||"").length,p=U.length-d;o=d*t*2/3+p*t}if(o>a){h=!1;break}}}}else e=1;else if(n>3){var r=this.getGap();for(e=Math.floor(11/r);t>r*e-6&&n>e;)e++}else e=1}else e="function"==typeof e?1:e-0+1;return e},_buildShape:function(){if(this._interval=this._getInterval(),this.option.show){this.option.splitArea.show&&this._buildSplitArea(),this.option.splitLine.show&&this._buildSplitLine(),this.option.axisLine.show&&this._buildAxisLine(),this.option.axisTick.show&&this._buildAxisTick(),this.option.axisLabel.show&&this._buildAxisLabel();for(var e=0,t=this.shapeList.length;t>e;e++)this.zr.addShape(this.shapeList[e])}},_buildAxisTick:function(){var e,t=this.option.data,i=this.option.data.length,n=this.option.axisTick,o=n.length,r=n.lineStyle.color,s=n.lineStyle.width,l="function"==typeof n.interval?n.interval:"auto"==n.interval&&"function"==typeof this.option.axisLabel.interval?this.option.axisLabel.interval:!1,h=l?1:"auto"==n.interval?this._interval:n.interval-0+1,m=n.onGap,V=m?this.getGap()/2:"undefined"==typeof m&&this.option.boundaryGap?this.getGap()/2:0,U=V>0?-h:0;if(this.isHorizontal())for(var d,p="bottom"==this.option.position?n.inside?this.grid.getYend()-o-1:this.grid.getYend()+1:n.inside?this.grid.getY()+1:this.grid.getY()-o-1,c=U;i>c;c+=h)(!l||l(c,t[c]))&&(d=this.subPixelOptimize(this.getCoordByIndex(c)+(c>=0?V:0),s),e={_axisShape:"axisTick",zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{xStart:d,yStart:p,xEnd:d,yEnd:p+o,strokeColor:r,lineWidth:s}},this.shapeList.push(new a(e)));else for(var u,y="left"==this.option.position?n.inside?this.grid.getX()+1:this.grid.getX()-o-1:n.inside?this.grid.getXend()-o-1:this.grid.getXend()+1,c=U;i>c;c+=h)(!l||l(c,t[c]))&&(u=this.subPixelOptimize(this.getCoordByIndex(c)-(c>=0?V:0),s),e={_axisShape:"axisTick",zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{xStart:y,yStart:u,xEnd:y+o,yEnd:u,strokeColor:r,lineWidth:s}},this.shapeList.push(new a(e)))},_buildAxisLabel:function(){var e,t,i=this.option.data,a=this.option.data.length,o=this.option.axisLabel,r=o.rotate,l=o.margin,h=o.clickable,m=o.textStyle,V="function"==typeof o.interval?o.interval:!1;if(this.isHorizontal()){var U,d;"bottom"==this.option.position?(U=this.grid.getYend()+l,d="top"):(U=this.grid.getY()-l,d="bottom");for(var p=0;a>p;p+=this._interval)V&&!V(p,i[p])||""===this._getReformedLabel(p)||(t=s.merge(i[p].textStyle||{},m),e={zlevel:this.getZlevelBase(),z:this.getZBase()+3,hoverable:!1,style:{x:this.getCoordByIndex(p),y:U,color:t.color,text:this._getReformedLabel(p),textFont:this.getFont(t),textAlign:t.align||"center",textBaseline:t.baseline||d}},r&&(e.style.textAlign=r>0?"bottom"==this.option.position?"right":"left":"bottom"==this.option.position?"left":"right",e.rotation=[r*Math.PI/180,e.style.x,e.style.y]),this.shapeList.push(new n(this._axisLabelClickable(h,e))))}else{var c,u;"left"==this.option.position?(c=this.grid.getX()-l,u="right"):(c=this.grid.getXend()+l,u="left");for(var p=0;a>p;p+=this._interval)V&&!V(p,i[p])||""===this._getReformedLabel(p)||(t=s.merge(i[p].textStyle||{},m),e={zlevel:this.getZlevelBase(),z:this.getZBase()+3,hoverable:!1,style:{x:c,y:this.getCoordByIndex(p),color:t.color,text:this._getReformedLabel(p),textFont:this.getFont(t),textAlign:t.align||u,textBaseline:t.baseline||0===p&&""!==this.option.name?"bottom":p==a-1&&""!==this.option.name?"top":"middle"}},r&&(e.rotation=[r*Math.PI/180,e.style.x,e.style.y]),this.shapeList.push(new n(this._axisLabelClickable(h,e))))}},_buildSplitLine:function(){var e,t=this.option.data,i=this.option.data.length,n=this.option.splitLine,o=n.lineStyle.type,r=n.lineStyle.width,s=n.lineStyle.color;s=s instanceof Array?s:[s];var l=s.length,h="function"==typeof this.option.axisLabel.interval?this.option.axisLabel.interval:!1,m=n.onGap,V=m?this.getGap()/2:"undefined"==typeof m&&this.option.boundaryGap?this.getGap()/2:0;if(i-=m||"undefined"==typeof m&&this.option.boundaryGap?1:0,this.isHorizontal())for(var U,d=this.grid.getY(),p=this.grid.getYend(),c=0;i>c;c+=this._interval)(!h||h(c,t[c]))&&(U=this.subPixelOptimize(this.getCoordByIndex(c)+V,r),e={zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{xStart:U,yStart:d,xEnd:U,yEnd:p,strokeColor:s[c/this._interval%l],lineType:o,lineWidth:r}},this.shapeList.push(new a(e)));else for(var u,y=this.grid.getX(),g=this.grid.getXend(),c=0;i>c;c+=this._interval)(!h||h(c,t[c]))&&(u=this.subPixelOptimize(this.getCoordByIndex(c)-V,r),e={zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{xStart:y,yStart:u,xEnd:g,yEnd:u,strokeColor:s[c/this._interval%l],lineType:o,lineWidth:r}},this.shapeList.push(new a(e)))},_buildSplitArea:function(){var e,t=this.option.data,i=this.option.splitArea,n=i.areaStyle.color;if(n instanceof Array){var a=n.length,r=this.option.data.length,s="function"==typeof this.option.axisLabel.interval?this.option.axisLabel.interval:!1,l=i.onGap,h=l?this.getGap()/2:"undefined"==typeof l&&this.option.boundaryGap?this.getGap()/2:0;if(this.isHorizontal())for(var m,V=this.grid.getY(),U=this.grid.getHeight(),d=this.grid.getX(),p=0;r>=p;p+=this._interval)s&&!s(p,t[p])&&r>p||(m=r>p?this.getCoordByIndex(p)+h:this.grid.getXend(),e={zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{x:d,y:V,width:m-d,height:U,color:n[p/this._interval%a]}},this.shapeList.push(new o(e)),d=m);else for(var c,u=this.grid.getX(),y=this.grid.getWidth(),g=this.grid.getYend(),p=0;r>=p;p+=this._interval)s&&!s(p,t[p])&&r>p||(c=r>p?this.getCoordByIndex(p)-h:this.grid.getY(),e={zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{x:u,y:c,width:y,height:g-c,color:n[p/this._interval%a]}},this.shapeList.push(new o(e)),g=c)}else e={zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{x:this.grid.getX(),y:this.grid.getY(),width:this.grid.getWidth(),height:this.grid.getHeight(),color:n}},this.shapeList.push(new o(e))},refresh:function(e){e&&(this.option=this.reformOption(e),this.option.axisLabel.textStyle=this.getTextStyle(this.option.axisLabel.textStyle)),this.clear(),this._buildShape()},getGap:function(){var e=this.option.data.length,t=this.isHorizontal()?this.grid.getWidth():this.grid.getHeight();return this.option.boundaryGap?t/e:t/(e>1?e-1:1)},getCoord:function(e){for(var t=this.option.data,i=t.length,n=this.getGap(),a=this.option.boundaryGap?n/2:0,o=0;i>o;o++){if(this.getDataFromOption(t[o])==e)return a=this.isHorizontal()?this.grid.getX()+a:this.grid.getYend()-a;a+=n}},getCoordByIndex:function(e){if(0>e)return this.isHorizontal()?this.grid.getX():this.grid.getYend();if(e>this.option.data.length-1)return this.isHorizontal()?this.grid.getXend():this.grid.getY();var t=this.getGap(),i=this.option.boundaryGap?t/2:0;return i+=e*t,i=this.isHorizontal()?this.grid.getX()+i:this.grid.getYend()-i},getNameByIndex:function(e){return this.getDataFromOption(this.option.data[e])},getIndexByName:function(e){for(var t=this.option.data,i=t.length,n=0;i>n;n++)if(this.getDataFromOption(t[n])==e)return n;return-1},getValueFromCoord:function(){return""},isMainAxis:function(e){return e%this._interval===0}},s.inherits(t,i),e("../component").define("categoryAxis",t),t}),i("echarts/component/valueAxis",["require","./base","zrender/shape/Text","zrender/shape/Line","zrender/shape/Rectangle","../config","../util/date","zrender/tool/util","../util/smartSteps","../util/accMath","../util/smartLogSteps","../component"],function(e){function t(e,t,n,a,o,r,s){if(!s||0===s.length)return void console.err("option.series.length == 0.");i.call(this,e,t,n,a,o),this.series=s,this.grid=this.component.grid;for(var l in r)this[l]=r[l];this.refresh(a,s)}var i=e("./base"),n=e("zrender/shape/Text"),a=e("zrender/shape/Line"),o=e("zrender/shape/Rectangle"),r=e("../config");r.valueAxis={zlevel:0,z:0,show:!0,position:"left",name:"",nameLocation:"end",nameTextStyle:{},boundaryGap:[0,0],axisLine:{show:!0,onZero:!0,lineStyle:{color:"#48b",width:2,type:"solid"}},axisTick:{show:!1,inside:!1,length:5,lineStyle:{color:"#333",width:1}},axisLabel:{show:!0,rotate:0,margin:8,textStyle:{color:"#333"}},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}};var s=e("../util/date"),l=e("zrender/tool/util");return t.prototype={type:r.COMPONENT_TYPE_AXIS_VALUE,_buildShape:function(){if(this._hasData=!1,this._calculateValue(),this._hasData&&this.option.show){this.option.splitArea.show&&this._buildSplitArea(),this.option.splitLine.show&&this._buildSplitLine(),this.option.axisLine.show&&this._buildAxisLine(),this.option.axisTick.show&&this._buildAxisTick(),this.option.axisLabel.show&&this._buildAxisLabel();for(var e=0,t=this.shapeList.length;t>e;e++)this.zr.addShape(this.shapeList[e])}},_buildAxisTick:function(){var e,t=this._valueList,i=this._valueList.length,n=this.option.axisTick,o=n.length,r=n.lineStyle.color,s=n.lineStyle.width;if(this.isHorizontal())for(var l,h="bottom"===this.option.position?n.inside?this.grid.getYend()-o-1:this.grid.getYend()+1:n.inside?this.grid.getY()+1:this.grid.getY()-o-1,m=0;i>m;m++)l=this.subPixelOptimize(this.getCoord(t[m]),s),e={_axisShape:"axisTick",zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{xStart:l,yStart:h,xEnd:l,yEnd:h+o,strokeColor:r,lineWidth:s}},this.shapeList.push(new a(e));else for(var V,U="left"===this.option.position?n.inside?this.grid.getX()+1:this.grid.getX()-o-1:n.inside?this.grid.getXend()-o-1:this.grid.getXend()+1,m=0;i>m;m++)V=this.subPixelOptimize(this.getCoord(t[m]),s),e={_axisShape:"axisTick",zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{xStart:U,yStart:V,xEnd:U+o,yEnd:V,strokeColor:r,lineWidth:s}},this.shapeList.push(new a(e))},_buildAxisLabel:function(){var e,t=this._valueList,i=this._valueList.length,a=this.option.axisLabel.rotate,o=this.option.axisLabel.margin,r=this.option.axisLabel.clickable,s=this.option.axisLabel.textStyle;if(this.isHorizontal()){var l,h;"bottom"===this.option.position?(l=this.grid.getYend()+o,h="top"):(l=this.grid.getY()-o,h="bottom");for(var m=0;i>m;m++)e={zlevel:this.getZlevelBase(),z:this.getZBase()+3,hoverable:!1,style:{x:this.getCoord(t[m]),y:l,color:"function"==typeof s.color?s.color(t[m]):s.color,text:this._valueLabel[m],textFont:this.getFont(s),textAlign:s.align||"center",textBaseline:s.baseline||h}},a&&(e.style.textAlign=a>0?"bottom"===this.option.position?"right":"left":"bottom"===this.option.position?"left":"right",e.rotation=[a*Math.PI/180,e.style.x,e.style.y]),this.shapeList.push(new n(this._axisLabelClickable(r,e)))}else{var V,U;"left"===this.option.position?(V=this.grid.getX()-o,U="right"):(V=this.grid.getXend()+o,U="left");for(var m=0;i>m;m++)e={zlevel:this.getZlevelBase(),z:this.getZBase()+3,hoverable:!1,style:{x:V,y:this.getCoord(t[m]),color:"function"==typeof s.color?s.color(t[m]):s.color,text:this._valueLabel[m],textFont:this.getFont(s),textAlign:s.align||U,textBaseline:s.baseline||(0===m&&""!==this.option.name?"bottom":m===i-1&&""!==this.option.name?"top":"middle")}},a&&(e.rotation=[a*Math.PI/180,e.style.x,e.style.y]),this.shapeList.push(new n(this._axisLabelClickable(r,e)))}},_buildSplitLine:function(){var e,t=this._valueList,i=this._valueList.length,n=this.option.splitLine,o=n.lineStyle.type,r=n.lineStyle.width,s=n.lineStyle.color;s=s instanceof Array?s:[s];var l=s.length;if(this.isHorizontal())for(var h,m=this.grid.getY(),V=this.grid.getYend(),U=0;i>U;U++)h=this.subPixelOptimize(this.getCoord(t[U]),r),e={zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{xStart:h,yStart:m,xEnd:h,yEnd:V,strokeColor:s[U%l],lineType:o,lineWidth:r}},this.shapeList.push(new a(e));else for(var d,p=this.grid.getX(),c=this.grid.getXend(),U=0;i>U;U++)d=this.subPixelOptimize(this.getCoord(t[U]),r),e={zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{xStart:p,yStart:d,xEnd:c,yEnd:d,strokeColor:s[U%l],lineType:o,lineWidth:r}},this.shapeList.push(new a(e))},_buildSplitArea:function(){var e,t=this.option.splitArea.areaStyle.color;if(t instanceof Array){var i=t.length,n=this._valueList,a=this._valueList.length;if(this.isHorizontal())for(var r,s=this.grid.getY(),l=this.grid.getHeight(),h=this.grid.getX(),m=0;a>=m;m++)r=a>m?this.getCoord(n[m]):this.grid.getXend(),e={zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{x:h,y:s,width:r-h,height:l,color:t[m%i]}},this.shapeList.push(new o(e)),h=r;else for(var V,U=this.grid.getX(),d=this.grid.getWidth(),p=this.grid.getYend(),m=0;a>=m;m++)V=a>m?this.getCoord(n[m]):this.grid.getY(),e={zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{x:U,y:V,width:d,height:p-V,color:t[m%i]}},this.shapeList.push(new o(e)),p=V}else e={zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{x:this.grid.getX(),y:this.grid.getY(),width:this.grid.getWidth(),height:this.grid.getHeight(),color:t}},this.shapeList.push(new o(e))},_calculateValue:function(){if(isNaN(this.option.min-0)||isNaN(this.option.max-0)){for(var e,t,i={},n=this.component.legend,a=0,o=this.series.length;o>a;a++)!(this.series[a].type!=r.CHART_TYPE_LINE&&this.series[a].type!=r.CHART_TYPE_BAR&&this.series[a].type!=r.CHART_TYPE_SCATTER&&this.series[a].type!=r.CHART_TYPE_K&&this.series[a].type!=r.CHART_TYPE_EVENTRIVER||n&&!n.isSelected(this.series[a].name)||(e=this.series[a].xAxisIndex||0,t=this.series[a].yAxisIndex||0,this.option.xAxisIndex!=e&&this.option.yAxisIndex!=t||!this._calculSum(i,a)));var s;for(var a in i){s=i[a];for(var l=0,h=s.length;h>l;l++)if(!isNaN(s[l])){this._hasData=!0,this._min=s[l],this._max=s[l];break}if(this._hasData)break}for(var a in i){s=i[a];for(var l=0,h=s.length;h>l;l++)isNaN(s[l])||(this._min=Math.min(this._min,s[l]),this._max=Math.max(this._max,s[l]))}var m="log"!==this.option.type?this.option.boundaryGap:[0,0],V=Math.abs(this._max-this._min);this._min=isNaN(this.option.min-0)?this._min-Math.abs(V*m[0]):this.option.min-0,this._max=isNaN(this.option.max-0)?this._max+Math.abs(V*m[1]):this.option.max-0,this._min===this._max&&(0===this._max?this._max=1:this._max>0?this._min=this._max/this.option.splitNumber!=null?this.option.splitNumber:5:this._max=this._max/this.option.splitNumber!=null?this.option.splitNumber:5),"time"===this.option.type?this._reformTimeValue():"log"===this.option.type?this._reformLogValue():this._reformValue(this.option.scale)}else this._hasData=!0,this._min=this.option.min-0,this._max=this.option.max-0,"time"===this.option.type?this._reformTimeValue():"log"===this.option.type?this._reformLogValue():this._customerValue()},_calculSum:function(e,t){var i,n,a=this.series[t].name||"kener";if(this.series[t].stack){var o="__Magic_Key_Positive__"+this.series[t].stack,l="__Magic_Key_Negative__"+this.series[t].stack;e[o]=e[o]||[],e[l]=e[l]||[],e[a]=e[a]||[],n=this.series[t].data;for(var h=0,m=n.length;m>h;h++)i=this.getDataFromOption(n[h]),"-"!==i&&(i-=0,i>=0?null!=e[o][h]?e[o][h]+=i:e[o][h]=i:null!=e[l][h]?e[l][h]+=i:e[l][h]=i,this.option.scale&&e[a].push(i))}else if(e[a]=e[a]||[],this.series[t].type!=r.CHART_TYPE_EVENTRIVER){n=this.series[t].data;for(var h=0,m=n.length;m>h;h++)i=this.getDataFromOption(n[h]),this.series[t].type===r.CHART_TYPE_K?(e[a].push(i[0]),e[a].push(i[1]),e[a].push(i[2]),e[a].push(i[3])):i instanceof Array?(-1!=this.option.xAxisIndex&&e[a].push("time"!=this.option.type?i[0]:s.getNewDate(i[0])),-1!=this.option.yAxisIndex&&e[a].push("time"!=this.option.type?i[1]:s.getNewDate(i[1]))):e[a].push(i)}else{n=this.series[t].data;for(var h=0,m=n.length;m>h;h++)for(var V=n[h].evolution,U=0,d=V.length;d>U;U++)e[a].push(s.getNewDate(V[U].time))}},_reformValue:function(t){var i=e("../util/smartSteps"),n=this.option.splitNumber;!t&&this._min>=0&&this._max>=0&&(this._min=0),!t&&this._min<=0&&this._max<=0&&(this._max=0);var a=i(this._min,this._max,n);n=null!=n?n:a.secs,this._min=a.min,this._max=a.max,this._valueList=a.pnts,this._reformLabelData()},_reformTimeValue:function(){var e=null!=this.option.splitNumber?this.option.splitNumber:5,t=s.getAutoFormatter(this._min,this._max,e),i=t.formatter,n=t.gapValue;this._valueList=[s.getNewDate(this._min)];var a;switch(i){case"week":a=s.nextMonday(this._min);break;case"month":a=s.nextNthOnMonth(this._min,1);break;case"quarter":a=s.nextNthOnQuarterYear(this._min,1);break;case"half-year":a=s.nextNthOnHalfYear(this._min,1);break;case"year":a=s.nextNthOnYear(this._min,1);break;default:72e5>=n?a=(Math.floor(this._min/n)+1)*n:(a=s.getNewDate(this._min- -n),a.setHours(6*Math.round(a.getHours()/6)),a.setMinutes(0),a.setSeconds(0))}for(a-this._min<n/2&&(a-=-n),t=s.getNewDate(a),e*=1.5;e-->=0&&(("month"==i||"quarter"==i||"half-year"==i||"year"==i)&&t.setDate(1),!(this._max-t<n/2));)this._valueList.push(t),t=s.getNewDate(t- -n);this._valueList.push(s.getNewDate(this._max)),this._reformLabelData(function(e){return function(t){return s.format(e,t)}}(i))},_customerValue:function(){var t=e("../util/accMath"),i=null!=this.option.splitNumber?this.option.splitNumber:5,n=(this._max-this._min)/i;this._valueList=[];for(var a=0;i>=a;a++)this._valueList.push(t.accAdd(this._min,t.accMul(n,a)));this._reformLabelData()},_reformLogValue:function(){var t=this.option,i=e("../util/smartLogSteps")({dataMin:this._min,dataMax:this._max,logPositive:t.logPositive,logLabelBase:t.logLabelBase,splitNumber:t.splitNumber});this._min=i.dataMin,this._max=i.dataMax,this._valueList=i.tickList,this._dataMappingMethods=i.dataMappingMethods,this._reformLabelData(i.labelFormatter)},_reformLabelData:function(e){this._valueLabel=[];var t=this.option.axisLabel.formatter;if(t)for(var i=0,n=this._valueList.length;n>i;i++)"function"==typeof t?this._valueLabel.push(e?t.call(this.myChart,this._valueList[i],e):t.call(this.myChart,this._valueList[i])):"string"==typeof t&&this._valueLabel.push(e?s.format(t,this._valueList[i]):t.replace("{value}",this._valueList[i]));else for(var i=0,n=this._valueList.length;n>i;i++)this._valueLabel.push(e?e(this._valueList[i]):this.numAddCommas(this._valueList[i]))},getExtremum:function(){this._calculateValue();var e=this._dataMappingMethods;return{min:this._min,max:this._max,dataMappingMethods:e?l.merge({},e):null}},refresh:function(e,t){e&&(this.option=this.reformOption(e),this.option.axisLabel.textStyle=l.merge(this.option.axisLabel.textStyle||{},this.ecTheme.textStyle),this.series=t),this.zr&&(this.clear(),this._buildShape())},getCoord:function(e){this._dataMappingMethods&&(e=this._dataMappingMethods.value2Coord(e)),e=e<this._min?this._min:e,e=e>this._max?this._max:e;var t;return t=this.isHorizontal()?this.grid.getX()+(e-this._min)/(this._max-this._min)*this.grid.getWidth():this.grid.getYend()-(e-this._min)/(this._max-this._min)*this.grid.getHeight()},getCoordSize:function(e){return Math.abs(this.isHorizontal()?e/(this._max-this._min)*this.grid.getWidth():e/(this._max-this._min)*this.grid.getHeight())},getValueFromCoord:function(e){var t;return this.isHorizontal()?(e=e<this.grid.getX()?this.grid.getX():e,e=e>this.grid.getXend()?this.grid.getXend():e,t=this._min+(e-this.grid.getX())/this.grid.getWidth()*(this._max-this._min)):(e=e<this.grid.getY()?this.grid.getY():e,e=e>this.grid.getYend()?this.grid.getYend():e,t=this._max-(e-this.grid.getY())/this.grid.getHeight()*(this._max-this._min)),this._dataMappingMethods&&(t=this._dataMappingMethods.coord2Value(t)),t.toFixed(2)-0},isMaindAxis:function(e){for(var t=0,i=this._valueList.length;i>t;t++)if(this._valueList[t]===e)return!0;return!1}},l.inherits(t,i),e("../component").define("valueAxis",t),t}),i("echarts/util/date",[],function(){function e(e,t,i){i=i>1?i:2;for(var n,a,o,r,s=0,l=m.length;l>s;s++)if(n=m[s].value,a=Math.ceil(t/n)*n-Math.floor(e/n)*n,Math.round(a/n)<=1.2*i){o=m[s].formatter,r=m[s].value;break}return null==o&&(o="year",n=317088e5,a=Math.ceil(t/n)*n-Math.floor(e/n)*n,r=Math.round(a/(i-1)/n)*n),{formatter:o,gapValue:r}}function t(e){return 10>e?"0"+e:e}function i(e,i){("week"==e||"month"==e||"quarter"==e||"half-year"==e||"year"==e)&&(e="MM - dd\nyyyy");var n=h(i),a=n.getFullYear(),o=n.getMonth()+1,r=n.getDate(),s=n.getHours(),l=n.getMinutes(),m=n.getSeconds();return e=e.replace("MM",t(o)),e=e.toLowerCase(),e=e.replace("yyyy",a),e=e.replace("yy",a%100),e=e.replace("dd",t(r)),e=e.replace("d",r),e=e.replace("hh",t(s)),e=e.replace("h",s),e=e.replace("mm",t(l)),e=e.replace("m",l),e=e.replace("ss",t(m)),e=e.replace("s",m)}function n(e){return e=h(e),e.setDate(e.getDate()+8-e.getDay()),e}function a(e,t,i){return e=h(e),e.setMonth(Math.ceil((e.getMonth()+1)/i)*i),e.setDate(t),e}function o(e,t){return a(e,t,1)}function r(e,t){return a(e,t,3)}function s(e,t){return a(e,t,6)}function l(e,t){return a(e,t,12)}function h(e){return e instanceof Date?e:new Date("string"==typeof e?e.replace(/-/g,"/"):e)}var m=[{formatter:"hh : mm : ss",value:1e3},{formatter:"hh : mm : ss",value:5e3},{formatter:"hh : mm : ss",value:1e4},{formatter:"hh : mm : ss",value:15e3},{formatter:"hh : mm : ss",value:3e4},{formatter:"hh : mm\nMM - dd",value:6e4},{formatter:"hh : mm\nMM - dd",value:3e5},{formatter:"hh : mm\nMM - dd",value:6e5},{formatter:"hh : mm\nMM - dd",value:9e5},{formatter:"hh : mm\nMM - dd",value:18e5},{formatter:"hh : mm\nMM - dd",value:36e5},{formatter:"hh : mm\nMM - dd",value:72e5},{formatter:"hh : mm\nMM - dd",value:216e5},{formatter:"hh : mm\nMM - dd",value:432e5},{formatter:"MM - dd\nyyyy",value:864e5},{formatter:"week",value:6048e5},{formatter:"month",value:26784e5},{formatter:"quarter",value:8208e6},{formatter:"half-year",value:16416e6},{formatter:"year",value:32832e6}];return{getAutoFormatter:e,getNewDate:h,format:i,nextMonday:n,nextNthPerNmonth:a,nextNthOnMonth:o,nextNthOnQuarterYear:r,nextNthOnHalfYear:s,nextNthOnYear:l}}),i("echarts/util/smartSteps",[],function(){function e(e){return X.log(I(e))/X.LN10}function t(e){return X.pow(10,e)}function i(e){return e===w(e)}function n(e,t,n,a){b=a||{},f=b.steps||L,k=b.secs||W,n=v(+n||0)%99,e=+e||0,t=+t||0,x=_=0,"min"in b&&(e=+b.min||0,x=1),"max"in b&&(t=+b.max||0,_=1),e>t&&(t=[e,e=t][0]);var o=t-e;if(x&&_)return g(e,t,n);if((n||5)>o){if(i(e)&&i(t))return d(e,t,n);if(0===o)return p(e,t,n)}return h(e,t,n)}function a(e,i,n,a){a=a||0;var s=o((i-e)/n,-1),l=o(e,-1,1),h=o(i,-1),m=X.min(s.e,l.e,h.e);0===l.c?m=X.min(s.e,h.e):0===h.c&&(m=X.min(s.e,l.e)),r(s,{c:0,e:m}),r(l,s,1),r(h,s),a+=m,e=l.c,i=h.c;for(var V=(i-e)/n,U=t(a),d=0,p=[],c=n+1;c--;)p[c]=(e+V*c)*U;if(0>a){d=u(U),V=+(V*U).toFixed(d),e=+(e*U).toFixed(d),i=+(i*U).toFixed(d);for(var c=p.length;c--;)p[c]=p[c].toFixed(d),0===+p[c]&&(p[c]="0")}else e*=U,i*=U,V*=U;return k=0,f=0,b=0,{min:e,max:i,secs:n,step:V,fix:d,exp:a,pnts:p}}function o(n,a,o){a=v(a%10)||2,0>a&&(i(n)?a=(""+I(n)).replace(/0+$/,"").length||1:(n=n.toFixed(15).replace(/0+$/,""),a=n.replace(".","").replace(/^[-0]+/,"").length,n=+n));var r=w(e(n))-a+1,s=+(n*t(-r)).toFixed(15)||0;return s=o?w(s):K(s),!s&&(r=0),(""+I(s)).length>a&&(r+=1,s/=10),{c:s,e:r}}function r(e,i,n){var a=i.e-e.e;a&&(e.e+=a,e.c*=t(-a),e.c=n?w(e.c):K(e.c))}function s(e,t,i){e.e<t.e?r(t,e,i):r(e,t,i)}function l(e,t){t=t||L,e=o(e);for(var i=e.c,n=0;i>t[n];)n++;if(!t[n])for(i/=10,e.e+=1,n=0;i>t[n];)n++;return e.c=t[n],e}function h(e,t,n){var s,h=n||+k.slice(-1),p=l((t-e)/h,f),u=o(t-e),g=o(e,-1,1),b=o(t,-1);if(r(u,p),r(g,p,1),r(b,p),n?s=V(g,b,h):h=m(g,b),i(e)&&i(t)&&e*t>=0){if(h>t-e)return d(e,t,h);h=U(e,t,n,g,b,h)}var L=c(e,t,g.c,b.c);return g.c=L[0],b.c=L[1],(x||_)&&y(e,t,g,b),a(g.c,b.c,h,b.e)}function m(e,i){for(var n,a,o,r,s=[],h=k.length;h--;)n=k[h],a=l((i.c-e.c)/n,f),a=a.c*t(a.e),o=w(e.c/a)*a,r=K(i.c/a)*a,s[h]={min:o,max:r,step:a,span:r-o};return s.sort(function(e,t){var i=e.span-t.span;return 0===i&&(i=e.step-t.step),i}),s=s[0],n=s.span/s.step,e.c=s.min,i.c=s.max,3>n?2*n:n}function V(e,i,n){for(var a,o,r=i.c,s=(i.c-e.c)/n-1;r>e.c;)s=l(s+1,f),s=s.c*t(s.e),a=s*n,o=K(i.c/s)*s,r=o-a;var h=e.c-r,m=o-i.c,V=h-m;return V>1.1*s&&(V=v(V/s/2)*s,r+=V,o+=V),e.c=r,i.c=o,s}function U(e,n,a,o,r,s){var l=r.c-o.c,h=l/s*t(r.e);if(!i(h)&&(h=w(h),l=h*s,n-e>l&&(h+=1,l=h*s,!a&&h*(s-1)>=n-e&&(s-=1,l=h*s)),l>=n-e)){var m=l-(n-e);o.c=v(e-m/2),r.c=v(n+m/2),o.e=0,r.e=0}return s}function d(e,t,i){if(i=i||5,x)t=e+i;else if(_)e=t-i;else{var n=i-(t-e),o=v(e-n/2),r=v(t+n/2),s=c(e,t,o,r);e=s[0],t=s[1]}return a(e,t,i)}function p(e,t,i){i=i||5;var n=X.min(I(t/i),i)/2.1;return x?t=e+n:_?e=t-n:(e-=n,t+=n),h(e,t,i)}function c(e,t,i,n){
+return e>=0&&0>i?(n-=i,i=0):0>=t&&n>0&&(i-=n,n=0),[i,n]}function u(e){return e=(+e).toFixed(15).split("."),e.pop().replace(/0+$/,"").length}function y(e,t,i,n){if(x){var a=o(e,4,1);i.e-a.e>6&&(a={c:0,e:i.e}),s(i,a),s(n,a),n.c+=a.c-i.c,i.c=a.c}else if(_){var r=o(t,4);n.e-r.e>6&&(r={c:0,e:n.e}),s(i,r),s(n,r),i.c+=r.c-n.c,n.c=r.c}}function g(e,t,i){var n=i?[i]:k,s=t-e;if(0===s)return t=o(t,3),i=n[0],t.c=v(t.c+i/2),a(t.c-i,t.c,i,t.e);I(t/s)<1e-6&&(t=0),I(e/s)<1e-6&&(e=0);var l,h,m,V=[[5,10],[10,2],[50,10],[100,2]],U=[],d=[],p=o(t-e,3),c=o(e,-1,1),u=o(t,-1);r(c,p,1),r(u,p),s=u.c-c.c,p.c=s;for(var y=n.length;y--;){i=n[y],l=K(s/i),h=l*i-s,m=3*(h+3),m+=2*(i-n[0]+2),i%5===0&&(m-=10);for(var g=V.length;g--;)l%V[g][0]===0&&(m/=V[g][1]);d[y]=[i,l,h,m].join(),U[y]={secs:i,step:l,delta:h,score:m}}return U.sort(function(e,t){return e.score-t.score}),U=U[0],c.c=v(c.c-U.delta/2),u.c=v(u.c+U.delta/2),a(c.c,u.c,U.secs,p.e)}var b,f,k,x,_,L=[10,20,25,50],W=[4,5,6],X=Math,v=X.round,w=X.floor,K=X.ceil,I=X.abs;return n}),i("echarts/util/smartLogSteps",["require","./number"],function(e){function t(e){return i(),u=e||{},n(),a(),[o(),i()][0]}function i(){U=u=g=c=b=f=y=k=d=p=null}function n(){d=u.logLabelBase,null==d?(p="plain",d=10,c=I):(d=+d,1>d&&(d=10),p="exponent",c=L(d)),y=u.splitNumber,null==y&&(y=E);var e=parseFloat(u.dataMin),t=parseFloat(u.dataMax);isFinite(e)||isFinite(t)?isFinite(e)?isFinite(t)?e>t&&(t=[e,e=t][0]):t=e:e=t:e=t=1,U=u.logPositive,null==U&&(U=t>0||0===e),b=U?e:-t,f=U?t:-e,S>b&&(b=S),S>f&&(f=S)}function a(){function e(){y>m&&(y=m);var e=w(l(m/y)),t=v(l(m/e)),i=e*t,n=(i-U)/2,a=w(l(r-n));V(a-r)&&(a-=1),g=-a*c;for(var s=a;o>=s-e;s+=e)k.push(W(d,s))}function t(){for(var e=i(h,0),t=e+2;t>e&&a(e+1)+n(e+1)*C<r;)e++;for(var l=i(s,0),t=l-2;l>t&&a(l-1)+n(l-1)*C>o;)l--;g=-(a(e)*I+n(e)*J);for(var m=e;l>=m;m++){var V=a(m),U=n(m);k.push(W(10,V)*W(2,U))}}function i(e,t){return 3*e+t}function n(e){return e-3*a(e)}function a(e){return w(l(e/3))}k=[];var o=l(L(f)/c),r=l(L(b)/c),s=v(o),h=w(r),m=s-h,U=o-r;"exponent"===p?e():F>=m&&y>F?t():e()}function o(){for(var e=[],t=0,i=k.length;i>t;t++)e[t]=(U?1:-1)*k[t];!U&&e.reverse();var n=s(),a=n.value2Coord,o=a(e[0]),l=a(e[e.length-1]);return o===l&&(o-=1,l+=1),{dataMin:o,dataMax:l,tickList:e,logPositive:U,labelFormatter:r(),dataMappingMethods:n}}function r(){if("exponent"===p){var e=d,t=c;return function(i){if(!isFinite(parseFloat(i)))return"";var n="";return 0>i&&(i=-i,n="-"),n+e+m(L(i)/t)}}return function(e){return isFinite(parseFloat(e))?x.addCommas(h(e)):""}}function s(){var e=U,t=g;return{value2Coord:function(i){return null==i||isNaN(i)||!isFinite(i)?i:(i=parseFloat(i),isFinite(i)?e&&S>i?i=S:!e&&i>-S&&(i=-S):i=S,i=X(i),(e?1:-1)*(L(i)+t))},coord2Value:function(i){return null==i||isNaN(i)||!isFinite(i)?i:(i=parseFloat(i),isFinite(i)||(i=S),e?W(K,i-t):-W(K,-i+t))}}}function l(e){return+Number(+e).toFixed(14)}function h(e){return Number(e).toFixed(15).replace(/\.?0*$/,"")}function m(e){e=h(Math.round(e));for(var t=[],i=0,n=e.length;n>i;i++){var a=e.charAt(i);t.push(T[a]||"")}return t.join("")}function V(e){return e>-S&&S>e}var U,d,p,c,u,y,g,b,f,k,x=e("./number"),_=Math,L=_.log,W=_.pow,X=_.abs,v=_.ceil,w=_.floor,K=_.E,I=_.LN10,J=_.LN2,C=J/I,S=1e-9,E=5,F=2,T={0:"鈦�",1:"鹿",2:"虏",3:"鲁",4:"鈦�",5:"鈦�",6:"鈦�",7:"鈦�",8:"鈦�",9:"鈦�","-":"鈦�"};return t}),i("echarts/chart/line",["require","./base","zrender/shape/Polyline","../util/shape/Icon","../util/shape/HalfSmoothPolygon","../component/axis","../component/grid","../component/dataZoom","../config","../util/ecData","zrender/tool/util","zrender/tool/color","../chart"],function(e){function t(e,t,i,a,o){n.call(this,e,t,i,a,o),this.refresh(a)}function i(e,t,i){var n=t.x,a=t.y,r=t.width,s=t.height,l=s/2;t.symbol.match("empty")&&(e.fillStyle="#fff"),t.brushType="both";var h=t.symbol.replace("empty","").toLowerCase();h.match("star")?(l=h.replace("star","")-0||5,a-=1,h="star"):("rectangle"===h||"arrow"===h)&&(n+=(r-s)/2,r=s);var m="";if(h.match("image")&&(m=h.replace(new RegExp("^image:\\/\\/"),""),h="image",n+=Math.round((r-s)/2)-1,r=s+=2),h=o.prototype.iconLibrary[h]){var V=t.x,U=t.y;e.moveTo(V,U+l),e.lineTo(V+5,U+l),e.moveTo(V+t.width-5,U+l),e.lineTo(V+t.width,U+l);var d=this;h(e,{x:n+4,y:a+4,width:r-8,height:s-8,n:l,image:m},function(){d.modSelf(),i()})}else e.moveTo(n,a+l),e.lineTo(n+r,a+l)}var n=e("./base"),a=e("zrender/shape/Polyline"),o=e("../util/shape/Icon"),r=e("../util/shape/HalfSmoothPolygon");e("../component/axis"),e("../component/grid"),e("../component/dataZoom");var s=e("../config");s.line={zlevel:0,z:2,clickable:!0,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,dataFilter:"nearest",itemStyle:{normal:{label:{show:!1},lineStyle:{width:2,type:"solid",shadowColor:"rgba(0,0,0,0)",shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0}},emphasis:{label:{show:!1}}},symbolSize:2,showAllSymbol:!1};var l=e("../util/ecData"),h=e("zrender/tool/util"),m=e("zrender/tool/color");return t.prototype={type:s.CHART_TYPE_LINE,_buildShape:function(){this.finalPLMap={},this._buildPosition()},_buildHorizontal:function(e,t,i,n){for(var a,o,r,s,l,h,m,V,U,d=this.series,p=i[0][0],c=d[p],u=this.component.xAxis.getAxis(c.xAxisIndex||0),y={},g=0,b=t;b>g&&null!=u.getNameByIndex(g);g++){o=u.getCoordByIndex(g);for(var f=0,k=i.length;k>f;f++){a=this.component.yAxis.getAxis(d[i[f][0]].yAxisIndex||0),l=s=m=h=a.getCoord(0);for(var x=0,_=i[f].length;_>x;x++)p=i[f][x],c=d[p],V=c.data[g],U=this.getDataFromOption(V,"-"),y[p]=y[p]||[],n[p]=n[p]||{min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY,sum:0,counter:0,average:0},"-"!==U?(U>=0?(s-=x>0?a.getCoordSize(U):l-a.getCoord(U),r=s):0>U&&(h+=x>0?a.getCoordSize(U):a.getCoord(U)-m,r=h),y[p].push([o,r,g,u.getNameByIndex(g),o,l]),n[p].min>U&&(n[p].min=U,n[p].minY=r,n[p].minX=o),n[p].max<U&&(n[p].max=U,n[p].maxY=r,n[p].maxX=o),n[p].sum+=U,n[p].counter++):y[p].length>0&&(this.finalPLMap[p]=this.finalPLMap[p]||[],this.finalPLMap[p].push(y[p]),y[p]=[])}s=this.component.grid.getY();for(var L,f=0,k=i.length;k>f;f++)for(var x=0,_=i[f].length;_>x;x++)p=i[f][x],c=d[p],V=c.data[g],U=this.getDataFromOption(V,"-"),"-"==U&&this.deepQuery([V,c,this.option],"calculable")&&(L=this.deepQuery([V,c],"symbolSize"),s+=2*L+5,r=s,this.shapeList.push(this._getCalculableItem(p,g,u.getNameByIndex(g),o,r,"horizontal")))}for(var W in y)y[W].length>0&&(this.finalPLMap[W]=this.finalPLMap[W]||[],this.finalPLMap[W].push(y[W]),y[W]=[]);this._calculMarkMapXY(n,i,"y"),this._buildBorkenLine(e,this.finalPLMap,u,"horizontal")},_buildVertical:function(e,t,i,n){for(var a,o,r,s,l,h,m,V,U,d=this.series,p=i[0][0],c=d[p],u=this.component.yAxis.getAxis(c.yAxisIndex||0),y={},g=0,b=t;b>g&&null!=u.getNameByIndex(g);g++){r=u.getCoordByIndex(g);for(var f=0,k=i.length;k>f;f++){a=this.component.xAxis.getAxis(d[i[f][0]].xAxisIndex||0),l=s=m=h=a.getCoord(0);for(var x=0,_=i[f].length;_>x;x++)p=i[f][x],c=d[p],V=c.data[g],U=this.getDataFromOption(V,"-"),y[p]=y[p]||[],n[p]=n[p]||{min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY,sum:0,counter:0,average:0},"-"!==U?(U>=0?(s+=x>0?a.getCoordSize(U):a.getCoord(U)-l,o=s):0>U&&(h-=x>0?a.getCoordSize(U):m-a.getCoord(U),o=h),y[p].push([o,r,g,u.getNameByIndex(g),l,r]),n[p].min>U&&(n[p].min=U,n[p].minX=o,n[p].minY=r),n[p].max<U&&(n[p].max=U,n[p].maxX=o,n[p].maxY=r),n[p].sum+=U,n[p].counter++):y[p].length>0&&(this.finalPLMap[p]=this.finalPLMap[p]||[],this.finalPLMap[p].push(y[p]),y[p]=[])}s=this.component.grid.getXend();for(var L,f=0,k=i.length;k>f;f++)for(var x=0,_=i[f].length;_>x;x++)p=i[f][x],c=d[p],V=c.data[g],U=this.getDataFromOption(V,"-"),"-"==U&&this.deepQuery([V,c,this.option],"calculable")&&(L=this.deepQuery([V,c],"symbolSize"),s-=2*L+5,o=s,this.shapeList.push(this._getCalculableItem(p,g,u.getNameByIndex(g),o,r,"vertical")))}for(var W in y)y[W].length>0&&(this.finalPLMap[W]=this.finalPLMap[W]||[],this.finalPLMap[W].push(y[W]),y[W]=[]);this._calculMarkMapXY(n,i,"x"),this._buildBorkenLine(e,this.finalPLMap,u,"vertical")},_buildOther:function(e,t,i,n){for(var a,o=this.series,r={},s=0,l=i.length;l>s;s++)for(var h=0,m=i[s].length;m>h;h++){var V=i[s][h],U=o[V];a=this.component.xAxis.getAxis(U.xAxisIndex||0);var d=this.component.yAxis.getAxis(U.yAxisIndex||0),p=d.getCoord(0);r[V]=r[V]||[],n[V]=n[V]||{min0:Number.POSITIVE_INFINITY,min1:Number.POSITIVE_INFINITY,max0:Number.NEGATIVE_INFINITY,max1:Number.NEGATIVE_INFINITY,sum0:0,sum1:0,counter0:0,counter1:0,average0:0,average1:0};for(var c=0,u=U.data.length;u>c;c++){var y=U.data[c],g=this.getDataFromOption(y,"-");if(g instanceof Array){var b=a.getCoord(g[0]),f=d.getCoord(g[1]);r[V].push([b,f,c,g[0],b,p]),n[V].min0>g[0]&&(n[V].min0=g[0],n[V].minY0=f,n[V].minX0=b),n[V].max0<g[0]&&(n[V].max0=g[0],n[V].maxY0=f,n[V].maxX0=b),n[V].sum0+=g[0],n[V].counter0++,n[V].min1>g[1]&&(n[V].min1=g[1],n[V].minY1=f,n[V].minX1=b),n[V].max1<g[1]&&(n[V].max1=g[1],n[V].maxY1=f,n[V].maxX1=b),n[V].sum1+=g[1],n[V].counter1++}}}for(var k in r)r[k].length>0&&(this.finalPLMap[k]=this.finalPLMap[k]||[],this.finalPLMap[k].push(r[k]),r[k]=[]);this._calculMarkMapXY(n,i,"xy"),this._buildBorkenLine(e,this.finalPLMap,a,"other")},_buildBorkenLine:function(e,t,i,n){for(var o,s="other"==n?"horizontal":n,V=this.series,U=e.length-1;U>=0;U--){var d=e[U],p=V[d],c=t[d];if(p.type===this.type&&null!=c)for(var u=this._getBbox(d,s),y=this._sIndex2ColorMap[d],g=this.query(p,"itemStyle.normal.lineStyle.width"),b=this.query(p,"itemStyle.normal.lineStyle.type"),f=this.query(p,"itemStyle.normal.lineStyle.color"),k=this.getItemStyleColor(this.query(p,"itemStyle.normal.color"),d,-1),x=null!=this.query(p,"itemStyle.normal.areaStyle"),_=this.query(p,"itemStyle.normal.areaStyle.color"),L=0,W=c.length;W>L;L++){var X=c[L],v="other"!=n&&this._isLarge(s,X);if(v)X=this._getLargePointList(s,X,p.dataFilter);else for(var w=0,K=X.length;K>w;w++)o=p.data[X[w][2]],(this.deepQuery([o,p,this.option],"calculable")||this.deepQuery([o,p],"showAllSymbol")||"categoryAxis"===i.type&&i.isMainAxis(X[w][2])&&"none"!=this.deepQuery([o,p],"symbol"))&&this.shapeList.push(this._getSymbol(d,X[w][2],X[w][3],X[w][0],X[w][1],s));var I=new a({zlevel:p.zlevel,z:p.z,style:{miterLimit:g,pointList:X,strokeColor:f||k||y,lineWidth:g,lineType:b,smooth:this._getSmooth(p.smooth),smoothConstraint:u,shadowColor:this.query(p,"itemStyle.normal.lineStyle.shadowColor"),shadowBlur:this.query(p,"itemStyle.normal.lineStyle.shadowBlur"),shadowOffsetX:this.query(p,"itemStyle.normal.lineStyle.shadowOffsetX"),shadowOffsetY:this.query(p,"itemStyle.normal.lineStyle.shadowOffsetY")},hoverable:!1,_main:!0,_seriesIndex:d,_orient:s});if(l.pack(I,V[d],d,0,L,V[d].name),this.shapeList.push(I),x){var J=new r({zlevel:p.zlevel,z:p.z,style:{miterLimit:g,pointList:h.clone(X).concat([[X[X.length-1][4],X[X.length-1][5]],[X[0][4],X[0][5]]]),brushType:"fill",smooth:this._getSmooth(p.smooth),smoothConstraint:u,color:_?_:m.alpha(y,.5)},highlightStyle:{brushType:"fill"},hoverable:!1,_main:!0,_seriesIndex:d,_orient:s});l.pack(J,V[d],d,0,L,V[d].name),this.shapeList.push(J)}}}},_getBbox:function(e,t){var i=this.component.grid.getBbox(),n=this.xMarkMap[e];return null!=n.minX0?[[Math.min(n.minX0,n.maxX0,n.minX1,n.maxX1),Math.min(n.minY0,n.maxY0,n.minY1,n.maxY1)],[Math.max(n.minX0,n.maxX0,n.minX1,n.maxX1),Math.max(n.minY0,n.maxY0,n.minY1,n.maxY1)]]:("horizontal"===t?(i[0][1]=Math.min(n.minY,n.maxY),i[1][1]=Math.max(n.minY,n.maxY)):(i[0][0]=Math.min(n.minX,n.maxX),i[1][0]=Math.max(n.minX,n.maxX)),i)},_isLarge:function(e,t){return t.length<2?!1:"horizontal"===e?Math.abs(t[0][0]-t[1][0])<.5:Math.abs(t[0][1]-t[1][1])<.5},_getLargePointList:function(e,t,i){var n;n="horizontal"===e?this.component.grid.getWidth():this.component.grid.getHeight();var a=t.length,o=[];if("function"!=typeof i)switch(i){case"min":i=function(e){return Math.max.apply(null,e)};break;case"max":i=function(e){return Math.min.apply(null,e)};break;case"average":i=function(e){for(var t=0,i=0;i<e.length;i++)t+=e[i];return t/e.length};break;default:i=function(e){return e[0]}}for(var r=[],s=0;n>s;s++){var l=Math.floor(a/n*s),h=Math.min(Math.floor(a/n*(s+1)),a);if(!(l>=h)){for(var m=l;h>m;m++)r[m-l]="horizontal"===e?t[m][1]:t[m][0];r.length=h-l;for(var V=i(r),U=-1,d=1/0,m=l;h>m;m++){var p="horizontal"===e?t[m][1]:t[m][0],c=Math.abs(p-V);d>c&&(U=m,d=c)}var u=t[U].slice();"horizontal"===e?u[1]=V:u[0]=V,o.push(u)}}return o},_getSmooth:function(e){return e?.3:0},_getCalculableItem:function(e,t,i,n,a,o){var r=this.series,l=r[e].calculableHolderColor||this.ecTheme.calculableHolderColor||s.calculableHolderColor,h=this._getSymbol(e,t,i,n,a,o);return h.style.color=l,h.style.strokeColor=l,h.rotation=[0,0],h.hoverable=!1,h.draggable=!1,h.style.text=void 0,h},_getSymbol:function(e,t,i,n,a,o){var r=this.series,s=r[e],l=s.data[t],h=this.getSymbolShape(s,e,l,t,i,n,a,this._sIndex2ShapeMap[e],this._sIndex2ColorMap[e],"#fff","vertical"===o?"horizontal":"vertical");return h.zlevel=s.zlevel,h.z=s.z+1,this.deepQuery([l,s,this.option],"calculable")&&(this.setCalculable(h),h.draggable=!0),h},getMarkCoord:function(e,t){var i=this.series[e],n=this.xMarkMap[e],a=this.component.xAxis.getAxis(i.xAxisIndex),o=this.component.yAxis.getAxis(i.yAxisIndex);if(t.type&&("max"===t.type||"min"===t.type||"average"===t.type)){var r=null!=t.valueIndex?t.valueIndex:null!=n.maxX0?"1":"";return[n[t.type+"X"+r],n[t.type+"Y"+r],n[t.type+"Line"+r],n[t.type+r]]}return["string"!=typeof t.xAxis&&a.getCoordByIndex?a.getCoordByIndex(t.xAxis||0):a.getCoord(t.xAxis||0),"string"!=typeof t.yAxis&&o.getCoordByIndex?o.getCoordByIndex(t.yAxis||0):o.getCoord(t.yAxis||0)]},refresh:function(e){e&&(this.option=e,this.series=e.series),this.backupShapeList(),this._buildShape()},ontooltipHover:function(e,t){for(var i,n,a=e.seriesIndex,o=e.dataIndex,r=a.length;r--;)if(i=this.finalPLMap[a[r]])for(var s=0,l=i.length;l>s;s++){n=i[s];for(var h=0,m=n.length;m>h;h++)o===n[h][2]&&t.push(this._getSymbol(a[r],n[h][2],n[h][3],n[h][0],n[h][1],"horizontal"))}},addDataAnimation:function(e,t){function i(){c--,0===c&&t&&t()}function n(e){e.style.controlPointList=null}for(var a=this.series,o={},r=0,s=e.length;s>r;r++)o[e[r][0]]=e[r];for(var l,h,m,V,U,d,p,c=0,r=this.shapeList.length-1;r>=0;r--)if(U=this.shapeList[r]._seriesIndex,o[U]&&!o[U][3]){if(this.shapeList[r]._main&&this.shapeList[r].style.pointList.length>1){if(d=this.shapeList[r].style.pointList,h=Math.abs(d[0][0]-d[1][0]),V=Math.abs(d[0][1]-d[1][1]),p="horizontal"===this.shapeList[r]._orient,o[U][2]){if("half-smooth-polygon"===this.shapeList[r].type){var u=d.length;this.shapeList[r].style.pointList[u-3]=d[u-2],this.shapeList[r].style.pointList[u-3][p?0:1]=d[u-4][p?0:1],this.shapeList[r].style.pointList[u-2]=d[u-1]}this.shapeList[r].style.pointList.pop(),p?(l=h,m=0):(l=0,m=-V)}else{if(this.shapeList[r].style.pointList.shift(),"half-smooth-polygon"===this.shapeList[r].type){var y=this.shapeList[r].style.pointList.pop();p?y[0]=d[0][0]:y[1]=d[0][1],this.shapeList[r].style.pointList.push(y)}p?(l=-h,m=0):(l=0,m=V)}this.shapeList[r].style.controlPointList=null,this.zr.modShape(this.shapeList[r])}else{if(o[U][2]&&this.shapeList[r]._dataIndex===a[U].data.length-1){this.zr.delShape(this.shapeList[r].id);continue}if(!o[U][2]&&0===this.shapeList[r]._dataIndex){this.zr.delShape(this.shapeList[r].id);continue}}this.shapeList[r].position=[0,0],c++,this.zr.animate(this.shapeList[r].id,"").when(this.query(this.option,"animationDurationUpdate"),{position:[l,m]}).during(n).done(i).start()}c||t&&t()}},o.prototype.iconLibrary.legendLineIcon=i,h.inherits(t,n),e("../chart").define("line",t),t}),i("echarts/util/shape/HalfSmoothPolygon",["require","zrender/shape/Base","zrender/shape/util/smoothBezier","zrender/tool/util","zrender/shape/Polygon"],function(e){function t(e){i.call(this,e)}var i=e("zrender/shape/Base"),n=e("zrender/shape/util/smoothBezier"),a=e("zrender/tool/util");return t.prototype={type:"half-smooth-polygon",buildPath:function(t,i){var a=i.pointList;if(!(a.length<2))if(i.smooth){var o=n(a.slice(0,-2),i.smooth,!1,i.smoothConstraint);t.moveTo(a[0][0],a[0][1]);for(var r,s,l,h=a.length,m=0;h-3>m;m++)r=o[2*m],s=o[2*m+1],l=a[m+1],t.bezierCurveTo(r[0],r[1],s[0],s[1],l[0],l[1]);t.lineTo(a[h-2][0],a[h-2][1]),t.lineTo(a[h-1][0],a[h-1][1]),t.lineTo(a[0][0],a[0][1])}else e("zrender/shape/Polygon").prototype.buildPath(t,i)}},a.inherits(t,i),t}),i("echarts/chart/bar",["require","./base","zrender/shape/Rectangle","../component/axis","../component/grid","../component/dataZoom","../config","../util/ecData","zrender/tool/util","zrender/tool/color","../chart"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o),this.refresh(a)}var i=e("./base"),n=e("zrender/shape/Rectangle");e("../component/axis"),e("../component/grid"),e("../component/dataZoom");var a=e("../config");a.bar={zlevel:0,z:2,clickable:!0,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,barMinHeight:0,barGap:"30%",barCategoryGap:"20%",itemStyle:{normal:{barBorderColor:"#fff",barBorderRadius:0,barBorderWidth:0,label:{show:!1}},emphasis:{barBorderColor:"#fff",barBorderRadius:0,barBorderWidth:0,label:{show:!1}}}};var o=e("../util/ecData"),r=e("zrender/tool/util"),s=e("zrender/tool/color");return t.prototype={type:a.CHART_TYPE_BAR,_buildShape:function(){this._buildPosition()},_buildNormal:function(e,t,i,o,r){for(var s,l,h,m,V,U,d,p,c,u,y,g,b=this.series,f=i[0][0],k=b[f],x="horizontal"==r,_=this.component.xAxis,L=this.component.yAxis,W=x?_.getAxis(k.xAxisIndex):L.getAxis(k.yAxisIndex),X=this._mapSize(W,i),v=X.gap,w=X.barGap,K=X.barWidthMap,I=X.barMaxWidthMap,J=X.barWidth,C=X.barMinHeightMap,S=X.interval,E=this.deepQuery([this.ecTheme,a],"island.r"),F=0,T=t;T>F&&null!=W.getNameByIndex(F);F++){x?m=W.getCoordByIndex(F)-v/2:V=W.getCoordByIndex(F)+v/2;for(var z=0,A=i.length;A>z;z++){var M=b[i[z][0]].yAxisIndex||0,O=b[i[z][0]].xAxisIndex||0;s=x?L.getAxis(M):_.getAxis(O),d=U=c=p=s.getCoord(0);for(var P=0,D=i[z].length;D>P;P++)f=i[z][P],k=b[f],y=k.data[F],g=this.getDataFromOption(y,"-"),o[f]=o[f]||{min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY,sum:0,counter:0,average:0},h=Math.min(I[f]||Number.MAX_VALUE,K[f]||J),"-"!==g&&(g>0?(l=P>0?s.getCoordSize(g):x?d-s.getCoord(g):s.getCoord(g)-d,1===D&&C[f]>l&&(l=C[f]),x?(U-=l,V=U):(m=U,U+=l)):0>g?(l=P>0?s.getCoordSize(g):x?s.getCoord(g)-c:c-s.getCoord(g),1===D&&C[f]>l&&(l=C[f]),x?(V=p,p+=l):(p-=l,m=p)):(l=0,x?(U-=l,V=U):(m=U,U+=l)),o[f][F]=x?m+h/2:V-h/2,o[f].min>g&&(o[f].min=g,x?(o[f].minY=V,o[f].minX=o[f][F]):(o[f].minX=m+l,o[f].minY=o[f][F])),o[f].max<g&&(o[f].max=g,x?(o[f].maxY=V,o[f].maxX=o[f][F]):(o[f].maxX=m+l,o[f].maxY=o[f][F])),o[f].sum+=g,o[f].counter++,F%S===0&&(u=this._getBarItem(f,F,W.getNameByIndex(F),m,V-(x?0:h),x?h:l,x?l:h,x?"vertical":"horizontal"),this.shapeList.push(new n(u))));for(var P=0,D=i[z].length;D>P;P++)f=i[z][P],k=b[f],y=k.data[F],g=this.getDataFromOption(y,"-"),h=Math.min(I[f]||Number.MAX_VALUE,K[f]||J),"-"==g&&this.deepQuery([y,k,this.option],"calculable")&&(x?(U-=E,V=U):(m=U,U+=E),u=this._getBarItem(f,F,W.getNameByIndex(F),m,V-(x?0:h),x?h:E,x?E:h,x?"vertical":"horizontal"),u.hoverable=!1,u.draggable=!1,u.style.lineWidth=1,u.style.brushType="stroke",u.style.strokeColor=k.calculableHolderColor||this.ecTheme.calculableHolderColor||a.calculableHolderColor,this.shapeList.push(new n(u)));x?m+=h+w:V-=h+w}}this._calculMarkMapXY(o,i,x?"y":"x")},_buildHorizontal:function(e,t,i,n){return this._buildNormal(e,t,i,n,"horizontal")},_buildVertical:function(e,t,i,n){return this._buildNormal(e,t,i,n,"vertical")},_buildOther:function(e,t,i,a){for(var o=this.series,r=0,s=i.length;s>r;r++)for(var l=0,h=i[r].length;h>l;l++){var m=i[r][l],V=o[m],U=V.xAxisIndex||0,d=this.component.xAxis.getAxis(U),p=d.getCoord(0),c=V.yAxisIndex||0,u=this.component.yAxis.getAxis(c),y=u.getCoord(0);a[m]=a[m]||{min0:Number.POSITIVE_INFINITY,min1:Number.POSITIVE_INFINITY,max0:Number.NEGATIVE_INFINITY,max1:Number.NEGATIVE_INFINITY,sum0:0,sum1:0,counter0:0,counter1:0,average0:0,average1:0};for(var g=0,b=V.data.length;b>g;g++){var f=V.data[g],k=this.getDataFromOption(f,"-");if(k instanceof Array){var x,_,L=d.getCoord(k[0]),W=u.getCoord(k[1]),X=[f,V],v=this.deepQuery(X,"barWidth")||10,w=this.deepQuery(X,"barHeight");null!=w?(x="horizontal",k[0]>0?(v=L-p,L-=v):v=k[0]<0?p-L:0,_=this._getBarItem(m,g,k[0],L,W-w/2,v,w,x)):(x="vertical",k[1]>0?w=y-W:k[1]<0?(w=W-y,W-=w):w=0,_=this._getBarItem(m,g,k[0],L-v/2,W,v,w,x)),this.shapeList.push(new n(_)),L=d.getCoord(k[0]),W=u.getCoord(k[1]),a[m].min0>k[0]&&(a[m].min0=k[0],a[m].minY0=W,a[m].minX0=L),a[m].max0<k[0]&&(a[m].max0=k[0],a[m].maxY0=W,a[m].maxX0=L),a[m].sum0+=k[0],a[m].counter0++,a[m].min1>k[1]&&(a[m].min1=k[1],a[m].minY1=W,a[m].minX1=L),a[m].max1<k[1]&&(a[m].max1=k[1],a[m].maxY1=W,a[m].maxX1=L),a[m].sum1+=k[1],a[m].counter1++}}}this._calculMarkMapXY(a,i,"xy")},_mapSize:function(e,t,i){var n,a,o=this._findSpecialBarSzie(t,i),r=o.barWidthMap,s=o.barMaxWidthMap,l=o.barMinHeightMap,h=o.sBarWidthCounter,m=o.sBarWidthTotal,V=o.barGap,U=o.barCategoryGap,d=1;if(t.length!=h){if(i)n=e.getGap(),V=0,a=+(n/t.length).toFixed(2),0>=a&&(d=Math.floor(t.length/n),a=1);else if(n="string"==typeof U&&U.match(/%$/)?(e.getGap()*(100-parseFloat(U))/100).toFixed(2)-0:e.getGap()-U,"string"==typeof V&&V.match(/%$/)?(V=parseFloat(V)/100,a=+((n-m)/((t.length-1)*V+t.length-h)).toFixed(2),V=a*V):(V=parseFloat(V),a=+((n-m-V*(t.length-1))/(t.length-h)).toFixed(2)),0>=a)return this._mapSize(e,t,!0)}else if(n=h>1?"string"==typeof U&&U.match(/%$/)?+(e.getGap()*(100-parseFloat(U))/100).toFixed(2):e.getGap()-U:m,a=0,V=h>1?+((n-m)/(h-1)).toFixed(2):0,0>V)return this._mapSize(e,t,!0);return this._recheckBarMaxWidth(t,r,s,l,n,a,V,d)},_findSpecialBarSzie:function(e,t){for(var i,n,a,o,r=this.series,s={},l={},h={},m=0,V=0,U=0,d=e.length;d>U;U++)for(var p={barWidth:!1,barMaxWidth:!1},c=0,u=e[U].length;u>c;c++){var y=e[U][c],g=r[y];if(!t){if(p.barWidth)s[y]=i;else if(i=this.query(g,"barWidth"),null!=i){s[y]=i,V+=i,m++,p.barWidth=!0;for(var b=0,f=c;f>b;b++){var k=e[U][b];s[k]=i}}if(p.barMaxWidth)l[y]=n;else if(n=this.query(g,"barMaxWidth"),null!=n){l[y]=n,p.barMaxWidth=!0;for(var b=0,f=c;f>b;b++){var k=e[U][b];l[k]=n}}}h[y]=this.query(g,"barMinHeight"),a=null!=a?a:this.query(g,"barGap"),o=null!=o?o:this.query(g,"barCategoryGap")}return{barWidthMap:s,barMaxWidthMap:l,barMinHeightMap:h,sBarWidth:i,sBarMaxWidth:n,sBarWidthCounter:m,sBarWidthTotal:V,barGap:a,barCategoryGap:o}},_recheckBarMaxWidth:function(e,t,i,n,a,o,r,s){for(var l=0,h=e.length;h>l;l++){var m=e[l][0];i[m]&&i[m]<o&&(a-=o-i[m])}return{barWidthMap:t,barMaxWidthMap:i,barMinHeightMap:n,gap:a,barWidth:o,barGap:r,interval:s}},_getBarItem:function(e,t,i,n,a,r,l,h){var m,V=this.series,U=V[e],d=U.data[t],p=this._sIndex2ColorMap[e],c=[d,U],u=this.deepMerge(c,"itemStyle.normal"),y=this.deepMerge(c,"itemStyle.emphasis"),g=u.barBorderWidth;m={zlevel:U.zlevel,z:U.z,clickable:this.deepQuery(c,"clickable"),style:{x:n,y:a,width:r,height:l,brushType:"both",color:this.getItemStyleColor(this.deepQuery(c,"itemStyle.normal.color")||p,e,t,d),radius:u.barBorderRadius,lineWidth:g,strokeColor:u.barBorderColor},highlightStyle:{color:this.getItemStyleColor(this.deepQuery(c,"itemStyle.emphasis.color"),e,t,d),radius:y.barBorderRadius,lineWidth:y.barBorderWidth,strokeColor:y.barBorderColor},_orient:h};var b=m.style;m.highlightStyle.color=m.highlightStyle.color||("string"==typeof b.color?s.lift(b.color,-.3):b.color),b.x=Math.floor(b.x),b.y=Math.floor(b.y),b.height=Math.ceil(b.height),b.width=Math.ceil(b.width),g>0&&b.height>g&&b.width>g?(b.y+=g/2,b.height-=g,b.x+=g/2,b.width-=g):b.brushType="fill",m.highlightStyle.textColor=m.highlightStyle.color,m=this.addLabel(m,U,d,i,h);for(var f=[b,m.highlightStyle],k=0,x=f.length;x>k;k++){var _=f[k].textPosition;if("insideLeft"===_||"insideRight"===_||"insideTop"===_||"insideBottom"===_){var L=5;switch(_){case"insideLeft":f[k].textX=b.x+L,f[k].textY=b.y+b.height/2,f[k].textAlign="left",f[k].textBaseline="middle";break;case"insideRight":f[k].textX=b.x+b.width-L,f[k].textY=b.y+b.height/2,f[k].textAlign="right",f[k].textBaseline="middle";break;case"insideTop":f[k].textX=b.x+b.width/2,f[k].textY=b.y+L/2,f[k].textAlign="center",f[k].textBaseline="top";break;case"insideBottom":f[k].textX=b.x+b.width/2,f[k].textY=b.y+b.height-L/2,f[k].textAlign="center",f[k].textBaseline="bottom"}f[k].textPosition="specific",f[k].textColor=f[k].textColor||"#fff"}}return this.deepQuery([d,U,this.option],"calculable")&&(this.setCalculable(m),m.draggable=!0),o.pack(m,V[e],e,V[e].data[t],t,i),m},getMarkCoord:function(e,t){var i,n,a=this.series[e],o=this.xMarkMap[e],r=this.component.xAxis.getAxis(a.xAxisIndex),s=this.component.yAxis.getAxis(a.yAxisIndex);if(!t.type||"max"!==t.type&&"min"!==t.type&&"average"!==t.type)if(o.isHorizontal){i="string"==typeof t.xAxis&&r.getIndexByName?r.getIndexByName(t.xAxis):t.xAxis||0;var l=o[i];l=null!=l?l:"string"!=typeof t.xAxis&&r.getCoordByIndex?r.getCoordByIndex(t.xAxis||0):r.getCoord(t.xAxis||0),n=[l,s.getCoord(t.yAxis||0)]}else{i="string"==typeof t.yAxis&&s.getIndexByName?s.getIndexByName(t.yAxis):t.yAxis||0;var h=o[i];h=null!=h?h:"string"!=typeof t.yAxis&&s.getCoordByIndex?s.getCoordByIndex(t.yAxis||0):s.getCoord(t.yAxis||0),n=[r.getCoord(t.xAxis||0),h]}else{var m=null!=t.valueIndex?t.valueIndex:null!=o.maxX0?"1":"";n=[o[t.type+"X"+m],o[t.type+"Y"+m],o[t.type+"Line"+m],o[t.type+m]]}return n},refresh:function(e){e&&(this.option=e,this.series=e.series),this.backupShapeList(),this._buildShape()},addDataAnimation:function(e,t){function i(){c--,0===c&&t&&t()}for(var n=this.series,a={},r=0,s=e.length;s>r;r++)a[e[r][0]]=e[r];for(var l,h,m,V,U,d,p,c=0,r=this.shapeList.length-1;r>=0;r--)if(d=o.get(this.shapeList[r],"seriesIndex"),a[d]&&!a[d][3]&&"rectangle"===this.shapeList[r].type){if(p=o.get(this.shapeList[r],"dataIndex"),U=n[d],a[d][2]&&p===U.data.length-1){this.zr.delShape(this.shapeList[r].id);continue}if(!a[d][2]&&0===p){this.zr.delShape(this.shapeList[r].id);continue}"horizontal"===this.shapeList[r]._orient?(V=this.component.yAxis.getAxis(U.yAxisIndex||0).getGap(),m=a[d][2]?-V:V,l=0):(h=this.component.xAxis.getAxis(U.xAxisIndex||0).getGap(),l=a[d][2]?h:-h,m=0),this.shapeList[r].position=[0,0],c++,this.zr.animate(this.shapeList[r].id,"").when(this.query(this.option,"animationDurationUpdate"),{position:[l,m]}).done(i).start()}c||t&&t()}},r.inherits(t,i),e("../chart").define("bar",t),t}),i("echarts/chart/scatter",["require","./base","../util/shape/Symbol","../component/axis","../component/grid","../component/dataZoom","../component/dataRange","../config","zrender/tool/util","zrender/tool/color","../chart"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o),this.refresh(a)}var i=e("./base"),n=e("../util/shape/Symbol");e("../component/axis"),e("../component/grid"),e("../component/dataZoom"),e("../component/dataRange");var a=e("../config");a.scatter={zlevel:0,z:2,clickable:!0,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbolSize:4,large:!1,largeThreshold:2e3,itemStyle:{normal:{label:{show:!1}},emphasis:{label:{show:!1}}}};var o=e("zrender/tool/util"),r=e("zrender/tool/color");return t.prototype={type:a.CHART_TYPE_SCATTER,_buildShape:function(){var e=this.series;this._sIndex2ColorMap={},this._symbol=this.option.symbolList,this._sIndex2ShapeMap={},this.selectedMap={},this.xMarkMap={};for(var t,i,n,o,s=this.component.legend,l=[],h=0,m=e.length;m>h;h++)if(t=e[h],i=t.name,t.type===a.CHART_TYPE_SCATTER){if(e[h]=this.reformOption(e[h]),this.legendHoverLink=e[h].legendHoverLink||this.legendHoverLink,this._sIndex2ShapeMap[h]=this.query(t,"symbol")||this._symbol[h%this._symbol.length],s){if(this.selectedMap[i]=s.isSelected(i),this._sIndex2ColorMap[h]=r.alpha(s.getColor(i),.5),n=s.getItemShape(i)){var o=this._sIndex2ShapeMap[h];n.style.brushType=o.match("empty")?"stroke":"both",o=o.replace("empty","").toLowerCase(),o.match("rectangle")&&(n.style.x+=Math.round((n.style.width-n.style.height)/2),n.style.width=n.style.height),o.match("star")&&(n.style.n=o.replace("star","")-0||5,o="star"),o.match("image")&&(n.style.image=o.replace(new RegExp("^image:\\/\\/"),""),n.style.x+=Math.round((n.style.width-n.style.height)/2),n.style.width=n.style.height,o="image"),n.style.iconType=o,s.setItemShape(i,n)}}else this.selectedMap[i]=!0,this._sIndex2ColorMap[h]=r.alpha(this.zr.getColor(h),.5);this.selectedMap[i]&&l.push(h)}this._buildSeries(l),this.addShapeList()},_buildSeries:function(e){if(0!==e.length){for(var t,i,n,a,o,r,s,l,h=this.series,m={},V=0,U=e.length;U>V;V++)if(t=e[V],i=h[t],0!==i.data.length){o=this.component.xAxis.getAxis(i.xAxisIndex||0),r=this.component.yAxis.getAxis(i.yAxisIndex||0),m[t]=[];for(var d=0,p=i.data.length;p>d;d++)n=i.data[d],a=this.getDataFromOption(n,"-"),"-"===a||a.length<2||(s=o.getCoord(a[0]),l=r.getCoord(a[1]),m[t].push([s,l,d,n.name||""]));this.xMarkMap[t]=this._markMap(o,r,i.data,m[t]),this.buildMark(t)}this._buildPointList(m)}},_markMap:function(e,t,i,n){for(var a,o={min0:Number.POSITIVE_INFINITY,max0:Number.NEGATIVE_INFINITY,sum0:0,counter0:0,average0:0,min1:Number.POSITIVE_INFINITY,max1:Number.NEGATIVE_INFINITY,sum1:0,counter1:0,average1:0},r=0,s=n.length;s>r;r++)a=i[n[r][2]].value||i[n[r][2]],o.min0>a[0]&&(o.min0=a[0],o.minY0=n[r][1],o.minX0=n[r][0]),o.max0<a[0]&&(o.max0=a[0],o.maxY0=n[r][1],o.maxX0=n[r][0]),o.sum0+=a[0],o.counter0++,o.min1>a[1]&&(o.min1=a[1],o.minY1=n[r][1],o.minX1=n[r][0]),o.max1<a[1]&&(o.max1=a[1],o.maxY1=n[r][1],o.maxX1=n[r][0]),o.sum1+=a[1],o.counter1++;var l=this.component.grid.getX(),h=this.component.grid.getXend(),m=this.component.grid.getY(),V=this.component.grid.getYend();o.average0=o.sum0/o.counter0;var U=e.getCoord(o.average0);o.averageLine0=[[U,V],[U,m]],o.minLine0=[[o.minX0,V],[o.minX0,m]],o.maxLine0=[[o.maxX0,V],[o.maxX0,m]],o.average1=o.sum1/o.counter1;var d=t.getCoord(o.average1);return o.averageLine1=[[l,d],[h,d]],o.minLine1=[[l,o.minY1],[h,o.minY1]],o.maxLine1=[[l,o.maxY1],[h,o.maxY1]],o},_buildPointList:function(e){var t,i,n,a,o=this.series;for(var r in e)if(t=o[r],i=e[r],t.large&&t.data.length>t.largeThreshold)this.shapeList.push(this._getLargeSymbol(t,i,this.getItemStyleColor(this.query(t,"itemStyle.normal.color"),r,-1)||this._sIndex2ColorMap[r]));else for(var s=0,l=i.length;l>s;s++)n=i[s],a=this._getSymbol(r,n[2],n[3],n[0],n[1]),a&&this.shapeList.push(a)},_getSymbol:function(e,t,i,n,a){var o,r=this.series,s=r[e],l=s.data[t],h=this.component.dataRange;if(h){if(o=isNaN(l[2])?this._sIndex2ColorMap[e]:h.getColor(l[2]),!o)return null}else o=this._sIndex2ColorMap[e];var m=this.getSymbolShape(s,e,l,t,i,n,a,this._sIndex2ShapeMap[e],o,"rgba(0,0,0,0)","vertical");return m.zlevel=s.zlevel,m.z=s.z,m._main=!0,m},_getLargeSymbol:function(e,t,i){return new n({zlevel:e.zlevel,z:e.z,_main:!0,hoverable:!1,style:{pointList:t,color:i,strokeColor:i},highlightStyle:{pointList:[]}})},getMarkCoord:function(e,t){var i,n=this.series[e],a=this.xMarkMap[e],o=this.component.xAxis.getAxis(n.xAxisIndex),r=this.component.yAxis.getAxis(n.yAxisIndex);if(!t.type||"max"!==t.type&&"min"!==t.type&&"average"!==t.type)i=["string"!=typeof t.xAxis&&o.getCoordByIndex?o.getCoordByIndex(t.xAxis||0):o.getCoord(t.xAxis||0),"string"!=typeof t.yAxis&&r.getCoordByIndex?r.getCoordByIndex(t.yAxis||0):r.getCoord(t.yAxis||0)];else{var s=null!=t.valueIndex?t.valueIndex:1;i=[a[t.type+"X"+s],a[t.type+"Y"+s],a[t.type+"Line"+s],a[t.type+s]]}return i},refresh:function(e){e&&(this.option=e,this.series=e.series),this.backupShapeList(),this._buildShape()},ondataRange:function(e,t){this.component.dataRange&&(this.refresh(),t.needRefresh=!0)}},o.inherits(t,i),e("../chart").define("scatter",t),t}),i("echarts/component/dataRange",["require","./base","zrender/shape/Text","zrender/shape/Rectangle","../util/shape/HandlePolygon","../config","zrender/tool/util","zrender/tool/event","zrender/tool/area","zrender/tool/color","../component"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o);var s=this;s._ondrift=function(e,t){return s.__ondrift(this,e,t)},s._ondragend=function(){return s.__ondragend()},s._dataRangeSelected=function(e){return s.__dataRangeSelected(e)},s._dispatchHoverLink=function(e){return s.__dispatchHoverLink(e)},s._onhoverlink=function(e){return s.__onhoverlink(e);
+
+},this._selectedMap={},this._range={},this.refresh(a),t.bind(r.EVENT.HOVER,this._onhoverlink)}var i=e("./base"),n=e("zrender/shape/Text"),a=e("zrender/shape/Rectangle"),o=e("../util/shape/HandlePolygon"),r=e("../config");r.dataRange={zlevel:0,z:4,show:!0,orient:"vertical",x:"left",y:"bottom",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,itemWidth:20,itemHeight:14,precision:0,splitNumber:5,splitList:null,calculable:!1,selectedMode:!0,hoverLink:!0,realtime:!0,color:["#006edd","#e0ffff"],textStyle:{color:"#333"}};var s=e("zrender/tool/util"),l=e("zrender/tool/event"),h=e("zrender/tool/area"),m=e("zrender/tool/color");return t.prototype={type:r.COMPONENT_TYPE_DATARANGE,_textGap:10,_buildShape:function(){if(this._itemGroupLocation=this._getItemGroupLocation(),this._buildBackground(),this._isContinuity()?this._buildGradient():this._buildItem(),this.dataRangeOption.show)for(var e=0,t=this.shapeList.length;t>e;e++)this.zr.addShape(this.shapeList[e]);this._syncShapeFromRange()},_buildItem:function(){var e,t,i,o,r=this._valueTextList,s=r.length,l=this.getFont(this.dataRangeOption.textStyle),m=this._itemGroupLocation.x,V=this._itemGroupLocation.y,U=this.dataRangeOption.itemWidth,d=this.dataRangeOption.itemHeight,p=this.dataRangeOption.itemGap,c=h.getTextHeight("鍥�",l);"vertical"==this.dataRangeOption.orient&&"right"==this.dataRangeOption.x&&(m=this._itemGroupLocation.x+this._itemGroupLocation.width-U);var u=!0;this.dataRangeOption.text&&(u=!1,this.dataRangeOption.text[0]&&(i=this._getTextShape(m,V,this.dataRangeOption.text[0]),"horizontal"==this.dataRangeOption.orient?m+=h.getTextWidth(this.dataRangeOption.text[0],l)+this._textGap:(V+=c+this._textGap,i.style.y+=c/2+this._textGap,i.style.textBaseline="bottom"),this.shapeList.push(new n(i))));for(var y=0;s>y;y++)e=r[y],o=this.getColorByIndex(y),t=this._getItemShape(m,V,U,d,this._selectedMap[y]?o:"#ccc"),t._idx=y,t.onmousemove=this._dispatchHoverLink,this.dataRangeOption.selectedMode&&(t.clickable=!0,t.onclick=this._dataRangeSelected),this.shapeList.push(new a(t)),u&&(i={zlevel:this.getZlevelBase(),z:this.getZBase(),style:{x:m+U+5,y:V,color:this._selectedMap[y]?this.dataRangeOption.textStyle.color:"#ccc",text:r[y],textFont:l,textBaseline:"top"},highlightStyle:{brushType:"fill"}},"vertical"==this.dataRangeOption.orient&&"right"==this.dataRangeOption.x&&(i.style.x-=U+10,i.style.textAlign="right"),i._idx=y,i.onmousemove=this._dispatchHoverLink,this.dataRangeOption.selectedMode&&(i.clickable=!0,i.onclick=this._dataRangeSelected),this.shapeList.push(new n(i))),"horizontal"==this.dataRangeOption.orient?m+=U+(u?5:0)+(u?h.getTextWidth(e,l):0)+p:V+=d+p;!u&&this.dataRangeOption.text[1]&&("horizontal"==this.dataRangeOption.orient?m=m-p+this._textGap:V=V-p+this._textGap,i=this._getTextShape(m,V,this.dataRangeOption.text[1]),"horizontal"!=this.dataRangeOption.orient&&(i.style.y-=5,i.style.textBaseline="top"),this.shapeList.push(new n(i)))},_buildGradient:function(){var t,i,o=this.getFont(this.dataRangeOption.textStyle),r=this._itemGroupLocation.x,s=this._itemGroupLocation.y,l=this.dataRangeOption.itemWidth,m=this.dataRangeOption.itemHeight,V=h.getTextHeight("鍥�",o),U=10,d=!0;this.dataRangeOption.text&&(d=!1,this.dataRangeOption.text[0]&&(i=this._getTextShape(r,s,this.dataRangeOption.text[0]),"horizontal"==this.dataRangeOption.orient?r+=h.getTextWidth(this.dataRangeOption.text[0],o)+this._textGap:(s+=V+this._textGap,i.style.y+=V/2+this._textGap,i.style.textBaseline="bottom"),this.shapeList.push(new n(i))));for(var p=e("zrender/tool/color"),c=1/(this.dataRangeOption.color.length-1),u=[],y=0,g=this.dataRangeOption.color.length;g>y;y++)u.push([y*c,this.dataRangeOption.color[y]]);"horizontal"==this.dataRangeOption.orient?(t={zlevel:this.getZlevelBase(),z:this.getZBase(),style:{x:r,y:s,width:l*U,height:m,color:p.getLinearGradient(r,s,r+l*U,s,u)},hoverable:!1},r+=l*U+this._textGap):(t={zlevel:this.getZlevelBase(),z:this.getZBase(),style:{x:r,y:s,width:l,height:m*U,color:p.getLinearGradient(r,s,r,s+m*U,u)},hoverable:!1},s+=m*U+this._textGap),this.shapeList.push(new a(t)),this._calculableLocation=t.style,this.dataRangeOption.calculable&&(this._buildFiller(),this._bulidMask(),this._bulidHandle()),this._buildIndicator(),!d&&this.dataRangeOption.text[1]&&(i=this._getTextShape(r,s,this.dataRangeOption.text[1]),this.shapeList.push(new n(i)))},_buildIndicator:function(){var e,t,i=this._calculableLocation.x,n=this._calculableLocation.y,a=this._calculableLocation.width,r=this._calculableLocation.height,s=5;"horizontal"==this.dataRangeOption.orient?"bottom"!=this.dataRangeOption.y?(e=[[i,n+r],[i-s,n+r+s],[i+s,n+r+s]],t="bottom"):(e=[[i,n],[i-s,n-s],[i+s,n-s]],t="top"):"right"!=this.dataRangeOption.x?(e=[[i+a,n],[i+a+s,n-s],[i+a+s,n+s]],t="right"):(e=[[i,n],[i-s,n-s],[i-s,n+s]],t="left"),this._indicatorShape={style:{pointList:e,color:"#fff",__rect:{x:Math.min(e[0][0],e[1][0]),y:Math.min(e[0][1],e[1][1]),width:s*("horizontal"==this.dataRangeOption.orient?2:1),height:s*("horizontal"==this.dataRangeOption.orient?1:2)}},highlightStyle:{brushType:"fill",textPosition:t,textColor:this.dataRangeOption.textStyle.color},hoverable:!1},this._indicatorShape=new o(this._indicatorShape)},_buildFiller:function(){this._fillerShape={zlevel:this.getZlevelBase(),z:this.getZBase()+1,style:{x:this._calculableLocation.x,y:this._calculableLocation.y,width:this._calculableLocation.width,height:this._calculableLocation.height,color:"rgba(255,255,255,0)"},highlightStyle:{strokeColor:"rgba(255,255,255,0.5)",lineWidth:1},draggable:!0,ondrift:this._ondrift,ondragend:this._ondragend,onmousemove:this._dispatchHoverLink,_type:"filler"},this._fillerShape=new a(this._fillerShape),this.shapeList.push(this._fillerShape)},_bulidHandle:function(){var e,t,i,n,a,r,s,l,m=this._calculableLocation.x,V=this._calculableLocation.y,U=this._calculableLocation.width,d=this._calculableLocation.height,p=this.getFont(this.dataRangeOption.textStyle),c=h.getTextHeight("鍥�",p),u=Math.max(h.getTextWidth(this._textFormat(this.dataRangeOption.max),p),h.getTextWidth(this._textFormat(this.dataRangeOption.min),p))+2;"horizontal"==this.dataRangeOption.orient?"bottom"!=this.dataRangeOption.y?(e=[[m,V],[m,V+d+c],[m-c,V+d+c],[m-1,V+d],[m-1,V]],t=m-u/2-c,i=V+d+c/2+2,n={x:m-u-c,y:V+d,width:u+c,height:c},a=[[m+U,V],[m+U,V+d+c],[m+U+c,V+d+c],[m+U+1,V+d],[m+U+1,V]],r=m+U+u/2+c,s=i,l={x:m+U,y:V+d,width:u+c,height:c}):(e=[[m,V+d],[m,V-c],[m-c,V-c],[m-1,V],[m-1,V+d]],t=m-u/2-c,i=V-c/2-2,n={x:m-u-c,y:V-c,width:u+c,height:c},a=[[m+U,V+d],[m+U,V-c],[m+U+c,V-c],[m+U+1,V],[m+U+1,V+d]],r=m+U+u/2+c,s=i,l={x:m+U,y:V-c,width:u+c,height:c}):(u+=c,"right"!=this.dataRangeOption.x?(e=[[m,V],[m+U+c,V],[m+U+c,V-c],[m+U,V-1],[m,V-1]],t=m+U+u/2+c/2,i=V-c/2,n={x:m+U,y:V-c,width:u+c,height:c},a=[[m,V+d],[m+U+c,V+d],[m+U+c,V+c+d],[m+U,V+1+d],[m,V+d+1]],r=t,s=V+d+c/2,l={x:m+U,y:V+d,width:u+c,height:c}):(e=[[m+U,V],[m-c,V],[m-c,V-c],[m,V-1],[m+U,V-1]],t=m-u/2-c/2,i=V-c/2,n={x:m-u-c,y:V-c,width:u+c,height:c},a=[[m+U,V+d],[m-c,V+d],[m-c,V+c+d],[m,V+1+d],[m+U,V+d+1]],r=t,s=V+d+c/2,l={x:m-u-c,y:V+d,width:u+c,height:c})),this._startShape={style:{pointList:e,text:this._textFormat(this.dataRangeOption.max),textX:t,textY:i,textFont:p,color:this.getColor(this.dataRangeOption.max),rect:n,x:e[0][0],y:e[0][1],_x:e[0][0],_y:e[0][1]}},this._startShape.highlightStyle={strokeColor:this._startShape.style.color,lineWidth:1},this._endShape={style:{pointList:a,text:this._textFormat(this.dataRangeOption.min),textX:r,textY:s,textFont:p,color:this.getColor(this.dataRangeOption.min),rect:l,x:a[0][0],y:a[0][1],_x:a[0][0],_y:a[0][1]}},this._endShape.highlightStyle={strokeColor:this._endShape.style.color,lineWidth:1},this._startShape.zlevel=this._endShape.zlevel=this.getZlevelBase(),this._startShape.z=this._endShape.z=this.getZBase()+1,this._startShape.draggable=this._endShape.draggable=!0,this._startShape.ondrift=this._endShape.ondrift=this._ondrift,this._startShape.ondragend=this._endShape.ondragend=this._ondragend,this._startShape.style.textColor=this._endShape.style.textColor=this.dataRangeOption.textStyle.color,this._startShape.style.textAlign=this._endShape.style.textAlign="center",this._startShape.style.textPosition=this._endShape.style.textPosition="specific",this._startShape.style.textBaseline=this._endShape.style.textBaseline="middle",this._startShape.style.width=this._endShape.style.width=0,this._startShape.style.height=this._endShape.style.height=0,this._startShape.style.textPosition=this._endShape.style.textPosition="specific",this._startShape=new o(this._startShape),this._endShape=new o(this._endShape),this.shapeList.push(this._startShape),this.shapeList.push(this._endShape)},_bulidMask:function(){var e=this._calculableLocation.x,t=this._calculableLocation.y,i=this._calculableLocation.width,n=this._calculableLocation.height;this._startMask={zlevel:this.getZlevelBase(),z:this.getZBase()+1,style:{x:e,y:t,width:"horizontal"==this.dataRangeOption.orient?0:i,height:"horizontal"==this.dataRangeOption.orient?n:0,color:"#ccc"},hoverable:!1},this._endMask={zlevel:this.getZlevelBase(),z:this.getZBase()+1,style:{x:"horizontal"==this.dataRangeOption.orient?e+i:e,y:"horizontal"==this.dataRangeOption.orient?t:t+n,width:"horizontal"==this.dataRangeOption.orient?0:i,height:"horizontal"==this.dataRangeOption.orient?n:0,color:"#ccc"},hoverable:!1},this._startMask=new a(this._startMask),this._endMask=new a(this._endMask),this.shapeList.push(this._startMask),this.shapeList.push(this._endMask)},_buildBackground:function(){var e=this.reformCssArray(this.dataRangeOption.padding);this.shapeList.push(new a({zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{x:this._itemGroupLocation.x-e[3],y:this._itemGroupLocation.y-e[0],width:this._itemGroupLocation.width+e[3]+e[1],height:this._itemGroupLocation.height+e[0]+e[2],brushType:0===this.dataRangeOption.borderWidth?"fill":"both",color:this.dataRangeOption.backgroundColor,strokeColor:this.dataRangeOption.borderColor,lineWidth:this.dataRangeOption.borderWidth}}))},_getItemGroupLocation:function(){var e=this._valueTextList,t=e.length,i=this.dataRangeOption.itemGap,n=this.dataRangeOption.itemWidth,a=this.dataRangeOption.itemHeight,o=0,r=0,s=this.getFont(this.dataRangeOption.textStyle),l=h.getTextHeight("鍥�",s),m=10;if("horizontal"==this.dataRangeOption.orient){if(this.dataRangeOption.text||this._isContinuity())o=(this._isContinuity()?n*m+i:t*(n+i))+(this.dataRangeOption.text&&"undefined"!=typeof this.dataRangeOption.text[0]?h.getTextWidth(this.dataRangeOption.text[0],s)+this._textGap:0)+(this.dataRangeOption.text&&"undefined"!=typeof this.dataRangeOption.text[1]?h.getTextWidth(this.dataRangeOption.text[1],s)+this._textGap:0);else{n+=5;for(var V=0;t>V;V++)o+=n+h.getTextWidth(e[V],s)+i}o-=i,r=Math.max(l,a)}else{var U;if(this.dataRangeOption.text||this._isContinuity())r=(this._isContinuity()?a*m+i:t*(a+i))+(this.dataRangeOption.text&&"undefined"!=typeof this.dataRangeOption.text[0]?this._textGap+l:0)+(this.dataRangeOption.text&&"undefined"!=typeof this.dataRangeOption.text[1]?this._textGap+l:0),U=Math.max(h.getTextWidth(this.dataRangeOption.text&&this.dataRangeOption.text[0]||"",s),h.getTextWidth(this.dataRangeOption.text&&this.dataRangeOption.text[1]||"",s)),o=Math.max(n,U);else{r=(a+i)*t,n+=5,U=0;for(var V=0;t>V;V++)U=Math.max(U,h.getTextWidth(e[V],s));o=n+U}r-=i}var d,p=this.reformCssArray(this.dataRangeOption.padding),c=this.zr.getWidth();switch(this.dataRangeOption.x){case"center":d=Math.floor((c-o)/2);break;case"left":d=p[3]+this.dataRangeOption.borderWidth;break;case"right":d=c-o-p[1]-this.dataRangeOption.borderWidth;break;default:d=this.parsePercent(this.dataRangeOption.x,c),d=isNaN(d)?0:d}var u,y=this.zr.getHeight();switch(this.dataRangeOption.y){case"top":u=p[0]+this.dataRangeOption.borderWidth;break;case"bottom":u=y-r-p[2]-this.dataRangeOption.borderWidth;break;case"center":u=Math.floor((y-r)/2);break;default:u=this.parsePercent(this.dataRangeOption.y,y),u=isNaN(u)?0:u}if(this.dataRangeOption.calculable){var g=Math.max(h.getTextWidth(this.dataRangeOption.max,s),h.getTextWidth(this.dataRangeOption.min,s))+l;"horizontal"==this.dataRangeOption.orient?(g>d&&(d=g),d+o+g>c&&(d-=g)):(l>u&&(u=l),u+r+l>y&&(u-=l))}return{x:d,y:u,width:o,height:r}},_getTextShape:function(e,t,i){return{zlevel:this.getZlevelBase(),z:this.getZBase(),style:{x:"horizontal"==this.dataRangeOption.orient?e:this._itemGroupLocation.x+this._itemGroupLocation.width/2,y:"horizontal"==this.dataRangeOption.orient?this._itemGroupLocation.y+this._itemGroupLocation.height/2:t,color:this.dataRangeOption.textStyle.color,text:i,textFont:this.getFont(this.dataRangeOption.textStyle),textBaseline:"horizontal"==this.dataRangeOption.orient?"middle":"top",textAlign:"horizontal"==this.dataRangeOption.orient?"left":"center"},hoverable:!1}},_getItemShape:function(e,t,i,n,a){return{zlevel:this.getZlevelBase(),z:this.getZBase(),style:{x:e,y:t+1,width:i,height:n-2,color:a},highlightStyle:{strokeColor:a,lineWidth:1}}},__ondrift:function(e,t,i){var n=this._calculableLocation.x,a=this._calculableLocation.y,o=this._calculableLocation.width,r=this._calculableLocation.height;return"horizontal"==this.dataRangeOption.orient?e.style.x+t<=n?e.style.x=n:e.style.x+t+e.style.width>=n+o?e.style.x=n+o-e.style.width:e.style.x+=t:e.style.y+i<=a?e.style.y=a:e.style.y+i+e.style.height>=a+r?e.style.y=a+r-e.style.height:e.style.y+=i,"filler"==e._type?this._syncHandleShape():this._syncFillerShape(e),this.dataRangeOption.realtime&&this._dispatchDataRange(),!0},__ondragend:function(){this.isDragend=!0},ondragend:function(e,t){this.isDragend&&e.target&&(t.dragOut=!0,t.dragIn=!0,this.dataRangeOption.realtime||this._dispatchDataRange(),t.needRefresh=!1,this.isDragend=!1)},_syncShapeFromRange:function(){var e=this.dataRangeOption.range||{},t=e.start,i=e.end;if(t>i&&(t=[i,i=t][0]),this._range.end=null!=t?t:null!=this._range.end?this._range.end:0,this._range.start=null!=i?i:null!=this._range.start?this._range.start:100,100!=this._range.start||0!==this._range.end){if("horizontal"==this.dataRangeOption.orient){var n=this._fillerShape.style.width;this._fillerShape.style.x+=n*(100-this._range.start)/100,this._fillerShape.style.width=n*(this._range.start-this._range.end)/100}else{var a=this._fillerShape.style.height;this._fillerShape.style.y+=a*(100-this._range.start)/100,this._fillerShape.style.height=a*(this._range.start-this._range.end)/100}this.zr.modShape(this._fillerShape.id),this._syncHandleShape()}},_syncHandleShape:function(){var e=this._calculableLocation.x,t=this._calculableLocation.y,i=this._calculableLocation.width,n=this._calculableLocation.height;"horizontal"==this.dataRangeOption.orient?(this._startShape.style.x=this._fillerShape.style.x,this._startMask.style.width=this._startShape.style.x-e,this._endShape.style.x=this._fillerShape.style.x+this._fillerShape.style.width,this._endMask.style.x=this._endShape.style.x,this._endMask.style.width=e+i-this._endShape.style.x,this._range.start=Math.ceil(100-(this._startShape.style.x-e)/i*100),this._range.end=Math.floor(100-(this._endShape.style.x-e)/i*100)):(this._startShape.style.y=this._fillerShape.style.y,this._startMask.style.height=this._startShape.style.y-t,this._endShape.style.y=this._fillerShape.style.y+this._fillerShape.style.height,this._endMask.style.y=this._endShape.style.y,this._endMask.style.height=t+n-this._endShape.style.y,this._range.start=Math.ceil(100-(this._startShape.style.y-t)/n*100),this._range.end=Math.floor(100-(this._endShape.style.y-t)/n*100)),this._syncShape()},_syncFillerShape:function(e){var t,i,n=this._calculableLocation.x,a=this._calculableLocation.y,o=this._calculableLocation.width,r=this._calculableLocation.height;"horizontal"==this.dataRangeOption.orient?(t=this._startShape.style.x,i=this._endShape.style.x,e.id==this._startShape.id&&t>=i?(i=t,this._endShape.style.x=t):e.id==this._endShape.id&&t>=i&&(t=i,this._startShape.style.x=t),this._fillerShape.style.x=t,this._fillerShape.style.width=i-t,this._startMask.style.width=t-n,this._endMask.style.x=i,this._endMask.style.width=n+o-i,this._range.start=Math.ceil(100-(t-n)/o*100),this._range.end=Math.floor(100-(i-n)/o*100)):(t=this._startShape.style.y,i=this._endShape.style.y,e.id==this._startShape.id&&t>=i?(i=t,this._endShape.style.y=t):e.id==this._endShape.id&&t>=i&&(t=i,this._startShape.style.y=t),this._fillerShape.style.y=t,this._fillerShape.style.height=i-t,this._startMask.style.height=t-a,this._endMask.style.y=i,this._endMask.style.height=a+r-i,this._range.start=Math.ceil(100-(t-a)/r*100),this._range.end=Math.floor(100-(i-a)/r*100)),this._syncShape()},_syncShape:function(){this._startShape.position=[this._startShape.style.x-this._startShape.style._x,this._startShape.style.y-this._startShape.style._y],this._startShape.style.text=this._textFormat(this._gap*this._range.start+this.dataRangeOption.min),this._startShape.style.color=this._startShape.highlightStyle.strokeColor=this.getColor(this._gap*this._range.start+this.dataRangeOption.min),this._endShape.position=[this._endShape.style.x-this._endShape.style._x,this._endShape.style.y-this._endShape.style._y],this._endShape.style.text=this._textFormat(this._gap*this._range.end+this.dataRangeOption.min),this._endShape.style.color=this._endShape.highlightStyle.strokeColor=this.getColor(this._gap*this._range.end+this.dataRangeOption.min),this.zr.modShape(this._startShape.id),this.zr.modShape(this._endShape.id),this.zr.modShape(this._startMask.id),this.zr.modShape(this._endMask.id),this.zr.modShape(this._fillerShape.id),this.zr.refreshNextFrame()},_dispatchDataRange:function(){this.messageCenter.dispatch(r.EVENT.DATA_RANGE,null,{range:{start:this._range.end,end:this._range.start}},this.myChart)},__dataRangeSelected:function(e){if("single"===this.dataRangeOption.selectedMode)for(var t in this._selectedMap)this._selectedMap[t]=!1;var i=e.target._idx;this._selectedMap[i]=!this._selectedMap[i];var n,a;this._useCustomizedSplit()?(n=this._splitList[i].max,a=this._splitList[i].min):(n=(this._colorList.length-i)*this._gap+this.dataRangeOption.min,a=n-this._gap),this.messageCenter.dispatch(r.EVENT.DATA_RANGE_SELECTED,e.event,{selected:this._selectedMap,target:i,valueMax:n,valueMin:a},this.myChart),this.messageCenter.dispatch(r.EVENT.REFRESH,null,null,this.myChart)},__dispatchHoverLink:function(e){var t,i;if(this.dataRangeOption.calculable){var n,a=this.dataRangeOption.max-this.dataRangeOption.min;n="horizontal"==this.dataRangeOption.orient?(1-(l.getX(e.event)-this._calculableLocation.x)/this._calculableLocation.width)*a:(1-(l.getY(e.event)-this._calculableLocation.y)/this._calculableLocation.height)*a,t=n-.05*a,i=n+.05*a}else if(this._useCustomizedSplit()){var o=e.target._idx;i=this._splitList[o].max,t=this._splitList[o].min}else{var o=e.target._idx;i=(this._colorList.length-o)*this._gap+this.dataRangeOption.min,t=i-this._gap}this.messageCenter.dispatch(r.EVENT.DATA_RANGE_HOVERLINK,e.event,{valueMin:t,valueMax:i},this.myChart)},__onhoverlink:function(e){if(this.dataRangeOption.show&&this.dataRangeOption.hoverLink&&this._indicatorShape&&e&&null!=e.seriesIndex&&null!=e.dataIndex){var t=e.value;if(""===t||isNaN(t))return;t<this.dataRangeOption.min?t=this.dataRangeOption.min:t>this.dataRangeOption.max&&(t=this.dataRangeOption.max),this._indicatorShape.position="horizontal"==this.dataRangeOption.orient?[(this.dataRangeOption.max-t)/(this.dataRangeOption.max-this.dataRangeOption.min)*this._calculableLocation.width,0]:[0,(this.dataRangeOption.max-t)/(this.dataRangeOption.max-this.dataRangeOption.min)*this._calculableLocation.height],this._indicatorShape.style.text=this._textFormat(e.value),this._indicatorShape.style.color=this.getColor(t),this.zr.addHoverShape(this._indicatorShape)}},_textFormat:function(e,t){var i=this.dataRangeOption;if(e!==-Number.MAX_VALUE&&(e=(+e).toFixed(i.precision)),null!=t&&t!==Number.MAX_VALUE&&(t=(+t).toFixed(i.precision)),i.formatter){if("string"==typeof i.formatter)return i.formatter.replace("{value}",e===-Number.MAX_VALUE?"min":e).replace("{value2}",t===Number.MAX_VALUE?"max":t);if("function"==typeof i.formatter)return i.formatter.call(this.myChart,e,t)}return null==t?e:e===-Number.MAX_VALUE?"< "+t:t===Number.MAX_VALUE?"> "+e:e+" - "+t},_isContinuity:function(){var e=this.dataRangeOption;return!(e.splitList?e.splitList.length>0:e.splitNumber>0)||e.calculable},_useCustomizedSplit:function(){var e=this.dataRangeOption;return e.splitList&&e.splitList.length>0},_buildColorList:function(e){if(this._colorList=m.getGradientColors(this.dataRangeOption.color,Math.max((e-this.dataRangeOption.color.length)/(this.dataRangeOption.color.length-1),0)+1),this._colorList.length>e){for(var t=this._colorList.length,i=[this._colorList[0]],n=t/(e-1),a=1;e-1>a;a++)i.push(this._colorList[Math.floor(a*n)]);i.push(this._colorList[t-1]),this._colorList=i}if(this._useCustomizedSplit())for(var o=this._splitList,a=0,t=o.length;t>a;a++)o[a].color&&(this._colorList[a]=o[a].color)},_buildGap:function(e){if(!this._useCustomizedSplit()){var t=this.dataRangeOption.precision;for(this._gap=(this.dataRangeOption.max-this.dataRangeOption.min)/e;this._gap.toFixed(t)-0!=this._gap&&5>t;)t++;this.dataRangeOption.precision=t,this._gap=((this.dataRangeOption.max-this.dataRangeOption.min)/e).toFixed(t)-0}},_buildDataList:function(e){for(var t=this._valueTextList=[],i=this.dataRangeOption,n=this._useCustomizedSplit(),a=0;e>a;a++){this._selectedMap[a]=!0;var o="";if(n){var r=this._splitList[e-1-a];o=null!=r.label?r.label:null!=r.single?this._textFormat(r.single):this._textFormat(r.min,r.max)}else o=this._textFormat(a*this._gap+i.min,(a+1)*this._gap+i.min);t.unshift(o)}},_buildSplitList:function(){if(this._useCustomizedSplit())for(var e=this.dataRangeOption.splitList,t=this._splitList=[],i=0,n=e.length;n>i;i++){var a=e[i];if(!a||null==a.start&&null==a.end)throw new Error("Empty item exists in splitList!");var o={label:a.label,color:a.color};o.min=a.start,o.max=a.end,o.min>o.max&&(o.min=[o.max,o.max=o.min][0]),o.min===o.max&&(o.single=o.max),null==o.min&&(o.min=-Number.MAX_VALUE),null==o.max&&(o.max=Number.MAX_VALUE),t.push(o)}},refresh:function(e){if(e){this.option=e,this.option.dataRange=this.reformOption(this.option.dataRange);var t=this.dataRangeOption=this.option.dataRange;if(!this._useCustomizedSplit()&&(null==t.min||null==t.max))throw new Error("option.dataRange.min or option.dataRange.max has not been defined.");this.myChart.canvasSupported||(t.realtime=!1);var i=this._isContinuity()?100:this._useCustomizedSplit()?t.splitList.length:t.splitNumber;this._buildSplitList(),this._buildColorList(i),this._buildGap(i),this._buildDataList(i)}this.clear(),this._buildShape()},getColor:function(e){if(isNaN(e))return null;var t;if(this._useCustomizedSplit()){for(var i=this._splitList,n=0,a=i.length;a>n;n++)if(i[n].min<=e&&i[n].max>=e){t=n;break}}else{if(this.dataRangeOption.min==this.dataRangeOption.max)return this._colorList[0];if(e<this.dataRangeOption.min?e=this.dataRangeOption.min:e>this.dataRangeOption.max&&(e=this.dataRangeOption.max),this.dataRangeOption.calculable&&(e-(this._gap*this._range.start+this.dataRangeOption.min)>5e-5||e-(this._gap*this._range.end+this.dataRangeOption.min)<-5e-5))return null;t=this._colorList.length-Math.ceil((e-this.dataRangeOption.min)/(this.dataRangeOption.max-this.dataRangeOption.min)*this._colorList.length),t==this._colorList.length&&t--}return this._selectedMap[t]?this._colorList[t]:null},getColorByIndex:function(e){return e>=this._colorList.length?e=this._colorList.length-1:0>e&&(e=0),this._colorList[e]},onbeforDispose:function(){this.messageCenter.unbind(r.EVENT.HOVER,this._onhoverlink)}},s.inherits(t,i),e("../component").define("dataRange",t),t}),i("echarts/util/shape/HandlePolygon",["require","zrender/shape/Base","zrender/shape/Polygon","zrender/tool/util"],function(e){function t(e){i.call(this,e)}var i=e("zrender/shape/Base"),n=e("zrender/shape/Polygon"),a=e("zrender/tool/util");return t.prototype={type:"handle-polygon",buildPath:function(e,t){n.prototype.buildPath(e,t)},isCover:function(e,t){var i=this.transformCoordToLocal(e,t);e=i[0],t=i[1];var n=this.style.rect;return e>=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height?!0:!1}},a.inherits(t,i),t}),i("echarts/chart/k",["require","./base","../util/shape/Candle","../component/axis","../component/grid","../component/dataZoom","../config","../util/ecData","zrender/tool/util","../chart"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o),this.refresh(a)}var i=e("./base"),n=e("../util/shape/Candle");e("../component/axis"),e("../component/grid"),e("../component/dataZoom");var a=e("../config");a.k={zlevel:0,z:2,clickable:!0,hoverable:!0,legendHoverLink:!1,xAxisIndex:0,yAxisIndex:0,itemStyle:{normal:{color:"#fff",color0:"#00aa11",lineStyle:{width:1,color:"#ff3200",color0:"#00aa11"},label:{show:!1}},emphasis:{label:{show:!1}}}};var o=e("../util/ecData"),r=e("zrender/tool/util");return t.prototype={type:a.CHART_TYPE_K,_buildShape:function(){var e=this.series;this.selectedMap={};for(var t,i={top:[],bottom:[]},n=0,o=e.length;o>n;n++)e[n].type===a.CHART_TYPE_K&&(e[n]=this.reformOption(e[n]),this.legendHoverLink=e[n].legendHoverLink||this.legendHoverLink,t=this.component.xAxis.getAxis(e[n].xAxisIndex),t.type===a.COMPONENT_TYPE_AXIS_CATEGORY&&i[t.getPosition()].push(n));for(var r in i)i[r].length>0&&this._buildSinglePosition(r,i[r]);this.addShapeList()},_buildSinglePosition:function(e,t){var i=this._mapData(t),n=i.locationMap,a=i.maxDataLength;if(0!==a&&0!==n.length){this._buildHorizontal(t,a,n);for(var o=0,r=t.length;r>o;o++)this.buildMark(t[o])}},_mapData:function(e){for(var t,i,n=this.series,a=this.component.legend,o=[],r=0,s=0,l=e.length;l>s;s++)t=n[e[s]],i=t.name,this.selectedMap[i]=a?a.isSelected(i):!0,this.selectedMap[i]&&o.push(e[s]),r=Math.max(r,t.data.length);return{locationMap:o,maxDataLength:r}},_buildHorizontal:function(e,t,i){for(var n,a,o,r,s,l,h,m,V,U,d=this.series,p={},c=0,u=i.length;u>c;c++){n=i[c],a=d[n],o=a.xAxisIndex||0,r=this.component.xAxis.getAxis(o),h=a.barWidth||Math.floor(r.getGap()/2),U=a.barMaxWidth,U&&h>U&&(h=U),s=a.yAxisIndex||0,l=this.component.yAxis.getAxis(s),p[n]=[];for(var y=0,g=t;g>y&&null!=r.getNameByIndex(y);y++)m=a.data[y],V=this.getDataFromOption(m,"-"),"-"!==V&&4==V.length&&p[n].push([r.getCoordByIndex(y),h,l.getCoord(V[0]),l.getCoord(V[1]),l.getCoord(V[2]),l.getCoord(V[3]),y,r.getNameByIndex(y)])}this._buildKLine(e,p)},_buildKLine:function(e,t){for(var i,n,o,r,s,l,h,m,V,U,d,p,c,u,y,g,b,f=this.series,k=0,x=e.length;x>k;k++)if(b=e[k],d=f[b],u=t[b],this._isLarge(u)&&(u=this._getLargePointList(u)),d.type===a.CHART_TYPE_K&&null!=u){p=d,i=this.query(p,"itemStyle.normal.lineStyle.width"),n=this.query(p,"itemStyle.normal.lineStyle.color"),o=this.query(p,"itemStyle.normal.lineStyle.color0"),r=this.query(p,"itemStyle.normal.color"),s=this.query(p,"itemStyle.normal.color0"),l=this.query(p,"itemStyle.emphasis.lineStyle.width"),h=this.query(p,"itemStyle.emphasis.lineStyle.color"),m=this.query(p,"itemStyle.emphasis.lineStyle.color0"),V=this.query(p,"itemStyle.emphasis.color"),U=this.query(p,"itemStyle.emphasis.color0");for(var _=0,L=u.length;L>_;_++)y=u[_],c=d.data[y[6]],p=c,g=y[3]<y[2],this.shapeList.push(this._getCandle(b,y[6],y[7],y[0],y[1],y[2],y[3],y[4],y[5],g?this.query(p,"itemStyle.normal.color")||r:this.query(p,"itemStyle.normal.color0")||s,this.query(p,"itemStyle.normal.lineStyle.width")||i,g?this.query(p,"itemStyle.normal.lineStyle.color")||n:this.query(p,"itemStyle.normal.lineStyle.color0")||o,g?this.query(p,"itemStyle.emphasis.color")||V||r:this.query(p,"itemStyle.emphasis.color0")||U||s,this.query(p,"itemStyle.emphasis.lineStyle.width")||l||i,g?this.query(p,"itemStyle.emphasis.lineStyle.color")||h||n:this.query(p,"itemStyle.emphasis.lineStyle.color0")||m||o))}},_isLarge:function(e){return e[0][1]<.5},_getLargePointList:function(e){for(var t=this.component.grid.getWidth(),i=e.length,n=[],a=0;t>a;a++)n[a]=e[Math.floor(i/t*a)];return n},_getCandle:function(e,t,i,a,r,s,l,h,m,V,U,d,p,c,u){var y=this.series,g=y[e],b=g.data[t],f=[b,g],k={zlevel:g.zlevel,z:g.z,clickable:this.deepQuery(f,"clickable"),hoverable:this.deepQuery(f,"hoverable"),style:{x:a,y:[s,l,h,m],width:r,color:V,strokeColor:d,lineWidth:U,brushType:"both"},highlightStyle:{color:p,strokeColor:u,lineWidth:c},_seriesIndex:e};return k=this.addLabel(k,g,b,i),o.pack(k,g,e,b,t,i),k=new n(k)},getMarkCoord:function(e,t){var i=this.series[e],n=this.component.xAxis.getAxis(i.xAxisIndex),a=this.component.yAxis.getAxis(i.yAxisIndex);return["string"!=typeof t.xAxis&&n.getCoordByIndex?n.getCoordByIndex(t.xAxis||0):n.getCoord(t.xAxis||0),"string"!=typeof t.yAxis&&a.getCoordByIndex?a.getCoordByIndex(t.yAxis||0):a.getCoord(t.yAxis||0)]},refresh:function(e){e&&(this.option=e,this.series=e.series),this.backupShapeList(),this._buildShape()},addDataAnimation:function(e,t){function i(){p--,0===p&&t&&t()}for(var n=this.series,a={},r=0,s=e.length;s>r;r++)a[e[r][0]]=e[r];for(var l,h,m,V,U,d,p=0,r=0,s=this.shapeList.length;s>r;r++)if(U=this.shapeList[r]._seriesIndex,a[U]&&!a[U][3]&&"candle"===this.shapeList[r].type){if(d=o.get(this.shapeList[r],"dataIndex"),V=n[U],a[U][2]&&d===V.data.length-1){this.zr.delShape(this.shapeList[r].id);continue}if(!a[U][2]&&0===d){this.zr.delShape(this.shapeList[r].id);continue}h=this.component.xAxis.getAxis(V.xAxisIndex||0).getGap(),l=a[U][2]?h:-h,m=0,p++,this.zr.animate(this.shapeList[r].id,"").when(this.query(this.option,"animationDurationUpdate"),{position:[l,m]}).done(i).start()}p||t&&t()}},r.inherits(t,i),e("../chart").define("k",t),t}),i("echarts/chart/pie",["require","./base","zrender/shape/Text","zrender/shape/Ring","zrender/shape/Circle","zrender/shape/Sector","zrender/shape/Polyline","../config","../util/ecData","zrender/tool/util","zrender/tool/math","zrender/tool/color","../chart"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o);var r=this;r.shapeHandler.onmouseover=function(e){var t=e.target,i=h.get(t,"seriesIndex"),n=h.get(t,"dataIndex"),a=h.get(t,"special"),o=[t.style.x,t.style.y],s=t.style.startAngle,l=t.style.endAngle,m=((l+s)/2+360)%360,V=t.highlightStyle.color,U=r.getLabel(i,n,a,o,m,V,!0);U&&r.zr.addHoverShape(U);var d=r.getLabelLine(i,n,o,t.style.r0,t.style.r,m,V,!0);d&&r.zr.addHoverShape(d)},this.refresh(a)}var i=e("./base"),n=e("zrender/shape/Text"),a=e("zrender/shape/Ring"),o=e("zrender/shape/Circle"),r=e("zrender/shape/Sector"),s=e("zrender/shape/Polyline"),l=e("../config");l.pie={zlevel:0,z:2,clickable:!0,legendHoverLink:!0,center:["50%","50%"],radius:[0,"75%"],clockWise:!0,startAngle:90,minAngle:0,selectedOffset:10,itemStyle:{normal:{borderColor:"rgba(0,0,0,0)",borderWidth:1,label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1,type:"solid"}}},emphasis:{borderColor:"rgba(0,0,0,0)",borderWidth:1,label:{show:!1},labelLine:{show:!1,length:20,lineStyle:{width:1,type:"solid"}}}}};var h=e("../util/ecData"),m=e("zrender/tool/util"),V=e("zrender/tool/math"),U=e("zrender/tool/color");return t.prototype={type:l.CHART_TYPE_PIE,_buildShape:function(){var e=this.series,t=this.component.legend;this.selectedMap={},this._selected={};var i,n,r;this._selectedMode=!1;for(var s,m=0,V=e.length;V>m;m++)if(e[m].type===l.CHART_TYPE_PIE){if(e[m]=this.reformOption(e[m]),this.legendHoverLink=e[m].legendHoverLink||this.legendHoverLink,s=e[m].name||"",this.selectedMap[s]=t?t.isSelected(s):!0,!this.selectedMap[s])continue;i=this.parseCenter(this.zr,e[m].center),n=this.parseRadius(this.zr,e[m].radius),this._selectedMode=this._selectedMode||e[m].selectedMode,this._selected[m]=[],this.deepQuery([e[m],this.option],"calculable")&&(r={zlevel:e[m].zlevel,z:e[m].z,hoverable:!1,style:{x:i[0],y:i[1],r0:n[0]<=10?0:n[0]-10,r:n[1]+10,brushType:"stroke",lineWidth:1,strokeColor:e[m].calculableHolderColor||this.ecTheme.calculableHolderColor||l.calculableHolderColor}},h.pack(r,e[m],m,void 0,-1),this.setCalculable(r),r=n[0]<=10?new o(r):new a(r),this.shapeList.push(r)),this._buildSinglePie(m),this.buildMark(m)}this.addShapeList()},_buildSinglePie:function(e){for(var t,i=this.series,n=i[e],a=n.data,o=this.component.legend,r=0,s=0,l=0,h=Number.NEGATIVE_INFINITY,m=[],V=0,U=a.length;U>V;V++)t=a[V].name,
+this.selectedMap[t]=o?o.isSelected(t):!0,this.selectedMap[t]&&!isNaN(a[V].value)&&(0!==+a[V].value?r++:s++,l+=+a[V].value,h=Math.max(h,+a[V].value));if(0!==l){for(var d,p,c,u,y,g,b=100,f=n.clockWise,k=(n.startAngle.toFixed(2)-0+360)%360,x=n.minAngle||.01,_=360-x*r-.01*s,L=n.roseType,V=0,U=a.length;U>V;V++)if(t=a[V].name,this.selectedMap[t]&&!isNaN(a[V].value)){if(p=o?o.getColor(t):this.zr.getColor(V),b=a[V].value/l,d="area"!=L?f?k-b*_-(0!==b?x:.01):b*_+k+(0!==b?x:.01):f?k-360/U:360/U+k,d=d.toFixed(2)-0,b=(100*b).toFixed(2),c=this.parseCenter(this.zr,n.center),u=this.parseRadius(this.zr,n.radius),y=+u[0],g=+u[1],"radius"===L?g=a[V].value/h*(g-y)*.8+.2*(g-y)+y:"area"===L&&(g=Math.sqrt(a[V].value/h)*(g-y)+y),f){var W;W=k,k=d,d=W}this._buildItem(m,e,V,b,a[V].selected,c,y,g,k,d,p),f||(k=d)}this._autoLabelLayout(m,c,g);for(var V=0,U=m.length;U>V;V++)this.shapeList.push(m[V]);m=null}},_buildItem:function(e,t,i,n,a,o,r,s,l,m,V){var U=this.series,d=((m+l)/2+360)%360,p=this.getSector(t,i,n,a,o,r,s,l,m,V);h.pack(p,U[t],t,U[t].data[i],i,U[t].data[i].name,n),e.push(p);var c=this.getLabel(t,i,n,o,d,V,!1),u=this.getLabelLine(t,i,o,r,s,d,V,!1);u&&(h.pack(u,U[t],t,U[t].data[i],i,U[t].data[i].name,n),e.push(u)),c&&(h.pack(c,U[t],t,U[t].data[i],i,U[t].data[i].name,n),c._labelLine=u,e.push(c))},getSector:function(e,t,i,n,a,o,s,l,h,m){var d=this.series,p=d[e],c=p.data[t],u=[c,p],y=this.deepMerge(u,"itemStyle.normal")||{},g=this.deepMerge(u,"itemStyle.emphasis")||{},b=this.getItemStyleColor(y.color,e,t,c)||m,f=this.getItemStyleColor(g.color,e,t,c)||("string"==typeof b?U.lift(b,-.2):b),k={zlevel:p.zlevel,z:p.z,clickable:this.deepQuery(u,"clickable"),style:{x:a[0],y:a[1],r0:o,r:s,startAngle:l,endAngle:h,brushType:"both",color:b,lineWidth:y.borderWidth,strokeColor:y.borderColor,lineJoin:"round"},highlightStyle:{color:f,lineWidth:g.borderWidth,strokeColor:g.borderColor,lineJoin:"round"},_seriesIndex:e,_dataIndex:t};if(n){var x=((k.style.startAngle+k.style.endAngle)/2).toFixed(2)-0;k.style._hasSelected=!0,k.style._x=k.style.x,k.style._y=k.style.y;var _=this.query(p,"selectedOffset");k.style.x+=V.cos(x,!0)*_,k.style.y-=V.sin(x,!0)*_,this._selected[e][t]=!0}else this._selected[e][t]=!1;return this._selectedMode&&(k.onclick=this.shapeHandler.onclick),this.deepQuery([c,p,this.option],"calculable")&&(this.setCalculable(k),k.draggable=!0),(this._needLabel(p,c,!0)||this._needLabelLine(p,c,!0))&&(k.onmouseover=this.shapeHandler.onmouseover),k=new r(k)},getLabel:function(e,t,i,a,o,r,s){var l=this.series,h=l[e],U=h.data[t];if(this._needLabel(h,U,s)){var d,p,c,u=s?"emphasis":"normal",y=m.merge(m.clone(U.itemStyle)||{},h.itemStyle),g=y[u].label,b=g.textStyle||{},f=a[0],k=a[1],x=this.parseRadius(this.zr,h.radius),_="middle";g.position=g.position||y.normal.label.position,"center"===g.position?(d=f,p=k,c="center"):"inner"===g.position||"inside"===g.position?(x=(x[0]+x[1])*(g.distance||.5),d=Math.round(f+x*V.cos(o,!0)),p=Math.round(k-x*V.sin(o,!0)),r="#fff",c="center"):(x=x[1]- -y[u].labelLine.length,d=Math.round(f+x*V.cos(o,!0)),p=Math.round(k-x*V.sin(o,!0)),c=o>=90&&270>=o?"right":"left"),"center"!=g.position&&"inner"!=g.position&&"inside"!=g.position&&(d+="left"===c?20:-20),U.__labelX=d-("left"===c?5:-5),U.__labelY=p;var L=new n({zlevel:h.zlevel,z:h.z+1,hoverable:!1,style:{x:d,y:p,color:b.color||r,text:this.getLabelText(e,t,i,u),textAlign:b.align||c,textBaseline:b.baseline||_,textFont:this.getFont(b)},highlightStyle:{brushType:"fill"}});return L._radius=x,L._labelPosition=g.position||"outer",L._rect=L.getRect(L.style),L._seriesIndex=e,L._dataIndex=t,L}},getLabelText:function(e,t,i,n){var a=this.series,o=a[e],r=o.data[t],s=this.deepQuery([r,o],"itemStyle."+n+".label.formatter");return s?"function"==typeof s?s.call(this.myChart,{seriesIndex:e,seriesName:o.name||"",series:o,dataIndex:t,data:r,name:r.name,value:r.value,percent:i}):"string"==typeof s?(s=s.replace("{a}","{a0}").replace("{b}","{b0}").replace("{c}","{c0}").replace("{d}","{d0}"),s=s.replace("{a0}",o.name).replace("{b0}",r.name).replace("{c0}",r.value).replace("{d0}",i)):void 0:r.name},getLabelLine:function(e,t,i,n,a,o,r,l){var h=this.series,U=h[e],d=U.data[t];if(this._needLabelLine(U,d,l)){var p=l?"emphasis":"normal",c=m.merge(m.clone(d.itemStyle)||{},U.itemStyle),u=c[p].labelLine,y=u.lineStyle||{},g=i[0],b=i[1],f=a,k=this.parseRadius(this.zr,U.radius)[1]- -u.length,x=V.cos(o,!0),_=V.sin(o,!0);return new s({zlevel:U.zlevel,z:U.z+1,hoverable:!1,style:{pointList:[[g+f*x,b-f*_],[g+k*x,b-k*_],[d.__labelX,d.__labelY]],strokeColor:y.color||r,lineType:y.type,lineWidth:y.width},_seriesIndex:e,_dataIndex:t})}},_needLabel:function(e,t,i){return this.deepQuery([t,e],"itemStyle."+(i?"emphasis":"normal")+".label.show")},_needLabelLine:function(e,t,i){return this.deepQuery([t,e],"itemStyle."+(i?"emphasis":"normal")+".labelLine.show")},_autoLabelLayout:function(e,t,i){for(var n=[],a=[],o=0,r=e.length;r>o;o++)("outer"===e[o]._labelPosition||"outside"===e[o]._labelPosition)&&(e[o]._rect._y=e[o]._rect.y,e[o]._rect.x<t[0]?n.push(e[o]):a.push(e[o]));this._layoutCalculate(n,t,i,-1),this._layoutCalculate(a,t,i,1)},_layoutCalculate:function(e,t,i,n){function a(t,i,n){for(var a=t;i>a;a++)if(e[a]._rect.y+=n,e[a].style.y+=n,e[a]._labelLine&&(e[a]._labelLine.style.pointList[1][1]+=n,e[a]._labelLine.style.pointList[2][1]+=n),a>t&&i>a+1&&e[a+1]._rect.y>e[a]._rect.y+e[a]._rect.height)return void o(a,n/2);o(i-1,n/2)}function o(t,i){for(var n=t;n>=0&&(e[n]._rect.y-=i,e[n].style.y-=i,e[n]._labelLine&&(e[n]._labelLine.style.pointList[1][1]-=i,e[n]._labelLine.style.pointList[2][1]-=i),!(n>0&&e[n]._rect.y>e[n-1]._rect.y+e[n-1]._rect.height));n--);}function r(e,t,i,n,a){for(var o,r,s,l=i[0],h=i[1],m=a>0?t?Number.MAX_VALUE:0:t?Number.MAX_VALUE:0,V=0,U=e.length;U>V;V++)r=Math.abs(e[V]._rect.y-h),s=e[V]._radius-n,o=n+s>r?Math.sqrt((n+s+20)*(n+s+20)-Math.pow(e[V]._rect.y-h,2)):Math.abs(e[V]._rect.x+(a>0?0:e[V]._rect.width)-l),t&&o>=m&&(o=m-10),!t&&m>=o&&(o=m+10),e[V]._rect.x=e[V].style.x=l+o*a,e[V]._labelLine&&(e[V]._labelLine.style.pointList[2][0]=l+(o-5)*a,e[V]._labelLine.style.pointList[1][0]=l+(o-20)*a),m=o}e.sort(function(e,t){return e._rect.y-t._rect.y});for(var s,l=0,h=e.length,m=[],V=[],U=0;h>U;U++)s=e[U]._rect.y-l,0>s&&a(U,h,-s,n),l=e[U]._rect.y+e[U]._rect.height;this.zr.getHeight()-l<0&&o(h-1,l-this.zr.getHeight());for(var U=0;h>U;U++)e[U]._rect.y>=t[1]?V.push(e[U]):m.push(e[U]);r(V,!0,t,i,n),r(m,!1,t,i,n)},reformOption:function(e){var t=m.merge;return e=t(t(e||{},m.clone(this.ecTheme.pie||{})),m.clone(l.pie)),e.itemStyle.normal.label.textStyle=this.getTextStyle(e.itemStyle.normal.label.textStyle),e.itemStyle.emphasis.label.textStyle=this.getTextStyle(e.itemStyle.emphasis.label.textStyle),this.z=e.z,this.zlevel=e.zlevel,e},refresh:function(e){e&&(this.option=e,this.series=e.series),this.backupShapeList(),this._buildShape()},addDataAnimation:function(e,t){function i(){s--,0===s&&t&&t()}for(var n=this.series,a={},o=0,r=e.length;r>o;o++)a[e[o][0]]=e[o];var s=0,h={},m={},V={},U=this.shapeList;this.shapeList=[];for(var d,p,c,u={},o=0,r=e.length;r>o;o++)d=e[o][0],p=e[o][2],c=e[o][3],n[d]&&n[d].type===l.CHART_TYPE_PIE&&(p?(c||(h[d+"_"+n[d].data.length]="delete"),u[d]=1):c?u[d]=0:(h[d+"_-1"]="delete",u[d]=-1),this._buildSinglePie(d));for(var y,g,o=0,r=this.shapeList.length;r>o;o++)switch(d=this.shapeList[o]._seriesIndex,y=this.shapeList[o]._dataIndex,g=d+"_"+y,this.shapeList[o].type){case"sector":h[g]=this.shapeList[o];break;case"text":m[g]=this.shapeList[o];break;case"polyline":V[g]=this.shapeList[o]}this.shapeList=[];for(var b,o=0,r=U.length;r>o;o++)if(d=U[o]._seriesIndex,a[d]){if(y=U[o]._dataIndex+u[d],g=d+"_"+y,b=h[g],!b)continue;if("sector"===U[o].type)"delete"!=b?(s++,this.zr.animate(U[o].id,"style").when(400,{startAngle:b.style.startAngle,endAngle:b.style.endAngle}).done(i).start()):(s++,this.zr.animate(U[o].id,"style").when(400,u[d]<0?{startAngle:U[o].style.startAngle}:{endAngle:U[o].style.endAngle}).done(i).start());else if("text"===U[o].type||"polyline"===U[o].type)if("delete"===b)this.zr.delShape(U[o].id);else switch(U[o].type){case"text":s++,b=m[g],this.zr.animate(U[o].id,"style").when(400,{x:b.style.x,y:b.style.y}).done(i).start();break;case"polyline":s++,b=V[g],this.zr.animate(U[o].id,"style").when(400,{pointList:b.style.pointList}).done(i).start()}}this.shapeList=U,s||t&&t()},onclick:function(e){var t=this.series;if(this.isClick&&e.target){this.isClick=!1;for(var i,n=e.target,a=n.style,o=h.get(n,"seriesIndex"),r=h.get(n,"dataIndex"),s=0,m=this.shapeList.length;m>s;s++)if(this.shapeList[s].id===n.id){if(o=h.get(n,"seriesIndex"),r=h.get(n,"dataIndex"),a._hasSelected)n.style.x=n.style._x,n.style.y=n.style._y,n.style._hasSelected=!1,this._selected[o][r]=!1;else{var U=((a.startAngle+a.endAngle)/2).toFixed(2)-0;n.style._hasSelected=!0,this._selected[o][r]=!0,n.style._x=n.style.x,n.style._y=n.style.y,i=this.query(t[o],"selectedOffset"),n.style.x+=V.cos(U,!0)*i,n.style.y-=V.sin(U,!0)*i}this.zr.modShape(n.id)}else this.shapeList[s].style._hasSelected&&"single"===this._selectedMode&&(o=h.get(this.shapeList[s],"seriesIndex"),r=h.get(this.shapeList[s],"dataIndex"),this.shapeList[s].style.x=this.shapeList[s].style._x,this.shapeList[s].style.y=this.shapeList[s].style._y,this.shapeList[s].style._hasSelected=!1,this._selected[o][r]=!1,this.zr.modShape(this.shapeList[s].id));this.messageCenter.dispatch(l.EVENT.PIE_SELECTED,e.event,{selected:this._selected,target:h.get(n,"name")},this.myChart),this.zr.refreshNextFrame()}}},m.inherits(t,i),e("../chart").define("pie",t),t}),i("echarts/chart/radar",["require","./base","zrender/shape/Polygon","../component/polar","../config","../util/ecData","zrender/tool/util","zrender/tool/color","../util/accMath","../chart"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o),this.refresh(a)}var i=e("./base"),n=e("zrender/shape/Polygon");e("../component/polar");var a=e("../config");a.radar={zlevel:0,z:2,clickable:!0,legendHoverLink:!0,polarIndex:0,itemStyle:{normal:{label:{show:!1},lineStyle:{width:2,type:"solid"}},emphasis:{label:{show:!1}}},symbolSize:2};var o=e("../util/ecData"),r=e("zrender/tool/util"),s=e("zrender/tool/color");return t.prototype={type:a.CHART_TYPE_RADAR,_buildShape:function(){this.selectedMap={},this._symbol=this.option.symbolList,this._queryTarget,this._dropBoxList=[],this._radarDataCounter=0;for(var e,t=this.series,i=this.component.legend,n=0,o=t.length;o>n;n++)t[n].type===a.CHART_TYPE_RADAR&&(this.serie=this.reformOption(t[n]),this.legendHoverLink=t[n].legendHoverLink||this.legendHoverLink,e=this.serie.name||"",this.selectedMap[e]=i?i.isSelected(e):!0,this.selectedMap[e]&&(this._queryTarget=[this.serie,this.option],this.deepQuery(this._queryTarget,"calculable")&&this._addDropBox(n),this._buildSingleRadar(n),this.buildMark(n)));this.addShapeList()},_buildSingleRadar:function(e){for(var t,i,n,a,o=this.component.legend,r=this.serie.data,s=this.deepQuery(this._queryTarget,"calculable"),l=0;l<r.length;l++)n=r[l].name||"",this.selectedMap[n]=o?o.isSelected(n):!0,this.selectedMap[n]&&(o?(i=o.getColor(n),t=o.getItemShape(n),t&&(t.style.brushType=this.deepQuery([r[l],this.serie],"itemStyle.normal.areaStyle")?"both":"stroke",o.setItemShape(n,t))):i=this.zr.getColor(l),a=this._getPointList(this.serie.polarIndex,r[l]),this._addSymbol(a,i,l,e,this.serie.polarIndex),this._addDataShape(a,i,r[l],e,l,s),this._radarDataCounter++)},_getPointList:function(e,t){for(var i,n,a=[],o=this.component.polar,r=0,s=t.value.length;s>r;r++)n=this.getDataFromOption(t.value[r]),i="-"!=n?o.getVector(e,r,n):!1,i&&a.push(i);return a},_addSymbol:function(e,t,i,n,a){for(var r,s=this.series,l=this.component.polar,h=0,m=e.length;m>h;h++)r=this.getSymbolShape(this.deepMerge([s[n].data[i],s[n]]),n,s[n].data[i].value[h],h,l.getIndicatorText(a,h),e[h][0],e[h][1],this._symbol[this._radarDataCounter%this._symbol.length],t,"#fff","vertical"),r.zlevel=this.getZlevelBase(),r.z=this.getZBase()+1,o.set(r,"data",s[n].data[i]),o.set(r,"value",s[n].data[i].value),o.set(r,"dataIndex",i),o.set(r,"special",h),this.shapeList.push(r)},_addDataShape:function(e,t,i,a,r,l){var h=this.series,m=[i,this.serie],V=this.getItemStyleColor(this.deepQuery(m,"itemStyle.normal.color"),a,r,i),U=this.deepQuery(m,"itemStyle.normal.lineStyle.width"),d=this.deepQuery(m,"itemStyle.normal.lineStyle.type"),p=this.deepQuery(m,"itemStyle.normal.areaStyle.color"),c=this.deepQuery(m,"itemStyle.normal.areaStyle"),u={zlevel:this.getZlevelBase(),z:this.getZBase(),style:{pointList:e,brushType:c?"both":"stroke",color:p||V||("string"==typeof t?s.alpha(t,.5):t),strokeColor:V||t,lineWidth:U,lineType:d},highlightStyle:{brushType:this.deepQuery(m,"itemStyle.emphasis.areaStyle")||c?"both":"stroke",color:this.deepQuery(m,"itemStyle.emphasis.areaStyle.color")||p||V||("string"==typeof t?s.alpha(t,.5):t),strokeColor:this.getItemStyleColor(this.deepQuery(m,"itemStyle.emphasis.color"),a,r,i)||V||t,lineWidth:this.deepQuery(m,"itemStyle.emphasis.lineStyle.width")||U,lineType:this.deepQuery(m,"itemStyle.emphasis.lineStyle.type")||d}};o.pack(u,h[a],a,i,r,i.name,this.component.polar.getIndicator(h[a].polarIndex)),l&&(u.draggable=!0,this.setCalculable(u)),u=new n(u),this.shapeList.push(u)},_addDropBox:function(e){var t=this.series,i=this.deepQuery(this._queryTarget,"polarIndex");if(!this._dropBoxList[i]){var n=this.component.polar.getDropBox(i);n.zlevel=this.getZlevelBase(),n.z=this.getZBase(),this.setCalculable(n),o.pack(n,t,e,void 0,-1),this.shapeList.push(n),this._dropBoxList[i]=!0}},ondragend:function(e,t){var i=this.series;if(this.isDragend&&e.target){var n=e.target,a=o.get(n,"seriesIndex"),r=o.get(n,"dataIndex");this.component.legend&&this.component.legend.del(i[a].data[r].name),i[a].data.splice(r,1),t.dragOut=!0,t.needRefresh=!0,this.isDragend=!1}},ondrop:function(t,i){var n=this.series;if(this.isDrop&&t.target){var a,r,s=t.target,l=t.dragged,h=o.get(s,"seriesIndex"),m=o.get(s,"dataIndex"),V=this.component.legend;if(-1===m)a={value:o.get(l,"value"),name:o.get(l,"name")},n[h].data.push(a),V&&V.add(a.name,l.style.color||l.style.strokeColor);else{var U=e("../util/accMath");a=n[h].data[m],V&&V.del(a.name),a.name+=this.option.nameConnector+o.get(l,"name"),r=o.get(l,"value");for(var d=0;d<r.length;d++)a.value[d]=U.accAdd(a.value[d],r[d]);V&&V.add(a.name,l.style.color||l.style.strokeColor)}i.dragIn=i.dragIn||!0,this.isDrop=!1}},refresh:function(e){e&&(this.option=e,this.series=e.series),this.backupShapeList(),this._buildShape()}},r.inherits(t,i),e("../chart").define("radar",t),t}),i("echarts/component/polar",["require","./base","zrender/shape/Text","zrender/shape/Line","zrender/shape/Polygon","zrender/shape/Circle","zrender/shape/Ring","../config","zrender/tool/util","../util/coordinates","../util/accMath","../util/smartSteps","../component"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o),this.refresh(a)}var i=e("./base"),n=e("zrender/shape/Text"),a=e("zrender/shape/Line"),o=e("zrender/shape/Polygon"),r=e("zrender/shape/Circle"),s=e("zrender/shape/Ring"),l=e("../config");l.polar={zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,boundaryGap:[0,0],splitNumber:5,name:{show:!0,textStyle:{color:"#333"}},axisLine:{show:!0,lineStyle:{color:"#ccc",width:1,type:"solid"}},axisLabel:{show:!1,textStyle:{color:"#333"}},splitArea:{show:!0,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}},splitLine:{show:!0,lineStyle:{width:1,color:"#ccc"}},type:"polygon"};var h=e("zrender/tool/util"),m=e("../util/coordinates");return t.prototype={type:l.COMPONENT_TYPE_POLAR,_buildShape:function(){for(var e=0;e<this.polar.length;e++)this._index=e,this.reformOption(this.polar[e]),this._queryTarget=[this.polar[e],this.option],this._createVector(e),this._buildSpiderWeb(e),this._buildText(e),this._adjustIndicatorValue(e),this._addAxisLabel(e);for(var e=0;e<this.shapeList.length;e++)this.zr.addShape(this.shapeList[e])},_createVector:function(e){for(var t,i=this.polar[e],n=this.deepQuery(this._queryTarget,"indicator"),a=n.length,o=i.startAngle,r=2*Math.PI/a,s=this._getRadius(),l=i.__ecIndicator=[],h=0;a>h;h++)t=m.polar2cartesian(s,o*Math.PI/180+r*h),l.push({vector:[t[1],-t[0]]})},_getRadius:function(){var e=this.polar[this._index];return this.parsePercent(e.radius,Math.min(this.zr.getWidth(),this.zr.getHeight())/2)},_buildSpiderWeb:function(e){var t=this.polar[e],i=t.__ecIndicator,n=t.splitArea,a=t.splitLine,o=this.getCenter(e),r=t.splitNumber,s=a.lineStyle.color,l=a.lineStyle.width,h=a.show,m=this.deepQuery(this._queryTarget,"axisLine");this._addArea(i,r,o,n,s,l,h),m.show&&this._addLine(i,o,m)},_addAxisLabel:function(t){for(var i,a,o,r,a,s,l,m,V,U,d=e("../util/accMath"),p=this.polar[t],c=this.deepQuery(this._queryTarget,"indicator"),u=p.__ecIndicator,y=this.deepQuery(this._queryTarget,"splitNumber"),g=this.getCenter(t),b=0;b<c.length;b++)if(i=this.deepQuery([c[b],p,this.option],"axisLabel"),i.show){var f=this.deepQuery([i,p,this.option],"textStyle"),k=this.deepQuery([i,p],"formatter");if(o={},o.textFont=this.getFont(f),o.color=f.color,o=h.merge(o,i),o.lineWidth=o.width,a=u[b].vector,s=u[b].value,m=b/c.length*2*Math.PI,V=i.offset||10,U=i.interval||0,!s)return;for(var x=1;y>=x;x+=U+1)r=h.merge({},o),l=d.accAdd(s.min,d.accMul(s.step,x)),l="function"==typeof k?k(l):"string"==typeof k?k.replace("{a}","{a0}").replace("{a0}",l):this.numAddCommas(l),r.text=l,r.x=x*a[0]/y+Math.cos(m)*V+g[0],r.y=x*a[1]/y+Math.sin(m)*V+g[1],this.shapeList.push(new n({zlevel:this.getZlevelBase(),z:this.getZBase(),style:r,draggable:!1,hoverable:!1}))}},_buildText:function(e){for(var t,i,a,o,r,s,l,h=this.polar[e],m=h.__ecIndicator,V=this.deepQuery(this._queryTarget,"indicator"),U=this.getCenter(e),d=0,p=0,c=0;c<V.length;c++)o=this.deepQuery([V[c],h,this.option],"name"),o.show&&(l=this.deepQuery([o,h,this.option],"textStyle"),i={},i.textFont=this.getFont(l),i.color=l.color,i.text="function"==typeof o.formatter?o.formatter.call(this.myChart,V[c].text,c):"string"==typeof o.formatter?o.formatter.replace("{value}",V[c].text):V[c].text,m[c].text=i.text,t=m[c].vector,a=Math.round(t[0])>0?"left":Math.round(t[0])<0?"right":"center",null==o.margin?t=this._mapVector(t,U,1.1):(s=o.margin,d=t[0]>0?s:-s,p=t[1]>0?s:-s,d=0===t[0]?0:d,p=0===t[1]?0:p,t=this._mapVector(t,U,1)),i.textAlign=a,i.x=t[0]+d,i.y=t[1]+p,r=o.rotate?[o.rotate/180*Math.PI,t[0],t[1]]:[0,0,0],this.shapeList.push(new n({zlevel:this.getZlevelBase(),z:this.getZBase(),style:i,draggable:!1,hoverable:!1,rotation:r})))},getIndicatorText:function(e,t){return this.polar[e]&&this.polar[e].__ecIndicator[t]&&this.polar[e].__ecIndicator[t].text},getDropBox:function(e){var t,i,e=e||0,n=this.polar[e],a=this.getCenter(e),o=n.__ecIndicator,r=o.length,s=[],l=n.type;if("polygon"==l){for(var h=0;r>h;h++)t=o[h].vector,s.push(this._mapVector(t,a,1.2));i=this._getShape(s,"fill","rgba(0,0,0,0)","",1)}else"circle"==l&&(i=this._getCircle("",1,1.2,a,"fill","rgba(0,0,0,0)"));return i},_addArea:function(e,t,i,n,a,o,r){for(var s,l,h,m,V=this.deepQuery(this._queryTarget,"type"),U=0;t>U;U++)l=(t-U)/t,r&&("polygon"==V?(m=this._getPointList(e,l,i),s=this._getShape(m,"stroke","",a,o)):"circle"==V&&(s=this._getCircle(a,o,l,i,"stroke")),this.shapeList.push(s)),n.show&&(h=(t-U-1)/t,this._addSplitArea(e,n,l,h,i,U))},_getCircle:function(e,t,i,n,a,o){var s=this._getRadius();return new r({zlevel:this.getZlevelBase(),z:this.getZBase(),style:{x:n[0],y:n[1],r:s*i,brushType:a,strokeColor:e,lineWidth:t,color:o},hoverable:!1,draggable:!1})},_getRing:function(e,t,i,n){var a=this._getRadius();return new s({zlevel:this.getZlevelBase(),z:this.getZBase(),style:{x:n[0],y:n[1],r:t*a,r0:i*a,color:e,brushType:"fill"},hoverable:!1,draggable:!1})},_getPointList:function(e,t,i){for(var n,a=[],o=e.length,r=0;o>r;r++)n=e[r].vector,a.push(this._mapVector(n,i,t));return a},_getShape:function(e,t,i,n,a){return new o({zlevel:this.getZlevelBase(),z:this.getZBase(),style:{pointList:e,brushType:t,color:i,strokeColor:n,lineWidth:a},hoverable:!1,draggable:!1})},_addSplitArea:function(e,t,i,n,a,o){var r,s,l,h,m,V=e.length,U=t.areaStyle.color,d=[],V=e.length,p=this.deepQuery(this._queryTarget,"type");if("string"==typeof U&&(U=[U]),s=U.length,r=U[o%s],"polygon"==p)for(var c=0;V>c;c++)d=[],l=e[c].vector,h=e[(c+1)%V].vector,d.push(this._mapVector(l,a,i)),d.push(this._mapVector(l,a,n)),d.push(this._mapVector(h,a,n)),d.push(this._mapVector(h,a,i)),m=this._getShape(d,"fill",r,"",1),this.shapeList.push(m);else"circle"==p&&(m=this._getRing(r,i,n,a),this.shapeList.push(m))},_mapVector:function(e,t,i){return[e[0]*i+t[0],e[1]*i+t[1]]},getCenter:function(e){var e=e||0;return this.parseCenter(this.zr,this.polar[e].center)},_addLine:function(e,t,i){for(var n,a,o=e.length,r=i.lineStyle,s=r.color,l=r.width,h=r.type,m=0;o>m;m++)a=e[m].vector,n=this._getLine(t[0],t[1],a[0]+t[0],a[1]+t[1],s,l,h),this.shapeList.push(n)},_getLine:function(e,t,i,n,o,r,s){return new a({zlevel:this.getZlevelBase(),z:this.getZBase(),style:{xStart:e,yStart:t,xEnd:i,yEnd:n,strokeColor:o,lineWidth:r,lineType:s},hoverable:!1})},_adjustIndicatorValue:function(t){for(var i,n,a,o=this.polar[t],r=this.deepQuery(this._queryTarget,"indicator"),s=r.length,l=o.__ecIndicator,h=this._getSeriesData(t),m=o.boundaryGap,V=o.splitNumber,U=o.scale,d=e("../util/smartSteps"),p=0;s>p;p++){if("number"==typeof r[p].max)i=r[p].max,n=r[p].min||0,a={max:i,min:n};else{var c=this._findValue(h,p,V,m);n=c.min,i=c.max}!U&&n>=0&&i>=0&&(n=0),!U&&0>=n&&0>=i&&(i=0);var u=d(n,i,V,a);l[p].value={min:u.min,max:u.max,step:u.step}}},_getSeriesData:function(e){for(var t,i,n,a=[],o=this.component.legend,r=0;r<this.series.length;r++)if(t=this.series[r],t.type==l.CHART_TYPE_RADAR){i=t.data||[];for(var s=0;s<i.length;s++)n=this.deepQuery([i[s],t,this.option],"polarIndex")||0,n!=e||o&&!o.isSelected(i[s].name)||a.push(i[s])}return a},_findValue:function(e,t,i,n){function a(e){(e>o||void 0===o)&&(o=e),(r>e||void 0===r)&&(r=e)}var o,r,s;if(e&&0!==e.length){if(1==e.length&&(r=0),1!=e.length)for(var l=0;l<e.length;l++)a(this.getDataFromOption(e[l].value[t]));else{s=e[0];for(var l=0;l<s.value.length;l++)a(this.getDataFromOption(s.value[l]))}var h=Math.abs(o-r);return r-=Math.abs(h*n[0]),o+=Math.abs(h*n[1]),r===o&&(0===o?o=1:o>0?r=o/i:o/=i),{max:o,min:r}}},getVector:function(e,t,i){e=e||0,t=t||0;var n=this.polar[e].__ecIndicator;if(!(t>=n.length)){var a,o=this.polar[e].__ecIndicator[t],r=this.getCenter(e),s=o.vector,l=o.value.max,h=o.value.min;if("undefined"==typeof i)return r;switch(i){case"min":i=h;break;case"max":i=l;break;case"center":i=(l+h)/2}return a=l!=h?(i-h)/(l-h):.5,this._mapVector(s,r,a)}},isInside:function(e){var t=this.getNearestIndex(e);return t?t.polarIndex:-1},getNearestIndex:function(e){for(var t,i,n,a,o,r,s,l,h,V=0;V<this.polar.length;V++){if(t=this.polar[V],i=this.getCenter(V),e[0]==i[0]&&e[1]==i[1])return{polarIndex:V,valueIndex:0};if(n=this._getRadius(),o=t.startAngle,r=t.indicator,s=r.length,l=2*Math.PI/s,a=m.cartesian2polar(e[0]-i[0],i[1]-e[1]),e[0]-i[0]<0&&(a[1]+=Math.PI),a[1]<0&&(a[1]+=2*Math.PI),h=a[1]-o/180*Math.PI+2*Math.PI,Math.abs(Math.cos(h%(l/2)))*n>a[0])return{polarIndex:V,valueIndex:Math.floor((h+l/2)/l)%s}}},getIndicator:function(e){var e=e||0;return this.polar[e].indicator},refresh:function(e){e&&(this.option=e,this.polar=this.option.polar,this.series=this.option.series),this.clear(),this._buildShape()}},h.inherits(t,i),e("../component").define("polar",t),t}),i("echarts/util/coordinates",["require","zrender/tool/math"],function(e){function t(e,t){return[e*n.sin(t),e*n.cos(t)]}function i(e,t){return[Math.sqrt(e*e+t*t),Math.atan(t/e)]}var n=e("zrender/tool/math");return{polar2cartesian:t,cartesian2polar:i}}),i("echarts/chart/chord",["require","./base","zrender/shape/Text","zrender/shape/Line","zrender/shape/Sector","../util/shape/Ribbon","../util/shape/Icon","zrender/shape/BezierCurve","../config","../util/ecData","zrender/tool/util","zrender/tool/vector","../data/Graph","../layout/Chord","../chart"],function(e){"use strict";function t(e,t,n,a,o){i.call(this,e,t,n,a,o),this.scaleLineLength=4,this.scaleUnitAngle=4,this.refresh(a)}var i=e("./base"),n=e("zrender/shape/Text"),a=e("zrender/shape/Line"),o=e("zrender/shape/Sector"),r=e("../util/shape/Ribbon"),s=e("../util/shape/Icon"),l=e("zrender/shape/BezierCurve"),h=e("../config");h.chord={zlevel:0,z:2,clickable:!0,radius:["65%","75%"],center:["50%","50%"],padding:2,sort:"none",sortSub:"none",startAngle:90,clockWise:!0,ribbonType:!0,minRadius:10,maxRadius:20,symbol:"circle",showScale:!1,showScaleText:!1,itemStyle:{normal:{borderWidth:0,borderColor:"#000",label:{show:!0,rotate:!1,distance:5},chordStyle:{width:1,color:"black",borderWidth:1,borderColor:"#999",opacity:.5}},emphasis:{borderWidth:0,borderColor:"#000",chordStyle:{width:1,color:"black",borderWidth:1,borderColor:"#999"}}}};var m=e("../util/ecData"),V=e("zrender/tool/util"),U=e("zrender/tool/vector"),d=e("../data/Graph"),p=e("../layout/Chord");return t.prototype={type:h.CHART_TYPE_CHORD,_init:function(){var e=this.series;this.selectedMap={};for(var t={},i={},n=0,a=e.length;a>n;n++)if(e[n].type===this.type){var o=this.isSelected(e[n].name);this.selectedMap[e[n].name]=o,o&&this.buildMark(n),this.reformOption(e[n]),t[e[n].name]=e[n]}for(var n=0,a=e.length;a>n;n++)if(e[n].type===this.type)if(e[n].insertToSerie){var r=t[e[n].insertToSerie];e[n]._referenceSerie=r}else i[e[n].name]=[e[n]];for(var n=0,a=e.length;a>n;n++)if(e[n].type===this.type&&e[n].insertToSerie){for(var s=e[n]._referenceSerie;s&&s._referenceSerie;)s=s._referenceSerie;i[s.name]&&this.selectedMap[e[n].name]&&i[s.name].push(e[n])}for(var l in i)this._buildChords(i[l]);this.addShapeList()},_getNodeCategory:function(e,t){return e.categories&&e.categories[t.category||0]},_getNodeQueryTarget:function(e,t){var i=this._getNodeCategory(e,t);return[t,i,e]},_getEdgeQueryTarget:function(e,t,i){return i=i||"normal",[t.itemStyle&&t.itemStyle[i],e.itemStyle[i].chordStyle]},_buildChords:function(e){for(var t=[],i=e[0],n=function(e){return e.layout.size>0},a=function(e){return function(t){return e.getEdge(t.node2,t.node1)}},o=0;o<e.length;o++){var r=e[o];if(this.selectedMap[r.name]){var s;r.matrix?s=this._getSerieGraphFromDataMatrix(r,i):r.links&&(s=this._getSerieGraphFromNodeLinks(r,i)),s.filterNode(n,this),r.ribbonType&&s.filterEdge(a(s)),t.push(s),s.__serie=r}}if(t.length){var l=t[0];if(!i.ribbonType){var h=i.minRadius,m=i.maxRadius,V=1/0,U=-(1/0);l.eachNode(function(e){U=Math.max(e.layout.size,U),V=Math.min(e.layout.size,V)});var d=(m-h)/(U-V);l.eachNode(function(e){var t=this._getNodeQueryTarget(i,e),n=this.query(t,"symbolSize");e.layout.size=U===V?n||V:n||(e.layout.size-V)*d+h},this)}var c=new p;c.clockWise=i.clockWise,c.startAngle=i.startAngle*Math.PI/180,c.clockWise||(c.startAngle=-c.startAngle),c.padding=i.padding*Math.PI/180,c.sort=i.sort,c.sortSub=i.sortSub,c.directed=i.ribbonType,c.run(t);var u=this.query(i,"itemStyle.normal.label.show");if(i.ribbonType){this._buildSectors(i,0,l,i,t),u&&this._buildLabels(i,0,l,i,t);for(var o=0,y=0;o<e.length;o++)this.selectedMap[e[o].name]&&this._buildRibbons(e,o,t[y++],i);i.showScale&&this._buildScales(i,0,l)}else{this._buildNodeIcons(i,0,l,i,t),u&&this._buildLabels(i,0,l,i,t);for(var o=0,y=0;o<e.length;o++)this.selectedMap[e[o].name]&&this._buildEdgeCurves(e,o,t[y++],i,l)}this._initHoverHandler(e,t)}},_getSerieGraphFromDataMatrix:function(e,t){for(var i=[],n=0,a=[],o=0;o<e.matrix.length;o++)a[o]=e.matrix[o].slice();for(var r=e.data||e.nodes,o=0;o<r.length;o++){var s={},l=r[o];l.rawIndex=o;for(var h in l)"name"===h?s.id=l.name:s[h]=l[h];var m=this._getNodeCategory(t,l),V=m?m.name:l.name;if(this.selectedMap[V]=this.isSelected(V),this.selectedMap[V])i.push(s),n++;else{a.splice(n,1);for(var U=0;U<a.length;U++)a[U].splice(n,1)}}var p=d.fromMatrix(i,a,!0);return p.eachNode(function(e){e.layout={size:e.data.outValue},e.rawIndex=e.data.rawIndex}),p.eachEdge(function(e){e.layout={weight:e.data.weight}}),p},_getSerieGraphFromNodeLinks:function(e,t){for(var i=new d(!0),n=e.data||e.nodes,a=0,o=n.length;o>a;a++){var r=n[a];if(r&&!r.ignore){var s=this._getNodeCategory(t,r),l=s?s.name:r.name;if(this.selectedMap[l]=this.isSelected(l),this.selectedMap[l]){var h=i.addNode(r.name,r);h.rawIndex=a}}}for(var a=0,o=e.links.length;o>a;a++){var m=e.links[a],V=m.source,U=m.target;"number"==typeof V&&(V=n[V],V&&(V=V.name)),"number"==typeof U&&(U=n[U],U&&(U=U.name));var p=i.addEdge(V,U,m);p&&(p.rawIndex=a)}return i.eachNode(function(e){var i=e.data.value;if(null==i)if(i=0,t.ribbonType)for(var n=0;n<e.outEdges.length;n++)i+=e.outEdges[n].data.weight||0;else for(var n=0;n<e.edges.length;n++)i+=e.edges[n].data.weight||0;e.layout={size:i}}),i.eachEdge(function(e){e.layout={weight:null==e.data.weight?1:e.data.weight}}),i},_initHoverHandler:function(e,t){var i=e[0],n=t[0],a=this;n.eachNode(function(e){e.shape.onmouseover=function(){n.eachNode(function(e){e.shape.style.opacity=.1,e.labelShape&&(e.labelShape.style.opacity=.1,e.labelShape.modSelf()),e.shape.modSelf()});for(var i=0;i<t.length;i++)for(var o=0;o<t[i].edges.length;o++){var r=t[i].edges[o],s=a._getEdgeQueryTarget(t[i].__serie,r.data);r.shape.style.opacity=.1*a.deepQuery(s,"opacity"),r.shape.modSelf()}e.shape.style.opacity=1,e.labelShape&&(e.labelShape.style.opacity=1);for(var i=0;i<t.length;i++){var l=t[i].getNodeById(e.id);if(l)for(var o=0;o<l.outEdges.length;o++){var r=l.outEdges[o],s=a._getEdgeQueryTarget(t[i].__serie,r.data);r.shape.style.opacity=a.deepQuery(s,"opacity");var h=t[0].getNodeById(r.node2.id);h&&(h.shape&&(h.shape.style.opacity=1),h.labelShape&&(h.labelShape.style.opacity=1))}}a.zr.refreshNextFrame()},e.shape.onmouseout=function(){n.eachNode(function(e){e.shape.style.opacity=1,e.labelShape&&(e.labelShape.style.opacity=1,e.labelShape.modSelf()),e.shape.modSelf()});for(var e=0;e<t.length;e++)for(var o=0;o<t[e].edges.length;o++){var r=t[e].edges[o],s=[r.data,i];r.shape.style.opacity=a.deepQuery(s,"itemStyle.normal.chordStyle.opacity"),r.shape.modSelf()}a.zr.refreshNextFrame()}})},_buildSectors:function(e,t,i,n){var a=this.parseCenter(this.zr,n.center),r=this.parseRadius(this.zr,n.radius),s=n.clockWise,l=s?1:-1;i.eachNode(function(i){var h=this._getNodeCategory(n,i.data),V=this.getColor(h?h.name:i.id),U=i.layout.startAngle/Math.PI*180*l,d=i.layout.endAngle/Math.PI*180*l,p=new o({zlevel:e.zlevel,z:e.z,style:{x:a[0],y:a[1],r0:r[0],r:r[1],startAngle:U,endAngle:d,brushType:"fill",opacity:1,color:V,clockWise:s},clickable:n.clickable,highlightStyle:{brushType:"fill"}});p.style.lineWidth=this.deepQuery([i.data,n],"itemStyle.normal.borderWidth"),p.highlightStyle.lineWidth=this.deepQuery([i.data,n],"itemStyle.emphasis.borderWidth"),p.style.strokeColor=this.deepQuery([i.data,n],"itemStyle.normal.borderColor"),p.highlightStyle.strokeColor=this.deepQuery([i.data,n],"itemStyle.emphasis.borderColor"),p.style.lineWidth>0&&(p.style.brushType="both"),p.highlightStyle.lineWidth>0&&(p.highlightStyle.brushType="both"),m.pack(p,e,t,i.data,i.rawIndex,i.id,i.category),this.shapeList.push(p),i.shape=p},this)},_buildNodeIcons:function(e,t,i,n){var a=this.parseCenter(this.zr,n.center),o=this.parseRadius(this.zr,n.radius),r=o[1];i.eachNode(function(i){var o=i.layout.startAngle,l=i.layout.endAngle,h=(o+l)/2,V=r*Math.cos(h),U=r*Math.sin(h),d=this._getNodeQueryTarget(n,i.data),p=this._getNodeCategory(n,i.data),c=this.deepQuery(d,"itemStyle.normal.color");c||(c=this.getColor(p?p.name:i.id));var u=new s({zlevel:e.zlevel,z:e.z+1,style:{x:-i.layout.size,y:-i.layout.size,width:2*i.layout.size,height:2*i.layout.size,iconType:this.deepQuery(d,"symbol"),color:c,brushType:"both",lineWidth:this.deepQuery(d,"itemStyle.normal.borderWidth"),strokeColor:this.deepQuery(d,"itemStyle.normal.borderColor")},highlightStyle:{color:this.deepQuery(d,"itemStyle.emphasis.color"),lineWidth:this.deepQuery(d,"itemStyle.emphasis.borderWidth"),strokeColor:this.deepQuery(d,"itemStyle.emphasis.borderColor")},clickable:n.clickable,position:[V+a[0],U+a[1]]});m.pack(u,e,t,i.data,i.rawIndex,i.id,i.category),this.shapeList.push(u),i.shape=u},this)},_buildLabels:function(e,t,i,a){var o=this.query(a,"itemStyle.normal.label.rotate"),r=this.query(a,"itemStyle.normal.label.distance"),s=this.parseCenter(this.zr,a.center),l=this.parseRadius(this.zr,a.radius),h=a.clockWise,m=h?1:-1;
+
+i.eachNode(function(t){var i=t.layout.startAngle/Math.PI*180*m,h=t.layout.endAngle/Math.PI*180*m,V=(i*-m+h*-m)/2;V%=360,0>V&&(V+=360);var d=90>=V||V>=270;V=V*Math.PI/180;var p=[Math.cos(V),-Math.sin(V)],c=0;c=a.ribbonType?a.showScaleText?35+r:r:r+t.layout.size;var u=U.scale([],p,l[1]+c);U.add(u,u,s);var y={zlevel:e.zlevel,z:e.z+1,hoverable:!1,style:{text:null==t.data.label?t.id:t.data.label,textAlign:d?"left":"right"}};o?(y.rotation=d?V:Math.PI+V,y.style.x=d?l[1]+c:-l[1]-c,y.style.y=0,y.position=s.slice()):(y.style.x=u[0],y.style.y=u[1]),y.style.color=this.deepQuery([t.data,a],"itemStyle.normal.label.textStyle.color")||"#000000",y.style.textFont=this.getFont(this.deepQuery([t.data,a],"itemStyle.normal.label.textStyle")),y=new n(y),this.shapeList.push(y),t.labelShape=y},this)},_buildRibbons:function(e,t,i,n){var a=e[t],o=this.parseCenter(this.zr,n.center),s=this.parseRadius(this.zr,n.radius);i.eachEdge(function(l,h){var V,U=i.getEdge(l.node2,l.node1);if(U&&!l.shape){if(U.shape)return void(l.shape=U.shape);var d=l.layout.startAngle/Math.PI*180,p=l.layout.endAngle/Math.PI*180,c=U.layout.startAngle/Math.PI*180,u=U.layout.endAngle/Math.PI*180;V=this.getColor(1===e.length?l.layout.weight<=U.layout.weight?l.node1.id:l.node2.id:a.name);var y,g,b=this._getEdgeQueryTarget(a,l.data),f=this._getEdgeQueryTarget(a,l.data,"emphasis"),k=new r({zlevel:a.zlevel,z:a.z,style:{x:o[0],y:o[1],r:s[0],source0:d,source1:p,target0:c,target1:u,brushType:"both",opacity:this.deepQuery(b,"opacity"),color:V,lineWidth:this.deepQuery(b,"borderWidth"),strokeColor:this.deepQuery(b,"borderColor"),clockWise:n.clockWise},clickable:n.clickable,highlightStyle:{brushType:"both",opacity:this.deepQuery(f,"opacity"),lineWidth:this.deepQuery(f,"borderWidth"),strokeColor:this.deepQuery(f,"borderColor")}});l.layout.weight<=U.layout.weight?(y=U.node1,g=U.node2):(y=l.node1,g=l.node2),m.pack(k,a,t,l.data,null==l.rawIndex?h:l.rawIndex,l.data.name||y.id+"-"+g.id,y.id,g.id),this.shapeList.push(k),l.shape=k}},this)},_buildEdgeCurves:function(e,t,i,n,a){var o=e[t],r=this.parseCenter(this.zr,n.center);i.eachEdge(function(e,i){var n=a.getNodeById(e.node1.id),s=a.getNodeById(e.node2.id),h=n.shape,V=s.shape,U=this._getEdgeQueryTarget(o,e.data),d=this._getEdgeQueryTarget(o,e.data,"emphasis"),p=new l({zlevel:o.zlevel,z:o.z,style:{xStart:h.position[0],yStart:h.position[1],xEnd:V.position[0],yEnd:V.position[1],cpX1:r[0],cpY1:r[1],lineWidth:this.deepQuery(U,"width"),strokeColor:this.deepQuery(U,"color"),opacity:this.deepQuery(U,"opacity")},highlightStyle:{lineWidth:this.deepQuery(d,"width"),strokeColor:this.deepQuery(d,"color"),opacity:this.deepQuery(d,"opacity")}});m.pack(p,o,t,e.data,null==e.rawIndex?i:e.rawIndex,e.data.name||e.node1.id+"-"+e.node2.id,e.node1.id,e.node2.id),this.shapeList.push(p),e.shape=p},this)},_buildScales:function(e,t,i){var o,r,s=e.clockWise,l=this.parseCenter(this.zr,e.center),h=this.parseRadius(this.zr,e.radius),m=s?1:-1,V=0,d=-(1/0);e.showScaleText&&(i.eachNode(function(e){var t=e.data.value;t>d&&(d=t),V+=t}),d>1e10?(o="b",r=1e-9):d>1e7?(o="m",r=1e-6):d>1e4?(o="k",r=.001):(o="",r=1));var p=V/(360-e.padding);i.eachNode(function(t){for(var i=t.layout.startAngle/Math.PI*180,V=t.layout.endAngle/Math.PI*180,d=i;;){if(s&&d>V||!s&&V>d)break;var c=d/180*Math.PI,u=[Math.cos(c),Math.sin(c)],y=U.scale([],u,h[1]+1);U.add(y,y,l);var g=U.scale([],u,h[1]+this.scaleLineLength);U.add(g,g,l);var b=new a({zlevel:e.zlevel,z:e.z-1,hoverable:!1,style:{xStart:y[0],yStart:y[1],xEnd:g[0],yEnd:g[1],lineCap:"round",brushType:"stroke",strokeColor:"#666",lineWidth:1}});this.shapeList.push(b),d+=m*this.scaleUnitAngle}if(e.showScaleText)for(var f=i,k=5*p*this.scaleUnitAngle,x=0;;){if(s&&f>V||!s&&V>f)break;var c=f;c%=360,0>c&&(c+=360);var _=90>=c||c>=270,L=new n({zlevel:e.zlevel,z:e.z-1,hoverable:!1,style:{x:_?h[1]+this.scaleLineLength+4:-h[1]-this.scaleLineLength-4,y:0,text:Math.round(10*x)/10+o,textAlign:_?"left":"right"},position:l.slice(),rotation:_?[-c/180*Math.PI,0,0]:[-(c+180)/180*Math.PI,0,0]});this.shapeList.push(L),x+=k*r,f+=m*this.scaleUnitAngle*5}},this)},refresh:function(e){if(e&&(this.option=e,this.series=e.series),this.legend=this.component.legend,this.legend)this.getColor=function(e){return this.legend.getColor(e)},this.isSelected=function(e){return this.legend.isSelected(e)};else{var t={},i=0;this.getColor=function(e){return t[e]?t[e]:(t[e]||(t[e]=this.zr.getColor(i++)),t[e])},this.isSelected=function(){return!0}}this.backupShapeList(),this._init()},reformOption:function(e){var t=V.merge;e=t(t(e||{},this.ecTheme.chord),h.chord),e.itemStyle.normal.label.textStyle=this.getTextStyle(e.itemStyle.normal.label.textStyle),this.z=e.z,this.zlevel=e.zlevel}},V.inherits(t,i),e("../chart").define("chord",t),t}),i("echarts/util/shape/Ribbon",["require","zrender/shape/Base","zrender/shape/util/PathProxy","zrender/tool/util","zrender/tool/area"],function(e){function t(e){i.call(this,e),this._pathProxy=new n}var i=e("zrender/shape/Base"),n=e("zrender/shape/util/PathProxy"),a=e("zrender/tool/util"),o=e("zrender/tool/area");return t.prototype={type:"ribbon",buildPath:function(e,t){var i=t.clockWise||!1,n=this._pathProxy;n.begin(e);var a=t.x,o=t.y,r=t.r,s=t.source0/180*Math.PI,l=t.source1/180*Math.PI,h=t.target0/180*Math.PI,m=t.target1/180*Math.PI,V=a+Math.cos(s)*r,U=o+Math.sin(s)*r,d=a+Math.cos(l)*r,p=o+Math.sin(l)*r,c=a+Math.cos(h)*r,u=o+Math.sin(h)*r,y=a+Math.cos(m)*r,g=o+Math.sin(m)*r;n.moveTo(V,U),n.arc(a,o,t.r,s,l,!i),n.bezierCurveTo(.7*(a-d)+d,.7*(o-p)+p,.7*(a-c)+c,.7*(o-u)+u,c,u),(t.source0!==t.target0||t.source1!==t.target1)&&(n.arc(a,o,t.r,h,m,!i),n.bezierCurveTo(.7*(a-y)+y,.7*(o-g)+g,.7*(a-V)+V,.7*(o-U)+U,V,U))},getRect:function(e){return e.__rect?e.__rect:(this._pathProxy.isEmpty()||this.buildPath(null,e),this._pathProxy.fastBoundingRect())},isCover:function(e,t){var i=this.getRect(this.style);return e>=i.x&&e<=i.x+i.width&&t>=i.y&&t<=i.y+i.height?o.isInsidePath(this._pathProxy.pathCommands,0,"fill",e,t):void 0}},a.inherits(t,i),t}),i("echarts/data/Graph",["require","zrender/tool/util"],function(e){var t=e("zrender/tool/util"),i=function(e){this._directed=e||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={}};i.prototype.isDirected=function(){return this._directed},i.prototype.addNode=function(e,t){if(this._nodesMap[e])return this._nodesMap[e];var n=new i.Node(e,t);return this.nodes.push(n),this._nodesMap[e]=n,n},i.prototype.getNodeById=function(e){return this._nodesMap[e]},i.prototype.addEdge=function(e,t,n){if("string"==typeof e&&(e=this._nodesMap[e]),"string"==typeof t&&(t=this._nodesMap[t]),e&&t){var a=e.id+"-"+t.id;if(this._edgesMap[a])return this._edgesMap[a];var o=new i.Edge(e,t,n);return this._directed&&(e.outEdges.push(o),t.inEdges.push(o)),e.edges.push(o),e!==t&&t.edges.push(o),this.edges.push(o),this._edgesMap[a]=o,o}},i.prototype.removeEdge=function(e){var i=e.node1,n=e.node2,a=i.id+"-"+n.id;this._directed&&(i.outEdges.splice(t.indexOf(i.outEdges,e),1),n.inEdges.splice(t.indexOf(n.inEdges,e),1)),i.edges.splice(t.indexOf(i.edges,e),1),i!==n&&n.edges.splice(t.indexOf(n.edges,e),1),delete this._edgesMap[a],this.edges.splice(t.indexOf(this.edges,e),1)},i.prototype.getEdge=function(e,t){return"string"!=typeof e&&(e=e.id),"string"!=typeof t&&(t=t.id),this._directed?this._edgesMap[e+"-"+t]:this._edgesMap[e+"-"+t]||this._edgesMap[t+"-"+e]},i.prototype.removeNode=function(e){if("string"!=typeof e||(e=this._nodesMap[e])){delete this._nodesMap[e.id],this.nodes.splice(t.indexOf(this.nodes,e),1);for(var i=0;i<this.edges.length;){var n=this.edges[i];n.node1===e||n.node2===e?this.removeEdge(n):i++}}},i.prototype.filterNode=function(e,t){for(var i=this.nodes.length,n=0;i>n;)e.call(t,this.nodes[n],n)?n++:(this.removeNode(this.nodes[n]),i--)},i.prototype.filterEdge=function(e,t){for(var i=this.edges.length,n=0;i>n;)e.call(t,this.edges[n],n)?n++:(this.removeEdge(this.edges[n]),i--)},i.prototype.eachNode=function(e,t){for(var i=this.nodes.length,n=0;i>n;n++)this.nodes[n]&&e.call(t,this.nodes[n],n)},i.prototype.eachEdge=function(e,t){for(var i=this.edges.length,n=0;i>n;n++)this.edges[n]&&e.call(t,this.edges[n],n)},i.prototype.clear=function(){this.nodes.length=0,this.edges.length=0,this._nodesMap={},this._edgesMap={}},i.prototype.breadthFirstTraverse=function(e,t,i,n){if("string"==typeof t&&(t=this._nodesMap[t]),t){var a="edges";"out"===i?a="outEdges":"in"===i&&(a="inEdges");for(var o=0;o<this.nodes.length;o++)this.nodes[o].__visited=!1;if(!e.call(n,t,null))for(var r=[t];r.length;)for(var s=r.shift(),l=s[a],o=0;o<l.length;o++){var h=l[o],m=h.node1===s?h.node2:h.node1;if(!m.__visited){if(e.call(m,m,s))return;r.push(m),m.__visited=!0}}}},i.prototype.clone=function(){for(var e=new i(this._directed),t=0;t<this.nodes.length;t++)e.addNode(this.nodes[t].id,this.nodes[t].data);for(var t=0;t<this.edges.length;t++){var n=this.edges[t];e.addEdge(n.node1.id,n.node2.id,n.data)}return e};var n=function(e,t){this.id=e,this.data=t||null,this.inEdges=[],this.outEdges=[],this.edges=[]};n.prototype.degree=function(){return this.edges.length},n.prototype.inDegree=function(){return this.inEdges.length},n.prototype.outDegree=function(){return this.outEdges.length};var a=function(e,t,i){this.node1=e,this.node2=t,this.data=i||null};return i.Node=n,i.Edge=a,i.fromMatrix=function(e,t,n){if(t&&t.length&&t[0].length===t.length&&e.length===t.length){for(var a=t.length,o=new i(n),r=0;a>r;r++){var s=o.addNode(e[r].id,e[r]);s.data.value=0,n&&(s.data.outValue=s.data.inValue=0)}for(var r=0;a>r;r++)for(var l=0;a>l;l++){var h=t[r][l];n&&(o.nodes[r].data.outValue+=h,o.nodes[l].data.inValue+=h),o.nodes[r].data.value+=h,o.nodes[l].data.value+=h}for(var r=0;a>r;r++)for(var l=r;a>l;l++){var h=t[r][l];if(0!==h){var m=o.nodes[r],V=o.nodes[l],U=o.addEdge(m,V,{});if(U.data.weight=h,r!==l&&n&&t[l][r]){var d=o.addEdge(V,m,{});d.data.weight=t[l][r]}}}return o}},i}),i("echarts/layout/Chord",["require"],function(){var e=function(e){e=e||{},this.sort=e.sort||null,this.sortSub=e.sortSub||null,this.padding=.05,this.startAngle=e.startAngle||0,this.clockWise=null==e.clockWise?!1:e.clockWise,this.center=e.center||[0,0],this.directed=!0};e.prototype.run=function(e){e instanceof Array||(e=[e]);var n=e.length;if(n){for(var a=e[0],o=a.nodes.length,r=[],s=0,l=0;o>l;l++){var h=a.nodes[l],m={size:0,subGroups:[],node:h};r.push(m);for(var V=0,U=0;U<e.length;U++){var d=e[U],p=d.getNodeById(h.id);if(p){m.size+=p.layout.size;for(var c=this.directed?p.outEdges:p.edges,u=0;u<c.length;u++){var y=c[u],g=y.layout.weight;m.subGroups.push({weight:g,edge:y,graph:d}),V+=g}}}s+=m.size;for(var b=m.size/V,u=0;u<m.subGroups.length;u++)m.subGroups[u].weight*=b;"ascending"===this.sortSub?m.subGroups.sort(t):"descending"===this.sort&&(m.subGroups.sort(t),m.subGroups.reverse())}"ascending"===this.sort?r.sort(i):"descending"===this.sort&&(r.sort(i),r.reverse());for(var b=(2*Math.PI-this.padding*o)/s,f=this.startAngle,k=this.clockWise?1:-1,l=0;o>l;l++){var m=r[l];m.node.layout.startAngle=f,m.node.layout.endAngle=f+k*m.size*b,m.node.layout.subGroups=[];for(var u=0;u<m.subGroups.length;u++){var x=m.subGroups[u];x.edge.layout.startAngle=f,f+=k*x.weight*b,x.edge.layout.endAngle=f}f=m.node.layout.endAngle+k*this.padding}}};var t=function(e,t){return e.weight-t.weight},i=function(e,t){return e.size-t.size};return e}),i("echarts/chart/force",["require","./base","../data/Graph","../layout/Force","zrender/shape/Line","zrender/shape/BezierCurve","zrender/shape/Image","../util/shape/Icon","../config","../util/ecData","zrender/tool/util","zrender/config","zrender/tool/vector","../chart"],function(e){"use strict";function t(e,t,o,h,m){var V=this;r.call(this,e,t,o,h,m),this.__nodePositionMap={},this._graph=new s(!0),this._layout=new l,this._layout.onupdate=function(){V._step()},this._steps=1,this.ondragstart=function(){i.apply(V,arguments)},this.ondragend=function(){a.apply(V,arguments)},this.ondrop=function(){},this.shapeHandler.ondragstart=function(){V.isDragstart=!0},this.onmousemove=function(){n.apply(V,arguments)},this.refresh(h)}function i(e){if(this.isDragstart&&e.target){var t=e.target;t.fixed=!0,this.isDragstart=!1,this.zr.on(u.EVENT.MOUSEMOVE,this.onmousemove)}}function n(){this._layout.temperature=.8,this._step()}function a(e,t){if(this.isDragend&&e.target){var i=e.target;i.fixed=!1,t.dragIn=!0,t.needRefresh=!1,this.isDragend=!1,this.zr.un(u.EVENT.MOUSEMOVE,this.onmousemove)}}function o(e,t,i){var n=y.create();return n[0]=(Math.random()-.5)*i+e,n[1]=(Math.random()-.5)*i+t,n}var r=e("./base"),s=e("../data/Graph"),l=e("../layout/Force"),h=e("zrender/shape/Line"),m=e("zrender/shape/BezierCurve"),V=e("zrender/shape/Image"),U=e("../util/shape/Icon"),d=e("../config");d.force={zlevel:1,z:2,center:["50%","50%"],size:"100%",preventOverlap:!1,coolDown:.99,minRadius:10,maxRadius:20,ratioScaling:!1,large:!1,useWorker:!1,steps:1,scaling:1,gravity:1,symbol:"circle",symbolSize:0,linkSymbol:null,linkSymbolSize:[10,15],draggable:!0,clickable:!0,roam:!1,itemStyle:{normal:{label:{show:!1,position:"inside"},nodeStyle:{brushType:"both",borderColor:"#5182ab",borderWidth:1},linkStyle:{color:"#5182ab",width:1,type:"line"}},emphasis:{label:{show:!1},nodeStyle:{},linkStyle:{opacity:0}}}};var p=e("../util/ecData"),c=e("zrender/tool/util"),u=e("zrender/config"),y=e("zrender/tool/vector");return t.prototype={constructor:t,type:d.CHART_TYPE_FORCE,_init:function(){this.selectedMap={};var e,t=this.component.legend,i=this.series;this.clear();for(var n=0,a=i.length;a>n;n++){var o=i[n];if(o.type===d.CHART_TYPE_FORCE){if(i[n]=this.reformOption(i[n]),e=i[n].name||"",this.selectedMap[e]=t?t.isSelected(e):!0,!this.selectedMap[e])continue;this.buildMark(n),this._initSerie(o,n);break}}this.animationEffect()},_getNodeCategory:function(e,t){return e.categories&&e.categories[t.category||0]},_getNodeQueryTarget:function(e,t,i){i=i||"normal";var n=this._getNodeCategory(e,t)||{};return[t.itemStyle&&t.itemStyle[i],n&&n.itemStyle&&n.itemStyle[i],e.itemStyle[i].nodeStyle]},_getEdgeQueryTarget:function(e,t,i){return i=i||"normal",[t.itemStyle&&t.itemStyle[i],e.itemStyle[i].linkStyle]},_initSerie:function(e,t){this._temperature=1,e.matrix?this._graph=this._getSerieGraphFromDataMatrix(e):e.links&&(this._graph=this._getSerieGraphFromNodeLinks(e)),this._buildLinkShapes(e,t),this._buildNodeShapes(e,t);var i=e.roam===!0||"move"===e.roam,n=e.roam===!0||"scale"===e.roam;this.zr.modLayer(this.getZlevelBase(),{panable:i,zoomable:n}),(this.query("markPoint.effect.show")||this.query("markLine.effect.show"))&&this.zr.modLayer(d.EFFECT_ZLEVEL,{panable:i,zoomable:n}),this._initLayout(e),this._step()},_getSerieGraphFromDataMatrix:function(e){for(var t=[],i=0,n=[],a=0;a<e.matrix.length;a++)n[a]=e.matrix[a].slice();for(var o=e.data||e.nodes,a=0;a<o.length;a++){var r={},l=o[a];for(var h in l)"name"===h?r.id=l.name:r[h]=l[h];var m=this._getNodeCategory(e,l),V=m?m.name:l.name;if(this.selectedMap[V]=this.isSelected(V),this.selectedMap[V])t.push(r),i++;else{n.splice(i,1);for(var U=0;U<n.length;U++)n[U].splice(i,1)}}var d=s.fromMatrix(t,n,!0);return d.eachNode(function(e,t){e.layout={size:e.data.value,mass:0},e.rawIndex=t}),d.eachEdge(function(e){e.layout={weight:e.data.weight}}),d},_getSerieGraphFromNodeLinks:function(e){for(var t=new s(!0),i=e.data||e.nodes,n=0,a=i.length;a>n;n++){var o=i[n];if(o&&!o.ignore){var r=this._getNodeCategory(e,o),l=r?r.name:o.name;if(this.selectedMap[l]=this.isSelected(l),this.selectedMap[l]){var h=t.addNode(o.name,o);h.rawIndex=n}}}for(var n=0,a=e.links.length;a>n;n++){var m=e.links[n],V=m.source,U=m.target;"number"==typeof V&&(V=i[V],V&&(V=V.name)),"number"==typeof U&&(U=i[U],U&&(U=U.name));var d=t.addEdge(V,U,m);d&&(d.rawIndex=n)}return t.eachNode(function(e){var t=e.data.value;if(null==t){t=0;for(var i=0;i<e.edges.length;i++)t+=e.edges[i].data.weight||0}e.layout={size:t,mass:0}}),t.eachEdge(function(e){e.layout={weight:null==e.data.weight?1:e.data.weight}}),t},_initLayout:function(e){var t=this._graph,i=t.nodes.length,n=this.query(e,"minRadius"),a=this.query(e,"maxRadius");this._steps=e.steps||1;var r=this._layout;r.center=this.parseCenter(this.zr,e.center),r.width=this.parsePercent(e.size,this.zr.getWidth()),r.height=this.parsePercent(e.size,this.zr.getHeight()),r.large=e.large,r.scaling=e.scaling,r.ratioScaling=e.ratioScaling,r.gravity=e.gravity,r.temperature=1,r.coolDown=e.coolDown,r.preventNodeEdgeOverlap=e.preventOverlap,r.preventNodeOverlap=e.preventOverlap;for(var s=1/0,l=-(1/0),h=0;i>h;h++){var m=t.nodes[h];l=Math.max(m.layout.size,l),s=Math.min(m.layout.size,s)}for(var V=l-s,h=0;i>h;h++){var m=t.nodes[h];V>0?(m.layout.size=(m.layout.size-s)*(a-n)/V+n,m.layout.mass=m.layout.size/a):(m.layout.size=(a-n)/2,m.layout.mass=.5)}for(var h=0;i>h;h++){var m=t.nodes[h];if("undefined"!=typeof this.__nodePositionMap[m.id])m.layout.position=y.create(),y.copy(m.layout.position,this.__nodePositionMap[m.id]);else if("undefined"!=typeof m.data.initial)m.layout.position=y.create(),y.copy(m.layout.position,m.data.initial);else{var U=this._layout.center,d=Math.min(this._layout.width,this._layout.height);m.layout.position=o(U[0],U[1],.8*d)}var p=m.shape.style,c=m.layout.size;p.width=p.width||2*c,p.height=p.height||2*c,p.x=-p.width/2,p.y=-p.height/2,y.copy(m.shape.position,m.layout.position)}i=t.edges.length,l=-(1/0);for(var h=0;i>h;h++){var u=t.edges[h];u.layout.weight>l&&(l=u.layout.weight)}for(var h=0;i>h;h++){var u=t.edges[h];u.layout.weight/=l}this._layout.init(t,e.useWorker)},_buildNodeShapes:function(e,t){var i=this._graph,n=this.query(e,"categories");i.eachNode(function(i){var a=this._getNodeCategory(e,i.data),o=[i.data,a,e],r=this._getNodeQueryTarget(e,i.data),s=this._getNodeQueryTarget(e,i.data,"emphasis"),l=new U({style:{x:0,y:0,color:this.deepQuery(r,"color"),brushType:"both",strokeColor:this.deepQuery(r,"strokeColor")||this.deepQuery(r,"borderColor"),lineWidth:this.deepQuery(r,"lineWidth")||this.deepQuery(r,"borderWidth")},highlightStyle:{color:this.deepQuery(s,"color"),strokeColor:this.deepQuery(s,"strokeColor")||this.deepQuery(s,"borderColor"),lineWidth:this.deepQuery(s,"lineWidth")||this.deepQuery(s,"borderWidth")},clickable:e.clickable,zlevel:this.getZlevelBase(),z:this.getZBase()});l.style.color||(l.style.color=this.getColor(a?a.name:i.id)),l.style.iconType=this.deepQuery(o,"symbol");var h=this.deepQuery(o,"symbolSize")||0;"number"==typeof h&&(h=[h,h]),l.style.width=2*h[0],l.style.height=2*h[1],l.style.iconType.match("image")&&(l.style.image=l.style.iconType.replace(new RegExp("^image:\\/\\/"),""),l=new V({style:l.style,highlightStyle:l.highlightStyle,clickable:l.clickable,zlevel:this.getZlevelBase(),z:this.getZBase()})),this.deepQuery(o,"itemStyle.normal.label.show")&&(l.style.text=null==i.data.label?i.id:i.data.label,l.style.textPosition=this.deepQuery(o,"itemStyle.normal.label.position"),l.style.textColor=this.deepQuery(o,"itemStyle.normal.label.textStyle.color"),l.style.textFont=this.getFont(this.deepQuery(o,"itemStyle.normal.label.textStyle")||{})),this.deepQuery(o,"itemStyle.emphasis.label.show")&&(l.highlightStyle.textPosition=this.deepQuery(o,"itemStyle.emphasis.label.position"),l.highlightStyle.textColor=this.deepQuery(o,"itemStyle.emphasis.label.textStyle.color"),l.highlightStyle.textFont=this.getFont(this.deepQuery(o,"itemStyle.emphasis.label.textStyle")||{})),this.deepQuery(o,"draggable")&&(this.setCalculable(l),l.dragEnableTime=0,l.draggable=!0,l.ondragstart=this.shapeHandler.ondragstart,l.ondragover=null);var m="";if("undefined"!=typeof i.category){var a=n[i.category];m=a&&a.name||""}p.pack(l,e,t,i.data,i.rawIndex,i.data.name||"",i.category),this.shapeList.push(l),this.zr.addShape(l),i.shape=l},this)},_buildLinkShapes:function(e,t){for(var i=this._graph,n=i.edges.length,a=0;n>a;a++){var o=i.edges[a],r=o.data,s=o.node1,l=o.node2,V=i.getEdge(l,s),d=this._getEdgeQueryTarget(e,r),u=this.deepQuery(d,"type");e.linkSymbol&&"none"!==e.linkSymbol&&(u="line");var y="line"===u?h:m,g=new y({style:{xStart:0,yStart:0,xEnd:0,yEnd:0},clickable:this.query(e,"clickable"),highlightStyle:{},zlevel:this.getZlevelBase(),z:this.getZBase()});if(V&&V.shape&&(g.style.offset=4,V.shape.style.offset=4),c.merge(g.style,this.query(e,"itemStyle.normal.linkStyle"),!0),c.merge(g.highlightStyle,this.query(e,"itemStyle.emphasis.linkStyle"),!0),"undefined"!=typeof r.itemStyle&&(r.itemStyle.normal&&c.merge(g.style,r.itemStyle.normal,!0),r.itemStyle.emphasis&&c.merge(g.highlightStyle,r.itemStyle.emphasis,!0)),g.style.lineWidth=g.style.lineWidth||g.style.width,g.style.strokeColor=g.style.strokeColor||g.style.color,g.highlightStyle.lineWidth=g.highlightStyle.lineWidth||g.highlightStyle.width,g.highlightStyle.strokeColor=g.highlightStyle.strokeColor||g.highlightStyle.color,p.pack(g,e,t,o.data,null==o.rawIndex?a:o.rawIndex,o.data.name||s.id+" - "+l.id,s.id,l.id),this.shapeList.push(g),this.zr.addShape(g),o.shape=g,e.linkSymbol&&"none"!==e.linkSymbol){var b=new U({style:{x:-5,y:0,width:e.linkSymbolSize[0],height:e.linkSymbolSize[1],iconType:e.linkSymbol,brushType:"fill",color:g.style.strokeColor},highlightStyle:{brushType:"fill"},position:[0,0],rotation:0,zlevel:this.getZlevelBase(),z:this.getZBase()});g._symbolShape=b,this.shapeList.push(b),this.zr.addShape(b)}}},_updateLinkShapes:function(){for(var e=y.create(),t=y.create(),i=y.create(),n=y.create(),a=this._graph.edges,o=0,r=a.length;r>o;o++){var s=a[o],l=s.node1.shape,h=s.node2.shape;y.copy(i,l.position),y.copy(n,h.position);var m=s.shape.style;if(y.sub(e,i,n),y.normalize(e,e),m.offset?(t[0]=e[1],t[1]=-e[0],y.scaleAndAdd(i,i,t,m.offset),y.scaleAndAdd(n,n,t,m.offset)):"bezier-curve"===s.shape.type&&(m.cpX1=(i[0]+n[0])/2-(n[1]-i[1])/4,m.cpY1=(i[1]+n[1])/2-(i[0]-n[0])/4),m.xStart=i[0],m.yStart=i[1],m.xEnd=n[0],m.yEnd=n[1],s.shape.modSelf(),s.shape._symbolShape){var V=s.shape._symbolShape;y.copy(V.position,n),y.scaleAndAdd(V.position,V.position,e,h.style.width/2+2);var U=Math.atan2(e[1],e[0]);V.rotation=Math.PI/2-U,V.modSelf()}}},_syncNodePositions:function(){for(var e=this._graph,t=0;t<e.nodes.length;t++){var i=e.nodes[t],n=i.layout.position,a=i.data,o=i.shape,r=o.fixed||a.fixX,s=o.fixed||a.fixY;r===!0?r=1:isNaN(r)&&(r=0),s===!0?s=1:isNaN(s)&&(s=0),o.position[0]+=(n[0]-o.position[0])*(1-r),o.position[1]+=(n[1]-o.position[1])*(1-s),y.copy(n,o.position);var l=a.name;if(l){var h=this.__nodePositionMap[l];h||(h=this.__nodePositionMap[l]=y.create()),y.copy(h,n)}o.modSelf()}},_step:function(){this._syncNodePositions(),this._updateLinkShapes(),this.zr.refreshNextFrame(),this._layout.temperature>.01?this._layout.step(this._steps):this.messageCenter.dispatch(d.EVENT.FORCE_LAYOUT_END,{},{},this.myChart)},refresh:function(e){if(e&&(this.option=e,this.series=this.option.series),this.legend=this.component.legend,this.legend)this.getColor=function(e){return this.legend.getColor(e)},this.isSelected=function(e){return this.legend.isSelected(e)};else{var t={},i=0;this.getColor=function(e){return t[e]?t[e]:(t[e]||(t[e]=this.zr.getColor(i++)),t[e])},this.isSelected=function(){return!0}}this._init()},dispose:function(){this.clear(),this.shapeList=null,this.effectList=null,this._layout.dispose(),this._layout=null,this.__nodePositionMap={}},getPosition:function(){var e=[];return this._graph.eachNode(function(t){t.layout&&e.push({name:t.data.name,position:Array.prototype.slice.call(t.layout.position)})}),e}},c.inherits(t,r),e("../chart").define("force",t),t}),i("echarts/layout/Force",["require","./forceLayoutWorker","zrender/tool/vector"],function(e){function t(){if("undefined"!=typeof Worker&&"undefined"!=typeof Blob)try{var e=new Blob([n.getWorkerCode()]);i=window.URL.createObjectURL(e)}catch(t){i=""}return i}var i,n=e("./forceLayoutWorker"),a=e("zrender/tool/vector"),o=window.requestAnimationFrame||window.msRequestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){setTimeout(e,16)},r="undefined"==typeof Float32Array?Array:Float32Array,s=function(e){"undefined"==typeof i&&t(),e=e||{},this.width=e.width||500,this.height=e.height||500,this.center=e.center||[this.width/2,this.height/2],this.ratioScaling=e.ratioScaling||!1,this.scaling=e.scaling||1,this.gravity="undefined"!=typeof e.gravity?e.gravity:1,this.large=e.large||!1,this.preventNodeOverlap=e.preventNodeOverlap||!1,this.preventNodeEdgeOverlap=e.preventNodeEdgeOverlap||!1,this.maxSpeedIncrease=e.maxSpeedIncrease||1,this.onupdate=e.onupdate||function(){},this.temperature=e.temperature||1,this.coolDown=e.coolDown||.99,this._layout=null,this._layoutWorker=null;var n=this,a=this._$onupdate;this._$onupdate=function(e){a.call(n,e)}};return s.prototype.updateConfig=function(){var e=this.width,t=this.height,i=Math.min(e,t),n={center:this.center,width:this.ratioScaling?e:i,height:this.ratioScaling?t:i,scaling:this.scaling||1,gravity:this.gravity||1,barnesHutOptimize:this.large,preventNodeOverlap:this.preventNodeOverlap,preventNodeEdgeOverlap:this.preventNodeEdgeOverlap,maxSpeedIncrease:this.maxSpeedIncrease};if(this._layoutWorker)this._layoutWorker.postMessage({cmd:"updateConfig",config:n});else for(var a in n)this._layout[a]=n[a]},s.prototype.init=function(e,t){if(this._layoutWorker&&(this._layoutWorker.terminate(),this._layoutWorker=null),i&&t)try{this._layoutWorker||(this._layoutWorker=new Worker(i),this._layoutWorker.onmessage=this._$onupdate),this._layout=null}catch(a){this._layoutWorker=null,this._layout||(this._layout=new n)}else this._layout||(this._layout=new n);this.temperature=1,this.graph=e;for(var o=e.nodes.length,s=new r(2*o),l=new r(o),h=new r(o),m=0;o>m;m++){var V=e.nodes[m];s[2*m]=V.layout.position[0],s[2*m+1]=V.layout.position[1],l[m]="undefined"==typeof V.layout.mass?1:V.layout.mass,h[m]="undefined"==typeof V.layout.size?1:V.layout.size,V.layout.__index=m}o=e.edges.length;for(var U=new r(2*o),d=new r(o),m=0;o>m;m++){var p=e.edges[m];U[2*m]=p.node1.layout.__index,U[2*m+1]=p.node2.layout.__index,d[m]=p.layout.weight||1}this._layoutWorker?this._layoutWorker.postMessage({cmd:"init",nodesPosition:s,nodesMass:l,nodesSize:h,edges:U,edgesWeight:d}):(this._layout.initNodes(s,l,h),this._layout.initEdges(U,d)),this.updateConfig()},s.prototype.step=function(e){var t=this.graph.nodes;if(this._layoutWorker){for(var i=new r(2*t.length),n=0;n<t.length;n++){var s=t[n];i[2*n]=s.layout.position[0],i[2*n+1]=s.layout.position[1]}this._layoutWorker.postMessage(i.buffer,[i.buffer]),this._layoutWorker.postMessage({cmd:"update",steps:e,temperature:this.temperature,coolDown:this.coolDown});for(var n=0;e>n;n++)this.temperature*=this.coolDown}else{o(this._$onupdate);for(var n=0;n<t.length;n++){var s=t[n];a.copy(this._layout.nodes[n].position,s.layout.position)}for(var n=0;e>n;n++)this._layout.temperature=this.temperature,this._layout.update(),this.temperature*=this.coolDown}},s.prototype._$onupdate=function(e){if(this._layoutWorker){for(var t=new Float32Array(e.data),i=0;i<this.graph.nodes.length;i++){var n=this.graph.nodes[i];n.layout.position[0]=t[2*i],n.layout.position[1]=t[2*i+1]}this.onupdate&&this.onupdate()}else if(this._layout){for(var i=0;i<this.graph.nodes.length;i++){var n=this.graph.nodes[i];a.copy(n.layout.position,this._layout.nodes[i].position)}this.onupdate&&this.onupdate()}},s.prototype.dispose=function(){this._layoutWorker&&this._layoutWorker.terminate(),this._layoutWorker=null,this._layout=null},s}),i("echarts/layout/forceLayoutWorker",["require","zrender/tool/vector"],function o(e){"use strict";function t(){this.subRegions=[],this.nSubRegions=0,this.node=null,this.mass=0,this.centerOfMass=null,this.bbox=new l(4),this.size=0}function i(){this.position=r.create(),this.force=r.create(),this.forcePrev=r.create(),this.speed=r.create(),this.speedPrev=r.create(),this.mass=1,this.inDegree=0,this.outDegree=0}function n(e,t){this.node1=e,this.node2=t,this.weight=1}function a(){this.barnesHutOptimize=!1,this.barnesHutTheta=1.5,this.repulsionByDegree=!1,this.preventNodeOverlap=!1,this.preventNodeEdgeOverlap=!1,this.strongGravity=!0,this.gravity=1,this.scaling=1,this.edgeWeightInfluence=1,this.center=[0,0],this.width=500,this.height=500,this.maxSpeedIncrease=1,this.nodes=[],this.edges=[],this.bbox=new l(4),this._rootRegion=new t,this._rootRegion.centerOfMass=r.create(),this._massArr=null,this._k=0}var r,s="undefined"==typeof window&&"undefined"==typeof e;r=s?{create:function(e,t){var i=new Float32Array(2);return i[0]=e||0,i[1]=t||0,i},dist:function(e,t){var i=t[0]-e[0],n=t[1]-e[1];return Math.sqrt(i*i+n*n)},len:function(e){var t=e[0],i=e[1];return Math.sqrt(t*t+i*i)},scaleAndAdd:function(e,t,i,n){return e[0]=t[0]+i[0]*n,e[1]=t[1]+i[1]*n,e},scale:function(e,t,i){return e[0]=t[0]*i,e[1]=t[1]*i,e},add:function(e,t,i){return e[0]=t[0]+i[0],e[1]=t[1]+i[1],e},sub:function(e,t,i){return e[0]=t[0]-i[0],e[1]=t[1]-i[1],e},dot:function(e,t){return e[0]*t[0]+e[1]*t[1]},normalize:function(e,t){var i=t[0],n=t[1],a=i*i+n*n;return a>0&&(a=1/Math.sqrt(a),e[0]=t[0]*a,e[1]=t[1]*a),e},negate:function(e,t){return e[0]=-t[0],e[1]=-t[1],e},copy:function(e,t){return e[0]=t[0],e[1]=t[1],e},set:function(e,t,i){return e[0]=t,e[1]=i,e}}:e("zrender/tool/vector");var l="undefined"==typeof Float32Array?Array:Float32Array;if(t.prototype.beforeUpdate=function(){for(var e=0;e<this.nSubRegions;e++)this.subRegions[e].beforeUpdate();this.mass=0,this.centerOfMass&&(this.centerOfMass[0]=0,this.centerOfMass[1]=0),this.nSubRegions=0,this.node=null},t.prototype.afterUpdate=function(){this.subRegions.length=this.nSubRegions;for(var e=0;e<this.nSubRegions;e++)this.subRegions[e].afterUpdate()},t.prototype.addNode=function(e){if(0===this.nSubRegions){if(null==this.node)return void(this.node=e);this._addNodeToSubRegion(this.node),this.node=null}this._addNodeToSubRegion(e),this._updateCenterOfMass(e)},t.prototype.findSubRegion=function(e,t){for(var i=0;i<this.nSubRegions;i++){var n=this.subRegions[i];if(n.contain(e,t))return n}},t.prototype.contain=function(e,t){return this.bbox[0]<=e&&this.bbox[2]>=e&&this.bbox[1]<=t&&this.bbox[3]>=t},t.prototype.setBBox=function(e,t,i,n){this.bbox[0]=e,this.bbox[1]=t,this.bbox[2]=i,this.bbox[3]=n,this.size=(i-e+n-t)/2},t.prototype._newSubRegion=function(){var e=this.subRegions[this.nSubRegions];return e||(e=new t,this.subRegions[this.nSubRegions]=e),this.nSubRegions++,e},t.prototype._addNodeToSubRegion=function(e){var t=this.findSubRegion(e.position[0],e.position[1]),i=this.bbox;if(!t){var n=(i[0]+i[2])/2,a=(i[1]+i[3])/2,o=(i[2]-i[0])/2,r=(i[3]-i[1])/2,s=e.position[0]>=n?1:0,l=e.position[1]>=a?1:0,t=this._newSubRegion();t.setBBox(s*o+i[0],l*r+i[1],(s+1)*o+i[0],(l+1)*r+i[1])}t.addNode(e)},t.prototype._updateCenterOfMass=function(e){null==this.centerOfMass&&(this.centerOfMass=r.create());var t=this.centerOfMass[0]*this.mass,i=this.centerOfMass[1]*this.mass;t+=e.position[0]*e.mass,i+=e.position[1]*e.mass,this.mass+=e.mass,this.centerOfMass[0]=t/this.mass,this.centerOfMass[1]=i/this.mass},a.prototype.nodeToNodeRepulsionFactor=function(e,t,i){return i*i*e/t},a.prototype.edgeToNodeRepulsionFactor=function(e,t,i){return i*e/t},a.prototype.attractionFactor=function(e,t,i){return e*t/i},a.prototype.initNodes=function(e,t,n){this.temperature=1;var a=e.length/2;this.nodes.length=0;for(var o="undefined"!=typeof n,r=0;a>r;r++){var s=new i;s.position[0]=e[2*r],s.position[1]=e[2*r+1],s.mass=t[r],o&&(s.size=n[r]),this.nodes.push(s)}this._massArr=t,o&&(this._sizeArr=n)},a.prototype.initEdges=function(e,t){var i=e.length/2;this.edges.length=0;for(var a="undefined"!=typeof t,o=0;i>o;o++){var r=e[2*o],s=e[2*o+1],l=this.nodes[r],h=this.nodes[s];if(l&&h){l.outDegree++,h.inDegree++;var m=new n(l,h);a&&(m.weight=t[o]),this.edges.push(m)}}},a.prototype.update=function(){var e=this.nodes.length;if(this.updateBBox(),this._k=.4*this.scaling*Math.sqrt(this.width*this.height/e),this.barnesHutOptimize){this._rootRegion.setBBox(this.bbox[0],this.bbox[1],this.bbox[2],this.bbox[3]),this._rootRegion.beforeUpdate();for(var t=0;e>t;t++)this._rootRegion.addNode(this.nodes[t]);this._rootRegion.afterUpdate()}else{var i=0,n=this._rootRegion.centerOfMass;r.set(n,0,0);for(var t=0;e>t;t++){var a=this.nodes[t];i+=a.mass,r.scaleAndAdd(n,n,a.position,a.mass);
+
+}i>0&&r.scale(n,n,1/i)}this.updateForce(),this.updatePosition()},a.prototype.updateForce=function(){for(var e=this.nodes.length,t=0;e>t;t++){var i=this.nodes[t];r.copy(i.forcePrev,i.force),r.copy(i.speedPrev,i.speed),r.set(i.force,0,0)}this.updateNodeNodeForce(),this.gravity>0&&this.updateGravityForce(),this.updateEdgeForce(),this.preventNodeEdgeOverlap&&this.updateNodeEdgeForce()},a.prototype.updatePosition=function(){for(var e=this.nodes.length,t=r.create(),i=0;e>i;i++){var n=this.nodes[i],a=n.speed;r.scale(n.force,n.force,1/30);var o=r.len(n.force)+.1,s=Math.min(o,500)/o;r.scale(n.force,n.force,s),r.add(a,a,n.force),r.scale(a,a,this.temperature),r.sub(t,a,n.speedPrev);var l=r.len(t);if(l>0){r.scale(t,t,1/l);var h=r.len(n.speedPrev);h>0&&(l=Math.min(l/h,this.maxSpeedIncrease)*h,r.scaleAndAdd(a,n.speedPrev,t,l))}var m=r.len(a),s=Math.min(m,100)/(m+.1);r.scale(a,a,s),r.add(n.position,n.position,a)}},a.prototype.updateNodeNodeForce=function(){for(var e=this.nodes.length,t=0;e>t;t++){var i=this.nodes[t];if(this.barnesHutOptimize)this.applyRegionToNodeRepulsion(this._rootRegion,i);else for(var n=t+1;e>n;n++){var a=this.nodes[n];this.applyNodeToNodeRepulsion(i,a,!1)}}},a.prototype.updateGravityForce=function(){for(var e=0;e<this.nodes.length;e++)this.applyNodeGravity(this.nodes[e])},a.prototype.updateEdgeForce=function(){for(var e=0;e<this.edges.length;e++)this.applyEdgeAttraction(this.edges[e])},a.prototype.updateNodeEdgeForce=function(){for(var e=0;e<this.nodes.length;e++)for(var t=0;t<this.edges.length;t++)this.applyEdgeToNodeRepulsion(this.edges[t],this.nodes[e])},a.prototype.applyRegionToNodeRepulsion=function(){var e=r.create();return function(t,i){if(t.node)this.applyNodeToNodeRepulsion(t.node,i,!0);else{if(0===t.mass&&0===i.mass)return;r.sub(e,i.position,t.centerOfMass);var n=e[0]*e[0]+e[1]*e[1];if(n>this.barnesHutTheta*t.size*t.size){var a=this._k*this._k*(i.mass+t.mass)/(n+1);r.scaleAndAdd(i.force,i.force,e,2*a)}else for(var o=0;o<t.nSubRegions;o++)this.applyRegionToNodeRepulsion(t.subRegions[o],i)}}}(),a.prototype.applyNodeToNodeRepulsion=function(){var e=r.create();return function(t,i,n){if(t!==i&&(0!==t.mass||0!==i.mass)){r.sub(e,t.position,i.position);var a=e[0]*e[0]+e[1]*e[1];if(0!==a){var o,s=t.mass+i.mass,l=Math.sqrt(a);r.scale(e,e,1/l),this.preventNodeOverlap?(l=l-t.size-i.size,l>0?o=this.nodeToNodeRepulsionFactor(s,l,this._k):0>=l&&(o=this._k*this._k*10*s)):o=this.nodeToNodeRepulsionFactor(s,l,this._k),n||r.scaleAndAdd(t.force,t.force,e,2*o),r.scaleAndAdd(i.force,i.force,e,2*-o)}}}}(),a.prototype.applyEdgeAttraction=function(){var e=r.create();return function(t){var i=t.node1,n=t.node2;r.sub(e,i.position,n.position);var a,o=r.len(e);a=0===this.edgeWeightInfluence?1:1==this.edgeWeightInfluence?t.weight:Math.pow(t.weight,this.edgeWeightInfluence);var s;if(!(this.preventOverlap&&(o=o-i.size-n.size,0>=o))){var s=this.attractionFactor(a,o,this._k);r.scaleAndAdd(i.force,i.force,e,-s),r.scaleAndAdd(n.force,n.force,e,s)}}}(),a.prototype.applyNodeGravity=function(){var e=r.create();return function(t){r.sub(e,this.center,t.position),this.width>this.height?e[1]*=this.width/this.height:e[0]*=this.height/this.width;var i=r.len(e)/100;this.strongGravity?r.scaleAndAdd(t.force,t.force,e,i*this.gravity*t.mass):r.scaleAndAdd(t.force,t.force,e,this.gravity*t.mass/(i+1))}}(),a.prototype.applyEdgeToNodeRepulsion=function(){var e=r.create(),t=r.create(),i=r.create();return function(n,a){var o=n.node1,s=n.node2;if(o!==a&&s!==a){r.sub(e,s.position,o.position),r.sub(t,a.position,o.position);var l=r.len(e);r.scale(e,e,1/l);var h=r.dot(e,t);if(!(0>h||h>l)){r.scaleAndAdd(i,o.position,e,h);var m=r.dist(i,a.position)-a.size,V=this.edgeToNodeRepulsionFactor(a.mass,Math.max(m,.1),100);r.sub(e,a.position,i),r.normalize(e,e),r.scaleAndAdd(a.force,a.force,e,V),r.scaleAndAdd(o.force,o.force,e,-V),r.scaleAndAdd(s.force,s.force,e,-V)}}}}(),a.prototype.updateBBox=function(){for(var e=1/0,t=1/0,i=-(1/0),n=-(1/0),a=0;a<this.nodes.length;a++){var o=this.nodes[a].position;e=Math.min(e,o[0]),t=Math.min(t,o[1]),i=Math.max(i,o[0]),n=Math.max(n,o[1])}this.bbox[0]=e,this.bbox[1]=t,this.bbox[2]=i,this.bbox[3]=n},a.getWorkerCode=function(){var e=o.toString();return e.slice(e.indexOf("{")+1,e.lastIndexOf("return"))},s){var h=null;self.onmessage=function(e){if(e.data instanceof ArrayBuffer){if(!h)return;for(var t=new Float32Array(e.data),i=t.length/2,n=0;i>n;n++){var o=h.nodes[n];o.position[0]=t[2*n],o.position[1]=t[2*n+1]}}else switch(e.data.cmd){case"init":h||(h=new a),h.initNodes(e.data.nodesPosition,e.data.nodesMass,e.data.nodesSize),h.initEdges(e.data.edges,e.data.edgesWeight);break;case"updateConfig":if(h)for(var r in e.data.config)h[r]=e.data.config[r];break;case"update":var s=e.data.steps;if(h){var i=h.nodes.length,t=new Float32Array(2*i);h.temperature=e.data.temperature;for(var n=0;s>n;n++)h.update(),h.temperature*=e.data.coolDown;for(var n=0;i>n;n++){var o=h.nodes[n];t[2*n]=o.position[0],t[2*n+1]=o.position[1]}self.postMessage(t.buffer,[t.buffer])}else{var l=new Float32Array;self.postMessage(l.buffer,[l.buffer])}}}}return a}),i("echarts/chart/map",["require","./base","zrender/shape/Text","zrender/shape/Path","zrender/shape/Circle","zrender/shape/Rectangle","zrender/shape/Line","zrender/shape/Polygon","zrender/shape/Ellipse","zrender/shape/Image","../component/dataRange","../component/roamController","../layer/heatmap","../config","../util/ecData","zrender/tool/util","zrender/config","zrender/tool/event","../util/mapData/params","../util/mapData/textFixed","../util/mapData/geoCoord","../util/projection/svg","../util/projection/normal","../chart"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o);var r=this;r._onmousewheel=function(e){return r.__onmousewheel(e)},r._onmousedown=function(e){return r.__onmousedown(e)},r._onmousemove=function(e){return r.__onmousemove(e)},r._onmouseup=function(e){return r.__onmouseup(e)},r._onroamcontroller=function(e){return r.__onroamcontroller(e)},r._ondrhoverlink=function(e){return r.__ondrhoverlink(e)},this._isAlive=!0,this._selectedMode={},this._activeMapType={},this._clickable={},this._hoverable={},this._showLegendSymbol={},this._selected={},this._mapTypeMap={},this._mapDataMap={},this._nameMap={},this._specialArea={},this._refreshDelayTicket,this._mapDataRequireCounter,this._markAnimation=!1,this._hoverLinkMap={},this._roamMap={},this._scaleLimitMap={},this._mx,this._my,this._mousedown,this._justMove,this._curMapType,this.refresh(a),this.zr.on(c.EVENT.MOUSEWHEEL,this._onmousewheel),this.zr.on(c.EVENT.MOUSEDOWN,this._onmousedown),t.bind(U.EVENT.ROAMCONTROLLER,this._onroamcontroller),t.bind(U.EVENT.DATA_RANGE_HOVERLINK,this._ondrhoverlink)}var i=e("./base"),n=e("zrender/shape/Text"),a=e("zrender/shape/Path"),o=e("zrender/shape/Circle"),r=e("zrender/shape/Rectangle"),s=e("zrender/shape/Line"),l=e("zrender/shape/Polygon"),h=e("zrender/shape/Ellipse"),m=e("zrender/shape/Image");e("../component/dataRange"),e("../component/roamController");var V=e("../layer/heatmap"),U=e("../config");U.map={zlevel:0,z:2,mapType:"china",showLegendSymbol:!0,dataRangeHoverLink:!0,hoverable:!0,clickable:!0,itemStyle:{normal:{borderColor:"rgba(0,0,0,0)",borderWidth:1,areaStyle:{color:"#ccc"},label:{show:!1,textStyle:{color:"rgb(139,69,19)"}}},emphasis:{borderColor:"rgba(0,0,0,0)",borderWidth:1,areaStyle:{color:"rgba(255,215,0,0.8)"},label:{show:!1,textStyle:{color:"rgb(100,0,0)"}}}}};var d=e("../util/ecData"),p=e("zrender/tool/util"),c=e("zrender/config"),u=e("zrender/tool/event"),y=e("../util/mapData/params").params,g=e("../util/mapData/textFixed"),b=e("../util/mapData/geoCoord");return t.prototype={type:U.CHART_TYPE_MAP,_buildShape:function(){var e=this.series;this.selectedMap={},this._activeMapType={};for(var t,i,n,a,o=this.component.legend,r={},s={},l={},h={},m=0,V=e.length;V>m;m++)if(e[m].type==U.CHART_TYPE_MAP&&(e[m]=this.reformOption(e[m]),i=e[m].mapType,s[i]=s[i]||{},s[i][m]=!0,l[i]=l[i]||e[m].mapValuePrecision,this._scaleLimitMap[i]=this._scaleLimitMap[i]||{},e[m].scaleLimit&&p.merge(this._scaleLimitMap[i],e[m].scaleLimit,!0),this._roamMap[i]=e[m].roam||this._roamMap[i],(null==this._hoverLinkMap[i]||this._hoverLinkMap[i])&&(this._hoverLinkMap[i]=e[m].dataRangeHoverLink),this._nameMap[i]=this._nameMap[i]||{},e[m].nameMap&&p.merge(this._nameMap[i],e[m].nameMap,!0),this._activeMapType[i]=!0,e[m].textFixed&&p.merge(g,e[m].textFixed,!0),e[m].geoCoord&&p.merge(b,e[m].geoCoord,!0),this._selectedMode[i]=this._selectedMode[i]||e[m].selectedMode,(null==this._hoverable[i]||this._hoverable[i])&&(this._hoverable[i]=e[m].hoverable),(null==this._clickable[i]||this._clickable[i])&&(this._clickable[i]=e[m].clickable),(null==this._showLegendSymbol[i]||this._showLegendSymbol[i])&&(this._showLegendSymbol[i]=e[m].showLegendSymbol),h[i]=h[i]||e[m].mapValueCalculation,t=e[m].name,this.selectedMap[t]=o?o.isSelected(t):!0,this.selectedMap[t])){r[i]=r[i]||{},n=e[m].data;for(var d=0,c=n.length;c>d;d++){a=this._nameChange(i,n[d].name),r[i][a]=r[i][a]||{seriesIndex:[],valueMap:{},precision:0};for(var u in n[d])"value"!=u?r[i][a][u]=n[d][u]:isNaN(n[d].value)||(null==r[i][a].value&&(r[i][a].value=0),r[i][a].precision=Math.max(this.getPrecision(+n[d].value),r[i][a].precision),r[i][a].value+=+n[d].value,r[i][a].valueMap[m]=+n[d].value);r[i][a].seriesIndex.push(m)}}this._mapDataRequireCounter=0;for(var f in r)this._mapDataRequireCounter++;this._clearSelected(),0===this._mapDataRequireCounter&&(this.clear(),this.zr&&this.zr.delShape(this.lastShapeList),this.lastShapeList=[]);for(var f in r){for(var c in r[f]){"average"==h[f]&&(r[f][c].value/=r[f][c].seriesIndex.length);var k=r[f][c].value;null!=k&&(r[f][c].value=k.toFixed(null==l[f]?r[f][c].precision:l[f])-0)}this._mapDataMap[f]=this._mapDataMap[f]||{},this._mapDataMap[f].mapData?this._mapDataCallback(f,r[f],s[f])(this._mapDataMap[f].mapData):y[f.replace(/\|.*/,"")].getGeoJson&&(this._specialArea[f]=y[f.replace(/\|.*/,"")].specialArea||this._specialArea[f],y[f.replace(/\|.*/,"")].getGeoJson(this._mapDataCallback(f,r[f],s[f])))}},_mapDataCallback:function(t,i,n){var a=this;return function(o){a._isAlive&&null!=a._activeMapType[t]&&(-1!=t.indexOf("|")&&(o=a._getSubMapData(t,o)),a._mapDataMap[t].mapData=o,o.firstChild?(a._mapDataMap[t].rate=1,a._mapDataMap[t].projection=e("../util/projection/svg")):(a._mapDataMap[t].rate=.75,a._mapDataMap[t].projection=e("../util/projection/normal")),a._buildMap(t,a._getProjectionData(t,o,n),i,n),a._buildMark(t,n),--a._mapDataRequireCounter<=0&&(a.addShapeList(),a.zr.refreshNextFrame()),a._buildHeatmap(t))}},_clearSelected:function(){for(var e in this._selected)this._activeMapType[this._mapTypeMap[e]]||(delete this._selected[e],delete this._mapTypeMap[e])},_getSubMapData:function(e,t){for(var i=e.replace(/^.*\|/,""),n=t.features,a=0,o=n.length;o>a;a++)if(n[a].properties&&n[a].properties.name==i){n=n[a],"United States of America"==i&&n.geometry.coordinates.length>1&&(n={geometry:{coordinates:n.geometry.coordinates.slice(5,6),type:n.geometry.type},id:n.id,properties:n.properties,type:n.type});break}return{type:"FeatureCollection",features:[n]}},_getProjectionData:function(e,t,i){var n,a=this._mapDataMap[e].projection,o=[],r=this._mapDataMap[e].bbox||a.getBbox(t,this._specialArea[e]);n=this._mapDataMap[e].hasRoam?this._mapDataMap[e].transform:this._getTransform(r,i,this._mapDataMap[e].rate);var s,l=this._mapDataMap[e].lastTransform||{scale:{}};n.left!=l.left||n.top!=l.top||n.scale.x!=l.scale.x||n.scale.y!=l.scale.y?(s=a.geoJson2Path(t,n,this._specialArea[e]),l=p.clone(n)):(n=this._mapDataMap[e].transform,s=this._mapDataMap[e].pathArray),this._mapDataMap[e].bbox=r,this._mapDataMap[e].transform=n,this._mapDataMap[e].lastTransform=l,this._mapDataMap[e].pathArray=s;for(var h=[n.left,n.top],m=0,V=s.length;V>m;m++)o.push(this._getSingleProvince(e,s[m],h));if(this._specialArea[e])for(var U in this._specialArea[e])o.push(this._getSpecialProjectionData(e,t,U,this._specialArea[e][U],h));if("china"==e){var d=this.geo2pos(e,b["鍗楁捣璇稿矝"]||y["鍗楁捣璇稿矝"].textCoord),c=n.scale.x/10.5,u=[32*c+d[0],83*c+d[1]];g["鍗楁捣璇稿矝"]&&(u[0]+=g["鍗楁捣璇稿矝"][0],u[1]+=g["鍗楁捣璇稿矝"][1]),o.push({name:this._nameChange(e,"鍗楁捣璇稿矝"),path:y["鍗楁捣璇稿矝"].getPath(d,c),position:h,textX:u[0],textY:u[1]})}return o},_getSpecialProjectionData:function(t,i,n,a,o){i=this._getSubMapData("x|"+n,i);var r=e("../util/projection/normal"),s=r.getBbox(i),l=this.geo2pos(t,[a.left,a.top]),h=this.geo2pos(t,[a.left+a.width,a.top+a.height]),m=Math.abs(h[0]-l[0]),V=Math.abs(h[1]-l[1]),U=s.width,d=s.height,p=m/.75/U,c=V/d;p>c?(p=.75*c,m=U*p):(c=p,p=.75*c,V=d*c);var u={OffsetLeft:l[0],OffsetTop:l[1],scale:{x:p,y:c}},y=r.geoJson2Path(i,u);return this._getSingleProvince(t,y[0],o)},_getSingleProvince:function(e,t,i){var n,a=t.properties.name,o=g[a]||[0,0];if(b[a])n=this.geo2pos(e,b[a]);else if(t.cp)n=[t.cp[0]+o[0],t.cp[1]+o[1]];else{var r=this._mapDataMap[e].bbox;n=this.geo2pos(e,[r.left+r.width/2,r.top+r.height/2]),n[0]+=o[0],n[1]+=o[1]}return t.name=this._nameChange(e,a),t.position=i,t.textX=n[0],t.textY=n[1],t},_getTransform:function(e,t,i){var n,a,o,r,s,l,h,m=this.series,V=this.zr.getWidth(),U=this.zr.getHeight(),d=Math.round(.02*Math.min(V,U));for(var p in t)n=m[p].mapLocation||{},o=n.x||o,s=n.y||s,l=n.width||l,h=n.height||h;a=this.parsePercent(o,V),a=isNaN(a)?d:a,r=this.parsePercent(s,U),r=isNaN(r)?d:r,l=null==l?V-a-2*d:this.parsePercent(l,V),h=null==h?U-r-2*d:this.parsePercent(h,U);var c=e.width,u=e.height,y=l/i/c,g=h/u;if(y>g?(y=g*i,l=c*y):(g=y,y=g*i,h=u*g),isNaN(o))switch(o=o||"center",o+""){case"center":a=Math.floor((V-l)/2);break;case"right":a=V-l}if(isNaN(s))switch(s=s||"center",s+""){case"center":r=Math.floor((U-h)/2);break;case"bottom":r=U-h}return{left:a,top:r,width:l,height:h,baseScale:1,scale:{x:y,y:g}}},_buildMap:function(e,t,i,m){for(var V,c,u,y,g,b,f,k,x,_,L,W=this.series,X=this.component.legend,v=this.component.dataRange,w=0,K=t.length;K>w;w++){if(k=p.clone(t[w]),x={name:k.name,path:k.path,position:p.clone(k.position)},c=k.name,u=i[c]){g=[u],V="";for(var I=0,J=u.seriesIndex.length;J>I;I++){var C=W[u.seriesIndex[I]];g.push(C),V+=C.name+" ",X&&this._showLegendSymbol[e]&&X.hasColor(C.name)&&this.shapeList.push(new o({zlevel:C.zlevel,z:C.z+1,position:p.clone(k.position),_mapType:e,style:{x:k.textX+3+7*I,y:k.textY-10,r:3,color:X.getColor(C.name)},hoverable:!1}))}y=u.value}else{u={name:c,value:"-"},V="",g=[];for(var S in m)g.push(W[S]);y="-"}switch(this.ecTheme.map&&g.push(this.ecTheme.map),g.push(U.map),b=v&&!isNaN(y)?v.getColor(y):null,k.color=k.color||b||this.getItemStyleColor(this.deepQuery(g,"itemStyle.normal.color"),u.seriesIndex,-1,u)||this.deepQuery(g,"itemStyle.normal.areaStyle.color"),k.strokeColor=k.strokeColor||this.deepQuery(g,"itemStyle.normal.borderColor"),k.lineWidth=k.lineWidth||this.deepQuery(g,"itemStyle.normal.borderWidth"),x.color=this.getItemStyleColor(this.deepQuery(g,"itemStyle.emphasis.color"),u.seriesIndex,-1,u)||this.deepQuery(g,"itemStyle.emphasis.areaStyle.color")||k.color,x.strokeColor=this.deepQuery(g,"itemStyle.emphasis.borderColor")||k.strokeColor,x.lineWidth=this.deepQuery(g,"itemStyle.emphasis.borderWidth")||k.lineWidth,k.brushType=x.brushType=k.brushType||"both",k.lineJoin=x.lineJoin="round",k._name=x._name=c,f=this.deepQuery(g,"itemStyle.normal.label.textStyle"),L={zlevel:this.getZlevelBase(),z:this.getZBase()+1,position:p.clone(k.position),_mapType:e,_geo:this.pos2geo(e,[k.textX,k.textY]),style:{brushType:"fill",x:k.textX,y:k.textY,text:this.getLabelText(c,y,g,"normal"),_name:c,textAlign:"center",color:this.deepQuery(g,"itemStyle.normal.label.show")?this.deepQuery(g,"itemStyle.normal.label.textStyle.color"):"rgba(0,0,0,0)",textFont:this.getFont(f)}},L._style=p.clone(L.style),L.highlightStyle=p.clone(L.style),this.deepQuery(g,"itemStyle.emphasis.label.show")?(L.highlightStyle.text=this.getLabelText(c,y,g,"emphasis"),L.highlightStyle.color=this.deepQuery(g,"itemStyle.emphasis.label.textStyle.color")||L.style.color,f=this.deepQuery(g,"itemStyle.emphasis.label.textStyle")||f,L.highlightStyle.textFont=this.getFont(f)):L.highlightStyle.color="rgba(0,0,0,0)",_={zlevel:this.getZlevelBase(),z:this.getZBase(),position:p.clone(k.position),style:k,highlightStyle:x,_style:p.clone(k),_mapType:e},null!=k.scale&&(_.scale=p.clone(k.scale)),L=new n(L),_.style.shapeType){case"rectangle":_=new r(_);break;case"line":_=new s(_);break;case"circle":_=new o(_);break;case"polygon":_=new l(_);break;case"ellipse":_=new h(_);break;default:_=new a(_),_.buildPathArray&&(_.style.pathArray=_.buildPathArray(_.style.path))}(this._selectedMode[e]&&this._selected[c]&&u.selected!==!1||u.selected===!0)&&(L.style=L.highlightStyle,_.style=_.highlightStyle),L.clickable=_.clickable=this._clickable[e]&&(null==u.clickable||u.clickable),this._selectedMode[e]&&(this._selected[c]=null!=this._selected[c]?this._selected[c]:u.selected,this._mapTypeMap[c]=e,(null==u.selectable||u.selectable)&&(_.clickable=L.clickable=!0,_.onclick=L.onclick=this.shapeHandler.onclick)),this._hoverable[e]&&(null==u.hoverable||u.hoverable)?(L.hoverable=_.hoverable=!0,_.hoverConnect=L.id,L.hoverConnect=_.id):L.hoverable=_.hoverable=!1,d.pack(L,{name:V,tooltip:this.deepQuery(g,"tooltip")},0,u,0,c),this.shapeList.push(L),d.pack(_,{name:V,tooltip:this.deepQuery(g,"tooltip")},0,u,0,c),this.shapeList.push(_)}},_buildMark:function(e,t){this._seriesIndexToMapType=this._seriesIndexToMapType||{},this.markAttachStyle=this.markAttachStyle||{};var i=[this._mapDataMap[e].transform.left,this._mapDataMap[e].transform.top];"none"==e&&(i=[0,0]);for(var n in t)this._seriesIndexToMapType[n]=e,this.markAttachStyle[n]={position:i,_mapType:e},this.buildMark(n)},_buildHeatmap:function(e){for(var t=this.series,i=0,n=t.length;n>i;i++)if(t[i].heatmap){var a=t[i].heatmap.data;if(t[i].heatmap.needsTransform===!1){for(var o=[],r=0,s=a.length;s>r;++r)o.push([a[r][3],a[r][4],a[r][2]]);var l=[0,0]}else{var h=t[i].heatmap._geoData;if(void 0===h){t[i].heatmap._geoData=[];for(var r=0,s=a.length;s>r;++r)t[i].heatmap._geoData[r]=a[r];h=t[i].heatmap._geoData}for(var s=a.length,U=0;s>U;++U)a[U]=this.geo2pos(e,[h[U][0],h[U][1]]);var l=[this._mapDataMap[e].transform.left,this._mapDataMap[e].transform.top]}var d=new V(t[i].heatmap),p=d.getCanvas(a[0][3]?o:a,this.zr.getWidth(),this.zr.getHeight()),c=new m({zlevel:this.getZlevelBase(),z:this.getZBase()+1,position:l,scale:[1,1],hoverable:!1,style:{x:0,y:0,image:p,width:p.width,height:p.height}});c.type="heatmap",c._mapType=e,this.shapeList.push(c),this.zr.addShape(c)}},getMarkCoord:function(e,t){return t.geoCoord||b[t.name]?this.geo2pos(this._seriesIndexToMapType[e],t.geoCoord||b[t.name]):[0,0]},getMarkGeo:function(e){return e.geoCoord||b[e.name]},_nameChange:function(e,t){return this._nameMap[e][t]||t},getLabelText:function(e,t,i,n){var a=this.deepQuery(i,"itemStyle."+n+".label.formatter");return a?"function"==typeof a?a.call(this.myChart,e,t):"string"==typeof a?(a=a.replace("{a}","{a0}").replace("{b}","{b0}"),a=a.replace("{a0}",e).replace("{b0}",t)):void 0:e},_findMapTypeByPos:function(e,t){var i,n,a,o,r;for(var s in this._mapDataMap)if(i=this._mapDataMap[s].transform,i&&this._roamMap[s]&&this._activeMapType[s]&&(n=i.left,a=i.top,o=i.width,r=i.height,e>=n&&n+o>=e&&t>=a&&a+r>=t))return s},__onmousewheel:function(e){function t(e,t){for(var i=0;i<e.pointList.length;i++){var n=e.pointList[i];n[0]*=t,n[1]*=t}var a=e.controlPointList;if(a)for(var i=0;i<a.length;i++){var n=a[i];n[0]*=t,n[1]*=t}}function i(e,t){e.xStart*=t,e.yStart*=t,e.xEnd*=t,e.yEnd*=t,null!=e.cpX1&&(e.cpX1*=t,e.cpY1*=t)}if(!(this.shapeList.length<=0)){for(var n=0,a=this.shapeList.length;a>n;n++){var o=this.shapeList[n];if(o.__animating)return}var r,s,l=e.event,h=u.getX(l),m=u.getY(l),V=u.getDelta(l),d=e.mapTypeControl;d||(d={},s=this._findMapTypeByPos(h,m),s&&this._roamMap[s]&&"move"!=this._roamMap[s]&&(d[s]=!0));var p=!1;for(s in d)if(d[s]){p=!0;var c=this._mapDataMap[s].transform,y=c.left,g=c.top,b=c.width,f=c.height,k=this.pos2geo(s,[h-y,m-g]);if(V>0){if(r=1.2,null!=this._scaleLimitMap[s].max&&c.baseScale>=this._scaleLimitMap[s].max)continue}else if(r=1/1.2,null!=this._scaleLimitMap[s].min&&c.baseScale<=this._scaleLimitMap[s].min)continue;c.baseScale*=r,c.scale.x*=r,c.scale.y*=r,c.width=b*r,c.height=f*r,this._mapDataMap[s].hasRoam=!0,this._mapDataMap[s].transform=c,k=this.geo2pos(s,k),c.left-=k[0]-(h-y),c.top-=k[1]-(m-g),this._mapDataMap[s].transform=c,this.clearEffectShape(!0);for(var n=0,a=this.shapeList.length;a>n;n++){var o=this.shapeList[n];if(o._mapType==s){var x=o.type,_=o.style;switch(o.position[0]=c.left,o.position[1]=c.top,x){case"path":case"symbol":case"circle":case"rectangle":case"polygon":case"line":case"ellipse":case"heatmap":o.scale[0]*=r,o.scale[1]*=r;break;case"mark-line":i(_,r);break;case"polyline":t(_,r);break;case"shape-bundle":for(var L=0;L<_.shapeList.length;L++){var W=_.shapeList[L];"mark-line"==W.type?i(W.style,r):"polyline"==W.type&&t(W.style,r)}break;case"icon":case"image":k=this.geo2pos(s,o._geo),_.x=_._x=k[0]-_.width/2,_.y=_._y=k[1]-_.height/2;break;default:k=this.geo2pos(s,o._geo),_.x=k[0],_.y=k[1],"text"==x&&(o._style.x=o.highlightStyle.x=k[0],o._style.y=o.highlightStyle.y=k[1])}this.zr.modShape(o.id)}}}if(p){u.stop(l),this.zr.refreshNextFrame();var X=this;clearTimeout(this._refreshDelayTicket),this._refreshDelayTicket=setTimeout(function(){X&&X.shapeList&&X.animationEffect()},100),this.messageCenter.dispatch(U.EVENT.MAP_ROAM,e.event,{type:"scale"},this.myChart)}}},__onmousedown:function(e){if(!(this.shapeList.length<=0)){var t=e.target;if(!t||!t.draggable){var i=e.event,n=u.getX(i),a=u.getY(i),o=this._findMapTypeByPos(n,a);if(o&&this._roamMap[o]&&"scale"!=this._roamMap[o]){this._mousedown=!0,this._mx=n,this._my=a,this._curMapType=o,this.zr.on(c.EVENT.MOUSEUP,this._onmouseup);var r=this;setTimeout(function(){r.zr.on(c.EVENT.MOUSEMOVE,r._onmousemove)},100)}}}},__onmousemove:function(e){if(this._mousedown&&this._isAlive){var t=e.event,i=u.getX(t),n=u.getY(t),a=this._mapDataMap[this._curMapType].transform;a.hasRoam=!0,a.left-=this._mx-i,a.top-=this._my-n,this._mx=i,this._my=n,this._mapDataMap[this._curMapType].transform=a;for(var o=0,r=this.shapeList.length;r>o;o++)this.shapeList[o]._mapType==this._curMapType&&(this.shapeList[o].position[0]=a.left,this.shapeList[o].position[1]=a.top,this.zr.modShape(this.shapeList[o].id));this.messageCenter.dispatch(U.EVENT.MAP_ROAM,e.event,{type:"move"},this.myChart),this.clearEffectShape(!0),this.zr.refreshNextFrame(),this._justMove=!0,u.stop(t)}},__onmouseup:function(e){var t=e.event;this._mx=u.getX(t),this._my=u.getY(t),this._mousedown=!1;var i=this;setTimeout(function(){i._justMove&&i.animationEffect(),i._justMove=!1,i.zr.un(c.EVENT.MOUSEMOVE,i._onmousemove),i.zr.un(c.EVENT.MOUSEUP,i._onmouseup)},120)},__onroamcontroller:function(e){var t=e.event;t.zrenderX=this.zr.getWidth()/2,t.zrenderY=this.zr.getHeight()/2;var i=e.mapTypeControl,n=0,a=0,o=e.step;switch(e.roamType){case"scaleUp":return t.zrenderDelta=1,void this.__onmousewheel({event:t,mapTypeControl:i});case"scaleDown":return t.zrenderDelta=-1,void this.__onmousewheel({event:t,mapTypeControl:i});case"up":n=-o;break;case"down":n=o;break;case"left":a=-o;break;case"right":a=o}var r,s;for(s in i)this._mapDataMap[s]&&this._activeMapType[s]&&(r=this._mapDataMap[s].transform,r.hasRoam=!0,r.left-=a,r.top-=n,this._mapDataMap[s].transform=r);for(var l=0,h=this.shapeList.length;h>l;l++)s=this.shapeList[l]._mapType,i[s]&&this._activeMapType[s]&&(r=this._mapDataMap[s].transform,this.shapeList[l].position[0]=r.left,this.shapeList[l].position[1]=r.top,this.zr.modShape(this.shapeList[l].id));this.messageCenter.dispatch(U.EVENT.MAP_ROAM,e.event,{type:"move"},this.myChart),this.clearEffectShape(!0),this.zr.refreshNextFrame(),clearTimeout(this.dircetionTimer);var m=this;this.dircetionTimer=setTimeout(function(){m.animationEffect()},150)},__ondrhoverlink:function(e){for(var t,i,n=0,a=this.shapeList.length;a>n;n++)t=this.shapeList[n]._mapType,this._hoverLinkMap[t]&&this._activeMapType[t]&&(i=d.get(this.shapeList[n],"value"),null!=i&&i>=e.valueMin&&i<=e.valueMax&&this.zr.addHoverShape(this.shapeList[n]))},onclick:function(e){if(this.isClick&&e.target&&!this._justMove&&"icon"!=e.target.type){this.isClick=!1;var t=e.target,i=t.style._name,n=this.shapeList.length,a=t._mapType||"";if("single"==this._selectedMode[a])for(var o in this._selected)if(this._selected[o]&&this._mapTypeMap[o]==a){for(var r=0;n>r;r++)this.shapeList[r].style._name==o&&this.shapeList[r]._mapType==a&&(this.shapeList[r].style=this.shapeList[r]._style,this.zr.modShape(this.shapeList[r].id));o!=i&&(this._selected[o]=!1)}this._selected[i]=!this._selected[i];for(var r=0;n>r;r++)this.shapeList[r].style._name==i&&this.shapeList[r]._mapType==a&&(this.shapeList[r].style=this._selected[i]?this.shapeList[r].highlightStyle:this.shapeList[r]._style,this.zr.modShape(this.shapeList[r].id));this.messageCenter.dispatch(U.EVENT.MAP_SELECTED,e.event,{selected:this._selected,target:i},this.myChart),this.zr.refreshNextFrame();var s=this;setTimeout(function(){s.zr.trigger(c.EVENT.MOUSEMOVE,e.event)},100)}},refresh:function(e){e&&(this.option=e,this.series=e.series),this._mapDataRequireCounter>0?this.clear():this.backupShapeList(),this._buildShape(),this.zr.refreshHover()},ondataRange:function(e,t){this.component.dataRange&&(this.refresh(),t.needRefresh=!0)},pos2geo:function(e,t){return this._mapDataMap[e].transform?this._mapDataMap[e].projection.pos2geo(this._mapDataMap[e].transform,t):null},getGeoByPos:function(e,t){if(!this._mapDataMap[e].transform)return null;var i=[this._mapDataMap[e].transform.left,this._mapDataMap[e].transform.top];return t instanceof Array?(t[0]-=i[0],t[1]-=i[1]):(t.x-=i[0],t.y-=i[1]),this.pos2geo(e,t)},geo2pos:function(e,t){return this._mapDataMap[e].transform?this._mapDataMap[e].projection.geo2pos(this._mapDataMap[e].transform,t):null},getPosByGeo:function(e,t){if(!this._mapDataMap[e].transform)return null;var i=this.geo2pos(e,t);return i[0]+=this._mapDataMap[e].transform.left,i[1]+=this._mapDataMap[e].transform.top,i},getMapPosition:function(e){return this._mapDataMap[e].transform?[this._mapDataMap[e].transform.left,this._mapDataMap[e].transform.top]:null},onbeforDispose:function(){this._isAlive=!1,this.zr.un(c.EVENT.MOUSEWHEEL,this._onmousewheel),this.zr.un(c.EVENT.MOUSEDOWN,this._onmousedown),this.messageCenter.unbind(U.EVENT.ROAMCONTROLLER,this._onroamcontroller),this.messageCenter.unbind(U.EVENT.DATA_RANGE_HOVERLINK,this._ondrhoverlink)}},p.inherits(t,i),e("../chart").define("map",t),t}),i("zrender/shape/Path",["require","./Base","./util/PathProxy","../tool/util"],function(e){var t=e("./Base"),i=e("./util/PathProxy"),n=i.PathSegment,a=function(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])},o=function(e,t){return(e[0]*t[0]+e[1]*t[1])/(a(e)*a(t))},r=function(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(o(e,t))},s=function(e){t.call(this,e)};return s.prototype={type:"path",buildPathArray:function(e,t,i){if(!e)return[];t=t||0,i=i||0;var a=e,o=["m","M","l","L","v","V","h","H","z","Z","c","C","q","Q","t","T","s","S","a","A"];a=a.replace(/-/g," -"),a=a.replace(/ /g," "),a=a.replace(/ /g,","),a=a.replace(/,,/g,",");var r;for(r=0;r<o.length;r++)a=a.replace(new RegExp(o[r],"g"),"|"+o[r]);var s=a.split("|"),l=[],h=0,m=0;for(r=1;r<s.length;r++){var V=s[r],U=V.charAt(0);V=V.slice(1),V=V.replace(new RegExp("e,-","g"),"e-");var d=V.split(",");d.length>0&&""===d[0]&&d.shift();for(var p=0;p<d.length;p++)d[p]=parseFloat(d[p]);for(;d.length>0&&!isNaN(d[0]);){var c,u,y,g,b,f,k,x,_=null,L=[],W=h,X=m;switch(U){case"l":h+=d.shift(),m+=d.shift(),_="L",L.push(h,m);break;case"L":h=d.shift(),m=d.shift(),L.push(h,m);break;case"m":h+=d.shift(),m+=d.shift(),_="M",L.push(h,m),U="l";break;case"M":h=d.shift(),m=d.shift(),_="M",L.push(h,m),U="L";break;case"h":h+=d.shift(),_="L",L.push(h,m);break;case"H":h=d.shift(),_="L",L.push(h,m);break;case"v":m+=d.shift(),_="L",L.push(h,m);break;case"V":m=d.shift(),_="L",L.push(h,m);break;case"C":L.push(d.shift(),d.shift(),d.shift(),d.shift()),h=d.shift(),m=d.shift(),L.push(h,m);break;case"c":L.push(h+d.shift(),m+d.shift(),h+d.shift(),m+d.shift()),h+=d.shift(),m+=d.shift(),_="C",L.push(h,m);break;case"S":c=h,u=m,y=l[l.length-1],"C"===y.command&&(c=h+(h-y.points[2]),u=m+(m-y.points[3])),L.push(c,u,d.shift(),d.shift()),h=d.shift(),m=d.shift(),_="C",L.push(h,m);break;case"s":c=h,u=m,y=l[l.length-1],"C"===y.command&&(c=h+(h-y.points[2]),u=m+(m-y.points[3])),L.push(c,u,h+d.shift(),m+d.shift()),h+=d.shift(),m+=d.shift(),_="C",L.push(h,m);break;case"Q":L.push(d.shift(),d.shift()),h=d.shift(),m=d.shift(),L.push(h,m);break;case"q":L.push(h+d.shift(),m+d.shift()),h+=d.shift(),m+=d.shift(),_="Q",L.push(h,m);break;case"T":c=h,u=m,y=l[l.length-1],"Q"===y.command&&(c=h+(h-y.points[0]),u=m+(m-y.points[1])),h=d.shift(),m=d.shift(),_="Q",L.push(c,u,h,m);break;case"t":c=h,u=m,y=l[l.length-1],"Q"===y.command&&(c=h+(h-y.points[0]),u=m+(m-y.points[1])),h+=d.shift(),m+=d.shift(),_="Q",L.push(c,u,h,m);break;case"A":g=d.shift(),b=d.shift(),f=d.shift(),k=d.shift(),x=d.shift(),W=h,X=m,h=d.shift(),m=d.shift(),_="A",L=this._convertPoint(W,X,h,m,k,x,g,b,f);break;case"a":g=d.shift(),b=d.shift(),f=d.shift(),k=d.shift(),x=d.shift(),W=h,X=m,h+=d.shift(),m+=d.shift(),_="A",L=this._convertPoint(W,X,h,m,k,x,g,b,f)}for(var v=0,w=L.length;w>v;v+=2)L[v]+=t,L[v+1]+=i;l.push(new n(_||U,L))}("z"===U||"Z"===U)&&l.push(new n("z",[]))}return l},_convertPoint:function(e,t,i,n,a,s,l,h,m){var V=m*(Math.PI/180),U=Math.cos(V)*(e-i)/2+Math.sin(V)*(t-n)/2,d=-1*Math.sin(V)*(e-i)/2+Math.cos(V)*(t-n)/2,p=U*U/(l*l)+d*d/(h*h);p>1&&(l*=Math.sqrt(p),h*=Math.sqrt(p));var c=Math.sqrt((l*l*h*h-l*l*d*d-h*h*U*U)/(l*l*d*d+h*h*U*U));a===s&&(c*=-1),isNaN(c)&&(c=0);var u=c*l*d/h,y=c*-h*U/l,g=(e+i)/2+Math.cos(V)*u-Math.sin(V)*y,b=(t+n)/2+Math.sin(V)*u+Math.cos(V)*y,f=r([1,0],[(U-u)/l,(d-y)/h]),k=[(U-u)/l,(d-y)/h],x=[(-1*U-u)/l,(-1*d-y)/h],_=r(k,x);return o(k,x)<=-1&&(_=Math.PI),o(k,x)>=1&&(_=0),0===s&&_>0&&(_-=2*Math.PI),1===s&&0>_&&(_+=2*Math.PI),[g,b,l,h,f,_,V,s]},buildPath:function(e,t){var i=t.path,n=t.x||0,a=t.y||0;t.pathArray=t.pathArray||this.buildPathArray(i,n,a);for(var o=t.pathArray,r=t.pointList=[],s=[],l=0,h=o.length;h>l;l++){"M"==o[l].command.toUpperCase()&&(s.length>0&&r.push(s),s=[]);for(var m=o[l].points,V=0,U=m.length;U>V;V+=2)s.push([m[V],m[V+1]])}s.length>0&&r.push(s);for(var l=0,h=o.length;h>l;l++){var d=o[l].command,m=o[l].points;switch(d){case"L":e.lineTo(m[0],m[1]);break;case"M":e.moveTo(m[0],m[1]);break;case"C":e.bezierCurveTo(m[0],m[1],m[2],m[3],m[4],m[5]);break;case"Q":e.quadraticCurveTo(m[0],m[1],m[2],m[3]);break;case"A":var p=m[0],c=m[1],u=m[2],y=m[3],g=m[4],b=m[5],f=m[6],k=m[7],x=u>y?u:y,_=u>y?1:u/y,L=u>y?y/u:1;e.translate(p,c),e.rotate(f),e.scale(_,L),e.arc(0,0,x,g,g+b,1-k),e.scale(1/_,1/L),e.rotate(-f),e.translate(-p,-c);break;case"z":e.closePath()}}},getRect:function(e){if(e.__rect)return e.__rect;var t;t="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0;for(var i=Number.MAX_VALUE,n=Number.MIN_VALUE,a=Number.MAX_VALUE,o=Number.MIN_VALUE,r=e.x||0,s=e.y||0,l=e.pathArray||this.buildPathArray(e.path),h=0;h<l.length;h++)for(var m=l[h].points,V=0;V<m.length;V++)V%2===0?(m[V]+r<i&&(i=m[V]),m[V]+r>n&&(n=m[V])):(m[V]+s<a&&(a=m[V]),m[V]+s>o&&(o=m[V]));var U;return U=i===Number.MAX_VALUE||n===Number.MIN_VALUE||a===Number.MAX_VALUE||o===Number.MIN_VALUE?{x:0,y:0,width:0,height:0}:{x:Math.round(i-t/2),y:Math.round(a-t/2),width:n-i+t,height:o-a+t},e.__rect=U,U}},e("../tool/util").inherits(s,t),s}),i("zrender/shape/Ellipse",["require","./Base","../tool/util"],function(e){var t=e("./Base"),i=function(e){t.call(this,e)};return i.prototype={type:"ellipse",buildPath:function(e,t){var i=.5522848,n=t.x,a=t.y,o=t.a,r=t.b,s=o*i,l=r*i;e.moveTo(n-o,a),e.bezierCurveTo(n-o,a-l,n-s,a-r,n,a-r),e.bezierCurveTo(n+s,a-r,n+o,a-l,n+o,a),e.bezierCurveTo(n+o,a+l,n+s,a+r,n,a+r),e.bezierCurveTo(n-s,a+r,n-o,a+l,n-o,a),e.closePath()},getRect:function(e){if(e.__rect)return e.__rect;var t;return t="stroke"==e.brushType||"fill"==e.brushType?e.lineWidth||1:0,e.__rect={x:Math.round(e.x-e.a-t/2),
+y:Math.round(e.y-e.b-t/2),width:2*e.a+t,height:2*e.b+t},e.__rect}},e("../tool/util").inherits(i,t),i}),i("echarts/component/roamController",["require","./base","zrender/shape/Rectangle","zrender/shape/Sector","zrender/shape/Circle","../config","zrender/tool/util","zrender/tool/color","zrender/tool/event","../component"],function(e){function t(e,t,n,a,o){if(this.rcOption={},a.roamController&&a.roamController.show){if(!a.roamController.mapTypeControl)return void console.error("option.roamController.mapTypeControl has not been defined.");i.call(this,e,t,n,a,o),this.rcOption=a.roamController;var r=this;this._drictionMouseDown=function(e){return r.__drictionMouseDown(e)},this._drictionMouseUp=function(e){return r.__drictionMouseUp(e)},this._drictionMouseMove=function(e){return r.__drictionMouseMove(e)},this._drictionMouseOut=function(e){return r.__drictionMouseOut(e)},this._scaleHandler=function(e){return r.__scaleHandler(e)},this.refresh(a)}}var i=e("./base"),n=e("zrender/shape/Rectangle"),a=e("zrender/shape/Sector"),o=e("zrender/shape/Circle"),r=e("../config");r.roamController={zlevel:0,z:4,show:!0,x:"left",y:"top",width:80,height:120,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,handleColor:"#6495ed",fillerColor:"#fff",step:15,mapTypeControl:null};var s=e("zrender/tool/util"),l=e("zrender/tool/color"),h=e("zrender/tool/event");return t.prototype={type:r.COMPONENT_TYPE_ROAMCONTROLLER,_buildShape:function(){if(this.rcOption.show){this._itemGroupLocation=this._getItemGroupLocation(),this._buildBackground(),this._buildItem();for(var e=0,t=this.shapeList.length;t>e;e++)this.zr.addShape(this.shapeList[e])}},_buildItem:function(){this.shapeList.push(this._getDirectionShape("up")),this.shapeList.push(this._getDirectionShape("down")),this.shapeList.push(this._getDirectionShape("left")),this.shapeList.push(this._getDirectionShape("right")),this.shapeList.push(this._getScaleShape("scaleUp")),this.shapeList.push(this._getScaleShape("scaleDown"))},_getDirectionShape:function(e){var t=this._itemGroupLocation.r,i=this._itemGroupLocation.x+t,n=this._itemGroupLocation.y+t,o={zlevel:this.getZlevelBase(),z:this.getZBase(),style:{x:i,y:n,r:t,startAngle:-45,endAngle:45,color:this.rcOption.handleColor,text:">",textX:i+t/2+4,textY:n-.5,textAlign:"center",textBaseline:"middle",textPosition:"specific",textColor:this.rcOption.fillerColor,textFont:Math.floor(t/2)+"px arial"},highlightStyle:{color:l.lift(this.rcOption.handleColor,-.2),brushType:"fill"},clickable:!0};switch(e){case"up":o.rotation=[Math.PI/2,i,n];break;case"left":o.rotation=[Math.PI,i,n];break;case"down":o.rotation=[-Math.PI/2,i,n]}return o=new a(o),o._roamType=e,o.onmousedown=this._drictionMouseDown,o.onmouseup=this._drictionMouseUp,o.onmousemove=this._drictionMouseMove,o.onmouseout=this._drictionMouseOut,o},_getScaleShape:function(e){var t=this._itemGroupLocation.width,i=this._itemGroupLocation.height-t;i=0>i?20:i;var n=Math.min(t/2-5,i)/2,a=this._itemGroupLocation.x+("scaleDown"===e?t-n:n),r=this._itemGroupLocation.y+this._itemGroupLocation.height-n,s={zlevel:this.getZlevelBase(),z:this.getZBase(),style:{x:a,y:r,r:n,color:this.rcOption.handleColor,text:"scaleDown"===e?"-":"+",textX:a,textY:r-2,textAlign:"center",textBaseline:"middle",textPosition:"specific",textColor:this.rcOption.fillerColor,textFont:Math.floor(n)+"px verdana"},highlightStyle:{color:l.lift(this.rcOption.handleColor,-.2),brushType:"fill"},clickable:!0};return s=new o(s),s._roamType=e,s.onmousedown=this._scaleHandler,s},_buildBackground:function(){var e=this.reformCssArray(this.rcOption.padding);this.shapeList.push(new n({zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{x:this._itemGroupLocation.x-e[3],y:this._itemGroupLocation.y-e[0],width:this._itemGroupLocation.width+e[3]+e[1],height:this._itemGroupLocation.height+e[0]+e[2],brushType:0===this.rcOption.borderWidth?"fill":"both",color:this.rcOption.backgroundColor,strokeColor:this.rcOption.borderColor,lineWidth:this.rcOption.borderWidth}}))},_getItemGroupLocation:function(){var e,t=this.reformCssArray(this.rcOption.padding),i=this.rcOption.width,n=this.rcOption.height,a=this.zr.getWidth(),o=this.zr.getHeight();switch(this.rcOption.x){case"center":e=Math.floor((a-i)/2);break;case"left":e=t[3]+this.rcOption.borderWidth;break;case"right":e=a-i-t[1]-t[3]-2*this.rcOption.borderWidth;break;default:e=this.parsePercent(this.rcOption.x,a)}var r;switch(this.rcOption.y){case"top":r=t[0]+this.rcOption.borderWidth;break;case"bottom":r=o-n-t[0]-t[2]-2*this.rcOption.borderWidth;break;case"center":r=Math.floor((o-n)/2);break;default:r=this.parsePercent(this.rcOption.y,o)}return{x:e,y:r,r:i/2,width:i,height:n}},__drictionMouseDown:function(e){this.mousedown=!0,this._drictionHandlerOn(e)},__drictionMouseUp:function(e){this.mousedown=!1,this._drictionHandlerOff(e)},__drictionMouseMove:function(e){this.mousedown&&this._drictionHandlerOn(e)},__drictionMouseOut:function(e){this._drictionHandlerOff(e)},_drictionHandlerOn:function(e){this._dispatchEvent(e.event,e.target._roamType),clearInterval(this.dircetionTimer);var t=this;this.dircetionTimer=setInterval(function(){t._dispatchEvent(e.event,e.target._roamType)},100),h.stop(e.event)},_drictionHandlerOff:function(){clearInterval(this.dircetionTimer)},__scaleHandler:function(e){this._dispatchEvent(e.event,e.target._roamType),h.stop(e.event)},_dispatchEvent:function(e,t){this.messageCenter.dispatch(r.EVENT.ROAMCONTROLLER,e,{roamType:t,mapTypeControl:this.rcOption.mapTypeControl,step:this.rcOption.step},this.myChart)},refresh:function(e){e&&(this.option=e||this.option,this.option.roamController=this.reformOption(this.option.roamController),this.rcOption=this.option.roamController),this.clear(),this._buildShape()}},s.inherits(t,i),e("../component").define("roamController",t),t}),i("echarts/layer/heatmap",["require"],function(){function e(e){if(this.option=e,e)for(var i in t)this.option[i]=void 0!==e[i]?e[i]:t[i];else this.option=t}var t={blurSize:30,gradientColors:["blue","cyan","lime","yellow","red"],minAlpha:.05,valueScale:1,opacity:1},i=20,n=256;return e.prototype={getCanvas:function(e,t,a){var o=this._getBrush(),r=this._getGradient(),s=i+this.option.blurSize,l=document.createElement("canvas");l.width=t,l.height=a;for(var h=l.getContext("2d"),m=e.length,V=0;m>V;++V){var U=e[V],d=U[0],p=U[1],c=U[2],u=Math.min(1,Math.max(c*this.option.valueScale||this.option.minAlpha,this.option.minAlpha));h.globalAlpha=u,h.drawImage(o,d-s,p-s)}for(var y=h.getImageData(0,0,l.width,l.height),g=y.data,m=g.length/4;m--;){var b=4*m+3,u=g[b]/256,f=Math.floor(u*(n-1));g[b-3]=r[4*f],g[b-2]=r[4*f+1],g[b-1]=r[4*f+2],g[b]*=this.option.opacity}return h.putImageData(y,0,0),l},_getBrush:function(){if(!this._brushCanvas){this._brushCanvas=document.createElement("canvas");var e=i+this.option.blurSize,t=2*e;this._brushCanvas.width=t,this._brushCanvas.height=t;var n=this._brushCanvas.getContext("2d");n.shadowOffsetX=t,n.shadowBlur=this.option.blurSize,n.shadowColor="black",n.beginPath(),n.arc(-e,e,i,0,2*Math.PI,!0),n.closePath(),n.fill()}return this._brushCanvas},_getGradient:function(){if(!this._gradientPixels){var e=n,t=document.createElement("canvas");t.width=1,t.height=e;for(var i=t.getContext("2d"),a=i.createLinearGradient(0,0,0,e),o=this.option.gradientColors.length,r=0;o>r;++r)"string"==typeof this.option.gradientColors[r]?a.addColorStop((r+1)/o,this.option.gradientColors[r]):a.addColorStop(this.option.gradientColors[r].offset,this.option.gradientColors[r].color);i.fillStyle=a,i.fillRect(0,0,1,e),this._gradientPixels=i.getImageData(0,0,1,e).data}return this._gradientPixels}},e}),i("echarts/util/mapData/params",["require"],function(e){function t(e){if(!e.UTF8Encoding)return e;for(var t=e.features,n=0;n<t.length;n++)for(var a=t[n],o=a.geometry.coordinates,r=a.geometry.encodeOffsets,s=0;s<o.length;s++){var l=o[s];if("Polygon"===a.geometry.type)o[s]=i(l,r[s]);else if("MultiPolygon"===a.geometry.type)for(var h=0;h<l.length;h++){var m=l[h];l[h]=i(m,r[s][h])}}return e.UTF8Encoding=!1,e}function i(e,t){for(var i=[],n=t[0],a=t[1],o=0;o<e.length;o+=2){var r=e.charCodeAt(o)-64,s=e.charCodeAt(o+1)-64;r=r>>1^-(1&r),s=s>>1^-(1&s),r+=n,s+=a,n=r,a=s,i.push([r/1024,s/1024])}return i}var n={none:{getGeoJson:function(e){e({type:"FeatureCollection",features:[{type:"Feature",geometry:{coordinates:[],encodeOffsets:[],type:"Polygon"},properties:{}}]})}},world:{getGeoJson:function(i){e(["./geoJson/world_geo"],function(e){i(t(e))})}},china:{getGeoJson:function(i){e(["./geoJson/china_geo"],function(e){i(t(e))})}},"鍗楁捣璇稿矝":{textCoord:[126,25],getPath:function(e,t){for(var i=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],n="",a=e[0],o=e[1],r=0,s=i.length;s>r;r++){n+="M "+((i[r][0][0]*t+a).toFixed(2)-0)+" "+((i[r][0][1]*t+o).toFixed(2)-0)+" ";for(var l=1,h=i[r].length;h>l;l++)n+="L "+((i[r][l][0]*t+a).toFixed(2)-0)+" "+((i[r][l][1]*t+o).toFixed(2)-0)+" "}return n+" Z"}},"鏂扮枂":{getGeoJson:function(i){e(["./geoJson/xin_jiang_geo"],function(e){i(t(e))})}},"瑗胯棌":{getGeoJson:function(i){e(["./geoJson/xi_zang_geo"],function(e){i(t(e))})}},"鍐呰挋鍙�":{getGeoJson:function(i){e(["./geoJson/nei_meng_gu_geo"],function(e){i(t(e))})}},"闈掓捣":{getGeoJson:function(i){e(["./geoJson/qing_hai_geo"],function(e){i(t(e))})}},"鍥涘窛":{getGeoJson:function(i){e(["./geoJson/si_chuan_geo"],function(e){i(t(e))})}},"榛戦緳姹�":{getGeoJson:function(i){e(["./geoJson/hei_long_jiang_geo"],function(e){i(t(e))})}},"鐢樿們":{getGeoJson:function(i){e(["./geoJson/gan_su_geo"],function(e){i(t(e))})}},"浜戝崡":{getGeoJson:function(i){e(["./geoJson/yun_nan_geo"],function(e){i(t(e))})}},"骞胯タ":{getGeoJson:function(i){e(["./geoJson/guang_xi_geo"],function(e){i(t(e))})}},"婀栧崡":{getGeoJson:function(i){e(["./geoJson/hu_nan_geo"],function(e){i(t(e))})}},"闄曡タ":{getGeoJson:function(i){e(["./geoJson/shan_xi_1_geo"],function(e){i(t(e))})}},"骞夸笢":{getGeoJson:function(i){e(["./geoJson/guang_dong_geo"],function(e){i(t(e))})}},"鍚夋灄":{getGeoJson:function(i){e(["./geoJson/ji_lin_geo"],function(e){i(t(e))})}},"娌冲寳":{getGeoJson:function(i){e(["./geoJson/he_bei_geo"],function(e){i(t(e))})}},"婀栧寳":{getGeoJson:function(i){e(["./geoJson/hu_bei_geo"],function(e){i(t(e))})}},"璐靛窞":{getGeoJson:function(i){e(["./geoJson/gui_zhou_geo"],function(e){i(t(e))})}},"灞变笢":{getGeoJson:function(i){e(["./geoJson/shan_dong_geo"],function(e){i(t(e))})}},"姹熻タ":{getGeoJson:function(i){e(["./geoJson/jiang_xi_geo"],function(e){i(t(e))})}},"娌冲崡":{getGeoJson:function(i){e(["./geoJson/he_nan_geo"],function(e){i(t(e))})}},"杈藉畞":{getGeoJson:function(i){e(["./geoJson/liao_ning_geo"],function(e){i(t(e))})}},"灞辫タ":{getGeoJson:function(i){e(["./geoJson/shan_xi_2_geo"],function(e){i(t(e))})}},"瀹夊窘":{getGeoJson:function(i){e(["./geoJson/an_hui_geo"],function(e){i(t(e))})}},"绂忓缓":{getGeoJson:function(i){e(["./geoJson/fu_jian_geo"],function(e){i(t(e))})}},"娴欐睙":{getGeoJson:function(i){e(["./geoJson/zhe_jiang_geo"],function(e){i(t(e))})}},"姹熻嫃":{getGeoJson:function(i){e(["./geoJson/jiang_su_geo"],function(e){i(t(e))})}},"閲嶅簡":{getGeoJson:function(i){e(["./geoJson/chong_qing_geo"],function(e){i(t(e))})}},"瀹佸":{getGeoJson:function(i){e(["./geoJson/ning_xia_geo"],function(e){i(t(e))})}},"娴峰崡":{getGeoJson:function(i){e(["./geoJson/hai_nan_geo"],function(e){i(t(e))})}},"鍙版咕":{getGeoJson:function(i){e(["./geoJson/tai_wan_geo"],function(e){i(t(e))})}},"鍖椾含":{getGeoJson:function(i){e(["./geoJson/bei_jing_geo"],function(e){i(t(e))})}},"澶╂触":{getGeoJson:function(i){e(["./geoJson/tian_jin_geo"],function(e){i(t(e))})}},"涓婃捣":{getGeoJson:function(i){e(["./geoJson/shang_hai_geo"],function(e){i(t(e))})}},"棣欐腐":{getGeoJson:function(i){e(["./geoJson/xiang_gang_geo"],function(e){i(t(e))})}},"婢抽棬":{getGeoJson:function(i){e(["./geoJson/ao_men_geo"],function(e){i(t(e))})}}};return{decode:t,params:n}}),i("echarts/util/mapData/textFixed",[],function(){return{"骞夸笢":[0,-10],"棣欐腐":[10,10],"婢抽棬":[-10,18],"榛戦緳姹�":[0,20],"澶╂触":[5,5],"娣卞湷甯�":[-35,0],"绾㈡渤鍝堝凹鏃忓綕鏃忚嚜娌诲窞":[0,20],"妤氶泟褰濇棌鑷不宸�":[-5,15],"鐭虫渤瀛愬競":[-5,5],"浜斿娓犲競":[0,-10],"鏄屽悏鍥炴棌鑷不宸�":[10,10],"鏄屾睙榛庢棌鑷不鍘�":[0,20],"闄垫按榛庢棌鑷不鍘�":[0,20],"涓滄柟甯�":[0,20],"娓崡甯�":[0,20]}}),i("echarts/util/mapData/geoCoord",[],function(){return{Russia:[100,60],"United States of America":[-99,38]}}),i("echarts/util/projection/svg",["require","zrender/shape/Path"],function(e){function t(e){return parseFloat(e||0)}function i(e){for(var i=e.firstChild;"svg"!=i.nodeName.toLowerCase()||1!=i.nodeType;)i=i.nextSibling;var n=t(i.getAttribute("x")),a=t(i.getAttribute("y")),o=t(i.getAttribute("width")),r=t(i.getAttribute("height"));return{left:n,top:a,width:o,height:r}}function n(e,t){function i(e){var t=e.tagName;if(m[t]){var o=m[t](e,n);o&&(o.scale=n,o.properties={name:e.getAttribute("name")||""},o.id=e.id,s(o,e),a.push(o))}for(var r=e.childNodes,l=0,h=r.length;h>l;l++)i(r[l])}var n=[t.scale.x,t.scale.y],a=[];return i(e),a}function a(e,t){var i=t instanceof Array?[1*t[0],1*t[1]]:[1*t.x,1*t.y];return[i[0]/e.scale.x,i[1]/e.scale.y]}function o(e,t){var i=t instanceof Array?[1*t[0],1*t[1]]:[1*t.x,1*t.y];return[i[0]*e.scale.x,i[1]*e.scale.y]}function r(e){return e.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function s(e,t){var i=t.getAttribute("fill"),n=t.getAttribute("stroke"),a=t.getAttribute("stroke-width"),o=t.getAttribute("opacity");i&&"none"!=i?(e.color=i,n?(e.brushType="both",e.strokeColor=n):e.brushType="fill"):n&&"none"!=n&&(e.strokeColor=n,e.brushType="stroke"),a&&"none"!=a&&(e.lineWidth=parseFloat(a)),o&&"none"!=o&&(e.opacity=parseFloat(o))}function l(e){for(var t=r(e).replace(/,/g," ").split(/\s+/),i=[],n=0;n<t.length;){var a=parseFloat(t[n++]),o=parseFloat(t[n++]);i.push([a,o])}return i}var h=e("zrender/shape/Path"),m={path:function(e,t){var i=e.getAttribute("d"),n=h.prototype.getRect({path:i});return{shapeType:"path",path:i,cp:[(n.x+n.width/2)*t[0],(n.y+n.height/2)*t[1]]}},rect:function(e,i){var n=t(e.getAttribute("x")),a=t(e.getAttribute("y")),o=t(e.getAttribute("width")),r=t(e.getAttribute("height"));return{shapeType:"rectangle",x:n,y:a,width:o,height:r,cp:[(n+o/2)*i[0],(a+r/2)*i[1]]}},line:function(e,i){var n=t(e.getAttribute("x1")),a=t(e.getAttribute("y1")),o=t(e.getAttribute("x2")),r=t(e.getAttribute("y2"));return{shapeType:"line",xStart:n,yStart:a,xEnd:o,yEnd:r,cp:[.5*(n+o)*i[0],.5*(a+r)*i[1]]}},circle:function(e,i){var n=t(e.getAttribute("cx")),a=t(e.getAttribute("cy")),o=t(e.getAttribute("r"));return{shapeType:"circle",x:n,y:a,r:o,cp:[n*i[0],a*i[1]]}},ellipse:function(e,t){var i=parseFloat(e.getAttribute("cx")||0),n=parseFloat(e.getAttribute("cy")||0),a=parseFloat(e.getAttribute("rx")||0),o=parseFloat(e.getAttribute("ry")||0);return{shapeType:"ellipse",x:i,y:n,a:a,b:o,cp:[i*t[0],n*t[1]]}},polygon:function(e,t){var i=e.getAttribute("points"),n=[1/0,1/0],a=[-(1/0),-(1/0)];if(i){i=l(i);for(var o=0;o<i.length;o++){var r=i[o];n[0]=Math.min(r[0],n[0]),n[1]=Math.min(r[1],n[1]),a[0]=Math.max(r[0],a[0]),a[1]=Math.max(r[1],a[1])}return{shapeType:"polygon",pointList:i,cp:[(n[0]+a[0])/2*t[0],(n[1]+a[1])/2*t[0]]}}},polyline:function(e,t){var i=m.polygon(e,t);return i}};return{getBbox:i,geoJson2Path:n,pos2geo:a,geo2pos:o}}),i("echarts/util/projection/normal",[],function(){function e(e,i){return i=i||{},e.srcSize||t(e,i),e.srcSize}function t(e,t){t=t||{},r.xmin=360,r.xmax=-360,r.ymin=180,r.ymax=-180;for(var i,n,a=e.features,o=0,s=a.length;s>o;o++)if(n=a[o],!n.properties.name||!t[n.properties.name])switch(n.type){case"Feature":r[n.geometry.type](n.geometry.coordinates);break;case"GeometryCollection":i=n.geometries;for(var l=0,h=i.length;h>l;l++)r[i[l].type](i[l].coordinates)}return e.srcSize={left:1*r.xmin.toFixed(4),top:1*r.ymin.toFixed(4),width:1*(r.xmax-r.xmin).toFixed(4),height:1*(r.ymax-r.ymin).toFixed(4)},e}function i(e,i,n){function a(e,t){c=e.type,u=e.coordinates,o._bbox={xmin:360,xmax:-360,ymin:180,ymax:-180},y=o[c](u),m.push({path:y,cp:o.makePoint(t.properties.cp?t.properties.cp:[(o._bbox.xmin+o._bbox.xmax)/2,(o._bbox.ymin+o._bbox.ymax)/2]),properties:t.properties,id:t.id})}n=n||{},o.scale=null,o.offset=null,e.srcSize||t(e,n),i.offset={x:e.srcSize.left,y:e.srcSize.top,left:i.OffsetLeft||0,top:i.OffsetTop||0},o.scale=i.scale,o.offset=i.offset;for(var r,s,l,h=e.features,m=[],V=0,U=h.length;U>V;V++)if(l=h[V],!l.properties.name||!n[l.properties.name])if("Feature"==l.type)a(l.geometry,l);else if("GeometryCollection"==l.type){r=l.geometries;for(var d=0,p=r.length;p>d;d++)s=r[d],a(s,s)}var c,u,y;return m}function n(e,t){var i,n;return t instanceof Array?(i=1*t[0],n=1*t[1]):(i=1*t.x,n=1*t.y),i=i/e.scale.x+e.offset.x-168.5,i=i>180?i-360:i,n=90-(n/e.scale.y+e.offset.y),[i,n]}function a(e,t){return o.offset=e.offset,o.scale=e.scale,o.makePoint(t instanceof Array?[1*t[0],1*t[1]]:[1*t.x,1*t.y])}var o={formatPoint:function(e){return[(e[0]<-168.5&&e[1]>63.8?e[0]+360:e[0])+168.5,90-e[1]]},makePoint:function(e){var t=this,i=t.formatPoint(e);t._bbox.xmin>e[0]&&(t._bbox.xmin=e[0]),t._bbox.xmax<e[0]&&(t._bbox.xmax=e[0]),t._bbox.ymin>e[1]&&(t._bbox.ymin=e[1]),t._bbox.ymax<e[1]&&(t._bbox.ymax=e[1]);var n=(i[0]-o.offset.x)*o.scale.x+o.offset.left,a=(i[1]-o.offset.y)*o.scale.y+o.offset.top;return[n,a]},Point:function(e){return e=this.makePoint(e),e.join(",")},LineString:function(e){for(var t,i="",n=0,a=e.length;a>n;n++)t=o.makePoint(e[n]),i=0===n?"M"+t.join(","):i+"L"+t.join(",");return i},Polygon:function(e){for(var t="",i=0,n=e.length;n>i;i++)t=t+o.LineString(e[i])+"z";return t},MultiPoint:function(e){for(var t=[],i=0,n=e.length;n>i;i++)t.push(o.Point(e[i]));return t},MultiLineString:function(e){for(var t="",i=0,n=e.length;n>i;i++)t+=o.LineString(e[i]);return t},MultiPolygon:function(e){for(var t="",i=0,n=e.length;n>i;i++)t+=o.Polygon(e[i]);return t}},r={formatPoint:o.formatPoint,makePoint:function(e){var t=this,i=t.formatPoint(e),n=i[0],a=i[1];t.xmin>n&&(t.xmin=n),t.xmax<n&&(t.xmax=n),t.ymin>a&&(t.ymin=a),t.ymax<a&&(t.ymax=a)},Point:function(e){this.makePoint(e)},LineString:function(e){for(var t=0,i=e.length;i>t;t++)this.makePoint(e[t])},Polygon:function(e){for(var t=0,i=e.length;i>t;t++)this.LineString(e[t])},MultiPoint:function(e){for(var t=0,i=e.length;i>t;t++)this.Point(e[t])},MultiLineString:function(e){for(var t=0,i=e.length;i>t;t++)this.LineString(e[t])},MultiPolygon:function(e){for(var t=0,i=e.length;i>t;t++)this.Polygon(e[t])}};return{getBbox:e,geoJson2Path:i,pos2geo:n,geo2pos:a}}),i("echarts/util/mapData/geoJson/an_hui_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"3415",properties:{name:"鍏畨甯�",cp:[116.3123,31.8329],childNum:6},geometry:{type:"Polygon",coordinates:["@@聞聞nJ聜UXUV聝掳U聞脩nU@mlLVaVln@@bn@VU@xlb@l職LnKl聧職聝VI聞J職UVxnI@lVL@b聞聨掳VX@聵b聞x聞nVVUnVVnU聜聸@kX@VwV@聞al楼UUnUWa@聝@w母U聞LU楼lKUa@aUI@alLVaU聝炉an聝WkUKm@X聧V@VaX聧lW@aU_UWVU聝I炉@ma炉W炉聶聶I@UU@WWU@U@@UU@VkV@@WUUm@UaU@聞聧lK@IUK聞L@KWmXUWaXI@聝@a@a@U@U@KV楼lw聞k掳b虏JVIVKlV@UX聞la聞Ul`聹UVLVVVU職J聞U@Lnm@_VK@KUIW@聶J@Xk@WW@U聴聝m聧m聶XmWk@聧kK@aUU聝Vmmk聧UwUmWL聶聧聛@WmU@聶聧UJmUULkKWakLWVkI聝l聝wUL聛聝W@X掳l聬UJ@掳UL聝聧WV聴wmJ@bmb炉Vk聛m@@W聛kWm炉w聝L@lkX聝WmX聛ym炉UImJUbkV聶@Vn炉聞@V@lUb聝@mk聛@maUxmlUbULWn@J聴LmKUkWKkwUK聝bm聞X聞WxkVUKmLkVV聬@JUUWL@xkJUU聝V@X@VVlUbVX@xk陇職x聜录聹xWxn聞聜nn@脼录聞JVb掳aVn聞@職mlnXU聞JlbVlkz@聜l聬U聨l聬XJmxVxXnWxX脠WlU聨@職UxU@VX@xUL@職U脝mLnV@lWXk@@JlbXblnlJ"],encodeOffsets:[[118710,33351]]}},{type:"Feature",id:"3408",properties:{name:"瀹夊簡甯�",cp:[116.7517,30.5255],childNum:9},geometry:{type:"Polygon",coordinates:["@@n掳聜znW聞XlW@k聞K掳xXn聜l@Xn@l聜掳Una@anI聵xXU聞聨VK@炉VIk聫W炉X@聜聞VK聞x聞klJXUlKXblLVKnVVI職聨V@Xn聜@職聨XKVnVxl聨nn聞UlmV@虏贸UkV聶lW聞b聞聛l聝職聝n@VVVIn@lw@WVIXblV聞@脠x聜aUaVIVVnKVL職K聞聝ln@b虏K@禄U拢聝脩姆聝摹脻脜b聶K聶a@Im@脹聧聞聫@kW脫kkmK脜n贸J聝U脜拢聸W@w聞臅@w膲牛炉炉聝UkK卤l炉U聝楼U脩k聧脻U姆禄脻楼炉聬聶J聝IU聨VbUl炉脠V录VJU录Vb@bkLUl@聞VJ@bUX脟職@lkVmXmKkLVx聛職聜聨聞V聝L@VkVV聬Vl聛zW聵kbmLUUUbVbUV聶職l脪nJlUnLllUL@bU聞Vx聞l聜LXV脝娄脠VU娄WJ"],encodeOffsets:[[118834,31759]]}},{type:"Feature",id:"3411",properties:{name:"婊佸窞甯�",cp:[118.1909,32.536],childNum:7},geometry:{type:"Polygon",coordinates:["@@職聞@`nnl@聞x職K@X掳KXV聵IXVlbXVWnX聜lL@職脠禄聜LVan@VJ聞锚VVn@聜聬X@la脼bVa聝yn@聞_聜xnWVXnWl@VnUVkI@l聜nXKVLVV@V@聬kW@LlV么聞@J@bVnnKnkVa@禄l莽@聝nw職Kma聶UUUV脩職@n聶mWXalI@alVn@VwUaVU聞@聞nla么JnU聞VVXlJ職aXXVK@U職V@VWx@nXVW職XV職UlLUbV聜ULVVnUVbUbVb職@@a聞K脝nnKVK@U@UU@@a聞@V聝掳炉脠JVIl姆@a聛a聵聧UaVKU_@mkxUI@a聝UlyU@@聛聶wkKWmUbUnUVWbkJW_聛J@b聝n@Vm@@KULk@V@@bVb脜m@LW@UVVbkK@UkKWL@VULUKWIUJUbkK@_WVXU聸Jka@X聝V聛a@k職y@aVIUUW@@m聞UlL聹KW脩UKVan@UkVmmIXK聝aVaUwVU@UmykU炉@卤UUL@WUIV聫UU@KkIWa聝aU@kUUa脟聝U聛贸禄mK聝k炉@聛y@kWK@bkI炉`mn聶l炉XWlkVUzUJlbUbVJl@nnm聞@VULV`XnW脝聴bmUUn聶JmUkn聝J炉km@聝yk@kU聸x聛L@VUbmnn陇lX@`聶z@JmaULUVl@Xn@xllkXWa聴aW@UVmU聛b聝@mVX職WxXbWbU聨聝脪nVVnVVUL"],encodeOffsets:[[120004,33520]]}},{type:"Feature",id:"3418",properties:{name:"瀹e煄甯�",cp:[118.8062,30.6244],childNum:7},geometry:{type:"Polygon",coordinates:["@@Vb@聞XL聵JXxlIXxlVlV@I虏陇職nlUnV職U@VULWVUJ@Lnb@lV@UnV@@VVVlLnbnJ聜UVkUUVWn@@anUVnVJVIV聜聛@@nUJVbUb聜聞@VUbVK@bn@VbnIlxkllXVlXKWUXUlL掳陇UVVb@b職聞UlkXW聜聝xXz@聜聞Ila聞Ul聝nUlJVInV脝J聞U聞LVUnV聞K掳@VnlVnxV@XLlK@wVL@KnUlJXU聵bnKVLX聞l聫Uw@聛VWlLXKm@@a聞@VLnmlIVVnKn@職kVa職Vlwk@@a@k@聝VIUa聶聫@聧maUa@wna@kmW聝聶UUmVUIV脟聴聧@a聝Km聬聶a聝聶kU聶J@In聫mUUaVa聞k聜lX@Vk@m@聧VU@wnK@alKVUkUkK聝bmUkm聝@U拢WVk@@U脻b聛b聝a脟x@b聛@WVUa炉聝@wVwUUV@VwnK@KWa脜聛@K職IUyUI@WmX贸聶UbWa聛Km聧聶@km@IUy聝IUaWK聝x@zUKUL@llVUnkLVVkJWX@VUKUV聝IkVWakb@VWb@n@JkXUlmL@xkL@`Vx職LU脠UJ@Vm@@bmIUlUL@VUVVbknm@mKUw聶KV脠@J@L聛V卤kkJUI聝l"],encodeOffsets:[[120803,31247]]}},{type:"Feature",id:"3412",properties:{name:"闃滈槼甯�",cp:[115.7629,32.9919],childNum:6},geometry:{type:"Polygon",coordinates:["@@V聶n聝職@職a聞k掳a職卤@聧聜楼@UUI@aUmlwUU聛x聸b@楼XU@mmI@a@Kn@@_W@@W聞I@m職UVVXUl@XaV@聜K@I@a聞LX聫@aVI掳K@KVL聞UUw聜yXk職K@k職K脝bXnlK@k@a聞JlU@w@U@禄@aXKW聝n_聜JXkVKn聝@聧掳LlKX聝W@炉U聝聧@aUK@kmJUw聶V聝IUJ聶聞k聨mL聶K@kka@wUVm@@am@UkUbkK@nmV聝脪炉VU聞WV聛VmI聝聝ULk@聝聝ma@kkK聝聝@nUbUamU聶`UUVUkKVkk聝W@@bkm聝n聝mUXVKXV聝L@V聝bU聞m聜聶bVX聛J@nmK脜I@KWKUXVJUL@VUKUX@KUKWL@LUJmaXXm@kVVV@L@VUL@VlK@L@V@LUK@VUb@UUU@掳@nVxU`聜Lkn@`@XVJ@X聶Vm聞k@UKmV炉LVV聛n卤W聛聬m@Ub@JlLUl聞@VLk聞@lmVVn@bnV@V掳IV聶職aVJXI掳K掳V@XXVlVVU聞n職KVlU職聞bWXnV@bV`U聞聞@@聬m@@聜聝@nxmn@bXVlL@陇nb聞Ul娄職VVUnJVU聞Vl@@b脼L"],encodeOffsets:[[118418,34392]]}},{type:"Feature",id:"3413",properties:{name:"瀹垮窞甯�",cp:[117.5208,33.6841],childNum:5},geometry:{type:"Polygon",coordinates:["@@@UWU@bkW@aWU@aUIkWV聶lLXb聞lVIUVV@聜mn@V_n@VaUK@I聜@Ua職anJVU聞@lV聞UVnnKVVlaUa聞I@wnK聜Lnll@nVlk@wVKXkl@@b聞bUJ@V聜U@U聞UUyVk@aVUXwlWXX聜WU鹿@aU聶@WUI@mlU職n聞J@Il@職aXbV@VKl@XxVL@W聞I職Jlb聞@聞al@聞IUUm@@aVK@楼炉聴@mU姆炉bW聝k拢Vm@a聛km@Va脜@UVWa聝@U聛聛JWk聝J聴U聝bWbU@Ul聝Xk@聝amV@K炉nk@聝lU@Uxmz@bU`脟bUb脜Vm拢U@Ww聶x@akLUK@UlakwUJWVkLmaUal@n_聝mVUnKVUUm脜XWa聶@kJmx@XUJ@bVLXxl@VVUVV聞UbkLWbU@@lUVV聞VVX聞聸K@XkJ@nU@@bV@VxUVlb聞U@xXLW聨n@UxVbV膴聞V@b@XV`mnkJ@kUKmb聝aU@Vbnb脝x@XU@@`k@@bl聞聶@@bkL@W聝akXWaU@Vmkx@XWW@聧@wUUUb聝J聶U炉V聶@炉脼U@WxX聨lL@bkb@聨lVln聛b聶JW@kkU@mbkaWJ聴IVlmz炉`UnU@mb聶@@聞聝`@bkVl聹nV@b@職V@聞aVxn@Vx聜KXnl@nbVK聞bVK@a聞_V@V聝聞w@W聞LlwnK@UmIU@VW職@職U脠@lKnal聛聞w職@@V掳@職aUmlUUw@聧聞聝V@@UXK"],encodeOffsets:[[119836,35061]]}},{type:"Feature",id:"3410",properties:{name:"榛勫北甯�",cp:[118.0481,29.9542],childNum:5},geometry:{type:"Polygon",coordinates:["@@lXnlWX@VUJVnUJVzXJVx聞kVJlI虏l聜U@K@IU脟職LVxnLn@lmUaVU@UVKVknJ@an@@UVIV脟聶KUw@_lK@wnKVklW@I@mXa@UlaXblU聞JVUVL@UXWlIUUlKVmkU@kVKVL@y聞wXLVb聞JVz@Jln職@n聨聜LXbVa么職nW@聛la@UVWUa@聛@a@mk@WIk@VwUa炉楼m@UUVK@ImK@aX拢聝聫kK聸脜聛V聶a聶聶聝_@卤聝akXWW聴L聝聝聝nU@@a@炉mK@L聶J聛UWwUV聶VmbXX@lWLn`mzUJUb聶L聝聞k@makVWmkX聶ambkKkn聝a聝@聝a聝b@聜U@Unm@聴聝WV聝@聛聬VbUbUJWIk@@lmL@掳UVUVm聞n職聶@@kmWkb@x聝_m@@aU@聛b@Jl聨Uz聶lWxXn聞@聜b虏@l`聞IVl聞UlL@V職K聞nVbUl@VlIn@@b聞bVWUk聜@@bX@Valb@bnb掳Vn@聞xVKlbVn聛V@V聜x聞L@ln@UXVV聜L聛聵"],encodeOffsets:[[120747,31095]]}},{type:"Feature",id:"3414",properties:{name:"宸㈡箹甯�",cp:[117.7734,31.4978],childNum:5},geometry:{type:"Polygon",coordinates:["@@VV@blL@聨XlWnn職n聨聵聞@VXXl@@W職IX@VJ@L職x艓xln職聨@bXJVblX@VVbUVn@VbUVlb@LnJVbVLV聜XL職脪VL聞脪職V聞bVIVylUXk掳W職knm掳_lJ@aXL@l聜z掳@聞lnL么录V聜脠聞VUUaVKU聛@WW@@UUa@knmVLlaV@聞a@k職ak卤@UmwkKmk聶菈聶脻UUkL@mlIVmn脻WkkU脻@聛K茟膲聶a@禄聝mma聛@mX聶陇炉U聝w@聝@聧UU@bU卤卤L@akm聝聞聶LUKmLUUUJVb聛b脟w聝@kUWaUJ@Xkxm@UJUUm@聶聞k聞聝聜聝akXU職Vl卤么U@kn"],encodeOffsets:[[119847,32007]]}},{type:"Feature",id:"3416",properties:{name:"浜冲窞甯�",cp:[116.1914,33.4698],childNum:4},geometry:{type:"Polygon",coordinates:["@@lU@Un@@anUlw@KVmUwlaX_lKna@KU@@kWKUU@ankW聶XK聵@@V虏VVI脠U@al@Va脠amK@wU聶@klaU聝V@X聝VUU禄WUUbkmUkV聫mk@a脠w@mWU@VkIkVWKU脩姆X拳潞U炉l聝@kkLWm脜a聶L@l聶LWl聛zVx聝VUK@L炉LUJ@bW聬聝K@b@J聛LU@Wbk@WVUU聶V@n聝J@XX@@`m@@L@bnJ@nWV@娄聹a聜wVVkxVn@bVJ@V聛娄@聨聶虏炉b聝l聶b聶@m聞U職U聨聝聨@录聝娄Xb聜UV`@nnxUxWLkUkVWKkV@XV@@VVL@VX聞@lVV@L@blL@`職L@xXKVL聜@聞VnU職@lwnU@ml@XnV@@UVW掳Lnal聝UI@aUK@a聜a@U聞kXW@I@mWL@UXK@UVW@U聜@@k聞Wn聧聜@@V聞@XblaVx職L@bVKXb聞IlJ"],encodeOffsets:[[119183,34594]]}},{type:"Feature",id:"3417",properties:{name:"姹犲窞甯�",cp:[117.3889,30.2014],childNum:4},geometry:{type:"Polygon",coordinates:["@@聞V掳掳膴扭@x聝臇@x聹X脝陇聞V么I脝mnLllX脭@l聝聬脺聨n@@J職b職L脝a蘑脼母聞掳VVUUKVanK@UV@VL聞VVn聞ln@聜xnklxXamk@WV@Xa聵@naVk聞Kl聛k聶@mkUWwkJWw聴IWK@聝UaUwWIUyVIUmVI@UXWmkkW聜聴聛KUUVWm@@k聝K聛w@U聜UUmkaUL聝wm@炉Uma@akaUbW@@a聛@VlUX聝a@am@kJ@UVkUa聝m聶L@UkK聝VUk聝Jk_卤@聛a聝@WmXw脟kkaVaUa卤聝聹wV@Vk聝wnyUaW@UU炉amLk@m聧聶@kmmU聶聶炉K@L@lUX炉聝WlkX聝聨Vb聞b聝VUL@J@LVKn聬lJXnlb@`nXlalV@bnL@Vnb聵录@lXbWlkL聶K@zUJmIUxUVUVmX","@@llUL@Vlx職L@a@U聝wXa炉@"],encodeOffsets:[[119543,30781],[120061,31152]]}},{type:"Feature",id:"3401",properties:{name:"鍚堣偉甯�",cp:[117.29,32.0581],childNum:4},geometry:{type:"Polygon",coordinates:["@@聞L聞xV聜膴L脼k職VlVV聧XaWaXwW聶nU聞@聜anVVUX@聵bXblWkk@wWmk@VUVKnb@I職y@_kWm拢nmVa@U聜K聹wlVl@聞zn@掳l聞IlmnV職IVmnV聵aX脜WmU_VK@Un聝mmk@UIVaka聝a聶U聝脩UK聶脩WKU聛UKUamI@KkaVUUam@VUUa@UkWUaWI@a聶聧km艒w聶wUL@`mn@K聝V聶IUVUUUK聸Vk_聝VkbW聝@VkUULUJ卤I炉a聝lkxU娄@L@V@V@b@b@聞WJXbWVXn@L聝KVL@JkL聝聨V@Vbn@VV@XU@UlV@@VV@V@XXV@@V職J掳職掳Xnb掳@聞JUVVXV`@bkXW聨UbU@W聨n@VLXlm聞掳bV聞UbkK@bVJ@bVbkLV娄聝K姆V@x@聞XbmVVVk娄"],encodeOffsets:[[119678,33323]]}},{type:"Feature",id:"3403",properties:{name:"铓屽煚甯�",cp:[117.4109,33.1073],childNum:4},geometry:{type:"Polygon",coordinates:["@@V脪XLlUlJ@UXV@n脟x@bnlU聬VllnVaXVV录UVW聞U@V聞虏wVV@Vl@聞VnwlI職@Xb脝WVnUVmLUV聞nm`k@VbnblKXUVIlxkb@VVLlK@b職wXxV@n陇脝UVa脠aV_@anyVwV@聞kl@掳m@LnU聞bl@聞WVkV@Xa聞a聵V聞IXl聜IV聜聞@XbVU脝@XKWwUkmW@_UmnIlJXkWKXmV@聜w@_XV@Kl@kU@KlX@聫@UUUUKWL聛m@klJVUUmk@mXUWmX聛w聝`m@聞zUb脻akbW@聛聫m@UU聝茅UIm@Ub聛K脟录@聶kKW聛XmWUkaWU聴JWU炉L@W聶L聝wk@mm@_聶聝脜l聶UVkmWUn聛V@VWLUb聶b茟默炉l"],encodeOffsets:[[119543,33722]]}},{type:"Feature",id:"3402",properties:{name:"鑺滄箹甯�",cp:[118.3557,31.0858],childNum:4},geometry:{type:"Polygon",coordinates:["@@聞bVaV@XllLXU掳聨lL@V@VUnVl炉Ik職聸VUVU@@b@lUXUWmb聞n@录職b茠膴聜L脼@lVXlm脼UnkJ@nlKVV職脼XklWVaVI@aUKn禄lL@Kn@聜XXwlm@mn聧掳@聞V@聛Wy聞wX聛lWVk聶聝@aUaVU炉拢kKWVXVWLUkkWlkkwmJUam@@aULVa@U聛聝VaUaVI@m聜@U聛UJUIUmmV@bm@UXVVUl聛VmImakKUU@UU@VmU@@kma@KVIXUVK@U聶VmUkV聶m卤拢@JkU@nl職k聜聝LUlmb聴@WbU@@XnlWb"],encodeOffsets:[[120814,31585]]}},{type:"Feature",id:"3406",properties:{name:"娣寳甯�",cp:[116.6968,33.6896],childNum:3},geometry:{type:"MultiPolygon",coordinates:[["@@lnnK@娄n@@V聜V聞@@VV@nIV聞V@VW虏a@b@bVnUVVV@V聶z@l職@掳U職V聞IVaVV@x@聨XX@WlwUnV@XblW聞b@XlK@a職@k聝@al@@_V@@W脜wmaUaV@聞bnaVL@llInmU_@W@a聝UU膲UaVwm@X聧WK@w聝VkaVUUwU@@aV@@mlI@W聹LW聝UUU聝VU@kV@XalKVaU聝VUUUk@WwUK@aVI@W聝Uk@@UUU卤xkb@lV職@xnL脟bUbk@@b脟VUJ卤U@U聴@WLX職ml@bVVXL@lV@@LmbkLW`kbVxUn@LkxmV@bm@@VkV"],["@@VVVkV@聛楼@UV@U@VUUJ聝kWakKU職lXVJ@bXV@blX@aXV@V"]],encodeOffsets:[[[119183,34594]],[[119836,35061]]]}},{type:"Feature",id:"3404",properties:{name:"娣崡甯�",cp:[116.7847,32.7722],childNum:2},geometry:{type:"Polygon",coordinates:["@@掳k茠墨職aVaXK@U聜UVmnXUl職V脝kVKUUUmmU聞脩kU聶U脻l膲KU聛聝w聝K聝bU@UxW@@l聛聹mVUUVmUU聝m聝w聴aW聞kL炉K@聨m聞ULWl聛Im`X聞WL@b@录@V@xkV聝I@b@l@lk聞V掳犬鹿母W"],encodeOffsets:[[119543,33722]]}},{type:"Feature",id:"3405",properties:{name:"椹瀺灞卞競",cp:[118.6304,31.5363],childNum:2},geometry:{type:"Polygon",coordinates:["@@職菉nllLnxV@laXLVKma聞aXbVI聞bVKVVVIVyn@n_聝聝W@@聝聞UnJlUVVX聬lLnaUWl聧V@VV聞IXW@_W@XK@K@UVUUwVam脩Xmmw聝w聶KUnUK聶莽U@聝J聝U炉@m聨@nknWx聛Wm@@LkKm录VL@bUJUbkXWl"],encodeOffsets:[[121219,32288]]}},{type:"Feature",id:"3407",properties:{name:"閾滈櫟甯�",cp:[117.9382,30.9375],childNum:3},geometry:{type:"MultiPolygon",coordinates:[["@@聞脪V陇@录V虏@aVV@聨@聞聞x掳V職拢nW聜@nbnaVXVW@k@aV@VU聹Ul聶掳JUkVm@U@UkK炉聧WVkKWkU@Ub聝akwml聛wm@聝kUm聝UUKU@@VmLUbVLUV炉U"],["@@聛LllUL@Vlx職L@a@U聝wXamK"]],encodeOffsets:[[[120522,31529]],[[120094,31146]]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/ao_men_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"8200",properties:{name:"婢抽棬",cp:[113.5715,22.1583],childNum:1},geometry:{type:"Polygon",coordinates:["@@HQFMDIDGBI@E@EEKEGCEIGGEKEMGSEU@CBEDAJAP@F@LBT@JCHMPOdADCFADAB@LFLDFFP@DAB@@AF@D@B@@FBD@FADHBBHAD@FAJ@JEDCJI`gFIJW"],encodeOffsets:[[116325,22699]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/bei_jing_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"110228",properties:{name:"瀵嗕簯鍘�",cp:[117.0923,40.5121],childNum:1},geometry:{type:"Polygon",coordinates:["@@vIHZDZQtDLNMXIbHRCXXITbJ@H`LGPRDDJNCLHTOCWFGvGBUJMKGFO^IHWXITQCI聮Y^AXGfR聢DXF`DJOLB~G\\DZIHHpErUVMhHb]\\M聠BVF@FTP`@zTbD\\@~M\\K`H^EVODWICAakAQXoIcCOCIgGYNWFWNGGKKGaJEGMEIKYJUT_J_Go@_SyQaSFMEGTcYOQLIIi@EKAUPCV[EEXQCW|aMUMAaYCYNIDGGACIMGGSKDQGaF_C[GaB@GOIiOKAYL聯mI@CN]F[SWWAcKKI@HMUimEKbeYQYISNUOcBKPIFBNgvDPGZYFSf]CMSIWGEUFgDIQ[MeDMJS@RR@LphFPCHaBAJKF@J]IBJO@HlO@@RKAMPJHCNDJTHFP@ZGNANBRFH@J_fM^ONJNF\\VTDJHDON@X聛RND\\XRCPVETCLBVKDFJINHRGPRV@\\CLJN@VbXbLVT"],encodeOffsets:[[119561,41684]]}},{type:"Feature",id:"110116",properties:{name:"鎬�鏌斿尯",cp:[116.6377,40.6219],childNum:1},geometry:{type:"Polygon",coordinates:["@@JHTVHXCHPfnDJGHNDJSB[JSBGVSAOH@PMPuDEHHXZN@PHF@ZLJ@LHVYJA\\OFWP]BMtMBSRGV[JeVAPQVIFENMD隆聳@^NV\\JH@NNL@NM\\kTQ\\I^FNIpBHGTBFFAZQfKDIXQTLXFXNNVMVHRGpCFLlRLEVBBH`IVO\\G`RDPAXLXBXORHZEHTDLLN@VGTMrQNFPeASKG@GMOAKBYMK@GTUHUXSHMVDNMOUEOZMJML@^KRACMZEZMRQLUHE@OFENPR@DI\\ChMHIDG\\GJMDWHCKGMDCIQCHO_K@GaIJSWWQDaGWJMNCKRsCYGYuJUSaKaW@UIMDK@[QUHOGQJMEILCAUDKFSOUQD[WMC聜Q@WPMGCCIUSE[IMPMN]`e@IEGAQBMHM@YEOSGCIDMIGNOLB@QP@GkP@AI^J@ILEBIbADGEOog@KQQWSekWQQUOFKZLF@PUNmIaHIUeBCTSHENcJa@_IWSaGu`GLSBKJQFOXGDXVQVOBIHcDSJWBEFGTMH[^mLaXcHiKElTRKtFXZ`MHMPCNRDxZ聢B\\ICIHK@K聨HbIVFZ@BPnGTGbDXRDJaZKRiGEFSFEJhjFNZFjn"],encodeOffsets:[[119314,41552]]}},{type:"Feature",id:"110111",properties:{name:"鎴垮北鍖�",cp:[115.8453,39.7163],childNum:1},geometry:{type:"Polygon",coordinates:["@@h@bl@HRJDZ``TA\\VVD^H`\\pF\\J聦`JGv@ZO\\GPSTEjPTR`FnEbDTDHEhLFMTK@ETSPULKEI@OVISKSJACEQNQbV聵IXGDIN@dMB[IIBcN]ZHNLP@XOWCFW聤CNRHTpATD@^NVNLED@Rh@jCEF}E[OOHUEW]W@QGGDIQSH_MmFmCUT_K]i@MH聫CMW聴FCF聥E{BMHMPOHKS]CFNGBELDH_@BcAKOACESAOBELaXAROB@FODMEDWJAG[aE@UM@DImEWJMC@OeCA{aE[@{L@MINUCQXKfUJORCHqJBF@TCXWNQX]M[EAJO@@KMBQJIC]EWMCCUBEBFHKDOTMBGNGF]MWDBRDdMDQVyE@LPVHDCP@JVVMTG~HNSH[CmRUvHPHBbA\\PTNRC\\YNJ聙PRARPJDDR"],encodeOffsets:[[118343,40770]]}},{type:"Feature",id:"110229",properties:{name:"寤跺簡鍘�",cp:[116.1543,40.5286],childNum:1},geometry:{type:"Polygon",coordinates:["@@^AXOPEB[ZIGU@KKI@YGE@OYMGWFGvCNO@OPGTBHUTA\\ITACIGMIHmCOeDGGWSUIGimYEEMgiFITEFEjHLQbYCIWQaCSHmHAOY@UEaJ聧G@LGLDJ[J聡AwYQCDMNONGY_EWLsSQFkMO[NWAIGaIYL@HMBOKiOQDWEUDMQSF_QIUBWdg@[NaAKQ@M]OQ@WhgLUMMFYQDIRCEUZOOCIOJ[KIUMKL@HIDKVEBM`HJAJSJUdBLGNEdMBMO[BYEWJSNKNaD]PE\\SjOT_RQVEZPp聝NQXf聤NA~lNG`@PNLp录RFLfbdKbATUh@FSNWjGFZVLFHVA~X篓PPROfFJbNJPLFbENJPrEFNPFRHDDJdENJLVEPBJTVTHGHFRFH@PXP\\ORQHW\\BjWFDERLPPBbB\\E`B\\D\\L`@F]FCnJ^AZL"],encodeOffsets:[[119262,41751]]}},{type:"Feature",id:"110109",properties:{name:"闂ㄥご娌熷尯",cp:[115.8,39.9957],childNum:1},geometry:{type:"Polygon",coordinates:["@@V@XMnGPY虏聣JQNEhH\\AZMPDVTTDZCPiJkHSHCjIdFtEHITCNITQEKUAMCEIKCECABYESKFWAKBEIIHABGDCKCAIHMHALKEI\\CFIBILIJQZS]BBEECS@E@@C]COKI@CABAAEEDMG聝CH]A[M@CJWH聴JaUMRFRBDTITLUJ@PFJKLOVST@FSLENgKGFSCaCmF_ESQiOSFOT[HYPu@IH聥_[IoE_[]GUC[USB__CYQI@Gakg@qZeHQNMNV\\FVLPgJAFJPRLCH[XcPELUT[JiV_EELFTADBXRTRLJC@fHXHHbPd`fR@NfT`@TLplHMpCEJHJBVLF聨@JT聜VnG^KXDXHNVGRLRXFJVdDHSNWLGfEzA"],encodeOffsets:[[118635,41113]]}},{type:"Feature",id:"110114",properties:{name:"鏄屽钩鍖�",cp:[116.1777,40.2134],childNum:1},geometry:{type:"Polygon",coordinates:["@@VNLJI\\JPPDYPFVQDCJZRNEVNhKXgR@^P@NLRbB\\Mh@XcVARJE`RTCNFV聙XRCjPPLNA@GZKbJJHXB\\MNPjLdGbWnK\\]NGHSFEXATIdCJGPARUWUHCPWRELITAHKv_E@iYCaW_BQ\\Y@QIO@QDCIGZCEMWGFMFAFgHEDOCSqKCCFGAMKEAC@ODGCGs@WH@KQA@EE@CE@GEA@EH@GGUEEJEAYD@JM@@DAA@FHD@FTJEHUC@JUBKCKG@G[CIIQReAYhO@OXGDO@@FF@IHJFCPEBACBIAAKDOABXARHP聧NEHGbQAAKQFGIAM[C@WHKaGiCEGOA聥HUKCIokSCUSOCYN[BgGMFIR卤聤OZmHWNU@ShbbXDHVXXGJ^lZ@PZ\\Nb@\\FHJAD"],
+encodeOffsets:[[118750,41232]]}},{type:"Feature",id:"110115",properties:{name:"澶у叴鍖�",cp:[116.4716,39.6352],childNum:1},geometry:{type:"Polygon",coordinates:["@@F\\E~DFN@BDFEpHFCHBBEGCDCJBHUDSBB@ELCPbF@B\\J@BJVAFJ\\ADKTCBGECFMT@BMN@@FH@DaNBEnvB@FPBATK@FHEFIAKFBFL@@PKBFJHC@FXBRAFCDMPDTOL@JIVFDHH@DDH@BGRFCDLD@N^@@CNA@KNOAEBCECFEGCFGMGFIPMOEJOLBADBBHGG@GCHIECY@INC@DMGS\\AIOZAAEYA@GT@KKMBEETCGMVINFxA@MJADB@FlA@HJA@NND@DFA@DVAZBBOFKH_JA@K^GBC@EFE聞G@gAENMXKJigC@IbSJMqGOP拢RGSMGE@kbQFDPEFiBSGGSBK]I{CDWCIDOic[C_G@SuSO@EWKCO@MNY@\\uZOPENQD[LKESSKGBKEG@EJGAGHoH楼CqhifeJkX_XFFGHFNEDFPENKHM^IFIVL^S`DVEnNnG`RTCJHH@R^XFXGVPP"],encodeOffsets:[[119042,40704]]}},{type:"Feature",id:"110113",properties:{name:"椤轰箟鍖�",cp:[116.7242,40.1619],childNum:1},geometry:{type:"Polygon",coordinates:["@@EhEBENXHFNYDJHCD@RJP@R[ZARX`DbjZF@bHXT`Jb@dIFMTGDSfAJVbGnJVM@OKELYPERVXRflXTT@NIfC\\NJRhCVEHFJXNT^DTeZEHYCOhuAMJELOdAVPTMOWBWNMNEJgl]@WGUFIC[T{EEDEHGCIGMI@SECUQI[D{A{GQESPUH]CsiMCmHUeoHENcAaDGCMDGMQCACCBaCGLMAHB@DIEQLOAAEEJ@CW@CDINGAAGKQOCgV@LG@BEGDKNeREFBNCFIDOPKD[@YRW@GFWDAFE@EHDDrLDTCPGF","@@KrJEH[\\B@FF@CHFBHUN聥AJKADGECBCMAG^E@EbI@BEGP"],encodeOffsets:[[119283,41084],[119377,41046]]}},{type:"Feature",id:"110117",properties:{name:"骞宠胺鍖�",cp:[117.1706,40.2052],childNum:1},geometry:{type:"Polygon",coordinates:["@@ZJZRafFLjn聙VGNJ@LLBdXX\\T^EDMJ@聰nZKLBjPPJ@HbA\\H`DbERHLCFK^BZaFWXQLAGMHa\\OLO@SBIpBdCL聝VQfElO@GSAKEDQTC@GEBKG@ORIJBDAPDFA@CaOq@GGQAAEJK@KMUGAAGEAa@MGMBGCGSIIW@WSUCMDOJeWOM@IUF{WMWaDIMgIoRoCOKeEOEAG_I[cg@wLIFENQFDVTFJ@HNDJGHCFFFS|D\\EJHV@Xk^IhMFMNAXPX"],encodeOffsets:[[119748,41190]]}},{type:"Feature",id:"110112",properties:{name:"閫氬窞鍖�",cp:[116.7297,39.8131],childNum:1},geometry:{type:"Polygon",coordinates:["@@FDAJTGDNDCTDDEDBBE@DT@@EHCDGJ@EIZ@@FDBR@ATFBBVFFE@@HNA\\VE@CLIFNJFNJBCP]A@LJFA@HJEDD\\C@DBCHLAEPF@@DH@APHAERDF\\GIxDTM@CFLBBFJ@CNUPMHECGDBF]BMFPDLRBHHBJMDCX@@DFIBFPBRKJF@CGANBHKbDDABDRDHNNCHDbCdBFMpGHiOYMefKJMC}HWAUNW\\NNBNA聞kNU|]HMTMN@MZBLFFF@RIRUT聭BMFIEGaAGGAOIIUGTSFcYKS@MSLYPKRUBU]EWDOI]CKGASgW@MTWKIMCS@uMAKKADMECGAKVUTSDy@IjWLMNBF@h聝HEF@FAD]H@LIBG`ELAPYAUB@CEB@CMC@MIB@GkB@ECAIB@NwBMEUJHNSDFFNALLS@@HZBBFYBJP[BHTCND@JMZ@FDGJHDH@GHAABCKAIPPFONEJNHEHHDEFFDADBFMP@L"],encodeOffsets:[[119329,40782]]}},{type:"Feature",id:"110105",properties:{name:"鏈濋槼鍖�",cp:[116.4977,39.949],childNum:2},geometry:{type:"MultiPolygon",coordinates:[["@@bFGHBHFBFIVFHHG@@FFB@HDFF@@FRB@LXGt@DHCH@PBDLFBNF@BEXCHEX@ZQ\\@LCPOJCDEAMFEfQLMHCAFH@@KhUNE^AAEHCFDNGVODMI@AEKADEN@CSJw[HCEFQGBBOG@@CE@FOKBDGCAD@C[FCGIB@IE@K^BDOIAEMMIJEDKF@[UMB@GF@EEAUEABSQ@CA@EY@FJI@CHGD@FS@@CAFCACFSCCDCMSHBIECMB@D]@@MKCDCQEAHG@CCG@CGUEIJK@SPOCCNEDQBDNDB@DJCDLFCBBALJB@BVGPBKVO@KHCCCD@FE@BNA@FNCTDDJA@FGB@NBDW@CL@hT@@ZHHQDDDAFSAANBC@HG@EFS@@DE@@PCB@Ue@CADNJB@FCBWA@LI^ix@FIHrH"],["@@HUN聥AJKADGECBCMAG^E@EbI@BEGPKrJEH[\\B@FF@CHFB"]],encodeOffsets:[[[119169,40992]],[[119398,41063]]]}},{type:"Feature",id:"110108",properties:{name:"娴锋穩鍖�",cp:[116.2202,40.0239],childNum:1},geometry:{type:"Polygon",coordinates:["@@plDJVL聦GPBFHjDbHGL@X\\DBNHJREBLRBHaFG聨MGOBQAWPBLCBBAJBDFADOIEJGE@@EP@HCPWP@ZgfBRQJJ\\D@HLHLDVA@IVDFGSI@EGC@EBB@CN@@IZCAGHGaEqGJG@EjwJ]@K@GSA@e_I@NE@CA@Kg@KC@ENCF聝AKQAW@WIMK@V聥@I@@F@^EDFB@HcIaDYCBRRDCHD@EFLN@FE@CJUPEJOJMTBPEDIFCMIAKNOGMRFJNDVBFLSRMJSDGJsFcEiJGDGTIlOjYD"],encodeOffsets:[[118834,41050]]}},{type:"Feature",id:"110106",properties:{name:"涓板彴鍖�",cp:[116.2683,39.8309],childNum:1},geometry:{type:"Polygon",coordinates:["@@hMN@NFTQCFRCBJFA@HJ@@HJ@HJ\\FTACD聦@@UNLXJX@@MA@@IECAQlDFEHBDI~D@GXCFMVDFCH@@NF@ANJC@FnAB@AMF@@EDCDDLGP@LUOAUH@AIABKAAEDCKID@CCACMWA@EGDEILA@OK@AELEJBFEEGL@BSOA@EuAFmMACbG@@EM@ANS@ENFDAHSDCL[BEIUBAII@A[E@OaKD@FAACTGVIACDHDAFGAEDoGEFACM@i聙g@@QFCMKMU@]SCoBGSMQ聣DEXXDWPO@MKYGM^AdJJA\\cNB\\G^聞DNHFCBFABDBJ@PL^D@DF@T@FDAF^A"],encodeOffsets:[[118958,40846]]}},{type:"Feature",id:"110107",properties:{name:"鐭虫櫙灞卞尯",cp:[116.1887,39.9346],childNum:1},geometry:{type:"Polygon",coordinates:["@@NQPHLMJBDNJEFCAONSPIFIVODIF@@EKMFEC@DGQCAQZDbCdJ@GEAFC@]@EJ@DCSB[EGII@@GI@@GEBAIQDDESRMEM@gNYTIRKJAJEJ[DFJKLGBGNBJLDCDAHGBJJAFBLEXTLZFBAFDLD"],encodeOffsets:[[118940,40953]]}},{type:"Feature",id:"110102",properties:{name:"瑗垮煄鍖�",cp:[116.3631,39.9353],childNum:1},geometry:{type:"Polygon",coordinates:["@@XBDA@EIACM@IJAD]BC@SFABISAD]H@@O聧AEDQEW@BLE聞MD@FLDh@@LDBF@@M`J@fTB@H"],encodeOffsets:[[119175,40932]]}},{type:"Feature",id:"110101",properties:{name:"涓滃煄鍖�",cp:[116.418,39.9367],childNum:1},geometry:{type:"Polygon",coordinates:["@@DBf@@VDA@OF@@CT@FEH@@GADBMTBBECCRCGG@YS@@gDK@A聭C@PG@C^TBAJEB@TADC^IB@J"],encodeOffsets:[[119182,40921]]}},{type:"Feature",id:"110104",properties:{name:"瀹f鍖�",cp:[116.3603,39.8852],childNum:1},geometry:{type:"Polygon",coordinates:["@@RBX@RFFC聨BFU@aK@WA}CCJGAEFkCBRFD@JB@@N"],encodeOffsets:[[119118,40855]]}},{type:"Feature",id:"110103",properties:{name:"宕囨枃鍖�",cp:[116.4166,39.8811],childNum:1},geometry:{type:"Polygon",coordinates:["@@XBL@@bEV聮D@BX@AC@MHA@EIBCCDSEMmB@EIDBME@@MG@EDUCENWD@H"],encodeOffsets:[[119175,40829]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/china_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"xin_jiang",properties:{name:"鏂扮枂",cp:[84.9023,41.748],childNum:18},geometry:{type:"Polygon",coordinates:["@@@聸蟻葋么僻痞贸蓹实住实贸篇垣实训桐僻桐趽聸蠀唷撋浭礍葍@贸釃懷灯ㄉ澤毭疵承澭和┥溙徳得雌灻盄蠀譬聴輫葌贸譬僻@训葌蠀聹匹艑啜椔椸ゥ蓻贸实训僻压聵輫虓啖樕櫳炏吢樝佂┨徝赤屁僻艐么艒贸職虓桐贸实谉聸贸艐趽酮僻讯@蓽原聴垣痞蓻葎虓聸蓾葎枚蟼譬葌虖聹帽葊虖聹譬贸贸艓蓹聵@艕處@蔀葊蓾艓么屁贸谞训葎僻@贸艔蓾聹贸蓽么艓虓通蟼艓@屁贸么屁蔀輬识贸屁蠁贸處葊屁虓援貌迅援诪@押葊@篇醽喢踩偯碧惷踩偵溌樏称ㄌ捙幪戇粿蠁蟻葊@艕喙愊偺幤咢蓾蠁跀喑υ苦@痞艔援屁屁葎僻郜蓽识跀艕蓺蓺贸艕么屁呒聵么僻僻贸虗匹贸艔押强痞葋蠁僻蟼聵屁僻虙@蓽匹痞蠀虗蓻篇桐譬蓹篇史虘蓹@葍屁实谞艐嗑概嵿原元聴@蓾屁艐虙謪蟼实么僻"],encodeOffsets:[[98730,43786]]}},{type:"Feature",id:"xi_zang",properties:{name:"瑗胯棌",cp:[88.7695,31.6846],childNum:7},geometry:{type:"Polygon",coordinates:["@@么艑谞聹么识處酮么聶贸艓屁艑啜毱惷聪偼喡椛毶澿聴輬處押聴讯屁么识啷ι溹聵痞艐蠁聸讯葋虓聴么艔蓺艐@虘蓹聴@艔貌虓蓽聸贸匹么史僻虓蠁压元虓注@迅史蓽@么帽谞@讯蓻蔀么虗艔讯屁迅僻匹艒痞聹么艔么聴@僻么譬虙艐屁艑痞强么處蓽葋虙聴贸识讯么么袨虙聸蟼匹蓽袧蠁蟽蓻葋處蠀屁喟逼廆实匹聹@艑贸贸贸桐屁僻贸艐虘玫贸蔀贸蓾冤酮蓾蟻么僻虓僻压通趹艓虘艒贸僻啖┨徰瞪澝赤氨贸贸元蠀么@虙匹艑虖僻虘葎輫艓僻聸训訌@蓻玫艔蓻葎么訏僻艑训强蓾聵僻艐垣@虖蚀匹@贸强虘葊贸强虓蟼贸贸蠀么@识蓻帽蟻痞譬艕贸處贸聹训贸虘酮啖灻成溩熉樒徠ト勥惶幪徧愖熍幧澤溍渡炂┤�么枚蓻葊贸酮虗屁篇虓處葌匹元蠀袨@蠁蔀聵么篇"],encodeOffsets:[[80911,35146]]}},{type:"Feature",id:"nei_meng_gu",properties:{name:"鍐呰挋鍙�",cp:[117.5977,44.3408],childNum:12},geometry:{type:"Polygon",coordinates:["@@釆娙佮珚枚呒譬蓽蓻谞帽援蓻讯贸援么@葋迅贸诪處喽溠横伂@呒识援訏呒處@艕压訏虙元屁枚喽溙懷度勌捪傕イ聹讯蓺枚蔀蓽蚀跀么么葌處聴押葊蟼聴屁聵篇贸元聴蓽么蓻袨啜曏斣樠堤嵮谷傇浬浧ヌ嵢偯成溙幟碄识輮喋侧实跂酮谞屁么葌僻聵虗酮@艕痞屁蠁袁讯蓽么痞@艕僻么么痞蓹艕虖聸@艕趻讯袁么虗食冤袧蟼艒么艔蔀@屁葌讯蓹贸僻虙鼗處贸虗艕谞贸屁么虙@屁蓺蓺@注垣蓻蓻@葋蠀桐匹食貌謬蟻聴虘唷椘純啷T兲幤么么@么艒@職@葋训贸屁虓蠀葍贸实蓻屁匹贸蠀葌贸蓹篇聸虗蟻僻桐蓽原跀葎處毓僻葋虗艔贸虓蓻聸匹僻虘贸蟻艕@僻虖聵蓾蓹蓻聵呋桐虓桐蓾袨虓篇僻贸贸訐屁贸僻食輫@蓾蟼篇聹@蚀譬聴僻痞么屁蓻葎蓹聸僻艐蠀聸贸桐训@蓾强贸艑谉虓蓻聵贸袨虓聹虘虖么葋虓艔貌葋帽贸痞桐@强蓹@蓻僻虘聵蟻葋蠀么虓謪压聹贸葍蓹聶@葌蟽实逊篇貌譬虓聴么贸呋郫么食僻聶贸職玫实训贸压蓽虓葌压么蓻艑蠁謭譬通蟻贸蠀討贸逕喟碧戄囃称ㄅ屆橙勞斣┫傋澝碧懭冄蹬愒徠ㄈ伾浨肯伱疵瞪毶浢称炆橜压虗训枚元通么酮蓻虙谉艔僻匹贸么匹僻蓻艑么贸蓾贸@虙輫訏虙艑@艓原啖�"],encodeOffsets:[[99540,43830]]}},{type:"Feature",id:"qing_hai",properties:{name:"闈掓捣",cp:[96.2402,35.4199],childNum:8},geometry:{type:"Polygon",coordinates:["@@屁@么篇輬葋篇聵@蠁蓾貌贸屁援识蓻虗压酮么袨蓹贸僻蔀釃捬禓么跂么@强讯聸篇葋蟼聹蓽桐蠁聵蟼艐蔀么讯蓻屁艑蔀聴@蓺蟼艕帽元啷⑼┢ㄈ偵灻称ㄅ愄幣徸⒂徧幟称γ绰溙捜伾溌浵偼┨捖溕毶浧雌ㄉ澫喩浢橙伷ㄅ嬅趁成毻┢趁称〡僻蓹艐痞譬虓@僻僻么强蠀虘@葋蔀强玫艔蟻匹住蓺僻贸蟿垣蔀聹么僻痞@帽葍貌帽匹贸蠀么么压训聴@艔虖葎蓾贸@葌蓹艑贸蓹压痞@艕虓艑蠀輬冤艕僻贸么僻虘聸么实蔀僻虘训么譬蔀僻虘聹贸袧训贸么实虘聵蓻葌贸虓匹葊僻艐虘艑贸篇@屁贸聵贸艕匹聸痞艓逊屁训僻虖艕蓾贸训蓽谉@贸貌蓻@逊矢住@冤處蠀押屁處贸矢么痞蓻聹帽處@艕蓺聵@虙蓹艑贸艕處聵"],encodeOffsets:[[91890,36945]]}},{type:"Feature",id:"si_chuan",properties:{name:"鍥涘窛",cp:[102.9199,30.1904],childNum:21},geometry:{type:"Polygon",coordinates:["@@么聵么艐贸虘援虙蓻袨诪酮屁艒枚瞳呒匹么葍屁贸贸帽么僻贸僻么艒跀艔屁艕@艓么聵貌匹押艓@艒蓽贸谞聵么强么聸痞么援虓蓽么蓺聸僻聴帽蓻蓺葋虓僻蓻謬蠀@贸贸么艐蟻原蓾@僻矢虓艔蠀蓽僻僻贸僻屁葋蟻虓屁葍蓺聴么实蠁贸么虘虖葌虘实蓽实蔀@屁食住譬贸艓蓹聴贸蓽僻么譬僻蟻聵贸么么么@艓僻屁屁篇压聵贸虓虓譬@虖压袧么逕虓譬贸篇蠀蓾蓻聴蓹屁么艓蓻葊@葌@帽蓾识@艑蟻谞虖聴玫贸蓻通屁葌训袨蓻实@虖譬艕贸呒僻喟蔡嵪喩溔傁呄勆浶炏伷ι澠称捬渡澠呈短捖溍称ㄆ丛徬嗇囂幣婡艔押匹么蓺蓺艐@葋蔀么虗葍@艕讯聵贸押蠁贸痞么帽貌貌葎"],encodeOffsets:[[104220,34336]]}},{type:"Feature",id:"hei_long_jiang",properties:{name:"榛戦緳姹�",cp:[128.1445,48.5156],childNum:13},geometry:{type:"Polygon",coordinates:["@@釃斎傕袧屁艕讯艔枚匹蟼艔帽僻痞贸屁葋@贸屁聴贸葋蠁討贸贸屁聵贸强處虘么袧蔀聴贸虘蓽蓹呒聸處强虙么趻討蠁@僻葋處虖匹譬處蟻喟堵樏慈傁偲ㄏ咢谞蔀輬聵虘匹僻蓻屁实僻葍匹@僻匹@艔虘冤么蓾蟻蟻贸蓻僻聸譬桐僻贸呋矢虓史压匹蔀跁玫虓枚蓾蠀聴虓葌僻虗虘艔贸屁帽艐压贸贸葋虓聸虖袁玫矢虖艔@强虓@僻袨蠀@帽屁貌葊匹艓虘艕训贸蓻艑贸葌垣艒僻艓压帽虓识贸袨谉@僻處讯么@葌@聶贸艓贸@@贸虓匹原謩嗉勦イ屁桐虙唷樝偮樏敝埰κ聪喭狜葌蓽蓽住袁蓹@僻蓹虘@僻贸谉么虖艔虓么虘丶么屁训蓺僻葋蓾@贸艕蟻艓元袨虖蚀"],encodeOffsets:[[124380,54630]]}},{type:"Feature",id:"gan_su",properties:{name:"鐢樿們",cp:[95.7129,40.166],childNum:14},geometry:{type:"Polygon",coordinates:["@@跀么援啖疈艒虘艐輬討@虘蔀么贸么蓽艐痞屁么贸屁痞谞艕蓽虘贸桐冤艇讯玫押虖蓺@屁袧蓽么枚蓹蟼贸蓽葊僻葌援艕讯艔虙葎诪貌篇蟻趽垣么葍僻艐么譬輬桐蓺@@强蓽@蠁桐贸艔蓽討僻艒么强處聸么匹篇贸玫聸枚@么聴屁聵么僻痞么贸虙蓽@蔀艑玫识虖艕@葊贸么屁葌@识注@@匹喹居懨程懨撑嬅词得成涄揁@譬枚贸譬贸蟻聴蓻屁虘@贸史匹匹處蓻僻聸么艒僻强么桐训么蓾葍蔀葋玫僻蟻贸贸聴@艒僻艔趽艕贸艓么屁贸屁么貌僻么贸葎呋痞玫同僻艓诐桐蓽袧原虘么虙贸艑贸聴匹@贸屁蓾聸蟽袁屁么注蓹蟼痞枚艕蓾葊@葌蠁虙贸葊屁屁處@匹篇蓺艑@屁么篇僻么蓹酮么么僻艑么葌蠀蓽僻蔀僻贸蓹蓽虘聸蟻酮蓻聹虘葌贸聸屁匹虓么住訍虓艕僻艔蓾么僻葋啷⊥苍┫伵廆蓹蓾聵僻艐训蓽蓾贸蟻艑蠀聴蓻酮蟻聸譬葌训聹@葊跁贸@葎蓽识蠁唷斱斅溒ㄍ锻睹雌┳⑹渡毷镀ッ疵称ㄏ側�"],encodeOffsets:[[98730,43740]]}},{type:"Feature",id:"yun_nan",properties:{name:"浜戝崡",cp:[101.8652,25.1807],childNum:16},geometry:{type:"Polygon",coordinates:["@@么蔀么蓾虙枚么艑僻屁么酮么么@艐痞聸@识屁艕么呋篇艔@虗蓽识讯袧僻葋蓽艇枚么虗聵蟼谉@艐蔀实@貌@葋蓽强贸艒蓺僻蓽聵蠁蔀么譬處篇贸逘押袨@虗處篇么處押聴僻譬屁僻@艒贸贸么贸蟼聴篇屁屁贸么蓻贸虘原聴匹艑蓻强蓾屁蓻桐么聸@强屁葋押艑蓺蓻虓谉讯袧蓻僻么贸匹葋痞桐么艓蔀聴屁虘蓽聴貌么蠁@屁实@蓻压艒贸葍蓹屁蠀强贸实蟻僻僻艑譬蓻虖葎帽僻僻葊蓾虓冤识僻虘蠀聴贸艑匹食蓺討贸袧匹么虘聸贸訏训实压聹僻訍谉么篇蠁玫艑篇虙垣艑僻丶屁屁住聸蟻葋僻聹屁葌贸识贸@@蚀屁么么蠁處艓@葊屁聴篇蓺屁聹贸屁么么么蟼贸蓼僻艑譬艐僻元"],encodeOffsets:[[100530,28800]]}},{type:"Feature",id:"guang_xi",properties:{name:"骞胯タ",cp:[108.2813,23.6426],childNum:14},geometry:{type:"Polygon",coordinates:["@@痞艐押處跀实屁艕@痞诪葎篇么贸葌蓽艑蓺桐蓽@枚贸蓽么么葌痞么蓽葋@蔀蠁聸贸葎處聸屁识蔀艐屁蚀蓺强虗處袁@么帽@虖屁聸蟻郢么聸蓺屁屁袧篇艕處聸匹贸痞实匹艐@葍贸匹僻@@艔蓾强么蠀僻葋训蓻@蓹贸艔虘@@蓹虓聸贸僻贸聴@葋譬聵蟻贸貌袧匹么@訏虘@贸艓虓匹蟽艓蠀@虓屁@艑虘么贸酮屁虙贸艑趽聹虖艓@艑么葎押艓@蓽僻识蠀@帽贸蓻聵僻虙蓾聵贸艒匹酮"],encodeOffsets:[[107011,25335]]}},{type:"Feature",id:"hu_nan",properties:{name:"婀栧崡",cp:[111.5332,27.3779],childNum:14},geometry:{type:"Polygon",coordinates:["@@@謩蓽袨屁@枚艕诪贸篇么譬蓺虙艕呒葋蟼桐蓽貌篇聴蓽葊貌聴帽蓾貌聴押酮@艔屁艐贸蓾么强屁聶蓺葍贸蓹屁葍训桐贸虓@葍屁贸贸匹屁僻@实痞聸贸桐蓽聴蓻贸帽原蓻艒蠀葌虓僻痞艒@蓻匹聴蓻葊虘聹贸史贸艒虓聹譬艔僻袨蓹僻贸聹蟼郜僻聹@虗贸貌垣@虖虓蓹葊僻食蓾艑贸蔀僻聵屁蓽贸艕屁貌@葎僻艑蟻艐贸么元袨贸识@處贸葎"],encodeOffsets:[[111870,29161]]}},{type:"Feature",id:"shan_xi_1",properties:{name:"闄曡タ",cp:[109.5996,35.6396],childNum:10},geometry:{type:"Polygon",coordinates:["@@蟼么枚屁蓾葌蔀葎讯贸贸酮屁葊贸艓屁聹虓蓽痞痞么矢虙@蓽僻蟼聵篇么玫么@篇跀@么蓽贸识么艑么虙喹接扏痞@押處蓽押蓻讯么枚识么聶屁職贸蚀呒郯贸么處聵帽篇迅譬蟿识@葋貌艐蓹压贸强虘实@葋虙史蠀謨么輭么袧虖胤@葋屁贸么虖篇玫@食虗实@蓾蓻艐譬艑蓻贸谉么僻艐虙贸@艔虗匹@艔蠀@僻僻么谉虖@匹葌压蓽蓹聹蓻贸原處匹贸贸聹贸葊谉聴蓻么@艓压艒帽痞"],encodeOffsets:[[108001,33705]]}},{type:"Feature",id:"guang_dong",properties:{name:"骞夸笢",cp:[113.4668,22.8076],childNum:21},geometry:{type:"Polygon",coordinates:["@@@葌么聵么屁處聹@蓺虙@么艕@蓺讯蓽屁葌贸蠁蔀葊@艕屁@么痞@葎痞艑匹识痞么么艓么矢虙聸蓽强痞聵@蓽匹艓處屁蠁葋蓽艓貌匹援艓屁艒贸艔蓻僻蓾蓹蔀僻呒蓽蟼葍帽葎痞艓虙艒么貌屁蓹屁聵蓺袧@蓹屁虖篇实蠀艑蓹蓻贸蓹原艔蓹聹贸艔压聹蟻实蓾痞虖聶匹食讯聸枚艒虘贸贸艐蟻葊蠀僻匹蓻压艒僻么谉聴蓻艔训@贸艐么实蓾聸篇冤玫@僻艒虓@僻@@痞蓾援篇袨@@","@@X聧炉aW膧聞@l聫"],encodeOffsets:[[112411,21916],[116325,22697]]}},{type:"Feature",id:"ji_lin",properties:{name:"鍚夋灄",cp:[126.4746,43.5938],childNum:9},geometry:{type:"Polygon",coordinates:["@@谞@么袧處实押貌屁艒袁艓么葋蓽艐讯么虙艔痞艒帽强貌僻蠁@屁袧處@@葊虗艕枚史虗垣處聹么葌押么貌艑么僻虙艕屁虖處葋蠁聵@艐譬桐诐葍屁聴@葋虘识@艑贸么蓻聹匹压虘聴蟽蠀輫@蓽蟻僻葍啖绰溕櫲偵浥嵠┥浱徬呄伱趁德溒聪呄咢识么艑贸聹蟻謩@蓽僻@蓾强僻酮蟻葊譬贸虖艕屁葌虓睾趽葍蓻援屁酮虖蟼譬聹么蓺蠁葋痞么蓽僻么识蠁葎"],encodeOffsets:[[126181,47341]]}},{type:"Feature",id:"he_bei",properties:{name:"娌冲寳",cp:[115.4004,37.9688],childNum:11},geometry:{type:"MultiPolygon",coordinates:[["@@譬虙虖艑押虙譬聵贸葎僻艑匹酮貌么帽葌處艕贸葌虙虗處聸么袧蓽聴谞處么艐蔀葊讯@么酮蠁聹屁艑蓺聹蓽葍贸僻屁匹篇聵@食譬聸蔀蟻輬@蠀袧蠁实蓽聵痞蟻屁僻虓蓾贸蓻压虓蟻艔虘么贸屁@聹僻痞么屁蓻@匹屁@葌痞@@么蓹艕僻识屁艑蠀聹虓處蓻艐么艒蓾@贸僻虓聸痞实训食么实蓽艔蟼么篇艐屁艑蓺@么袧匹僻@艒迅蓻虗么處实训袧原@虓虓僻貌@葋蓾@蓹蟻蠀桐篇虖譬玫僻艓僻艒贸職啷∪勆浭渡溔�@蔀蟼讯僻聹匹蟼蓻艕@蓺蓽蓽@艓么么蟼聹篇蟼"],["@@玫蓹@僻蓻聵@艕贸痞蠁么"]],encodeOffsets:[[[117271,40455]],[[120061,41040]]]}},{type:"Feature",id:"hu_bei",properties:{name:"婀栧寳",cp:[112.2363,31.1572],childNum:17},geometry:{type:"Polygon",coordinates:["@@帽葎蠀痞枚艕譬聵贸谞屁屁蠁@@艕虖痞@艕虘么屁艑谞贸蓽么篇艐蓽艑讯謪跀蓹輬貌蔀艒蓽艓么訌痞贸屁么虙贸么葍屁贸處艕么僻篇@屁葋蟼僻蓹虘處袧@虓僻艔蟻么原桐垣聴虓实僻職贸葊么蔀僻艑@艕压桐帽聵貌蔀帽聵蓻强譬聵蓻帽蟻酮呋葌虘艔篇蓹譬贸诐么玫艔僻@蓻袧匹葎贸聸虘押僻聸么蠁贸屁屁痞篇贸蓽艕么贸貌么屁贸蠁虗屁贸痞處"],encodeOffsets:[[112860,31905]]}},{type:"Feature",id:"gui_zhou",properties:{name:"璐靛窞",cp:[106.6113,26.9385],childNum:9},geometry:{type:"Polygon",coordinates:["@@蓽葊痞艐援聵么虙蓺聵么艒注篇僻蚀蓾@蓻识虙识虗葋痞聹贸葌么@么艔@艒么聴屁识迅么@识屁聵蔀贸@艒蟿枚貌蠀屁@@蓹屁么@蓻虙@痞蓽么葍@虓么实冤袧么贸蟼艑屁艐@葍僻帽么艔僻蓻屁聴么蓾僻实虓聹么葍蠀聹@蓾蓻葌匹贸贸葋蓻贸玫么蓻@蓹酮蓻艐么葋譬贸诐葍@匹僻艔趽识压虓匹艑痞葌贸么蓽屁训袨處谞蓹蓽压艐僻葌@葊贸聹蓽酮蔀僻"],encodeOffsets:[[106651,27901]]}},{type:"Feature",id:"shan_dong",properties:{name:"灞变笢",cp:[118.7402,36.4307],childNum:17},geometry:{type:"Polygon",coordinates:["@@譬虗蠁酮蓺蟼蔀@@葌屁帽處處援@讯袨屁僻跀@蠁袧虘艐@譬虙强處@屁蓽袁蟼么识虗识枚垣屁僻谞匹蓽艓么艒處@么艔贸蟻僻艔垣么贸僻冤贸@匹蓽僻原贸屁实蓻屁呋討蓽袧冤聵贸么虘贸僻食蓹聶贸蓻僻@玫葊僻聹虓葍蓻艕贸艔蠀袨虓聴贸蓾譬聴冤@僻蓺垣葎蓺识屁聵蔀识元虗趽蓻篇虙"],encodeOffsets:[[118261,37036]]}},{type:"Feature",id:"jiang_xi",properties:{name:"姹熻タ",cp:[116.0156,27.29],childNum:11},geometry:{type:"Polygon",coordinates:["@@僻葎么蓺蓹葎處识袁聵援酮蟼贸屁艕篇聸蟿蔀痞艒匹僻@艔蟼么贸艕么么虙史讯聴篇譬譬强@艒虙蓻么蠀@聴僻葋压蓻蓹屁压虘屁虖贸匹训史么虓蓻葋么艔蓾强僻垣僻聸么食匹艒貌葍蟻葎呋蓻蓾屁蔀蓺蓽屁么艕僻艓原艒帽痞貌援蓽么蓻聵么酮匹聹@识僻屁么痞僻么@葎么處讯酮"],encodeOffsets:[[117e3,29025]]}},{type:"Feature",id:"he_nan",properties:{name:"娌冲崡",cp:[113.4668,33.8818],childNum:17},geometry:{type:"Polygon",coordinates:["@@蠁聵處篇虗聵蔀葎蓺@@葌注贸處艑押虙么謫啷⑷兠绰櫰ㄅ幤ㄅ嵠镀┨戁斏溤┨徤澥灯椛櫴翟兤ㄉ櫾狜@僻虙艔么虓蠀葋僻蓺虓么贸艐@蓾僻艐玫虘蟽聴@艔蓽艐么蓾虙僻蓺么么胤蟻贸贸蓻譬@贸屁虓艔僻么贸葎虘么僻贸匹么贸訍蓻艒蓾艓輫帽趽蓺训謫@蔀虖识@蚀譬枚贸虗"],encodeOffsets:[[113040,35416]]}},{type:"Feature",id:"liao_ning",properties:{name:"杈藉畞",cp:[122.3438,41.0889],childNum:14},geometry:{type:"Polygon",coordinates:["@@屁蚀僻么么訑屁么處譬蔀袧處酮呒酮蓽聴蔀蓺虗聴@屁蟼艔虙么痞屁蓽聹么處篇么蟼强屁桐蔀葊屁@@蓻蟼謨么聸贸艐@实蠁蠀譬食枚聸啷ブ兿佈棺蓹蓻@桐啖疈压实蟻聴譬识蠁葊僻虙輬郜贸矢蓾艓训@原垣谉蓻僻屁匹蟼蓻聴蠀识蠁袨"],encodeOffsets:[[122131,42301]]}},{type:"Feature",id:"shan_xi_2",properties:{name:"灞辫タ",cp:[112.4121,37.6611],childNum:11},geometry:{type:"Polygon",coordinates:["@@蓺押帽艑蓺職么葎押聸處謫蠁贸蟼葌虙聴蓽屁蓺@@葊屁艐么葍篇聴压虘虗艐篇虘譬蟻蟻聸贸贸@艒蓻蓻@蓹蓽艔痞蟻屁聸蟻训@蓾蓻强蓽实贸謪压虘虓艐住么@葋蓹@蓾葍虖聴虓譬蠀聴僻么@葌虗馗贸袨贸輮蠁謩虘矢@葌虙识么葊"],encodeOffsets:[[113581,39645]]}},{type:"Feature",id:"an_hui",properties:{name:"瀹夊窘",cp:[117.2461,32.0361],childNum:17},geometry:{type:"Polygon",coordinates:["@@贸處虘艕@屁篇聵讯强蓽虘蠁聴痞实虗聵僻训么贸篇么么蠀蟼聴屁葌蔀艔@虓垣么貌虘匹聴贸葍讯桐僻匹么艔押聹么艔痞聴@聸匹桐僻聴么葋蠀贸@虘僻蓻训实譬篇训聵虘矢贸贸么艔蟻贸@艕痞屁匹艓蟽蓾譬聹@處虓袨蓺虙蟻屁僻葌么蓽蟼么贸馗蓹贸虘屁贸蔀蓻艑@艕蟿聵枚虙屁艑@蔀么艑處贸屁蓹蠁葌"],encodeOffsets:[[119431,34741]]}},{type:"Feature",id:"fu_jian",properties:{name:"绂忓缓",cp:[118.3008,25.9277],childNum:9},geometry:{type:"Polygon",coordinates:["@@處聸贸葋屁討虙聴處蓺屁桐蠁艕屁蓾處艐贸艔蟻聴@艒屁聸貌食蓹贸屁艒虖聵玫蓻僻@屁训僻艒蓹艔贸艐僻么虘蓾蓻食匹@@贸蓻玫@僻虘僻贸葋蓹僻虘聴僻虗@蓺蓹袨僻聴僻蓺贸帽虘艓贸蚀屁聹屁袁蔀葊贸艕蓽葌贸處讯矢么痞僻虗押虙蓺僻押蓽屁葌"],encodeOffsets:[[121321,28981]]}},{type:"Feature",id:"zhe_jiang",properties:{name:"娴欐睙",cp:[120.498,29.0918],childNum:11},geometry:{type:"Polygon",coordinates:["@@讯识屁蓽@虙蠁么贸葌屁聵痞酮@聹虗聵迅虓蟿葌虙虘谞艕诪么篇僻么討虘聸@匹蟻桐屁謪虖@@蠀蓾贸@艐蓻@么譬蓹贸僻训蠀贸@譬蓽艐僻@虓艑僻蔀蠀艔僻酮虓蓹虘聵僻訏么葌虓聹@聵贸蠁虘蓽@艓篇葊"],encodeOffsets:[[121051,30105]]}},{type:"Feature",id:"jiang_su",properties:{name:"姹熻嫃",cp:[120.0586,32.915],childNum:13},geometry:{type:"Polygon",coordinates:["@@么蔀處聵蠁袧么艕蓽艔處葎屁聸枚强屁@么蓽蓺職屁蚀虙么么贸@僻處蓹援葍元喃壝锻┨惼彩迪喥词礍贸趽蓽贸艔蓽强僻聸蓾蟻蟽葋逊處虖聴匹聵贸艕压聸贸艕屁痞训酮么葎痞聵帽虙袁贸@處蓾艕僻葋蟻聵贸蠁譬贸贸么屁讯虖聴匹识蠀聵蓻虙训葊"],encodeOffsets:[[119161,35460]]}},{type:"Feature",id:"chong_qing",properties:{name:"閲嶅簡",cp:[107.7539,30.1904],childNum:40},geometry:{type:"Polygon",coordinates:["@@蓹葌貌蓽屁聵押蓻痞葋虗@篇聴玫艔蠁匹貌葍匹虓僻么蠀虖僻么帽贸贸么蓻艔譬么僻匹么僻贸蠀屁聹虙压么聹痞葍@謨匹蓻虘@@蓽僻贸@蓺僻@帽蠁蟽玫@艓蓾么僻聴@实逊贸僻实贸聵@艓贸艕贸@么葋匹聸贸虙蠀么贸识蓹聵僻葎蟼處僻葌么屁屁屁蠁蓻處艕屁史蔀@蟼援贸艑么么蠁@蓽謭處屁"],encodeOffsets:[[111150,32446]]}},{type:"Feature",id:"ning_xia",properties:{name:"瀹佸",cp:[105.9961,37.3096],childNum:5},geometry:{type:"Polygon",coordinates:["@@喟蔡捗崔犗営捪偯雌呏嚿溑嬔好程幦佁嵣汙压住@@实僻葋么贸@强虗艔枚实蓾艐蓻@么虘匹贸贸屁僻聴贸聵么聹贸@譬么贸痞虓聹贸葊屁艓蓻訏么艕蠀酮蓻@@葊蓹@"],encodeOffsets:[[106831,38340]]}},{type:"Feature",id:"hai_nan",properties:{name:"娴峰崡",cp:[109.9512,19.2041],childNum:18},geometry:{type:"Polygon",coordinates:["@@蠁蓽痞识虗么蠁么處@屁艓枚@蟿实痞聵冤郢玫袧虖贸匹葍僻@譬蓹诐屁虘痞@蓼"],encodeOffsets:[[111240,19846]]}},{type:"Feature",id:"tai_wan",properties:{name:"鍙版咕",cp:[121.0254,23.5986],childNum:1},geometry:{type:"Polygon",coordinates:["@@么聴譬蓾枚僻蓾训蓹蓿虖蟻譬原贸艒贸酮蟻蔀僻袨么元輬喱ρ渡溙捝�"],encodeOffsets:[[124831,25650]]}},{type:"Feature",id:"bei_jing",properties:{name:"鍖椾含",cp:[116.4551,40.2539],childNum:19},geometry:{type:"Polygon",coordinates:["@@贸贸贸聸蠀贸么匹@艔贸贸蓹@僻艐譬艑蟻贸蓻艕贸识讯蚀匹识處聹么屁蔀@贸艓蓽艑處虓蠁聸僻艐屁实"],encodeOffsets:[[120241,41176]]}},{type:"Feature",id:"tian_jin",properties:{name:"澶╂触",cp:[117.4219,39.4189],childNum:18},geometry:{type:"Polygon",coordinates:["@@么么蓽聴@屁枚蓺么聹么么蓺艔@贸匹@@葋痞僻蓽@贸僻屁匹@聸僻贸蓹袧虖贸逊蓽@艓痞屁贸袨"],encodeOffsets:[[119610,40545]]}},{type:"Feature",id:"shang_hai",properties:{name:"涓婃捣",cp:[121.4648,31.2891],childNum:19},geometry:{type:"Polygon",coordinates:["@@蔀蟼屁聹蓻葊么艕跀蓻贸蠀么虓谉艔虘虙"],encodeOffsets:[[123840,31771]]}},{type:"Feature",id:"xiang_gang",properties:{name:"棣欐腐",cp:[114.2578,22.3242],childNum:1},geometry:{type:"Polygon",coordinates:["@@贸蓻譬@蟻@贸聹么葊蓺艓屁@枚@@艒屁@"],encodeOffsets:[[117361,22950]]}},{type:"Feature",id:"ao_men",properties:{name:"婢抽棬",cp:[113.5547,22.1484],childNum:1},geometry:{type:"Polygon",coordinates:["@@X聧炉aW膧聞@l聫"],encodeOffsets:[[116325,22697]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/chong_qing_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"500242",properties:{name:"閰夐槼鍦熷鏃忚嫍鏃忚嚜娌诲幙",cp:[108.8196,28.8666],childNum:1},geometry:{type:"Polygon",coordinates:["@@XJ掳聹lJX@lbl@XbV@VLnJlxnb職聝UU@IVK@lVIVwnJlU@n@J@L@Jn@l_nWVLVln@@blL職mV@@x聹脭聜`n聹聶xV聜脠Llx聞LVxVV職聝V_U禄VWn_m楼XwVmnX掳聝lmUUVw脼aV聝聛k@a@mmIUa@聶mwk@聶聝m@@U炉a@UV@@K聶聧@ykkmwkV@kU@聝脩聝VkKWL脜amaU聧m@kyU@WkU@Ua聶IUa職聫VaUUmUUa@aVLXKWa炉UUbmJXnWnX`l@@xkzW脝@V聞LU娄聜x@b@JkIkJ@LmbUamJ聛wm@贸x聝nk@V聞@x聞聨VnUVmVU聬V聨UbVlUbkXW聨"],encodeOffsets:[[110914,29695]]}},{type:"Feature",id:"500236",properties:{name:"濂夎妭鍘�",cp:[109.3909,30.9265],childNum:1},geometry:{type:"Polygon",coordinates:["@@WVXb聜UnK@x@b聜虏kxmKkl炉_聝VV掳聶VU聬@bnKVVV@@nk聨@n聸bn聜@職掳@VL膶U職@掳WV@V聶nU@InKV聫l@nU聞b聵KnX聞WlknLlKUwnalL職a聞VlUXmWk@UU@UWWIUy姆鹿XaWW@聛X聶聝KUIVm聞U@W@UVU@KV@n禄VkUk脟mUmVIUmULUbm@聝wUa聝Kkkm聫炉脩UL@bWVnx@VmxUI@聞klmkkK@a聝K@IlJ@I炉聝k@mak@mnkJVL@bV@Ub聞聞W`UUUV聶I@V聝U@VVbUJVLUVVbUX聞VVxk娄VJUnVxnVVU職JV@Ubl@@bXV@L"],encodeOffsets:[[111781,31658]]}},{type:"Feature",id:"500238",properties:{name:"宸邯鍘�",cp:[109.3359,31.4813],childNum:1},geometry:{type:"Polygon",coordinates:["@@nLWbX聜VLVU聞V@K職IVl@b聞@lb職U聞VnU@J脝U@V@n掳K蘑Ul@Vb脼K職V職@聞_聞V聜KXU聜U@KX聝@wlkkU@mWKUU@U么J@XV@聹aVm脼IVaVL聝聝@禄km聝@聝UkL聶U@aU@WW聝LUUU聶聶Kkb聝wWa@KU@ka聝XmW聴L聝amVk@U聬mL@JmVU職U@炉X聶@膵VUK炉@脜nWK聶LkKULWK@UXK@wW@聶LkV@bVL聝lXn聸`炉xU聞掳Ln聨lV@n掳Lnl"],encodeOffsets:[[111488,32361]]}},{type:"Feature",id:"500234",properties:{name:"寮�鍘�",cp:[108.4131,31.2561],childNum:1},geometry:{type:"Polygon",coordinates:["@@n@na聜I聞w職@@VVK聞LVbVxnV脝UnanKW聛XamKmk炉K@mkUm聧炉KV聝掳w聛聛@Wm@UIUUlKUU@a炉KWanwmUXamKk聛U聫WUnU@K聝kUwWKXaWLUWkImaUUU聝聝Kka卤聧k@l聝炉w聶wmbU聝聶聝kXm@UJkIW聜XX聝b聝m聝聞UJ聶XUV@掳職Kl聬職lVX聛V@xmbnV@blV@V職聹U`UL@V聶a@bULlb掳VXb脺職@V@b聝L@J聞xnLVb@lVb@V聛@@z聵bXW職X聞KVLV聜職@@bUVVL@b聞聞lVna@ll@聞zl@@J"],encodeOffsets:[[111150,32434]]}},{type:"Feature",id:"500243",properties:{name:"褰按鑻楁棌鍦熷鏃忚嚜娌诲幙",cp:[108.2043,29.3994],childNum:1},geometry:{type:"Polygon",coordinates:["@@聞Jlb@nVV@bXb@脝lL聞Ul`n聬VKU录VxkbW聞nlUxlXX聜@聬掳掳WnnJ@VUn@J聞k掳L@VlV@nUJ聞x@bVVVz@VnLla聞KnalVlIU聨聞录@nV@@anKUwVal@U聧lJ聹聝lI@akU@UW聫XKVI聜炉Uak@@KmkXW脺kX聧WykIWwXw@聫laXamkVUUym_XmlkkmmakwmIUKU@Wak@kaW@kI炉聸WIk娄V聨聝UU聝maUV@XkVUV卤aUb炉b炉楼m@@ImJ聴@m聝mL@kUKUkkJ聝bV娄"],encodeOffsets:[[110408,29729]]}},{type:"Feature",id:"500235",properties:{name:"浜戦槼鍘�",cp:[108.8306,31.0089],childNum:1},geometry:{type:"Polygon",coordinates:["@@lb聞LV聞VVnblJVXXKWbXLVx聞l@LmVXVV聬l聜nLWbnVmxXb掳L@bVVkLVVVJn@@X聜聜聹_Wm聞kUK@alU職KX@@xWL@VXLVKlL職KXL脝m@聶m聛聹a@ml聧@mU@UUmL@aV聫職UU炉聞U掳`lknLlw聛卤@a@wmL聛VWaXU@KWU@ak@VaU@聶IUVmUUwVmUIl楼Uw聝UVWUaVUUKVIUa@UUUUJ聝UUm聶k聝聞nl@聞@VWV@L炉aUb聶Ulx聝@@b@VULUx@VUxVV聶U@bU@mxU聞U@mUV聨klkk聝@Wxknlx聛K@amL聝KU聞聛K"],encodeOffsets:[[111016,31742]]}},{type:"Feature",id:"500101",properties:{name:"涓囧窞鍖�",cp:[108.3911,30.6958],childNum:1},geometry:{type:"Polygon",coordinates:["@@母膴VI聞聝聞n聞aWWX聛lJVIn@lW職聞V聞na職x掳xk聞l@虏聨聜LV聝聞LnK@b聜LkwlmXw聞@lllkU聧nVV@V聝nwV@@a職VUUVw@UVwVK@U@a聞@kw職VVa掳b@KXU@U@聝mk聞聝脟脩聛aml聶kUVmn@VULU聵m@kUVkUa聝wUWm@Uw炉聞mKUUmVUUULUKU聞W@XbWVkaWwkUU聶聝聶k@maUbmbVlk娄聝xUVUIWVU聞kJVVkL@UmJ聶UUVU@lLUVU聞lx聞@@聬Vb聝J聶U聶L炉陇@V聝聞"],encodeOffsets:[[110464,31551]]}},{type:"Feature",id:"500229",properties:{name:"鍩庡彛鍘�",cp:[108.7756,31.9098],childNum:1},geometry:{type:"Polygon",coordinates:["@@VK@w炉L@m@U脜V@ImV聝U聶Vka聝@@aUk聶J@L聝UUVUKmLmb脜VmUUwUa聝KUL@U聶@聝x聛Jmbm@聛nVJ@X@VkV聜n聶l聝LXx聶@聝b@bUV聝LU`Un聝bU@@聨mVVX@JX@VLVV職klV聴聞聜`@bUL@V聞LVKn@聜U@聞UJkn@lmLmK@X@Jn@mb聞n脼WVXnJ聜k聞K膶脩脝@VK@kna脺mX聛lU膶W掳k么脟脝聛@a@y脼_Vm聝UnU@K"],encodeOffsets:[[111893,32513]]}},{type:"Feature",id:"500116",properties:{name:"姹熸触鍖�",cp:[106.2158,28.9874],childNum:1},geometry:{type:"Polygon",coordinates:["@@聞InWUUlU@LVa職lX@掳虏l脪XxlK@Ul@@Un@UaVJ@I@W@U聝UUVUwVIUKUa聜UU聫Vwn@脺x@XUlnn聜b聹J@楼VklKUUlk@ynU@kV聝UUVWnI@楼V拢VWVIUKU@UV聝a@n@Vm@@n聛lUaVkUw聝J@blLkLW@XWmXkmmLn聶@m@U@UVm@聶聞UV聫UUlakUVa聞聝VkV@@wnaWUk@Vwk聝lmVIkUUxmJ@U聞聶@K聝Ikx卤V@IUm@K@IUKkbWKUbn聞m聞@bmVnbmb@xkxUJ@聬ULW`@bX@WVXL@V聝職炉聞mk炉@UJ@VmLUaWnX@WJ@nkKkxW@UIV@@KkImmkK@UW@XaWIU@U聜聝IkbWb聞xX聨lLVbnV@bWlX@VxVLnl@n脝脼V脺"],encodeOffsets:[[108585,30032]]}},{type:"Feature",id:"500240",properties:{name:"鐭虫煴鍦熷鏃忚嚜娌诲幙",cp:[108.2813,30.1025],childNum:1},geometry:{type:"Polygon",coordinates:["@@聞職@kl@職录UbmVXJ@bV@nxVIVJULVVk@@LWbnJVU@bVbUJ@blLXnWV聴@mbnV聜@V聞聞bn@VJVLnaVanbl@聞職V職lVXxlbXUWaX@V聝UUVwUUVm@I@WmI@a聞mlL聹聶lK@alwnUV@k贸Va聝脻聛k@UlbVK@聶VU聛禄V聫U聛UVWU聝@U`ULkwm@@KmU@knK聝禄V聧kJkUmb聝LkbmK@UUyUU@a聝wm@@XXJ@VVLVVUbVnUJVX@K聞聞k`WXXJWXUbmW@bkL聶Um`Xn聝b@JVL@LU@聶掳VVXKVnUxVLUbmJ"],encodeOffsets:[[110588,30769]]}},{type:"Feature",id:"500237",properties:{name:"宸北鍘�",cp:[109.8853,31.1188],childNum:1},geometry:{type:"Polygon",coordinates:["@@kV聝U聶bkKmbVxkLmKkllbV@@LXb聞xla職LV職VV聞KXXV@@b職VlK聞V聞@ln@录掳KXa聞U@Ulw掳JXalIUa聞脻W聧XW@kVU@聝VUVWUUUamU聛w@aVamwn@VUU聝lLXWm拢@w脟膲kKklmLU脪炉聝Wn聶@臒聫卤聛kwma聛Wm录U@@LUV@V@X聝VUnVJ聞LW職@聜XXWb母潞VzXJVXV@@VXlWn"],encodeOffsets:[[112399,31917]]}},{type:"Feature",id:"500102",properties:{name:"娑櫟鍖�",cp:[107.3364,29.6796],childNum:1},geometry:{type:"Polygon",coordinates:["@@n猫Vbl臇VVnL職聨聞@職x聜V聞n@n職J@L聞UVVX@lbUJV@@nn@VVVK@z聞聵V@nzVJVUlmX@@_VVVbnaVal@@knW@wna聝聧VK@aVI聞J@拢kUVW@聧聜wXUVJ聞am聝@Ik聝聝聝聝_X楼聝@WwkKkwm聨聶職聝kUx聝n脜mm楼聶聛聛WV聧@Um@UlVL@JU@@X聝@UVkKVk聶KVk聶Kkb@bmJVXU聞VVUbU@@`W_UV炉b"],encodeOffsets:[[109508,30207]]}},{type:"Feature",id:"500230",properties:{name:"涓伴兘鍘�",cp:[107.8418,29.9048],childNum:1},geometry:{type:"Polygon",coordinates:["@@脼猫@XUK@LlV@blbUJ@聞聞V@bnV聜聬@VVVXU@聝lbXal@VXnKV@maXU脼聝@amk@aVKXV聜anb職拢掳mnIVaUKVwUmWLUU職炉V@@KUK@I聞aWmn_職VlK@anXVaXWWIXWl_聝聝@LUWVIUmVaUUUK@UWI@Wn@VI@mkU@U炉K聝l@ImV脜L聝wU陇贸bUU@wW聫Xkmm@LU@@VUIWVUL@JUn聝a聝x@Jn聞聝bUIWV聛x@聨UXlV@陇聝IUJ@bUL聞聨mb@xmX@lk@UbmbUaUU@`W@kn"],encodeOffsets:[[110048,30713]]}},{type:"Feature",id:"500232",properties:{name:"姝﹂殕鍘�",cp:[107.655,29.35],childNum:1},geometry:{type:"Polygon",coordinates:["@@l聞聞w聞bVm@IVKXUVJ@UV@@KnnWlX聬@xVV么aV拢聞x脝KnUVm@UmIXm炉炉@聫W聛kWVwmkX聝laUwV禄ULm聫k_聝VkK@脜Wa@aUU@mka聝I聝b@聜n录聝nm聜聛_@mmK@U聝LUV聛VmI@aUJ@XWJ@聬U`UIkm卤kk@@lULmUmKUnV職nlUVmI@VkVlx聶bkI聝VmLUxkKU聨聜X職聜n娄脝n聞mVw聞l職聶n聧lxlLXx聞@W娄聞`聞聞"],encodeOffsets:[[110262,30291]]}},{type:"Feature",id:"500119",properties:{name:"鍗楀窛鍖�",cp:[107.1716,29.1302],childNum:1},geometry:{type:"Polygon",coordinates:["@@V職UbVJVUn@VLX@WVXVVI@VUVWxU@m職@膴X@@录V聬掳aVUX`@_V@VaUUV聝UWnI@ala職LUl職LUllLVU聞@@WV@@IUKVkn@@VlLVwnK聞UlJ職akwlU@UnJVUmkU聶VmXa@wVK@UUw聶@V聝VI@ak聝@alInwlKXUmaUW@wWLk聶聶KVak_脟aU聝聝V@職Xb聝LVxUlWIk@UK@V聶@聝kU@VbUVUlVn聝LUV@lVXmxkV@L@V@Vk@WbUwmL@JUI@xVxkx"],encodeOffsets:[[109463,29830]]}},{type:"Feature",id:"500241",properties:{name:"绉�灞卞湡瀹舵棌鑻楁棌鑷不鍘�",cp:[109.0173,28.5205],childNum:1},geometry:{type:"Polygon",coordinates:["@@XlV@lzn@V聨nb脝bXKlL聞U聞脪V@@llUnxll@z職聨@LU@@V掳b@Vn@職聞l@V脩U聝nK@U職U@aUa聝kVm@K炉w聝klmnn聞Ul`nI@almkIUwmWVkUa聝kkJmUUa@K@aU@@_m@@wUyVUUa@Um聝@a聛wl聛@Wka卤聞UkUykIWV聶b@bUVk@聸aU@UXU聜UIWakUWmUxUV@nUVWb職聨@XXVV聨mXX聨@V聝bVLkVWx"],encodeOffsets:[[111330,29183]]}},{type:"Feature",id:"500114",properties:{name:"榛旀睙鍖�",cp:[108.7207,29.4708],childNum:1},geometry:{type:"Polygon",coordinates:["@@VX@V@LV@VJUL@lVnnxlb@VXV聜XV@@W聞@UIVK@kUKna@拢VWUaVUUalIVJVIUW聞_lm@bXKV@mn@J聞UUw@KnIVll@VanLVmUkVKXLVKUIVamw@聫UaU_lw聞KlwUWV_Ua@aUa@KU聛職wm聸聛_聸脫@wU@聶nkK@am@UkUKmXk`m@@I@K@I@mkVmIUxUJ@kUL@JVV聶聞lnklWnn`VzUVnlWbkb@聬WxXxlJXzW聨脹lWXnl@Ll@Vb聛掳UJWLX聬@VlV@bkJ"],encodeOffsets:[[111106,30420]]}},{type:"Feature",id:"500117",properties:{name:"鍚堝窛鍖�",cp:[106.3257,30.108],childNum:1},geometry:{type:"Polygon",coordinates:["@@XKVXlK聞聝VL@UnV@aValXXK聞U@WVwUaVU@IV@@aVW聞L@U@anVV@@bVK@UVL@bnJWL@VnUnb聵@@JnIlV聛l聜@@bXIWbn@UKVLVKXLlaV@VVnK@bVL聞m聞IV聝@KmknUUWVI@aVJ@_聞WU_VmUw聝U@K聶聝Va聛k@am炉mJU_UJUkU@W聫kIV`UI@JV聬@LmmU@@m聝bUz脜聸聶聧@聞VK@nUK聝聞聝b聶akb@UWK@bkVVbV聞脹@@`聝Xk@W聨@n@lXL@bmb@VVJUn@JnUlnUlmX@`XLlbkJW@kzlb@`@b@b"],encodeOffsets:[[108529,31101]]}},{type:"Feature",id:"500222",properties:{name:"缍︽睙鍘�",cp:[106.6553,28.8171],childNum:1},geometry:{type:"Polygon",coordinates:["@@@娄聜@X聞lVX@@UVKl聞VUX@lanVlUVbXWVXV聝聞VVUnKVUlwUwU@UJ@nmVkUV聶lwXam@VaUUUw@W@kk禄mV@UmKkwVKVUU@@LUKVI@mV@XVWxnXVKUUUK@wWU@UUWnUlLXa聜mUI聞am聫@w聛I@K@amIm聜UUkI@m聜akUkKWUUan聝@w聝amLVxk@UVmUUL@Vm@kV@I@ak@@bWVXJlLVbVL@職@bn@@`Un聞@WbUKULWVXb聝@UVmbX聞WV聝b@b聛VmxUKU聬聝V@職Un@V@V@nm職nKlnnWWXX@lKkK@a聞IVxUlVb聜k@mn@@U@m聞bVUV@VLUJUXU陇"],encodeOffsets:[[109137,29779]]}},{type:"Feature",id:"500233",properties:{name:"蹇犲幙",cp:[107.8967,30.3223],childNum:1},geometry:{type:"Polygon",coordinates:["@@VL脼膴聞U@W職聛@录V聜聞@lk@w虏ml職VU聹聞ll職VnI@VlKUUlIV聝XUVJVU聞wl楼UkUKUIm@聝aU聝聛@mUna聵@XUWmkK@aVIUa@aUVmIXa@Kl@UUVKUIUJmwU@@aWInUVa聶禄k@@l聝聶炉n聶陇ma聛bWUUL@bnl@b脻聞WVnbU@mLUWk@Wbka@聞WVUU@U聛聫mUmVkUULV聞lVUx聞l@L@V聝b脠脪lb"],encodeOffsets:[[110239,31146]]}},{type:"Feature",id:"500228",properties:{name:"姊佸钩鍘�",cp:[107.7429,30.6519],childNum:1},geometry:{type:"Polygon",coordinates:["@@XLV@VV@b掳掳n職聝nkb@b聝職nJWVXblIUV職xWnUJnVVLVU聞JlUnLVK@UnUVJ職虏nKVbVKla@aX聛lJ聞k聞Klb聞聝@U掳拢職K職V聞IUa@聫聝@kwV聝VUkKV@VUkk聸聝UVk聶卤n@xkl聝@U聛@禄聶聜@X聝V脻膲UJnxWb聛@UX聸KkVUbUKWUkVmkkLU`聸b"],encodeOffsets:[[109980,31247]]}},{type:"Feature",id:"500113",properties:{name:"宸村崡鍖�",cp:[106.7322,29.4214],childNum:1},geometry:{type:"Polygon",coordinates:["@@nxnVlJlUXL聝娄@x@Vl@nKVVX@V_V@@KlVXU聞@lKlxXIl@脠膴@Vl@n_VJl聨n聬Vlnb聞虏VVVJV聛VmUUk臅Uam莽U聫@禄W@@膲n聶V@XwVU@UUJWUXUW@UKm@UVUIVaU聶UVmLUV聝UU聞UWWXUakVmUkbW@UVk聝UL@VW@kUW聝聛@mJUXVVU聞@lmV@zklVVkLUl@娄聸I"],encodeOffsets:[[108990,30061]]}},{type:"Feature",id:"500223",properties:{name:"娼煎崡鍘�",cp:[105.7764,30.1135],childNum:1},geometry:{type:"Polygon",coordinates:["@@@a@a@_kalyX@lIkaWK@_nWVkkmmV@IVmUI@Una@aWK@k@mkbWaknmJUk@mk@@kUal@Ua職@Wa@aXLlwUKlkk聝@KmI@VUJ@Lk@@VUUmL@amJU拢kKUaWakLmU@bVVUbnbWV@xkL@bUb聜xUxVbXJVbUVWIUVU@kLWxkKWV@n炉VUbU@@VVX@VmaUL@VUK@VVbn@lVnI聜@@lnLULm@Ub@聨l@na聞@lK@XVVkJ@b@zl@@VnV@bVb@J@bnXV`lXXmVI@W@InbV@@aVKUblKVLUanLlmnLlK"],encodeOffsets:[[108529,31101]]}},{type:"Feature",id:"500118",properties:{name:"姘稿窛鍖�",cp:[105.8643,29.2566],childNum:1},geometry:{type:"Polygon",coordinates:["@@@b脺聞nWVLX聞lxV聞VxXxlVn@@bVblK@a@UnLVJV@@UnLVU@VXaVKVX職@n`W聧U每@IUKlaUUUkWyU脹脜脻@mmkUKUwW@Xk@amUUakKW聧聝wXa聝K@VVLkl聝XVlkxV聞UL@bm@Vxn`聝IVxUVkLV職U職l@@lkXmm聝VUn@VV@Xb"],encodeOffsets:[[108192,30038]]}},{type:"Feature",id:"500231",properties:{name:"鍨睙鍘�",cp:[107.4573,30.2454],childNum:1},geometry:{type:"Polygon",coordinates:["@@職膴掳陇n脪聵录聹aV_lKnllUXVVLValU聹LVW聜@XamwVIUKka脟脩聞a@U@K聝kVwkUU聝VKlVnU@a聝U@聝VIka@akU@KVL@W脻莽UV@Vmb脜炉@L聶K聝nnJW聞聝VkxlL@VX@VxmnXVWxUb@bkn"],encodeOffsets:[[109812,30961]]}},{type:"Feature",id:"500112",properties:{name:"娓濆寳鍖�",cp:[106.7212,29.8499],childNum:1},geometry:{type:"Polygon",coordinates:["@@@bVVXL聜a@lnbWn@L聞@XVlK@VVLUVlbkLUKVVVL@V職nX聜VL@VV@UbVb@x@娄UxVb@bUJ聝L@L聞VVxlK@聶nk@U@W聞UVLlKXV聞@VblU@UUKVU@wn@VJVanLlkX@VaVK聶炉@a@U@U@聝VaUK聞kUU聝卤maUkm@UUkbm@@Vk@@J聝wU@Ub@I@JmwUL@a聝@@KkV脟Lk聝Wk聝@kUU@@xUVmKUnllUb"],encodeOffsets:[[109013,30381]]}},{type:"Feature",id:"500115",properties:{name:"闀垮鍖�",cp:[107.1606,29.9762],childNum:1},geometry:{type:"Polygon",coordinates:["@@VV職U聞bX聜lX聞楼l@XnVmlxUx聞@@blVnn么膧lm@aVaXwWUnmUwW@@UkKlw聞UX聝mI聞m職L@K脝掳na@UUImyU@聝聴@yULUUm@@mU@VIkaW@UU聝V@K聶I@m聝m聛U聶w聝@聶聧mKUnU聜UI聝lVLUb@聞@V@V@b職掳ULUbW@klmKUbUIm@@xUVVL"],encodeOffsets:[[109429,30747]]}},{type:"Feature",id:"500225",properties:{name:"澶ц冻鍘�",cp:[105.7544,29.6136],childNum:1},geometry:{type:"Polygon",coordinates:["@@XUmaVaUU@anVlKXbValU@aV@@IXK職@@bV@VxVK@UXLlU職JXa@_聜@@aVK聴脜WVkwWa聛聝聝wUa@am@kUWLU@kWmX@ykI@W@UV@na@LlLV@U聝kwW聝UKmXX`mIVl@bXLWVkbkk聝x@`VXm@@J@U@UUKUxk@WbUIVl@VXLW聞聝JUkUlUImxXlmb@X@VUJUnVb職W@UV@@VVX@bnW@LVxUnlJUV@n聞@VxVIn@l`聞UVVVL"],encodeOffsets:[[108270,30578]]}},{type:"Feature",id:"500224",properties:{name:"閾滄鍘�",cp:[106.0291,29.8059],childNum:1},geometry:{type:"Polygon",coordinates:["@@VblLV陇nI@bnKVV@Ul@@KVI@UnJ@Ll聞klVLkxWK@bXb聶@Vbk@Vb@ll@@nVlnIlmXblaX聧l@聞W@_脺@U聝UalU@aXL@Vla職b聞a聞聝VL@mUL@聝UU聝聝脟聧XUW聸X_Wa聝聝U聝聛禄m_聶@UWULWb@UUVmK@VU@UImK@V@bkL聞x聜聞XblxXU聵脝UL@b聛@@`Wb聶IkVWK@VULUwU@@a聶@WL@JU@@bkVUb"],encodeOffsets:[[108316,30527]]}},{type:"Feature",id:"500226",properties:{name:"鑽f槍鍘�",cp:[105.5127,29.4708],childNum:1},geometry:{type:"Polygon",coordinates:["@@VI@U@WnaWknwVJVkVl聞IX聝WK@UUkVJXal@VwVL@V@V@In@UW@_聞wlllaXUWK@aUknJW_脹聝@aWaU@@UVm聞UUaUImJVn脜UmV聛Um`kUUVWLnVU@VVmX聝K@聞nxm聨ULkx聶ImJ@nU`@X@Vkn@`@nlV@nVJVaX聞VLnK@bVV@nV@lbXW職@"],encodeOffsets:[[108012,30392]]}},{type:"Feature",id:"500227",properties:{name:"鐠у北鍘�",cp:[106.2048,29.5807],childNum:1},geometry:{type:"Polygon",coordinates:["@@XzVlVVkbVL@JV膧X聨聜录V聞聞聞XbW`X聹WV脠聨聞聞VV職聨VkV@@UXa@alK@I聝聝U@UKW聛UyUI@wVUUWVak@VUk聝W鹿@WXI@yVIUK@kWwk脩炉卤W@聶kUb@KkVVVmX聝J"],encodeOffsets:[[108585,30032]]}},{type:"Feature",id:"500109",properties:{name:"鍖楃鍖�",cp:[106.5674,29.8883],childNum:1},geometry:{type:"Polygon",coordinates:["@@X聜VLV@聞聞@JkL@bWb@VU@Ul脝聹Vy聞a@nV@nn@KU聫@IVJU_lJX聬V@VlVIV`nIn掳@b聜lUb職聞聞KVI@aUaVw@楼@wUaVaU@@UUKW聛聶m@UUKUUVLlKkaVUUK@UkLWU聝@@KXmma@k聛bWKUU@aUamLn脼@VWLk@@Wm@ULU@@U聶KUVWI"],encodeOffsets:[[108855,30449]]}},{type:"Feature",id:"500110",properties:{name:"涓囩洓鍖�",cp:[106.908,28.9325],childNum:1},geometry:{type:"Polygon",coordinates:["@@VIV@@wVJ@InKVxXal@@U@U@KlUnwUW@kVU聞KUmVkUa@I@KW@@bk@@m聝U@m@k@a@a聝IUxmJk@聝wUL聝wkKmVVX@VXV@xVLVVULmWXwWUU@@nUJVL@KV@UVULlxnL@VnUl录@l@XVxVVUbn@WbkxU職lVnU@m"],encodeOffsets:[[109452,29779]]}},{type:"Feature",id:"500107",properties:{name:"涔濋緳鍧″尯",cp:[106.3586,29.4049],childNum:1},geometry:{type:"Polygon",coordinates:["@@XK聜L@V職@XbV@lW@UV@@VXIV@U聶VKlL@Kn聬nJ@VV@VU@I聞@@mVUVWUUmL@V炉LUK@UV@UU@a@U@yU@WLUK@X@KUVmL@聝@aXI@w@ammVk@W脹wm@UxV聬聛VVbVLUJVxVU聞V@V@X@JUIVbm@@Vk@@VkL@lVLUJ@zWJ@X"],encodeOffsets:[[108799,30241]]}},{type:"Feature",id:"500106",properties:{name:"娌欏潽鍧濆尯",cp:[106.3696,29.6191],childNum:1},geometry:{type:"Polygon",coordinates:["@@X潞l聞UVl@UbVXUV@xVJVzXJVU職L@VV@VKn@@Xl@XK@Um脻nKVbVakkVm@k聞聝UK@UmIm聫@LkKULV職U@WJ@UU@@VkXU@Wa聶@@U聛KWL"],encodeOffsets:[[108799,30241]]}},{type:"Feature",id:"500108",properties:{name:"鍗楀哺鍖�",cp:[106.6663,29.5367],childNum:1},geometry:{type:"Polygon",coordinates:["@@VV聞JVL@bUVVnl`XIlwXJlw掳nnl聜IXW@U脟膲k@WJkwkL聝@WVkU@LU@U`W@UXUV@n"],encodeOffsets:[[109092,30241]]}},{type:"Feature",id:"500105",properties:{name:"姹熷寳鍖�",cp:[106.8311,29.6191],childNum:1},geometry:{type:"Polygon",coordinates:["@@nLVU@wV@lV聞@Xll聞脠KlU@L聞@@bVKnx@I@JVaV@聞x@Il@@Un@laVVn@m聫k聧UIm`k@WX聛Jmk炉mkxWIkxWJk_UmVUUK聝@UU聶@聝聞@l"],encodeOffsets:[[109013,30319]]}},{type:"Feature",id:"500104",properties:{name:"澶ф浮鍙e尯",cp:[106.4905,29.4214],childNum:1},geometry:{type:"Polygon",coordinates:["@@k@@U@w聞楼WKkVkImUmw聛a@b@xWJ@b@聞nKVU@L@WVLXKV@@z@V@bVVU@@VVL掳K@U"],encodeOffsets:[[109080,30190]]}},{type:"Feature",id:"500111",properties:{name:"鍙屾ˉ鍖�",cp:[105.7874,29.4928],childNum:1},geometry:{type:"Polygon",coordinates:["@@WwUwU@kK@KmbU@@V@XlJ@znWlXV@XK"],encodeOffsets:[[108372,30235]]}},{type:"Feature",id:"500103",properties:{name:"娓濅腑鍖�",cp:[106.5344,29.5477],childNum:1},geometry:{type:"Polygon",coordinates:["@@VL職@VV聞@VL@aUK聝IUU聝@@JUVU@"],encodeOffsets:[[109036,30257]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/fu_jian_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"3507",properties:{name:"鍗楀钩甯�",cp:[118.136,27.2845],childNum:10},geometry:{type:"Polygon",coordinates:["@@@kny聝k@聧聝KU楼職wV@nk聝W聝zUmk@@聧lKUa@aVI@U聝KUamKUUVaUI聛聜@X聝@UV@K卤IUVVlUbUbUL@KWUXmWk@KkXmmk脜聝KU聝聶a@amU聝bkUkKWUnwU聝脟wV聶UU聝脻UKV拢U聶@聝nKWwXLVKm楼@wUXkmWk@聝@wX@lU聞@職yVImaXwV聝聝@k聨聝nU@mbk@mlUX聝mU@mV@n@bnW@bUIWJ聴ImVUKWbUK@nkK聝aU@W_聛VUUmWmL@UU@聶bUWUL@V@bmVUz@`mUUVVbXL@V聶L@lmLUxmV聛amXkW@xWbU聞VbUxkU卤@脜UmmkLUbW@@`kLknVlV@lbXxlVUXVV聶聨U聞U@UbW聨kIWVUUUJkI@llbUxVL@V聶V聝UU掳ULUmWXUV@VULWb聛@聶xm@UaVLVKUa@聝聛w@V聸bk聬mV聛ambUUm@@VkK@聞@b聞xlxX@聜聞n陇@X聝@@lkLWV@聨n聞V聞kb@bWJXLWx@nkxmm聶bXn@VWVUn@VnJ@bVXl@聞聶VJXnWbX`lL聞UlJVI@聨聹@VXV@Vl@bn@@脝mn@V職xXU@mVIlx職V職職nI聞l@nVJ聜aXI@mlU@aXkVm掳klmnVV_na職掳@V@x脺娄XK聞V聜nnUlVXbVK聜LXKV@naV@@聬VVl@@lXblX職WnLlbVK虏n職@@聜VLUnlV@l聝X聛x么掳聜V@UnaUUlKXLVUVVUbVVlUnJVX聞@VW@an@lb聞@n聬l@VU@an聝職UVW@k聝aUm@InVVKVU@聧kUW@Uam@km@kVa@a@聶nw職U@WlI@mVI@WXaW_n聝@聶n聝lkkW@U聜楼@kV@Uw@wU聫聝@@IXK聜楼VIn@nU@`@Xl@VV聞Lna職W聜bVaUwnU聞@VI職KlV"],encodeOffsets:[[122119,28086]]}},{type:"Feature",id:"3504",properties:{name:"涓夋槑甯�",cp:[117.5317,26.3013],childNum:11},geometry:{type:"Polygon",coordinates:["@@lL@Un@VVna聜bnUl聫聹a@U聜x@聞VbULUKVbn@職w聜@XaVK@UVUXWVnVKV炉聞V職U@UUKVwka@klJVIVVXUlJX聧VaV@V聝職聧UUVWkUWwkaU@UklmlK@_X@ValKnn脝V虏@lVVwUaV聝Xa@wlXnW聜bnUVwnK@k職K@UWKUaVUnV@_VynU@a@UVKVX職aV@@VnKnXVV聜UX`V@聞blL@mVLXaVLnU聵JXIVJ@amX@a@mnUV@聞nVWnkl@naV@聞ml聧聞@@Km聛聛KUam@UU@聝@UlKU聶Vk聶U聶K@aVaUwV聶U楼UIkJ@wmI@聜mbkwkVW@UX聝KULU`聶IVKUa@L聝kkVmUU@WlULUW脜U@I@聝WW聶nU@@w@a@聝Uam_XyVIVWkk聝@mwVKXUV@nw聵VXkW聝脜聶U@聝a聝U炉KUn聝K@聝炉職mU聝LX聨VLnWVbVbUVm@Ub炉录W@聛am聬聝`kb聶amLUUU聝聶aUXV`@x@XmJ@n@L@xkJUU@kU@mWm@kUUwUUVWl@VUkI聝y@kkaVUUm聶IWVXbWxU@k聞mVkK@nWVX娄WxU@@bkx@VU@W聨k@聶kUbmJUUmkUW@_kKWK聝@knV陇kIUKWLUbV聜聛@Wbk@@VWL@VkI@lUXVxUVU@@mWI聝V@a炉nUa聝aUV@聞聝J聶b@b脼掳VbU職@X聶aUVmL@聜VX聛bl聨nV聞掳聵n@Vnx聞@VUUUlK@InJVb@聞Vlnn@V聶L@VWJU聞聛x@XlJUVV聬Vl@LUUUJ@L聝聞@lUL掳娄k聵V聞VnV@聞xV聞聞l@blLnl職LVaXll@職nVUn@聜xn@nml聬掳聜X@lb"],
+encodeOffsets:[[119858,27754]]}},{type:"Feature",id:"3508",properties:{name:"榫欏博甯�",cp:[116.8066,25.2026],childNum:7},geometry:{type:"Polygon",coordinates:["@@職a聞I@聝VU聞bVb掳m@b聞UXJ@nV@VUUwVW@klJ@UXK@Ul@Xa聜@U聛VaXKVLlJU拢lm聞@XLlL@`VXnlVVnIVa職ll@X聧V@@Ulw@aV@XwW楼XU@mlLnUl聝V@XwWaXU職JVnUVlb@l聞zlJUVk@UXVVVxlVn@nXV@@lVVlI@w@K@mnI@W@wU_VW職bV聞VVnK職bla聞_n聫聜bX@掳禄Van@VUUaUamXUKW聧聞K@a@Uk聝@wWkX聝WW@wUU聶K聛w@_ly聝wUkU@@U聝@kamVm聝Xa職UVUka@聫Wk@禄UUUV聝KkbWU聶VUbk@mk聝xk聝聝KnIVUmW@kUKmXUmVaU@kU@聫m聛@K聛UWVkIWJ@聨U@UI@wUUUa@KW禄nU@mVkUmm@XwWU@聝UUmL聛@聝w@mn聝V聧UU@aWak@@amxU@UxULWVXbVLU`mbUImVU聞聝bn聜V@@bVn@bnVWx聛LmyUb聝IUK聝@聛a聝Vm聛聶akbV聜UXW聞Ul聛KWbkV@聞WLUlk@@n職b聝b@lkKmU@聝UIWJkw炉UUVVxm@@XkbWx聴聫聸X聛K聝lUzWJkUUL@bmKkV聝@@VUIUlWV@X聞K@VkbWx掳xUb@LUbk@@VWb@LXJ@VWXU@@bUVV聞VVn@VVlLn聞@l聞@聜xk娄Vx@bVJXb聝n@JlnXxV@@聞nJ@X@V@lmx聞bUn@xVL@VVKlL@l聞聞nLVaVL@xkl@L聝xVl掳職聞X聞WVX聞Vl聞聹JW聬nxlJ"],encodeOffsets:[[119194,26657]]}},{type:"Feature",id:"3509",properties:{name:"瀹佸痉甯�",cp:[119.6521,26.9824],childNum:9},geometry:{type:"Polygon",coordinates:["@@@LVKVaVaUkVU虏J@LVU聞@@W聜聛VJUbVVnLVb聞L@VUJ@bVbkL@聨l@Vn聞y聞XmlU@聶xV娄聞L@聨聞lmz@lnL@bVV職bVb@l聞n職KVk聞Vl陇@zXV@職l@XJVLVKnXVK聜VnU@wUm@聛職KU聝@UlVlw@U@U@聝UaUKlU@kXKlmXIWKXaVIVUVK@KU@@k聞JVUnLVJUL@V聜IVa@VnL職KUnl`Vb聞V聞聛V@職聜Vbn@Vzn@lKnVlI聞VVKUalkXJl@XXVWVLVUUmVU@Unm聞拢lK@Uk@WUXK@U@WVwVk職聝臓k蘑脟掳aU脜Uwma牛聝杀U脟a聶w聞卤V鹿XalK么x聞@聞UVa脺蕮涂V贸b脜L聝Jm聞炉Vk娄聝聨k@mamXkKU聝UL聸akbk@mV@LkJWb@Vk聞mXk@UVmaUV@amLUKUamI@KUaU@WbU@UUU聝UIWJUkm@聛職聝w聶Kk聞VJm@kx脟聛V聝UK聛@mUVUkmlkkVm@聛amw聝LVWU@UbVLk職Ub聝@V聝mK@聛XaVWU_VJnwV@@kUmWakx聝@kwWakIWxnbUJ聶z聝@kVW@@x@聞XllnVW@xn娄ULWKXxmL@聞V職U陇VL聞脼VVU職脠xV聞mxXVlLlV聞anV@b職bV聞聞Ll脝nnlW@LXlWnXV"],encodeOffsets:[[121816,27816]]}},{type:"Feature",id:"3501",properties:{name:"绂忓窞甯�",cp:[119.4543,25.9222],childNum:9},geometry:{type:"Polygon",coordinates:["@@lxna@聛nJ@xlIVJV娄U職VxUb@b職L職VUlV職kL@V@聞VVn@Vb聜Ln聜@LU聞lJXblx聞@lwXbVn@lU@mxUIV`UXWb@聜nLU聞聞@Val聶UKVaV@UX聞Knx聜bn@lUkllnUVnV聜@VLU聞脠聜lwn@UIl聝職L聞x聜聶n@VlXIVJV聞VVV@XaV@Vb@LnJVbVLnK@bVUnbVUl@nWl聝@UXalI@KnUl@la聹bVKV聞lLnWnbl@聞聧l楼掳Un聝聞I脝K么a蝷U聞a@UUw脟W菗IUWU脜Vk屁m@聝@拢@KmLU陇UL耍J聶kU聝V菬UU姆@膲V聝KUk@脩掳w么脟職莽@墨職茅@脜牛楼m墨脹km录脜@聝V姆V贸掳艒娄U掳聝n@bVJXVVL@bU聨聝akLmx@xmxXzW`XbWnXV@bWL脹@聶a聝@聝aXbWVka脻wU@ml聛聛WKkLWWkLUKULW@kVmVUU脻聛UamV聴陇聸n@xUVUzkJV娄lJU聞"],encodeOffsets:[[121253,26511]]}},{type:"Feature",id:"3506",properties:{name:"婕冲窞甯�",cp:[117.5757,24.3732],childNum:10},geometry:{type:"Polygon",coordinates:["@@@bl@Xb@bVVU聨m聞@n聞x聜@nKVV@聞XVWxn@VnUl@nmVX录@LVbVV@xVJV@@聧XIlJXU聜V@Ln聜@聬lVV@UbVnnWVL@lnXUVmJ聞Ll聞聞wnll@Va職UXVla聞LVUVV@录Xl@聬lbUV聶VWbn聞nUlb聞@@VV@聞aVU職ml聧Ua職Uny@kU@Wkk@WaUVk@@ammk@@U@UlU@aUa@wl@職mXLllnL聜U@anVnU@L@VVV@KlXnWVnVanU職w@w@wm聸n脜@w聝aUam@Uk聞mU聧l@@a聞a@U@楼職k么K聜w脠炉掳w@呕kw菚a聛K聸脩脹k@臅艒艡膵拢牡聝UKW禄k脜呕LU@Ul摹w@陇Vz聶VUbkKUbmLmlULU录UxmbXl@bWV聝b@bUnV聜U職VbULU@@VkbVL@`U@WX@聨XV@b掳聞@b炉職@陇@Xm@@b@`U聞VVUL"],encodeOffsets:[[119712,24953]]}},{type:"Feature",id:"3505",properties:{name:"娉夊窞甯�",cp:[118.3228,25.1147],childNum:9},geometry:{type:"Polygon",coordinates:["@@Vl聞xkz@`聜x職LVV@xXXW聞Xl@xl聞@V@bnV掳聶@聞聞LVm掳L聞V聞bV@脝職X聞Wl聴UmxU@WVULnx聞@llUXUJWzn`Vb@聞@b@xV@職mXX@聞@J脝VVXVKXkV@nVlU聞l@KVbUL職JV_VK聞LVWX@lUV聝kIU楼lIVyVU@w聹m聵拢nUVWU聛@a聝m@U聛mWw@UX@@am聶VUn@@aUUlUVanaWUXWmUnk職K@V職UlVVUUw職@XLWWX聶ma@knm聜bVb聞VXbVL聜@XJlInl職L聞w聵mX贸職w@莽V禄脟莽艐a姆僻贸茀贸K摹掳n脜U姆茟U脟W@聴炉x脟掳枚脝l聬V聞n@ll職a職@聞L職b聝`聶@聶聞V職XV聝聬Vx@V@bULVJU聬k聜脟@聝录聝XUKk@mmULkaWbk@聝x@UkL@a@K@U@UmKmbU@kV@UmVUbUmmXkW@LUU@U@KmVmU@b聛VmKkkWK聶nk@@xVb@bkV@V@Vl@nn@bl@VUXbl@XlV@@lmz聶VVbk聨聶nUV聝b"],encodeOffsets:[[120398,25797]]}},{type:"Feature",id:"3503",properties:{name:"鑾嗙敯甯�",cp:[119.0918,25.3455],childNum:2},geometry:{type:"Polygon",coordinates:["@@Vb脼聜VVnUlUX@VKVLlKXXlKXL聜聜nkV@脼xlbXUWa聞b聞@職b脺@XK@aWUXmWaX_Wynw@wnwlK聞bV聧@aUKWUUI@a聞mV炉艓楼么炉母U聞U脝@n禄炉a瓶茅@牛炉n膲默脻K聶贸贸@聶脩U录@猫聶xW么聴n聝x聶KmkkJWI聛@UKWa聝UUa聛amn@lnbW職XXWK聶@VxUVkU聶V@U聶LmlnVWXXVmbUbkVVV@bm@UVn職@bW@@VXx聜n@V聞n@bV聜UX"],encodeOffsets:[[121388,26264]]}},{type:"Feature",id:"3502",properties:{name:"鍘﹂棬甯�",cp:[118.1689,24.6478],childNum:1},geometry:{type:"Polygon",coordinates:["@@@VlUV@nanL@V@V@L@blK@V聞wl@XalbVKnnl@VL聞W聞禄脠@l聛V聫UIVK@a@UUw聞聫WUU聶職聝職@聞_聶a聝K聶@聶bkkm@U聝k聫玫脜聛x贸L聶l@娄@V聝b@bk@V聨聝nVln@Vb聞b@xm脝n聹@x@x聶x"],encodeOffsets:[[120747,25465]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/gan_su_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"6209",properties:{name:"閰掓硥甯�",cp:[96.2622,40.4517],childNum:8},geometry:{type:"Polygon",coordinates:["@@脟n脜a膲@聝U炉楼聸U殴聜聝拢聶WU媒UU卤JkkUw聜y脼I膶x膴臅膴炉職楼脝Uk牛聶U脜脫卤录聶IUx炉U聝脪茟聜脻聬脜掳聝K脻n臒掳脜U@聨聝@Vn@镁職录炉職Wn艓掳XLWlnVnbWn聝VXxmb聝a聴b贸U聝l菚UUa聶IUmlU聶聝職楼聶k聝楼膲wkk聝脻蓻a@炉聶聶U炉掳mV聝k聧V聧nKl聝艒脩脟脩U@kl聶U摹聨kU呕nUW聶@職炉聝聧k禄職聧mWV拢UKnU聝mUw聜w@聝UIVaX聶職wm禄脠mmwn炉膵聶炉L膲聨U聧聝JUal聧ka卤V聛a@U聜k@聝脹脩聞炉Wmn聧Ua蓾陇脹聛m聝n聧炉m卤x@w贸x脹L摹脪Ux炉V聝脠聶JUb贸z脻聝脟K膲炉艒l脻U脜聨W聬聛l炉n钮b脻@炉聫签L摹聧mV@脝炉蘑k脝m聬聶膴kV钮L蓛m脻X贸掳@聞蘑bV聨贸V脻娄杀@僻a摹聞UV聞臓脟脠V录UV牛wmb聛J脟w藡a聶Xm脟炉Kkkm聨聝bX職m录V录乾艢虏陇么虐脝拼么虗扭仟n蓡莹录蓡L脝艂U膴職x艓茷葮菙藥乾仟n屁女乾枚掳禄職摹聞聧聞脼脺脝母脪膴聞莯b凭猫么脠@录炉镁扭母僻掳V膧炉b@l脠膴聜職薁艅虗聞葮K莯聨植啷椗C壳暶紷聫蕣菗屁贸脝脩菛艃么w@螊蕡茊脜脠VV膴V聞贸膴脜@脼茠默V@脼墨職@掳聨聞V@母蘑聝掳X蟿茰臓@脠a脺楼艕茀聜聶n臒贸臅V摹U暖瓶艐聴臅聝a卤V聴U钮脟臒脩"],encodeOffsets:[[101892,40821]]}},{type:"Feature",id:"6207",properties:{name:"寮犳帠甯�",cp:[99.7998,38.7433],childNum:9},geometry:{type:"Polygon",coordinates:["@@脠脪艓脪k聞mLU聨l聨U聞炉nV掳職職@掳蓽b聞脼臓a脠禄母l聜職聞LVU脠@膴聫@媒Um聞@@聧脝V臓炉脼m聞L脝炉脼聫茠聛聞脩掳VVw職J虏禄脝脭職Vl扭脜V聶娄膲掳膲臇膵w脻J聛zVxll虏IVVV镁職X聞陇藕聛聹V掳娄聞V膴@脝b脠m菙L母聫臓炉蘑a么炉母m脝脹U聝l脟母k掳聧Xy膴U菙V聞签nmV禄聝a@媒nK掳聬n@l楼@禄偶聞膴陇m莽職聝@拢膶U@m聝mVk脼U茞卤虏鹿掳聜臓w聛脜茟艃U聛炉聶聸V炉a脠艁職聝脟禄聶摹n_掳x艓Klx聹klx聞@脼w聜聞聞@脝m虏b聜脟虏Llk職WXa钮炉膴a聹脩職K卤w@w聝U脜莽V卤Uk聶@@聞炉職炉x聝U聶卤卤UU掳艒xVx脜脭艒掳贸炉U聫脻娄贸b脻镁聝@膲脠贸UV聜Ux聞聞@聬V聨UV脻w脜脠脟聨贸Vkk炉J脟聬kmmL@聞聶K脟x@bk職聶@U掳姆虏贸`聝聧職聶職mn炉掳聝Uwl脜kU聝`聶娄蓻么聶聨姆z@聨脜n脟掳U录炉KmVk虏聝J聝录茝脼姆么職陇UL聝@mn臒`聶職脟nUx脟@脹每聶U@聝聝k呕聨@x聛@m聬贸Jk脜聝楼V聧殴膲贸脪膲l膵掳姆聞U聬平脺聝聬聛@聸x"],encodeOffsets:[[99720,40090]]}},{type:"Feature",id:"6230",properties:{name:"鐢樺崡钘忔棌鑷不宸�",cp:[102.9199,34.6893],childNum:9},geometry:{type:"Polygon",coordinates:["@@脼聧職聶nKln職wX楼W脻Xk聵x脼Un聝掳a膴VnUUKl聧脼聧亩WXn臓楼么禄聞聶@聛nmVL@陇掳聶Vz聞J職anU@a脝wna@k聸聝U炉職yX_聸a膲b聶聝聞w聝茅XkWw脜a職炉V楼m聝炉聧U聝聝I@聝職@聞m職b掳a脠莽職U職楼@禄聜knw蓽茋掳I掳脩脠mVU聶炉Xa@w聜W@w職聧V炉膶楼l炉Uwnm@k聵aUa贸Kkk@聶脟a聶b@聨聛脪Wa炉I脟x脹am录聶VU聬聝x聛脪l聜@z脻脪炉b脻a膲V膲w脟聞聛W聸z聛J聶聧mJn虏m脺炉U聝炉膲@摹陇脜b@虏n職ml聝@@聨聞聞U聞聝LVx職V聶聞U录脜lma聶b@聬聝掳聶l聛@WIU聝炉@m聝聶@聶聶贸聧聞聶聞@U聫聸z牛y聝X聛脟U聶脟VUUVLkbWakVWmUbkk聝KU聛脝禄n聫聝聧掳Knk@a聝UVm職nk禄l炉蘑聸lw@_kKVU@聝na聝@lUk@炉楼mV@kmb聛W聶b炉脜玫a@mkU@聧k聝脟聨kU@聛聸`@聶贸贸聴bl录Ux聝n聞录職lV脠聞x@blVkVVn聝`X脠摹脠@脟聝K聛拢脻JmUUnU臇mlU聞mKUn聶V脜aUw聸U膲`炉n炉wW录nxV聨聶職@b膲n聝聜kI膵艠kXU聨卤脪聶x職脠@聨X聬掳`l聞聹V聵I脠炉膴V聞聝職VVan@Va職UVa偶聛Vm職blk脠W聞聝WIXa聞alL@wVb聞聫聞V聞娄lL@l臓聶n脪聞U聜nk聜職L@脝脼k職脼職K聜b帽镁W娄脹聞膵V聝聞ULU潞k脠l艓Ux脝x脼UUx職脪聜x聞@Xb職L@l脝@聞脪lXVln@聞bm录聝J@聞脜n聞職聝x@bn職臓m聞xVXmb脠猫@聨膴拢膶W聵w"],encodeOffsets:[[105210,36349]]}},{type:"Feature",id:"6206",properties:{name:"姝﹀▉甯�",cp:[103.0188,38.1061],childNum:4},geometry:{type:"Polygon",coordinates:["@@卤炉聛楼@klwU禄聝聝脼脻mw聛Km聧炉聶聶莽@聫聶kV脟UL炉lV聛UK摹聞摹m@a@U聞@X拢掳l掳L艓脟@a艒V脻w聶脭聝KU聨脜職聞聬WJ炉聛lm@聧脹VWa聶@kl膲Uma聝LUana聝聶聝k炉J聞聧聶聶卤KkX贸脺脜x聝虏脟聜@聞聞nU脪膴b掳@聶脝kL聶聨聶X脟脝@x脻n聴xWx牛聞炉陇聝I@脝n聞聝VV聞VlU虏脝猫聞V@x虏x聶L聸脪膲b纽掳Wb聶Xkl脼聞職@l陇職X膴`聞wl@蘑脠艓m@b職nV聜Ub聝聞@脠聶脝脹L聝猫脟職U脪脜娄l母聶`掳漠薀脝菗b膲么蠚膴脝職蘑n扭茅蝷脩母膧膴娄聞@@l掳l聹娄犬娄蓡脼膴K扭聫聶牡母暖聞禄m艁聛y摹聶姆怒@脟杀拳炉m僻U膴姆n艁呕禄UaU聶聵茮蔀脻屁暖"],encodeOffsets:[[106336,38543]]}},{type:"Feature",id:"6212",properties:{name:"闄囧崡甯�",cp:[105.304,33.5632],childNum:9},geometry:{type:"Polygon",coordinates:["@@職脠脼@l`U聬mV聝录聹聨聜@nn脝wVlnVVa聞LV聝脠_聜每脼聝@n聞a聞x脝@聞l職_職@VxnK@llLnxm脠艓JnbUx職I掳聨l@n娄聜l脠IlmX楼聞k掳@職k聜J聞k虏茅聵@k聧laUaVaU@@脻nIW聧nmnx聜k聞潞脼聞聞aV聶掳聞V@nw聜K職x么b脼拢職V職U聞b職镁職Ln禄m聝Vw聞I職J掳聨@聞nb@掳掳I聞摹Uk脟KV聝聶聶@脜炉禄l聝聞Lnm聝拢@anK@脩脺聧n聫@禄mL@拢聶yk聞UUmbU脼脻@ky脟b贸禄聶XUx聝WVz聛b卤m脻bXa聝wUamL炉禄@wUKVwm炉牡J掳脜UWVk聞KVk掳w脠V職聧V脩聝lU職聝楼職聛kmVamkn聝Uw炉炉聝b膵楼脜K聝k聶Kk聞聶V膵Vk拢kKVw聜脩聞a@k贸y脹炉脟Vk聶贸w聸職聴X艒楼脟录贸w聶聨炉U卤聜k聞聝@聛x聸I膲脪脜Vm脠n職脺@n掳聞bUb脻V聜聨UnnJ炉漠@聜m娄nV脺聝@聞聞L掳JXb聜脩@聧職a脠b@職ll么LVb聴b@lmnVxk掳膵娄U掳聶聨@x聛X@xWb職掳UV脟n炉脪炉J蓻茍mx聛l@录"],encodeOffsets:[[106527,34943]]}},{type:"Feature",id:"6210",properties:{name:"搴嗛槼甯�",cp:[107.5342,36.2],childNum:8},geometry:{type:"Polygon",coordinates:["@@kw聜膲聴禄Vam聝聝V炉w聝I贸Vkl炉聧聶Km聬聶V艒炉脻WkL@b脻K艒娄@聨聶聞@職聶L聛x聸@聛b@l聶a@km@@l炉nm@Ua脜@聝聞贸WUXm楼聶n聝w聛`@UUx姆么脟掳臒娄@聞VJ職_n聜聜IV聨nalxkX聞JWn炉職nV聝L職xl陇nnVbklVX@xnxmV@bUK@nm@@x聝V聴掳卤a脜n聝聨kUWnUa聝x@m聶n@聝炉L聝職職mU膧lU@l聛V@blLUblxklkI脟x炉掳聜UXb職aV聨Un職V@掳聜LUlnb職X@`掳聛nVmbn脝m聬V聜kLmK聶娄U聨@X聞y@kl@U聞掳K@录XbW聞聝職@b聞WnLVa聞V職聝Vz@xlV膶楼lbUx脼聧lV聞U@n脝W么n虏聶VJlU聞僻聞Lnm脺LXa聵n@m聹w@wlUlV虏m職blw職V脠聝lL脼聧聞卤@聧lVnUlxnkma@m職k職J@kXV聜U@mn@職录VXU聝V聝lLnmVb么aV聛nWV禄脠Ul掳脠炉脝In聸脝U@kk禄mKk聧脝摹k炉@禄m聝k聴炉@贸脟l脟@聴Vykkl聶Uml炉脼聶@w"],encodeOffsets:[[111229,36383]]}},{type:"Feature",id:"6204",properties:{name:"鐧介摱甯�",cp:[104.8645,36.5076],childNum:6},geometry:{type:"Polygon",coordinates:["@@VKU脠職l@聬職猫掳職n聨聜Lnx脻脼聞聞V录kx@l聜娄虏掳膴贸臓聧聞聶膴禄職@脠x職a膴xlw脠V扭a@炉虏a脟拢聝Jk拢l聝nU脼@掳職么聶@y聞wl禄lIX楼仟聧nw@脩脼Wla聞脜lL@聝Uw膲ak聝l聧@聝職炉mwna掳J聞聧V炉nUV脫脼脩m拢虏贸WaU聝脟@贸脻U莽V禄脠kkW@炉聜xV@X聧lK@wX@Vmm_@w脠脻聶KU炉脟wVw脜K炉V聝k聝J聶聶聶XkWVa聝Im聨炉Uk聞脟lV職聹膧V掳mx贸職k聞@录贸聞Wx膲脺U@Ub聜z脹J脟k聛@聜脝nVl脭聶@k聨聞x聶么@默WL炉聝聝K@a脹Imm聶@聝IUa聝@聶聶U聨脟锚U陇聛聬V脪脟x炉脪V聞職職聶lk@Wb膲娄UbkWV_聜y炉L聝a贸聞k聨@b@nmbkx聞掳"],encodeOffsets:[[106077,37885]]}},{type:"Feature",id:"6211",properties:{name:"瀹氳タ甯�",cp:[104.5569,35.0848],childNum:7},geometry:{type:"Polygon",coordinates:["@@聞a聜V虏wVJV_@聫聞Llan脜ll纽莽脺脫職_職ln聝Wa么k聞xU職聞bmV@聬脠掳l猫職nk掳l娄聞`@nnL聜@脠l脺I聛yVaV@膴脹Xw么聝@禄l聝么聶nwU炉聸每U聶脠kl聝掳Vn聧聞JUblX職W職職聞I聞l掳U聞聝V聝職聴@aVVVmnL@聞l聝聞UUw聜mk聝職拢聞bV楼VUVw脹聜聝聛la聛脟脻脼聝mk拢聝LUy炉L@聧WlkKW_XaW聝聴m聝聞摹U@a聶k聶聜聝akXkmVwm聧殴V聝U聶b聶W聝贸n聛mwnWW拢聞K脠nV楼聝楼聞聝脝_k聶lW聞bU炉聞V掳a么bnaVwma艒In脟mwkK@kmLUw聶@聶`聝k脜@聝w聝b@m脻聞聛膧脟`U聞聝KUbmUUk脜xmm聛@聸聧聞禄nUV聫k_脻@聶脟聶娄聶V脟猫炉b聶a聝n聶@@聞聞JV聞掳聨n聞U娄聶掳脝bXxWl聞锚聝x職聞膴a聹bW`聶zV掳聹聞@lmb脜x@bmV聶b聝I聶`聶娄@脪UVUI@脝聝L@b職录@職職聨@聞職lmxnL聞掳UL聝聨聝脼臒脼聸掳kLU聨聝L聶掳聶xV聨聞n聞KV聝l@職zX@"],encodeOffsets:[[106122,36794]]}},{type:"Feature",id:"6205",properties:{name:"澶╂按甯�",cp:[105.6445,34.6289],childNum:6},geometry:{type:"Polygon",coordinates:["@@Uy脠聧V聝VUnn@聝VU聞`Ublz職Jnk聜@Vb聞KU聞掳l聞w職聞聞W掳聞nkV聨聜U脠l職拢掳V@聧n楼職V聞kl聶kU聵卤U聛聞聝n聶聝聫lw炉UkwmKU聧lmkUmnkym@脜聧@U聞mW聧脠U掳l掳an聛lJ職kUKlU聞炉脠m@kmWV禄kk脻LUWUx卤b聛聶@炉ma@聝炉聧聶I聝JUxn聞m录聶K聶媒聝a聶V聶U脻陇贸a聶w聛LmxU@炉聝U職聝b脻聝聝鹿聛lmwmnX聨mJ@脼V@UbVbkbl聨聴@卤锚聝l聛I聶l炉@聝lW娄kn脟J聛km楼k@炉聧聶Jmb贸a炉b聝UV掳聝akXl職脜`聝聞聞娄U娄脟m聝LX陇mXnxm聜聞么職X職a聞V藕Un聨UxlnlW聞b職聛職l@b蘑V聞聝聵nX聞WbX`lLXk@聨掳KVz聞Kl陇聞n脼脻聜脠kb聞聜脺聛"],encodeOffsets:[[108180,35984]]}},{type:"Feature",id:"6201",properties:{name:"鍏板窞甯�",cp:[103.5901,36.3043],childNum:5},geometry:{type:"MultiPolygon",coordinates:[["@@lW虏L職職聝聨掳I聞l聞職mbVb聞Knb膴Vlk職@Xb脺U@聨kn掳聜XI聝聫脝聶V聧聞L職脫脼x艓Ul聧么聝聞b掳K聛zU`lXVa膴楼Xal@職k聶聶U聝掳脩脠wU脩聜聫V拢脠茅V聧職職聞@Vb聞J職@nn脺J@b聞L掳聞XK@墨職贸聝wl聧職@k脫mU聛脜mK@m聝_k楼l炉聶mk莽脟炉@聫nU聝aV聶聝w贸lXbm聞聶k聶`脹脭钮猫kkm脝kb聝K@聬U`UI卤x聛U聝bWlX聞mbVb脜脪贸lk聝聝IWJk職聝@聝z聴K呕录聶@聶xUx贸聨聝聞炉LWb@聨脜脪聞聞卤娄U`nb钮膧U職Vb聞L職聨聞U"],["@@聝炉lwna@m艒脠炉K炉kW陇聝@@V@b蘑n蘑聝VLU聜掳k"]],encodeOffsets:[[[105188,37649]],[[106077,37885]]]}},{type:"Feature",id:"6208",properties:{name:"骞冲噳甯�",cp:[107.0728,35.321],childNum:7},geometry:{type:"Polygon",coordinates:["@@脝LUx脠xV掳職L脟脼@xn`脺@X聧@n膴聨脝wnJmwUx聛聧聜aUk職w@V@w聞aVmlLX脻l@X聬聜V蘑mV聛掳@nl@UUUWK@w聞每VI虏脪lm職@n脻膴媒VV@n職J掳聞聞職U艂m@k聬V录nK聸蘑脠陇么K聞bl聛nKllVk虏a臓楼脠炉母贸Vw@V聜_聞x職mn娄VW么X聞聝脝@Vbn@掳m@kn@@l職b@k聜a聹@聜w職K@聶職聝@聧聛UlKVa聛聝WX聶W虏鹿l脫聞w@_掳聸n@@_lK脜聧姆W聶聛@聨mLUW聝n聶禄脹@聸l聛_脟`聝聛脹mm掳脜bWb@職聴VWb聝UU聬聛K脟聞脜a摹lmk聛U摹l聝禄聴L聝l聶Um娄@聨炉U聶陇脟k聛VU聧ml炉聝聝X聶聝聝x炉kV聝聝LUa聛@ml聶IkyVa聝_UV@聞mmUVU聞脟聨VzUxUVU娄聝a聶陇l聞聛nVx聝Vk聞@聝mKUnUU@b聶聵U聞聝聞","@@@聨偶聬@聶mlk聝摹k"],encodeOffsets:[[107877,36338],[108439,36265]]}},{type:"Feature",id:"6229",properties:{name:"涓村鍥炴棌鑷不宸�",cp:[103.2715,35.5737],childNum:8},geometry:{type:"Polygon",coordinates:["@@職@偶禄聵L聞y聞@l聶XI聞Jl聞么k脝脩UanaW聝XkW@聶yk@U聞聝L聝mU聧職w職炉聞KV聧lK聹炉臓脻聞脻聞聧VK聝炉mKnw聶k@聝聶聧@聶聶禄@a聞K@脜VJVU@脩職楼職_Uy炉職@拢UKmn@聜聝職贸录臒娄Wm牡X脻聨k聨VLmV膲U炉bm聞脻V聴wWlX脼W娄聶xkmmL聶職脻聨聹聞卤U@V脼聨聶職@聞脜脠W掳X聞脺录屁yU漠n聨W聨nX脻xUx掳lV聬XJl聬么V"],encodeOffsets:[[105548,37075]]}},{type:"Feature",id:"6203",properties:{name:"閲戞槍甯�",cp:[102.074,38.5126],childNum:2},geometry:{type:"Polygon",coordinates:["@@職蘑脠录聶聞脟艂掳b聹U掳職V聜茠艅聜脝菛虐n職脝聞艒默菙a薁脜炉沫職_k姆脝楼V脩脠聶聞莽脺K職脜@脟聞聝VaU聛聶m@a艒n摹脟k@聝x膲_聶Wk拢聶@脻聝卤K聛脠卤a脜n聝@聛聝脻x聝@kw聸lkw艒L炉wm`"],encodeOffsets:[[103849,38970]]}},{type:"Feature",id:"6202",properties:{name:"鍢夊唱鍏冲競",cp:[98.1738,39.8035],childNum:1},geometry:{type:"Polygon",coordinates:["@@ll膴x聞娄職l聶娄職聞kVVn職JVb菛V聞k么V聵a聞bnaWw聞UXmmamUXkWK艒炉Xm掳聶聶禄膲聬脟@UV聝K聛聶姆k脟录臒b"],encodeOffsets:[[100182,40664]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/guang_dong_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"4418",properties:{name:"娓呰繙甯�",cp:[112.9175,24.3292],childNum:8},geometry:{type:"Polygon",coordinates:["@@l脟炉聧k每聝aV炉聶聧Va脠U聞楼脝脟聞Ilx職mnb聜U聹xl聶聞U么l掳k職聞聞Wl聞職@么聶VwUanUl@聞xVk職aX楼聜kU禄聞a職炉卤聫@kka@聝UwmUkw聝Jk聶聵聛聞卤k@聝聶聶L@聧脻WUwV脻聝聧聴x脟U炉聨脟X@m聶脜聝@@y膲拢VmUw葪禄脟職Un聞lUnWU炉`Uk聝@@聞聶x聞聨@b脟xX录聝VV職炉L職膧k聜脻L聝聞炉@V聨聝膧炉ln膴W娄kV脟么kU脟聞UK@牛聶U@a聶聶贸脺聝UU禄聝@聶娄k@Vx聞KVb聞n聜職@聞聛脝聶聞l聞@x聛職聝bW職nlU聞lx脠lV聞脠掳脝聞@录聶聞@x聞職Wx聹艓聜V聞聛職K掳聞職楼職職n聝脝k艓@脠脩m聶聞K@楼職k@聶么@聞n么V"],encodeOffsets:[[115707,25527]]}},{type:"Feature",id:"4402",properties:{name:"闊跺叧甯�",cp:[113.7964,24.7028],childNum:8},geometry:{type:"Polygon",coordinates:["@@W聶Xk卤脩@聝Uw聶mUw膲wlmn@脝wn拢m聫kI職楼脟脜@楼職a聝贸n拢nWWw職拢V`脼@職聛nVml@x么录聞IV楼聝kUmkamUkVWw脹禄m贸聝拢UV脜Kmn@x聶@kbmm炉a聶Xka聸V膲aUb脻聝聝虏聴聜l職聞IlxnVVx@聞lb@l虏聬聶掳聝bV录聛lW娄聶bUl聝wk@mVVbUx贸職聶@k聝聝X聶聝炉l贸k聝Vk職聸w聛Vma聶nkw聝J脜脠聝娄脟VUb職聨U掳聞bl膧掳聨k脠@x聶娄脝脺聶掳@聞掳聞聛娄贸a聶VU么lUlbX聫l@n聬脺V聞聞nKl聨nIV脼掳W職聞掳U@bnm@楼職IV聝虏Ul聝掳VnalzXyl_Vy茠娄l聝聹Llx職聞@聨脼b職Km聧聞knVWanw聝脩Vw膶潞聵@n_脼V聞aV聨脺I聹l@聞聵K脠職聞聛VJ@a職拢脠@聵聶@聫聛km聶聞aV聧炉W@_聝a炉Kmbk脟kLmw聝@脜楼"],encodeOffsets:[[117147,25549]]}},{type:"Feature",id:"4408",properties:{name:"婀涙睙甯�",cp:[110.3577,20.9894],childNum:6},geometry:{type:"Polygon",coordinates:["@@@聝kX聝聶@a聞UU膵lk聞J聝k聞聶@wVJXUWk掳W@聛nKnwlUl職虏聝聞blU@聜lI聞l@聞XbW聞職xnm@聧lW@w聞wU聛聜JX炉VU掳`艓贸藡k脻脻k脜@脟m臒脠艡mw聶a牡V聸xU脹聛禄掳聶臓欠n媒m贸X楼蓞牡覐脟@掳虏膴U臇卤漠U陇脟掳聶膧炉蓯n偶U膴膴默V聬@猫聞聨@脭聝脪U录l陇n聝臓b聞锚V臓掳聬脠y聞zVaV聜nU脝L聞a職bVl聞w脝@"],encodeOffsets:[[113040,22416]]}},{type:"Feature",id:"4414",properties:{name:"姊呭窞甯�",cp:[116.1255,24.1534],childNum:8},geometry:{type:"Polygon",coordinates:["@@聞聜n脭職lW录聛x聜娄@l聹Vl聶lLk猫聞a@z職陇聝臇聞录UxlnUKUb脻lU录lb@聞Vx聞V聞klJ脠wV炉職@臓l脹臇職n聝bk職脝藕脼聝U脠么klm職L聞楼聜L聹W聵聞聞聶nKUkVa掳V聞x@IVV@x掳bUk聞a聶a@mV@聞聛@y聞w聜L聞脩UwVU職V聞聜聞U聜b脼VVann聜@Xw脟每職炉虏aVamkXa脝禄@禄nw@楼聸UXa聝聧kbWa炉KUw@楼m@kwmLU禄UU聶J@kmU@UUWU聛聝@聝y聝anwm莽脹l炉聧聝聨炉U聝聛mKUm聝wV聧km脻X聛bW@XW脻b聝k炉@卤聜聛w@禄U@W炉脜@聝聬脟楼U聝U@聝聝聶IU聶聝akJ聝膧聞锚聝掳職镁聝Xkam聨@聨聝_聛J掳聬m聜@X"],encodeOffsets:[[118125,24419]]}},{type:"Feature",id:"4416",properties:{name:"娌虫簮甯�",cp:[114.917,23.9722],childNum:6},geometry:{type:"Polygon",coordinates:["@@掳VlmX鹿la蘑脪lm聞@聞聞職V職拢聜聜@娄蘑klyn聬n录lW掳z聞W聞聞掳聧Vb脠V@l脝bnn聜J職kX聞職V脝a職脜聞W@聶聝UUw@聝kaV禄脼kVaVLkmVw聝禄聞臅聶拢@y聝bl莽kKk職聸U@k聛楼聜wX禄聶km脫聝聛@Wn聛炉聫聜I聞`@聧n聧lb聞W聶媒聞炉聝茅聞每lI@聶XUmWUw聝@@聛UJU聞脟聞mKUV@x聶聞牛k炉聫炉LW聝聝nUx聛K@脜卤禄Vw聛a炉職@陇WX@聨脹娄@陇脟I脠录WxX聨聝@Wx聴w聸聨UnVb脜猫mV聛a卤虏聛UWl@聨k聞l脠聞陇n么脺录XxlUnVlbVn聞lU娄聝J贸禄@wnkmU聶聜脻@U_聶陇XxmXm陇聞么聶b@娄脠脝聶娄lJn聬"],encodeOffsets:[[117057,25167]]}},{type:"Feature",id:"4412",properties:{name:"鑲囧簡甯�",cp:[112.1265,23.5822],childNum:7},geometry:{type:"Polygon",coordinates:["@@l@職楼聞@V录聞V么脹職職@b職V@扭VL脠聝lV脠贸lUX楼m膲掳k聞每U聧掳@聞聝脼Kl聛聶每掳KU聶聞UW禄脠w@a聝聧職w@聝聞@nm@w聸拢k脫VUVn聞K職聶k楼聶拢Vam聝@nkKkb脝谦ma聴kmLU楼聶Um聝脹wmVU聶mU聝J聴聧脟aUx脟In`mb@脼炉b@聞nJ@nl聞U聜V聞lVU聞聛L聸W炉聴脹`脟_炉`m職炉I聶b膲W膵z聛x卤J聶x職聬炉脝U聝聝_k@聶職聝J@Umb聞職X么lL職聵n娄@录膴xlUX聨聵xUb聛L聜臓聞UnV膴wl職U職聞b@聬lW聞X聞聜m虏聛聵@脼WxX職聜Unb"],encodeOffsets:[[114627,24818]]}},{type:"Feature",id:"4413",properties:{name:"鎯犲窞甯�",cp:[114.6204,23.1647],childNum:4},geometry:{type:"Polygon",coordinates:["@@lb職W掳bnnla職@@wnm脝LVUk脟l聝@聧Xk聜V虏卤聜bnU脝莽UaVm聹聧聵xXw聞@W聧Xw脟禄脠J@拢脺楼@聧XW@拢掳聶聜bUx虏录@脝聜LVw聞mX聞掳K掳聬扭l職聝@wVUnL脠聝V聝VIky卤wk聛聝KU炉聝聫脜k聝聫聶X摹脩脹聝lwUwlm@m聞聛nKWa職脜聛m聸炉聛贸脟m臒b炉al膲Uw姆bmb@l脼脪Vn聴職m膧殴@V聨聝bV聨UnmakLm`@x膲kklV脭VJVn聴lV聞UnmJma聛LUbl聜聶zm聨kL聶a聶聜艒@@z職聜V娄U聨V虏kJ聞n脺U@聵VXU聨聛L@聞lJ聝L@b脻陇UnV聨聴b@xVnlK虏聞Vx掳V聞xlI聞lkVl虏k陇@n"],encodeOffsets:[[116776,24492]]}},{type:"Feature",id:"4409",properties:{name:"鑼傚悕甯�",cp:[111.0059,22.0221],childNum:5},geometry:{type:"Polygon",coordinates:["@@聜Ln脟lk聞Knk脝L聞聫聝Um聶脠xlU聹Jl贸掳n@職職an聨職聞聞a@聝聵@X_@m脻贸贸U@a聶aU炉mL炉聝聝聫k聧V炉聶脟Vwkw@聧V卤艓拢@聶聶聫@聛職alw聛卤Vk@m聞脜m炉聶每脜聝僻I脟`艒么炉_UVW掳聛IV聜聝x@xkX@聨mn聶wX聝Wa@聝聝kkJ@聛kV聝a卤聞k聶kVmxmL@聜炉XXlWVUI@x聝職聞l聝IklV膶聝V@b聞職lW@聞@nUxVb聛lVxk么lx聶聬n聞聜y聞職nI脝禄脝掳聞aXwlK聞bVn聝聨Xb聜L聞陇聞k聜L聴猫聝VV录聝聨虏Il臓VX聞ynz掳KVx掳@Vl聹LlblK聹職"],encodeOffsets:[[113761,23237]]}},{type:"Feature",id:"4407",properties:{name:"姹熼棬甯�",cp:[112.6318,22.1484],childNum:5},geometry:{type:"Polygon",coordinates:["@@lUXx掳JWnn脝職XV職聞W聞X@聞職潞VLV炉nU聜Vnb聶么聞x聜aXmW聶XI職聨Ub掳xlK聞聬l炉聹K聵xX脼掳聨職X脠楼脺@聞膲脼聫U聶聜莽職禄n贸聝Vma聴x聜炉U脜U楼脻炉@聝聝莽@葯@莽膲脜UmU莽卤聝膲K脻x脻_脜J聝k炉禄贸聫炉nm猫k莯職聨Wx聹录mnU脺摹掳@娄聛@聝x聝Lk聨脟aVnUxV聞聶職VlnIlbn脝脝KX娄"],encodeOffsets:[[114852,22928]]}},{type:"Feature",id:"4417",properties:{name:"闃虫睙甯�",cp:[111.8298,22.0715],childNum:4},geometry:{type:"Polygon",coordinates:["@@掳聞nKV掳職b@b么V脼么@n聞Vl脪么脝Unlnn@lmkmVk聝a脠k脝脝聞聶k楼聜脜脼禄脝KXkW楼脜Lm脜kamJUk職聶U聝VwUm脠bl聧聞K聞w聜@@楼蘑炉V脹nm聸禄Xw聶聧l瓶聶@kbW聶聴a实@贸L聸l炉聛平@聶聝聝Ln掳聝脝@nUl聜虏kx聶b@聜職聬@職艒陇U虏@聨lxUx職脠U掳l聨聞聬"],encodeOffsets:[[114053,22782]]}},{type:"Feature",id:"4453",properties:{name:"浜戞诞甯�",cp:[111.7859,22.8516],childNum:5},geometry:{type:"Polygon",coordinates:["@@@V聞I職聶l@聞`V聞掳脜聶聫職w虏I聜w膶y膴X職a掳Jn聶掳_脠`脺_掳聵聹X聜KV聝kUU聝V聛k聝@mmI@聝掳a@脻nam_脠JVwl膲X@聞職lU職贸ma聛UmVU掳UK聶鹿@聝聝W聝XU聶聶Wm脜Xm炉IWwkVWl脜L脻录聛脝l娄聝職脜脜脟l聞bUllnknm@kmVm贸脜k脩聝UW`聴@@聞聝b聶聝m聧聶b@聶炉mk么聸IkV脟wn職聞V聝聬脜Kml聝Lklm脠聛K聝聬職V膴K掳虏聞`n聬聵陇n聞U聬聞bWl聞xVx聶LUx@掳nXm`V聬klVxmnnx"],encodeOffsets:[[114053,23873]]}},{type:"Feature",id:"4401",properties:{name:"骞垮窞甯�",cp:[113.5107,23.2196],childNum:13},geometry:{type:"Polygon",coordinates:["@@葮录VxUn膴陇@z聞@職脝@n脠W掳聧脠V聵w聞聨U脼Vx脼X@聨職K聞職l@脼聞Va膴b聹U@ml拢k卤lU聝kkJ聝w炉UUw卤聝kLUm@w聵aU聧Vm脼拢@a聞KkI@聝聜KV聧UW@聴脹V聝mlIU卤V聧U楼聶聛@y臒z僻脟聝聝職平臓艡職脜n墨卤m聛@聝虏炉l聝掳@n脻脝贸聬Ull@Xn脻VU娄mVV掳聴聞V录聶J聝n聞b@掳mbn聞聝聜@虏炉聜炉wVw聝@@nmxX陇炉L@聨VLU聞m@@l"],encodeOffsets:[[115673,24019]]}},{type:"Feature",id:"4415",properties:{name:"姹曞熬甯�",cp:[115.5762,23.0438],childNum:4},geometry:{type:"Polygon",coordinates:["@@@聜聞@VxnXWV@職聞bV職職J聞聞V@脼脜U楼膴x職拢UWU聧聜w脜UU楼WVUk膴脟nkV`掳LV聶聞w聝聝nU@聶聞聝lb膴炉聞Vnal職職@@莽kU脻楼摹a贸炉脜a脜L呕脝U媒my炉聛贸@膲脝贸聞券w聶脝XbmL聝聜@nknVxkx脺聞蘑脪職W聞聬脝l聞聬V掳聞Ll聜虏xlz"],encodeOffsets:[[118193,23806]]}},{type:"Feature",id:"4452",properties:{name:"鎻槼甯�",cp:[116.1255,23.313],childNum:5},geometry:{type:"Polygon",coordinates:["@@V聞脠娄聞聫脝@X掳V@@录聜x虏聛掳@聞l脼aWXX@聜a脼WlnU聨聞xVnnL聞聜掳V聞聧@k聜m蘑聧l聫@聛聞ak聶@mlk掳aX聝卤聞nwm卤聶虏炉JV虏聛@聝wW聵聴_m聫聝a聞聛V禄聝U@m炉膲U脩聞聶職Jl聶聞a職bVn聞l母Ll茀脹脟卤w脻@膲x贸聧@猫聶@k聶mb聝U膲掳ka聝聞@職mV聞聞聝xU職炉KU_ml膲脠VlXUV娄脝V聛xV聨VX聶陇膲wV娄脻脝"],encodeOffsets:[[118384,24036]]}},{type:"Feature",id:"4404",properties:{name:"鐝犳捣甯�",cp:[113.7305,22.1155],childNum:1},geometry:{type:"Polygon",coordinates:["@@聞猫@聞脼掳V娄V脝聛掳聵wnb聞U脝禄n莽脝聫@聛nx脺陇聛虏llU掳Vn脠J脼聬掳U么茅職姆Ukl聝么拢VV藢K脼V掳拢n楼聝拢葪聶脻y炉炉m脜kw炉b脟臄臒@脻n炉膴聝V臒聧艒艁呕聝姆J@葰","@@X聧炉km猫VbnJ聜聶"],encodeOffsets:[[115774,22602],[116325,22697]]}},{type:"Feature",id:"4406",properties:{name:"浣涘北甯�",cp:[112.8955,23.1097],childNum:1},geometry:{type:"Polygon",coordinates:["@@脠b聵聨聞InVV職nU脺xn聞職VV娄nK聵lnb脜乾lalL@mn聞Ub職陇l娄聶職聝LUmUVl脭聹陇@xmnVl掳_XVVm聝kVm脠聶@kn@V聝UK@聧掳KW拢nw@m聞@Ux掳x掳聛@卤聞聛m聝na@炉聝a聞m職IU禄聵聝U炉nUV楼脼UWmk@Vk炉聫聶Ukn聸脩聛W脻聬聝膴脹@脟娄聶W炉聧W脻聴w聸Lk掳聝聫kL炉wVa聶聧WJX職Wn聛b聝wkV聝聶W@k膴"],encodeOffsets:[[115088,23316]]}},{type:"Feature",id:"4451",properties:{name:"娼窞甯�",cp:[116.7847,23.8293],childNum:3},geometry:{type:"Polygon",coordinates:["@@掳聨脺kn猫mx聞b聞z聞@V聜VX@VnV@l職IVVV录nKlxn@@娄Vx掳LXbla聞聨Wb聹V掳拢炉聶W聫@聛nW@聶聜aU帽V聫聹wW聧職禄@楼扭脜U脻菗脻贸V@艅脟聨kUVm聝IUw脜VW脟X鹿聸聫聴@W聞炉bkl@nl職聝b@聜k聬摹聨聛n@l"],encodeOffsets:[[119161,24306]]}},{type:"Feature",id:"4405",properties:{name:"姹曞ご甯�",cp:[117.1692,23.3405],childNum:2},geometry:{type:"Polygon",coordinates:["@@聜@U卤掳I職卤n虏mx虏聝聵@聹聬W潞X脠脝UVx聞JUnlV脠聧@艃么U菙脼V莽n禄Vy蘑脹Vm@禄ka脻U脟录贸職脹脠姆K膵楼X聧聞楼Ww臒k聶聝炉@聝w姆K聝kUm聶a聝bk職聶I聝職V脪掳膴@n聞VU录聝聜聞bn聬聵`X聴聞x"],encodeOffsets:[[119251,24059]]}},{type:"Feature",id:"4403",properties:{name:"娣卞湷甯�",cp:[114.5435,22.5439],childNum:1},geometry:{type:"Polygon",coordinates:["@@脼L職聞@x職bV聞職V職K掳聶X聛掳K么楼Vw@anU聞猫聝聬職聜lk膴l@wn_lKnbVmU聧聞aU聧藕@n每聵聶Um脻脩炉U聝bk聞@脝kx呕@聶a脟X聴w聝J聝聝炉L姆脻U臅聶贸聶母贸锚W潞@b虏nm默聶脝"],encodeOffsets:[[116404,23265]]}},{type:"Feature",id:"4419",properties:{name:"涓滆帪甯�",cp:[113.8953,22.901],childNum:1},geometry:{type:"Polygon",coordinates:["@@艓@職聛職blKn聧職yk聛Va聜KnbnIVmU聝聵kUmUIU脫聶聛聞聫聝莽mV@bUx贸娄炉LW聜炉職聶L聶UU聝聶a@w聶聝脻K臒艢聶凭聞聞屁脠臓y"],encodeOffsets:[[116573,23670]]}},{type:"Feature",id:"4420",properties:{name:"涓北甯�",cp:[113.4229,22.478],childNum:1},geometry:{type:"Polygon",coordinates:["@@聜X聹脪lm職V掳聬么聫脼脜@m聞炉掳k聞卤聜@@aX鹿炉V脻聫脟IUmV炉kk聜卤脹拢mw@聜脜聬m猫脜录m么聶录聛猫V職"],encodeOffsets:[[115887,23209]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/guang_xi_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"4510",properties:{name:"鐧捐壊甯�",cp:[106.6003,23.9227],childNum:12},geometry:{type:"Polygon",coordinates:["@@lklWXL@V職I聜l@XnJn@VUUal聧k@mK@kny@UlU@a掳聶聞聝UU@VmaU@Ua@UWw聛@聝n@KmL聛m@alk職mnI聜m@an@VIUamW脜ImwU@@a@K聞X@JVL聞UVmUaVkUa@m聞@@Ulmkk掳聝UaVUlKXbVwVIkaVmUk@KVk@a聞aW聧炉m@w聞楼la聹X@Kma職kVmnUl@nxVK職InU@yVaVIV@na掳KlxX@@_lmX聧職UV`VIV聶V@聞聫n@l聬職bn@@WUkValK@聛虏yl@聞聞VUV@@K掳L@KU@@UVaXIVVV@naVkVa@K@UUK@UUa聶LWa聴w@m@K@UV聛V聝@mV聧UUVKnL聞mVL聞K聜bVK@UUIk聸mI@mUIVK@IUK@VkL聝@WU@m聛U@WmUk@聝I@V聝Jk@WwX_@amK@UUWkI聝聞聝K@LVb聛@mVmakL@J@bU@Ux@x聝bmI@`聝I聛wm@UbmKUa聛UWa炉UkJWV@X聝JUU炉LUmV@ma@kkamK聛w聝LUUmWVkkm@aVUUkVKnVVUm聧XK@UW@km@Ukkm@@W@U聶kUy@I@aUUmb聝陇U@kUmL@bmJU@Ua@wkLWWkL@U聝@VaU@聝LUakKWbkUWVkKkLVLUV@JVb聝z@V聝聞聛@聝VmUU@kVmK炉@V聝U_聶VWakVmIUKUaU@@bml@XU@@V@LmKUV聛聞mVUK聝聬聝K聝bkaUX聝KUL@x@V@l@聞mxU娄聞V@聨lL@V@Ln@@VV@聞nlKUaV@nLUbmJnL@VWLkbmV聞@@L聞W聜聞XLlx聞VVIVV@x@V虏blUVm聞LVU聹K@kWWXUlV@Xl`聞LX聞l@@V職聨聝n@VnbV職@lV聬UVU脠Vb職@@`UXU`l@@XUVm@k職@xmVknUJVXUbmKULmb聛x@VlJ@LVbkKUbVL脟UUV聝UVmU@VaUkUK聝VUwmLkUUVVl聝bka聶Xmw聝KU職VVU@@聬聛V卤Uk@VWUUm禄XamU聶b聝Kk聬聶`聝聞聶U@UnWW_kKmbUVUVmnUV@聞nJVUl職UbU@UV@n@JmI@VmbnVUXlx炉聨kKmnVV@L@V聶bkV聶Umm聶@Ub炉Lml聛U聝L@VWLkmkLmmn拢WmnKU_mW聶職聶bnbmx聝@U娄UJU聞@Xmlk娄@聜mnUUm@@Jn@lV聞脭VJnIVW聞I@a聞聝脝K@I@aVK聞Il聨脼nnl@nl`nb脝X虏l@xV聞@llbVn虏聨VVl@nn聞V@IlW@Un@@kVa掳K職n脠mVaV聧XUlaV聝脠U聞Vlw么UlynIVa職an@lVXb聜I職@n楼la@K職_n聜@b脝x@XnJV聞nKVz@`VXV職U`@b聝娄UV@V職Ilx聞UnV聜K聞X脠b職Vll職bVbnVn@"],encodeOffsets:[[109126,25684]]}},{type:"Feature",id:"4512",properties:{name:"娌虫睜甯�",cp:[107.8638,24.5819],childNum:11},geometry:{type:"Polygon",coordinates:["@@lLVl聞bVV@nXVlI@JVX聞m職n聞W掳b聞IVV@聜ln聞@nalVUb聞nW聜@聬kVk脪lbVKn虏掳bU聨lV虏@聵X@`nb聞aUI@聝掳wlU@aXJVI@aVK@wUamIXm聜@XUV@@bV@Vm聞Im聫nUUwVaVKXU聜nVK@ak聝VwV@nL@UV`n@@X聜lnIUJl@X娄聵V@aUIVm@an聝V@UwnL@VlbVL@KVVXUW聝聞wUUVUka@UVJnUlbnalbVVn@掳聞聞LV`脼@職XVxV@@bVlUVVbXnWlXnml職@XXWVXJmbUI@V聞llUVkn@@VWV@Vnb聞@VXUJVnn`lLVk聞a聞禄lV職Lnw@WV@lInw@WnU@U@m聜knUV贸聞K聜wUmUXU聝U@@wVJVIl@XKVVVbVI聞J@Un@l聨VLnm聞b@U@Ul@nU職掳VUVJnnVJV@聞聛@mVU@聝@wkUVwkKWk聶yUUkU@alk脠@lJ@x聞Il聝@UUWVkUw@Kn@@kma聝VUl聶UUL聶脟聝UUKl@UUmL@aXU@mlUUwmK聛kUUVKVU聝a聝KU聧nK@U@Vl@XUWU聞KlwX@職b@K聜@XkV@UwWJka@aUwmV@U聶@@U@wUm@禄kLWVkIW聨XnmV@VkbmK聝LUbk聶Va@a聝a聛@@aVU@aVak拢@聝卤UkVU炉V聶UU聝JV聝UI聝@kxmUmWUb聛L聸w@K@aU@@aVU@聧聛Kma@aka@_VWkk@UWVUKULWKULU職@KUn聝wVaUK聝xU@U聧ma聝L聴m@kVmVa@Uk聝mI@聝@KmIkxU@@K聶U@mmakI@V聝LkmWkkJ聶_U聜@V@L@n聵xXb職KVb@VVL@V@LUbUlmbU@UUWJUb@VV@@L炉K@LU@UV聝聝k@卤z@聜kLUbVl@Xm@聶ak聫m@聝聬U@U職UJU_聶VW聨kn@`W@kw炉LmbU@UJUb@zmV聶JULmwk@mVUn聶lnb@L聸Wkb聝娄@x掳nX聨聝b@bUl@LVlUnlbUJUxWakLUVVb炉聞llkn@V聝@@nVbUlVbUn聝VUK@I聝W@L@bV@nx脝JnXVbUJm@@b聛nmJ聶nkl@b聜nnK@L聞m聜@Xx@VVbV@nb@UVV聝聞炉職@bkV@Vmz@lnLl@k聨VbUVm@mI@W聛k聶J@UWKkXkl"],encodeOffsets:[[109126,25684]]}},{type:"Feature",id:"4503",properties:{name:"妗傛灄甯�",cp:[110.5554,25.318],childNum:13},geometry:{type:"Polygon",coordinates:["@@nU@J聜X@`XLm娄Vb聛`l職VXXW職@Vbl膶nV職聨lanLnmVL職K@_Va聝楼@kUa聞@VmVb聞aV@XVVzlVVK@knKVmX拢VK職Llbn職@b@llL@x膴么XaV@掳脠@陇聞bn聞V@@Wl_聞V聞U@W聞nVamw聞wVbn@聞K聜V職LX@VmV聬UxlV@職nVV_nK@m聜I@Wn@@I職U膴@@wVWX@@I掳VVm@wmU@m@IU聝V聶k聝lk聛Ummk脜V@@aV@@Wn_UKla@k職aV聞職lVanb@k聞@@KlVn@@aV@nIWW聶UUaVU@聶kKmwU@UImKk@UU@w@W@聛聜聶k聫@聶UkW聝@mk_W@Ua@a聶聝聝@聴炉聝mV拢@m聝UUam@聴kWak聝Vama@UUm@聛nw@alaUmnUlVlI聹V聜聶職LVyk拢Vm@k@UUJk聧聝K@kmKUw聶Kk聧WK@UXImyVwnI@m聜聝kUlkUKkUVm聝w@kkJWU脠m@_k@@a聝aW@U聞UJUwU@@IWKk聝mUUV@nVl@bVb@bU聜UX聝akw@聝WUkbkK聝bm@聶xUlkLm@@wmKUX@聜聶聛UaVW聶XVmU@@UUU聝xkmWXkKkUWaUaUb聶L@`UL@LV`UXmK@VmakLVbkL聜xUJUIVbUVVb炉K聝V@Xnl@聬lVXbm脪nV@L@VWKkVUIWJkI聝聨UamUUbm@U聞kU@JUbW@X聞WxUam@kbVVUnUJmUUV@b聝U@UUV聶@聝Vk@聝b聝mULV娄U@V聞U`VLUL@xVbn@UJ@nWJXXV聨VV@bkxVbUx聜L職職@x聞娄@職U聜lXUVVlULV@@職n聨U聞聝b@xl聞nJVnlVknUlV聬Ubm聨U@聝bV職聞x"],encodeOffsets:[[112399,26500]]}},{type:"Feature",id:"4501",properties:{name:"鍗楀畞甯�",cp:[108.479,23.1152],childNum:7},geometry:{type:"Polygon",coordinates:["@@lKnbnU聜@Ua@K聞L聞聝lJVX@VnL@bW`Xxl@聞I@U聞Jl@nV@X聜V@nXV聞@lK@UVL@JULVJ@nnJl聹VJ@VUL聛a聝LUK聝nmKULVVU聨@nU聞職`lIXlln聞K@UlJnb@n職V@LV@lwnJ@L@聞nJl聞@VUbUn@l聵n聞KnbV聨V@聞wVLUb聞xVm@LV聶VKXLVKVLXU@VllUX@`lb@bnb聜L@聨UV@bV@@b@L聹x聜KVanXV聝UUmVUUUaVUky聜UUa聞ImK@mUUVUkKU_@W@UVVVIUW聞UVaVU@UUKn聝@k@al@ll@bnL@b聞VUV聵X@V聹@@b聜Knblmn@V_@aUalL@a@akK@kVKUKlwUUn聧V楼VmU_VWVIVaX@Va聞al脜聞K@LVJnalL@LnK聞wlVUw聜mX@VX職聝lLUVnblaUmVUVwXU@Wm炉Va@聛脼Knw@w聶m職k聞禄聜UVW虏a@_mW@U@I聞y聞LVUUKW@@聶聞LX@VUV@@yVU@UV@nwUUmJka@IU@聝m聝VkaW@UwUX@`聝@kLWUk@m聝kUUm@k聜UUWkU聝kWxk@@V聝K@n聛V@UVa聝UUJmIkV聝@UamLUbkVmamLka聶@聝聜聛kmL炉聫WI@w聛Jmw聝x@akU@aUKmbkaW_nW@_U@Wm@a@wkwUKm聝k@聝bkb聸w聛@mKUkkU@J@bW@kVWz@b聛VUa聸VUx@聞ULkJWbXVVX聝`@聹mJUVU@@Lk@WbU@UJlnXlm聞Vx@Ln@聜b@K聞LX聞WJU聬UW@k聝aUVUbmV@nnV@n@lVL聝VmLX聜mXkV卤@kx脜L聸職Ub聛JWI脜J@I聜mXalkUamKk職kL卤aVw聛K聝UU@m脼nbWJX聞m聞@l聛bmKULWUUVka聝bnn@Vl@VV聛V@V聝bVbnLWLXJWxXLV@@VV聬"],encodeOffsets:[[109958,23806]]}},{type:"Feature",id:"4502",properties:{name:"鏌冲窞甯�",cp:[109.3799,24.9774],childNum:7},geometry:{type:"Polygon",coordinates:["@@聝wU聶聞aV@n聧VaU聫VklmkUUmmIk聝@w聞aV聝m聧@聶U@VKUkVUkWV聛@聶聝楼@w聶聶聛KVwUalw@aUUU聧WWXI@mVIm@Ua@wVKUKV_U聝V@U楼VK聞n聞al@聞U職@VU@V聞V@aVUnVVIVmUUlan@VbXwW聝X@Va@IlVV聝n@VanVVb聞聧lJXIVJlUXL@U@KmUn脩WakU@聫mk聝JUI@mk聶@wUmmUV聛@JXaWIXWmaUI聝J聝kk@W聞nJ@聞聝aUak@聸kkJ@kUKU_聝@myU聛贸WUkm楼kUmL@KUKm@k_UmVa@聝k@@UmU@mm_聴JWIUVU聨WLUl聛bV聬UJ脟VUIVw聝KUVk@mU@n@lUL@Km@@l@L聶V聝z聛JmUU陇m@UbV虏U`U@@录Vn@x@V職@@VnUVx@blbXIVxU@Wl聛@@L聶aW@kx聝LXVWVk@@U@VmLV聨聞L聞bUVULVV聜lnLVxkV@nWV@bnKVVk@VL聞V職脠VK職VVk聞Unb@lm@@LVxUlVX@Vk聞聝J@wkI脟@kl@blVVV職zXllLUxlV@x@聞UV@n聝聜U@UImmUIUV聶炉mVk@@V@V聝amnUKk聧m@@V聝IUJUaUUWLk@UJUI@xV@V聞VWVn聛x聝LU么mVV聞@VkVVVUnV@UVkL@VVV@bVxla@bkXVJVn聞`nU@b聝b@bVL@VnJ@聞l@職V聞aU@@_lW@UUU@Un聝lll@XLl@@UX@掳bVWVanLlknVV@VVX@VV聝nU聨VLmbXJ@nllXX@`VX聝lma聛XVWk@Wk聝w聴J@聞VL@J聜bnU@bn@@bVKUnVJVIVVVL虏a@bV@@Vl@nUVakalm職聞UL@VUL@V聜a@mX聛l@nK@UlK聞L@Vl@@nkllb@職聞Vnn@聜職nV聞聶V掳l聞職VInwlKXxlU掳聨n@@聝聜I@UnVlak聧UJWkUK@anUWK@_脼J@U"],encodeOffsets:[[112399,26500]]}},{type:"Feature",id:"4514",properties:{name:"宕囧乏甯�",cp:[107.3364,22.4725],childNum:7},geometry:{type:"Polygon",coordinates:["@@@JVz職l@V@Xn@ll@VlnX@@VWLn聨UVmUULVlUV@blnUlnXVV聞K聜xnLlb@lnbU@Vn掳KVV聞I@WXUlI掳VXb聜VVbnLVan@聜x聞J@_nJ聞a@wVwV@@a@IU聫@UU@WKXwWIXKmKUa聞a@U聜UUUk@@Umm聞albVUXVVKnL聜a@kn聝W聝XIman脻V@聞V聜LUx虏blKl聶nLVbklWb聛n@J脝IXJ聜IVa聹聶脝Klw虏@lUnWW聛nK聞UUK@k@mmU@mnUVaVU聞b@lVXV聫XIW聝聝K@L聛am@@KUwn聝WkkmVIV@Xal@@KV@VUnI@聸聞_UWWUkam@kkm@ka@m聝k@wkJWIU聫U@WXkW聶XkWWLUU聝@UakL聝W聶XV卤VIVWUU@anUWaUK@IU@Vak@@UUKWa聝聛@m@ak@@wUkla@mUaUklakwV聝炉炉@WWUkLkKma聝聶kLUnV`UxWX@Jkn@bml聝akkk@聝b@l炉bm聞聝b聛J聸b@VXn聞bVV@聞聝b聝JUkkKWVU@m聹脹VUUW@UVUJWXkVkKm聧UL@WW@U聞Vl@XXKW聞XJ@XVlmbUxnnm@UlVnV@XVm娄VJ聛b@職mLkK脟bXblVkn@l@bWnX`V@@IVV@聨V聞V掳n@@_na脝VVbUVVbUJnzlVUl聜XkV@Vlx@X聞Vnx聝b聝KUK@b炉聬VVUV聶L"],encodeOffsets:[[109227,23440]]}},{type:"Feature",id:"4513",properties:{name:"鏉ュ甯�",cp:[109.7095,23.8403],childNum:6},geometry:{type:"Polygon",coordinates:["@@nVlw聞@VJU聞聞IVVU職V掳lU虏V@聞l陇Ub@bUV@b聜@聞b@bUbl職Va聞KnLla@UnUWmX聧lJXUlKV@V_U卤Van@V拢nV聜I聞y職U@K@kn@@LVK@k@mnVl@VU聞LUxVJ脠UVIU聫聜aVkXKV聧VUXJ聵In`@nnV@Vl@@聞UbVnl`n@VL@LnKlVn娄Vl么XV聜nz聞@V`VL@llI聹ll@Vb聞b@聝mIX聝l@聞l聞IVJnbWXXJWb@IU聜nVVn@xl職@nVJ聞I@W聞U掳LUaVUUaVJVI聛wlKUalKnb@UnLVWU_@KVK@_職KVa聞@VKU炉VLVKn@la聞aUkU@maVU聞J@k聶@Um@XmbkyVaUIUU@KV@laVn@KXKWUkUk@聝aW聶UUVw@aXKm聝VaUUk職mI聝lUU@wUa聶xUmmU聶炉聶U@W聝LU聧聛mVIUym@U聛VmUa@wmw@莽聛m@aWLU聞聶JUIUamKmL@聶聛a聝x炉楼聝kU楼U@卤聞k聞UVmKU_mJUbkKm聞聝L脜脟聶_@WWUXUmaVUkK聶聞UWW@聛nVxkU聝xmL@KkKmbUI@K聝Lk脝聝bUbW@UbUJUXV`UnU娄m聨VVkxVLUL@llL@b@bkKVb@bU`m@knma聛L@a聸@@U聴WVU聝U@amK@akkk@@b@lm聞VL@VUVUb聝VVXUJUU@V@XV`lLUVVV@nnL聝JVb聛VlzUVVbVVnUVVU聞"],encodeOffsets:[[111083,24599]]}},{type:"Feature",id:"4509",properties:{name:"鐜夋灄甯�",cp:[110.2148,22.3792],childNum:6},geometry:{type:"Polygon",coordinates:["@@VJUXVVXlWX@V聶xVnX@@`職職ULW聨UX脜bWK@mULUUmJ@n炉b@l@VULVx聞x聜XU`VXXJVI聞V@nm`@nU聨VXn@lWVn@b@Jn@nU@Lm`@Xn@WJ聝娄U@@VnL聞lV@@Xl`nIlJnkVL聞w@KVK@U職aVL@bVKX聶lUUKVK@I聞V職L聞a@U@W職LUlVL@bU@@blb@VlbUxVbXUVJ@xVL聞U聞lV@VU聞bVLnKl聞XJ@L聜b@an@VanL@`VL職KV_UWl@U_聞a@WVInlVUUUVm@I@W@wVakIWm@U@聝XwlaVbnI@聝m禄Va@aXaVL職U聞禄@aVa@k聶KkL@KmU@W聝zUK@wU@VWUUVUUKUa@聛mKmbUK@_nWVaUkVaUaVUVLXKV聝VUVmVI@UkKkLm`UkW@Uw聛WW_聞聫UaU@WakXmK@xUX聝Jk聝UUWUk@Wl聴聬mJ@km@@aUK聛zmyVk聞a@kkWVUU炉lmU@@w聜kkmV@Vk@m脜I聝聜Uk聝a聝@Ub聛@m@UUU`m聛UbWa聛Wmb聶X聶聫XKWIXUWm@脜聝聶@y@UkIUJUUWLUW聝L@UkVUxW@kaWb聛KWnXxW娄n聞m`XLVlUbVbUx聶I@JmLUKUb@VW@@bkL@b@VlU@xk職@L@l聝xXxWXX掳V@VVVbUVV@UVVbULVnVJUb虏b聜aUb@VVVVInlV@VnXaVU職聫lI聞VUb"],encodeOffsets:[[112478,22872]]}},{type:"Feature",id:"4504",properties:{name:"姊у窞甯�",cp:[110.9949,23.5052],childNum:6},geometry:{type:"Polygon",coordinates:["@@VbXblVlLXWln聞wVV@VV@Un職WUXVb職聜@聛VWXa@kVK聞聧UaVaVk職UlyX@Va聝聴VmUwUaVU@U脠ymI@aU聧掳@職聶nWV@VaVa聛w@IV@VmnLVK@kmmna@聶聞聶VbVI@aV@XbW`U聞聞LUVVx聞@VbUV@bl@VLXblJn娄lL聞掳掳@n聶@K@UlLnK聞a掳LWbnJ聞娄U脪V聞UllLlVnKnbWnn聞V`聞w聜@@聧Xa卤聶n聶l@XKV_聞WVkVa@kVyUa@wU拢UW@聧UIVW聜@@a聴wWaX_WKkVmUULmak@UJUI@卤m禄聶聴k@m禄VyUIm聶nmmwnkUmVaVIU聫n_mW@禄Vk聞@VwkmmUXa@I聝aV聫m聧聴聧m聝@Wm_U@聛聫mIUW贸LmUk@laXmmkUK@UmKULUUmWUL聝@VakU聶@Ub@b聝录聶VUKWb@bUbn录@聞mJUakbWx@聞@VXnlJUb@x@X@JUnVVUVmkUJ@X聝bV`k@VXU`聶LUK@_mKUbm@@b@聞U`@nlV@b聞UnbVbn@@`VbUbVV炉bm@@聬mJXb@bVnUllVXUlbUl@LU娄VVm聨kLVb@b聶l@V@XlK@V@nUJUz聞掳m聨聛wmLmlXbWVU@UUUl聝IU@VVmV聛@@娄聜bXbWxX聞WlXVWL@LUmkbU@@LVVVJUblzna@WVn職@@l聝IUVnbV@Vl聝bkbm@ULUKV掳UL聝@"],encodeOffsets:[[112973,24863]]}},{type:"Feature",id:"4511",properties:{name:"璐哄窞甯�",cp:[111.3135,24.4006],childNum:4},geometry:{type:"Polygon",coordinates:["@@nL@xn@lKVk職wn@聞alLlaXV@聞lx聞bVWV聛@aUa@aUk@mVUnVl聞XL@JV@VxVIV聝X@聞b@bl@@`脟nXVlI@l聞xUnlVVLkllV聛聞@nmJUxnzWJ@VXLl聨職LVxnL@l聞Ll聨VI@V@lUnl陇Uz聶K聛職@聞Vl@職聞L聜l聞Ln職聜b@VnVVU@k聞a聜Knxn@VkVJ@脜聞UlakmWIUaVanm@_UK@UVWUa@kl聧Xam聶U@Vm聝聶VIXW聞@lUVknVlKVLX聨VX職W@b@Vl職nnVL@KXL聜Kn@lb@UnW掳@Va聞X聞WVb掳aVa@I炉aUkUaVKVw聝aXk@a聞a聜聶@wkm@alanUVw@alK@聛Umkw@U聝aUmU@WXUaUK@UW@Ua聛VWI@楼Xa@w@聧WW職聧V聝Xw聝聧U@mKUXUWVU@a炉kl聫@akU@UULmK炉VUVW@U_m`U@@xVbUz@lUbUl聝XU`WLk@m職虏職Wb@聨聛@聝xU_m聝XmmamLkUkKVkU聝V脩聝楼mIXa炉K聝bmLkK@V@Lm職炉@聝炉kKm楼kIWaUKk@@aVUUa聝@UwVU聝KV聝X_WaU@@bUJUa聝職@職mbnn@lULmKUnU@@J聜xUbUbU@mX聶職炉@V聨@bnJ脟z@VUVVbVxUn聞聵UbW@kz聶VUlUbVb聝聨UL@lWb"],encodeOffsets:[[113220,24947]]}},{type:"Feature",id:"4507",properties:{name:"閽﹀窞甯�",cp:[109.0283,22.0935],childNum:3},geometry:{type:"Polygon",coordinates:["@@@IlVVlnL聜@聹xla聞al@n聞VLlx@x@bXnV@@`mXX`lbnaVL@blV@b聞wnx聜I@xXJ掳聬nK聜l聞聛職@lbnKnblUVanKVb聞@lUnJVI聞VUb@V聜U@m聞L@Ul@Xw聞llVVX聛V@lVnlVn聞l@XVlK聞@@_VWVxX@lb聞U聞nV@@JlbnIlmnVV@UwVK@U@k掳a@mnIVVVK@nXL脝aVWX聧VK聶聶@_W@Um職w@UXWWkUUVWUIVa聝UkJ聶聬UVWbUmU@mkUJUU@UVa聛b卤aVaUIUmVKUaVUU@VUUaUUU@W炉XWWw聞w@k@Kl聶@wkV@U@alK@aX@@UmIUWUI聝@mmkXU`U_WJUnUJmUk@@amLU@UVW@UkU@@V聝bUWVUk@@wmKkUWLUW聛X@JmI聝lUkkKWKkLWU聛@UKWa@bU@@a@_UKW聝聛UUUmJmw@聧n聫V_@摹臒K贸LmbU录V脝@xUX聝@Um@wklVnUn聸lkaUV@聞lV聛虏WVklWXXbWlkVkIm`UU聝L聝UU@UW聝x@XU@@lWLU@kbUbV`UXllUV@bmb@LnKVbULm聜職聬nVVIV`X@"],encodeOffsets:[[110881,22742]]}},{type:"Feature",id:"4508",properties:{name:"璐垫腐甯�",cp:[109.9402,23.3459],childNum:3},geometry:{type:"Polygon",coordinates:["@@n@VzUJ聜nV聨聞K@X職V職掳nVVn職wVb@xVV聞knJl聶VVUbn聞WL@bUxVVX職聞bl@lVXkW聝XwWa聛a@楼聜@nUUUV@聞JVkVVV@XUWanknK聜xn聧聝炉VyVI@m@UkL@W@U職k@aUalKn聧UUV楼@KVkkaWVkUVkUm@aWanI@聫n@掳aUUVaUa@_m@Uama聝V@akU@mV_@聝聛a@KWIk聝mLUK聝aUVU@聝k聝VUK@wUIWVUaVwka@Uka@aV@@aUKVk聶K@X@V聝b聶K聝U@JULVLkVW職UL@aUK聶b@VUL@L聝xUKmlkImJk_@WU@聝kmK@UV@聞楼XIm@@Wn_@KmVm@@I@aUmkXm@UWV聧@mn_@m聝UUJWIUWV_聛W聝wU@mUknVVmxU@@VUV@zU@UVW@聝K@職X@VLUV聝K聝z@J@VnX@`卤bUX聛V聝录聶l職n@xmx脻L@聜Ubn掳@XWVUxUVVnkbWVXV@X職`脝脠聞Kn聝lLVanIV`nLVUl聝虏聝V@V娄聞l掳娄聞w聜b@職nKnLVbVJ職IV聝XK@b聜n@猫nx@xVbUnV聜"],encodeOffsets:[[112568,24255]]}},{type:"Feature",id:"4506",properties:{name:"闃插煄娓競",cp:[108.0505,21.9287],childNum:3},geometry:{type:"Polygon",coordinates:["@@XV@X掳掳U聞lxkbVlVb@nkbVl@xl@@b@n聞聜XbVL@Vl@UbV@@JVLXbmV@bVVUXUJU虏職W聞XlKVb聞@VVXKlX職WlXXWV@V聬XJlI@x聞l@nlbn@lln@lbXalIVK@聝Vw聹UVb聜U@aXylUX@@aW@U_UJmU聶聫n聛VKUamL@Kna@aVUkkVWU_ValaV@XK@kV@@W聞wVXV@聞V聞KVVn_lJlUXkWaXWlkXU聜卤kU@聝VUlb聹kVmUmlk聶炉脻聶聶W聛@mb@娄VxULm聶kJUU@聧ma炉w聝mkX@V贸J卤bUVUX脻Wk聬聶lWXXl聝xUa聝b聝I臒聶脟@U@mVUKkkm@UJm@XnWV@x"],encodeOffsets:[[110070,22174]]}},{type:"Feature",id:"4505",properties:{name:"鍖楁捣甯�",cp:[109.314,21.6211],childNum:2},geometry:{type:"Polygon",coordinates:["@@VaVLnK@I職JVwUaVaUkWKn_m聝X楼WwXm聜LXalbU拢UyV聧聞脜@脻聶wm@聶掳聛l聸L脜U聝mk聶mw脹a茟L脻UUm@龋脝聝V_聞脫@拢U聝聝U聛V聝聞聶录U掳W虅聶脼VbXb么x@b@bmV聛@脟聝聶U脻@@蘑U`m聬@聨nxnIVV聜VX聞VL@`@bV@@aXbVL聜@XVlKXLlLVl聞knJ@I聜WVXXKlVnL@xl@UVVX聞a@UV@VlX@VUV@nK@bl@nVVIVmXIV`V_lWnn聞@VJVXnJ"],encodeOffsets:[[112242,22444]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/gui_zhou_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"5203",properties:{name:"閬典箟甯�",cp:[106.908,28.1744],childNum:14},geometry:{type:"MultiPolygon",coordinates:[["@@@UnUlJn聛聞w聜JU掳VL@bnV職U聞wlJ@X聝聨XVlU@klVUJknl聞UllL@bUJ@xULUl聝聞UblVkblbnw聜UXmla@聧聞wV@VK@L@UXaVKVLXW聝UVa@U@Im@@W@拢UKUakKWIXU@al@@llUnL@W@Un@@VlUV@VIUanKl@Xb@lmxVb@b掳b聛b@nlJVVn聛nJ@b@L聜V@ln聞@LmV@V聛x@blnVK聞nlJXIlw聞J@脪聞b@nlK@Un@UL@VVVVUUUVK聞l聞@VUVL聞J@UVUUw聞@Wm@聶聞UV聞脠VlbUb@J職Ll聨X@@x聞聞聝Lm聨k@@nlx@bUJUzVJ聞@@LVxUV@bWxnLnVVK@_聜K虏xVbV@n楼@aVI@b聞@l@Va聞Knb@n聜`n聛聞mm媒聞W@聝U_職wV@VlVV@Vn@n聞聵@nI@Jn@掳娄VaUU@聶聞mV聛VWVaU脜聞U@aVKn聝VbV聧UmmU@a@kUw聶m@aUUmUUJ炉聧lakU聜aXaWUUaV聝kk聞am聧kmUnVlUL聝VlJ@XU@UJWUUw聞k@aU@WbkW聝L@U@WU@@XUKmV@aU聛VwU臅UJUamUUVU脩m聶nIVJ@kl@XalJVn@KVL聹楼@UWIXWmU@mV聛UKnUWLUKUaWUUKVU@U@anUny@UlUkK@w@a@aVU聝禄UkVw@Wmk聴J聝脜mUUVmwXalLXWWUnam@Xk聝J@UVU@U@W聞@@U@I@Wl@脠nlw@KXLWb聞lVUkalKUU聞VVaV@@wnIlaUmkU聝KWU@KkUkLWa聝KU聛UWUn@V聝K@LnnWJUI聝VkUWVnV@V聶@@X聝K@VUIUJ@IWJkX@VVJ聶I聝VkK@I@UVaUWk@m聞@wnUWKk@mxk@@聞lV@b聞xmb@x@V聛UmLkU聝J@nVV@b@VkLVbU`炉I聸l@聶U_UW@UU@聶聶聝K炉wm@聶x聝L炉楼kI聝聶聝聜@bkb聝@Ua@聛聝m@kkW@XVbmV@聨kV@bWbUbV@聞娄聝xXlmVk@聝娄聶bkaWL@KUImK@wUK@VUI聶b@bmK@L脜y@akXW@kbWlXblL@聨ULUb聝`@U聶kUymX炉@m職UJU聬UJ聝L@Lm@@W聛X@lU聞Vl職Xll聞@l@脠k掳V掳聨聞X@VU@UVll@XUJVXUVm@@VXLWlnV@X聝職k@mVULnxV@@bm聜kL@VWLUbU@UVm@聝b聛@姆楼UnmJ@UUV聝kkJU職l脭U`UIW@聝掳kLUlUI@WVI聶U@mWKkXk@聝聜WU@bX職W聞@J@x聛X@l@LVl@x職LVxXX@x聜KnxVknb聜KVV@U聞L聞WlXU`@nUl職X@llVX職VU聞KlkUKlI@anKVLXKVaUIVWV_VK@VnLlU聞禄VKVL聞m"],["@@@KlKkUUVVX"]],
+encodeOffsets:[[[108799,29239]],[[110532,27822]]]}},{type:"Feature",id:"5226",properties:{name:"榛斾笢鍗楄嫍鏃忎緱鏃忚嚜娌诲窞",cp:[108.4241,26.4166],childNum:17},geometry:{type:"MultiPolygon",coordinates:[["@@VV@XkV@bUbWJU录Vb@Vnb@b職聞@J@b聝L@LV@UV聝lUI@a聶KULVb@bkJmx聞職lLVxknVJk聞聜xnKmnnL@bn`WIXlWLU@UxVbUVmKV聞XI@JVIVJ@U聞L@W職@@UmUXUlV聞UVJXImm@K聞L@UVmVXV聜聞LXblKlV@LXV聞LlVVnkbmJ@xnXl@職bXa聜@Vana聞脪職L聞m聜VnIl聜脼娄掳k@b聞@@lV聞nJlUn職聜VX_聞@lVlK聞聧職V聞UUxVLVWVIXJ職UlnnWlI@KUaUUVKn@VaVXV@na@聝mw炉@mUkJUamI@lk@@am@@I聞聝UmVImUU聫聛w聵聶@anUVaUU@LU@Wa聛WUXWW聞wV@VwnU@L@ynbl@@X@a聞J@nW@@Vn@聞lVLlxnI聞l職@@UWKU聝nIlJXIVllIVV職录XK@aVI聞V聜@@bn@VKXLVKVVVInw聞J@UWI@mX@WKnI@KmU聞UVJUL@V聞KW@@k聞聧@aU@@W@InJWUXwWI@W聝@炉wkaVaUIl@n聨ValIXWWI@UUm@anwWkXWWIUbk@UJmIUamKVUUU聛VVama炉VkIV聫VUlKnXVwX@@WVaUUVa@Il聝聛aVm聝kna聸wk聶UU@聝U@mUV聝職UVw聹l掳LVbnJVU聶炉la@mX@@UWKXU@aV_V@@JlkU聝炉@V聶nK@km聫炉k聞U@聝WU聛W@聛mm聝U@聶kmlU@wkL@W聝UkL@VmL聝J@b@V@bknUUVK@UVKUK@Uk@Wa@LUVVnUbmVk@@UU@@a聝V炉K@U@UU@WmUL@aU@WV聴w@聝聵I聞xXll@UX聜K@KXXVJna@wWa聝拢naUKV聧聞m@UU@mUma聛lm@@XkVm@聛U@V聝LmWU@kkWxU@@bVV@VkXVl聝V聝@UUk@@聝mI@KUw聞m@UmV聝UUwU@lwkV@IUa@mUaVIVKVa@w@U@聶UJkb@n@bmJ@Xml聛VUxWXkJmUkUUVW聬聶xUlU@聝aULU職mbU@@聜WXkm聝L@xUV@nUx脟m@聞XLWbnl聝nV聜nnUV聵聬U聜nVVz聞@lbUVVlULVb@V@nUJkwm@Ux@bWbUK@UULka聸J聛b聝U聶U@U@lUK@XUJmn聶J@bU@UwWa聶x@zkJWnUJUUV職VV@bXn@xVb@J聶L聶m@X聶w@`@bkb@VmXUV炉L@mW@@n@V@聜聝L@K聴IW@@a聝aUx炉@U聞m@XbW@@L聞V@bnVWVkKUzlV@b脝a@lnI@VV@@LnVVKUaV_VJVbnU@bn@聜聜nX@yVIVxXKVLlUVaXU掳J","@@@KlKkUUVVX"],["@@UUVUkUmV@ln@VXVK@K"]],encodeOffsets:[[[110318,27214],[110532,27822]],[[112219,27394]]]}},{type:"Feature",id:"5224",properties:{name:"姣曡妭鍦板尯",cp:[105.1611,27.0648],childNum:8},geometry:{type:"Polygon",coordinates:["@@UkV聝@k聜W@Xn@@K聞KVIV聫VIn聶掳@nWVz職l@V聞_VaVK@聧kKWaXklaX@lW@b脝z@KnL@a職aVJ@UVL@xnLVJ@LXKlb職a聞楼l@nUWk聞w聝楼U@VaXa@amLkU聝Km聝炉k聝mkIUa聝KUIW聝kKm聧@anw@mlwXI聝m聝Uk炉@a@amU聝`k聛kKWVkxmUUak_mJmw@w聞mXUW炉X聫聸_@WnI@aVwkWW媒脜聝U@WLkU聶aUbVV@lUVVnm@kUmV炉聶kK聶L聝wmV聛UUaWV聶a聛aWw炉w聝脠@VULUVUU聝K@nWJkI聶l@Umxnbm@kbUJ聝a炉bUbVxmLUV聶aU聬@VUUWxkVVV@bUV@XWbnlUb聝bUJlbUV炉b@z聞`WbXnmb聝a聝wUwVW聛U聝bUxmbU@Uam聧聶聫@聧V聝k聶V聧聛a聝wVaU聝WI@mUK贸z@lUl脜@WI聝b@xXxml@XklULWKU聧mwUa炉KUXWJkaULmKkLWbkKUV聝Im聝聛聝Wa@kUaUL聝W炉L聝K炉@kb聝L@b聶x@J@bmnnlU職lzU`U@@U聝b@聞m聜n娄掳bU聞Vx@bkVm录mx聛@mk聶mVV@bkxVn聞aVV@bU@mL@b虏`lIVV@lXLl職聞bVxn@@bl@XllIV職nbV職n掳掳wlbXw@mVa掳聧lVnU@m職聶VLVbn@@b聞@@WVnUV@Xlxn`VznJVb@L@bV`V@職Unw職U聞@WUXKV@UUlmUUlaXalL職m聞b職IVbnJVIlVVaUUnWVXn聜VL聜k@聝nWnblnlb虏x聞xVKVXlVXLVW聞LlUVJna@wVL聞录@JVX@`@nnx@nWJU@Vx@XXK職聨UblxU聬職掳聞LVKVVlL@KnbVUnJ聞IlU職聝nKl拢VW聞x聞IlJ@n職V脼UVVnb聜VX@V_掳lnK","@@@UmWUwkU@Um@@VkL@V@聞聞聜V聞VkV@nbVa@聝"],encodeOffsets:[[108552,28412],[107213,27445]]}},{type:"Feature",id:"5227",properties:{name:"榛斿崡甯冧緷鏃忚嫍鏃忚嚜娌诲窞",cp:[107.2485,25.8398],childNum:12},geometry:{type:"Polygon",coordinates:["@@聜V@I枚alK@UV@@KUaVIVV聹LlaVbVWnX@聜@LnUlxl@naVLXVVaVU聞J@聧lUUanWWI聞@VlV@Xb聝b@V聞n@VmVVbk@kU@V聸V@X聞J@zn`ULW@kK@_WVUK@LUb@Jlxn@nnWlU@@b聞x@XVVU@UbVb聜@n`VI@VVLUlUIUV@KmL@VV@XIV@@lVLVmXV聞@WLXLW@U`職nkb@Vl@UL@VVV聞L聞llX@`lIXb聞J聵IXW聞L聜aVL@聨XXW聜聛蘑聶b@bmK@L@掳@Vnxmx職n聞K@xVn@VkL@V聶L聝akbl`VnnxVnUl職職V@@VVXV`@職聹k掳JV_UalK@U@aUU@m聞IlVnK聜V@U@wna聝w@akU@聝l@nwl@XLmV@xn聝l@VXUb@V@JlL聞U職JUI@UlWU聝nLVUUaVwV@XKWkXJm_@amKnmmL聛wl聝UIlmUwkK聝聶nwlI@aUaVK職L@bVJ聞kVUU@@K聞K@a@I聶聝@ama@UUaV禄XIVa@alU@WUU炉IWVUbkVUKWLUwUJ@zmW聛聛m@@amVUaUIU`VbULmU@KU@@UmJ@k脜b@akUVylLXUmU@a聝U@KX@Wan@V聝掳@Vw聞b@bX@聵J@L聞K@聛@U@mX@@n掳KVUnW@Ula@a@_職x@W職n職K@IUa@wWm@aUUU聶VVVIXmlI@y職wXbVxV@@a職InmVI@WVL@k@V職V聞V聜a聹IlbVK@VVLXa@aVwn@lxVI@m@UUaVKUkVUka聝@UymUV聛聴聫VUmmU聛聞mmkXaWK@聝脠nVw@mVU@w聞KlnXW@聛V@naV聶VKUk@KVIUW聝@mk@KXU@Um@@l聛V聝k@UVJna@UWa聝L@a@聝Xa@kmmVUUk@mkk聝amJ聴ImJUUmI聛m卤aUUkambkamVUU@VlbUbVV聝xX聞WVUU@VUakU@UmUV聜U@mnUVVnUbVJ@b聴UW楼kLVamV聛kUaWJU_UVWKk@@nl聞UVVJUX聛m@Vm@UnVlmbn聬mJUbULU@@UUKWV聛IWxnJVb@xUL@bUJWIkx聝bkb@xVJ聝bmU@k聛W卤LkKUkVa@a炉am楼ULkal脩lKXUW聝X聧聝aVakImV聝@ka@聧UU聝J炉a聝X聶mmb聴KWU@wUU聝aUa聶KmU@UXlWb聴录WLUKUb掳聞UlVbkbVL@V聝職聝J@nVlUbUXmJ@VX@lbUbU@@bWb@VnLVJ@bVVUz聞聨VL@lnL@b聶VVVULmKUk聶Jkbm@聝xVb@V聴k聝KVnnV@b@聨WXU聜聞nV聞l聜聛VVXVJUXlVXbWV@VU@Ubk@@KWbUUmL@JnXV掳XJ@_聜`UbkXVVl脝kb聝@VLXVV@聜V@k聞KXX@`V@@n"],encodeOffsets:[[108912,26905]]}},{type:"Feature",id:"5222",properties:{name:"閾滀粊鍦板尯",cp:[108.6218,28.0096],childNum:10},geometry:{type:"Polygon",coordinates:["@@掳a@a脠bVUlU@aVKnVV聬聞VU聧lyX鹿lWVa@聧U聶V聝nUVU@m聶聧@mU聧l@聞m脼w聞@聜xnIVbna@KVI聜J@k聛wV楼聝UX脟VkVW@kkKWU@aXUWmnIVa掳VXbmL@VVbnVVVUb聶聬Vb職JVbVKXkVKVanU@aW聛nWU聧Wa@U聶聫nk@mVIVK@wXxlLXbVJV聧lK聹bl@VI@m職aXalVV聞VbX@@a職alnkx@b@V聜b@Vnx@bVVUXn陇WXn@Vl@Vlzn@職`@I@KUU@聝V拢nam聫VkXa@aVK聜nnU@anVlK聝a@UUU@amk@禄k聝U炉@a職聞VWnkWmkImU@akaVm@禄VUV@UKnkW炉XWlkUKnIWa職@nmlIXmWUnwUwWm@wULmaUJkIUa聝aWa聴klwkwmJmU@bkJ@XUJ炉聧W@XbWbUKUkWJUUVKnn@UmmXUWa@mU@@U聛I@WmXVykwm@kaULWwU@炉聝lKUUVU@mU@UkmaUbmV@b聴職聜xV聬nVUJVn聝聞@Jn@@bl@@knJVblInV掳@nx@聞mbU@UWUbm@ULVVVb@LkJmXkm聶VWIUJUXUKVw聝V聶U聝聨kLkU聝@W`聛Um聶kVmIU聝@k聝@@a炉l脻楼k聛mJ聛U聝n聶K聝脩mbUb聛@Wb聶ak@mWU@Ub聝UVVkLlbUV聝kXaWK@Lkx脟mk@@X@J@V聝@@X@VUV@V聞IWln@mbXVWXkKWbnxVUnV聞脝聵Inl@XUxVl聞录UV@b@b@xlLkV@VmzmV@b@VUVVLXVVbVLXKmVVLU聜@nnVWXXJ@V聸娄UK@LUmkIWbk@@lUImJn職V脪VUnVVbVIV臇UxV聜@bnUVL@WV@@X@V聞KlXXaV@@b聝lVxXVVIV@@WkI聞UVKUkVmlnn聨聝bllU聞VbXVWb聛blVkb掳聨VInVVV@b職nVx@l@bnVVnU聨Uam聞UL@b聝VV脝UbUXU聜聝n@職VVUb"],encodeOffsets:[[110667,29785]]}},{type:"Feature",id:"5223",properties:{name:"榛旇タ鍗楀竷渚濇棌鑻楁棌鑷不宸�",cp:[105.5347,25.3949],childNum:8},geometry:{type:"Polygon",coordinates:["@@VL@Vl@@IXW@kVUVbnW@XlKVVnU聞VlL@b聞aVb聝b@xX聜掳脭UxV@kbm@VxkxWJ聹聞V娄聝聨@脠n職VK職xW聬XJmV@n聞脪@xVbn@@blLk`VX@b職職la虏JVUlnn@U卤lw@wnw@mlwVIX@@m@klKnk聜a聞KnwmmXk脝聧Vm聞U職楼l@nb掳聧n@聞aVwVmVIV聫nI@a聞炉@m職U掳聝l@@VnI@JV@UV@b@IUbVJmX枚潞聝zllUbVa@aXUl@聞U@llLnKVaUa@UmK@U職wV聧聞bnKV@VwVK@UX聝V@Vbn@聜w@U聞WnX聜@聞a@m聞I聞聶@UUKlaUaVk炉聝VaVLXK聵禄XaWk炉m聝k臒wmW聛@mI聝Vkw聝JUI職脟VwU聶UkVKk聝m@UkmU@W脜wm拢聛V聝聞m陇炉IkJWa聶_聶lUbmJ聛z脻Jk聞聝U脟VU聞聝聜@bU聞脻n聶m炉LUb@`mL@VkL@V聝Ummk@UU卤聧Umka@kU聝@聛姆ymUkk@mmk脻mUaUakImV@V@V脜L聝娄聝JUXmJX職Wb@n掳脝聹x聜录nV@LlbU聨UbmL炉@脼bV陇nbVx@bUVlblI聹聶@KVVUnVJUn@VlLUlmLUUUxmK@I聛@@VW@@bU@UJmUkLVVUl@b@V"],encodeOffsets:[[107157,25965]]}},{type:"Feature",id:"5202",properties:{name:"鍏洏姘村競",cp:[104.7546,26.0925],childNum:5},geometry:{type:"MultiPolygon",coordinates:[["@@么yVL@nXJV聞Ub聞x聜bU聨l職U聞@聨職聬n聨VbV@naVw聞a聜VUXVx聞x聞bnaWmXa聝_@y掳aVUkaVI聞aVamkXa@WVU@aUUlUXwVV@UV聫職bVUnKUwVa掳a聞bVIlan@manw@V職klJXI@m聞LVVVUVK@U聞脟聝k@KUa@UkaVU@UVWV_XWVXVWlLXKlLXa脝K職wVL@akKm@Uw聝@@XUVk@V聫UI@wWK@aUV聶I@UkK@聝mL聶W聝@kImJ聝U脜VmkXUW@UJkx@nmx@xkxV虏m@kmUV卤Ikb聶聶@aUWl_kK@am@Ua@w聝脩@mnUWIX聫聶wULm聶@脟聞聧U楼聸聝XIlwUwn@laU@Vw炉脫W聛@w聞aUa聝b@akK聝UmVUUkL@WmXUaUV@lWX@Jk@@UUKULmLUJmzkKmVX掳V職UnWKUL聶聝聝L@mU@UnVJ@b@聞UV@X聝`m_@l聛@@bmbXJmnn職@掳聵wnn@聨VLX@V聜@nVl@nk@@b聜l@nn掳WlXzW`XXVKnUlxVbUb@聜V聞Xb@聨聜聬Vx脠bVlnbmn@聨kVUL@聞聝聨mLUVVL"],["@@@聝@UmWUwkU@Um@@VkL@V@聞聞聜@聞V@VkV@nbVa"]],encodeOffsets:[[[107089,27181]],[[107213,27479]]]}},{type:"Feature",id:"5204",properties:{name:"瀹夐『甯�",cp:[105.9082,25.9882],childNum:6},geometry:{type:"Polygon",coordinates:["@@lL@bUK聶x脜LWbkKWLkKUXUWWXU`UX@VUVlb@VVb@L聞l掳xXx聜b職bXUVb聜VnU聞x職KlL掳職nUlVn@UmVU@kUUVa職blVXKV@脝聞X镁lXUxnU@mVK@_@ml@UU聞@職blU@KnLVyUw聞@@Umk職WVw@UVK@VXzVK@n聞VVUUW@kVJn聛la職@nKW聶kaWL@U聴聶玫b@J聛U@mU@@_WW聝L@l聛UU@WUUK聞@lak脜UUlWVa聛_@`WIU炉mW@InKVVXa@Ll@VaV@@UXUWakUVWUIUW聜Uk聛U聝聝mV聛XW@聧@amUUm聞L聵l@UUa聞wn@la職IVlnLVKUU職U@amK@kUK聝聧VyUU@aUImK@UXa@aV@VakaW@@UnIVWVaUk聝b聛@mW聝X@V聛xm@UaU@W聞@VULUxU@mL聝aU聨聶x@VnL@VVbUbmLkK@k聝Vk@WV@bUbVakk聞y玫鹿nWUIVa@J@aVUU@@ImJ@Uk@炉聞聶V@n聝掳@bmJU聬UJUnUx聝bm@炉聨mak@聶娄聝VUn脜聨Wlnnmx聝L聛bmlkL@l@nWVnl脝U聞VnIlJ聞@職XnK@聞lL@V職JVU@bXL@xVJU聬l@VU@W聞@Vxn@"],encodeOffsets:[[108237,26792]]}},{type:"Feature",id:"5201",properties:{name:"璐甸槼甯�",cp:[106.6992,26.7682],childNum:5},geometry:{type:"Polygon",coordinates:["@@n聨lLX聞VJ聞LVblJ聞n掳ln聞聞LlVnKlU@聧nUUa@WlX@l聞n@聜Vb聞@la@a聞聛聞職lJ掳娄聞K職wn@掳x聞LVkUmmwUmk_la聞b職K@UlK@UUm@w聝L聶mnwmw@U@炉@KnL@a職a聜摹X聛WW@聧UK聛b聝KWX聴J聝IWakJ@_kW聝k聝KUU@UVKk@@Ula聶mV_X@WKXK聝@WUUnUK@kU@WJU@@UnK@LVUVJVkUK@UUJm_聛@UaVaV@UU@W聝w@aV@Xkmmm@kw@IVa@KVLXU@`lLX@VKm_@y聝I@W聹U@UlVl@UanU@U聝m@U聞aWaU@Uk聝@XJmXVbkV@聨聝IUVUbWUUKmbk@kwmV@K@聛mWUXUakb聸KUUUJVb@LU@@VkL聵職@VXKlbX職mL聶@kbm聜UI@lVXUV聝U@mULWy@UUL@VUx聶Xnl@V聝@VxUzmK@LkV聶a聝@VVk@@n@`UL@nmV@bmJ@X聹`W聬X掳WV聝n@xnxnIl`VbnVlwXUlLl聜聞_nV@b@bl掳聞V聞nWJkx@nmx@b"],encodeOffsets:[[108945,27760]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/hai_nan_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"469003",properties:{name:"鍎嬪窞甯�",cp:[109.3291,19.5653],childNum:1},geometry:{type:"Polygon",coordinates:["@@脿庐录jpnr聮``聨pRVH脢聵脤陇聻Zt^J脰A聵[聠C芒lT茅bQhRPOhMBcRSQiROE[FYdGNOEIH]MgEAMLLIAG_WMCSL@ED]PCLYC[ZIHgjSxJTMbHNEFCMEE_HSDFHSLECRNSFDRICHNADGPI\\RZGIJTIAHLDQOHG`GTNCOIC@eIGDWHIS[kiE[FMbEC聛ZS@KKS[FDWsCeRuU_DUQNOE[LKGUBM篓EDQP@HWHGDIm聫X聝Cog聺_~聥I_fGDG|QDUWKBC\\ore|}[KLsISBHVXHCN`lNdQLOnFJSXcUEJMCKSHOUMDIm_聥DI`kNDIGEYFM\\YPEEIPMSGLIKOVAU_EBGQ@CIk`WGGDUM_XcIOLCJphHT_NCISG_R@V]\\OjSGAQSAKF]@q^mGFKSW^cQUC[]T}SGD@^_聢aRUTO@OHAT聼聰"],encodeOffsets:[[111506,20018]]}},{type:"Feature",id:"469005",properties:{name:"鏂囨槍甯�",cp:[110.8905,19.7823],childNum:1},geometry:{type:"Polygon",coordinates:["@@聙h牟陇莫炉LQDaF脽L[VQ矛w聙G聜F~Z^Ab[聙鹿ZY枚pF潞聽lN庐D麓INQQk]U聭[GSU漏S_颅c聥}aoSiA拢c脜聛隆漏EiQeU聧颅qWoESKSSOmw聼膰玫Wk聫脿mJMAAMMCWHGoM]gA[FGZLZCTURFNBncVOXCdGB@TSbk\\gDOKMNKWQHIvXDJ\\VDTXPERHJMFNj@OwX@LOTGzL^GHN^@RPHPE^KTDhhtBjZL[Pg@MNGLEdHV[HbRb@JHEV_NKLBRTPZhERHJcH^HDRlZJOPGdDJPOpXTETaV[GOZXTARQTRLBLWDa^QAF`ENUPBP聟\\Eji`y潞Ev氓脿"],encodeOffsets:[[113115,20665]]}},{type:"Feature",id:"469033",properties:{name:"涔愪笢榛庢棌鑷不鍘�",cp:[109.0283,18.6301],childNum:1},geometry:{type:"Polygon",coordinates:["@@陋VLP`@PEdNRAHOPEAKHEVL`GZBJfvdTAXNNTZJFPrHHNpKTD\\ILHbEVd^J聜OHLh@NNBnHP`\\xH@NBRLJTl聨Nv_^CTLd@bNDVFbxdFV聙UPBTKOGEOUO@OEBXQP[H_EI\\EbeYa@UO_J聥MEJ_IEDKJUGMDcNUd_FMTEJSGoZ]EIYGO[YW聭gEQ]a@WHEDQKUSDUGAbYBUpSCYNiWqOSQEoF[UcQISWWN聛MSDe_cLQ_UBiKQOOASQAWgS颅膩]Za聨SP脻Z]XMXS聦[^oV脣NgNKlE聽R么E酶"],encodeOffsets:[[111263,19164]]}},{type:"Feature",id:"4602",properties:{name:"涓変簹甯�",cp:[109.3716,18.3698],childNum:1},geometry:{type:"Polygon",coordinates:["@@庐膫hTBXTRPBRPjLVAR`dKf`TC聜NXMTXRJVdE\\FpTRrPjXZMTDVoZABaVHTCLVCRGF@X^bFR聮hZXP\\ZHHMA[^wBWXJlW陇EJ[bCTOF聥WWMm@ILMGWQ@DQ^QNWFSHEbF`OXNbO聞VNKTEPDTLTCCVTREfvfEHNbRAENH^RJXCFHNFRpVGHWISDOTMVCZeGamaLoL脹D鹿鹿臈gsia{O懦E聴Tt聣l脡聜wr}j聼R卤E{L}j]H膮K脙T[P"],encodeOffsets:[[111547,18737]]}},{type:"Feature",id:"469036",properties:{name:"鐞间腑榛庢棌鑻楁棌鑷不鍘�",cp:[109.8413,19.0736],childNum:1},geometry:{type:"Polygon",coordinates:["@@bRFnHNbH聦gN@NPEnbXP@bND`NT\\@\\QZb@`@J]V@Xh聻DpW聞n聬CJGHGXO@CR搂FANHVKLF\\MPVR`CvVfQtDPKpGHG@S`WJP~^dSTHWX\\RHTFACQTIAUPOU@MG__IaYSFQK聭NSbORHXCZeTFJg聞B`YBMNMFi~IVDV[tGJWXGDQRGF]聢JrALgESLSAYDGIaFeXQLS\\MKSLSQYJY}eKO[EHiGSaK[Yw[bmdURgEK^_kcSGEOHKIAS]aFSU@Y]IWFUTYlkP_CUOUEkmYbSQK@EMWUuAU\\M@EpK^_ZMDQ^OXwC_ZODBrERURGVVZ\\DTXcFWNIAWJWAYUUFYEWLQQaCIZeDM`cLKRGpanJZQd"],encodeOffsets:[[112153,19488]]}},{type:"Feature",id:"469007",properties:{name:"涓滄柟甯�",cp:[108.8498,19.0414],childNum:1},geometry:{type:"Polygon",coordinates:["@@潞聼x聥JYZQ聰I聤YXLl@dR\\WZEn]bA\\S~F`KXaDeTiNO^EEKWEDQXITBXaWaDQMUJOIaTWf@NJV@dSxGZ聣Fu_聛@WMKAU聢}AQ@MwG_[GOAmMMg@GK聛P]IUcaFKG[JSCoLGMqGEOYIMSWMSBucIeYA_HUKGFBLOFGPQBcMOF_@KO漏UAtERadwZQ\\@脢J脪g貌U莫RlR掳K漠V聨LJ"],encodeOffsets:[[111208,19833]]}},{type:"Feature",id:"4601",properties:{name:"娴峰彛甯�",cp:[110.3893,19.8516],childNum:1},geometry:{type:"Polygon",coordinates:["@@艅Z苽t蘑卢忙脽Fuz鹿j_Fi聠[AOVOFME_RBb]XCAKQKRSBQWSPY\\HbUFSWSPoIOcCOHIPkYCQ]GdGGIFQYgSOAQLK`MFUIGa@aQ\\GGUFcHKNMh@\\OYKAigsCgLSF]GOQO]@GM]HyKSHKPW@Pxi@EMINYREXWRQ@MQcFGWIAwXGRH\\yDI`KJIdOCGRNPNtd\\UTMbQYi@]JeYOWaL[EcICMUJqWGDNZEXGJWFEXNbZRELFV]XQbAZFrYVUBCLNFCHmJaMIDDHXHEhQNXZ_TARFHVB@DTQIRR@YHAJVnAbKFUEMLd\\c^脥脼"],encodeOffsets:[[112711,20572]]}},{type:"Feature",id:"469006",properties:{name:"涓囧畞甯�",cp:[110.3137,18.8388],childNum:1},geometry:{type:"Polygon",coordinates:["@@^J@ZTVbET^JBGLFPTHld]`FLQhcVanx\\\\ZbLHTGj\\FLP~fIZRZPVTQFSVAFJE^NDLEE[~LjsxVTG\\NZZNGlLRRGLJTV@hPZANN^@T\\NEPPbDZXO`d^HSvcJDIV\\XZAJUFCLNP@PQ陇@[茂K聺L脩I脧]脟E卤I{u聝颅Y艣U膰FcYUmsVeBSVgB[RO@aYYPO^]@UVaNeDShMLG\\EfFVE\\F`"],encodeOffsets:[[112657,19182]]}},{type:"Feature",id:"469027",properties:{name:"婢勮繄鍘�",cp:[109.9937,19.7314],childNum:1},geometry:{type:"Polygon",coordinates:["@@T\\GJCXJH@fJDDPNCNJENN^NLHBNSx@DDYbBLLDRbjZTj@`XXTlG^Xr@PJLW\\WLTlWR@HDJTD@X_PO@STMDNTMVV@NLDM`M\\XM\\JNBH[PYZ聡煤Yz鸥`膴\\脦脻d]c[NKVFLEBaUmBIZGQ@JQSR@CUAEGBQ`SWYRMFgWGCGJCbNnIDGMEDKVAZUEqBYRa^WEUFKYQMaFWXEHIFWMYHCrXVIIiaK@aMCUYNSIISTwXALKH@XWXIEIJQCG[IEQDE_XSBaa[AIPW@]RS[FWS[CD]PEBYNGFSaSyJG]@ugEUDQlGHiBKHUIoNSKqHFaPMICK]UUHIPDJMuCA[SCPIDIOILGAEmU[POPBVSJDREBGS[QXWSGcT}]IO_X@TGHoHOLCX\\ELT@LYTD聜aFENF\\lj"],encodeOffsets:[[112385,19987]]}},{type:"Feature",id:"469030",properties:{name:"鐧芥矙榛庢棌鑷不鍘�",cp:[109.3703,19.211],childNum:1},geometry:{type:"Polygon",coordinates:["@@D\\RV]dTXELnHr]^@LETBBRTHPi^[@U`QTHDJ`MGSogDIPKdJ`WVNHCXHl_DJR@AH`FBVPUJLHKNTJOFFZON[ZEHFCJlMJ_聦Cn`CJVNGPLTNDFIdVTWEIPmRKMc_kDMWGGUTAtJLK~\\f{pqD[LAVXRCH{HC`e聦J`}@W^U@I@_Ya[R[@MSC_aMO@aWFmMOM@聥haGGMEmaQ[@MESHaIQJQ聟聟MckBIw[AOSKKAMPSDSLOAV_@@`KJRbKRDfMdHZERgAWVsDMTUHqOUr@VQXTT@T聝fg聜L^NH\\聬@heTCZaESNObHP聝HeZF\\X^ElM^F^"],encodeOffsets:[[111665,19890]]}},{type:"Feature",id:"469002",properties:{name:"鐞兼捣甯�",cp:[110.4208,19.224],childNum:1},geometry:{type:"Polygon",coordinates:["@@TP\\pATHTGlZDJGAQjE\\Rb@jVBDCN`JZ[NCNHNXbULPrP\\KNbMTLjJJRFP`聯pNLZz^FLRHjVPZ@hxVKbHBHMNNJFRlLzGPnNHhIrHHADcPWdUAmEMVQDSKYHY\\EhBN^HpXGNDBNNBnI聬脽聥脜_g{鲁So]脙拢@ORO@KMEDIVYB[WJUICudGTc]P_YWaCOOMFS[]@MMYBgOU@ISHKQQkKMHYY[MSHwUit}KF\\KFMCF]EIUBETSROUKTLT[NKTWREfJbCHBZKTFTKh"],encodeOffsets:[[112763,19595]]}},{type:"Feature",id:"469031",properties:{name:"鏄屾睙榛庢棌鑷不鍘�",cp:[109.0407,19.2137],childNum:1},geometry:{type:"Polygon",coordinates:["@@`Z膜d聳`貌眉聢聵聽聯BSPGP@VSbQ`聡@]HC~T^SE]N]FkW]E[fY聞GGOPaTMbFDYfS@g[聫MGK]h聛聞e@SSSRW@UVqrPVGNStCXUhBFQGYNcCeLQQaLI@_`@EUwcEaCUaMc@SK]Du`聧MSkKI聡~BVNL@X`聜EvY聤wHcTU@MIe@SXJbIPNVCRXbWbSAWJCRXFFL]FMPSjCfWb_L}E[TaBm^YF[XcQk@WK聣Z聯JYRIZw聦鹿聽"],encodeOffsets:[[111208,19833]]}},{type:"Feature",id:"469028",properties:{name:"涓撮珮鍘�",cp:[109.6957,19.8063],childNum:1},geometry:{type:"Polygon",coordinates:["@@jD`hNd\\^dZ盲d膾H麓Op@聢霉ZY\\OAGIMN[[W_NCNMKU@NUMSNCTSP@`O@WSCCI@GXQSkXKX[IK@OWqH]SkWW@_SiiYQaKCAKZaCCw@MTGAMKM]FMMIMDSM_HGHRPKCBGSJJIYH[QOJCHMBDGQJECMTDQKFGTCEGTF`NFEDMFaGSNwIiTGhYJD\\KZODC^@FTKND`XBHKJNKFBNhG^FJMPcHEZF\\QPRjQTAdgNOPgQaRS锚"],encodeOffsets:[[112122,20431]]}},{type:"Feature",id:"469034",properties:{name:"闄垫按榛庢棌鑷不鍘�",cp:[109.9924,18.5415],childNum:1},geometry:{type:"Polygon",coordinates:["@@R]NC`YL]FoN@V[vBXVFNL@TRZalnVFVP`DlOZkVSXEE_F[EUFeH[NKTgfCbMVU^@P]ZObZP@\\QhATUfAtUas帽聺i膩EoI]eY钳@aKmae聝WuC潞K脺KpnbHbYfUDSNCPJTRAHJTDJSfDNLHXC``VBNGTYCQDIXMDSP@xLNEFRNXBIpVNLXah@RgF@`qOML@LJNSPLbaHAh@Jdj"],encodeOffsets:[[112409,19261]]}},{type:"Feature",id:"469026",properties:{name:"灞槍鍘�",cp:[110.0377,19.362],childNum:1},geometry:{type:"Polygon",coordinates:["@@\\OnVBFKHPJCJOJTDB\\vDINOCGJVVL^JDONEbrGTLpMVJLGjAHGRkVChF@vH^zIbTETMHAZOFC^\\DXT\\EffAP\\PdAV@UIYfS|S@YPICMeM@sC[_A]VQEwyHSMuNcAUlQJMVGMS@mVBZPFO\\CS聫FQK[LqDMACiUa@[QiFBRIHYCHkGSBS[oSOqB聡IE^QHCRWHIXsHU\\UC}JEjMNAN_Z聝AIhSEYfWDQGaPMTL聮ERZTJb``NHV@"],encodeOffsets:[[112513,19852]]}},{type:"Feature",id:"469025",properties:{name:"瀹氬畨鍘�",cp:[110.3384,19.4698],childNum:1},geometry:{type:"Polygon",coordinates:["@@JjDNdJ\\FbKPXfZ^Ij@RZNaVSc[MsMOHQPDJcLIJ_zCG[HQxWJBHXdENRR@XQFWZQQGOFSWUCI[WCJuRGLXNMPLhCl[Ta@SqGgJMGOmyHkKEQMINMAGaGULgwY@UOGiKQ]EYyMK聰oO_QEIIKiNSMa[LqOKOaVMWMGMDY\\_IKrL\\ERT聬[DEPYOUA@nNTUHINkRBVMdNvGTxzRF^U`BD\\@tfNDNOJ@Z{TeTJZ@VU聙cB[OBOeeQT@^OXBJb\\AbWTF`RCJFH\\RDJIJFXW@WLGBKxWTSJJMTVZND@bbL"],encodeOffsets:[[112903,20139]]}},{type:"Feature",id:"469035",properties:{name:"淇濅涵榛庢棌鑻楁棌鑷不鍘�",cp:[109.6284,18.6108],childNum:1},geometry:{type:"Polygon",coordinates:["@@FJp@fxpQ\\ApN\\GNPNBM`HLMrXLXj\\PEHnI@WUCEM\\GTc\\GZYHTPBHRCPTd聙H\\K\\@HXi聳BJILJJAVNTOZJNtFPC`YxDPWci@IBgbGKaTOIM@KNKrP@_hE@QbgKWUMJoWAQMFEKM@wTONCJWRCZDHSAM_UD_GWMKeCITSCGIQBGXUHQoMEEGWDQIG]FMQBMaFGueFeSQDUSDSKOCSFML聝UaPWM_PaEGFETMX]RCRR@HXKN@JNnXXE聦SPaDI\\拢FkXWIAX]xB\\GN"],encodeOffsets:[[112031,19071]]}},{type:"Feature",id:"469001",properties:{name:"浜旀寚灞卞競",cp:[109.5282,18.8299],childNum:1},geometry:{type:"Polygon",coordinates:["@@TCNOLBTLBPx\\AJdl聠NR聠RIbJTGNF\\@RcIYbmHoLQdKN_fCJYbDRRXKZFVEZVXBXIJBXMdESW[CUYHUVQFQAqsEIMPYMSBUIIJKAIj聲GW[@[LGScDOGQOAGSYZ[HSd[HFNVD@XmJFG[OWiWKNqGKN_MAMO[HoM[BoRewo@Y^HpITSFENc`MVCdHNIVCLJFI`NFI聦P`@VZbaf[FFJG`O\\WRFA@PVPFPPH"],encodeOffsets:[[111973,19401]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/hei_long_jiang_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"2311",properties:{name:"榛戞渤甯�",cp:[127.1448,49.2957],childNum:6},geometry:{type:"Polygon",coordinates:["@@V聬脠脼@聨kx聵nX聨掳V脠a掳V@k么w聞b聜職聞JV職kXlVUx聞聞@聨lL@xkVV掳聝聞Vb聛xlVUnVxk@聝聞聝Kk聨Vb聞Il聫聞聬@掳kVl聞@聞聶l脝nkll@@V聛聞VX聝聨職@V聞虏bUl聝VlV聞U聞V脟n@nkJ職聨lkVb聹@聸x虏V@n掳VUnlKU聞n`@n掳bWLnVUblVUVVbknV`掳kk聨l@@V掳@nz聞J@X職xlWXb掳n@b聝臓lbXb聶bVb聝J@V職b聞a@聞聞@lbUb職Vmn聹@l職VmnIW聜聹@Wb脼@聞n@x掳@職聞蘑a茞茅蠚n聹聞聜l膶炉臓呕脠wm聧@聫么莽U聧聶mm拢Xy掳UV聛聶聸@w脠拢仟炉k玫脻莽U脩職聶U姆聜聝蘑kV脩聞聫脝聛職聫脼U掳n艓楼膶U膴x掳m掳娄偶V茞聧聹x掳聝脟拢@y聞U么n脼聝脝@脠膲掳K么娄職W聞kWU聴b脟禄@聶脠臅W脟脠拢扭U@聸n拢脝UUKVamanw脜聝m聛脻J炉k@J聝IkaVaUU脟bka脝脩kWm聧脻U脹聶聶脻@聶聝wnU卤聝@聫kkV聧炉KUk聝J聝录U娄聝職脜@贸w姆a姆暖V楼Ua贸@脜wm聝聝_kV聝w膲聜膲聧mmn_V禄聶a@U聶聝Vw姆贸聝聜U娄聛L谦茅贸X脟m艒L菗脟姆x脻k聝聝膲聶k聧makbU亩掳@W录聞聬@b聝職脠脝@臇聶L聞l@聞掳J炉聞m聬kl炉L脻聝卤L聴amJ@录聝聞聶V僻U贸聞聶UX聵膵b炉艅Vbk脝脻I@llx聞k掳V虏職V@Ux脼聨聵L@b聛聞@b聶`聝職脟zk聫贸k脻陇@聬臒聫炉聧W聝聶L膲脟聶Lmm聛n膵VkbUa聝L@聨炉聞聜bU掳臒L脻聜脻@"],encodeOffsets:[[127744,50102]]}},{type:"Feature",id:"2327",properties:{name:"澶у叴瀹夊箔鍦板尯",cp:[124.1016,52.2345],childNum:3},geometry:{type:"Polygon",coordinates:["@@聛k聸聝蠙m茝锚摹b聶聝炉@@w聝m脻@XV@Il聨l@聛bUxl聬炉VlV聶bV@ULVlUV聶_kx聶VVV聶脠脻J@聞炉職U聞聶lm聬炉x@x贸脪膲录m聞炉W聝x牛@Uz炉聝Wwn聫Uw钮聝@kn聧聝W聝拢贸V聝UUw臒y贸娄WI聴Vmm聶I@卤kw脟@@b聝@膲录贸@炉w贸@炉a贸录聸K脜聬聝aUwmWUw脜I@a聝K贸@Ua聶L聝a聝V脜w艒录UU脻l卤I聴陇Vx脟x@zkJmnn聜mbnz聶xl聨聝l炉膶kJl聬聶掳@聞kb聞聨mx@x聶@k锚mVn聨Wx么X職xU掳聞bWL贸J聛n脟W牡聞V娄聶聨聝UUb聶b聶脝摹K聶職k聛炉聶VU卤aXm膵脩Uw膲K摹聞k聞聶聨Vxk聞脟Kkb聝I聝聜脹XWl炉b聝聨聶X炉K聶b膴職聞聞脼V脝職n聨母虏lxU聨掳n掳貌脠b聜娄聴xVb聝聨聝@炉聞Vx@聬炉V姆脼膶l膴聬掳K母聨葮I掳陇膶I么聨貌禄屁n劝K乾娄么W艓脠屁wl聝nKVXmbX`lb職w聛kVW聜XX聨聞L掳a聞聫凭a膴拢n聝掳@掳楼艓z脼楼聜禄聹alw么k茠J聞a@聧亩K聞拢聞bU掳膴x藕V脠U臓楼屁聶VI@聫XU掳x掳Ln楼職w掳UmwXm脻聛V楼蘑聨掳@nU@m脝拢職炉lK聹職脺w@a脜U聜楼Ua脻IkmV聧虏聫聜nn@亩禄@Uk楼VK脼@脼脹@聫聝kVm蘑a@_聝J贸聧m聝菛炉脝w聴贸脟a@al聝Uw職w蘑艡職k@w脝WXUW聛X聝Wa聶m@_茠禄脟茅Xa母wVa@聧脻KkUWkX聫聜k職KXx聝n@l膴V@聧炉聧m炉n艡脝w職楼"],encodeOffsets:[[130084,52206]]}},{type:"Feature",id:"2301",properties:{name:"鍝堝皵婊ㄥ競",cp:[127.9688,45.368],childNum:11},geometry:{type:"Polygon",coordinates:["@@掳`聞_職JlU職聨@聞聞@V娄掳JU聬職聨nL么聫ln扭@@職脠aU脪Vbkbl陇聝zk掳脟V脹么掳IlVUV么U聞x脝U聞聨@b藕膧聞潞@娄職b@l虏聬聜UVl聹@掳脪臓x職nXx脝V么录脼@脺x虏K脼聧l聝V脩掳U劝么lw么@虏聝母聧掳聞lanV@聞職V艓Ull@b脠n脺m聞w蘑@la@脻脼b掳UXb聵l艓聧虏脝職k職V聜I@聨nJn聬臓聨掳kn聝脺b蘑wna@a聵k脼K茠膧聞a聜聶聹聜聜IVbU楼聛w臓wk么聵xnL聝膵V莽kaU聝卤IUm聛n摹W聞聛掳W么膲職al聝脼脜牡炉@聫W鹿X聫脻a聝b炉a卤X炉潞聛L聝aV聝m聧kL贸聝聝bka聝VUKVkkKV_@a脻ykk卤L@聝脜U@yV_聶aU楼贸w脟x聶@UkV聝n@l聝k脜lw職WVwUk膲mkklW@聛職a職bVwnWW聝聴wWL聶聶@U職聝聶U聛聝脟L職脟m聝聞聧@w聝J膲聧聝L聛楼@聝脻_@a炉y聞UWw炉聝炉U摹x炉a脻XVm聛aU拢贸卤聸炉nw聝a炉贸脜V聝Xman聶聞U聝聸lUXkWa@mkI聞聫聸聛臒a聝m聶Ikl脟U聶聞k膴聝聫聝zkK聝職聞lU聞艒默l職聶聞@聨nX掳@llUx殴虏mK膲VWwk@UbUK@bmVmI聴聧聝Vmw聛aWxXlW膶聛職m潞職脼脝bUxV@牡艅W脝膲LkWUb聝aWzkb膲`U聞卤Lkl艒wUV脻拢聶UW`Uwk@mk炉Vka玫VX@Wb聛L聶K@X僻潞Wz聛x聝K@lmX@bkVV脝k录Vbk@Vn"],encodeOffsets:[[128712,46604]]}},{type:"Feature",id:"2302",properties:{name:"榻愰綈鍝堝皵甯�",cp:[124.541,47.5818],childNum:11},geometry:{type:"Polygon",coordinates:["@@脼@脼聛臓KV炉聛a掳聝@聧聞KVbla膶U聜mnn職K膴脠職KX聞掳聨臓聬@聫脼拢么ll聬脠y聞聶職_@a聜聝@a聴K脻聧VwU@卤聶炉U聝lkw@k脼Jl脜Ua掳艃膶aW聴職V么聝屁V職U聞聝@禄nI聵b虏K脼聞掳Klkn聫掳聝炉I@聝聝k職K@臅脟脜聞聶@a聝聫X禄炉@V牡la聛每VamI@a脜脻啶壝铰兡娙桱聝么葋脜km茟脹聝@kx摹@@l聶aVk炉禄聝墨殴a聝k聝楼脜炉聶JUaW聧U@@w聶a聝禄聞KUk脝kUm聞Umw脹卤卤UUbU聨UX聝wW聫聛w脝脻k聶lkUanaWwnKl聶kal炉ka聶聧平a聸k脜x聶a炉@聶amb炉V聶l脟w脹膧聶V@x聶職m锚V脝聹VV聬聜a么V聞w脠x@職藢x聞娄V脼炉V職lmX@聜聝L@炉Ua炉LmV@聞聞掳X聞膵K聶V聶聬聝@U聝脠@聜楼@w聴聝摹IU聫聶km楼殴w聝娄炉lmn@掳kxVV@娄贸am聞n娄l@nx聶l膲V贸職mx聶n聶脪膲膧膴录聞镁聞職菙锚脼掳藢臓脼脪掳膧刹膧屁藕摔趣屁膴掳w@拢nymwnkUUV楼么脩Vmk聛脝mUUVa聶mVIkm么聞lxkX脼镁聝bl聞聝l@聬kV聞茊聝V聞xV@職录V脪@聬職聨U聨職nn脼聜J"],encodeOffsets:[[127744,50102]]}},{type:"Feature",id:"2310",properties:{name:"鐗′腹姹熷競",cp:[129.7815,44.7089],childNum:7},geometry:{type:"Polygon",coordinates:["@@U`lLUlVL聞Ulb聞a么聞lKn聨U聞聞b聜K掳鹿虏W掳b聞a脼b聵knyU聛lUkam艡虏L@m掳@l聧職m職虏n`么脜lK聞x聞聧脺KnxV@聞聬l@聹聝聸脜XyW_k@聶wm聶殴臅m聝X聧聶禄聜聝脹聶l聧掳聝么職脠聫聞禄職聴么聵么_WW@U聹al禄職wU@@w職UV聝職@V聝XI@w聜聫蘑蛻脼然聸aU_@mUkly@聛炉贸V禄XmWUXUWmn聛m楼nUUaWLk禄脝聫虏I脟a聶w脜a脻掳炉nUa卤a聶聝聶@聛娄玫脝臒聞@聞聶@脜b聸xU脺聛n脟艂lb炉娄聞么贸禄m聝聴@卤聝U聧k@Ww聝a炉xU聞V掳聝xXb脟聨脜聛UV聶聶聝K@鹿聝KUa券@艒脻聶X聝a聛l聶聝l脹kal脟U聧谦脟脜聞脟akb脻茊炉nl職炉聨@录聶VUx@x炉聬W录聶脝炉職m臇聞默炉膶聝Vk聜姆脜mx聹掳么虏V陇聜bUn脼W掳b蘑w掳V掳聞Xx聝V掳z@b脼`@聞聜娄聞K膴聨聞I@x聝聨n聞聶脠脠K聜聞職V聶聞@V職職XK聵xX聞mXUx聶a聶b@聜kXll膴nVlUx聶Xkxl脝k聞m@U聞Vl職@脠w么xV娄職bU`@z脝V@聞虏Kll脼z@b"],encodeOffsets:[[132672,46936]]}},{type:"Feature",id:"2312",properties:{name:"缁ュ寲甯�",cp:[126.7163,46.8018],childNum:10},geometry:{type:"Polygon",coordinates:["@@啶娒久喢濦bnJUb聜膧nbl聨膴職聞聞脼l母w菙脠艓K脠n么W乾锚聜KV楼聞聛母么Ux職聞@V職bU录m`nn膴聨膴聛聞xlU職mkaV每職L職w職@掳禄U聧mb聛Km脻聶U職wUmVknKUUl炉聝KU聶聝U脠聝聜聶nK@聧臓kX卤lX聞掳聞L@聫炉楼@wV_m聸牡炉Ww聶L炉聝Uk艒聝脟V聛U聶l聸w聴V贸聛卤聝炉a聝Vka掳wVk掳m脼炉纽艡脝聶l聶虏聶艓k聶U@聝mUkb炉聝姆聨卤聞贸@kx券贸炉VU脪k聞脻聨卤L脹w脻@贸禄脜UWw聶m臒w炉脩聸@Uk聛V卤聫@k聶a@楼聝鹿殴每@a聝聧脜V聝w贸VVUkU炉J脺贸脠Ul炉聞yk拢laUaV脩脟b@聶牛@km贸聬mK聶聧V聫炉IU楼聝@@聝聶聧kV聶I聝`@么聶录聞blU聞l聝聬聶b脠b@x脟Kk蘑沙a脜蓡艒@聝聨聛V聝K@z聶@@楼脝Kn聛脺@@a脹聫Uw聸w聛nU聜姆@聝_聝V掳聨@聞klV職職nULVV脼bVl@掳聶@nx聶n掳L脜職脝lV聞脠聝mU虏@Vm臓L聝x聞n炉xkW聝z職J聜wnLmbXbW掳聛職脝聜聶虏聶@聶聨職x@聬聛JVx聞L聜膧虏脝掳I炉潞聜脠@脪n脠"],encodeOffsets:[[128352,48421]]}},{type:"Feature",id:"2307",properties:{name:"浼婃槬甯�",cp:[129.1992,47.9608],childNum:3},geometry:{type:"Polygon",coordinates:["@@聝K聝炉kWW虏臒l@聨mL聛職脟聞聞VV職聞Lk掳VVmLUlVn聶x職Vn脼聜LnaV聨炉录聶@聶x聶KU膧lb聶n聞`n聞脝x么@VbU娄母虐母b么x脝@聞聶V楼聞禄聞IVl掳LU聨ll@聬虏聞mV聞x@職職脼脺職脼Vn聨lX脜脪lb脠aVVUblb聞J@I掳l脼In聜脝聞mxnbUbVL脜Vm陇@聹牛V脟陇X脠脟臇@職脠录聵aXV脺aXbW聨nz艓a職艡聞K么b職Ulw@炉na脝KnUU炉脺a@mkkVU膴m聞聶偶脻聜聛菛聨聜K聞聶掳L虏l脝I@聝炉楼膲茮Va脼k@脻Va臓lnUVw聝聧聹贸ma聝@聶w膲@聶a聶V聝x聛amX@a聝@Ua脜L聝aVW聝_nWm拢nWm_脜V炉聝m@m聞贸陇聛職脻娄聝炉脜almX拢聝聫聶聛VWU脜職w聶m脟@@IV聶聞WUw@a職I@聫聞k@w艓禄W聝聞聝聶脜Va聹K聸Ika@楼lUkUlw脜wVy脠wWU@a炉U掳m聴聧脟@U莽聝aVa炉mV禄脜w脻Ul聝Uk聶V@k聞mUk聜聫X拢職w掳@@脟聝a脻I聛聝聝am聶脹am聞炉l臒聧m聫mI@聧聛J聶U聶l卤脜艒聨聴kWa炉V脻a@脼kb摹@聝x脹n脟m@akk艒V艒l卤職k職脜職钮艢脻掳炉nUl炉xlb聞U掳b虏聞么聜聵U聹x職k聜V脠U艓聞Vl掳聞職KXx亩掳n聹U`@x掳娄@聬"],encodeOffsets:[[131637,48556]]}},{type:"Feature",id:"2308",properties:{name:"浣虫湪鏂競",cp:[133.0005,47.5763],childNum:7},geometry:{type:"Polygon",coordinates:["@@n職聞b聜聞脼J聞b@脠炉@聶xW陇聛聬Vl聝n@l職UVlk聞脼V脝xU录掳nUb聞bV猫脠@聵聨nIn聫聜@職聛蘑ml聧Uw掳聶偶聝聜VUn@lnL@V么b職w膴聜l聹聞J姆母蘑l聞w么w屁xV聧VU聝聫纽聧職x職L藕聶脠職掳`nn臓w艓J脼聬亩w么J聞聬@陇Xn脺聞母l職n掳录脠掳l聨聞聞U職聜b聞x職@聞l@脼脼脠m掳聞l么w職L掳录母聜掳脼虏n臓@么w脼`扭I聞V聞脪臓U聞聞@聞VJ母b脝聞虏@掳聨膴K職聹聞J亩a蘑聬劝@么楼掳n職陇聜b膶U職@Vx聞mUw@a脻聛牛聝脟聶姆聝@臅姆墨U炉虏聫@聛脝mV脩么炉X楼膵莽@聶膲禄U楼脻聛牛KWV脜kUV脻艓Um脟聧脻x炉a姆x脹U贸L炉a卤贸艒b炉聶聝脩脜聝V每聝_脜姆聞a@U聝K@wm@Van@UmmLVa聴@VImmXUW聝脻U脜聶聝KUw脻UU聝kV聝k@l炉X聸聜脜_聝J炉k聶Jm聞脜L聝a@楼U@炉V聝z炉@聝`@录職聬mx匹職艔K脹k@卤la脹@@Xm@聶聝@x平@W艓n職耍臅脜@@a脜@@n脻b脟聫炉@聝_U聸kUW聝kb聶w脻U@莽聞Wlw@anI聝炉ly聹X掳m掳V職a職脹職m@聛聞mVw脼K掳聝職XlaXmm_聝@U聝kw脻K@聝VI聶聝XmV禄聝I@a聝炉臒W聶b摹aU_炉JU炉摹聨聝聞膲聞k聞艒`卤n脻脝k聞聶b贸膴炉X聝聜蘑X聜mVn虏JV聞lbU猫聞膶mK聴wl贸臒x聜xV娄Ua聛J聸聛聛職聝b茟每脻L聴l@bmb摹x"],encodeOffsets:[[132615,47740]]}},{type:"Feature",id:"2303",properties:{name:"楦¤タ甯�",cp:[132.7917,45.7361],childNum:4},geometry:{type:"Polygon",coordinates:["@@聜L職KVVnk職bV職脠b聜聫虏U掳VnklVla脠L@anU掳脺mXV`聹n么L聝猫職xl聨職LX聞聵L虏a職VVm脠X@姆聵lnU聞脠l`脠鹿職@扭聨掳U@x聞KnnV聞mlnnUl聜lVnna艓wlV脼脪聞@n娄職LV聨掳l職wVk聞L職a脼聨l聞n脪聞職@xmL脼陇Wn聹录聜W脠LVVUxl脠么聞聞WVaU_VK職KXU脝bn聶聜n么K聞b脼w掳b脝WXam聛Vw聹K聵聶Uw炉WUk聞UlJUwV聧Ua聶@@kmy聛zm聸膲w@kVw職聫k聛聝聫W炉脜KU_Vm聝聝聶x聛U@aW@@聛kK@w聞a@K聝@@kVU聝aky掳_Vm聶kna炉K@聶聝L聶w摹聫k@@I脟贸X聶聝wVakmV@mwXUWan聝l膲聛@脟聶Uw聶K聝聝贸職軟菉脹聞m掳聛@聸w聴脜@聝卤b炉W聝鹿聞WVw殴臅炉kVm艒b炉w@a聝wmV聶UUb聶V聶IkaVw姆聫聶xk录聸b@VXX贸`贸聴聶聵聝录脟聬贸聶炉聞k聨脺職聛聞職录W聨n聞藕臇n職職xl@X`Wz聹脝"],encodeOffsets:[[133921,46716]]}},{type:"Feature",id:"2305",properties:{name:"鍙岄腑灞卞競",cp:[133.5938,46.7523],childNum:5},geometry:{type:"Polygon",coordinates:["@@聶U聝聝Uw贸聶m脩脼脩U脻脻Ukmm脜聝yV聛炉墨聞楼聝聧U每膲炉m脟kaWb脜X炉a脻x聝a贸L聛mm職脜aWV聶LULV`Ub聝X贸聝k脟VwUU脟K聛X聸禄Xm脻拢nK@w聝聶m脩k聝脻聧聶b聝KUl聶x炉kU聧聶Km楼聝@脻脩kU艒xmbUm聛kVkmmnkU聝mm聝L@w炉V牛聧聶@脟潞k_聝脟mV聴k@母Vx聜V脠掳lLkll職Ub艒w聝n聛VW录nlUx炉XmWUn脻@聶x脻U贸录炉J@LVbkJWnkb聶W炉聞脻LUx聝n@聜聶n聶脺聶b炉U炉n聸Wkz聞掳mJ@bkx聝X@猫脼V職xlaX聞lVV聹聞`掳@脠聬脼a@m脝@@b脝@摔臇m聶X艒凭@@w職聞n@@W脺@kb@虏脺l艕L痞聶nw聶聫@禄聞_掳@聞y掳UV@@娄聞b脝Kn聝職I掳l聞I脝`聹聛掳W@k聞llUV聞脼VVx聞L脝職脼VX聞WVnnUJ聵@UbnKVnm@Ubn@@x聞L@V聝b脝母聞`U膧脝聞聞脪掳職艓a虏么掳b么K脺V母w掳b脼w脠聨Vn脼艒VU脝lXU"],encodeOffsets:[[137577,48578]]}},{type:"Feature",id:"2306",properties:{name:"澶у簡甯�",cp:[124.7717,46.4282],childNum:5},geometry:{type:"Polygon",coordinates:["@@m脟@脩聛脟掳鹿炉J卤脜聛每聝KUw聜I@聫聶w職聧職@職卤脜聛聜聶X炉WanamK聛x聶I聞ylX掳w聝m聞w臒KUn卤@nV脟聞U聝脜k脝聶炉K職mmw職@@炉Uk脻aUUVK聶mU聶lk@聝炉聧聞U聞`母@V聛聜m聹xVx脺聬@b脹@m聜脜L@娄職@@y聞L聜U聞聧艓@脝蓞纱bl摹脠L@w脟a職a聞聫聝kkV聝a職禄@贸炉_脻J聶w脟a脜Xny聸U炉楼脜聞@w聶b脻a聶Lmm聛@@聬聝VU聨lb臒Vm職聶炉X聝m_聝`炉_Ux聶m聶L聶a炉b@m聝a贸娄脟k聶陇V聞@b贸JknVx聶VXx卤a聝LUbVxkLVl聛LWl聝@nX@V脜bWl脠n聝x聞bW職脜bm聨@x聹bml掳b聶聞XbW聞XVmnn`聝Lm職nbmb@職k@mwU@@職炉Jlbk掳lbk職mLXxmbVbkll職脜脼聜xX聬聞xVWV聧Va虏V脺虏nx聝VVn脜lVl聝L聞录職b@xV@X聨Vb職I脝掳聞娄聞l藕b聞默掳录Ul職b@k蘑@lw聞@茠脺ln葌脝聞贸葮I聞膲"],encodeOffsets:[[128352,48421]]}},{type:"Feature",id:"2304",properties:{name:"楣ゅ矖甯�",cp:[130.4407,47.7081],childNum:3},geometry:{type:"Polygon",coordinates:["@@脼楼聜聶么拢n聝n@掳聞脝Un`mXn陇mX聞`UX聞b脝KVb聞@@bnW聜b聞w職U職b膴@職x聞@nb職WV聧m聝聛_mm@聧贸禄Um聞脜聵WXk臓禄虏炉聜炉n姆職w艓@膴職艓K掳b母Un脩聵K膶娄臓聫脠b脝knJ職職脝U蘑V掳I職聨職V凭聧聝w聛aV聶聝聝k聧脟炉炉禄聶m姆k脹聝Wm@拢聝聫贸I牡x脻聫艒I臒xmm炉_脟聶殴職聶K聶w钮聨聞聬UVU聨僻w贸x聝x摹k母姆聝Ik聸膲聛聶x贸a@UmK@kVm聛U呕聞炉職Vxk聨摹n聶聜聛@m聬mJ炉n掳V@bXV脟xUz脝xkxlVkV@娄lb聹J聸LUb職脝聝聞X聞艒录@x聝l@聬聶J@bVx聝XU職@J脠@職n聶xV脝UX職聜聞聬W陇kn脝b聞掳"],encodeOffsets:[[132998,49478]]}},{type:"Feature",id:"2309",properties:{name:"涓冨彴娌冲競",cp:[131.2756,45.9558],childNum:2},geometry:{type:"Polygon",coordinates:["@@虏m艓_l聝膴聝聞聝蘑聧V掳掳IV`蘑b職a臓X聞掳@b聞JU录Wn職聞UJ@聞脼LlxV聞聞@n`lIUa@K掳I么禄脼V職w脼@VmnX掳WVwmkX禄聜U聞m艓xVak聶lkkK脟炉聛UUw脟WUn聶U卤b聴KW聝聶Kk聧聶w聞莽贸K聸mU_nW炉脹mV@b脟KkbkUml炉U卤V聛聬脟aU聶聶amlUU聶L聛K聸聞k@聝聫U@mw脹L聝聨聝wkL贸脝m_聶卤聶nk聨炉@@n卤Kn艢lbkVV聜mz聴lW聬X潞@聬亩掳"],encodeOffsets:[[133369,47228]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/he_bei_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"1308",properties:{name:"鎵垮痉甯�",cp:[117.5757,41.4075],childNum:11},geometry:{type:"Polygon",coordinates:["@@lLnlmxn聞聞IVVlUnb@VVxXJWL@L脼聨VnnV聞J聵_@wkm職K聞b聜x聞wXk聵WXX職Klb虏K@nVVVb聞L@WlU虏聞lKVnUJVz@VVb@l脜录mVUVnb么aVX@掳Ub@lWbX職@b@bVb掳x聞@Vx脠LVl職a脝@脼b虏k掳@lVU聨@Xn@VW聜LXb@陇VX職KVVVLnm掳_屁陇@aUIVa聞alkX聸掳k聞聶V@聞alwU聧Vy聞U@k贸聶掳聝na掳UVUUmU聧脝w@mkLVU聝WVI聞W職Lnn@xlVnK聞聛myU@聝U掳UXaV@U楼聝U@U脝聶@aVUkWU炉聝aU@WLUV@bkbmKULmKkUVUkmVIUwlWV聧虏聶Uml聛掳U@W聞LUwVm@UUK@_聝KUU脺aXw@聝VKUU@mVIUUlmnIVVVb脠VlKnbVK職@nI聵@nVnwVLVK聞K聞聞聵Vnb@aUIVW@In聶掳@lVnI職@lW蘑@掳UVL@b聞@VyUU聝a@w聛@WUnU@W脟炉聶K@聧UkkJWa脹bmk@mVa脼U@amk聛W聝@mXUKk每聝拢@a聞kl@Um掳UXwla聞al@nmlXnW掳znW@a聝wV聛聶@聝akb膲楼VmU@聝I聝V聝U聝J聛kUmWU聶K聛bmkUa聝KkUVU@KV@@klw聴聶WaU@km聝XV猫nbmlUU聝K聝X炉Jkb聝I@JmIUWU@聝Lml@XkJ@U聶k聝K@aVK聛wWa聴IWw聝m聛U聝@mU@J聛@Ua膵U聶aUU聝VkI卤聝k@UU聝@UbVVm@UV聛K聝L聝lkIWaULUW聝XUJU聞聝@WbUb@lkXUxm@@JVn@J@b聞n聝b@Vkx@b職LU聜脝n聞J職aVXnKVVmzX聜掳V@_lJXxWX聝K炉b脜amU聝@聛lUI聸b帽J@L脟KkI脟`kxWL@聞聝@@bUVUb炉xWKk聞脜聞VlULW@聝聨n娄Ul@I聶lmUUUVm@聛kW聝nkKma炉XUKWmnwVw脻L聛聞m聨聶VUbUVWb@Lnxm聞聛xV聨mbXx聸娄@聞nb@`聶聞聝V聝@kb聝LU聞mVUlkbVXk潞mnm@@xk娄職b蘑脺l職"],encodeOffsets:[[118868,42784]]}},{type:"Feature",id:"1307",properties:{name:"寮犲鍙e競",cp:[115.1477,40.8527],childNum:15},geometry:{type:"Polygon",coordinates:["@@k聶摹脹聶al楼@wn@nml鹿UWlaVknUV聝聞Kla聞@聞U職聝@_ma@聝聹楼WwnaU聧聜wn聝mw@KXaVUVa職Un聧mWUk掳聶l聝nUVUXWVw聶IWV贸KUI@W聛X聝xUU@mma@kUKWLkw@yk@聝aVkUU膵aUU@Wk@Unm@UVmL聛m卤IU聝kJ聶kW聝@a聞I@m@U聞聝V聝聞Ula聞@VXV聝XmVwnkWK聝KU_k@m楼聝mX_聶JmnU@km@U@KmU聶V聝U@U聶@Umk@@L聝mW@脹拢W聝ka@wk聶@a聝I@mmk@mUa@UmU聛聫聝I聝w聛W@aWU聝bU@kb脟@kw聝@makVUk聶U@a聝m@aU@mxkU聝b聝KUXU聝卤KXVWLUK@wkU@V聶@WXUa聛@WbUx聝J聛I聝聨@娄V猫VVX@卤锚炉KUI聝`炉UULVx@V聝@UK聝I聝VkLmVkKm職@nUJ脻bkIUJVX職VVxVbU聞VJ聞Un聶掳bV聞mlU掳聞XnK@Ul@lV脠VUX職x@W聞@VX職V聜K脼b聞n@VnbV聞m`聝U聛x聶kW@UVkL聶Km录@lUnUJVnV聞XV@Vm@@LV聞kl聝Ikl@V聝聬Wl聛聨ULWKUL@聬mJ聛聞@blbUVUlmzUJUxm@U聬Ub膵脺k@Ub@V職LVV聞娄么bV聨m職UKUkU@m聞聛聞@VlVn录WbUJ炉@@聞掳職nIll脠l聵@nX職WlL聹k聜J@bkxlxkxlXUlk聬lJ聝職XL@bW聞n`@n脝聨XxlL@xl@Xb聜L聹KlVlIXblVUbUJW聬@lX@VL@VV聨職X職J職w聞n@WnL掳K聞bVbl@VI@K聞聫@U@聛nmVmV@XUWI@aXm@聶VUUkWmn@lmUUk@mUmK@UnwV膲@聝聝mU_V@XJ么VVU職LVUn@職llUnJl_n@職ml@X聨lLlw虏LVJUL@VmbVb聛lVXmVnl職@扭娄聞nn@脺聨@b職l聞@@XV`聞Unb@VlLVb虏J聜Xn楼脝脩@楼脼@"],encodeOffsets:[[118868,42784]]}},{type:"Feature",id:"1306",properties:{name:"淇濆畾甯�",cp:[115.0488,39.0948],childNum:23},geometry:{type:"Polygon",coordinates:["@@VbXW職@@UlV@xVLXKWU虏LV聞VW聞L聞alVnwV@@b聞n@b職VVllUnb聞@lx脠@laV@聞aXV@b聜X聞x聞J聜聬nV@VVb@nnl@n聞J@bl職l@聞a職聝U_VWUwVU職kUm聶Ukb卤mVw聹U@聫VIUW@UWk聞@VU@ynL聞m@IV@聜bnK聞LVaVmnIlaXwV@@WVL掳@@xnX聞@V`V@VbUVVLVKnwnL@ll@@_V@VVna脝@聹KVX脝@n聝@w聝KmU聴聶Wm@聛km@k脺KXU@脩W卤nIUwV聝聞Kla@I掳wU卤k聧職kmm炉m聝_聝J聛n聝a聝w聛W@IVaUama@w聝U聛聝mU@mVw@aXk@mWa@拢km@a聝_kVmUnWW@炉b聝kUmk@聝聧V脟m@@kUU聶KUU聶@UVUamVUaWIkb@xU@@amUkK聝Vkam@@kVUkUWm聛KmUkLUb@xmJ聝聶U@UImV脹VmnUw聝J聝U@V聝X聛@UWm@Ub掳娄U職mxklmX@`ULU@@UW@@xkn炉@makV聶UmxUb聶掳聝lU職聝bUb聝nUJ聝UUV聝a聶LkbUU聸JUU聛@mUUU聝Jka聝@聶xUIWJ聝U聛n聝J@V聶z聝@kb@`@bln@l聶b聝聨@X@職@職聞@Xl聜bnbVb聞@聞聞VJlInl職bVw@U聞K聞聧l@lbnan@Vb聜J么Ln聜UzlV@l脠LVbVK@LVx聴VWXX`WxXz聜bV`UXV陇nx@聬聞bVlVnVlUL"],encodeOffsets:[[117304,40512]]}},{type:"Feature",id:"1302",properties:{name:"鍞愬北甯�",cp:[118.4766,39.6826],childNum:11},geometry:{type:"Polygon",coordinates:["@@聞@VVl@虏聞lJ聞UVV職b膶VVb聜@@InV聞@聜V聞nXx聵JXb聜xUL@b聞L職l@VlI@Wnk聞KV@VXnJ@I聞Jla掳I聞W聞LVVnkmaU莽聞WVk么a脺炉聞@nV掳wnJlaV@VUnUUaW聧炉wXWWwna@拢UaWKU炉聝炉@aVUkKUamUU聝n禄聜an聶聞IVwUWlk職@聞LlWVakU@K聞_l聝職b脼U掳@職y掳n聞@聞K脠kWW聶聛牛楼膲艒聝k摹WUw炉拢炉聝脟w牛w聝@kK@k聝楼脻w脜b脟陇脹聬钮V聶l聛聬W掳@母聶x@VVVULVLkl@V@X聝`Ub@Xm@UW聛b聝k@脝VbnLWV@lnXUbl聜@X炉lmU聶VkKWLkK@_UK@U@UmmUxmVXLWVULkU@`W@ULUK@XlJXzV@@xml@VU@UX@Kk@WbUK@Xn`聝XmJn職m職kxU聬VbUVlVVxUbV@nKlL聞kVK脼bVKXI掳KV職mVUIUKULVxVJVLkV@V聝@UbU@WUU@UbUK@b@n聝V@VkLmb@b"],encodeOffsets:[[120398,41159]]}},{type:"Feature",id:"1309",properties:{name:"娌у窞甯�",cp:[116.8286,38.2104],childNum:15},geometry:{type:"Polygon",coordinates:["@@@ln@U脠聞聨l@Vn聞l掳aX@mXnVlU聞`@bln@陇Xb@nWl@bUx@nnV聜聞聞V@xnbVbUb@J聜X聞x聞b聜mXa@k聞UVwlW聞k聞K么聧Vm@w聶kkK@kl禄脠聝m聶VKXkla掳@XVV@VI@ml@@Vn@VX@V@J聞@VxUzVV職職虏blVk娄@職臓@@禄職@VK@V脠LlK@XnJ@alIU聫l聧聞a聞VVb職@聞n@a聞U@WUIV@mUn@mKXml@lL@LnW職b@XV@@a聞VVb聞V聞@VV聞IVW脠b聵I脠禄茠菬lW職aVU脜U聝聝聶聧Um@kVU聶WVk聛aUwma贸U聝JUU炉脩U楼mk聶炉Ua聝K脜n脟y贸XmW脹X炉a膵b脹a聸J聴聛W聶脻聫U聛炉禄聝a贸贸聛Um聫@I聝職聛VVl@b聝LUJWLX@@x職XUxl陇V@V聞nVUV聞XVbV職@聨聞@@VVn聞掳V聨@聬牛U炉V聝Um聝聛UWV@mUX聝a聝bUKUwUa脟Kn聞聝Vk娄Wb@VnLmV@bkV@n聞xW`脜_UV聝V@b聝UklVX@VmlU聬聝x@VVL@x聴VWV聛L@VW@UUm@"],encodeOffsets:[[118485,39280]]}},{type:"Feature",id:"1301",properties:{name:"鐭冲搴勫競",cp:[114.4995,38.1006],childNum:19},geometry:{type:"Polygon",coordinates:["@@la聞@職y@U聞I聜m聞VXIVJ職w聞@lb聞IVVnV聜@VV聹IVVla職K聞bVU聞VVI聞mVa聞aV聶聞k職炉Vanw職VlUnb掳@lm@wX@@VV@VK@_nWlknwV聶炉楼Van@VX聜@聞W@U聞V聞IVxnm脺UnUVJV@聞職nI@wValKnV@k聜mU拢na@mVk掳K聞LVa@UU@U聝mknWWkXU@aWW聛@@km@UaU@@klK@UkaWaU聧namm@U聞a炉wW聫U@Uk聝L@聨Un@x聶V聶lUXVJUb聶LmU@aUWUkmKkLUUm@mW聴X聝a聝mmkkWU聛m@@U炉JUUm聶kU炉@mK膲x脻w脻楼聛L聝U贸聨mwkUUUWVkKm聶kKmLX聞lxVLVxXJ@nVJnz@VWL@`nX@職聝x聝@kVUUmJmIXx聞JV聞聝nUV聝@UVV聞@LU職聝`UXVV聝聞聝lXL@l@b@VmX@b聶xn掳聶U聝bkKWLXlW@@b聝K聛聞mKULmakLUlmb@職Xb@xmXU`V聬聞b@`lL聛x@nWVXL@聜掳聬WlXnlb聞KVK聞XVb@聵X@l_lJ@V@Xn聨聞I"],encodeOffsets:[[116562,39691]]}},{type:"Feature",id:"1305",properties:{name:"閭㈠彴甯�",cp:[114.8071,37.2821],childNum:18},geometry:{type:"Polygon",coordinates:["@@nKlLn職lLXUVVlVnx么聧聞V聜K脼娄脼x膴wnL掳@lVn職VV掳I@Vn@V聜lXnl聞n聞b聵WnXn@VVlKnLVlVX@bnV職KVaUIVW職k職U@wVm@聧炉@U楼VmU_掳l職K聞k聜w@LX聜Va聞U@w職U聝UUKlU贸W@UVU聹Ul聝掳K聞wlKU_na聞KVnlKkk職WWa@I聹JVa@IlJnU@聛聞KVUUmV聧laXUl@lm@kXW脻脩nk聝聶卤聶k聫@w臒聧聸@@U聛@mK膲LmV聛J@zmln聨WL聛U脻JU_聝@@職mJkXUVlbkl脻@脻a聶b炉@炉聧卤J脜w摹aUU@聝kU聶@mV聛I卤bUK聝L聶WUX聝Jka聝L贸KULWbUVkKmnk@@bmLU聨聝l@b聛@mnmJkUUL聝a聝bn聨mn@lVV@娄n@聞l@b聜znx@`Vz@b聞xnV@xl聞lbnKVx"],encodeOffsets:[[116764,38346]]}},{type:"Feature",id:"1304",properties:{name:"閭兏甯�",cp:[114.4775,36.535],childNum:18},geometry:{type:"Polygon",coordinates:["@@聞bVKlVnInm聜@@a聞kV聧nK@al@nmlLVUXaVK么L聞Klb聞IVW職X聞KVL虏a聜JnU職@lV@聞VV蘑b脝x虏I掳聨掳@職a脼b脼@lkkaVUlWnI@聶聞@V`脼I聜VXKm聧nk@y聜InU膴K聝脟kUUamUUk聝聝@aU@U聶聝k@WUwVkVJVkkw掳a@聫聞聛mK@UX@VV聞LVW@w職wVa@炉X聧m@@lUIWaU@UWkXWmU@UwmUkKmn@lkV聝虏聶V聝aULUVmJUUUw聝Lma@聶UmkIUm聸L聴mV職mx@b聶LUamK脜L@VmbkU炉K脻amzkJUb卤Vkb聶L@lU@WIkJ聝zkKmK聝nUa聛lWkkKW@@nkbk@WW炉XUVUJ@XlJ@X聝@XlWLkU聝`VUnaWa聛聞UV@UVI聝aUxUUmV聝K@I@W聛@脟聞U@@U@b聝聜@nmK聛Xmx聶@UxkVWUX聞@`VLlL@`聶zX聜脻b@b聜聞@VUVkIUJVz掳KVlnLlKnL聞xlLVVUVlXUJ@nn聜聞I@mVUlbn@@聨m聞@bV聞nV"],encodeOffsets:[[116528,37885]]}},{type:"Feature",id:"1303",properties:{name:"绉︾殗宀涘競",cp:[119.2126,40.0232],childNum:5},geometry:{type:"Polygon",coordinates:["@@lnV@Xb聵職kx@lU@@LUVlV聞LVbnl聜a職LXVVn聜l聞I聞V聞U聞JV@Un膴娄la聞b職@nJ掳Um聝V@聞wn@VU聞JVI掳bnWlXnWVLVK虏b聜akk聞聫lI@aUaV聝UwVUUalaVwnUVak楼職X@W聜k聹LV脫m聛聞mUK@_lW職@n_UK@al脜@聫臒脜茟艃脻聧m聝@脩聴牛脟l聝L聝@炉m聶z炉@脻V聶ak聞聝`@LlVUbkX聝K聶@klVXUx聝Jm職聛bm录V聞nVVblLUV@b聞掳V掳XLVb@陇mbXxWX掳xX聨VbmVUVU@kbmI炉xmU聝@脹掳贸bUl"],encodeOffsets:[[121411,41254]]}},{type:"Feature",id:"1311",properties:{name:"琛℃按甯�",cp:[115.8838,37.7161],childNum:11},geometry:{type:"Polygon",coordinates:["@@聞KVlV@X聬掳x聝b@VnnmbV聨Xblb@VkL@lV@Vbn@@l聜@XX@bWVXlmXnlV聞V@@VUb聝K炉LUl@nmbV陇聛n@l聜LXnlVUV@ln@lb聞UlLnV@bV@@wlaXJVbnUVbVU職@VV職LVVn@VVX@@U聜KXU聵U@wUK@U聞wV聫nk@UUWlk聞V@a聞UVU脝`X_聝w@mlU@anUmK@UXal楼聞Um聝脠LVbVxVL聞a聞bVW@nXU聜Vn聞聞V掳U扭V@聫U聧聝炉Um@U聝@@聧U聶Ua聝WVUmUU聝U@k拢Vw聶W@wW@XK聝IUa@wU@@al@UK@_mKXK聝bUU@aVKm聛職@Xm聝聝卤@kb脟akL臒聧VaUw@a@聝mkUJ聝k@ykw@拢聝聫WX@lknk@WVkbU聨VnUV聝L@聜mVkI@JUb聸I@JXb聶XllkLUm聝LmbV`kL聝x炉Lk聞聸VUV@V么XkVVL聞V聶V@x聝VUbW聛@K聛x聝l聶L炉kV`UnV娄掳@"],encodeOffsets:[[118024,38549]]}},{type:"Feature",id:"1310",properties:{name:"寤婂潑甯�",cp:[116.521,39.0509],childNum:9},geometry:{type:"MultiPolygon",coordinates:[["@@la聞U職聫職@職UnL@VWbklWxnIVV聞V@X聞JlbUl職XVbn@@K聞mV@@X掳WVInJmn虏@lmVbnL@amKV_kwlmX@@LVamaXa聝aVU@UnJVanLlUkaW@UaVakK@IlKUU@an@ln@alKU聝kIVa@a@klaUKUV@UkUV炉職KV聝V@kUm聝U@@a炉ImJUU@VV@UL@U聝@@WXUWa@Ukwm聶@聝X@@w@al@@aVIUmVUUUVWUknK@I@聶l楼kU卤a聶聶UUVyUw聝@@I@UUWm@@Uk@@nUJU@WU炉@kbWlULn職脟聞k录@llL職l@xUn贸聨聝L聝lkXUx聝V@lWb聞I聞`掳nnn聶ll聨V虏炉x@Jkb聝LU聞VxmJX虏@脪WV脹L@lln@聜Xn聵職nV聞L"],["@@@kX@Vala聛a@KWI@UXW@聧WanaUIW@UaUK姆聨k_W@UVUKU職@b聝@UamxVXnJUbWVXLVbn@W掳kb@U@W贸录mIU录k`V聞@bVbl@聞lX@lU么VlU聹IV`lX聞Vn@lUlVn@聞l@UVa聝IUWl拢Um聶聛VWU@@UUKlUUUn聝VL@K職UnLVWUa聸@聶U"]],encodeOffsets:[[[119037,40467]],[[119970,40776]]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/he_nan_geo",[],function(){
+return{type:"FeatureCollection",features:[{type:"Feature",id:"4113",properties:{name:"鍗楅槼甯�",cp:[112.4011,33.0359],childNum:12},geometry:{type:"Polygon",coordinates:["@@lKl@nVV@聞bn聞@VVnm聜nL聜LXx@職聞聜VLlKVU聞IXW脺@膶聶lbl@XU膴UlwnW聞L脼w聜m@聧脼UVmnVl@nX聜JXLm@VnnJla聞I@VkxVb聞@V聨ln聞J@knKVn聞@掳aVanal@XK掳b聞聧聜@職炉VJXI職聞VK@al@nV聞k聜@nK聞a聜b聞@XL@blVVKVLXK聞@VaVI掳mVaX@V_@a@yUkVw聞V職IVa職J掳聶@anIlaV@nKnX脝m@wUUV卤UUW聧UKnaWwXUWm脜聛炉V聝am@kakIm聝UK聝禄lan@VXXa聵W@聛聛聫@UlUUa@a@UlwU聝V@Xal@@anIVaUK@V聶XmwVmUmV聧聞LXl聜@nalLnal@聞職nKlkV@@UnJ聜UXnl@nVl娄V@@VnJ@nUVVVVIn@Va聞J脝聴n@@K@m聞k聝a@kmWVaUI@a@聶k@@aUL@mmaVIUKUV聝@@IU@m聝UmmL@K@U聛UUU@mW@@nU@臒禄mVmbk@klW@UXnV@L聝Jm聞聶lUnUJ聶UUUW聝聝@UnkK聝xmL聛a@聧聝@@lUU聶bmUVWk@@nkUmam@UakJU_聝Vm@脜l脟LUVmVUwUL聝KU@聝k@U聝VUlU@@U聝@UaUUWa脜聨聝z聛J聝aWLkl聶b@bmL@聞kK聝a聛bW聨UV聝_聛@mV@b炉JmXUbUK聶陇脟LUU@b@JkLWmkUWIkJ@VmX@JUbVXU`炉聬VV炉blK@LXKl聞UV@Um@@Uk@kxW聨kb聝L@KkbmL@聜UXmaU@@l@x@blX@xUJ@bULUlUL脟@@V職nU`W@@n脹录U@@VmKUkm@VVX@@x脟職@bUbVb@VX@@x聜LUb@l聝录XLlbUlVVU聞Ub@n"],encodeOffsets:[[113671,34364]]}},{type:"Feature",id:"4115",properties:{name:"淇¢槼甯�",cp:[114.8291,32.0197],childNum:9},geometry:{type:"Polygon",coordinates:["@@VllInJlknJVkVU@mX聧lU脼`VnV聶VU@U@y聞@nXlKV聞nJVkXKWaXI聜b@yVk聞VUkVwn@聜K@聧nW@k聞KlUXVVUlbnUV`n@V_V@llX@@V聞b@bV@@nlVUb炉聜WLnbmb@聨nLnK聵b聞U聞bVWnLlaX@VVUX@Vln@`kL@ll@VXVJ脠IVl@X脼J掳Una聞LlylU@UXKlnn@lanLWWnbVI@KXKVL@LVWVL@UVKUIVWX@@X脝J@In`@聛lJVI@a聞W職脹nK@UlK@UU@VK聞nlm聞nXal聞UllLUbVV職knJ@nV@Vm@a聞聬l@@xnV聞聞lJVUU@聶w@a聝k聞@XW@_mWnUl艁UmVKV聛@聫V聧XwW禄X聝WaUwnkWUk聫V聧U聝U@@聧@WlaUkka聝IWVkm炉xmIUm聝LUV聝aUI贸禄m@聛mmwXk@a聸mk炉炉聧l聶@w聝mkLmmU@UbkUWJ@XUb聝J@b@l@zn脝mK@Xk@Ub@lm@聝I@akmVKUUVUkU@U卤JUbk聝@IWmkx聝a@UUV聶UWVkIUaW@Ul聛LWn@VkJ聝I@VkK@L@bmK聝聬kJmUUaUKWXk录VxnJ@聞V@@VULV录聝@@UkaUlWL@U@W@IkKmL@KULUWULWKUXUJmI聝b聴K聝聨聝虏UW聶nWKUUkLU聝mUUam@UU聶@聝mUL@xkV@聞VV@bmV@Vk@mwkU聝VUx@聬mbX聜脟nVb聞聜UL炉職W聨nUVLVb@xnlWnU@UVU聬VVUbVVlVkn@llVUXUWUXVbUJ@bmLUJnb@nVK@bl@@職@bVJUbnX@l聞b"],encodeOffsets:[[116551,33385]]}},{type:"Feature",id:"4103",properties:{name:"娲涢槼甯�",cp:[112.0605,34.3158],childNum:11},geometry:{type:"Polygon",coordinates:["@@VVUllLXl@LWn@J聛聞@b聝KUVmn聛L@`VblLnbV@聞b@JmL@LnV@VV@炉聞VJVnXL聵@nm@a脼@聜a聞k@m聞I職mVbXL聜ynL職k掳@掳aVJnUV@UVVXk@WJ@VXLlUnJVnn聝掳U@禄掳U聞wl@職b聞WmUX聝脝@VLXU@m@U聞a@I聸mkb聶a@聧naWW@_@WXUV@@U聜聝虏@聞K@I卤U@楼kKWL贸L聛l聝a@拢Um@kWKXU@mlLXUVKUU卤J炉_@`UL炉聧Wmk@Wa聞kk聝lUn聝VUVaU聧@KUU@mmK@_聝a@KX@VaUIm卤聶k聞aVKVUkw聶@ka聝聝W@kbkL卤UUa聝K@UUKVak拢聝@UmmL@l聝IkmU聧聝@Ualw@U聝JkbmIUmn@WK聛ImWk@mUUn脻V@聨聛n脻x聝KmXkx膲VWVk@ka膵職脹@WX聝JUV@z聛聨m聞VWnbUbVb職LlUn聨聜lU脪n聬WV聴VWnk@@Vm@kxm@Un聶l@Ll@@V@職Xn聝職kJV聞職V@nlVXx聵U@l聞n@a職@VLnW膴娄nx職@lbVKXLl@脼聝VL聝聞XJl@XXl`lIXVl@Xl聜XUV職K聞wV@lanx聞zUbVJ@VVX@b"],encodeOffsets:[[114683,35551]]}},{type:"Feature",id:"4117",properties:{name:"椹婚┈搴楀競",cp:[114.1589,32.9041],childNum:10},geometry:{type:"Polygon",coordinates:["@@n@聞b掳U脝聜XnVlnL脺@VL聹m@n聵@na@J聞聞m@k聞@lV職VxXX@聞V`lLV聞XVV@VV脼LVV掳聞虏@la職bnxV@@b聞L職mlm聞_VWnIWUna@l職L職bnV掳聝VL@K職V聞LVUVaVLXK@m脝Xna@wVm聞a聜@Xw@KlL@a聞@Va@wU聛kaW聫nIV聝la@Kn@V聧n@VUl@nKVn聞J@LnK@aVkVUUW聝@VakUVanI聜聫虏X聜W@UUU掳KnUVLl@XaVK@a職U@KUI@W@_lm@KkLUKV_U聝@禄@UVJ@XV@@mVL@K@U@Kk@VwUUm@kmWL@VkVkz聝Kmb炉V脻I@WUk脟JUIUWk@@klK@_km@UVWUUW@kbmKUX聝a聝V聴amLmK@聧namaXK掳聛VakU@mU@@a聝a@UW@kkU@U`m@U_mVkaUVWUkV聝L@lmX@聨聛Lm@UxVl聝UUl@z聛aWJXbWLUlmIU聝kLmW聝@@z@VUVU職Um脻_kVW聨@nUVUlmIklmIkJUk聝l@n@Lm@脜聵聝IUbm@UJUUVU@mmI@UU@k楼mUk@Wm聛VmI@VU@klmL聝聶k@mbkKmb聛@Wk聝KU聨VnUnnx職W@UVLUbmJ@bk@WbU@V聞kx@V@bVbkV@V聜聬@聜聴XWbUWm@kb聞录VLn聞lJlb"],encodeOffsets:[[115920,33863]]}},{type:"Feature",id:"4116",properties:{name:"鍛ㄥ彛甯�",cp:[114.873,33.6951],childNum:10},geometry:{type:"Polygon",coordinates:["@@l職nb@xlJ@UnLlKXUlJl_聞KnV@xVL@bkbVVU猫@職Wb@聞Ubm職聞聨k職V職mbX聞VJnUl@聞a掳@@b聞LVb聝lXx聵InmnLVw聜anJ脝w虏IlmnXVl掳VVb脠aVb聞@lkn@VWnLlUVm脼UUkl聝k聝VkUaVaVaUw聶K@kkaVWmw聞_聞聜l@nU聞VVb@b聞aV@VV@zXJl@@kl@職l聹k掳WVn脝bnbU職VJ聞I職@VKVm@k聶K@_kK@a@aU@@wW@@k@aUW@IUWVUnLlUlVXKVwmk@W@聛聴VWa聞楼@k@聫l聧n聝UI脟KUaU@聝UUVmIUV聶Uk楼聝Vma@炉k@Wanwm聝聞@@聛n@@聫m@UIV聝kUVamUXW聝aV聶U_聶@聝mUVUImW@aUI膲K@VmI聶b@lU@@n聶J聝kU聶@K聝IUmmLk@UVm@U聨m@@LkbU聞mJX聬lbV聜@xUb聝@@bkK@LWx聛@聝bUn@xmb脜W@nWLUKUbUV聝K聶U@LUK炉聞mU@職VV@xULU聨VL@bU`W職Uz炉aUamKUa聝@@xkX@x"],encodeOffsets:[[116832,34527]]}},{type:"Feature",id:"4114",properties:{name:"鍟嗕笜甯�",cp:[115.741,34.2828],childNum:8},geometry:{type:"Polygon",coordinates:["@@XVl@lL脠聝聞@VkV@V禄Uan聝W聧X@Va脝脟么@脠aVX@xVJXU脼U聜aVL母bXKl聞V@職m掳Vn_ny聵XX禄mUk楼lK@a聞_@y職InaVKVa掳_@WXI@聝@K聜VnIlbnaV@聞l聞@聜a@_聛w@聝lwUKm聶Xa@UV@職禄V聝職w@kUKVUUm@w卤VUXUKUwmJUU聝@聛km@@卤mXkmUI聶@mm聶KUwkbWakLWaUIkJm聨聝X@l聛@@VUX@JWbX@VbULWb聝lUVULknlV@bVJk聞mb炉KknWmk@@nmVkx聶@聝VmU炉KUnUL聶@聝JUIV聶ma脜aUm炉X聸l聶kk@@lk@WI@yUUU@聝b@aUa聝UmVk@聝聛聝`nxUXlb@l職LVxUbUbVbUll聞k聞Vl脻VUnkVmKUXm@kl聝@聝nUx@xnx聝n@`VX@V虏x@V@b@聞Wl@zU`V聬UVVb聞L@V聝b聶W@bkXllkLWV@V聞@VV脠wlV聹@@X聵K虏Llb聞Wnn脝L@VnJWn"],encodeOffsets:[[118024,35680]]}},{type:"Feature",id:"4112",properties:{name:"涓夐棬宄″競",cp:[110.8301,34.3158],childNum:6},geometry:{type:"Polygon",coordinates:["@@WKUmUI掳聝U@@UmU@KnK@I聝aU@makKUa@_聜KnmVU聞L@a聜聝@IXm@KWkkKVkUU@aUW@UUIVa聝ymwkbU@聝x聶LVU聛WWkk@WUkJk_WWk@WI聞聝UK脻聞k@WKULka聶@mw膲楼mXUK聶@@b聝m@k聴VWwkU@m聶UU聝lI聞聶Wm@聶@Uk@@K職kVmn@lwn@@Ul@Xm聵UXUm聫V脩聛km聧kV聶KUaVamaUXn聝聜聧@ykLUK聝聛@聶Ww聛KmKn聛Um@Um聝聝aU@mUk@kL@l聝x膵xUnkVmnXxWb@`kzWJ@V聴LmVUn聶lmU聛L@lW@Ub@V職XUb職`VLUbUJ@nmnUlUUm@@bUJlnU聞職聜U@lxkb聝@@X聝JUn聝@kb炉VVVmlXXlJlzn@VlkVW聬@bkK聶bm職k聨UbVb聞l聝XVx職K脠n職w脼l膴Kl聬職VnKlwX@lL@xlUnVn聞@職l@lmX@脝聞脠b掳录脠wVJlx聞_掳x職a職l職U脠xlUnbVxnL@lll職bm聞n@nb聜@@V聞L@V聞@@聞VL職JnIVVlKnV聞_"],encodeOffsets:[[114661,35911]]}},{type:"Feature",id:"4107",properties:{name:"鏂颁埂甯�",cp:[114.2029,35.3595],childNum:9},geometry:{type:"Polygon",coordinates:["@@XVlL聞K掳bUblbUb職l@nX@W聞XVVKVk職@@聨mb@聞Ubn聞W`kL聞L聝V@VVLnKlVXIlV職@@a聞@l拢nWl聝k聧Va聞@掳bnUlLVlna聜bnUVUXKlU@聝@聫lk@a聞I掳y聞@么kUU@w職m么職nkWakml聶UkVmkUlmUUm@nkUKWanamU聞LXW@U聜VnUln聞`l聞聹blL掳KXV@聬臓J@L掳聞職J職UVw聞anK@UUImm聝聧kK@炉卤U聛m@IVmUmm脜n聧WaUK炉aUk聞w@W卤k聛V聝x聶U聶V聝w聝n脜JUIWa脻J贸I聴bm`脻b脜ImJUI炉楼炉@mU炉U聝JmnUV贸Ukl卤V@zXl聞bWVXL@bm聞m潞聛@@XmJUXU掳llk聞@nWJk@U聞@娄U`m聬炉聨Wx"],encodeOffsets:[[116100,36349]]}},{type:"Feature",id:"4104",properties:{name:"骞抽《灞卞競",cp:[112.9724,33.739],childNum:8},geometry:{type:"Polygon",coordinates:["@@l陇UbVL@V聞LVb虏VlKlaX@聞聞lb職@lxUVUL聝b職ln虏VJUbW@@L聞b@`nL@nVV@LV聨UbUVm聞kVl聞聝lXbl@Xn掳聨VK@_掳`虏IVVV@VUVJnInaWK@U職@聞K聞L脝@nmlXXWVUUw@klKVa@knyVkVanI聜JXUl@XbVUl@@a職a@mXk聜bnK@UlK@UUUVaXaWmkUm楼n聴WmXaWa聹kl@Vm脼b聞KVL@aVI@mUwVm聞聛@K脜聧m茅UL聶KVaUk@kUK@U聵WXI@VlKXU聜@VVnInVV@VLlK@UU聝kKU_@聝WWUwU聶@kl聝n@聝聝@Imb聴@@m聸nUK脹@mKUkWVXxmbVLX聨VVU虏VV@x脜nmWmLU@kbmJ@b炉職聶IUb聶J聝UUxVl@z@bU`W@Ub炉nUJUb聝@WLUKULkU@aWK聝@聛a聝bmL聛@聝lmUk@@bUL聶聝WJUI聶掳聛@聝聨炉aWLk@mbUb炉b"],encodeOffsets:[[114942,34527]]}},{type:"Feature",id:"4101",properties:{name:"閮戝窞甯�",cp:[113.4668,34.6234],childNum:8},geometry:{type:"Polygon",coordinates:["@@@nWVUK脜@W聞nVnI聜聨V@聹k脝聜職wV@職nn@lx脼ln聬么J聵zXJl@nalU膶Vl聝l@虏Ulk么VVUnm聞I掳VnV掳@掳娄VJnI脝J脼an_VmU聧@ama聶@kU聵楼kaUklw@聫UIV楼kVUI@聝mmU脜mU聛l聝wVU@amU聴JWbUakV聝聴V茅炉Im`聝k聴@聝wVWmLkU炉聨聝XkWmLmx聛@UU聝bm@@x聶J@L聛bW@UUVWUkVK聝@ka聶IUamKUkkmmL聝UkJUVWXkWmn脜@聝K聝L聶@@VXLmbmJUIUVU@ULWVkK@nWVXL@lVn@陇聞b聜k么KXKlL@娄虏V@J聝L卤@聛聞@VU@WV@X@`XXmb@聨職bla聹n@J聝b@V"],encodeOffsets:[[115617,35584]]}},{type:"Feature",id:"4105",properties:{name:"瀹夐槼甯�",cp:[114.5325,36.0022],childNum:6},geometry:{type:"Polygon",coordinates:["@@掳kVaV楼k聧VmUkWk聛WVkVKUwkkmKUU@a聞wWWX聛WakKWkXmla職IVmX楼聝U@a聞@W聧nK@k聝聝聶V聶I炉聝@K臒I@聫WU炉LkK聸ak聝聝_kmmV聛U@VWX聝KnVmbXbVLmln@VVknlVUnVlk職lnXbmlmlXbln脠lWbn@@n職K@V聞L聞bVV掳VVz職ln職@V聶x聝I聶b聶聨U@WLUa炉V聶UkW玫@炉kk聧mxk录l聜聞XUlVbVLnlULmU@l聝LkVUl聝X@xW@炉mU聝@UmIUW聶L@aXa聵kU聶炉an聝Wk掳@k聶kKmmUIWa聛ambUkkKmV炉a聝@Ubl聨k聞mXk陇聝@@b聶@UbULWVnb@lUVVnm職nVVU聞J@bWXX@WJkL@blVU掳UV@XlWnXUbW@UVkV職VWbnLUJWLUK@Lnn@blVU聜聞nUblxVUVJXU聞a聵@Ub聞LnUVV@mVIVVn@UbV@聜聫XbmbUV聞_lVXUWanJVI@WkI@WVIVU掳WXXl@la@mX@lLXl聜kVb聹m聜X聞ylIXJV@@k職Kla虏UVa聞IVy脼b掳LlVna@U脝KnLVb職K@anwU聶"],encodeOffsets:[[117676,36917]]}},{type:"Feature",id:"4102",properties:{name:"寮�灏佸競",cp:[114.5764,34.6124],childNum:6},geometry:{type:"Polygon",coordinates:["@@lUVbXa聵InV@bUV聞x聜knVV脝nn@聞VJlUU娄VJ@聬kxVllb聴娄lV職@nb@bV聨Un聵a么J脼IXbVJ脝I聞m聞x職U職V聞w聜U虏l@X聝xVl掳bVLXb聜`XklUnmVblL聹@lm職x掳LVK@UXIVa職WlL@Uk聝掳Kk聧VaVUXmmI@U脜Kmm聝Xka卤K聴L@W聸@kU脟xUU聝@@UXUlKkklW@a職X聞a@U聝KUaVUU聫V_@yXk@聝@a@U卤w@UUW@_聞mmw@wVw聞mUa脟bUa炉UUkmWkn卤J脜xmI聛bUxmKmn聴JWw聞kUa聝K@a炉@聝bk@mVUIW聝聴Lmwm@Ua聛@WJUb@LUl聶@UUmLUbWJ@V聛L@VmX聛WWzUJU锚聞聵"],encodeOffsets:[[116641,35280]]}},{type:"Feature",id:"4108",properties:{name:"鐒︿綔甯�",cp:[112.8406,35.1508],childNum:8},geometry:{type:"Polygon",coordinates:["@@V@VL@x@bX聨WV@Xk職職lU聨WX@J聞@nI@KlL聞K職UVaV@聹JlL@KUk@K脼L聜l虏_聜@nWlL聞UVV職@nLWVUJVn@anV@a聞w脼UVLVx聞b聞@lW聞@lbXn聜Vn@@录職L掳m職KVn@bnl@nVK@blb聞L聞W聞U@VWLXV@nlKn@lVVbXw掳聧n聫V_@楼V聝l@XI@ml聝kkV炉VWnI@W聜@n鹿n聝@aWKXU聝aWk@yk@k聞膵UkVmbk@WI聴y贸Im聫脻kkwm@聶mU@聶x脜聛聸lU@聛聧mJ聝X聶ak@聝x炉V@录炉Vm聞UmmIkVWK@UXIl@UWVUU@mVUI炉b炉@聶lmK聛zWKUa聶n聝J@n聝l聛b脻@@b"],encodeOffsets:[[114728,35888]]}},{type:"Feature",id:"4110",properties:{name:"璁告槍甯�",cp:[113.6975,34.0466],childNum:6},geometry:{type:"Polygon",coordinates:["@@lI聞VnKlnVlnLVb職Jlb聞@ULVlUXVVX@聜a@K職I@wn@聞aVV聜@nwnKlX聞W掳聧lVnKUX聞x聵@聞ln_掳JVIXy聜XnW@U聜K@UXIVanKVV職@Vk@KVaXI聜@Vbn@nx聵KnaU聶l聶聝聧n聶Va@聝Xa@聶V莽UUla@aUK@wmU聝Lk`kIWVkLmK@V@XUl聝n@JXV@nm聞聶bU聜贸I聝mUa卤@@脩贸VUUk@U聛lKVU@akWVUU聧lUUaUK@UUKWbUk脜J@XWa聝@XbmJ@nUJ@bUK聝L脻aUnk@聸lXbWbXnm聵n娄lVXnWbUbVV@VkL@VmL聛aWl@n聶b@bk@UVWak@WV聛ImJUbUlmz@lUbkL@lVx"],encodeOffsets:[[115797,35089]]}},{type:"Feature",id:"4109",properties:{name:"婵槼甯�",cp:[115.1917,35.799],childNum:6},geometry:{type:"Polygon",coordinates:["@@lLXbW聜XX聝x@bVVnLllVxULUl聜XXlVlUnl聨U娄Ub炉l聵n聹K@V聜bVb@職XbVL聞KVxVVnIla職b聞a聞楼lU@wnalLnVVlVLXnlWVXn@@lVI@WnU@m聝脜W楼聴aW_k@WwXy@km聝@wU聧聞m職聞職娄職lUxVLV@Uw職J掳x職@VX聞@Vb聞@職`VX@VX@ll職IVbnJlI聞b職V聞l聞聬聵J@聧聛聝m脩炉L贸a@聝聝KUa聞k聶聝聶X聝@UK@wU@聝lWUU脻炉ImW炉a聝LUKU@聝k聝禄聛k@m聝w聝a@UnKWI@聝UU@akVWK聴k@a卤聝聛b贸UWKXUmk聶KU聫mL聝bUx聞聞@lmLX聨聝@@b聞VW娄Un聶JkbWnXl"],encodeOffsets:[[117642,36501]]}},{type:"Feature",id:"4111",properties:{name:"婕渤甯�",cp:[113.8733,33.6951],childNum:3},geometry:{type:"Polygon",coordinates:["@@@L聝聜UnVxnIWa聞@Xb@W脝IVlXaVL@VVLVbkVV聨UVlX@bUVkLV聜l@VV么U@脪虏@Vb聞n么JV聛職an聝@mWU@I聞mVk@WkI@wmak聶@wlW@w聞@VbnLVb掳bVyX聶V_@aUKV聧VK@wUU@聶聶a聶K@kmbXVmJUX聝`kn聶n聝K@aU@mw聶akb卤@炉聝UU脻KUUU@WU@VkLUKU@mUmJUU聛@WVkL@UWJ聴X@VVL@lVlUb職LVKn锚脝聨"],encodeOffsets:[[116348,34431]]}},{type:"Feature",id:"4106",properties:{name:"楣ゅ甯�",cp:[114.3787,35.744],childNum:3},geometry:{type:"Polygon",coordinates:["@@贸聶聶n@xVV贸l聝@炉z聝J@bkl@聬@聞kVWLUVmVXbVJnnlLl職炉@Xlm聞掳bV職聴lWb@b職KVXnJ@VV聞掳nX@@w聞WVklU聞K@knVVKmkUKUaVk聝Wk聛l禄nwl聨掳l枚@lX職V掳UVbXKV@職聧職a聞J職w@Um聶聶kUy炉UUU聝a聝K@U聶L@mm@Xa脟kkmWank"],encodeOffsets:[[117158,36338]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/hu_bei_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"4228",properties:{name:"鎭╂柦鍦熷鏃忚嫍鏃忚嚜娌诲窞",cp:[109.5007,30.2563],childNum:8},geometry:{type:"Polygon",coordinates:["@@VK聜bX@lbUVnL掳聞@VlVnUl@VUX@聞aV聝maX聝la職UUU@wmaVUn@V聝nmmk@m聶U@kna聶aU楼Vam聶X_@W聝U聶聧mW@_k聝VaVKnL聜l聹@V聛Val@k楼@kUW@kUKVUlUV脩聛W@k脟aU禄Va聛聧lmkUVUVak聶@a聝V炉_@W聜UkmVUlU@a聹聝聝alI@akkVWUaW聧XUWw聹WVb脝@聞聬聞l聞alIVK@U聶m@聧UU聞W@al聛虏a聜炉Ua臒脟m@聝bkk@w聝@@W聶aULmx聝IU聜聶聬聝b炉@U`UX聶JmL炉a聝K聛X聸WUL@aknmK聶@聛aWUXaWm@I@U脜mVU@聶聶aUV@b聶V聝I@WkU聸bXkm@VakwUKULWKX聧mJ@XUK@聝mL@KUwVaUI@KU@mmn聶mXka@禄V@@UUa聝w炉yVk@聝UUVmmk脹脠U@mWUnmx聞職mlUbV娄Ul聛bWVUL@UU聝聶IUm脟KV聞VbUVVxkn聶LUxV`VX@職聞聞kJVVUXWaUVVlUnmKUbkI@WULmK@L@LVl聝LnmUIWV@akn聝`VXUJ聛IVlUVVbUX@陇mbnLm聜m@UXk@mm@Uka聝楼@kV@@KkU@aUKWbkLWVkIV聨k@UbVlmX@bU@@mmL@bn`@Ln@llVLVk聞@XVVU@`VXU職聜录k`V聬ULka@VllVIn陇V聬U@@bl脺聝bkx@bkL聸職kK聝n@bn@@b@JUnV`UnVbVKlVXUlbn@掳聝Vx聞@@b聞nVbUllVn@V聴VK@UnW@UVU職lnk聜V脠脼職xVb聞VVI聞xVa脝@@aka@UVaU@@a聞k@Wl@nbVI脝聨@Jk@聞L@VlXnlla@聧VJnw@UmwXU@aVK掳脪n聬llnLlb聞xnKVaV@l娄虏nVl@llL聞x@XVV聹聜亩聬職@na職x@U@al聶XUVa聜L脠镁V掳XxWXkK@職mLnlUb@b聜xnLVlVVkb@聬UJ@xWXX職"],encodeOffsets:[[112816,32052]]}},{type:"Feature",id:"4203",properties:{name:"鍗佸牥甯�",cp:[110.5115,32.3877],childNum:9},geometry:{type:"MultiPolygon",coordinates:[["@@@a@w@kV@nbVK@聝nUla聞@la聞脜l@nlVakwWX@WkL職aVm職wV聧@anK@UlIXmWkk@@mmLkWlwk@U_mKXwWK@U炉K@UU@聝VUa聶km聝kI聶yUUVUmanU@mlwk聝@_mWXa聝UWU聛@脟聝@U@aUaVwUKUI聝VkK@UWIX聝maV@k@Vm@Unwl聝Uamk@V@聞ULUamxUJkU@I聝`WkkK炉XWak@@W@IUV聶LWJkXka脟VUK聝@kUmbmUU聝UK聝bkKWUkI@聝kK脻@@a聝Um禄nI@m聝U@UnWV_@aUmWbkLUl炉b@a聸kk聫k@WkkJm_k@UV卤@聛J@b聸nU@@W脻IUJVbXL@nlJkx@聞Wn@VkJmb聴LmU聝`VbUL@xVn聞@XV聝聨@聞mVVnnJVbU聞聝x@聞V聞nVUbVV聝x@職n聞聶bUK@b聝聞@b聝J聞職m虏聞VU聜lbXzVJV聞聞JVbn@@Xmb@V@bVJ脠@聜Vnkn@掳aVVV@職X聞KnalLVm職UnnVKVlnLWlXX聞Klk掳職聶職X聨W職kLUVVV@nU@ml炉nmbk@W`脜@mb聴LWm炉U聝xn锚V猫k@mb聝V聝nUK聶@kKmXk@@JUI聸l脹LllnbVnlJ@LULnl脝aVLn聨V@nkVJ聞@lk么@虏b脝m掳w聞L聞WV@VX職K職VXI@W掳聛脝V職K聞b掳U聞JVIVV聞娄XKVL@l聜InaV脻nUl@@bX@聜聶nmVL@lVL聞lVLVUnbVW@xXn聵b聹U掳陇V@職聶聞a@kWKUUn@VlnL@UV@脺禄@mX@V_聝aka脼@VK聜炉@kkW"],["@@mUkUUm@nllVKXXVK"]],encodeOffsets:[[[113918,33739]],[[113817,32811]]]}},{type:"Feature",id:"4205",properties:{name:"瀹滄槍甯�",cp:[111.1707,30.7617],childNum:9},geometry:{type:"Polygon",coordinates:["@@掳`聞U@bl職UbUVlVkn聜聨UbV录脠b@l聜XU脪kVUVVL@lVX@ll娄k@UbU聜聸@聛kmKULUbl聞@`nX職聨聞V@XW`n職UbV娄職bmb@l職V@nnlmnU聞m@UVnb@xVV聶VkbW聞nb聜Vn聬Va@an@UaVU聜JXnWlXX@l聞娄@聨lK脝X聞bX聜V@VV聞@掳炉掳xXx聜XV@nV掳UVWU_VWXkmaV聧nWVkn@lln@lb@UVLXWlnX@聵aXUmaVK@UXU聞U@WVI聜W聞XXV聜U@楼VK聹@聜U脼聨聞聞聜a虏LlV@kV@UanKma@UVUnK@UVLXyVL聜knJ@UV@@UXKWUXaV@Vb@mVLnKW聛聞m@aUUm@@UkK@Ula聞LXKWaXI@alKlmUk@wVKXL@m@聛WWn聧@UVa@K@wna@aW_XWWkXbVW@k@U炉WWwka@UUaVIV聝kU@m卤@U@@wVKka職_@VV@XUVwU楼聜聧職yUkm@聛V卤脠UKk禄脟L聛聞m聵mLk@贸拢kmWw聝m@U聞Ik聫WKXwWU@聝kL聝wkbma聝bkK@V聝LkmWIUKkUU聝脟I谦J聶X脜JULV聨脟LUV聝@UK聶@kI@WVI@聧Ua聝WmXVVUL聛`卤k脜LmKk聝聝k聝聫脜@Ua聸XXxWVX聨VbUXll@bkJ聞b聸聞@bkVUVln聛V@X"],encodeOffsets:[[112906,30961]]}},{type:"Feature",id:"4206",properties:{name:"瑗勬▕甯�",cp:[111.9397,31.9263],childNum:7},geometry:{type:"Polygon",coordinates:["@@@Xl@Xb掳WlLXl聞_@JlVVInwVbVK@聝@UnlVbk聞mx@VUnl@U@nbW聞XJ@VlL聞UVJVLUxVb@b@V脠聞聜@XV聞VWbnX@`l聞kx@nmVnbUVVV職zlJn聞職lVb聞UV@@V掳L@VXLWxnLV`l@kxlXnK@nl@XlWn聞`Xnl@@UVa@V脠K職拢VLVanW掳U@UVU聞@聞`VIn聧聜mV@聞nV@Xa@aVW@U職alkXK職blI聞y脝聧XnlJXbl@@VV@nklU@`聞nVK聞LVKVb@V聞U@U脠K聞UVK職IlUX@V`lIVbn@nblVVmV@@XXJ職UVV@knKVn@`@X聜VnK聞wlLVmUUU@聝U@aXL@WlU@UUW@UmU@KkLWaXkWmXUWm@U@聝nk@UmK@U@U聛aU聫VUUKV_@al@namWUI@KU聛聝K@aV聧@WUI聝b聝楼ULUJkIm聶聝K@U@K聶V@U@a@UkU@K@wVaUwlU@mU聝ULmKUkV@@anIWmUK@I炉聞mKkl@LUb卤lUakLmk聛@WwUK脻VUIm`炉n@Uk@makJU_@聝聝Jma炉ImwUVkK聝b聶aU脜@wWaU@VU@mXIVmmUkJkwm@mI聛lUKWzUK@VmLUV@VnbmLVbU@@lkU卤K聛b聝聝脻聧聛V聸@UL@娄聛VWU聝W聛XUJ@X聝VWV@VULnbWV聴bW@kmWXUK@Vkam@kkm@UlmXU聨nbWlUXV`UX炉VmUU@Ul@Lll@nnJ@L聝n聛Wmbm職@b聛聬聶`聝職","@@kUUm@nllVKXXVKmU"],encodeOffsets:[[113423,32597],[113794,32800]]}},{type:"Feature",id:"4211",properties:{name:"榛勫唸甯�",cp:[115.2686,30.6628],childNum:10},geometry:{type:"Polygon",coordinates:["@@VVUnWVXnVJ@聞聜U@V@VX聨V@@IVJU聬n聨@V@L@KlIVlVanLVbnVlI聞聝n@@a@Kl@@I聞JlI@aXU@KlK聞kVblJXU聞VlU@V聞bVkVKXn@VlxVa虏I@VlVUxln@b職JXklaVWnLm脜@y@k@a職I@W@aXIlVVaV@nnlKnLVW@IUa@a@K聞UVVlI@wXKVV@IU聝la聞@lUXwW聝n聝nalLlxXLll掳@XwVKVaXIl聶nb聵@nln@Va@U@k掳聝Um脝UVaXI聞JV炉脟U聛mmkU@Wa聛Kmak聛Vm@U@aVKkkmKkVmIk脟掳拢@aUUVaVVnKlkX聧聜mk聝@聝lUVaX@@Um@聛聧聜聶UmlUXV聞UVU@w聜K虏楼Ua@I@UV聶l@U聶V卤UIU脟掳禄VkUmVI@a@U聶m聶聧膲聶炉V卤b殴臇臒a脟L炉lm聨kX@聜贸膧@聨m職脻锚聛b卤WkL聝n@xXx@聨@b@V@LW@Ub聝l牛X聝`kxWnX么炉娄脝V@L@JVL聝xkK@V@bkz掳l聜lXz@J聞UlVla@XUV聞bVKXnW`XXV@laVV@V聞X@V炉x聝x@xULVbUJ@n@LU@VmmakbUK@b聶IWWUUVkUmkLm@VJkb@nUJ聝聛@`V@kX聶aUaVmmLkUmJ@Uk@U聞卤lkzmJUb@b聞VUxVXU陇聝L@J聝X@VlL@JkLUVU@mnUl聞娄@V"],encodeOffsets:[[117181,32063]]}},{type:"Feature",id:"4210",properties:{name:"鑽嗗窞甯�",cp:[113.291,30.0092],childNum:7},geometry:{type:"Polygon",coordinates:["@@脠JV聞lVVLXJln聞K@UlL聞anbla聞xlK@聞XVWxXLl聬聝J@V聞nXxln么陇l@nKn聴聜聝脠Kl录VL虏脟聜Un@Vl聶z聛聨V娄UxWVU@@U聶`lbUL@xV@虏@@nlVU聞UJVb@VlbXx掳XVWX_VKUwVKVa@UVKUUVk@KnblaUU@wnWl@UX@l脝@@a聞IVmUk聞聶職xVJ聞U聞b脺聶@Uk@WWnk@聧V聝聞聶Vm@I@m@Un@m聶XUlVlUnJ@knJVU掳@@a脝LX@聝llL@娄nJV@XblLVa虏U@UlW職@VX@`@LV@@bXJlIXml_lJ聹U掳b聞K脝LnVVl聜@枚聴V聝聜mXaVI蘑llUlVnLVlX@@b聜a職nnx職V聞L聜bn@掳聫脝聧Xmmk膲聝炉w卤聶聛聶聶U膵@聛K脻脜僻艃脻莽聶聶Uw炉聝m聧聶炉k@W聜kV@炉UIUJW录kb聶U聝wk@W`@娄U么nb@V脝職l脠@VU@聛聝聝拢UWWnU脝UnmJkU脟拢VWUI@aUU@WkI@U聝a@JW@k拢kaWVUKmnkK聝b聶kkVWb聴VmUU聫mwU@kk聸@UakUUa@V@nlx@lUb卤lUbnnWLUyk@Uam聹UK聶@mlk@Wb@VXL@x@xWI@a炉聨炉V@bVn@LkKmL@`聛XmKmVU@@bkL@V卤bk@Ua聝a聶L聶KUV聝I聝聞聶W聶X聛amVVbUK@b@Lm@UWkxULWVUnm@UlUX"],encodeOffsets:[[113918,30764]]}},{type:"Feature",id:"4208",properties:{name:"鑽嗛棬甯�",cp:[112.6758,30.9979],childNum:4},geometry:{type:"Polygon",coordinates:["@@n@lxlInVUnWJ@nUVV@Xb@xV脝職b聞alLVUnx掳Jnb聞I@聞V`lInbl@@V掳mn_VJ脼UVLXx聜@nllKVb虏kVa@KlknL掳聝@JVLXnmJ@bU@VlnLVKV聞@nX@lU職KVaXal@VKn聧@楼掳L@Unw聵bna職V@KV@VUX@lVXI@KW@@IXWV@laVL聞聧聞KlaXUVVnkVWV@lwXblIXWVkVm職aU拢VaUmVIkU@y@聛WakKUamU@UUK@kmK@w聛@@聧mK@L聝V炉聶U@WwkmUL聝amV聛VUU@聝聝I聝bUKUa聶km聝m@UakLmxU@U脪WlUL牛每mwkIUm@a聜k脠blW@U聛V聝UUk@JW@XkWWUkUKUIlw@aUWknWUUmnIW聝聶aUwVa脹職聝a聝VUI聶w聝職VlUn聝J@b脜@@kVWk@mX@xVVkbma@LUlVVUL@VUbULVxULW`UX@V@lUXWaXlWXX`@bmb@x@LUb@Vm聨XX@聜@nWKUL@xVlknkL@bWJXbWL聝Kkb@VlL@Vn@VV@b聝nX聜mLUK@nUaU@WbXVWL@VU@@V"],encodeOffsets:[[114548,31984]]}},{type:"Feature",id:"4212",properties:{name:"鍜稿畞甯�",cp:[114.2578,29.6631],childNum:6},geometry:{type:"Polygon",coordinates:["@@脼脝聜L膶@職V聜職虏職掳x膴聞nlWn脜聨炉聬m@聛a聝K@聞聞掳聜n聞J職wn聶VIUa脝J職脜@w職wV聶XW@aV_l@虏V掳l膴wlaXL職wlUkalVVaX@lVXI@a聵UXJ@U掳UU楼VIVKV聫k聧lanLVa@V脠IV聫V@nk@aVa@mV_@a聞K@klKUa@UnKWk聛@@lU@@UW@@nUWUwmaVIX聝聞lV@mLXblJ@kV@kk@KU@W聝kUWV脜wkLmW@UmL@lUL聶KUL聝ak@maUU脻wUJ聝I聛b聸KUU聝@聛職聶aWK@kUWVkUwVw聛@聶m脻@聶I@wkW@a聸w聛w@LU楼聶k聝J@nVJ聝IkVVnkV聸UkyUIUl@xWUkaW@@掳kz聞聨WxkLUWmzk@@bVVV職聞b@聜@XlV聹@Vl@bVbUn聶`Wn聴@Wb聞VVI@`聞LVbXLV`mnU@@l聝L@LU聨聝ak@聝Lk@WbUJn娄@lVb@xVb@n"],encodeOffsets:[[116303,30567]]}},{type:"Feature",id:"4213",properties:{name:"闅忓窞甯�",cp:[113.4338,31.8768],childNum:2},geometry:{type:"Polygon",coordinates:["@@聞@n聬職`lw聞k聞聝聞UmUVWX@lk聞@VanU臓录V@@mX@@nVV聜VXLmJVLnK@b聞聬V@@J聞@VUn@VaVUUUVWVLV@@Kk_@alm聛aVkUU@WV聝VUVLXmmk@wUaUKUV@聧掳聶@kmaUa脠mW聛聞mU聝VklaX@lVnxl@@UnaUk@聝VUVwVK聞n職@VVn@VbVJUknUmmVmk_Vw聞KUUm聶Vak楼@UVKVIkW@UmIVWkIV聝kmmLkwmVU聝@L聝UU@VVXL@JmLUbmK@UUKm聬kKUUmVUaUn脟lk聧炉聶mJUnmLUaUJUaWL@UkJ聶聬聝U聝@聝aklkU@炉@KWLUmUUWVkb聝L聝聨UKkbU@WX@JX@@LWJkUW@UVU@@L聶Umb聴amx@V炉K@娄m聨ULk@WbUb聶LkVW@kVVxUb@x@LlV@V@b@V職U@L@V聞Ln職lJVIVK聞娄聞aVJ@XU聨@b聞LV聜@LVJnXmbk@@bU`VLUVV聬聜b@V@VnL@Vml@聞@VXnWVXnWlXblK@LnV@VVX@VkV@XWK@b聞VV@VV"],encodeOffsets:[[115830,33154]]}},{type:"Feature",id:"4209",properties:{name:"瀛濇劅甯�",cp:[113.9502,31.1188],childNum:7},geometry:{type:"Polygon",coordinates:["@@VnXK@L@掳lVlk聞b聞@聞V職聫lI@VXKVbVIVbnKVmnI掳職l聨脠kVmVbnUVVlLn聫VL@VnLVanK@IWKUUV@聞V@KV聞nUlxnKlnU聞lJUXnJ@VlXUJUL@Vl娄Ubn職VV聝LUxl`UnnnmVVln聬VK聞b職mVX@a掳脻掳L職aXJV@VUnKVXVK@LnKlLUbVVX@VwVJVn聞@@UU楼V@@UUK@聝maU聛V聫UkkJ@L@K@Um聧V聫UI@JU@W聧@U@U聛V@聝UIWmXUVmUU脟@UVmI聛lmnmakK@akaW@UwVUkKV聧nUlKVwk聧聶聝V聫U_WKUkVW@UXaWkUa@w@聫VU@聧XaW卤@Ikb聝K聝b炉L@W聝XkW聝@UakL@UV@UmVUmL@UXWVL@a職U聝聫VUUUVU@yUU聝IUa@wUKWVU@k聝聶聶Wk炉UkwVK聝LUx聶K@nVxUlUUWV聛Umw@w聝UUy聛XWlX娄WbUV@聞U聜@blbUVVbXX聝l@lVL@bk@lxkVVnVx聶娄聝`UnkL@V@L@聨聜@@xnL@lVL@VnVVblLXb@聜@zlVUJVnUbV陇聶bUnUlWXkJWakxU@UXml"],encodeOffsets:[[116033,32091]]}},{type:"Feature",id:"4201",properties:{name:"姝︽眽甯�",cp:[114.3896,30.6628],childNum:1},geometry:{type:"Polygon",coordinates:["@@nbnm聜knJVU脠@@U聝楼VknmV@VUlK@IkK@U聞W@I聞KV拢UWVw聝U@aVanIly虏kV聝l@@VnIlVnKUnVb職blWU@@_聞聜VI@mlaUIn@lKVnUlVVXX職J@aVLlanbUnV@@K@mVIUaVK@w聞w掳w@U聝W@UUUkbU@WWX_WmUL聝aVU@WkbkU聝V@IWy聛k炉kly@a@UlL聞wUK@I@K脜UW@脜聝卤U聛m@wl楼ka聝@@_Vw@姆聝a@akw@聝kKW拢X聫VUVwVwUaU@VUU聶聶xWKkb膲x炉k卤Uk@U`@bWXU職聶x@x聶脝脜IVbUJm職聶x聝I聛m聝炉@聝聶Umx聶nUVVbnJV聞@L聝@@聨kV@bVn聝@UVULlx掳VXl職職l聞V@XUVL@xVb聞JVV@zUVVVUV聞聬聶V@bUKWX@VnKUVVnU@@VlKVb聞@lX聞W@X掳K聞a聞Lla@JX虏Wb@聨UV@聬@xVbXlWb@VUXVlXLV`U聬職聞l聨UxkLmVU聨lLUVVxX@lb@blL"],encodeOffsets:[[117e3,32097]]}},{type:"Feature",id:"4202",properties:{name:"榛勭煶甯�",cp:[115.0159,29.9213],childNum:3},geometry:{type:"Polygon",coordinates:["@@V職UVV@VbUx聞aWU聹blUVmnKlX@bXJVIlVUxVVVIU聜聛zlx炉職@聜VbnL@x聜x@UVaXK聞b聵@Xk聜WU_Vm虏klW聞XVK聞聨l@nXV@@w聞mlK虏X聜a脼茅n聶@聧么每@聛lWn聧掳kUKmmU脩聶聧Umm@聝wkImWU@UakL@bVLUV膵@聶bUK@alIXKWK@聶nXnKmkU聫Vw聝@炉b@L聞lUL卤W聶n@KULUaW@kL@l聝L@bU`@nUb@bmlU@U聬脟J@UUbmKkbl聨U聬ULUJV娄炉V@VWI聴V@bWJkUW@UbkUlbkV"],encodeOffsets:[[117282,30685]]}},{type:"Feature",id:"429021",properties:{name:"绁炲啘鏋舵灄鍖�",cp:[110.4565,31.5802],childNum:1},geometry:{type:"Polygon",coordinates:["@@n`lIXll@l聬聹l@b掳aVklKXaVn@bU`mX@V聞V@nmJn录聞V@b脼@lL@聞lJXVlL聞aVLV聞nVnalV聞@VL脠UlblWXI職KVU@J聞聶職_聜聫@an聶na聜X聞m@KmI@mkk@KVk聛WWw炉w炉掳聝@UUU@W聛聝a脜WkL@聧聝楼@kWWXkWm聛IUVVbm@@bUbm聫聛UU聞聝bW@UVk@mVkU@U炉聝mKVUkaW@聛aUL聝脝Vb聝b@V脜@Un@V聝LWl炉L職聞"],encodeOffsets:[[112624,32266]]}},{type:"Feature",id:"429006",properties:{name:"澶╅棬甯�",cp:[113.0273,30.6409],childNum:1},geometry:{type:"Polygon",coordinates:["@@@K@UlKVm聞_職楼UwUmlUkwl@@aUK@k聞kWWUaVUka@aV聛@聝VUXaW楼Xk@WWIklm@脜xmI聶V脻Ukxka聝聞@bWJ聛aUL@聞W@聶l炉UULU聜聝b聝kV聶Ua炉bm陇Un脟UkmU職Ux聵b@VkX脟a聛l@bVnlJnx扭膧VKXkV脩V@nwlKVbn@n聞職lVbVL聞a聞J@聞VV聜UnU聞bVKlnXxV@掳職聞U@KnL"],encodeOffsets:[[116056,31636]]}},{type:"Feature",id:"429004",properties:{name:"浠欐甯�",cp:[113.3789,30.3003],childNum:1},geometry:{type:"Polygon",coordinates:["@@VK掳V職kX@@聝VK聜bXI@a聞聝lblw脼V職UnJ脝wn@lkXJ@X聜WVz聞V@xnx聜VXUVVVkUw@m職LVw聞KVU聞@Um@alU@聧聞@@KU聝mIUaVU職mnwmw聶m聛b@aW@UkmKkUkV摹kUJWb聛nU聞玫聵聛@UkmU脜K聝L炉a聸VkIk`WnkJ聝聬@xVLUVVbUbk@WlXbm聞VxnxUblbUV聶@@VUV@nVL"],encodeOffsets:[[115662,31259]]}},{type:"Feature",id:"429005",properties:{name:"娼滄睙甯�",cp:[112.7637,30.3607],childNum:1},geometry:{type:"Polygon",coordinates:["@@UbVx職bX聞mJVnXVlmVX@bkxVJVLVlXXWlX@@IVl聞V聜U聴aVwV聶ln脠VVmn拢掳aVbU職聞l聞aV聛UK@mVU@U職@VUkaVamwUwn聝WaXkl@VaUaVUUK@w聞聫WI@aU@@K@_UW聶@kX@V卤VUbkKWaU@mI@楼kK聞kW@脜K@b炉@UVmI@lmIkVkUWVn職m@@V@n@JUn聝職U聞@聨mlXXl@@V"],encodeOffsets:[[115234,31118]]}},{type:"Feature",id:"4207",properties:{name:"閯傚窞甯�",cp:[114.7302,30.4102],childNum:1},geometry:{type:"Polygon",coordinates:["@@掳楼W贸Xmlw聞_扭W聞kVaX@@K@U@a@聧WwU@mWk@聝聧UL聝WkX卤lUnV`聛XWl聴@聝aWLUb@V聛w@wmKUa@聛掳聶kw聜yV聛UJUUVwkUUJWI@akWmLUnkV聸aXV聝bUxUVW聬X陇lL@聞lx@b聞b@母Ux@`聞@lbk娄@x聜n虏V脝聞X@"],encodeOffsets:[[117541,31349]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/hu_nan_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"4312",properties:{name:"鎬�鍖栧競",cp:[109.9512,27.4438],childNum:12},geometry:{type:"Polygon",coordinates:["@@@n聞聜@b@XnJ@k掳x@aVUnl聜UXnV@@VnJW聬UJV聞nIVV掳聨UbVVVL@聨虏LU聧Va掳V@aV@nm聜UXblLXWVXVmVLVK@an_聞`@X@l掳聞VlXXW`nX@Jmn@b聞@nV@Lm`聞bUb聜n@VUVl@nIVbUl聝V@LkJUnVV@xVblVUbU@聝zUKU@mx@xUnn@@WV@lbUb@職nVWXX聜V@VIV@VUnJ@VUz@JWbXllI@VXVVL@聨Vn@聞聞Wlb@聬聞聨l聞XVlL聞aV@VJ@XX`聞kVwVl@bk聞聜bU聨lVXIl聝nLVa聞mVwV@@nV@XaVJVbX@lwV@n聞@nV@VWnIVVU聨脝@Xx聜a@I聞UUKmk@mV聝聞IXmWU職聶VJnUVU@anaVwk聶聸U@UXa@W聶@m_@a炉@@K@UV聝聞bnK@blIlbXa@WW_n@V聝U@炉bmy聝Uk聛UJ脟脜@W聛U@kWK脜w聝聧nm掳KVkmankVWnXVWV@U聝聝wXkV@m聝聞UlLna聝聫VaX@VUn@VnVK@xlnXW職U@a聶@@klak聶Vw聶mUaV@聶wmI脹`m聴@mVUXmlIX聝V聫聜I@K@aU@UaV_UK@wkUmmUKWX聛聨mVkU聝L@m聝聝U_nK聜聶@aVU@Ukak禄@U聶聶@ymU聝聞炉聶聝UU聝VKkam@聶nka@聝mwkLWb炉mka聝_VaVKU聝聶IUw@聫kKm聛U@WK@Un聝maULkU@wUalWV鹿U@@WUI@WU@聜_@W@U聛@m聝U@Wb聛bUK@Um@@UmbUw聛WWkk@WU聞a@anUUwlWUwUU@wlJVUnnV@@mnI@m聜K@U@w聞a@wUm@_m聝VUUaVUk聝聝聫聝_k膵Uk聶VWL聛聝@mlU@kn楼W@Uw聛UWV@V脻U@lXLWVUbVLXlVIl聜knmU@VUJk@@聞聝@聶聧kVmwmVkxU@@XmVUb@xnKVLl@VxUxkIU`@bWVXX@JWL@bkb聞陇@bmUUU炉K聝kmb@V聶VU聞VVn@@聞Vb@`ln聹xmb聞lUn聜bk聞@xU聞mV@bmW聛bU聬V@VJ聞Il@nVUb聜K@nn@VbnJVIlJVkXJ@X@lmx@bnnWVXJWXU@UlU@m聧k@@llb掳x聞IUbnJ@VWbXVmI@JVX@bk聜@bWL@JUXUK@U@U聝`n@@Xm@XVW@@nX@@`聝ImxU@@JUI@K聝LmK@U脜UUV@VW@聶炉kUU@UamVUUmJ@n聞xmL聛K聝kmJkwkKm_mKXU@a聝U@b@Wk@ma@zUJVUmbUlU@聶xnXlWlXXblK聞陇V@@nUVVLkV職聞l@Xb@VVK聜nXKVx@znW@X聜@@lVK@X@JXbWbnn@JUamLVVXIVxnK@aWUX@聵x@VnI@WlI@anV聞IVxk聜l@lbXX職xVVVJVInbV@@ln娄ml@XXVWbkJWb","@@XLVKVXVKUa@UUUmV@l"],encodeOffsets:[[112050,28384],[112174,27394]]}},{type:"Feature",id:"4311",properties:{name:"姘稿窞甯�",cp:[111.709,25.752],childNum:10},geometry:{type:"Polygon",coordinates:["@@lxUXV聜lXUVnlV蘑聞JVbUXVJV@XUW炉聞聫VIUK@klW@Un@聞nl@V`XUVL@l@職Vx@聞XXW`UnUb職xUlVnU職V聞lb@VnJ職UVVVInJlU職VnwVklKnw聞LVJV職V@nIV@nbVa@KVVVUUa聞KV_nVVJ@_VW聞nV@n楼lI@an聝l楼X_VKlwVlULUVVV職@職U@VXL聵聝@IUmn@VU@wmKXUWU@m虏職l@VIXWWk聛WUkWlkIVamUXamUnmWUU@@Un聶lK@聧XJl@k聛V聫Uk@mWKXkl@@aVU@UVWUUVa聞In`VUVLnw@U@K@U聝聝@w@UVmUU聝聶掳K@UnV@bV@Xk@KVm@amk聞aU拢VWUUmUUwm`UbULka聸KXU@kVmU聶@aV_UWVIn@聵y聞XXK@klmV聧聞聫V_kWVUn@WUU@U聝maU@聶wnwWanUmmXk聝am@UakLmK@b聶xUUUU@Km楼Va聝炉@聝k聧UaVUlm聞UU聧@mUU脟mUk聶聧Uy聝b聶bUa聶XUWWb脜LmL@V聶a聛L@WWXUKmmk聧@a@UUK聶XW楼kU@V聝UkxmVkUWbUJn聬VJ@nVJXzWxk聨@lVbUX@VVL@`mbUn職聨Un聶VV录k@Ulm@mw聛L聝b@lmLUK@U聛am聧聝W聛k聝K@拢Ua@聝聸UkJkUmbVlkX@bWbU聨V聨nnUVl聞@b職bVK@VX@lb聞V@nU陇職x聜虏聞Knblb@x聞V聞么@職l聬聛聨@b@l@XWxnVl@聞VV@XLVl聜LU聨UXV`職bXXmJU@@bm@UUkLW@UlUKWUUb聶wUm聶L@nklVVmVXXm@@bUKl脝n聞聜XkllVUVVL@nUbV聜@V@nnV@xUn炉U@JW@UX@x膲@聶`m@@L聛V@b"],encodeOffsets:[[113671,26989]]}},{type:"Feature",id:"4305",properties:{name:"閭甸槼甯�",cp:[110.9619,26.8121],childNum:10},geometry:{type:"Polygon",coordinates:["@@XIlJ職I聞VVK@聛n@VVVKnLVwVmnLVK@U聞@職w聞J@wVI脝職掳聫X@脺脠聞U脠xll@kn@VwVaXJWXn@@WVL@UUKVKV_U@@aVK聞x@U聞aV@lk聞@XylbUaV_職Vnal聧@W聞U@a聞I@aV@@aVUl@Xm聜UX聧WaXml@@kk@ma@聫V_U聫nUV聶UUWJUa@kkaWLUmk@@LUVWUkJWk聛K@录UnWJ聝IkV@b@JUIm@Ul聶V聶聧m@Uw@a@k聛W聝XWKUknW@聝WUU@k聶mx聶UkVmIUJUU聶VmI@UkaU聝V聶UmVk聶wVaVmX_WW@聝Uw@聶@kUKWVU_k@聝mm@@VkX@lVLUJ聝聬X掳WVU@UIVWUa聝IU摹mkVUkWU聛VWkwWXk`mI@楼kUV聝U聝Un卤@聛m聸XkWknV聞UVmmU@@X聝V聝Uk`@X聝聝聝k@楼炉禄mb膲贸@mkU@kU聶聝聝聶KmX@聵UnmL@lULkKU聝WUU@聝bUaUn聝@Vb@l聞娄Ub@l聶@UKmn聝KUnl聞UVVbUVn聞@`Vn@x聝b@x@V聛L@nmJ@nU@mmUVkI@xVVVxkXVxmV@b聝bXVl@Xl聜XVxna@Vn@@VVL聜aXaV@n聞聜@@V@X聛`V@@XVJ@XV@U潞kXVb@xlVVKnbm聞@VXLV@n聜lL@聬Vx職JV聞ULUb聞`lb掳nXalKnx@聞lb職mn@lbULV聞聞V掳職聞聝nV@z職職@Vl录lb@VUV@b聛職mLV`聞聞@n聞KlVnU聜聧XWVLnnlV@xVLU`VbV@"],encodeOffsets:[[113535,28322]]}},{type:"Feature",id:"4310",properties:{name:"閮村窞甯�",cp:[113.2361,25.8673],childNum:10},geometry:{type:"Polygon",coordinates:["@@虏zVaVlnVl@n職Vk聞Jl_XJlIVmnL@mV@VXn@lV@聜XzV@lyV炉虏U@UlJ@XVKnVVIXl@UVLV`@n@J聞I@mlI聞KVLnUlVUVVLXa職KVLl@nb@聨W聞XV掳KUnVV聞L@xVJ聞L@b@LUVVVU聞聵VXbmbVbn@@lUbm@聛x@XVVV聨@聬@聵@bkImx@Vm@Xb聝b@l掳XU陇聞a聜L聞mnL@bl@@聶VUX@VxnV聵anLn聝W聧聝楼XKVwnUW聧XmVIUW脝LVx聞L聞w@wVmlU@楼X聝WUkwl脟n_Uw聞WV@VU掳wn聫U聴聝y@aV聧職kVlnL@lVn聞w@VlJ@b聞X聞x@bVKnb@U@WVUl@@Vnbl@XLlK@aVLVKnx脼n@a聞LlmUaVU聶聝m@脜knUmaUKmVk@m聶kk@UlWUkVm@w@kUU@W聶聧U炉聶楼@w聞脟@aVIlUV聫@kUWU@UUm禄@k聛@mKVkUKUw聝aUaUa聸@k聞kUWJkImaU@UK聶@maUzk`@z聝y@XmJkL@UUJmUkV@z聸@k聨kVmK@娄UbWL@a聛@UbmKmwUK聶Xk聸VUUkmVkw@UUKmL@WUIWa聴JW_k@@WmI@mk@W聬kWULUUVKUUVm@聧職U聞b職@聜聫nU脟聝@U@w聞聶V@Ua@a聝L@ak聧聞聸l@k聛聶U聝J聝w贸@@L@V@聞聶`@聹聝J@xnn聶職mV@bkJmU贸@聝n聴JW聞UUm聝U@UV@Lk聞WlnnmVXbmx職xV@nbV聞V@XVm@UVlXU`聝聬U聨kn@lWL聝W聴zm@UJVXU`@bV職Un@lWV聹LlbVKVan_VxnVVVUXV陇聝bnl@bUn@LWlU@@amU@V炉L聞職VVUn@V@x聞聞@V@L@VmxUKUVm_聝JUbVV"],encodeOffsets:[[114930,26747]]}},{type:"Feature",id:"4307",properties:{name:"甯稿痉甯�",cp:[111.4014,29.2676],childNum:8},geometry:{type:"Polygon",coordinates:["@@l聶U聶mkUwUyV聛聶@VW@炉Va聴聧VmUU@KVUVUVLnaW聝nkU脫V_@mVU@脻聞w@聝ka@kVm聝UmK@IkaUamKkXWaUW聛@WUk聞聶@@KVU@aU@聶L@J@X脟VUKVak_mWkLWakVUbmLUUml聛UVKUU@kUWW@UImJ@xkLkKm@@X聝@贸脻聝@UUk@UK聝V聶聝UL聝K聝XkWWbka聝IU聧聝WU@mUk@WL聛aUJ摹聶聝@@X脠脝VIl聜聞Vnz掳aV@U聞m@X`@XWbkakJ@amL聝aU聞@V@L掳@@bn`職@@XWb@V聹Vl職Uxmb@bUVmVUI聶職XVWn聝JU聞@nnlVL聝V@J聛bWzk`m@U聬VK虏V聜x聞k聞LVl聞@Vn@V聞聞掳xVKVk聹VVlUblx@bU聞聜脝聹@@nVnUll聞kx@VW@@VkLWxUL@b脻@kKkV玫V@bkXVVUV聝@聝VkUkV聸LkV聶a聶@@聬聶聝炉xUxmX@JVb聛掳WXkK@Vm@k聞Vb聶bn陇聜xUXkJ聝blxnX脝K虏l聜_@Wna職n@聨UL@b聜JnIlV聞@lU聹@@炉么@lW葌IVKVm聞U@aXaV@lwVXn@@K@UVKUUnU聜bn@lW職X聞聝lJnU職L職KV@聞聞l@虏a@UlK@aV@naVX聞WV_nKlL@KUm@a掳U掳聧@VXL@a@wWmXal@聞k聞@VLn聸V@@bl@VnX@mwVa虏aVU@mk聛@聫"],encodeOffsets:[[114976,30201]]}},{type:"Feature",id:"4331",properties:{name:"婀樿タ鍦熷鏃忚嫍鏃忚嚜娌诲窞",cp:[109.7864,28.6743],childNum:8},geometry:{type:"Polygon",coordinates:["@@@K職L@wnK卤聧n聝nm聜聴@WUk聞聝脺脠n@n禄@mVamk聞m職U聞聞l@V聶nmmU@wUan炉VK職Ln聞VWlInyWU聹I@WWk@KXU聵n@mnUmU@W聹聝mkV@聝kXa職aVaUm聜Ik聝聝聧@聫ka聝X@聝Um@聧UKWU@UkJWkXa@IVy@UmIUVU@UJU@W聛XWmU@聶VakaU@@Xm@Vm@wnwV@VL聞yV@VakUUa@wUUVmlI@K聞UVkUamJk@VU@U聛mVa聝an_@KmU聝@@anm@ImWX_WWUk炉聝@k@W聝_m`@bULUKUnUWWXkKWa聛VmnU@@b炉UUbV聨卤K@聧UKUUVa炉聧UUmJU聝VIX聫mI@UU@Wm聛VmkUV@b炉w@lmI@W@a聝聛@m炉LXbmJVLklWL@V@XX聨mbVVU@@VU虏Ul@VlX@b職`Xx聸zUmkUV脪l聨@bXLWxXVl職@V聞bkLma@nmV聛mULVbmVUb@lnzmbU脪Vl@掳nLV聞lJkn@bmJk_聝Vmmkblx脠x@LUb聞xVb@V聶n@JmLV聨U職@聞nV@娄VbnJ@聬lVVbkx聶bm@UxVLV@n`UnVVV聞kl掳z聞xVb@VU@@脝lXnWm娄nbVK@XVVUVVl@X聞KUV@nVL@WnIW聨XLVKVLlxUbVKXVWbn@@UnKVLVb聞J職U@aVU掳b"],encodeOffsets:[[112354,30325]]}},{type:"Feature",id:"4304",properties:{name:"琛¢槼甯�",cp:[112.4121,26.7902],childNum:9},geometry:{type:"Polygon",coordinates:["@@l職V@XV@聞mXVlXL聞W聜X@l@bVxn@職聨職UVkn@VJ@I@alU聞JXIVm@禄聜LXllIXVVU@Kl@VnXKlb@lVbXIVVU職mVV聬U`@聬nbl@@lXLVVVKVbnXWJ@VXbWxXb聞Ul聶VK聞娄nLVVUVVb職b聞K@U聵LnK@Un@VxlUV`UnnL@VVL@JV@VUnxnKVbV@@V職IVUnJU聧VUl@nW聞Xl聫lIUa聞KVb脼LV录虏`V@VIUwlaVmXa@IWanK@U@m聞kV聝VUVaX@l職naVL脠@聜楼@kkJU聛WJUa聝XkaUm聜wV聧XJ@_lWUU@楼n_聜Kkam聧UK聞聶@amK聝n聛K聝bV拢炉W@k聞aWan@@UnwlJ@a@聴@聫U聧UU@W聜wn@Va@km@UanaWa聴UV聝UUVU@K@a聝KUI@w聝KUUVm炉LWUX聝@聧mak@UK聶LWbUKVUkUmVUK聝LkJ@n聝J@I@mU_UK@VWkUJmUUL@WkI@V卤VU掳kzU@Wy@聛kUm@UWU@@nmKUnkJWIk`聝IUlm聶k@mUUkUb卤yUX@VUV@bk@WlXL@nVlU聬l聜k@WI@聨kLm職@VV@XVmnnVWbnVUblJXkVl聜XXlWXUJk@卤聶@nXVWVnL@xUVm@Vn@J聴聞WK@U聶V聶@UUVUVKUkkxULW`k娄m聞@bkJm娄U@聝mUX@`UImUU`聝LVbUVUU@LUbmaU@mJU@U聶UI聝KmxkLUl"],encodeOffsets:[[114222,27484]]}},{type:"Feature",id:"4306",properties:{name:"宀抽槼甯�",cp:[113.2361,29.1357],childNum:7},geometry:{type:"Polygon",coordinates:["@@@wUklmU聧UmU@@UVm@wUaV_mmUKmwkIkJmUUnm@聶聫聶@UU聝bUKU聝m聛脹amm炉xVLkb脟脝聝U聝VUzkVUl聝UUKWLX娄W@聝VUUUa聝KUbmL聛Km聞@akU@a聝mVaUUVIVWkk@wk聝聝@@xmL聛lm聧脜wmbVlXl脻IWVkK@kkV聝L@VWKU@Ubln聛a聝聝m@聛b@b職nW`@XUJk@UUWK聝k@U聛K聝nn聜@xmLUVm@kbVbV聞nV@V聞b聜聬@KnV聞LW職X聨脝V蘑娄Vbl聨職聞n聞UJWz@脝聶V贸UVbkV聶a脜x@娄lVUbVVknWK聝聞k@聝w聝K聶VU聞脜聞聝l@zkb@`m_mJ@xX聞mbVb聹@llV@n聞@llbXL聵UXalU職l聞alVnwnLVKl職VbX@@I聞V@blJ@bVL@VVVUX脠陇聜VnkV脩Xmlbn職聜聞VKk脩脜聶@UmaV莽@卤XUlI聞xlV聞@VaX炉lUVVU職VJn聴V@掳掳n聨掳聞Vx母艂掳娄職b虏娄lJ@U@aUK@kUm@_m卤VIXal@聞Kl@聞bV聧@K聞K@k聞m@UmUUa聝K@_UJ聝aXU聵@Xm職_VmUk@WUk聸@kU@a@m@U聝aU聧UU@al@ny聜XXWWwk聛ly@炉n@@bnV@k@mVI聜聞聹VlUUmlU聞JUw聞I聜bX聝VaUal聧@K聞b@聝VKVkXVl@VkUU@ylU聹VVaVL"],encodeOffsets:[[116888,29526]]}},{type:"Feature",id:"4309",properties:{name:"鐩婇槼甯�",cp:[111.731,28.3832],childNum:5},geometry:{type:"Polygon",coordinates:["@@聞聨脝xXL@l聜V聞@蘑職VI聜bXKl@nVV@聞XV聨聞JlbXalX聞W聞LVK職聞聞UVLl@VV聞@么脼聞@@Wn@lLlK@wnIVJX@VX@lVVUL聜VnkVVnKValUXblKnXl`UbVL脠U@W@I職KV@@bUV@L職@l聝XV聜@VXXblWnLVblb@JnL聞VUn@llb@聞聝x@脼UV@nU`V脭mlX聞mbUKUVUV@LVVUn聵聨Ub@掳UX職@U聜VzVxnlV職k職VnlVnaW聝@wnIn`@_la@y聞k脝聝V聝職U聞L聞xl@聞聝XLlmUUVakU@楼脝w職blUUa么V職U@脜XyVIm聝聶聝k聧Ua摹楼脜UW聧X聶聝KmU@L聛聫聝a@UmUU聝Ualan@VUnK@wm聛聞m聜L@V聞lXLVVl@VI@WX_聶m@a聶炉mKU聧kwW楼UK@_UWWLUVkUWL@WUIkV聝U@J聝wkLUUmJVI@WkXm@VmkKUIU@mmm_@VUV聶@聶聞kJ膵wUU@K聛UWkkW@IWW@聛km@klwkWVkkU聶V炉m@kWLU`mIkmkXm@@`@L@xUKWkU@VL@J聛UU@mbUKVa炉聛WVnL@`lXUVkU@xW@UbUWVU@U聛J@聞lnU@m聜n脠mV聝a@bUL聶wUb聶@@VkxmUU聝聶聧UV聸K@I聛聝U聝mk@akm@wmI聝聨kK@b聶VWXkm@wULUmm@UVW@Ub聞聬mbkK聝Vn聞U@Wl聞xV聞U@UXmWUXmlnbUl炉Lmn"],encodeOffsets:[[113378,28981]]}},{type:"Feature",id:"4301",properties:{name:"闀挎矙甯�",cp:[113.0823,28.2568],childNum:5},geometry:{type:"Polygon",coordinates:["@@lVUllXkx@lln@聜XX@JlXXl聜V@LVV膶xlI職聝職@VU@Un`nnV@VJlLUnn@lW@XUJnIVVlK聞x@I聞VlUVJ@XXKlVVUXKVX@`VLX娄lxV聨nL職掳聜an@聞聞聜bkmVaV@XL@U聞KlU@llLXU脼JWkUkna脝xn聨聜knK@w聞@l聞@xllUXUJVVUb聞n@blV@bn聝聜LnKVa聞LVbVV聞UX@W楼XKVL聞VVklUVy聞U聞V脠脜laUK掳wnn脺bn聜V聞VL聞aVV職@職聬n@VmnVlIlJna聞@Valkn@na@amwm@聞UXw聵K@aUUVUUaVa聴wWK@kU@UaW@kKUU聝聝@k聶W炉XWan聫@k聞聶mm脜@@I@U@KmLkaVU聝KkLWVU聝k@UVmU@am@kkk楼聝U聝VUK聶聞maUb@聨Ub聶I@a聝KkkWm聛@W聧炉K炉b@VmaULVxUXlVk@UxVJVbUb@xUL聝@ULWW聴L聝臅mx聛VVL@職Vb聶KUw聝a脜虏WwX@@W聝UWLU@VbkV@aU@@VUnmJ@VUn@V聝LUK@U聜mUIk@U脟m聧U@@UW@聛J@L聝bUmVI@aUmW@@bkXUx@lmLUbm@UbkJ@V@XmlUbkKm@ma@kUaVU@aUK聛@mImJUIkV聝U聝VUakbWwka@UWKkLUamKUXm`脜_U聵聝聬ULmaU@@lUV@X"],encodeOffsets:[[114582,28694]]}},{type:"Feature",id:"4302",properties:{name:"鏍床甯�",cp:[113.5327,27.0319],childNum:6},geometry:{type:"Polygon",coordinates:["@@X聜聜Unw聞臇聵KXXVK聞@VK@wVaUaUIVwl@kUVWUwVKnb@U掳a掳LX聨聜@Xnll聞L@b職JVa@聧Vanb職聝VL聞U聞V@al@@UV炉脜脟@Ummk聧聶w@炉聝yVwnUVVVUk聧mWV聴nKVU聝a@WXkVKn@lUVU聞VVVXIlV掳VnI@VlKnV@聧mwVm@LXKWkU楼聛wWw聝聝@k@m聞X@KX炉V@VUVa@VnKWk聹聝V@VUkm@aWa@wkUWwkmV拢V每XUVL@mVIXa貌@nW@a職U職@@am聶@aUU聞Um聧XmWUk@聝聝n聧UW@_maVm聶wU聧kamaUL@a聝w聝W@akI@U聝xUm@kmKUk聶lU聨@b聞zV聵m聬炉xUVU@聝XVxm`k脠lxXVW聞@娄kVUn@x聝x聝KUw脜KVXUJWnX聨mVUxWL聞娄X聨m聞mK聴bmUUwW@UV@職k@聝職VLn聨lb聛Lm`@娄VVkX@`WIU聨聛xVnlb聞WVbXIV聜lI@l聛娄脟@UKmbk聶W@UbUVU聞聝l@n@VmLXb@JWbUnkbVxUJUxWXXlWL@V@V@XXJWx聞zUVVVVKnXW`@bkIUl聜聞nLVJUbUIWVXlWV@XklVbnn@xl職"],encodeOffsets:[[115774,28587]]}},{type:"Feature",id:"4308",properties:{name:"寮犲鐣屽競",cp:[110.5115,29.328],childNum:3},geometry:{type:"Polygon",coordinates:["@@@InWVw掳w職聞@聫職@職blU聹KlUlV聞U聞@VUUUlW@a枚UlUlL脼@@aVKXwlK@UX@@Ulwk聝VkUm@m聸@聛脜V聝@akwVaUk聸UUlUL炉w聝聝@UUm聝@Uk聝K聝l聛w卤UULV聫n@l_XyWw脜@V聧UUmJUXU@@mm聝U@kxW@UaUIWbU@@mU@Ux聝nUbmKk聞WJkUV聧聛al聝@aUkUx聝lW_@WUIU@聝bkKWU聛JVnUb聶bWb聞lU@nl聸聞@XnVmV@n聴mWV@LXl@X聸JXVmzkJUXm聝聶KULm掳Vb@xnVmnU職k@聝聝聶V聝nnlUb@nm录m@脹脟聝聞Vl@X聛聵mnm聞虏聨mL@x聶K@LUl@nUL脝x@V@VXVWbXX聵l聞@nLlm@bVK聹X聜W聞L掳bnU職@VaVU職@職m職聧Vw聞JnwVK掳zn@V聜Vb聞a聞@膴录"],encodeOffsets:[[113288,30471]]}},{type:"Feature",id:"4313",properties:{name:"濞勫簳甯�",cp:[111.6431,27.7185],childNum:5},geometry:{type:"Polygon",coordinates:["@@lL聞聧nJ@xln@bnlV聞聜聞@J聹LVU職聨V聞nVlw@U職@Va職xVK@a聞bnUm脟n聛V@km@聝聜I@VUVVXVaX@@wlVVUkW@_mKXU掳聜UbVLnaV@聜V@IUKV@XlVL@w@K@_n@lWlnnJV_XK@l掳n職U@WVU@kV@nbVK聞聫V聴l聝@聫nLl聝聞LXU@聝lmkw@nW@UKVa炉IV聫n@@aVUUKl@nXVKVn虏a聵聨XblKnLlmVI@KUU@akLUaVa聜UXm@a聝聧@wVUVKnLnWlXl聜n@@U@anUVm@U聜Inm@IUK@UmKVmU_kVUwm@@VmL聴K@V聝L聶aUaVUUUmK聝楼ULk職聝VWaXwWa@UXImWUaULUUWKk@WnXbW聨聛VWnk@UV@bU@@b聝J@b聝V@Xk聨mb聶UU`VbkaWz聝@klU@聝b@V聝wUL@bV@U`ULVL@VUK@Xm@XWWIUbUxm@@lkk脟w聝V脹脟W@炉聬脜聶UJ@x聝I聶x聝@@VULmKUnUxmKULUUm@@聜UL聝U聶JkIWJ@b@L聛JU聬W聞kJWnUV@nn聵脺_nJ職xU@Vb職nUxl職kb@l職@"],encodeOffsets:[[113682,28699]]}},{type:"Feature",id:"4303",properties:{name:"婀樻江甯�",cp:[112.5439,27.7075],childNum:4},geometry:{type:"Polygon",coordinates:["@@脝`n_VWnLVblKXL@VlbXxlaVb聞U聞VlUVJnInJ聜@VL@bUVVb@lnbn@lLVank@W@UlIVan@VanK@kVwlW@aX@Vn@bUJVn聞a@K聜IX@@VV@n聨V脠l@VJ聛n@VVL聞K@UVm@UnIVm@UV@@blUUaV@XK聞V@XW@Xx脝卤聞bVx職LUa@聶UKW聛k聶@wmmUalk@WXUWkXUVJVaUImK聛聝VklJ@aX_mWULUUVU聝yXwWI@W@U@UXKWkXWVwU@卤_U禄脻KUa聝LVbkJk聬聝WmXk@UVV聨mIUV聶J@UU@UamLmwUVU@mn聛J@VUnmV@b@Vm@k聛kWmXmKULUV@x聞聨@bWn聛VUbVblK@bVV@LUJknmKkLWa聴聧卤bUmULmWk@VLUV@bm@U聬掳JUbVLX@@mlxkn@聞WV聝Kk聞mK@聬k聞"],encodeOffsets:[[114683,28576]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/jiang_su_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"3209",properties:{name:"鐩愬煄甯�",cp:[120.2234,33.5577],childNum:8},geometry:{type:"Polygon",coordinates:["@@聞n@聜掳膧脼掳@娄ULWKkx@bkLWb@lUlVXXJVb聝nUKmxXV@bm@@X職聜聞L脼職脺娄XlVn職聜mzVJ@n@聜虏脼么k脝聝脼a劝膲聜wn菈脺贸聞茅V脹n聫膴墨膶菈聜膲@艒@K脼UlU@聝kkl脟脠脩職脩l摹X蓻@U摹聝聝aU@U_聝W@n聶@kaUL@VW@kKmkUV@bkbWW@bkzma聛@聝JWI@KUKUL聝@U娄聶`@XUJ聶U@KmX聝w炉KXkmy@aUIWJXXmV@K炉UU@@bVL@陇VLXbV@@JVXVK@聞聞JVn@bkKmakVVXUVVVlI@`U@nzVV聝b@陇n@@UlKXLVV職I@V@nV@V聜@脠Ux@職贸V艒職聝k脜W贸@mU@bk@脻wk@WbXxm@@J@zV@kV聝bV聜nLWVUX聶WUXU聨WLU聨聛@Wl掳z@VkxU@UVWI聛xWJkb聝默聞nW@@bUl"],
+encodeOffsets:[[122344,34504]]}},{type:"Feature",id:"3203",properties:{name:"寰愬窞甯�",cp:[117.5208,34.3268],childNum:7},geometry:{type:"Polygon",coordinates:["@@XKVX@WnIVx@K掳Lnll@@I掳K聞nVa職U掳x虏mlx職@VanU@a聝k@akmV@@w聶@Ua@aUwVwUw@w聸@UK@拢ka膲l贸I脟Vk聨卤@@kUKmVkIkxW@Ua炉UUm@UVI@WVI聞JV聧@聝@Um@Uana聞U@m聜I@J@XV@XaV聫lkX聝VaUUWLUyVIXmWak@聝XkJ贸k聝JUL@KWkk@ULU@Wa聶lUIkJmI聶mk聞VbV職@lV掳kXUKWKULU聞mb@VUlVn聝b@V聛V@IVKUUmU@ak@@bmV@xkl聝U聝U@U聛KmV@n聝JVbkX聝KUamLUJ炉UUVmI聶bVV聴Ll`@L聝LU`m@kXUVU@V聞lxUK@xkIWbUK聝x@聬V聜kVVn聶b炉@@U聶@聝xk聜mbkL脟K聶b聶@@XnJ@LmVkl聝@@X聝lU聬聝Vkx聝akVVb@bVnUbU@@x聵VU職Vb@職聞聨nI膴`職XVV么J職_聞K@xlU虏Klk聞U聞@VaV聫V聧脠m@kVUVmnamUUaV聝XIVJ聞@聜莽@楼nkVLn聸聞@@XVK@VUX@JVUV@UnVJVLUJVLUVl職nI聞b聜KnU@m掳聶VanI@anV聜KVL聞an聞lK聞bl職聞K脼k@娄@陇@聞VKnLVK聞L聞KVzlW職LX@VmV@VbnU掳@Ualk聛聶聵WXLVU聞KW聧kUUW職聝@拢Wa"],encodeOffsets:[[121005,35213]]}},{type:"Feature",id:"3206",properties:{name:"鍗楅�氬競",cp:[121.1023,32.1625],childNum:7},geometry:{type:"Polygon",coordinates:["@@VJ@bnzWl掳L聞xnW@L職VVI@W職_V楼聞@VKVL@LXJ聞I聜@nbly@aXXla@aVUnllLX@@UVKlb職@@m聞XV`V@聞b蘑聞lk膶脟脝聝葮炉職wn臅V膲V每職U茠U臓聝纽臒l聫X脩V堑@卤艒L实臇炉l脟b脻脼炉xk@脟k姆茅聶n炉@臒聨摹拼谦@kVVlUb聝L@xUL脟聜贸LU聬l陇@nkVV掳VLkxVb@l聶aUXUKW臇klVX@陇U職聝Ukb"],encodeOffsets:[[123087,33385]]}},{type:"Feature",id:"3208",properties:{name:"娣畨甯�",cp:[118.927,33.4039],childNum:5},geometry:{type:"Polygon",coordinates:["@@職n藕U么脪纱猫聝職l娄n臇V聜kbm職聞X@xVlVL@xUb@bUJVnUx聜職聹聞lKVL脠x聜m聞zXV@lW@XV聜b@b脠職Vxnb聜聝VIXa掳L聞a脝VVaXUlK@aXI脝聞VlXKVUlIXalK@alwXLVK@楼脻炉炉每@聛聝mVk@aX@聝m聞墨laXI聜wXJVUV@lw@U炉y聛b聸U聛a聝U摹U脜aUKVkna摹m@kUm@w脝IV卤nL脝w聞脟nUUk聝聫@茀脻U炉J脻I炉娄Ul@b聝@@VVL@l@L聝L脜m聝L@b聶@UaVaUWmLUKV鹿聛K聝LWKX楼WI@mXk@UmaUVUU@VmL@W聶bkIUW聝UmV贸Ikbmm聶@UbVLUxmJkU@bkJWbnXU`Wz聶KU脼脠lVb聶Lmx@聞k猫@脝"],encodeOffsets:[[121062,33975]]}},{type:"Feature",id:"3205",properties:{name:"鑻忓窞甯�",cp:[120.6519,31.3989],childNum:6},geometry:{type:"Polygon",coordinates:["@@么猫膴VnX掳陇虏聞lx茠脠脺@虏x@J@b@X聜`nIU脝聶UUV@bl@VVnL@L@x聝J@X@blJXnW@@`XbW聞kV聝@UbVx聝XUxkV@L贸xVbUVW職虏職VJ母klU乾@蘑瞥臓聧掳@職m茠墨掳禄脠聧脟楼ULUU卤a@bU@炉聫聝U@KnImUVWUk聶mXUVU@聫lIVaUU聛VWKUbUkWKU楼n拢WakJUkUL聸K炉L聶Kk聝VIn@VaU聝VUU聝聸UkVk@聝U@amUkJ聝@UUlwX楼W@@UkVmk@JUakL聸@kk炉脻mJUn@nmVXlmbVVkn@聞UJ@聛卤WUxV聬炉a炉K艒b脜录脟xUx聝職U聬UlWL"],encodeOffsets:[[122794,31917]]}},{type:"Feature",id:"3213",properties:{name:"瀹胯縼甯�",cp:[118.5535,33.7775],childNum:4},geometry:{type:"Polygon",coordinates:["@@XbWnUJVzXKVVUbW聞klU聬WbU@@W@I聛J@n聝VmbVbn@@V@聞U聨聝IUJ@XUJ@VVn掳VVbX@lwlJnUVL@l虏@l聧脠U么J膴klb@陇VL聹@@xVxUxVx@bVb職@@xU@ln聞mnX聵mXLVmV@X@lxVnVJ么L聞LXa聜x@b聞@@KVL@bn@@m@聶@alLUUVaU楼nIV卤聜I@mXI@aWWXU@LlUXWW_XWmaUw脟聶@a聛aWUX@@kWU聝y聛n脟wUKkL聸聝聛聶VwUmVI@aVa@wUKUk@w聝Wn聶laU聛m臅k楼聞聶沙莽贸脩殴V聶mmzkVmm@a@I贸聝k@@LWU@`聴聞WbXLWlkImJVn@`nXVbX聨mL@Vn@聜l@nUVl掳Xx掳U@LV臓@z掳聵@娄UV@Xn@VJmV"],encodeOffsets:[[121005,34560]]}},{type:"Feature",id:"3207",properties:{name:"杩炰簯娓競",cp:[119.1248,34.552],childNum:5},geometry:{type:"Polygon",coordinates:["@@@聜lzXxm脝V聞聞@@娄聞@l`XnlK職XXm聜KnLla聞b聞@聞xmbm@kL@V@Vl@@VUX職JX聞mb職@@聞掳脝@猫脠zlW掳X蘑Jl聬脠`lInb職WV_@m職聶@UU姆n聝么w掳聛脝mnaV聝V脹Vm母禄蘑w卤脻@聛@mUIny聶聛UmWk脹楼脻聶聝K聶聛@Wn@@aWUnwVL聞mUaWIUWVk@kkJUVWLUk脜聝WJ@bkLWVUb脜U聝b炉KWbUJ聛聞WXX`WXkV@KWVXX@bWJ@n聛JU虏mJV娄UbVVkK@b@職@nm@@aUK@L聝@@a聛wWb聝K贸KUIUmkwW@U@UnWK聴nmW聝n@b聞l@bmVUb聶@kw卤n炉w聶VUb"],encodeOffsets:[[121253,35264]]}},{type:"Feature",id:"3210",properties:{name:"鎵窞甯�",cp:[119.4653,32.8162],childNum:5},geometry:{type:"Polygon",coordinates:["@@VUXblVVV聞b@xV@kz聞V@l聜wVLUbVV@VU@VbUb聛l聜b@nk亩掳I脼V@茊聞聬VlmV聝脠脜xmKU虏脜J@xVn@l蘑nmbUlVL脝b蘑V聞V聜b聹V聜aXk聜@V聧XKV聧VW職XVWXUmKU聛聞aWaU@聶楼@拢XW聜UU聛V@@ynam_VWkUVUna@聧脝V@mnkWmXkWU聞W@k聞@@akkl聝lWUI@UnKl楼聶I@V聛Vma@a@I@U@a@anK@UmK@脜VUnJl聶kI@aVwka@mVIUW@UWL@W脜bmI聝聝ULka聶UW聝UxkLUKWlXL@V聝Im聝脜V聝U聶m膲L聶U贸l炉I卤l@脪UbVbUVVXUJUnVV@lnbl@"],encodeOffsets:[[121928,33244]]}},{type:"Feature",id:"3201",properties:{name:"鍗椾含甯�",cp:[118.8062,31.9208],childNum:3},geometry:{type:"Polygon",coordinates:["@@k@ma@kUUVmVIUWVUUaVa@脩虏k掳J么k@Wmk炉KmX炉aUakK聝聝WU聞@XU聜LXaV@@mUaV聧UUl@VmkaUXm@聝WUUna掳Il聫聛聛mV聶m聶IUW聜聧@Uk@@aV@VVX@聞V聜I掳禄nm聞U@聧VKVan@m禄UaU@U_@WlIUa聶aVaUala@炉n@聜聝kaUkUUWKU@mwkUUmmL@K聛@聝LmUUV聝K聝V脜ImU聴J聝聬聝VkVVL職猫VLVU@W聞L聞V聞職@nV脺ULV聨UL@bW@XbWbkJ聝UUVUxVXmVk@W聫UUkVmI聝V@聞nbnVWb聝JU聞kUUL聝a@Jma@XkK@VVL@L@J聝LUVU@V录聝nXl聝bm@kbUKmn@lVb@VXXV聜UV@b@LVb脝xXbl@@lV@U聞VV@XVK虏VlI職`聞聬UbVbUlVVn@WXn@@VUV@聞@KmbVLX脪聸LkK聝V@nX@VVUV@b聶nVllb職mnb聞IWVXU@`lLlknVnmlLlbUmVInK掳nU聝U@l@VU@Vn@聞聝@alI聞`VIXaVaVa"],encodeOffsets:[[121928,33244]]}},{type:"Feature",id:"3212",properties:{name:"娉板窞甯�",cp:[120.0586,32.5525],childNum:5},geometry:{type:"Polygon",coordinates:["@@lUU@@y@In@WwXal@脼xl@@anV么@脝X聞l艓聶么U@聶Vw@脟U聛U@@m@U聶JUUWKkL@Vm@@拢聞aUUmyV@@_kJUUVUUWlUnblL@aUm聝I@聝ULUW@IU@WaUK@拢UK@aV@掳V@LnUWWXIla聞VV聶@拢UWlkX臅VLVW職b@kUalwUKU炉lU@mk拢V聫么K脠聛VK@w聞KVaUk姆lUI卤聶臒楼脻U殴職聶聨炉么m娄聝母聶聜@XXK@VVXUJ@nlbUx@blJk職mIUV@脝nL@VmL@b@b@V@J@bnb聜U@U職Jk娄mL@VVJkXk聞ll@b聝@@l聝XXVWlXnml@n脜U@聨mbUVlVUXn`mb@zU@V聜聛VWX@陇職娄V@Xb"],encodeOffsets:[[122592,34015]]}},{type:"Feature",id:"3202",properties:{name:"鏃犻敗甯�",cp:[120.3442,31.5527],childNum:3},geometry:{type:"Polygon",coordinates:["@@nL聝脪lxUVkL聶am@聶聝kVWUULUxVVVbUV@bVLU聜nn藕聶脼V臓娄X聶VUUa么w@KlUVw聞WUwVa聞@lUX聝Wa@_X@WmkI@a@W聞I@w@KmKUUk@@aVU職VV脜mJ聛_@W@a@I卤w脹@茟脟kw卤聝炉拢mW膲U贸莽聝K炉VkUWK@XkV炉UWa聛b聝mUa聶UUb聶lln@b@x聝bX聨W聬X`@聞VxUblL@bn@Vb@`m@XbWnn@l陇聞n@xnVlU聞聶VL脝W聹kV@Vb脼J聜_n聝l@nKVU@aU聶U聧@mVk掳WVLUV炉bV聬X聨聵bXlVn@VmL@x聴V@bl聞職聜@聹nW@X@VVJ@虏VJVU"],encodeOffsets:[[123064,32513]]}},{type:"Feature",id:"3204",properties:{name:"甯稿窞甯�",cp:[119.4543,31.5582],childNum:3},geometry:{type:"Polygon",coordinates:["@@聞L聵聨nxUbVV聝L@xnnW聜nn@VVXn@聜y聹Imx聞聞掳聝職L聞a聜楼n@Vk職KVw聞W@nX聞VJ@b聜@UVn聞聝@UnUV@L聜b@`VLklV脼n聞脝@VaXLl聶脠J職聧mmV聛UK@aVUUaUUVwVKXVlU職聞n@職blKVUkw聞脩mKUVUI@卤UI@U@WmX@聸聶聛k聝@a聵U@wnK@UUmWk聴aW聧U聫掳aVUUK炉XUl@nV聨V職@bUVmLk@m聞聛`脻IUaU@聸l脜XUK聝職kVmU@w聝mk拢m@XmWan@@_Uam@@akKVaUw@聝W_X聫W聧聞a@w@akmm@mL@U聛JmnUK聝@@XnJWLkKUb@聞Vxk聞W聫聝L聴aWVUImVULUK@L@lkLVVVllb聛聞m@@掳kbVbUb職bVbkJ@XV`V@Vbn录"],encodeOffsets:[[122097,32389]]}},{type:"Feature",id:"3211",properties:{name:"闀囨睙甯�",cp:[119.4763,31.9702],childNum:4},geometry:{type:"Polygon",coordinates:["@@職V膴K職n聞V脝Un聞聞J@UWKXkVLlKVwX聞職VlbVK聞聞nJ脝a職聛聞姆n楼掳贸脟Ik職WKUb脜@m聝U脻lkUK@_聛a@KVUVm聞@m聝VU聛@@aUIW聝@m聝XUx聶LUlm@聛娄聝b聶K炉聞聝聝nw聸J聛zm@UW@UmmX聛mm@w聞KUUVamw聴聧聝Km@UbUL@聨聝Vmn炉录聛J聝UW@UUU@@bl@@V聛聨VX職J職nnU聜聜k聬炉JmbVV聞Xn@VWlbUnk@VVU聨Vb@nU@Wb聛KWV聝@XV聞聞lLVb掳bnW掳Lnl@X"],encodeOffsets:[[122097,32997]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/jiang_xi_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"3607",properties:{name:"璧e窞甯�",cp:[115.2795,25.8124],childNum:18},geometry:{type:"Polygon",coordinates:["@@聞`l@脠bln聞@聞KVLl@聞V@b脠聨ln職KXkVlVL@聞lJnb聞娄VKVVnX聞W@w掳@VU聞mln聞UV`職U聞bVUV@聞xnKVI掳KXKVkVL@al@Xa聞LVlULWV聶VVL@b聞x@VXVmb@x@V聶聬VV@nn陇聞職lb掳b掳KXXWbX`lbXx聜z@x聞`VIVUnK聞L聜x聞WXLVKVbVLVU@wnW掳b聞@nalX聞聜mXVJn@U虏mKkVl聞U@@xln聹aVmlKn聹@JVLl聨nV職職l@XX脝猫VlUX@xVLXV職b掳W@wnUWmXk@K聜LVwUmUkUKUw@wVaVK@k聝聧@WnkUKW聧kwlmXL@KVUlLVKXmWU聞L@a職L@m聛alaVk@a聛a聜a職聝nX職@VVUblb聞Jn聬聵聝Xa聞V聜wn拢聞K@UWmUk@聝UaWI聛V@b聶JW聛@K聛mmU@aUUUkmKk聧VKlUU聶nKVU聞lVaV拢脜楼WUUK@UkUUw@聫m@mIk聝聝UUW聝L聝K炉聧Uw掳炉@wUKUb聝Km聝@kkKUL@UUKV楼U@manw@k@U@Wm@@聧U@Wwkm聞wWaUU@UUmV炉kw聝@@km聝kKkUW@UK@脜V@XWWkXa@Ul@Va@KVaUUU@聝aXwla@UkVWaXk@K@聛lmkUmV@Vmbk@聝禄XI聝楼VUk聝VUVU@anKVU聝KUalU@wX@聵聶@a@K聴@脻w聝L@聨Un脟lUIkJmn@聨聝bVV聛b@VmnkL聝V炉U@聝卤l聴IWm聝@kaUI@a脟U@K@KUIkbWb聝JUIUy聝X炉聝UbU@m茅UUmUk聞WK聴xWIkJm@V楼U_UJUwmVk職聝UU@聝聝聝@kn聝wm@Um聛kWJkL@n@VW@@聜U@knm@kUml@x脜x聝@@XUJlb聞@VX聞JVxn@lbV聞@lULnV@Vl聬nV@bWV@bXL@lVLVb聞V@blLn@Vl聞K@xln@bX@la職LVbnKUVVb聞KlXVVkx聝V@nnVUb聜lV@@z聴掳WWkb聝Ik聜WL@LUJ@bUI@b聶`@UmI@mkK炉XW聶聶mUV炉@UUVUUam@@VULWU聛J聝Im`聛IUJ聸聛聛KUkW@Uxn聜WbnnmlXbmIUVmV@Vnb@V聶LUKWLn脪VVV@V聞UL@聞kJUV@b聝脠@聨職聬V掳職聨@XVV@l@xUz"],encodeOffsets:[[116753,26596]]}},{type:"Feature",id:"3608",properties:{name:"鍚夊畨甯�",cp:[114.884,26.9659],childNum:12},geometry:{type:"Polygon",coordinates:["@@lxnb@V@bV@ln@聜n聬聞聜lIn職@blVXK聜nk录@VUKWL@b聶L@`UXU`聝@V娄XL臓@lJ聞娄@聞nV@l掳nn@聜mVXna職@nb聜K聞n@l聞IV聝職@VanJ@_lKVVn職聞L@L聜K@Vn@Vb職UVanKlLnbnJVb職nWVnVVanI@聜Vb@L聞bVKVanXVbVJVU@aXLll聞b么l脝录XxVLVK@Xn@聝xnVVVmb@LnVVKVXV@@mnaVXUVnV聵K@_UaUm職wnKV_聜anKVL職禄聞K@聛炉脻U@聸聶U聫@聛kWlUn聶lknK聜VnaUkma@聝UIUwl禄脜w@聝VwV@n聶聜聫n@脠XlKVmna@kVw@anm聜@n_WWk@聶聶mUk聧UK@Im聸kLUn聸bkm@wV@k聝lUnLV卤m@UInW聝聛kWmb聝@炉amX@xUVUKUaULWK聝X聛w聝KmLUVUJ聝_@w聛yWwkaW_XaWW炉L炉aka聝聶m拢@mUU職聫@U@wnaWU@U聝w@aUK職UXUVKUk聝KWbk@@bUKUlWL炉LUJmL聝wU@UV聝a聶VU_聝Vkm聝nUV炉@@x聝XmWUUUL聝楼makI@聝UKUkWl聶Lkm脟聧@a聝Uk@UK聝L聝@km脟ak@聝_VlkL@`lbn職lLVanLnbmV脝ln@職聬kJlbknmKUb脻mmwULUK@bkLWKULUUma@Kk@UV@L@llbVz職xUxnl@bVLm聨職聨@IVJX聹Vl聝LV`@bn虏@J聶@聶V@Xmb帽@WbUJ@bm@@LU默U聜聞娄lV@xXb@blnUV"],encodeOffsets:[[116652,27608]]}},{type:"Feature",id:"3611",properties:{name:"涓婇ザ甯�",cp:[117.8613,28.7292],childNum:12},geometry:{type:"Polygon",coordinates:["@@聞聞@聞V聜職聞聞I掳`n聬m陇聛虏@bVJUVVXUl@Vmb@xV@XbmVV聹@lkLmbn`VbnU聜@Va聞UnbVllUXV聞a@w掳聬VW@_VW職L職職nVlb職LVbnl聞K職nVK@IUW@_@am@聛聶聜脩U贸lK@U@WU@VwU@UI@aUU聜aX聝聝@kwmJV聛@yX聧@k聜an聝聝聧@mkwVmmI@aUU@aUUW@k聫VkV@@anK職禄聞XVWnIVUl`@_聞W@wlU聹V@UWKnU聜bn聨掳InJl聞UV@VnI聜b聞Wn@VklL@l@Vn虏m@U`kI@bWJ聝聬nV@掳VXnJm聞XVmx@VVL@bkLmWULUmU@聝bW聬Xb@llnX@聜xkxVV聞nVV@陇nL聜nVxnJVXX@聵職職bn`VI聞b聞@聞blmlLnaV@聞blWXnlUnbl@聞聝職KVanUVmm_XK@kWWna職U@UnaWUXa聸聝XamUkKmXUW聝LX炉WakKm聶nUWwXa@KW_聞aXWW_@WnIV聫l@XU聜LnWVknK@ImyUU脝bXK聞脹@W@I脝Un聝V脻lkVK@mUIVwkUVaUm@aVIVyXI聝a脠wm聫mk@Unan聫VUm聛脜a贸禄lw職W@kkUVmUK@聛WK聛L聝UmWULkamK聶Lk@Wa@wk@UU@聫U@mbUIWV聛KUXWmkUmV聛m聸U@LkakK聝w@w@U聶炉聝聜聝UUn炉l@bmn@xkJWxkL@VkI@m聝kmJUI@V@b@VVxnbWlk脠kV聝L聝bkKmV聝L@V@虏nxW聜kLUL@xlKVx聞bX聬mVn職WJ@脼聶掳@n聶xUKUw卤聛聛`UImVmnU@kalm@akw聝U@UUJmxU@@U聝@kU@Um@@Kn聧聶聝Vm@k聶KmkU@@WUnkLWxkVUwmKmLkU聶bmKUbV聨@xUnkJ@n卤聨聛職UxVXU職WJ@LUb聶lUnm@聝W@nknUJUVm@kXllknVb脝K聞VVb職录V聞@職Ul"],encodeOffsets:[[119194,29751]]}},{type:"Feature",id:"3604",properties:{name:"涔濇睙甯�",cp:[115.4224,29.3774],childNum:12},geometry:{type:"Polygon",coordinates:["@@WUkVUkma聝VUb聛@mVUam_nalK@kU聸nUWaU@@wna@UVkUWVUUI@a聜卤n拢m聫炉_聝J聶聝U聛@聝聝聝膲娄Ul@聬UV聶Km聶mL聛lm@臒鹿m`Uk炉@@UVK炉聶@UUK@amkmKkVV聧Ua@UkU聝K聝聨Ua聶L@VVXUJ聶@聝n聝@聶職聶WUb聝nVb炉V@L脜l脻I聝J脜k脻聶m@Ua聶WUU@UmUXmmwV聧UU聛KWUX卤m聛Uam@kW聝zUaVm脟w@a脜LmK聛X聝聜U聬WKkL@W炉I聝wVw聶lkU聝J@Um@脹脠W聨聛KUxWk聝aUU@KkLVl@聞UKUX卤KUb@nVVUbUVmaUlUL@聞聝aUL@聜@nUlWzX`@聞V@lx虏聞@Vlb@b職V脼@掳nl@UxVL@lUbVV@n虏xVUVmnU脼b聜a聞J@I職V掳xnbl@nb脝@VwnK@VnXlK掳xnUlVX聞V@Vl@L@lk@W_XK@K聝kWxUL@J聞nVx@aX@VVUa聵IXlmL@bVVX@VbnK聜a虏XVW聝k掳a聞@UnV陇nbmLmW@聬XbmJUbVL聞a脼K聞L@K@U@aVKlbV@nXlJ聹xV@Vn職聨V脠職聞脼K么b藕臅膶mV@膴聬職聨虏x脝I職聫V@脼娄母录脼Vl聨V脼nxln掳J聹k聜LXWVUVUVwnJVI@yn@lXlaXmWI@w聴禄ma@UmK@akKkXmW@_kaWakKW聧k@@K@I職W聝kUa聞聝"],encodeOffsets:[[119487,30319]]}},{type:"Feature",id:"3610",properties:{name:"鎶氬窞甯�",cp:[116.4441,27.4933],childNum:11},geometry:{type:"Polygon",coordinates:["@@掳V掳Un脺@n@lnLlV@b職V掳L聞lnLllVzVVXlV聞V@@L@xX@WlX聞m@UV聝L@V@n聞掳職kVmVUnKlaXxVb職nlU@lVVnaVI@aX@V聞職J職@V聞@b聞b@職Vb職聜@X@lUL@聨@VlIVm@wU聧VanL職alVnKnLVxlUXwlKVm@k@Una@mWIXKWU脹V聝k@a@UVWn@@kl@@W聞XlW@_Um@UVK@a聞LnalInWV@@xnI@楼聜K聞聴職m@聧kKm聝nk@mlI聞陇laXbVblknV@U聜KXVlUXa聜@@Unw@卤mU@ak_卤a@聝UJUI聝V聛KW_Xa@aWU聶職聛K@mmUVa@IXa@UWm職annlmX炉WKXwVUVw聝聫@聧XUlK@klJXa@k聝聧kmm@Uw聝w@炉聝W炉聛kw@WmbUL聝aUUU@mVUU聶WmkUb聶KmkkK@a聝kU聝炉楼U聝l聴聝m@akU@m職聧@KVIVV@KUkU聫VUka聝UWb聴聞m聫聝IkaVaUU聶@mW聶聞聛b聜b@bUlkb聜b@n聶K@b聝KXVWnULkKUV@LWKknlxX聨VLml@X聞聨@lULUb@xVxVLVlVnUx聛K@LWlXnmV@x炉X聶aWUUK@wVWUk脜莽m`聛@mn@bUx@lmbUnkL脟Wm@聛聬m職U@Ux@聞脝xk录VxVJ@聞nbVlmb聛UmLklm職kVlX@聜V聬聹職V@掳脼"],encodeOffsets:[[118508,28396]]}},{type:"Feature",id:"3609",properties:{name:"瀹滄槬甯�",cp:[115.0159,28.3228],childNum:10},geometry:{type:"Polygon",coordinates:["@@@VlbnK@b@J職LlUnx卤膧Xx脝W聞X@l職聬@V聞@@blJ@nX@聵xUbVVUbVV@b聴VmnmJ聹聞@bmbm@klUb聝Lmb聹職@lVb@xUX@bVVVbV陇@LVV聞bXlVw聜LX聧脺脟n@@V聞IlV職kUx聞x掳J@XlKXLV聫聞聛聜WnL脝K@b脠xUnVb聞ylXn@Vbn聜W虏XV聜LVVU聨nxWnnV@VVV職XVbn@脼職脝l聞I脼J脝k@K掳UUa聞mVa@UUU職禄@wV@V聝kkUKUVW拢U@UmW@@aXkVUnVlKVV聞UUkVmU聶@kWaUanU聞VVamIX楼W@@aUaU聧VW@_mW@UnIVVn@VbVm@bVL@anKVUk聝WK聞UXV聜Ikx聜@na聞bVK聞b@nVJ聞_V聸@聛Vw聞聜VUVVXUlUUaV@X@Vbla職bnKlkVaXa聝炉@m@U聞KVUn@W聝XkW@@w@KU@U聝WkUUUykkmK聝k炉K聶U@akUmK@k@mm脹炉V炉U@聜聝L聶录UKmL聛bU`mL聶xVnVb@`聴LmUVUUWmb@nU@UWULmU@KnaUUmU聞wmJ炉IUJWIkVkaWVUIUlWaUIUVkKmbUI聝脪lVUnn聨@VlLUJ@bUX炉@聝aWVUKUX聝KUbm@Uw聛KWa@a@VkUWn聶@Uak@mbX聞WJXbm@mL聴aWVk@聶w聝L@WmanU@knwWmkaWL聴KWUXa聝U@楼l聧聞UVVVbnw聝楼nKV聧聶禄@aUk@a@U聝J@k聝m聛Lma聶@mbUW聛nm@UL脟潞@LXnmxU聨m@UbkbW@@akLmWk@UXmJmUkV@VUXVlULmKUxkL@lmXnJ@X聜l掳Vnb@bU@Wb聛KUX@VmKUX"],encodeOffsets:[[116652,28666]]}},{type:"Feature",id:"3601",properties:{name:"鍗楁槍甯�",cp:[116.0046,28.6633],childNum:6},geometry:{type:"Polygon",coordinates:["@@職X職聶聞@聞m職@VIUW@U職KVb聞聧聞LlV@VVbU聨lUnLnl@bVL@V掳職UL@V掳@Vln_臓潞n@聜knKn職職LVU@聫Vk膴楼Vk@聶U聝聶禄Ua聝U脜LUalmkklWn@VUVIlm@m聞Xn@Vm職kVa@KXIV聶UWVw聜聶虏聧@m@U@聧VK@k@W聶聛Ua@聶聝a@aU聝聶@聶IU聝W@@bUJmbUU@kkV聶mUaWwkbmLUVUn聶lWbUbklmL聶akbUaW@U@VbkVWVUUUV聝聛Ux@聜U聹聝`UI@m聝aUL聝amb聛@lw聛JWU聝VXLl聞UVmL@bUK@aUnUam@UUmJ@VnX@`UXV聨Vb@bX@W娄nJUb聝UmVVbXb@lV職UnVl聝VUUkLmUUVWl@bX@VnV@X陇VUVLllU聞U@@x聶录VV@V"],encodeOffsets:[[118249,29700]]}},{type:"Feature",id:"3602",properties:{name:"鏅痉闀囧競",cp:[117.334,29.3225],childNum:3},geometry:{type:"Polygon",coordinates:["@@VVX@Vbmz聞xUlU@mbmL@V虏xVbUVVblbX@職V職kVyk聛ValKVI@bn@n`l聛VWnX@l聞L@聶WKn聝VIVa@炉nK@alIXJVIVWUw聜聝n@nU聵聞nK@alI@a@anKm_聶a聴聶W@UWmIUw聛mmK@拢UU聝mUUlw聛wW@km@kWaX聫聞aV@VnVKnXlK@aUK@UnwWUn聝mIUW@炉mU聞聫XI@alJV_n@m卤@U@kkKUlm@聝X聛amJ@UVUk聝mI炉Jm聧聛amVXL@V聸UkV@x聝X@`k_UVmJUX聝W聶录mL@bU@Ull聬X@VV@bVV@bnJUnlx@n聞聨m聞聛b@lW聨@zU聜nIlx聞@W聞聛bVV@bVJV@UxV@@X@VkLV么聛脪聜職n@@b@`VX@J"],encodeOffsets:[[119903,30409]]}},{type:"Feature",id:"3603",properties:{name:"钀嶄埂甯�",cp:[113.9282,27.4823],childNum:4},geometry:{type:"Polygon",coordinates:["@@VWnL@UVW聜LXaV@@ama炉U聛k@WmInW@klKVwnLVKUkVW@UlUnVnIVWl@nXlK@bX@laVan@V聧nwWm@K脠鹿VK炉m@kmU@聝聝楼kI臒@WKU楼聞@V_VW@_職K@aXKVL@Ul禄聛mWLkU@am聶kJ聝聛m聫@聛kmU@@a@UmakwU@聸聞Xl聝@VXk`UIW录kWWX@聜聹聬@l聜xV娄XlW@Ubn聞@聨mUkL@UmJ炉UkUWVUa聝U聛lm@UXWl聞nUJ@LmLU聵nXll@bUVUUmVUn聞聨@娄職xl聨nn@V脝脠U掳kbV聞VxllnL@VnVVUl@V聞聞anL"],encodeOffsets:[[116652,28666]]}},{type:"Feature",id:"3606",properties:{name:"楣版江甯�",cp:[117.0813,28.2349],childNum:3},geometry:{type:"Polygon",coordinates:["@@@XV@nl職L@lUn職聞m聨@Ln@@VlV聞@@VV@nwVI@V聞Vlx@bknlbV@nmnUVJ聜_虏聜VxVL職w@m職炉@脻XIm聶nUW聫聝aUwkL@wVKlKX聛mw@卤@U聞KnUlL聞a聞KlUl脟XkmaUw@U@a@U聝聫聶UkwUJ@zWJ聶w聛@WbkVWU聛L@VmUklUaWakb聝拢kJ@nmln聞lL@聨聶n聝聵聛L@娄mJ@wU@mXkJmb聝K@bUL@VVn@`kX聝W@Xk@@lm@UX@V@b聞l脺UXVWLXJ@nmb@V@l"],encodeOffsets:[[119599,29025]]}},{type:"Feature",id:"3605",properties:{name:"鏂颁綑甯�",cp:[114.95,27.8174],childNum:2},geometry:{type:"Polygon",coordinates:["@@m@@WULUKWw脜禄贸k聝akkWK@bUVUIUamWUbUL聝a@KUa@聛mJUbmUXU聶mUamImakKmLUb聶VUam@@U聛L@K聝Km聶UUkL@`mIUb聶@U聞@V@bVl@b職录U聨mL聞娄mxUaUU聝Vk聨@娄聞VWbXV聵LXKlbXnmx@lmVnb@X聞K職xl@XU聵bnKn@WaXIW聝nal@Vb職@XmlV@U@bXb聜LVxn@Va聞LVWVLXU聞b掳@VW@aVIkK@Um聧VmkU聞脩VJnalLVUVJXbVkVJXUlblUXJVI掳JnI"],encodeOffsets:[[118182,28542]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/ji_lin_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"2224",properties:{name:"寤惰竟鏈濋矞鏃忚嚜娌诲窞",cp:[129.397,43.2587],childNum:8},geometry:{type:"Polygon",coordinates:["@@Wx牡聞m職@聞贸陇V聬X@@x脺录屁職虏xWx聝V聞V@聞XV聝聞聞聞聝bW職Xlla脼U掳膴聞@么录聞L么脻Wan聧V楼聝脩n膲掳楼職脜X楼掳炉@w掳w@禄掳聫k拢掳m脠殴聜m脠b脝聝艓娄聞K掳z@聨kxl娄UbU陇職職職klV聞K扭脼劝@@b職V@nVVUl脼娄lUll聹VlU掳脩U炉V聝掳w聞bXxl@V聨虏聞聵@n聞么录聝贸掳聶kmVk虏臅聜w@wV聶脼聫脼@@聧臓聝枚禄聵炉聹@聜聞職bnb掳m脼炉掳V掳聞脠Jm聛X楼mam聶U脜聶聝U聝laU炉聶聝@w聶Kk聴l卤n@@w聝k脻VUUl卤炉I炉b聶a聶l聝@聶聧kLmakb聝@摹聝殴茅掳聶脼b掳聛職茅k聝聝Lm聶聞wX聶聜a脜b@bVl聝bVb聴脪VbUb聸UUanw聝akbV聨UV聸ak聞炉聞U聨聝LmxV掳Uxn么呕X@J聞Xkl聜bkb膲a聝b聝WU聞聝@聝k聞WUU炉@@klm聝@@聶聛脜@a聝wW聫X聧lKkI@聫WbUaVIUanU聝聝@臅聝聧炉K聶聞mUnWUwm@聛拢膵猫kUmbUmm@@nkJUalwk@@nmWUan_贸aWmnw卤K聹I聝wl@Um聝I@an@@mlU脜mV_聶KUk聝@U`@_聝KU聫mU聶@U炉聶mmb炉@kb聶ImV炉聝聝Lkb聝K聝聝脹@脟n杀J贸a脻蘑kb@聞聸x聴脪脟ll聬聹@聜聨虏V聜聬聞脝UVV聞U聬脟掳X聞贸xlV炉聞lV@b聝V@n聴x聸@聴陇@聞葯艓nxV录kn職J聜n職KX掳聵娄Ul聛nVbUb脝Vn脼WVX娄ll職b@l掳聹VJ么脪nLVb職bX聨"],encodeOffsets:[[131086,44798]]}},{type:"Feature",id:"2202",properties:{name:"鍚夋灄甯�",cp:[126.8372,43.6047],childNum:6},geometry:{type:"Polygon",coordinates:["@@么l聜z職a脠V掳聞職K@聞m聨聴LWl聶n聛職VxUV聜脠@聨脻默U脠n聜么L職a聜聞虏Vm膧kV@聞臓膴nU@b聞V@b聵@nl掳UVn脼a么J@b職聬聶V聞娄mlk職職bmVXx炉@Vxm聞nb聝聞職b脠K聜V@b脠L聞w臓y么n職mnb脺@nn聞V聵x@n虏K聜聞聞J@k聞al@nx脼U聞L藕卤Vwkw炉LWWU聛職聶k聫艓墨Vw聝w聞聧掳y聞聬V臅掳w脠Vlk脹禄@wW@U聫么拢@聝n聶亩聝XwW聧聶aUamK贸脩UI炉聸@k聶akkW楼XUm脻脜UVaUa聜mVk聴楼W炉聶L聛m聶IlmU禄mw葰艒@聝聵拢kJU聧脟k@聫聛am聛炉y炉UVw聝a@w摹x聛娄聝K聝聝炉X掳膴炉娄U掳膵WUL脜a卤b炉@Uk脜Wm聛V聝聶聝kIUl贸聨膵鹿聶`贸I聝lX聞W聨Xxmb聛U聝L脻聫聝b僻@聝x炉b聝脠聴l@x聝職炉z聝a脻陇@n職m聞VWb虏bmn炉J炉脪@n聞職"],encodeOffsets:[[128701,44303]]}},{type:"Feature",id:"2208",properties:{name:"鐧藉煄甯�",cp:[123.0029,45.2637],childNum:5},geometry:{type:"Polygon",coordinates:["@@贸聶签艁@WlwUa茟w脹脜脟茅膲am聧聛K聝聛艒脟@I聝聶么摹V聝葋脩殴莽聝聶脻U僻膵膲w贸贸脻@茟禄臒L炉ll虏@茊脜V@娄m聜脜b@nmlU虏Vx職lUn聶@VbnW聞b脟bk脪聝職聞n@猫lnl職U脪聞聨掳L職x@录膲b@脪聞職U聨膵x脜聬聝猫nLVx聝脪聝b脜J卤a@_脜J脜n聝聨Vb聞Kl聞nU脺膴@聞U職聶xXV脝n聞m職V職聛職J脼炉V聶臓w職聝Xw掳xWL聞x聞KV娄么U聞wV脻乾贸脼脼聶录聜聜聞脼k聨V么葮x脼聞U聞lVn娄脼職膴a掳w聞b掳@職b脝w聞l扭L虏`聞z掳@V@@聶nJVnl@@楼nUmmn聧聞@mwnmmUnk@mlwUa聝Ln聝聸wn炉掳an聝WakI聞聝脟mXw脝amUXUlJXa聜UUklKUknm脼V@聛聜K@聧VW脼@VkUwV聝"],encodeOffsets:[[127350,46553]]}},{type:"Feature",id:"2207",properties:{name:"鏉惧師甯�",cp:[124.0906,44.7198],childNum:5},geometry:{type:"Polygon",coordinates:["@@聞職藕猫葌脪U聞贸蘑聞職@J艓脠聞聜聜Ln聨膴b脠锚脺脝茠xVbkx@X仟艂么職聞k脼`聞聛職W聞b@n掳a職b職K職nVw掳`職_X`W聞職娄聞聫膴IkmV聧職akw聜K聞x掳U脼b聞U@l職聝l@掳娄聹VW聞職a脼b職x脼I@mVI@聝V聫k脜職UWK聞楼nL聜a@聝聞@脠聧聞@掳聝脝@nU@K脼alkUwV茅kUWw聞聶kU聸Vkk聝Jk炉@禄贸k聝V炉脝脟I@b膲么炉@聶聫姆w炉nmm脜L炉w聝V聝U脼y@U贸w脟Lkmm@@U贸xkk膲聫mL炉wVwkWWX聶m聛L玫m@k脜卤V_聝聝么禄脹聝脝炉@聶Va聛聶V聧職a臓V聛聧lm臒w姆U贸脻平拢脟Jkb谦a平LW@nx脻陇kz聝y炉X蓞m@V職么脟X炉臇炉潞脻nU聨nLVlU脭mV"],encodeOffsets:[[126068,45580]]}},{type:"Feature",id:"2201",properties:{name:"闀挎槬甯�",cp:[125.8154,44.2584],childNum:5},geometry:{type:"Polygon",coordinates:["@@聞U掳x脝Knn掳m母x職聬掳@膴贸@a脠J掳脜聞U么l@录l掳聞Ill聹UlV聝職XxlVU锚Vxklln脠UVll@Vx虏I脼陇VUlVnI么l脼聝lw么_聞聸聞bVa亩LX脜脼脟@K聵炉@w脹a聝莽n楼職炉W聧XyW炉Xw聝Umm脹@ma聶n贸m臒z聝x脟K@a聛U脟L聶a聞聝man聝Uw掳@WwnU聶al聶nk聝楼職U聶聫@a贸I脻bUm炉Vmk聴@@a聝U@amV臒膲@聝lUn每卤U聛聝聶b贸Km聛V脟脼墨@聧聛脟VUUw聜聶職mXk聵Kn聧@聝聶L炉聝脟U聶b聛y贸k艒猫@b聜n@l脻X@x炉么@脝聶U聛聫V_maXm@a贸聛聝JWxnX@聨VVn臇VnUJ@n艒脝脟录V录kx聝Lkl脻w@x聝x@zV`脜bmx聛U卤xU聞nnm聜kn聜聨臒U聶bU聨聜職Ub@職脜掳脺聞贸录聞聞U`脝虏@l枚n聜K職nXWlXUx掳xnK膴聬ll么w@Vn@ln脠K么x@V脻z聞V"],encodeOffsets:[[128262,45940]]}},{type:"Feature",id:"2206",properties:{name:"鐧藉北甯�",cp:[127.2217,42.0941],childNum:5},geometry:{type:"Polygon",coordinates:["@@U職l娄k脪脝掳聞Il脪U陇么z聞录lJ職聞U聞n聜脝XVl掳@虏a脝bVK膶XV炉掳楼炉膲掳W聞聞聞L聜楼蘑w@x聞bUx掳V掳zn聜聜b@聬脠lV聨lI聹@聵w@m聞U@akU掳聝kU么wW聝脠炉V聫U聝VU聝脜聛聫卤U聛聧聸@k聫脠k聵脩聹w@聝la脼摹聝U脼拢@茀聜Kn脩蘑炉@W聜aUaVUVkkw@a炉聫@炉聶聧脻聶聝VXnW@@WkXmK@xkKUb@bW@Uw炉聞mm聛b@聧WKUbmU聛bUaWb聝J膲IVW@I聴l卤Lk職mU聶bUm聶@聝nkKWa炉n聶@聞`Ubma聶聞膲L@b脝職聴@W`聝L@n炉聜Xb聜@kb@x聶L聝聞聶@V聜kL卤聶聛聶mlUIU楼mL@l脜x@_la聝聝@U聴a聝V@kmm聝K聞拢聝聝聛L聝聝mKUn脜KVbm聬XVl猫膲UUbml聞蘑脜陇聝Il聨炉b脟娄聹l聜@么录蘑聞@x掳聞l陇聞n聞a聞l@x聶b"],encodeOffsets:[[129567,43262]]}},{type:"Feature",id:"2205",properties:{name:"閫氬寲甯�",cp:[125.9583,41.8579],childNum:7},geometry:{type:"Polygon",coordinates:["@@脝lXn臓x蘑掳l脠掳職聞K聞掳kXm聜@娄Vbk聞扭J職n脻陇k聞V脼VVk脠聞b掳y聞聶@w聵k聞脟掳a聞w屁@聞a脼聬聞K聜VnaWwX聧W聝聞k么J職_膶潞么聧Vk聝禄贸yV拢k脩聝J脜炉l脩k楼V聶職a@w聝k聝b聝mk拢炉聝@w摹聝贸禄聛@聸k脠楼掳ak聧聞J脝拢聝摹nkVa膴Vk莽WUn聫Ua脝LVmnL聞聞聜KU聧聶卤@聴聞m@a炉U聞bmV炉m@_聝K聶聶U聶聝a聝脜聶W贸鹿聝@UanmWak@@wmI@y聛聧聶@mk聞JVa聶@Ua聝IkJ@n聶@Um卤kkx聝m聶Ik聞聝b脟m@聨掳bXn聞V@聨掳脠ml脼录炉XV潞炉Lm聞kWW聬XLmVVlkn聝@@l聛nW脝聶聞Vx聛bm職n職m聞炉l脻aV脠聛猫@录V聞聞b聶聞脝聨掳脼UV職J聞聞kx聸I聴x聝聝聝IV陇聶脪Xxmn"],encodeOffsets:[[128273,43330]]}},{type:"Feature",id:"2203",properties:{name:"鍥涘钩甯�",cp:[124.541,43.4894],childNum:5},geometry:{type:"Polygon",coordinates:["@@蓡n掳W聞zly脼拢mwX@凭K乾bla脠I凭陇么脼母V臓xn聛mmV聝虏w聜Vnw脝aU_@y聞w@w脼xlk聞KlwU禄脠禄艓脜@mVIUmm臅UU@聧mWXw聞I么聜@bWnnbU`聜聬職V@脜掳贸@w脼W@k聛m@a艓莽聝聶@m掳脩掳Inm卤aXa聝U聶n@m茟職U娄@職脟聨炉aU拢職aU聶摹娄脜脪聶J艒U呕贸kU脟@聶楼炉ak炉mUVak@@a膵莽脜aU聝m娄脻`Xb脝聞@n聛`聝I聶x膴脼艒脼ml@職Ub聛@Wl聶_炉Jk職脟U脻脝脜b@n聶聞llUb炉聞卤a@聝聴聝W聧膲J摹膧炉聶Un贸職m陇聹x么aVn聝x么I@x聞V@bm脝聶聞@lnLm脼炉脼聶xVb炉镁"],encodeOffsets:[[126293,45124]]}},{type:"Feature",id:"2204",properties:{name:"杈芥簮甯�",cp:[125.343,42.7643],childNum:3},geometry:{type:"Polygon",coordinates:["@@偶么艓V職I脝脩蘑楼V職聶bV陇掳b脠聧@聶V楼茠聶脼拢l脟UUU脻l聝脼拢聶m牛Il聝Ua@楼n聛lW聝炉聝L炉聶k脟摹炉臒wWm脜k炉U聝VU聞聞bWlXlmn聝bUx炉xVVknl聨UbV聞脟KUb@聞聶VnbmlnzU潞卤b聛聛mJUbW脠n猫m脪聞職@聬X`WL"],encodeOffsets:[[127879,44168]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/liao_ning_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"2102",properties:{name:"澶ц繛甯�",cp:[122.2229,39.4409],childNum:5},geometry:{type:"Polygon",coordinates:["@@聜I脼mVk@wXW脺bnwlLnU聞@聜聫nLlbXW@a聜wnbl@XL聜a職@膴楼@LULnJ@xVnmV@VXXV@VJkn@V脺KXX么Jlb聞xl@聞IVbnJVLUbn聜lnVw聞JVU@聝XU聜aUUlwn@掳聝n聞VKnV掳_VJ職wl@nwlV聞IXWlIVVnK@IWmkIVaVU@W脠UlmU聛@U聞WUalkX摹呕@kI聝禄mm聶ak聛Um聸膲U艁V禄虏摹V臅@aUU貚I蓛`葍@聛k聝w@聝U聝mw膲聛聶@聝W姆脩聛I膲聫脟b脻Lkymb聛I聝w脟m脹bmbU聞炉脺玫脠k脝Vb艓xnXV脝n職仟娄聞b職陇U職聶x脻n膲脪m膴V脠聞陇脠職聞b脝录聞膧聞聞脝脝脼聞藕b聞VVbX聞聜掳虏陇"],encodeOffsets:[[124786,41102]]}},{type:"Feature",id:"2113",properties:{name:"鏈濋槼甯�",cp:[120.0696,41.4899],childNum:6},geometry:{type:"Polygon",coordinates:["@@na@UVI@m聞脩W聶kaV楼UI@wl@聞a脠b職m@wVa職k聞@@K@k聝聶@a@UUm聝UUalmU聛@K脟U脜卤炉@卤kUKVkUa聝a聛U@楼m@@炉k@WLUmkn@mmIkm@amU@wVmkU@Klk@U聴m聵aXIWWUL聶aULVb聝mk@UUmUk卤聶_Uym@mbkImaX炉WW聛聧聶xWK聛zU@W聝kJWwkV聶@U聛m@UbVVVVXb@VWX聴@W聨@Vkb@V聶nUK卤aUUlwX聧聶脟WKknU@mmUk聝LUV聝VUUV聝Ua聝w聶bkKmwnI聝聶kJ@nmb聝`聛kmVkLWwUm@UUU聶K@UmaUa@UUaWK聛@mU聝聧炉Wkk炉VmUU聨聞xVXUVmL炉ymXkWUbmXUK聝VknWx炉JVnkL聝l@VVxnxl膧VL虏WlX聞l@b脻VUn@bnl脺aXblIVl@職職@脠娄@VmbXV聜@@x聞VVnUn@`掳@VnXU@K@聞VV@VmbnVn@ln@b聞x聝掳Ub@b職LV`脜n聝聞W@@lU職nnWVU@Vbkl@Xl`XxV聞Ubl聨kX@聨掳娄V聞UVVbUlkV聸@UbVbkLUxmJkX職職@b聜b聹xVK脝lXX聵bn聨nala@聝Uk@U聞VVklKVUXKVU掳KVan@VUnL職KVL聞WVaU_@mmUXa@m聵wXwVkVWXk聜k@聸聞k@klm@wXKl@U聧@KVUUUVaU聝V@聞alL聞xUx@b掳掳VnnV職xlIXJmx聞LUVlV@bnX@V職b聞aVx聜@XJ@b聜n@V聛聨VX脠聞l@llX@lU聞V么掳掳@脼聞Vbn@聜V聞k聞@VW"],encodeOffsets:[[123919,43262]]}},{type:"Feature",id:"2106",properties:{name:"涓逛笢甯�",cp:[124.541,40.4242],childNum:4},geometry:{type:"Polygon",coordinates:["@@lzXJ聜U@職虏x聜@@V職聞@bUVmKUn聞掳n@lnVK聞聞nV@n@VlV聞掳WbXn@聜Vz聝J@娄@bkb聜bUl@bkb聝J炉z聝WULWbklV聞nb聶娄VJ@聞聞K掳U聞kl@@W聞bVn掳@聞V職m虏U聵nX`聞U脺LXmVXlKVbUVVnUbn聵聝X@VUL@lUbWx職@虏kl`n@V聬lb聞@nUVWVLVU@aV@虏bl@脠m職xWX聞V脠U聞JV聞l@聞聞la聞WnX聜K脠k脠@Va掳b脝m聞@XV掳IVV掳Unal聝VUn@UwVU聞@@VVJ聞I@bl@XK@wWmXU聜UVbkJVXnJVI@m聝knwlKXL@`l@VI@UUaVK脼n聞aVm@a脟拢XW聞U@a脟UU@mbkKm拢聶@聛WW聶聝L@聧@Kk@kl聸U聴bWKUkUU炉U玫聫脹聝mUUaVU聞U@WU_W@kVkJ聝_WKkV@bUL聶炉炉聝卤mk炉摹聝臒脩@Umw聝KUa聛k聝聶聝a@a聞聧m楼脻聝聛IUWmk@w聶聫m牛聴L聸K蕽b葪KW蘑klVb聝X@VV聜kn脟V@XUVUblJXn@J"],encodeOffsets:[[126372,40967]]}},{type:"Feature",id:"2112",properties:{name:"閾佸箔甯�",cp:[124.2773,42.7423],childNum:7},geometry:{type:"Polygon",coordinates:["@@XJm@炉職mXUl聛nVbUJ聝U@bV@UJWL@VXLmJVbkXlJXxVL@b@V@n@b@`Vbk@lxknV@VV聶V@bUL@bV@@bVK@VXLWLXJ@LV@nbWJ@IUV聞x@LVJUXVxVx@VV@@LXJWL@VU@@L@VnL@bVVmVX@@VVInJmbnLWVnVULVVU@VVm聬X@@JVz聜l@聞nVVKVX脼聝@mk_lm聞UUWV_nJlU脼脩脼VVUV聝VL聞UVJ@I聞Vna聜@@KV@XwWknwnKlalU聞w聞a膲脻職w職Jl_@aUa聝KUUU@WU@WXU脝@@UVK@聧n@UnVV職blK@b聹llb@b聞bW@Xbl@UlnLl掳掳b職娄nKlVnI聞V@UWU@WXk聝w@am@nm@aVw@I@KUaVIm卤X脩lknJVnVJ職aX_VaUaVKmwnkmmn@lU@U@mna職XlKUmUIVmk聧laUK@UlUVU聛W@U聶kVm聶a@UUU@JmUU@@bmb聴KWV炉XUKm@ka@UVKVk@aUKmLkKUU脻UmbXb脟J@k@WU_@m聶聶@klm@UXKVaUI@KWUXa聝聧脟W聛k聶aWUkWUL卤U@lU聬U@聝U聛J聝I@V炉JmIm@@aU@Uw聝a聶@UV@VkI聸V炉aUk聝Wkb@bVL聞@@VVVUXW@Ua聝@@b聴聜脻bUV脻聞@聨聝LmUkVUbVllLUV@L職職X聨WbUXm@U`@聞kxlnnJlbnIll職LX聞lVlUXmVK聞n聜V@L"],encodeOffsets:[[126720,43572]]}},{type:"Feature",id:"2101",properties:{name:"娌堥槼甯�",cp:[123.1238,42.1216],childNum:5},geometry:{type:"Polygon",coordinates:["@@葰膴脺掳聞b聞L聜l脼xUbUn卤聜@脠nV脝L@xnL職lUV聝b聝xkImJkn@V卤LUxkV@b職b職KVKnzVl@L掳@Va聞x脼Ulb么xVV聹@@V卤bn聨@聬llXL聵聨枚X亩聨nal@nkVJVI@aU@@aVK@a職UUUU@lmkwl@Ua@_@a@m@U@aUKWwkIlWUanIWK@UXKVIU@@a聞VVIUa聜mVknW掳聶n@WI@K聛U聝mULWnkVkUW聝聶KkkmJkamIkmlw@聝V_n@VWXaW聧聶聶@KVUkKUkValUnV聞K@聧脼聝VU脼a聵聛@a聞@VbX@VWUU@U聝@UK@ala@IkKmUUa@U@聝V聝kk聶WVwU_@K脺UXbl@V楼XUVm聝聧聝聝Xa聜k脜聝l聫UUkIm`UIUJW@UI聛Kmkm@聛UUJ聝ImmU@聝VUXU`mIUbUK@L聝JUU聶l@X聝@Ub聝J聶kU@聝聨n聞m@Uam@@聝聶aU聧mL聛K聝w聝聶聛mWXUK@kUa脟a@JUIUa@a聝KVU聝UXm聝聛Uy聶_@lmbkLUKWLX`聜n@bVL@JXL聞聜WX@Vnb@Vm@UbnVmL@V@x@LUbVV@V@L聝UVl聛@mb炉U@xU@UVVV@X@VVblJ@bn聞VKUn聞x@lln聛L卤陇聶b@聬k`VX脝K@聞kV@录kl@bWIUl@VmLnbm@@JXXmb"],encodeOffsets:[[125359,43139]]}},{type:"Feature",id:"2104",properties:{name:"鎶氶『甯�",cp:[124.585,41.8579],childNum:4},geometry:{type:"Polygon",coordinates:["@@聞XVl掳b聹UlJ@UVU職@聞bVxV@@bn@nJ掳I@U聞J聜I聞VV@V聫@k虏VVKlXXV職b聜l脠X聞聨WbXV@LVJUbWL@Vkn@l職職@nV`@X@l脠IWana脼VVVlLnKVL@bUlUL@Vlbn@VL掳WXU聵Lna@aV@nV@IVV@V職bUn職l@V聜XnKVa@U聞UnyWkXa聝aVk@a職a職bnm@_WKXmWanU@alaU聴l@XJVLVxX@聵wnKnVlw聝聝聶@V_@a炉楼@UkKWU聛aUU聜anK@I聝aU聧@WUaVw@klUVyUUVUU脟@I么b職a@mnUma@kXa@UWak@Wa聴l@a聸聛@W聛U聝LmU聛@U`mIUU聶`mUk@@UUK卤nkJ聝bUam@kwm@@a@UU@Ua@聛@K@聝VK@kmKU_UK聝UUa膲WmkkL@`聶L聝nmlkLkbmK@k聶@Ulmb@b聶聞@聨聞xUV聝IUlmVXX聝xm@聶JUUk@WUk@聝akx卤@炉x炉Umb聶KUUVmUU炉UmVVn聶Wk聬脝聞聛lWb聞聞聞聨UnWVU娄k@Wa脹V@LV`Ux職XllU聞@聞@VVbnVlL@J"],encodeOffsets:[[126754,42992]]}},{type:"Feature",id:"2114",properties:{name:"钁姦宀涘競",cp:[120.1575,40.578],childNum:4},geometry:{type:"Polygon",coordinates:["@@ll掳X聞聨nV聜@XLVb@VVbnb@V職LVV@VVnXxlKnU聜l聞_na@mlI聞職mJnxlL職a聞xVbU聞VV聞UVU聞KVlnnV@lmXL職脠W聨kxVV虏bVL職m@Ula@UX聧聵@XW@UWaUUUUVan@V聜職@lUXxlIX聞V@聜yXL職w聜聨XXW掳nblJnan@Vz職`l虏nVVVl@聞nUaVK職bVKnXVaUaVU職y職nXK@kVK聜@X聛@m@m聜LXa聞LW聝U炉聞w@聶聝a@UVw聞楼掳聶贸炉炉y炉聧聝聧U脟炉禄聸w炉I聝m聴炉脟聶UUl聶炉禄牛K膵脩牛聧姆m炉w@mU_贸mk录VnU`卤IkbVl聝nn聨U录卤Lk`@X聶Wl娄UbmVUxkXVlkbllU聞Vb@bkVmx@XVV@J聛b卤aULkKWXkWmX炉aUJmIkVm@聝xU@n聞"],encodeOffsets:[[122097,41575]]}},{type:"Feature",id:"2109",properties:{name:"闃滄柊甯�",cp:[122.0032,42.2699],childNum:4},geometry:{type:"Polygon",coordinates:["@@職Xnb掳l職聞VlnXVJ聞LlVnl@z脝xnK@b聞blKVLn@@V聞aVLVK@L@Vl@XVVInVVKVwlUXwlK職L聞職職VVb@aV@X聞lUXbVW@n聞lWnXKV@@V@XUVVLUVV@@bVVV@@ln@VbVUXV聜I聞xVanJ@U職IVW職L@UV@@陇V@nInw聵W聞k聞lnIVx聜lnzUV脟J聛娄VV脺L母UnW@aV_職W膴XXa聜Knkl@nm聶L聶a@alUVw虏K@UlmnIlJ聞w聞aVU聶kmK@w脜KmU@脟虏聛VmVa脻w聛k聝K聝a脹炉葯膲姆楼臒楼聝@kUWk茝墨脻聝聝@@akU聞K@KWIUm炉n聝U炉JmwUVmIkJ脟L聛m@聶UImJUU@aW@U@@nUb聶J聝a聝bXVWn聛@UVmX@V@b聞職@l@L聝@聶lUb@x聶n脟a聝bk@@xVJU娄lbX職聝脪@nUJ@Vmb"],encodeOffsets:[[123919,43262]]}},{type:"Feature",id:"2107",properties:{name:"閿﹀窞甯�",cp:[121.6626,41.4294],childNum:5},geometry:{type:"Polygon",coordinates:["@@nJ@nlmVnXKl@@掳n@@娄聜V聞bVbUlVL虏l掳@脝虏脠V@LV聜knVb聞VVnnWVU聜@XmWU聞a聞b職IVa@mV@X@@bVVnIVJ@職聜n脠KlInJVUnx掳I聞V掳mVnXJ@L聝LlV@b聞@脼聞茞默XllV聞@臓娄母娄naWW@In@manK@UVkXJ@alk@禄lU@聝脜LUWl_@聫職a虏拢聜Kkm@k聝wVmULm聝@akIUa@U@WUUVU聶a脻@臒聧聸wk聝聝m膲拢UW聝@@b脟L@m聴a@_mK聝l聝XUw聛K聝L牛脫@UWw@K@U聞I@m聶U@UV楼聞@掳UnJ掳@@_聶KUw聝W@UnaW聧UmmI@m聛聶姆wUa脟L贸V牡w脻聶UUW聶炉職聝娄Ux@V聞b@職聝xV掳X聞聝KWb聛K@n@nW聜聛@UL@lWL聶m聶zUVVbUbmWXXWJ聴b聵n@Vkl@LlVUn@xnV@bln"],encodeOffsets:[[123694,42391]]}},{type:"Feature",id:"2103",properties:{name:"闉嶅北甯�",cp:[123.0798,40.6055],childNum:4},geometry:{type:"Polygon",coordinates:["@@l聞聹x臓聨脼@職bV@@w掳Vna聜@Uk聞V@K@UUUVa@K@w@UnKmUVan@@Uma@UXW聝聛WK@IUK@a聛mW_XKVLlKna@kmKVak@VU聞@Vm職U@anI脝an@聜a聞職UVnb@blLV`脼LlU聞bna聜Kn@naVU@楼掳IVK@anUUKVa聝UVak聛聶@mJ聝kX聝聶UVwk聝VUUa掳U@W聝聛@WlkXWlIXUlJla聹x聜IVVXL職ll@nLV@lLXl聞K膴z職楼maU聝lkXaVK聞X掳y聞Ila@aVk聛ala@a@楼聞IUy@聛WmXa聝炉kU@U@mmU聝聝ULkmm@聝炉VmnLVU@a聶聝@U聛@卤w@聶聛VWIkymLUUkJWX聝JkUmxk@聶xUI炉`mUULm聝炉聞m@kxVV聛bWV@聞UV聝IUx@bk職V職VV職xUbVV@V@z職JVXU聜lnk@@lkL聝l聝LUU卤Jk職m@UIUV聝LUVU@聶K@U聝nnV@l@Ll聞聝aUJ@zn`@nWl聝IUVUUUV卤Ln聜@nmL@VUVkLVlUxVLVl脜Xma聶@@akLmWUX@JUnVJVkXJ@X@`WX聞VUVUIlb聞W@bVUVL@`Un@娄U`@bUV@z@Jm@@XV`聞LUL炉J@IVKmK脜I@J聶nWVnLn職VxV陇聶z@bmV@VUV@bUL"],encodeOffsets:[[125123,42447]]}},{type:"Feature",id:"2105",properties:{name:"鏈邯甯�",cp:[124.1455,41.1987],childNum:3},geometry:{type:"Polygon",coordinates:["@@lb@Vn聞lnVVUb@職VJ@nnJ@bmXUx@xVbkbk聨WLUxnl@Ul@聞xWx@nUV@录Ull聞knkK@bmbnl聜LVJX@VIVJn_lJVV職XUmnU掳VVVUnVV職Lna掳V掳w虏@lw聞bl@XVl@VV職In@聞wWWnUVk聞JVU聝w@聧職聝@anaVk職@@lnLlalKnk聞m職K@_lKnl膴XVb聞VVLV`nL@lUL@聞@L@聜VbV@@V@bn@lxn@Vb聞alI虏mVL@Vl@nV職_VVnJV_聜@nV聞K聜V@X聹聜@b聵kXbl@XblylUUk職聶@聫Xa@UVIlK@UUWVU聞Llm@UUUnKWU@K@UXm聞XVa@U掳KVUUWUk@a職UVKkaWk聝KUknaWa@U聴聫@聧m@m聧k@聝aUJk@@_WKkLmx聞l@nUJmIUWlIUa聛VWVXn@xWLk@@a聝JUI@U聝@UVVxm@UVk聞mb炉VUU炉JWU聝@脜n炉aUb脟@脟l聛LmW聝Xkb聝聝k@U聝聝I脟V聝UXW聶w脟nk@卤aU@@bUVUKUXmV聝@kaU聫m@k_卤l聶@XwVa@kVK@U聞Wm聴VaUmVUUakLUWWn脹K聝VW_聴m卤V聶n聝U炉@Um聝a@Xk@聝l炉V"],encodeOffsets:[[126552,41839]]}},{type:"Feature",id:"2108",properties:{name:"钀ュ彛甯�",cp:[122.4316,40.4297],childNum:4},geometry:{type:"Polygon",coordinates:["@@膴臇脝聬n陇聞聞掳膴炉艓W職么聞@xXb聜wnKl@nX@VUV聝KmL@VU@Ux脻聞@Vlb聞x聞U@VUb@b聜k聹`聜IUlVUn聞V@@UV@@JnXlK@b職@nb脝WUkUKVwUklKVU@UnK@mm聛虏KVUVVVU聞JXk@mm_@yVI聞bk聝@K@kmU聞m@V職LV@VU聞KVUVJn@l聶虏IVV聞K聞klK@kl@kmV聛UW聶I@y@UUUVa聶wUUU聶l聶@akmm聛VaUKmIUa聝Jk@聝wka贸IWW脹L@UlmUIU@WW@UnUUm@wmIVK@K膲娄聶@聛bWKk@ma聛x@bWXkamK聛聬聝@mVkKmx脹aWX@xUl脻n聛J"],encodeOffsets:[[124786,41102]]}},{type:"Feature",id:"2110",properties:{name:"杈介槼甯�",cp:[123.4094,41.1383],childNum:5},geometry:{type:"Polygon",coordinates:["@@職`Vz聞聜Wn聞VUV聞L@bVbVJ@I脠bVb@lVLXW聜n聞職聞x聜LnKV聨職b@聞n@Vbn@m聝聞聧V@職l聞IVa聞@@W職kVV聞I@KVLVanJV_VW聞UV@nn聞JVI聜Vn@na@alLlmk聝Vk@禄VU@mXw聝wk@@VmkVwXKl聧laUa@wVwnW@amI@mUI@聶VaUUkmm聝@Uka聝L@聝UI膲y聝LWkkKU@mKk@聶kWKUU聛J聸wkbkIWVkJWXkl@X聞聜@X炉VVbUVl聞Ux職VW聞聞lnI職@l聜Ub聞VUbVLmV@bUL炉J@娄UVmbm@聛Lmb聝akV脻KU_kK@amaVU聝聶聛bm@脜bmJ@b聶VUn聝@UVl@UbnL"],encodeOffsets:[[125562,42194]]}},{type:"Feature",id:"2111",properties:{name:"鐩橀敠甯�",cp:[121.9482,41.0449],childNum:3},geometry:{type:"Polygon",coordinates:["@@Vb母x聜職@nnJVnX聨mb@V聞XVx職L@`炉@mI炉V聝@U娄@V職V@n聝J@V@LXx@V扭脭聞K聜LVx聞W聞knL@`聵b@n脠K@a聞@VX膴陇聞nVK@aVU@UnU@a職yU拢Uwm聶mKXU職m@I脝JnLUL@J掳IVK聝KU_@Wn@@I@yVU@aV_@楼Vm@_UKUV@a聝XkaVJVU聝UXW@_@WWIUlUIVm@IVW@IU@@VU@m聝UVVk聛J聸_聛l@aVa@U聝V聝wka@U脼聝VwV@@UnK聞LVU@UmWk@mL聛xWa@w贸聝UVUI脟脝膲娄炉娄炉x薀J"],encodeOffsets:[[124392,41822]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/nei_meng_gu_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"1507",properties:{name:"鍛间鸡璐濆皵甯�",cp:[120.8057,50.2185],childNum:13},geometry:{type:"Polygon",coordinates:["@@聞m@艁k聝聶聨聝kl聝么聝@拢kJ掳媒聶蓞姆脩贸陇臒L膲脜l脟臒艁W炉炉聸聶匹贸每lwk牛脠茅脻茮贸聶掳脼脜xV陇膲臇W茠炉l拳牛蠀虄杀每姆茀藡臒杀艡脻牛蠙葝僻膴牛@炉kWKUKm鹿脜@姆JU@僻脩僻聞艒楼斯茊@L@聞脼聜VLn職@V艒膶WJX娄@J呕bU@牛脼mVU@葋媒贸bkWWL聝聝脜聧聶炉UW摹聛km贸聝卤U殴么V录平录聝艂胎臇平乾蕢x膲聨呕聛葪K螘虥实屁薀脼斯禄僻聬牛禄菚艒朔葘卤葰蕣臓U删蓽扫m脺譃呒烁茀葌炉菛K刷臒脠脪菙n凭艓艕聜@職膴b么么虗录茠@膴么膴聨脼膧聶x職臇僻L卤聨聹聨聜U職掳U聞掳默茠膶掳脺聝锚纱葌V艂掳@聝聞nx艓猫聝b脠聞脼葘蝷歉l聨虏Ilx膴l虏脪m職么臇聶脠l聞牡潞m聞脠锚V镁聞x蓻膶蕢脟牡Vm職聞脪聝脠蓡么茞虐莯膴掳脝乾漠凭b聞y膴@臓職茠X莯膵m禄么w掳脹k楼脟m炉莽聶kk脟谦牛菚茅X_亩W菛墨艓a脝牡母聫膴@葰葮聜聶膴L蘑膲聞V脝膲蕣聧脟臅贸aU楼職膲掳mk脜掳摹U聛臓艡k聧掳m聝脩膶每聵脹茠W母拢薁職脝x脠脼艓聫脼禄蕡虏膴脟膶al脪掳聬扭卤母z聞聨膴K脠虏m陇艓聬@脪掳录ny葌U藕墨菛瞥脠膿掳@職脻亩聝@聝脠聧k聧l楼脟莽kxk聶聸JX聛脟聝U聫脜@聵拢k禄聞贸瓶墨脹@l聧脜Jl楼贸媒@炉平摹脝聧脜an聶膵聶掳茅炉鹿"],encodeOffsets:[[128194,51014]]}},{type:"Feature",id:"1529",properties:{name:"闃挎媺鍠勭洘",cp:[102.019,40.1001],childNum:3},geometry:{type:"Polygon",coordinates:["@@聶茝n菬屁诗職殴蓡每掳炉脝V虏聧刷聶偶每@脻脝艁劝炉葊瞥膲贸聶聶@臒ky職鹿@墨職聸聝wl拢殴聝聝炉纽茅@聶脟聧脟x艐膲譬UU艃艒L聶脟聶牡贸脻n聝贸莽@聶聶贸@摹聝票聞楼聝莽聶WU莽脝艒聝聧@茅聴莽钮K聶莽拳V一平袒aW楼葋拢实菉菗撇沙脼聴菙l聬偶脼m臓贸默葌聬刹犬@脠蘑女藕脭n亩呕菭職艓拳聹谐艃膵贸拳牛螚脝茟脼僻脜潍贸葮谦杀葋摹l脹k脟掳葋脠n職玫l炉么聞脼蓻脻k蘑贸聫W膴聞z脟杉蕽@脟脠姆lU膶脜脺姆n苇茠菗K犬艓艓b掳蘑莯艑@燃么默m臓臒虐艒臇僻b袊僻艒x@姆贸拢脜l卤膧僻墨X脻摹脝聝锚膲K掳脻蕠茀@螌蕢偶脜脪媳蕡@聬撕凭譀啷む‖牛嗒睹承埫ㄊ濽職陇覑_薷茟薁山苔脻蓽L讏蓻蠝贸葌J蠚脠@菬酮a脼禄犬藕"],encodeOffsets:[[107764,42750]]}},{type:"Feature",id:"1525",properties:{name:"閿℃灄閮嫆鐩�",cp:[115.6421,44.176],childNum:12},geometry:{type:"Polygon",coordinates:["@@识默膴I葮屁屁聨@默脹蘑葯扭膲默聝膧贸職U聜脠艢脺猫n纽茞趣葎艂习U屁钮凭脩軉臒刹茰菙聬脠猫蕡撇膴茷茠職蓡炉碳V撕脪撕葌扭V蘑锚U脺聝x聞膧藢藰屁聞脝掳癣m脼偶U录脝l艓@膴莽艓n脠脪酮艓藕聝母U掳l偶wUb掳掳掳V職拢脼l臓膲膴L脼聫蓡n藕聫脼聞n娄膴a葌墨摹艃炉I膲暖l禄k聝聞聶脟媒聞楼艓炉聝茅n拢摹脩聶脻拳x聝脟聶@脜莽姆禄贸票艓楼聶莽W每聛ml聧贸a聛拢脟b聶yV脜膶脟V禄脻聧U炉聶K膲媒菚膵牛n摹炉聛禄脟聫艒Um禄臒聧聝脩聶w茝b膵脟脜聨膵w藡脠脹每蕢脩掳艁kw@贸脟禄膲w聶楼V脩殴U聶mW禄臒聧臒菈V每扭脜藕墨@艡炉臒n玫茞@脼脜n艁V菈贸J聝w膴脩k臅脻w炉nk楼艔a贸娄膲聝V娄脜`臒脩聝脩脻@mwn聧炉m卤@贸茠脹K藣茝菗卤U聛職脻聶a炉l聝聧艒職葯k聞猫聝默脼聨聛n@扭摹虐k掳膵x@聹膲`僻臅掳聛@聫牛脪膲wm聛膲@聝聝n聝聝a聞聧聶楼姆n聝脼膲V贸脝贸k膲聨姆@脻k僻僻脹a聝掳脟@脻脠U聵贸b脻录@聞脹脪V掳聶@V录藡L聶脼蓞扭殴菭V脼葪扭脟臇脜職艒b葋茰"],encodeOffsets:[[113817,44421]]}},{type:"Feature",id:"1506",properties:{name:"閯傚皵澶氭柉甯�",cp:[108.9734,39.2487],childNum:8},geometry:{type:"Polygon",coordinates:["@@亩L虏默V艂茟kkl@葞聶艠W艅脠默葪炉聶潞lz@臓職職膴么纽么聞脪臓掳k脼脺職聶n@陇聞U母猫母b艑脠X聨母Ll脪蘑x刹聧脝陇脠脹凭J脠脻掳U職脜亩禄虏VW炉母J么聛職bk聜V@么聧lbn聧膴y脠zV聫么a職b@聬母聜脼Ul聧掳y乾虏乾m掳職職k聞卤lbn聛掳@脠禄聵JX聛聞V艓脩脝J@k聞L職聝脝l虏聶臓虏蕣暖膴摹聜艡贸茮脼脜@m聞聝mLU每贸膲僻@聶禄聛L@聞聸`膶母m職葪脩牛暖卤膲臒l炉膧聶w脟聨聝莽僻扭脹I@卤脺膲菗莽艒掳Uw么聶谦暖姆瞥脜聶卤b脜拢聶脫脟wn脩贸@葋平@聧聶聝脟僻蘑贸n禄艔臅贸膴炉b聞脜聶聶V券脜Im聝艒KU聞聶L菗卤脻x膵聴艐聵V聬卤膧葪掳聶聞殴l卤職脹@W脪葋艢殴聫袧艢脜猫艑么聞录掳劝蔀葌V膴"],encodeOffsets:[[109542,39983]]}},{type:"Feature",id:"1504",properties:{name:"璧ゅ嘲甯�",cp:[118.6743,43.2642],childNum:10},geometry:{type:"Polygon",coordinates:["@@刹艁蘑菈膴w凭艒脼沫掳_艓艃藕裙茠U膶每l禄炉聛么姆V每乾平聶聧蓞摹脜脩谦禄虗聬薀龋U聶炉wVW脻聧脠摹W禄脼鹿m脻茠蓻艓每艓艒桐暖V鹿聛聸艒聛聶茅膵聶贸殴脜VV蘑签蕡@臇膵@姆職脹職V掳炉x脟脜牛楼聶禄掳脹么聶膲薀聞楼W媒膶楼聶w聜莽聛禄卤mn脜姆楼藡V聝bU脪摹禄脜x臒L僻聶聝bW臇脜x職娄U掳脻V贸虐l么虏@職楼脺脼脹么聞V@虏卤`職娄聶聞聶炉脻@聞聨脜聞V脪艒录么職聶陇V虏殴默脟膴茟聝牛x聝莽炉Lk禄薀l平媒m艂脻脝茝@m枚掳臓@艢殴默牛脝U膧臓菉臓聨X录職n藕VU脪職娄膴x脠录@么lx炉艂蕣脪脺膧藢脟膶x脝聧膶脠茞a職x聞脪臓聨n录艓V脠聬聜录蘑掳扭m菛膶膴镁職LV掳脼聨U录膵脠U脝職z脠a聜陇么bk聨聜nX膧職猫"],encodeOffsets:[[122232,46328]]}},{type:"Feature",id:"1508",properties:{name:"宸村溅娣栧皵甯�",cp:[107.5562,41.3196],childNum:7},geometry:{type:"Polygon",coordinates:["@@虏@螙莯荽识瞻母聞聵茠娄亩聶虙U藢录泳脟凭录台U脼膲聵僻聴茅脻禄聝臅膲聴茞葝聹艒仟ak贸聜贸炉a@聶么牛聶aV炉脼炉掳@虏茅l楼牡臒钮w艒x贸炉k卤職聴V贸@聫聶a贸bU聬脟y膲zm聨ka贸聨U@l聛聶a贸聜姆IX掳卤U牡录聶脝炉V脟脼平I脟脺脜拢杀聨摹wk脩姆KW聧艐脟姆a姆莽聝V@拢職m脹聶l脻臒炉聝脩钮贸强拼券掳脜艂@脼呕膧恕職卤聨脜U炉掳蓞膧聶藕僻尸m菭職茞"],encodeOffsets:[[107764,42750]]}},{type:"Feature",id:"1505",properties:{name:"閫氳窘甯�",cp:[121.4758,43.9673],childNum:8},geometry:{type:"Polygon",coordinates:["@@么撇母录脝猫職@聞脠犬w凭禄薁聧蘑楼V聧脝@虏楼@禄艓脩職炉膴J扭拢k禄脝脟X炉碳艒職墨掳aX拢么聝凭葋藕楼聞聝聶a么聧扭聶蘑L掳聝母@犬录脠脪蕡艢么VX暖脝a臓茮脠K聝姆職膲么每@臒脠膲聶禄脟Vn聶膲V聸wX聛臓脻掳職膶每母wV聝聶炉炉堑卤聶膲聜谦聶脜脜m禄虏聧呕卤平Im楼牛脠姆@炉職僻JV禄脼U脻莽炉U摹潞U拢牛聨贸a脜脜l聝聝聶僻墨炉K炉脼脻聝臒L虘葝平@艒艓艒膧茟蓽n脼脻潞X录脟蘑脼聨UX掳xV職薁趣虖聫乾录脝脪蓡蘑職聨谦凭U膧贸母掳聜k录膵膧茟V殴群艒艅炉`脻漠平艓膲x摹菉杀艂艒娄"],encodeOffsets:[[122097,46379]]}},{type:"Feature",id:"1509",properties:{name:"涔屽叞瀵熷竷甯�",cp:[112.5769,41.77],childNum:11},geometry:{type:"Polygon",coordinates:["@@薁菭脼母刹群茠脪葌茮艓a脝聶脠臅葮牛U脻藕菬蓡牛職脻藢KU禄職@U炉脺脩@聝脼禄么aV聴脼脟脠@聞炉脺b屁屁脼l母@膴聧么l么脜膴U聞脻母m職娄聝聨聞bm聞聞聞膴@n聜膴x扭脩@聬炉聜屁臇膴_@聸膶wl炉聶聝拳L聸脻聞禄平炉姆暖聞菗@脟菗b膵聶脜脜脝w聛每臓脟U拢贸a聝楼炉a艓臒臓牛kw掳禄炉暖l脻牡k脟禄脻掳杀僻谦a贸么杀禄脟k炉艃贸聝蕠艕呕聸膲菉呕蘑聞聨炉脪脠Ul掳聝x掳n聞脪聶默贸n聶膴臒掳脟艢膲娄实V聝掳掳默脹偶脟J葋艅蕠痛贸藗平艓聸脝牛娄"],encodeOffsets:[[112984,43763]]}},{type:"Feature",id:"1522",properties:{name:"鍏村畨鐩�",cp:[121.3879,46.1426],childNum:6},geometry:{type:"Polygon",coordinates:["@@脝Xnl艓掳@LVL臓镁聹x膴U犬膴nU聞聧臓聫V@偶aW炉XI艓摹聝楼脻聛@K@w@K@I撕呕艓娄屁聝屁脪艓I脝@X@V潞nX掳l艓@凭膲摔茠葮欠葮脩脻脻職聧脼bV牛母每扭x脠臇茞聨聛锚脟Kn聬母楼么@聸姆脼Un脪l@U脜職a聝墨藡聝炉脩僻x@聫卤kX艡茞茝脹茅V聶藡禄l艒炉膲聞脜脟脫谦脼聴臇摹V@聧臒禄聸掳牡聞脟脼菗录炉m聵脹脜艃膲聧臓脟凭b虏莽聝聶職茅偶炉V聝聝臒脼ml禄艒脩V莽聴禄V炉聶炉職臅脝U炉y掳k炉炉V禄么脟聞脩掳a@殴k聶摹K牛職贸聨職b聝聞殴娄平葌贸聞W陇炉b聶默袒艓W掳脜脠l录牛陇膲I聶掳艒脪@录卤娄脜@U聨摹娄薀聨平录職脼蘑脪m陇聞锚艒掳聝娄脠镁聝職l聞k录膴虐掳J蘑艅葋默聞掳聝偶n聜脟bV聞脻录@录贸母牛陇@掳脜n職l"],encodeOffsets:[[122412,48482]]}},{type:"Feature",id:"1502",properties:{name:"鍖呭ご甯�",cp:[110.3467,41.4899],childNum:5},geometry:{type:"Polygon",coordinates:["@@藕x偶膧菙脝乾V葮膧扭楼聹脜凭艒么藖蕡统葌艃脠I脺呕炉墨聞炉艒m聶炉杀臇炉聝姆脪脻I脻禄脜V聶聝l脜么脩聞摹聶臒Vm脼nn聝W莽kW脺聛X茲脝wU禄葮臅職拢膲脩臒卤卤職脜k聶聞聝K@l脜I艒脪聝UW聜聴I脟录炉@m聜ka聝虏聶l炉聶谦n谦卤炉zk聨脻V姆聛U么聶聵l虏么掳艓w纽x亩臓k娄卤锚炉@脻掳U掳職b贸扭@職掳b聛么l么签b聸艓茝葞膴聵聞臇脼录聵锚聴屁脻膴"],encodeOffsets:[[112017,43465]]}},{type:"Feature",id:"1501",
+properties:{name:"鍛煎拰娴╃壒甯�",cp:[111.4124,40.4901],childNum:6},geometry:{type:"Polygon",coordinates:["@@识U膴楼脠艡臓炉職膲么m職墨聝脩炉m聞wk炉脟V掳脩聝聧偶摹膴菈菗杀牛菗聸茲贸X炉聝蓻脪贸a@n脻脝么茰聛艢膲蘑蕢虐膴脪聶陇葪臇V录脜xW茷脹聜lXX猫m聞脻mUn職臓聝蘑贸脪k脝職聞脝U脼录脼J母脩掳聞刹臅職掳艓n"],encodeOffsets:[[114098,42312]]}},{type:"Feature",id:"1503",properties:{name:"涔屾捣甯�",cp:[106.886,39.4739],childNum:1},geometry:{type:"Polygon",coordinates:["@@葮掳脟墨X艃職艞@葝lk茠lU艁卤墨牡K艒录V聨脟么X母炉聨@職钮锚聞掳藕聞k陇聞x聶聹@默"],encodeOffsets:[[109317,40799]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/ning_xia_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"6403",properties:{name:"鍚村繝甯�",cp:[106.853,37.3755],childNum:4},geometry:{type:"Polygon",coordinates:["@@nLV聜@職VL職a脼bn@@l聵職@bU聬VlUV聞zVx聶陇k脼V猫職Xn職聜@nm掳a@U聝脩聞@V聨XnV@Va聞U職聨VKUUU@@U聜@@KVa@U虏@聜wXkW聫nk聞卤lLnU@UmmVKnIVWnI@聧UK聸@UK@聧@UVKXkmW聛LWUXmlkVwUyVa@w聞w@aVI聞K@aV聧脠w聞KlLVV@LnV聞VVnU聜脺虏掳W脠IU脝@n脼录聜聜@娄聶@U脼UVW@UxUxVn聞b聞K聜b炉脼U`Vb乾聶V@XX脝VVl掳InmnU么聝掳炉聜anam拢聹WVX聜KXm職k么aVU@聝Vak@@wma聝n@K@U脹UWKXU聝脟聝@UI聶b@alW@akLUKV@@Ukw卤I職聸nL@kmwkWmk@JUI聝暖Vmn聧nU@m@U聝K聞聧VKlkUwk聝聝nV聫UKmbkI卤職聴K聝kmVkK聝b@U@a聝VkUmn聶`kIlaUK@UUKmbUI脻職Ua@mUa@a聝聞m@UUULUK@bmKkbWI@WXwlkX聝Wa@k@聫kK聝LVkkK@L@JUVmzUKlwUUnW聵拢XVlKUwVU@aXI@aWaUw@W@_nam@炉聜UkWVkUWaU@nwmJkUV聛kWVUmUkJ@ImbUa聝@@W脜_mJknmak@@m聝X聝aUV@聞聝xU職聝聞@聜聝聞@VUnkV聝@Vn@`ULUbWLXVW@kbUJ@XW`聛@聝n脜臇WJ聝@聴聬m掳@x聝x職bn聧Ua聜w虏l聝脼掳x扭IVVUL脹聜Wb職bkVVX脝`UbVL聞@kx掳LlV@V聹聞Wb聝J聛n@bl陇ULV聞聛掳@lmL@聝聝拢U@@aUwmKULVxUVVx@聞聶@kU聶@mK炉L脟a炉@"],encodeOffsets:[[108124,38605]]}},{type:"Feature",id:"6405",properties:{name:"涓崼甯�",cp:[105.4028,36.9525],childNum:3},geometry:{type:"Polygon",coordinates:["@@掳@脠b掳KnL職@lV職@@聝UwVUUwVKnLVx@bV@聞陇@聞nK@k聜炉U聝VKk拢@a聜m聞IXa聸聝@UkU炉Klw聝@UKVa脜_UWlU聶aXa脺聛VKUU牛J炉w聞脻卤k聛xVbm聨聶a聞w@wn炉聵聫聞@XI脝臅聞m聜@X_@WVIlaX@WUXKVaVK@_Um聞@lUVm@U聞聝@聛聞聝V聶聞w@聝VU脹wm@@W@ImKUkU@Ua聜aX聝@wWaUKkw@UVaUamLU聶nk@禄卤`炉@k聴W@Ua聶ykb聝I聞聞@VWJkLWUkJ聝wU@聝n聛陇mL炉wm@Um聝虏XVWbnV@bmx聝VkxUblLUV@聬kVWKU录聝聨kU聝@mn@JnV@bUnmJUn@聞k聜@Xlx職LVVnKlLVV@職@LkKULVbk`WL@lkXW@kV聝@U脼Ul脟X聶lkaUbmV炉@@L@職聝V@bkb@x聝lW聞聴b聝bW@聴聧卤@UJ@IU@mVk聞VxV@@l聞Ill聹n@Vm@聝VUbl聞@J聛LmK脹XmVkU聸KULU`@L膲w聝KUX聞lVUl@Vb聞JX娄碳b脼x艓x蓽臇臓聞艓a么@"],encodeOffsets:[[108124,38605]]}},{type:"Feature",id:"6404",properties:{name:"鍥哄師甯�",cp:[106.1389,35.9363],childNum:6},geometry:{type:"MultiPolygon",coordinates:[["@@Vnn@掳xnK聜拢聞mV@聞xlIXVlKXI@U聝聝聞Jla職zVbX@l聵掳@虏_@录mlV職nKVbUb@VlxVLXb@xW聞聛bVbV@VlnL@J@Xn@脺x聞b聞W@nl@nblmnI脝`@X聞@Vbna@aVUUWVk聝@kbWakbU@Vw職W@_l@nmn@@alVlk@UkmVak@@a聜UXa聝L@炉@KVa@a聛xWI@KnkVaVJn_lJ@聞X@聜m@nVanUVb@mXLlJ聞聛VWnLla聞VVaVX@KXVVkVKlknKVa@aVU@KXb@klJUknUm聝@K@_UW@alIUamaU炉kJma@IUK@U聞@@UW@@aXLV聝VJVaXI聝KlaUkUV@ambU聧UJkIWJ@wUI聶V@JU@UwV@@Um@聶nU`@UkUmVUxWUUV@a脜b@aWXkKUU聝UUaWK@wnm@IVU@aXwm@UmVaUalk@anKUwl聝Uwl聛kK@wma聝UkmmIk@VmkUUbW@UVUnW@kV@xkVmbVnU聜聶@UbUV@a聸k@kkW@聞kLW陇@聞nV@VU@W_UV聶UU`VLUV@IUV玫VULU@UUUJ@wmkUJ@職WI@l@bkKkbVV聝bVbUL@UUJ@Vm@@L@x聛bVVVLVlVwX@Vb@bmUkbk@@JWIUV脜w@Km@UkWKXxWL脜@UVUnWK@xkVW聞@KUL聛wWVXVWzXVVKVXkV聸V@VUbV@U聞VV@職@LXxVL@V聞b聜聨聞LnKVLVxXVmb@l"],["@@@J@a聝U@LWK炉UUxVVn@臓聞聞LU聫W@UbUUUa@KUX"]],encodeOffsets:[[[108023,37052]],[[108541,36299]]]}},{type:"Feature",id:"6401",properties:{name:"閾跺窛甯�",cp:[106.3586,38.1775],childNum:4},geometry:{type:"Polygon",coordinates:["@@職U職wVK@UVW脼U職b職w聞V@knV聵@@KU_VK@K聞聝n@W_XWlL@Vn@膴w@Ula聹@Wanam墨@a聝禄艐贸@a脝脜刹每UaV_掳脻聛a聝L聝aUmVwVwX@VUV脻職@@楼聛聛脻禄@mV脜脟J炉X脹卤V聛Um聝UmU@KUUkK聝L脟xU聨@b聝LUJ@b聝x@xUbVzUxklWnXV聜KnXWlUL@V@聨VL聹@VL@聨mJUXmJULnn@VmVkK聝虏mlX聬Wl聛x卤@@VUb@L聛@@VV@VVUL聶聧聝VUbU@WmU聧聝@聞脪@V炉bmn聛@V聨聝聞@lVnU職nVW聨X聬Vl@娄VVUn@x聜職@聜XL@娄聜lXx職聞Vb"],encodeOffsets:[[108563,39803]]}},{type:"Feature",id:"6402",properties:{name:"鐭冲槾灞卞競",cp:[106.4795,39.0015],childNum:2},geometry:{type:"Polygon",coordinates:["@@U炉姆贸卤脟脹炉聶姆mbXb聸@kb@V膲xm@@UkKWXX`m@聝聞@LULV`@L聴@mU@l聝U聶x聶a脻VUX@VUL聶x聶VkLWV職職@J聞nVLXVl聨UV@zl聜VL@V@b聞聞n@lU虏WVLlLVbU聨VxUx@x莯L聵x么脪聹k聜K虏聨Va聜U@wXa@聧W聶脠膲Ua@聫聜b脠k聞m@炉"],encodeOffsets:[[109542,39938]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/qing_hai_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"6328",properties:{name:"娴疯タ钂欏彜鏃忚棌鏃忚嚜娌诲窞",cp:[94.9768,37.1118],childNum:7},geometry:{type:"MultiPolygon",coordinates:[["@@聞聫V拢掳聫職@la聹X么卤藕w職聶么@聞Ul聝偶a脺聧n聧聶K聝w@U聞a聝聶職a虏L聜m脠L脝職脠xlaUa聞w脼m脺b脼U職聧nJ掳a聞k么聝聜脩kw脻V臒w脟@脻kkV炉楼@聧貌聫聞禄聞n扭楼XImw@mVw職a@聧脜w聶聫mLkaW聧聴w聝楼l禄k莽聝贸聞禄@聝W脩膲聨臒聧@膲聞聶聜艃聞聧Uw贸艡V贸m聧牡禄聶聶脻@V菚炉k職脻膴脜k聶掳脫UklkU卤職I聞脟脼k聝卤@聧職聧平J聝聧聶@U聫摹Ik@W娄聶V聛脩葯脫脜n钮KULn聨炉X聸聝@聫聛炉mU脹@W脜聶m贸Kkn艒b聝x脻@聝聨U@kw@每脟L牛職脻Uk職mw聝聨聛k聶l膵V脜職U娄聶聨聝LkUWl脜脩@a聝@脜脩卤U贸摹殴录聝脠膲m呕@@wkw聶Kl炉U聶摹@聴聞l脟U聛聶脫炉_聝聜Wa膲虏脜l贸录Vbkn聝K脟聨脜@僻蘑艒掳脻@臒聞W聶脜xUUm@聶聜脻X脹聜W聞ULU猫炉@mbUa聝L聝bUW摹x聛IUJWz聶a炉b聶y聶@艒脠贸LU`脟XUl聶U膲V炉n聸m脹b菚Lkl聝U膲V聝職贸a摹聞茝b摹K牛nkb脻mmn脻W拳脠聝聨脻X牛W贸聬kU脟l炉U炉聜摹U蓞膧@掳炉聞聞職炉聞V脝n聬mJ@膴姆n贸JUb脻XUlV職kL@lVxnnmb@陇Vz職`脼脼扭@聞Vn聬脝JV聞掳b聞U么Jkzl聨kl@虏贸職@脝脟掳k臇聝職脟b脹U@lmb聶XV聵kz聝V聶聨蓞膧X刷l艅聞默殴@聸茅脜@膲艅脝掳臒bU職l聨蓽_掳聜@x纽聬聵職kbVb茠K蘑聞扭V艓聨掳@偶脠藕l膴聞么K么b@n么x纽聞脝@么聨艓L@镁脝b@職nn職W藢b脠x聜Ina艓xlU@脩虏卤聝臒VU蘑聝屁b刹@脼楼么UU聧姆WV聧么炉膴W识n么a扭藖@拢nmnI么聨仟K掳xUX么@纽a掳m聜kX聫脝聧脼V艓k膴掳脼L脠聞么yVa職IlwX聫掳UVw蘑脩脺K么w@nV@聹m掳nm聨n聞脺聜蔀拢Vbm聨Xn聝掳脺脪@x聛x@V聜b虏UlbkxVn職JUnVV膴聧掳K膶職m掳nx脟nn陇卤娄@聨UXVV@聞聛lV聞聞bmVV脠聛聨Vx職脪聶掳職I職b藕a膶聝職bVw職@職聝VL聞聶凭脩@聝纽聫么炉膴k么脩"],["@@聞@職聝聞@n聞貌V聹a聜w虏bVx職x脺a膶V么_膴J職IVm職L聞a掳@艓楼X聛lK@聝職k聞l聞KVbUb聵@nU蘑n聜a脠@lm乾禄臓炉聹n聜mn聝屁聛Vy聶脩菛聶臓禄刹In聨聜@@脜蘑瞥@炉掳聶么V聞K脠bVI脟楼炉@脻贸聞聶@脩n墨WK職聝k聶聜k@楼職聶炉聶脜a聶X聝卤V聛脜w@卤臓炉@禄聶聧職聶n聶Wm聛w@聝聶聧@聧炉聝V聝UUW莽聝K膲聞聛a卤Vkk聝V炉w聶x@職UJ聜x@bkn脟b聶m脜@Uw卤U炉娄U聨聶Km職炉I炉聨钮录臒膴聶@脟聝殴脠炉@脻禄脟n恕J聝b脹猫脟n聝聞脜K炉聞摹臓殴聬W录脜lm聞@陇n虏聝聨脻b@b聞職炉l聝聬炉@聝職脜陇W聞聶录nV@x聞聞掳@Vx聞@lbUblbX录W聜聹職脟虏l職U聨@录聛聨V娄@b脟lVxUbVx脼bV職聹bm娄聝VV聞"]],encodeOffsets:[[[100452,39719]],[[91980,35742]]]}},{type:"Feature",id:"6327",properties:{name:"鐜夋爲钘忔棌鑷不宸�",cp:[93.5925,33.9368],childNum:6},geometry:{type:"Polygon",coordinates:["@@蓡每蘑V掳聛掳V脠klV么聫扭X脼W聞聧犬脟脼Xnm脼nla扭m蘑L茞a蘑聝么b聞聶膴U聞Vlk菛K脺a聹n掳m膴U職VVk脠WV_么K艓脟職@職z掳a職bXyVI聜J蘑wVX聞a聞KVbna掳@V莽VKX聝脺聛脼W職聛n@VV脝wX職臓聝脼@艓炉屁摹脝@脠聧聞LlmUa么禄脝k膴卤Xb聞聛掳`職脭V聜k脠聵聝蘑@V職k掳職Llx@x偶@膴n聞脟藕禄么蘑虏V脝脪聞@@b脝脪XklV聞K職聧V楼脝聶膶U職k聜l聞聧nxl聶聛莽聝楼膵莽@卤聛聛m楼聝w脜J聝聛@聶聶聶V聝聞m脠Il茅脠a掳聛U楼聶聶@k脼V聜K虏脩W聝掳w虏脩聜K虏帽職y脝聬聞脻職Vmw聞禄kkW膲聴JWU聝V脜w聝L聶m脜@@聝mw聞kn楼V脩聝禄掳聶掳@@禄聞炉聞Lla聞J么聧nV聜U脜炉聝U@W炉Um脩炉炉k@WykU@炉聞wV楼聝kVw牛聝k禄職wW脟聹膲亩莽職K聞聝脼聶脟a膲b聝I聶lU聬聝@kw聝W聝XU聝掳w聶卤@U職Kn拢W膲聴KWx聝k聛臅V聝職amwXw聶@聶聞Wmnk@a聝Vk聝聶b膲L聝l聶Imm聞wU聧脟聜聛聧Wx聶n脻Jn聛@楼脝聶kw聝aX聝脺膲聶炉脜V炉陇mk聝x炉k姆脺聶虏聛VW么殴VU聝聝@V拢聶楼@聝掳wn聧@聶m聫@聧炉@UbU么姆聨mn@脝脹@脟媒VaU聧脟膴聛V聝@脟l臒聴炉x脻扭聶lV脠脠V聝x聞聬聝陇Vx聶聞kK@聧聶@聝x@聞kV聝臇摹楼kIWbX聨艓x@n聝x脜UW`聝_聴@卤聨Ua聶LUx聝K炉聞WbkVlb聴bm聨聝L脹脝WIUw聝Wkw脻V@聧kI聸聨聛茅Ub聸UUk聶V炉Km炉k@Um脻聬炉m炉聬聸m聴L聸脼膲聜脹Um聶摹拢UxkKm掳聶L聛w聸職k@k職聝Vm聞聝K聛VUk聸@炉a炉蘑聶m贸KUU聶x聶Iml脜n聶聶脟bX猫VVU聞掳聞@聨職聨@聞聜xXnm職聶職職聨@录臒掳@虏脝xU聜聞虏職W脝b掳職聶職@娄聛ll職聶聞XLm默@脪聝職脼么掳@脠娄UJ脟a聝L贸U炉職@掳摹拼@脝聛@m聧杀J臒录菚職職脪Uz僻聜m聞聛n聸m臒掳谦录kn脟@聛b摹mmV聴@VaUa聝L聝k聶l@聞kLW聜艒娄炉@聝b聶KUn聶J膲I贸`膵U脹b聶wUw卤a聛x聸b帽Um聝聝@聶聞聝@聴b聝a聝b脟聫脜Xm聵聞茠脻聞脜么Vb脼聨聶bl聞U職脼V脼職聞U聜掳聞VUx聝@U聞V聬聞@l`聶录nL@膴聞LW聞聞陇kX姆W摹XUVVV姆聞UbVb@掳kVVx脠a聜@膶娄膴b職a藕J聞U@脠職聞聞聵V聹聝l職@Xk么aW聝蘑聶脼@la母U脝b虏m脼L臓聶脼脩么b職脪膴a聞JVbm娄"],encodeOffsets:[[93285,37030]]}},{type:"Feature",id:"6326",properties:{name:"鏋滄礇钘忔棌鑷不宸�",cp:[99.3823,34.0466],childNum:6},geometry:{type:"Polygon",coordinates:["@@脼V扭聶脠K@膧lxV@聞聧脼@聞w艓alm么L職nX脝脺@nV聜掳@聬聹聞掳Wm聧VK纽L脝m葰脭聜脪職UX楼l@蘑JV聬職@聞聨凭I@w聶W掳聶聶脜n楼聸k脜脻Vw么聝脠莽聞@l脩膴臅職a聞Jna脝LVw掳kny掳Unk脝V膶聧膴ll娄聞V凭@@聶nU藕聝脠脟聜In聫掳X聞w脼K么娄VWV拢聞聫@拢掳贸k膵卤I聛聶聶am炉Va聶禄膶膲V楼掳聶@m聞k聞楼l@聞聛膴m@a職聧U聶mwX聝@w脝x職m蘑_聞`Vn脝b職KVw聞@@聝nUV臒VmVV枚Il聨l@@莽脹m聝拢U脟聞w掳@V聧U聝炉禄m炉聝J艒臇脜L聝a@禄膲蘑卤`U_k`脟莽職贸聝kX聶lK@聧聝ak脻脼聝職拢W膵k聛脻聶kx聝J脻炉脜w聶x姆xmI脜x聞聫@k卤J@媒艐職聸陇U聹k聨mV聶掳脜聧脻xkwm摹聝n脻VU聞職娄聝扭聛lm職贸Xk陇聶聬UK聝莽聶@mVkK@kl聫聛墨聝拢m職炉VUb聝W炉录膵b炉聬牡am录mVX聞m@k陇脟X聛聜脟b聝U聝聞炉J炉聞炉脠@聵聶bVXV脪聶陇V录kx脻職V聬聛聞@l聜V聴聞Wx脹娄W職炉職mK聛nl聨k聨聜職U聬聛聜@n茟U膲聞脻@脟潞脹聞膵U膲楼聶U聝脼脜聫聶z卤貌聛L卤脪炉xX聞卤脪聛L脻U@l職職V娄炉聜脟bk锚脟J聝nU聞職職@職聞聜脝I聞xn娄聜聜@虏膶猫聞娄聜猫"],encodeOffsets:[[99709,36130]]}},{type:"Feature",id:"6325",properties:{name:"娴峰崡钘忔棌鑷不宸�",cp:[100.3711,35.9418],childNum:5},geometry:{type:"Polygon",coordinates:["@@Vx聝聨聛艅聝職@膴臓聨膴聧X脪掳U凭臅脼m掳拢nb@聜@LUUW聞脹潞@nl脝乾職臓拢脼V掳UXb聜V葌堑聞茅聝@聛kWanm掳@聶x聞z聞K掳炉臓V職聝V聝kw聶Lnm掳k脼x脝a聞楼@聧聜wn膲脝聫@聶聹_l聸職_Vw職m母猫扭脜膶U@聶聵Wn聧@脩mKU聶n臒聝K@聝掳炉U每V拢nm職Ll聶聞U聝U脹茅卤贸贸kkm聝n聝akV@脟掳贸脻X聝W蓹脼钮I牛xmm聶V脹UV聛葌脫n聛Wy葋膲k聝V聧職聧掳Wnk膴a聞楼聜_聹K掳每W聧na@聧聝mU聧炉w聝l脻IU陇UX贸楼脻L聝x炉Wm聬聛J脟脠殴聞mV@職平@聝Uk楼膲k膵聨脜Uml炉Vmz炉lUx脜Kmb聝I聶b膲臇k脪聝@脟猫贸聞Ux脝脼聹lm娄職脝炉職職X@x聶聨@聨聞虏脻l聝脠聶JV虏klVl炉脭l職膲脝聶脼掳lU菛脼@職職亩录n聨U么么艢"],encodeOffsets:[[101712,37632]]}},{type:"Feature",id:"6322",properties:{name:"娴峰寳钘忔棌鑷不宸�",cp:[100.3711,37.9138],childNum:4},geometry:{type:"Polygon",coordinates:["@@艒m摹x平聛Um卤L强镁摹脭聶@kxmW聝b炉I炉聜mIUx@b聝b殴V脟聨聝k牡b聝l膲I炉楼聝U職m@聝脝炉脠@職a職贸職Ul聝膶禄@w聸聧聹禄聸wXa聝聝贸掳牛莽脻聞kU聝aV楼脜b脻w炉lmn職KlxU聞聶聞臒U炉掳聝L聝y職w炉@mnXb聜l聞@聝锚葋嵌聛UWa炉V脻U臒陇谦聶k脜@m脺鹿X聝VV@K@聛ma炉陇脻n平臇炉V@聞聝录聞么l猫k录聞娄聵xX聨lbnK職聬脝x@聨聶bUx@nnxWJ牛娄聝m聝录帽聬@聨掳娄lU脼l脠@臓x脼Ulx聛脪贸聞聝l炉bmI聶聨脻V脹a脻n聝xVbkb脟w脜聶脟K聛n卤K聶b聞職聝b@V聞x職Lm聨脹聨呕bk聞聝V贸@聶職殴x贸虏聸Wkb聶@炉聬U陇聝聬藕膴@lUX聞掳l脝么U聞聝lLX聧聜a聹V掳w職xUb掳x脺么脠KVk脠mlw職k脠K職w職K聶聶VU扭膲艓禄聞禄聞Il楼na掳LV禄虏炉脺y@w蘑聝掳聧母wlw蘑w掳卤聞_lVk職@掳聝b聝脝炉z聝聜聞職聞@l_聞@蘑卤l脜職Vl聧Ua脼聝聞LV聝nKln脠聫掳Ill膶a聵w脼脩掳x聞UU聶@w聝聫V聛km臓L么禄聞K脼媒么a脼楼么膧脼m脝聛聞聶聜mU聝艓聛V楼脠l掳虏掳a虏楼V聧聞@@w聞amm@脩n@脝拢偶聝V聝臓拢@W聞炉脼聝職聧l@職禄@Uk@"],encodeOffsets:[[105087,37992]]}},{type:"Feature",id:"6323",properties:{name:"榛勫崡钘忔棌鑷不宸�",cp:[101.5686,35.1178],childNum:4},geometry:{type:"Polygon",coordinates:["@@么l虏么脺锚聞V聝Vk職聶KmnU陇V膧炉掳@聞聞Lm臓V職nL脠L@alb@al@n聫掳V職_XmWU脠amaVIn@n聫聜aV拢聹贸VW聝聶U拢掳a職x脠楼@聶聜a膴w脠鹿@贸職a聶聝臒bm聫@k聞w@m聝a脝w@聝聞In炉mm聝@UkkW聝脩脜@@k膵聫脜莽Vk脻J脜kVyk殴l楼@炉職聶蘑U脺聝X楼貌媒聴mmX聶脻脜lmU@拢聶Wl聛聛y聶XW禄脜b聝l@a聛I聸禄k@klm@UxUU聝V聝录炉X聝l聶aUn姆聜聝I@x聶@炉聞聝K聶聞膲UU`贸職l膶炉么@陇聝聬脼J聞k掳xV聨聞n@聨mbX聨炉膧聸L聛`聝娄膲bml炉X聶聨U聨l聞葌膴Xzm聜葋脭U聜脺V職Unn扭w纽J蓺脻聞X脼W炉么@脠lU聞b聞mln"],encodeOffsets:[[103984,36344]]}},{type:"Feature",id:"6321",properties:{name:"娴蜂笢鍦板尯",cp:[102.3706,36.2988],childNum:6},geometry:{type:"Polygon",coordinates:["@@@脪聞b職陇脝I掳么U录職掳U聨nnWx聶職@b炉L@lUUWbXxWl聞屁nxV聬Ull職聞XV聨U聨nL@l葊媒虏KVn凭聜蘑wV禄聝聛@m脼拢n聫脝聝脼脩mL聶聧聝KUaV聧偶臅聝WVk虏聧聝聝脝脻@聝Xw掳@聞聧么聶@a掳w贸UU聫mIk聶聶aVm脼wmkny聝鹿V每僻n脜聫m拢X禄聵聶naV卤聞聛脻w@a職b@a聝m炉聞膲V贸娄k脻WKU聛U@WanU聶b@么脟潞膲x聛b@職脟娄聶w炉bV陇聞職UX聸么U陇聛bm聬m@UJnb脟bXVWn聶`炉Um聬k@@bka@b脟K"],encodeOffsets:[[104108,37030]]}},{type:"Feature",id:"6301",properties:{name:"瑗垮畞甯�",cp:[101.4038,36.8207],childNum:4},geometry:{type:"Polygon",coordinates:["@@@kmKV聧U聧聝Wk聶VkU聫mw聝僻XkWwXaVV@k掳K@a職聶XwmmV聧聶炉V禄炉贸脜J聶拢聝am聨聴X@職膵V牛脝姆莽聶nUx聶`k聹聸`@職脜聬m膴聛x@聨聝娄U娄聞blV脼聝扭猫么炉聞聞Wb聹x聸录聹聨@x膵录k聞聶V聶么聶b脟@脜掳@聞聶n聞V掳娄膴J聞k亩a聞l脠聧藕U聞a@aVwnJ掳聛掳J聞anXlw職@蘑脫"],encodeOffsets:[[104356,38042]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/shang_hai_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"310230",properties:{name:"宕囨槑鍘�",cp:[121.5637,31.5383],childNum:1},geometry:{type:"Polygon",coordinates:["@@u艔u禄GPIV卤脨蓛艤{\\qJmC[W\\t聞戮脮j脮p聡n脙聨卤脗聫|臎脭e`虏聞聽聠nZzZ~V|B^IpUbU聠{bs\\a\\OvQ聮K陋s聠M艌拢RAhQ膜聥lA`G膫A@磨W臐O聯"],encodeOffsets:[[124908,32105]]}},{type:"Feature",id:"310119",properties:{name:"鍗楁眹鍖�",cp:[121.8755,30.954],childNum:1},geometry:{type:"Polygon",coordinates:["@@`y聰膲N菚Dw菑禄聝脰LxCdJ`HB@LBTD@CPFXANC@@PGBKNECCBB@EBFHEDDDSNKAUNBDMNqf[HcDCCcF聟@EFGLEBa@ACoCCDDD@LGHD@DJFBBJED@BGAEGGFKIGDBDLBAD@FHBEF@RFDMLE@SGANFFJBANPH@@E@FJjRIACDMDOEKLFD@DbDAJI@AP@BGHFBCBGDCC@DCA@CECGH@FKCEHFJGBFDIHACEDNJDCVFBDCRKRLDLITB@CjNJI^DBCfNVDHDFKHAFGDIICDWBIF@@CFAjFJNJBBHD@CJ@AEFJ@@DH@BFBCPDBMFEQGDIFCNDHIP@HDABFACBJFHEBSZC@DP@@JDB皮~"],encodeOffsets:[[124854,31907]]}},{type:"Feature",id:"310120",properties:{name:"濂夎搐鍖�",cp:[121.5747,30.8475],childNum:1},geometry:{type:"Polygon",coordinates:["@@~T~JjZdDbLXDLCB_J@@FHFZJJIAGH@HGR@BENBLID@@LFCDF\\FpDBDb@FAHKFE聠@dEDDdC\\GreNMACVMLBTMCCFCEGFAA@DAFDLMHA@OD@BMEWDOC@AS@KGAI_DcKw聞脮铆s茲聭氓膯ctKbMBQ@EGEBEJ@@MBKL@BJB@FIBGKE@ABG@@FMFCPL@AjCD@ZOFCJIDICIlKJHNGJALH@@FPDCTJDGDBNCn"],encodeOffsets:[[124274,31722]]}},{type:"Feature",id:"310115",properties:{name:"娴︿笢鏂板尯",cp:[121.6928,31.2561],childNum:1},geometry:{type:"Polygon",coordinates:["@@EN@JJLNHjLJNR^GRYVBNZJRBV@PDvbLNDN@LGNER@nCNQNuT_TIVFV\\Z\\XnDrI|[蓜艣虏脧JUHO疲}CA@IO@@CYDATGFIEDAEBBAGCO@GJMCEDCJRHEFANOCADAEG@@CI@FE@BDIC@AGIAIMiEEB@DE@AJCXJDCJEHGBELGCUCeMAD]CIJiM@DSAKJKCLQDQACUECDMIFCBDJGECHAEIWCK@GLMCCGEACNKCEJG@MMBMC@@CIJUINT@JAJSTEPZZCP"],encodeOffsets:[[124383,31915]]}},{type:"Feature",id:"310116",properties:{name:"閲戝北鍖�",cp:[121.2657,30.8112],childNum:1},geometry:{type:"Polygon",coordinates:["@@L@BIHFN@@EE@@EFBDGDAADVDD@@EF@CA@IIsRE@GDAF@BF@CV@|FBCHBLCNHAFCADBMDCFZXHILBVEEQA@MWFARJJ@DCX@@TEFBLHAAERE@AJABRPBNK\\BrJ\\VHGND@CNADKDADQjGAGNC@GJ@FCFFHC@JF@@dLBDSFADHVG\\DTEPDDHJALIJkJDJCDIPE@YDCBiK@DONE@EH@BAF@HLJA@EIA@ALKNA@@FIFAFHR@NALads忙膮yQY@聝A卤D艍XUVI^BF@FFF@HBJEDFFGFEBSRkVEXGHFBMFIVW@GAEEFOIAIPKABGWEKFSCQLQBSEIBC\\FdBLRR@JGACFDDEF@AWB@LJJYNABBA@CUEGPaO_AIE@MYMFIGAEFECHSAAKAO\\[JEDB@E@MMA@@AGBKMGDFFCDDFEDFJF@NPBAFLHFH@EDDHBADDC@DDCDHHCDDFDABDAD@FEFOBCJ[D@HEDDNJBDDHABJIBBvGLBJAH"],encodeOffsets:[[123901,31695]]}},{type:"Feature",id:"310118",properties:{name:"闈掓郸鍖�",cp:[121.1751,31.1909],childNum:1},geometry:{type:"Polygon",coordinates:["@@RUNKdOFDJCbRFMLAHPLDN@JGL@@APBWYCKN@TU@SHGCEJIDIJKVIZVNM`iNY@CIE@CA@KBOEGEUFCCSADEIEFCDDDIDDHC@CKIeDCG@IG@DHWFEEGCH@@GO@@O]CNpeEQDBFME[JC]DGF@CKOA@QSB@GB@@GW@@ED@AQIJIAAFE@@DO@CFI@KNG@CDACAFEGKGBEGBDCCAIFCCLIECFI@MBCLDHGNAHSF@DMB@EEKBA@@C]DEICFG@ADBHGFKCDAKKHKD@@FHGAANGEEFCHKCECBCKG@ADKCNE\\[A[I@@mGBDQQEO@BCE@AI[AML@JGACLOAFKEMM@EQKC@CUCBCCBCHEA@FF@@FM@GEAJK@GNF@EXPH@FD@M^@HIADJCFDBER@DK@@DE@CAKFOCCBDHIBCNSB@GFC@GQEEOWFICGDUAEJIDBTAHJHEB@DIF@NE@H|HBDBEH@DKBAHEF@HEEUB@FGFGCCCE@AHOB@NH@PRLVNNFBX@RC聙PbAvMtBfH@DJF@ELBFA@EH@HNED@FFB@HLC@CJ@@DJ@PIRf@HE@CFF@GPHD@DKE@FFBEFFD@DEFCA@DD@IjCRFBAHFDKD@HF@@PM@H@BlbDJDBFEF@DLXB@HCD@@IFCBIFEJD@FDC@FBALLF@PAACJERACAJCBD@EL@JD"],encodeOffsets:[[124061,32028]]}},{type:"Feature",id:"310117",properties:{name:"鏉炬睙鍖�",cp:[121.1984,31.0268],childNum:1},geometry:{type:"Polygon",coordinates:["@@@DLDFRN@FNELPBDKHB@INK\\BBJF@ADP@RFCRHA@nJ@B\\[\\MFLDBCH@DLDADFGLEDFFMHBBGH@EC@GLLLCBLDHEAGBCH@DEFJ^C@DB@LAFFA@CNE@GTMBGHKCAD@NEJFDKJDDJEDBCDHAAFLHFHBEBDDCH@LMJ@DEP@@CF@BEJBJIBRC@@FX@@HA@@HTA@RPBDLE@CHD^\\INFAERCfFMo^D@PP@@HG@HDFFXECGH@@JDHfCLJ@DGDCCCJCCEDJFCFTBDDVEHFPFLAB@NBFCFKFC@CHIACNOHWHCAAFIDD@CDAGEI@ACFMF@R@R_@GQED@EGFEQEDE_IAHKAE聺XCQUOQCUDEN@ZI\\DDmAMHCICDSOC@EG@BKHIGMIBCGOCSF[CUHCGEBCTKA@cE@@IGDEEEDI@@HMDBHiHCRCBCLMB@DMCGH[UqI[AMLOAAQIB@BQFBFGBAKFE@SW@CDI@QIEBNXB@FRUFKAGJYWDENCCADBBEMGKDGAAD{EU@@DAEE@CB@HQFJt@JDBE@@FC@"],encodeOffsets:[[123933,31687]]}},{type:"Feature",id:"310114",properties:{name:"鍢夊畾鍖�",cp:[121.2437,31.3625],childNum:1},geometry:{type:"Polygon",coordinates:["@@F@LI@IDKJADKIEJICADGACFECCJ@HKCAFOHAJI@aCBEE@ICAEB[GFGCKL@FGEIFADMLCAEJM@ELQECEIG@BE^QKKLQCA@EHBIGQ[GEHOMGGDHKH@JOECFCjCBEFDNCACMBCILGTABDLEEOEIG@GFIMM@CGKFBFCDE@@GEAGEEACIcGaHMFITIHDN[AKF@FS@OA@BK@IHM@KCGOKBENaQIDECcPMLQVFHFB@BFBKLGD@FAJOVGIACQ@A`LPCB@JEF@RU@ANS@@RCL\\HIFpRBFRBBDKLLDADJDGBFDABHBEDNF@DGBBBADKDAHC@\\JJFBDEH[DEFDH\\LX@XLBLbT@DNJLDCEL@VJABJNDHB@HBHYFBAA@GNFB@@AFB@AFABFLFBHFCL@HJBAFBLC@DN@HN"],encodeOffsets:[[124213,32254]]}},{type:"Feature",id:"310113",properties:{name:"瀹濆北鍖�",cp:[121.4346,31.4051],childNum:1},geometry:{type:"Polygon",coordinates:["@@聢m脰o脰i聝陆[s[YEUJU`SCIEBCCWJY_LIICDWU@@FaBCJIB[ICH[@@CDKEE@MK@@IMCAEBCH@AMFI@SMGEFGB@FK@BHCAIFJNQD@FEBDFMBKGACG@ECWH@@CDDTOEEBGEK@GC@EE@GPHFR\\JHGA@FDBKRLL]RAFH@FJFDKR@FINBFKDCNEBFJEHK@DLEH\\HFADB@JFFDA@bIJGBEPDBGLI@DDEFBDCHDBIJJFCLIBCL@JKJE@ADHDBHJ@HIBBDFHBBAEIJ@BJFAVL垄聢"],encodeOffsets:[[124300,32302]]}},{type:"Feature",id:"310112",properties:{name:"闂佃鍖�",cp:[121.4992,31.0838],childNum:1},geometry:{type:"Polygon",coordinates:["@@T@@ELE\\BCMJGJSNEbGdHDJFBJAFIEIFCEWG@@gMENSFCVJFAxR~B@IH@AIiI@GE@FGEAFQPDRiV[\\DFSGMHAXHDOMCJCDETBBNVJJI@DD@ANNNH@FILDDMFBDHNDHKL@XDFGLD@EHGFD@DDB@CDDHCDAEAHG@ABOJ@BIaC@CECLKPFNCDCJBiQEIF@@@OGBMIAEEBMTHF@NKEC@QFEGA@EBCKAACHCLJHEFHHB@AFCAIEACIC@HG@KCCDC[ECEED@KC@KJMAAFQ@GHG@BHIJYIGE@EI@A`KDWCaKcCiY}I}S[CYJM@CFDVPRRVWDF聻LBBG`JCFRFEFFHC@RF@HQ`Q@E@ENBDJ@HFCB@DCCEJBBGDGXMPBDGJ@DEDELEDMA@DJF@DMZ_jMNYUUJILCJIJDFGH@TSVM@DLXZ"],encodeOffsets:[[124165,32010]]}},{type:"Feature",id:"310110",properties:{name:"鏉ㄦ郸鍖�",cp:[121.528,31.2966],childNum:1},geometry:{type:"Polygon",coordinates:["@@V@CXJDKJZ`XIDDFADJvSRMDM@mFQHM@KCMKMuaOCU@BDAJSX@HKJGD@PNJCJWAGT@R"],encodeOffsets:[[124402,32064]]}},{type:"Feature",id:"310107",properties:{name:"鏅檧鍖�",cp:[121.3879,31.2602],childNum:1},geometry:{type:"Polygon",coordinates:["@@F@@FHDL@HFFAPFCSDC@@XGFDH@BDLHNACEFA@ERCIMJEDBAGL@@EHAFENHHJ\\ONQBQCIBC[MKACKI@GGGH@I_G@CW@[DMHCDIBMTDHN@JNHEH@FJFPKFACSBKHDJNABDMDECAFiDEDFDIPG@GLHCNH"],encodeOffsets:[[124248,32045]]}},{type:"Feature",id:"310104",properties:{name:"寰愭眹鍖�",cp:[121.4333,31.1607],childNum:1},geometry:{type:"Polygon",coordinates:["@@RADL\\NCPHFfLJaJ@FWLGMGIK@IFMDOYYFOTSBI@IMSAMSACFIDNDCPWGGBHNET[CU\\QjOCERFBEHF@@HjJBJG@@J"],encodeOffsets:[[124327,31941]]}},{type:"Feature",id:"310105",properties:{name:"闀垮畞鍖�",cp:[121.3852,31.2115],childNum:1},geometry:{type:"Polygon",coordinates:["@@HFFB@HF@DCAELENSJADCNG\\CX@@D`H@JHGHHJ@BINBFUGEDO[MCKQB}AwQEBUIEDMTNF@hH@FXEDFJEJIB"],encodeOffsets:[[124250,31987]]}},{type:"Feature",id:"310108",properties:{name:"闂稿寳鍖�",cp:[121.4511,31.2794],childNum:1},geometry:{type:"Polygon",coordinates:["@@CSG@BQGODUPWTOBQAAFMECKBGEMFKEOHADDJARMR[PGI@TEJBNG@ADBFND@JL@@NFFCL@D\\@DG\\JJADI"],encodeOffsets:[[124385,32068]]}},{type:"Feature",id:"310109",properties:{name:"铏瑰彛鍖�",cp:[121.4882,31.2788],childNum:1},geometry:{type:"Polygon",coordinates:["@@bA@E@QHSXBDIMI@OHCLI@GTWBIACQAYIOFGCENBBARSPOXCVHPARH@DT"],encodeOffsets:[[124385,32068]]}},{type:"Feature",id:"310101",properties:{name:"榛勬郸鍖�",cp:[121.4868,31.219],childNum:1},geometry:{type:"Polygon",coordinates:["@@NEHFLAFDHDPEAMZUHQQ]IMKJG@EPERABHBGRUCCNGV"],encodeOffsets:[[124379,31992]]}},{type:"Feature",id:"310103",properties:{name:"鍗㈡咕鍖�",cp:[121.4758,31.2074],childNum:1},geometry:{type:"Polygon",coordinates:["@@VDHQGABAFQFOH@LIiKKHEXI@IbAFZB"],encodeOffsets:[[124385,31974]]}},{type:"Feature",id:"310106",properties:{name:"闈欏畨鍖�",cp:[121.4484,31.2286],childNum:1},geometry:{type:"Polygon",coordinates:["@@DLLB\\NPGLFHUDMYABEeKEVMAAJ"],encodeOffsets:[[124343,31979]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/shan_dong_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"3706",properties:{name:"鐑熷彴甯�",cp:[120.7397,37.5128],childNum:9},geometry:{type:"Polygon",coordinates:["@@扭L職LllV艅虏猫掳x偶蘑臓脝l脪聞職扭b聹聞V陇膴Xn聨l蘑V膴聞脪職聞脠掳膴虐脼猫聵L聞卤@褵n禄VU藕膵虏禄脝k么V蓡k膴艃虏k扭VVwUUVmUa聝聛@KkU@聝mUmmk@UwUkmW@UVIXa@聝mw@a聶KUL聝a聝x@Uk@UbWU@yULmK炉@kX聝VUwm@@JUUknWKUV聝LUbU@聶wWykI聝a@w@mUI@a職UVynIWa聞k聞@@W聞bl@@knm聝K@wnIl聶掳Kna@聛V楼臒@摹U姆禄聶楼@U艒J聝X炉陇k@聶wmI炉聜k@mw聝ak@@職lX@bUJ@V聝bknWxkLkxl聨職LVlkLm聨職b@bU@聝bU@VbU`Vb@n聞L@聨mb聴U@聵VnUVmnU@mm聶@kIUWVIUK聸VkkUJUnmL@VmLUa聛VWaXamU@聶聶U@KUUmV聝U聴J聝U聶V脟w臒n聶m聝@mX膲V@l炉xn么"],encodeOffsets:[[122446,38042]]}},{type:"Feature",id:"3713",properties:{name:"涓存矀甯�",cp:[118.3118,35.2936],childNum:10},geometry:{type:"Polygon",coordinates:["@@聵bXl聝l@zlV@lXXm聨kbVVl職聞U@Vn@@Vmb@X職K職VX聞WJ@XXl@聞聜聨脠bVL職Ul`聞@XXV@VVUxVbUxVb職娄聞@聜WnXVJ@bnVUzl@聞掳脝x聞U聞KlU@mUUnUlUVWVUnVV@XX掳V@V職ll@Vk聞aXVl@Ux@bmbXLlKlb@b@bUJn@@聞聞b@n掳x掳K@an@@UlLVKVbXb@bVVnK掳LVa@UVa@聶Xw聜KVxnL職U掳@naV@UWUkW聝ULmV聴w脻KUUla@a贸_@m聝K@aUU@聛聝WU聧kwVm@aVI掳W聞@@IUw@a卤炉@楼kUVU聛m@a聜wkw聶@聝K@kVKk@maXalI@alL聞WXblaVLVU聞V@LnK職@聞l@w聵aXa職LlnUl聞L職mV@n聧掳J@_VmnIVym拢UKmI@WnIVm@anUVm脟_k聫摹I脜WUX脟m@U@脻炉脜@聝聶@naW聝聶IVW@IkK@klKn@naWI聝mk@聝a聝bkKkLWn聶WkLWmk_聝@UaV聝UKmLUw@mn拢WwUmU聶聝a贸V@UkUm@UKULUwmJUX@WW@X脪聶zVblJX聨WXk@UVWK聴X聜陇UL@xU@聝@聝VUaU@@XmVkLmWkXUy脻LmKXnV聨@n@l聶x@bWLnVVn聶`knULmxUl聞聞WLX聨Vb@V聝K@z炉x炉录Wx聶KUn@bk@聝l聝VVV聛z"],encodeOffsets:[[120241,36119]]}},{type:"Feature",id:"3707",properties:{name:"娼嶅潑甯�",cp:[119.0918,36.524],childNum:9},geometry:{type:"Polygon",coordinates:["@@l@@U職K@聨@L@bX@@VlL@J聝LUVnX@`脺Xn`V虏mJ@bU@@n聞b@l掳xnn母V脝職掳@聞聝膴拢脼@lWn脩nk识Jm贸掳w@kk禄V聧@禄聝楼k@V@kw@wVm聞a聵脜聞m職a么拢艓聝XI@mln聞Kla@mV_UK聝@kUkw@alW聶IU禄聶m聝聴@WUIl卤UU脜U聸bkJ聝聧@a@wUKUaVI脝mXIWaka@m@Ul拢XKVw@聝UI聝JUkmJ聶聝V聛kU@a聞聝WK聴ImV聝@UxmL@bX`WXU@U`脟kUak@@掳UblXk聜mLUKmL@VUL贸聝聝Vk@@Vlbn@Ub@聬膵aUJUb聝IUlVLUVVbVKX聞VlVXU@mb炉@聶VmKUw聛LWx@職Ub@VUb炉KmLUU@aWaUaULkK@Vm@@b炉L炉w@m聝a@聝m@UUU@U娄lJUX聝V聝mkb@nm聞XVW聨kb聶IVxUV@VUbWLXV聝LW`Ux@nk@Vn@x@VkJ@聹V`mXk聨@V聞xV聬@lV職職I@VUL職聵VU聞IV`掳bVXXx聞V@VWVnL@xV聞Ub"],encodeOffsets:[[121332,37840]]}},{type:"Feature",id:"3702",properties:{name:"闈掑矝甯�",cp:[120.4651,36.3373],childNum:6},geometry:{type:"Polygon",coordinates:["@@聞@nU聵JXL聝聞@blVU聜職聞nIVl聞IVJ@聞UxWLk陇@V@nlbXbWJ脜nUJVbVL@x@b聞聨lI聹a脝VVVk虏VJ@X聞聵職nV录職JkX@blxlV聞@VLU`@nkb聝Lkm@nWJ艒聞贸陇聶b聝n聴脝聝bUn@xlxU@l@聞娄@录U聨l录膴UnW聞@職n臓m脠x職U聞V聵I聞VnUVV@L職V@職nVWbXb聜UVbnK@UnKVmVIll聹UVLUJVXlJ職@nnV@nmVUUm@聴聵Vna@聧聝K@mUaV_UaV@聞aV@@a聶an聧lKUk聶Kk聧lwlKXwlm聞a@UVI@akW@聶l@聞bnxl@掳聛nJ職xl@掳拢聞W艓IU脩n禄la職m么鹿艓楼VaUUk聝mk摹W杀IUU殴`聸@kk@膲屁艡V楼聛_脟@聶默聝陇脻L炉m炉拢平贸姆wUW卤墨炉k艒a膲臅聶k臒m贸掳聝bW@UKkLUa聝Vmz@V@聨UxVn"],encodeOffsets:[[122389,36580]]}},{type:"Feature",id:"3717",properties:{name:"鑿忔辰甯�",cp:[115.6201,35.2057],childNum:9},geometry:{type:"Polygon",coordinates:["@@@楼職IVU脠m脼禄@UlU@Un@VW@UVmkk@aVUUKV脻@UVknK@UV@VVnIV聝@wn聝mwmKXaWaXI@UV@Vy虏blkVKkam聶U@kb@Um@VmUkm聝聛KmkXKWwkU@Ul聝@UnK@UVUUm聜KXw職UVL聞w聜K聞U聞@@Wl@@wUkV楼聴@@I@W@_V@VWUw@UUa@a聝aWa聴@@_mKUw聶l炉amzmV聴@WK聶nU@k聝WL姆aUK聛b脻VmV@聛UW脟b脹@聝X聶掳UbW@X聨m聞Vlk虏UJUbmL脟x脜WUzl聜炉Ll聞@VkK聶XUbWJ@bU@炉@聶聝kb聝LmKka聶聞@l聶_W職X潞VbUz@J聜n虏V@陇lX聞聨聞nV掳職Ln`WbXL么VlKVU職xXn聵lXLlU@bVV@聞XJWLUVnVV@聞聞@n聜l聞掳nn聜V聞K脠bVX脝JU掳VnXV聞kV@@xVL聞@職Wlb"],encodeOffsets:[[118654,36726]]}},{type:"Feature",id:"3708",properties:{name:"娴庡畞甯�",cp:[116.8286,35.3375],childNum:11},geometry:{type:"Polygon",coordinates:["@@nam_nKl聫VLXa聞Il`職_@KVVXI@m@w聜聝聞@@k@K職n么@n`VbV@@L聞L@KVVn@VX@聜VL聞Jl聞職@VUU聝U@Uam@Uk聞w職KWaXam聛kJmIU聫VU脠bla職UnV@kVKl@@lXL掳kVJ@V脠nVJUX@V聜LXl@xVLnU聜@VK聞V@a聞IUaV@聞b膴U聞x聞K聜kVJXUlV聞聝聞UVa職I@WUI@KlUnw聞mWk@WXIW聝聶U聶L@Wna@Um@@U聝Vk聶UUlan聧WW@kkU@y聞kWk聴aWVUl脻bUU@k聝JUIU@@聝聶Jma贸k聝L聛K脟聝UUkKWLk@WbkUUa聝bmKn炉掳楼V@XwV@VanaVaU_@Wlk@W脠@VU脠VV脹聜m聞ak聧lK脠炉lLVUX@lK@aX@@kV@VmV@VwnJV_UWUw聝X聶am@kW@wVUkKVIUUVmU@UV@IVK@aUL@a聝V@Lm聞UKmx@聨聛么mLkUWJ@職nXmlUxUL@Vkn聸VU職U聞@V聶L聶`Ub卤LkV@kUK脟b脹@聝U聶W贸_mJ聝聧@Wk@@X聝@聝V聛L聝xUK聶VWx聛LVnUV@VmL@Vk聞@VlVXxWLnl聜Ln聞VlUnn@@VlaV@n職lbULkl卤aUzU@@VWJXbWbnLnxm聞@xU聞mJUUU@@VmLUl@VU脼VLUV@bllUn@VUXm@@VkV@V脻录脟nUV聶J@娄nn聝lnVlL@聞脼b掳KVV"],encodeOffsets:[[118834,36844]]}},{type:"Feature",id:"3714",properties:{name:"寰峰窞甯�",cp:[116.6858,37.2107],childNum:11},geometry:{type:"Polygon",coordinates:["@@聞陇@VmbVXnVVbVJ職職X聬@聨ll@z聞lVInl@聞@bVxUb臓聜l@脠bla聞I職xXVWb@L聶@n聜ULWVXX職WWLnL@`@LUVVL@lVn聞J職U@UUk聜a聞聶n職聜V么么聞b掳录V聜脼聬X職聵聜聹I脺b膶a聵b么W聞X脼W脠z脝mnLVJ掳脠nlV虏lbnW@聶@U聝UV聶職mnwmkkKW聝聛kla@mVIUKUa聶aUwmn聶JU@@amIk@@bVlkX@mmUk聫lUU聝聝a@_UaUU聝V@w聝w聶WkXmW@I@WUa脻U@UXaWUU@UUVW@UUUWUn楼nUVa@m@k@alU@wk聫聶LWa聛@UUm@@wn聫mU聶wla@anKn_@alK@脻聶_聝@@WUUUml聧ka聝I聝yU@UwU_Wa炉yU_mWUwkImm@InWWUk@@UVWV聴kW炉U@V聝L@b炉b@l卤娄@職VV@lUbV聞@職kxVnU職l录XV@b@lV@nIWxnb聝聜聶@UU聶L聝x脜xm炉聝aU聝聶wU@mU脜V脻KULm@聛bmKUX贸@"],encodeOffsets:[[118542,37801]]}},{type:"Feature",id:"3716",properties:{name:"婊ㄥ窞甯�",cp:[117.8174,37.4963],childNum:7},geometry:{type:"Polygon",coordinates:["@@Vb@`聞bV聞kVl聬nV@nlWUk@al@nJ@bV@職InmVx職bVbVLUJ@nkb聜lX聞lLnlmx聶nU職聞V@V@職mXn聵lb母@nnVx聜b@lnXV@UJ@nVx職xnxVb脝Vn炉茠臅聜@@w脠莽U脟l姆VI聹b聜@聞脟mk@楼k@UkUK@aWakU贸JW_UW@wkkWK@U@K職@XU聝聝UkmUUalKXala@U@kkWlk脠l@k職V聞mVIVmU_聜a聞聝聝wnwVW@w聝wU聝@wU拢聝wkJWI聛yUI卤bk聜V聬UJ@nmV聶Ukl聞Xmx@lnbW聞kV聝UkLW聨聝xkKUUmUkb聶J卤聧聴L脟xUKmkUmkkW聶聶a聞mUaVk職J脝_虏K臓@U聧聞W@w聞U聜楼nUWw聛K@a脻Uk脜VaVK@akLW聝聝聝炉I@bnbVx炉JW聞帽職WbUL@職聝聨nV@VmbkUUV@I脟ak@@bWak@WJU聹聛JWL@bXV@聞聜@聞V聞Jlb@zUlU聨UIm職nbV聜mz@掳UV@V聶bV@@V@L@x聛LmKUnmJVX聞J@VkLW@UVUL@b"],encodeOffsets:[[120083,38442]]}},{type:"Feature",id:"3715",properties:{name:"鑱婂煄甯�",cp:[115.9167,36.4032],childNum:8},geometry:{type:"Polygon",coordinates:["@@么@VWnL聜an@VK脼L脝UnVV@職xV聞聞bn掳脝w聞w職KVV職@聞聛maXwmJU@@k@aWUk禄V聶Umlw@聶U聝Va@kUU@聶虏楼@k掳a@a聞K@U聸聝U聛聛@mmm@贸w聴脩卤楼炉@@w聶Kmw聴I聸楼kU炉UmakJmIUa聝VkKUkm@VUUa聶U聝@Ua聝KUK炉@聶w聶UV聨UIUKVw聶k聶楼聶w聝bV聨@xn聞@lWnXxlL@`聞XlJX娄l掳XxW娄@娄Ul聶n@聨聶@@Um@@VXVmx@聬炉bllUnUJ@VULVn@b聞xV聜VL@b聞聞VlnVVblV聞脠nVlIVJ聹L么聞lJ@xl聬虏聞"],encodeOffsets:[[118542,37801]]}},{type:"Feature",id:"3705",properties:{name:"涓滆惀甯�",cp:[118.7073,37.5513],childNum:5},geometry:{type:"Polygon",coordinates:["@@同U仟l么@掳U聹w掳艒臓炉職禄蘑莽聜禄X脟@w聶w茟a聶聧脟聝kwV茟炉@脜聶姆Umm炉w@k聝a@mV@@anIU卤m_脹W@_mWVU聞K@IkK@UW@@a@K@聧聶L@Vk@卤U聛@UV@lm@mUU@kLm聞聞xV陇@xV聞聞x@xUXmx聞x聝聞聛bV`UnUJ聝n聶U@l脟kkllX@l@VkbWbkLVbnVVl聞聞WV聶@@L@VXLll@xVXX`么IlVXb@bVLVll@@娄nl聝脠聛@聸aUJk母V脠脟猫@x"],encodeOffsets:[[121005,39066]]}},{type:"Feature",id:"3701",properties:{name:"娴庡崡甯�",cp:[117.1582,36.8701],childNum:5},geometry:{type:"Polygon",coordinates:["@@虏娄聵脪么xn@nn聜@V聜聹聞掳VlXU聵UX@Vl@XVmX@JnnlJVxnXV`掳zXbV`VxV@聞z聞Jlbk聨VnVV@X聞@職`@脼kL@bm`mL@bkb職xnVm聬@xn@VV聜@Xb職Kl聬@xkV@b@l@nUbmVm娄XVVV@VUXVVV@XVWb@V脼VVb@X@JnXlW職X聞x@x聞UVV@aVKVUX@lK@U聝IUWnIVmnL聜K@w@K@UU@職a@UVU@炉nyU聛man聶VJV聧Vk@yka聝I聝U聛@@聝WU@aXK聜IV聸XIl@Xb@al@脠b@JVUlVna@UmU聞聧@聶VKXa貌聶X聝掳IUwma@aU@UU@wVW@脩聞w@a聶I卤`kb聝Ukw聶UmJ@Ukm脟UUkmKknUV聝@mJUk聛aWk聝a@K聛聧mKkU聝LmyXa炉_@WmImm聛b聝LmUkVUbUV聝J聶b聝UkkWJkU聝l聶IUm聶k聶L聝聸聞聛lK@knaVmkI@mWa聝LUK聶UU@@VmLUV聛LWK@UUU聝WUkkVmx@聞Vl聶娄"],encodeOffsets:[[119014,37041]]}},{type:"Feature",id:"3709",properties:{name:"娉板畨甯�",cp:[117.0264,36.0516],childNum:5},geometry:{type:"Polygon",coordinates:["@@n录職聨W聞nx職L@x掳@職楼Uk@聝nwlUVl聞XVV@VXL聜KVUnK@UV@職VVL聞KXb@nlJUnmb@lkL聝聜聞聹職K職lVn職J聞klVXIll聞V職a聞IVUValUnV聞K聜annnJ@X掳`Wbnz聞KlVnL聜聨@L聞bXl聜bVlnI聞@VUU@UmV聝@U@U職楼@聧VmV@@_Ua@m掳@@聝聞kmUUm@UVmn@nX聜@@a聞anJVUVL聞mlIVJn@nkVLVa@KVmVLXVVL職@@U掳bn@VaV@@K@aVk聹bWaXUVymU@aUImW聛X聝@聶楼UaVwUaVwUUU@WW聝@k_聶VUK脟a聛聧@聝聝nmxkV@LVJ@X聶JUb聝V聝聞kUWVUI聛l聝L聝w膲V聝aU@Vb聝J@b聝UUL聛@mVUK@wWk聛K@UVWUI脟m@UUI炉lWK@kk@UL@lmU聶Vkb脟aUVV聬nJlIn聜WbXb聶L聝xVln@VbV@V聞UV聶@k聝聝IUK@聛UWm@UU@L聝K@KU@Uam_贸@聶m@L@l聝@聛聞@x@nWJUU@L聶`k_聝JWbUKk聬mLn`mb"],encodeOffsets:[[118834,36844]]}},{type:"Feature",id:"3710",properties:{name:"濞佹捣甯�",cp:[121.9482,37.1393],childNum:4},geometry:{type:"Polygon",coordinates:["@@VbUnVVUx膴录職录么@脼脩聞炉聜W乾L艓U脝W聞鹿U脟聝艒炉脩聝脻k牛聶聶牛贸摹聶贸L聶艂胎U聶wm楼k脻mkkK贸b脻@U娄@聜mb炉Lk職mJ@x聞Lmn@lk@聝a@X聝@聝lXbmJUz聶V@bVJ@n@x聞blJXz職xV@Va聞KVUXLlmVV@In@Vx聞UlW掳@nLVK@zXVVal@@V聞w聞bVK職L@bnx@聞WbUJ@VnXVlVxl@nnnV@聞lV@L聞聜"],encodeOffsets:[[124842,38312]]}},{type:"Feature",id:"3711",properties:{name:"鏃ョ収甯�",cp:[119.2786,35.5023],childNum:3},geometry:{type:"Polygon",coordinates:["@@UaVUUKVk聞JVaVI膶b@聫Vam@ka@Ul@聞U么聞VK@UnKVLnKl聛kWVa@炉l@Vb脠lV_V@XWW_@anKVwUmVw@聧@Uny聞UVblKVLX@聞a么炉贸楼m脹膴每脠楼職聶脼鹿l聫U墨聝聧炉K膲录薀b脟V聶U聶聨U聨聶XmakJUnmV@bUnmJ@XnJVLn陇UzmJUn@`炉Im聨U@聶n聝KVkkm聶KWb聴b@x聝k聶@mL@K聝UUVUKkbWa聝XkK@bkJWbnbl@UL@l聞L職@lx聛x@b聜nUVlV@娄虏掳@bVx@J聝@炉XUJ@bUnlxV聨聞X@聜VV@b聞L@n么`@bkbVV脼L聵xnU"],encodeOffsets:[[121883,36895]]}},{type:"Feature",id:"3703",properties:{name:"娣勫崥甯�",cp:[118.0371,36.6064],childNum:4},geometry:{type:"Polygon",coordinates:["@@n聝lKV@nVn@@kVU聜@虏VVaU聝@wmKXU@U聝UWwUW炉aU_聝JUV聶聴VK@U聶JU聶@kU聫聝w@Ul聧nWU_@聸lI@U@wUml@@mVwX_聞KWUXKVa@UVUUw職JlaX聧WUn聝@mla聞n聞UVWkIV楼V@VVVI@a@akakLWKna@aVwk@WU聝bUlk@聶k@U炉UWWU@mUUVUXkVmVVV@nkV聝L聝V脜w聝炉k@WVXb聸aUl@bV@@b@xkVVXVxkJ@nk@@聨VLUlVb聜VXUVVUzV聜聶LVbUbV聞聛VWVkLm職kJ@n卤@UxU聞VVkV@b聝x@脪UX@xVVV@掳J聞聞X聞lK@bULUbl脝脼V@b聜LXxmV聛娄聝V@x聝XV聨臒@卤L脜`聶IUlVb聝n職bX職llVnnlVL脠w聵K虏聨職IlanVVVlL聞wX聧lK聞VlUX聝ma@knw聝Wlk職VnU@mVIU聫l聛虏aVJ聜zXJlI"],encodeOffsets:[[121129,37891]]}},{type:"Feature",id:"3704",properties:{name:"鏋e簞甯�",cp:[117.323,34.8926],childNum:2},geometry:{type:"Polygon",coordinates:["@@聜yUU聞U聞kl@@aVm職LXw掳禄掳w@y聞L@UUaW聧XK聝聝VknwVKlm職_UmmUXK@a職w@k@mU聧WmUL@聝@聶@拢@K聝b脻V@akw聶aULm聝聝bUK聶LUU@lm@聴掳mL@nUJVxVXU`mIUxU@UnU@@lW@@bkLW@UVkK脟掳kLl聨聝b聛nU脺脟UUV脟@@Xkl@XV`UbmbUbU@WxU@炉娄m掳nL聞aVblVXal@XKlLVV脠聞聜L聞K么lnb職I@聞V@VJ聞I@lVV脼aVkXU"],encodeOffsets:[[120241,36119]]}},{type:"Feature",id:"3712",properties:{name:"鑾辫姕甯�",cp:[117.6526,36.2714],childNum:1},geometry:{type:"Polygon",coordinates:["@@lmnLVl脠Vln@VnI職Vlx聞Vla虏_職JlUUUV聝Vw虏@@mlIn聶lKXU聜UU聝VaUa職KU聛VyUUWV聛UUaVkUK@聧l@@mlIUwUWlU@w@aU@@LU@Ubm@炉a@V聶@UKWUUKUn@LUbUKmlm@UIkJ聝nUKUVmI聝b@b聛@mWm@Un@VVnnV聝l@聞炉@@nVb@`U@Un@聨聶娄@V@VU聞VnV@"],encodeOffsets:[[120173,37334]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/shan_xi_1_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"6108",properties:{name:"姒嗘灄甯�",cp:[109.8743,38.205],childNum:12},geometry:{type:"Polygon",coordinates:["@@聶媒V聝nIW禄聝W@禄kU脟L聴脻聝U炉楼脟IUWW脩聴UWwX炉m聝@禄n聧@聫脺聧脠姆么聶@a卤k膶卤聝w聞脩mw聛莽膵mU禄脝kk聧Vy聛Im聶膲每@聝脻鹿聝Wnw脟V職聶脜a聝zmm膲娄贸聶kVmx聶xU录V職kVm_UlVlk聞掳IV聜k聬mJ聛a聸娄k聶聶Lmm聛V@XmKn職lU聛么聸VXb聝b聝@Ua脟L臒脺聶聶脜w聝拢mKnm膵w脜@Uk聝bma聛V聝聝聝n@m炉aU聛聶Jm_k聵@kW聧Xyl@@k脜amw聶LU聶脼聶聝聶mW脜zUK聝職聶Uk聫卤@聶b@nnK聜bX陇mzV職聛聨Vx脟n聞聜炉聞@脪knW聝聝VUbk聧姆聫脠脩Wkk@Va聶聫聶U@聞mUkb聝脻脜@脻楼脟bk默聶XV`kL脟聧Vm聛alUUa聶nV卤nwmk聝J@In聝掳KVw炉Un脜@楼聶聝聶U卤b聛UU聵卤聹聛mWb脹KWn聛Um`U茠VK@bmn聹m聜脠脜录@V聞L@x聝xm職聞扭掳聬n聨@VmK聶聬虏Vl職lKk聞么@聞锚脺V@VXLlm職娄U職職V掳聧葮炉虏每@楼職@脝聛膴聵虏I職m亩nnb掳b聞KV聝母Ll聞脼@U犬職聬聶脺掳IV聝脼脻脼聬l聨聹x@聨姆膧W聨聞聬Ux聞猫脝聬@職掳聨Xn職l膴臇掳m聞n聝職V聞虏V掳脪脝娄聞a脼聞聞聵@zll@b脼膧職l職录nK膴录贸脠聜b虏卤職I仟脪炉臇聛V@聞lxnVlk聞JlaXw艑膲聞聞@Vn聨職聛職l脝臅聞U脝L聹猫艑扭么x脠職lU聹@職xlaU聛膵臅Xm聞IWmnk職VV聝聞VW_@a脠WUUmk@聝炉莽Vm聛禄聶聧卤W炉聧n楼V聶mkXw卤脟Vw聛聝"],encodeOffsets:[[113592,39645]]}},{type:"Feature",id:"6106",properties:{name:"寤跺畨甯�",cp:[109.1052,36.4252],childNum:13},geometry:{type:"Polygon",coordinates:["@@@kk脟mI職mUwVkU聝聝U虏Wm聛職Vkm@聛m`mI蘑臅U聝Va@聶m聛X聝聝每V聧V聧kyU媒職臅@聫l_Umn聝W聧聞KVk牛聶聶楼聶a聝w臒@聶聛@a么聝聞聝Wa聞kUm聝a炉炉聶a卤拢kx聶mmxUw脻@聛xmU聶b炉K聶w贸聞脻@kmm鹿Ub@lklVbmnnVUV@x聸Ukn僻JUX@聨聝L脟Wkw聶L姆僻脜wWJk聞聝Lk镁膲xWz聶JUn脟職k職@茞k录脺脭脠K職猫@掳l脠聶脝k娄l聞n@l录@l炉L聶掳UU聶V脟掳聝鹿聴`m录mXk聜聶bUa聝V@U炉x@娄聶脟聶聞UUmlmU聛Vm聞nnmlkw聶@@職聝娄脜聜脟Lmx炉Ikl職聞@娄m脝掳VUx炉Lm聞@J聞InlmxU虏職mVbkV聜bUn脠聨lKU_職Wl墨脠a脼娄脝@聞脼lanV@聝職V職聬Ubl@Xl脟脪母聬l聨Va聞UX聞lm@脩掳聝聝聛脠mUw聜聧U聶nyW拢聛amL@m職a虏@l聬職V聞聶VL脝ynX聞職脻職V職職Knx脝b@lk@WzX聨@ll聴n`職IV聜掳b@n聞m聞聞聜Unb聞aVl脝@膶xmnnL聞陇脝x職職臓脹脠KVb聞@聞aWa聹U聜贸kVm聶nL@W聜Unn職Kl職聹楼聜bnIl聫U聛炉Jl聝UkVkn`lUU聶V禄職wnwlU么職膴楼nn聞y脝b"],encodeOffsets:[[113074,37862]]}},{type:"Feature",id:"6107",properties:{name:"姹変腑甯�",cp:[106.886,33.0139],childNum:11},geometry:{type:"Polygon",coordinates:["@@lKnb@n聞lWb掳bkx母wVb@艂聞nl聨聞聝膴楼職L@聬X聨l聶脠聝Vbl聧脠K聜b聞ak聧Vw么ml聧虏`聜n聹@聜nVK聹l聵k虏x艓聝掳娄VU聞J膴w@莽n聫W莽脼聝VkU聫贸脹@楼kw職聶職Um聝X炉W聫職脩k聝@聛UymIUwlUn楼聜mUk虏a掳炉V禄@聶脻V脠聶聞脻膵脜脜Vl禄聛@l聛@a掳卤@_kamm脜b聶a@聧聝聝m@脜录聶Kkn玫臓聴@m職聝聞炉L脜w聸聜聴LVxmb@录kV聶@mw炉wVakKW禄聛X卤录炉Vkx聝b聞录W聨@n聛x@x卤b贸akb聝@脻mU聬聶@姆脫脹L聶k聝VUm聶k炉陇脻LUl脻@脻z聶職聞x@x聶掳聶聶聶b聝m聝X炉aUJW炉聴k@b脟W聝w脹wWx聝@X聬Wl聛b@聨聝聞V聨脠Ulw職Lnl掳VlU么娄聹U掳陇V職UxVXUxlbkVVl聝I聞掳聞脜VlU掳m@k聞脟U炉xUl聝LUlVL@b聶掳臓In臓掳脠nK聜聞@x脼a虏n聜aUy職XUKVk職W么录脠a聜z掳JXUV脟V_聞JV聝職z@聨nb"],encodeOffsets:[[109137,34392]]}},{type:"Feature",id:"6109",properties:{name:"瀹夊悍甯�",cp:[109.1162,32.7722],childNum:10},geometry:{type:"Polygon",coordinates:["@@聞b膴a屁猫職w么聬么聫聞录職b掳a職XV聝脼VU聧脼@聜aX聝m楼kImx炉炉聝V@anU@U脟茅臒L@聝炉楼V拢m聝@脻脠b聞K聜聶聞X掳w膶每聵聝聞b@x脠blx脠炉膴聞聞m脝UV聝聞n脠@屁聫脺L蘑楼聝殴n聝掳Vnn聵K聞a么_脠聝職wU聫聜aX聧m聧nW聜聧炉聧kl聸LX聝脟聶艒娄脻a脜Vmb臒Un楼卤w脜茅V聛聝an楼聝聧聞U聞禄掳am楼聞拢聝脻@聝聞wVw聶楼nU聞脩聝UmmVw聛m姆I脜a贸VWxkblb@b贸l@聹臒脪膲陇膵X聝聵炉X聶xk聞脟@贸脝脜x@職聶x姆_km脻聨脟拢kblb@`炉虏@bk聜聜@k录脝U膶脝聝脼脟職脼U@職U录炉掳卤bVl聛nm娄kVVxnJVz@聜l聞聶脪X聬W掳n聞聶V聶職lx@娄么脺V聬Ul脻聞X猫m聬@猫"],encodeOffsets:[[110644,34521]]}},{type:"Feature",id:"6110",properties:{name:"鍟嗘礇甯�",cp:[109.8083,33.761],childNum:7},geometry:{type:"Polygon",coordinates:["@@虏nl聜么b職聞掳aVwnK脼I職`掳w職X么w掳V膴掳@聨脜職聞脼脝V聞z脼K@x職聨@a聜L脜職@b@聨nLl聝@職ln聞mnLVw聞a聞bV聝聜VnbU录聞V聝掳聞bl聞職b脠@亩聧纽b聵@n脟@amI聛yUI@聫臓聛Vm么聝U聛聶聝VwkwlanJ聞炉lw贸楼@an聛掳J職_聞聫聜@職聶n贸茠贸@拢l楼Uwma職脩@聝聛Um卤V_聝J聴拢聸J聴UW楼炉@聝_k聫炉录mU聝VU猫炉b@wmL聶禄臒Vma臒I炉陇膵IUW聶X聝K牡娄姆a聝JUb聶I聝lU聧贸Vmk@W脜脜脟@聝mU聞脜V聝n膲聝脟掳kw脟a@w聝a聴聞膵膧炉x聝W聛職聝L脟a@脼n聞U陇掳娄@聞臓K脠锚@VmV@b聞U掳掳nwlJn娄W聞聛b脻@V聨"],encodeOffsets:[[111454,34628]]}},{type:"Feature",id:"6103",properties:{name:"瀹濋浮甯�",cp:[107.1826,34.3433],childNum:10},geometry:{type:"Polygon",coordinates:["@@@聝聞拢@聸掳I職b@炉掳yn殴聝aU聝l聝U拢聞Um聫職牡膲@@ylU脼@@拢kWU炉WaU拢炉脟V楼聝@kb炉w聝n聶楼脟kU脟nU聝聫@聛炉卤聸kUL聛m聸@聛m卤_k聨贸nUxl聨聝b聛a脟Lk聨Ua脟聞k職W聧@聫聶K膲娄聝聞k聧聝m@艁Ua姆xlw炉aXa聝k@mmakL@職m職脹聨@录m聞@l聞XV`聝n聶KU職掳掳@虏職陇U聬脠@Vxm么聝x聛Kl聞VV虏aVw聞Xla聞Vlx@聬UVn聨脟nk掳聝VVL聶lkI聶職聝J脟k炉V@職kn脝聵n@lznmlVkzV聨聞VVx職@Ux聞z@x卤录Vx聛xU聞l聜kb聵@聞录膶k聵VXl臓k么V虏w聜LUKlw聹J@a聜IV楼脼聝n炉脺n聞聜聞@nk聵l虏k脝@職掳聞aVbnI@聶職聜扭n"],encodeOffsets:[[110408,35815]]}},{type:"Feature",id:"6105",properties:{name:"娓崡甯�",cp:[109.7864,35.0299],childNum:11},geometry:{type:"Polygon",coordinates:["@@@脠么L聞xU聨掳聞脼@m聨脠nl陇nU么L聜wX`@脼脻L聶聨U職mL么聞聞聨么bVbn潞ln脼@么聝職x掳L職anV聜w脼@Vxnw職nlw虏陇職b掳掳聞bVn聝lXb聝聞贸聞@b職聜臓@聞x職b職娄扭職V聶X摹聞拢W楼平山聝贸@媒贸茲脻禄聞拢X聶m茀職聫膴kU聝聞@聶聶職贸聞k钮a牡聨脟@聶ak聝聝a聞炉聝UV禄ma聛UU聞聝a聝bUxmK聝nkm@聶k聞mK@聧聝x贸@炉n炉K脟娄@么脜猫lxkx掳n聝凭炉KU聛炉W姆L@V脻IUb聶yWbX录脟掳"],encodeOffsets:[[111589,35657]]}},{type:"Feature",id:"6104",properties:{name:"鍜搁槼甯�",cp:[108.4131,34.8706],childNum:14},geometry:{type:"Polygon",coordinates:["@@職IXy膴wl媒聞Kl聝XIVa姆聝聶禄聛a聸拢聞聫炉aVU@a聛聶聜w脠艒聜a職L虏禄聜V聹Uln掳W脠炉W禄Xa職zVa脼J@U聝禄@炉脻b臒wly@拢k脩牛卤W脩聝@ka聶IU聝聝n聝@炉聝贸m牛U聶b聶U炉l脟I脻b@陇脻@kV@z膴@聶亩n聬聝VV陇k聞V聞聞bm藕炉z@掳聶a炉J@聹聝陇@聞聞bUx聶b聝聞@`聶xU脭卤潞VX聹W聜聞UnUJ聜L蘑炉脠Klblm脠X艓掳職U聞聫掳L職聨lk脼K職@脠xl_掳亩U脪kbl職"],encodeOffsets:[[111229,36394]]}},{type:"Feature",id:"6101",properties:{name:"瑗垮畨甯�",cp:[109.1162,34.2004],childNum:5},geometry:{type:"Polygon",coordinates:["@@掳虏@聜聞聬mVV脠脠l職娄聞m掳xla聞@U娄掳脠V陇XbV掳lX脼a脠J掳k職V職a扭V么n掳聞聞@聞mV聞職Jlb聞@X脪扭虏l脪@陇kz臓x脼a@掳聞录母K掳XV聜掳L聞平炉mlwkw脝莽@贸脠楼掳L掳m么@聞w@a脝聶聛K@b聶聧@w脻L聝y脜U聝脻脝聶@聧膲炉炉U贸x聶W炉x聶_脻JmLUx炉b聶聝贸ak聛卤m脻UU聞聶W炉b聶a聝禄贸聬贸聫聶x僻莽膲b聝a膲x聝IUV炉楼艒聞卤w聴l"],encodeOffsets:[[110206,34532]]}},{type:"Feature",id:"6102",properties:{name:"閾滃窛甯�",cp:[109.0393,35.1947],childNum:2},geometry:{type:"Polygon",coordinates:["@@脝x母屁職Klx脠X聞K@聧VW屁Ilm聹V@wVUmUnmUalk@kVaUa贸a聝聧贸聝nKV聶職聧脼K@脻W_聛x贸KmVk拢脟mn聧脻@炉聝V聧聝w贸K@脟炉Xkm聸V聛U卤录聶K聛b脟艓聛x聜職@bUV掳b聝聬聹陇聜b職录母聞Ub"],encodeOffsets:[[111477,36192]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/shan_xi_2_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"1409",properties:{name:"蹇诲窞甯�",cp:[112.4561,38.8971],childNum:14},geometry:{type:"Polygon",coordinates:["@@Vx@lnbn娄WlnnU職m職掳職虏V職聬V聜VVVnUn聞潞lz@l聞聞@J聝@kXWVXl@L聝a@聞聝KUL聞聨lbnKlLnK聜LnK脝Xn掳職bVV@bUVl掳Un@LnaVJUbW@UX虏l聜@膶wlVVI職Wnk脝a掳聞聞anV聜Kn聛掳聶UW炉@聶aVUVk@Un@聞aV@ValwUanmWU聞k@WVUUanaVwnLVl掳@nk@mVU@UVK@w聞LVKVU@聝聞K@UUKVUV@@bnL聞a聜V聞a么職lIXmlKX_掳KVV@bVV聞@職zV`kblI聞V聞Ul聜職L@bnV@V聞聬膴ll聞聞VlIXW@k聞a聜U虏blK職VnIlJ聞albXXlWVn掳Jn職nL@l@XlJlaX@聞X聵W虏@l_VmnK職U聞blU@mnkVK聞炉@U@聝ma@kX楼V聝makk聝L聝聫聛a@a聝@WIUUV聫X聧WWnk@a掳a@kkm@kUUmJm聧@WUUUIk`m@V聴kaWWkX聶Km聝Xk炉聝@聧WK聝Lkak@卤b聝w聛@聝a聝a@aka聝@ma炉@聝L聴K脟脜kKWbkm摹聛聶卤脜U聝LUK聶VVk聝m炉LUVVb聝聞UwUW炉bm聞聝U聛L聝xWJ聴@聝klmkUm@@KnwVkVK@akw聝@@a炉b聝Kkn聸VUI聶b炉mmbk@UbmKUL@xUU聝@klmLU聨lVXI聜VVVUVU聹U`mLXVWbXnW`脜虏掳xm聨聛xU@m聛膲聝聝wU@mbU@U聝mbkVW娄kJ聶@聝X@`炉Im@UlUVVn聛b@bWJXnmb聝JUU聶UUa聝@UamIka聝x聝@@x@b"],
+encodeOffsets:[[113614,39657]]}},{type:"Feature",id:"1411",properties:{name:"鍚曟甯�",cp:[111.3574,37.7325],childNum:13},geometry:{type:"Polygon",coordinates:["@@@a@w聞@聞wlbnJVb聞@Vb職VVV聞InaWmXI@a聜aUmVUVkn@掳J@_聞W職@lIX楼lUnaV聞V@naV@聞x膴聞n聜V@聜wn聧炉w脝卤X_WmXaWUnKV_V聸VUUU聛UWJkUV聧nKlk炉聫聶@@kmKUa脜聛卤KkU@WmI@WUIlUUmVwX聝聜w@聝聛UlUVw聹V聜@聞Lnb聜W@anU@U職aVk么@l禄n@na聵JnU脠LVa脝聝UUVm聞聛VKV聝虏L@mU_lK@UVWkU聜a@a@U炉aUa聝脩贸脩Ub聶聞聝Kk@@a聝k炉mVaUwV聧聝脩kWU聛mK@UUKmXUW脻wUa聶LUU@aWJUUU@Ua脻聞U@WL@V聛KVaVI@WnU@alIVK聛聝聝@kI聝聫mIkJ@聶m@聝聶聛@@_聶K@x聝@kaW@U聞@Vmn@聨UK聛@mI聝JUXV陇XXWlkK聝kkK@XmJVakImJU@贸聶炉LWKUV@nUV聝LkxmKkLma@kXKmm聝L聝a聛b聶LmK@V聛@mXV脝Ux聝X@`nL聞aV@@VmLUVnLlL職聵聞b@聞職聨掳虏nx@b聜VUxlb@V炉bUV@zV聜XV膴XVx@lVn@Vnnm聨U職@LlJXV聝z炉VWVXb職V@bmn聶VUVk聞脟镁脜聞@XVxmbUlV聞Uln聞W聞@聞Xl聜@VLX脪@b脼J掳娄聞L聵貌聞@nU聜b@掳聞X@聨XbmVU聞V聞nb@x聜x"],encodeOffsets:[[113614,39657]]}},{type:"Feature",id:"1410",properties:{name:"涓存本甯�",cp:[111.4783,36.1615],childNum:17},geometry:{type:"Polygon",coordinates:["@@nW聜@@UnL職K聜a聞b聞KnnWL@lnblKnLlw聞KVU@mVUXL掳K么職V@nIlJUbnI@WlL聞llLXkWWU拢VW聞InJ聜@VL@聧nm@UV聝X@lb聞@@w職L@`聜@聞職n@V@lw聞@n聞VmVX聞WmwnUl聝聹a@_lK聞wVlUn掳xVKVXXWlU職VVI@K@K聞n掳K聹wlVlU@kna@聫V_聞Wn聛聜m聞UVm@kXml_@m聞LlKXw掳m@_么JVUV@X聶l@UaV@Va掳I聞lk禄VwUkV聫mw聛UmmV聧n@V炉@K聝U聴wmK@U炉wUV脻@mJ聝U聴nWK聶@@UnKVa聞_lykUmK脹nm@聶x@聝UUlwVk聶聝XW@聛聝a@U聝@@K@聝kIV聶nammVakUl聝@wX@@k聝聶炉@聝VVbml@聞聞掳UbULmlVbnb脜K卤聬聛V聝KVXUJWa聛@ULWaU聧U@@U@aWK@UkxUK聝LUUUJ卤UkL@V卤kk@kam@UV@l@LWl@聬n@VVUx聞LlUUx@VUV聶U@a聝IUl聶L@掳mLU聜聝bkUUaWUUaUU@aWK聴LWJ@bUL@VUVVbU@m聛@a@聫聛kmKmn膲lUK聶X聝WUblb聴xmIk聝聝U@xWb@lk職Vx聶LX聨mzVV@bklVVUzm聵@bk聞@聬Vx@xl聨U聞@lUbV聬nl@聞Wxnl@n@聨UbV聞mL聛聜m聬聝b@`X@lUX@@xlnkLWaUJnnWV聶Vn@l聞@bULVV@l聶V@XnJVX"],encodeOffsets:[[113063,37784]]}},{type:"Feature",id:"1407",properties:{name:"鏅嬩腑甯�",cp:[112.7747,37.37],childNum:11},geometry:{type:"Polygon",coordinates:["@@@職lInJ聞聬lJ聞@聜聞ULkJ@bmV@XUJUb聜L@UXKV@脼聝VbV@VVXI@bVV職KVb脼xVXnWVL@VnLV聜lX聞脪U聨VxUb掳n聞l@bl@聞L職聝Va么脪聞脪Vb掳b@VnLnnV@lmn@lb聞U聞V@聞聜J聹UVV聜Xkl@lUzmJ@x職Xkl聜bUn聞JV職Ub聞nU聜lb聞V@nlLX@lak職V`Ub掳職@XVJnU聜L虏KlxnI@KV@lbUbVV聞KnVl@聞zlm@U職@n聨職I@WUaV聛l@@mVU聞@XkW聫@聝nkVKV聝聞_Vw聞y@knwVa聜@XalU聞@職Vnml@聞X@V聞L聜KVa脼bnnlJ職I聞mVKn聞VVVInVlU聞@聞m@聶m聛XK@UmyUI@mWUUakamw@wUwmLkakwV聝mK聶w@wUam拢聛y@am_聝W@聶UU@knmm聧聞amU@WUa@knw@聫聝UUUUV@n聝Jm聛@mVUkKVUUUkKmw聝KUL聝KUImV@lUn聶n聛聨m@mbUK@掳聶bUnmbUmkk聝WUb@am@UXkK@a卤@聶V聶@膲脜聶聞V聜UXVxUVkLWl炉@@bULUlm@@nm`聴X聝lWakIkm聸VUbUL@Vm@kI聝@@K職m@聴VaX聫聜I@W@aU@kU聝VU_聶K聝b聝Jkk脟聨聶b@nkKmL聶w脜W@kVUU聝VU@WUI聝JmIXmma@_kyVaUUlkUm@聝kU聸x炉L聝m@L@LUJ聶UkVWXUWUL炉wVmUk聝xkL@`聸bk聞mVnx聝XUWUnm聝聝@kxU@"],encodeOffsets:[[114087,37682]]}},{type:"Feature",id:"1408",properties:{name:"杩愬煄甯�",cp:[111.1487,35.2002],childNum:13},geometry:{type:"Polygon",coordinates:["@@聞Vl聞nJ聵wkaVa聞X職WVL膴knmnL聜l@聬@bn聜V@UaVU@UVK@aXI聵KXL@bVVVbXVVblV聞aV聛nK@炉職KVk聞J@b職VVU@UVwkV聝KVwUUm@@聫Xk@K@kVUn@lbl@虏l@UlK虏VVIVV聞KVLlw@VXL@b@VV@V聨XbVK聜@XbVIUW聞L聜U虏聫脝LmaUankVKVa聝炉@聝nkUa聞U掳@聞職聜聫n@@kWa聞UVaXUW聫@IXKVw@U聶聝聞聶WU@W@聧@UU聝U@mn聛@聝`m@UUULkUmJ聶IU聫聝@@U聝K@U聛@聸an聝聶ak_@wmKUwmakV聶kmK聶V聶k炉b聶w聝`kwUI脟x炉禄脟a脜聝mn聛@@聶m聝mUkV@wkKW@kxmL聶Uk聫膲L脻k聶x脻w炉l贸VU聞mV@膧VVX娄W陇kz@`Vx掳聞虏母聜職@聞Ul@x聞锚母菉掳陇V聞VlXLWnXxmV@nUl@聞"],encodeOffsets:[[113232,36597]]}},{type:"Feature",id:"1402",properties:{name:"澶у悓甯�",cp:[113.7854,39.8035],childNum:8},geometry:{type:"Polygon",coordinates:["@@虏拢職yl@膶聬聵臇@b母聨蘑b母聞聵聫X聧聞a聜K扭nn@艓么ll脠x聞nVn脼脟聞V@b聜nXllL掳K職bVb@J@b聴聞聜聞@聨U聞聞xlKXLlKl聧Xk聞聫@Ulk聞JlkU聝VKXU聝脟VIVm@_n脟職L職a職l聜w聞VnU@UUwma@a聝a脻a聛LmUk@@W聝@U@@X聶wVW脻UUUk@@VmL聝KV禄nwUw聶aUL@`mz聝JUIV聝UaUw聶KUaVIlJ么an脩lLVUn@職a聞@VV聞@@UUwVK掳Vn_lJ脝L聹茅W@UUU脜@禄lm@a脼IVwXW聵UUkkm@U@a聝U@聫mwU拢VWU_kWm聝XwW_掳yUkkK@U脟K@kkUVym聛贸K聴U@KWI聝bUak@mJ@bkbmLk聨聶Um聝kVU聞W娄@lnb@聞@V聝掳ULml@nkV聝a聶VmLUnk`卤@聴X聝WW@kb脟娄X聨炉聞Wx聛I@xmbmxXlWV聞聞@b脜聨Uz@J聜b@b脼b聶聨U@Wbk@聝xk@WX炉V脹聶聝W脻b脻UkVUU@alI@a@akLWa聶m@U炉UUm脟L@K@aU@炉VUk聝KmX@`@聹kJ@nV聜Ub@聬lbV脝XVW聞ULU`VbkLUV@XWl@bXJ聵@聛聬VbV@Vl"],encodeOffsets:[[115335,41209]]}},{type:"Feature",id:"1404",properties:{name:"闀挎不甯�",cp:[112.8625,36.4746],childNum:12},geometry:{type:"Polygon",coordinates:["@@Uk聶Lky@I聜JVa聛聛@m脼aW聛職y@_聛W@_W聝XVlUVw職@nw掳K@m聞聛U聝Va聝mV聛kU@mmmnLVUmKXa聶U@IlKVUnK@UmWkX@WV_V聝@akU@a聞KWIXy聝IUVmUn聶Ua@聧WaXUVKVmkUWVkU聝LU@@V聝b聝K聛b聝IUm聝@mbVL聴x聸WUUkn卤V炉w聝b脜JUbmLkbmK脜K聝bVnUb聝V聶KUb聶KUbmL聛Km聬聝b聶a聝KkUm@U聨nn聜VnxU聬VlUxl录聝k炉JUbU@Vbk@W職U@UV贸I@`炉nWxkL聝K@nk`Wn@lUn聝V聛nm聜聝XU`@聬mb@lkV@聞VnklVVUblz@`nbWnnJ聞IVJ@XUVV聞UV@l脝X職xnKlL@m職a脠聧ll聞I聞a職LV`聞UlVV@@b@X聛JW聬Ub@聵聶n@L聞@lJn@@UVKVa聹UlnlJXb聞k聵Wn_@mn@VkVK@a掳@XklKVUUwVWU聛職聝膴脝職@職U虏@@blLVWn@@bVa聞XllVnnaVm職a@炉VLnan@聜聧職mVm@knUVJ"],encodeOffsets:[[116269,37637]]}},{type:"Feature",id:"1406",properties:{name:"鏈斿窞甯�",cp:[113.0713,39.6991],childNum:5},geometry:{type:"Polygon",coordinates:["@@XXWVXVWnnlnn@猫脝录@聞聞xl職聞聨V聞nbl職職職V聨脠聬UVl聜職@聞bln聹L脺聝膴mUkU@Ua聜聫聴@WI@aXk@WVUlKUaV_VKX聝WUU脜ka@聫VaU聛@mlI@聸@_nW聞LVl掳UV@@b@L脠KVn掳V@V職nXblK@b@bkJ@bVVlU脼V脼a聞X脺職掳UXWl@聞wl@XaV@職聧脻a@a聛a@IVy脝聧@a聝聝XUWknwna@w聜JXw掳聝W聧脠楼kI@W@kmKm聶炉IUmkXWWka聝bkImJ聶UkL卤a聛V聝b@lWXkJ聝Uk聝膲k聝聫@UmU@a聶Kk聛聝V聝UkJlaU_聶y聝@UU@aUU炉LW`kLWnkJ贸聶聝b聛U聝bmK@aU@UVVL@V聝L@聞UVUL聝K@xUL@VUV@nml炉@UkmKUxmbVbUV@X聝lXVmnVbkxUbU@聝bm@@VUlUV職b掳@VX炉職m聜"],encodeOffsets:[[114615,40562]]}},{type:"Feature",id:"1405",properties:{name:"鏅嬪煄甯�",cp:[112.7856,35.6342],childNum:6},geometry:{type:"Polygon",coordinates:["@@lV聞L職b聞an聫聜LnKVa職LVa職L聞UVaUm聞a脝LnLlanKVa脝I聞a掳x虏UlmVV聹X聵wUKna聞@Vn聞J聜a聞L聞a@UV@@alUkKVKnkmmVwUk聞w@聝聶@kxWUX聝W@@m聝k@aUa@a炉a聝LkKmwkUm@kL@K@aWIXm聝V聝X聝WkUVakL@UVK聝w@aUK@UUKmLU@炉n聶KUwV聝UIWJ聛UWmka聶@UX聝J聝k@UkmW@kLWK聛V聝x@bmI@VUaVU@a炉@UUmV聛KmX聛@卤`聛k脻KVxUL卤akL@V聶b聝LkKmV聝@X聬WVUb聝VXb@lm@聛聬@lW@@xk聞lVUbnnmbU職lJ@聞@L聞@@V聞b@聜WX職聞UlkxVV@聞職wn@脺mnLlVkz聝`UbmL@V職@XL聵m聞VnI脼@VU掳x@VnL聵x聞V@LU掳"],encodeOffsets:[[115223,36895]]}},{type:"Feature",id:"1401",properties:{name:"澶師甯�",cp:[112.3352,37.9413],childNum:5},geometry:{type:"Polygon",coordinates:["@@聞@VV@wVKnLVal@na掳n職aVJ聹Ulm聞L掳a@b聞@lx@bULUlmx@Ln@lVkn聞l聵@XI聞w聜K聞Vn聝掳aVXVx聞聝UaVU掳K聞nUl職UVL聞K脝V職虏蘑聜lnXalL脠脝聵L聞KUaVkUanmWU聶a聛@WwkUWU炉y炉脩@anIl@@aVU聞m聞I聞ymU聝LUUVakaU@@LmJkw卤L聛KmVUI@W炉聶VaU_l聶kbW@kK@m聝UkaV聛聝mVaU聶聝IVm聛alk聶W@wnIVy@klk聛WUU聸V聛I@聝聝U聝Vkam@knU@mmmK@b聛blVUX@VkLV`@n卤KU聞UL聝聜UnVV脜聞Ub脟KmV聴Imbm@k录贸@Ul聶b@VmV@b聛Xma聝K聛@聸UUxkV聜V@聞聛xW聞UxVnkVVJ@XnJ@XlV虏L脝聜VbnL@l職@掳聬"],encodeOffsets:[[114503,39134]]}},{type:"Feature",id:"1403",properties:{name:"闃虫硥甯�",cp:[113.4778,38.0951],childNum:3},geometry:{type:"Polygon",coordinates:["@@掳@nb聞@lb@b聞b聞b聜@聞x虏al@lb聞KXU@m聜kUWkkmUU聝VwV@XUW聫@聶naVklKXblKnL聜聝nLVanImaXKlL聞a職V@U@KUKW聛聞al聝XK@拢WKXUV@VU聞聝UUVW聞_V聶@W@聛@K聞@職聝U聝聝IWmXUm聝UL聝n聶JkImm脻aUb聛L聝K@U聝Wk@mn聶U聝@kVWb聛@Ubmx@l聝zUx聝`U聞ULml@聞X聬Wl聝@UV@nk@U聜Vb@X聶Jm聧聶@@Vkn聝yk@聝z聝J聝nUV@bk@mJ@b掳脪掳zXVlVXx聜@職bXVmnVbUlVb"],encodeOffsets:[[115864,39336]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/si_chuan_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"5133",properties:{name:"鐢樺瓬钘忔棌鑷不宸�",cp:[99.9207,31.0803],childNum:18},geometry:{type:"Polygon",coordinates:["@@聝aXam聝炉wm聛@卤掳wUwV@UaVw虏K職聶聞U@U聝U聞楼聜a聞聝@拢脼聶么x聜Knkm聶X楼聶IU聝脻聫Uwlk掳V聞聧@聝脠聶聜KUwlkUyV鹿聞m職x虏Xll聞脩W禄職聧聞l聞w掳U艓聞n聝聞聞聵J聹聝l炉掳V@w么IV脟n聶nUll職L職聧V脟職L么录X聫W拢@卤聞聧@楼k_脟J聝kU茅聝k職聝聝wXa@聝職Llw虏聶Vx聞b聜m職录脠xlL脠聝聞VW脼n炉m脟聶脩U脻l脹kwl聫聛膲m聝ULmwUJ聶莽@wkm@脩lUX聶聝脩么摹聝聛Va聶聝U脩聞炉@w姆脫kbV聞mnU@@y炉I姆K聝V@鹿職a聝茅@k聞m脼U掳楼@a炉聛@anKlblU聞楼@贸臒莽@聫脟w@wk聧la聞莽脻卤k炉卤@臒脻U脹m脻炉w聝@kb卤聫炉akXW脺kXU脝脟U職陇X_茞w聞V@陇聝XU聜聝b聛U聝聨聝IUl脟Uk聨摹@聶aX膶mlU聬l猫UV@聞mVk娄Vx聛職@娄卤職炉聝聝炉炉anlW職炉n聝聝脜w@w掳KVak拢m@kl聝Kkn脟U聶禄贸K職墨laUaV拢聛@聶聶炉@脝聶U聶V聫聝脹脻脟X聧聝脟l聛聴脫l殴聞禄WU臒J炉拢mx聶L牡么聸潞X聬聞VlUll虏bl聞聛聞l聨聝x贸nn掳脻職U录mJU職炉n聝聝聝V@锚膲掳U母聶w聶@m聝@聫炉km聧Xam脩炉aUw脻KU楼聞聧m脜n楼Wmn聶聝鹿n卤茟茊脟么X锚卤菉n職聝聜U么l臇k葌V脪炉录Vn聝犬炉膧n茊聵蘑@聨k掳V掳炉蘑Vlk職Vxm录X虏聶艓@聨VxknW脺掳聬U聜炉n聶脝脻聹@`聞么脻虏聛脪聝聜脟zn聜mX@x聞猫掳K掳脜聞U膶默贸臇脻聞聝聵贸录脜锚聝脪聝bm職k@V聞聛聨聵聞@脪聛l@n膲脺聸锚聴x@臇ml脜聬聸J炉娄贸x拳掳脻聬m聨炉L牡猫聸膧@脝聛聞l掳偶聬聝聜職X@xm聨kV@z@聜聞聬掳bl聨n脼掳J@bn@脝录UV聝U贸聨贸L聝掳X掳脻L聝xUn聞掳聝默聝n@lnL@聨脝@職n聞K脝xnUnV聵In默m脝nx艓录膴I蘑贸脼@膴聝屁bU聝聜mV聧聛楼l聧k聝聜wnL聞m職脜脝楼X聝聵w聛U@w聜wU聫脼聶@alUU脜職聫U聶Vkkm掳aU聴掳脫掳w掳U聞聝聞b掳a職聛虏K聵炉聹臅聵@脠b脼聫膴a職禄聞XVm掳In聫聞聬聜默k录Vb聞a職J職么職拢V聫膴an聶聜k聞暖聶聶n聝脺U@anKn漠聜b脠m脝聨職禄nI聜茅聹拢臓聶"],encodeOffsets:[[103073,33295]]}},{type:"Feature",id:"5132",properties:{name:"闃垮潩钘忔棌缇屾棌鑷不宸�",cp:[102.4805,32.4536],childNum:13},geometry:{type:"Polygon",coordinates:["@@l@@镁虏I@l聝聞VL掳wnJ掳U母聶艓猫聞Ilw聞V掳陇n漠聶陇脻聞l猫聞L@聞聝聞@x聞l聶猫虏么膴_膴摹V脠么J偶墨lbX職脝脠V聨kx脟V聝聞n掳聞娄脺b@猫@nn@@掳職U脠楼W脟聞_Uala炉炉U脟聶k聝禄聞mVwk禄聵k虏掳VxlL@陇聹_@x聜`脠聧聜臇枚b聵職@l虏alX聞a@bnK掳娄VK@nnWmx@nUnl@@l聝l膲聬k掳l掳UXkmW@Un職`k聞脟L聞聨W聞脹脠Vx職VVlVk@l聞IXb@ylX脠W聵漠聞W扭z聹y@職mI聝聨虏聬職J聜聬職@n聨掳@V聞聞J掳a聞脜@聝艓kV脟職k聶aUw聞KVw聶聶V聝聞@nkm聶@卤么k么聶膴J職录職In脩m卤nI職職脼聫聜X脠聝膴x膴U脠b脺y脠拢V聫kw@kVUV聶聞m@聧職a聞禄脺b脠m聝UXw脻x聝Un楼@聛掳摹聶脜聜a聹JVk聶aW炉脹@W楼聴U艔亩聶@炉聬kU聝艃@a職I@mmanw脼聬聜W@聧聹聶mw掳禄U艡k鹿卤W聞xVx炉娄U掳聝z牛W聶w@聧掳脟V脩k炉@聧聞y掳a職拢職@職m職nl录聞a職脻脻akwU聝卤a膲Iml牡n@聝m@kkV聝炉脩m聶母聶掳x聞聧l聶聹@聵聝XV脼ml脹脻聶膲U脜楼mw脜楼VaUw聸聶X聧摹聫聛聧膵aV暖脹殴lwU聫炉聧U聶贸聫卤聧聶x脹V卤炉炉n炉m膵聝聛Lm聬n膴m聜聶@聶_kJWa聛XmwU聝膲K聶禄聶@mwX脻聝U脟聞kK脟w聶禄聛n聝aUw卤職kx聶K@聞Wb聞x聶聞聞lV锚聞l脠Il`@娄聝聨@虏X陇W聬贸禄聶KU脠聶聨聶KkkmVm職U脠贸J@x炉Uk掳聸聞聴I聝聝m聞艒聝炉V聝x聝k聶聨X录聝脪kk卤W聶w聝nU潞VzklVx聛L脟職@聞聝聨炉UklVx脼聬V聞職JW娄n職ml聛L贸w脻職@陇聝聞聛b聝娄聞V@V聝V聶職卤LUxVbU@Vx炉x@虏n聜掳xn聞Wb聞b"],encodeOffsets:[[103073,33295]]}},{type:"Feature",id:"5134",properties:{name:"鍑夊北褰濇棌鑷不宸�",cp:[101.9641,27.6746],childNum:17},geometry:{type:"Polygon",coordinates:["@@亩贸職Knw掳陇臓IXV聝录k藕聵脭k聜聞脠W聨脼脠聞脺U聬V職脜職掳@職職聜@U陇Vbkb聶默么L職录脠Vlm聞Llkn@l陇Ub炉L@x脝x聞聞掳mX聶mk掳b聞掳掳聞虏聶@楼聜聶Uwl楼nU@聝VUk莽V聫nkW膵職b蘑@l聧脠VVk聞J聞聧聜V聞aV聛聞W@拢聝U茝xW`聶拢脠VV脜lWX脹lW掳b虏聬la聞@掳xn脼V脺臓脼虏@l掳脼虏聝猫kbl聨@x脠x@聬臓猫nal拢nU聜脟虏@聜聧脼K聞nn陇@录聵掳U录聞nV聜職XU聜職bn聶臓UVbUlV職掳LX聧聞@lV聞猫脺UnK@_聝y聛XVyUwmIU禄V聝聞k脟楼職每kkV炉m卤n聛@聝n炉脺anVV脝聞z@聨聜b聹w脺b聞m@w職a@k聝mk禄@聛聶a@聫VUU贸聞w聵@nb掳m職聞X聨mnVb脼聨V聬么anw職J聜ak拢lw聞聵職L職脜n脻@wl楼聛I脟脫聝@U聶聶L聝录kV脟聝脜贸炉kVmmw@聝n_聜Vn禄掳L脜禄@茅脟莽殴墨V脟脻@脻臒U聶聝a聛V脻聶聶職炉姆l怒聛摹l聝@贸脼脹聜膵@炉nkU脫聞聴m卤聶IV摹Uw贸KUn卤炉聴K聸w聛禄聝K脻聬V聞nl@聞贸xUw牛聫聸拢膲聝Um脜聴脟脻聝K聶聞脻U聛lmK聝拢聛UV聨@脼脠聨W娄聞脪@默職nny聜@n脪m聹V聨聴录@掳Vbl@VlnUUwl聶掳a@聞聹聞@llnk掳lbnKW膧n聨U聞VxU聨聜虏脜聜m娄脹聧聸脟脜職聝aU聞Vb聛職@娄m`m贸X聧聶Umm聶x脜@卤脼n猫聶虏聶U炉禄m聶聝V聴m@w聝U@w脻職脻m聛L聝a@聞聶V脟Uk聞l掳炉聞VlkV聝娄U職mx聝aULU猫Vx@聞kIUxmWV录炉Vm脠炉職U聞nl聸脠聴@m禄脜聶聝VWx脜b脜臒W@k聝m@kVV娄mlnn@聜艒聞l娄脜脝聶xk聹"],encodeOffsets:[[102466,28756]]}},{type:"Feature",id:"5107",properties:{name:"缁甸槼甯�",cp:[104.7327,31.8713],childNum:8},geometry:{type:"Polygon",coordinates:["@@聞艅lV掳聫職@艕牡聵VX禄脝U膴脩聹J聜w聞@脠禄m禄職拢掳K職k@脟n脩脝聧職@聞w掳JUwnw@w職bVb職@Vl藕LUw聞a聝禄聞aUklyUUVakwW聧XwW聝UxkL聝mn楼m聧職wk聶聵UX聶lJ聞w@a聝Ik聫掳X聞楼W聝虏聧l楼職aU聶聞Ilmkkl聝脠L@m掳nlWU聶聛aW聴職@V聝聞@UaV楼@a職k@脟k鹿聝K@a聶K@k聝Kk職脟X@VU@kx卤V聶猫kIWwUVUkkK脟@聝a@wkml炉@kUWn拢Wa聞aVwnaV脻聝w炉@UaWx聴n聸J脜聞UxU職ma@L@聞mbU聨聛U卤VVnkxU脝聶聞V聨m@k聬kKW掳聞X@陇脟Uk脝脟nU娄炉聨k聝mLVw脜K@U贸b脟脝聛V聝娄聶L@聜卤锚X娄mV脼職k脺脻nWU聴聞聸@k職聝聨炉w姆職n職掳脪U聞lln@@聞亩mnk膴J虏bV聞lx脼b聶脼聝bk禄聶m聶n聶@聶陇炉b聝z@聨l掳U脪炉脠@聨職x扭X聞yV炉掳楼Uw聝w虏Xl潞V艢炉录nx聸職@聨聛X脻聫mxnb@n聶J@b"],encodeOffsets:[[106448,33694]]}},{type:"Feature",id:"5117",properties:{name:"杈惧窞甯�",cp:[107.6111,31.333],childNum:7},geometry:{type:"Polygon",coordinates:["@@Uxn掳聜bn聨lUn脪脝聝nn@n聜陇聞LnxlU聞職職V@聞脝l聞x掳XXxl`X聹聝VW聜聹L聵猫聴聞卤n脠b聝聨掳b@職虏x掳K脺录聛掳膲聞V娄lJnU@娄職脼聜J脼臒聞m職L脼禄職xU聞lb聞V脝ann聞al聨聞V脝聧X@ln艓V聞mU聶ma脜X聝a@aWm聹@聜拢@w膲JV聝kk聜kkm聝nk@聝mna@聧職al聧聞K職聶聜J@聛脼w聛m聜脜脜聝@ambkU聝聝@聶聶KU聛摹K聛U@m聜ak炉卤聝聞a@a膲脩脜aVw職Xlw聝卤聴聛V楼l@@a聶k聝聸聛@@拢職m聝聧膲脻贸nWV@聨聛n脻脟脟x聴Umb聝aVkk聫k@m聧聞聧@m掳聝脻媒Xm聸ak聧脜墨聝@@聝mb聛@@xm職nb聝@mx職聨k聬WL@聝炉b@WUXmW聹聧WKkbm@kx聶Xmm@LUl聞xl锚贸K聶nU職聞all聶L聝l聛L贸掳m聬炉JV職U聬聞K聞聞@x聵K虏膧么娄l掳"],encodeOffsets:[[109519,31917]]}},{type:"Feature",id:"5108",properties:{name:"骞垮厓甯�",cp:[105.6885,32.2284],childNum:5},geometry:{type:"Polygon",coordinates:["@@脝L聞聧膴x掳禄纽娄聵W聞聶職L脠聞@x脼K脺掳脼nVx脜膧l脪nJ掳a@w聞聧V炉l@X聫WknKnw聵V脠職掳XXa聵lX掳VI掳b聞W聞n職a職職職楼@聛聝w掳聶n@職y脝@nk脼@掳炉lJn聞掳I脠l聜U職lX脜@姆lUV楼VUU脻脼聶UU聝@Uw聝JUk膲m@媒聝聝lk聶WUwVw聛聧WJk@V聧UK聶聧lUkaV聝U聝mLk聞m@聝聝聛@U聝聸Ik`@聞聶UmlUkV聧炉脟XK脻_mm炉@U聧聝`kwm聬聝l聛录卤KV炉聴炉Vk卤Vk卤kzma聶KUn脟卤聶bk娄卤聨X聞聝娄炉Wl聬聞J@b聝xkIW職聴Vl職聶xn聨m娄聞nlKVwX聞WxX聨lxUbVVkzVl聝b聞录聝bVx殴KUk聶@Ua聶a@xmxVx炉I聝x聶@脜聨m脪@脠聶l炉L聶陇n录"],encodeOffsets:[[107146,33452]]}},{type:"Feature",id:"5118",properties:{name:"闆呭畨甯�",cp:[102.6672,29.8938],childNum:8},geometry:{type:"Polygon",coordinates:["@@ln@x職猫VInxVKn聞聜膴k聬lxk脺V脼職脪n脠m掳nx職@職录膴LV聞nx聜WXblI職`職@n聛m膲n聫聜K膶聞么脜l聫U脩mU聞K虏鹿@聫脟脜V脫脜炉V媒脼W聞聬聜UVmX聞脝bnw職KU每聜聧聶@UmmIUb炉楼Uw聝聶炉聶脟m職聶聞莽manUm禄UU聝l聴k聝陇聝a炉bV聶U_W臅聛m脟脜職卤蘑Ul聝U聧l聶脹V聝莽kU聝@W聨炉KU聶VkUa臒Vm職聶aV聛聶WU聛聝mV禄聴炉@禄m拢聝m脻L聛聨卤@聛脠mVk陇mb@么聝娄kVkamL@b掳聜@b炉娄脻V聝n@l聞锚聶b@潞聞U母L掳J@zV@nmU聝la母脭@x聝掳V脪職聞Ub聞聜贸蘑聞脪W職kV@脪"],encodeOffsets:[[104727,30797]]}},{type:"Feature",id:"5115",properties:{name:"瀹滃甯�",cp:[104.6558,28.548],childNum:10},geometry:{type:"Polygon",coordinates:["@@Vl脠nl聜XnWLX`m聞虏nV聜@b掳x蘑莽ln職Vm聜nn聞@@聞掳聜Uz職lV掳n脼聵脪kxl聬聞w聞`UnVb聞m職L@alb脼K脠脹職m脺录掳@X脟職聛@wmW@脜聞K膴L聞lV聞職LV聫艓莽脼L虏卤聜臒kw@聫U聛聝y@鹿lKX聶lKVa@w聶聶膶@聜w@聛聛a聵脟U炉n聶@聫@w摹ak聴聶a艒聜聝聛聝K@聧脜禄VakUWm姆wkb臒楼mL聶ak職聶@摹脼聝掳炉xVV脼@V聬職xV職聴VWx聞XlxU聜聶@k虏WV脜聝ULm猫ULV膴kl臓聞V聬聹JVx卤n脜聝炉娄mw臒@m聝聝l臒kkl卤@k職Uk@炉卤脟聶K聝聴kxl陇聛b聶Imx"],encodeOffsets:[[106099,29279]]}},{type:"Feature",id:"5111",properties:{name:"涔愬北甯�",cp:[103.5791,29.1742],childNum:9},geometry:{type:"Polygon",coordinates:["@@k職V聨k聞職職脝k職V虏Ul潞脠Ilx聝LX猫脺lU聞聞XU聜mk聝bV猫聞x掳@聞聧@录掳Knnn@m聵脝IUbnJ@bVI掳b掳卤@聛nK@mVakk聝Kl炉nb職m母聬聞猫l@Vn脠l聜UUw聞wmwnm掳楼聞L聞聶lLn聫U@Va聶Imbk聝mK聞聧聝聝nk@m聝b聶聝聝LV聧聞JVUU聝聞VnkV聧mb@a炉JUa脝kk楼聞IW楼聞Klw聴脩m脻U炉聶kVy炉聛@聝聝@mmn聛聶Ukm摹猫炉w@aU聛卤mn聝W_XKWmk聛脟mUk贸bU聫脻聧UanmW聧聶聝炉nma聴@聝xV么UV@聬職b@聜l录聞n@l聶b@x聝n脹a聸x聛a@聧聝yU脜mU脹bm掳@聞m聜n虏U掳ll聶膧脠娄聝lU聞V录nJVxUz聜W聞z@`mL"],encodeOffsets:[[105480,29993]]}},{type:"Feature",id:"5113",properties:{name:"鍗楀厖甯�",cp:[106.2048,31.1517],childNum:7},geometry:{type:"Polygon",coordinates:["@@脠虏Vm職Lnblyl虏虏UUl聵掳U掳虏L聜禄聞kn聫lx聞_V聨掳@nn脼`WL掳脠U聨Vlnk職V@聝l_聹JV聞聜@聞聞n@l聝nKV拢聶脟職聝聞UV炉職m聞@laX聛聵U聞聜UbVx聞@Vk么JU聛掳Jn聶@聶聜wUk掳wn聫U聝V_nJmknmm炉Vwk炉贸楼卤每聴L@w聝聝聝LV聫U聶kU聸bX炉mykI@a卤Kk娄ULmaX聝聝Vm炉聝K聴z卤聝klUIVb脟J職聝kL炉聶l聶聝U聶每聶U聝lU聛kJ聝Um聨UUkVVklKk@@a聶U@聞聶J聞虏聝x聝娄k默@录卤潞XnWb聴x聝U@x聝x@l職L@b聞Ll潞@脠聶l@bU娄Vb聝@U聞聶@X聵聜bV職kX炉m@n脟Kk聞llkn聝JV職"],encodeOffsets:[[107989,32282]]}},{type:"Feature",id:"5119",properties:{name:"宸翠腑甯�",cp:[107.0618,31.9977],childNum:4},geometry:{type:"Polygon",coordinates:["@@V聞U聞lbkV職聨VLU聨l@XI聜聨UxVx職Xkl聞聞@镁膴nVl聞IVx聞@VV脻職V脼UVU娄kV@母W脝么虏職@V聫脼n職@Va么b虏W@聧聜K@聧XUm脩UW掳炉掳Ina@y聞_lWn录lLUb么录聞Kla@聶nkUy么聴脝x掳@職聫n拢聶脻@楼mVkIU楼膴聝聜炉脹禄炉L卤w@聶炉a聞聧脟a虏m聵聝聴莽聸KX聛聞UW聸k_Ww炉W聝w脜k@聝聶U聝聶kVmw聝K聛拢@mmm脜聞m脩kVm聧聛amnnlmIU`V聞m聬炉xVl聛x@職m職炉IV聜贸IUl聝@UwVa聝聛聴VW聜kb聝@聶nU掳聝V聶聞職脠U陇"],encodeOffsets:[[108957,32569]]}},{type:"Feature",id:"5105",properties:{name:"娉稿窞甯�",cp:[105.4578,28.493],childNum:5},geometry:{type:"Polygon",coordinates:["@@VVXwVKn聞聵wnV聝n聞l@b炉xmKUbVn掳掳X掳@blL職猫nV聞@Vn聜l@U聞LnmmUna聞VV_亩V@wnJ聞聞l@@kkKV贸laUwnJm聧聞wU聧lm@a職聧Ua么KV聛nJWb脼職@V職wVLX楼VV職_脼`職w聞聧W聝脼殴mmnIn楼W聝@k聞WV聧炉@聝掳kI聶聨聝Lk录脟@k陇卤Xk聵聶nm脻炉Ul脜脹KWV炉k聝lUwkL聝脫聶@U聴@聝聜w@摹XV聞聛聵WX聞職@UbVb職聧V聸職_k脟V聶lU掳lnw艓娄脼a脝炉nmm炉職U聞聶m楼nkVmk聝l_贸楼炉U脟l炉@聶聝聶L聶k聝`炉聧姆LUy炉@mw聴录姆掳摹_脜聶U掳ml職n脟VU脼職聞@聜聝職聛_聝JUnV聜UX職bl聵蘑b@x@聬m職V掳聴脠聜b@聜聛x膵@職職@xUbkLW職kL@潞聞zV聜@聬lx聛臓卤虏"],encodeOffsets:[[107674,29639]]}},{type:"Feature",id:"5101",properties:{name:"鎴愰兘甯�",cp:[103.9526,30.7617],childNum:11},geometry:{type:"Polygon",coordinates:["@@掳n掳m虏掳脺U職w虏聨么聬V職掳聨V聬kx脺藕U虐膶b聜聨蘑聬la脠L聞禄聝聫@k聞wV脟聜@聞聝n脹脝禄脠聶U脻掳Kl_聞V掳U職`Vbn@Vb脠L職aVU@聫屁禄V聶nIl聶職UUa聞卤lIk卤職@V聛nKm聧脜@Wa聝K聛娄聶lV聬艒職kK聶聧脻@maX脟mw炉IU聜@k聝V聝wUmVI聝聝聝莽聴每聝U卤聨脜@炉脠@x聝K@w聝LUb脟K脜聧@m脻拢@y贸U贸贸UxkI@WlIUa聝b聝a聛聨V膧聶Lmx脜aW聝Un聛V聝聫脻XU镁脝掳U脭脠脝@聬卤潞聝LnVV脪k聬贸脝"],encodeOffsets:[[105492,31534]]}},{type:"Feature",id:"5120",properties:{name:"璧勯槼甯�",cp:[104.9744,30.1575],childNum:4},geometry:{type:"Polygon",coordinates:["@@聞猫聞聞UJVn聞x聞U@lV聛掳JnxW脠nb脼@職聨lL艓聶U聫職k聜楼聞LXb脝@n聨mLU聜@zlbXmlnVynL聞莽職JVb聜Un贸mUnamU聞an楼lKV_虏aValW么聞n@n聝聜bV聛聹K掳炉VblW@kk聝lUnlV拢掳W@w聞UXk掳KVw聝mV聛kwVyVI@wkm聝V脜_Umm@U每mbk拢聶xUaVw卤V聛录V陇kLWxU@Uk聶b聝y聝X聛職贸m聝掳V@@z脻脪kK聝n聶卤U@@_VVk聝脟aVwnLWa聛lm@@kkVVl聶娄kIV`卤n@w聞K聝聝k虏聶a聝VUUV陇聶nkxmUkVWVnLUbVb聝`kUU聞mLU聜mX@`脜b脟職XbWLX聨聸n"],encodeOffsets:[[106695,31062]]}},{type:"Feature",id:"5104",properties:{name:"鏀�鏋濊姳甯�",cp:[101.6895,26.7133],childNum:3},geometry:{type:"Polygon",coordinates:["@@聞b聜K脼n脼聶@x聞V@x聵n聞Un職掳录職V職卤m莽虏脻脝@職wnn職VW聨n么n_@楼聜聶UaV聝聞b脝聶聹脠脺聨n楼脝聛聛卤V聧UwV聝m聧X每mLkal炉km@k聸聝@聝炉bk職VxmVUkk@Ua@炉聵禄U聧n聸m脩聛@mz聶m@墨聝脩X楼脟聧@脻聶xU娄聝職脜聨脟Ukx@職lb聞UWVX聞mV@x牡臇卤@@聨炉xU職脝Ln脝m聞職x@nXL卤lUUVw聛KWak@Wxkb職脼聝聨膲bUn@聜聝@@x贸娄聞艓"],encodeOffsets:[[103602,27816]]}},{type:"Feature",id:"5114",properties:{name:"鐪夊北甯�",cp:[103.8098,30.0146],childNum:6},geometry:{type:"Polygon",coordinates:["@@聞職Vx掳娄VanJVn職@聞b聞aVbkJ@XlJVw么么么V@z脼陇@n脝聨脠LVa聞K@x聞L@w掳脟脝@虏聧聞V聵膧聹mW聧XKWa脠聶脝a@_nWV聛nKV聝lV聞_UaVamKXUWwnmmw聹脩m拢@ynU聝kW聝膲UkWVkkV卤莽kJm聬kK聝職聝K炉娄mnnx聝xVx聛V脟kUmk@聝莽姆聫聶nmak掳聞LllUb@nmL@聜炉虏炉aUJ@amIVa脜Jn聴m@mm炉L@禄聝聨炉@聝wU莽聞anlV聛聝WV聝脹kW莽聞Kkw脟Jk鹿卤V聶U脜l聶聶摹V聶虏脠脝聜nX臇V`U職掳a聞b聞拢聵l聞kVVn录mVnb聝猫聶職脠n掳職"],encodeOffsets:[[105683,30685]]}},{type:"Feature",id:"5116",properties:{name:"骞垮畨甯�",cp:[106.6333,30.4376],childNum:5},geometry:{type:"Polygon",coordinates:["@@聞VlIV聜聞k職V職膧聞Vk職掳職lK聶聞脠IUaVJlk虏聞聵y聞Ln掳聞UW聞nbVKl楼虏L@blJnzW掳聹alV掳In聫么炉聜K聞k職Kkk聝bV聶職m么Lk茅聝wVk@Knn職Wlwn@laXL聸聨nXVW@X掳a@聞XKl聫聶聧nw聞@man聶@w聜@na@聞聞@聝w聶臅摹摹聶wU聧kUWb@mk@聶娄聝楼mU脹b卤y脜n@bml@聬kV@聞聝lknVbmVnlm職聴b脟k炉bWyk@V_UamJ@I聴@Wa聝VXamIVWkUkbVa聝UUx聝@VnkVU录聸bkKUxmK聶聞聛@W職聝xnV@n"],encodeOffsets:[[108518,31208]]}},{type:"Feature",id:"5106",properties:{name:"寰烽槼甯�",cp:[104.48,31.1133],childNum:6},geometry:{type:"Polygon",coordinates:["@@nUW楼虏茅@聛職K聞楼聜U脠脜么a@V脝LUxnKl聞掳聧V楼脠ml脜脠V@拢聝WX炉lLl聫n@U聧職聝V脜lwUm虏U聜VV聧na@聝@KnbV聶Vw脝聝聹I聵mXwW聝kIVw脻臅聛VUa聶I聝猫mKUzkmWnka@y聶@l虏kJ聝虏Vb聶Vk職mJU職僻录@聬UV聶b脟KUam@Ua聶_炉V聝Uk`炉LV脼脟職脜录m脺聝聞聛@U脠聝x@l聞聬聝录脟KkbW聨聹職VxUb脝娄nx脝娄膴V"],encodeOffsets:[[106594,32457]]}},{type:"Feature",id:"5110",properties:{name:"鍐呮睙甯�",cp:[104.8535,29.6136],childNum:4},geometry:{type:"Polygon",coordinates:["@@虏猫lUUllX膴VX聞聞lmV@zn陇聸脪nxmnXxlUnVlw職mU拢VV聞U職bl卤聞聞聝L@x虏mU_lJ職楼UklU@ln@聜kXbmKUx脠bl聞UU@`V@職虏聞mlL脼脩@yU@聞炉么n聜聶聞W聞z職aVlV@XwlKU拢聜禄聴aVaUwm@mwUVUwk聝l聛V脟虏Ll聝聞KV聶m_@y聛kUm聝@mU聶莽kKmxkIU聜脻聞@LUJ@n卤聞k潞聜LXb聶录@mmIXa聶@mamnkW聶聬聝KU聝聝x聝_U`UklwUw聶mUb聝V聶虏聝akb聝mkn@`聞Um脪聶職VxUb聶I聶`U聧聝a脻脠"],encodeOffsets:[[106774,30342]]}},{type:"Feature",id:"5109",properties:{name:"閬傚畞甯�",cp:[105.5347,30.6683],childNum:4},geometry:{type:"Polygon",coordinates:["@@脼臇UxlJX聞Vb掳@聞xU脼mbUx聝bXbm陇VX@lk掳ln@x聞b脠@lLVlVUXxlJ職莽虏UlwV@@U脠Wl聶聞L聞w@w聞V聵wXaWm虏鹿@禄l墨聞楼聞w聝卤職I@聝職V@bl@kLUllUVVn聧@mmU聞wX聶膵bVb聛@VUkbmam職聛W@k聝a@聶聶k@聝laUa聶@炉b@聧職mmw贸@@lkXUa炉掳聸LU聜聛am聞m@贸聝kXUb卤bU`kLm娄聝bnVmbnVm么"],encodeOffsets:[[107595,31270]]}},{type:"Feature",id:"5103",properties:{name:"鑷础甯�",cp:[104.6667,29.2786],childNum:3},geometry:{type:"Polygon",coordinates:["@@lI脼脟聞bV聨職_職JVaUw職聶n脩聝V@_lm聞nla聞b職卤聞UVa職nVxkxVlV_聞`聞wV聞聞L職聫lXnmnb職@WbnJ@n職禄Wa聛Kl鹿虏聝@mVI@K脼聝V聛lJnw@aW炉炉炉UmVanL掳w@a聝k聞mmU聴xm聝ULWxUU脻K艒猫U聬聶KU聝聝k膲K聝L@脝nX@x聶聜W脠炉@脹禄聶n脟脺脻Lka@b聶K聝nUaVm聝_聝xk聫聝LX娄聝Jl娄脜lVb掳I@bnaU聨ml聝UV聞UV聝IU聨聞K職聞聞a@nml聞聞聝聨nLl聞na職JUbV@"],encodeOffsets:[[106752,30347]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/tai_wan_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"7100",properties:{name:"鍙版咕",cp:[121.0295,23.6082],childNum:1},geometry:{type:"Polygon",coordinates:["@@\\s聨@pS聛}聺aekgKSu聶聺SsM脽`隆CqZ路be@Q^o@聥gieMp聥聣]}聲}慕c_Kk聟{聶霉聯聺A隆r聣[uom@脩聧磨Jiq漏m艍q炉Bq]脵YgS氓k_gwU颅isT聛E聟聯聺聭臅iqiUEku聺e_聣OSsZ聥aWKo隆聫颅q聯yc聛Y拢w}聥末聶臅S搂Z漏S聶N楼SyL脩隆卤Ks^IY聣Pd聝Y[Uo聠Fp}麓\\卢\\j]聢e脺聧貌聥陇隆聳膩聽a\\bn聶U茫潞鹿脤s录j庐[c铆葓E聨臐膯`募f露聤庐K|V脴D聛dKGpVnU聜FjpH聴F`聠B聮[pM潞x脰jbp脦xp聙卢聜|脦鸥脺脪C聤虏庐聜脺Ap聞ZG~聙聤d聵脼脿V篓|赂聙`|聦虏tx~\\~|dFf^zG聙膭艢h聹dL\\h母聻录聠聤O陋P庐lV`p\\]Xpll聵忙陇聹CpQ|oF}fMRi聠NSon_虏q盲m聹M聞NM聥\\聲"],encodeOffsets:[[124853,25650]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/tian_jin_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"120225",properties:{name:"钃熷幙",cp:[117.4672,40.004],childNum:1},geometry:{type:"Polygon",coordinates:["@@EUDAEI@WNMNCBFAHFFNACDJDPBD@@GD@DIFFHEFGDBDEQOFG@EI_KG@OcJQM]RMEKBGPG@[LaCIICBWK聛CEEG@WBQHCDFD@HSLEJI@IHWECFGAAEKCGDBFCBSBIDCKKHEADMJMFABKOKEQAA@IEEG@GIQAEK@OZEESMOL聯lu@SLUTYFQCMG@@SQUAYKAACA@IB@BDB@B@DC@@BGAEFAA@BEGKJCC@AGAIHA@@JC@QEIP@@A@EGIDC@O@C@@@@CJCWKABFLBBEBSQGBAAMIEM@AKBcJEN@BEBCFMAEFEF@J@BG@BFABECKFG@AFQ@@F@BEB@@A@@AAAKAE@GFGDECEFEECBKIKDELDFEDYH@EIACDCHKBEB@BAAC@ADBHABKJIAIJICEDGDCD@@A@A@DHCHJHDFEFGBKRKBGIK@GIMHSBCH_BOJECCJCFKKMD@DNJEDEGC@OJCJHRUL@HRJ@H[DCNKDZHCTFDHCFFKR`TANVDFZRDLFARB@HPAPG`ILAR@TERNDFNHDLCLDDCXDYbHF@FEB@LDDVE@JPNfXPINCVDJJD@NJPAJHLXHDNANHhB@DPNLRMTBFRBHHr@`NBFEBOCCBIAQJDHCHLHFA@HSDCRLFTB@HEFLNF@PELBDJALFLTC@EPFLLP@tUHQJDfIHGTB^JTCPDLKAIBATFPADIEGECEMJ@JIAIHGECFEAGDI\\SPOXAFCL@BQTQBBTMZECYGAHA@GJAE@HCAEME@IECFKJADDBABLTHHG@ILEAMNDJCDHEBF@@JNFJELDFKTOT@JETBFFHBHEHKI@@IJEJ@XKEOUMS@AF@CEB"],encodeOffsets:[[120575,41009]]}},{type:"Feature",id:"120114",properties:{name:"姝︽竻鍖�",cp:[117.0621,39.4121],childNum:1},geometry:{type:"Polygon",coordinates:["@@FW么碌@IFCLIB@EHNBp]AGEAKAEDMGZKFGBGME@ILGP@HEFB@BXMEAHUGC@IHCLOD@X[NWHWPKAEF[@EKIOL@EKGBNMJ@EIEHKBIC@BAKMIACCFQZCF]DB@ERAKADIHGEIBCGIIECFaGLZO@EFCNGAGDGAKL@BMG@IE@ADSDEH[JGC@CGA@BMDeK@EIACFE@@GG@FIAMM@CCGC@EM@ADE@CFMAAGHBDKIEAJG@DOGCDEKAGIS@KFCHKAEHIE]BeKNO[IFIOELC@A]GMBKVYCDDgGAICARc@MW@AQE@DGI@@AQ@@BKBAIQQYEFW@CEADIGGBCEIiMEMF_LGEKMBBDWEBGRC@E_CHYGCH_IAED@FFBQh@FGJaJ}AHRAREF@bE\\C@CT`FHC@\\BBF@BID@HGDDJ@@FAHKBARECKDAZBJIVNHCTA@EREAMLHDAFFBVFFC@RNRETHD@FOJMACH@CAB@P@DF@@FGDWE@FFSIEMKQDYCCHKb^JADOCIDGNDBdBCFJB@EC\\A@BJEA@JAAAD@HHD@LFBCFF@BERDHNhZQHMBGHOACCEBWEGD@PSJKCGEUD@CINLFGHE@AJK@HDABBHTB@F`DBFLBBHEDARCFG@ABJBAPVFE^FBGLGCFG_BMLEXGAAFE@@JNRVJHFALFBEHQJCTbNDHCF@PlFLJSXCHFHfVBTNJ\\BPJXC^FAVNFCHFB@FFH@JF@\\ABCFD\\BDMCAAJKQBGAILOEGHILECQLWFENJHADC@QxNHFJNLDFA@CBA@D聵U脗mR@FBL@BD"],encodeOffsets:[[119959,40574]]}},{type:"Feature",id:"120115",properties:{name:"瀹濆澔鍖�",cp:[117.4274,39.5913],childNum:1},geometry:{type:"Polygon",coordinates:["@@TZbB@JHD@DODCLM@AP@LL@BNH@ETFN@`E@DNG@CHLBCJA@AICFKDDBKA@\\N@AFNAGRBFjFFFL@DHLBLFQPcXAZMJ]GAVHAIZJFNE@JpDRRDCLFDGXA@EFF@CFFPDfEBDB@DCHCFCJDJIJBLI@I@CB@@ADBB@FALADGDC@@H@BB@FZGFCCE@@FMLALJDAFFFEFDFCB@@AHCF@L@@BBB@BB@FC@E@@R@BEL@HEFD@G@AH@AIB@@@FEFEBALDDEFAFO^IF@JCBBFPNJJ@D@PRDCEKBAXL@BIFD@T@JE@BHHJORFDI@@B@JGH@@B@BDDLIFFHCD@D@DEE@BAAAB@DAF@B@H@NGLJLMRDNMfGIEPMI@GDAKK@KIDIJ@GE@CFDN@FE@GFEPGV@TCDFKHBBF@RW@DD@@ID@TJFKIKLI@EP@IGBCLAEKLEN@KSHIGYACSD@SEAMBBMGEBMQBCMIGKFB[D@HDLPHDBC@IFITDLG@IIIFGVBNJDLN@VIRI@YIAIHIC@CLKZCBEE@JECEIHEAKGDGECBGEEM@@DA@CCCBBEGA[GEDBBoNAAH]MKiIAWKQoIIPMFQAEEDMH@FMSUYIeF@EK@BIOEKJEBICFKaKP聛FAFSE@LWCCFMHDDEKESBOGBKIEIODLG@CCDEQCEDWEMDIEIB@EHGEEDAEAa@@HqDEJGF[AECCFa@WCEIKAAEQB@FCAE^YDERDDJBLNABD@AJGLJF@FNIAMLH@FPKLJ@FE\\BFOLGXMXW\\C@KPGD@JHDGVFBWN@AEAGFO@KH@JNFAHEHYLNHFCLBFBBHo^MAFGA@KJED@J贸露EX"],encodeOffsets:[[119959,40574]]}},{type:"Feature",id:"120223",properties:{name:"闈欐捣鍘�",cp:[116.9824,38.8312],childNum:1},geometry:{type:"Polygon",coordinates:["@@NGFMDATCNDR@CCbINEHNJA@C\\EEGVE@IhE聳[聵w聰epc垄路虏聸^QEKIEKIgiQDkehY拢uSDBMkUDOJDHC@GF@CAFBFEN@C聥Q@BeP@@G@HD@@MHQKi@[IGCOCESE@GMA_OcCGDu`a聢@VZzKDkJBLNXGDqKEWE@cFEFA@聝ISIi@@KMABJGBcMuFEzGVH\\ATSEUBeA聛LCEMG@CEBUHUCGXaBPtUBBFIBFTDFF@DDKBFNGBJPHXDDMDCLJ^mBIHIL@LR\\@LCR[@@z@NFD@LLBNb@RHDBNTPT\\F@BJF@BXCFBHHBDLFB@HODADE@@JHVXCPDHCFTLBBFNCDCCCU@@GAABEHHZHBCAEdEjFDD@GfD@DXFCHF@ERFDLBH@"],encodeOffsets:[[119688,40010]]}},{type:"Feature",id:"120221",properties:{name:"瀹佹渤鍘�",cp:[117.6801,39.3853],childNum:1},geometry:{type:"Polygon",coordinates:["@@BFLBFJXDb@DEFD\\BHEFIrC@Gb@FBCBFFGH@FJAJFNCXFFCRDCFDDH@CKJPJFALPHTALFCFGCENDDKXF@ETEBO聜bLELJDFALIPFAJL@@FfEZJTVENG@CNFFRBNEJOpJLRBXjJNLG^BBpMAAFC\\HHBAFDADDB@@CN@FFAHFDCHLHFBJGFCFUNKJJTD\\XUXF\\^F@DDDQXXBRLRCBDFEVCDLVDpUl@LEDJHAPRFGL@CETGPBTCDDVI@CFF@GFDCCVGLKEK[Y@MECISG@BKNSCGCKWEAaEBEKNGFSECO@GGM@GYI@D脜CMLHPTF@DJHAVVNKEGDETJ^[TJNNd@NOAMFYJ@@GFANDPEJB^aOadSTQSI@MHBDIEOKCG@EEFCKCqXO@@DMFENCDDHCCGJ]AKFoDaGGHYFDHKJiCMFGC@EQ@AEHGAC@IEAATKOHGIC@IXIFEo聝GE[JCFCDHNmRADFZMF[EEBMO{GU@AOW@@]ZeHBDEHBKEfQkuIWBs聡@EC@d[@[^EDMTKCEEcI@cDAB@FCBCACmOCG{PYHeBgPwPFDDALFFFCHQGSD@BHFAR[TaFYXMASUiGFL@DQNCJI@@D@PLDN`ETEFIGMCGBCE聭~CAIFDPEHGEQPHJADFJGHCJLB"],encodeOffsets:[[120145,40295]]}},{type:"Feature",id:"120109",properties:{name:"澶ф腐鍖�",cp:[117.3875,38.757],childNum:1},geometry:{type:"Polygon",coordinates:["@@JFFL掳_`ONJKDDFIFZN聽xlb~yFVNR聦rdJGzDPVFBCTNND\\UR@E`F@@Ip@IWGUoawOEE@脧DgK{陌EEMF毛C聴b聟聶@聴KwOCDHHKBDJCDEEEAGHOABFABMCgDLSQ@CFEB聣MgYIDQINE@AUSwSAdYEHQMEyK[KI@GRMLE@@OqOoBOnpJ@BmEAFHL^FDB[C@BBDVFAHFJENB@sNEjQAMYsUgCSBGDJH@\\LjGR@NC@@G@HO@AfR@D聦M@EFEADBE@@HGDICCPlVANTC陇vgZlfRChjLJ"],encodeOffsets:[[120065,39771]]}},{type:"Feature",id:"120107",properties:{name:"濉樻步鍖�",cp:[117.6801,38.9987],childNum:1},geometry:{type:"Polygon",coordinates:["@@|ODHnPBDADEDA@CB@ddJFFLDNSFC\\]\\@@cFD聢@nACOMW@M@ITURBRZNHNWRQ職oO聲j陆f聡cq聼AqeiD每脥y脫寞FL|Ch@脨FFxPpbHVJXo@@JCTR^BPABQA]^MB@bE@@FQBFVJRH@FXtPNZSBAja@@N聝DT聨LJrQTHFXZFB`"],encodeOffsets:[[120391,40118]]}},{type:"Feature",id:"120111",properties:{name:"瑗块潚鍖�",cp:[117.1829,39.0022],childNum:1},geometry:{type:"Polygon",coordinates:["@@@LHAHRHATh`LHNHDG`HDGZ`D@FQDAHXFACNAFLVRTBFOfHDCVBFQH@HSXHEPFB@LDBF[bDbLFKJBFLADBDjLvCPEI]FGEIGCBEUSjcFiBIVWfaHCjN^HtwBBFGPBJGjFBEGECGDONMFAP]TDHQOWCMGAMHKIJEIGQ]aDlUG]VGEGDC聞{PEbBZmE@@GH@BCA@FMQCFMYMJECELCMI_P炉`]R卤聹隆赂od聯f聴x聲\\gF@JUFFH[F@DIBGMMFaJDDQ@MCSDCBENMH"],encodeOffsets:[[119688,40010]]}},{type:"Feature",id:"120113",properties:{name:"鍖楄景鍖�",cp:[117.1761,39.2548],childNum:1},geometry:{type:"Polygon",coordinates:["@@ROHFFGCOJEDB聮}DFHANDJHFEFSM_KC@O@CJ@DIRM@CEKKA聟L聟FKACHoLSJSIBETDJaEIIE]E]K[MYUYQILC@GF[MGNKEK@A@BCWECAIFEFYAGFOMI[OFuDiKACBCEKIAELaKaCE\\CA@KEAFOWGGTG@ERUACDeGEPSAUQKHE`FNjNFJADHHCJFB@DEXZFRRBJLA@AR@@BJ@CHF@BRX@@NQdDBBJhHCCZDLUNA^H@BKDPFEJ\\JMPfL^AJFFGLBDGLET@HJLBCFHDCPH@BIJFCLGABHNBDEF@BCN@@FHDDDN@BNEJH@@HF@DEJB@FfLNC@AHB@DHD\\IFGTCBCF@@JNH@ALKHBHCHBDMFEP@KYbHDEJF"],encodeOffsets:[[120139,40273]]}},{type:"Feature",id:"120110",properties:{name:"涓滀附鍖�",cp:[117.4013,39.1223],childNum:1},geometry:{type:"Polygon",coordinates:["@@ZV\\N^L^FJFFJIbSCAFTJTIpKDGLB聠E聠KLBjHTVNBZWbE\\SBQGE@ATCRHDGEEKECBECxOhOfAZGA_YEEWSGqRKIS聧聞C@Mb@BiTAMYsOEWG@IQEURA@EF@@acUOXQRYCUDCHDTEF[SUEgAYDcVGJM`iAWDWLQRMHUHgDsDBLHJFCFDFGHBFFVEAGHCJN@RJF聡PIhBD\\FENCPWA@LFBAFHBEJUEARCDIAEDQBRNa^"],encodeOffsets:[[120048,40134]]}},{type:"Feature",id:"120108",properties:{name:"姹夋步鍖�",cp:[117.8888,39.2191],childNum:1},geometry:{type:"Polygon",coordinates:["@@LMEI\\MTABKN@FCDMH@COAcH[Ao膿A聶M隆Wa[Meq聫聶pQRMXMGQYQASV@J@NNXDPmBAtJXlveRLFGACFGAYf@^X@BPV@|HNPFA\\FNEEYBCnQGMDCDE\\IHFp聞EFWJ@JJDGHLPBSFB@JBDGHBFR@@FHDNEjDLICGZEHGbHpCLE^BHIDDCGDCFMNE@CP@rWLDEDFFH@"],encodeOffsets:[[120859,40235]]}},{type:"Feature",id:"120112",properties:{name:"娲ュ崡鍖�",cp:[117.3958,38.9603],childNum:1},geometry:{type:"Polygon",coordinates:["@@TLv@CNHFFBHGZFETNPhCVGNGRQXKXCjBN_HIdUZChBVF\\TFECSDGVCZDRQPWdVNA^]RBBAAOQ]DSE@F_Q@[VMCSMADUECOHycI聥qMQEU}zka聼wENRDENB@ADG@@HF@YnaAOF聝|CDFHUHH^kVbCR^JHIFLJNGHBDNPXGRSCO^EBMNCPDHHFAFiEIHOAEH"],encodeOffsets:[[120045,39982]]}},{type:"Feature",id:"120103",properties:{name:"娌宠タ鍖�",cp:[117.2365,39.0804],childNum:1},geometry:{type:"Polygon",coordinates:["@@d@hZNFdcLYXKRCtCMOFSYEGHEAGEDMu@SKAAsx]GMTGt"],encodeOffsets:[[119992,40041]]}},{type:"Feature",id:"120102",properties:{name:"娌充笢鍖�",cp:[117.2571,39.1209],childNum:1},geometry:{type:"Polygon",coordinates:["@@ZBVFFIGABEEA@KXBDOFM[EACJg聢OIE@QIMGDBHUFEEGAEHECEDGIAKQDWLKZcdQPEP@FOFBJTJ@HNORJf@DBCN"],encodeOffsets:[[120063,40098]]}},{type:"Feature",id:"120104",properties:{name:"鍗楀紑鍖�",cp:[117.1527,39.1065],childNum:1},geometry:{type:"Polygon",coordinates:["@@NMVDCG\\E^B@HlB@YEDS@C聟HsNSiMGDebUXAJEjidVTAFHDFJ"],encodeOffsets:[[119940,40093]]}},{type:"Feature",id:"120105",properties:{name:"娌冲寳鍖�",cp:[117.2145,39.1615],childNum:1},geometry:{type:"Polygon",coordinates:["@@DBXFADB@L@LFHM\\NHED@JKZRb]QMRAFCJBDCBQYADMCAe@QIMP@GSIAIPE@E[EGH@ZEF]^HJAXK@KF"],encodeOffsets:[[119980,40125]]}},{type:"Feature",id:"120106",properties:{name:"绾㈡ˉ鍖�",cp:[117.1596,39.1663],childNum:1},geometry:{type:"Polygon",coordinates:["@@J\\PNHEZBFEJELEL@BWGI^]FEkA@G]A[FDHUCMNEHJ^"],encodeOffsets:[[119942,40112]]}},{type:"Feature",id:"120101",properties:{name:"鍜屽钩鍖�",cp:[117.2008,39.1189],childNum:1},geometry:{type:"Polygon",coordinates:["@@D聠T@FCHG\\FFOROMEgYc@"],encodeOffsets:[[119992,40041]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/world_geo",[],function(){return{type:"FeatureCollection",offset:{x:170,y:90},features:[{type:"Feature",id:"AFG",properties:{name:"Afghanistan"},geometry:{type:"Polygon",coordinates:["@@唷囐埮惽犣惻队偸氌厩屍�虤袉桑湿掖M賵钳什墓貙藪税菋藮溪詧i偶努臉秃尾虉覕葟臐时湿隆媒鄯酮藷虋前蠋膴约蠔讉脳啖�A片蕥缨磨褟乒啷黔荧位趣危莫谢谢螞聳蛻沙獭邲聙挺謮諚蓞违詴虏詪汀煽坛镁贊艐臒苫爻D业訃聡軑嗒ノ撟懨辞澣佋嚺嗋牽疟喽а栟�迉氓咋購茪脽諗藷冖维尧喂女刹貟蝹啜�"],encodeOffsets:[[62680,36506]]}},{type:"Feature",id:"AGO",properties:{name:"Angola"},geometry:{type:"MultiPolygon",coordinates:[["@@雀氐蕦詪葮藭蛺询謯忙摔艩椰艧挪蓘蓚莹远聬庐皮褨H帽獭唰碦f諌菫蜁奴詰脰垣霜谭颅唰內济嘉簊源糯夕鹿臉使末小屁峡暖炭卯虂醿聺幡抵ほ嬚涸洁怀蝸釒澟犠嬓栤偔聴诺脧詢蠟寨~詨茲袡菂每請艤輮虃迴陋伟藲荻权螁訕占藧蠍臉噩芦訆剩虦伞詺鹊詭庐迁识同虱呒牵謿褋諓膭菐螌艛蕭g處母釤淸"],["@@蓧臈桑賱图未湿茦蛝私泰钳茘蓫位"]],encodeOffsets:[[[16719,-6018]],[[12736,-5820]]]}},{type:"Feature",id:"ALB",properties:{name:"Albania"},geometry:{type:"Polygon",coordinates:["@@艃朔泞苇螔瘸i蓹藯脓禄藱戏小茮脨g葌爷税帽袗卯侄艝始茥苽脡藢胃邪脗瓶扫么谴丧泉膹脢抬"],encodeOffsets:[[21085,42860]]}},{type:"Feature",id:"ARE",properties:{name:"United Arab Emirates"},geometry:{type:"Polygon",coordinates:["@@片陇聦杀趥苽蹫u詵{趾知馗諣諑援菃斯艝趹褧G莽粘篇艥蠞菓E螀蕮螐u头菨潜帷嬔娡忇聧葰"],encodeOffsets:[[52818,24828]]}},{type:"Feature",id:"ARG",properties:{name:"Argentina"},geometry:{type:"MultiPolygon",coordinates:[["@@邨搂褤虜詰x啵慇A釄炌捪笛�乜嗒ㄔ嬥瓤蠙锌"],["@@哟貒蜖诎啷犅撈娗粪欢嗟嬠娕粪▎丕唷就∨ο囙牎啾о森啶寂汾斊堔傎⑵庉愋肚堁動漣冢刍药譄蝸啷呧爟喃冉讠桑唷筎酄非饺嚸澱嬔┄軝艞變諃谓搂效忒嗒佮皼覊醽嬊┼膸前詤牵鼗坪褖詪虖唷迸欉碧暽椗溹牫吱失覡藛盛学逈驶诃怨奴唷嬋R囘廍趦褭蕥乜酄炟欉η澦枯Τ觾毡唳熮嵧呄克斷謹印螣篓蕞苺釒撆捨懹猦鼐謸脙虖台贸啖嘿は喫堈捘屟拒斕珮臎硬尉莿臋蛣系菤刷螠蠜蛨葷啷和盖⑵權█葼唷采ぽ⒃娞ㄊ爯E逇賻崭o郯訏酄嶥逌蓳贫檄喔愒『每酄�虦迍占邆爪院圣廷乾藬喽斷6写虁啖幠股傐亨缺"]],encodeOffsets:[[[-67072,-56524]],[[-66524,-22605]]]}},{type:"Feature",id:"ARM",properties:{name:"Armenia"},geometry:{type:"Polygon",coordinates:["@@喹炂�迁蓹蛯疲菦蓙覄私蕘藡桅色蠘茝l讒蹋}蝺英H偶蠂C蕽嗓签u艇蕱乇燃膭肖茮虙"],encodeOffsets:[[44629,42079]]}},{type:"Feature",id:"ATF",properties:{name:"French Southern and Antarctic Lands"},geometry:{type:"Polygon",coordinates:["@@炸藘邜目聢菂山希嗖嚸僸覀女螏脢洽"],encodeOffsets:[[70590,-49792]]}},{type:"Feature",id:"AUS",properties:{name:"Australia"},geometry:{type:"MultiPolygon",coordinates:[["@@吆虂覝艠倬菉詭脡脨唳剿教伳撢壣白嵶懬�原軜艞謭訚芨t犀占玫"],["@@挞趪闸蛣甩巍袞蜔膽蠇谴軟鸥薪蓜墓涩軙膮靴藮汁啵π嬛炍慌嬋斦兺溹'筒葌途畏却藕脾啖棺┫竿嬟�诠蕗诃t訌脣猿袗軏碌輷啤系嫂荨j訒菚谆蠂迖孬协太俦双谐蕽堙蜁薪蓞鼗艍讈陋藝訒虈啶德夀∥囅櫾曃熛堅テ佳澢冚佖壾┥壠動懨斶渴愓毁捜浹屝具蹦杆⑿犎残ё壿澠费队炌樞X佨懺克酵徻涃轿妦襽钥貙压蛝莻葮嗒冊氉焭忒笑嗪撃佮獩虧啷櫵∶堗⒒褭墀葪菈驯坛涂軌q諈玫輵贫卓臒纸聺詠覂蕰聹褍蕘袟藡貢聬譀B啖秸溡嬊刲訓泻艠茪葤聡虪暮讗模蛹鸦唷柶徲捖樣幫秙蕷蠇桶慕趧訐跀艡为蟿蔚顺蕃懈蕬蕿蜅a褬械趲膬藙葲师臓訝洽雀艠褉臋赢螏貈脷贂微讇踿爽笑为贉贪悉脿纱幕趲毯詺膜哦葊蔀眉椰o啖ㄊ栆毾幧娨営惭惵溚瞯覙讟軒螤堠桅菤虠袌藗孝蠄腔母贃覡邪犬通褑茰`杉蟿沫d蓚蟿纽袨艛亘汐也咏諅M諙每潜姚袛讵蠝蓸趴染魏訏詷虙褬谋酆莻e褨貨刷覀弄謳然襽螄奂蓩蕡膼远实蝇蕣蛡帽葼菉犀械伞覈蛪突丝聝漠捅蕶锌虠协脭蕘跍耀侉藦褷虂貓踊蕚B寻蓫哦史撙说謭思菒見菭蠈木窑拾跒艥袨脭蕯墨訑艑賳菆菭沤爽犬丫菃姚t蕡谈叹蕚些脦諆染姆聵螞台褢脷訃聡胎"]],encodeOffsets:[[[148888,-41771]],[[147008,-14093]]]}},{type:"Feature",id:"AUT",properties:{name:"Austria"},geometry:{type:"Polygon",coordinates:["@@脹蝺觼C菐腔帅乍菄茥芙s褖葟蹧脼喈惾壧娻牕疲沫菂詶泞褧x蠞贫藕却聫片湿虏褜晒扭蓽輲聲赘飘袞}藔牵镁茰拧崭虪艅虙习夭藫觻螁虗脷俣时袀陋习莵茫艃膶虆"],encodeOffsets:[[17388,49279]]}},{type:"Feature",id:"AZE",properties:{name:"Azerbaijan"},geometry:{type:"MultiPolygon",coordinates:[["@@蕿桑蠄DG呕蝿印纸艗褖习苾蛦仟v"],["@@蠆脣茷蓤詧秃汛训褣篆虾聼矢骚蹢茫疲俚茻虓汰葷v蟹冉楼曰巡虃写蕽蕷炭脳唳讓蠗茞违涩蕚藢覂司菧蓚蛬皮千蓺榷茙囟蕧覑鹿艠牟斜覕蓴艢蕗聟讇詸"]],encodeOffsets:[[[46083,40694]],[[48511,42210]]]}},{type:"Feature",id:"BDI",properties:{name:"Burundi"},geometry:{type:"Polygon",coordinates:["@@脕唰ι兿⒃溍熓灿幰�脜赂艇歉葟T藯裙黔蜎勋抬胎螎聼"],encodeOffsets:[[30045,-4607]]}},{type:"Feature",id:"BEL",properties:{name:"Belgium"},geometry:{type:"Polygon",coordinates:["@@販谩蕺仟諓慰姚葷魔支蓵聧臐一芸夕褯脽讚袉戏投戏`农虙讵菙"],encodeOffsets:[[3395,52579]]}},{type:"Feature",id:"BEN",properties:{name:"Benin"},geometry:{type:"Polygon",coordinates:["@@蹧寞裙讍聻釆炃浨β嵭囂屖笔炁喲短�抹菭尉歇膧葊胜水蕵虪F贅訖聫拴葞咏菗头臉骚小猿实食莵諌t諚碌啻�"],encodeOffsets:[[2757,6410]]}},{type:"Feature",id:"BFA",properties:{name:"Burkina Faso"},geometry:{type:"Polygon",coordinates:["@@止蓯辖聥虓蓛蠗前匹甩蠙蔷脜应僧韦o舜跉邰努旨刹却袨艙螝洽艠蓭俅蠔菃藔藜螔姚泞蓘菄諣J谩小艛希觻展聙袧啷喝弇只强剩些每菬谓丝魔輥l铣芒藫茐蠅脰喔B訅艠賲"],encodeOffsets:[[-2895,9874]]}},{type:"Feature",id:"BGD",properties:{name:"Bangladesh"},geometry:{type:"Polygon",coordinates:["@@i捉虊哦脝诏蕢熏碌褦菂袣螘莹逕聮眉螊藘页围菭农频蕛臓蜅酶沤蹡虆賱茰話垣嗓葐酞諃碳貐鸭虜之跂蔚袙拢么讖邽艡蕺^訛茮席軈蠒碌史訊尧靴茙諡啥F讯喑�"],encodeOffsets:[[94897,22571]]}},{type:"Feature",id:"BGR",properties:{name:"Bulgaria"},geometry:{type:"Polygon",coordinates:["@@蕩螇蜌脰佴趴喁韭干屶Μ葴貟泰哟臅靴螐太坠藬訌埽艗唷ニ僓谢迏每住虋讧杀丞|脩謯褋藧茠泞臐拇茦藢蛯藔小未梅态雀葠"],encodeOffsets:[[23201,45297]]}},{type:"Feature",id:"BHS",properties:{name:"The Bahamas"},geometry:{type:"MultiPolygon",coordinates:[["@@鹊拢蓢訙炭蕫蔷諗狮聭處郏J鹰"],["@@啵菲吤徧葱偯ぶ坽~蓵"],["@@茻庄品艈`旬蠐酮C莫趷蠗"]],encodeOffsets:[[[-79395,24330]],[[-79687,27218]],[[-78848,27229]]]}},{type:"Feature",id:"BIH",properties:{name:"Bosnia and Herzegovina"},geometry:{type:"Polygon",coordinates:["@@苔F瓤蟽袦蛽奴袃取聶平没藱葲奴谣輷蛨蛥螛蛬葎檄叹腔屎些暇乾螔虨葧羌迁暇n軤茡讏\\蠟葏"],encodeOffsets:[[19462,45937]]}},{type:"Feature",id:"BLR",properties:{name:"Belarus"},geometry:{type:"Polygon",coordinates:["@@呒M啵巴勅氂勠愃惷肯斣溒氞蜄啖伵⑷谎材脆爳颧膴衼欠骚談战蝹瞥禄票枝譬蕩伞蜐强诔聢菈每葼帅雀諠軡鹿实葋脙褏铜膯莘隆蓹葹炭匹蛠浓趰j啶脿俦m摇嫂袚聫e蠍史洗詫洽L桶煞蛯聶蠆"],encodeOffsets:[[24048,55207]]}},{type:"Feature",id:"BLZ",properties:{name:"Belize"},geometry:{type:"Polygon",coordinates:["@@O女母聻拼谋虨詳莿ZH奴莿Ga森茓蔚么呕臅虧脌膬墨褖菗蔁票菗虆剩@脿啷哖跇"],encodeOffsets:[[-91282,18236]]}},{type:"Feature",id:"BMU",properties:{name:"Bermuda"},geometry:{type:"Polygon",coordinates:["@@OEMA]NOGNG\\Q^McMOI_OK@CQSGa@WNLVWHFLJXVFGJ`ZRTDLeeWKIHGIK@@[MQNi`]VDTBHCJAPBJLVFjT^LV\\RJZRn^RH`TfJjZHHOTTFJP_NOX[EYQQKMEJOLANJH@HQHAARF@ZEPS[U_IcRQXE@EEKKOCGGCQCOGISKYGUC"],encodeOffsets:[[-66334,33083]]}},{type:"Feature",id:"BOL",properties:{name:"Bolivia"},geometry:{type:"Polygon",coordinates:["@@啷熉斖熩池堗炔郢莨貐艞汀喹喴嬥ず藛呔殉微艔貑蝎植諏啵⑽臂喝査捌锻犙�h軒陇谞歉硕堠啻犡裁爊葓湿輤途讯蛡嗒钙毮欂侥纪撁V涏0莴啶雌懲μ恢ㄇ曃愂懻圱应薀職訜菒蕰Z纬蕮a蛼唳忇緰聯奴訜臏艇覟山趣怨偏趮莎蟻膭訌士钎a识蕹褬蕲^喔笔撔曒媠覌庭唰暺壡�"],encodeOffsets:[[-64354,-22563]]}},{type:"Feature",id:"BRA",properties:{name:"Brazil"},geometry:{type:"Polygon",coordinates:["@@喃啷嗋爠譅蝹奂要j冥褍訛械菄菕訙艝蛹B姚獭拼炭茓袒聹寞蛿媒迶瓶胜芝瑟蝺菑啖鼻埫堗瑴蕽掖藔铅膬訍砂蟼片趯龋院覞删臎通努訝嗑暵斖戉蕯bY未菑蕱聶訝鹰薁諊S螐蕭支菛庭碳啶称掄/莠盲譁幕蛿臍鼐嗒菲櫻低佨客饺囀┭焟乇卯觾茻稀莫脠啾ㄛ徲份弙蛥覄謴露遣伟冶詾螕荽蓽贫A微詵蕩膵覕蓨虉脭霞啷χ槽幥娕斉摧绰熛氠槹p胃趴訑蠉态L貝觻茠菤膿聠蛺盈臄Y諃嗫杒甩虃筛藟菒臃莻募舀鸦俑脝菍什卮葹螉茞漠韦赘蕟炉钱軈冒艣諍聮譃蠐蓲莯镁噩艆跍瓤蕫趣貈啪啶蔡咎幣徥傃毴溔椗壪兲�诺葨戏煞虖茀軓蓪褘脭铣袁峡挟楼蘑菕藛聵蠣痞藲散椰铆炔聤覛莽酶洽茥菢膸蕫秃玫袌膾訑潜尉钎屎瑟葕聲艠煽袛脪蛼蛫蚀丐蛹迴撕垄群耀壹喔揭埰憍讌賲蹠示施喙て伮娻贁謤喋愄熰秺浴楔颖茝耀唳幨多繍压喟绰庎皵蹪喋膏さ侏蕪軚聭苔藚烁喋斣椡倒褢辗喈呧諜啷嬝縢苫亍脪嗉缴灌矒臋謪藝艇偏喃编嗒逼涏诠畏葻詪啵疐喑曂撟∠嵿さ蕳唳┶澻呧牤农胤茢耀平唷撊徯ё椧ム喙曒壼椫较ミ浿売懮酚埾埿娪熤糙囈」諣坦{唷呝罢蹦�"],
+encodeOffsets:[[-59008,-30941]]}},{type:"Feature",id:"BRN",properties:{name:"Brunei"},geometry:{type:"Polygon",coordinates:["@@同叹軒尧聸携路諞袘聙黔斯膝薛"],encodeOffsets:[[116945,4635]]}},{type:"Feature",id:"BTN",properties:{name:"Bhutan"},geometry:{type:"Polygon",coordinates:["@@蝹藣脧冤蹏{劭脠諊趴迏蛫k菤謱夭覓蓤赘葯押q蟺丧"],encodeOffsets:[[93898,28439]]}},{type:"Feature",id:"BWA",properties:{name:"Botswana"},geometry:{type:"Polygon",coordinates:["@@菧骗藙印啷庎萎臐D虘蕷諔侔殴諝蠞喈懾]顾┲撌佉櫭F撃徥秸澣涆伮ば懮疚熌感ト櫲敌撔壥肯懽荒懭囂惷荚犛竭毶睞釣氞牑聢|岵矩绰勦矕處蛶螎諟亭十D觽葞瓢脵蛿冢"],encodeOffsets:[[26265,-18980]]}},{type:"Feature",id:"CAF",properties:{name:"Central African Republic"},geometry:{type:"Polygon",coordinates:["@@蹨脷坪蓭茢g染葟喋斖愇ね犙屇壧愂偯歼郝竭喯簇娻:褞途諓茰莫潍訙钥F蝺茓螕脛驶虇蕧贃慰尧突T藯譅勋螙蔚蓡詪睾桐茒藟耍臋铡p賰臉坦茂懦缺藭}艇遣啶较ツ幣椕澥ピ曍非愗櫮娬椞篡撍敢壦撏浹徝棺撜B仓┢樤呇谎蹦検惵浵ο斕逞犆犘囇κ⒛嬑灻炠慈囱嗋"],encodeOffsets:[[15647,7601]]}},{type:"Feature",id:"CAN",properties:{name:"Canada"},geometry:{type:"MultiPolygon",coordinates:[["@@貛艙蕺x携螀痰脜喋ノθ克喪柑幮�"],["@@啸c嗒澦傓喬劽珕蓙唷梶品"],["@@褏艥嗟∠⑹ヌ樰┨屍堗』瓢蜁覝冒葰啖ㄇ吭ㄅ颠勀椝禾冃葱嬥牸螎螌药"],["@@謮芸崭舜譅堑虖虊輾杀习却酄际凳关涀樒炁喲渴荚肺澼壪澛嬛兦偳聚屔慌勦墀詤聠爪袀攉炔啵櫬灌繀~殴薁约虗位涩鄹話啖勦尘远訋懿虃隙聶菋色覅諌"],["@@@@@@@@甙盲圣啷撥囤疍詰溪痰袭褔示苹蟿潞藥袀艐"],["@@汀殉蠂卯蓹盛聽脦蜄师螁k蓤牵"],["@@唳澮ё强瑟夭喜喱糞i菎"],["@@萍蠀褬偶莹蓷啶偹洁オ式枚袓丐脼锥衰輽藘嗖橙较氞牠襾喈⊙K坑瑮膬艽写艈趯撕迶貓氓"],["@@啶仿ト啃σ嫁柵溬旧稾苇魔艡毡蕸"],["@@苑虓喱壥兡熰蠘輮始讟味啖际冊幤η呍犕�"],["@@G唷趧唰愓ナ∝局ム貓貣塄掳啶堗疄脻喟斉泄录蟹爻覂驻覈艃校嗫┳椸呕啖兪ㄊQ冞帝绞撐苦蜘喈趁囑徫∶囌编目啜壼秽-啷佂欄徛编喟偲曄溵幌假戉菙嗉炍掂蛬缀袇喋喩赤⒏螣嗟堵掂4膮茘塬始唷嬝屶こ喟ㄟ椯ㄋ氁斷『循喑⒆Q多磶衻啷捵溡斆е樦屶Х賱唳侧ⅳ谓菥双嗖咀捜樴犯色唷改囒犐氜此掂樱十蜋嗪劽泒鄯霜喋涋幣控層掂瘱野擀啶斨屜纲狠`喋赤唰櫷嫡呧觼莅訐啻偵徴⑺嵧冑寂復锻吤栢せ貚蛠捉虖嗟椸蹜喾嚻嬦厸钱啾丳啖嚸嵺弊洁┏蠅喁夃珬啷缔≤屍愢礃喃勧剤郦喟改屳斝嵵熕娻藴賴嗒ば苦蹈浓唷嗋脦貚摘胎啜U结嚪詠酄洁く貋贀脰聧軉喔ほ炧磵聝啶D拐挥咮喱ㄏ嵤愔浧浰氋欃壥辟固曄∥ヅ剿徛ツ嵢灌唤A啾蠜品啖地兡棵熕嵧澽桞酄汫蠜茀茒菓酶石e膹嗒沸秽〗趴唳壱吷丂朔苽磨纽n臄葌處袀姚蕵雍菣艽堑迋啖曅偰酒荷矦菦茊楼趣菎膿丧聙戮膴取膴膰蓺俚藧诠霜酄懲樳佁ㄝ兯漇啜暽斱慌夃爜屎唷喿暵臼黄溒に矷E蛽醿廈岙滱岘疈帷傽釥緻釤橜幄酄汙釥丂釠稝艖F嗑洁牅椎未嗪轿愐齿柵ぴㄠ┗唯僻诖唰巌褷也袣w諏喾櫿樴…啷犝佔巨懴氈N堁垦⑧藭酄囈馆浿傋撓�酄嬌膏牊|J夥嶯岱侧棘拳喑樞權没輪螙唰八�喟⒛灌凹蟿嗟樔局疚懾溉犎娦勛埬權穯莴喃χ栙戉〝茞蛦蕱唰奥粪奔螞釈柑瓌茮酄柮勦瑠褝喈佇粪憾欠釛樐曹捚︵詪啵囱屶々桅摘思唰韭炡δ広慈┼覘啶懊む耿蠜嗖勦o沫院轂痞嗖λ礙邞諙跔诎u蠟唷娻园唳曂好む唳敦庎珜茋唷樝囙瑸啷呡椥紶菨"],["@@薪峡釄幨瓲褖啷娧栟愃熪屶牄褎螔篆唷拜娕牪茋啶锻拐嗋爥始抓喽掂喊袎臐蟽嗟∶U毻撍碧汗苽喔兩禄嘟吽丰拑疟喙荒佉曅嗋僧輽模啜涄栔斈氞矘茰喈埪涏痞嗑啡炨厳茫喈梛逊檀釈幫侧矖[喔飞氎顿�讙彤釚犩‖菋"],["@@輭謬嗖棺毸概炧聮贁葋"],["@@枚傻啖縷啵焜啵颗懯懧监丫聵虪袠脠釆惸涏笂遥"],["@@趲越蓼诖釖單堗泛啖吪会�捠掃捦垁褘喹勑徟娢洁細葠啖樥椺帎桐芨凸邜藁嗷贯寴展喑踩佮瘈迿喑柮囀阶涏箟唳嬥维喑撨侧獧目艁訒啖ム瑴席螌蔁沾酄┨佔苦瑟釕徻ㄠ畮埽啖斣暺幪夅棻筒釁┯むС笑虒蕚喟溹孝`蕬釢∑呠兯局嗀む綀d醾概喫溙娦距獨酄娚诚娡曀距笨袪醽乘赫炆嗋⒎院輯麓趶烁覈蕸嗪颗呩禎葓釀氞垂糯邾虗啖炏︵疂H藟唷氋ㄠ『蝿釗⒇U�"],["@@唰娗簞艅蓶蕬薹袝啾溛逼陛赤禎蜅叱锚讐蛶釔≠甹藥醾柲洁占唳感�"],["@@啵撠灌聦越輪`泻旬唯酄吧儶聡嗑埲编俺轃唰壡�"],["@@釙嵭櫻废傖姽押萎韦讓貥馨謧酄懺︶瓓苺喈п挵卤酄勈戉螡喋嵣冡彎谉啜橜谓"],["@@覚蜋喁澝樴П蓶覀蠚喁�扫芗虓态藝"],["@@贋系聙褭希爻嗟蹦戉茍j蝇嗟澝澝佡啾屗亨畟碌脺艓"],["@@廷虣轄茦啖⒙櫰┰澬嬦瓧沤釕粪暴m艆藴醿炏娾懀某喹酄愡埳踞泟顺喙队秽负脹喈边ㄞ斕沫瞬袕"],["@@啶⑺撫��F塄恕葢蛠啷嵳斎о瑠聶喁掣羌醾娒班祤脧啵捦吶娢嵲缴熰碍欠喋侥羔湵呕醾玞啻坚杹藬虄姚墓卸唷囄踞儖暮唳吺纪偽堘偩脕"],["@@艞伲侃虈薰拢嗉澪磵殴喱椙粿@喾斬坚偖债嗖哰喱概�"],["@@希y嗉矫偵∩坚仠]诪苹牡末"],["@@嗉┦嬥皾藬诩藥喁愢畧趴拴圣"],["@@唰角忇秹Bb扭唷词σ屄澿菨"],["@@喟暻ホ內毼偯∥庎獪聭营脜唰愄嚿�"],["@@蜏螘嗟從む旦藰釄徛屵菏犩Й犬脮蛺嗫杜曖棦太贋袓"],["@@唰λ曕薀嗉囐冟攻脫醿撆嗋蝿^苔跀散嗷啶徦ㄕ懴犠屜幾娛侧〈脦慰葨釈溌ㄠ┒覅喽盖掂禐莾趻謬"],["@@釚⒚熱叜艆嗷ど櫳♂弲畏釒櫱熭蝗夅啲J釋≡權祰蕛喾囜偪茡諜恰帷纺涏瓐目讎骗蹫斜邫私嗖浭冃嬐∴剩艦葟喾恖瘸釚熢嬦敡纱釣颗秽哀母嘟熉啃栢紛葠斜貑寓脨釚の赤闸啻骨堏纪樴拱权蕜虋喈嬐犖パ犪槥聴趻臐嗖继墐默岚矫佮梗烁郓图唳検樔佀亨唉菆唳樎傕坎茖喟偺亨ì漏啵ど劫斠掄珢茍嗪毮⑨⒉聳襽臐釢毱氠啍脕釂捗�"]],encodeOffsets:[[[-65192,47668]],[[-63289,50284]],[[-126474,49675]],[[-57481,51904]],[[-135895,55337]],[[-81168,63651]],[[-83863,64216]],[[-87205,67234]],[[-77686,68761]],[[-97943,70767]],[[-92720,71166]],[[-116907,74877]],[[-107008,75183]],[[-78172,74858]],[[-88639,74914]],[[-102764,75617]],[[-95433,74519]],[[-123351,73097]],[[-95859,76780]],[[-100864,78562]],[[-110808,78031]],[[-96956,78949]],[[-118987,79509]],[[-96092,79381]],[[-112831,79562]],[[-112295,80489]],[[-98130,79931]],[[-102461,80205]],[[-89108,81572]],[[-70144,85101]]]}},{type:"Feature",id:"CHE",properties:{name:"Switzerland"},geometry:{type:"Polygon",coordinates:["@@聬偏殴瘸蠟频褨w谩螀蠂茩丞艀腔凸袕啤苿一说袥隆伪嵌私蟼袘趴^蠣貧揖聛蓤悉没刹茷軒M铅羌啵捠�"],encodeOffsets:[[9825,48666]]}},{type:"Feature",id:"CHL",properties:{name:"Chile"},geometry:{type:"MultiPolygon",coordinates:[["@@B釄澿@話w帅突軟驶协聜踊盲貜狮啖熍ㄠ腋唷庎瓋啶钝樓謼喃溙熝⑾樦恨犖幾澳�"],["@@廷喹呚喤樐荷佀苦啵敌陈�喽撉撌ν∽ピ拐贿佁涋兡�呖垣唷瓜笍蓴频C逈討酄峱郫賺辗F迿十酄徳壧]∪熰”茪唰客非∪炧ス蠝蛧恕螞隙菣臍蛢谓莾臏颖太喃椦杰撃嬎囌戀O吤脆⒐虗抬謹脛g亟螔萤釒斉戅枯漃袡确莘蹋茐薰危o啷吽氞ェ讙@@啜秤斔佌捠動把呏捙呧筏桅甙啖促班保蕯邽輶烁喽娻い虖旬醿捴澤犑苦ɑ諌艩藗喈菜亨紥袭指蕧酄幟┼螤聞渊啻堗磶韦喟椸凹胜蹥牡啜炗▎瓢嗑核掅儨藔釄っ曕禈签喈勓溕屔ρ毿迸愗呇次∷呥揭屶す"]],encodeOffsets:[[[-70281,-53899]],[[-69857,-22010]]]}},{type:"Feature",id:"CHN",properties:{name:"China"},geometry:{type:"MultiPolygon",coordinates:[["@@詰啻撐徰奋偰┴多牅讦賻熄省疲該","@@堠袟蹚屎y堍邪蠣啵旧居歰葕蛵蟽蟽葯訜"],["@@喔嵿庄图邇啾–馨通嗟甘溠齿蓖櫶洁帧酄囙У篇軡虘蓽軝钮唳逞晈L褟诈雍童一嗖櫸逼�压堠聦袓藗纸篆啶懸嬠冋∴蕬兀辖啵澤傁辞炡栔犙寡曹诽撪讖垣诈酄櫬⊙撓谎钢┷屍徛勏曏斒曕じ锥輾蜐宅u茖驯喈撋幌灰忇爣褍褯讬啵溡ネ︵牆詾迵之佶_丿諈莎泉覂佣驶呕蹆蓢跅曳梅貤啵и灌蕲唰嬥蕖喹熪秽末裕蠉虄藰訃泄喹佮⒌殴嘶啖币飞欂幦ν樴藧袊茘唷嵣斝徫�苿訙迯贫袡蛝軕覂酄嚹覊瘸靴奴哦啷ヒ儀梅娶}螏貪蕮蔚聘乇蛡蕯郅諒菐颧逌啖逼撃脆邤郛聰蹥{贍谓权谁佣迎脵啵熍菜次溝吭鹤澄澺等膏シ諚迖爻诔目慰搔压r追葰覒蓢謰乇毛趯詿黔唳撃堗葨诳蟿俚菙睡袞医纽唷撜岗┦次懭┼瓭讟酄浾捝洁拙艖聜褨铜褬膼蹎啵權嗟际澷ω┫计屌秤幝埻溤浫斔熌徤囖ㄊ埲斉浫犨ば堊埱愢⒏艖蛦諟嗒偰蔡毻硿覕艩葠茫訍旨蓴荼喔︶�樛惭樔堌嗋簰醼犓∫蚕灺⑧郐膧贃謹廷猫蓺讜鄹呀喈孔嗂蓖曕挞畏唰偲澿瑔艥唰辉材∠ま熡灿苦n醿勅夃艤酄ε皵詻唰瓸蠈式唳愐屶船虉喟韭屶虙拙覉讱税茓摔藣蛿汛炸觻霉唷呵澿牳丫啾餐氊炛娮犑嗋癄艕趷磨臓虡菘讝讷藧佶坛酄E居嚺兩徫喿ㄠ牼笑賵唰毻冟畣諑Q蟿莞啖疽菜怶要遥圈蹨屑啜捌侧珳v喟甘≥執痹班蛝伪虋冤潭酄�"]],encodeOffsets:[[[124701,24980],[112988,19127]],[[130722,50955]]]}},{type:"Feature",id:"CIV",properties:{name:"Ivory Coast"},geometry:{type:"Polygon",coordinates:["@@希U讜菕諢W唳蛊プ嵤嵿牜摊菋v脼蹡膭艀}通危螝藟脠蕰刹蔷蠋膷袨聽蕯苿B赂尉脻菍膭艤谈亩裙讪葪螏忙烁菢脼艎煤筛懦佼O聘蕱脾g蕩摩啪潍葹艂螌虐蠚墙痞衰蠘钳處蓜暇聦趾蓮蔂喈∥熪飞曕胃埽聸艇"],encodeOffsets:[[-2924,5115]]}},{type:"Feature",id:"CMR",properties:{name:"Cameroon"},geometry:{type:"Polygon",coordinates:["@@慕掳踊艊詽艗袐脜嗟卬努趻蜔謯惜茪菬蠔蓩纽X啥蓭转袔吒蕭R詣赢蛨b揖螇志瞬膧螖葘秃啪褜覇螉菫讱遣葕泞穴蓽諝劬俨卢栓臓撇瞳桶聜藢蕚露彤諢脢謴聥謴覝迏曳T蕘脧膝膶腔袇痈萤渭茮艩螐藛變趴嫂褏唷浫趁澷衬屛澝ナ⌒堁疤熖囱熛ㄋ撀溝ツ樖徝撘戁浫ぺ飞溹聬"],encodeOffsets:[[13390,2322]]}},{type:"Feature",id:"COD",properties:{name:"Democratic Republic of the Congo"},geometry:{type:"Polygon",coordinates:["@@禄唳櫷杜曀懱椡撋熗嵮仿壁浲峅賴蕧晒聥詢艞脻媒覠蓜稀脗唰テ稗澞嬔樣Sひ挂掄庭膾喃科櫳D凳囌櫲娤嚻Ψ幕唷嚿ㄆ樛澤财疵贌R螄姚坛唯贌艩葖寻裕藚讧艦双息諘眉辖q碌示虂r膝潞猿懦喂t然没庐唰勊┨该曉捛澩杄諍唰砆貌挞褧G颅疲缘聫蓙缨疟瓤耀艩耍艧謮氓蛷寻葪藮蕥詫确囟釤沑\虓姆蕬h螊艙艧始蓨臉聙渭茙蓭酞前蓺膽思蛺覝S脛蕛碳譬佣談莹楔蓡藧聝蹟胃酄喯炛勑溎宼贪茙虇芦訆艀輺菒跃师覉赂詳煤讛蜏褠見藬蹟朔諛坛貧膲馗菑师詵艠脼夕膷啶ㄐ就ㄇ彼杶糯炔毯冒賱臈闸o摔臍詷蹤蠘姆嗓茤喜脜叶遣圈潍輮謴"],encodeOffsets:[[31574,3594]]}},{type:"Feature",id:"COG",properties:{name:"Republic of the Congo"},geometry:{type:"Polygon",coordinates:["@@炭司施茥突纬蹚啖纲栆冎屗旧傊δ好は屢喰椵惵暿葱埮傊捘澸�袎雍味唳勅角権趁谎⒚斘距聫诟蓻跍龋脭覓寻薏詥鸭知茥栅卤路該圣覈菑越目輹卢訅茘虆s摊末藡謨袥汐褲畏酄吢勠撋吽徲в嫡兲黄兪勔汿嘶蛷蓹膾"],encodeOffsets:[[13308,-4895]]}},{type:"Feature",id:"COL",properties:{name:"Colombia"},geometry:{type:"Polygon",coordinates:["@@潍趣协栓蕝茀軌艤缺伟平_酄坑捙暿禾济毬浹側⑻π该娢炚喭愌刺橙η動θ忁惽干毱冘勍灰勁喰⑺斆懬偸犎浻赌号�賭讛螌臍T甩坪軅訓细諍f盲仟趥茅趯褗蜑葕袨袣號禄蓺蓻菎吮眨茣蓢锌蜅蕥蕮谭墓椎煞迎癣脟艈檄葎葋芒凸某痰聢谦雀茅权虊嗒娔動ε冏④⊥寄氊偮惸斊熎币嵢囁熥磺溨懯喪熉喨壯嵭惶ㄈ兩犔嬍班牴莵幕菑痈煞藠衰虂嗫昹Z钥影膿聟蛷菣臄铱茟K貜蠋太苺訐o畏蠙針恳偸摘唷べ熛驹嵜Fひ澵蹬�拥啖は成愃嵭喼懶娚∧�"],encodeOffsets:[[-77182,-155]]}},{type:"Feature",id:"CRI",properties:{name:"Costa Rica"},geometry:{type:"Polygon",coordinates:["@@覘葐菬钱默皮聣葎煞泉庭菙虂艈脜蕱蓹飘脛蕬菞醛葥筛藨膴艞菫L十艓藛蕘艩葨菍糯艌謫蓾葨艎藠茅茢钎蕼脟泉遣蓤覚蜄头袀惟蜅玫L头仟疟疟谋聬票毛菬漏菚"],encodeOffsets:[[-84956,8423]]}},{type:"Feature",id:"CUB",properties:{name:"Cuba"},geometry:{type:"Polygon",coordinates:["@@塄脩趭W邉斯彤汰藓抹虜取軋猿院蠜刷\\詥菬脮蕘卅聯賹螀谋葻謶艃帧楼變芒喈衬呏溡段伾斦執兪惾ビ幱兟忁瞪κデ啪虌菒蛝蓘酄椔ㄗ垦廩钮瘸械臒潍膫押矢羌踏蠟葓褨菐賻膭劝蘑"],encodeOffsets:[[-84242,23746]]}},{type:"Feature",id:"-99",properties:{name:"Northern Cyprus"},geometry:{type:"Polygon",coordinates:["@@脨J浓犬貏Y迒盛支围脭瓶臋聢菄脵疟j楼聧i膸脩戮菋V色茂瓶卢"],encodeOffsets:[[33518,35984]]}},{type:"Feature",id:"CYP",properties:{name:"Cyprus"},geometry:{type:"Polygon",coordinates:["@@聙茫唷蓖啃┡娙熗缎幝屒�芦涩冒菍U脪陆j膷娄聨挪i菆脷臍聡"],encodeOffsets:[[34789,35900]]}},{type:"Feature",id:"CZE",properties:{name:"Czech Republic"},geometry:{type:"Polygon",coordinates:["@@席莻衼漏俚什虖脵铱螀乇藬觾伟褧痊臈螤僻薁貟蔷谈染拙菐蓚菃蓽墨蠏臇袏藫丶帽驴沙覙千挪蓲旨磨膭士夭禄袭携省C沤漂葧聴脜葢菄隆w媒斯膿蠇b拧葋"],encodeOffsets:[[17368,49764]]}},{type:"Feature",id:"DEU",properties:{name:"Germany"},geometry:{type:"Polygon",coordinates:["@@d蜅唷斎汼虠唷⑶傄旧班艇袉藡葹褢晒桑台虣群覅脽虂螆諞蠎臅蓻默蓙菂捉菎谭冉貞墙屁薀臉螣褨全觿委虘席虩艃泞辗媒茮士扦袝~追骗輱聳牛蓻褘珊施卤啵懯睬デ卉峃艅状褜趾喁吰感嚿樎聪偳椚惸ㄖㄆ椸ⅱ詭@蓤蛡染迶瓶舜菒遣郯掳萍葍之胁葥蛝聺訄賹艒諣鸥"],encodeOffsets:[[10161,56303]]}},{type:"Feature",id:"DJI",properties:{name:"Djibouti"},geometry:{type:"Polygon",coordinates:["@@趣使螒訌醛萎莎瘫覈葏片拳脧曳b_十脽啥舜衻虗蠆萎帽湿却"],encodeOffsets:[[44116,13005]]}},{type:"Feature",id:"DNK",properties:{name:"Denmark"},geometry:{type:"MultiPolygon",coordinates:[["@@詪诠啖熡勁澪掄栓藥褍"],["@@鹊蛢省臑貋貋僧啸諢欧賸艓徒也}唷斏屖屆�虗纱诋蕚聝褲薀藱亩山覙诺"]],encodeOffsets:[[[12995,56945]],[[11175,57814]]]}},{type:"Feature",id:"DOM",properties:{name:"Dominican Republic"},geometry:{type:"Polygon",coordinates:["@@艀茷倬I泳蓮蓽t拼虝覡h聛省蠍聣挟摊谭涂袓羌汐聲恕垄票频蛻陆欧炔耍钮统只蓮茊搂蕩j涩蓫师炔茪脼蛼贸覝"],encodeOffsets:[[-73433,20188]]}},{type:"Feature",id:"DZA",properties:{name:"Algeria"},geometry:{type:"Polygon",coordinates:["@@岙┼浇釢┼糠喈囅戉膰U諛系茖怨蕣颧衻岈会喆岈会喆峁曖帬f菍@脢Q唳亨船亘酄寂港幧ν幯傕酮聵噩英貌蠟潭嗒钙毱竿溕浨蔡冟⒉鹿詾蛠諣甙覡啵ζ⒄屛庍妒班穾片嗟济ρ埮娡ㄠP蝷葷趾戮菬褯苿邿取蹤原业么賲蹔詢R券援凸为嗪澦栞徛跋灯й嚸斚ヅ円熋舱囃椨贺撀幬樢迪计岗捪废傉�"],encodeOffsets:[[12288,24035]]}},{type:"Feature",id:"ECU",properties:{name:"Ecuador"},geometry:{type:"Polygon",coordinates:["@@覀睾腔尉蛵系詨蟼菫蕗茩迍處糯坪约蛦咋脥蝿尧歉讇桶唷�討凭`炔委軍艣蕟茊挟帅维龋艦贀式粘啵粪唰熗гボ登冎S呂嬑櫻娡荒炍嵜坍蕡权谋螖"],encodeOffsets:[[-82229,-3486]]}},{type:"Feature",id:"EGY",properties:{name:"Egypt"},geometry:{type:"Polygon",coordinates:["@@山头枪賶色雪葷匹拴藬蠜蠏椎喈改懨刮愢元唷嬞屶驳檀覚藪觾莓啶浨椘B傉赤莪屁牵峥籃峤堾鈦〡@岫禓岵词ペ采愒芭晃ば栢b卟蓾酄彩浵磁抠ㄋ娢屖娸幟芭兩等溗溭ㄈY悸承吧勚傕方"],encodeOffsets:[[35761,30210]]}},{type:"Feature",id:"ERI",properties:{name:"Eritrea"},geometry:{type:"Polygon",coordinates:["@@嘶藮螇影蠇藪蓮虅芊投只X拳乾盈取詻息式胤唳懬櫷次侧皜膴謷藛蚀丐茞褜訏应唳兩崔椧⑿`邚也訊覗訚藔丝邪失施瘸苇貌"],encodeOffsets:[[43368,12844]]}},{type:"Feature",id:"ESP",properties:{name:"Spain"},geometry:{type:"Polygon",coordinates:["@@娄状蝺胃喈捸嗋▕票喃綨啵偲澺β串聝桶蜎嗷合√ㄇ亨蠞唳喤娐ミ撝撪獊钳玫吮冤爷蜁蹃蜑討訜蠎枪粘賶菞砖佶喋邿h諆虛蛵蛥些锚痰舜蕛託薹啪茅甩潭蛝艢涩虄盛啥謤统詫未猫聮袌茙努Z倬喜瑟苫褎萤聢茲艁庸C蓙鞋蝺奴胎蓢"],encodeOffsets:[[-9251,42886]]}},{type:"Feature",id:"EST",properties:{name:"Estonia"},geometry:{type:"Polygon",coordinates:["@@漠痈瘫艁論虡帽訕喋炆监浓啵戉|糯疲庄訚蕿薜潍藟蹤D堋谈蟻募軓譬"],encodeOffsets:[[24897,59181]]}},{type:"Feature",id:"ETH",properties:{name:"Ethiopia"},geometry:{type:"Polygon",coordinates:["@@詼稀影娶犬谦旨W芨偷蓯虄蠈藨螉盈思藭虖蠅顺峡脿傻`虱腋a犬脨葐偏墙虝檀咬檀袡蛶虥岍ㄠ酆N釠涐嗒欇熥U莎藚址B凸舜迧螜蕽螕謺脿葍默葻w藝T喋熫屪慇斯刷@揖学茦踊啵聪ト毱囱嵭υ捤赣愐�r挪拾[莶蕿啖犘娚灸幬勎溤斝肝�酄犉嗆犩谦示馗"],encodeOffsets:[[38816,15319]]}},{type:"Feature",id:"FIN",properties:{name:"Finland"},geometry:{type:"Polygon",coordinates:["@@奴讬嗖�謸蕖賶唳庎帧軟荽爻螀盏喟樦煌佈撧熱叀喋掂粌谩喙懱祪钳印覟呖藸葓酄⑿≥缎愑傉嗎妿啵柷撐⑧瓱袌顺蜏u嗖掄不植喃┬娚炧い鸦嗒猜︵拳郀蠆鞋貫嗖多獎童巍讻"],encodeOffsets:[[29279,70723]]}},{type:"Feature",id:"FJI",properties:{name:"Fiji"},geometry:{type:"MultiPolygon",coordinates:[["@@虃蕧茡循猿艞药募膮蟿蜄虁悉幕燃茞"],["@@諞钳艆碳芯扦藠掳影藔@效諘确"],["@@茅颅@楔迁聻慕袟"]],encodeOffsets:[[[182655,-17756]],[[183669,-17204]],[[-184235,-16897]]]}},{type:"Feature",id:"FLK",properties:{name:"Falkland Islands"},geometry:{type:"Polygon",coordinates:["@@唰樤屲幦吭屚蹿ο櫴ヌ嬥瑡圣蠙虒軏蠙锌蠚"],encodeOffsets:[[-62668,-53094]]}},{type:"Feature",id:"FRA",properties:{name:"France"},geometry:{type:"MultiPolygon",coordinates:[["@@耍侪稀菭葯症菧毯炸蛶茰軟"],["@@讛袇褱脿輤膝葕帽蕩j袌蓷喁喥费嬛古冏成逼澫C悸偵囏櫼絔蠠袙苺司蟻聯蕘蕷炭虆石蓯俦覗艃末畏菘訁醼吷藯末詰唳吪夃た蠟抬枪嗷瓜⑼溠⒃幥嗎�班啖へパ庎惫蛼膷貣嗒犌距懂蓮藝啷庍屛嫚倬狮蹘芫菫弄虘细_细偷"]],encodeOffsets:[[[9790,43165]],[[3675,51589]]]}},{type:"Feature",id:"GAB",properties:{name:"Gabon"},geometry:{type:"Polygon",coordinates:["@@唷灌謮蹥詸啖劼偹ㄇ舅幦藏斍溫绰多SO唰犘屆喸炁懹寂埬韭撐缴佳∝疵ㄈ厩椢掂袏庸臑倏艁謶食袊輳聳覅袠茫蠇芝墓私蓙蛣謰贂药"],encodeOffsets:[[11361,-4074]]}},{type:"Feature",id:"GBR",properties:{name:"United Kingdom"},geometry:{type:"MultiPolygon",coordinates:[["@@覊纸賸铅员[铅見钎覉鄞聳啵斣�"],["@@啵嬥'唷ε樴I蓵蹍莜荸啖劽兠つ曒犩Ρ趾茋袁啷澥埻оО菂姆諠褤蕳筒眩荼询喃砇喾澤毕磺捴壪哭ツ澩嵰伹樴啖ㄝ篛B嗖狡斒兺班屎摇覑菃占喟⒚稤@女婴譀援_\\唰灯ㄈㄏ捤∩匆嵭嚶愤堆壯斕ㄠ俣诰冥谩唰γ�"]],encodeOffsets:[[[-5797,55864]],[[-3077,60043]]]}},{type:"Feature",id:"GEO",properties:{name:"Georgia"},geometry:{type:"Polygon",coordinates:["@@挪维瓤执訜滩噎默摊蚀暮牟軇茲喟喥嬥袝痞苹詺苽薅黔蚀螄諉葯蓳艡胁覔艞谋覐潞氐蕩鹊茘喹澟窟承隆"],encodeOffsets:[[42552,42533]]}},{type:"Feature",id:"GHA",properties:{name:"Ghana"},geometry:{type:"Polygon",coordinates:["@@喑売乘捷呈戄∈喡溚ㄎ奋ど栢螤鄹蔁喈⑴椯唕訆喔ぢ⑾娒曀斊娤疵∶暿课栄烠貚膭趰蓚太葏莩盲泄散論葓虓"],encodeOffsets:[[1086,6072]]}},{type:"Feature",id:"GIN",properties:{name:"Guinea"},geometry:{type:"Polygon",coordinates:["@@蕛t恰头蕘J菑谴脠投螚渊蓵魔堑m沙鲁V坍茋蓸聜蕯腔螠晒虦讠D葲莵傻o茲欠墨晒覅蟽蟻蛹蜎廷蓩艎瓤菛魔蠆奴葌蕮茞蠋笑十e蓶茦葎D苿艓茂栓蘑臇d硕袦U貈缺葎l脷膜覝谩浓麓露汰茊B蓶艗茢聝筛蓢维茫刹呛藮艗痊艩菤u葓葋拇沙螁螜牵蓮聫藱谴膴艀寞芦省什蕧菞脻氓朔葮螎群讧谭牡膬艣脼菋路谓苾A"],encodeOffsets:[[-8641,7871]]}},{type:"Feature",id:"GMB",properties:{name:"Gambia"},geometry:{type:"Polygon",coordinates:["@@艈蠈啵秡葞圈藠`通确始I刷茪菫蕪蔚葖喂d苇前谭葪骗Q全艥迖l"],encodeOffsets:[[-17245,13468]]}},{type:"Feature",id:"GNB",properties:{name:"Guinea Bissau"},geometry:{type:"Polygon",coordinates:["@@覅螛螡脠葧蕗L鸥石谴脕嵌鸭茖甩聛搔抹嗉埪昪说摹臅冒帅苾艒葍C蓵茥虱f蠉啸"],encodeOffsets:[[-15493,11306]]}},{type:"Feature",id:"GNQ",properties:{name:"Equatorial Guinea"},geometry:{type:"Polygon",coordinates:["@@瓶糯虁啶监祮mP唰熰T顺碌"],encodeOffsets:[[9721,1035]]}},{type:"Feature",id:"GRC",properties:{name:"Greece"},geometry:{type:"MultiPolygon",coordinates:[["@@覡吮俸露卮脩q疲覝亩目蕸喁兠璗茠啜伹幤何�"],["@@使諄去磨詿|勋膧唰鄙撟屢垦徠嬕矨鸦褳瓶葋葕詤褉衼蛢强掖席卸蕬^訁蕙蔂蕼褧論臅蛨輳謴Y蹗渭炭讦僻謷蜐袭褭訍脡蕟细孝录藲藰浓j蓺占枚蛯葊覗g茠痞菃聞鬲{讪刹注虊迒膧V屑笑蓾"]],encodeOffsets:[[[24269,36562]],[[27243,42560]]]}},{type:"Feature",id:"GRL",properties:{name:"Greenland"},geometry:{type:"Polygon",coordinates:["@@岈溤嗎睊聸喋刺瘁矆膭鋩δ裤墛跅嗉呁曖粰聶猸從囇埰矏臓帷毺佮繄蚀郐虧啶囉п挒毯鉁樛氠牸菋揖潍鈨澴庇內曖啤釈埪∴貢诏寨聙啶о辗嗖铰撪掸藝嗉傃饺④嬥媒嗒炣♂垍脩唳埼佀熖戉畤沤喹喋喼‐\蠌醼曃愌浬`瑢瓤嗒荚M堏编簛菈佾蜄啜S標贾训釙柭曕瓎炉釚滇椏趶釣佮I啖呁撪瓱啖贬叺讻讌聯喃粪葷軟员[讻褘湛嗟嬟嘿肯椲澭權爫喈吢洁皪蹐醼縇酄佉⒅曕爯喔澿ú褝崭艞莓喹撧⑻⒇χ椞掄牚唳氞眾毯通螛乾趢啷√曇浥`◤藴脡职廷覀蕃\\醾斏熰房諗荸司酄放熪监ぎ薮詽毯跅讏唰∴⒓喋歑螝釚酚劵脰釚熉戓弲脳唳囁屶抚請釙偹勧仛卢鈮股栣墘蝿艢蜏岷娦樶稁袠蜆酞釛椞犥和搬讝喁⒛毼撓樶尣蓽幔毱傖R啵菏结暫舀釐樚洁谩醿炈欋崊覑艠萎"],encodeOffsets:[[-47886,84612]]}},{type:"Feature",id:"GTM",properties:{name:"Guatemala"},geometry:{type:"Polygon",coordinates:["@@褯痞曰f烯菛覎螌r蕱漠葼拧凭袣蹎嗒凢t烁茓戮摹呛痰葰坦爽蠝DB觽薷B蕈UO跅脽啷吺藲票貌虐蕵艃膝蛵袎苫脧菈芒菓千蓢葻陆卢谋瓶摹私蓛}怒"],encodeOffsets:[[-92257,14065]]}},{type:"Feature",id:"GUF",properties:{name:"French Guiana"},geometry:{type:"Polygon",coordinates:["@@蛻蛪袚脩艞蕗葔聳使嫂谓铅蓤为貌悉脾萎蜎痈谩趾血軤烁臒丐去啖港科斘囉晦懯池�"],encodeOffsets:[[-53817,2565]]}},{type:"Feature",id:"GUY",properties:{name:"Guyana"},geometry:{type:"Polygon",coordinates:["@@謤摊源盏z褵蛣o覉效酮虈茋荼詻蓵掳龋乒褵蠆貜藧A艓觾寓艹缺聣耀卯藱伞蠠匹藚聴摹菓协娄垣衻脫洗蓩褜茊軔筛虗葧细丝哦艎蟿葲葮雪聶蜘賿涩刹i喜袁茒染凭私谈么态跂硬"],encodeOffsets:[[-61192,8568]]}},{type:"Feature",id:"HND",properties:{name:"Honduras"},geometry:{type:"Polygon",coordinates:["@@啤藔虱貌脨痛艞臑牵脪蟽某聥艛施茍欠菤蕸矛迁蓤谩菕脨菉袏杉夕蛶臄聫葌屁蕣\\镁氓啪娄细霉喜v藪蘑陌摩藥漏泉脡蓸n菛貌熄艣苿k什瓶蕫葔台殴蓽沙私j艣艜虈艐蓛A葏艃菣聹茮藕臅{艊醛膬Ra钎虊沙乒谋膽慕蕸菫枪桑谦P葻ql协奴Q目葥式聯"],encodeOffsets:[[-89412,13297]]}},{type:"Feature",id:"HRV",properties:{name:"Croatia"},geometry:{type:"Polygon",coordinates:["@@炔蜅藠蕠蛽蛢蠞葐讎[軣茢辖m腔千虧葨谦螒歇辖羌使袭探蛯葍蛦螚輸蛧摹茮邇潭樱挞迲薁酃丐菫脴膝螢e瞬榨苿时纬蕽水n虇聤b讙聟聘茪烁茘亭gG杉虉膾膱秃跒蔂藠幕丶苇蹨菈碳挪"],encodeOffsets:[[19282,47011]]}},{type:"Feature",id:"HTI",properties:{name:"Haiti"},geometry:{type:"Polygon",coordinates:["@@寓聶馨苼么覜脻蛻缺茩蓭圣i色謴茰袇脥浴脭辖瓶覊示枚藬逌艣賷茫挞葓惜胃P蛶諎啪葘啥"],encodeOffsets:[[-74946,20394]]}},{type:"Feature",id:"HUN",properties:{name:"Hungary"},geometry:{type:"Polygon",coordinates:["@@栓炸菎羌觽D脺蝿褣蓩滩臒鄹募盲菤彤~笑啪臏脙袀艀葼娶藸录啵捠茨捯采幧T∏壷曋┣佋铰氋∩櫶慌臂浨娯晃壞记嵥雌梀"],encodeOffsets:[[16592,47977]]}},{type:"Feature",id:"IDN",properties:{name:"Indonesia"},geometry:{type:"MultiPolygon",coordinates:[["@@螞e喃澴氜辞捬词幨簧�"],["@@軝葋某亩酶烁伟寓酄ㄍ惽揻诗辗毓"],["@@挞桑圆猫燃违啷壳涀壟懸峆虁託窑P嗓號"],["@@奴冶啾吺呧木E态跉仟諅圣謹脺莠坍"],["@@嗑斈嬋偽屶紭袟酞寨啾�频啜愑苦蛬啶嵧篙粀啖嵜樲黄班蛶貪膶螕艁嗷曃屍N稗懨樦歼むФ路诖汀螔脹艠虠"],["@@褲直膰賳片虪乾舜葤蕳C袕"],["@@炭衰讌聘菑伟唷樎⑷舅�"],["@@台贊劭螌郫矛觾脜讎聢圈姚啜犅斷蕰"],["@@杉啻詨郯啖监ギ詳轀B軜虊禺虥啵樓嘼岍慴岍戄熪愢菧确蕠喋桅蹅請珊蓵啵残曐膏績軉蹢锚啾冝κ浶M懨橙徧瓽魏贈挟啵炋⒆磄毛蔂喁礑桐詣荪坪巍写喱埲把毸溹礃螄苽坦"],["@@诃酄兦夁鼻愢稉楼芙脓牛賺莳輿覓蠣嗉该慌褂壨欉掄┛频丝莶啷籕湛覅蕶汀虗袦蹖酄櫷椚簧杜娡栘呌裁樴爩謺虱卯唳撀斷論农委蕷蕦逌沤吒螞P驶趾螏站扭跉褎啾幥庈庁百臼涏〇艣啷绰栢牗貛痞葔"],["@@漏芙褵膱欧詽螌逊山牡凸諕薀喋呵氌にㄌ斠澯该衬�蝺"],["@@啶皋о寞双值職菘弑址u酄吠曕被怒虤啷曄櫷ぷ陈葱凰愢虩泰袨战炉蹢默殴喃盒缴盒曑樑澼�漠蕺詡謵茤謼指訁炸菭諟脩营褗袞么邟山蹎嵌褮喹犕斕執嗋啷睝馨茩訊莘丌邠啤檄"],["@@啶沰刍郯嗒呟娢氋嵺勑坟举曕輩郦蕶軤坛趢莸諍循軜賲液啖椸贸褣咋聭嗖⑶嬢斷爴佼肢要螕邤啵權、_酆止訝鄢贅膝统蹓訓虆虨s茰讜虋业貭玫肖諒蓙啜甭戉矡"]],encodeOffsets:[[[123613,-10485]],[[127423,-10383]],[[120730,-8289]],[[125854,-8288]],[[111231,-6940]],[[137959,-6363]],[[130304,-3542]],[[133603,-3168]],[[137363,-1179]],[[128247,1454]],[[131777,1160]],[[120705,1872]],[[108358,-5992]]]}},{type:"Feature",id:"IND",properties:{name:"India"},geometry:{type:"Polygon",coordinates:["@@啵氞膹蹍彤褩聛褧捉艗删啶忇牅諔喹炞椪懴熗涋秽爛蛥邐协嗒耙秽艍訙褢佼膩唰犎澺猙莫酮艐諙脼尾誀钱矛趮l菣迒蛪請苺軃脟蹐|脨元蝸藥诖艀迗卮啷刚樭度纷次炐�怨顺螞啵犈泵溚囂嵠访ㄔ菲侧獩讌~訐药鄣搂啸蠌蹢趤葤聧啖嚾徦鼓毼P橙パ掂嘲傻E茘諠摇薛矢訋蠔露习軉訚茰蕞]邼艢贸讗袘陇跁味虛汁貑鸦钥袒葏泰袁桑茮詰虇賰啪蹠牛太直Z啜浨┞促円冇秽瘍帧啶赤Ι賰諎酄氛籆檄谢裙莩虧辖芦圣贆仟嗒∥_橧喾椦B∠Y櫴八^嬍兯敝凳嵾戅赶赤蛻唷捥嵭堁窟叭秽﹤啤諃迏喱嘉戉縺剩喋綡唰扒嵽距詨祝亩嗒编Р袠踏蕽亭唳≤娭斨栣嚋C菞転医褞末侉栈蠘啶掄ⅱ唳娒權啖⒄勦酄勦_状軖訝诔写虈知虝輦鞋尾啾と编お虐吆鄹"],encodeOffsets:[[79706,36346]]}},{type:"Feature",id:"IRL",properties:{name:"Ireland"},geometry:{type:"Polygon",coordinates:["@@茠追賸荩喙灌畱哦诩啖氀、喱ぺ勝屜记σ嚽ヒ壴瞈\賹钎"],encodeOffsets:[[-6346,55161]]}},{type:"Feature",id:"IRN",properties:{name:"Iran"},geometry:{type:"Polygon",coordinates:["@@輬菍装訑謿{蟿凭装媒啶樠嵹つ熰イ輷馗聣貌刍蝸啜飞必懳号∷犣∶犝撡惼櫭φポ枯啃堆低冈撨ο厁輭袛茓锚席喁壯⊥冟嘟嵤7葨啷嚺娢о◥袝篇伲骗唷懶澿▏甩唷戀呈堉椷権о覎茓諘甩袒蜐噎汛S覀藣@茞貙褲贁啜嵰⒆夁溔溬狙喬偯櫽渴ㄕ覠讪菒始士啷际埰勍呇娤九懱唳柏ν�脴蕿蕶虂谐约驯染娄藞廿邧签讕褍喈犉熰簿蔀膭葹"],encodeOffsets:[[55216,38092]]}},{type:"Feature",id:"IRQ",properties:{name:"Iraq"},geometry:{type:"Polygon",coordinates:["@@謤失脷荧褏虂葲俳讑邲啜幰⊙炠撈徹嬎嶡T襾耶殉涌陇譄锚貪攮嗉熋め泹醽栢矮讱唰∩灌Ь釃多蛦唰佖樢⑷貉樤疚芭距艊虗蓧袞茪债唰�"],encodeOffsets:[[46511,36842]]}},{type:"Feature",id:"ISL",properties:{name:"Iceland"},geometry:{type:"Polygon",coordinates:["@@葯斋啷娭掂贆釢撝管F掂珘女釟懰堗牋蠄釂躬菐聴蕵釀嬋溨ㄕ多睜虐嗖钢报覝喋捠冟祵覄喽喢�"],encodeOffsets:[[-14856,68051]]}},{type:"Feature",id:"ISR",properties:{name:"Israel"},geometry:{type:"Polygon",coordinates:["@@匹藚蹋艤谦謸蓚磨蓩艡聴蓻袆艝p蜎薪啻壷佮肪蕯刷脣露蔀霞菭賷扭蓡zV爽C镁痞嗓\\`螄艜诺hM"],encodeOffsets:[[36578,33495]]}},{type:"Feature",id:"ITA",properties:{name:"Italy"},geometry:{type:"MultiPolygon",coordinates:[["@@虩趮挪使黔褲贊蛣褢臑喹┭惻炑溹没唷犢捗�"],["@@詫篆艧喃曄C偽佀嚿灺戉Ж葥訏舀楼褉始"],["@@喈吧從澬и澟佁椔残纺皇囁犙戇�褔褑蹧啶壁哃炔葍山菞莳胎貭施軠勋臄瓶平虥爷霞艹茞螡斋貓谭谋勋螚鹿覅軟螘脻H什洽見羌嵌蜐婴时褕螒艀蕸未眨拼蔚投孬脝倏蠝迲沾织訙士酄鼓佀は曈澫滴撁暷敢暸勆徺蔡喪笆櫷�聰蕚尾堑袦垄壹硕脾苾袗聙羌秃鬲目蠄茪芒螁詷拧漠菃酄ㄆと娞�"]],encodeOffsets:[[[15893,39149]],[[9432,42200]],[[12674,47890]]]}},{type:"Feature",id:"JAM",properties:{name:"Jamaica"},geometry:{type:"Polygon",coordinates:["@@症梅襽全茢莎谉e虱茥夜茒討酞亩葦螠脦葤聝"],encodeOffsets:[[-79431,18935]]}},{type:"Feature",id:"JOR",properties:{name:"Jordan"},geometry:{type:"Polygon",coordinates:["@@痞藛啶开啵喭亨Ы菂懦醽呇冟牳酄克F浧懰櫯櫲┨∥凳掂ぇ茊聝浓芯啻妎蜏女蕷@预"],encodeOffsets:[[36399,33172]]}},{type:"Feature",id:"JPN",properties:{name:"Japan"},geometry:{type:"MultiPolygon",coordinates:[["@@艈私铱詴螇藧褭葲蓾迎辗蕡R袏椰詥訉墨螉螠貭枪"],["@@蛠凇皮褋雪祝喋剐冟箯陆喈`ァ帧蛿聯睾喔┤冟Ψ袃唳漞唷炟V椸窏斋螡袧蜏榷荻諒蕭涂志邜识巡請唷屟⒇炛羔�む牵啖犩购謹袘喁距訉蜏請啜埰熰ぞ微諑啵�聘覟喹梷诨蕙唷峛啖�"],["@@谞堑专韦葓啶灌皾莎輥酄编硴指覜啶佮ぃ]艡酄葱促ㄠ虏蕱喹愂溬监Θ啖撡に�"]],encodeOffsets:[[[137870,34969]],[[144360,38034]],[[147365,45235]]]}},{type:"Feature",id:"KAZ",properties:{name:"Kazakhstan"},geometry:{type:"Polygon",coordinates:["@@訒乒喃嵶撐孔固筀杀袏喋偳≯幮脷唷嗋貥喾访熰Α农撸荻蹕蛦嗖プ计矫搬摋庸聬岫窖櫬W欄喼监签蠂帅卤炔榷螙菂虋唳吽合涊┥喡吽溹爦膩聨貥軒茙芗疟撇酄幤侧牽拢軑却唳兿冝登徠屇愌炚欀権痺軌脂訛賽蕰洽冖啶娻『樱艀貥醿勦4嗖総釃⒆夃突啖嘉犩嘲j喋貉ナ斒犩聴蓚袏啻纷�弋笑瓶僧弋蓴貐趾犀思岣埿ㄈ横憜檀莅螔嗪⑶顾勦啖毴侧獑斯茅覞弋麓釕屵幪佮┒侪釄犪拺覄寻喹動涏瘈蓭要漂袣訜讟菋唯违嗒幣捬驹Y曋撣ッ柯∴冶蠞醼熕⒇呧簯褩葒醼椡陛侧弗只蓳盲訌原努褍虪喟澞栢秲x抬摹喈ノ炗壡接灌旦虃謨艧葔蟻"],encodeOffsets:[[72666,43281]]}},{type:"Feature",id:"KEN",properties:{name:"Kenya"},geometry:{type:"Polygon",coordinates:["@@泳蹤讬捅裙螘炭脮拧祝藨凸菑謶头衰喈秽脣婴岬佱倢茩蘑S啖菏娡拘爸屘ㄘ斚冟グ寞褌袎讕袁詧脂謫穴茥@医撕恕讙@喋犥嬎圫葼x葎墨謻脽蕿螖迬螝秃顺指A芙啷慩岬�"],encodeOffsets:[[41977,-878]]}},{type:"Feature",id:"KGZ",properties:{name:"Kyrgyzstan"},geometry:{type:"Polygon",coordinates:["@@葕蟼謩艩嗟伵居河娗ㄠ螡台蘑喽剋喟災曆勌熢熑忇硾覔虣铜嗒伳蓖呎涏⒎艗讎菑撸袊艤葻蕠葥嘟熍掂ā藰啵澞傆溹4茣坍矢贃膲喋矩傕迅妆冉廿蛡鄱债薀膴"],encodeOffsets:[[72666,43281]]}},{type:"Feature",id:"KHM",properties:{name:"Cambodia"},geometry:{type:"Polygon",coordinates:["@@蝸熏褘啖勅`Ж諣郇嗒樓嗊�钮蹥汀蠟讋輺瘫葴謺幕唰曕冻侑蟿詸啖ッ撥粉迸�"],encodeOffsets:[[105982,10888]]}},{type:"Feature",id:"KOR",properties:{name:"South Korea"},geometry:{type:"Polygon",coordinates:["@@塄唳赫璓啷吠円ポ角壼ノ忀趁ヒ毱假�蠂啖斬捌氈卉樏偯合捖囃炏溩β⑽埮ㄈ�"],encodeOffsets:[[131431,39539]]}},{type:"Feature",id:"CS-KM",properties:{name:"Kosovo"},geometry:{type:"Polygon",coordinates:["@@聸牵艃P脡台醛膼浅搔凭葘泉脪艤栓瓢虏泞艧凭驴艑茀茠聼菐苹泞L磨瘸某某聞脳葔聫庸呕"],encodeOffsets:[[21261,43062]]}},{type:"Feature",id:"KWT",properties:{name:"Kuwait"},geometry:{type:"Polygon",coordinates:["@@乾蠂玫葥藬賴砖u冉袗轃膯貫弋譅茅"],encodeOffsets:[[49126,30696]]}},{type:"Feature",id:"LAO",properties:{name:"Laos"},geometry:{type:"Polygon",coordinates:["@@藲蠝聹軉诠芨驴酄曏举嵜幥浱売痽剩屁啖卭莠雀啖灺吃幬肥盖刺曹愓睹溉∫剋诺啷ρε徬栟呧O蜌芄諠蓷蕢虩唰斣壽︵Τ諏輯賻讖蓜抓频酄枯曁蚕澴冔櫷�"],encodeOffsets:[[107745,14616]]}},{type:"Feature",id:"LBN",properties:{name:"Lebanon"},geometry:{type:"Polygon",coordinates:["@@桑[媒匹双D虡蹌屑注f聢蠘搂茞停覜蛢确覠"],encodeOffsets:[[36681,34077]]}},{type:"Feature",id:"LBR",properties:{name:"Liberia"},geometry:{type:"Polygon",coordinates:["@@蓷Q唷叫愞呝栜徱⒅Uㄈ惵斚溡樝合呵秐蓶抹螛鸳脟偷菒浅蕚I洽透蕜s聼蕮膸袧墙蠉蕱杀藠脟韦螜~艇膬目脻蹠"],encodeOffsets:[[-7897,4470]]}},{type:"Feature",id:"LBY",properties:{name:"Libya"},geometry:{type:"Polygon",coordinates:["@@拽谭铱窑喑蚕佌勞懴赶黄诽椧堵嵨关斖樏闭埮勔犆撓ζㄛ埪端曒愋ㄈ溍拔犇椢捴就斒端愋κ屄促︵Ζ虂螠冒郛茡喃炏撔�輿莓菎喈單權泄笑蓴袞袭葲贍藗肖貏衻讉艠喱捛K合懱篒藢茮酄茨比菜LP暸嘉徳盄岵矦岫礍醼粪ケGY螜鈥о緪鈥о緬唷撘�"],encodeOffsets:[[15208,23412]]}},{type:"Feature",id:"LKA",properties:{name:"Sri Lanka"},geometry:{type:"Polygon",coordinates:["@@懦啖撐櫴囓等撔嵹溒瘈蠣啻甲喴毕鹤⌒炧"],encodeOffsets:[[83751,7704]]}},{type:"Feature",id:"LSO",properties:{name:"Lesotho"},geometry:{type:"Polygon",coordinates:["@@虇施食校茮藳页趴乒藣虥膵乜侉覄諓覗廷霞菭尉实"],encodeOffsets:[[29674,-29650]]}},{type:"Feature",id:"LTU",properties:{name:"Lithuania"},geometry:{type:"Polygon",coordinates:["@@茫蓨臍刹蠂苿啖∑ㄇ臂膏エ蚀喽佮牅膴艦签覀脙卟小膧蠐蹚藦葯觾啵冞籒全识褭臏"],encodeOffsets:[[23277,55632]]}},{type:"Feature",id:"LUX",properties:{name:"Luxembourg"},geometry:{type:"Polygon",coordinates:["@@菢葟鲁蟻蕧i葔貌臑壹蓶聨"],encodeOffsets:[[6189,51332]]}},{type:"Feature",id:"LVA",properties:{name:"Latvia"},geometry:{type:"Polygon",coordinates:["@@聠賳挟諉邐思跍毓讵h菉伽軔篇蟼幕堍谭蹥C袣葧卯小藪臃啵椡曉浧欉毙⒁伱勁澢牄膲喽傕ェ食"],encodeOffsets:[[21562,57376]]}},{type:"Feature",id:"MAR",properties:{name:"Morocco"},geometry:{type:"Polygon",coordinates:["@@話违邷脦啖娙兾篣蛡諢潞詽虅啖鄙溓逼吠涏茩蠞痰印帽聴孬唳櫷┩嵮佦嵣ム牷欧啻唳古稝@@p覊员聛藫葢稀@胎艎酃臎藳倩士脮衼喋曕瓱啵∷`瓔螀蠗牡獭釅吤D聽隙蛼僧藶血脙硕虁驻掖諙瞬茒蔀蝇p覀踏圆謹酞諕唷琭\\褑蛿薨蘑趲指褌蔂郛郛瓤啜锻娷⑴斞墩ぶㄠ夕禺螑謽啖埶勗"],encodeOffsets:[[-5318,36614]]}},{type:"Feature",id:"MDA",properties:{name:"Moldova"},geometry:{type:"Polygon",coordinates:["@@权女謷膴丐式螉聧蠟丧脩说酞茝浓螚虋蓢脧疟凭膷蓾脳臃|膲艤谦茫脪骗杀藣匹私蓙臐漂夕臉为蟼訚詡藟螤使薁石膱"],encodeOffsets:[[27259,49379]]}},{type:"Feature",id:"MDG",properties:{name:"Madagascar"},geometry:{type:"Polygon",coordinates:["@@蔂违群謮茒唰澤捪侥壭椘┦櫵酚扒伿澢堌滴ド等椔寇呁о斜喹呍涧蛻喹熛涏蹃龋芑巍記蓨跈虦沙押脟輼虘跔霉貍飘貏习脾D霜袛賽酶諝葯袌莾諏茫逘虋液艛諕屑聦叶扦潭撇蟿\\訍訋蹡援师褑艞维桅牡要讕f詯甩蠑虋委"],encodeOffsets:[[50733,-12769]]}},{type:"Feature",id:"MEX",properties:{name:"Mexico"},geometry:{type:"Polygon",coordinates:["@@蜋輩匹貋脮喃纺呅ひ浭盒氋持庁橙炗復⑿编⒕蓾螑螜輨删贇膸丶瓢諍茽諙蝹权蝇猫鄹脾蕱脂蓺啖度気斅囋毭甭呅櫼嬙伻ピ澠钙ヅ蔽成佡缴吷幥璫莾Y虧該瞥牟姆聺P怒蕙V薹AA觼蠜C毯双潭葯蘑枪茖陆s朔嗒僂袡蹍泞平沫葻q蕰啷嵿褵藰蹏蓶曳脫讷蛠褔膲抓蓽乜莿薰犀乜艩啷嵪港毙捝兩ひ孤亨’藞螕夕啵椨娧佌屓λ埬懯埲柹擩虅吮蠘霉彤谁褗輯酄脆趢校约軡蝿品却鸥圆褤葹庸肖冉讛覎忙樱迅峡肖聶藔覎賵虛贍^蛿貒同双聶討纱茋涂茢袝膯賮虁螊禺讈茠取鸥脫艓私片\\菧诈十蓢谴虝諉褢栓薤薁蟻筛峡虏逊袣聝投稀台蠎q骗螡瘫偏J蓻詾栈訋貎袪褩蓤聞貧诺覗袕屎挚蠏艔艊蓛蓶原劝臃应脰脷螉鲁谈碳聨蠝侃锥颖啥瘫諃谭站铣讦涂莶啷柮炧┆臑每菓啾斝♂妧祝醼狿跇@D螌喔淍酞虝褬藝詟蟽栓循染谣癣施郅圣諍趻蹔h驻捅褎止虅盈痈訌葌讞删袃倬使桩葋蜑|"],encodeOffsets:[[-99471,26491]]}},{type:"Feature",id:"MKD",properties:{name:"Macedonia"},geometry:{type:"Polygon",coordinates:["@@艅O聹扦雍偶葕聬撕露洗b褌藦脪謮菂聝茟匹視h蛬强栈玫螒却拧萎艅烁"],encodeOffsets:[[21085,42860]]}},{type:"Feature",id:"MLI",properties:{name:"Mali"},geometry:{type:"Polygon",coordinates:["@@税贫茦佣藠p讝苫觿菛蜄脟糯葓鈦歗葓讱疲募袥鈰埿涒媶啾綿岈坚喅岈坚喅权峡院蕢隙茓V諚啶犇團釆熤椕浧冟茂坛虠铡聫諢I瓤菆谣拧藁螒菂士俪蠒艞蓫螜恰袧艛杀瘸奴只跈邸p顺森危脝鹰螊暖葷艁沤维蕧磨啤h品蕰侪P煞糯艍霉时蕩卢盛目陌浅膲聬藲扦蓯螀螝某纱葒葌菣v全艧藭艖杀枪潍盲煞蓤茡聞蓵艖茀A碌坍聻示铆蜆探蕗菗訑聺院"],encodeOffsets:[[-12462,14968]]}},{type:"Feature",id:"MMR",properties:{name:"Myanmar"},geometry:{type:"Polygon",coordinates:["@@荧畏抓聸膝啵ノ熎承炤呎斬椢堉吿堤兤谷冎栚櫮穇系蜖迡遥薜小唷纺冐笆促犓济︵8徒绚藳唰斊编蔚邰謪褍啷曌骋矫对橙犔傕í谦蘧趨啷耗继⒂喿喢呞疤娕礿拙写圈臋韦葠撕聨啖堏側懴愛樎ㄐσ秨訑嗒溩喿钙泵г幤该浲堄毸滴救贌聯蹤邠郗某唳洁⒉茢权逈諓菎蕮郏夭蛠味品貫蕯~螎軓盏浅瘫訐葪"],encodeOffsets:[[101933,20672]]}},{type:"Feature",id:"MNE",properties:{name:"Montenegro"},geometry:{type:"Polygon",coordinates:["@@脕莯畏携脢藡谦脼山藶蔚菛蘑茰努姚藲葴凭眉蔂茻努艣藸臎蛯千莽茂平葖骚贸"],encodeOffsets:[[20277,43521]]}},{type:"Feature",id:"MNG",properties:{name:"Mongolia"},geometry:{type:"Polygon",coordinates:["@@啖⑧緞埭啾勡词赤]謽辖酄悸夃瘣蓙酄堊捦坑多啖娻ざ螎迋寞唳ㄉ嵡堌苦疁螞邜坪喋炁屶艒酄栃椩氀曓琓喋捚嬣溔监珗茠喁缸ぴ屇澭八锚啸賴拽酄缴愇呌埮勦牑沤佴檀诂藦迉讜臒虠趶摩喁熍徸熓呚澲夃北蜋酄费洁」菫铱煤殉乍藥蛽茖耍讬睡捉覈唳椞戉敖聥啻囙覌蠇示唰瑼喟撛溹牓虐喃E涐儍葕啶憁颖詟希逘员蘑唰┰监瑓艦唰伷炋∥竿栢讌诓喈┩�鄯丫蓹讝"],encodeOffsets:[[89858,50481]]}},{type:"Feature",id:"MOZ",properties:{name:"Mozambique"},geometry:{type:"Polygon",coordinates:["@@賱忙唰炇伾柵勛抰虤师詫a啶�蜏跒婴茒蠒聯酄纺据吢愢部屁蝎剩追蜋讔諚缘迯蛪啷冃∴啵曂撈底曌嬋椕承屬徢斢盳剩篇娄{酄椘嬒啡て澟蔽撐椞椲椝赤視蟻坛冒螣蓨脡铆训賾R茂蠆暖蠔铆虪片啶撟靶撪畟啖蓽貑哦煤抹佣茐蕿聵睾菒讓E喋犙ニ捫徝斍谷枷城佰玤脜碳膩装幄堐樣毿暽疵纪ㄉ吢竿登访樧≌冈笔沧屛肚懊獖螜貓蹋藮虆]山嗒ι举�"],encodeOffsets:[[35390,-11796]]}},{type:"Feature",id:"MRT",properties:{name:"Mauritania"},geometry:{type:"Polygon",coordinates:["@@謬志詶丐謲蔀袚蕷业U效墙泄冒私藦茂覑珊邪艀邐模酄敌耗屝忌懶幯滴辞舅緮M莾喁幦囱溸�酶聛釖羔獋漏F啾炨箹釒熰苯c袦鈰呅溾媷皮幕葒讬鈦橾懦葒蜁脠觾菚讜杉藟o茥拥睡频"],encodeOffsets:[[-12462,14968]]}},{type:"Feature",id:"MWI",properties:{name:"Malawi"},geometry:{type:"Polygon",coordinates:["@@山贀删嗒ヌ哵踏藭螝貒卯嗒壩登弊嬚吩裁椬⑶跋嘎吠锻喩趁挥櫺栄瞪斒勌埱囒⑶氌计炆壾屝呄愢牁平菧傻硕瞎删喱�"],encodeOffsets:[[35390,-11796]]}},{type:"Feature",id:"MYS",properties:{name:"Malaysia"},geometry:{type:"MultiPolygon",coordinates:[["@@脿褯謭亩藶螆葮媒痈該螠譀露郑臋稀膯丝脰踊虙傻亭輵e顺撰脡邞禺唳第毮捰熤毰涆犔∫溎犡斎兾てて埾�"],["@@兀斯墀茪啷盄虆啷椡撎囇權瓱蹍堑邞删袝贸萤褖諞脪乍菬址訂茣謽販私佼莯菧軉维莻唰柷鹤沮斝愊ρデ盒�赂諟聹邪侏讗褕趢图H褱褘聻喂謫苫郜失脩汀譂楼飘效"]],encodeOffsets:[[[103502,6354]],[[121466,4586]]]}},{type:"Feature",id:"NAM",properties:{name:"Namibia"},geometry:{type:"Polygon",coordinates:["@@乇賹汀貣葍酄娙坟屗矑m唰捙呉炌浳屟≯溠赤墙諉蹆酄惵毁⑿毲喸娖炚皚詣蠞哦脨鈧樧屝曖帪艧嗷次傐屓捳奥低ㄈ峆茅觼葝虱C諞停蛵螏嗖曁嵷陈儃岵洁牐聡B釣橝岱嬢Q曇嬅曊嚽勏椕斊椢┥靶撔�"],encodeOffsets:[[16738,-29262]]}},{type:"Feature",id:"NCL",properties:{name:"New Caledonia"},geometry:{type:"Polygon",coordinates:["@@蹛缘穴檄蛪全谣瑟坠蠚乍鸭謮驻艣硕尾[液斯蠁朔藥苫"],encodeOffsets:[[169759,-21585]]}},{type:"Feature",id:"NER",properties:{name:"Niger"},geometry:{type:"Polygon",coordinates:["@@n旨啷谷�袨铱蘸艙悉芒孝闸聬檀虡喱拜溒劽犞楨釆畧蠏釢扛岙骄喑ㄎ庇�遥专谈雀嗖旧揱藡螖私腔委蜁醽宦喋尺嬑赤珘螖痰C榨闸m膷袃蕘碌聛藡苹m蜘啶側熉捼佉焚笔斠嵚甘徟熡瘇臃围褤q唰⑿壢笛揵炭蛦唷吿监谋蓵腔艧訔蕥凸脥荩贄託虩E谁蕳"],encodeOffsets:[[2207,12227]]}},{type:"Feature",id:"NGA",properties:{name:"Nigeria"},geometry:{type:"Polygon",coordinates:["@@啖嵦⊥壜撊壼覈諅恕貖砖謫賰Y輱B露啻諛莻諍识蚀孝源臈扫菙透葝泳聬霜脦荬蕦秃艩訕蓶羌啵樐侧袒蛝蛥褦a袏榷唰把⊙攔痈唯影}蕫艩規路俨蕮趥腋葼聭知啶伷糿同童臒票芦帅劢俦蓻諜拧学潜葔菨讬覅螇沤褘葖凸每螕纸吮医螉蛧a詢迎蕬Q袓叻蓫砖"],encodeOffsets:[[8705,4887]]}},{type:"Feature",id:"NIC",properties:{name:"Nicaragua"},geometry:{type:"Polygon",coordinates:["@@虄藛辖秃葋瞬螣藙褋蠝膜啪茠诺脷脪示聰艀葦努Rk挟葼r乾O呛嗓蕼菨膾木坪牟虋纱b铅膭Q艌泉臇|茰殴菤聸葐艅蓜B虉艑艤艝司i茂膬搂葔膼太葪斯臎头聛蠀庐蓮t蠙殴膲媒潍脤蓻牵蓩聽嫂藕茝醛潜蕸脠茡铅藟锚葧艍謪蔀懦艊"],encodeOffsets:[[-87769,11355]]}},{type:"Feature",id:"NLD",properties:{name:"Netherlands"},geometry:{type:"Polygon",coordinates:["@@郐y莯顺冉迵蓢蛠詬@茦啖∫ト炚徬�蕞签貨芒褷刹輤喟嗋螛"],encodeOffsets:[[6220,54795]]}},{type:"Feature",id:"NOR",properties:{name:"Norway"},geometry:{type:"MultiPolygon",coordinates:[["@@幞嗀權獚桑啶務呧窙偷诘没微诇嗒兺班搏说蝎貪邿蠅啵椚楼啶Q荚壣澰仿撆冟綋茒蓾业攮H謬妆酄苦嗖畞台斯虈瞳酄痓毡蘅戮喃熣炑嵥ムΗ郄只蠀記譂元醼嬥喃熰瓘褦虥啵毸囜姸逓咋釙犤夺�屶嗷む釐亨敬喽勧樇喋娽噹蟺嗟碑邰嗷柭涏簽菢"],["@@釄澪呧節葴讍蓯詴藥醿斍毻苦瘖葝"],["@@岐栘滇憻庭冶兀輩莵袓邸唰B忈叺寓迋虡喟绞愢繒軅俜趧針幪溡⑻嬥\\蛫思喁韭堗〇虌"],["@@嗫忇皾覎釢蹦贬煓茤偏纱喈筪啶佅4杉喁炄胜釕喝�"]],encodeOffsets:[[[28842,72894]],[[25318,79723]],[[18690,81615]],[[26059,82338]]]}},{type:"Feature",id:"NPL",properties:{name:"Nepal"},geometry:{type:"Polygon",coordinates:["@@脻伪艑諘末桐郓a唰熑炠傆浹掄艎嗒歼壭客喭溵颊捪犖捜赤辗揖钮税袝俣菗踿蟽啷屓曕膰"],encodeOffsets:[[90236,28546]]}},{type:"Feature",id:"NZL",properties:{name:"New Zealand"},geometry:{type:"MultiPolygon",coordinates:[["@@葤螊装途蕫巍B螡坦铣展廿褩头檀袟侪Y軛蛢桑栈計唷椱囅撔绞囖漧窄刷啵泵惼椞耙屫班酄φ�拙蛯軠寻詭薛蠋馗蛨蓡虐叶诇洗葐围"],["@@貙啖玪指蠝莎挪賸诎藳吱茫訏蛶褞沫券輻石荧贈j伞虱镁伪奴苹蛥覐蟹止侪童茻蓸螘浓訛蹟藷舀啵浲瞶苔貓虒茪侉聼宅突譁v篇袘螏趮輸螚转谈脿覛冶俸蓱蕚荨"]],encodeOffsets:[[[177173,-41901]],[[178803,-37024]]]}},{type:"Feature",id:"OMN",properties:{name:"Oman"},geometry:{type:"MultiPolygon",coordinates:[["@@袒止蠠陋签颧茐褝募謼每幕席F越袒膰啸葥钳怨P汀蓛J突袩煞药膫謼顺媳鲁藵讟倏嗟瘁牼酄局栣亗烯转v透蕯螑F螁蠟菕譬艦猫沾褨H蠔值腋抬貫艐蛹瞥蠝訒扫帅虨艃C葔泰詢茀山螣藦"],["@@艍瞥菂撕蕯撕木帽膩螎"]],encodeOffsets:[[[60274,21621]],[[57745,26518]]]}},{type:"Feature",id:"PAK",properties:{name:"Pakistan"},geometry:{type:"Polygon",coordinates:["@@鬲匣蕿佶嗟ㄍ贿观粪ぉ暖啾H残碧栞佁堉┶葱耻懹焋壮酄冟諆唷澿啖∴脷啶戉ⅰ占蠗莫侑揖褝菢軡釃汥謸謺貨蓡剩貈侪贅嗷磺佮纯e喈兣澩勦喁娧⒚┫靶撈寃輮撺蠁头詳械讯喽ㄑ曕挪詧艆菫葌讙贸嗒ξ斅堒幰队堌碈臓杉贋艑檀媒廷蕗卤詫桅詵諛蓡庭謯邷纱挞聲蛼屑螠末屑龋韦蝇渭啵樓ギ漠褠坪莹摩"],encodeOffsets:[[76962,38025]]}},{type:"Feature",id:"PAN",properties:{name:"Panama"},geometry:{type:"Polygon",coordinates:["@@双蕩堑覓群散蓞脦瓶摔谢筛慰脕菨虈突蓙墙聡膲签袙覘莎艆脓怒戏漏啤詧艐茮恕赂菨透螄脠蓳陌苇C腔末哦陋菛矛菭聫撇挪牟签挪K透蜆枚虪虧i潜筒聸膧忙纱鹊挟脭唯蓜詼菫撕胜椰路聥膲叶聟蠋啤藴失蛣傻墓奴葴拥莵薀藫脪艆小"],encodeOffsets:[[-79750,7398]]}},{type:"Feature",id:"PER",properties:{name:"Peru"},geometry:{type:"Polygon",coordinates:["@@丧褭褯蓩唷呌樏蔽堘�涏嗪椸>佾园螐蹨茞蕩軈嗒距牐嗉勥嶀�呄に冐べ氛鹤蓖妓栂捫熯⑹甲氌⒄幠参撌嚾汰螏芒图臐螝褖訂螌莿证驭芏唰犕ㄠ8啖犑菊磁澷斏⒛傊捫壦幮呄瓷徲多ⅲ囟目舀蔀踏疲詭冒贍辖诈唷J褉襾莩聽艙懦蹗菈啷ブ泵撓簧壧嚹屢撛暿岯巍蓻频螖莩也詽潜委謵碌蛦覂輴u蹛痈脟啾⒛┯勂犥礋欠说拢谉g軑蜔锌飘痰葧睡尾酃諎啵�"],encodeOffsets:[[-71260,-18001]]}},{type:"Feature",id:"PHL",properties:{name:"Philippines"},geometry:{type:"MultiPolygon",coordinates:[["@@膼謴潞医斯迲太唷ㄏ窖嵥庁ナ壪苦Ι应煽貖拾袔諔袌藖螒袃聬孬业茟蕱廷劬諏蕗覝蛣虜蠞贁砂茙蠏专v路侔诩袐锚褏脨瘫"],["@@虩恕藖諐藘蕽垣讏铅嗓蓚删蘑愿舀赂茐郑噩吆膩摺"],["@@喃_曅権堅霸幾娧班牪飘蹍謬咬殉挚"],["@@詭使諛Bg螚铣危諘失聡细脪褦沤袗"],["@@蕗啶瀓谁榷辕袓葖聲注失陋苼詷佣茫Y蛨裕贉弋m纱袒"],["@@蔁堠苇芯褤贅軞聣虉獭"],["@@援蕢识蓶眉蓢茘螒思谆蓻邾臃衰苼诔葕跐丫摹蠆牟啜疽円櫵溔撓恍笛瓷嵦椩娹兣蝗喡ㄎ幩�蓨剩葮艊獭斜託疟渭聧擗秃恕臄喑勊溵�詷A"]],encodeOffsets:[[[129410,8617]],[[126959,10526]],[[121349,9540]],[[124809,12178]],[[128515,12455]],[[124445,13384]],[[124234,18949]]]}},{type:"Feature",id:"PNG",properties:{name:"Papua New Guinea"},geometry:{type:"MultiPolygon",coordinates:[["@@山膷蔚蛿蟻諗欠贅艤膯臏省尸葟袪諔袌说艥山"],["@@询莽苾山覠缺褯葻呀B蹚蕯討珊锚屎莠农覡脿哦袞纽r膯呀訍脺蕚思腋虤摹痈詫f菧茝g爷睡浴"],["@@荬湛詹啖挥柭劼懴壻浭デ佮螡摹蕪謰脧确蓴軣摩唷暸促氛氂壱ρл�嗒�車蕠浴耍艅廿趪丝一茤啖吢朼岍抋岍掄笭變嗉娪撟勓椧囱吪赣掂稊员炔呀逈臎葎謺"],["@@士伞莵痈葷蜆蠞藶訊为貒蕷珊犬覓苫烁葋螠全痛螞蛫藦亩学"]],encodeOffsets:[[[159622,-6983]],[[155631,-5609]],[[150725,-7565]],[[156816,-4607]]]}},{type:"Feature",id:"POL",properties:{name:"Poland"},geometry:{type:"Polygon",coordinates:["@@螄諟脿虃裙覇抬虤珊嗓葷褣指蕵嗖枷脆舜酄计櫭毴边竃啜毮о欢^褮臎痊实職蠅筛蛬K童詪恰矢铣f蠌褑芑臎山蟹寞迌邾蓲蠗强露邫蛿貋拧袊膾庸堑褔號螇艜鲁录檄邪乇录膬藔只摩疟蓱覘迁脌纱鼗貌袎藬"],encodeOffsets:[[15378,52334]]}},{type:"Feature",id:"PRI",properties:{name:"Puerto Rico"},geometry:{type:"Polygon",coordinates:["@@褬玫瓢菚蓩蓛賲L荧聡路维泞努蹖K"],encodeOffsets:[[-67873,18960]]}},{type:"Feature",id:"PRK",properties:{name:"North Korea"},geometry:{type:"Polygon",coordinates:["@@艦匹蛪潞畏说剩朔聨捉眩葏偏僻蛢蕽謸茝畏丧畏寞摹桶茓訄蟽脓拳围脟抓隆蜐蠜蠎聢脕霉小菃牡瓶蕶茅聡莯蓱眉丧茊砂蠁趣陌玫贫蓡覓脜茙萤臓袊嗓蹌闸啶捯屩咀幩佨嬇垦亨矚尾桶壹摘庸"],encodeOffsets:[[133776,43413]]}},{type:"Feature",id:"PRT",properties:{name:"Portugal"},geometry:{type:"Polygon",coordinates:["@@苔蓤蝿努蓚蝎雍D茷艂营聡杉褍媳嫂Y俳茘奴聭袊纬莽痛詪傻湛虅省艡色痰炭锚衰头蓳逊艩褵摹鸥趥每袁蠐镁醛蛨盲占桶台脪图仟詭k韦菣虪聶瞬"],encodeOffsets:[[-9251,42886]]}},{type:"Feature",id:"PRY",properties:{name:"Paraguay"},geometry:{type:"Polygon",coordinates:["@@挺唰杢覍袞輰喔彩斵甝薮褩b实蕿页脟喱涏⒉菄蝿菒枝嫂莯剩镁迵陌蛽碳聸蛝茖挞瞥A谣艜踊菓記茘輳迊佟趽茋啶慌膏僧酄⑧报钮蠄唷酵⑧▍亘蹓鸥嗷掂祵"],encodeOffsets:[[-64189,-22783]]}},{type:"Feature",id:"QAT",properties:{name:"Qatar"},geometry:{type:"Polygon",coordinates:["@@脟財扫巡砂臏尸藖d盈墙映傻脩诗菛"],encodeOffsets:[[52030,25349]]}},{type:"Feature",id:"ROU",properties:{name:"Romania"},geometry:{type:"Polygon",coordinates:["@@未嵌源摹諣G细瘸撕藕亘膭蓜葼螤@拾膰屎薀藠螣訛詠聙蟻臈惟瓢膝蠏乒袀茒蠣茻p蓮袩枪石膧苫唰ビ衬栘懱Λ葲蟹蓩喁铰テ�蜋脮蕧螉频痞葰茦确艀藘葖萤蕯脽螌詿娶磨藢視亭讵莻詵之袏脂寓钱"],encodeOffsets:[[23256,49032]]}},{type:"Feature",id:"RUS",properties:{name:"Russia"},geometry:{type:"MultiPolygon",coordinates:[["@@唷屶公喟曀ぴ瘝酄屶〕y讜購話战俦苹鄹膜酄娔о"葰賹職喃从牅么喱稗ο聪惻犐斨壧嗊祏酄熚庎"],["@@嗷礭啜櫮ㄈ捪勦瓓藲啖⑵埰兡櫳泵ど�"],["@@枝冉葲貝釛概编卡藁酄秽禌膿s酄懲城┺絶贄虋喃J柸壩膏茙啷椗壱椞幥继膏去蠚袃訅危@鈥炨彋贈釘亨牫茂苑"],["@@啶兟┢屶┎螙@址"],["@@嗒陈籃指艌聳軋E喁捠壝椸〗醛"],["@@啾醾Dて樛﹢镁喈炌從干�"],["@@啷客┼磯酶嗉浲ㄈ栢绩懦釕斏�"],["@@趬乇岫絲喽內a�櫿惨幾�喃幥傖暈聶岽�"],["@@庸贸岍E娚熛庎汗搔奴覓唷堵呉炨�炣掁櫮横崹輪嫂息釄ぱ横闸岖犌�喾刺膏繍艎讗桐譄驶岵椥丰袕幛欉澿矮酄嵿硥弑菭邾嗑庅�"],["@@扫谐迱炔釣釅埿и咳窖о蕽釙呉伿熰ì艧喟柹冚辞勓斦∠勆斷磰苽岌懭聪解啿暖麓贉釀计ム磩L啻废澯刮權趮喑斖窟膏ⅵ啻栂權发搔嗑际地な�嗟柵熦呣珢味洧�毡軔涌釘操涒値莿醼戂嵞关權蕠喃辞む拱v嘟毲戉姜蘑喔拜涏í藥诜諡蠍蠋岌喩会儰潞釢傂戉谓@鈥滿K嗒囅冟獫脰荻襾詣蹠喜骚漠螐蓱蓾嗉踞殱賲輿沫啾阶熰瘺鸳瘫希喈娽敆趪希谈叩潍喃迸標撝佮呓聤突啷溔嬇戉蕲聥潍郾螖伪喔窖曁呧ァ喟呈ム喁囖程匙偽业釄埿樴瓨軃詥陋暇嗖叭娻簥喋掄竸唷亨孩冖诋喈嗋Х毛詬蹢釖夃蹗啜栣摟朔釕冟锭蹥鸳釄櫳曕矟膿脭貖嗖多ī协幄灯犪獜薀屺┼繘峄п対喑毰佇罢冟爠葏諡芯啶埫冟瘜啶嵚嗆嵹佮牻毛唰嵪涏磯啾嵿瘬睡讎喱權喱囙セ诈庸喃┯闭塝諊肖喃回櫯克┡澠褠褨x纽唳瓷涇氒炋掄Ф譬症酄埶距蜌坍汛莶嗟肥涇о抱D突邉唳棺班斧藥痰酄柼壴课苍輫滩喟肥⑧珱u啜臂浶灰と药冶藨莘啖籖蟽喈呎嵿蛣唰嬅┭嬆炧祝喃嚻戅浫秽茖瞢S詸褨酄曅樴艓喋澟嬤徠灌疀螠菄賭唳庌伳班さ螏啖夃蝷拥酄囎戉瘡蓚酄宦娭椣距^艹蚀啾冟緝埽啖⊥∶а皆む獚艖围桅讞菍袡訝药瓢喈可嵿瓋訙覂询釄熱拻喋蒂傖憢邖攮鲁锚覟嗒吽亨缺藘啖娻骸呛莜螒釕吿承贯腑虈汐嘶貑止攮蓳莯森攮啸啻钢可佇夃聵蕮薀喋寡︵朝i啖晃熰图釃∽娻步s醿冟3目貤唷褂ぺ∴蕱恰訚購軍肢匕x諝謼膹褲褠茓膝咏呖茟酄赤迒邥膲郑啵监Λ試凸茲蓢蠅脤挚詺煽聠諈葰食螆薜钱詸苼匹萍喱バ栢皡茖軆茷墓谋喋避傕蛣堠哟貟茍郅郯夜酮喟屛剈葊莜茐聜蠋褷杉呒脰苿霜葏要蝷寻W蕷喟壦氂璘辕衻佟苾喋┨恖菕虠胃跓陇茅始蓘菫諠訄啖嬆吺ι內懱铰斎氛炄熕ㄇ娔�诖聡蜑葊蕧散芝篇录撇蝸拼諆站歉扫膲袀酄懭ㄑ蹦撑∪监蓚藨痈铆孝袡葨维藠蕽薅装訛懦皮啷樢ⅰ袔釁⑧┒蕻訝蛡褦喟椫嘉喺遁池粗④溹啷氜①娻笨謹努讱诙眉喾溚多虉嗟υ曖槰颧峁亨伽袐脝謸啶熝赤祻伞鈴焚斬熍冟祵貨脗系脝唷獙石趥蓳艌袪詰伟諛蛨釒栐观救仓X溼嫤酄栟⒙缔柑嬘�郢詣歇詩亍远釟犓懹斠灌幕N页趯私嗖溓既墩氠兌袗岚炠娐`牐詸啜曌妓监季x喟⑽愢詮啷栔屶ⅰ英血摔釤⑹瓛士岽距ィ謿寻唷⊙簕谴唰D埶⑿屢呝紏藧嗉勢局�迒夭菕釙浨边曏皆核嬎捵椚忇啶捲曕揩喈澿ウ怒彤挞啶幧幧炐盾幱┯屜贾堗?锚全也冖唷堗蹎嗪捴θ欁靶糿汛爷艇叻啵惼迪ヘ勦钉挺醿毬紙訌輿郦膵啵嗋辅菫釐韭欋啒艑蹃旬唳傊傕ゲx嗫幮羔暊艕霜刹釙偯聚屓嬦埓襽嗷瞐啥未撙唯釋の堗犯藯喱ト丰墵殴"],["@@獾櫷曕粸喃�蹝摩賯脙釖堄嬍熗�"],["@@喃脚嵼泵浥浧忇茟啵τ愂踞垗~嗫炂多报X洽骚訕痊邐茞喟炃客椗�"],["@@釂衬酷殙蕩喽呁庂W距菙釘喼羔啂葞嗫屟囜姮呋裙莜"]],encodeOffsets:[[[147096,51966]],[[23277,55632]],[[-179214,68183]],[[184320,72533]],[[-182982,72595]],[[147051,74970]],[[154350,76887]],[[148569,77377]],[[58917,72418]],[[109538,78822]],[[107598,80187]],[[52364,82481]],[[102339,80775]]]}},{type:"Feature",id:"RWA",properties:{name:"Rwanda"},geometry:{type:"Polygon",coordinates:["@@同觾碌拥蕪艁芽脝时訊詻脿镁覡艠脼聦詣蕩珊劝膹詧矢"],encodeOffsets:[[31150,-1161]]}},{type:"Feature",id:"ESH",properties:{name:"Western Sahara"},geometry:{type:"Polygon",coordinates:["@@o見鸥@@脡e菋E啾濁獊陋聜釖忿棵啡逞浨勦瘝峋揘墙双聵微bC釅喢つ短⑽喯標む瓕喹犩"袀喋査�脰藴偌酆臏苔艍息@藬葤圆聜"],encodeOffsets:[[-9005,27772]]}},{type:"Feature",id:"SAU",properties:{name:"Saudi Arabia"},geometry:{type:"Polygon",coordinates:["@@艍为施狮脻筒选虨覂鄞蕘蹎讎讇蠎茞謰郀墨讗聳泳訒啶炏客犚懬ㄋ∮柭叭幧寡κ暼娡澵苍熩囱撝拘籌啪姚聹虒募筒啶ㄆ呂妒度①毰毱捤て溹牱唷�醽喲勄喤脆Б嫂喟欋泿醽曕紶茫轄膮染袕转v蜖堀邪葥茽虖执螞录螎膵拴艂睡蕩山艕藷挪鹊尸菚啥脪菃蛵聨葯蛺唷欋褖菫遣溪砖謺醽佱牻酄结潙蛻薹蠙谆啖ハ蛊暽佀徛н荒幤纺屶スm色霉螇蓴蓾协膾螣蟻藡"],encodeOffsets:[[43807,16741]]}},{type:"Feature",id:"SDN",properties:{name:"Sudan"},geometry:{type:"Polygon",coordinates:["@@艣hd屑牡虁褵通牡貏亩亘铣脤脥葒詬漏痊蕰冒詬遥遥谢貐褵膽酃营蛥钎膽蕮褵莾聟钎酄礍艡铅貎聠獭茲沙卯褲蝇茻刹貎艞杀系蓮荩丝莵食臒氓聽虆蕩脙始茖螖E蝿記諃末维Z劝瘫蕼U应黔蜄虓碌膸贪蓲螙魔螑刷蚀谦葹蔀园熄卅堞脧楼鈥俍螝啷睭@醼糕仾@峤夽峥粿藬酄椚伷撑』贪唰嵧屓芬犔逞嬘懾F徦吺衬壷懳编臍统茀軣涂酄熢撔肺浤嵨冃壣绞澿D某"],encodeOffsets:[[34779,9692]]}},{type:"Feature",id:"SDS",properties:{name:"South Sudan"},geometry:{type:"Polygon",coordinates:["@@X俳疟石芽q朔訌渊脩褞啸屁统夕葯蛹啵持呍囋诏葻諘葕螊森輭謵去维业潜媳脝桑茣蠗母詶蹥茐藠毓酮蓞詫螘味譄熏S藰摇图织蜖蚀臓虁莻蓯荬刹隙貏艠茽杀褳荧纱铆挞茷貏聟艢钎酄禓聠铅褷莿膾蕯蛦铅酆萤褷膾屑貑窑窑茂詭全蕱詭陋脦葓洗脣牡丕亩貎褷艇亩丝c谢艤g"],encodeOffsets:[[34779,9692]]}},{type:"Feature",id:"SEN",properties:{name:"Senegal"},geometry:{type:"Polygon",coordinates:["@@螎俸薪虤蠁莿袪诪圈褱司藧泻茂楔蔷叶V袛蕶謳蓾詷兀謭纸聻怨菙訐叹煽卯蜅聺式脓鲁覜芒脵模葍k卓炔袥V嗉嚶柹ツヂ傃黄嬈徺⑥坘痊艦飘R谈葮萎钳魏c味葘菨蕫恕茩驶J艇雀藟_葝去啵祔"],encodeOffsets:[[-17114,13922]]}},{type:"Feature",id:"SLB",properties:{name:"Solomon Islands"},geometry:{type:"MultiPolygon",coordinates:[["@@删丝讞N蛪袁詧券菧聣"],["@@蜐m鸳膸谦偶脌彤謭苼藴黔茙蓹"],["@@懦乒丨馨谦詧撕@虪讠痛袟"],["@@聳菦趨桅覠虪炭霜虐膼袭全蹛檄娶藟"],["@@菞鲁慰葤螄螉篓茤詧巍桶藳"]],encodeOffsets:[[[166010,-10734]],[[164713,-10109]],[[165561,-9830]],[[163713,-8537]],[[161320,-7524]]]}},{type:"Feature",id:"SLE",properties:{name:"Sierra Leone"},geometry:{type:"Polygon",coordinates:["@@骚脴貋秃雪覉僻态墓鬲覇蟿默珊茷歉啥p葴莻讦C珊虥羌螞聛蕮茍蓷U汰纱麓瞎瞎蠜覘芦蕮醛藦"],encodeOffsets:[[-11713,6949]]}},{type:"Feature",id:"SLV",properties:{name:"El Salvador"},geometry:{type:"Polygon",coordinates:["@@摹取印^獭膭螎菢冶脌蕛嵌~女司蓜莯蘑芦牟葼戮蕼毛歉菣湿茋聦艙蟿拇扦脩艠臐脧统"],encodeOffsets:[[-89900,13706]]}},{type:"Feature",id:"-99",properties:{name:"Somaliland"},geometry:{type:"Polygon",coordinates:["@@蠜冤讚郢酃M岍о蛵虦坛袣坛舀蔷號滩覉藲乒菕螐蠝螚泻G邐蓪啵茨摧屖夹该喬毱队幝圞aE螊A唷慇勋"],
+encodeOffsets:[[50113,9679]]}},{type:"Feature",id:"SOM",properties:{name:"Somalia"},geometry:{type:"Polygon",coordinates:["@@鸭膸袏司蛨Fp傻媒缨H殉钳蹋蕘啵バ權く员喋奋澿軗啶掂Η喱┼诠喟粪牤蕹贂啶佮П葪逊葝龋咏蹥W岬ぼ距砂藛闸f轄驻嗒氠洔帷勛斲溤狜熏B唷扚螌Lb藧h习虐"],encodeOffsets:[[50923,11857]]}},{type:"Feature",id:"SRB",properties:{name:"Republic of Serbia"},geometry:{type:"Polygon",coordinates:["@@誀取脿螊营蕮藙葘雀目葯茥贫匹确葟酶太孝纬蛬士茥藡臑某茟拧铣a斯碌聝脴拇拇摩却拧K菎萍茟聽艐茊平脌拧艩漂卤艣帅醛脩猫冒蛬迁藷臏奴艤蔁茽娶職努袆袥蛿蓘蟿胎E蛿蛣藟蕡缺蜆佗蓺跃聶覗停摩藡"],encodeOffsets:[[21376,46507]]}},{type:"Feature",id:"SUR",properties:{name:"Suriname"},geometry:{type:"Polygon",coordinates:["@@唰斍櫮炂摆睹斷丧雪軣芒止亭咏匹委贸烯蓧螞訐遣袊膽凸枚膷蕪茦菞梅恰覚猫浴艽艒觿藦B蠅貝坪褷炉趣詼蓶茍莶"],encodeOffsets:[[-58518,6117]]}},{type:"Feature",id:"SVK",properties:{name:"Slovakia"},geometry:{type:"Polygon",coordinates:["@@麓禄螉艝褕虝雍嵌袌膽貍泞邭蛽煞蓳菑凸浅膽啵懯熉蝗熑⌒伳磕浢勑ヅ酵瓆茫菣鄯幕瘫臓褢蓪膵虇盲艅泞葌蠈a撕臄x镁菆垄脝葤葨聵啪瓢盛D"],encodeOffsets:[[19306,50685]]}},{type:"Feature",id:"SVN",properties:{name:"Slovenia"},geometry:{type:"Polygon",coordinates:["@@蹨脻褗葠芫t菆茦茦U菐顺跐蔁膰凸虈膽H苫停h朔茙品茩讘聠葓煤全唯臑邪"],encodeOffsets:[[14138,47626]]}},{type:"Feature",id:"SWE",properties:{name:"Sweden"},geometry:{type:"Polygon",coordinates:["@@酄佔暺�豫喑冠颈堋負喈冏沧_σ椸啖懭澩嵿董計蘅唰衬営呞椸聺藟邜鄢啷斮撪異蠁訙郇旨甩唳ㄕ澭幝洁珷詹還酄癮虉同抬撕嗖畟唷�啶炛堊策瓽蔀叶嘟斊壟勗嘎斷些嗖贾眝嗖懰赐涏竷蕛"],encodeOffsets:[[22716,67302]]}},{type:"Feature",id:"SWZ",properties:{name:"Swaziland"},geometry:{type:"Polygon",coordinates:["@@恰蠉迎臎詤覗S虅砂蛝膫蕯蕫脪褕频虐蠒冒蠅"],encodeOffsets:[[32842,-27375]]}},{type:"Feature",id:"SYR",properties:{name:"Syria"},geometry:{type:"Polygon",coordinates:["@@嗫┼啶┩琯N艝哦_螆雀覡覝蛣茝亭蠗篓每贋榷螌嗓葊嗓葊掳腋藶菑啶幧阂偲扣朏啷赐�覑a啷樑狙椩揭∪鼓傌椡呧Й釃掂"],encodeOffsets:[[39724,34180]]}},{type:"Feature",id:"TCD",properties:{name:"Chad"},geometry:{type:"Polygon",coordinates:["@@膸袆铡nD咋螕潭未喃娻┐邔卢嗒ㄍ栣伡羌伟螕司_藢探蓴确嗖班覡鈥︵緫鈥︵緩娄鈥佨ッ愊жド澰澦∈衬ㄎ徤懳暷嵦幝肚昖鹰滩蕸Y券諒茮褝徒貕啵惯呄尺孤臼伱荒娞徰嬑M熰蛷冉葠茡h乒蓫蹧脵苺瑟藚讋艧螑位茰臃营羌袉夕膵蕚脨腋S覜迒聦謵脡謵铜諣"],encodeOffsets:[[14844,13169]]}},{type:"Feature",id:"TGO",properties:{name:"Togo"},geometry:{type:"Polygon",coordinates:["@@诒浅葒處伞諗茫泻葐荽蓙态膬趲D貛螘褷脰藔輦k艆训什蕽虉虌聨协菧钎聺釆澣鹤�"],encodeOffsets:[[1911,6290]]}},{type:"Feature",id:"THA",properties:{name:"Thailand"},geometry:{type:"Polygon",coordinates:["@@莪犀軛e努趫輭K谩啶嬕戉藱輳脤貗斩蝷迡瓢墉叶訐詺沫绚学藵螄謬牡脽褱蹏蟼疲骗艇蛼茲卸襾觿袩袑茝映莾也臓跃蕷攥孝唷敢ま锻熮宍隙末腋謺跉醛褎虅坪坍芏螄謫論貥袧輪螤拼夕啵ψβ溣赣斎樜甘仿丛嵵澣粪p莴啖霸喪てв皕菧虋賻脥贃诮脌酄ペ很仿涇吽櫹涋颗︵獥菂諢郄趣唰�"],encodeOffsets:[[105047,12480]]}},{type:"Feature",id:"TJK",properties:{name:"Tajikistan"},geometry:{type:"Polygon",coordinates:["@@汰史啵称柲佊涏,脼啜⑺椸綘哦蓤蕨藸膼詼葥聡蜎糯訊唷緽讈脴曰蠒蠉膲虊钳桐藸镁鄹施垄臑什覔葠伪虈臈凸呕奴試j藭烯睡菍貗藨时暮觻唷樓关敦熑ㄉ斚嗃熜屢屨⑧葴签系扭晒螏v"],encodeOffsets:[[72719,41211]]}},{type:"Feature",id:"TKM",properties:{name:"Turkmenistan"},geometry:{type:"Polygon",coordinates:["@@帽奂胤聤啷]斱D犩褞庄镁蟽平謾|庄訐輫菋苹专弄啖炠剿渡幹褐徛溉嗃具娙递埶庁撛幨売斱鄙嬆徹浭空跋埶ㄠ仟吱苫讱趨褮陇啷哱\茝褑軚虃劬应喱喲鼓溭⊥惽`&聻水瞥邪唷洁ウ讎崭袃啖炐┼潍w豫施聙袇嗓趴虣劢菋菣讠觼虱趶诺谦蠠賴艔唷┩�"],encodeOffsets:[[62680,36506]]}},{type:"Feature",id:"TLS",properties:{name:"East Timor"},geometry:{type:"Polygon",coordinates:["@@牟趣堍葘讝聠藔艀蛦慕摊色啖曃扣呈媏尸膹菙"],encodeOffsets:[[127968,-9106]]}},{type:"Feature",id:"TTO",properties:{name:"Trinidad and Tobago"},geometry:{type:"Polygon",coordinates:["@@託艎钱聡聭氐郗摹漂煤蕭刹i酮"],encodeOffsets:[[-63160,11019]]}},{type:"Feature",id:"TUN",properties:{name:"Tunisia"},geometry:{type:"Polygon",coordinates:["@@惟嗪炘篞劝蹓詣贸賳援叶娶蹥苾郀菭褱啵锻鹤毮祡褘軍滩脪菈锌蝎M媳虇冉艒塬謨褏莿覜绚a蓜袓蛫趴鲁佶啸蕥实藦纸蛽臉螒茂螣效葲"],encodeOffsets:[[9710,31035]]}},{type:"Feature",id:"TUR",properties:{name:"Turkey"},geometry:{type:"MultiPolygon",coordinates:[["@@喈和椸偶埭玫唳惭垄叽协茰虘膬校夭然通蕰只蕠藔啷徥灰犣暺櫶徤娻艌委沤啷椗揭廱啷程扣旹襾莯啶嵣顾澢惵飞G可G刻毕犕埻傇熋比栔坑權保磨诠見啵熉喨椢懽嚹尺灰勦;e咏酄敦椧靶刚撔掄擗嗖捖捨溬斷線艔唰炚班蕜嗟糽喔缸�"],["@@郢覐藘虾\\铅圈摩屎諅啸蔀唷λ勡づ懩赐撥妓撈等掂卤惟史"]],encodeOffsets:[[[37800,42328]],[[27845,41668]]]}},{type:"Feature",id:"TZA",properties:{name:"United Republic of Tanzania"},geometry:{type:"Polygon",coordinates:["@@茪摹岬傖倠脤樱喈监牽媳啜櫬赣壵犔﹡蓳沙該露虱脟袚虒諆螑酄√扒口澯`?蜎詪b虣圣讘s蓵艃唰澥傎兠ド洁说虾菦啥酄椘居壥ㄕ暺樛樜椛堃戉〇樱液菞婴膶穴漂逓螏聽台苔蜏熏群钱S藰欠葠路通蕫艂露佣瞳觿處亩啶刐醾幟�"],encodeOffsets:[[34718,-972]]}},{type:"Feature",id:"UGA",properties:{name:"Uganda"},geometry:{type:"Polygon",coordinates:["@@啶僜\虓牡試史券膼P賵葴蛶虏诂前细蛶熏蛿蔂藪虡偷艝录唳毼屔柸壼叭犠袁袭袏讔陌褋蟿啷ж撔嬍壨絋啖贯倣脽"],encodeOffsets:[[32631,-1052]]}},{type:"Feature",id:"UKR",properties:{name:"Ukraine"},geometry:{type:"Polygon",coordinates:["@@叹聯蓜葤十楼啖屇喺炗嚾壳澝悔犅L樜穔菓喋徺⑵勗跋坑甐喟娝橷蕶涂询葐药苾拴呋脮褵苫聛蠉凇茫謶藭藿芦埽袒赂怨歇拳唷记徧涏啤喱浻熞鼻犎勑傕=蕵屁菆擢霜蕬葦嗖喢嬏嫁┠惶芬з必┫熎犘伷壪懫荷偰炂λ旧菜幟懫つ娕浻竰蔀脴平膸脨挪虊蓤脓螛泰茞脪硕蠞搔螇聨兀示謶膲颧怒螣@蓛葻丕膬斯殴戏却諢H猿蘑纬堑脥嗓冶僧菒秃筛蓴葊碌蓱蠘迍郐懈陌臏删褏芗袛聬尧瑟俨n唷柮熰が全趲i蛡脓蛝痞蓺葷莞垄彤膮脛褑识葌転潞"],encodeOffsets:[[32549,53353]]}},{type:"Feature",id:"URY",properties:{name:"Uruguay"},geometry:{type:"Polygon",coordinates:["@@詹臍唷嗁簗唷赫熩堃犞毕囆壣赣囄嫡囙冶丕菤覔臎蕙伟肢聛詿椰脼宅蔷葓S酄干む『染讦"],encodeOffsets:[[-59008,-30941]]}},{type:"Feature",id:"USA",properties:{name:"United States of America"},geometry:{type:"MultiPolygon",coordinates:[["@@农茣冉扭|删茡台娄膜皮茙脥菙赂镁脺e蛺茩片帽茖艖蓨虓q炉蜔堑藦趴"],["@@谁脩茻钱墨猫Q脌膱卯虡膩蓸殴毛牡"],["@@臐覊|脷母邪聲"],["@@颅碌脫Z虈聢艃葤聫聮嗓艢锚脙蕫衰"],["@@谋膲吮拼陋脰鸥膱葮ij葷"],["@@片遥始茮讝陆唷呧爞使诩艎啜柹撍濼莰蕜邆抬酄捦椱核┵端從埳櫲⒛壜侥壣�菐臄娄龋菧茀纱@努墓慕偏啖栃伹掇伹氒呈椨剐佉ト佁峬膿摩钮烁苼蓚@唳娨嗋【苺嗒感糵膼梅拾茐菕蠝茊酄淗迾A藥蜑艀脿啖敦勏溒膏宝N嗷綛膸群藧娄桅啪號息什俸贇賷栓蓹譁茰蠋蕪A喱д加吰⑺澿袩唷诽冟⒈蕽鸦涌茮葖S呀摔呀螔s臈态师葒茫蕠芝茓袟h丞匹位楼鹰楼郢蕪喟�莻薁莾喹呈フ桟|暮虱煞蕷聺枪捉貞侑脳蓭葋陋藷蓘仟覎燃骗^蛥藦蜎铱凇没聬屎植褧蛶寞郐菈蔚谴諔謬苺讉藫聵邲蕣脥臇虄艩唷佌曍蕽謥颖薪脕褝瘫牛谁啶囌庇佇嵭呌脚蛔嵥椣幾㎜蔚袏唳吢佒ヂ椡浫吭∈E冃浩佅偼嬋栄卉⑾官炁蓖⑶ぶ惿揭慧餐熍亨稀骗娄小霞諆群啷嬇佪椖べ櫭嵨徟科采焌徒谴菗菄艒痰女蛠莾貚聙胤押芑目貜葰怨脧刍葷迖丨酄澄骋澬懭曄桿讌篓袝莿斯蜐{篆葌俳屎山袆葋讟臃訍虄影褍趾祝筒蹓g諌趹郏师选湿冉姚帅旬涌蟿褩藞泰號喔汙C螊跅@醼㎡釅孔む睋孝膧菕喋┠澿脻茩褨窄託匣拇臒蕦一娄虧瑟蕲膴蓧茖墓尧酄佮郓喹犅埲毾囁べ磁欅喴円炄�邰聟軠藣佗蜖邐母迋暮迋票喃妓囓樖撓赌盖愢瘨朔覀邒群蓽茋蹛朔蹘釠窣釥侤酄淍幄釤欯帷�@帷凘岘癅岙濨醿怉F蛿舜J"],["@@酄酵嬔暽惻叫�迍虡覇鸥謵脡韦驶塬袓"],["@@鸳沤战凭詻僧酄ζ炡毭鼓偼�"],["@@园菂跃膾诟蓻酄才懨┠澷徢辟暻就嬈草嵚等绰和�"],["@@貖蠜蠋菍喾劼宦谷曕本茮唷屷剼藚嗑つ佡ㄅ夃茙啾⑹о2艥@@M岱盜夥嵿牋{酄屔底斚佪溨佮爤液唷埶栆�选证螄迴蠙諅捉唷喾氄梮諎冶袡谣蛡輱藢蕛芎嗒徻阂嵾庍勦撤r唳熓屷儔啖庍┣勦附虦喹懨炕犀唰兾ㄠ钳铅讖耀脕唳伹壦编浅钮佣蠚酄氞识杀蓚喋币抵抵戉瘏妆貧小邚卓啵椢椸时然蠅嗖窖∷呄苦潍纸脼薹苫唷澦观饭蕢趴茦啶�暇酄斒膏覡啜ㄐ参堗瓨詩葓菤亘虙脾賿褣痈啷故撈犚曁д费幧澨叫监牽统冤B茂詣撇坍榨虤嗒デ囓佇�址痊I訄侃为蜆訕蹎腋虤褮诤脰志茋诖袦貛茂贅始苹熄夜瓢噩蜄冤W啖磺绞冓徣勦畯磨喁啡浲膏应喹疚樶垬楔蹟@艜薪釀⒙広皆多〞蛯妆褉攉唯喱剿堃貉侧拱聜喋毾θㄐむ‖袔酄娔姜蠋逌脡嗖愐勦睔黔"]],encodeOffsets:[[[-159275,19542]],[[-159825,21140]],[[-160520,21686]],[[-161436,21834]],[[-163169,22510]],[[-97093,50575]],[[-156678,58487]],[[-169553,61348]],[[-175853,65314]],[[-158789,72856]]]}},{type:"Feature",id:"UZB",properties:{name:"Uzbekistan"},geometry:{type:"Polygon",coordinates:["@@x驭喃N歇辗袆啷プ埿【谁拼啵ヂ澩徢つ涄⑧瑓押劢鹰軙虂茞褏啷匸聫岫踞摌雍凭茂嗖ψ慧屚呥ぽ掂Β弄喾该犩貤脵唷呅洽蹗喋伾残壧篖蟺缀喃幾斢柶菏犇壽嫡ν佔踩距逊喋截佡暷娢島牛珊仟隙喃比浰嬚⌒嬕犐撓呚犎贺狄苦賴前页N"],encodeOffsets:[[68116,38260]]}},{type:"Feature",id:"VEN",properties:{name:"Venezuela"},geometry:{type:"Polygon",coordinates:["@@y龋颖沫藴稀Y循蠀鹰蛦跈未脝葘貓驶虙搂賻啜段�艡袉處藛虨谉诇_沾业聬帅莓Q啵屇斢栂曎災灰际綳蓜啜监\\軌蕸思袊讦脳賽携茊讧熏n廷龋跁颖贸太司谭冉平垣茐j媳色杀知賾艕蕘汰蛵啶碧阶颗绞徣Z浬�孬艈瓶媒蠑蓱聭譂艤諌軉茂掳黔追蕝沫危螇茝爻葷菋时俜脜咬鸭石酄荷熖屘勓幮悸吶娛吺犌浿捗犠既埶捌惨幪撈犛從┴伮荒欁≤⒂ヅ勦獕膬颧虋确锚聡乾拇潭谩秃葍葌艆袭选脠筛赢暮锥蕯谈蜆蕦蓤褉栅茤"],encodeOffsets:[[-73043,12059]]}},{type:"Feature",id:"VNM",properties:{name:"Vietnam"},geometry:{type:"Polygon",coordinates:["@@喃椲嵢佔嵸犩藓嗒侈傇痹炡紞艜喙撣冟ェ榨蹏郢啜忿碧д犑�脂丿訉墁透啖γ斚冊氞洞侉募唰柸浿柶多蓛爪賺讗諎輰邾唳脆詩蕣虪諡蓸蜋芎啜橮蠒迒迎趷見却冖I酄埬捯勑毺哭惼灯冇浶愅苦蓳"],encodeOffsets:[[110644,22070]]}},{type:"Feature",id:"VUT",properties:{name:"Vanuatu"},geometry:{type:"MultiPolygon",coordinates:[["@@耍艒谁蟼聦嗓諉訔"],["@@茖诒丧艀签颅钮纱i佗袛实"]],encodeOffsets:[[[171874,-16861]],[[171119,-15292]]]}},{type:"Feature",id:"PSE",properties:{name:"West Bank"},geometry:{type:"Polygon",coordinates:["@@@裕怒蕶袃艜聵蓽蓪艢蓙摩乾謹踏艣"],encodeOffsets:[[36399,33172]]}},{type:"Feature",id:"YEM",properties:{name:"Yemen"},geometry:{type:"Polygon",coordinates:["@@貕丧菋蠉o斯酄肺熰磭匣荸祝蠀卤圣潞迎螒諚菈鄯漏蓛碌强蓻蓹脮呕蓢械l藣艙讐篓蓳蝇z覡茘蕼菓鬲蕥螉菤陇膽熄母菉聶尉蟼藢膽螤蔀挟螉蓳涩煤啷簄聘膵呒膷蛺篓蓚双虾茤准啖赶氠潚蛼趢嗟乘炞�"],encodeOffsets:[[54384,17051]]}},{type:"Feature",id:"ZAF",properties:{name:"South Africa"},geometry:{type:"Polygon",coordinates:["@@菑脓危褟苫褯訃谆啷嬥祝詪賸希啖浲櫻撀嚿吩浥靶登呧+菉詸墓螐卢唷客┸撈冊蓖呄危虤顺f伪蠏聼艣艔搔L影藱譃藬拼s伽战藜褏軋AF捉嗒ば斝赐樜樏撜埱円屆栞ぱ朆岱屔ㄅ庇具櫭辉熑執徸寄捬�蠏袏狮榷袛笑葰螤姆袙山蹅拢諡葴膼示屁袛覛盲狮蛡霜謹莓睾喈捸の俇袨茮瞬亩覀膵袛喈伾斪ぉ卯虩褔贫蕪脩膩蕮莎炭T虄詥視赢臏洽蠋賿Q瓤貞谋邾蓱蠜值褖","@@谓识匣菬視汀覂諒賭侑虦膶坪藥掖苺茰藴蚀肖虆湿"],encodeOffsets:[[32278,-29959],[29674,-29650]]}},{type:"Feature",id:"ZMB",properties:{name:"Zambia"},geometry:{type:"Polygon",coordinates:["@@袉蠌蓨軏茲嫂菣诨菆邸藘虈虱蕲讯蓳幄囒椖傋嵟櫽嵧固吿浢熫帝撘硂藯默啶蹦犉歄锚艇葞寨露蹕葢展跃郑蹖聻幡夺儴Y铆虃虐蛝僻衻莫孝臈屎虃q露式暇r諙没爽稀讪艥预藛葘询贍艧檀围螆谣贍Q毛啵犐逼匙椡炆监片唳溉壪埵堈毶つ多瑎茪挺膽螛蓢桶茥諙茥訆失"],encodeOffsets:[[33546,-9452]]}},{type:"Feature",id:"ZWE",properties:{name:"Zimbabwe"},geometry:{type:"Polygon",coordinates:["@@襾膶吮牡袧茰蝸V諜蠟侬藕蕶諕C虙苇臑啷嵿藘英菦飘蛽冥啶材熕樐磒耶债芏蹟虦脿暮虇訋桶賻艢脝袒郜h洗钳呛然袗脫薛藨F喋熐徸嬄椮蛊娛澞в蹬得股涁呧啷�"],encodeOffsets:[[31941,-22785]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/xiang_gang_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"8100",properties:{name:"棣欐腐",cp:[114.2784,22.3057],childNum:1},geometry:{type:"Polygon",coordinates:["@@聶@}ScT薀@cWuJ脕聳]聞l娄RLj录B膭脿聵聽聨H@TOHCTDDDHDNAT@PEHDDNJLX@BABALHFF@DKHADBBLDHHFBLEJB@GDBBFBADDB@@KFAFBBJJA@BB@@FFDDADFF@FADDDBJC@AFBD@@DDD@DAA@D@DB@DHHBFJBBFEHDFAN@DGDC@DLCBDDCFDlAFBFCBEF@BC@GDAB@FD@DZJ聜X麓H膼Mja@脻`聛p_PCZ@lLnRGSDMFK|a\\聺Y聫}颅聝搂聫聶聛聧M毛n"],encodeOffsets:[[117078,22678]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/xin_jiang_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"6528",properties:{name:"宸撮煶閮钂欏彜鑷不宸�",cp:[88.1653,39.6002],childNum:9},geometry:{type:"Polygon",coordinates:["@@聵@脠脪膴anw艓V聞聶犬娄酮艃蘑聞脺艒葌莽膶茅茞聧偶L蓡贸膴聜膴a蕣艁卤炉虏Um禄藢m脠禄V聶薁牛W脩脜炉菗茅聝聶么茟茠臒脝墨艓墨@欠聶w么聶撕L脼炉屁V仟脩茠職蘑聶葮V掳w蘑聨么k掳炉茠禄蝷@葌禄母聨菙@蝷聝蛿么么L蓡贸虗脻蓽L刹艒酮聝屁贸扭K@墨@IU聫軆脹m然牛签脻斯脹菈钮菗谦艒@茲虏炉V莽艒K涂艁螚脟牛禄平聶蓞聧茟L聛脫艔聧脜脜杀V@脻膴U炉脩膴沫脼L職脼艓J卤虄X龋藢艒l聝U聛脠炉艓K脝茀掳聶X脩脺卤n艞摹V炉聶贸aU聝僻U艒艁聞脩聶卤聞莽刹楼l膲k臒掳聝k楼聵聝n臒牛L炉脻脻U平默蝸l姆掳@聞艒聞X每脻炉V禄殴L蕢脼杀扭膲聧贸掳脻J聶娄脻K脻拢牛脺聶脠膲@聝x签U膵聧茟@ky蛽鹿聶`U虏膲V摹禄臒a炉楼钮@膲聛聶聜贸@呕脹脹J聝w炉n贸炉摹W平施姆脻蓻w膲臅脻录拳脼姆聫艒@贸拢脜蝷茟聨炉么券脼炉劝聶脝艒猫膲X脟录贸@脻職n潞聝母聞脼V茰母葰U识玫藔牡臇杀艓脻臇V啖坝捬⒙八榥蠚V藢聶脠m杉牡纽W陇枚蕣玫蕯@掳脠XV聨聶猫n艓葋b炉聧谦聫膲聞卤脠臒`摹w艒脭臒禄mVV聨聛聞脻楼贸@聶母姆么@職職bX聞亩mV虏虏`脼_聵聵纱b酮脠掳聞脼W母脠艑m脼聞職k刹聨脠U脝禄n录乾V姆母藕么炉掳n娄蓜脟聹脠"],encodeOffsets:[[86986,44534]]}},{type:"Feature",id:"6532",properties:{name:"鍜岀敯鍦板尯",cp:[81.167,36.9855],childNum:8},geometry:{type:"Polygon",coordinates:["@@屁楼職猫藕侉螛茟岍刡U啖災暽才嵞赌暶妒縑实姆葯U茮聝脻聞姆m鹿脼聶么@脠禄膴W艓莽職脜掳券劝脻掳贸茠聧脝涂膲禄探莽n聝m聫杀牡僻潞贸U聶聶平@卤w贸L炉掳袒L卤脝炉V聛拼姆b炉V脟楼臒虏菚bk楼脟Kl聧聛脜杀摹@脩聝聶贸K@聶脟a脻X臒聫牛x膲膶谦聫姆锚炉K@脩聝a殴聞茟K聝录炉V贸a贸n摹w聶贸脼茅U聶摹b贸膲臒脟l鹿聶aU贸臒KW聧聞聫V脜炉聧n聸脟艐茟聸姆n蕠禄贸x膲w聶莽脟掳脜w聶掳膵聞X聨聶聞贸b卤聝k脠脟J聴聝m虏牛x@脪脻聨職纽脟潞n聞贸录n掳脟bU脪卤录X母臓艂平Xmw膲潞聝z脠脺m聬nxmx虏臇m脪職bn聨僻锚U潞膴锚脝V贸臇贸U膲录脜默茟掳蓡茊呕艢l艂脼L職录n臓聝录@脼聶職脼藕@艓脼掳V職蓜纱卸霞賽蛨艓聞"],encodeOffsets:[[81293,39764]]}},{type:"Feature",id:"6522",properties:{name:"鍝堝瘑鍦板尯",cp:[93.7793,42.9236],childNum:3},geometry:{type:"Polygon",coordinates:["@@Wn艕脝亩L蘑娄牛潞藕聞lx脜母平艢聜蓜聴漠聵猫@么虏脼U臄茞艅V掳炉母X娄茞m虗b茠禄蓡a蝷職蘑聶茞L摔聶葮脩n聝袉菈母每n炉亩a艓炉蘑臅葮炉掳聫蝹聹la炉楼聶菚菙w摔颖l钮袨袒n呕m聧蓛臅膵牛Uw掳WU贸屁脜牛姆掳媒V卤贸脜菗茅蕢炉平艁聝茅艒菛葋脻茝暖菚w斯谦葪菗僻菚V媒聶茅@默牛L僻么桐聞杀艓蓻K虖脼蓞么贸K@虏@掳艒艠職录l纽炉虐贸茰脹lV录姆录聝掳k劝聶虐聞臓聝乾聶艢脻艓m臇聛`@聬脟脺n聞"],encodeOffsets:[[93387,44539]]}},{type:"Feature",id:"6529",properties:{name:"闃垮厠鑻忓湴鍖�",cp:[82.9797,41.0229],childNum:10},geometry:{type:"Polygon",coordinates:["@@V脝職x藢艓脼艓聝掳n聞葌脪掳虏V膴炉V臒凭藣乾屁脼脼K脠脼膴V藕么蓡脼蘑猫艑聬么W膶虏扭V脼母识bl聜炉么n_V脝母lm脼nV藕_母录犬m菛聞職茅母聛W掳掳聞母J聞k薁录脝w掳陇脠聝lx蓡z膶潞亩I虏脝菙U職掳么@脼娄聜聝U聧nU臓录艓脫蘑x臓_虏脟膴聝乾聬掳聨葌am艒職莽U聧脟W@炉枚蕮玫蕢X拢亩钮n苫職脟U藡m蠙炉藯討选岍僡螚茠聹蓽掳xW拼Ux蓛脪耍陇蓞w臒聞蕢艒贸脻殴聧卤掳葪@炉聞脝茠虏录","@@艒聶谐w葋楼僻掳殴脩姆V聶录脼锚膴禄聜l牡職m娄脜W@膧么脠藕a蓽x脠b脼脝亩I袨艠nI脟艃脹脻膴脩臓茝"],encodeOffsets:[[80022,41294],[83914,41474]]}},{type:"Feature",id:"6543",properties:{name:"闃垮嫆娉板湴鍖�",cp:[88.2971,47.0929],childNum:7},geometry:{type:"Polygon",coordinates:["@@刹耍膴I脠楼聜脜U卤膴媒k艒掳聝膲平贸禄亩平X贸实实聶券茟脜葋蓞炉膲@脟釄桲譀@@摔V譁实褉茠乾V母茟艓@茊席脩贸聨姆@蕠禄姆娄苇ml脠母膴X录W藕脹脼脻迅聜蘑膶镁聞膧膴么维V枚录膴U屁掳掳猫艓膶U脺脝聬贸么V么么聨虏锚葮l藢莽掳`n虏乾聨膴a職聶聝脹掳卤k聛臒mm禄職@掳脻蓡脹脜脟Va脻聧Vm蛿臒么脻脠b聜聧聞@聞聫聝聶n炉職聶脺U蘑脩膴@藕墨偶W扭脠菛W么艁脝I虏脫屁L@聨膴X聞mm脩脝禄劝脩k聝亩艒@媒掳m聴炉"],encodeOffsets:[[92656,48460]]}},{type:"Feature",id:"6531",properties:{name:"鍠�浠�鍦板尯",cp:[77.168,37.8534],childNum:13},geometry:{type:"Polygon",coordinates:["@@膶@掳聝臓聞么脫么@艓膲@瞥母@扭拢蘑lV聬么WV聧贸艡X膲扭锚脼@茞脪蘑脩l猫脠V@職臓Ik掳脝艠@脠脠膧@嵌钮脪臒@職聞@脪膲l呕_@職僻臇脜默艒脝@b藕脼n聝茠lV聹脻默職W脝录蕠聞聝脻脜@脟脜脠wW贸膲卤臒z聜默膶屁脝聜脻I膲脻炉b脟脩膲聝炉蕡V聬掳xU虐膴陇篇_么脫蓺I@l葰X犬聶艓l纱葮諛職聞娄刹脝蕡_纱聨藕聨么脼蕣艓臓聝蓡x摔拢蓜脩VwX瞥炉w聸蓻殴侑聶莽僻娄艒聝購蛧械匣蓛沙U聶脻炉@艒脻殴職聶@脻聞禄m臒聶禄脻Kk艁偶艡蓞茀茠炉脝墨膴禄么V么臅脜U膲茅V鹿屁茅m聧聶an脩卤臅nwmwn聫脟脹聞y膲鹿殴l艔k牡猫姆m艒脼摹K帽脭膵K脜猫膲z聝聨聞么mx葪每瓶I@镁脜膶脻K脻掳@录脠聬V潞職@脜蘑職脝U聬膵艂n聞脻脝菚膶牡Jm拢脻J聛娄@膴聝xV掳茝L膵录签聶@聶m@脜蘑贸m脟脝臒鹿脟職聶脝職臇脼K職x聞w么娄脝脩脝L虏脝凭聨U聬聞聨卤艢脜聫呕臇@默扭脠帽聞@菙脟x聞脠脟茠","@@V聧脟聶牛掳臒U臓聧炉mk炉贸楼姆I摹每茝b聝聞膲a卤脪母膧lKU聫聞_m禄nw職聨聞m@脠扭娄膲b脼掳卤脼偶艂苔掳蘑艁V茅"],encodeOffsets:[[76624,39196],[81507,40877]]}},{type:"Feature",id:"6542",properties:{name:"濉斿煄鍦板尯",cp:[86.6272,45.8514],childNum:7},geometry:{type:"Polygon",coordinates:["@@萎n母楼蕡录母@么聧习脪@茀茠艒U姆茟谦识锌U譀軆L讷K@螊母@脝拢脼摹聛脜臓膵職LV脻聞禄聶@脜禄脻nm炉職禄n呕膴@n聛姆艃@炉贸m贸脹脻菬炉a脻贸拳楼聝職艒Umx膲b脟脩聴@聸bU潞炉X炉脝僻bV脪膲n菚w炉掳茟聨V聞聴聨脟@kx卤U聝職杀n聶聨脜K聝聞炉茠臓菭U掳蓽L@掳聝xn默聜膧艐艓脟L聝聨臒職媳脼苇茰k么脜膧菚艂聝母膴扭U虐蘑掳聞娄葌习脺扫掳x@掳偶菭脝茍膶V臓禄膶L掳脟職b膴脩虗贸脼l亩w脼聞蓡V脼w乾x仟牛脠录脺L艕亩刷@","@@贸K牡膧V蛨膲艂凭菉脝扭聝zXl掳聝脝L虏录藕聨么脠蘑菙聶娄l聞么掳蓽脼蕣聫臓臒脜聝m禄实瞥茟蕽葪墨V楼炉膲掳脩@艃脜I聶禄膲聫m臒n聶聝a職聧聝膵屁b職聶V臒聴w聸摹炉@U聧艒a聶膲脻J臒脩脝艓k艓脼膧l藕聝娄"],encodeOffsets:[[87593,48184],[86884,45760]]}},{type:"Feature",id:"6523",properties:{name:"鏄屽悏鍥炴棌鑷不宸�",cp:[89.6814,44.4507],childNum:7},geometry:{type:"MultiPolygon",coordinates:[["@@釄楲@脠掳膴葌蓡茠脝膴拢聞钮么聛W脫蓡b蘑脜艓聝脝娄膶脩W楼掳姆U炉茝艃V膿卤脻@贸聴莽聵沫聛蓛凭艡脝姆kw殴聝扭鹿摹楼牡K艔脜Xm藣聬褖w菗陇茟聧@w贸聫艒V姆拢杀職摹么脹a卤脪葋聞贸猫牛IV聨平录k陇贸鹿摹Jmx聴禄脻U聝虏聶@脜脝聝母谦艓聞膴m艓乾諛"],["@@脼么掳b脼菭么脺么n@掳母艅聵嵌k艂聝录U脼聶K臒膶聜脝脻蘑脜陇姆@@螌诂L軇K@耍葌谁l膲脜聞W楼牡V脝媒@艃脼膿U艃葪茀@殴譬菚膲禄k禄脟聶V臒贸艡X聧聶聧呕K茝聨膵锚葋猫脹艓摹聝桐艅"]],encodeOffsets:[[[90113,46080]],[[87638,44579]]]}},{type:"Feature",id:"6530",properties:{name:"鍏嬪瓬鍕掕嫃鏌皵鍏嬪瓬鑷不宸�",cp:[74.6301,39.5233],childNum:4},geometry:{type:"Polygon",coordinates:["@@藥谦臓平掳UU膲炉卤葋脩m聝聞炉脻艒藡艒聶wU脜卤禄脜茟掳聝葮@虏炉沙聧蕠`杀脜聝楼諚聶沙葪艒k拳職葯W@k蓹J贸脭譬`膲拢V暖炉wU聫掳蕠膴聞脠脪掳a膴脼脼J脜聛膵僻聛墨臓y膴虏X么脟x脠脝脝@聞脼蕡聝脜禄聶X脼墨U聸茟km聞殴脻@a艓脜脝墨屁臅@聶偶`膴k@脩聶聝臓@纽脩@堑脟每@脟脜艞l炉臒J@聶脟Uk莽摹脪茝脩脻@牛茅W膴么艢U聨贸XU聫摹k牛陇姆@@拼艒膴贸@贸脭臒聝炉聞膵@@脪職陇k么耍虐蛽聞k禄聝KX炉膵w僻么臒蓯職脪么IV脝聶職炉U姆乾姆職n聨聶录么b掳脪劝VV脠脼掳聝母贸陇V录掳聞V掳虏锚聝l蘑脪聜U屁娄么聫劝拼膴VV录菛I膵膴聞脼蓽茅職n膶W烁歉職a聞艡脠w卤墨職莽母陇膴聧職么職w職聨母U蘑娄聵茅菛默聞膧么录l脼k脪掳x掳茊脼x聞職脝V虏聬菙禄聞b掳w脼聨葮楼掳n聞職艓V@掳聞聞薁猫聜虐葌b"],encodeOffsets:[[80269,42396]]}},{type:"Feature",id:"6521",properties:{name:"鍚愰瞾鐣湴鍖�",cp:[89.6375,42.4127],childNum:3},geometry:{type:"Polygon",coordinates:["@@么K聞膲仟a虏录l脺么@薁锚掳默聶么葌聝虏脩脺b蘑贸刹聶母陇艓U么聬@x茠聨菙拢褗x藥聫m聝脠脹@聫聜_n臅脼艒職艡聞谦聝臒職暖l券聞炉母禄U禄脺k么茮掳暖k钮聶禄艓艞@炉@卤蛽贸涂聞菗@姆聧葋录涂@茟录炉掳贸l摹聧炉x葪U摹職茟聶签脪僻U脻掳斯K贸職職x@歉艒默脜默茟臓贸茠聞職菙锚脝掳X脪薀扭U職脟录藡nn录卤V虏掳葌U艑脻聹b薀菙蓞么@偶乾a規脠"],encodeOffsets:[[90248,44371]]}},{type:"Feature",id:"6540",properties:{name:"浼婄妬鍝堣惃鍏嬭嚜娌诲窞",cp:[82.5513,43.5498],childNum:10},geometry:{type:"MultiPolygon",coordinates:[["@@膲聞脝艠葋虗m脼炉膧X掳卤录@凭炉拼掳艓脻镁艐娄W脺脼b葌膲藕U聹脟mwVU葌贸么@劝脻蝷聧n聧脝Jn聶凭聶薁聶艑L膶贸仟炉聹楼菙a菛職艑a么脻蘑L職x聞聝脝L職聧刹m聞聶虏Vlw脠@聵聧U聝茠聧掳炉菛x膴mU脩屁a掳脜掳WV鹿聹a聸脟蓛脠m楼掳炉殴贸母姆谦Um禄脜录脟V杀聧聶l脻聝艐n姆脟脻X炉聝桐脟沙a聴聴脻`卤_U卤牡nW聝聶a@聶母贸職姆聶炉菗V卤脜牡J膵鹿蓞ykw脟聞炉拢脜x薀禄聝l姆I炉聝X炉姆聜聶锚菚聝拳n姆禄殴`卤聞k脼@聨職聞脻么@脼掳x職扭艓I屁脝Ux艒職炉虏菙默乾lU艢"],["@@脼膧l藕聝娄炉母扭K脼聶職聧聝膵屁b職聶V臒聴w聸摹炉@牛聬平J"]],encodeOffsets:[[[82722,44337]],[[86817,45456]]]}},{type:"Feature",id:"6527",properties:{name:"鍗氬皵濉旀媺钂欏彜鑷不宸�",cp:[81.8481,44.6979],childNum:3},geometry:{type:"Polygon",coordinates:["@@萎茮喜脻臓聶聞聧脠K艑艒聛每m墨聞w@炉蓻KV炉臒菬掳茟聶w摹K贸脼艐b菚聶菗b聸娄签掳膵么艐K薀職平職m職脜Im聨涂聨券脼贸@葋么UVnx聸脠殴V葋膴脻a聛b呕拢炉掳l聞贸x葌扭母k膴職脼y膴锚膴m蘑xV聞屁聧脠聨臓X聞聨螛脝臓脭藕聜蓡牛掳LX聫凭聬扭聫扭b"],encodeOffsets:[[84555,46311]]}},{type:"Feature",id:"6501",properties:{name:"涔岄瞾鏈ㄩ綈甯�",cp:[87.9236,43.5883],childNum:4},geometry:{type:"Polygon",coordinates:["@@職聨W聨么艢U臓脠職l录膴录篇菛@藕葮茊@媒l脺職XV艠脼聶職娄V录k臇贸脪聝猫k膴葋水譁@谦諚n艒聝膲乾艒聞姆脝脜職@聞卤脼V聵录nw蘑I么潞l拢凭禄U聧扭J么莽職贸炉墨薀茅贸@k脹卤禄签b聝膴贸L覎脟谦b@呕蓡贸薁菗聸a艐脼葋V蕢艂膲b膲聛蓞么"],encodeOffsets:[[88887,44146]]}},{type:"Feature",id:"6502",properties:{name:"鍏嬫媺鐜涗緷甯�",cp:[85.2869,45.5054],childNum:2},geometry:{type:"MultiPolygon",coordinates:[["@@蓽脼蕣聫膴媒Va脜聝m禄实瞥茟蕽葪墨V楼炉膲掳脩@艃脜I聶禄膲聫m臒n聶聝a脻職牛L掳姆贸K牡膧V蛨膲艂凭菉脝扭聝zXl掳聝脝L虏录藕聨么脠蘑菙聶娄l聞么掳"],["@@凭I扭聫@UUw艒a聶膲脻J臒脩脝艓k艓"]],encodeOffsets:[[[87424,47245]],[[86817,45456]]]}},{type:"Feature",id:"659002",properties:{name:"闃挎媺灏斿競",cp:[81.2769,40.6549],childNum:1},geometry:{type:"Polygon",coordinates:["@@nI脟艃脹脻膴脩臓茝艒聶谐w葋楼僻掳殴脩姆V聶录脼锚膴禄聜l牡職m娄脜W@膧么脠藕a蓽x脠b脼脝亩I袨艠"],encodeOffsets:[[83824,41929]]}},{type:"Feature",id:"659003",properties:{name:"鍥炬湪鑸掑厠甯�",cp:[79.1345,39.8749],childNum:1},geometry:{type:"Polygon",coordinates:["@@V茅V聧脟聶牛掳臒U臓聧炉mk炉贸楼姆I摹每茝b聝聞膲a卤脪母膧lKU聫聞_m禄nw職聨聞m@脠扭娄膲b脼掳卤脼偶艂苔掳蘑艁"],encodeOffsets:[[81496,40962]]}},{type:"Feature",id:"659004",properties:{name:"浜斿娓犲競",cp:[87.5391,44.3024],childNum:1},geometry:{type:"Polygon",coordinates:["@@聞莽么脩l臅U禄聶楼脻職U艞聶Wk脹@镁V艅脻臄@艅脜镁亩UX娄脝聝"],encodeOffsets:[[89674,45636]]}},{type:"Feature",id:"659001",properties:{name:"鐭虫渤瀛愬競",cp:[86.0229,44.2914],childNum:1},geometry:{type:"Polygon",coordinates:["@@l艁聴堑m聜膲@m偶聶录n掳脼m脝录職@"],encodeOffsets:[[88178,45529]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/xi_zang_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"5424",properties:{name:"閭f洸鍦板尯",cp:[88.1982,33.3215],childNum:10},geometry:{type:"Polygon",coordinates:["@@屁蕯母b脺潞脼wnx藕b脼掳么@聞聧亩聨母I脠录膴J艓脠么U職脻茠陇菙L脼聬艓@蘑聨葮bl聝么L聞脟藕莽脠陇么L職楼脼I脼炉亩x蕣钮屁聶瓶脩膲XV姆纽炉葌K脟菚職脩炉IU聫職拢炉脫瓶拢V臅脜聧脼每脝w聝茟聞拢菛x脼臅卤脟脻aU脩脠聝U炉聜聧U艒脠脻聝wW艁牡聶卤脻聞贸蘑每掳I脼卤m脜蘑炉m每聞楼掳Un脩扭聧蘑臅亩w乾呕酮w艓录藕脟蘑聞臓臅藥艁掳贸屁录脠a聜m聛聧@楼掳w菙聞菛聧掳聨屁脟扭聹職摹屁聞艓艃么b脠脹艓膴掳@臓w虏脩脼J脝聝脝b虏聝掳锚膴U脼聜l脠虏聝V聞脠K膴脪母膲聸禄脜聛么钮U脜脟聝k炉@脟聜脩k聧l脟聛脜l聶蘑聶V脩贸聝@聫掳@聞脹母聝V炉聝脟膴聶n炉U臅職聧平炉m聸炉b聶脠@脪掳默聝b牡聧聸录聞聜kx姆媒脟Jk拢脻aU脩脜贸亩菬k脫蕢n膲聝脻录茟聞贸禄脼mn拢m聶膶炉@聝犬每V炉母聝聶k@脻贸w聝禄臒聞摹卤菗L艒聞聝職V录茝猫姆膲聶猫卤b@脪牛聞U脩贸ak聝l拢聶脫@聧炉L@聶脟lU贸葋職炉a摹脠脜臅脻L姆聫炉臇炉@W默聴x聜脪脠nW掳牛么U虏菗脫摹虏V掳炉么聝菙脻L聴聧膵職k聶職禄脻禄脻職炉脼聝V聝w脹聞脻脟艒桐脠膲膵禄膲m炉拢W楼牛Kk贸摹茝聛W@炉卤k艒聨聛脠聸b@脪聴職脟a聝脝炉a聶聞聝k贸聨脹聝脟娄脻a炉職脻聶膲@脟禄脹聞m聝菗x姆茮炉lV膧脜脼摹b聶聶脟JU聬脜V聶臇茟W聶z艒禄艒職聝W聶n@猫炉脼贸Vkw譬nk藕脟脼聞脪聶脼炉聝聝媒臒脟Ux脝脠n猫卤b膲聧脻禄脠艃聝w職w脼@m禄脠V@媒脟掳姆聶聛x聝a聞脻炉X膵楼聝脠贸W@么kxln聛xV脠贸膴k扭摹录@掳炉虐茟L袒虐卤艓脻V聴脼聸V聛聝脟脼脜聨脟ak茷聜職@猫臒艓母偶職凭掳脪職L脼么臓K劝臇藕V脠脪臓聬聞陇聶聬V么職聨U聞脠镁钮L@么乾脼l脺脠n脟脪U艢聶@聛職膴屁W掳聶掳X聬聝聜@膶脟镁聞拼膲脪姆娄@聨蘑么W膧么艂U脼蘑乾聶藕掳录職@聝么V掳聞bU脝nzm陇平母聝脠"],encodeOffsets:[[88133,36721]]}},{type:"Feature",id:"5425",properties:{name:"闃块噷鍦板尯",cp:[82.3645,32.7667],childNum:7},geometry:{type:"Polygon",coordinates:["@@聞脟凭姆n拢myV脜聝aU炉聞贸聶@炉禄職殴摹谦V脻贸艁X每摹贸@聧母楼膴脩聝瞥脠媒@膵聞聛W聫職炉X炉膲僻聜聶職@V艡脠脩脟mk脹谦脻@贸纽K脟媒V聝聶聧U贸職聫聝拢臒聫脟脩殴U券臅臒L脻贸聶K炉脩聶平姆呕臓艒@莽聛聶l茲脠b脝聧脠脻聜聞聹U聵脻脼U虏艒碳暖茠K掳暖@炉UK卤聛聴膴僻b艒脟m莽脠摹聝贸職脜贸b聶聶藕贸職楼k墨脝炉贸l聶莽聶K么牡U聝脜聞V艃姆楼n脜艔m炉鹿脜聜聶禄@脩脟聧贸x脻k蕠趣U陇姆b@茠炉膴脟x炉母膲Km掳職膧k娄l聞聞Kn默葊凭脹娄W脝脜聬m菉膲掳艒U牛陇U職艓聬掳職艓K脼艂脝聞菗娄聝脼聶聜聶聛聞艡炉bm聫U聬脻l炉Um聶臒l炉拢葯w脜聨谦a脻n膲亩聝k@炉聶K聶職艒禄膲n聶a脼禄钮nkml聶母楼U脜職呕k脩钮聝聛膲V聶么贸掳L么墨臓U聞每膲菚脜z卤K聝陇聞虏艒陇炉臇炉U脻楼V牡聶贸脠钮脻w姆脠聶脩k陇贸聞聶聝W媒牡臅聶聞V臓聝V贸聧聝聨菗聞姆掳k聛卤VU卤牛娄U菬脻脜聶JV脩聶楼XU膵U脜聨l聬脹茊菚脝葪茊炉w艔脼脜@聶職膲l脻聛贸聨聝脪聶nU么脜聞lx贸l脻么脹聨卤聶聶L脹么脻L@聜摹炉X炉脟U脜录贸a贸陇聸录X脪摹艓贸Lk娄聜么脜录母臓聶录聶K摹茊么娄聞脝茟脭膲亩炉Im脪掳娄n掳炉脼l聵脻膶n聞茠脪職K臓脼職臅k聝l媒凭钮聹職么I聜臇扭脪n茰m录炉ln偶贸脼@女贸娄聶么平臇膵艢n掳脻掳么脠U茰聝bl脼贸聨@聨菛么掳U脠茊掳X聞镁么聨么聛聜l癣聬職聨虏臇m娄掳職@陇聶聬X聨膴bl脺職zk潞茠臇mX聞職艓WV職贸脼n掳l聬臓x葰a掳禄偶L藕聝聞b@脝掳X臓脻葰x膴臅扭a葰聬聜掳脠@聞聞@猫扭娄脺录聹W聵脼k聨脠@V聬掳l扭k艓卤虏娄茞U職菈掳a脠脩艓b蘑聝艓b脝楼脼I葮l職職么V脠U聜聶職b聞k刹亩n聞mnXb碳貌凭臇艓@蘑聬葌脩么脫臓臇蕣職膴脭"],encodeOffsets:[[88133,36721]]}},{type:"Feature",id:"5423",properties:{name:"鏃ュ杸鍒欏湴鍖�",cp:[86.2427,29.5093],childNum:18},geometry:{type:"Polygon",coordinates:["@@亩臇X镁職聞么聝l拢職脪母脟脼x脟纽職么U亩脼娄掳V掳臅艓拢聝卤聞拢虏L脝y膴菛聝膧臒V贸默炉K贸么U職聜膴纽聞l脪聶偶V脝姆娄k職ln纽m脻录職b膴m艓录職聶職L@掳聞l膴牡脼m乾b脝聧葰x掳陇臓kn職掳V脼kV聫n聬掳a聝艢職聜職聛聞脻菙楼脜聝脻艁艒L炉聶艒聫V聶扭拢艓V膴炉n菈脝聫X脜脺楼强平m墨聝Lk聝l楼聶每n炉膴L掳姆脠w掳膲@茟母aV拢蕡龋脼l么w脠聨@脪職录脝聛掳潞艕nm脝母娄U艅脝聝V聞贸亩職L職猫么k脜掳l默聶娄殴么職職么a聶脝聞么脟蘑n猫艓脠屁a聵膲虏聜VL蘑禄l牛么膲U脟聜wkmlw@贸么X聞脟膶娄掳W聝脼聞b聜w母職脠炉@镁脟Un录脻@聶x聞x脟艅脼录膴聨虏am莽脜脟Vw臓脠聞镁掳聞職脻聝脩脠脻l殴篇mlx么U掳脻@莽職m聞X艓聶艓录職y茠X職臅脝UV聫脠I職職蘑a脝脻U每掳k母茰菙wn聞脺聝脠录膴@脼職掳聶脼b脠楼脺聞么聧聞l職聝掳b聞脜脠b聵聶@脩聹a聜脟炉UU炉V摹職禄聝聶炉aV聛炉脟掳脜聶mn脩扭莽乾V乾聶卤膲炉楼V臅炉脻k拢聵艒聴w@卤摹脹掳脟V脩聴聝@脹聵a@聫膶L聶瞥聶聞聝聧脟a炉陇脻I牡录U楼瓶聧艒姆脜牛呕贸k脻贸臅聜楼炉聶U禄脝拢X炉摹艃脹k脻掳V掳贸录炉猫W么脼臇聞葞聝聨k膧僻膧贸wm楼炉J脜鹿脻J脻聶艒VV脜聛a脻聬茟@聝聵臒怒脟聜炉_聝聵牡聴聸Vnx脜聝贸n聸聝牡x脟臇膲V脻脠臒V聶脪贸聝炉聬卤呕膲拢姆脝脜L聶菆膲媒聵牛脹聝炉V聝nV陇脻脠@掳脜脼脻陇聶虐臒艁m娄脻x贸K聝楼杀脠U臓么锚V么脹录脟W脻莽牡a艒娄贸臇僻l脟蘑茟聨n艓脟聞V录聛录聜潞脹@m娄平聞膲mm炉脻K脹莽炉b艔艂聛默聶b聝录脜Lm聨聞x钮掳脜U聶職脻Xk聨脻m膲娄W聞炉K聞脪kn脻aV聞脻猫炉K蓞艅脻Kn脼炉录"],encodeOffsets:[[84117,30927]]}},{type:"Feature",id:"5426",properties:{name:"鏋楄姖鍦板尯",cp:[95.4602,29.1138],childNum:7},geometry:{type:"Polygon",coordinates:["@@聜V脠艂V么脠k@職掳K@聨職脭k陇l聞么bV脪扭聝@脩虏a職莽母膴茞莽U禄聞聶艓聝菙K蘑虏臓聝聞录么x@脼職l屁默聞Ul炉脠LV聜職聛脼J聞掳脺n蕣聫聞w脺bX锚聜V脼炉掳職職anaU聫掳w脝录纱脩W脩掳m脠媒脠am楼脼拢扭@聞楼么bl脼蘑聞藕楼么x脠脜m脻職聶聝臅脜聝V禄膲艒扭艒n贸聝禄脠墨姆IU聝臓脩掳摹母L脼炉V脪脝聜@膧聛b職录W么脠@V录么贸扭K脠脩U禄職wV谦偶nW脪脠x聶录聜l纽拢膴艒扭x虏炉@聝脝聝U炉職莽脝@聞陇掳拢聞茅掳k掳l職暖脠贸@炉扭脟脠膲聝kk每贸楼脻X姆脩聶脺@脪贸艢脻炉掳膲贸w聛脟卤娄脜JU脪膲膧姆w炉掳m臇炉聞卤akx脻脜n聝聶禄l脩聝K@聧炉lU聶炉UV脩炉贸膴炉m艒臒V菗茀聝脼聝W脻脠脹@瓶么炉脺摹z脜镁炉聧贸lm么蕠聛摹膴脜U涂艡艔葋藡艁贸脟恕艒僻聝脟b聶w聛掳亩么k娄職脪聝nU镁摹脪聶脭k菙姆猫贸@聝虏@艠艒艅牡y聝z摹a脻陇脜I聝陇蓛聧钮娄臒脩炉陇姆b贸職炉贸卤聨U虏掳陇膶聧脺Vn脠脝聜聞艢艓掳么蘑聞镁脝z聛猫V膧脟聨聛膧脟聵聝X殴脩炉陇贸w膵姆k娄職艂U脪摹z脟@聛聝聶脝脻x@虏脼@脝陇聞U么娄U職掳x聞U"],encodeOffsets:[[94737,30809]]}},{type:"Feature",id:"5421",properties:{name:"鏄岄兘鍦板尯",cp:[97.0203,30.7068],childNum:11},geometry:{type:"Polygon",coordinates:["@@聶聨V臇m掳膲職聞脠U掳姆聞聝脺炉@@聬么聞U脪摹職k職聜脝k脠l聨聛脪@脠l掳脠聞V脝贸纽脝聜聹录聜a聞脜蘑聶蓜wn聫艒w@楼艓娄掳殴脼mV職掳wn每聝w聞w脻w@炉職m脼艞掳w臓聵母k脼臒l臄虏娄掳@聞臅母wV贸職al@n蘑脟膴n掳@娄職聨藕UX莽菙暖母V職聶脝K聞脠脻臓職虏脜臄么@l聧職聨脠_m聵聞z菛聫l聞職aU录么wV掳炉娄聜默脠a聞l@膶脟聨聞录聶聞n聨聵I聞x么禄蓽@屁楼蓡艁聞艃仟葋k茮屁葝蕣取贸沫聸@聴脠脟V聝暖脼聝母茀m膿屁钮聶脜脠蕢V堑掳摹V怒脜骚掳每n蓻職拢m聝姆聧虏艃贸脩U膲掳m脟禄炉@mxU膧炉猫牛聧掳葋脻莽聞摹U炉脝脟牛脠@掳脟么聶虐炉k炉l聝锚炉陇聝拢脜@聶猫V掳脜聞@聞卤掳牛w膲艓钮陇聛k職禄脟wX脩呕mU乾聶xV录脟脪牛L贸么U禄脟@X贸聶禄聜a@每脜聛U脩脻掳姆K炉蘑臒脪V聞母J脟默聞录m么牛艓膴艓U录脝聞聞臇聶職n脼脟脝贸w殴娄摹聝k脻贸a聝娄牛@脻陇n娄脟b脟镁炉nX脪沙脪脜禄炉xV聬mb聶b炉聶脻掳聛UW茅脹a聝x蕢聬脹m聝炉脻I聶聜U聛脟Kk掳聝V僻墨姆聞U掳拳膧@聞膵掳n職m陇脻n么录茠聝脼禄膴聞蕣ml脭牡菭脝么V脪脼bl陇脠I母镁lw聝聛聹禄亩聨聞a炉墨@脩職脟掳an聹凭掳"],encodeOffsets:[[97302,31917]]}},{type:"Feature",id:"5422",properties:{name:"灞卞崡鍦板尯",cp:[92.2083,28.3392],childNum:12},geometry:{type:"Polygon",coordinates:["@@掳脼U臇掳娄虏膴么脟脺L菛膧蓽聨葮虐脼L母聫藕锚脼@U聫脺U扭掳蔀炉脺聞掳W纽膧m艓聞娄蘑yV脩聶艁l楼膶母么x掳拢藕脪聞W脠聴聜每脠聧U每聜莽脜y聝媒贸摹艒炉聝艡脜聛m脟脹U膵聨炉拢V卤虏聧掳么么聶母a掳拢臓脪纽楼蓜聨聞拢脝J脼拢蘑b聞y亩z艓艃@艞聞卤么@母莽l菗職脫蘑脩V媒聞m聶脩l楼牡贸聜炉袒胎聶茮谦脻一脟僻聬膲y牛录覎膿V亩膲艓掳母m職脼V脻母聶脪脹a膵聞贸聶殴臇聝猫脠脠l录k陇脻X@`脼聬艔录聛脝艒录脟莽膲KU脻脻拢臒陇@娄摹l炉脪摹聬膲炉贸職聶m贸x脻脼臒V職拼膵K@聬聴b@脺聵聞U脪炉脠蘑脺@虏聵x聴艓l陇"],encodeOffsets:[[92363,29672]]}},{type:"Feature",id:"5401",properties:{name:"鎷夎惃甯�",cp:[91.1865,30.1465],childNum:8},geometry:{type:"Polygon",coordinates:["@@艓聧虏l@掳聜X蘑茞l么扭LX娄掳陇膴n膶录脟膴艓酮脼脠脺聝聞x聞U掳脻脼聶脼录聶录l職膶聶聵聨脼K聞菗掳贸U炉蘑卤菙脭V卤扭贸X炉脟m聛脩聵wX墨掳@掳臅母聬脼K脝臇蘑脟掳b葌聶脟艁聛U聝V炉wV聶贸楼聝V脜拢脻@@卤脼w職脜聜聞脠@聝楼n艒钮每炉X脹聝蓾掳牛炉脹VV聬脻@殴茅姆聬脻K葪暖蓻聧菚每脹K贸脠谦職谦U牛猫m脪職n炉脝掳脠U聜掳b聞職聶录U蘑V掳掳V"],encodeOffsets:[[92059,30696]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/yun_nan_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"5308",properties:{name:"鏅幢甯�",cp:[100.7446,23.4229],childNum:10},geometry:{type:"Polygon",coordinates:["@@U聜么虏聜a@聨虏虏亩楼聹V掳職亩聧虏bl陇k聬Vxl聜@聬聹掳聜艢虏@聵聞聞y聞@么娄炉聞@x聝xVxU聞V職職bV職聛脺m录艓聞聞蘑m潞XXW脝@膧聹職m聨mXU掳脜脪m录脼x掳w聞@掳聜X锚臓聧掳禄nV掳U聞l@k聞@V卤么墨@拢聜聝膶艃脝拢聞K脼媒@楼聜k@y聞a@聴nWV聧聞UV聝職w聝m聝拢聛J聝knm@wmkn聫聜X聞聵職X聞楼mUU聫lUnb職炉掳聨nk聝聫VIn聫lIUw掳聫n聶m聧k@@mlanXlanm職k@wVWUw聶_@茅臓a職聬nmUa脺拢聝mX聧聝楼炉@@聞贸Um脻炉炉脼脻lKnx么拢職禄聞禄臓聧聞J掳aV聧聞U脻每V楼脹b聝I@wm聨贸n炉y脹L@聝Wk脜聨m脠聶`聛IWa炉K@炉mUn聧maXm聶bmak聞炉聨聝蘑聶脪脻m炉聛mV炉K脟b炉K脹聹WW聶X@a聶V聶聫kn膵LUWV聶kX贸W@k聶a@聝贸b炉U聝wmb聛楼UUlaU楼U拢ma姆職聝KXk聝m脻@kwm脩炉聧k卤膵bUUVaka摹娄聝聝kL@`聝聹聶a炉x聝m聶聬脜聝聶LUW聝@膵n脜聨UV掳LkL@b掳掳@陇職虏聝聜職n么么k聞l掳k猫聸脪脠zV陇脠聞W么么聝nV@聞聝娄@录Ux"],encodeOffsets:[[101903,23637]]}},{type:"Feature",id:"5325",properties:{name:"绾㈡渤鍝堝凹鏃忓綕鏃忚嚜娌诲窞",cp:[103.0408,23.6041],childNum:13},geometry:{type:"Polygon",coordinates:["@@掳掳n脼么V@聝掳@聞娄W聨聞n脹陇Vbmn聶聫臒b@锚職`VxUX@x職聞脝聫脼Unn聵W脼母蘑聝職脠@聨脟猫@z脹脺W職脜锚l職虏聞聵KnV炉臇膴x@bk@@聞掳J脝拢脠bl聫聞nnm掳nl聫UkVUUwVm聞Kn聞聜nV聨脼xVLX楼laX@@xl@Vz脠聨Vm職k@b掳職脠母m聨V娄聛`W聞X職聝bUb聜bX录掳x@a職VVkn@l镁nXUlVx扭脜聞y聜IU聝ka聜I艓膴@lXx@b聞z@聜么聞聝楼聞_V@l聜n@聞聛么y@al_l`n聛m聝脠禄@k聝mXwWK聶U炉禄聶a聶脜@w聝mU聧脻KUa聶UU聝聶wW聝@w虏禄@k脝聝V拢聴mm拢VKk脩V@@禄nw聝楼聶聝@k脝聶nllIVlnLVakalknJ職聛WmnaUaV脩VV脼聧n楼m聛@聝聞炉U每l聶@聶聶聶V莽聝aXaV炉UyVLVk職@nJl職XLl聨kxlbla虏脪l@n聛VJVk職x聞KlkUa聛V姆聧脻脩U聫@脜m炉@卤聶U贸掳臒艅姆臓mU聶脩@脟炉炉脜录@nml@掳炉聬炉`@w聶拢@炉脟聝k@聝禄nm膵炉U禄聶I聶聨炉L脟亩脹n@b贸掳聶U聸職聛wm聨炉聞聶Um脟炉a聞聶聝聶聝I@ykI聝VU聨炉b聝I臒聨聝录聶录贸陇mwkL脻脼"],encodeOffsets:[[104243,23429]]}},{type:"Feature",id:"5326",properties:{name:"鏂囧北澹棌鑻楁棌鑷不宸�",cp:[104.8865,23.5712],childNum:8},geometry:{type:"Polygon",coordinates:["@@職w么聞職@虏炉maUm么U脝x職@X職聵b脼InlVUVw聞JVaU聛聞K掳楼聞xm脼XnlKlnna掳@膴聫膶聞脝wUmnkl@掳聝聝拢nyn@V聧V@Vak聶聝@@k脼脻聞bmx掳Vnw掳kl聫脼In臇脼VlKl聶@聧Xa掳聞聞KlV聞U@聧職Jnx聜U@脠蘑bUKlm@ak_聜w職anWUk掳聝l禄聞k@Wk@lwU_聝@Ual贸U楼聝脟n聛聝聶kJW聧聝@聛聧mVXx卤b聝K@n聛V卤a@聶脜a聶拢脻K虏聝WknamKkn脟聫k炉聝aV聶聶V炉膧聝U聶聞聶脪聛楼聝I@mm炉炉x脜聧W@@`k@贸禄聝UU聧炉lm拢脜Wl牡聞w@mmw脜mW聛聛U@y卤U聴xmwU聞炉U聝楼脻楼炉拢m@k聨脟VU聬V掳Vbkl聝L聶wUlUIm聜k@卤脩kbkalwk聧WKk聶mI聶@UlUKVzU掳Wb聞bU猫職職@職k職V膧聝掳@聞n聜m娄脻聨UUU脪VbmbXn聶聜mIkllbUbmKUkkJmk脜職@l職聞聞娄mx@录U@l脪ULn陇聵nU陇脜聞@l卤录@xX聞職xV聞職VVb脼LV聨聞n@x職脝職b掳录職V"],encodeOffsets:[[106504,25037]]}},{type:"Feature",id:"5303",properties:{name:"鏇查潠甯�",cp:[103.9417,25.7025],childNum:9},geometry:{type:"Polygon",coordinates:["@@脠娄lK脼臅U聧V聫炉Um炉聞脟VUnVVU聝膲n聶膴脟凭Ln掳掳脠聞J脝w聞@lb脼a聞娄V聞XJ掳炉W炉聞a脼JVkU聧職a聞聝@聧lKn脜mWUk炉a炉禄@聧m卤@脩聝kkbWWX_W脫U禄聛_l聶k脩m@U禄m@聛l@IW膵n炉l@VanV聞UV聶U聧VwVx聞K脠聞VmU膿聜@聞聝n@V脻脝L聞w聞VVwnVlmkUV脩脟掳ka@k聶每脻a脼Ul拢聶聸聛聴膵臅X卤卤膲聝a@UnVnal贸nk@wl聶UVmk脻J聴aW聶聶@脜w贸VVnnb卤掳聶@贸聝聶xXLWx聞n@l脟录n聞m聜k_k`@b贸z聝聜m@k聛U@聝`聞娄贸聝@nW職@脺脜XWw聛@聝y聝b聛娄@脪lnUb@x聶l脺聬k聜@虏脟@U聝炉bmy@聬kV@b聝b聞娄U`lLVx@b聴Ll录脼陇@聞掳VV脼聞U@W脼聬Ub聸J@nn職@lnnm聞職xU聨聝UUb聝K@職脟wklkU聝VWakn@聨lbU@@聞ULVxkKUn聜掳炉脪@录聶聞km聝娄m@kl聶劝@lU聞l娄聞@Vl掳w職nn镁膴U脝bUx聶b聞聨V聞職臇U掳聞a聜nna職V聞al@@b"],encodeOffsets:[[106099,27653]]}},{type:"Feature",id:"5323",properties:{name:"妤氶泟褰濇棌鑷不宸�",cp:[101.6016,25.3619],childNum:10},geometry:{type:"Polygon",coordinates:["@@m脪聛XU`Wn職職聶@Xl卤娄職聞Uxnbl掳knmKUx聞聞聝xV么Ux掳录么脪脠聞掳Jln脼K臓聬聹W掳娄聝聞Vx虏JVw職_掳楼@UV@@wnymknK炉I@聫聜聶虏b掳聝職拢V楼職wU聧聜V聞陇nL職k脝J脠w么么掳聞l禄膶炉聝摹V聝UU@聛@聝掳聝聝脻X聧l@U禄掳脜聞@U聫聞炉@w卤炉Vm聛UUlm@m聶聞脩nIVyUwmak拢Vwm卤聴@脟w@n聝@Uxkwl脟nL聜mk脜聶@卤聨k聶ka@k贸JV炉脟禄U拢lw炉聶Xalbl楼炉UX聝@a聵聶Ua脠L@脟VIV聝kaU炉mm聶akLWkUJ炉Umxn職聝@聝kUx炉x聝聞mW脜墨脻kkb聝扭聝bkxWmXwWk炉w聝Kk聝聝L脜陇膵艅聛聞@陇贸默U虏聝@@l聝k炉VmU炉录@xV@k掳l掳kbU職掳nm聜VnU職@掳聞職聞UV猫脼聝脝bU脪脼nU娄聸V聴录l么聞@Vl"],encodeOffsets:[[103433,26196]]}},{type:"Feature",id:"5329",properties:{name:"澶х悊鐧芥棌鑷不宸�",cp:[99.9536,25.6805],childNum:12},geometry:{type:"Polygon",coordinates:["@@lb聹KVIUa聵@虏m@b聶x么脪脺xXLmbn職l@職聞聞K掳職職录k聞U么聜x么lV娄nJ聞U職聶脝n職m聞@職x聞聧脝w職bX職脝聫么么聞LU聧Vw么K@wlm職aVw聹@Wknm聝IUml聧nJla@_聶@k脻mKUa職脩m炉Xw掳aUaV聧l禄虏JV聛聞b脝Jk么亩膧虏VVk聞m職bVwU贸聞w聝聝VwnLlmk炉maVw聶聝虏楼Wk職@聶聶XmV_聜Wn脩Uk聝@k贸聵禄聹UV楼脻mV脩脜a脻聞U莽聝V聝聶@炉V聶Umn聛炉mV聶lak炉l炉U@@w臒聨W茅炉聛聝@炉x脻w炉職炉J膵a炉聛U楼mLU陇聞b脼趣聝b脟L聛WUwmIUVW录kb職`U聞Vb炉L卤膴脹k聝每脻Kkw聝K牛锚聶U膲镁聝脠聝V炉脼VbU聨掳KV職k虏脻聜mI聴聝mV@k聝m聶Uk職Vxm聞炉KX脠姆JU娄V掳ULWx職L@m么聝職b@bkx卤LnVU聨VLnk脺WnwlL脜茠mW@kkJU_聝V聞職W膴聞脼"],encodeOffsets:[[101408,26770]]}},{type:"Feature",id:"5309",properties:{name:"涓存钵甯�",cp:[99.613,24.0546],childNum:8},geometry:{type:"Polygon",coordinates:["@@聜x蘑聞l`虏X掳聨V聞職x@x掳脼掳KXa職臒U脩職W聜bnIl`X虏掳b聞xl掳聞聞職V@xVxk娄mb聞l@x職XV聜脝zX陇聶聬脝聵k聬掳聞kx@l藕锚laX禄VUnJVx聜X脠K聞a脻龋聝aV拢nKV娄掳聜膶b掳I掳聶n禄脝脩V炉nWn聧聸聶@每X脜WWn鹿聝摹艒聝n禄聜脹U聶聶aU聶V聝Uw聞w@w掳聝贸楼聝@聝z聴聝卤@聛艡聸炉@聫k聛Uwl聫k拢卤a牡聨炉聶聸U牡娄卤卤@聧聛b贸卤V聛脻@贸陇聝w炉I@m脜聞贸m卤聬X聨炉I贸l聝K@聬職掳Ullb聶zkKlln@@脭聶潞聝UmVk虏么脪聶x聶艓UV贸L聝b聞聨m脠n聨mbnl聜a聞x@z聞@脝聨聞娄k職"],encodeOffsets:[[101251,24734]]}},{type:"Feature",id:"5334",properties:{name:"杩簡钘忔棌鑷不宸�",cp:[99.4592,27.9327],childNum:3},geometry:{type:"Polygon",coordinates:["@@W聶Xw聝聶@akk@y聸聴k聫掳墨X楼聸U贸姆炉w@聧n禄UaVaU脹聝聫炉聝m聬V录k聜聶脼膵么@n炉x脹脪m聞V聜炉脭@x聝聜@職k聬聶wm聶脜a@聝Ua聜脻聛炉V脜聝yV聛聞a@每職聧n禄脻Vmank聶mm脼脜么聝@n拢卤聸臒z脟mU娄聶Vm聞n脺mbn聬@掳nV@xmz脜@m潞V娄k掳ln聛陇職录玫么聞n@xk脝聝IUxU職@扭聝娄V職mVkmkXW陇XzVx@脝職x聶录聝脼炉b@lV職聶母脼聨V聞m录X聨m娄V聞聛聨脼@脝聨職鹿V贸n楼脝Kn聞聜KX聬炉x@猫膴脠卤艂X聬職a脝xnlV@U脹l然k臒V楼聞聛m聫虏菈m脜脼臅茠茮m掳聞脝m聬X陇mzn脝聝聨V娄脼VVb掳bn脼Wbn聨掳l@聬V聞脠@聞聜V牡膴卤@贸聞Inx脝w聞楼@拢脼聸W炉母拢U聝UK聜聝k聧卤akkkbmWm聛脠姆聞a脝脟U聴脠聝脝W@wmknmU炉"],encodeOffsets:[[102702,28401]]}},{type:"Feature",id:"5306",properties:{name:"鏄�氬競",cp:[104.0955,27.6031],childNum:11},geometry:{type:"Polygon",coordinates:["@@m聝nK@wm聝U脜聶楼m職贸X菗艔mX@聨聴V聝聧mL@x牛聫聶nk@mlU職呕脪臒艐@聫聝L@mmLkm聶職@b聶X脜聨W录ka炉l脟殴炉a脟禄聶脻脻_@m聞@@a聶@UklwUm@ak@聝b聶Umb聛m聝bV炉聶臅U聝聝聧職aVw脜a膲Vm媒聶m炉xUk聝@k楼V聝UX聝陇V脠m`@聞聴艅脟脺@膧kn聜臄k茷脝臓聞聶脼職聜U聞V么茊脼I@聨Ux脝娄n聞l@膴膴nxU脪掳娄Vb炉WUnW聨聛Iml@xn聞Ub么陇聜录脠xlI聞禄職KV職聞@脠脭聜Jk職U臇卤脝Vb@n聹聞V脺VUV聝職L聞w臓l聞kn聞臓@nx掳楼脝聞虏mUw聝@m聧聶m脜Ul炉U脩職脩Um聞Lll聞Il卤職@V聛kw聝W@w掳@U禄聶kU聫贸I掳聝聞禄蘑脩聜L聞聶職`nU臓虏lm聞b么V@n聞JUx脝娄X娄l@職聜艓聧U聝V聛聞@lV聞KV脜聶聫V拢Ua脼U聶聝nW@炉VU@贸聶聧"],encodeOffsets:[[107787,28244]]}},{type:"Feature",id:"5301",properties:{name:"鏄嗘槑甯�",cp:[102.9199,25.4663],childNum:11},geometry:{type:"Polygon",coordinates:["@@n@Vk聜VUn虏掳@x聝掳V聬聝@炉脝V录k@W聨聞脼炉聞@聞@聜VVU聞聞蘑膵掳k录V聞膴x聹陇艑聬聹x掳mVk聝脩脠聫職L聜掳聞x掳X聹掳Vm膴LVxU臇掳bX娄VW@k職券lkn@聞楼ln職聝@禄掳脩聛炉VmlLUwVK@聝V@ka@聧lmXb聞UlVlk脠x@聶聞LVa聞VV聧聶wn聝mm@km聶@m聹IVa脻聫@X聝VU脻炉U@聝脻拢k禄聵K@aUwkKV_聝楼聞a@alU@聫nz掳aV聞脠@@卤l聛脹聫職k@wVakm@脩聜楼聞a聞z聜@Xx脝W@脹X聶@m@聛聝y@aWw@k艒膲聛JlbV聞聛J聝z牛脝UwVkmWk媒m@Ul聶U@b炉wV潞聝U聶VU锚職臓聝XUaUbV膴U聨WXUmkK聶聶WnUUU聶V聶聛聝聝VV聧聶脻@kk卤聜聶炉聝聝L聛k聝職卤WkXlVkl聝@聝wXbmL聛聝聸VUIVmk@Ubma@kkaVKU聝聶kmlXLWn聶J炉脪膴掳@zk潞lLU扭n@@n聸么聛@l脝聛nmKk脠lxVw聞@@m脠x聵@n虏Uxl陇nbVxUzmJ聝脪n職"],encodeOffsets:[[104828,25999]]}},{type:"Feature",id:"5307",properties:{name:"涓芥睙甯�",cp:[100.448,26.955],childNum:5},geometry:{type:"Polygon",coordinates:["@@l聫@聶聞聛@w掳脫U聛n聝脺脩掳w@m膶贸職脻l聛U禄n聫掳聞聞聬V脺UbVbm录@聨掳x么母聹VW娄炉默l聬聹聵@zll@b聞職WxX職聜a聞聬X@脝臓脝aXwl@Xa脝娄n录聵Jn聛@mnKW炉脠禄V炉掳ak聶VanXVwl@VyU臅VU聞b脠墨laUk掳聝k炉l聝虏V聵Uk茮么聫@聝聞I@mVw膴a聞聶聝聧Vaka聞聶脝bU聨VL職aXIWKUw聶聝聞aW脩脜KUaVk掳聝@聧Uw聞聝炉楼聸X臒聫脻Lkm炉I脟聝贸脩炉禄聶a聝nUl卤U牡每l贸脜I聝aU聜卤Ik录U聨Vb炉bWxn掳聶脪VbnLl脼職@@`kbmIk聨Vn聞JmnXl聸@Ux聶bkn@x贸LUxV聨聝K贸贸脜聬W聶聶a脜x聝聨聶w聝@聶n脜m聶職聝V聶聞聝么X聞聝LlVU陇聝b聛娄m录聶聨@膧聝bU聜聞zU脝聜掳聛脼Vb@聞脝bn職職x"],encodeOffsets:[[101937,28227]]}},{type:"Feature",id:"5328",properties:{name:"瑗垮弻鐗堢撼鍌f棌鑷不宸�",cp:[100.8984,21.8628],childNum:3},geometry:{type:"Polygon",coordinates:["@@l虏掳聨n脪lx脼@聞nWl聞L母聶nbV陇V娄kbVV聜娄na聞x掳V么a@聞職b@l么XlWU職VX膶Klm職聬職U@b職WXX脺聸掳L脠a掳LnU掳聜脼n職脩聞摹掳聧l聝nb職a聝炉炉KW聝聹贸@kmK@U職膲V@k聧掳聫聞VV鹿聞a@y聜_聛膵l_n脫lL@anI@聝贸Wl拢VU聴聝l聶k臅l聶職KVw聞U@聶kV聝am炉脜L@b聝聜脻k@Vn聞Ub脟b脻w脜@膵楼炉lk聬聜录脜聨聶脪掳b@娄nlUn@聨脟V聞聬m脝聛bW么U@脻脜艒m聶炉聝aU聶聶mk聛聶WWw聴@卤聝聶n炉U聶猫聶a聶L聝聧炉m聝L聶職kw聝l@掳mn脠脪炉職贸w@V聶x聝膧U陇掳漠聝掳Xl"],encodeOffsets:[[102376,22579]]}},{type:"Feature",id:"5305",properties:{name:"淇濆北甯�",cp:[99.0637,24.9884],childNum:5},geometry:{type:"Polygon",coordinates:["@@X掳聞Il聜@娄聝聨脠录m录脼a脼脜l聞脠xV录職lV么脠脝lL脼拢脠潞lkU聝聜聝Uw聞炉U臅Vw膴@n娄mlnV母IW脟掳Ln聝Uwl聶職V聞n@lnU聵聞nJ脼聛l卤U聶炉LV聧Ua掳脻聞U聞脟膴媒職V扭茅聞Llx脼L聞膧脺l虏膲掳KUaV聝聶_殴茅@klw炉聝l聫脜聴職聫W拢脜yU聛聶W@w聝knal楼Uw@w聶U聝聝k炉聝w炉aW卤k_mJ聛a聶XV脪聶臓Wb炉L炉脻@w聶wU聝炉聧卤Wk_摹聝聛w聝w艒Kmb@陇聞bk掳l臇聝么聞聬UJ聝職Vn脜l钮聧U職炉掳VbnbWxX聞m聞脼職職WU膧聶L聶yWz脹KmbUxVKkn脻聝k聨V聬職膧膵陇Ux聞聬@聨炉聨m@聝娄"],encodeOffsets:[[100440,25943]]}},{type:"Feature",id:"5304",properties:{name:"鐜夋邯甯�",cp:[101.9312,23.8898],childNum:9},geometry:{type:"Polygon",coordinates:["@@l聞聞L掳xXlWxXnlw聞a聞牛la脼l脝默nX聞聝掳wVw聞l聞@m聶nw掳VVIXllK職bnnV掳lbU聞UJ@脠脟KVb聴職@bW聞掳Vk娄kaWb掳職kxV陇脠录U掳么I@llbl職虏聧職@聜@聹贸@mm@V牛kKl鹿@y膲炉掳脩職IXmWKnk職lV聞ULlb@lnbVal@UnVJ聹U聜聞nKWa聞x聞@lkkUlW虏X聞聶聜l聞K掳聞聛職l虏@l職脼U聨聞U聜聞U職V職VVXm職職lLVnXWV聧U膲VaVb聞W聶臒V茅職U聞VU鹿W禄聛aVa聞aW聶X聝聜_U楼n聧脟姆炉聶@a聶lUn脟聧Uyk@@wW@kbW娄UK脻wU聧聛mm聝聝LUnVxUVVlk聬炉mmn聝mk聬脟a脜陇炉I@聝l@@a膲w掳臅mU聴L卤聝k聶脝茅X聶脺脹@y脠莽@聧聶脟摹聞脻姆聴Xmm脻V脜聬聶聝聶lmnkbmWkb@nl@n聨m職炉聬VxkJm聬UJ聞聬ml炉聧聶掳makVV聬nV聝娄聶W聝聴聛Wm聬nl@xmn聞l聜I聞陇聞n聶xU聞聝VU聨mX@聵聝b@z聛l@娄脻镁"],encodeOffsets:[[103703,24874]]}},{type:"Feature",id:"5333",properties:{name:"鎬掓睙鍌堝兂鏃忚嚜娌诲窞",cp:[99.1516,26.5594],childNum:4},geometry:{type:"Polygon",coordinates:["@@WyX拢lWlnnUU聶聞楼@牛V聶Vw聞Jl脜@w聝m枚贸聶禄聜拢kml炉U楼n鹿脝@ny@wmU@炉m聫nam脹n聝職UV楼脠n臓y虏聹m陇聞@脝贸n脻職nmlnb脼U聜楼聞aV拢kU聞KW聝聞贸職聝mIU楼贸k聛wV贸l聝聶禄炉聶聝L聶聝k@m聶naWK脹w贸脩職w@a卤n聴@VbUJ聸Lka聝脻X膲聝聶聞UV`lI@lnX脝茟kKmx脹XmlUKV聧mU虏Klw@a聶a贸聞@n聶KXwVKU炉V楼mUnkm楼膲@UxV臇聝掳Vx聛聞V聞klm脼聶聬kKW膧kVW職nl掳Lnm@聛掳聨UxlV@nk娄聶JV脠掳聨V脪@nX掳@脝l聬U么mln么聝虏nxm艂nVV聞炉x@脠m掳XblVU職l掳@xkXU陇WXX聜W聞X脝聝聞mk脜Jm脼聛w卤b聝xU墨kKm聛脜VU臇脻猫V聞kx@職聸lX聞lnk陇聝Lk聨聜臇k娄聜xU職職L掳聜炉臇@LnK@b掳xVI聞楼Ua掳脩@禄nm@鹿聜K艓脼脠Wln虏n"],encodeOffsets:[[101071,28891]]}},{type:"Feature",id:"5331",properties:{name:"寰峰畯鍌f棌鏅鏃忚嚜娌诲窞",cp:[98.1299,24.5874],childNum:5},geometry:{type:"Polygon",coordinates:["@@聞楼n@掳聧@聧聝聫Vw膶拢聶每U聫l聧脼聞lmULVwna脺LXy職z職KV每聶X脻聶n聝W聝XwmaUa掳炉V聶纽聨脝kUm聞聶VI聝聫聞贸k臅l炉聝a@拢nama聶@炉m炉聹贸@贸y牛b摹k脜m卤聧脹ammVk聝L聛wU`Wk@V聝kUm脜聝lUUKmbkkUVUw聝娄贸聨掳录職bn掳么娄l潞聝z@x職聨炉聞聶@U聨掳n聝職U陇牛U聞掳V茊@脠mlnz脼l掳娄脝a聞xUx聝LkxW茠n@聜職虏虐職W聞聶聜@掳脠Xl掳Llx"],encodeOffsets:[[100440,25943]]}}],UTF8Encoding:!0}}),i("echarts/util/mapData/geoJson/zhe_jiang_geo",[],function(){return{type:"FeatureCollection",features:[{type:"Feature",id:"3311",properties:{name:"涓芥按甯�",cp:[119.5642,28.1854],childNum:9},geometry:{type:"Polygon",coordinates:["@@@V聜bVl@Xn聜UX聝KV聨@娄nxlUXV聜n聞KVmnL聜聬UV@bn陇lLXK聵虏聞`nnlJXIVJ聜I聞Vnn掳KnnVll@VLXWV@UkVaVK聞zV@聞聝職VVaUK@聛U禄VUl@@WnUU聝@wVLn@Vwl@XW掳LVbn@VU聜@X聞l`@XnKVbkl@XVJlUnlV聞聞xlL@lnXl聞@V職UnV掳聫掳聞@a聞UVLXblWVXn@VVUV@L職陇VLV聞U聜VbnalLUUV聫X_laVa聞WVzXKV@@a@KU聧mImmXama@k聛U@yVIUK聜aVa@kXK@aWU@V聛IUmW@kkVm聞U職@VwUa@K@k@U聝`@kUKVk@UV@VaUm虏聛Vy@klUUWUkVmUa@_聝KVaXa聸聛Xm聝U@mU聛lWkaUX聝@mmkL@w聶J聝nVV脜bWKXa聶@@I@a聝JUU脟@V聞UL聶W@akLmb@K@a聶XXw@m聝VmUVkUy@拢@aU@@VkUWm@kUK聝XUWU_mW@wkkmJUUkLWWUX聝W@IkJ@k@mW_k脫聝_Ul聶L聝m@I@aUa炉m@k聝a炉LUJ聝@mVVxUb聶a@LUKkX聝bm@Uak@@a@Um`聝IUbUJ@nUVW@@LnVV@l職UbVlUX@`聛職@blXklW聞U職m聞Xlm娄U@@V炉bml@職@nUb@llnn@VbX@lV@聨UVULmU@JVn聞bVbkb聶VWxU@@nUVk@"],encodeOffsets:[[121546,28992]]}},{type:"Feature",id:"3301",properties:{name:"鏉窞甯�",cp:[119.5313,29.8773],childNum:6},geometry:{type:"Polygon",coordinates:["@@X@l聞掳KXXlW聞b@虏聞`職職職b聜I聞職X`l@聞聬@bWl@n@VnLUV@V聞@掳娄@職l@XVlU@職@xVbUb@Vkb@聜@XVJVz聶J@L脼職@VmLUxUJ@LU聞Vx聜b聞xXUl@Va脠w聞b聜a脼a@Vl@XUVx@V@V聞LlbnV聞al@lb聞Vnn聜LnKnL@VlbVJXalI職b@KUU@mVInJ聵聞U聞Vl@xU職VLnU職@U聫脼aV@lkV@UanK聞L@UlKVUnb脝mn@@nUlVnVJl@@UXU聞L@WVIVJVxVLXV@I脺Knbn@V楼V@@I@聝聝聧聞y掳b@UUwnk掳脝屁VlU職莽Xm聸拢聛a聝脟聶IkV聝@WV聛@@aWIUWUIkb@WW@Un聝K@UU@kaWVk聝VIVVnU@聧UWVUV@VmV聧kKk聧WIkVWaULU`UImJUImm聴U@聝聝wmwUV聶IUWVkUamaU@mV聴k聝b@KVU@aVU@anKULVJ聜U@k脹U聶JUV聸kk聝VakU@聧聝aVwkW@UWkXmWaULUaUK@X聝JUUm聝VU@U聛V聝UkJ@ImwmKU@k聞@lU聞W@@akKm聞kamIkWl_UwVm@UkaVUUa聝@UamakbWlkL@aUalU@mkL@U@U聶lmK@XkKm@脻akb@x聝nXb聝`聝nUUU@聸聶U@聶wU@@聝mKkk聝V炉U@lULUbVbUb@V聜a@L聶潞脻b@b聛LmK聶x@VUL@bk@mxULWl"],encodeOffsets:[[121185,30184]]}},{type:"Feature",id:"3303",properties:{name:"娓╁窞甯�",cp:[120.498,27.8119],childNum:9},geometry:{type:"Polygon",coordinates:["@@ll@xnXV`VX聞WVL@lXnlV@UV@@b@陇VzUlnV聞U@nWx職W@b@LnalK@b職XVKU聝脠@VV聞I@b@J職@WbXL脝aUU聞m職I@xlKnn聞@VWlbkXV聜@n聞VWn聹聜WbUb聞L@`VbUnVlVXkV@lUz卤聜VnUbU@@VUlVL@l聞_@V@l@LVbV@XLV`V脠lxn@lU@a聹aVV聜k聞@XJ@nl@@LU`掳LVb聞L掳a@a聞UVy@anI@a聞a聜nV@虏w脺JX@V職VV掳k聞聧na@WVk聞aWw聛U@m@聶聝k聝aU臅聶脻職脻扭n脠a聞a贸I聸禄@卤X聶WkU姆@kV卤kw聶聝UkWw聞聶U聝脻禄脹k沙l聛ImaUaW贸X每乾k聜UnWV聧mm聛k聶K牛n艔脼臒l聶聞UlUx@XWb聞V@JkX聝掳mb@VULVxUVk@@LWWk@WIk職聝UkJmUkVmI@y聝@Ua聶聧kLm聜U@mUUUkaVk聶@mK@U聛lUU@UmKmbUUUJ@n@KVLUL@VkJWXX`mnULWlkL@JVLVb@掳kxkU@LV聨聶V@聞VLV`UL@VUX"],encodeOffsets:[[122502,28334]]}},{type:"Feature",id:"3302",properties:{name:"瀹佹尝甯�",cp:[121.5967,29.6466],childNum:6},geometry:{type:"Polygon",coordinates:["@@膴娄母膧掳聜nX脼V職K職k屁茟藕每掳禄n聧聞聧@w么楼脺b聹U掳聫脝X脼W贸莽膲脻卤IU聝脠楼@U掳w脝禄虏mm_@aX聝VK脼Vlk@akk聸虆@拢X禄Vw脝聫X聛Wa炉a葪b聶K平虐聝膴聶x聝L贸聨k@聝聝聝@炉n聝KUL@xkL聸脩kWULUUmJUXV聨U@m聨UX炉@V`mbXbV@@nn陇WX職x@職kJ@nVVUVl虏Ub脻VUVk@Wx@V@聞聝VXzml聛a聝L@VlLU`聞XUVVVUnl@VbnJlnUVVn聝lUKkbmnn聞VxlJnxmbU@UL@KUV聶X@xmb@lk@mnVVU職聶猫"],encodeOffsets:[[123784,30977]]}},{type:"Feature",id:"3309",properties:{name:"鑸熷北甯�",cp:[122.2559,30.2234],childNum:3},geometry:{type:"Polygon",coordinates:["@@l微茠聬薁镁脝V蘑L膴聝乾X膴脺聞X么V聞脩脝w聞聝l聫職茝脠贸V沫V菗@聝膲w蓻kmK@膲X墨Wa膲U牡脻m聝炉膲聝w膲卤卤n脜录炉x@V脟娄V聞虏J膴脼么猫脻X脜W炉聬聸V脹a贸娄@x聝聨m聨炉录殴膧"],
+encodeOffsets:[[124437,30983]]}},{type:"Feature",id:"3310",properties:{name:"鍙板窞甯�",cp:[121.1353,28.6688],childNum:7},geometry:{type:"Polygon",coordinates:["@@lV聞IVWVz@bXJl@Xal@掳聞nLll@nVxnV聞K@聬UJVb聝娄掳聞k`UIWJXn脝職@bUJ聞Xl@lb聞Wn@UzVV@bVV職mVnnJVXna聜b職KUKnUVVUnVLlKVLXa聞Jm拢@mU@WanaU_掳@VWn聧V@U聧VWnIVVVKlX聹脪lK@wVK聞L掳m聞@聞聞l@么聧聞K職w聞膲凭暖U聝l拢@禄U聫聝聧Vk聞m@茀U聝聝a脹I艔mUk@m聞w@a聶拢聝Wk@牛職聝Im卤@ank么UlaU聶Uw炉聝艒a聝b脟b牛m聶脼職脼V臇聞b聞l@職@n聜VXx聝bUl@Xmb聝聨炉lUUU聶W@脹I卤xU@聛m聝b@bmJ@bUz聝V@b炉b聝KUa炉KV_@Kk@@mWI聝@聛lUU聸b@bkVm@kwU脟U_WKU@Ux聶@聝VUnllX@Vn聜J@UXV@bWL@lUb聛bVLUJ@z聜V@lnbWbnnnJV聨@L"],encodeOffsets:[[123312,29526]]}},{type:"Feature",id:"3307",properties:{name:"閲戝崕甯�",cp:[120.0037,29.1028],childNum:8},geometry:{type:"Polygon",coordinates:["@@nbVb聞@VbUVlb@VUnVxk`lXnJlbn聝lL@bX@V聝@kl聝V@nLnx@JlI聞V聜U@VUVn聞VV聞I@WVLVbVKXbWnXl@VlXUx聞b@聨lVUbl聞聹lVU職I脺VnalKX@@bV@@aUUlU聝wUw聞@naWW聞UVaUU職aVb聞LlxXJVk掳聝U聝lkU楼@k聞a@LVlXLVl職VWznVn@lx職Jl_@WX_@mVa聞a@alU@kVVna聞KVLlK聞b@UUaVa職bnUWmXU@k@yVI@a脜聶WmXIVJl_炉聝聞楼UaVI@聫聝LmUUw@mkkmK炉聝k@Wbk@WI@aUyUX聝JkU@bU@WLUy聝XUbkbW`U聬VVkKmbUaV聛U聝UK聶拢@KVUUUm@UWkXWaUK聝V@b炉聝炉聬mU聶V@Uk聝mW@kkK聝wU聝mkkVUI@WlkUamL@Wk_W聝聛@UVm@Ua炉KWXk@Uxm@UK@xV聞mV@Xk@UVV录@聜VLUb聶U聝聞U@聝yULUbVlU@@XlVUVVb聝U@lXXVW@XUVl@@VUV聝脠n@VVU聞@lVa@聞U聞mL@`聛X@`WL@VUX@lUL@xlx"],encodeOffsets:[[122119,29948]]}},{type:"Feature",id:"3308",properties:{name:"琛㈠窞甯�",cp:[118.6853,28.8666],childNum:5},geometry:{type:"Polygon",coordinates:["@@XkVKnwl@@aVK@U職wnL聜K@a脼a職鹿@K聛b@UVaUaVaVK@k掳V聞UllnL@聞V@職xV@聹職V@VV聞m聞_Wa聞m@wla脼bn@lL@WnL職k@V@VlK@nkVVb@blKXklakw@wVK@kVW@UXK@_聜W@_nKV聝@聝Ub@kV聝UUm@聞脟VU@Uk@VU@WUXWW@k聞VUaVUkU@WWXUKk@Ukmm炉Lmm聝U聛JUIWJkImm聝_聴卤WLkKm拢@aVU聛聫mKUn聝L聛mWUkVmw@楼U聧聞LVWm聛@WUk聛a@Um聫mL聛mm@@bUX聶@@WUIm@UVUK@UVUUU聶VVJmb@b聞Xn聜mV聝录nnn娄mJUV聝L聞V@VW@UzUlVnUbl`UnVl@XU@kl@bm脠Ux聶Vk@@J@聞聝录W@脜aVVnzmV聝聞聛@WJk@k聬WJ@聬聝lXbWbXxmVn職lLXb@掳lKVXnW職bWV聞聞X聞mbV@Xl聜b職I@Kn@@x@職VLlm"],encodeOffsets:[[121185,30184]]}},{type:"Feature",id:"3306",properties:{name:"缁嶅叴甯�",cp:[120.564,29.7565],childNum:6},geometry:{type:"Polygon",coordinates:["@@聞x@聞聵VnnVJnIVJV_VKXblUXJl聨lLU聨UnU@UVVX@聨mVUUUJl聞XUlbV@@V聞LVmX@@XlaVJVXXJ@b聜@XU聞@lU職J聞脠聜b聹陇艑聧聞J職莽V聶UUnml@@kna@w職WVU@LVKV@namwkIUwm聝nmlaVL聞kUmVUkmmIUak@VmUUVU聝WV_kK@U聞K聜bnkWy聞U@聝@UXwl@VU脼UVak卤VUUU@mlI@聶聶wXW聝IWbUKkLUKVmUUmVVL聶L聛ambUWmIUm聶nUU@aUUVym@聝Xkak@聝W@z@lWVXnmV聶aUbVb@V聝akLUK聝LmbUU@lkV@b聝bUb@nW`@Xk`聶Ikwm@mUXy聶UUkWKUk@K聝b@lV娄klV聞炉聞UlWIkw聝KUa聶bVVUb聝VXXmb聝@Vx聞xkVVV@bU@@aW@kLmb@l聛VUIVKmL@bUV@bUV@L聞a聵lnUV@nbVbUlVX職JVUnx"],encodeOffsets:[[122997,30561]]}},{type:"Feature",id:"3304",properties:{name:"鍢夊叴甯�",cp:[120.9155,30.6354],childNum:6},geometry:{type:"Polygon",coordinates:["@@@blIX@@V脺VUnn@l聜k聞lKnI掳脼l`虏LVKVbnbVaVLUVn@W娄@VkVVb聞@VI聞`@blLnL聜aX@聞VVb@U聜@XlVa聞@@kVaUKV禄U_lWXU聝聝@alb聞k@VllnLVKn@@UVIUw@y掳IVVXU@VV@lw聞m@wVk凭a聹J聜Lk巍僻茠聶l聶L脻UmW炉聛姆每膲楼聝I艐聨Wn聶猫kV僻U炉脜mlVx@V炉a聝z聞聨@聞@JU@U娄m@@職nVmn@V聞LV聜"],encodeOffsets:[[123233,31382]]}},{type:"Feature",id:"3305",properties:{name:"婀栧窞甯�",cp:[119.8608,30.7782],childNum:4},geometry:{type:"Polygon",coordinates:["@@kLl聝k聛m@Vm脹U@UW@kJ@aU聛聝K@UnmmU@聶ma脹L@JWUUKUwUIUJ@X聝KWV@Vk@UIUmVk@mm@脜nmaUVkL@V聝KmLVbU@klU@脻bV聬聶@mVUKV聶@wUkV聝聴聝mIUJ@nVV@L聶akJWbUIka@UmKmL聛Kmm聝UUVk@@nmLX`WXUV@聨@nUl聶kmlU@Ub聞聞聝xVV職IlV聞聨職nn聫聞@@n聵聞U脪職@聞掳n@@xmb@聞VbnV@職職聞@b@`@L@L@x@blVklVbnnV@聜aXb掳VlU@W聞b掳U聞LXWVUV聶聞聶Vw脠w脺禄母a臓nU聫Vw虏X@V@lVU@wlaUUVm@knUV聸"],encodeOffsets:[[123379,31500]]}}],UTF8Encoding:!0}}),i("echarts/chart/gauge",["require","./base","../util/shape/GaugePointer","zrender/shape/Text","zrender/shape/Line","zrender/shape/Rectangle","zrender/shape/Circle","zrender/shape/Sector","../config","../util/ecData","../util/accMath","zrender/tool/util","../chart"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o),this.refresh(a)}var i=e("./base"),n=e("../util/shape/GaugePointer"),a=e("zrender/shape/Text"),o=e("zrender/shape/Line"),r=e("zrender/shape/Rectangle"),s=e("zrender/shape/Circle"),l=e("zrender/shape/Sector"),h=e("../config");h.gauge={zlevel:0,z:2,center:["50%","50%"],clickable:!0,legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#228b22"],[.8,"#48b"],[1,"#ff4500"]],width:30}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,textStyle:{color:"auto"}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},pointer:{show:!0,length:"80%",width:8,color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],textStyle:{color:"#333",fontSize:15}},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:40,offsetCenter:[0,"40%"],textStyle:{color:"auto",fontSize:30}}};var m=e("../util/ecData"),V=e("../util/accMath"),U=e("zrender/tool/util");return t.prototype={type:h.CHART_TYPE_GAUGE,_buildShape:function(){var e=this.series;this._paramsMap={},this.selectedMap={};for(var t=0,i=e.length;i>t;t++)e[t].type===h.CHART_TYPE_GAUGE&&(this.selectedMap[e[t].name]=!0,e[t]=this.reformOption(e[t]),this.legendHoverLink=e[t].legendHoverLink||this.legendHoverLink,this._buildSingleGauge(t),this.buildMark(t));this.addShapeList()},_buildSingleGauge:function(e){var t=this.series[e];this._paramsMap[e]={center:this.parseCenter(this.zr,t.center),radius:this.parseRadius(this.zr,t.radius),startAngle:t.startAngle.toFixed(2)-0,endAngle:t.endAngle.toFixed(2)-0},this._paramsMap[e].totalAngle=this._paramsMap[e].startAngle-this._paramsMap[e].endAngle,this._colorMap(e),this._buildAxisLine(e),this._buildSplitLine(e),this._buildAxisTick(e),this._buildAxisLabel(e),this._buildPointer(e),this._buildTitle(e),this._buildDetail(e)},_buildAxisLine:function(e){var t=this.series[e];if(t.axisLine.show)for(var i,n,a=t.min,o=t.max-a,r=this._paramsMap[e],s=r.center,l=r.startAngle,h=r.totalAngle,V=r.colorArray,U=t.axisLine.lineStyle,d=this.parsePercent(U.width,r.radius[1]),p=r.radius[1],c=p-d,u=l,y=0,g=V.length;g>y;y++)n=l-h*(V[y][0]-a)/o,i=this._getSector(s,c,p,n,u,V[y][1],U,t.zlevel,t.z),u=n,i._animationAdd="r",m.set(i,"seriesIndex",e),m.set(i,"dataIndex",y),this.shapeList.push(i)},_buildSplitLine:function(e){var t=this.series[e];if(t.splitLine.show)for(var i,n,a,r=this._paramsMap[e],s=t.splitNumber,l=t.min,h=t.max-l,m=t.splitLine,V=this.parsePercent(m.length,r.radius[1]),U=m.lineStyle,d=U.color,p=r.center,c=r.startAngle*Math.PI/180,u=r.totalAngle*Math.PI/180,y=r.radius[1],g=y-V,b=0;s>=b;b++)i=c-u/s*b,n=Math.sin(i),a=Math.cos(i),this.shapeList.push(new o({zlevel:t.zlevel,z:t.z+1,hoverable:!1,style:{xStart:p[0]+a*y,yStart:p[1]-n*y,xEnd:p[0]+a*g,yEnd:p[1]-n*g,strokeColor:"auto"===d?this._getColor(e,l+h/s*b):d,lineType:U.type,lineWidth:U.width,shadowColor:U.shadowColor,shadowBlur:U.shadowBlur,shadowOffsetX:U.shadowOffsetX,shadowOffsetY:U.shadowOffsetY}}))},_buildAxisTick:function(e){var t=this.series[e];if(t.axisTick.show)for(var i,n,a,r=this._paramsMap[e],s=t.splitNumber,l=t.min,h=t.max-l,m=t.axisTick,V=m.splitNumber,U=this.parsePercent(m.length,r.radius[1]),d=m.lineStyle,p=d.color,c=r.center,u=r.startAngle*Math.PI/180,y=r.totalAngle*Math.PI/180,g=r.radius[1],b=g-U,f=0,k=s*V;k>=f;f++)f%V!==0&&(i=u-y/k*f,n=Math.sin(i),a=Math.cos(i),this.shapeList.push(new o({zlevel:t.zlevel,z:t.z+1,hoverable:!1,style:{xStart:c[0]+a*g,yStart:c[1]-n*g,xEnd:c[0]+a*b,yEnd:c[1]-n*b,strokeColor:"auto"===p?this._getColor(e,l+h/k*f):p,lineType:d.type,lineWidth:d.width,shadowColor:d.shadowColor,shadowBlur:d.shadowBlur,shadowOffsetX:d.shadowOffsetX,shadowOffsetY:d.shadowOffsetY}})))},_buildAxisLabel:function(e){var t=this.series[e];if(t.axisLabel.show)for(var i,n,o,r,s=t.splitNumber,l=t.min,h=t.max-l,m=t.axisLabel.textStyle,U=this.getFont(m),d=m.color,p=this._paramsMap[e],c=p.center,u=p.startAngle,y=p.totalAngle,g=p.radius[1]-this.parsePercent(t.splitLine.length,p.radius[1])-5,b=0;s>=b;b++)r=V.accAdd(l,V.accMul(V.accDiv(h,s),b)),i=u-y/s*b,n=Math.sin(i*Math.PI/180),o=Math.cos(i*Math.PI/180),i=(i+360)%360,this.shapeList.push(new a({zlevel:t.zlevel,z:t.z+1,hoverable:!1,style:{x:c[0]+o*g,y:c[1]-n*g,color:"auto"===d?this._getColor(e,r):d,text:this._getLabelText(t.axisLabel.formatter,r),textAlign:i>=110&&250>=i?"left":70>=i||i>=290?"right":"center",textBaseline:i>=10&&170>=i?"top":i>=190&&350>=i?"bottom":"middle",textFont:U,shadowColor:m.shadowColor,shadowBlur:m.shadowBlur,shadowOffsetX:m.shadowOffsetX,shadowOffsetY:m.shadowOffsetY}}))},_buildPointer:function(e){var t=this.series[e];if(t.pointer.show){var i=t.max-t.min,a=t.pointer,o=this._paramsMap[e],r=this.parsePercent(a.length,o.radius[1]),l=this.parsePercent(a.width,o.radius[1]),h=o.center,V=this._getValue(e);V=V<t.max?V:t.max;var U=(o.startAngle-o.totalAngle/i*(V-t.min))*Math.PI/180,d="auto"===a.color?this._getColor(e,V):a.color,p=new n({zlevel:t.zlevel,z:t.z+1,clickable:this.query(t,"clickable"),style:{x:h[0],y:h[1],r:r,startAngle:o.startAngle*Math.PI/180,angle:U,color:d,width:l,shadowColor:a.shadowColor,shadowBlur:a.shadowBlur,shadowOffsetX:a.shadowOffsetX,shadowOffsetY:a.shadowOffsetY},highlightStyle:{brushType:"fill",width:l>2?2:l/2,color:"#fff"}});m.pack(p,this.series[e],e,this.series[e].data[0],0,this.series[e].data[0].name,V),this.shapeList.push(p),this.shapeList.push(new s({zlevel:t.zlevel,z:t.z+2,hoverable:!1,style:{x:h[0],y:h[1],r:a.width/2.5,color:"#fff"}}))}},_buildTitle:function(e){var t=this.series[e];if(t.title.show){var i=t.data[0],n=null!=i.name?i.name:"";if(""!==n){var o=t.title,r=o.offsetCenter,s=o.textStyle,l=s.color,h=this._paramsMap[e],m=h.center[0]+this.parsePercent(r[0],h.radius[1]),V=h.center[1]+this.parsePercent(r[1],h.radius[1]);this.shapeList.push(new a({zlevel:t.zlevel,z:t.z+(Math.abs(m-h.center[0])+Math.abs(V-h.center[1])<2*s.fontSize?2:1),hoverable:!1,style:{x:m,y:V,color:"auto"===l?this._getColor(e):l,text:n,textAlign:"center",textFont:this.getFont(s),shadowColor:s.shadowColor,shadowBlur:s.shadowBlur,shadowOffsetX:s.shadowOffsetX,shadowOffsetY:s.shadowOffsetY}}))}}},_buildDetail:function(e){var t=this.series[e];if(t.detail.show){var i=t.detail,n=i.offsetCenter,a=i.backgroundColor,o=i.textStyle,s=o.color,l=this._paramsMap[e],h=this._getValue(e),m=l.center[0]-i.width/2+this.parsePercent(n[0],l.radius[1]),V=l.center[1]+this.parsePercent(n[1],l.radius[1]);this.shapeList.push(new r({zlevel:t.zlevel,z:t.z+(Math.abs(m+i.width/2-l.center[0])+Math.abs(V+i.height/2-l.center[1])<o.fontSize?2:1),hoverable:!1,style:{x:m,y:V,width:i.width,height:i.height,brushType:"both",color:"auto"===a?this._getColor(e,h):a,lineWidth:i.borderWidth,strokeColor:i.borderColor,shadowColor:i.shadowColor,shadowBlur:i.shadowBlur,shadowOffsetX:i.shadowOffsetX,shadowOffsetY:i.shadowOffsetY,text:this._getLabelText(i.formatter,h),textFont:this.getFont(o),textPosition:"inside",textColor:"auto"===s?this._getColor(e,h):s}}))}},_getValue:function(e){return this.getDataFromOption(this.series[e].data[0])},_colorMap:function(e){var t=this.series[e],i=t.min,n=t.max-i,a=t.axisLine.lineStyle.color;a instanceof Array||(a=[[1,a]]);for(var o=[],r=0,s=a.length;s>r;r++)o.push([a[r][0]*n+i,a[r][1]]);this._paramsMap[e].colorArray=o},_getColor:function(e,t){null==t&&(t=this._getValue(e));for(var i=this._paramsMap[e].colorArray,n=0,a=i.length;a>n;n++)if(i[n][0]>=t)return i[n][1];return i[i.length-1][1]},_getSector:function(e,t,i,n,a,o,r,s,h){return new l({zlevel:s,z:h,hoverable:!1,style:{x:e[0],y:e[1],r0:t,r:i,startAngle:n,endAngle:a,brushType:"fill",color:o,shadowColor:r.shadowColor,shadowBlur:r.shadowBlur,shadowOffsetX:r.shadowOffsetX,shadowOffsetY:r.shadowOffsetY}})},_getLabelText:function(e,t){if(e){if("function"==typeof e)return e.call(this.myChart,t);if("string"==typeof e)return e.replace("{value}",t)}return t},refresh:function(e){e&&(this.option=e,this.series=e.series),this.backupShapeList(),this._buildShape()}},U.inherits(t,i),e("../chart").define("gauge",t),t}),i("echarts/util/shape/GaugePointer",["require","zrender/shape/Base","zrender/tool/util","./normalIsCover"],function(e){function t(e){i.call(this,e)}var i=e("zrender/shape/Base"),n=e("zrender/tool/util");return t.prototype={type:"gauge-pointer",buildPath:function(e,t){var i=t.r,n=t.width,a=t.angle,o=t.x-Math.cos(a)*n*(n>=i/3?1:2),r=t.y+Math.sin(a)*n*(n>=i/3?1:2);a=t.angle-Math.PI/2,e.moveTo(o,r),e.lineTo(t.x+Math.cos(a)*n,t.y-Math.sin(a)*n),e.lineTo(t.x+Math.cos(t.angle)*i,t.y-Math.sin(t.angle)*i),e.lineTo(t.x-Math.cos(a)*n,t.y+Math.sin(a)*n),e.lineTo(o,r)},getRect:function(e){if(e.__rect)return e.__rect;var t=2*e.width,i=e.x,n=e.y,a=i+Math.cos(e.angle)*e.r,o=n-Math.sin(e.angle)*e.r;return e.__rect={x:Math.min(i,a)-t,y:Math.min(n,o)-t,width:Math.abs(i-a)+t,height:Math.abs(n-o)+t},e.__rect},isCover:e("./normalIsCover")},n.inherits(t,i),t}),i("echarts/chart/funnel",["require","./base","zrender/shape/Text","zrender/shape/Line","zrender/shape/Polygon","../config","../util/ecData","../util/number","zrender/tool/util","zrender/tool/color","zrender/tool/area","../chart"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o),this.refresh(a)}var i=e("./base"),n=e("zrender/shape/Text"),a=e("zrender/shape/Line"),o=e("zrender/shape/Polygon"),r=e("../config");r.funnel={zlevel:0,z:2,clickable:!0,legendHoverLink:!0,x:80,y:60,x2:80,y2:60,min:0,max:100,minSize:"0%",maxSize:"100%",sort:"descending",gap:0,funnelAlign:"center",itemStyle:{normal:{borderColor:"#fff",borderWidth:1,label:{show:!0,position:"outer"},labelLine:{show:!0,length:10,lineStyle:{width:1,type:"solid"}}},emphasis:{borderColor:"rgba(0,0,0,0)",borderWidth:1,label:{show:!0},labelLine:{show:!0}}}};var s=e("../util/ecData"),l=e("../util/number"),h=e("zrender/tool/util"),m=e("zrender/tool/color"),V=e("zrender/tool/area");return t.prototype={type:r.CHART_TYPE_FUNNEL,_buildShape:function(){var e=this.series,t=this.component.legend;this._paramsMap={},this._selected={},this.selectedMap={};for(var i,n=0,a=e.length;a>n;n++)if(e[n].type===r.CHART_TYPE_FUNNEL){if(e[n]=this.reformOption(e[n]),this.legendHoverLink=e[n].legendHoverLink||this.legendHoverLink,i=e[n].name||"",this.selectedMap[i]=t?t.isSelected(i):!0,!this.selectedMap[i])continue;this._buildSingleFunnel(n),this.buildMark(n)}this.addShapeList()},_buildSingleFunnel:function(e){var t=this.component.legend,i=this.series[e],n=this._mapData(e),a=this._getLocation(e);this._paramsMap[e]={location:a,data:n};for(var o,r=0,s=[],h=0,m=n.length;m>h;h++)o=n[h].name,this.selectedMap[o]=t?t.isSelected(o):!0,this.selectedMap[o]&&!isNaN(n[h].value)&&(s.push(n[h]),r++);if(0!==r){for(var V,U,d,p,c=this._buildFunnelCase(e),u=i.funnelAlign,y=i.gap,g=r>1?(a.height-(r-1)*y)/r:a.height,b=a.y,f="descending"===i.sort?this._getItemWidth(e,s[0].value):l.parsePercent(i.minSize,a.width),k="descending"===i.sort?1:0,x=a.centerX,_=[],h=0,m=s.length;m>h;h++)if(o=s[h].name,this.selectedMap[o]&&!isNaN(s[h].value)){switch(V=m-2>=h?this._getItemWidth(e,s[h+k].value):"descending"===i.sort?l.parsePercent(i.minSize,a.width):l.parsePercent(i.maxSize,a.width),u){case"left":U=a.x;break;case"right":U=a.x+a.width-f;break;default:U=x-f/2}d=this._buildItem(e,s[h]._index,t?t.getColor(o):this.zr.getColor(s[h]._index),U,b,f,V,g,u),b+=g+y,p=d.style.pointList,_.unshift([p[0][0]-10,p[0][1]]),_.push([p[1][0]+10,p[1][1]]),0===h&&(0===f?(p=_.pop(),"center"==u&&(_[0][0]+=10),"right"==u&&(_[0][0]=p[0]),_[0][1]-="center"==u?10:15,1==m&&(p=d.style.pointList)):(_[_.length-1][1]-=5,_[0][1]-=5)),f=V}c&&(_.unshift([p[3][0]-10,p[3][1]]),_.push([p[2][0]+10,p[2][1]]),0===f?(p=_.pop(),"center"==u&&(_[0][0]+=10),"right"==u&&(_[0][0]=p[0]),_[0][1]+="center"==u?10:15):(_[_.length-1][1]+=5,_[0][1]+=5),c.style.pointList=_)}},_buildFunnelCase:function(e){var t=this.series[e];if(this.deepQuery([t,this.option],"calculable")){var i=this._paramsMap[e].location,n=10,a={hoverable:!1,style:{pointListd:[[i.x-n,i.y-n],[i.x+i.width+n,i.y-n],[i.x+i.width+n,i.y+i.height+n],[i.x-n,i.y+i.height+n]],brushType:"stroke",lineWidth:1,strokeColor:t.calculableHolderColor||this.ecTheme.calculableHolderColor||r.calculableHolderColor}};return s.pack(a,t,e,void 0,-1),this.setCalculable(a),a=new o(a),this.shapeList.push(a),a}},_getLocation:function(e){var t=this.series[e],i=this.zr.getWidth(),n=this.zr.getHeight(),a=this.parsePercent(t.x,i),o=this.parsePercent(t.y,n),r=null==t.width?i-a-this.parsePercent(t.x2,i):this.parsePercent(t.width,i);return{x:a,y:o,width:r,height:null==t.height?n-o-this.parsePercent(t.y2,n):this.parsePercent(t.height,n),centerX:a+r/2}},_mapData:function(e){function t(e,t){return"-"===e.value?1:"-"===t.value?-1:t.value-e.value}function i(e,i){return-t(e,i)}for(var n=this.series[e],a=h.clone(n.data),o=0,r=a.length;r>o;o++)a[o]._index=o;return"none"!=n.sort&&a.sort("descending"===n.sort?t:i),a},_buildItem:function(e,t,i,n,a,o,r,l,h){var m=this.series,V=m[e],U=V.data[t],d=this.getPolygon(e,t,i,n,a,o,r,l,h);s.pack(d,m[e],e,m[e].data[t],t,m[e].data[t].name),this.shapeList.push(d);var p=this.getLabel(e,t,i,n,a,o,r,l,h);s.pack(p,m[e],e,m[e].data[t],t,m[e].data[t].name),this.shapeList.push(p),this._needLabel(V,U,!1)||(p.invisible=!0);var c=this.getLabelLine(e,t,i,n,a,o,r,l,h);this.shapeList.push(c),this._needLabelLine(V,U,!1)||(c.invisible=!0);var u=[],y=[];return this._needLabelLine(V,U,!0)&&(u.push(c.id),y.push(c.id)),this._needLabel(V,U,!0)&&(u.push(p.id),y.push(d.id)),d.hoverConnect=u,p.hoverConnect=y,d},_getItemWidth:function(e,t){var i=this.series[e],n=this._paramsMap[e].location,a=i.min,o=i.max,r=l.parsePercent(i.minSize,n.width),s=l.parsePercent(i.maxSize,n.width);return(t-a)*(s-r)/(o-a)+r},getPolygon:function(e,t,i,n,a,r,s,l,h){var V,U=this.series[e],d=U.data[t],p=[d,U],c=this.deepMerge(p,"itemStyle.normal")||{},u=this.deepMerge(p,"itemStyle.emphasis")||{},y=this.getItemStyleColor(c.color,e,t,d)||i,g=this.getItemStyleColor(u.color,e,t,d)||("string"==typeof y?m.lift(y,-.2):y);switch(h){case"left":V=n;break;case"right":V=n+(r-s);break;default:V=n+(r-s)/2}var b={zlevel:U.zlevel,z:U.z,clickable:this.deepQuery(p,"clickable"),style:{pointList:[[n,a],[n+r,a],[V+s,a+l],[V,a+l]],brushType:"both",color:y,lineWidth:c.borderWidth,strokeColor:c.borderColor},highlightStyle:{color:g,lineWidth:u.borderWidth,strokeColor:u.borderColor}};return this.deepQuery([d,U,this.option],"calculable")&&(this.setCalculable(b),b.draggable=!0),new o(b)},getLabel:function(e,t,i,a,o,r,s,l,U){var d,p=this.series[e],c=p.data[t],u=this._paramsMap[e].location,y=h.merge(h.clone(c.itemStyle)||{},p.itemStyle),g="normal",b=y[g].label,f=b.textStyle||{},k=y[g].labelLine.length,x=this.getLabelText(e,t,g),_=this.getFont(f),L=i;b.position=b.position||y.normal.label.position,"inner"===b.position||"inside"===b.position||"center"===b.position?(d=U,L=Math.max(r,s)/2>V.getTextWidth(x,_)?"#fff":m.reverse(i)):d="left"===b.position?"right":"left";var W={zlevel:p.zlevel,z:p.z+1,style:{x:this._getLabelPoint(b.position,a,u,r,s,k,U),y:o+l/2,color:f.color||L,text:x,textAlign:f.align||d,textBaseline:f.baseline||"middle",textFont:_}};return g="emphasis",b=y[g].label||b,f=b.textStyle||f,k=y[g].labelLine.length||k,b.position=b.position||y.normal.label.position,x=this.getLabelText(e,t,g),_=this.getFont(f),L=i,"inner"===b.position||"inside"===b.position||"center"===b.position?(d=U,L=Math.max(r,s)/2>V.getTextWidth(x,_)?"#fff":m.reverse(i)):d="left"===b.position?"right":"left",W.highlightStyle={x:this._getLabelPoint(b.position,a,u,r,s,k,U),color:f.color||L,text:x,textAlign:f.align||d,textFont:_,brushType:"fill"},new n(W)},getLabelText:function(e,t,i){var n=this.series,a=n[e],o=a.data[t],r=this.deepQuery([o,a],"itemStyle."+i+".label.formatter");return r?"function"==typeof r?r.call(this.myChart,{seriesIndex:e,seriesName:a.name||"",series:a,dataIndex:t,data:o,name:o.name,value:o.value}):"string"==typeof r?r=r.replace("{a}","{a0}").replace("{b}","{b0}").replace("{c}","{c0}").replace("{a0}",a.name).replace("{b0}",o.name).replace("{c0}",o.value):void 0:o.name},getLabelLine:function(e,t,i,n,o,r,s,l,m){var V=this.series[e],U=V.data[t],d=this._paramsMap[e].location,p=h.merge(h.clone(U.itemStyle)||{},V.itemStyle),c="normal",u=p[c].labelLine,y=p[c].labelLine.length,g=u.lineStyle||{},b=p[c].label;b.position=b.position||p.normal.label.position;var f={zlevel:V.zlevel,z:V.z+1,hoverable:!1,style:{xStart:this._getLabelLineStartPoint(n,d,r,s,m),yStart:o+l/2,xEnd:this._getLabelPoint(b.position,n,d,r,s,y,m),yEnd:o+l/2,strokeColor:g.color||i,lineType:g.type,lineWidth:g.width}};return c="emphasis",u=p[c].labelLine||u,y=p[c].labelLine.length||y,g=u.lineStyle||g,b=p[c].label||b,b.position=b.position,f.highlightStyle={xEnd:this._getLabelPoint(b.position,n,d,r,s,y,m),strokeColor:g.color||i,lineType:g.type,lineWidth:g.width},new a(f)},_getLabelPoint:function(e,t,i,n,a,o,r){switch(e="inner"===e||"inside"===e?"center":e){case"center":return"center"==r?t+n/2:"left"==r?t+10:t+n-10;case"left":return"auto"===o?i.x-10:"center"==r?i.centerX-Math.max(n,a)/2-o:"right"==r?t-(a>n?a-n:0)-o:i.x-o;default:return"auto"===o?i.x+i.width+10:"center"==r?i.centerX+Math.max(n,a)/2+o:"right"==r?i.x+i.width+o:t+Math.max(n,a)+o}},_getLabelLineStartPoint:function(e,t,i,n,a){return"center"==a?t.centerX:n>i?e+Math.min(i,n)/2:e+Math.max(i,n)/2},_needLabel:function(e,t,i){return this.deepQuery([t,e],"itemStyle."+(i?"emphasis":"normal")+".label.show")},_needLabelLine:function(e,t,i){return this.deepQuery([t,e],"itemStyle."+(i?"emphasis":"normal")+".labelLine.show")},refresh:function(e){e&&(this.option=e,this.series=e.series),this.backupShapeList(),this._buildShape()}},h.inherits(t,i),e("../chart").define("funnel",t),t}),i("echarts/chart/eventRiver",["require","./base","../layout/eventRiver","zrender/shape/Polygon","../component/axis","../component/grid","../component/dataZoom","../config","../util/ecData","../util/date","zrender/tool/util","zrender/tool/color","../chart"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o);var r=this;r._ondragend=function(){r.isDragend=!0},this.refresh(a)}var i=e("./base"),n=e("../layout/eventRiver"),a=e("zrender/shape/Polygon");e("../component/axis"),e("../component/grid"),e("../component/dataZoom");var o=e("../config");o.eventRiver={zlevel:0,z:2,clickable:!0,legendHoverLink:!0,itemStyle:{normal:{borderColor:"rgba(0,0,0,0)",borderWidth:1,label:{show:!0,position:"inside",formatter:"{b}"}},emphasis:{borderColor:"rgba(0,0,0,0)",borderWidth:1,label:{show:!0}}}};var r=e("../util/ecData"),s=e("../util/date"),l=e("zrender/tool/util"),h=e("zrender/tool/color");return t.prototype={type:o.CHART_TYPE_EVENTRIVER,_buildShape:function(){var e=this.series;this.selectedMap={},this._dataPreprocessing();for(var t=this.component.legend,i=[],a=0;a<e.length;a++)if(e[a].type===this.type){e[a]=this.reformOption(e[a]),this.legendHoverLink=e[a].legendHoverLink||this.legendHoverLink;var o=e[a].name||"";if(this.selectedMap[o]=t?t.isSelected(o):!0,!this.selectedMap[o])continue;this.buildMark(a),i.push(this.series[a])}n(i,this._intervalX,this.component.grid.getArea()),this._drawEventRiver(),this.addShapeList()},_dataPreprocessing:function(){for(var e,t,i=this.series,n=0,a=i.length;a>n;n++)if(i[n].type===this.type){e=this.component.xAxis.getAxis(i[n].xAxisIndex||0);for(var o=0,r=i[n].data.length;r>o;o++){t=i[n].data[o].evolution;for(var l=0,h=t.length;h>l;l++)t[l].timeScale=e.getCoord(s.getNewDate(t[l].time)-0),t[l].valueScale=Math.pow(t[l].value,.8)}}this._intervalX=Math.round(this.component.grid.getWidth()/40)},_drawEventRiver:function(){for(var e=this.series,t=0;t<e.length;t++){var i=e[t].name||"";if(e[t].type===this.type&&this.selectedMap[i])for(var n=0;n<e[t].data.length;n++)this._drawEventBubble(e[t].data[n],t,n)}},_drawEventBubble:function(e,t,i){var n=this.series,o=n[t],s=o.name||"",l=o.data[i],m=[l,o],V=this.component.legend,U=V?V.getColor(s):this.zr.getColor(t),d=this.deepMerge(m,"itemStyle.normal")||{},p=this.deepMerge(m,"itemStyle.emphasis")||{},c=this.getItemStyleColor(d.color,t,i,l)||U,u=this.getItemStyleColor(p.color,t,i,l)||("string"==typeof c?h.lift(c,-.2):c),y=this._calculateControlPoints(e),g={zlevel:o.zlevel,z:o.z,clickable:this.deepQuery(m,"clickable"),style:{pointList:y,smooth:"spline",brushType:"both",lineJoin:"round",color:c,lineWidth:d.borderWidth,strokeColor:d.borderColor},highlightStyle:{color:u,lineWidth:p.borderWidth,strokeColor:p.borderColor},draggable:"vertical",ondragend:this._ondragend};g=new a(g),this.addLabel(g,o,l,e.name),r.pack(g,n[t],t,n[t].data[i],i,n[t].data[i].name),this.shapeList.push(g)},_calculateControlPoints:function(e){var t=this._intervalX,i=e.y,n=e.evolution,a=n.length;if(!(1>a)){for(var o=[],r=[],s=0;a>s;s++)o.push(n[s].timeScale),r.push(n[s].valueScale);var l=[];l.push([o[0],i]);var s=0;for(s=0;a-1>s;s++)l.push([(o[s]+o[s+1])/2,r[s]/-2+i]);for(l.push([(o[s]+(o[s]+t))/2,r[s]/-2+i]),l.push([o[s]+t,i]),l.push([(o[s]+(o[s]+t))/2,r[s]/2+i]),s=a-1;s>0;s--)l.push([(o[s]+o[s-1])/2,r[s-1]/2+i]);return l}},ondragend:function(e,t){this.isDragend&&e.target&&(t.dragOut=!0,t.dragIn=!0,t.needRefresh=!1,this.isDragend=!1)},refresh:function(e){e&&(this.option=e,this.series=e.series),this.backupShapeList(),this._buildShape()}},l.inherits(t,i),e("../chart").define("eventRiver",t),t}),i("echarts/layout/eventRiver",["require"],function(){function e(e,i,o){function r(e,t){var i=e.importance,n=t.importance;return i>n?-1:n>i?1:0}for(var s=4,l=0;l<e.length;l++){for(var h=0;h<e[l].data.length;h++){null==e[l].data[h].weight&&(e[l].data[h].weight=1);for(var m=0,V=0;V<e[l].data[h].evolution.length;V++)m+=e[l].data[h].evolution[V].valueScale;e[l].data[h].importance=m*e[l].data[h].weight}e[l].data.sort(r)}for(var l=0;l<e.length;l++){null==e[l].weight&&(e[l].weight=1);for(var m=0,h=0;h<e[l].data.length;h++)m+=e[l].data[h].weight;e[l].importance=m*e[l].weight}e.sort(r);for(var U=Number.MAX_VALUE,d=0,l=0;l<e.length;l++)for(var h=0;h<e[l].data.length;h++)for(var V=0;V<e[l].data[h].evolution.length;V++){var p=e[l].data[h].evolution[V].timeScale;U=Math.min(U,p),d=Math.max(d,p)}U=~~U,d=~~d;for(var c=function(){var e=d-U+1+~~i;if(0>=e)return[0];for(var t=[];e--;)t.push(0);return t}(),u=c.slice(0),y=[],g=0,b=0,l=0;l<e.length;l++)for(var h=0;h<e[l].data.length;h++){var f=e[l].data[h];f.time=[],f.value=[];for(var k,x=0,V=0;V<e[l].data[h].evolution.length;V++)k=e[l].data[h].evolution[V],f.time.push(k.timeScale),f.value.push(k.valueScale),x=Math.max(x,k.valueScale);n(f,i,U),f.y=a(u,f,function(e,t){return e.ypx[t]}),f._offset=a(c,f,function(){return s}),g=Math.max(g,f.y+x),b=Math.max(b,f._offset),y.push(f)}t(y,o,g,b)}function t(e,t,i,n){for(var a=t.height,o=n/a>.5?.5:1,r=t.y,s=(t.height-n)/i,l=0,h=e.length;h>l;l++){var m=e[l];m.y=r+s*m.y+m._offset*o,delete m.time,delete m.value,delete m.xpx,delete m.ypx,delete m._offset;for(var V=m.evolution,U=0,d=V.length;d>U;U++)V[U].valueScale*=s}}function i(e,t,i,n){if(e===i)throw new Error("x0 is equal with x1!!!");if(t===n)return function(){return t};var a=(t-n)/(e-i),o=(n*e-t*i)/(e-i);return function(e){return a*e+o}}function n(e,t,n){var a=~~t,o=e.time.length;e.xpx=[],e.ypx=[];for(var r,s=0,l=0,h=0,m=0,V=0;o>s;s++){l=~~e.time[s],m=e.value[s]/2,s===o-1?(h=l+a,V=0):(h=~~e.time[s+1],V=e.value[s+1]/2),r=i(l,m,h,V);for(var U=l;h>U;U++)e.xpx.push(U-n),e.ypx.push(r(U))}e.xpx.push(h-n),e.ypx.push(V)}function a(e,t,i){for(var n,a=0,o=t.xpx.length,r=0;o>r;r++)n=i(t,r),a=Math.max(a,n+e[t.xpx[r]]);for(r=0;o>r;r++)n=i(t,r),e[t.xpx[r]]=a+n;return a}return e}),i("echarts/chart/venn",["require","./base","zrender/shape/Text","zrender/shape/Circle","zrender/shape/Path","../config","../util/ecData","zrender/tool/util","../chart"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o),this.refresh(a)}var i=e("./base"),n=e("zrender/shape/Text"),a=e("zrender/shape/Circle"),o=e("zrender/shape/Path"),r=e("../config");r.venn={zlevel:0,z:1,calculable:!1};var s=e("../util/ecData"),l=e("zrender/tool/util");return t.prototype={type:r.CHART_TYPE_VENN,_buildShape:function(){this.selectedMap={},this._symbol=this.option.symbolList,this._queryTarget,this._dropBoxList=[],this._vennDataCounter=0;for(var e=this.series,t=this.component.legend,i=0;i<e.length;i++)if(e[i].type===r.CHART_TYPE_VENN){e[i]=this.reformOption(e[i]);var n=e[i].name||"";if(this.selectedMap[n]=t?t.isSelected(n):!0,!this.selectedMap[n])continue;this._buildVenn(i)}this.addShapeList()},_buildVenn:function(e){var t,i,n=this.series[e],a=n.data;a[0].value>a[1].value?(t=this.zr.getHeight()/3,i=t*Math.sqrt(a[1].value)/Math.sqrt(a[0].value)):(i=this.zr.getHeight()/3,t=i*Math.sqrt(a[0].value)/Math.sqrt(a[1].value));var o=this.zr.getWidth()/2-t,r=(t+i)/2*Math.sqrt(a[2].value)/Math.sqrt((a[0].value+a[1].value)/2),s=t+i;0!==a[2].value&&(s=this._getCoincideLength(a[0].value,a[1].value,a[2].value,t,i,r,Math.abs(t-i),t+i));var l=o+s,h=this.zr.getHeight()/2;if(this._buildItem(e,0,a[0],o,h,t),this._buildItem(e,1,a[1],l,h,i),0!==a[2].value&&a[2].value!==a[0].value&&a[2].value!==a[1].value){var m=(t*t-i*i)/(2*s)+s/2,V=s/2-(t*t-i*i)/(2*s),U=Math.sqrt(t*t-m*m),d=0,p=0;a[0].value>a[1].value&&o+m>l&&(p=1),a[0].value<a[1].value&&o+V>l&&(d=1),this._buildCoincideItem(e,2,a[2],o+m,h-U,h+U,t,i,d,p)}},_getCoincideLength:function(e,t,i,n,a,o,r,s){var l=(n*n-a*a)/(2*o)+o/2,h=o/2-(n*n-a*a)/(2*o),m=Math.acos(l/n),V=Math.acos(h/a),U=n*n*Math.PI,d=m*n*n-l*n*Math.sin(m)+V*a*a-h*a*Math.sin(V),p=d/U,c=i/e,u=Math.abs(p/c);return u>.999&&1.001>u?o:.999>=u?(s=o,o=(o+r)/2,this._getCoincideLength(e,t,i,n,a,o,r,s)):(r=o,o=(o+s)/2,this._getCoincideLength(e,t,i,n,a,o,r,s))},_buildItem:function(e,t,i,n,a,o){var r=this.series,l=r[e],h=this.getCircle(e,t,i,n,a,o);if(s.pack(h,l,e,i,t,i.name),this.shapeList.push(h),l.itemStyle.normal.label.show){var m=this.getLabel(e,t,i,n,a,o);s.pack(m,l,e,l.data[t],t,l.data[t].name),this.shapeList.push(m)}},_buildCoincideItem:function(e,t,i,n,a,r,l,h,m,V){var U=this.series,d=U[e],p=[i,d],c=this.deepMerge(p,"itemStyle.normal")||{},u=this.deepMerge(p,"itemStyle.emphasis")||{},y=c.color||this.zr.getColor(t),g=u.color||this.zr.getColor(t),b="M"+n+","+a+"A"+l+","+l+",0,"+m+",1,"+n+","+r+"A"+h+","+h+",0,"+V+",1,"+n+","+a,f={color:y,path:b},k={zlevel:d.zlevel,z:d.z,style:f,highlightStyle:{color:g,lineWidth:u.borderWidth,strokeColor:u.borderColor}};k=new o(k),k.buildPathArray&&(k.style.pathArray=k.buildPathArray(f.path)),s.pack(k,U[e],0,i,t,i.name),this.shapeList.push(k)},getCircle:function(e,t,i,n,o,r){var s=this.series[e],l=[i,s],h=this.deepMerge(l,"itemStyle.normal")||{},m=this.deepMerge(l,"itemStyle.emphasis")||{},V=h.color||this.zr.getColor(t),U=m.color||this.zr.getColor(t),d={zlevel:s.zlevel,z:s.z,clickable:!0,style:{x:n,y:o,r:r,brushType:"fill",opacity:1,color:V},highlightStyle:{color:U,lineWidth:m.borderWidth,strokeColor:m.borderColor}};return this.deepQuery([i,s,this.option],"calculable")&&(this.setCalculable(d),d.draggable=!0),new a(d)},getLabel:function(e,t,i,a,o,r){var s=this.series[e],l=s.itemStyle,h=[i,s],m=this.deepMerge(h,"itemStyle.normal")||{},V="normal",U=l[V].label,d=U.textStyle||{},p=this.getLabelText(t,i,V),c=this.getFont(d),u=m.color||this.zr.getColor(t),y=d.fontSize||12,g={zlevel:s.zlevel,z:s.z,style:{x:a,y:o-r-y,color:d.color||u,text:p,textFont:c,textAlign:"center"}};return new n(g)},getLabelText:function(e,t,i){var n=this.series,a=n[0],o=this.deepQuery([t,a],"itemStyle."+i+".label.formatter");return o?"function"==typeof o?o(a.name,t.name,t.value):"string"==typeof o?(o=o.replace("{a}","{a0}").replace("{b}","{b0}").replace("{c}","{c0}"),o=o.replace("{a0}",a.name).replace("{b0}",t.name).replace("{c0}",t.value)):void 0:t.name},refresh:function(e){e&&(this.option=e,this.series=e.series),this._buildShape()}},l.inherits(t,i),e("../chart").define("venn",t),t}),i("echarts/chart/treemap",["require","./base","zrender/tool/area","zrender/shape/Rectangle","zrender/shape/Text","zrender/shape/Line","../layout/TreeMap","../data/Tree","../config","../util/ecData","zrender/config","zrender/tool/event","zrender/tool/util","zrender/tool/color","../chart"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o),this.refresh(a);var r=this;r._onclick=function(e){return r.__onclick(e)},r.zr.on(V.EVENT.CLICK,r._onclick)}var i=e("./base"),n=e("zrender/tool/area"),a=e("zrender/shape/Rectangle"),o=e("zrender/shape/Text"),r=e("zrender/shape/Line"),s=e("../layout/TreeMap"),l=e("../data/Tree"),h=e("../config");h.treemap={zlevel:0,z:1,calculable:!1,clickable:!0,center:["50%","50%"],size:["80%","80%"],root:"",itemStyle:{normal:{label:{
+show:!0,x:5,y:12,textStyle:{align:"left",color:"#000",fontFamily:"Arial",fontSize:13,fontStyle:"normal",fontWeight:"normal"}},breadcrumb:{show:!0,textStyle:{}},borderWidth:1,borderColor:"#ccc",childBorderWidth:1,childBorderColor:"#ccc"},emphasis:{}}};var m=e("../util/ecData"),V=e("zrender/config"),U=(e("zrender/tool/event"),e("zrender/tool/util")),d=e("zrender/tool/color");return t.prototype={type:h.CHART_TYPE_TREEMAP,refresh:function(e){this.clear(),e&&(this.option=e,this.series=this.option.series),this._treesMap={};for(var t=this.series,i=this.component.legend,n=0;n<t.length;n++)if(t[n].type===h.CHART_TYPE_TREEMAP){t[n]=this.reformOption(t[n]);var a=t[n].name||"";if(this.selectedMap[a]=i?i.isSelected(a):!0,!this.selectedMap[a])continue;this._buildSeries(t[n],n)}},_buildSeries:function(e,t){var i=l.fromOptionData(e.name,e.data);this._treesMap[t]=i;var n=e.root&&i.getNodeById(e.root)||i.root;this._buildTreemap(n,t)},_buildTreemap:function(e,t){for(var i=this.shapeList,n=0;n<i.length;){var a=i[n];m.get(a,"seriesIndex")===t?(this.zr.delShape(i[n]),i.splice(n,1)):n++}for(var o=i.length,r=this.series[t],l=r.itemStyle,h=this.parsePercent(r.size[0],this.zr.getWidth())||400,V=this.parsePercent(r.size[1],this.zr.getHeight())||500,U=this.parseCenter(this.zr,r.center),d=U[0]-.5*h,p=U[1]-.5*V,c=h*V,u=0,y=[],g=e.children,n=0;n<g.length;n++)u+=g[n].data.value;for(var b=0;b<g.length;b++)y.push(g[b].data.value*c/u);for(var f=new s({x:d,y:p,width:h,height:V}),k=f.run(y),x=0;x<k.length;x++){var _=g[x].data,L=k[x],W=[_.itemStyle,l],X=this.deepMerge(W);X.normal.color||(X.normal.color=this.zr.getColor(x)),X.emphasis.color||(X.emphasis.color=X.normal.color),this._buildItem(_,X,L,t,x),_.children&&this._buildChildrenTreemap(_.children,X,L,t)}this.query(r,"itemStyle.normal.breadcrumb.show")&&this._buildBreadcrumb(e,t,d,p+V);for(var n=o;n<i.length;n++)this.zr.addShape(i[n])},_buildItem:function(e,t,i,n,a){var o=this.series,r=this.getRectangle(e,t,i);m.pack(r,o[n],n,e,a,e.name),this.shapeList.push(r)},getRectangle:function(e,t,i){var n=t.emphasis,o=t.normal,r=this.getLabel(t,i,e.name,e.value),s=this.option.hoverable,l={zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:s,clickable:!0,style:U.merge({x:i.x,y:i.y,width:i.width,height:i.height,brushType:"both",color:o.color,lineWidth:o.borderWidth,strokeColor:o.borderColor},r.style,!0),highlightStyle:U.merge({color:n.color,lineWidth:n.borderWidth,strokeColor:n.borderColor},r.highlightStyle,!0)};return new a(l)},getLabel:function(e,t,i,a){var o=e.normal.label.textStyle,r=[e.emphasis.label.textStyle,o],s=this.deepMerge(r),l=e.normal.label.formatter,h=this.getLabelText(i,a,l),m=this.getFont(o),V=n.getTextWidth(h,m),U=n.getTextHeight(h,m),d=this.deepQuery([e.emphasis,e.normal],"label.formatter"),p=this.getLabelText(i,a,d),c=this.getFont(s),u=n.getTextWidth(h,c),y=n.getTextHeight(h,c);e.normal.label.show?(e.normal.label.x+V>t.width||e.normal.label.y+U>t.height)&&(h=""):h="",e.emphasis.label.show?(s.x+u>t.width||s.y+y>t.height)&&(p=""):p="";var g={style:{textX:t.x+e.normal.label.x,textY:t.y+e.normal.label.y,text:h,textPosition:"specific",textColor:o.color,textFont:m},highlightStyle:{textX:t.x+e.emphasis.label.x,textY:t.y+e.emphasis.label.y,text:p,textColor:s.color,textPosition:"specific"}};return g},getLabelText:function(e,t,i){return i?"function"==typeof i?i.call(this.myChart,e,t):"string"==typeof i?(i=i.replace("{b}","{b0}").replace("{c}","{c0}"),i=i.replace("{b0}",e).replace("{c0}",t)):void 0:e},_buildChildrenTreemap:function(e,t,i,n){for(var a=i.width*i.height,o=0,r=[],l=0;l<e.length;l++)o+=e[l].value;for(var h=0;h<e.length;h++)r.push(e[h].value*a/o);for(var V=new s({x:i.x,y:i.y,width:i.width,height:i.height}),U=V.run(r),d=t.normal.childBorderWidth,p=t.normal.childBorderColor,c=0;c<U.length;c++){var u=U[c],y=[];i.y.toFixed(2)!==u.y.toFixed(2)&&y.push(this._getLine(u.x,u.y,u.x+u.width,u.y,d,p)),i.x.toFixed(2)!==u.x.toFixed(2)&&y.push(this._getLine(u.x,u.y,u.x,u.y+u.height,d,p)),(i.y+i.height).toFixed(2)!==(u.y+u.height).toFixed(2)&&y.push(this._getLine(u.x,u.y+u.height,u.x+u.width,u.y+u.height,d,p)),(i.x+i.width).toFixed(2)!==(u.x+u.width).toFixed(2)&&y.push(this._getLine(u.x+u.width,u.y,u.x+u.width,u.y+u.height,d,p));for(var g=0;g<y.length;g++)m.set(y[g],"seriesIndex",n),this.shapeList.push(y[g])}},_getLine:function(e,t,i,n,a,o){var s={zlevel:this.getZlevelBase(),z:this.getZBase(),hoverable:!1,style:{xStart:e,yStart:t,xEnd:i,yEnd:n,lineWidth:a,strokeColor:o}};return new r(s)},_buildBreadcrumb:function(e,t,i,n){for(var a=[],r=e;r;)a.unshift(r.data.name),r=r.parent;for(var s=this.series[t],l=this.query(s,"itemStyle.normal.breadcrumb.textStyle")||{},h=this.query(s,"itemStyle.emphasis.breadcrumb.textStyle")||{},V={y:n+10,textBaseline:"top",textAlign:"left",color:l.color,textFont:this.getFont(l)},p={brushType:"fill",color:h.color||d.lift(l.color,-.3),textFont:this.getFont(h)},c=0;c<a.length;c++){var u=new o({zlevel:this.getZlevelBase(),z:this.getZBase(),style:U.merge({x:i,text:a[c]+(a.length-1-c?" > ":"")},V),clickable:!0,highlightStyle:p});m.set(u,"seriesIndex",t),m.set(u,"name",a[c]),i+=u.getRect(u.style).width,this.shapeList.push(u)}},__onclick:function(e){var t=e.target;if(t){var i=m.get(t,"seriesIndex"),n=m.get(t,"name"),a=this._treesMap[i],o=a.getNodeById(n);o&&o.children.length&&this._buildTreemap(o,i)}}},U.inherits(t,i),e("../chart").define("treemap",t),t}),i("echarts/layout/TreeMap",["require"],function(){function e(e){({x:e.x,y:e.y,width:e.width,height:e.height});this.x=e.x,this.y=e.y,this.width=e.width,this.height=e.height}return e.prototype.run=function(e){var t=[];return this._squarify(e,{x:this.x,y:this.y,width:this.width,height:this.height},t),t},e.prototype._squarify=function(e,t,i){var n="VERTICAL",a=t.width,o=t.height;t.width<t.height&&(n="HORIZONTAL",a=t.height,o=t.width);for(var r=this._getShapeListInAbstractRow(e,a,o),s=0;s<r.length;s++){r[s].x=0,r[s].y=0;for(var l=0;s>l;l++)r[s].y+=r[l].height}var h={};if("VERTICAL"==n){for(var m=0;m<r.length;m++)i.push({x:r[m].x+t.x,y:r[m].y+t.y,width:r[m].width,height:r[m].height});h={x:r[0].width+t.x,y:t.y,width:t.width-r[0].width,height:t.height}}else{for(var V=0;V<r.length;V++)i.push({x:r[V].y+t.x,y:r[V].x+t.y,width:r[V].height,height:r[V].width});h={x:t.x,y:t.y+r[0].width,width:t.width,height:t.height-r[0].width}}var U=e.slice(r.length);0!==U.length&&this._squarify(U,h,i)},e.prototype._getShapeListInAbstractRow=function(e,t,i){if(1===e.length)return[{width:t,height:i}];for(var n=1;n<e.length;n++){var a=this._placeFixedNumberRectangles(e.slice(0,n),t,i),o=this._placeFixedNumberRectangles(e.slice(0,n+1),t,i);if(this._isFirstBetter(a,o))return a}},e.prototype._placeFixedNumberRectangles=function(e,t,i){for(var n=e.length,a=[],o=0,r=0;r<e.length;r++)o+=e[r];for(var s=o/i,l=0;n>l;l++){var h=i*e[l]/o;a.push({width:s,height:h})}return a},e.prototype._isFirstBetter=function(e,t){var i=e[0].height/e[0].width;i=i>1?1/i:i;var n=t[0].height/t[0].width;return n=n>1?1/n:n,Math.abs(i-1)<=Math.abs(n-1)?!0:!1},e}),i("echarts/data/Tree",["require","zrender/tool/util"],function(e){function t(e,t){this.id=e,this.depth=0,this.height=0,this.children=[],this.parent=null,this.data=t||null}function i(e){this.root=new t(e)}var n=e("zrender/tool/util");return t.prototype.add=function(e){var t=this.children;e.parent!==this&&(t.push(e),e.parent=this)},t.prototype.remove=function(e){var t=this.children,i=n.indexOf(t,e);i>=0&&(t.splice(i,1),e.parent=null)},t.prototype.traverse=function(e,t){e.call(t,this);for(var i=0;i<this.children.length;i++)this.children[i].traverse(e,t)},t.prototype.updateDepthAndHeight=function(e){var t=0;this.depth=e;for(var i=0;i<this.children.length;i++){var n=this.children[i];n.updateDepthAndHeight(e+1),n.height>t&&(t=n.height)}this.height=t+1},t.prototype.getNodeById=function(e){if(this.id===e)return this;for(var t=0;t<this.children.length;t++){var i=this.children[t].getNodeById(e);if(i)return i}},i.prototype.traverse=function(e,t){this.root.traverse(e,t)},i.prototype.getSubTree=function(e){var t=this.getNodeById(e);if(t){var n=new i(t.id);return n.root=t,n}},i.prototype.getNodeById=function(e){return this.root.getNodeById(e)},i.fromOptionData=function(e,n){function a(e,i){var n=new t(e.name,e);i.add(n);var o=e.children;if(o)for(var r=0;r<o.length;r++)a(o[r],n)}var o=new i(e),r=o.root;r.data={name:e,children:n};for(var s=0;s<n.length;s++)a(n[s],r);return o.root.updateDepthAndHeight(0),o},i.fromGraph=function(e){function n(t){for(var i=e.getNodeById(t.id),a=0;a<i.outEdges.length;a++){var r=i.outEdges[a],s=o[r.node2.id];t.children.push(s),n(s)}}for(var a={},o={},r=0;r<e.nodes.length;r++){var s,l=e.nodes[r];0===l.inDegree()?(a[l.id]=new i(l.id),s=a[l.id].root):s=new t(l.id),s.data=l.data,o[l.id]=s}var h=[];for(var m in a)n(a[m].root),a[m].root.updateDepthAndHeight(0),h.push(a[m]);return h},i}),i("echarts/chart/tree",["require","./base","../util/shape/Icon","zrender/shape/Image","zrender/shape/Line","zrender/shape/BezierCurve","../layout/Tree","../data/Tree","../config","../util/ecData","zrender/config","zrender/tool/event","zrender/tool/util","../chart"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o),this.refresh(a)}var i=e("./base"),n=.618,a=e("../util/shape/Icon"),o=e("zrender/shape/Image"),r=e("zrender/shape/Line"),s=e("zrender/shape/BezierCurve"),l=e("../layout/Tree"),h=e("../data/Tree"),m=e("../config");m.tree={zlevel:1,z:2,calculable:!1,clickable:!0,rootLocation:{},orient:"vertical",symbol:"circle",symbolSize:20,nodePadding:30,layerPadding:100,itemStyle:{normal:{label:{show:!0},lineStyle:{width:1,color:"#777",type:"curve"}},emphasis:{}}};var V=e("../util/ecData"),U=(e("zrender/config"),e("zrender/tool/event"),e("zrender/tool/util"));return t.prototype={type:m.CHART_TYPE_TREE,_buildShape:function(e,t){var i=e.data[0];this.tree=h.fromOptionData(i.name,i.children),this.tree.root.data=i,this._setTreeShape(e),this.tree.traverse(function(i){this._buildItem(i,e,t),i.children.length>0&&this._buildLink(i,e)},this);var n=e.roam===!0||"move"===e.roam,a=e.roam===!0||"scale"===e.roam;this.zr.modLayer(this.getZlevelBase(),{panable:n,zoomable:a}),(this.query("markPoint.effect.show")||this.query("markLine.effect.show"))&&this.zr.modLayer(m.EFFECT_ZLEVEL,{panable:n,zoomable:a}),this.addShapeList()},_buildItem:function(e,t,i){var n=[e.data,t],r=this.deepQuery(n,"symbol"),s=this.deepMerge(n,"itemStyle.normal")||{},l=this.deepMerge(n,"itemStyle.emphasis")||{},h=s.color||this.zr.getColor(),m=l.color||this.zr.getColor(),U=-e.layout.angle||0;e.id===this.tree.root.id&&(U=0);var d="right";Math.abs(U)>=Math.PI/2&&Math.abs(U)<3*Math.PI/2&&(U+=Math.PI,d="left");var p=[U,e.layout.position[0],e.layout.position[1]],c=new a({zlevel:this.getZlevelBase(),z:this.getZBase()+1,rotation:p,clickable:this.deepQuery(n,"clickable"),style:{x:e.layout.position[0]-.5*e.layout.width,y:e.layout.position[1]-.5*e.layout.height,width:e.layout.width,height:e.layout.height,iconType:r,color:h,brushType:"both",lineWidth:s.borderWidth,strokeColor:s.borderColor},highlightStyle:{color:m,lineWidth:l.borderWidth,strokeColor:l.borderColor}});c.style.iconType.match("image")&&(c.style.image=c.style.iconType.replace(new RegExp("^image:\\/\\/"),""),c=new o({rotation:p,style:c.style,highlightStyle:c.highlightStyle,clickable:c.clickable,zlevel:this.getZlevelBase(),z:this.getZBase()})),this.deepQuery(n,"itemStyle.normal.label.show")&&(c.style.text=null==e.data.label?e.id:e.data.label,c.style.textPosition=this.deepQuery(n,"itemStyle.normal.label.position"),"radial"===t.orient&&"inside"!==c.style.textPosition&&(c.style.textPosition=d),c.style.textColor=this.deepQuery(n,"itemStyle.normal.label.textStyle.color"),c.style.textFont=this.getFont(this.deepQuery(n,"itemStyle.normal.label.textStyle")||{})),this.deepQuery(n,"itemStyle.emphasis.label.show")&&(c.highlightStyle.textPosition=this.deepQuery(n,"itemStyle.emphasis.label.position"),c.highlightStyle.textColor=this.deepQuery(n,"itemStyle.emphasis.label.textStyle.color"),c.highlightStyle.textFont=this.getFont(this.deepQuery(n,"itemStyle.emphasis.label.textStyle")||{})),V.pack(c,t,i,e.data,0,e.id),this.shapeList.push(c)},_buildLink:function(e,t){var i=t.itemStyle.normal.lineStyle;if("broken"===i.type)return void this._buildBrokenLine(e,i,t);for(var n=0;n<e.children.length;n++){var a=e.layout.position[0],o=e.layout.position[1],r=e.children[n].layout.position[0],s=e.children[n].layout.position[1];switch(i.type){case"curve":this._buildBezierCurve(e,e.children[n],i,t);break;case"broken":break;default:var l=this._getLine(a,o,r,s,i);this.shapeList.push(l)}}},_buildBrokenLine:function(e,t,i){var a=U.clone(t);a.type="solid";var o=[],r=e.layout.position[0],s=e.layout.position[1],l=i.orient,h=e.children[0].layout.position[1],m=r,V=s+(h-s)*(1-n),d=e.children[0].layout.position[0],p=V,c=e.children[e.children.length-1].layout.position[0],u=V;if("horizontal"===l){var y=e.children[0].layout.position[0];m=r+(y-r)*(1-n),V=s,d=m,p=e.children[0].layout.position[1],c=m,u=e.children[e.children.length-1].layout.position[1]}o.push(this._getLine(r,s,m,V,a)),o.push(this._getLine(d,p,c,u,a));for(var g=0;g<e.children.length;g++)y=e.children[g].layout.position[0],h=e.children[g].layout.position[1],"horizontal"===l?p=h:d=y,o.push(this._getLine(d,p,y,h,a));this.shapeList=this.shapeList.concat(o)},_getLine:function(e,t,i,n,a){return e===i&&(e=i=this.subPixelOptimize(e,a.width)),t===n&&(t=n=this.subPixelOptimize(t,a.width)),new r({zlevel:this.getZlevelBase(),hoverable:!1,style:U.merge({xStart:e,yStart:t,xEnd:i,yEnd:n,lineType:a.type,strokeColor:a.color,lineWidth:a.width},a,!0)})},_buildBezierCurve:function(e,t,i,a){var o=n,r=a.orient,l=e.layout.position[0],h=e.layout.position[1],m=t.layout.position[0],V=t.layout.position[1],d=l,p=(V-h)*o+h,c=m,u=(V-h)*(1-o)+h;if("horizontal"===r)d=(m-l)*o+l,p=h,c=(m-l)*(1-o)+l,u=V;else if("radial"===r)if(e.id===this.tree.root.id)d=(m-l)*o+l,p=(V-h)*o+h,c=(m-l)*(1-o)+l,u=(V-h)*(1-o)+h;else{var y=e.layout.originPosition[0],g=e.layout.originPosition[1],b=t.layout.originPosition[0],f=t.layout.originPosition[1],k=this.tree.root.layout.position[0],x=this.tree.root.layout.position[1];d=y,p=(f-g)*o+g,c=b,u=(f-g)*(1-o)+g;var _=(d-this.minX)/this.width*Math.PI*2;d=p*Math.cos(_)+k,p=p*Math.sin(_)+x,_=(c-this.minX)/this.width*Math.PI*2,c=u*Math.cos(_)+k,u=u*Math.sin(_)+x}var L=new s({zlevel:this.getZlevelBase(),hoverable:!1,style:U.merge({xStart:l,yStart:h,cpX1:d,cpY1:p,cpX2:c,cpY2:u,xEnd:m,yEnd:V,strokeColor:i.color,lineWidth:i.width},i,!0)});this.shapeList.push(L)},_setTreeShape:function(e){var t=new l({nodePadding:e.nodePadding,layerPadding:e.layerPadding});this.tree.traverse(function(t){var i=[t.data,e],n=this.deepQuery(i,"symbolSize");"number"==typeof n&&(n=[n,n]),t.layout={width:n[0],height:n[1]}},this),t.run(this.tree);var i=e.orient,n=e.rootLocation.x,a=e.rootLocation.y,o=this.zr.getWidth(),r=this.zr.getHeight();n="center"===n?.5*o:this.parsePercent(n,o),a="center"===a?.5*r:this.parsePercent(a,r),a=this.parsePercent(a,r),"horizontal"===i&&(n=isNaN(n)?10:n,a=isNaN(a)?.5*r:a),"radial"===i?(n=isNaN(n)?.5*o:n,a=isNaN(a)?.5*r:a):(n=isNaN(n)?.5*o:n,a=isNaN(a)?10:a);var s=this.tree.root.layout.position[0];if("radial"===i){var h=1/0,m=0,V=0;this.tree.traverse(function(e){m=Math.max(m,e.layout.position[0]),h=Math.min(h,e.layout.position[0]),V=Math.max(V,e.layout.width)}),this.width=m-h+2*V,this.minX=h}this.tree.traverse(function(t){var o,r;if("vertical"===i&&"inverse"===e.direction)o=t.layout.position[0]-s+n,r=a-t.layout.position[1];else if("vertical"===i)o=t.layout.position[0]-s+n,r=t.layout.position[1]+a;else if("horizontal"===i&&"inverse"===e.direction)r=t.layout.position[0]-s+a,o=n-t.layout.position[1];else if("horizontal"===i)r=t.layout.position[0]-s+a,o=t.layout.position[1]+n;else{o=t.layout.position[0],r=t.layout.position[1],t.layout.originPosition=[o,r];var l=r,m=(o-h)/this.width*Math.PI*2;o=l*Math.cos(m)+n,r=l*Math.sin(m)+a,t.layout.angle=m}t.layout.position[0]=o,t.layout.position[1]=r},this)},refresh:function(e){this.clear(),e&&(this.option=e,this.series=this.option.series);for(var t=this.series,i=this.component.legend,n=0;n<t.length;n++)if(t[n].type===m.CHART_TYPE_TREE){t[n]=this.reformOption(t[n]);var a=t[n].name||"";if(this.selectedMap[a]=i?i.isSelected(a):!0,!this.selectedMap[a])continue;this._buildSeries(t[n],n)}},_buildSeries:function(e,t){this._buildShape(e,t)}},U.inherits(t,i),e("../chart").define("tree",t),t}),i("echarts/layout/Tree",["require","zrender/tool/vector"],function(e){function t(e){e=e||{},this.nodePadding=e.nodePadding||30,this.layerPadding=e.layerPadding||100,this._layerOffsets=[],this._layers=[]}var i=e("zrender/tool/vector");return t.prototype.run=function(e){this._layerOffsets.length=0;for(var t=0;t<e.root.height+1;t++)this._layerOffsets[t]=0,this._layers[t]=[];this._updateNodeXPosition(e.root);var i=e.root;this._updateNodeYPosition(i,0,i.layout.height)},t.prototype._updateNodeXPosition=function(e){var t=1/0,n=-(1/0);e.layout.position=e.layout.position||i.create();for(var a=0;a<e.children.length;a++){var o=e.children[a];this._updateNodeXPosition(o);var r=o.layout.position[0];t>r&&(t=r),r>n&&(n=r)}e.layout.position[0]=e.children.length>0?(t+n)/2:0;var s=this._layerOffsets[e.depth]||0;if(s>e.layout.position[0]){var l=s-e.layout.position[0];this._shiftSubtree(e,l);for(var a=e.depth+1;a<e.height+e.depth;a++)this._layerOffsets[a]+=l}this._layerOffsets[e.depth]=e.layout.position[0]+e.layout.width+this.nodePadding,this._layers[e.depth].push(e)},t.prototype._shiftSubtree=function(e,t){e.layout.position[0]+=t;for(var i=0;i<e.children.length;i++)this._shiftSubtree(e.children[i],t)},t.prototype._updateNodeYPosition=function(e,t,i){e.layout.position[1]=t;for(var n=0,a=0;a<e.children.length;a++)n=Math.max(e.children[a].layout.height,n);var o=this.layerPadding;"function"==typeof o&&(o=o(e.depth));for(var a=0;a<e.children.length;a++)this._updateNodeYPosition(e.children[a],t+o+i,n)},t}),i("echarts/chart/wordCloud",["require","./base","zrender/shape/Text","../layout/WordCloud","../component/grid","../component/dataRange","../config","../util/ecData","zrender/tool/util","zrender/tool/color","../chart"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o),this.refresh(a)}var i=e("./base"),n=e("zrender/shape/Text"),a=e("../layout/WordCloud");e("../component/grid"),e("../component/dataRange");var o=e("../config"),r=e("../util/ecData"),s=e("zrender/tool/util"),l=e("zrender/tool/color");return o.wordCloud={zlevel:0,z:2,clickable:!0,center:["50%","50%"],size:["40%","40%"],textRotation:[0,90],textPadding:0,autoSize:{enable:!0,minSize:12},itemStyle:{normal:{textStyle:{fontSize:function(e){return e.value}}}}},t.prototype={type:o.CHART_TYPE_WORDCLOUD,refresh:function(e){e&&(this.option=e,this.series=e.series),this._init()},_init:function(){var e=this.series;this.backupShapeList();for(var t=this.component.legend,i=0;i<e.length;i++)if(e[i].type===o.CHART_TYPE_WORDCLOUD){e[i]=this.reformOption(e[i]);var n=e[i].name||"";if(this.selectedMap[n]=t?t.isSelected(n):!0,!this.selectedMap[n])continue;this.buildMark(i),this._initSerie(e[i])}},_initSerie:function(e){var t=e.itemStyle.normal.textStyle,i=[this.parsePercent(e.size[0],this.zr.getWidth())||200,this.parsePercent(e.size[1],this.zr.getHeight())||200],n=this.parseCenter(this.zr,e.center),o={size:i,wordletype:{autoSizeCal:e.autoSize},center:n,rotate:e.textRotation,padding:e.textPadding,font:t.fontFamily,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,text:function(e){return e.name},data:e.data},r=new a(o),s=this;r.end(function(e){s._buildShapes(e)}),r.start()},_buildShapes:function(e){for(var t=e.length,i=0;t>i;i++)this._buildTextShape(e[i],0,i);this.addShapeList()},_buildTextShape:function(e,t,i){var a=this.series,o=a[t],s=o.name||"",h=o.data[i],m=[h,o],V=this.component.legend,U=V?V.getColor(s):this.zr.getColor(t),d=this.deepMerge(m,"itemStyle.normal")||{},p=this.deepMerge(m,"itemStyle.emphasis")||{},c=this.getItemStyleColor(d.color,t,i,h)||U,u=this.getItemStyleColor(p.color,t,i,h)||("string"==typeof c?l.lift(c,-.2):c),y=new n({zlevel:o.zlevel,z:o.z,hoverable:!0,clickable:this.deepQuery(m,"clickable"),style:{x:0,y:0,text:e.text,color:c,textFont:[e.style,e.weight,e.size+"px",e.font].join(" "),textBaseline:"alphabetic",textAlign:"center"},highlightStyle:{brushType:p.borderWidth?"both":"fill",color:u,lineWidth:p.borderWidth||0,strokeColor:p.borderColor},position:[e.x,e.y],rotation:[-e.rotate/180*Math.PI,0,0]});r.pack(y,o,t,h,i,h.name),this.shapeList.push(y)}},s.inherits(t,i),e("../chart").define("wordCloud",t),t}),i("echarts/layout/WordCloud",["require","../layout/WordCloudRectZero","zrender/tool/util"],function(e){function t(e){this._init(e)}var i=e("../layout/WordCloudRectZero"),n=e("zrender/tool/util");return t.prototype={start:function(){function e(){p.totalArea=r,U.autoSizeCal.enable&&p._autoCalTextSize(m,r,a,o,U.autoSizeCal.minSize),V.timer&&clearInterval(V.timer),V.timer=setInterval(t,0),t()}function t(){for(var e,t=+new Date,i=m.length;+new Date-t<V.timeInterval&&++s<i&&V.timer;)e=m[s],e.x=d[0]>>1,e.y=d[1]>>1,p._cloudSprite(e,m,s),e.hasText&&p._place(n,e,h)&&(l.push(e),e.x-=d[0]>>1,e.y-=d[1]>>1);s>=i&&(p.stop(),p._fixTagPosition(l),V.endcallback(l))}var n=null,a=0,o=0,r=0,s=-1,l=[],h=null,m=this.wordsdata,V=this.defaultOption,U=V.wordletype,d=V.size,p=this,c=new i({type:U.type,width:d[0],height:d[1]});return c.calculate(function(t){n=t.initarr,a=t.maxWit,o=t.maxHit,r=t.area,h=t.imgboard,e()},this),this},_fixTagPosition:function(e){for(var t=this.defaultOption.center,i=0,n=e.length;n>i;i++)e[i].x+=t[0],e[i].y+=t[1]},stop:function(){return this.defaultOption.timer&&(clearInterval(this.defaultOption.timer),this.defaultOption.timer=null),this},end:function(e){return e&&(this.defaultOption.endcallback=e),this},_init:function(e){this.defaultOption={},this._initProperty(e),this._initMethod(e),this._initCanvas(),this._initData(e.data)},_initData:function(e){var t=this,i=t.defaultOption;this.wordsdata=e.map(function(e,n){return e.text=i.text.call(t,e,n),e.font=i.font.call(t,e,n),e.style=i.fontStyle.call(t,e,n),e.weight=i.fontWeight.call(t,e,n),e.rotate=i.rotate.call(t,e,n),e.size=~~i.fontSize.call(t,e,n),e.padding=i.padding.call(t,e,n),e}).sort(function(e,t){return t.value-e.value})},_initMethod:function(e){function t(e){return e.name}function i(){return"sans-serif"}function n(){return"normal"}function a(e){return e.value}function o(){return 0}function r(e){return function(){return e[Math.round(Math.random()*(e.length-1))]}}function s(){return 0}function l(e){var t=e[0]/e[1];return function(e){return[t*(e*=.1)*Math.cos(e),e*Math.sin(e)]}}function h(e){var t=4,i=t*e[0]/e[1],n=0,a=0;return function(e){var o=0>e?-1:1;switch(Math.sqrt(1+4*o*e)-o&3){case 0:n+=i;break;case 1:a+=t;break;case 2:n-=i;break;default:a-=t}return[n,a]}}function m(e){return"function"==typeof e?e:function(){return e}}var V=this.defaultOption;V.text=e.text?m(e.text):t,V.font=e.font?m(e.font):i,V.fontSize=e.fontSize?m(e.fontSize):a,V.fontStyle=e.fontStyle?m(e.fontStyle):n,V.fontWeight=e.fontWeight?m(e.fontWeight):n,V.rotate=e.rotate?r(e.rotate):o,V.padding=e.padding?m(e.padding):s,V.center=e.center,V.spiral=l,V.endcallback=function(){},V.rectangularSpiral=h,V.archimedeanSpiral=l},_initProperty:function(e){var t=this.defaultOption;t.size=e.size||[256,256],t.wordletype=e.wordletype,t.words=e.words||[],t.timeInterval=1/0,t.timer=null,t.spirals={archimedean:t.archimedeanSpiral,rectangular:t.rectangularSpiral},n.merge(t,{size:[256,256],wordletype:{type:"RECT",areaPresent:.058,autoSizeCal:{enable:!0,minSize:12}}})},_initCanvas:function(){var e,t=Math.PI/180,i=64,n=2048,a=1;"undefined"!=typeof document?(e=document.createElement("canvas"),e.width=1,e.height=1,a=Math.sqrt(e.getContext("2d").getImageData(0,0,1,1).data.length>>2),e.width=(i<<5)/a,e.height=n/a):e=new Canvas(i<<5,n);var o=e.getContext("2d");o.fillStyle=o.strokeStyle="red",o.textAlign="center",this.defaultOption.c=o,this.defaultOption.cw=i,this.defaultOption.ch=n,this.defaultOption.ratio=a,this.defaultOption.cloudRadians=t},_cloudSprite:function(e,t,i){if(!e.sprite){var n=this.defaultOption.cw,a=this.defaultOption.ch,o=this.defaultOption.c,r=this.defaultOption.ratio,s=this.defaultOption.cloudRadians;o.clearRect(0,0,(n<<5)/r,a/r);var l=0,h=0,m=0,V=t.length;for(--i;++i<V;){e=t[i],o.save(),o.font=e.style+" "+e.weight+" "+~~((e.size+1)/r)+"px "+e.font;var U=o.measureText(e.text+"m").width*r,d=e.size<<1;if(e.rotate){var p=Math.sin(e.rotate*s),c=Math.cos(e.rotate*s),u=U*c,y=U*p,g=d*c,b=d*p;U=Math.max(Math.abs(u+b),Math.abs(u-b))+31>>5<<5,d=~~Math.max(Math.abs(y+g),Math.abs(y-g))}else U=U+31>>5<<5;if(d>m&&(m=d),l+U>=n<<5&&(l=0,h+=m,m=0),h+d>=a)break;o.translate((l+(U>>1))/r,(h+(d>>1))/r),e.rotate&&o.rotate(e.rotate*s),o.fillText(e.text,0,0),e.padding&&(o.lineWidth=2*e.padding,o.strokeText(e.text,0,0)),o.restore(),e.width=U,e.height=d,e.xoff=l,e.yoff=h,e.x1=U>>1,e.y1=d>>1,e.x0=-e.x1,e.y0=-e.y1,e.hasText=!0,l+=U}for(var f=o.getImageData(0,0,(n<<5)/r,a/r).data,k=[];--i>=0;)if(e=t[i],e.hasText){for(var U=e.width,x=U>>5,d=e.y1-e.y0,_=0;d*x>_;_++)k[_]=0;if(l=e.xoff,null==l)return;h=e.yoff;for(var L=0,W=-1,X=0;d>X;X++){for(var _=0;U>_;_++){var v=x*X+(_>>5),w=f[(h+X)*(n<<5)+(l+_)<<2]?1<<31-_%32:0;k[v]|=w,L|=w}L?W=X:(e.y0++,d--,X--,h++)}e.y1=e.y0+W,e.sprite=k.slice(0,(e.y1-e.y0)*x)}}},_place:function(e,t,i){function n(e,t,i){i>>=5;for(var n,a=e.sprite,o=e.width>>5,r=e.x-(o<<4),s=127&r,l=32-s,h=e.y1-e.y0,m=(e.y+e.y0)*i+(r>>5),V=0;h>V;V++){n=0;for(var U=0;o>=U;U++)if((n<<l|(o>U?(n=a[V*o+U])>>>s:0))&t[m+U])return!0;m+=i}return!1}function a(e,t){return t.row[e.y]&&t.cloumn[e.x]&&e.x>=t.row[e.y].start&&e.x<=t.row[e.y].end&&e.y>=t.cloumn[e.x].start&&e.y<=t.cloumn[e.x].end}for(var o,r,s,l=this.defaultOption.size,h=([{x:0,y:0},{x:l[0],y:l[1]}],t.x),m=t.y,V=Math.sqrt(l[0]*l[0]+l[1]*l[1]),U=this.defaultOption.spiral(l),d=Math.random()<.5?1:-1,p=-d;(o=U(p+=d))&&(r=~~o[0],s=~~o[1],!(Math.min(r,s)>V));)if(t.x=h+r,t.y=m+s,!(t.x+t.x0<0||t.y+t.y0<0||t.x+t.x1>l[0]||t.y+t.y1>l[1])&&!n(t,e,l[0])&&a(t,i)){for(var c,u=t.sprite,y=t.width>>5,g=l[0]>>5,b=t.x-(y<<4),f=127&b,k=32-f,x=t.y1-t.y0,_=(t.y+t.y0)*g+(b>>5),L=0;x>L;L++){c=0;for(var W=0;y>=W;W++)e[_+W]|=c<<k|(y>W?(c=u[L*y+W])>>>f:0);_+=g}return delete t.sprite,!0}return!1},_autoCalTextSize:function(e,t,i,n,a){function o(e){c.clearRect(0,0,(d<<5)/u,p/u),c.save(),c.font=e.style+" "+e.weight+" "+~~((e.size+1)/u)+"px "+e.font;var t=c.measureText(e.text+"m").width*u,r=e.size<<1;t=t+31>>5<<5,c.restore(),e.aw=t,e.ah=r;var s,l,h;if(e.rotate){var m=Math.sin(e.rotate*y),V=Math.cos(e.rotate*y),g=t*V,b=t*m,f=r*V,k=r*m;l=Math.max(Math.abs(g+k),Math.abs(g-k))+31>>5<<5,h=~~Math.max(Math.abs(b+f),Math.abs(b-f))}return e.size<=U||e.rotate&&t*r<=e.area&&i>=l&&n>=h||t*r<=e.area&&i>=t&&n>=r?void(e.area=t*r):(s=e.rotate&&l>i&&h>n?Math.min(i/l,n/h):t>i||r>n?Math.min(i/t,n/r):Math.sqrt(e.area/(e.aw*e.ah)),e.size=~~(s*e.size),e.size<a?void(e.size=a):o(e))}function r(e,t){for(var i=e.length,n=0;i--;)n+=t(e[i]);return n}for(var s,l,h=r(e,function(e){return e.size}),m=e.length,V=.25,U=a,d=this.defaultOption.cw,p=this.defaultOption.ch,c=this.defaultOption.c,u=this.defaultOption.ratio,y=this.defaultOption.cloudRadians;m--;)s=e[m],l=s.size/h,s.areapre=V?V>l?l:V:l,s.area=t*s.areapre,s.totalarea=t,o(s)}},t}),i("echarts/layout/WordCloudRectZero",["require"],function(){function e(e){this.defaultOption={type:"RECT"},this._init(e)}return e.prototype={RECT:"_calculateRect",_init:function(e){this._initOption(e),this._initCanvas()},_initOption:function(e){for(k in e)this.defaultOption[k]=e[k]},_initCanvas:function(){var e=document.createElement("canvas");e.width=1,e.height=1;var t=Math.sqrt(e.getContext("2d").getImageData(0,0,1,1).data.length>>2);if(e.width=this.defaultOption.width,e.height=this.defaultOption.height,e.getContext)var i=e.getContext("2d");this.canvas=e,this.ctx=i,this.ratio=t},calculate:function(e,t){var i=this.defaultOption.type,n=this[i];this[n].call(this,e,t)},_calculateReturn:function(e,t,i){t.call(i,e)},_calculateRect:function(e,t){var i={},n=this.defaultOption.width>>5<<5,a=this.defaultOption.height;i.initarr=this._rectZeroArray(n*a),i.area=n*a,i.maxHit=a,i.maxWit=n,i.imgboard=this._rectBoard(n,a),this._calculateReturn(i,e,t)},_rectBoard:function(e,t){for(var i=[],n=0;t>n;n++)i.push({y:n,start:0,end:e});for(var a=[],n=0;e>n;n++)a.push({x:n,start:0,end:t});return{row:i,cloumn:a}},_rectZeroArray:function(e){for(var t=[],i=e,n=-1;++n<i;)t[n]=0;return t}},e}),i("echarts/chart/heatmap",["require","./base","../layer/heatmap","../config","../util/ecData","zrender/tool/util","zrender/tool/color","zrender/shape/Image","../chart"],function(e){function t(e,t,n,a,o){i.call(this,e,t,n,a,o),this.refresh(a)}var i=e("./base"),n=e("../layer/heatmap"),a=e("../config"),o=(e("../util/ecData"),e("zrender/tool/util")),r=(e("zrender/tool/color"),e("zrender/shape/Image"));return a.heatmap={zlevel:0,z:2,clickable:!0},t.prototype={type:a.CHART_TYPE_HEATMAP,refresh:function(e){this.clear(),e&&(this.option=e,this.series=e.series),this._init()},_init:function(){var e=this.series;this.backupShapeList();for(var t=e.length,i=0;t>i;++i)if(e[i].type===a.CHART_TYPE_HEATMAP){e[i]=this.reformOption(e[i]);var o=new n(e[i]),s=o.getCanvas(e[i].data,this.zr.getWidth(),this.zr.getHeight()),l=new r({position:[0,0],scale:[1,1],hoverable:this.option.hoverable,style:{x:0,y:0,image:s,width:s.width,height:s.height}});this.shapeList.push(l)}this.addShapeList()}},o.inherits(t,i),e("../chart").define("heatmap",t),t});var n=t("zrender");n.tool={color:t("zrender/tool/color"),math:t("zrender/tool/math"),util:t("zrender/tool/util"),vector:t("zrender/tool/vector"),area:t("zrender/tool/area"),event:t("zrender/tool/event")},n.animation={Animation:t("zrender/animation/Animation"),Cip:t("zrender/animation/Clip"),easing:t("zrender/animation/easing")};var a=t("echarts");a.config=t("echarts/config"),a.util={mapData:{params:t("echarts/util/mapData/params")}},t("echarts/chart/line"),t("echarts/chart/bar"),t("echarts/chart/scatter"),t("echarts/chart/k"),t("echarts/chart/pie"),t("echarts/chart/radar"),t("echarts/chart/chord"),t("echarts/chart/force"),t("echarts/chart/map"),t("echarts/chart/gauge"),t("echarts/chart/funnel"),t("echarts/chart/eventRiver"),t("echarts/chart/venn"),t("echarts/chart/treemap"),t("echarts/chart/tree"),t("echarts/chart/wordCloud"),t("echarts/chart/heatmap"),e.echarts=a,e.zrender=n}(window);
+
+layui.define('echartsTheme', function(exports){
+ exports('echarts', echarts);
+});
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/lib/extend/echartsTheme.js b/src/main/webapp/static/wms/layuiadmin/lib/extend/echartsTheme.js
new file mode 100644
index 0000000..0731e1a
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/lib/extend/echartsTheme.js
@@ -0,0 +1,267 @@
+/**
+
+ @Name锛歟charts 涓婚
+ @Author锛氳搐蹇�
+ @Site锛歨ttp://www.layui.com/admin/
+ @License锛欸PL-2
+
+ */
+
+
+layui.define(function(exports) {
+ exports('echartsTheme', {
+ // 榛樿鑹叉澘
+ color: [
+ '#009688','#1E9FFF','#5FB878','#FFB980','#D87A80',
+ '#8d98b3','#e5cf0d','#97b552','#95706d','#dc69aa',
+ '#07a2a4','#9a7fd1','#588dd5','#f5994e','#c05050',
+ '#59678c','#c9ab00','#7eb00a','#6f5553','#c14089'
+ ],
+
+ // 鍥捐〃鏍囬
+ title: {
+ textStyle: {
+ fontWeight: 'normal',
+ color: '#666' // 涓绘爣棰樻枃瀛楅鑹�
+ }
+ },
+
+ // 鍊煎煙
+ dataRange: {
+ itemWidth: 15,
+ color: ['#009688','#e0ffff']
+ },
+
+ // 宸ュ叿绠�
+ toolbox: {
+ color : ['#1e90ff', '#1e90ff', '#1e90ff', '#1e90ff'],
+ effectiveColor : '#ff4500'
+ },
+
+ // 鎻愮ず妗�
+ tooltip: {
+ backgroundColor: 'rgba(50,50,50,0.5)', // 鎻愮ず鑳屾櫙棰滆壊锛岄粯璁や负閫忔槑搴︿负0.7鐨勯粦鑹�
+ axisPointer : { // 鍧愭爣杞存寚绀哄櫒锛屽潗鏍囪酱瑙﹀彂鏈夋晥
+ type : 'line', // 榛樿涓虹洿绾匡紝鍙�変负锛�'line' | 'shadow'
+ lineStyle : { // 鐩寸嚎鎸囩ず鍣ㄦ牱寮忚缃�
+ color: '#009688'
+ },
+ crossStyle: {
+ color: '#008acd'
+ },
+ shadowStyle : { // 闃村奖鎸囩ず鍣ㄦ牱寮忚缃�
+ color: 'rgba(200,200,200,0.2)'
+ }
+ }
+ },
+
+ // 鍖哄煙缂╂斁鎺у埗鍣�
+ dataZoom: {
+ dataBackgroundColor: '#efefff', // 鏁版嵁鑳屾櫙棰滆壊
+ fillerColor: 'rgba(182,162,222,0.2)', // 濉厖棰滆壊
+ handleColor: '#008acd' // 鎵嬫焺棰滆壊
+ },
+
+ // 缃戞牸
+ grid: {
+ borderColor: '#eee'
+ },
+
+ // 绫荤洰杞� - X杞�
+ categoryAxis: {
+ axisLine: { // 鍧愭爣杞寸嚎
+ lineStyle: { // 灞炴�ineStyle鎺у埗绾挎潯鏍峰紡
+ color: '#009688'
+ }
+ },
+ axisTick: { //灏忔爣璁�
+ show: false
+ },
+ splitLine: { // 鍒嗛殧绾�
+ lineStyle: { // 灞炴�ineStyle锛堣瑙乴ineStyle锛夋帶鍒剁嚎鏉℃牱寮�
+ color: ['#eee']
+ }
+ }
+ },
+
+ // 鏁板�煎瀷鍧愭爣杞撮粯璁ゅ弬鏁� - Y杞�
+ valueAxis: {
+ axisLine: { // 鍧愭爣杞寸嚎
+ lineStyle: { // 灞炴�ineStyle鎺у埗绾挎潯鏍峰紡
+ color: '#009688'
+ }
+ },
+ splitArea : {
+ show : true,
+ areaStyle : {
+ color: ['rgba(250,250,250,0.1)','rgba(200,200,200,0.1)']
+ }
+ },
+ splitLine: { // 鍒嗛殧绾�
+ lineStyle: { // 灞炴�ineStyle锛堣瑙乴ineStyle锛夋帶鍒剁嚎鏉℃牱寮�
+ color: ['#eee']
+ }
+ }
+ },
+
+ polar : {
+ axisLine: { // 鍧愭爣杞寸嚎
+ lineStyle: { // 灞炴�ineStyle鎺у埗绾挎潯鏍峰紡
+ color: '#ddd'
+ }
+ },
+ splitArea : {
+ show : true,
+ areaStyle : {
+ color: ['rgba(250,250,250,0.2)','rgba(200,200,200,0.2)']
+ }
+ },
+ splitLine : {
+ lineStyle : {
+ color : '#ddd'
+ }
+ }
+ },
+
+ timeline : {
+ lineStyle : {
+ color : '#009688'
+ },
+ controlStyle : {
+ normal : { color : '#009688'},
+ emphasis : { color : '#009688'}
+ },
+ symbol : 'emptyCircle',
+ symbolSize : 3
+ },
+
+ // 鏌卞舰鍥鹃粯璁ゅ弬鏁�
+ bar: {
+ itemStyle: {
+ normal: {
+ barBorderRadius: 2
+ },
+ emphasis: {
+ barBorderRadius: 2
+ }
+ }
+ },
+
+ // 鎶樼嚎鍥鹃粯璁ゅ弬鏁�
+ line: {
+ smooth : true,
+ symbol: 'emptyCircle', // 鎷愮偣鍥惧舰绫诲瀷
+ symbolSize: 3 // 鎷愮偣鍥惧舰澶у皬
+ },
+
+ // K绾垮浘榛樿鍙傛暟
+ k: {
+ itemStyle: {
+ normal: {
+ color: '#d87a80', // 闃崇嚎濉厖棰滆壊
+ color0: '#2ec7c9', // 闃寸嚎濉厖棰滆壊
+ lineStyle: {
+ color: '#d87a80', // 闃崇嚎杈规棰滆壊
+ color0: '#2ec7c9' // 闃寸嚎杈规棰滆壊
+ }
+ }
+ }
+ },
+
+ // 鏁g偣鍥鹃粯璁ゅ弬鏁�
+ scatter: {
+ symbol: 'circle', // 鍥惧舰绫诲瀷
+ symbolSize: 4 // 鍥惧舰澶у皬锛屽崐瀹斤紙鍗婂緞锛夊弬鏁帮紝褰撳浘褰负鏂瑰悜鎴栬彵褰㈠垯鎬诲搴︿负symbolSize * 2
+ },
+
+ // 闆疯揪鍥鹃粯璁ゅ弬鏁�
+ radar : {
+ symbol: 'emptyCircle', // 鍥惧舰绫诲瀷
+ symbolSize:3
+ //symbol: null, // 鎷愮偣鍥惧舰绫诲瀷
+ //symbolRotate : null, // 鍥惧舰鏃嬭浆鎺у埗
+ },
+
+ map: {
+ itemStyle: {
+ normal: {
+ areaStyle: {
+ color: '#ddd'
+ },
+ label: {
+ textStyle: {
+ color: '#d87a80'
+ }
+ }
+ },
+ emphasis: { // 涔熸槸閫変腑鏍峰紡
+ areaStyle: {
+ color: '#fe994e'
+ }
+ }
+ }
+ },
+
+ force : {
+ itemStyle: {
+ normal: {
+ linkStyle : {
+ color : '#1e90ff'
+ }
+ }
+ }
+ },
+
+ chord : {
+ itemStyle : {
+ normal : {
+ borderWidth: 1,
+ borderColor: 'rgba(128, 128, 128, 0.5)',
+ chordStyle : {
+ lineStyle : {
+ color : 'rgba(128, 128, 128, 0.5)'
+ }
+ }
+ },
+ emphasis : {
+ borderWidth: 1,
+ borderColor: 'rgba(128, 128, 128, 0.5)',
+ chordStyle : {
+ lineStyle : {
+ color : 'rgba(128, 128, 128, 0.5)'
+ }
+ }
+ }
+ }
+ },
+
+ gauge : {
+ axisLine: { // 鍧愭爣杞寸嚎
+ lineStyle: { // 灞炴�ineStyle鎺у埗绾挎潯鏍峰紡
+ color: [[0.2, '#2ec7c9'],[0.8, '#5ab1ef'],[1, '#d87a80']],
+ width: 10
+ }
+ },
+ axisTick: { // 鍧愭爣杞村皬鏍囪
+ splitNumber: 10, // 姣忎唤split缁嗗垎澶氬皯娈�
+ length :15, // 灞炴�ength鎺у埗绾块暱
+ lineStyle: { // 灞炴�ineStyle鎺у埗绾挎潯鏍峰紡
+ color: 'auto'
+ }
+ },
+ splitLine: { // 鍒嗛殧绾�
+ length :22, // 灞炴�ength鎺у埗绾块暱
+ lineStyle: { // 灞炴�ineStyle锛堣瑙乴ineStyle锛夋帶鍒剁嚎鏉℃牱寮�
+ color: 'auto'
+ }
+ },
+ pointer : {
+ width : 5
+ }
+ },
+
+ textStyle: {
+ fontFamily: '寰蒋闆呴粦, Arial, Verdana, sans-serif'
+ }
+ });
+});
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/lib/index.js b/src/main/webapp/static/wms/layuiadmin/lib/index.js
new file mode 100644
index 0000000..1a2f83e
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/lib/index.js
@@ -0,0 +1,95 @@
+/**
+
+ @Name锛歭ayuiAdmin iframe鐗堜富鍏ュ彛
+ @Author锛氳搐蹇�
+ @Site锛歨ttp://www.layui.com/admin/
+ @License锛歀PPL
+
+ */
+
+layui.extend({
+ setter: 'config' //閰嶇疆妯″潡
+ ,admin: 'lib/admin' //鏍稿績妯″潡
+ ,view: 'lib/view' //瑙嗗浘娓叉煋妯″潡
+}).define(['setter', 'admin'], function(exports){
+ var setter = layui.setter
+ ,element = layui.element
+ ,admin = layui.admin
+ ,tabsPage = admin.tabsPage
+ ,view = layui.view
+
+ //鎵撳紑鏍囩椤�
+ ,openTabsPage = function(url, text){
+ //閬嶅巻椤电閫夐」鍗�
+ var matchTo
+ ,tabs = $('#LAY_app_tabsheader>li')
+ ,path = url.replace(/(^http(s*):)|(\?[\s\S]*$)/g, '');
+
+ tabs.each(function(index){
+ var li = $(this)
+ ,layid = li.attr('lay-id');
+
+ if(layid === url){
+ matchTo = true;
+ tabsPage.index = index;
+ }
+ });
+
+ text = text || '鏂版爣绛鹃〉';
+
+ if(setter.pageTabs){
+ //濡傛灉鏈湪閫夐」鍗′腑鍖归厤鍒帮紝鍒欒拷鍔犻�夐」鍗�
+ if(!matchTo){
+ $(APP_BODY).append([
+ '<div class="layadmin-tabsbody-item layui-show">'
+ ,'<iframe src="'+ url +'" frameborder="0" class="layadmin-iframe"></iframe>'
+ ,'</div>'
+ ].join(''));
+ tabsPage.index = tabs.length;
+ element.tabAdd(FILTER_TAB_TBAS, {
+ title: '<span>'+ text +'</span>'
+ ,id: url
+ ,attr: path
+ });
+ }
+ } else {
+ var iframe = admin.tabsBody(admin.tabsPage.index).find('.layadmin-iframe');
+ iframe[0].contentWindow.location.href = url;
+ }
+
+ //瀹氫綅褰撳墠tabs
+ element.tabChange(FILTER_TAB_TBAS, url);
+ admin.tabsBodyChange(tabsPage.index, {
+ url: url
+ ,text: text
+ });
+ }
+
+ ,APP_BODY = '#LAY_app_body', FILTER_TAB_TBAS = 'layadmin-layout-tabs'
+ ,$ = layui.$, $win = $(window);
+
+ //鍒濆
+ if(admin.screen() < 2) admin.sideFlexible();
+
+ //灏嗘ā鍧楁牴璺緞璁剧疆涓� controller 鐩綍
+ layui.config({
+ base: setter.base + 'modules/'
+ });
+
+ //鎵╁睍 lib 鐩綍涓嬬殑鍏跺畠妯″潡
+ layui.each(setter.extend, function(index, item){
+ var mods = {};
+ mods[item] = '{/}' + setter.base + 'lib/extend/' + item;
+ layui.extend(mods);
+ });
+
+ view().autoRender();
+
+ //鍔犺浇鍏叡妯″潡
+ layui.use('common');
+
+ //瀵瑰杈撳嚭
+ exports('index', {
+ openTabsPage: openTabsPage
+ });
+});
diff --git a/src/main/webapp/static/wms/layuiadmin/lib/view.js b/src/main/webapp/static/wms/layuiadmin/lib/view.js
new file mode 100644
index 0000000..7a7b49d
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/lib/view.js
@@ -0,0 +1,355 @@
+/**
+
+ @Name锛歭ayuiAdmin 瑙嗗浘妯″潡
+ @Author锛氳搐蹇�
+ @Site锛歨ttp://www.layui.com/admin/
+ @License锛歀PPL
+
+ */
+
+layui.define(['laytpl', 'layer'], function(exports){
+ var $ = layui.jquery
+ ,laytpl = layui.laytpl
+ ,layer = layui.layer
+ ,setter = layui.setter
+ ,device = layui.device()
+ ,hint = layui.hint()
+
+ //瀵瑰鎺ュ彛
+ ,view = function(id){
+ return new Class(id);
+ }
+
+ ,SHOW = 'layui-show', LAY_BODY = 'LAY_app_body'
+
+ //鏋勯�犲櫒
+ ,Class = function(id){
+ this.id = id;
+ this.container = $('#'+(id || LAY_BODY));
+ };
+
+ //鍔犺浇涓�
+ view.loading = function(elem){
+ elem.append(
+ this.elemLoad = $('<i class="layui-anim layui-anim-rotate layui-anim-loop layui-icon layui-icon-loading layadmin-loading"></i>')
+ );
+ };
+
+ //绉婚櫎鍔犺浇
+ view.removeLoad = function(){
+ this.elemLoad && this.elemLoad.remove();
+ };
+
+ //娓呴櫎 token锛屽苟璺宠浆鍒扮櫥鍏ラ〉
+ view.exit = function(callback){
+ //娓呯┖鏈湴璁板綍鐨� token
+ layui.data(setter.tableName, {
+ key: setter.request.tokenName
+ ,remove: true
+ });
+
+ //璺宠浆鍒扮櫥鍏ラ〉
+ //location.hash = '/user/login';
+ callback && callback();
+ };
+
+ //Ajax璇锋眰
+ view.req = function(options){
+ var that = this
+ ,success = options.success
+ ,error = options.error
+ ,request = setter.request
+ ,response = setter.response
+ ,debug = function(){
+ return setter.debug
+ ? '<br><cite>URL锛�</cite>' + options.url
+ : '';
+ };
+
+ options.data = options.data || {};
+ options.headers = options.headers || {};
+
+ if(request.tokenName){
+ //鑷姩缁欏弬鏁颁紶鍏ラ粯璁� token
+ options.data[request.tokenName] = request.tokenName in options.data
+ ? options.data[request.tokenName]
+ : (layui.data(setter.tableName)[request.tokenName] || '');
+
+ //鑷姩缁� Request Headers 浼犲叆 token
+ options.headers[request.tokenName] = request.tokenName in options.headers
+ ? options.headers[request.tokenName]
+ : (layui.data(setter.tableName)[request.tokenName] || '');
+ }
+
+ delete options.success;
+ delete options.error;
+
+ return $.ajax($.extend({
+ type: 'get'
+ ,dataType: 'json'
+ ,success: function(res){
+ var statusCode = response.statusCode;
+
+ //鍙湁 response 鐨� code 涓�鍒囨甯告墠鎵ц done
+ if(res[response.statusName] == statusCode.ok) {
+ typeof options.done === 'function' && options.done(res);
+ }
+
+ //鐧诲綍鐘舵�佸け鏁堬紝娓呴櫎鏈湴 access_token锛屽苟寮哄埗璺宠浆鍒扮櫥鍏ラ〉
+ else if(res[response.statusName] == statusCode.logout){
+ view.exit();
+ }
+
+ //鍏跺畠寮傚父
+ else {
+ var error = [
+ '<cite>Error锛�</cite> ' + (res[response.msgName] || '杩斿洖鐘舵�佺爜寮傚父')
+ ,debug()
+ ].join('');
+ view.error(error);
+ }
+
+ //鍙 http 鐘舵�佺爜姝e父锛屾棤璁� response 鐨� code 鏄惁姝e父閮芥墽琛� success
+ typeof success === 'function' && success(res);
+ }
+ ,error: function(e, code){
+ var error = [
+ '璇锋眰寮傚父锛岃閲嶈瘯<br><cite>閿欒淇℃伅锛�</cite>'+ code
+ ,debug()
+ ].join('');
+ view.error(error);
+
+ typeof error === 'function' && error(res);
+ }
+ }, options));
+ };
+
+ //寮圭獥
+ view.popup = function(options){
+ var success = options.success
+ ,skin = options.skin;
+
+ delete options.success;
+ delete options.skin;
+
+ return layer.open($.extend({
+ type: 1
+ ,title: '鎻愮ず'
+ ,content: ''
+ ,id: 'LAY-system-view-popup'
+ ,skin: 'layui-layer-admin' + (skin ? ' ' + skin : '')
+ ,shadeClose: true
+ ,closeBtn: false
+ ,success: function(layero, index){
+ var elemClose = $('<i class="layui-icon" close>ဆ</i>');
+ layero.append(elemClose);
+ elemClose.on('click', function(){
+ layer.close(index);
+ });
+ typeof success === 'function' && success.apply(this, arguments);
+ }
+ }, options))
+ };
+
+ //寮傚父鎻愮ず
+ view.error = function(content, options){
+ return view.popup($.extend({
+ content: content
+ ,maxWidth: 300
+ //,shade: 0.01
+ ,offset: 't'
+ ,anim: 6
+ ,id: 'LAY_adminError'
+ }, options))
+ };
+
+
+ //璇锋眰妯℃澘鏂囦欢娓叉煋
+ Class.prototype.render = function(views, params){
+ var that = this, router = layui.router();
+ views = setter.views + views + setter.engine;
+
+ $('#'+ LAY_BODY).children('.layadmin-loading').remove();
+ view.loading(that.container); //loading
+
+ //璇锋眰妯℃澘
+ $.ajax({
+ url: views
+ ,type: 'get'
+ ,dataType: 'html'
+ ,data: {
+ v: layui.cache.version
+ }
+ ,success: function(html){
+ html = '<div>' + html + '</div>';
+
+ var elemTitle = $(html).find('title')
+ ,title = elemTitle.text() || (html.match(/\<title\>([\s\S]*)\<\/title>/)||[])[1];
+
+ var res = {
+ title: title
+ ,body: html
+ };
+
+ elemTitle.remove();
+ that.params = params || {}; //鑾峰彇鍙傛暟
+
+ if(that.then){
+ that.then(res);
+ delete that.then;
+ }
+
+ that.parse(html);
+ view.removeLoad();
+
+ if(that.done){
+ that.done(res);
+ delete that.done;
+ }
+
+ }
+ ,error: function(e){
+ view.removeLoad();
+
+ if(that.render.isError){
+ return view.error('璇锋眰瑙嗗浘鏂囦欢寮傚父锛岀姸鎬侊細'+ e.status);
+ };
+
+ if(e.status === 404){
+ that.render('template/tips/404');
+ } else {
+ that.render('template/tips/error');
+ }
+
+ that.render.isError = true;
+ }
+ });
+ return that;
+ };
+
+ //瑙f瀽妯℃澘
+ Class.prototype.parse = function(html, refresh, callback){
+ var that = this
+ ,isScriptTpl = typeof html === 'object' //鏄惁妯℃澘鍏冪礌
+ ,elem = isScriptTpl ? html : $(html)
+ ,elemTemp = isScriptTpl ? html : elem.find('*[template]')
+ ,fn = function(options){
+ var tpl = laytpl(options.dataElem.html());
+
+ options.dataElem.after(tpl.render($.extend({
+ params: router.params
+ }, options.res)));
+
+ typeof callback === 'function' && callback();
+
+ try {
+ options.done && new Function('d', options.done)(options.res);
+ } catch(e){
+ console.error(options.dataElem[0], '\n瀛樺湪閿欒鍥炶皟鑴氭湰\n\n', e)
+ }
+ }
+ ,router = layui.router();
+
+ elem.find('title').remove();
+ that.container[refresh ? 'after' : 'html'](elem.children());
+
+ router.params = that.params || {};
+
+ //閬嶅巻妯℃澘鍖哄潡
+ for(var i = elemTemp.length; i > 0; i--){
+ (function(){
+ var dataElem = elemTemp.eq(i - 1)
+ ,layDone = dataElem.attr('lay-done') || dataElem.attr('lay-then') //鑾峰彇鍥炶皟
+ ,url = laytpl(dataElem.attr('lay-url')|| '').render(router) //鎺ュ彛 url
+ ,data = laytpl(dataElem.attr('lay-data')|| '').render(router) //鎺ュ彛鍙傛暟
+ ,headers = laytpl(dataElem.attr('lay-headers')|| '').render(router); //鎺ュ彛璇锋眰鐨勫ご淇℃伅
+
+ try {
+ data = new Function('return '+ data + ';')();
+ } catch(e) {
+ hint.error('lay-data: ' + e.message);
+ data = {};
+ };
+
+ try {
+ headers = new Function('return '+ headers + ';')();
+ } catch(e) {
+ hint.error('lay-headers: ' + e.message);
+ headers = headers || {}
+ };
+
+ if(url){
+ view.req({
+ type: dataElem.attr('lay-type') || 'get'
+ ,url: url
+ ,data: data
+ ,dataType: 'json'
+ ,headers: headers
+ ,success: function(res){
+ fn({
+ dataElem: dataElem
+ ,res: res
+ ,done: layDone
+ });
+ }
+ });
+ } else {
+ fn({
+ dataElem: dataElem
+ ,done: layDone
+ });
+ }
+ }());
+ }
+
+ return that;
+ };
+
+ //鑷姩娓叉煋鏁版嵁妯℃澘
+ Class.prototype.autoRender = function(id, callback){
+ var that = this;
+ $(id || 'body').find('*[template]').each(function(index, item){
+ var othis = $(this);
+ that.container = othis;
+ that.parse(othis, 'refresh');
+ });
+ };
+
+ //鐩存帴娓叉煋瀛楃
+ Class.prototype.send = function(views, data){
+ var tpl = laytpl(views || this.container.html()).render(data || {});
+ this.container.html(tpl);
+ return this;
+ };
+
+ //灞�閮ㄥ埛鏂版ā鏉�
+ Class.prototype.refresh = function(callback){
+ var that = this
+ ,next = that.container.next()
+ ,templateid = next.attr('lay-templateid');
+
+ if(that.id != templateid) return that;
+
+ that.parse(that.container, 'refresh', function(){
+ that.container.siblings('[lay-templateid="'+ that.id +'"]:last').remove();
+ typeof callback === 'function' && callback();
+ });
+
+ return that;
+ };
+
+ //瑙嗗浘璇锋眰鎴愬姛鍚庣殑鍥炶皟
+ Class.prototype.then = function(callback){
+ this.then = callback;
+ return this;
+ };
+
+ //瑙嗗浘娓叉煋瀹屾瘯鍚庣殑鍥炶皟
+ Class.prototype.done = function(callback){
+ this.done = callback;
+ return this;
+ };
+
+ //瀵瑰鎺ュ彛
+ exports('view', view);
+});
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/modules/common.js b/src/main/webapp/static/wms/layuiadmin/modules/common.js
new file mode 100644
index 0000000..2700bfc
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/modules/common.js
@@ -0,0 +1,43 @@
+/**
+
+ @Name锛歭ayuiAdmin 鍏叡涓氬姟
+ @Author锛氳搐蹇�
+ @Site锛歨ttp://www.layui.com/admin/
+ @License锛歀PPL
+
+ */
+
+layui.define(function(exports){
+ var $ = layui.$
+ ,layer = layui.layer
+ ,laytpl = layui.laytpl
+ ,setter = layui.setter
+ ,view = layui.view
+ ,admin = layui.admin
+
+ //鍏叡涓氬姟鐨勯�昏緫澶勭悊鍙互鍐欏湪姝ゅ锛屽垏鎹换浣曢〉闈㈤兘浼氭墽琛�
+ //鈥︹��
+
+
+
+ //閫�鍑�
+ admin.events.logout = function(){
+ //鎵ц閫�鍑烘帴鍙�
+ admin.req({
+ url: layui.setter.base + 'json/user/logout.js'
+ ,type: 'get'
+ ,data: {}
+ ,done: function(res){ //杩欓噷瑕佽鏄庝竴涓嬶細done 鏄彧鏈� response 鐨� code 姝e父鎵嶄細鎵ц銆傝�� succese 鍒欐槸鍙 http 涓� 200 灏变細鎵ц
+
+ //娓呯┖鏈湴璁板綍鐨� token锛屽苟璺宠浆鍒扮櫥鍏ラ〉
+ admin.exit(function(){
+ location.href = 'user/login.html';
+ });
+ }
+ });
+ };
+
+
+ //瀵瑰鏆撮湶鐨勬帴鍙�
+ exports('common', {});
+});
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/modules/console.js b/src/main/webapp/static/wms/layuiadmin/modules/console.js
new file mode 100644
index 0000000..09996b5
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/modules/console.js
@@ -0,0 +1,219 @@
+/**
+
+ @Name锛歭ayuiAdmin 涓婚〉鎺у埗鍙�
+ @Author锛氳搐蹇�
+ @Site锛歨ttp://www.layui.com/admin/
+ @License锛欸PL-2
+
+ */
+
+
+layui.define(function(exports){
+
+ /*
+ 涓嬮潰閫氳繃 layui.use 鍒嗘鍔犺浇涓嶅悓鐨勬ā鍧楋紝瀹炵幇涓嶅悓鍖哄煙鐨勫悓鏃舵覆鏌擄紝浠庤�屼繚璇佽鍥剧殑蹇�熷憟鐜�
+ */
+
+
+ //鍖哄潡杞挱鍒囨崲
+ layui.use(['admin', 'carousel'], function(){
+ var $ = layui.$
+ ,admin = layui.admin
+ ,carousel = layui.carousel
+ ,element = layui.element
+ ,device = layui.device();
+
+ //杞挱鍒囨崲
+ $('.layadmin-carousel').each(function(){
+ var othis = $(this);
+ carousel.render({
+ elem: this
+ ,width: '100%'
+ ,arrow: 'none'
+ ,interval: othis.data('interval')
+ ,autoplay: othis.data('autoplay') === true
+ ,trigger: (device.ios || device.android) ? 'click' : 'hover'
+ ,anim: othis.data('anim')
+ });
+ });
+
+ element.render('progress');
+
+ });
+
+ //鏁版嵁姒傝
+ layui.use(['carousel', 'echarts'], function(){
+ var $ = layui.$
+ ,carousel = layui.carousel
+ ,echarts = layui.echarts;
+
+ var echartsApp = [], options = [
+ //浠婃棩娴侀噺瓒嬪娍
+ {
+ title: {
+ text: '浠婃棩娴侀噺瓒嬪娍',
+ x: 'center',
+ textStyle: {
+ fontSize: 14
+ }
+ },
+ tooltip : {
+ trigger: 'axis'
+ },
+ legend: {
+ data:['','']
+ },
+ xAxis : [{
+ type : 'category',
+ boundaryGap : false,
+ data: ['06:00','06:30','07:00','07:30','08:00','08:30','09:00','09:30','10:00','11:30','12:00','12:30','13:00','13:30','14:00','14:30','15:00','15:30','16:00','16:30','17:00','17:30','18:00','18:30','19:00','19:30','20:00','20:30','21:00','21:30','22:00','22:30','23:00','23:30']
+ }],
+ yAxis : [{
+ type : 'value'
+ }],
+ series : [{
+ name:'PV',
+ type:'line',
+ smooth:true,
+ itemStyle: {normal: {areaStyle: {type: 'default'}}},
+ data: [111,222,333,444,555,666,3333,33333,55555,66666,33333,3333,6666,11888,26666,38888,56666,42222,39999,28888,17777,9666,6555,5555,3333,2222,3111,6999,5888,2777,1666,999,888,777]
+ },{
+ name:'UV',
+ type:'line',
+ smooth:true,
+ itemStyle: {normal: {areaStyle: {type: 'default'}}},
+ data: [11,22,33,44,55,66,333,3333,5555,12666,3333,333,666,1188,2666,3888,6666,4222,3999,2888,1777,966,655,555,333,222,311,699,588,277,166,99,88,77]
+ }]
+ },
+
+ //璁垮娴忚鍣ㄥ垎甯�
+ {
+ title : {
+ text: '璁垮娴忚鍣ㄥ垎甯�',
+ x: 'center',
+ textStyle: {
+ fontSize: 14
+ }
+ },
+ tooltip : {
+ trigger: 'item',
+ formatter: "{a} <br/>{b} : {c} ({d}%)"
+ },
+ legend: {
+ orient : 'vertical',
+ x : 'left',
+ data:['Chrome','Firefox','IE 8.0','Safari','鍏跺畠娴忚鍣�']
+ },
+ series : [{
+ name:'璁块棶鏉ユ簮',
+ type:'pie',
+ radius : '55%',
+ center: ['50%', '50%'],
+ data:[
+ {value:9052, name:'Chrome'},
+ {value:1610, name:'Firefox'},
+ {value:3200, name:'IE 8.0'},
+ {value:535, name:'Safari'},
+ {value:1700, name:'鍏跺畠娴忚鍣�'}
+ ]
+ }]
+ },
+
+ //鏂板鐨勭敤鎴烽噺
+ {
+ title: {
+ text: '鏈�杩戜竴鍛ㄦ柊澧炵殑鐢ㄦ埛閲�',
+ x: 'center',
+ textStyle: {
+ fontSize: 14
+ }
+ },
+ tooltip : { //鎻愮ず妗�
+ trigger: 'axis',
+ formatter: "{b}<br>鏂板鐢ㄦ埛锛歿c}"
+ },
+ xAxis : [{ //X杞�
+ type : 'category',
+ data : ['11-07', '11-08', '11-09', '11-10', '11-11', '11-12', '11-13']
+ }],
+ yAxis : [{ //Y杞�
+ type : 'value'
+ }],
+ series : [{ //鍐呭
+ type: 'line',
+ data:[200, 300, 400, 610, 150, 270, 380],
+ }]
+ }
+ ]
+ ,elemDataView = $('#LAY-index-dataview').children('div')
+ ,renderDataView = function(index){
+ echartsApp[index] = echarts.init(elemDataView[index], layui.echartsTheme);
+ echartsApp[index].setOption(options[index]);
+ window.onresize = echartsApp[index].resize;
+ };
+
+
+ //娌℃壘鍒癉OM锛岀粓姝㈡墽琛�
+ if(!elemDataView[0]) return;
+
+
+
+ renderDataView(0);
+
+ //鐩戝惉鏁版嵁姒傝杞挱
+ var carouselIndex = 0;
+ carousel.on('change(LAY-index-dataview)', function(obj){
+ renderDataView(carouselIndex = obj.index);
+ });
+
+ //鐩戝惉渚ц竟浼哥缉
+ layui.admin.on('side', function(){
+ setTimeout(function(){
+ renderDataView(carouselIndex);
+ }, 300);
+ });
+
+ //鐩戝惉璺敱
+ layui.admin.on('hash(tab)', function(){
+ layui.router().path.join('') || renderDataView(carouselIndex);
+ });
+ });
+
+ //鏈�鏂拌鍗�
+ layui.use('table', function(){
+ var $ = layui.$
+ ,table = layui.table;
+
+ //浠婃棩鐑悳
+ table.render({
+ elem: '#LAY-index-topSearch'
+ ,url: layui.setter.base + 'json/console/top-search.js' //妯℃嫙鎺ュ彛
+ ,page: true
+ ,cols: [[
+ {type: 'numbers', fixed: 'left'}
+ ,{field: 'keywords', title: '鍏抽敭璇�', minWidth: 300, templet: '<div><a href="https://www.baidu.com/s?wd={{ d.keywords }}" target="_blank" class="layui-table-link">{{ d.keywords }}</div>'}
+ ,{field: 'frequency', title: '鎼滅储娆℃暟', minWidth: 120, sort: true}
+ ,{field: 'userNums', title: '鐢ㄦ埛鏁�', sort: true}
+ ]]
+ ,skin: 'line'
+ });
+
+ //浠婃棩鐑创
+ table.render({
+ elem: '#LAY-index-topCard'
+ ,url: layui.setter.base + 'json/console/top-card.js' //妯℃嫙鎺ュ彛
+ ,page: true
+ ,cellMinWidth: 120
+ ,cols: [[
+ {type: 'numbers', fixed: 'left'}
+ ,{field: 'title', title: '鏍囬', minWidth: 300, templet: '<div><a href="{{ d.href }}" target="_blank" class="layui-table-link">{{ d.title }}</div>'}
+ ,{field: 'username', title: '鍙戝笘鑰�'}
+ ,{field: 'channel', title: '绫诲埆'}
+ ,{field: 'crt', title: '鐐瑰嚮鐜�', sort: true}
+ ]]
+ ,skin: 'line'
+ });
+ });
+
+ exports('console', {})
+});
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/modules/contlist.js b/src/main/webapp/static/wms/layuiadmin/modules/contlist.js
new file mode 100644
index 0000000..b2a9bb0
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/modules/contlist.js
@@ -0,0 +1,187 @@
+/**
+
+ @Name锛歭ayuiAdmin 鍐呭绯荤粺
+ @Author锛歴tar1029
+ @Site锛歨ttp://www.layui.com/admin/
+ @License锛歀PPL
+
+ */
+
+
+layui.define(['table', 'form'], function(exports){
+ var $ = layui.$
+ ,table = layui.table
+ ,form = layui.form;
+
+ //鏂囩珷绠$悊
+ table.render({
+ elem: '#LAY-app-content-list'
+ ,url: layui.setter.base + 'json/content/list.js' //妯℃嫙鎺ュ彛
+ ,cols: [[
+ {type: 'checkbox', fixed: 'left'}
+ ,{field: 'id', width: 100, title: '鏂囩珷ID', sort: true}
+ ,{field: 'label', title: '鏂囩珷鏍囩', minWidth: 100}
+ ,{field: 'title', title: '鏂囩珷鏍囬'}
+ ,{field: 'author', title: '浣滆��'}
+ ,{field: 'uploadtime', title: '涓婁紶鏃堕棿', sort: true}
+ ,{field: 'status', title: '鍙戝竷鐘舵��', templet: '#buttonTpl', minWidth: 80, align: 'center'}
+ ,{title: '鎿嶄綔', minWidth: 150, align: 'center', fixed: 'right', toolbar: '#table-content-list'}
+ ]]
+ ,page: true
+ ,limit: 10
+ ,limits: [10, 15, 20, 25, 30]
+ ,text: '瀵逛笉璧凤紝鍔犺浇鍑虹幇寮傚父锛�'
+ });
+
+ //鐩戝惉宸ュ叿鏉�
+ table.on('tool(LAY-app-content-list)', function(obj){
+ var data = obj.data;
+ if(obj.event === 'del'){
+ layer.confirm('纭畾鍒犻櫎姝ゆ枃绔狅紵', function(index){
+ obj.del();
+ layer.close(index);
+ });
+ } else if(obj.event === 'edit'){
+ layer.open({
+ type: 2
+ ,title: '缂栬緫鏂囩珷'
+ ,content: '../../../views/app/content/listform.html?id='+ data.id
+ ,maxmin: true
+ ,area: ['550px', '550px']
+ ,btn: ['纭畾', '鍙栨秷']
+ ,yes: function(index, layero){
+ var iframeWindow = window['layui-layer-iframe'+ index]
+ ,submit = layero.find('iframe').contents().find("#layuiadmin-app-form-edit");
+
+ //鐩戝惉鎻愪氦
+ iframeWindow.layui.form.on('submit(layuiadmin-app-form-edit)', function(data){
+ var field = data.field; //鑾峰彇鎻愪氦鐨勫瓧娈�
+
+ //鎻愪氦 Ajax 鎴愬姛鍚庯紝闈欐�佹洿鏂拌〃鏍间腑鐨勬暟鎹�
+ //$.ajax({});
+ obj.update({
+ label: field.label
+ ,title: field.title
+ ,author: field.author
+ ,status: field.status
+ }); //鏁版嵁鏇存柊
+
+ form.render();
+ layer.close(index); //鍏抽棴寮瑰眰
+ });
+
+ submit.trigger('click');
+ }
+ });
+ }
+ });
+
+ //鍒嗙被绠$悊
+ table.render({
+ elem: '#LAY-app-content-tags'
+ ,url: layui.setter.base + 'json/content/tags.js' //妯℃嫙鎺ュ彛
+ ,cols: [[
+ {type: 'numbers', fixed: 'left'}
+ ,{field: 'id', width: 100, title: 'ID', sort: true}
+ ,{field: 'tags', title: '鍒嗙被鍚�', minWidth: 100}
+ ,{title: '鎿嶄綔', width: 150, align: 'center', fixed: 'right', toolbar: '#layuiadmin-app-cont-tagsbar'}
+ ]]
+ ,text: '瀵逛笉璧凤紝鍔犺浇鍑虹幇寮傚父锛�'
+ });
+
+ //鐩戝惉宸ュ叿鏉�
+ table.on('tool(LAY-app-content-tags)', function(obj){
+ var data = obj.data;
+ if(obj.event === 'del'){
+ layer.confirm('纭畾鍒犻櫎姝ゅ垎绫伙紵', function(index){
+ obj.del();
+ layer.close(index);
+ });
+ } else if(obj.event === 'edit'){
+ var tr = $(obj.tr);
+ layer.open({
+ type: 2
+ ,title: '缂栬緫鍒嗙被'
+ ,content: '../../../views/app/content/tagsform.html?id='+ data.id
+ ,area: ['450px', '200px']
+ ,btn: ['纭畾', '鍙栨秷']
+ ,yes: function(index, layero){
+ //鑾峰彇iframe鍏冪礌鐨勫��
+ var othis = layero.find('iframe').contents().find("#layuiadmin-app-form-tags")
+ ,tags = othis.find('input[name="tags"]').val();
+
+ if(!tags.replace(/\s/g, '')) return;
+
+ obj.update({
+ tags: tags
+ });
+ layer.close(index);
+ }
+ ,success: function(layero, index){
+ //缁檌frame鍏冪礌璧嬪��
+ var othis = layero.find('iframe').contents().find("#layuiadmin-app-form-tags").click();
+ othis.find('input[name="tags"]').val(data.tags);
+ }
+ });
+ }
+ });
+
+ //璇勮绠$悊
+ table.render({
+ elem: '#LAY-app-content-comm'
+ ,url: layui.setter.base + 'json/content/comment.js' //妯℃嫙鎺ュ彛
+ ,cols: [[
+ {type: 'checkbox', fixed: 'left'}
+ ,{field: 'id', width: 100, title: 'ID', sort: true}
+ ,{field: 'reviewers', title: '璇勮鑰�', minWidth: 100}
+ ,{field: 'content', title: '璇勮鍐呭', minWidth: 100}
+ ,{field: 'commtime', title: '璇勮鏃堕棿', minWidth: 100, sort: true}
+ ,{title: '鎿嶄綔', width: 150, align: 'center', fixed: 'right', toolbar: '#table-content-com'}
+ ]]
+ ,page: true
+ ,limit: 10
+ ,limits: [10, 15, 20, 25, 30]
+ ,text: '瀵逛笉璧凤紝鍔犺浇鍑虹幇寮傚父锛�'
+ });
+
+ //鐩戝惉宸ュ叿鏉�
+ table.on('tool(LAY-app-content-comm)', function(obj){
+ var data = obj.data;
+ if(obj.event === 'del'){
+ layer.confirm('纭畾鍒犻櫎姝ゆ潯璇勮锛�', function(index){
+ obj.del();
+ layer.close(index);
+ });
+ } else if(obj.event === 'edit') {
+ layer.open({
+ type: 2
+ ,title: '缂栬緫璇勮'
+ ,content: '../../../views/app/content/contform.html'
+ ,area: ['450px', '300px']
+ ,btn: ['纭畾', '鍙栨秷']
+ ,yes: function(index, layero){
+ var iframeWindow = window['layui-layer-iframe'+ index]
+ ,submitID = 'layuiadmin-app-comm-submit'
+ ,submit = layero.find('iframe').contents().find('#'+ submitID);
+
+ //鐩戝惉鎻愪氦
+ iframeWindow.layui.form.on('submit('+ submitID +')', function(data){
+ var field = data.field; //鑾峰彇鎻愪氦鐨勫瓧娈�
+
+ //鎻愪氦 Ajax 鎴愬姛鍚庯紝闈欐�佹洿鏂拌〃鏍间腑鐨勬暟鎹�
+ //$.ajax({});
+ table.reload('LAY-app-content-comm'); //鏁版嵁鍒锋柊
+ layer.close(index); //鍏抽棴寮瑰眰
+ });
+
+ submit.trigger('click');
+ }
+ ,success: function(layero, index){
+
+ }
+ });
+ }
+ });
+
+ exports('contlist', {})
+});
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/modules/forum.js b/src/main/webapp/static/wms/layuiadmin/modules/forum.js
new file mode 100644
index 0000000..885a9ba
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/modules/forum.js
@@ -0,0 +1,136 @@
+/**
+
+ @Name锛歭ayuiAdmin 绀惧尯绯荤粺
+ @Author锛歴tar1029
+ @Site锛歨ttp://www.layui.com/admin/
+ @License锛歀PPL
+
+ */
+
+
+layui.define(['table', 'form'], function(exports){
+ var $ = layui.$
+ ,table = layui.table
+ ,form = layui.form;
+
+ //甯栧瓙绠$悊
+ table.render({
+ elem: '#LAY-app-forum-list'
+ ,url: layui.setter.base + 'json/forum/list.js' //妯℃嫙鎺ュ彛
+ ,cols: [[
+ {type: 'checkbox', fixed: 'left'}
+ ,{field: 'id', width: 100, title: 'ID', sort: true}
+ ,{field: 'poster', title: '鍙戝笘浜�'}
+ ,{field: 'avatar', title: '澶村儚', width: 100, templet: '#imgTpl'}
+ ,{field: 'content', title: '鍙戝笘鍐呭'}
+ ,{field: 'posttime', title: '鍙戝笘鏃堕棿', sort: true}
+ ,{field: 'top', title: '缃《', templet: '#buttonTpl', minWidth: 80, align: 'center'}
+ ,{title: '鎿嶄綔', width: 150, align: 'center', fixed: 'right', toolbar: '#table-forum-list'}
+ ]]
+ ,page: true
+ ,limit: 10
+ ,limits: [10, 15, 20, 25, 30]
+ ,text: '瀵逛笉璧凤紝鍔犺浇鍑虹幇寮傚父锛�'
+ });
+
+ //鐩戝惉宸ュ叿鏉�
+ table.on('tool(LAY-app-forum-list)', function(obj){
+ var data = obj.data;
+ if(obj.event === 'del'){
+ layer.confirm('纭畾鍒犻櫎姝ゆ潯甯栧瓙锛�', function(index){
+ obj.del();
+ layer.close(index);
+ });
+ } else if(obj.event === 'edit'){
+ var tr = $(obj.tr);
+
+ layer.open({
+ type: 2
+ ,title: '缂栬緫甯栧瓙'
+ ,content: '../../../views/app/forum/listform.html'
+ ,area: ['550px', '400px']
+ ,btn: ['纭畾', '鍙栨秷']
+ ,resize: false
+ ,yes: function(index, layero){
+ var iframeWindow = window['layui-layer-iframe'+ index]
+ ,submitID = 'LAY-app-forum-submit'
+ ,submit = layero.find('iframe').contents().find('#'+ submitID);
+
+ //鐩戝惉鎻愪氦
+ iframeWindow.layui.form.on('submit('+ submitID +')', function(data){
+ var field = data.field; //鑾峰彇鎻愪氦鐨勫瓧娈�
+
+ //鎻愪氦 Ajax 鎴愬姛鍚庯紝闈欐�佹洿鏂拌〃鏍间腑鐨勬暟鎹�
+ //$.ajax({});
+ table.reload('LAY-app-forum-list'); //鏁版嵁鍒锋柊
+ layer.close(index); //鍏抽棴寮瑰眰
+ });
+
+ submit.trigger('click');
+ }
+ ,success: function(layero, index){
+
+ }
+ });
+ }
+ });
+
+ //鍥炲笘绠$悊
+ table.render({
+ elem: '#LAY-app-forumreply-list'
+ ,url: layui.setter.base + 'json/forum/replys.js' //妯℃嫙鎺ュ彛
+ ,cols: [[
+ {type: 'checkbox', fixed: 'left'}
+ ,{field: 'id', width: 100, title: 'ID', sort: true}
+ ,{field: 'replyer', title: '鍥炲笘浜�'}
+ ,{field: 'cardid', title: '鍥炲笘ID', sort: true}
+ ,{field: 'avatar', title: '澶村儚', width: 100, templet: '#imgTpl'}
+ ,{field: 'content', title: '鍥炲笘鍐呭', width: 200}
+ ,{field: 'replytime', title: '鍥炲笘鏃堕棿', sort: true}
+ ,{title: '鎿嶄綔', width: 150, align: 'center', fixed: 'right', toolbar: '#table-forum-replys'}
+ ]]
+ ,page: true
+ ,limit: 10
+ ,limits: [10, 15, 20, 25, 30]
+ ,text: '瀵逛笉璧凤紝鍔犺浇鍑虹幇寮傚父锛�'
+ });
+
+ //鐩戝惉宸ュ叿鏉�
+ table.on('tool(LAY-app-forumreply-list)', function(obj){
+ var data = obj.data;
+ if(obj.event === 'del'){
+ layer.confirm('纭畾鍒犻櫎姝ゆ潯璇勮锛�', function(index){
+ obj.del();
+ layer.close(index);
+ });
+ } else if(obj.event === 'edit'){
+ var tr = $(obj.tr);
+
+ layer.open({
+ type: 2
+ ,title: '缂栬緫璇勮'
+ ,content: '../../../views/app/forum/replysform.html'
+ ,area: ['550px', '350px']
+ ,btn: ['纭畾', '鍙栨秷']
+ ,resize: false
+ ,yes: function(index, layero){
+ //鑾峰彇iframe鍏冪礌鐨勫��
+ var othis = layero.find('iframe').contents().find("#layuiadmin-form-replys");
+ var content = othis.find('textarea[name="content"]').val();
+
+ //鏁版嵁鏇存柊
+ obj.update({
+ content: content
+ });
+ layer.close(index);
+ }
+ ,success: function(layero, index){
+
+ }
+
+ });
+ }
+ });
+
+ exports('forum', {})
+});
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/modules/im.js b/src/main/webapp/static/wms/layuiadmin/modules/im.js
new file mode 100644
index 0000000..9fc1f75
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/modules/im.js
@@ -0,0 +1,418 @@
+/**
+
+ @Name锛歭ayuiAdmin 鐢ㄦ埛鐧诲叆鍜屾敞鍐岀瓑
+ @Author锛氳搐蹇�
+ @Site锛歨ttp://www.layui.com/admin/
+ @License: LPPL
+
+ */
+
+layui.define(['index', 'layim'], function(exports){
+ var $ = layui.$
+ ,admin = layui.admin
+ ,element = layui.element
+ ,router = layui.router();
+
+
+ var layim = layui.layim;
+
+ //婕旂ず鑷姩鍥炲
+ var autoReplay = [
+ '鎮ㄥソ锛屾垜鐜板湪鏈変簨涓嶅湪锛屼竴浼氬啀鍜屾偍鑱旂郴銆�',
+ '浣犳病鍙戦敊鍚э紵face[寰瑧] ',
+ '娲楁尽涓紝璇峰嬁鎵撴壈锛屽伔绐ヨ璐エ锛屼釜浣撳洓鍗侊紝鍥綋鍏姌锛岃绁ㄧ數璇濓細涓�鑸汉鎴戜笉鍛婅瘔浠栵紒face[鍝堝搱] ',
+ '浣犲ソ锛屾垜鏄富浜虹殑缇庡コ绉樹功锛屾湁浠�涔堜簨灏辫窡鎴戣鍚э紝绛変粬鍥炴潵鎴戜細杞憡浠栫殑銆俧ace[蹇僝 face[蹇僝 face[蹇僝 ',
+ 'face[濞佹] face[濞佹] face[濞佹] face[濞佹] ',
+ '<锛園锟o付锟锛�>',
+ '浣犺鍜屾垜璇磋瘽锛熶綘鐪熺殑瑕佸拰鎴戣璇濓紵浣犵‘瀹氳嚜宸辨兂璇村悧锛熶綘涓�瀹氶潪璇翠笉鍙悧锛熼偅浣犺鍚э紝杩欐槸鑷姩鍥炲銆�',
+ 'face[榛戠嚎] 浣犳參鎱㈣锛屽埆鎬モ�︹��',
+ '(*^__^*) face[鍢诲樆] 锛屾槸璐ゅ績鍚楋紵'
+ ];
+
+ //鍩虹閰嶇疆
+ layim.config({
+ //鍒濆鍖栨帴鍙�
+ init: {
+ url: layui.setter.base + 'json/layim/getList.js'
+ ,data: {}
+ }
+ //鏌ョ湅缇ゅ憳鎺ュ彛
+ ,members: {
+ url: layui.setter.base + 'json/layim/getMembers.js'
+ ,data: {}
+ }
+
+ ,uploadImage: {
+ url: '' //锛堣繑鍥炵殑鏁版嵁鏍煎紡瑙佷笅鏂囷級
+ ,type: '' //榛樿post
+ }
+ ,uploadFile: {
+ url: '' //锛堣繑鍥炵殑鏁版嵁鏍煎紡瑙佷笅鏂囷級
+ ,type: '' //榛樿post
+ }
+
+ ,isAudio: true //寮�鍚亰澶╁伐鍏锋爮闊抽
+ ,isVideo: true //寮�鍚亰澶╁伐鍏锋爮瑙嗛
+
+ //鎵╁睍宸ュ叿鏍�
+ ,tool: [{
+ alias: 'code'
+ ,title: '浠g爜'
+ ,icon: ''
+ }]
+
+ //,brief: true //鏄惁绠�绾︽ā寮忥紙鑻ュ紑鍚垯涓嶆樉绀轰富闈㈡澘锛�
+
+ //,title: 'WebIM' //鑷畾涔変富闈㈡澘鏈�灏忓寲鏃剁殑鏍囬
+ //,right: '100px' //涓婚潰鏉跨浉瀵规祻瑙堝櫒鍙充晶璺濈
+ //,minRight: '90px' //鑱婂ぉ闈㈡澘鏈�灏忓寲鏃剁浉瀵规祻瑙堝櫒鍙充晶璺濈
+ ,initSkin: '3.jpg' //1-5 璁剧疆鍒濆鑳屾櫙
+ //,skin: ['aaa.jpg'] //鏂板鐨偆
+ //,isfriend: false //鏄惁寮�鍚ソ鍙�
+ //,isgroup: false //鏄惁寮�鍚兢缁�
+ //,min: true //鏄惁濮嬬粓鏈�灏忓寲涓婚潰鏉匡紝榛樿false
+ //,notice: true //鏄惁寮�鍚闈㈡秷鎭彁閱掞紝榛樿false
+ //,voice: false //澹伴煶鎻愰啋锛岄粯璁ゅ紑鍚紝澹伴煶鏂囦欢涓猴細default.mp3
+
+ ,msgbox: '/layim/demo/msgbox.html' //娑堟伅鐩掑瓙椤甸潰鍦板潃锛岃嫢涓嶅紑鍚紝鍓旈櫎璇ラ」鍗冲彲
+ ,find: '/layim/demo/find.html' //鍙戠幇椤甸潰鍦板潃锛岃嫢涓嶅紑鍚紝鍓旈櫎璇ラ」鍗冲彲
+ ,chatLog: '/layim/demo/chatlog.html' //鑱婂ぉ璁板綍椤甸潰鍦板潃锛岃嫢涓嶅紑鍚紝鍓旈櫎璇ラ」鍗冲彲
+
+ });
+ //鐩戝惉鍦ㄧ嚎鐘舵�佺殑鍒囨崲浜嬩欢
+ layim.on('online', function(status){
+ layer.msg(status);
+ });
+
+ //鐩戝惉绛惧悕淇敼
+ layim.on('sign', function(value){
+ layer.msg(value);
+ });
+ //鐩戝惉鑷畾涔夊伐鍏锋爮鐐瑰嚮锛屼互娣诲姞浠g爜涓轰緥
+ layim.on('tool(code)', function(insert){
+ layer.prompt({
+ title: '鎻掑叆浠g爜 - 宸ュ叿鏍忔墿灞曠ず渚�'
+ ,formType: 2
+ ,shade: 0
+ }, function(text, index){
+ layer.close(index);
+ insert('[pre class=layui-code]' + text + '[/pre]'); //灏嗗唴瀹规彃鍏ュ埌缂栬緫鍣�
+ });
+ });
+
+ //鐩戝惉layim寤虹珛灏辩华
+ layim.on('ready', function(res){
+ //console.log(res.mine);
+ layim.msgbox(5); //妯℃嫙娑堟伅鐩掑瓙鏈夋柊娑堟伅锛屽疄闄呬娇鐢ㄦ椂锛屼竴鑸槸鍔ㄦ�佽幏寰�
+ });
+ //鐩戝惉鍙戦�佹秷鎭�
+ layim.on('sendMessage', function(data){
+ var To = data.to;
+ //console.log(data);
+
+ if(To.type === 'friend'){
+ layim.setChatStatus('<span style="color:#FF5722;">瀵规柟姝e湪杈撳叆銆傘�傘��</span>');
+ }
+
+ //婕旂ず鑷姩鍥炲
+ setTimeout(function(){
+ var obj = {};
+ if(To.type === 'group'){
+ obj = {
+ username: '妯℃嫙缇ゅ憳'+(Math.random()*100|0)
+ ,avatar: layui.cache.dir + 'images/face/'+ (Math.random()*72|0) + '.gif'
+ ,id: To.id
+ ,type: To.type
+ ,content: autoReplay[Math.random()*9|0]
+ }
+ } else {
+ obj = {
+ username: To.name
+ ,avatar: To.avatar
+ ,id: To.id
+ ,type: To.type
+ ,content: autoReplay[Math.random()*9|0]
+ }
+ layim.setChatStatus('<span style="color:#FF5722;">鍦ㄧ嚎</span>');
+ }
+ layim.getMessage(obj);
+ }, 1000);
+ });
+ //鐩戝惉鏌ョ湅缇ゅ憳
+ layim.on('members', function(data){
+ //console.log(data);
+ });
+
+ //鐩戝惉鑱婂ぉ绐楀彛鐨勫垏鎹�
+ layim.on('chatChange', function(res){
+ var type = res.data.type;
+ console.log(res.data.id)
+ if(type === 'friend'){
+ //妯℃嫙鏍囨敞濂藉弸鐘舵��
+ //layim.setChatStatus('<span style="color:#FF5722;">鍦ㄧ嚎</span>');
+ } else if(type === 'group'){
+ //妯℃嫙绯荤粺娑堟伅
+ layim.getMessage({
+ system: true
+ ,id: res.data.id
+ ,type: "group"
+ ,content: '妯℃嫙缇ゅ憳'+(Math.random()*100|0) + '鍔犲叆缇よ亰'
+ });
+ }
+ });
+
+
+ //闈㈡澘澶栫殑鎿嶄綔
+ var $ = layui.jquery, active = {
+ chat: function(){
+ //鑷畾涔変細璇�
+ layim.chat({
+ name: '灏忛棽'
+ ,type: 'friend'
+ ,avatar: '//tva3.sinaimg.cn/crop.0.0.180.180.180/7f5f6861jw1e8qgp5bmzyj2050050aa8.jpg'
+ ,id: 1008612
+ });
+ layer.msg('涔熷氨鏄锛屾浜哄彲浠ヤ笉鍦ㄥソ鍙嬮潰鏉块噷');
+ }
+ ,message: function(){
+ //鍒堕�犲ソ鍙嬫秷鎭�
+ layim.getMessage({
+ username: "璐ゅ績"
+ ,avatar: "//tp1.sinaimg.cn/1571889140/180/40030060651/1"
+ ,id: "100001"
+ ,type: "friend"
+ ,content: "鍡紝浣犲ソ锛佹杩庝綋楠孡ayIM銆傛紨绀烘爣璁帮細"+ new Date().getTime()
+ ,timestamp: new Date().getTime()
+ });
+ }
+ ,messageAudio: function(){
+ //鎺ュ彈闊抽娑堟伅
+ layim.getMessage({
+ username: "鏋楀績濡�"
+ ,avatar: "//tp3.sinaimg.cn/1223762662/180/5741707953/0"
+ ,id: "76543"
+ ,type: "friend"
+ ,content: "audio[http://gddx.sc.chinaz.com/Files/DownLoad/sound1/201510/6473.mp3]"
+ ,timestamp: new Date().getTime()
+ });
+ }
+ ,messageVideo: function(){
+ //鎺ュ彈瑙嗛娑堟伅
+ layim.getMessage({
+ username: "鏋楀績濡�"
+ ,avatar: "//tp3.sinaimg.cn/1223762662/180/5741707953/0"
+ ,id: "76543"
+ ,type: "friend"
+ ,content: "video[http://www.w3school.com.cn//i/movie.ogg]"
+ ,timestamp: new Date().getTime()
+ });
+ }
+ ,messageTemp: function(){
+ //鎺ュ彈涓存椂浼氳瘽娑堟伅
+ layim.getMessage({
+ username: "灏忛叡"
+ ,avatar: "//tva1.sinaimg.cn/crop.7.0.736.736.50/bd986d61jw8f5x8bqtp00j20ku0kgabx.jpg"
+ ,id: "198909151014"
+ ,type: "friend"
+ ,content: "涓存椂锛�"+ new Date().getTime()
+ });
+ }
+ ,add: function(){
+ //瀹為檯浣跨敤鏃舵暟鎹敱鍔ㄦ�佽幏寰�
+ layim.add({
+ type: 'friend'
+ ,username: '楹昏姳鐤�'
+ ,avatar: '//tva1.sinaimg.cn/crop.0.0.720.720.180/005JKVuPjw8ers4osyzhaj30k00k075e.jpg'
+ ,submit: function(group, remark, index){
+ layer.msg('濂藉弸鐢宠宸插彂閫侊紝璇风瓑寰呭鏂圭‘璁�', {
+ icon: 1
+ ,shade: 0.5
+ }, function(){
+ layer.close(index);
+ });
+
+ //閫氱煡瀵规柟
+ /*
+ $.post('/im-applyFriend/', {
+ uid: info.uid
+ ,from_group: group
+ ,remark: remark
+ }, function(res){
+ if(res.status != 0){
+ return layer.msg(res.msg);
+ }
+ layer.msg('濂藉弸鐢宠宸插彂閫侊紝璇风瓑寰呭鏂圭‘璁�', {
+ icon: 1
+ ,shade: 0.5
+ }, function(){
+ layer.close(index);
+ });
+ });
+ */
+ }
+ });
+ }
+ ,addqun: function(){
+ layim.add({
+ type: 'group'
+ ,username: 'LayIM浼氬憳缇�'
+ ,avatar: '//tva2.sinaimg.cn/crop.0.0.180.180.50/6ddfa27bjw1e8qgp5bmzyj2050050aa8.jpg'
+ ,submit: function(group, remark, index){
+ layer.msg('鐢宠宸插彂閫侊紝璇风瓑寰呯鐞嗗憳纭', {
+ icon: 1
+ ,shade: 0.5
+ }, function(){
+ layer.close(index);
+ });
+
+ //閫氱煡瀵规柟
+ /*
+ $.post('/im-applyGroup/', {
+ uid: info.uid
+ ,from_group: group
+ ,remark: remark
+ }, function(res){
+
+ });
+ */
+ }
+ });
+ }
+ ,addFriend: function(){
+ var user = {
+ type: 'friend'
+ ,id: 1234560
+ ,username: '鏉庡溅瀹�' //濂藉弸鏄电О锛岃嫢鐢宠鍔犵兢锛屽弬鏁颁负锛歡roupname
+ ,avatar: '//tva4.sinaimg.cn/crop.0.0.996.996.180/8b2b4e23jw8f14vkwwrmjj20ro0rpjsq.jpg' //澶村儚
+ ,sign: '鍏ㄧ悆鏈�澶х殑涓枃鎼滅储寮曟搸'
+ }
+ layim.setFriendGroup({
+ type: user.type
+ ,username: user.username
+ ,avatar: user.avatar
+ ,group: layim.cache().friend //鑾峰彇濂藉弸鍒楄〃鏁版嵁
+ ,submit: function(group, index){
+ //涓�鑸湪姝ゆ墽琛孉jax鍜學S锛屼互閫氱煡瀵规柟宸茬粡鍚屾剰鐢宠
+ //鈥︹��
+
+ //鍚屾剰鍚庯紝灏嗗ソ鍙嬭拷鍔犲埌涓婚潰鏉�
+ layim.addList({
+ type: user.type
+ ,username: user.username
+ ,avatar: user.avatar
+ ,groupid: group //鎵�鍦ㄧ殑鍒嗙粍id
+ ,id: user.id //濂藉弸ID
+ ,sign: user.sign //濂藉弸绛惧悕
+ });
+
+ layer.close(index);
+ }
+ });
+ }
+ ,addGroup: function(){
+ layer.msg('宸叉垚鍔熸妸[Angular寮�鍙慮娣诲姞鍒扮兢缁勯噷', {
+ icon: 1
+ });
+ //澧炲姞涓�涓兢缁�
+ layim.addList({
+ type: 'group'
+ ,avatar: "//tva3.sinaimg.cn/crop.64.106.361.361.50/7181dbb3jw8evfbtem8edj20ci0dpq3a.jpg"
+ ,groupname: 'Angular寮�鍙�'
+ ,id: "12333333"
+ ,members: 0
+ });
+ }
+ ,removeFriend: function(){
+ layer.msg('宸叉垚鍔熷垹闄鍑ゅ]', {
+ icon: 1
+ });
+ //鍒犻櫎涓�涓ソ鍙�
+ layim.removeList({
+ id: 121286
+ ,type: 'friend'
+ });
+ }
+ ,removeGroup: function(){
+ layer.msg('宸叉垚鍔熷垹闄鍓嶇缇', {
+ icon: 1
+ });
+ //鍒犻櫎涓�涓兢缁�
+ layim.removeList({
+ id: 101
+ ,type: 'group'
+ });
+ }
+ //缃伆绂荤嚎濂藉弸
+ ,setGray: function(){
+ layim.setFriendStatus(168168, 'offline');
+
+ layer.msg('宸叉垚鍔熷皢濂藉弸[椹皬浜慮缃伆', {
+ icon: 1
+ });
+ }
+ //鍙栨秷濂藉弸缃伆
+ ,unGray: function(){
+ layim.setFriendStatus(168168, 'online');
+
+ layer.msg('鎴愬姛鍙栨秷濂藉弸[椹皬浜慮缃伆鐘舵��', {
+ icon: 1
+ });
+ }
+
+ ,kefu1: function(){
+ layim.chat({
+ name: '鍦ㄧ嚎瀹㈡湇涓�' //鍚嶇О
+ ,type: 'kefu' //鑱婂ぉ绫诲瀷
+ ,avatar: '//tp1.sinaimg.cn/5619439268/180/40030060651/1' //澶村儚
+ ,id: 1111111 //瀹氫箟鍞竴鐨刬d鏂逛究浣犲鐞嗕俊鎭�
+ })
+ }
+ ,kefu2: function(){
+ layim.chat({
+ name: '鍦ㄧ嚎瀹㈡湇浜�' //鍚嶇О
+ ,type: 'kefu' //鑱婂ぉ绫诲瀷
+ ,avatar: '//tp1.sinaimg.cn/5619439268/180/40030060651/1' //澶村儚
+ ,id: 2222222 //瀹氫箟鍞竴鐨刬d鏂逛究浣犲鐞嗕俊鎭�
+ });
+ }
+
+ //绉诲姩绔増鏈�
+ ,mobile: function(){
+ var device = layui.device();
+ var mobileHome = '/layim/demo/mobile.html';
+ if(device.android || device.ios){
+ return location.href = mobileHome;
+ }
+ var index = layer.open({
+ type: 2
+ ,title: '绉诲姩鐗堟紨绀� 锛堟垨鎵嬫満鎵彸渚т簩缁寸爜棰勮锛�'
+ ,content: mobileHome
+ ,area: ['375px', '667px']
+ ,shadeClose: true
+ ,shade: 0.8
+ ,end: function(){
+ layer.close(index + 2);
+ }
+ });
+ layer.photos({
+ photos: {
+ "data": [{
+ "src": "http://cdn.layui.com/upload/2016_12/168_1481056358469_50288.png",
+ }]
+ }
+ ,anim: 0
+ ,shade: false
+ ,success: function(layero){
+ layero.css('margin-left', '350px');
+ }
+ });
+ }
+ };
+ $('.LAY-senior-im-chat-demo .layui-btn').on('click', function(){
+ var type = $(this).data('type');
+ active[type] ? active[type].call(this) : '';
+ });
+
+
+ exports('im', {});
+});
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/modules/message.js b/src/main/webapp/static/wms/layuiadmin/modules/message.js
new file mode 100644
index 0000000..7e93c61
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/modules/message.js
@@ -0,0 +1,132 @@
+/**
+
+ @Name锛歭ayuiAdmin锛坕frame鐗堬級 娑堟伅涓績
+ @Author锛氳搐蹇�
+ @Site锛歨ttp://www.layui.com/admin/
+ @License锛歀PPL
+
+ */
+
+
+layui.define(['admin', 'table', 'util'], function(exports){
+ var $ = layui.$
+ ,admin = layui.admin
+ ,table = layui.table
+ ,element = layui.element;
+
+ var DISABLED = 'layui-btn-disabled'
+
+ //鍖哄垎鍚勯�夐」鍗′腑鐨勮〃鏍�
+ ,tabs = {
+ all: {
+ text: '鍏ㄩ儴娑堟伅'
+ ,id: 'LAY-app-message-all'
+ }
+ ,notice: {
+ text: '閫氱煡'
+ ,id: 'LAY-app-message-notice'
+ }
+ ,direct: {
+ text: '绉佷俊'
+ ,id: 'LAY-app-message-direct'
+ }
+ };
+
+ //鏍囬鍐呭妯℃澘
+ var tplTitle = function(d){
+ return '<a href="detail.html?id='+ d.id +'">'+ d.title;
+ };
+
+ //鍏ㄩ儴娑堟伅
+ table.render({
+ elem: '#LAY-app-message-all'
+ ,url: layui.setter.base + 'json/message/all.js' //妯℃嫙鎺ュ彛
+ ,page: true
+ ,cols: [[
+ {type: 'checkbox', fixed: 'left'}
+ ,{field: 'title', title: '鏍囬鍐呭', minWidth: 300, templet: tplTitle}
+ ,{field: 'time', title: '鏃堕棿', width: 170, templet: '<div>{{ layui.util.timeAgo(d.time) }}</div>'}
+ ]]
+ ,skin: 'line'
+ });
+
+ //閫氱煡
+ table.render({
+ elem: '#LAY-app-message-notice'
+ ,url: layui.setter.base + 'json/message/notice.js' //妯℃嫙鎺ュ彛
+ ,page: true
+ ,cols: [[
+ {type: 'checkbox', fixed: 'left'}
+ ,{field: 'title', title: '鏍囬鍐呭', minWidth: 300, templet: tplTitle}
+ ,{field: 'time', title: '鏃堕棿', width: 170, templet: '<div>{{ layui.util.timeAgo(d.time) }}</div>'}
+ ]]
+ ,skin: 'line'
+ });
+
+ //绉佷俊
+ table.render({
+ elem: '#LAY-app-message-direct'
+ ,url: layui.setter.base + 'json/message/direct.js' //妯℃嫙鎺ュ彛
+ ,page: true
+ ,cols: [[
+ {type: 'checkbox', fixed: 'left'}
+ ,{field: 'title', title: '鏍囬鍐呭', minWidth: 300, templet: tplTitle}
+ ,{field: 'time', title: '鏃堕棿', width: 170, templet: '<div>{{ layui.util.timeAgo(d.time) }}</div>'}
+ ]]
+ ,skin: 'line'
+ });
+
+
+ //浜嬩欢澶勭悊
+ var events = {
+ del: function(othis, type){
+ var thisTabs = tabs[type]
+ ,checkStatus = table.checkStatus(thisTabs.id)
+ ,data = checkStatus.data; //鑾峰緱閫変腑鐨勬暟鎹�
+ if(data.length === 0) return layer.msg('鏈�変腑琛�');
+
+ layer.confirm('纭畾鍒犻櫎閫変腑鐨勬暟鎹悧锛�', function(){
+ /*
+ admin.req('url', {}, function(){ //璇锋眰鎺ュ彛
+ //do somethin
+ });
+ */
+ //姝ゅ鍙槸婕旂ず锛屽疄闄呭簲鐢ㄩ渶鎶婁笅杩颁唬鐮佹斁鍏ヤ笂杩癆jax鍥炶皟涓�
+ layer.msg('鍒犻櫎鎴愬姛', {
+ icon: 1
+ });
+ table.reload(thisTabs.id); //鍒锋柊琛ㄦ牸
+ });
+ }
+ ,ready: function(othis, type){
+ var thisTabs = tabs[type]
+ ,checkStatus = table.checkStatus(thisTabs.id)
+ ,data = checkStatus.data; //鑾峰緱閫変腑鐨勬暟鎹�
+ if(data.length === 0) return layer.msg('鏈�変腑琛�');
+
+ //姝ゅ鍙槸婕旂ず
+ layer.msg('鏍囪宸茶鎴愬姛', {
+ icon: 1
+ });
+ table.reload(thisTabs.id); //鍒锋柊琛ㄦ牸
+ }
+ ,readyAll: function(othis, type){
+ var thisTabs = tabs[type];
+
+ //do somethin
+
+ layer.msg(thisTabs.text + '锛氬叏閮ㄥ凡璇�', {
+ icon: 1
+ });
+ }
+ };
+
+ $('.LAY-app-message-btns .layui-btn').on('click', function(){
+ var othis = $(this)
+ ,thisEvent = othis.data('events')
+ ,type = othis.data('type');
+ events[thisEvent] && events[thisEvent].call(this, othis, type);
+ });
+
+ exports('message', {});
+});
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/modules/sample.js b/src/main/webapp/static/wms/layuiadmin/modules/sample.js
new file mode 100644
index 0000000..750cf75
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/modules/sample.js
@@ -0,0 +1,299 @@
+/**
+
+ @Name锛歭ayuiAdmin 涓婚〉绀轰緥
+ @Author锛歴tar1029
+ @Site锛歨ttp://www.layui.com/admin/
+ @License锛欸PL-2
+
+ */
+
+
+layui.define(function(exports){
+ var admin = layui.admin;
+
+ //鍖哄潡杞挱鍒囨崲
+ layui.use(['admin', 'carousel'], function(){
+ var $ = layui.$
+ ,admin = layui.admin
+ ,carousel = layui.carousel
+ ,element = layui.element
+ ,device = layui.device();
+
+ //杞挱鍒囨崲
+ $('.layadmin-carousel').each(function(){
+ var othis = $(this);
+ carousel.render({
+ elem: this
+ ,width: '100%'
+ ,arrow: 'none'
+ ,interval: othis.data('interval')
+ ,autoplay: othis.data('autoplay') === true
+ ,trigger: (device.ios || device.android) ? 'click' : 'hover'
+ ,anim: othis.data('anim')
+ });
+ });
+
+ element.render('progress');
+
+ });
+
+ //鍏崷鏂伴椈
+ layui.use(['carousel', 'echarts'], function(){
+ var $ = layui.$
+ ,carousel = layui.carousel
+ ,echarts = layui.echarts;
+
+ var echartsApp = [], options = [
+ {
+ title : {
+ subtext: '瀹屽叏瀹炲喌鐞冨憳鏁版嵁',
+ textStyle: {
+ fontSize: 14
+ }
+ },
+ tooltip : {
+ trigger: 'axis'
+ },
+ legend: {
+ x : 'left',
+ data:['缃楃撼灏斿','鑸嶆櫘鐞寸']
+ },
+ polar : [
+ {
+ indicator : [
+ {text : '杩涙敾', max : 100},
+ {text : '闃插畧', max : 100},
+ {text : '浣撹兘', max : 100},
+ {text : '閫熷害', max : 100},
+ {text : '鍔涢噺', max : 100},
+ {text : '鎶�宸�', max : 100}
+ ],
+ radius : 130
+ }
+ ],
+ series : [
+ {
+ type: 'radar',
+ center : ['50%', '50%'],
+ itemStyle: {
+ normal: {
+ areaStyle: {
+ type: 'default'
+ }
+ }
+ },
+ data:[
+ {value : [97, 42, 88, 94, 90, 86], name : '鑸嶆櫘鐞寸'},
+ {value : [97, 32, 74, 95, 88, 92], name : '缃楃撼灏斿'}
+ ]
+ }
+ ]
+ }
+ ]
+ ,elemDataView = $('#LAY-index-pageone').children('div')
+ ,renderDataView = function(index){
+ echartsApp[index] = echarts.init(elemDataView[index], layui.echartsTheme);
+ echartsApp[index].setOption(options[index]);
+ window.onresize = echartsApp[index].resize;
+ };
+ //娌℃壘鍒癉OM锛岀粓姝㈡墽琛�
+ if(!elemDataView[0]) return;
+
+ renderDataView(0);
+ });
+
+ //璁块棶閲�
+ layui.use(['carousel', 'echarts'], function(){
+ var $ = layui.$
+ ,carousel = layui.carousel
+ ,echarts = layui.echarts;
+
+ var echartsApp = [], options = [
+ {
+ tooltip : {
+ trigger: 'axis'
+ },
+ calculable : true,
+ legend: {
+ data:['璁块棶閲�','涓嬭浇閲�','骞冲潎璁块棶閲�']
+ },
+
+ xAxis : [
+ {
+ type : 'category',
+ data : ['1鏈�','2鏈�','3鏈�','4鏈�','5鏈�','6鏈�','7鏈�','8鏈�','9鏈�','10鏈�','11鏈�','12鏈�']
+ }
+ ],
+ yAxis : [
+ {
+ type : 'value',
+ name : '璁块棶閲�',
+ axisLabel : {
+ formatter: '{value} 涓�'
+ }
+ },
+ {
+ type : 'value',
+ name : '涓嬭浇閲�',
+ axisLabel : {
+ formatter: '{value} 涓�'
+ }
+ }
+ ],
+ series : [
+ {
+ name:'璁块棶閲�',
+ type:'line',
+ data:[900, 850, 950, 1000, 1100, 1050, 1000, 1150, 1250, 1370, 1250, 1100]
+ },
+ {
+ name:'涓嬭浇閲�',
+ type:'line',
+ yAxisIndex: 1,
+ data:[850, 850, 800, 950, 1000, 950, 950, 1150, 1100, 1240, 1000, 950]
+ },
+ {
+ name:'骞冲潎璁块棶閲�',
+ type:'line',
+ data:[870, 850, 850, 950, 1050, 1000, 980, 1150, 1000, 1300, 1150, 1000]
+ }
+ ]
+ }
+ ]
+ ,elemDataView = $('#LAY-index-pagetwo').children('div')
+ ,renderDataView = function(index){
+ echartsApp[index] = echarts.init(elemDataView[index], layui.echartsTheme);
+ echartsApp[index].setOption(options[index]);
+ window.onresize = echartsApp[index].resize;
+ };
+ //娌℃壘鍒癉OM锛岀粓姝㈡墽琛�
+ if(!elemDataView[0]) return;
+ renderDataView(0);
+
+ });
+
+ //鍦板浘
+ layui.use(['carousel', 'echarts'], function(){
+ var $ = layui.$
+ ,carousel = layui.carousel
+ ,echarts = layui.echarts;
+
+ var echartsApp = [], options = [
+ {
+ title : {
+ text: '鍏ㄥ浗鐨� layui 鐢ㄦ埛鍒嗗竷',
+ subtext: '涓嶅畬鍏ㄧ粺璁�'
+ },
+ tooltip : {
+ trigger: 'item'
+ },
+ dataRange: {
+ orient: 'horizontal',
+ min: 0,
+ max: 60000,
+ text:['楂�','浣�'],
+ splitNumber:0
+ },
+ series : [
+ {
+ name: '鍏ㄥ浗鐨� layui 鐢ㄦ埛鍒嗗竷',
+ type: 'map',
+ mapType: 'china',
+ selectedMode : 'multiple',
+ itemStyle:{
+ normal:{label:{show:true}},
+ emphasis:{label:{show:true}}
+ },
+ data:[
+ {name:'瑗胯棌', value:60},
+ {name:'闈掓捣', value:167},
+ {name:'瀹佸', value:210},
+ {name:'娴峰崡', value:252},
+ {name:'鐢樿們', value:502},
+ {name:'璐靛窞', value:570},
+ {name:'鏂扮枂', value:661},
+ {name:'浜戝崡', value:8890},
+ {name:'閲嶅簡', value:10010},
+ {name:'鍚夋灄', value:5056},
+ {name:'灞辫タ', value:2123},
+ {name:'澶╂触', value:9130},
+ {name:'姹熻タ', value:10170},
+ {name:'骞胯タ', value:6172},
+ {name:'闄曡タ', value:9251},
+ {name:'榛戦緳姹�', value:5125},
+ {name:'鍐呰挋鍙�', value:1435},
+ {name:'瀹夊窘', value:9530},
+ {name:'鍖椾含', value:51919},
+ {name:'绂忓缓', value:3756},
+ {name:'涓婃捣', value:59190},
+ {name:'婀栧寳', value:37109},
+ {name:'婀栧崡', value:8966},
+ {name:'鍥涘窛', value:31020},
+ {name:'杈藉畞', value:7222},
+ {name:'娌冲寳', value:3451},
+ {name:'娌冲崡', value:9693},
+ {name:'娴欐睙', value:62310},
+ {name:'灞变笢', value:39231},
+ {name:'姹熻嫃', value:35911},
+ {name:'骞夸笢', value:55891}
+ ]
+ }
+ ]
+ }
+ ]
+ ,elemDataView = $('#LAY-index-pagethree').children('div')
+ ,renderDataView = function(index){
+ echartsApp[index] = echarts.init(elemDataView[index], layui.echartsTheme);
+ echartsApp[index].setOption(options[index]);
+ window.onresize = echartsApp[index].resize;
+ };
+ //娌℃壘鍒癉OM锛岀粓姝㈡墽琛�
+ if(!elemDataView[0]) return;
+
+ renderDataView(0);
+ });
+
+ //椤圭洰杩涘睍
+ layui.use('table', function(){
+ var $ = layui.$
+ ,table = layui.table;
+
+ table.render({
+ elem: '#LAY-index-prograss'
+ ,url: layui.setter.base + 'json/console/prograss.js' //妯℃嫙鎺ュ彛
+ ,cols: [[
+ {type: 'checkbox', fixed: 'left'}
+ ,{field: 'prograss', title: '浠诲姟'}
+ ,{field: 'time', title: '鎵�闇�鏃堕棿'}
+ ,{field: 'complete', title: '瀹屾垚鎯呭喌'
+ ,templet: function(d){
+ if(d.complete == '宸插畬鎴�'){
+ return '<del style="color: #5FB878;">'+ d.complete +'</del>'
+ }else if(d.complete == '杩涜涓�'){
+ return '<span style="color: #FFB800;">'+ d.complete +'</span>'
+ }else{
+ return '<span style="color: #FF5722;">'+ d.complete +'</span>'
+ }
+ }
+ }
+ ]]
+ ,skin: 'line'
+ });
+ });
+
+ //鍥炲鐣欒█
+ admin.events.replyNote = function(othis){
+ var nid = othis.data('id');
+ layer.prompt({
+ title: '鍥炲鐣欒█ ID:'+ nid
+ ,formType: 2
+ }, function(value, index){
+ //杩欓噷鍙互璇锋眰 Ajax
+ //鈥�
+ layer.msg('寰楀埌锛�'+ value);
+ layer.close(index);
+ });
+ };
+
+ exports('sample', {})
+});
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/modules/senior.js b/src/main/webapp/static/wms/layuiadmin/modules/senior.js
new file mode 100644
index 0000000..ad5c47e
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/modules/senior.js
@@ -0,0 +1,1166 @@
+/**
+
+ @Name锛歭ayuiAdmin Echarts闆嗘垚
+ @Author锛歴tar1029
+ @Site锛歨ttp://www.layui.com/admin/
+ @License锛欸PL-2
+
+ */
+
+
+layui.define(function(exports){
+
+
+ //鍖哄潡杞挱鍒囨崲
+ layui.use(['admin', 'carousel'], function(){
+ var $ = layui.$
+ ,admin = layui.admin
+ ,carousel = layui.carousel
+ ,element = layui.element
+ ,device = layui.device();
+
+ //杞挱鍒囨崲
+ $('.layadmin-carousel').each(function(){
+ var othis = $(this);
+ carousel.render({
+ elem: this
+ ,width: '100%'
+ ,arrow: 'none'
+ ,interval: othis.data('interval')
+ ,autoplay: othis.data('autoplay') === true
+ ,trigger: (device.ios || device.android) ? 'click' : 'hover'
+ ,anim: othis.data('anim')
+ });
+ });
+
+ element.render('progress');
+
+ });
+
+
+//鎶樼嚎鍥�
+
+
+ layui.use(['carousel', 'echarts'], function(){
+ var $ = layui.$
+ ,carousel = layui.carousel
+ ,echarts = layui.echarts;
+
+ //鏍囧噯鎶樼嚎鍥�
+ var echnormline = [], normline = [
+ {
+ title : {
+ text: '鏈潵涓�鍛ㄦ皵娓╁彉鍖�',
+ subtext: '绾睘铏氭瀯'
+ },
+ tooltip : {
+ trigger: 'axis'
+ },
+ legend: {
+ data:['鏈�楂樻皵娓�','鏈�浣庢皵娓�']
+ },
+ calculable : true,
+ xAxis : [
+ {
+ type : 'category',
+ boundaryGap : false,
+ data : ['鍛ㄤ竴','鍛ㄤ簩','鍛ㄤ笁','鍛ㄥ洓','鍛ㄤ簲','鍛ㄥ叚','鍛ㄦ棩']
+ }
+ ],
+ yAxis : [
+ {
+ type : 'value',
+ axisLabel : {
+ formatter: '{value} 掳C'
+ }
+ }
+ ],
+ series : [
+ {
+ name:'鏈�楂樻皵娓�',
+ type:'line',
+ data:[11, 11, 15, 13, 12, 13, 10],
+ markPoint : {
+ data : [{type : 'max', name: '鏈�澶у��'},{type : 'min', name: '鏈�灏忓��'}]
+ },
+ markLine : {
+ data : [{type : 'average', name: '骞冲潎鍊�'}]
+ }
+ },
+ {
+ name:'鏈�浣庢皵娓�',
+ type:'line',
+ data:[1, -2, 2, 5, 3, 2, 0],
+ markPoint : {
+ data : [{name : '鍛ㄦ渶浣�', value : -2, xAxis: 1, yAxis: -1.5}]
+ },
+ markLine : {
+ data : [{type : 'average', name : '骞冲潎鍊�'}]
+ }
+ }
+ ]
+ }
+ ]
+ ,elemnormline = $('#LAY-index-normline').children('div')
+ ,rendernormline = function(index){
+ echnormline[index] = echarts.init(elemnormline[index], layui.echartsTheme);
+ echnormline[index].setOption(normline[index]);
+ window.onresize = echnormline[index].resize;
+ };
+ if(!elemnormline[0]) return;
+ rendernormline(0);
+
+ //鍫嗙Н鎶樼嚎鍥�
+ var echheapline = [], heapline = [
+ {
+ tooltip : {
+ trigger: 'axis'
+ },
+ legend: {data:['閭欢钀ラ攢','鑱旂洘骞垮憡','瑙嗛骞垮憡','鐩存帴璁块棶','鎼滅储寮曟搸']},
+ calculable : true,
+ xAxis : [
+ {
+ type : 'category',
+ boundaryGap : false,
+ data : ['鍛ㄤ竴','鍛ㄤ簩','鍛ㄤ笁','鍛ㄥ洓','鍛ㄤ簲','鍛ㄥ叚','鍛ㄦ棩']
+ }
+ ],
+ yAxis : [
+ {
+ type : 'value'
+ }
+ ],
+ series : [
+ {
+ name:'閭欢钀ラ攢',
+ type:'line',
+ stack: '鎬婚噺',
+ data:[120, 132, 101, 134, 90, 230, 210]
+ },
+ {
+ name:'鑱旂洘骞垮憡',
+ type:'line',
+ stack: '鎬婚噺',
+ data:[220, 182, 191, 234, 290, 330, 310]
+ },
+ {
+ name:'瑙嗛骞垮憡',
+ type:'line',
+ stack: '鎬婚噺',
+ data:[150, 232, 201, 154, 190, 330, 410]
+ },
+ {
+ name:'鐩存帴璁块棶',
+ type:'line',
+ stack: '鎬婚噺',
+ data:[320, 332, 301, 334, 390, 330, 320]
+ },
+ {
+ name:'鎼滅储寮曟搸',
+ type:'line',
+ stack: '鎬婚噺',
+ data:[820, 932, 901, 934, 1290, 1330, 1320]
+ }
+ ]
+ }
+ ]
+ ,elemheapline = $('#LAY-index-heapline').children('div')
+ ,renderheapline = function(index){
+ echheapline[index] = echarts.init(elemheapline[index], layui.echartsTheme);
+ echheapline[index].setOption(heapline[index]);
+ window.onresize = echheapline[index].resize;
+ };
+ if(!elemheapline[0]) return;
+ renderheapline(0);
+
+ //涓嶇瓑璺濇姌绾垮浘
+ var echdiffline = [], diffline = [
+ {
+ title : {
+ text: '鍙屾暟鍊艰酱鎶樼嚎',
+ subtext: '绾睘铏氭瀯'
+ },
+ tooltip : {
+ trigger: 'axis',
+ axisPointer:{
+ show: true,
+ type : 'cross',
+ lineStyle: {
+ type : 'dashed',
+ width : 1
+ }
+ },
+ formatter : function (params) {
+ return params.seriesName + ' : [ '+ params.value[0] + ', ' + params.value[1] + ' ]';
+ }
+ },
+ legend: {
+ data:['鏁版嵁1','鏁版嵁2']
+ },
+ calculable : true,
+ xAxis : [
+ {
+ type: 'value'
+ }
+ ],
+ yAxis : [
+ {
+ type: 'value',
+ axisLine: {
+ lineStyle: { color: '#dc143c' }
+ }
+ }
+ ],
+ series : [
+ {
+ name:'鏁版嵁1',
+ type:'line',
+ data:[
+ [1.5, 10], [5, 7], [8, 8], [12, 6], [11, 12], [16, 9], [14, 6], [17, 4], [19, 9]
+ ],
+ markPoint : {
+ data : [
+ // 绾佃酱锛岄粯璁�
+ {type : 'max', name: '鏈�澶у��',symbol: 'emptyCircle', itemStyle:{normal:{color:'#dc143c',label:{position:'top'}}}},
+ {type : 'min', name: '鏈�灏忓��',symbol: 'emptyCircle', itemStyle:{normal:{color:'#dc143c',label:{position:'bottom'}}}},
+ // 妯酱
+ {type : 'max', name: '鏈�澶у��', valueIndex: 0, symbol: 'emptyCircle', itemStyle:{normal:{color:'#1e90ff',label:{position:'right'}}}},
+ {type : 'min', name: '鏈�灏忓��', valueIndex: 0, symbol: 'emptyCircle', itemStyle:{normal:{color:'#1e90ff',label:{position:'left'}}}}
+ ]
+ },
+ markLine : {
+ data : [
+ // 绾佃酱锛岄粯璁�
+ {type : 'max', name: '鏈�澶у��', itemStyle:{normal:{color:'#dc143c'}}},
+ {type : 'min', name: '鏈�灏忓��', itemStyle:{normal:{color:'#dc143c'}}},
+ {type : 'average', name : '骞冲潎鍊�', itemStyle:{normal:{color:'#dc143c'}}},
+ // 妯酱
+ {type : 'max', name: '鏈�澶у��', valueIndex: 0, itemStyle:{normal:{color:'#1e90ff'}}},
+ {type : 'min', name: '鏈�灏忓��', valueIndex: 0, itemStyle:{normal:{color:'#1e90ff'}}},
+ {type : 'average', name : '骞冲潎鍊�', valueIndex: 0, itemStyle:{normal:{color:'#1e90ff'}}}
+ ]
+ }
+ },
+ {
+ name:'鏁版嵁2',
+ type:'line',
+ data:[
+ [1, 2], [2, 3], [4, 2], [7, 5], [11, 2], [18, 3]
+ ]
+ }
+ ]
+ }
+ ]
+ ,elemdiffline = $('#LAY-index-diffline').children('div')
+ ,renderdiffline = function(index){
+ echdiffline[index] = echarts.init(elemdiffline[index], layui.echartsTheme);
+ echdiffline[index].setOption(diffline[index]);
+ window.onresize = echdiffline[index].resize;
+ };
+ if(!elemdiffline[0]) return;
+ renderdiffline(0);
+
+ //鍫嗙Н闈㈢Н鍥�
+ var echheaparea = [], heaparea = [
+ {
+ tooltip : {
+ trigger: 'axis'
+ },
+ legend: {
+ data:['閭欢钀ラ攢','鑱旂洘骞垮憡','瑙嗛骞垮憡','鐩存帴璁块棶','鎼滅储寮曟搸']
+ },
+ calculable : true,
+ xAxis : [
+ {
+ type : 'category',
+ boundaryGap : false,
+ data : ['鍛ㄤ竴','鍛ㄤ簩','鍛ㄤ笁','鍛ㄥ洓','鍛ㄤ簲','鍛ㄥ叚','鍛ㄦ棩']
+ }
+ ],
+ yAxis : [
+ {
+ type : 'value'
+ }
+ ],
+ series : [
+ {
+ name:'閭欢钀ラ攢',
+ type:'line',
+ stack: '鎬婚噺',
+ itemStyle: {normal: {areaStyle: {type: 'default'}}},
+ data:[120, 132, 101, 134, 90, 230, 210]
+ },
+ {
+ name:'鑱旂洘骞垮憡',
+ type:'line',
+ stack: '鎬婚噺',
+ itemStyle: {normal: {areaStyle: {type: 'default'}}},
+ data:[220, 182, 191, 234, 290, 330, 310]
+ },
+ {
+ name:'瑙嗛骞垮憡',
+ type:'line',
+ stack: '鎬婚噺',
+ itemStyle: {normal: {areaStyle: {type: 'default'}}},
+ data:[150, 232, 201, 154, 190, 330, 410]
+ },
+ {
+ name:'鐩存帴璁块棶',
+ type:'line',
+ stack: '鎬婚噺',
+ itemStyle: {normal: {areaStyle: {type: 'default'}}},
+ data:[320, 332, 301, 334, 390, 330, 320]
+ },
+ {
+ name:'鎼滅储寮曟搸',
+ type:'line',
+ stack: '鎬婚噺',
+ itemStyle: {normal: {areaStyle: {type: 'default'}}},
+ data:[820, 932, 901, 934, 1290, 1330, 1320]
+ }
+ ]
+ }
+ ]
+ ,elemheaparea = $('#LAY-index-heaparea').children('div')
+ ,renderheaparea = function(index){
+ echheaparea[index] = echarts.init(elemheaparea[index], layui.echartsTheme);
+ echheaparea[index].setOption(heaparea[index]);
+ window.onresize = echheaparea[index].resize;
+ };
+ if(!elemheaparea[0]) return;
+ renderheaparea(0);
+
+ //闈㈢Н鍥�
+ var echarea = [], area = [
+ {
+ title : {
+ text: '闆ㄩ噺娴侀噺鍏崇郴鍥�',
+ x: 'center'
+ },
+ tooltip : {
+ trigger: 'axis',
+ formatter: function(params) {
+ return params[0].name + '<br/>' + params[0].seriesName + ' : ' + params[0].value + ' (m^3/s)<br/>'
+ + params[1].seriesName + ' : ' + -params[1].value + ' (mm)';
+ }
+ },
+ legend: {
+ data:['娴侀噺','闄嶉洦閲�'],
+ x: 'left'
+ },
+ dataZoom : {
+ show : true,
+ realtime : true,
+ start : 0,
+ end : 100
+ },
+ xAxis : [
+ {
+ type : 'category',
+ boundaryGap : false,
+ axisLine: {onZero: false},
+ data : [
+ '2009/6/12 2:00', '2009/6/12 3:00', '2009/6/12 4:00', '2009/6/12 5:00', '2009/6/12 6:00', '2009/6/12 7:00', '2009/6/12 8:00', '2009/6/12 9:00', '2009/6/12 10:00', '2009/6/12 11:00', '2009/6/12 12:00', '2009/6/12 13:00', '2009/6/12 14:00', '2009/6/12 15:00', '2009/6/12 16:00', '2009/6/12 17:00', '2009/6/12 18:00', '2009/6/12 19:00', '2009/6/12 20:00', '2009/6/12 21:00', '2009/6/12 22:00', '2009/6/12 23:00',
+ '2009/6/13 0:00', '2009/6/13 1:00', '2009/6/13 2:00', '2009/6/13 3:00', '2009/6/13 4:00', '2009/6/13 5:00', '2009/6/13 6:00', '2009/6/13 7:00', '2009/6/13 8:00', '2009/6/13 9:00', '2009/6/13 10:00', '2009/6/13 11:00', '2009/6/13 12:00', '2009/6/13 13:00', '2009/6/13 14:00', '2009/6/13 15:00', '2009/6/13 16:00', '2009/6/13 17:00', '2009/6/13 18:00', '2009/6/13 19:00', '2009/6/13 20:00', '2009/6/13 21:00', '2009/6/13 22:00', '2009/6/13 23:00',
+ '2009/6/14 0:00', '2009/6/14 1:00', '2009/6/14 2:00', '2009/6/14 3:00', '2009/6/14 4:00', '2009/6/14 5:00', '2009/6/14 6:00', '2009/6/14 7:00', '2009/6/14 8:00', '2009/6/14 9:00', '2009/6/14 10:00', '2009/6/14 11:00', '2009/6/14 12:00', '2009/6/14 13:00', '2009/6/14 14:00', '2009/6/14 15:00', '2009/6/14 16:00', '2009/6/14 17:00', '2009/6/14 18:00', '2009/6/14 19:00', '2009/6/14 20:00', '2009/6/14 21:00', '2009/6/14 22:00', '2009/6/14 23:00',
+ '2009/6/15 0:00', '2009/6/15 1:00', '2009/6/15 2:00', '2009/6/15 3:00', '2009/6/15 4:00', '2009/6/15 5:00', '2009/6/15 6:00', '2009/6/15 7:00', '2009/6/15 8:00', '2009/6/15 9:00', '2009/6/15 10:00', '2009/6/15 11:00', '2009/6/15 12:00', '2009/6/15 13:00', '2009/6/15 14:00', '2009/6/15 15:00', '2009/6/15 16:00', '2009/6/15 17:00', '2009/6/15 18:00', '2009/6/15 19:00', '2009/6/15 20:00', '2009/6/15 21:00', '2009/6/15 22:00', '2009/6/15 23:00',
+ '2009/6/15 0:00', '2009/6/16 1:00', '2009/6/16 2:00', '2009/6/16 3:00', '2009/6/16 4:00', '2009/6/16 5:00', '2009/6/16 6:00', '2009/6/16 7:00', '2009/6/16 8:00', '2009/6/16 9:00', '2009/6/16 10:00', '2009/6/16 11:00', '2009/6/16 12:00', '2009/6/16 13:00', '2009/6/16 14:00', '2009/6/16 15:00', '2009/6/16 16:00', '2009/6/16 17:00', '2009/6/16 18:00', '2009/6/16 19:00', '2009/6/16 20:00', '2009/6/16 21:00', '2009/6/16 22:00', '2009/6/16 23:00',
+ '2009/6/15 0:00', '2009/6/17 1:00', '2009/6/17 2:00', '2009/6/17 3:00', '2009/6/17 4:00', '2009/6/17 5:00', '2009/6/17 6:00', '2009/6/17 7:00', '2009/6/17 8:00', '2009/6/17 9:00', '2009/6/17 10:00', '2009/6/17 11:00', '2009/6/17 12:00', '2009/6/17 13:00', '2009/6/17 14:00', '2009/6/17 15:00', '2009/6/17 16:00', '2009/6/17 17:00', '2009/6/17 18:00', '2009/6/17 19:00', '2009/6/17 20:00', '2009/6/17 21:00', '2009/6/17 22:00', '2009/6/17 23:00',
+ '2009/6/18 0:00', '2009/6/18 1:00', '2009/6/18 2:00', '2009/6/18 3:00', '2009/6/18 4:00', '2009/6/18 5:00', '2009/6/18 6:00', '2009/6/18 7:00', '2009/6/18 8:00', '2009/6/18 9:00', '2009/6/18 10:00', '2009/6/18 11:00', '2009/6/18 12:00', '2009/6/18 13:00', '2009/6/18 14:00', '2009/6/18 15:00', '2009/6/18 16:00', '2009/6/18 17:00', '2009/6/18 18:00', '2009/6/18 19:00', '2009/6/18 20:00', '2009/6/18 21:00', '2009/6/18 22:00', '2009/6/18 23:00',
+ '2009/6/15 0:00', '2009/6/19 1:00', '2009/6/19 2:00', '2009/6/19 3:00', '2009/6/19 4:00', '2009/6/19 5:00', '2009/6/19 6:00', '2009/6/19 7:00', '2009/6/19 8:00', '2009/6/19 9:00', '2009/6/19 10:00', '2009/6/19 11:00', '2009/6/19 12:00', '2009/6/19 13:00', '2009/6/19 14:00', '2009/6/19 15:00', '2009/6/19 16:00', '2009/6/19 17:00', '2009/6/19 18:00', '2009/6/19 19:00', '2009/6/19 20:00', '2009/6/19 21:00', '2009/6/19 22:00', '2009/6/19 23:00',
+ '2009/6/20 0:00', '2009/6/20 1:00', '2009/6/20 2:00', '2009/6/20 3:00', '2009/6/20 4:00', '2009/6/20 5:00', '2009/6/20 6:00', '2009/6/20 7:00', '2009/6/20 8:00', '2009/6/20 9:00', '2009/6/20 10:00', '2009/6/20 11:00', '2009/6/20 12:00', '2009/6/20 13:00', '2009/6/20 14:00', '2009/6/20 15:00', '2009/6/20 16:00', '2009/6/20 17:00', '2009/6/20 18:00', '2009/6/20 19:00', '2009/6/20 20:00', '2009/6/20 21:00', '2009/6/20 22:00', '2009/6/20 23:00',
+ '2009/6/21 0:00', '2009/6/21 1:00', '2009/6/21 2:00', '2009/6/21 3:00', '2009/6/21 4:00', '2009/6/21 5:00', '2009/6/21 6:00', '2009/6/21 7:00', '2009/6/21 8:00', '2009/6/21 9:00', '2009/6/21 10:00', '2009/6/21 11:00', '2009/6/21 12:00', '2009/6/21 13:00', '2009/6/21 14:00', '2009/6/21 15:00', '2009/6/21 16:00', '2009/6/21 17:00', '2009/6/21 18:00', '2009/6/21 19:00', '2009/6/21 20:00', '2009/6/21 21:00', '2009/6/21 22:00', '2009/6/21 23:00',
+ '2009/6/22 0:00', '2009/6/22 1:00', '2009/6/22 2:00', '2009/6/22 3:00', '2009/6/22 4:00', '2009/6/22 5:00', '2009/6/22 6:00', '2009/6/22 7:00', '2009/6/22 8:00', '2009/6/22 9:00', '2009/6/22 10:00', '2009/6/22 11:00', '2009/6/22 12:00', '2009/6/22 13:00', '2009/6/22 14:00', '2009/6/22 15:00', '2009/6/22 16:00', '2009/6/22 17:00', '2009/6/22 18:00', '2009/6/22 19:00', '2009/6/22 20:00', '2009/6/22 21:00', '2009/6/22 22:00', '2009/6/22 23:00',
+ '2009/6/23 0:00', '2009/6/23 1:00', '2009/6/23 2:00', '2009/6/23 3:00', '2009/6/23 4:00', '2009/6/23 5:00', '2009/6/23 6:00', '2009/6/23 7:00', '2009/6/23 8:00', '2009/6/23 9:00', '2009/6/23 10:00', '2009/6/23 11:00', '2009/6/23 12:00', '2009/6/23 13:00', '2009/6/23 14:00', '2009/6/23 15:00', '2009/6/23 16:00', '2009/6/23 17:00', '2009/6/23 18:00', '2009/6/23 19:00', '2009/6/23 20:00', '2009/6/23 21:00', '2009/6/23 22:00', '2009/6/23 23:00',
+ '2009/6/24 0:00', '2009/6/24 1:00', '2009/6/24 2:00', '2009/6/24 3:00', '2009/6/24 4:00', '2009/6/24 5:00', '2009/6/24 6:00', '2009/6/24 7:00', '2009/6/24 8:00', '2009/6/24 9:00', '2009/6/24 10:00', '2009/6/24 11:00', '2009/6/24 12:00', '2009/6/24 13:00', '2009/6/24 14:00', '2009/6/24 15:00', '2009/6/24 16:00', '2009/6/24 17:00', '2009/6/24 18:00', '2009/6/24 19:00', '2009/6/24 20:00', '2009/6/24 21:00', '2009/6/24 22:00', '2009/6/24 23:00',
+ '2009/6/25 0:00', '2009/6/25 1:00', '2009/6/25 2:00', '2009/6/25 3:00', '2009/6/25 4:00', '2009/6/25 5:00', '2009/6/25 6:00', '2009/6/25 7:00', '2009/6/25 8:00', '2009/6/25 9:00', '2009/6/25 10:00', '2009/6/25 11:00', '2009/6/25 12:00', '2009/6/25 13:00', '2009/6/25 14:00', '2009/6/25 15:00', '2009/6/25 16:00', '2009/6/25 17:00', '2009/6/25 18:00', '2009/6/25 19:00', '2009/6/25 20:00', '2009/6/25 21:00', '2009/6/25 22:00', '2009/6/25 23:00',
+ '2009/6/26 0:00', '2009/6/26 1:00', '2009/6/26 2:00', '2009/6/26 3:00', '2009/6/26 4:00', '2009/6/26 5:00', '2009/6/26 6:00', '2009/6/26 7:00', '2009/6/26 8:00', '2009/6/26 9:00', '2009/6/26 10:00', '2009/6/26 11:00', '2009/6/26 12:00', '2009/6/26 13:00', '2009/6/26 14:00', '2009/6/26 15:00', '2009/6/26 16:00', '2009/6/26 17:00', '2009/6/26 18:00', '2009/6/26 19:00', '2009/6/26 20:00', '2009/6/26 21:00', '2009/6/26 22:00', '2009/6/26 23:00',
+ '2009/6/27 0:00', '2009/6/27 1:00', '2009/6/27 2:00', '2009/6/27 3:00', '2009/6/27 4:00', '2009/6/27 5:00', '2009/6/27 6:00', '2009/6/27 7:00', '2009/6/27 8:00', '2009/6/27 9:00', '2009/6/27 10:00', '2009/6/27 11:00', '2009/6/27 12:00', '2009/6/27 13:00', '2009/6/27 14:00', '2009/6/27 15:00', '2009/6/27 16:00', '2009/6/27 17:00', '2009/6/27 18:00', '2009/6/27 19:00', '2009/6/27 20:00', '2009/6/27 21:00', '2009/6/27 22:00', '2009/6/27 23:00',
+ '2009/6/28 0:00', '2009/6/28 1:00', '2009/6/28 2:00', '2009/6/28 3:00', '2009/6/28 4:00', '2009/6/28 5:00', '2009/6/28 6:00', '2009/6/28 7:00', '2009/6/28 8:00', '2009/6/28 9:00', '2009/6/28 10:00', '2009/6/28 11:00', '2009/6/28 12:00', '2009/6/28 13:00', '2009/6/28 14:00', '2009/6/28 15:00', '2009/6/28 16:00', '2009/6/28 17:00', '2009/6/28 18:00', '2009/6/28 19:00', '2009/6/28 20:00', '2009/6/28 21:00', '2009/6/28 22:00', '2009/6/28 23:00',
+ '2009/6/29 0:00', '2009/6/29 1:00', '2009/6/29 2:00', '2009/6/29 3:00', '2009/6/29 4:00', '2009/6/29 5:00', '2009/6/29 6:00', '2009/6/29 7:00', '2009/6/29 8:00', '2009/6/29 9:00', '2009/6/29 10:00', '2009/6/29 11:00', '2009/6/29 12:00', '2009/6/29 13:00', '2009/6/29 14:00', '2009/6/29 15:00', '2009/6/29 16:00', '2009/6/29 17:00', '2009/6/29 18:00', '2009/6/29 19:00', '2009/6/29 20:00', '2009/6/29 21:00', '2009/6/29 22:00', '2009/6/29 23:00',
+ '2009/6/30 0:00', '2009/6/30 1:00', '2009/6/30 2:00', '2009/6/30 3:00', '2009/6/30 4:00', '2009/6/30 5:00', '2009/6/30 6:00', '2009/6/30 7:00', '2009/6/30 8:00', '2009/6/30 9:00', '2009/6/30 10:00', '2009/6/30 11:00', '2009/6/30 12:00', '2009/6/30 13:00', '2009/6/30 14:00', '2009/6/30 15:00', '2009/6/30 16:00', '2009/6/30 17:00', '2009/6/30 18:00', '2009/6/30 19:00', '2009/6/30 20:00', '2009/6/30 21:00', '2009/6/30 22:00', '2009/6/30 23:00',
+ '2009/7/1 0:00', '2009/7/1 1:00', '2009/7/1 2:00', '2009/7/1 3:00', '2009/7/1 4:00', '2009/7/1 5:00', '2009/7/1 6:00', '2009/7/1 7:00', '2009/7/1 8:00', '2009/7/1 9:00', '2009/7/1 10:00', '2009/7/1 11:00', '2009/7/1 12:00', '2009/7/1 13:00', '2009/7/1 14:00', '2009/7/1 15:00', '2009/7/1 16:00', '2009/7/1 17:00', '2009/7/1 18:00', '2009/7/1 19:00', '2009/7/1 20:00', '2009/7/1 21:00', '2009/7/1 22:00', '2009/7/1 23:00',
+ '2009/7/2 0:00', '2009/7/2 1:00', '2009/7/2 2:00', '2009/7/2 3:00', '2009/7/2 4:00', '2009/7/2 5:00', '2009/7/2 6:00', '2009/7/2 7:00', '2009/7/2 8:00', '2009/7/2 9:00', '2009/7/2 10:00', '2009/7/2 11:00', '2009/7/2 12:00', '2009/7/2 13:00', '2009/7/2 14:00', '2009/7/2 15:00', '2009/7/2 16:00', '2009/7/2 17:00', '2009/7/2 18:00', '2009/7/2 19:00', '2009/7/2 20:00', '2009/7/2 21:00', '2009/7/2 22:00', '2009/7/2 23:00',
+ '2009/7/3 0:00', '2009/7/3 1:00', '2009/7/3 2:00', '2009/7/3 3:00', '2009/7/3 4:00', '2009/7/3 5:00', '2009/7/3 6:00', '2009/7/3 7:00', '2009/7/3 8:00', '2009/7/3 9:00', '2009/7/3 10:00', '2009/7/3 11:00', '2009/7/3 12:00', '2009/7/3 13:00', '2009/7/3 14:00', '2009/7/3 15:00', '2009/7/3 16:00', '2009/7/3 17:00', '2009/7/3 18:00', '2009/7/3 19:00', '2009/7/3 20:00', '2009/7/3 21:00', '2009/7/3 22:00', '2009/7/3 23:00',
+ '2009/7/4 0:00', '2009/7/4 1:00', '2009/7/4 2:00', '2009/7/4 3:00', '2009/7/4 4:00', '2009/7/4 5:00', '2009/7/4 6:00', '2009/7/4 7:00', '2009/7/4 8:00', '2009/7/4 9:00', '2009/7/4 10:00', '2009/7/4 11:00', '2009/7/4 12:00', '2009/7/4 13:00', '2009/7/4 14:00', '2009/7/4 15:00', '2009/7/4 16:00', '2009/7/4 17:00', '2009/7/4 18:00', '2009/7/4 19:00', '2009/7/4 20:00', '2009/7/4 21:00', '2009/7/4 22:00', '2009/7/4 23:00',
+ '2009/7/5 0:00', '2009/7/5 1:00', '2009/7/5 2:00', '2009/7/5 3:00', '2009/7/5 4:00', '2009/7/5 5:00', '2009/7/5 6:00', '2009/7/5 7:00', '2009/7/5 8:00', '2009/7/5 9:00', '2009/7/5 10:00', '2009/7/5 11:00', '2009/7/5 12:00', '2009/7/5 13:00', '2009/7/5 14:00', '2009/7/5 15:00', '2009/7/5 16:00', '2009/7/5 17:00', '2009/7/5 18:00', '2009/7/5 19:00', '2009/7/5 20:00', '2009/7/5 21:00', '2009/7/5 22:00', '2009/7/5 23:00',
+ '2009/7/6 0:00', '2009/7/6 1:00', '2009/7/6 2:00', '2009/7/6 3:00', '2009/7/6 4:00', '2009/7/6 5:00', '2009/7/6 6:00', '2009/7/6 7:00', '2009/7/6 8:00', '2009/7/6 9:00', '2009/7/6 10:00', '2009/7/6 11:00', '2009/7/6 12:00', '2009/7/6 13:00', '2009/7/6 14:00', '2009/7/6 15:00', '2009/7/6 16:00', '2009/7/6 17:00', '2009/7/6 18:00', '2009/7/6 19:00', '2009/7/6 20:00', '2009/7/6 21:00', '2009/7/6 22:00', '2009/7/6 23:00',
+ '2009/7/7 0:00', '2009/7/7 1:00', '2009/7/7 2:00', '2009/7/7 3:00', '2009/7/7 4:00', '2009/7/7 5:00', '2009/7/7 6:00', '2009/7/7 7:00', '2009/7/7 8:00', '2009/7/7 9:00', '2009/7/7 10:00', '2009/7/7 11:00', '2009/7/7 12:00', '2009/7/7 13:00', '2009/7/7 14:00', '2009/7/7 15:00', '2009/7/7 16:00', '2009/7/7 17:00', '2009/7/7 18:00', '2009/7/7 19:00', '2009/7/7 20:00', '2009/7/7 21:00', '2009/7/7 22:00', '2009/7/7 23:00',
+ '2009/7/8 0:00', '2009/7/8 1:00', '2009/7/8 2:00', '2009/7/8 3:00', '2009/7/8 4:00', '2009/7/8 5:00', '2009/7/8 6:00', '2009/7/8 7:00', '2009/7/8 8:00', '2009/7/8 9:00', '2009/7/8 10:00', '2009/7/8 11:00', '2009/7/8 12:00', '2009/7/8 13:00', '2009/7/8 14:00', '2009/7/8 15:00', '2009/7/8 16:00', '2009/7/8 17:00', '2009/7/8 18:00', '2009/7/8 19:00', '2009/7/8 20:00', '2009/7/8 21:00', '2009/7/8 22:00', '2009/7/8 23:00',
+ '2009/7/9 0:00', '2009/7/9 1:00', '2009/7/9 2:00', '2009/7/9 3:00', '2009/7/9 4:00', '2009/7/9 5:00', '2009/7/9 6:00', '2009/7/9 7:00', '2009/7/9 8:00', '2009/7/9 9:00', '2009/7/9 10:00', '2009/7/9 11:00', '2009/7/9 12:00', '2009/7/9 13:00', '2009/7/9 14:00', '2009/7/9 15:00', '2009/7/9 16:00', '2009/7/9 17:00', '2009/7/9 18:00', '2009/7/9 19:00', '2009/7/9 20:00', '2009/7/9 21:00', '2009/7/9 22:00', '2009/7/9 23:00',
+ '2009/7/10 0:00', '2009/7/10 1:00', '2009/7/10 2:00', '2009/7/10 3:00', '2009/7/10 4:00', '2009/7/10 5:00', '2009/7/10 6:00', '2009/7/10 7:00', '2009/7/10 8:00', '2009/7/10 9:00', '2009/7/10 10:00', '2009/7/10 11:00', '2009/7/10 12:00', '2009/7/10 13:00', '2009/7/10 14:00', '2009/7/10 15:00', '2009/7/10 16:00', '2009/7/10 17:00', '2009/7/10 18:00', '2009/7/10 19:00', '2009/7/10 20:00', '2009/7/10 21:00', '2009/7/10 22:00', '2009/7/10 23:00',
+ '2009/7/11 0:00', '2009/7/11 1:00', '2009/7/11 2:00', '2009/7/11 3:00', '2009/7/11 4:00', '2009/7/11 5:00', '2009/7/11 6:00', '2009/7/11 7:00', '2009/7/11 8:00', '2009/7/11 9:00', '2009/7/11 10:00', '2009/7/11 11:00', '2009/7/11 12:00', '2009/7/11 13:00', '2009/7/11 14:00', '2009/7/11 15:00', '2009/7/11 16:00', '2009/7/11 17:00', '2009/7/11 18:00', '2009/7/11 19:00', '2009/7/11 20:00', '2009/7/11 21:00', '2009/7/11 22:00', '2009/7/11 23:00',
+ '2009/7/12 0:00', '2009/7/12 1:00', '2009/7/12 2:00', '2009/7/12 3:00', '2009/7/12 4:00', '2009/7/12 5:00', '2009/7/12 6:00', '2009/7/12 7:00', '2009/7/12 8:00', '2009/7/12 9:00', '2009/7/12 10:00', '2009/7/12 11:00', '2009/7/12 12:00', '2009/7/12 13:00', '2009/7/12 14:00', '2009/7/12 15:00', '2009/7/12 16:00', '2009/7/12 17:00', '2009/7/12 18:00', '2009/7/12 19:00', '2009/7/12 20:00', '2009/7/12 21:00', '2009/7/12 22:00', '2009/7/12 23:00',
+ '2009/7/13 0:00', '2009/7/13 1:00', '2009/7/13 2:00', '2009/7/13 3:00', '2009/7/13 4:00', '2009/7/13 5:00', '2009/7/13 6:00', '2009/7/13 7:00', '2009/7/13 8:00', '2009/7/13 9:00', '2009/7/13 10:00', '2009/7/13 11:00', '2009/7/13 12:00', '2009/7/13 13:00', '2009/7/13 14:00', '2009/7/13 15:00', '2009/7/13 16:00', '2009/7/13 17:00', '2009/7/13 18:00', '2009/7/13 19:00', '2009/7/13 20:00', '2009/7/13 21:00', '2009/7/13 22:00', '2009/7/13 23:00',
+ '2009/7/14 0:00', '2009/7/14 1:00', '2009/7/14 2:00', '2009/7/14 3:00', '2009/7/14 4:00', '2009/7/14 5:00', '2009/7/14 6:00', '2009/7/14 7:00', '2009/7/14 8:00', '2009/7/14 9:00', '2009/7/14 10:00', '2009/7/14 11:00', '2009/7/14 12:00', '2009/7/14 13:00', '2009/7/14 14:00', '2009/7/14 15:00', '2009/7/14 16:00', '2009/7/14 17:00', '2009/7/14 18:00', '2009/7/14 19:00', '2009/7/14 20:00', '2009/7/14 21:00', '2009/7/14 22:00', '2009/7/14 23:00',
+ '2009/7/15 0:00', '2009/7/15 1:00', '2009/7/15 2:00', '2009/7/15 3:00', '2009/7/15 4:00', '2009/7/15 5:00', '2009/7/15 6:00', '2009/7/15 7:00', '2009/7/15 8:00', '2009/7/15 9:00', '2009/7/15 10:00', '2009/7/15 11:00', '2009/7/15 12:00', '2009/7/15 13:00', '2009/7/15 14:00', '2009/7/15 15:00', '2009/7/15 16:00', '2009/7/15 17:00', '2009/7/15 18:00', '2009/7/15 19:00', '2009/7/15 20:00', '2009/7/15 21:00', '2009/7/15 22:00', '2009/7/15 23:00',
+ '2009/7/16 0:00', '2009/7/16 1:00', '2009/7/16 2:00', '2009/7/16 3:00', '2009/7/16 4:00', '2009/7/16 5:00', '2009/7/16 6:00', '2009/7/16 7:00', '2009/7/16 8:00', '2009/7/16 9:00', '2009/7/16 10:00', '2009/7/16 11:00', '2009/7/16 12:00', '2009/7/16 13:00', '2009/7/16 14:00', '2009/7/16 15:00', '2009/7/16 16:00', '2009/7/16 17:00', '2009/7/16 18:00', '2009/7/16 19:00', '2009/7/16 20:00', '2009/7/16 21:00', '2009/7/16 22:00', '2009/7/16 23:00',
+ '2009/7/17 0:00', '2009/7/17 1:00', '2009/7/17 2:00', '2009/7/17 3:00', '2009/7/17 4:00', '2009/7/17 5:00', '2009/7/17 6:00', '2009/7/17 7:00', '2009/7/17 8:00', '2009/7/17 9:00', '2009/7/17 10:00', '2009/7/17 11:00', '2009/7/17 12:00', '2009/7/17 13:00', '2009/7/17 14:00', '2009/7/17 15:00', '2009/7/17 16:00', '2009/7/17 17:00', '2009/7/17 18:00', '2009/7/17 19:00', '2009/7/17 20:00', '2009/7/17 21:00', '2009/7/17 22:00', '2009/7/17 23:00',
+ '2009/7/18 0:00', '2009/7/18 1:00', '2009/7/18 2:00', '2009/7/18 3:00', '2009/7/18 4:00', '2009/7/18 5:00', '2009/7/18 6:00', '2009/7/18 7:00', '2009/7/18 8:00', '2009/7/18 9:00', '2009/7/18 10:00', '2009/7/18 11:00', '2009/7/18 12:00', '2009/7/18 13:00', '2009/7/18 14:00', '2009/7/18 15:00', '2009/7/18 16:00', '2009/7/18 17:00', '2009/7/18 18:00', '2009/7/18 19:00', '2009/7/18 20:00', '2009/7/18 21:00', '2009/7/18 22:00', '2009/7/18 23:00',
+ '2009/7/19 0:00', '2009/7/19 1:00', '2009/7/19 2:00', '2009/7/19 3:00', '2009/7/19 4:00', '2009/7/19 5:00', '2009/7/19 6:00', '2009/7/19 7:00', '2009/7/19 8:00', '2009/7/19 9:00', '2009/7/19 10:00', '2009/7/19 11:00', '2009/7/19 12:00', '2009/7/19 13:00', '2009/7/19 14:00', '2009/7/19 15:00', '2009/7/19 16:00', '2009/7/19 17:00', '2009/7/19 18:00', '2009/7/19 19:00', '2009/7/19 20:00', '2009/7/19 21:00', '2009/7/19 22:00', '2009/7/19 23:00',
+ '2009/7/20 0:00', '2009/7/20 1:00', '2009/7/20 2:00', '2009/7/20 3:00', '2009/7/20 4:00', '2009/7/20 5:00', '2009/7/20 6:00', '2009/7/20 7:00', '2009/7/20 8:00', '2009/7/20 9:00', '2009/7/20 10:00', '2009/7/20 11:00', '2009/7/20 12:00', '2009/7/20 13:00', '2009/7/20 14:00', '2009/7/20 15:00', '2009/7/20 16:00', '2009/7/20 17:00', '2009/7/20 18:00', '2009/7/20 19:00', '2009/7/20 20:00', '2009/7/20 21:00', '2009/7/20 22:00', '2009/7/20 23:00',
+ '2009/7/21 0:00', '2009/7/21 1:00', '2009/7/21 2:00', '2009/7/21 3:00', '2009/7/21 4:00', '2009/7/21 5:00', '2009/7/21 6:00', '2009/7/21 7:00', '2009/7/21 8:00', '2009/7/21 9:00', '2009/7/21 10:00', '2009/7/21 11:00', '2009/7/21 12:00', '2009/7/21 13:00', '2009/7/21 14:00', '2009/7/21 15:00', '2009/7/21 16:00', '2009/7/21 17:00', '2009/7/21 18:00', '2009/7/21 19:00', '2009/7/21 20:00', '2009/7/21 21:00', '2009/7/21 22:00', '2009/7/21 23:00',
+ '2009/7/22 0:00', '2009/7/22 1:00', '2009/7/22 2:00', '2009/7/22 3:00', '2009/7/22 4:00', '2009/7/22 5:00', '2009/7/22 6:00', '2009/7/22 7:00', '2009/7/22 8:00', '2009/7/22 9:00', '2009/7/22 10:00', '2009/7/22 11:00', '2009/7/22 12:00', '2009/7/22 13:00', '2009/7/22 14:00', '2009/7/22 15:00', '2009/7/22 16:00', '2009/7/22 17:00', '2009/7/22 18:00', '2009/7/22 19:00', '2009/7/22 20:00', '2009/7/22 21:00', '2009/7/22 22:00', '2009/7/22 23:00',
+ '2009/7/23 0:00', '2009/7/23 1:00', '2009/7/23 2:00', '2009/7/23 3:00', '2009/7/23 4:00', '2009/7/23 5:00', '2009/7/23 6:00', '2009/7/23 7:00', '2009/7/23 8:00', '2009/7/23 9:00', '2009/7/23 10:00', '2009/7/23 11:00', '2009/7/23 12:00', '2009/7/23 13:00', '2009/7/23 14:00', '2009/7/23 15:00', '2009/7/23 16:00', '2009/7/23 17:00', '2009/7/23 18:00', '2009/7/23 19:00', '2009/7/23 20:00', '2009/7/23 21:00', '2009/7/23 22:00', '2009/7/23 23:00',
+ '2009/7/24 0:00', '2009/7/24 1:00', '2009/7/24 2:00', '2009/7/24 3:00', '2009/7/24 4:00', '2009/7/24 5:00', '2009/7/24 6:00', '2009/7/24 7:00', '2009/7/24 8:00', '2009/7/24 9:00', '2009/7/24 10:00', '2009/7/24 11:00', '2009/7/24 12:00', '2009/7/24 13:00', '2009/7/24 14:00', '2009/7/24 15:00', '2009/7/24 16:00', '2009/7/24 17:00', '2009/7/24 18:00', '2009/7/24 19:00', '2009/7/24 20:00', '2009/7/24 21:00', '2009/7/24 22:00', '2009/7/24 23:00',
+ '2009/7/25 0:00', '2009/7/25 1:00', '2009/7/25 2:00', '2009/7/25 3:00', '2009/7/25 4:00', '2009/7/25 5:00', '2009/7/25 6:00', '2009/7/25 7:00', '2009/7/25 8:00', '2009/7/25 9:00', '2009/7/25 10:00', '2009/7/25 11:00', '2009/7/25 12:00', '2009/7/25 13:00', '2009/7/25 14:00', '2009/7/25 15:00', '2009/7/25 16:00', '2009/7/25 17:00', '2009/7/25 18:00', '2009/7/25 19:00', '2009/7/25 20:00', '2009/7/25 21:00', '2009/7/25 22:00', '2009/7/25 23:00',
+ '2009/7/26 0:00', '2009/7/26 1:00', '2009/7/26 2:00', '2009/7/26 3:00', '2009/7/26 4:00', '2009/7/26 5:00', '2009/7/26 6:00', '2009/7/26 7:00', '2009/7/26 8:00', '2009/7/26 9:00', '2009/7/26 10:00', '2009/7/26 11:00', '2009/7/26 12:00', '2009/7/26 13:00', '2009/7/26 14:00', '2009/7/26 15:00', '2009/7/26 16:00', '2009/7/26 17:00', '2009/7/26 18:00', '2009/7/26 19:00', '2009/7/26 20:00', '2009/7/26 21:00', '2009/7/26 22:00', '2009/7/26 23:00',
+ '2009/7/27 0:00', '2009/7/27 1:00', '2009/7/27 2:00', '2009/7/27 3:00', '2009/7/27 4:00', '2009/7/27 5:00', '2009/7/27 6:00', '2009/7/27 7:00', '2009/7/27 8:00', '2009/7/27 9:00', '2009/7/27 10:00', '2009/7/27 11:00', '2009/7/27 12:00', '2009/7/27 13:00', '2009/7/27 14:00', '2009/7/27 15:00', '2009/7/27 16:00', '2009/7/27 17:00', '2009/7/27 18:00', '2009/7/27 19:00', '2009/7/27 20:00', '2009/7/27 21:00', '2009/7/27 22:00', '2009/7/27 23:00',
+ '2009/7/28 0:00', '2009/7/28 1:00', '2009/7/28 2:00', '2009/7/28 3:00', '2009/7/28 4:00', '2009/7/28 5:00', '2009/7/28 6:00', '2009/7/28 7:00', '2009/7/28 8:00', '2009/7/28 9:00', '2009/7/28 10:00', '2009/7/28 11:00', '2009/7/28 12:00', '2009/7/28 13:00', '2009/7/28 14:00', '2009/7/28 15:00', '2009/7/28 16:00', '2009/7/28 17:00', '2009/7/28 18:00', '2009/7/28 19:00', '2009/7/28 20:00', '2009/7/28 21:00', '2009/7/28 22:00', '2009/7/28 23:00',
+ '2009/7/29 0:00', '2009/7/29 1:00', '2009/7/29 2:00', '2009/7/29 3:00', '2009/7/29 4:00', '2009/7/29 5:00', '2009/7/29 6:00', '2009/7/29 7:00', '2009/7/29 8:00', '2009/7/29 9:00', '2009/7/29 10:00', '2009/7/29 11:00', '2009/7/29 12:00', '2009/7/29 13:00', '2009/7/29 14:00', '2009/7/29 15:00', '2009/7/29 16:00', '2009/7/29 17:00', '2009/7/29 18:00', '2009/7/29 19:00', '2009/7/29 20:00', '2009/7/29 21:00', '2009/7/29 22:00', '2009/7/29 23:00',
+ '2009/7/30 0:00', '2009/7/30 1:00', '2009/7/30 2:00', '2009/7/30 3:00', '2009/7/30 4:00', '2009/7/30 5:00', '2009/7/30 6:00', '2009/7/30 7:00', '2009/7/30 8:00', '2009/7/30 9:00', '2009/7/30 10:00', '2009/7/30 11:00', '2009/7/30 12:00', '2009/7/30 13:00', '2009/7/30 14:00', '2009/7/30 15:00', '2009/7/30 16:00', '2009/7/30 17:00', '2009/7/30 18:00', '2009/7/30 19:00', '2009/7/30 20:00', '2009/7/30 21:00', '2009/7/30 22:00', '2009/7/30 23:00',
+ '2009/7/31 0:00', '2009/7/31 1:00', '2009/7/31 2:00', '2009/7/31 3:00', '2009/7/31 4:00', '2009/7/31 5:00', '2009/7/31 6:00', '2009/7/31 7:00', '2009/7/31 8:00', '2009/7/31 9:00', '2009/7/31 10:00', '2009/7/31 11:00', '2009/7/31 12:00', '2009/7/31 13:00', '2009/7/31 14:00', '2009/7/31 15:00', '2009/7/31 16:00', '2009/7/31 17:00', '2009/7/31 18:00', '2009/7/31 19:00', '2009/7/31 20:00', '2009/7/31 21:00', '2009/7/31 22:00', '2009/7/31 23:00',
+ '2009/8/1 0:00', '2009/8/1 1:00', '2009/8/1 2:00', '2009/8/1 3:00', '2009/8/1 4:00', '2009/8/1 5:00', '2009/8/1 6:00', '2009/8/1 7:00', '2009/8/1 8:00', '2009/8/1 9:00', '2009/8/1 10:00', '2009/8/1 11:00', '2009/8/1 12:00', '2009/8/1 13:00', '2009/8/1 14:00', '2009/8/1 15:00', '2009/8/1 16:00', '2009/8/1 17:00', '2009/8/1 18:00', '2009/8/1 19:00', '2009/8/1 20:00', '2009/8/1 21:00', '2009/8/1 22:00', '2009/8/1 23:00', '2009/8/2 0:00', '2009/8/2 1:00', '2009/8/2 2:00', '2009/8/2 3:00', '2009/8/2 4:00', '2009/8/2 5:00', '2009/8/2 6:00', '2009/8/2 7:00', '2009/8/2 8:00', '2009/8/2 9:00', '2009/8/2 10:00', '2009/8/2 11:00', '2009/8/2 12:00', '2009/8/2 13:00', '2009/8/2 14:00', '2009/8/2 15:00', '2009/8/2 16:00', '2009/8/2 17:00', '2009/8/2 18:00', '2009/8/2 19:00', '2009/8/2 20:00', '2009/8/2 21:00', '2009/8/2 22:00', '2009/8/2 23:00', '2009/8/3 0:00', '2009/8/3 1:00', '2009/8/3 2:00', '2009/8/3 3:00', '2009/8/3 4:00', '2009/8/3 5:00', '2009/8/3 6:00', '2009/8/3 7:00', '2009/8/3 8:00', '2009/8/3 9:00', '2009/8/3 10:00', '2009/8/3 11:00', '2009/8/3 12:00', '2009/8/3 13:00', '2009/8/3 14:00', '2009/8/3 15:00', '2009/8/3 16:00', '2009/8/3 17:00', '2009/8/3 18:00', '2009/8/3 19:00', '2009/8/3 20:00', '2009/8/3 21:00', '2009/8/3 22:00', '2009/8/3 23:00', '2009/8/4 0:00', '2009/8/4 1:00', '2009/8/4 2:00', '2009/8/4 3:00', '2009/8/4 4:00', '2009/8/4 5:00', '2009/8/4 6:00', '2009/8/4 7:00', '2009/8/4 8:00', '2009/8/4 9:00', '2009/8/4 10:00', '2009/8/4 11:00', '2009/8/4 12:00', '2009/8/4 13:00', '2009/8/4 14:00', '2009/8/4 15:00', '2009/8/4 16:00', '2009/8/4 17:00', '2009/8/4 18:00', '2009/8/4 19:00', '2009/8/4 20:00', '2009/8/4 21:00', '2009/8/4 22:00', '2009/8/4 23:00', '2009/8/5 0:00', '2009/8/5 1:00', '2009/8/5 2:00', '2009/8/5 3:00', '2009/8/5 4:00', '2009/8/5 5:00', '2009/8/5 6:00', '2009/8/5 7:00', '2009/8/5 8:00', '2009/8/5 9:00', '2009/8/5 10:00', '2009/8/5 11:00', '2009/8/5 12:00', '2009/8/5 13:00', '2009/8/5 14:00', '2009/8/5 15:00', '2009/8/5 16:00', '2009/8/5 17:00', '2009/8/5 18:00', '2009/8/5 19:00', '2009/8/5 20:00', '2009/8/5 21:00', '2009/8/5 22:00', '2009/8/5 23:00', '2009/8/6 0:00', '2009/8/6 1:00', '2009/8/6 2:00', '2009/8/6 3:00', '2009/8/6 4:00', '2009/8/6 5:00', '2009/8/6 6:00', '2009/8/6 7:00', '2009/8/6 8:00', '2009/8/6 9:00', '2009/8/6 10:00', '2009/8/6 11:00', '2009/8/6 12:00', '2009/8/6 13:00', '2009/8/6 14:00', '2009/8/6 15:00', '2009/8/6 16:00', '2009/8/6 17:00', '2009/8/6 18:00', '2009/8/6 19:00', '2009/8/6 20:00', '2009/8/6 21:00', '2009/8/6 22:00', '2009/8/6 23:00', '2009/8/7 0:00', '2009/8/7 1:00', '2009/8/7 2:00', '2009/8/7 3:00', '2009/8/7 4:00', '2009/8/7 5:00', '2009/8/7 6:00', '2009/8/7 7:00', '2009/8/7 8:00', '2009/8/7 9:00', '2009/8/7 10:00', '2009/8/7 11:00', '2009/8/7 12:00', '2009/8/7 13:00', '2009/8/7 14:00', '2009/8/7 15:00', '2009/8/7 16:00', '2009/8/7 17:00', '2009/8/7 18:00', '2009/8/7 19:00', '2009/8/7 20:00', '2009/8/7 21:00', '2009/8/7 22:00', '2009/8/7 23:00', '2009/8/8 0:00', '2009/8/8 1:00', '2009/8/8 2:00', '2009/8/8 3:00', '2009/8/8 4:00', '2009/8/8 5:00', '2009/8/8 6:00', '2009/8/8 7:00', '2009/8/8 8:00', '2009/8/8 9:00', '2009/8/8 10:00', '2009/8/8 11:00', '2009/8/8 12:00', '2009/8/8 13:00', '2009/8/8 14:00', '2009/8/8 15:00', '2009/8/8 16:00', '2009/8/8 17:00', '2009/8/8 18:00', '2009/8/8 19:00', '2009/8/8 20:00', '2009/8/8 21:00', '2009/8/8 22:00', '2009/8/8 23:00', '2009/8/9 0:00', '2009/8/9 1:00', '2009/8/9 2:00', '2009/8/9 3:00', '2009/8/9 4:00', '2009/8/9 5:00', '2009/8/9 6:00', '2009/8/9 7:00', '2009/8/9 8:00', '2009/8/9 9:00', '2009/8/9 10:00', '2009/8/9 11:00', '2009/8/9 12:00', '2009/8/9 13:00', '2009/8/9 14:00', '2009/8/9 15:00', '2009/8/9 16:00', '2009/8/9 17:00', '2009/8/9 18:00', '2009/8/9 19:00', '2009/8/9 20:00', '2009/8/9 21:00', '2009/8/9 22:00', '2009/8/9 23:00', '2009/8/10 0:00', '2009/8/10 1:00', '2009/8/10 2:00', '2009/8/10 3:00', '2009/8/10 4:00', '2009/8/10 5:00', '2009/8/10 6:00', '2009/8/10 7:00', '2009/8/10 8:00', '2009/8/10 9:00', '2009/8/10 10:00', '2009/8/10 11:00', '2009/8/10 12:00', '2009/8/10 13:00', '2009/8/10 14:00', '2009/8/10 15:00', '2009/8/10 16:00', '2009/8/10 17:00', '2009/8/10 18:00', '2009/8/10 19:00', '2009/8/10 20:00', '2009/8/10 21:00', '2009/8/10 22:00', '2009/8/10 23:00', '2009/8/11 0:00', '2009/8/11 1:00', '2009/8/11 2:00', '2009/8/11 3:00', '2009/8/11 4:00', '2009/8/11 5:00', '2009/8/11 6:00', '2009/8/11 7:00', '2009/8/11 8:00', '2009/8/11 9:00', '2009/8/11 10:00', '2009/8/11 11:00', '2009/8/11 12:00', '2009/8/11 13:00', '2009/8/11 14:00', '2009/8/11 15:00', '2009/8/11 16:00', '2009/8/11 17:00', '2009/8/11 18:00', '2009/8/11 19:00', '2009/8/11 20:00', '2009/8/11 21:00', '2009/8/11 22:00', '2009/8/11 23:00', '2009/8/12 0:00', '2009/8/12 1:00', '2009/8/12 2:00', '2009/8/12 3:00', '2009/8/12 4:00', '2009/8/12 5:00', '2009/8/12 6:00', '2009/8/12 7:00', '2009/8/12 8:00', '2009/8/12 9:00', '2009/8/12 10:00', '2009/8/12 11:00', '2009/8/12 12:00', '2009/8/12 13:00', '2009/8/12 14:00', '2009/8/12 15:00', '2009/8/12 16:00', '2009/8/12 17:00', '2009/8/12 18:00', '2009/8/12 19:00', '2009/8/12 20:00', '2009/8/12 21:00', '2009/8/12 22:00', '2009/8/12 23:00', '2009/8/13 0:00', '2009/8/13 1:00', '2009/8/13 2:00', '2009/8/13 3:00', '2009/8/13 4:00', '2009/8/13 5:00', '2009/8/13 6:00', '2009/8/13 7:00', '2009/8/13 8:00', '2009/8/13 9:00', '2009/8/13 10:00', '2009/8/13 11:00', '2009/8/13 12:00', '2009/8/13 13:00', '2009/8/13 14:00', '2009/8/13 15:00', '2009/8/13 16:00', '2009/8/13 17:00', '2009/8/13 18:00', '2009/8/13 19:00', '2009/8/13 20:00', '2009/8/13 21:00', '2009/8/13 22:00', '2009/8/13 23:00', '2009/8/14 0:00', '2009/8/14 1:00', '2009/8/14 2:00', '2009/8/14 3:00', '2009/8/14 4:00', '2009/8/14 5:00', '2009/8/14 6:00', '2009/8/14 7:00', '2009/8/14 8:00', '2009/8/14 9:00', '2009/8/14 10:00', '2009/8/14 11:00', '2009/8/14 12:00', '2009/8/14 13:00', '2009/8/14 14:00', '2009/8/14 15:00', '2009/8/14 16:00', '2009/8/14 17:00', '2009/8/14 18:00', '2009/8/14 19:00', '2009/8/14 20:00', '2009/8/14 21:00', '2009/8/14 22:00', '2009/8/14 23:00', '2009/8/15 0:00', '2009/8/15 1:00', '2009/8/15 2:00', '2009/8/15 3:00', '2009/8/15 4:00', '2009/8/15 5:00', '2009/8/15 6:00', '2009/8/15 7:00', '2009/8/15 8:00', '2009/8/15 9:00', '2009/8/15 10:00', '2009/8/15 11:00', '2009/8/15 12:00', '2009/8/15 13:00', '2009/8/15 14:00', '2009/8/15 15:00', '2009/8/15 16:00', '2009/8/15 17:00', '2009/8/15 18:00', '2009/8/15 19:00', '2009/8/15 20:00', '2009/8/15 21:00', '2009/8/15 22:00', '2009/8/15 23:00', '2009/8/16 0:00', '2009/8/16 1:00', '2009/8/16 2:00', '2009/8/16 3:00', '2009/8/16 4:00', '2009/8/16 5:00', '2009/8/16 6:00', '2009/8/16 7:00', '2009/8/16 8:00', '2009/8/16 9:00', '2009/8/16 10:00', '2009/8/16 11:00', '2009/8/16 12:00', '2009/8/16 13:00', '2009/8/16 14:00', '2009/8/16 15:00', '2009/8/16 16:00', '2009/8/16 17:00', '2009/8/16 18:00', '2009/8/16 19:00', '2009/8/16 20:00', '2009/8/16 21:00', '2009/8/16 22:00', '2009/8/16 23:00', '2009/8/17 0:00', '2009/8/17 1:00', '2009/8/17 2:00', '2009/8/17 3:00', '2009/8/17 4:00', '2009/8/17 5:00', '2009/8/17 6:00', '2009/8/17 7:00', '2009/8/17 8:00', '2009/8/17 9:00', '2009/8/17 10:00', '2009/8/17 11:00', '2009/8/17 12:00', '2009/8/17 13:00', '2009/8/17 14:00', '2009/8/17 15:00', '2009/8/17 16:00', '2009/8/17 17:00', '2009/8/17 18:00', '2009/8/17 19:00', '2009/8/17 20:00', '2009/8/17 21:00', '2009/8/17 22:00', '2009/8/17 23:00', '2009/8/18 0:00', '2009/8/18 1:00', '2009/8/18 2:00', '2009/8/18 3:00', '2009/8/18 4:00', '2009/8/18 5:00', '2009/8/18 6:00', '2009/8/18 7:00', '2009/8/18 8:00', '2009/8/18 9:00', '2009/8/18 10:00', '2009/8/18 11:00', '2009/8/18 12:00', '2009/8/18 13:00', '2009/8/18 14:00', '2009/8/18 15:00', '2009/8/18 16:00', '2009/8/18 17:00', '2009/8/18 18:00', '2009/8/18 19:00', '2009/8/18 20:00', '2009/8/18 21:00', '2009/8/18 22:00', '2009/8/18 23:00', '2009/8/19 0:00', '2009/8/19 1:00', '2009/8/19 2:00', '2009/8/19 3:00', '2009/8/19 4:00', '2009/8/19 5:00', '2009/8/19 6:00', '2009/8/19 7:00', '2009/8/19 8:00', '2009/8/19 9:00', '2009/8/19 10:00', '2009/8/19 11:00', '2009/8/19 12:00', '2009/8/19 13:00', '2009/8/19 14:00', '2009/8/19 15:00', '2009/8/19 16:00', '2009/8/19 17:00', '2009/8/19 18:00', '2009/8/19 19:00', '2009/8/19 20:00', '2009/8/19 21:00', '2009/8/19 22:00', '2009/8/19 23:00', '2009/8/20 0:00', '2009/8/20 1:00', '2009/8/20 2:00', '2009/8/20 3:00', '2009/8/20 4:00', '2009/8/20 5:00', '2009/8/20 6:00', '2009/8/20 7:00', '2009/8/20 8:00', '2009/8/20 9:00', '2009/8/20 10:00', '2009/8/20 11:00', '2009/8/20 12:00', '2009/8/20 13:00', '2009/8/20 14:00', '2009/8/20 15:00', '2009/8/20 16:00', '2009/8/20 17:00', '2009/8/20 18:00', '2009/8/20 19:00', '2009/8/20 20:00', '2009/8/20 21:00', '2009/8/20 22:00', '2009/8/20 23:00', '2009/8/21 0:00', '2009/8/21 1:00', '2009/8/21 2:00', '2009/8/21 3:00', '2009/8/21 4:00', '2009/8/21 5:00', '2009/8/21 6:00', '2009/8/21 7:00', '2009/8/21 8:00', '2009/8/21 9:00', '2009/8/21 10:00', '2009/8/21 11:00', '2009/8/21 12:00', '2009/8/21 13:00', '2009/8/21 14:00', '2009/8/21 15:00', '2009/8/21 16:00', '2009/8/21 17:00', '2009/8/21 18:00', '2009/8/21 19:00', '2009/8/21 20:00', '2009/8/21 21:00', '2009/8/21 22:00', '2009/8/21 23:00', '2009/8/22 0:00', '2009/8/22 1:00', '2009/8/22 2:00', '2009/8/22 3:00', '2009/8/22 4:00', '2009/8/22 5:00', '2009/8/22 6:00', '2009/8/22 7:00', '2009/8/22 8:00', '2009/8/22 9:00', '2009/8/22 10:00', '2009/8/22 11:00', '2009/8/22 12:00', '2009/8/22 13:00', '2009/8/22 14:00', '2009/8/22 15:00', '2009/8/22 16:00', '2009/8/22 17:00', '2009/8/22 18:00', '2009/8/22 19:00', '2009/8/22 20:00', '2009/8/22 21:00', '2009/8/22 22:00', '2009/8/22 23:00', '2009/8/23 0:00', '2009/8/23 1:00', '2009/8/23 2:00', '2009/8/23 3:00', '2009/8/23 4:00', '2009/8/23 5:00', '2009/8/23 6:00', '2009/8/23 7:00', '2009/8/23 8:00', '2009/8/23 9:00', '2009/8/23 10:00', '2009/8/23 11:00', '2009/8/23 12:00', '2009/8/23 13:00', '2009/8/23 14:00', '2009/8/23 15:00', '2009/8/23 16:00', '2009/8/23 17:00', '2009/8/23 18:00', '2009/8/23 19:00', '2009/8/23 20:00', '2009/8/23 21:00', '2009/8/23 22:00', '2009/8/23 23:00', '2009/8/24 0:00', '2009/8/24 1:00', '2009/8/24 2:00', '2009/8/24 3:00', '2009/8/24 4:00', '2009/8/24 5:00', '2009/8/24 6:00', '2009/8/24 7:00', '2009/8/24 8:00', '2009/8/24 9:00', '2009/8/24 10:00', '2009/8/24 11:00', '2009/8/24 12:00', '2009/8/24 13:00', '2009/8/24 14:00', '2009/8/24 15:00', '2009/8/24 16:00', '2009/8/24 17:00', '2009/8/24 18:00', '2009/8/24 19:00', '2009/8/24 20:00', '2009/8/24 21:00', '2009/8/24 22:00', '2009/8/24 23:00', '2009/8/25 0:00', '2009/8/25 1:00', '2009/8/25 2:00', '2009/8/25 3:00', '2009/8/25 4:00', '2009/8/25 5:00', '2009/8/25 6:00', '2009/8/25 7:00', '2009/8/25 8:00', '2009/8/25 9:00', '2009/8/25 10:00', '2009/8/25 11:00', '2009/8/25 12:00', '2009/8/25 13:00', '2009/8/25 14:00', '2009/8/25 15:00', '2009/8/25 16:00', '2009/8/25 17:00', '2009/8/25 18:00', '2009/8/25 19:00', '2009/8/25 20:00', '2009/8/25 21:00', '2009/8/25 22:00', '2009/8/25 23:00', '2009/8/26 0:00', '2009/8/26 1:00', '2009/8/26 2:00', '2009/8/26 3:00', '2009/8/26 4:00', '2009/8/26 5:00', '2009/8/26 6:00', '2009/8/26 7:00', '2009/8/26 8:00', '2009/8/26 9:00', '2009/8/26 10:00', '2009/8/26 11:00', '2009/8/26 12:00', '2009/8/26 13:00', '2009/8/26 14:00', '2009/8/26 15:00', '2009/8/26 16:00', '2009/8/26 17:00', '2009/8/26 18:00', '2009/8/26 19:00', '2009/8/26 20:00', '2009/8/26 21:00', '2009/8/26 22:00', '2009/8/26 23:00', '2009/8/27 0:00', '2009/8/27 1:00', '2009/8/27 2:00', '2009/8/27 3:00', '2009/8/27 4:00', '2009/8/27 5:00', '2009/8/27 6:00', '2009/8/27 7:00', '2009/8/27 8:00', '2009/8/27 9:00', '2009/8/27 10:00', '2009/8/27 11:00', '2009/8/27 12:00', '2009/8/27 13:00', '2009/8/27 14:00', '2009/8/27 15:00', '2009/8/27 16:00', '2009/8/27 17:00', '2009/8/27 18:00', '2009/8/27 19:00', '2009/8/27 20:00', '2009/8/27 21:00', '2009/8/27 22:00', '2009/8/27 23:00', '2009/8/28 0:00', '2009/8/28 1:00', '2009/8/28 2:00', '2009/8/28 3:00', '2009/8/28 4:00', '2009/8/28 5:00', '2009/8/28 6:00', '2009/8/28 7:00', '2009/8/28 8:00', '2009/8/28 9:00', '2009/8/28 10:00', '2009/8/28 11:00', '2009/8/28 12:00', '2009/8/28 13:00', '2009/8/28 14:00', '2009/8/28 15:00', '2009/8/28 16:00', '2009/8/28 17:00', '2009/8/28 18:00', '2009/8/28 19:00', '2009/8/28 20:00', '2009/8/28 21:00', '2009/8/28 22:00', '2009/8/28 23:00', '2009/8/29 0:00', '2009/8/29 1:00', '2009/8/29 2:00', '2009/8/29 3:00', '2009/8/29 4:00', '2009/8/29 5:00', '2009/8/29 6:00', '2009/8/29 7:00', '2009/8/29 8:00', '2009/8/29 9:00', '2009/8/29 10:00', '2009/8/29 11:00', '2009/8/29 12:00', '2009/8/29 13:00', '2009/8/29 14:00', '2009/8/29 15:00', '2009/8/29 16:00', '2009/8/29 17:00', '2009/8/29 18:00', '2009/8/29 19:00', '2009/8/29 20:00', '2009/8/29 21:00', '2009/8/29 22:00', '2009/8/29 23:00', '2009/8/30 0:00', '2009/8/30 1:00', '2009/8/30 2:00', '2009/8/30 3:00', '2009/8/30 4:00', '2009/8/30 5:00', '2009/8/30 6:00', '2009/8/30 7:00', '2009/8/30 8:00', '2009/8/30 9:00', '2009/8/30 10:00', '2009/8/30 11:00', '2009/8/30 12:00', '2009/8/30 13:00', '2009/8/30 14:00', '2009/8/30 15:00', '2009/8/30 16:00', '2009/8/30 17:00', '2009/8/30 18:00', '2009/8/30 19:00', '2009/8/30 20:00', '2009/8/30 21:00', '2009/8/30 22:00', '2009/8/30 23:00', '2009/8/31 0:00', '2009/8/31 1:00', '2009/8/31 2:00', '2009/8/31 3:00', '2009/8/31 4:00', '2009/8/31 5:00', '2009/8/31 6:00', '2009/8/31 7:00', '2009/8/31 8:00', '2009/8/31 9:00', '2009/8/31 10:00', '2009/8/31 11:00', '2009/8/31 12:00', '2009/8/31 13:00', '2009/8/31 14:00', '2009/8/31 15:00', '2009/8/31 16:00', '2009/8/31 17:00', '2009/8/31 18:00', '2009/8/31 19:00', '2009/8/31 20:00', '2009/8/31 21:00', '2009/8/31 22:00', '2009/8/31 23:00',
+ '2009/9/1 0:00', '2009/9/1 1:00', '2009/9/1 2:00', '2009/9/1 3:00', '2009/9/1 4:00', '2009/9/1 5:00', '2009/9/1 6:00', '2009/9/1 7:00', '2009/9/1 8:00', '2009/9/1 9:00', '2009/9/1 10:00', '2009/9/1 11:00', '2009/9/1 12:00', '2009/9/1 13:00', '2009/9/1 14:00', '2009/9/1 15:00', '2009/9/1 16:00', '2009/9/1 17:00', '2009/9/1 18:00', '2009/9/1 19:00', '2009/9/1 20:00', '2009/9/1 21:00', '2009/9/1 22:00', '2009/9/1 23:00', '2009/9/2 0:00', '2009/9/2 1:00', '2009/9/2 2:00', '2009/9/2 3:00', '2009/9/2 4:00', '2009/9/2 5:00', '2009/9/2 6:00', '2009/9/2 7:00', '2009/9/2 8:00', '2009/9/2 9:00', '2009/9/2 10:00', '2009/9/2 11:00', '2009/9/2 12:00', '2009/9/2 13:00', '2009/9/2 14:00', '2009/9/2 15:00', '2009/9/2 16:00', '2009/9/2 17:00', '2009/9/2 18:00', '2009/9/2 19:00', '2009/9/2 20:00', '2009/9/2 21:00', '2009/9/2 22:00', '2009/9/2 23:00', '2009/9/3 0:00', '2009/9/3 1:00', '2009/9/3 2:00', '2009/9/3 3:00', '2009/9/3 4:00', '2009/9/3 5:00', '2009/9/3 6:00', '2009/9/3 7:00', '2009/9/3 8:00', '2009/9/3 9:00', '2009/9/3 10:00', '2009/9/3 11:00', '2009/9/3 12:00', '2009/9/3 13:00', '2009/9/3 14:00', '2009/9/3 15:00', '2009/9/3 16:00', '2009/9/3 17:00', '2009/9/3 18:00', '2009/9/3 19:00', '2009/9/3 20:00', '2009/9/3 21:00', '2009/9/3 22:00', '2009/9/3 23:00', '2009/9/4 0:00', '2009/9/4 1:00', '2009/9/4 2:00', '2009/9/4 3:00', '2009/9/4 4:00', '2009/9/4 5:00', '2009/9/4 6:00', '2009/9/4 7:00', '2009/9/4 8:00', '2009/9/4 9:00', '2009/9/4 10:00', '2009/9/4 11:00', '2009/9/4 12:00', '2009/9/4 13:00', '2009/9/4 14:00', '2009/9/4 15:00', '2009/9/4 16:00', '2009/9/4 17:00', '2009/9/4 18:00', '2009/9/4 19:00', '2009/9/4 20:00', '2009/9/4 21:00', '2009/9/4 22:00', '2009/9/4 23:00', '2009/9/5 0:00', '2009/9/5 1:00', '2009/9/5 2:00', '2009/9/5 3:00', '2009/9/5 4:00', '2009/9/5 5:00', '2009/9/5 6:00', '2009/9/5 7:00', '2009/9/5 8:00', '2009/9/5 9:00', '2009/9/5 10:00', '2009/9/5 11:00', '2009/9/5 12:00', '2009/9/5 13:00', '2009/9/5 14:00', '2009/9/5 15:00', '2009/9/5 16:00', '2009/9/5 17:00', '2009/9/5 18:00', '2009/9/5 19:00', '2009/9/5 20:00', '2009/9/5 21:00', '2009/9/5 22:00', '2009/9/5 23:00', '2009/9/6 0:00', '2009/9/6 1:00', '2009/9/6 2:00', '2009/9/6 3:00', '2009/9/6 4:00', '2009/9/6 5:00', '2009/9/6 6:00', '2009/9/6 7:00', '2009/9/6 8:00', '2009/9/6 9:00', '2009/9/6 10:00', '2009/9/6 11:00', '2009/9/6 12:00', '2009/9/6 13:00', '2009/9/6 14:00', '2009/9/6 15:00', '2009/9/6 16:00', '2009/9/6 17:00', '2009/9/6 18:00', '2009/9/6 19:00', '2009/9/6 20:00', '2009/9/6 21:00', '2009/9/6 22:00', '2009/9/6 23:00', '2009/9/7 0:00', '2009/9/7 1:00', '2009/9/7 2:00', '2009/9/7 3:00', '2009/9/7 4:00', '2009/9/7 5:00', '2009/9/7 6:00', '2009/9/7 7:00', '2009/9/7 8:00', '2009/9/7 9:00', '2009/9/7 10:00', '2009/9/7 11:00', '2009/9/7 12:00', '2009/9/7 13:00', '2009/9/7 14:00', '2009/9/7 15:00', '2009/9/7 16:00', '2009/9/7 17:00', '2009/9/7 18:00', '2009/9/7 19:00', '2009/9/7 20:00', '2009/9/7 21:00', '2009/9/7 22:00', '2009/9/7 23:00', '2009/9/8 0:00', '2009/9/8 1:00', '2009/9/8 2:00', '2009/9/8 3:00', '2009/9/8 4:00', '2009/9/8 5:00', '2009/9/8 6:00', '2009/9/8 7:00', '2009/9/8 8:00', '2009/9/8 9:00', '2009/9/8 10:00', '2009/9/8 11:00', '2009/9/8 12:00', '2009/9/8 13:00', '2009/9/8 14:00', '2009/9/8 15:00', '2009/9/8 16:00', '2009/9/8 17:00', '2009/9/8 18:00', '2009/9/8 19:00', '2009/9/8 20:00', '2009/9/8 21:00', '2009/9/8 22:00', '2009/9/8 23:00', '2009/9/9 0:00', '2009/9/9 1:00', '2009/9/9 2:00', '2009/9/9 3:00', '2009/9/9 4:00', '2009/9/9 5:00', '2009/9/9 6:00', '2009/9/9 7:00', '2009/9/9 8:00', '2009/9/9 9:00', '2009/9/9 10:00', '2009/9/9 11:00', '2009/9/9 12:00', '2009/9/9 13:00', '2009/9/9 14:00', '2009/9/9 15:00', '2009/9/9 16:00', '2009/9/9 17:00', '2009/9/9 18:00', '2009/9/9 19:00', '2009/9/9 20:00', '2009/9/9 21:00', '2009/9/9 22:00', '2009/9/9 23:00', '2009/9/10 0:00', '2009/9/10 1:00', '2009/9/10 2:00', '2009/9/10 3:00', '2009/9/10 4:00', '2009/9/10 5:00', '2009/9/10 6:00', '2009/9/10 7:00', '2009/9/10 8:00', '2009/9/10 9:00', '2009/9/10 10:00', '2009/9/10 11:00', '2009/9/10 12:00', '2009/9/10 13:00', '2009/9/10 14:00', '2009/9/10 15:00', '2009/9/10 16:00', '2009/9/10 17:00', '2009/9/10 18:00', '2009/9/10 19:00', '2009/9/10 20:00', '2009/9/10 21:00', '2009/9/10 22:00', '2009/9/10 23:00', '2009/9/11 0:00', '2009/9/11 1:00', '2009/9/11 2:00', '2009/9/11 3:00', '2009/9/11 4:00', '2009/9/11 5:00', '2009/9/11 6:00', '2009/9/11 7:00', '2009/9/11 8:00', '2009/9/11 9:00', '2009/9/11 10:00', '2009/9/11 11:00', '2009/9/11 12:00', '2009/9/11 13:00', '2009/9/11 14:00', '2009/9/11 15:00', '2009/9/11 16:00', '2009/9/11 17:00', '2009/9/11 18:00', '2009/9/11 19:00', '2009/9/11 20:00', '2009/9/11 21:00', '2009/9/11 22:00', '2009/9/11 23:00', '2009/9/12 0:00', '2009/9/12 1:00', '2009/9/12 2:00', '2009/9/12 3:00', '2009/9/12 4:00', '2009/9/12 5:00', '2009/9/12 6:00', '2009/9/12 7:00', '2009/9/12 8:00', '2009/9/12 9:00', '2009/9/12 10:00', '2009/9/12 11:00', '2009/9/12 12:00', '2009/9/12 13:00', '2009/9/12 14:00', '2009/9/12 15:00', '2009/9/12 16:00', '2009/9/12 17:00', '2009/9/12 18:00', '2009/9/12 19:00', '2009/9/12 20:00', '2009/9/12 21:00', '2009/9/12 22:00', '2009/9/12 23:00', '2009/9/13 0:00', '2009/9/13 1:00', '2009/9/13 2:00', '2009/9/13 3:00', '2009/9/13 4:00', '2009/9/13 5:00', '2009/9/13 6:00', '2009/9/13 7:00', '2009/9/13 8:00', '2009/9/13 9:00', '2009/9/13 10:00', '2009/9/13 11:00', '2009/9/13 12:00', '2009/9/13 13:00', '2009/9/13 14:00', '2009/9/13 15:00', '2009/9/13 16:00', '2009/9/13 17:00', '2009/9/13 18:00', '2009/9/13 19:00', '2009/9/13 20:00', '2009/9/13 21:00', '2009/9/13 22:00', '2009/9/13 23:00', '2009/9/14 0:00', '2009/9/14 1:00', '2009/9/14 2:00', '2009/9/14 3:00', '2009/9/14 4:00', '2009/9/14 5:00', '2009/9/14 6:00', '2009/9/14 7:00', '2009/9/14 8:00', '2009/9/14 9:00', '2009/9/14 10:00', '2009/9/14 11:00', '2009/9/14 12:00', '2009/9/14 13:00', '2009/9/14 14:00', '2009/9/14 15:00', '2009/9/14 16:00', '2009/9/14 17:00', '2009/9/14 18:00', '2009/9/14 19:00', '2009/9/14 20:00', '2009/9/14 21:00', '2009/9/14 22:00', '2009/9/14 23:00', '2009/9/15 0:00', '2009/9/15 1:00', '2009/9/15 2:00', '2009/9/15 3:00', '2009/9/15 4:00', '2009/9/15 5:00', '2009/9/15 6:00', '2009/9/15 7:00', '2009/9/15 8:00', '2009/9/15 9:00', '2009/9/15 10:00', '2009/9/15 11:00', '2009/9/15 12:00', '2009/9/15 13:00', '2009/9/15 14:00', '2009/9/15 15:00', '2009/9/15 16:00', '2009/9/15 17:00', '2009/9/15 18:00', '2009/9/15 19:00', '2009/9/15 20:00', '2009/9/15 21:00', '2009/9/15 22:00', '2009/9/15 23:00', '2009/9/16 0:00', '2009/9/16 1:00', '2009/9/16 2:00', '2009/9/16 3:00', '2009/9/16 4:00', '2009/9/16 5:00', '2009/9/16 6:00', '2009/9/16 7:00', '2009/9/16 8:00', '2009/9/16 9:00', '2009/9/16 10:00', '2009/9/16 11:00', '2009/9/16 12:00', '2009/9/16 13:00', '2009/9/16 14:00', '2009/9/16 15:00', '2009/9/16 16:00', '2009/9/16 17:00', '2009/9/16 18:00', '2009/9/16 19:00', '2009/9/16 20:00', '2009/9/16 21:00', '2009/9/16 22:00', '2009/9/16 23:00', '2009/9/17 0:00', '2009/9/17 1:00', '2009/9/17 2:00', '2009/9/17 3:00', '2009/9/17 4:00', '2009/9/17 5:00', '2009/9/17 6:00', '2009/9/17 7:00', '2009/9/17 8:00', '2009/9/17 9:00', '2009/9/17 10:00', '2009/9/17 11:00', '2009/9/17 12:00', '2009/9/17 13:00', '2009/9/17 14:00', '2009/9/17 15:00', '2009/9/17 16:00', '2009/9/17 17:00', '2009/9/17 18:00', '2009/9/17 19:00', '2009/9/17 20:00', '2009/9/17 21:00', '2009/9/17 22:00', '2009/9/17 23:00', '2009/9/18 0:00', '2009/9/18 1:00', '2009/9/18 2:00', '2009/9/18 3:00', '2009/9/18 4:00', '2009/9/18 5:00', '2009/9/18 6:00', '2009/9/18 7:00', '2009/9/18 8:00', '2009/9/18 9:00', '2009/9/18 10:00', '2009/9/18 11:00', '2009/9/18 12:00', '2009/9/18 13:00', '2009/9/18 14:00', '2009/9/18 15:00', '2009/9/18 16:00', '2009/9/18 17:00', '2009/9/18 18:00', '2009/9/18 19:00', '2009/9/18 20:00', '2009/9/18 21:00', '2009/9/18 22:00', '2009/9/18 23:00', '2009/9/19 0:00', '2009/9/19 1:00', '2009/9/19 2:00', '2009/9/19 3:00', '2009/9/19 4:00', '2009/9/19 5:00', '2009/9/19 6:00', '2009/9/19 7:00', '2009/9/19 8:00', '2009/9/19 9:00', '2009/9/19 10:00', '2009/9/19 11:00', '2009/9/19 12:00', '2009/9/19 13:00', '2009/9/19 14:00', '2009/9/19 15:00', '2009/9/19 16:00', '2009/9/19 17:00', '2009/9/19 18:00', '2009/9/19 19:00', '2009/9/19 20:00', '2009/9/19 21:00', '2009/9/19 22:00', '2009/9/19 23:00', '2009/9/20 0:00', '2009/9/20 1:00', '2009/9/20 2:00', '2009/9/20 3:00', '2009/9/20 4:00', '2009/9/20 5:00', '2009/9/20 6:00', '2009/9/20 7:00', '2009/9/20 8:00', '2009/9/20 9:00', '2009/9/20 10:00', '2009/9/20 11:00', '2009/9/20 12:00', '2009/9/20 13:00', '2009/9/20 14:00', '2009/9/20 15:00', '2009/9/20 16:00', '2009/9/20 17:00', '2009/9/20 18:00', '2009/9/20 19:00', '2009/9/20 20:00', '2009/9/20 21:00', '2009/9/20 22:00', '2009/9/20 23:00', '2009/9/21 0:00', '2009/9/21 1:00', '2009/9/21 2:00', '2009/9/21 3:00', '2009/9/21 4:00', '2009/9/21 5:00', '2009/9/21 6:00', '2009/9/21 7:00', '2009/9/21 8:00', '2009/9/21 9:00', '2009/9/21 10:00', '2009/9/21 11:00', '2009/9/21 12:00', '2009/9/21 13:00', '2009/9/21 14:00', '2009/9/21 15:00', '2009/9/21 16:00', '2009/9/21 17:00', '2009/9/21 18:00', '2009/9/21 19:00', '2009/9/21 20:00', '2009/9/21 21:00', '2009/9/21 22:00', '2009/9/21 23:00', '2009/9/22 0:00', '2009/9/22 1:00', '2009/9/22 2:00', '2009/9/22 3:00', '2009/9/22 4:00', '2009/9/22 5:00', '2009/9/22 6:00', '2009/9/22 7:00', '2009/9/22 8:00', '2009/9/22 9:00', '2009/9/22 10:00', '2009/9/22 11:00', '2009/9/22 12:00', '2009/9/22 13:00', '2009/9/22 14:00', '2009/9/22 15:00', '2009/9/22 16:00', '2009/9/22 17:00', '2009/9/22 18:00', '2009/9/22 19:00', '2009/9/22 20:00', '2009/9/22 21:00', '2009/9/22 22:00', '2009/9/22 23:00', '2009/9/23 0:00', '2009/9/23 1:00', '2009/9/23 2:00', '2009/9/23 3:00', '2009/9/23 4:00', '2009/9/23 5:00', '2009/9/23 6:00', '2009/9/23 7:00', '2009/9/23 8:00', '2009/9/23 9:00', '2009/9/23 10:00', '2009/9/23 11:00', '2009/9/23 12:00', '2009/9/23 13:00', '2009/9/23 14:00', '2009/9/23 15:00', '2009/9/23 16:00', '2009/9/23 17:00', '2009/9/23 18:00', '2009/9/23 19:00', '2009/9/23 20:00', '2009/9/23 21:00', '2009/9/23 22:00', '2009/9/23 23:00', '2009/9/24 0:00', '2009/9/24 1:00', '2009/9/24 2:00', '2009/9/24 3:00', '2009/9/24 4:00', '2009/9/24 5:00', '2009/9/24 6:00', '2009/9/24 7:00', '2009/9/24 8:00', '2009/9/24 9:00', '2009/9/24 10:00', '2009/9/24 11:00', '2009/9/24 12:00', '2009/9/24 13:00', '2009/9/24 14:00', '2009/9/24 15:00', '2009/9/24 16:00', '2009/9/24 17:00', '2009/9/24 18:00', '2009/9/24 19:00', '2009/9/24 20:00', '2009/9/24 21:00', '2009/9/24 22:00', '2009/9/24 23:00', '2009/9/25 0:00', '2009/9/25 1:00', '2009/9/25 2:00', '2009/9/25 3:00', '2009/9/25 4:00', '2009/9/25 5:00', '2009/9/25 6:00', '2009/9/25 7:00', '2009/9/25 8:00', '2009/9/25 9:00', '2009/9/25 10:00', '2009/9/25 11:00', '2009/9/25 12:00', '2009/9/25 13:00', '2009/9/25 14:00', '2009/9/25 15:00', '2009/9/25 16:00', '2009/9/25 17:00', '2009/9/25 18:00', '2009/9/25 19:00', '2009/9/25 20:00', '2009/9/25 21:00', '2009/9/25 22:00', '2009/9/25 23:00', '2009/9/26 0:00', '2009/9/26 1:00', '2009/9/26 2:00', '2009/9/26 3:00', '2009/9/26 4:00', '2009/9/26 5:00', '2009/9/26 6:00', '2009/9/26 7:00', '2009/9/26 8:00', '2009/9/26 9:00', '2009/9/26 10:00', '2009/9/26 11:00', '2009/9/26 12:00', '2009/9/26 13:00', '2009/9/26 14:00', '2009/9/26 15:00', '2009/9/26 16:00', '2009/9/26 17:00', '2009/9/26 18:00', '2009/9/26 19:00', '2009/9/26 20:00', '2009/9/26 21:00', '2009/9/26 22:00', '2009/9/26 23:00', '2009/9/27 0:00', '2009/9/27 1:00', '2009/9/27 2:00', '2009/9/27 3:00', '2009/9/27 4:00', '2009/9/27 5:00', '2009/9/27 6:00', '2009/9/27 7:00', '2009/9/27 8:00', '2009/9/27 9:00', '2009/9/27 10:00', '2009/9/27 11:00', '2009/9/27 12:00', '2009/9/27 13:00', '2009/9/27 14:00', '2009/9/27 15:00', '2009/9/27 16:00', '2009/9/27 17:00', '2009/9/27 18:00', '2009/9/27 19:00', '2009/9/27 20:00', '2009/9/27 21:00', '2009/9/27 22:00', '2009/9/27 23:00', '2009/9/28 0:00', '2009/9/28 1:00', '2009/9/28 2:00', '2009/9/28 3:00', '2009/9/28 4:00', '2009/9/28 5:00', '2009/9/28 6:00', '2009/9/28 7:00', '2009/9/28 8:00', '2009/9/28 9:00', '2009/9/28 10:00', '2009/9/28 11:00', '2009/9/28 12:00', '2009/9/28 13:00', '2009/9/28 14:00', '2009/9/28 15:00', '2009/9/28 16:00', '2009/9/28 17:00', '2009/9/28 18:00', '2009/9/28 19:00', '2009/9/28 20:00', '2009/9/28 21:00', '2009/9/28 22:00', '2009/9/28 23:00', '2009/9/29 0:00', '2009/9/29 1:00', '2009/9/29 2:00', '2009/9/29 3:00', '2009/9/29 4:00', '2009/9/29 5:00', '2009/9/29 6:00', '2009/9/29 7:00', '2009/9/29 8:00', '2009/9/29 9:00', '2009/9/29 10:00', '2009/9/29 11:00', '2009/9/29 12:00', '2009/9/29 13:00', '2009/9/29 14:00', '2009/9/29 15:00', '2009/9/29 16:00', '2009/9/29 17:00', '2009/9/29 18:00', '2009/9/29 19:00', '2009/9/29 20:00', '2009/9/29 21:00', '2009/9/29 22:00', '2009/9/29 23:00', '2009/9/30 0:00', '2009/9/30 1:00', '2009/9/30 2:00', '2009/9/30 3:00', '2009/9/30 4:00', '2009/9/30 5:00', '2009/9/30 6:00', '2009/9/30 7:00', '2009/9/30 8:00', '2009/9/30 9:00', '2009/9/30 10:00', '2009/9/30 11:00', '2009/9/30 12:00', '2009/9/30 13:00', '2009/9/30 14:00', '2009/9/30 15:00', '2009/9/30 16:00', '2009/9/30 17:00', '2009/9/30 18:00', '2009/9/30 19:00', '2009/9/30 20:00', '2009/9/30 21:00', '2009/9/30 22:00', '2009/9/30 23:00',
+ '2009/10/1 0:00', '2009/10/1 1:00', '2009/10/1 2:00', '2009/10/1 3:00', '2009/10/1 4:00', '2009/10/1 5:00', '2009/10/1 6:00', '2009/10/1 7:00', '2009/10/1 8:00', '2009/10/1 9:00', '2009/10/1 10:00', '2009/10/1 11:00', '2009/10/1 12:00', '2009/10/1 13:00', '2009/10/1 14:00', '2009/10/1 15:00', '2009/10/1 16:00', '2009/10/1 17:00', '2009/10/1 18:00', '2009/10/1 19:00', '2009/10/1 20:00', '2009/10/1 21:00', '2009/10/1 22:00', '2009/10/1 23:00', '2009/10/2 0:00', '2009/10/2 1:00', '2009/10/2 2:00', '2009/10/2 3:00', '2009/10/2 4:00', '2009/10/2 5:00', '2009/10/2 6:00', '2009/10/2 7:00', '2009/10/2 8:00', '2009/10/2 9:00', '2009/10/2 10:00', '2009/10/2 11:00', '2009/10/2 12:00', '2009/10/2 13:00', '2009/10/2 14:00', '2009/10/2 15:00', '2009/10/2 16:00', '2009/10/2 17:00', '2009/10/2 18:00', '2009/10/2 19:00', '2009/10/2 20:00', '2009/10/2 21:00', '2009/10/2 22:00', '2009/10/2 23:00', '2009/10/3 0:00', '2009/10/3 1:00', '2009/10/3 2:00', '2009/10/3 3:00', '2009/10/3 4:00', '2009/10/3 5:00', '2009/10/3 6:00', '2009/10/3 7:00', '2009/10/3 8:00', '2009/10/3 9:00', '2009/10/3 10:00', '2009/10/3 11:00', '2009/10/3 12:00', '2009/10/3 13:00', '2009/10/3 14:00', '2009/10/3 15:00', '2009/10/3 16:00', '2009/10/3 17:00', '2009/10/3 18:00', '2009/10/3 19:00', '2009/10/3 20:00', '2009/10/3 21:00', '2009/10/3 22:00', '2009/10/3 23:00', '2009/10/4 0:00', '2009/10/4 1:00', '2009/10/4 2:00', '2009/10/4 3:00', '2009/10/4 4:00', '2009/10/4 5:00', '2009/10/4 6:00', '2009/10/4 7:00', '2009/10/4 8:00', '2009/10/4 9:00', '2009/10/4 10:00', '2009/10/4 11:00', '2009/10/4 12:00', '2009/10/4 13:00', '2009/10/4 14:00', '2009/10/4 15:00', '2009/10/4 16:00', '2009/10/4 17:00', '2009/10/4 18:00', '2009/10/4 19:00', '2009/10/4 20:00', '2009/10/4 21:00', '2009/10/4 22:00', '2009/10/4 23:00', '2009/10/5 0:00', '2009/10/5 1:00', '2009/10/5 2:00', '2009/10/5 3:00', '2009/10/5 4:00', '2009/10/5 5:00', '2009/10/5 6:00', '2009/10/5 7:00', '2009/10/5 8:00', '2009/10/5 9:00', '2009/10/5 10:00', '2009/10/5 11:00', '2009/10/5 12:00', '2009/10/5 13:00', '2009/10/5 14:00', '2009/10/5 15:00', '2009/10/5 16:00', '2009/10/5 17:00', '2009/10/5 18:00', '2009/10/5 19:00', '2009/10/5 20:00', '2009/10/5 21:00', '2009/10/5 22:00', '2009/10/5 23:00', '2009/10/6 0:00', '2009/10/6 1:00', '2009/10/6 2:00', '2009/10/6 3:00', '2009/10/6 4:00', '2009/10/6 5:00', '2009/10/6 6:00', '2009/10/6 7:00', '2009/10/6 8:00', '2009/10/6 9:00', '2009/10/6 10:00', '2009/10/6 11:00', '2009/10/6 12:00', '2009/10/6 13:00', '2009/10/6 14:00', '2009/10/6 15:00', '2009/10/6 16:00', '2009/10/6 17:00', '2009/10/6 18:00', '2009/10/6 19:00', '2009/10/6 20:00', '2009/10/6 21:00', '2009/10/6 22:00', '2009/10/6 23:00', '2009/10/7 0:00', '2009/10/7 1:00', '2009/10/7 2:00', '2009/10/7 3:00', '2009/10/7 4:00', '2009/10/7 5:00', '2009/10/7 6:00', '2009/10/7 7:00', '2009/10/7 8:00', '2009/10/7 9:00', '2009/10/7 10:00', '2009/10/7 11:00', '2009/10/7 12:00', '2009/10/7 13:00', '2009/10/7 14:00', '2009/10/7 15:00', '2009/10/7 16:00', '2009/10/7 17:00', '2009/10/7 18:00', '2009/10/7 19:00', '2009/10/7 20:00', '2009/10/7 21:00', '2009/10/7 22:00', '2009/10/7 23:00', '2009/10/8 0:00', '2009/10/8 1:00', '2009/10/8 2:00', '2009/10/8 3:00', '2009/10/8 4:00', '2009/10/8 5:00', '2009/10/8 6:00', '2009/10/8 7:00', '2009/10/8 8:00', '2009/10/8 9:00', '2009/10/8 10:00', '2009/10/8 11:00', '2009/10/8 12:00', '2009/10/8 13:00', '2009/10/8 14:00', '2009/10/8 15:00', '2009/10/8 16:00', '2009/10/8 17:00', '2009/10/8 18:00', '2009/10/8 19:00', '2009/10/8 20:00', '2009/10/8 21:00', '2009/10/8 22:00', '2009/10/8 23:00', '2009/10/9 0:00', '2009/10/9 1:00', '2009/10/9 2:00', '2009/10/9 3:00', '2009/10/9 4:00', '2009/10/9 5:00', '2009/10/9 6:00', '2009/10/9 7:00', '2009/10/9 8:00', '2009/10/9 9:00', '2009/10/9 10:00', '2009/10/9 11:00', '2009/10/9 12:00', '2009/10/9 13:00', '2009/10/9 14:00', '2009/10/9 15:00', '2009/10/9 16:00', '2009/10/9 17:00', '2009/10/9 18:00', '2009/10/9 19:00', '2009/10/9 20:00', '2009/10/9 21:00', '2009/10/9 22:00', '2009/10/9 23:00', '2009/10/10 0:00', '2009/10/10 1:00', '2009/10/10 2:00', '2009/10/10 3:00', '2009/10/10 4:00', '2009/10/10 5:00', '2009/10/10 6:00', '2009/10/10 7:00', '2009/10/10 8:00', '2009/10/10 9:00', '2009/10/10 10:00', '2009/10/10 11:00', '2009/10/10 12:00', '2009/10/10 13:00', '2009/10/10 14:00', '2009/10/10 15:00', '2009/10/10 16:00', '2009/10/10 17:00', '2009/10/10 18:00', '2009/10/10 19:00', '2009/10/10 20:00', '2009/10/10 21:00', '2009/10/10 22:00', '2009/10/10 23:00', '2009/10/11 0:00', '2009/10/11 1:00', '2009/10/11 2:00', '2009/10/11 3:00', '2009/10/11 4:00', '2009/10/11 5:00', '2009/10/11 6:00', '2009/10/11 7:00', '2009/10/11 8:00', '2009/10/11 9:00', '2009/10/11 10:00', '2009/10/11 11:00', '2009/10/11 12:00', '2009/10/11 13:00', '2009/10/11 14:00', '2009/10/11 15:00', '2009/10/11 16:00', '2009/10/11 17:00', '2009/10/11 18:00', '2009/10/11 19:00', '2009/10/11 20:00', '2009/10/11 21:00', '2009/10/11 22:00', '2009/10/11 23:00', '2009/10/12 0:00', '2009/10/12 1:00', '2009/10/12 2:00', '2009/10/12 3:00', '2009/10/12 4:00', '2009/10/12 5:00', '2009/10/12 6:00', '2009/10/12 7:00', '2009/10/12 8:00', '2009/10/12 9:00', '2009/10/12 10:00', '2009/10/12 11:00', '2009/10/12 12:00', '2009/10/12 13:00', '2009/10/12 14:00', '2009/10/12 15:00', '2009/10/12 16:00', '2009/10/12 17:00', '2009/10/12 18:00', '2009/10/12 19:00', '2009/10/12 20:00', '2009/10/12 21:00', '2009/10/12 22:00', '2009/10/12 23:00', '2009/10/13 0:00', '2009/10/13 1:00', '2009/10/13 2:00', '2009/10/13 3:00', '2009/10/13 4:00', '2009/10/13 5:00', '2009/10/13 6:00', '2009/10/13 7:00', '2009/10/13 8:00', '2009/10/13 9:00', '2009/10/13 10:00', '2009/10/13 11:00', '2009/10/13 12:00', '2009/10/13 13:00', '2009/10/13 14:00', '2009/10/13 15:00', '2009/10/13 16:00', '2009/10/13 17:00', '2009/10/13 18:00', '2009/10/13 19:00', '2009/10/13 20:00', '2009/10/13 21:00', '2009/10/13 22:00', '2009/10/13 23:00', '2009/10/14 0:00', '2009/10/14 1:00', '2009/10/14 2:00', '2009/10/14 3:00', '2009/10/14 4:00', '2009/10/14 5:00', '2009/10/14 6:00', '2009/10/14 7:00', '2009/10/14 8:00', '2009/10/14 9:00', '2009/10/14 10:00', '2009/10/14 11:00', '2009/10/14 12:00', '2009/10/14 13:00', '2009/10/14 14:00', '2009/10/14 15:00', '2009/10/14 16:00', '2009/10/14 17:00', '2009/10/14 18:00', '2009/10/14 19:00', '2009/10/14 20:00', '2009/10/14 21:00', '2009/10/14 22:00', '2009/10/14 23:00', '2009/10/15 0:00', '2009/10/15 1:00', '2009/10/15 2:00', '2009/10/15 3:00', '2009/10/15 4:00', '2009/10/15 5:00', '2009/10/15 6:00', '2009/10/15 7:00', '2009/10/15 8:00', '2009/10/15 9:00', '2009/10/15 10:00', '2009/10/15 11:00', '2009/10/15 12:00', '2009/10/15 13:00', '2009/10/15 14:00', '2009/10/15 15:00', '2009/10/15 16:00', '2009/10/15 17:00', '2009/10/15 18:00', '2009/10/15 19:00', '2009/10/15 20:00', '2009/10/15 21:00', '2009/10/15 22:00', '2009/10/15 23:00', '2009/10/16 0:00', '2009/10/16 1:00', '2009/10/16 2:00', '2009/10/16 3:00', '2009/10/16 4:00', '2009/10/16 5:00', '2009/10/16 6:00', '2009/10/16 7:00', '2009/10/16 8:00', '2009/10/16 9:00', '2009/10/16 10:00', '2009/10/16 11:00', '2009/10/16 12:00', '2009/10/16 13:00', '2009/10/16 14:00', '2009/10/16 15:00', '2009/10/16 16:00', '2009/10/16 17:00', '2009/10/16 18:00', '2009/10/16 19:00', '2009/10/16 20:00', '2009/10/16 21:00', '2009/10/16 22:00', '2009/10/16 23:00', '2009/10/17 0:00', '2009/10/17 1:00', '2009/10/17 2:00', '2009/10/17 3:00', '2009/10/17 4:00', '2009/10/17 5:00', '2009/10/17 6:00', '2009/10/17 7:00', '2009/10/17 8:00', '2009/10/17 9:00', '2009/10/17 10:00', '2009/10/17 11:00', '2009/10/17 12:00', '2009/10/17 13:00', '2009/10/17 14:00', '2009/10/17 15:00', '2009/10/17 16:00', '2009/10/17 17:00', '2009/10/17 18:00', '2009/10/17 19:00', '2009/10/17 20:00', '2009/10/17 21:00', '2009/10/17 22:00', '2009/10/17 23:00', '2009/10/18 0:00', '2009/10/18 1:00', '2009/10/18 2:00', '2009/10/18 3:00', '2009/10/18 4:00', '2009/10/18 5:00', '2009/10/18 6:00', '2009/10/18 7:00', '2009/10/18 8:00'
+ ]
+ }
+ ],
+ yAxis : [
+ {
+ name : '娴侀噺(m^3/s)',
+ type : 'value',
+ max : 500
+ },
+ {
+ name : '闄嶉洦閲�(mm)',
+ type : 'value',
+ axisLabel : {
+ formatter: function(v){
+ return - v;
+ }
+ }
+ }
+ ],
+ series : [
+ {
+ name:'娴侀噺',
+ type:'line',
+ itemStyle: {normal: {areaStyle: {type: 'default'}}},
+ data:[
+ 0.97,0.96,0.96,0.95,0.95,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.93,0.92,0.91,0.9,0.89,0.88,0.87,0.87,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.87,0.88,0.9,0.93,0.96,0.99,1.03,1.06,1.1,1.14,1.17,1.2,1.23,1.26,1.29,1.33,1.36,1.4,1.43,1.45,1.48,1.49,1.51,1.51,1.5,1.49,1.47,1.44,1.41,1.37,1.34,1.3,1.27,1.24,1.22,1.2,1.19,1.18,1.16,1.15,1.14,1.13,1.12,1.11,1.11,1.1,1.1,1.1,1.1,1.1,1.1,1.1,1.1,1.1,1.1,1.1,1.1,1.1,1.1,1.1,1.1,1.1,1.09,1.09,1.08,1.07,1.06,1.05,1.04,1.03,1.03,1.02,1.01,1.01,1,0.99,0.98,0.97,0.96,0.96,0.95,0.95,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.93,0.92,0.91,0.9,0.89,0.88,0.87,0.87,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.85,0.84,0.83,0.82,0.81,0.8,0.8,0.79,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.77,0.75,0.73,0.71,0.68,0.65,0.63,0.61,0.59,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.57,0.57,0.57,0.56,0.55,0.55,0.54,0.54,0.53,0.52,0.52,0.51,0.51,0.5,0.5,0.49,0.48,0.48,0.47,0.47,0.47,0.46,0.46,0.46,0.46,0.46,0.46,0.46,0.46,0.46,0.46,0.46,0.46,0.46,0.46,0.46,0.46,0.46,0.46,0.46,0.46,0.46,0.46,0.46,0.46,0.46,0.46,0.46,0.46,0.46,0.46,0.46,0.46,0.46,0.46,0.46,0.46,0.46,0.46,0.52,0.67,0.9,1.19,1.52,1.87,2.22,2.55,2.84,3.07,3.22,3.28,3.28,3.28,3.28,3.28,3.28,3.28,3.28,3.28,3.28,3.28,3.28,3.28,3.24,3.13,2.97,2.77,2.54,2.3,2.05,1.82,1.62,1.46,1.35,1.31,1.31,1.31,1.31,1.31,1.31,1.31,1.31,1.31,1.31,1.31,1.31,1.31,1.31,1.31,1.31,1.31,1.31,1.31,1.31,1.31,1.31,1.31,1.31,1.31,1.31,1.31,1.31,1.31,1.31,1.31,1.31,1.31,1.31,1.31,1.31,1.31,1.3,1.26,1.21,1.14,1.06,0.97,0.89,0.81,0.74,0.69,0.65,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.63,0.63,0.62,0.62,0.61,0.6,0.59,0.59,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.59,0.61,0.63,0.65,0.68,0.71,0.73,0.75,0.77,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.77,0.75,0.73,0.71,0.68,0.65,0.63,0.61,0.59,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.58,0.59,0.59,0.6,0.61,0.62,0.62,0.63,0.63,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.65,0.66,0.68,0.69,0.71,0.73,0.74,0.76,0.77,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.79,0.81,0.82,0.84,0.86,0.88,0.9,0.92,0.93,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.94,0.93,0.92,0.91,0.9,0.89,0.88,0.87,0.87,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.86,0.85,0.84,0.82,0.8,0.78,0.76,0.75,0.73,0.72,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.72,0.73,0.74,0.76,0.78,0.79,0.82,0.84,0.86,0.89,0.91,0.94,0.97,1,1.02,1.05,1.08,1.11,1.14,1.17,1.19,1.22,1.25,1.27,1.29,1.31,1.33,1.35,1.36,1.38,1.39,1.39,1.4,1.4,1.4,1.39,1.37,1.35,1.32,1.29,1.26,1.22,1.18,1.14,1.1,1.05,1.01,0.97,0.93,0.89,0.85,0.82,0.78,0.76,0.74,0.72,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.72,0.73,0.74,0.75,0.77,0.78,0.8,0.82,0.84,0.87,0.89,0.92,0.94,0.97,0.99,1.02,1.05,1.08,1.1,1.13,1.16,1.18,1.21,1.23,1.26,1.28,1.3,1.32,1.34,1.35,1.37,1.38,1.39,1.4,1.41,1.41,1.42,1.42,1.43,1.43,1.43,1.44,1.44,1.44,1.44,1.45,1.45,1.45,1.46,1.46,1.46,1.47,1.47,1.48,1.48,1.49,1.5,1.51,1.54,1.62,1.73,1.88,2.05,2.24,2.45,2.67,2.89,3.11,3.31,3.51,3.69,3.86,4.03,4.18,4.33,4.48,4.62,4.76,4.89,5.02,5.16,5.29,5.43,5.57,5.71,5.86,6.02,6.18,6.36,6.54,6.73,6.93,7.15,7.38,7.62,7.88,8.16,8.46,8.77,9.11,9.46,9.84,10.24,10.67,11.12,11.6,12.3,13.66,16,38.43,82.21,146.6,218.7,226,225.23,223.08,219.78,212,199.82,184.6,168,151.65,137.21,126.31,119.94,115.52,112.06,108.92,105.44,101,94.56,86.36,77.67,69.76,63.9,60.38,57.41,54.84,52.57,50.56,48.71,46.97,45.25,43.48,41.6,39.5,37.19,34.81,32.46,30.27,28.36,26.85,25.86,25.5,25.5,25.5,25.5,25.5,25.5,25.5,25.5,25.5,25.5,25.5,25.5,25.5,25.27,24.65,23.7,22.52,21.17,19.75,18.33,16.98,15.8,14.85,14.23,14,14.02,14.08,14.17,14.29,14.44,14.61,14.8,15.01,15.23,15.47,15.71,15.95,16.19,16.43,16.67,16.89,17.1,17.29,17.46,17.61,17.73,17.82,17.88,17.9,17.63,16.88,15.75,14.33,12.71,10.98,9.23,7.56,6.05,4.81,3.92,3.47,3.28,3.1,2.93,2.76,2.61,2.46,2.32,2.19,2.07,1.96,1.85,1.75,1.66,1.58,1.51,1.44,1.39,1.34,1.29,1.26,1.23,1.22,1.2,1.2,1.2,1.2,1.2,1.2,1.21,1.21,1.21,1.21,1.22,1.22,1.22,1.23,1.23,1.23,1.24,1.24,1.25,1.25,1.25,1.26,1.26,1.27,1.27,1.27,1.28,1.28,1.28,1.29,1.29,1.29,1.29,1.3,1.3,1.3,1.3,1.3,1.3,1.3,1.3,1.3,1.3,1.3,1.29,1.29,1.29,1.29,1.28,1.28,1.28,1.27,1.27,1.26,1.25,1.25,1.24,1.23,1.23,1.22,1.21,1.2,1.16,1.06,0.95,0.83,0.74,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.71,0.7,0.7,0.7,0.7,0.7,0.7,0.7,0.7,0.7,0.7,0.7,0.69,0.69,0.69,0.69,0.69,0.69,0.69,0.69,0.68,0.68,0.68,0.68,0.68,0.68,0.67,0.67,0.67,0.67,0.67,0.67,0.67,0.66,0.66,0.66,0.66,0.66,0.66,0.66,0.65,0.65,0.65,0.65,0.65,0.65,0.65,0.65,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.65,0.66,0.68,0.69,0.71,0.73,0.74,0.76,0.77,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.78,0.8,0.86,0.95,1.08,1.25,1.46,1.7,1.97,2.28,2.63,3.01,3.42,3.87,4.35,4.86,5.4,5.98,6.59,7.92,10.49,14.04,18.31,23.04,27.98,32.87,37.45,41.46,44.64,46.74,47.5,46.86,45.16,42.77,40.04,37.33,35,32.74,30.21,27.7,25.5,23.9,23.2,23.06,22.94,22.84,22.77,22.72,22.7,22.8,23.23,23.95,24.91,26.04,27.3,28.76,30.7,33.39,37.12,42.15,48.77,65.22,252.1,257,237.32,221.19,212,208.67,206.89,205.2,202.15,189.82,172,165.3,160.49,156.8,153.44,149.62,144.6,138.27,131,123.11,114.9,106.69,98.79,91.5,85.13,80,75.53,71.03,66.65,62.54,58.85,55.73,53.31,51.75,51.2,56.53,68.25,80,91.01,102.03,109,112.37,115.29,117.68,119.48,120.61,121,119.45,115.57,110.52,105.47,101.58,100,99.97,99.94,99.92,99.9,99.88,99.86,99.85,99.84,99.83,99.82,99.81,99.81,99.8,99.8,99.8,122.15,163.65,186,182.96,175.15,164.56,153.18,143,136,131.37,126.98,122.81,118.85,115.09,111.52,108.13,104.9,101.83,98.9,96.11,93.44,90.87,88.41,86.04,83.74,81.51,79.33,77.2,75.1,73.02,70.95,68.88,66.8,64.87,63.14,61.4,59.53,57.67,56,54.6,53.36,52.2,51.05,49.85,48.5,46.87,44.92,42.74,40.42,38.04,35.69,33.46,31.44,29.72,28.38,27.51,27.2,27.2,27.2,27.2,27.2,27.2,27.2,27.2,27.2,27.2,27.2,27.2,27.2,27.14,26.97,26.7,26.35,25.95,25.49,25.02,24.53,24.04,23.58,23.16,22.8,22.46,22.11,21.75,21.39,21.03,20.69,20.36,20.05,19.78,19.54,19.35,19.2,19.09,19,18.92,18.85,18.79,18.74,18.68,18.62,18.56,18.49,18.4,18.3,18.17,18.02,17.83,17.63,17.41,17.18,16.93,16.68,16.43,16.18,15.93,15.7,15.47,15.22,14.97,14.71,14.45,14.18,13.93,13.68,13.44,13.21,13,12.8,12.62,12.46,12.31,12.16,12.03,11.89,11.76,11.62,11.48,11.33,11.17,11,10.81,10.59,10.36,10.12,9.86,9.61,9.36,9.12,8.89,8.68,8.5,8.35,8.21,8.08,7.94,7.81,7.68,7.56,7.46,7.36,7.29,7.23,7.19,7.18,7.51,8.42,9.81,11.58,13.63,15.86,18.16,20.44,22.58,24.49,26.06,27.2,28.08,28.95,29.81,30.65,31.48,32.28,33.07,33.82,34.55,35.25,35.92,36.56,37.15,37.71,38.23,38.7,39.13,39.5,39.83,40.1,40.31,40.47,40.57,40.6,40.49,40.16,39.64,38.94,38.09,37.1,36,34.79,33.51,32.17,30.79,29.39,27.99,26.6,25.25,23.96,22.75,21.63,20.63,19.76,19.04,18.49,18.14,18,17.97,17.95,17.94,17.92,17.91,17.9,17.89,17.88,17.87,17.85,17.83,17.8,17.7,17.46,17.13,16.7,16.21,15.68,15.13,14.57,14.04,13.56,13.14,12.8,12.52,12.27,12.02,11.79,11.57,11.37,11.16,10.97,10.78,10.59,10.39,10.2,10.01,9.81,9.63,9.44,9.26,9.08,8.9,8.73,8.56,8.39,8.22,8.06,7.9,7.73,7.57,7.41,7.25,7.09,6.94,6.79,6.65,6.52,6.4,6.28,6.17,6.08,5.98,5.9,5.81,5.73,5.65,5.57,5.49,5.41,5.32,5.23,5.14,5.04,4.94,4.84,4.74,4.63,4.53,4.43,4.33,4.23,4.13,4.03,3.93,3.81,3.69,3.57,3.45,3.33,3.22,3.12,3.04,2.98,2.93,2.92,2.92,2.92,2.92,2.92,2.92,2.92,2.92,2.92,2.92,2.92,2.92,2.92,2.9,2.86,2.8,2.71,2.62,2.52,2.42,2.33,2.24,2.18,2.14,2.12,2.12,2.12,2.12,2.12,2.12,2.12,2.12,2.12,2.12,2.12,2.12,2.12,2.1,2.06,2,1.91,1.82,1.71,1.61,1.5,1.4,1.32,1.25,1.2,1.16,1.13,1.1,1.06,1.03,1,0.97,0.93,0.9,0.87,0.85,0.82,0.79,0.77,0.74,0.72,0.69,0.67,0.65,0.63,0.61,0.59,0.58,0.56,0.54,0.53,0.52,0.51,0.5,0.49,0.48,0.48,0.47,0.47,0.46,0.46,0.47,0.48,0.5,0.53,0.56,0.59,0.62,0.64,0.67,0.69,0.7,0.71,0.71,0.71,0.71,0.7,0.7,0.7,0.69,0.69,0.69,0.68,0.68,0.67,0.67,0.67,0.66,0.66,0.65,0.65,0.65,0.65,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.64,0.65,0.65,0.65,0.66,0.66,0.67,0.68,0.69,0.69,0.7,0.71,0.73,0.74,0.75,0.76,0.78,0.8,0.81,0.83,0.85,0.87,0.89,0.92,0.94,0.97,0.99,1.02,1.05,1.08,1.11,1.15,1.18,1.32,1.66,2.21,2.97,3.94,5.11,6.5,8.1,9.9,11.92,14.15,16.6,22.3,22.8,24.48,30.38,35.74,42.4,57.14,94.04,112.9,123.4,130.4,130,119.4,120.7,116.8,118.1,119.4,124.8,143.5,204,294,319.2,328.4,365,350.8,347.6,347.6,325,331.6,319.2,308,308,308,308,296.8,300,281,278.4,270.6,271,253.6,233.5,219.2,207.8,205.9,204,189.6,178.8,173.4,160,154.4,146,145,140.5,130.4,126.2,116.8,112.9,106.5,101.6,98.51,82.67,67.3,80.05,76.12,72.3,71.02,69.78,67.3,67.3,68.54,57.6,71.02,66.06,59.12,57.14,55.16,55.16,52.19,52.19,51.2,48.56,44.16,43,45.92,49.44,44.16,36.48,35.74,35,32.36,37.22,32.36,32.36,32.36,33.68,32.36,31.7,35.74,29.72,32.36,30.38,29.72,28.4,28.4,28.4,27.28,25.6,25.04,23.92,22.3,21.8,21.8,21.8,22.8,21.8,25.6,22.8,22.8,17.8,16.04,16.04,16.04,16.04,16.04,16.04,16.04,16.04,16.04,16.04,15.02,14,14.03,14.11,14.25,14.45,14.72,15.06,15.46,15.95,16.51,17.15,17.87,18.69,19.59,20.59,21.69,22.88,24.18,25.59,27.1,28.73,30.48,32.34,34.33,36.44,38.69,41.06,43.57,46.22,49.01,51.95,55.04,58.27,61.66,65.21,68.92,72.8,88.09,104.9,105.7,110.3,111.6,110.3,106.5,105.7,103.3,100,97.02,98.8,91.07,83.98,88.09,81.36,78.74,77.43,77.43,73.5,74.81,72.63,68.58,66.4,68.54,69.78,67.3,64.82,61.1,59.12,56.15,53.18,50.32,49.44,44.16,36.5,42.4,37.96,37.22,33.68,36.48,35.74,35,35,37.22,37.22,39.44,32.6,34.54,36.48,35.74,34.34,33.68,33.02,31.04,29.72,29.72,29.72,26.16,25.6,29.72,18.3,22.3,21.3,21.8,21.8,20.3,20.8,25.04,25.04,25.6,25.6,25.04,25.6,25.04,25.6,23.92,25.04,21.3,21.8,22.3,21.8,20.8,16.1,20.3,18.3,13.22,19.3,19.3,18.3,14.4,13.86,13.36,12.9,12.48,12.1,11.75,11.43,11.15,10.9,10.67,10.48,10.31,10.16,10.04,9.93,9.85,9.78,9.73,9.69,9.67,9.65,9.65,12.08,8.67,11.7,11.38,10.65,9.84,9.32,9.07,8.85,8.66,8.49,8.35,8.22,8.1,7.98,7.86,7.74,7.61,7.47,7.31,7.14,6.96,6.78,6.58,6.39,6.19,5.99,5.78,5.58,5.39,5.2,5.01,4.83,4.67,4.51,4.37,4.24,4.12,4.02,3.95,3.89,3.85,3.84,4.41,5.77,7.39,8.75,9.32,9.18,9,8.94,8.88,8.83,8.78,8.73,8.68,8.64,8.6,8.56,8.53,8.5,8.47,8.45,8.42,8.4,8.39,8.37,8.36,8.35,8.35,8.34,8.34,8.67,9.65,9.62,9.53,9.4,9.21,8.98,8.7,8.4,8.06,7.69,7.3,6.89,6.47,6.03,5.59,5.14,4.7,4.26,3.83,3.42,3.02,2.65,2.3,1.98,1.7,1.45,1.25,1.09,0.99,0.94,0.92,0.91,0.89,0.87,0.85,0.84,0.82,0.81,0.79,0.78,0.77,0.75,0.74,0.73,0.72,0.71,0.7,0.69,0.68,0.67,0.66,0.65,0.64,0.64,0.63,0.63,0.62,0.62,0.61,0.61,0.61,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.61,0.61,0.61,0.61,0.61,0.61,0.62,0.62,0.62,0.62,0.63,0.63,0.63,0.63,0.63,0.64,0.64,0.64,0.64,0.64,0.65,0.65,0.65,0.65,0.65,0.65,0.65,0.65,0.65,0.65,0.65,0.65,0.65,0.65,0.65,0.65,0.65,0.65,0.65,0.65,0.65,0.65,0.65,0.64,0.63,0.62,0.6,0.59,0.57,0.55,0.54,0.53,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.51,0.51,0.51,0.5,0.5,0.49,0.48,0.47,0.47,0.46,0.45,0.45,0.44,0.43,0.42,0.42,0.41,0.41,0.41,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.41,0.42,0.43,0.44,0.46,0.48,0.5,0.53,0.55,0.58,0.61,0.64,0.67,0.7,0.73,0.77,0.8,0.83,0.87,0.9,0.93,0.96,0.99,1.02,1.05,1.08,1.1,1.12,1.14,1.16,1.17,1.18,1.19,1.2,1.2,1.2,1.19,1.17,1.15,1.12,1.09,1.06,1.02,0.98,0.94,0.9,0.86,0.82,0.78,0.74,0.7,0.66,0.63,0.6,0.57,0.55,0.53,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.52,0.51,0.51,0.5,0.5,0.49,0.49,0.48,0.47,0.47,0.47,0.46,0.46,0.45,0.45,0.45,0.44,0.44,0.44,0.43,0.43,0.43,0.42,0.42,0.42,0.41,0.41,0.41,0.41,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.41,0.41,0.41,0.41,0.41,0.41,0.41,0.41,0.41,0.41,0.41,0.41,0.41,0.41,0.41,0.42,0.42,0.42,0.42,0.42,0.42,0.42,0.42,0.42,0.43,0.43,0.43,0.43,0.43,0.43,0.44,0.44,0.44,0.44,0.44,0.44,0.45,0.45,0.45
+ ]
+ },
+ {
+ name:'闄嶉洦閲�',
+ type:'line',
+ yAxisIndex:1,
+ itemStyle: {normal: {areaStyle: {type: 'default'}}},
+ data: (function(){
+ var oriData = [
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.005,0.017,0.017,0.017,0.017,0.011,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.021,0.026,0.03,0.036,0.036,0.195,0.221,0.019,0.013,0.017,0.03,0.03,0.03,0.046,0.045,0.038,0.084,0.045,0.045,0.037,0.034,0.035,0.036,0.044,0.052,0.048,0.109,0.033,0.029,0.04,0.042,0.042,0.042,0.073,0.076,0.062,0.066,0.066,0.075,0.096,0.128,0.121,0.128,0.14,0.226,0.143,0.097,0.018,0,0,0,0,0,0.018,0.047,0.054,0.054,0.054,0.036,0.185,0.009,0.038,0.061,0.077,0.091,0.126,0.69,0.182,0.349,0.231,0.146,0.128,0.167,0.1,0.075,0.071,0.071,0.117,0.01,0.002,0.002,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.005,0.026,0.038,0.038,0.038,0.076,0.086,0.109,0.213,0.276,0.288,0.297,0.642,1.799,1.236,2.138,0.921,0.497,0.685,0.828,0.41,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.018,0.024,0.024,0.024,0.024,0.006,0.003,0.046,0.046,0.046,0.046,0.043,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.204,0.303,1.028,1.328,1.524,1.41,1.362,1.292,1.191,0.529,0.501,0.944,1.81,2.899,0.859,0.126,0.087,0.047,0,0,0,0,0.011,0.028,0.028,0.028,0.028,0.017,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.099,0.159,0.297,0.309,0.309,0.614,0.818,1.436,1.195,0.553,0.542,0.955,0.898,0.466,0.386,0.556,0.388,0.221,0.192,0.192,0.187,0.166,0.18,0.302,0.158,0.009,0.009,0.009,0.009,0.009,0.007,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.004,0.032,0.032,0.032,0.032,0.082,0.149,0.204,0.247,0.262,0.49,0.51,0.533,0.746,0.847,2.393,1.188,1.114,0.475,0.043,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.017,0.017,0.021,0.042,0.079,0.111,0.126,0.122,0.133,0.846,0.102,0.077,0.067,0.056,0.005,0,0,0,0,0,0,0,0,0,0,0,0,0,0.011,0.017,0.017,0.017,0.017,0.006,0,0,0,0,0,0.01,0.03,0.054,0.067,0.07,0.25,0.251,0.494,0.065,0.054,0.054,0.064,0.084,0.077,0.101,0.132,0.248,0.069,0.117,0.115,0.087,0.326,0.036,0.009,0.009,0.009,0.009,0.009,0.004,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.02,0.039,0.04,0.04,0.04,0.229,0.079,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.023,0.069,0.082,0.082,0.082,0.503,0.774,0.038,0.012,0.012,0.012,0.016,0.02,0.028,0.051,0.06,0.064,0.19,0.15,0.164,0.139,0.13,0.085,0.031,0.023,0.022,0.007,0.005,0.005,0.001,0,0.02,0.048,0.048,0.053,0.056,0.036,0.008,0.008,0.004,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.013,0.017,0.036,0.068,0.095,0.233,0.272,0.377,0.722,1.494,3.756,0.954,0.439,0.442,0.462,0.373,0.249,0.214,0.1,0.044,0.037,0.023,0.002,0,0,0,0,0,0,0.02,0.024,0.024,0.024,0.024,0.004,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.008,0.017,0.017,0.045,0.186,0.308,0.241,0.241,0.893,4.067,4.494,5.015,3.494,2.057,1.411,0.718,0.407,0.313,0.339,1.537,1.105,0.218,0.136,0.03,0.005,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.037,0.448,1.2,1.309,1.309,1.425,1.223,0.471,0.767,0.423,0.273,0.412,0.646,0.481,0.239,0.131,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.044,0.15,0.223,0.388,0.513,0.883,2.828,4.786,5.959,4.95,6.434,6.319,3.35,2.806,4.204,1.395,1.015,1.015,0.836,0.74,0.72,0.615,0.477,0.192,0.046,0.007,0.007,0.007,0.007,0.007,0.007,0.007,0.008,0.005,0.005,0.005,0.005,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.001,0.012,0.012,0.012,0.012,0.011,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.002,0.012,0.028,0.028,0.028,0.138,0.092,0.082,0.082,0.096,0.719,0.155,0.042,0.047,0.129,0.021,0.021,0.014,0.009,0.029,0.067,0.088,0.095,0.095,0.138,0.091,0.032,0.025,0.025,0.003,0,0,0,0,0,0,0,0,0,0,0,0,0.002,0.045,0.228,0.297,0.325,0.339,0.581,1.244,0.796,0.517,0.227,0.053,0.006,0,0,0,0,0,0,0,0,0,0.003,0.005,0.005,0.005,0.005,0.081,0.129,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.014,0.041,0.041,0.041,0.041,0.027,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.009,0.017,0.017,0.017,0.017,0.355,0.174,0.009,0.009,0.012,0.136,0.208,0.208,0.208,0.215,7.359,1.858,0.458,0.053,0.053,0.047,0.045,0.045,0.059,0.136,0.188,0.206,0.21,0.588,1.517,6.02,4.688,4.42,0.624,0.326,0.359,0.553,0.899,0.94,2.95,9.415,5.752,1.092,0.096,0.035,0.026,0.018,0.015,0.011,0.011,0.011,0,0,0,0,0,0,0,0,0,0,0,0.056,0.27,0.314,0.351,0.354,0.609,0.796,1.857,0.848,0.538,0.214,0.178,0.178,0.201,0.231,0.227,0.272,0.397,0.45,1.014,2.917,1.675,0.081,0.059,0.059,0.148,0.075,0.075,0.078,0.236,0.784,0.784,0.784,0.784,0.741,0.115,0.058,0.058,0.058,0.029,0.015,0.015,0.015,0.015,0.012,0.008,0.604,0.985,1.305,2.273,2.528,2.336,2.496,2.281,1.397,1.713,3.259,1.167,0.745,0.548,1.058,0.684,0.728,0.392,0.179,0.283,0.283,0.46,0.08,0.099,0.099,0.099,0.1,0.143,0.137,0.238,0.317,0.262,0.225,0.792,0.426,0.332,0.261,0.11,0.093,0.102,0.171,0.292,0.504,0.605,1.745,2.485,1.964,0.33,0.171,0.259,0.242,0.215,0.366,0.354,0.205,0.203,0.262,0.153,0.13,0.137,0.362,0.691,0.295,0.433,0.154,0.056,0.053,0.053,0.053,0.051,0.047,0.065,0.078,0.091,0.206,0.813,0.102,0.151,0.05,0.024,0.004,0.001,0,0,0,0.021,0.021,0.021,0.021,0.021,0.013,0.013,0.013,0.013,0.013,0.013,0.013,0.013,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.008,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.018,0.021,0.021,0.021,0.021,0.003,0,0,0,0,0,0,0,0,0,0.024,0.173,0.261,0.267,0.267,0.534,1.354,1.772,0.72,0.218,0.018,0.018,0.028,0.036,0.032,0.194,0.082,0.035,0.286,0.027,0.038,0.038,0.027,0.021,0.014,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.016,0.017,0.017,0.031,0.047,0.043,0.056,0.104,0.149,0.179,0.205,0.328,0.998,0.522,1.851,3.727,3.273,2.204,1.169,1.006,1.179,0.74,0.741,1.065,0.925,0.671,0.497,0.431,0.327,0.277,0.126,0.581,0.207,0.359,2.485,0.038,0.036,0.003,0.003,0.003,0.003,0.004,0.098,0.023,0.021,0.021,0.022,0.041,0.041,0.043,0.045,0.043,0.014,0.014,0.014,0.014,0.014,0.014,0.014,0.031,0.046,0.063,0.119,0.107,0.092,0.085,0.065,0.06,0.054,0.042,0.039,0.046,0.044,0.028,0.028,0.02,0.013,0.013,0.013,0.013,0.016,0.032,0.031,0.031,0.031,0.028,0.011,0.011,0.011,0.011,0.011,0.023,0.024,0.024,0.024,0.019,0.015,0.015,0.015,0.015,0.015,0.015,0.013,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.001,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.011,0.017,0.024,0.026,0.061,0.172,0.206,0.213,0.267,0.511,0.668,0.157,0.017,0.017,0.017,0.046,0.054,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.001,0.017,0.017,0.017,0.017,0.016,0,0,0,0,0,0,0,0,0,0.01,0.017,0.017,0.017,0.017,0.012,0.017,0.017,0.017,0.017,0.012,0,0,0,0,0,0.003,0.031,0.066,0.093,0.112,0.122,0.202,0.068,0.041,0.022,0.011,0,0,0,0,0,0,0,0,0,0,0,0.002,0.005,0.012,0.021,0.021,0.019,0.033,0.03,0.026,0.026,0.034,0.095,0.024,0.024,0.024,0.023,0.019,0.018,0.018,0.018,0.011,0.03,0.045,0.044,0.044,0.044,0.022,0.009,0.024,0.033,0.033,0.033,0.024,0.009,0,0,0,0,0,0,0.003,0.017,0.017,0.017,0.017,0.014,0,0,0,0,0,0.032,0.032,0.032,0.032,0.032,0.005,0.008,0.009,0.014,0.014,0.009,0.005,0.004,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.007,0.009,0.009,0.009,0.009,0.043,0.063,0.084,0.098,0.101,0.213,0.334,0.383,0.43,0.448,0.511,0.801,0.835,1.642,1.614,1.496,1.496,1.476,1.068,0.481,0.22,0.119,0.099,0.07,0.072,0.063,0.076,0.14,0.205,0.28,0.297,0.3,0.479,0.877,1.098,1.611,1.629,1.686,1.686,1.631,1.528,1.862,1.703,1.531,2.196,0.395,0.416,0.453,0.728,0.917,0.986,1.17,2.171,3.011,2.909,3.301,1.377,0.778,0.799,0.947,1.039,0.879,0.76,1.372,1.674,1.674,1.68,1.823,1.793,1.162,0.783,0.216,0.152,0.152,0.152,0.049,0,0,0,0.117,0.127,0.127,0.127,0.127,0.127,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.003,0.005,0.005,0.005,0.005,0.003,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.309,0.364,0.364,0.364,0.364,0.063,0.01,0.01,0.01,0.012,0.015,0.015,0.11,0.55,0.824,0.825,0.829,1.39,1.429,1.342,1.43,1.636,1.717,2.135,2.203,3.191,3.022,1.589,0.86,0.807,0.645,0.595,0.588,0.557,0.552,1.271,0.708,0.677,0.629,0.714,0.203,0.133,0.061,0.062,0.018,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.001,0.072,0.29,0.438,0.53,0.557,0.873,1.039,1.04,0.208,0.049,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.03,0.039,0.039,0.039,0.039,0.098,0.008,0.007,0.007,0.007,0.007,0.007,0.007,0.007,0.007,0.007,0.056,0.062,0.065,0.065,0.065,0.047,0.216,0.256,0.315,0.4,0.502,0.449,0.47,0.571,0.814,1.153,0.774,0.202,0.086,0.075,0.071,0.032,0.019,0.003,0.004,0.004,0.004,0.004,0.004,0.004,0.007,0.072,0.153,0.256,0.306,0.404,0.698,0.733,0.823,0.715,0.563,0.404,0.293,0.217,0.213,0.202,0.202,0.294,0.704,0.797,1.359,1.101,0.72,0.514,0.539,0.434,0.389,0.387,0.386,0.375,0.369,0.319,0.239,0.183,0.136,0.062,0.052,0.096,0.119,0.119,0.114,0.127,0.132,0.139,0.169,0.191,0.278,0.254,0.214,0.237,0.221,0.143,0.129,0.125,0.109,0.1,0.087,0.06,0.038,0.029,0.029,0.028,0.048,0.053,0.053,0.111,0.125,0.102,0.097,0.097,0.039,0.02,0.02,0.02,0.014,0.004,0.031,0.043,0.047,0.052,0.08,0.144,0.182,0.176,0.171,0.149,0.112,0.025,0,0,0,0,0,0,0,0.016,0.031,0.031,0.031,0.031,0.015,0,0,0,0,0,0.005,0.005,0.005,0.005,0.005,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.005,0.005,0.005,0.005,0.005,0.001,0,0,0
+ ];
+ var len = oriData.length;
+ while(len--) {
+ oriData[len] *= -1;
+ }
+ return oriData;
+ })()
+ }
+ ]
+ }
+ ]
+ ,elemarea = $('#LAY-index-area').children('div')
+ ,renderarea = function(index){
+ echarea[index] = echarts.init(elemarea[index], layui.echartsTheme);
+ echarea[index].setOption(area[index]);
+ window.onresize = echarea[index].resize;
+ };
+ if(!elemarea[0]) return;
+ renderarea(0);
+
+ //瀵规暟杞�
+ var echlogline = [], logline = [
+ {
+ title: {
+ text: "瀵规暟杞寸ず渚�",
+ x: "center"
+ },
+ tooltip: {
+ trigger: "item",
+ formatter: "{a} <br/>{b} : {c}"
+ },
+ legend: {
+ x: 'left',
+ data: ["2鐨勬寚鏁�", "3鐨勬寚鏁�"]
+ },
+ xAxis: [
+ {
+ type: "category",
+ name: "x",
+ splitLine: {show: false},
+ data: ["涓�", "浜�", "涓�", "鍥�", "浜�", "鍏�", "涓�", "鍏�", "涔�"]
+ }
+ ],
+ yAxis: [
+ {
+ type: "log",
+ name: "y"
+ }
+ ],
+ calculable: true,
+ series: [
+ {
+ name: "3鐨勬寚鏁�",
+ type: "line",
+ data: [1, 3, 9, 27, 81, 247, 741, 2223, 6669]
+ },
+ {
+ name: "2鐨勬寚鏁�",
+ type: "line",
+ data: [1, 2, 4, 8, 16, 32, 64, 128, 256]
+ }
+ ]
+ }
+ ]
+ ,elemlogline = $('#LAY-index-logline').children('div')
+ ,renderlogline = function(index){
+ echlogline[index] = echarts.init(elemlogline[index], layui.echartsTheme);
+ echlogline[index].setOption(logline[index]);
+ window.onresize = echlogline[index].resize;
+ };
+ if(!elemlogline[0]) return;
+ renderlogline(0);
+ });
+
+
+//鏌辩姸鍥�
+
+
+ layui.use(['carousel', 'echarts'], function(){
+ var $ = layui.$
+ ,carousel = layui.carousel
+ ,echarts = layui.echarts;
+
+ //鏍囧噯鏌辩姸鍥�
+ var echnormcol = [], normcol = [
+ {
+ title : {
+ text: '鏌愬湴鍖鸿捀鍙戦噺鍜岄檷姘撮噺',
+ subtext: '绾睘铏氭瀯'
+ },
+ tooltip : {
+ trigger: 'axis'
+ },
+ legend: {
+ data:['钂稿彂閲�','闄嶆按閲�']
+ },
+ calculable : true,
+ xAxis : [
+ {
+ type : 'category',
+ data : ['1鏈�','2鏈�','3鏈�','4鏈�','5鏈�','6鏈�','7鏈�','8鏈�','9鏈�','10鏈�','11鏈�','12鏈�']
+ }
+ ],
+ yAxis : [
+ {
+ type : 'value'
+ }
+ ],
+ series : [
+ {
+ name:'钂稿彂閲�',
+ type:'bar',
+ data:[2.0, 4.9, 7.0, 23.2, 25.6, 76.7, 135.6, 162.2, 32.6, 20.0, 6.4, 3.3],
+ markPoint : {
+ data : [
+ {type : 'max', name: '鏈�澶у��'},
+ {type : 'min', name: '鏈�灏忓��'}
+ ]
+ },
+ markLine : {
+ data : [{type : 'average', name: '骞冲潎鍊�'}]
+ }
+ },
+ {
+ name:'闄嶆按閲�',
+ type:'bar',
+ data:[2.6, 5.9, 9.0, 26.4, 28.7, 70.7, 175.6, 182.2, 48.7, 18.8, 6.0, 2.3],
+ markPoint : {
+ data : [
+ {name : '骞存渶楂�', value : 182.2, xAxis: 7, yAxis: 183, symbolSize:18},
+ {name : '骞存渶浣�', value : 2.3, xAxis: 11, yAxis: 3}
+ ]
+ },
+ markLine : {
+ data : [
+ {type : 'average', name : '骞冲潎鍊�'}
+ ]
+ }
+ }
+ ]
+ }
+ ]
+ ,elemNormcol = $('#LAY-index-normcol').children('div')
+ ,renderNormcol = function(index){
+ echnormcol[index] = echarts.init(elemNormcol[index], layui.echartsTheme);
+ echnormcol[index].setOption(normcol[index]);
+ window.onresize = echnormcol[index].resize;
+ };
+ if(!elemNormcol[0]) return;
+ renderNormcol(0);
+
+ //鍫嗙Н鏌辩姸鍥�
+ var echheapcol = [], heapcol = [
+ {
+ tooltip : {
+ trigger: 'axis',
+ axisPointer : { // 鍧愭爣杞存寚绀哄櫒锛屽潗鏍囪酱瑙﹀彂鏈夋晥
+ type : 'shadow' // 榛樿涓虹洿绾匡紝鍙�変负锛�'line' | 'shadow'
+ }
+ },
+ legend: {
+ data:['鐩存帴璁块棶','閭欢钀ラ攢','鑱旂洘骞垮憡','瑙嗛骞垮憡','鎼滅储寮曟搸','鐧惧害','璋锋瓕','蹇呭簲','鍏朵粬']
+ },
+ calculable : true,
+ xAxis : [
+ {
+ type : 'category',
+ data : ['鍛ㄤ竴','鍛ㄤ簩','鍛ㄤ笁','鍛ㄥ洓','鍛ㄤ簲','鍛ㄥ叚','鍛ㄦ棩']
+ }
+ ],
+ yAxis : [
+ {
+ type : 'value'
+ }
+ ],
+ series : [
+ {
+ name:'鐩存帴璁块棶',
+ type:'bar',
+ data:[320, 332, 301, 334, 390, 330, 320]
+ },
+ {
+ name:'閭欢钀ラ攢',
+ type:'bar',
+ stack: '骞垮憡',
+ data:[120, 132, 101, 134, 90, 230, 210]
+ },
+ {
+ name:'鑱旂洘骞垮憡',
+ type:'bar',
+ stack: '骞垮憡',
+ data:[220, 182, 191, 234, 290, 330, 310]
+ },
+ {
+ name:'瑙嗛骞垮憡',
+ type:'bar',
+ stack: '骞垮憡',
+ data:[150, 232, 201, 154, 190, 330, 410]
+ },
+ {
+ name:'鎼滅储寮曟搸',
+ type:'bar',
+ data:[862, 1018, 964, 1026, 1679, 1600, 1570],
+ markLine : {
+ itemStyle:{
+ normal:{
+ lineStyle:{
+ type: 'dashed'
+ }
+ }
+ },
+ data : [
+ [{type : 'min'}, {type : 'max'}]
+ ]
+ }
+ },
+ {
+ name:'鐧惧害',
+ type:'bar',
+ barWidth : 5,
+ stack: '鎼滅储寮曟搸',
+ data:[620, 732, 701, 734, 1090, 1130, 1120]
+ },
+ {
+ name:'璋锋瓕',
+ type:'bar',
+ stack: '鎼滅储寮曟搸',
+ data:[120, 132, 101, 134, 290, 230, 220]
+ },
+ {
+ name:'蹇呭簲',
+ type:'bar',
+ stack: '鎼滅储寮曟搸',
+ data:[60, 72, 71, 74, 190, 130, 110]
+ },
+ {
+ name:'鍏朵粬',
+ type:'bar',
+ stack: '鎼滅储寮曟搸',
+ data:[62, 82, 91, 84, 109, 110, 120]
+ }
+ ]
+ }
+ ]
+ ,elemHeapcol = $('#LAY-index-heapcol').children('div')
+ ,renderHeapcol = function(index){
+ echheapcol[index] = echarts.init(elemHeapcol[index], layui.echartsTheme);
+ echheapcol[index].setOption(heapcol[index]);
+ window.onresize = echheapcol[index].resize;
+ };
+ if(!elemHeapcol[0]) return;
+ renderHeapcol(0);
+
+ //涓嶇瓑璺濇煴褰㈠浘
+ var echdiffcol = [], diffcol = [
+ {
+ title : {
+ text: '鍙屾暟鍊兼煴褰㈠浘',
+ subtext: '绾睘铏氭瀯'
+ },
+ tooltip : {
+ trigger: 'axis',
+ axisPointer:{
+ show: true,
+ type : 'cross',
+ lineStyle: {
+ type : 'dashed',
+ width : 1
+ }
+ },
+ formatter : function (params) {
+ return params.seriesName + ' : [ ' + params.value[0] + ', ' + params.value[1] + ' ]';
+ }
+ },
+ legend: {
+ data:['鏁版嵁1','鏁版嵁2']
+ },
+ calculable : true,
+ xAxis : [
+ {
+ type : 'value'
+ }
+ ],
+ yAxis : [
+ {
+ type : 'value',
+ axisLine: {
+ lineStyle: {
+ color: '#dc143c'
+ }
+ }
+ }
+ ],
+ series : [
+ {
+ name:'鏁版嵁1',
+ type:'bar',
+ data:[
+ [1.5, 10], [5, 7], [8, 8], [12, 6], [11, 12], [16, 9], [14, 6], [17, 4], [19, 9]
+ ],
+ markPoint : {
+ data : [
+ // 绾佃酱锛岄粯璁�
+ {type : 'max', name: '鏈�澶у��',symbol: 'emptyCircle', itemStyle:{normal:{color:'#dc143c',label:{position:'top'}}}},
+ {type : 'min', name: '鏈�灏忓��',symbol: 'emptyCircle', itemStyle:{normal:{color:'#dc143c',label:{position:'bottom'}}}},
+ // 妯酱
+ {type : 'max', name: '鏈�澶у��', valueIndex: 0, symbol: 'emptyCircle', itemStyle:{normal:{color:'#1e90ff',label:{position:'right'}}}},
+ {type : 'min', name: '鏈�灏忓��', valueIndex: 0, symbol: 'emptyCircle', itemStyle:{normal:{color:'#1e90ff',label:{position:'left'}}}}
+ ]
+ },
+ markLine : {
+ data : [
+ // 绾佃酱锛岄粯璁�
+ {type : 'max', name: '鏈�澶у��', itemStyle:{normal:{color:'#dc143c'}}},
+ {type : 'min', name: '鏈�灏忓��', itemStyle:{normal:{color:'#dc143c'}}},
+ {type : 'average', name : '骞冲潎鍊�', itemStyle:{normal:{color:'#dc143c'}}},
+ // 妯酱
+ {type : 'max', name: '鏈�澶у��', valueIndex: 0, itemStyle:{normal:{color:'#1e90ff'}}},
+ {type : 'min', name: '鏈�灏忓��', valueIndex: 0, itemStyle:{normal:{color:'#1e90ff'}}},
+ {type : 'average', name : '骞冲潎鍊�', valueIndex: 0, itemStyle:{normal:{color:'#1e90ff'}}}
+ ]
+ }
+ },
+ {
+ name:'鏁版嵁2',
+ type:'bar',
+ barHeight:10,
+ data:[
+ [1, 2], [2, 3], [4, 4], [7, 5], [11, 11], [18, 15]
+ ]
+ }
+ ]
+ }
+ ]
+ ,elemDiffcol = $('#LAY-index-diffcol').children('div')
+ ,renderDiffcol = function(index){
+ echdiffcol[index] = echarts.init(elemDiffcol[index], layui.echartsTheme);
+ echdiffcol[index].setOption(diffcol[index]);
+ window.onresize = echdiffcol[index].resize;
+ };
+ if(!elemDiffcol[0]) return;
+ renderDiffcol(0);
+
+ //褰╄櫣鏌卞舰鍥�
+ var echcolorline = [], colorline = [
+ {
+ title: {
+ x: 'center',
+ text: 'ECharts渚嬪瓙涓暟缁熻',
+ subtext: 'Rainbow bar example',
+ link: 'http://echarts.baidu.com/doc/example.html'
+ },
+ tooltip: {
+ trigger: 'item'
+ },
+ calculable: true,
+ grid: {
+ borderWidth: 0,
+ y: 80,
+ y2: 60
+ },
+ xAxis: [
+ {
+ type: 'category',
+ show: false,
+ data: ['Line', 'Bar', 'Scatter', 'K', 'Pie', 'Radar', 'Chord', 'Force', 'Map', 'Gauge', 'Funnel']
+ }
+ ],
+ yAxis: [
+ {
+ type: 'value',
+ show: false
+ }
+ ],
+ series: [
+ {
+ name: 'ECharts渚嬪瓙涓暟缁熻',
+ type: 'bar',
+ itemStyle: {
+ normal: {
+ color: function(params) {
+ // build a color map as your need.
+ var colorList = [
+ '#C1232B','#B5C334','#FCCE10','#E87C25','#27727B',
+ '#FE8463','#9BCA63','#FAD860','#F3A43B','#60C0DD',
+ '#D7504B','#C6E579','#F4E001','#F0805A','#26C0C0'
+ ];
+ return colorList[params.dataIndex]
+ },
+ label: {
+ show: true,
+ position: 'top',
+ formatter: '{b}\n{c}'
+ }
+ }
+ },
+ data: [12,21,10,4,12,5,6,5,25,23,7],
+ markPoint: {
+ tooltip: {
+ trigger: 'item',
+ backgroundColor: 'rgba(0,0,0,0)',
+ formatter: function(params){
+ return '<img src="' + params.data.symbol.replace('image://', '') + '"/>';
+ }
+ },
+ data: [
+ {xAxis:0, y: 350, name:'Line', symbolSize:20},
+ {xAxis:1, y: 350, name:'Bar', symbolSize:20},
+ {xAxis:2, y: 350, name:'Scatter', symbolSize:20},
+ {xAxis:3, y: 350, name:'K', symbolSize:20},
+ {xAxis:4, y: 350, name:'Pie', symbolSize:20},
+ {xAxis:5, y: 350, name:'Radar', symbolSize:20},
+ {xAxis:6, y: 350, name:'Chord', symbolSize:20},
+ {xAxis:7, y: 350, name:'Force', symbolSize:20},
+ {xAxis:8, y: 350, name:'Map', symbolSize:20},
+ {xAxis:9, y: 350, name:'Gauge', symbolSize:20},
+ {xAxis:10, y: 350, name:'Funnel', symbolSize:20},
+ ]
+ }
+ }
+ ]
+ }
+ ]
+ ,elemColorline = $('#LAY-index-colorline').children('div')
+ ,renderColorline = function(index){
+ echcolorline[index] = echarts.init(elemColorline[index], layui.echartsTheme);
+ echcolorline[index].setOption(colorline[index]);
+ window.onresize = echcolorline[index].resize;
+ };
+ if(!elemColorline[0]) return;
+ renderColorline(0);
+
+ //鏍囧噯鏉″舰鍥�
+ var echnormbar = [], normbar = [
+ {
+ title : {
+ text: '涓栫晫浜哄彛鎬婚噺',
+ subtext: '鏁版嵁鏉ヨ嚜缃戠粶'
+ },
+ tooltip : {
+ trigger: 'axis'
+ },
+ legend: {
+ data:['2011骞�', '2012骞�']
+ },
+ calculable : true,
+ xAxis : [
+ {
+ type : 'value',
+ boundaryGap : [0, 0.01]
+ }
+ ],
+ yAxis : [
+ {
+ type : 'category',
+ data : ['宸磋タ','鍗板凹','缇庡浗','鍗板害','涓浗','涓栫晫浜哄彛(涓�)']
+ }
+ ],
+ series : [
+ {
+ name:'2011骞�',
+ type:'bar',
+ data:[18203, 23489, 29034, 104970, 131744, 630230]
+ },
+ {
+ name:'2012骞�',
+ type:'bar',
+ data:[19325, 23438, 31000, 121594, 134141, 681807]
+ }
+ ]
+ }
+ ]
+ ,elemNormbar = $('#LAY-index-normbar').children('div')
+ ,renderNormbar = function(index){
+ echnormbar[index] = echarts.init(elemNormbar[index], layui.echartsTheme);
+ echnormbar[index].setOption(normbar[index]);
+ window.onresize = echnormbar[index].resize;
+ };
+ if(!elemNormbar[0]) return;
+ renderNormbar(0);
+
+ //鍫嗙Н鏉″舰鍥�
+ var echheapbar = [], heapbar = [
+ {
+ tooltip : {
+ trigger: 'axis',
+ axisPointer : { // 鍧愭爣杞存寚绀哄櫒锛屽潗鏍囪酱瑙﹀彂鏈夋晥
+ type : 'shadow' // 榛樿涓虹洿绾匡紝鍙�変负锛�'line' | 'shadow'
+ }
+ },
+ legend: {
+ data:['鐩存帴璁块棶', '閭欢钀ラ攢','鑱旂洘骞垮憡','瑙嗛骞垮憡','鎼滅储寮曟搸']
+ },
+ calculable : true,
+ xAxis : [
+ {
+ type : 'value'
+ }
+ ],
+ yAxis : [
+ {
+ type : 'category',
+ data : ['鍛ㄤ竴','鍛ㄤ簩','鍛ㄤ笁','鍛ㄥ洓','鍛ㄤ簲','鍛ㄥ叚','鍛ㄦ棩']
+ }
+ ],
+ series : [
+ {
+ name:'鐩存帴璁块棶',
+ type:'bar',
+ stack: '鎬婚噺',
+ itemStyle : { normal: {label : {show: true, position: 'insideRight'}}},
+ data:[320, 302, 301, 334, 390, 330, 320]
+ },
+ {
+ name:'閭欢钀ラ攢',
+ type:'bar',
+ stack: '鎬婚噺',
+ itemStyle : { normal: {label : {show: true, position: 'insideRight'}}},
+ data:[120, 132, 101, 134, 90, 230, 210]
+ },
+ {
+ name:'鑱旂洘骞垮憡',
+ type:'bar',
+ stack: '鎬婚噺',
+ itemStyle : { normal: {label : {show: true, position: 'insideRight'}}},
+ data:[220, 182, 191, 234, 290, 330, 310]
+ },
+ {
+ name:'瑙嗛骞垮憡',
+ type:'bar',
+ stack: '鎬婚噺',
+ itemStyle : { normal: {label : {show: true, position: 'insideRight'}}},
+ data:[150, 212, 201, 154, 190, 330, 410]
+ },
+ {
+ name:'鎼滅储寮曟搸',
+ type:'bar',
+ stack: '鎬婚噺',
+ itemStyle : { normal: {label : {show: true, position: 'insideRight'}}},
+ data:[820, 832, 901, 934, 1290, 1330, 1320]
+ }
+ ]
+ }
+ ]
+ ,elemheapbar = $('#LAY-index-heapbar').children('div')
+ ,renderheapbar = function(index){
+ echheapbar[index] = echarts.init(elemheapbar[index], layui.echartsTheme);
+ echheapbar[index].setOption(heapbar[index]);
+ window.onresize = echheapbar[index].resize;
+ };
+ if(!elemheapbar[0]) return;
+ renderheapbar(0);
+
+ //鏃嬮鏉″舰鍥�
+ var echwindline = [], labelRight = {normal: {label : {position: 'right'}}}, windline = [
+ {
+ title: {
+ text: '浜ら敊姝h礋杞存爣绛�',
+ subtext: 'From ExcelHome',
+ sublink: 'http://e.weibo.com/1341556070/AjwF2AgQm'
+ },
+ tooltip : {
+ trigger: 'axis',
+ axisPointer : { // 鍧愭爣杞存寚绀哄櫒锛屽潗鏍囪酱瑙﹀彂鏈夋晥
+ type : 'shadow' // 榛樿涓虹洿绾匡紝鍙�変负锛�'line' | 'shadow'
+ }
+ },
+ grid: {
+ y: 80,
+ y2: 30
+ },
+ xAxis : [
+ {
+ type : 'value',
+ position: 'top',
+ splitLine: {lineStyle:{type:'dashed'}},
+ }
+ ],
+ yAxis : [
+ {
+ type : 'category',
+ axisLine: {show: false},
+ axisLabel: {show: false},
+ axisTick: {show: false},
+ splitLine: {show: false},
+ data : ['ten', 'nine', 'eight', 'seven', 'six', 'five', 'four', 'three', 'two', 'one']
+ }
+ ],
+ series : [
+ {
+ name:'鐢熸椿璐�',
+ type:'bar',
+ stack: '鎬婚噺',
+ itemStyle : { normal: {
+ color: 'orange',
+ borderRadius: 5,
+ label : {
+ show: true,
+ position: 'left',
+ formatter: '{b}'
+ }
+ }},
+ data:[
+ {value:-0.07, itemStyle:labelRight},
+ {value:-0.09, itemStyle:labelRight},
+ 0.2, 0.44,
+ {value:-0.23, itemStyle:labelRight},
+ 0.08,
+ {value:-0.17, itemStyle:labelRight},
+ 0.47,
+ {value:-0.36, itemStyle:labelRight},
+ 0.18
+ ]
+ }
+ ]
+ }
+ ]
+ ,elemwindline = $('#LAY-index-windline').children('div')
+ ,renderwindline = function(index){
+ echwindline[index] = echarts.init(elemwindline[index], layui.echartsTheme);
+ echwindline[index].setOption(windline[index]);
+ window.onresize = echwindline[index].resize;
+ };
+ if(!elemwindline[0]) return;
+ renderwindline(0);
+ });
+
+
+//鍦板浘
+
+
+ layui.use(['carousel', 'echarts'], function(){
+ var $ = layui.$
+ ,carousel = layui.carousel
+ ,echarts = layui.echarts;
+
+ var echplat = [], plat = [
+ {
+ title : {
+ text: '2011鍏ㄥ浗GDP锛堜嚎鍏冿級',
+ subtext: '鏁版嵁鏉ヨ嚜鍥藉缁熻灞�'
+ },
+ tooltip : {
+ trigger: 'item'
+ },
+ dataRange: {
+ orient: 'horizontal',
+ min: 0,
+ max: 55000,
+ text:['楂�','浣�'], // 鏂囨湰锛岄粯璁や负鏁板�兼枃鏈�
+ splitNumber:0
+ },
+ series : [
+ {
+ name: '2011鍏ㄥ浗GDP鍒嗗竷',
+ type: 'map',
+ mapType: 'china',
+ mapLocation: {
+ x: 'center'
+ },
+ selectedMode : 'multiple',
+ itemStyle:{
+ normal:{label:{show:true}},
+ emphasis:{label:{show:true}}
+ },
+ data:[
+ {name:'瑗胯棌', value:605.83},
+ {name:'闈掓捣', value:1670.44},
+ {name:'瀹佸', value:2102.21},
+ {name:'娴峰崡', value:2522.66},
+ {name:'鐢樿們', value:5020.37},
+ {name:'璐靛窞', value:5701.84},
+ {name:'鏂扮枂', value:6610.05},
+ {name:'浜戝崡', value:8893.12},
+ {name:'閲嶅簡', value:10011.37},
+ {name:'鍚夋灄', value:10568.83},
+ {name:'灞辫タ', value:11237.55},
+ {name:'澶╂触', value:11307.28},
+ {name:'姹熻タ', value:11702.82},
+ {name:'骞胯タ', value:11720.87},
+ {name:'闄曡タ', value:12512.3},
+ {name:'榛戦緳姹�', value:12582},
+ {name:'鍐呰挋鍙�', value:14359.88},
+ {name:'瀹夊窘', value:15300.65},
+ {name:'鍖椾含', value:16251.93, selected:true},
+ {name:'绂忓缓', value:17560.18},
+ {name:'涓婃捣', value:19195.69, selected:true},
+ {name:'婀栧寳', value:19632.26},
+ {name:'婀栧崡', value:19669.56},
+ {name:'鍥涘窛', value:21026.68},
+ {name:'杈藉畞', value:22226.7},
+ {name:'娌冲寳', value:24515.76},
+ {name:'娌冲崡', value:26931.03},
+ {name:'娴欐睙', value:32318.85},
+ {name:'灞变笢', value:45361.85},
+ {name:'姹熻嫃', value:49110.27},
+ {name:'骞夸笢', value:53210.28, selected:true}
+ ]
+ }
+ ]
+ }
+ ]
+ ,elemplat = $('#LAY-index-plat').children('div')
+ ,renderplat = function(index){
+ echplat[index] = echarts.init(elemplat[index], layui.echartsTheme);
+ echplat[index].setOption(plat[index]);
+ window.onresize = echplat[index].resize;
+ };
+ if(!elemplat[0]) return;
+ renderplat(0);
+ });
+
+ exports('senior', {})
+
+});
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/modules/set.js b/src/main/webapp/static/wms/layuiadmin/modules/set.js
new file mode 100644
index 0000000..6108109
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/modules/set.js
@@ -0,0 +1,153 @@
+/**
+
+ @Name锛歭ayuiAdmin锛坕frame鐗堬級 璁剧疆
+ @Author锛氳搐蹇�
+ @Site锛歨ttp://www.layui.com/admin/
+ @License: LPPL
+
+ */
+
+layui.define(['form', 'upload'], function(exports){
+ var $ = layui.$
+ ,layer = layui.layer
+ ,laytpl = layui.laytpl
+ ,setter = layui.setter
+ ,view = layui.view
+ ,admin = layui.admin
+ ,form = layui.form
+ ,upload = layui.upload;
+
+ var $body = $('body');
+
+ //鑷畾涔夐獙璇�
+ form.verify({
+ nickname: function(value, item){ //value锛氳〃鍗曠殑鍊笺�乮tem锛氳〃鍗曠殑DOM瀵硅薄
+ if(!new RegExp("^[a-zA-Z0-9_\u4e00-\u9fa5\\s路]+$").test(value)){
+ return '鐢ㄦ埛鍚嶄笉鑳芥湁鐗规畩瀛楃';
+ }
+ if(/(^\_)|(\__)|(\_+$)/.test(value)){
+ return '鐢ㄦ埛鍚嶉灏句笉鑳藉嚭鐜颁笅鍒掔嚎\'_\'';
+ }
+ if(/^\d+\d+\d$/.test(value)){
+ return '鐢ㄦ埛鍚嶄笉鑳藉叏涓烘暟瀛�';
+ }
+ }
+
+ //鎴戜滑鏃㈡敮鎸佷笂杩板嚱鏁板紡鐨勬柟寮忥紝涔熸敮鎸佷笅杩版暟缁勭殑褰㈠紡
+ //鏁扮粍鐨勪袱涓�煎垎鍒唬琛細[姝e垯鍖归厤銆佸尮閰嶄笉绗︽椂鐨勬彁绀烘枃瀛梋
+ ,pass: [
+ /^[\S]{6,12}$/
+ ,'瀵嗙爜蹇呴』6鍒�12浣嶏紝涓斾笉鑳藉嚭鐜扮┖鏍�'
+ ]
+
+ //纭瀵嗙爜
+ ,repass: function(value){
+ if(value !== $('#LAY_password').val()){
+ return '涓ゆ瀵嗙爜杈撳叆涓嶄竴鑷�';
+ }
+ }
+ });
+
+ //缃戠珯璁剧疆
+ form.on('submit(set_website)', function(obj){
+ layer.msg(JSON.stringify(obj.field));
+
+ //鎻愪氦淇敼
+ /*
+ admin.req({
+ url: ''
+ ,data: obj.field
+ ,success: function(){
+
+ }
+ });
+ */
+ return false;
+ });
+
+ //閭欢鏈嶅姟
+ form.on('submit(set_system_email)', function(obj){
+ layer.msg(JSON.stringify(obj.field));
+
+ //鎻愪氦淇敼
+ /*
+ admin.req({
+ url: ''
+ ,data: obj.field
+ ,success: function(){
+
+ }
+ });
+ */
+ return false;
+ });
+
+
+ //璁剧疆鎴戠殑璧勬枡
+ form.on('submit(setmyinfo)', function(obj){
+ layer.msg(JSON.stringify(obj.field));
+
+ //鎻愪氦淇敼
+ /*
+ admin.req({
+ url: ''
+ ,data: obj.field
+ ,success: function(){
+
+ }
+ });
+ */
+ return false;
+ });
+
+ //涓婁紶澶村儚
+ var avatarSrc = $('#LAY_avatarSrc');
+ upload.render({
+ url: '/api/upload/'
+ ,elem: '#LAY_avatarUpload'
+ ,done: function(res){
+ if(res.status == 0){
+ avatarSrc.val(res.url);
+ } else {
+ layer.msg(res.msg, {icon: 5});
+ }
+ }
+ });
+
+ //鏌ョ湅澶村儚
+ admin.events.avartatPreview = function(othis){
+ var src = avatarSrc.val();
+ layer.photos({
+ photos: {
+ "title": "鏌ョ湅澶村儚" //鐩稿唽鏍囬
+ ,"data": [{
+ "src": src //鍘熷浘鍦板潃
+ }]
+ }
+ ,shade: 0.01
+ ,closeBtn: 1
+ ,anim: 5
+ });
+ };
+
+
+ //璁剧疆瀵嗙爜
+ form.on('submit(setmypass)', function(obj){
+ layer.msg(JSON.stringify(obj.field));
+
+ //鎻愪氦淇敼
+ /*
+ admin.req({
+ url: ''
+ ,data: obj.field
+ ,success: function(){
+
+ }
+ });
+ */
+ return false;
+ });
+
+ //瀵瑰鏆撮湶鐨勬帴鍙�
+ exports('set', {});
+});
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/modules/user.js b/src/main/webapp/static/wms/layuiadmin/modules/user.js
new file mode 100644
index 0000000..fa8dccd
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/modules/user.js
@@ -0,0 +1,65 @@
+/**
+
+ @Name锛歭ayuiAdmin 鐢ㄦ埛鐧诲叆鍜屾敞鍐岀瓑
+ @Author锛氳搐蹇�
+ @Site锛歨ttp://www.layui.com/admin/
+ @License: LPPL
+
+ */
+
+layui.define('form', function(exports){
+ var $ = layui.$
+ ,layer = layui.layer
+ ,laytpl = layui.laytpl
+ ,setter = layui.setter
+ ,view = layui.view
+ ,admin = layui.admin
+ ,form = layui.form;
+
+ var $body = $('body');
+
+ //鑷畾涔夐獙璇�
+ form.verify({
+ nickname: function(value, item){ //value锛氳〃鍗曠殑鍊笺�乮tem锛氳〃鍗曠殑DOM瀵硅薄
+ if(!new RegExp("^[a-zA-Z0-9_\u4e00-\u9fa5\\s路]+$").test(value)){
+ return '鐢ㄦ埛鍚嶄笉鑳芥湁鐗规畩瀛楃';
+ }
+ if(/(^\_)|(\__)|(\_+$)/.test(value)){
+ return '鐢ㄦ埛鍚嶉灏句笉鑳藉嚭鐜颁笅鍒掔嚎\'_\'';
+ }
+ if(/^\d+\d+\d$/.test(value)){
+ return '鐢ㄦ埛鍚嶄笉鑳藉叏涓烘暟瀛�';
+ }
+ }
+
+ //鎴戜滑鏃㈡敮鎸佷笂杩板嚱鏁板紡鐨勬柟寮忥紝涔熸敮鎸佷笅杩版暟缁勭殑褰㈠紡
+ //鏁扮粍鐨勪袱涓�煎垎鍒唬琛細[姝e垯鍖归厤銆佸尮閰嶄笉绗︽椂鐨勬彁绀烘枃瀛梋
+ ,pass: [
+ /^[\S]{6,12}$/
+ ,'瀵嗙爜蹇呴』6鍒�12浣嶏紝涓斾笉鑳藉嚭鐜扮┖鏍�'
+ ]
+ });
+
+
+ //鍙戦�佺煭淇¢獙璇佺爜
+ admin.sendAuthCode({
+ elem: '#LAY-user-getsmscode'
+ ,elemPhone: '#LAY-user-login-cellphone'
+ ,elemVercode: '#LAY-user-login-vercode'
+ ,ajax: {
+ url: layui.setter.base + 'json/user/sms.js' //瀹為檯浣跨敤璇锋敼鎴愭湇鍔$鐪熷疄鎺ュ彛
+ }
+ });
+
+
+
+
+ //鏇存崲鍥惧舰楠岃瘉鐮�
+ $body.on('click', '#LAY-user-get-vercode', function(){
+ var othis = $(this);
+ this.src = 'https://www.oschina.net/action/user/captcha?t='+ new Date().getTime()
+ });
+
+ //瀵瑰鏆撮湶鐨勬帴鍙�
+ exports('user', {});
+});
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/modules/useradmin.js b/src/main/webapp/static/wms/layuiadmin/modules/useradmin.js
new file mode 100644
index 0000000..c26e9d7
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/modules/useradmin.js
@@ -0,0 +1,209 @@
+/**
+
+ @Name锛歭ayuiAdmin 鐢ㄦ埛绠$悊 绠$悊鍛樼鐞� 瑙掕壊绠$悊
+ @Author锛歴tar1029
+ @Site锛歨ttp://www.layui.com/admin/
+ @License锛歀PPL
+
+ */
+
+
+layui.define(['table', 'form'], function(exports){
+ var $ = layui.$
+ ,table = layui.table
+ ,form = layui.form;
+
+ //鐢ㄦ埛绠$悊
+ table.render({
+ elem: '#LAY-user-manage'
+ ,url: layui.setter.base + 'json/useradmin/webuser.js' //妯℃嫙鎺ュ彛
+ ,cols: [[
+ {type: 'checkbox', fixed: 'left'}
+ ,{field: 'id', width: 100, title: 'ID', sort: true}
+ ,{field: 'username', title: '鐢ㄦ埛鍚�', minWidth: 100}
+ ,{field: 'avatar', title: '澶村儚', width: 100, templet: '#imgTpl'}
+ ,{field: 'phone', title: '鎵嬫満'}
+ ,{field: 'email', title: '閭'}
+ ,{field: 'sex', width: 80, title: '鎬у埆'}
+ ,{field: 'ip', title: 'IP'}
+ ,{field: 'jointime', title: '鍔犲叆鏃堕棿', sort: true}
+ ,{title: '鎿嶄綔', width: 150, align:'center', fixed: 'right', toolbar: '#table-useradmin-webuser'}
+ ]]
+ ,page: true
+ ,limit: 30
+ ,height: 'full-220'
+ ,text: '瀵逛笉璧凤紝鍔犺浇鍑虹幇寮傚父锛�'
+ });
+
+ //鐩戝惉宸ュ叿鏉�
+ table.on('tool(LAY-user-manage)', function(obj){
+ var data = obj.data;
+ if(obj.event === 'del'){
+ layer.prompt({
+ formType: 1
+ ,title: '鏁忔劅鎿嶄綔锛岃楠岃瘉鍙d护'
+ }, function(value, index){
+ layer.close(index);
+
+ layer.confirm('鐪熺殑鍒犻櫎琛屼箞', function(index){
+ obj.del();
+ layer.close(index);
+ });
+ });
+ } else if(obj.event === 'edit'){
+ var tr = $(obj.tr);
+
+ layer.open({
+ type: 2
+ ,title: '缂栬緫鐢ㄦ埛'
+ ,content: '../../../views/user/user/userform.html'
+ ,maxmin: true
+ ,area: ['500px', '450px']
+ ,btn: ['纭畾', '鍙栨秷']
+ ,yes: function(index, layero){
+ var iframeWindow = window['layui-layer-iframe'+ index]
+ ,submitID = 'LAY-user-front-submit'
+ ,submit = layero.find('iframe').contents().find('#'+ submitID);
+
+ //鐩戝惉鎻愪氦
+ iframeWindow.layui.form.on('submit('+ submitID +')', function(data){
+ var field = data.field; //鑾峰彇鎻愪氦鐨勫瓧娈�
+
+ //鎻愪氦 Ajax 鎴愬姛鍚庯紝闈欐�佹洿鏂拌〃鏍间腑鐨勬暟鎹�
+ //$.ajax({});
+ table.reload('LAY-user-front-submit'); //鏁版嵁鍒锋柊
+ layer.close(index); //鍏抽棴寮瑰眰
+ });
+
+ submit.trigger('click');
+ }
+ ,success: function(layero, index){
+
+ }
+ });
+ }
+ });
+
+ //绠$悊鍛樼鐞�
+ table.render({
+ elem: '#LAY-user-back-manage'
+ ,url: layui.setter.base + 'json/useradmin/mangadmin.js' //妯℃嫙鎺ュ彛
+ ,cols: [[
+ {type: 'checkbox', fixed: 'left'}
+ ,{field: 'id', width: 80, title: 'ID', sort: true}
+ ,{field: 'loginname', title: '鐧诲綍鍚�'}
+ ,{field: 'telphone', title: '鎵嬫満'}
+ ,{field: 'email', title: '閭'}
+ ,{field: 'role', title: '瑙掕壊'}
+ ,{field: 'jointime', title: '鍔犲叆鏃堕棿', sort: true}
+ ,{field: 'check', title:'瀹℃牳鐘舵��', templet: '#buttonTpl', minWidth: 80, align: 'center'}
+ ,{title: '鎿嶄綔', width: 150, align: 'center', fixed: 'right', toolbar: '#table-useradmin-admin'}
+ ]]
+ ,text: '瀵逛笉璧凤紝鍔犺浇鍑虹幇寮傚父锛�'
+ });
+
+ //鐩戝惉宸ュ叿鏉�
+ table.on('tool(LAY-user-back-manage)', function(obj){
+ var data = obj.data;
+ if(obj.event === 'del'){
+ layer.prompt({
+ formType: 1
+ ,title: '鏁忔劅鎿嶄綔锛岃楠岃瘉鍙d护'
+ }, function(value, index){
+ layer.close(index);
+ layer.confirm('纭畾鍒犻櫎姝ょ鐞嗗憳锛�', function(index){
+ console.log(obj)
+ obj.del();
+ layer.close(index);
+ });
+ });
+ }else if(obj.event === 'edit'){
+ var tr = $(obj.tr);
+
+ layer.open({
+ type: 2
+ ,title: '缂栬緫绠$悊鍛�'
+ ,content: '../../../views/user/administrators/adminform.html'
+ ,area: ['420px', '420px']
+ ,btn: ['纭畾', '鍙栨秷']
+ ,yes: function(index, layero){
+ var iframeWindow = window['layui-layer-iframe'+ index]
+ ,submitID = 'LAY-user-back-submit'
+ ,submit = layero.find('iframe').contents().find('#'+ submitID);
+
+ //鐩戝惉鎻愪氦
+ iframeWindow.layui.form.on('submit('+ submitID +')', function(data){
+ var field = data.field; //鑾峰彇鎻愪氦鐨勫瓧娈�
+
+ //鎻愪氦 Ajax 鎴愬姛鍚庯紝闈欐�佹洿鏂拌〃鏍间腑鐨勬暟鎹�
+ //$.ajax({});
+ table.reload('LAY-user-front-submit'); //鏁版嵁鍒锋柊
+ layer.close(index); //鍏抽棴寮瑰眰
+ });
+
+ submit.trigger('click');
+ }
+ ,success: function(layero, index){
+
+ }
+ })
+ }
+ });
+
+ //瑙掕壊绠$悊
+ table.render({
+ elem: '#LAY-user-back-role'
+ ,url: layui.setter.base + 'json/useradmin/role.js' //妯℃嫙鎺ュ彛
+ ,cols: [[
+ {type: 'checkbox', fixed: 'left'}
+ ,{field: 'id', width: 80, title: 'ID', sort: true}
+ ,{field: 'rolename', title: '瑙掕壊鍚�'}
+ ,{field: 'limits', title: '鎷ユ湁鏉冮檺'}
+ ,{field: 'descr', title: '鍏蜂綋鎻忚堪'}
+ ,{title: '鎿嶄綔', width: 150, align: 'center', fixed: 'right', toolbar: '#table-useradmin-admin'}
+ ]]
+ ,text: '瀵逛笉璧凤紝鍔犺浇鍑虹幇寮傚父锛�'
+ });
+
+ //鐩戝惉宸ュ叿鏉�
+ table.on('tool(LAY-user-back-role)', function(obj){
+ var data = obj.data;
+ if(obj.event === 'del'){
+ layer.confirm('纭畾鍒犻櫎姝よ鑹诧紵', function(index){
+ obj.del();
+ layer.close(index);
+ });
+ }else if(obj.event === 'edit'){
+ var tr = $(obj.tr);
+
+ layer.open({
+ type: 2
+ ,title: '缂栬緫瑙掕壊'
+ ,content: '../../../views/user/administrators/roleform.html'
+ ,area: ['500px', '480px']
+ ,btn: ['纭畾', '鍙栨秷']
+ ,yes: function(index, layero){
+ var iframeWindow = window['layui-layer-iframe'+ index]
+ ,submit = layero.find('iframe').contents().find("#LAY-user-role-submit");
+
+ //鐩戝惉鎻愪氦
+ iframeWindow.layui.form.on('submit(LAY-user-role-submit)', function(data){
+ var field = data.field; //鑾峰彇鎻愪氦鐨勫瓧娈�
+
+ //鎻愪氦 Ajax 鎴愬姛鍚庯紝闈欐�佹洿鏂拌〃鏍间腑鐨勬暟鎹�
+ //$.ajax({});
+ table.reload('LAY-user-back-role'); //鏁版嵁鍒锋柊
+ layer.close(index); //鍏抽棴寮瑰眰
+ });
+
+ submit.trigger('click');
+ }
+ ,success: function(layero, index){
+
+ }
+ })
+ }
+ });
+
+ exports('useradmin', {})
+});
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/modules/workorder.js b/src/main/webapp/static/wms/layuiadmin/modules/workorder.js
new file mode 100644
index 0000000..254d082
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/modules/workorder.js
@@ -0,0 +1,76 @@
+/**
+
+ @Name锛歭ayuiAdmin 宸ュ崟绯荤粺
+ @Author锛歴tar1029
+ @Site锛歨ttp://www.layui.com/admin/
+ @License锛欸PL-2
+
+ */
+
+
+layui.define(['table', 'form', 'element'], function(exports){
+ var $ = layui.$
+ ,table = layui.table
+ ,form = layui.form
+ ,element = layui.element;
+
+ table.render({
+ elem: '#LAY-app-system-order'
+ ,url: layui.setter.base + 'json/workorder/demo.js' //妯℃嫙鎺ュ彛
+ ,cols: [[
+ {type: 'numbers', fixed: 'left'}
+ ,{field: 'orderid', width: 100, title: '宸ュ崟鍙�', sort: true}
+ ,{field: 'attr', width: 100, title: '涓氬姟鎬ц川'}
+ ,{field: 'title', width: 100, title: '宸ュ崟鏍囬', width: 300}
+ ,{field: 'progress', title: '杩涘害', width: 200, align: 'center', templet: '#progressTpl'}
+ ,{field: 'submit', width: 100, title: '鎻愪氦鑰�'}
+ ,{field: 'accept', width: 100, title: '鍙楃悊浜哄憳'}
+ ,{field: 'state', title: '宸ュ崟鐘舵��', templet: '#buttonTpl', minWidth: 80, align: 'center'}
+ ,{title: '鎿嶄綔', align: 'center', fixed: 'right', toolbar: '#table-system-order'}
+ ]]
+ ,page: true
+ ,limit: 10
+ ,limits: [10, 15, 20, 25, 30]
+ ,text: '瀵逛笉璧凤紝鍔犺浇鍑虹幇寮傚父锛�'
+ ,done: function(){
+ element.render('progress')
+ }
+ });
+
+ //鐩戝惉宸ュ叿鏉�
+ table.on('tool(LAY-app-system-order)', function(obj){
+ var data = obj.data;
+ if(obj.event === 'edit'){
+ var tr = $(obj.tr);
+ layer.open({
+ type: 2
+ ,title: '缂栬緫宸ュ崟'
+ ,content: '../../../views/app/workorder/listform.html'
+ ,area: ['450px', '450px']
+ ,btn: ['纭畾', '鍙栨秷']
+ ,yes: function(index, layero){
+ var iframeWindow = window['layui-layer-iframe'+ index]
+ ,submitID = 'LAY-app-workorder-submit'
+ ,submit = layero.find('iframe').contents().find('#'+ submitID);
+
+ //鐩戝惉鎻愪氦
+ iframeWindow.layui.form.on('submit('+ submitID +')', function(data){
+ var field = data.field; //鑾峰彇鎻愪氦鐨勫瓧娈�
+
+ //鎻愪氦 Ajax 鎴愬姛鍚庯紝闈欐�佹洿鏂拌〃鏍间腑鐨勬暟鎹�
+ //$.ajax({});
+ table.reload('LAY-user-front-submit'); //鏁版嵁鍒锋柊
+ layer.close(index); //鍏抽棴寮瑰眰
+ });
+
+ submit.trigger('click');
+ }
+ ,success: function(layero, index){
+
+ }
+ });
+ }
+ });
+
+ exports('workorder', {})
+});
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/style/admin.css b/src/main/webapp/static/wms/layuiadmin/style/admin.css
new file mode 100644
index 0000000..74a6f87
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/style/admin.css
@@ -0,0 +1,535 @@
+/**
+
+ @Name锛歭ayuiAdmin
+ @Author锛氳搐蹇�
+ @Site锛歨ttp://www.layui.com/admin/
+ @License锛歀PPL
+
+ */
+
+html #layuicss-layuiAdmin{display: none; position: absolute; width: 1989px;}
+
+
+
+
+/* 绯荤粺 */
+::-webkit-input-placeholder{color: #ccc}
+
+/** 婊氬姩鏉� **/
+/*
+::-webkit-scrollbar{width: 10px; height: 10px;}
+::-webkit-scrollbar-button:vertical{display: none;}
+::-webkit-scrollbar-track, ::-webkit-scrollbar-corner{background-color: #e2e2e2;}
+::-webkit-scrollbar-thumb{border-radius: 0; background-color: rgba(0,0,0,.3);}
+::-webkit-scrollbar-thumb:vertical:hover{background-color: rgba(0,0,0,.35);}
+::-webkit-scrollbar-thumb:vertical:active{background-color: rgba(0,0,0,.38);}
+*/
+
+
+/* 鍏ㄥ眬 */
+html{background-color: #f2f2f2; color: #666;}
+*[template],
+.layadmin-tabsbody-item{display: none;}
+*[lay-href],
+*[lay-tips],
+*[layadmin-event]{cursor: pointer;}
+
+/* 閲嶇疆甯冨眬缁撴瀯 */
+.layui-layout-admin .layui-header{position: fixed; top: 0; left: 0; width: 100%; height: 50px;}
+
+/*
+.layui-layout-admin .layui-header .layui-layout-right .layui-nav-item a{color: #fff;}
+.layui-layout-admin .layui-header .layui-layout-right .layui-nav-item a cite{color: rgba(255,255,255,.7);}
+*/
+
+.layui-layout-admin .layui-header .layui-nav .layui-nav-child a{color: #333;}
+.layui-layout-admin .layui-side{width: 220px; top: 0; z-index: 1001;}
+.layui-layout-admin .layui-logo,
+.layui-layout-admin .layui-header .layui-nav .layui-nav-item{height: 50px; line-height: 50px;}
+.layui-layout-admin .layui-logo{position: fixed; left: 0; top: 0; z-index: 1002; width: 220px; height: 49px; padding: 0 15px; box-sizing: border-box; overflow: hidden; font-weight: 300; background-repeat: no-repeat; background-position: center center;}
+.layui-layout-admin .layui-layout-left,
+.layadmin-pagetabs,
+.layui-layout-admin .layui-body,
+.layui-layout-admin .layui-footer{left: 220px;}
+.layadmin-pagetabs{position: fixed; top: 50px; right: 0; z-index: 999;}
+.layadmin-pagetabs .layui-breadcrumb{padding: 0 15px;}
+.layui-layout-admin .layui-body{top: 90px; bottom: 0;}
+.layui-layout-admin .layui-body .layadmin-tabsbody-item{position: absolute; top: 0; bottom: 0; left: 0; right: 0; overflow: hidden;}
+.layui-layout-admin .layui-header .layui-nav-img{width: 26px; height: 26px;}
+.layui-layout-admin .layui-header .layui-nav-child{top: 55px;}
+.layui-layout-admin .layui-header .layui-layout-right .layui-nav-child{left: auto; right: 0;}
+.layui-layout-admin .layui-header .layui-nav .layui-nav-child dd.layui-this a,
+.layui-layout-admin .layui-header .layui-nav .layui-nav-child dd.layui-this{background: none}
+
+/* 缁熶竴鍔ㄧ敾 */
+.layui-layout-admin .layui-header .layui-nav .layui-nav-item,
+.layui-layout-admin .layui-layout-left,
+.layadmin-pagetabs,
+.layui-layout-admin .layui-body,
+.layui-layout-admin .layui-footer,
+.layui-layout-admin .layui-side,
+.layui-layout-admin .layui-logo,
+.layui-layout-admin .layui-header .layui-layout-right{transition: all .3s; -webkit-transition: all .3s;}
+
+/* 鍥炬爣 */
+.layui-icon-login-qq{color: #3492ED;}
+.layui-icon-login-wechat{color: #4DAF29;}
+.layui-icon-login-weibo{color: #CF1900;}
+
+/* 閲嶇疆琛ㄦ牸椋庢牸 */
+/*
+.layui-table th,
+.layui-table td,
+.layui-table[lay-skin="line"],
+.layui-table[lay-skin="row"],
+.layui-table-view,
+.layui-table-header,
+.layui-table-tool,
+.layui-table-page,
+.layui-table-fixed-r,
+.layui-table-tips-main{border-color: #f6f6f6;}
+
+.layui-table thead tr,
+.layui-table-header,
+.layui-table-tool,
+.layui-table-patch,
+.layui-table-mend{background-color: #fff;}
+
+.layui-table[lay-even] tr:nth-child(even),
+.layui-table tbody tr:hover,
+.layui-table-hover,
+.layui-table-click{background-color: #f8f8f8;}
+*/
+
+/* 琛ㄥ崟 */
+.layui-form[wid100] .layui-form-label{width: 100px;}
+.layui-form[wid100] .layui-input-block{margin-left: 130px;}
+@media screen and (max-width: 450px){
+ .layui-form[wid100] .layui-form-item .layui-input-inline{margin-left: 132px;}
+ .layui-form[wid100] .layui-form-item .layui-input-inline+.layui-form-mid{margin-left: 130px;}
+}
+.layui-form-item .layui-input-company{width: auto; padding-right: 10px; line-height: 38px;}
+
+/* 杈呭姪 */
+.layadmin-flexible{}
+.layui-bg-white{background-color: #fff;}
+.layadmin-loading{position: absolute; left: 50%; top: 50%; margin: -16px -15px; font-size: 30px; color: #c2c2c2;}
+.layadmin-fixed{position: fixed; left: 0; top: 0; z-index: 999;}
+.layadmin-link{color: #029789!important;}
+.layadmin-link:hover{opacity: 0.8;}
+
+/* 寮瑰嚭闈㈡澘 */
+.layui-layer-admin .layui-layer-title{height: 50px; line-height: 50px; border: none 0; background-color: #20222A; color: #fff;}
+.layui-layer-admin i[close]{position: absolute; padding: 5px; right: 10px; top: 12px; color: #fff; cursor: pointer;}
+.layui-layer-admin .layui-layer-content{padding: 20px; line-height: 22px;}
+.layui-layer-admin .layui-layer-content cite{font-style: normal; color: #FF5722;}
+
+/* 鍙充晶闈㈡澘 */
+.layui-layer-adminRight{top: 50px !important; bottom: 0; box-shadow: 1px 1px 10px rgba(0,0,0,.1); border-radius: 0; overflow: auto;}
+
+/* 寮瑰嚭渚跨 */
+.layadmin-note .layui-layer-content{padding: 0;}
+.layadmin-note textarea{display: block; width: 300px; height: 132px; min-width: 300px; min-height: 132px; line-height: 20px; padding: 10px 20px; border: none; box-sizing: border-box; color: #666; word-wrap: break-word;}
+
+/* 澶撮儴瀵艰埅 */
+.layui-layout-admin .layui-layout-left{padding: 0 10px;}
+.layui-layout-admin .layui-layout-left .layui-nav-item{margin: 0 20px;}
+.layui-layout-admin .layui-input-search{display: inline-block; vertical-align: middle; height: 32px; border: none; cursor: text;}
+.layui-layout-admin .layui-layout-left a{padding: 0;}
+.layui-layout-admin .layui-layout-right{padding: 0;}
+.layui-header .layui-nav-item .layui-icon{position: relative; top: 1px; font-size: 16px;}
+.layui-header .layui-nav-item:hover{}
+.layui-header .layui-layout-right .layui-badge-dot{margin-left: 11px;}
+.layui-header .layui-nav .layui-this:after,
+.layui-layout-admin .layui-header .layui-nav-bar{top: 0 !important; bottom: auto; height: 3px; background-color: #fff; background-color: rgba(255,255,255,.3);}
+
+/* 閬僵 */
+.layadmin-body-shade{position: fixed; display: none; left: 0; right: 0; top: 0; bottom: 0; background-color: rgba(0,0,0,.3); z-index: 1000;}
+
+/* 渚ц竟鑿滃崟 */
+.layui-side-menu .layui-side-scroll{width: 240px;}
+.layui-side-menu .layui-nav{width: 220px; margin-top: 50px; background: none;}
+.layui-side-menu .layui-nav .layui-nav-item a{height: 40px; line-height: 40px; padding-left: 45px; padding-right: 30px;}
+.layui-side-menu .layui-nav .layui-nav-item > a{padding-top: 8px; padding-bottom: 8px;}
+.layui-side-menu .layui-nav .layui-nav-item a:hover{background: none;}
+.layui-side-menu .layui-nav .layui-nav-itemed > .layui-nav-child{padding: 5px 0;}
+.layui-side-menu .layui-nav .layui-nav-item .layui-icon{position: absolute; top: 50%; left: 20px; margin-top: -19px;}
+.layui-side-menu .layui-nav .layui-nav-child .layui-nav-child{background: none!important;}
+.layui-side-menu .layui-nav .layui-nav-child .layui-nav-child a{padding-left: 60px}
+.layui-side-menu .layui-nav .layui-nav-more{right: 15px;}
+
+/* 渚ц竟鑿滃崟 - 骞虫澘绉诲姩璁惧 */
+@media screen and (max-width: 992px) {
+ .layui-layout-admin .layui-side{transform: translate3d(-220px, 0, 0); -webkit-transform: translate3d(-220px, 0, 0); width: 220px;}
+ .layui-layout-admin .layui-layout-left,
+ .layadmin-pagetabs,
+ .layui-layout-admin .layui-body,
+ .layui-layout-admin .layui-footer{left: 0;}
+}
+
+/* 渚ц竟鏀剁缉妯″紡 */
+.layadmin-side-shrink .layui-layout-admin .layui-logo{width: 60px; background-image: url(res/logo.png); /*background-size: 20px;)*/}
+.layadmin-side-shrink .layui-layout-admin .layui-logo span{display: none;}
+.layadmin-side-shrink .layui-side{left: 0; width: 60px;}
+.layadmin-side-shrink .layui-layout-admin .layui-layout-left,
+.layadmin-side-shrink .layadmin-pagetabs,
+.layadmin-side-shrink .layui-layout-admin .layui-body,
+.layadmin-side-shrink .layui-layout-admin .layui-footer{left: 60px;}
+.layadmin-side-shrink .layui-side-menu .layui-nav{position: static; width: 60px;}
+.layadmin-side-shrink .layui-side-menu .layui-nav-item{position: static;}
+.layadmin-side-shrink .layui-side-menu .layui-nav-item>a{padding-right: 0;}
+.layadmin-side-shrink .layui-side-menu .layui-nav-item cite,
+.layadmin-side-shrink .layui-side-menu .layui-nav > .layui-nav-item > a .layui-nav-more,
+.layadmin-side-shrink .layui-side-menu .layui-nav > .layui-nav-item > .layui-nav-child{display: none; padding: 8px 0; width: 200px;}
+.layadmin-side-shrink .layui-side-menu .layui-nav > .layui-nav-itemed>a{background: rgba(0,0,0,.3);}
+
+/* 绉诲姩绔睍寮�妯″紡 */
+.layadmin-side-spread-sm .layui-layout-admin .layui-layout-left,
+.layadmin-side-spread-sm .layadmin-pagetabs,
+.layadmin-side-spread-sm .layui-layout-admin .layui-body,
+.layadmin-side-spread-sm .layui-layout-admin .layui-footer{left: 0; transform: translate3d(220px, 0, 0); -webkit-transform: translate3d(220px, 0, 0);}
+.layadmin-side-spread-sm .layui-layout-admin .layui-layout-right{transform: translate3d(220px, 0, 0); -webkit-transform: translate3d(220px, 0, 0);}
+.layadmin-side-spread-sm .layui-side{transform: translate3d(0, 0, 0); -webkit-transform: translate3d(0, 0, 0);}
+.layadmin-side-spread-sm .layadmin-body-shade{display: block; }
+
+
+/* 椤甸潰鏍囩 */
+.layadmin-pagetabs{height: 40px; line-height: 40px; padding: 0 80px 0 40px; /*border-bottom: 2px solid #292B34;*/ background-color: #fff; box-sizing: border-box; box-shadow: 0 1px 2px 0 rgba(0,0,0,.1);}
+.layadmin-pagetabs .layadmin-tabs-control{position: absolute; top: 0; width: 40px; height: 100%; text-align: center; cursor: pointer; transition: all .3s; -webkit-transition: all .3s; box-sizing: border-box; border-left: 1px solid #f6f6f6;}
+.layadmin-pagetabs .layadmin-tabs-control:hover{background-color: #f6f6f6;}
+.layadmin-pagetabs .layui-icon-prev{left: 0; border-left: none; border-right: 1px solid #f6f6f6;}
+.layadmin-pagetabs .layui-icon-next{right: 40px; right: 40px;}
+.layadmin-pagetabs .layui-icon-down{right: 0;}
+.layadmin-tabs-select.layui-nav{position: absolute; left: 0; top: 0; width: 100%; height: 100%; padding: 0; background: none;}
+.layadmin-tabs-select.layui-nav .layui-nav-item{line-height: 40px;}
+.layadmin-tabs-select.layui-nav .layui-nav-item>a{height: 40px;}
+.layadmin-tabs-select.layui-nav .layui-nav-item a{color: #666;}
+.layadmin-tabs-select.layui-nav .layui-nav-child{top: 40px; left: auto; right: 0;}
+.layadmin-tabs-select.layui-nav .layui-nav-child dd.layui-this,
+.layadmin-tabs-select.layui-nav .layui-nav-child dd.layui-this a{background-color: #f2f2f2!important; color: #333;}
+.layadmin-tabs-select.layui-nav .layui-nav-more,
+.layadmin-tabs-select.layui-nav .layui-nav-bar{display: none;}
+
+.layadmin-pagetabs .layui-tab{margin: 0; overflow: hidden;}
+.layadmin-pagetabs .layui-tab-title{height: 40px; border: none;}
+.layadmin-pagetabs .layui-tab-title li{min-width: 0; line-height: 40px; max-width: 160px; text-overflow: ellipsis; padding-right: 40px; overflow: hidden; border-right: 1px solid #f6f6f6; vertical-align: top;}
+.layadmin-pagetabs .layui-tab-title li:first-child{ padding-right: 15px;}
+.layadmin-pagetabs .layui-tab-title li:first-child .layui-tab-close{display: none;}
+.layadmin-pagetabs .layui-tab-title li .layui-tab-close{position: absolute; right: 8px; top: 50%; margin: -7px 0 0 0; width: 16px; height: 16px; line-height: 16px; border-radius: 50%; font-size: 12px;}
+.layadmin-pagetabs .layui-tab-title li:after{content:''; position: absolute; top: 0; left: 0; width: 0; height: 2px; border-radius: 0; background-color: #292B34; transition: all .3s; -webkit-transition: all .3s;}
+.layadmin-pagetabs .layui-tab-title li:hover:after{width: 100%;}
+.layadmin-pagetabs .layui-tab-title li:hover,
+.layadmin-pagetabs .layui-tab-title li.layui-this{background-color: #f6f6f6;}
+.layadmin-pagetabs .layui-tab-title li.layui-this:after{width: 100%; border: none; height: 2px; background-color: #292B34;}
+
+/* 涓嶅紑鍚〉闈㈡爣绛炬椂 */
+.layadmin-tabspage-none .layui-layout-admin .layui-header{border-bottom: none; box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);}
+.layadmin-tabspage-none .layui-layout-admin .layui-body{top: 50px;}
+.layadmin-tabspage-none .layadmin-header{display: block;}
+.layadmin-tabspage-none .layadmin-header .layui-breadcrumb{border-top: 1px solid #f6f6f6;}
+
+/* 搴曢儴鍥哄畾鍖哄煙 */
+.layui-layout-admin .layui-footer{padding: 10px 0; text-align: center;}
+
+/* 榛樿涓婚淇グ */
+.layui-layout-admin .layui-header{border-bottom: 1px solid #f6f6f6; box-sizing: border-box; background-color: #fff;}
+.layui-layout-admin .layui-header a,
+.layui-layout-admin .layui-header a cite{color: #333;}
+.layui-layout-admin .layui-header a:hover{color: #000;}
+.layui-layout-admin .layui-header .layui-nav .layui-nav-more{border-top-color: #666}
+.layui-layout-admin .layui-header .layui-nav .layui-nav-mored{border-color: transparent; border-bottom-color: #666;}
+.layui-layout-admin .layui-header .layui-nav .layui-this:after,
+.layui-layout-admin .layui-header .layui-nav-bar{height: 2px; background-color: #20222A}
+.layui-layout-admin .layui-logo{background-color: #20222A; box-shadow: 0 1px 2px 0 rgba(0,0,0,.15);}
+.layui-layout-admin .layui-logo,
+.layui-layout-admin .layui-logo a{color: #fff; color: rgba(255,255,255,.8)}
+.layui-side-menu{box-shadow: 1px 0 2px 0 rgba(0,0,0,.05);}
+.layui-layout-admin .layui-footer{box-shadow: 0 -1px 2px 0 rgba(0,0,0,.05);}
+
+.layui-side-menu,
+.layadmin-setTheme-side{background-color: #20222A; color: #fff;}
+.layadmin-setTheme-header{background-color: #fff;}
+
+.layui-layout-admin .layui-footer{background-color: #fff;}
+.layui-tab-admin .layui-tab-title{background-color: #393D49; color: #fff;}
+
+
+/*
+
+ 鏍煎眬
+
+*/
+
+.layui-fluid{padding: 15px;}
+.layadmin-header{display: none; height: 50px; line-height: 50px; margin-bottom: 0; border-radius: 0;}
+.layadmin-header .layui-breadcrumb{padding: 0 15px;}
+.layui-card-header{position: relative;}
+.layui-card-header .layui-icon{line-height: initial; position: absolute; right: 15px; top: 50%; margin-top: -7px;}
+.layadmin-iframe{position: absolute; width: 100%; height: 100%; left: 0; top: 0; right: 0; bottom: 0;}
+
+
+/*
+
+ 鎺у埗鍙�
+
+*/
+
+
+/* 閲嶇疆杞挱鏍峰紡 */
+.layadmin-carousel{height: 185px !important; background-color: #fff;}
+.layadmin-carousel .layui-carousel-ind li{background-color: #e2e2e2;}
+.layadmin-carousel .layui-carousel-ind li:hover{background-color: #c2c2c2;}
+.layadmin-carousel .layui-carousel-ind li.layui-this{background-color: #999;}
+.layadmin-carousel .layui-carousel,
+.layadmin-carousel > *[carousel-item] > *{background-color: #fff;}
+.layadmin-carousel .layui-col-space10{margin: 0;}
+.layadmin-carousel .layui-carousel-ind{position: absolute; top: -41px; text-align: right;}
+.layadmin-carousel .layui-carousel-ind ul{background: none;}
+
+/* 閲嶇疆tab鏍峰紡 */
+.layui-card .layui-tab-brief .layui-tab-title{height: 42px; border-bottom-color: #f6f6f6;}
+.layui-card .layui-tab-brief .layui-tab-title li{margin: 0 15px; padding: 0; line-height: 42px;}
+.layui-card .layui-tab-brief .layui-tab-title li.layui-this{color: #333;}
+.layui-card .layui-tab-brief .layui-tab-title .layui-this:after{height: 43px;}
+.layui-card .layui-tab-brief .layui-tab-content{padding: 15px;}
+.layui-card .layui-table-view{margin: 0;}
+
+/* 蹇嵎鏂瑰紡 */
+.layadmin-shortcut li{text-align: center;}
+.layadmin-shortcut li .layui-icon{display: inline-block; width: 100%; height: 60px; line-height: 60px; text-align: center; border-radius: 2px; font-size: 30px; background-color: #F8F8F8; color: #333; transition: all .3s; -webkit-transition: all .3s;}
+.layadmin-shortcut li cite{position: relative; top: 2px; display: block; color: #666; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; font-size: 14px;}
+.layadmin-shortcut li:hover .layui-icon{background-color: #f2f2f2;}
+
+/* 寰呭姙浜嬮」 */
+.layadmin-backlog .layadmin-backlog-body{display: block; padding: 10px 15px; background-color: #f8f8f8; color: #999; border-radius: 2px; transition: all .3s; -webkit-transition: all .3s;}
+.layadmin-backlog-body h3{padding-bottom: 10px; font-size: 12px;}
+.layadmin-backlog-body p cite{font-style: normal; font-size: 30px; font-weight: 300; color: #009688;}
+.layadmin-backlog-body:hover{background-color: #f2f2f2; color: #888;}
+
+/* 鏁版嵁姒傝 */
+.layadmin-dataview{height: 332px !important;}
+.layadmin-dataview>*[carousel-item]:before{display: none;}
+.layadmin-dataview>*[carousel-item]>div{height: 332px;}
+
+/* 鎺у埗鍙版晥鏋滄姤鍛� */
+.layadmin-takerates{padding-top: 5px;}
+.layadmin-takerates .layui-progress{margin: 50px 0 60px;}
+.layadmin-takerates .layui-progress:last-child{margin-bottom: 10px;}
+.layadmin-takerates .layui-progress h3{position: absolute; right: 0; top: -35px; color: #999; font-size: 14px;}
+.layadmin-takerates .layui-progress-bar{text-align: left;}
+.layadmin-takerates .layui-progress-text{top: -35px; line-height: 26px; font-size: 26px;}
+
+/* 浜у搧鍔ㄦ�� */
+.layadmin-news{height: 60px !important; padding: 5px 0;}
+.layadmin-news a{display: block; line-height: 60px; text-align: center;}
+.layadmin-news .layui-carousel-ind{height: 45px;}
+
+/* 鏂囧瓧鍒楄〃 */
+.layadmin-list li{margin-bottom: 6px; padding-bottom: 6px; border-bottom-color: #f6f6f6; list-style-position: inside; list-style-type: disc;}
+.layadmin-list li{text-overflow: ellipsis; overflow: hidden; white-space: nowrap;}
+.layadmin-list li a{color: #666;}
+.layadmin-list li a:hover{color: #009688;}
+.layadmin-list li:last-child{border: none; padding: 0; margin: 0;}
+
+/* 鏂囨湰鍖哄煙 */
+.layadmin-text p{margin-bottom: 10px; text-indent: 2em;}
+.layadmin-text p:last-child{margin: 0;}
+.layadmin-font-em{font-size: 13px; color: #758697;}
+
+
+
+
+/********************************
+
+ 鍏跺畠涓婚〉寮�濮� By star1029
+
+*******************************/
+
+/* 涓婚〉绀轰緥涓� by star1029 */
+/* 杩涜涓殑椤圭洰 */
+.layui-card-header .layui-a-tips{position: absolute; right: 15px; color: #01AAED;}
+.layuiadmin-card-text{background-color: #f8f8f8; color: #777; padding: 24px;}
+.layuiadmin-card-text .layui-text-top{padding-bottom: 10px;}
+.layuiadmin-card-text .layui-text-top i{margin-right: 10px; font-size: 24px; color: #009688;}
+.layuiadmin-card-text .layui-text-top a{line-height: 24px; font-size: 16px; vertical-align: top;}
+.layuiadmin-card-text .layui-text-center{height: 44px; line-height: 22px; margin-bottom: 10px; overflow: hidden;}
+.layuiadmin-card-text .layui-text-bottom{position: relative;}
+.layuiadmin-card-text .layui-text-bottom a{color: #777; font-size: 12px; text-overflow: ellipsis; word-break: break-all;}
+.layuiadmin-card-text .layui-text-bottom span{color: #CCC; font-size: 12px; position: absolute; right: 0;}
+.layuiadmin-card-text a:hover,
+.layuiadmin-card-link a:hover,
+.layuiadmin-card-team li a:hover{color: #01AAED; transition: all 300ms;}
+
+/* 鍔ㄦ�� */
+.layuiadmin-card-status{padding: 0 10px 10px 10px;}
+.layuiadmin-card-status dd{padding: 15px 0; border-bottom: 1px solid #EEE; display: -webkit-flex; display: flex;}
+.layuiadmin-card-status dd:last-child{border: none;}
+.layuiadmin-card-status dd div.layui-status-img,
+.layuiadmin-card-team .layui-team-img{width: 32px; height: 32px; border-radius: 50%; background-color: #009688; margin-right: 15px;}
+.layuiadmin-card-status dd div.layui-status-img a{width: 100%; height: 100%; display: inline-block; text-align: center; line-height: 32px;}
+.layuiadmin-card-status dd div.layui-status-img img,
+.layuiadmin-card-team .layui-team-img img{width: 50%; height: 50%;}
+.layuiadmin-card-status dd div a{color: #01AAED;}
+.layuiadmin-card-status dd div span{color: #BBB;}
+
+/* 渚挎嵎瀵艰埅 */
+.layuiadmin-card-link{padding-left: 10px; font-size: 0}
+.layuiadmin-card-link a{display: inline-block; width: 25%; color: #666; font-size: 14px; margin-bottom: 12px;}
+.layuiadmin-card-link button{vertical-align: top;}
+.layuiadmin-card-link button:hover{color: #009688;}
+
+/* 鍥㈤槦 */
+.layuiadmin-card-team li{padding: 10px 0 10px 10px;}
+.layuiadmin-card-team .layui-team-img{display: inline-block; margin-right: 8px; width: 24px; height: 24px; text-align: center; line-height: 24px;}
+.layuiadmin-card-team span{color: #777;}
+
+
+/* 涓婚〉绀轰緥浜� by star1029 */
+.layuiadmin-badge{position: absolute; top: 50%; margin-top: -9px; right: 15px; color: #01AAED; }
+.layuiadmin-card-list{padding: 15px;}
+.layuiadmin-card-list p.layuiadmin-big-font{font-size: 36px; color: #666; line-height: 36px; padding: 5px 0 10px; overflow: hidden; text-overflow: ellipsis; word-break: break-all; white-space: nowrap;}
+.layuiadmin-card-list p.layuiadmin-normal-font{padding-bottom: 10px; font-size: 20px; color: #666; line-height: 24px;}
+.layuiadmin-span-color{font-size: 14px; position: absolute; right: 15px;}
+.layuiadmin-span-color i{padding-left: 5px;}
+.layuiadmin-btn-group{position: absolute; right: 15px;}
+
+.layuiadmin-card-status li{position: relative; padding: 10px 0; border-bottom: 1px solid #EEE;}
+.layuiadmin-card-status li h3{padding-bottom: 5px; font-weight: 700;}
+.layuiadmin-card-status li p{padding-bottom: 10px;}
+.layuiadmin-card-status li>span{color: #999;}
+.layuiadmin-home2-usernote .layuiadmin-reply{display: none; position: absolute; right: 0; bottom: 12px;}
+.layuiadmin-home2-usernote li:hover .layuiadmin-reply{display: block;}
+
+.layuiadmin-page-table td span{color: #2F4056;}
+.layuiadmin-page-table td span.first{color: #FF5722;}
+.layuiadmin-page-table td span.second{color: #FFB800;}
+.layuiadmin-page-table td span.third{color: #5FB878;}
+
+
+/****** 鍏跺畠涓婚〉缁撴潫 By star1029 ******/
+
+
+
+
+/*
+
+ 搴旂敤
+
+*/
+
+
+/* 娑堟伅涓績 */
+.layuiAdmin-msg-detail h1{font-size: 16px;}
+.layuiAdmin-msg-detail .layui-card-header{height: auto; line-height: 30px; padding: 15px;}
+.layuiAdmin-msg-detail .layui-card-header span{padding: 0 5px; color: #999;}
+.layuiAdmin-msg-detail .layui-card-header span:first-child{padding-left: 0;}
+.layuiAdmin-msg-detail .layui-card-body{padding: 15px;}
+
+/* 鏂囩珷鍒楄〃 */
+.layuiadmin-content-bread{padding-bottom: 20px;}
+
+/* 杩涘害鏉℃牱寮� */
+.layuiadmin-order-progress{position: relative; top: 12px;}
+
+
+
+
+/*
+
+ 绯荤粺
+
+*/
+
+
+/* 澶撮儴鍥炬爣閲嶇疆 */
+.layui-card-header.layuiadmin-card-header-auto{padding-top: 15px; padding-bottom: 15px; height: auto;}
+.layuiadmin-card-header-auto i.layuiadmin-button-btn{position: relative; right: 0; top: 0; vertical-align: middle;}
+.layuiadmin-card-header-auto .layui-form-item:last-child{margin-bottom: 0;}
+
+
+/* 涓婚璁剧疆 */
+.layadmin-setTheme{padding: 15px; overflow-x: hidden;}
+.layadmin-setTheme>h5{padding: 20px 0 10px; color: #000;}
+.layadmin-setTheme>h5:first-child{padding-top: 0;}
+.layadmin-setTheme-color{width: 330px; font-size: 0;}
+.layadmin-setTheme-color li{position: relative; display: inline-block; vertical-align: top; width: 80px; height: 50px; margin: 0 15px 15px 0; background-color: #f2f2f2; cursor: pointer; font-size: 12px; color: #666;}
+.layadmin-setTheme-color li:after{content: ''; position: absolute; z-index: 20; top: 50%; left: 50%; width: 1px; height: 0; border: 1px solid #f2f2f2; transition: all .3s; -webkit-transition: all .3s; opacity: 0;}
+.layadmin-setTheme-color li.layui-this:after,
+.layadmin-setTheme-color li:hover:after{width: 100%; height: 100%; padding: 4px; top: -5px; left: -5px; border-color: #5FB878; opacity: 1;}
+
+.layadmin-setTheme-header{position: relative; z-index: 10; height: 10px; border-top: 1px solid #f2f2f2; border-right: 1px solid #f2f2f2;}
+.layadmin-setTheme-side{position: absolute; left: 0; top: 0; width: 20px; height: 100%; z-index: 11; box-shadow: 1px 0 2px 0 rgba(0,0,0,.05);}
+.layadmin-setTheme-logo{position: absolute; left: 0; top: 0; width: 100%; height: 10px; box-shadow: 0 1px 2px 0 rgba(0,0,0,.15);}
+.layadmin-form-right{text-align: right;}
+
+
+/* 鍏充簬 */
+.layadmin-about p{margin-bottom: 10px;}
+
+/* 鑿滃崟鍒楄〃 */
+.layadmin-menu-list .layui-card-header{height: 50px; line-height: 50px; font-size: 16px;}
+.layadmin-menu-list .layui-card-header:active{background-color: #f2f2f2;}
+.layadmin-menu-list .layui-card-header .layui-icon{position: relative; top: 1px; left: 0; display: inline-block; margin: 0 10px 0; font-size: 18px;}
+
+
+/* 鍔ㄧ敾 */
+@-webkit-keyframes layui-rl{ /* 浠庡彸寰�宸︽粦鍏� */
+ from {-webkit-transform: translate3d(100%, 0, 0);}
+ to {-webkit-transform: translate3d(0, 0, 0);}
+}
+@keyframes layui-rl{
+ from {transform: translate3d(100%, 0, 0);}
+ to {transform: translate3d(0, 0, 0);}
+}
+.layui-anim-rl{-webkit-animation-name: layui-rl; animation-name: layui-rl;}
+
+@-webkit-keyframes layui-lr{ /* 浠庡彸寰�宸︽粦鍏� */
+ from {-webkit-transform: translate3d(0 0, 0); opacity: 1;}
+ to {-webkit-transform: translate3d(100%, 0, 0); opacity: 1;}
+}
+@keyframes layui-lr{
+ from {transform: translate3d(0, 0, 0);}
+ to {transform: translate3d(100%, 0, 0);}
+}
+.layui-anim-lr{-webkit-animation-name: layui-lr; animation-name: layui-lr;}
+
+.layui-anim-rl.layer-anim-close{-webkit-animation-name: layui-lr; animation-name: layui-lr;}
+
+
+/* 鎻愮ず椤� */
+.layadmin-tips{margin-top: 30px; text-align: center;}
+.layadmin-tips .layui-icon[face]{display: inline-block; font-size: 300px; color: #393D49;}
+.layadmin-tips .layui-text{width: 500px; margin: 30px auto; padding-top: 20px; border-top: 5px solid #009688; font-size: 16px;}
+.layadmin-tips h1{font-size: 100px; line-height: 100px; color: #009688;}
+.layadmin-tips .layui-text .layui-anim{display: inline-block;}
+
+
+/*
+
+ 鍝嶅簲寮忚ˉ鍏�
+
+*/
+
+@media screen and (max-width: 768px) {
+
+ /* 浜у搧娓呭崟妯℃澘 */
+ .layadmin-panel-selection{margin: 0; width: auto;}
+
+ /* 瀵艰埅 */
+ .layui-body .layui-nav .layui-nav-item{display: block;}
+
+ /* 涓讳綋瀹瑰櫒 */
+ .layui-layout-admin .layui-body .layadmin-tabsbody-item{-webkit-overflow-scrolling: touch; overflow: auto;}
+}
+
+
+.layui-layout-admin .layui-logo {
+ height: 120px;
+ padding: 20px 0;
+}
+.layui-side-menu .layui-nav {
+ margin-top: 120px;
+}
+#cool-header-right {
+ right: 3%;
+}
diff --git a/src/main/webapp/static/wms/layuiadmin/style/login.css b/src/main/webapp/static/wms/layuiadmin/style/login.css
new file mode 100644
index 0000000..30fb615
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/style/login.css
@@ -0,0 +1,55 @@
+/**
+
+ @Name锛歭ayuiAdmin 鐧诲叆娉ㄥ唽椤�
+ @Author锛氳搐蹇�
+ @Site锛歨ttp://www.layui.com/admin/
+ @License锛欸PL-2
+
+ */
+
+html,body,#LAY_app{height:100%;}
+.layui-layout-body{overflow: auto;}
+
+#LAY-user-login,
+.layadmin-user-display-show{display: block !important;}
+.layadmin-user-login{position: relative; left: 0; top: 0; padding: 110px 0; min-height: 100%; box-sizing: border-box;}
+.layadmin-user-login-main{width: 375px; margin: 0 auto; box-sizing: border-box;}
+.layadmin-user-login-box{padding: 20px;}
+.layadmin-user-login-header{text-align: center;}
+.layadmin-user-login-header h2{margin-bottom: 10px; font-weight: 300; font-size: 30px; color: #000;}
+.layadmin-user-login-header p{font-weight: 300; color: #999;}
+
+.layadmin-user-login-body .layui-form-item{position: relative;}
+.layadmin-user-login-icon{position: absolute; left: 1px; top: 1px; width: 38px; line-height: 36px; text-align: center; color: #d2d2d2;}
+.layadmin-user-login-body .layui-form-item .layui-input{padding-left: 38px;}
+.layadmin-user-login-codeimg{max-height: 38px; width: 100%; cursor: pointer; box-sizing: border-box;}
+
+.layadmin-user-login-other{position: relative; font-size: 0; line-height: 38px; padding-top: 20px;}
+.layadmin-user-login-other>*{display: inline-block; vertical-align: middle; margin-right: 10px; font-size: 14px;}
+.layadmin-user-login-other .layui-icon{position: relative; top: 2px; font-size: 26px;}
+.layadmin-user-login-other a:hover{opacity: 0.8;}
+
+.layadmin-user-jump-change{float: right;}
+
+.layadmin-user-login-footer{position: absolute; left: 0; bottom: 0; width: 100%; line-height: 30px; padding: 20px; text-align: center; box-sizing: border-box; color: rgba(0,0,0,.5)}
+.layadmin-user-login-footer span{padding: 0 5px;}
+.layadmin-user-login-footer a{padding: 0 5px; color: rgba(0,0,0,.5);}
+.layadmin-user-login-footer a:hover{color: rgba(0,0,0,1);}
+
+/* 鏈夎儗鏅浘鏃� */
+.layadmin-user-login-main[bgimg]{background-color: #fff; box-shadow: 0 0 5px rgba(0,0,0,0.05);}
+
+/* 涓婚鑳屾櫙 */
+.ladmin-user-login-theme{position: fixed; bottom: 0; left: 0; width: 100%; text-align: center;}
+.ladmin-user-login-theme ul{display: inline-block; padding: 5px; background-color: #fff;}
+.ladmin-user-login-theme ul li{display: inline-block; vertical-align: top; width: 64px; height: 43px; cursor: pointer; transition: all .3s; -webkit-transition: all .3s; background-color: #f2f2f2;}
+.ladmin-user-login-theme ul li:hover{opacity: 0.9}
+
+@media screen and (max-width: 768px) {
+ .layadmin-user-login{padding-top: 60px;}
+ .layadmin-user-login-main{width: 300px;}
+ .layadmin-user-login-box{padding: 10px;}
+}
+
+
+
diff --git a/src/main/webapp/static/wms/layuiadmin/style/res/bg-none.jpg b/src/main/webapp/static/wms/layuiadmin/style/res/bg-none.jpg
new file mode 100644
index 0000000..b7c9e7b
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/style/res/bg-none.jpg
Binary files differ
diff --git a/src/main/webapp/static/wms/layuiadmin/style/res/layui-logo.jpg b/src/main/webapp/static/wms/layuiadmin/style/res/layui-logo.jpg
new file mode 100644
index 0000000..da24fdf
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/style/res/layui-logo.jpg
Binary files differ
diff --git a/src/main/webapp/static/wms/layuiadmin/style/res/logo-black.png b/src/main/webapp/static/wms/layuiadmin/style/res/logo-black.png
new file mode 100644
index 0000000..73e5ebc
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/style/res/logo-black.png
Binary files differ
diff --git a/src/main/webapp/static/wms/layuiadmin/style/res/logo.png b/src/main/webapp/static/wms/layuiadmin/style/res/logo.png
new file mode 100644
index 0000000..ac1e00b
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/style/res/logo.png
Binary files differ
diff --git a/src/main/webapp/static/wms/layuiadmin/style/res/template/character.jpg b/src/main/webapp/static/wms/layuiadmin/style/res/template/character.jpg
new file mode 100644
index 0000000..ba5e4d1
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/style/res/template/character.jpg
Binary files differ
diff --git a/src/main/webapp/static/wms/layuiadmin/style/res/template/huge.jpg b/src/main/webapp/static/wms/layuiadmin/style/res/template/huge.jpg
new file mode 100644
index 0000000..ce8acbd
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/style/res/template/huge.jpg
Binary files differ
diff --git a/src/main/webapp/static/wms/layuiadmin/style/res/template/portrait.png b/src/main/webapp/static/wms/layuiadmin/style/res/template/portrait.png
new file mode 100644
index 0000000..a6760af
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/style/res/template/portrait.png
Binary files differ
diff --git a/src/main/webapp/static/wms/layuiadmin/style/template.css b/src/main/webapp/static/wms/layuiadmin/style/template.css
new file mode 100644
index 0000000..e031875
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/style/template.css
@@ -0,0 +1,162 @@
+/**
+
+ @Name锛歭ayuiAdmin
+ @Author锛氳搐蹇�
+ @Site锛歨ttp://www.layui.com/admin/
+ @License锛歀PPL
+
+ */
+
+
+
+/********************************
+
+ 妯℃澘寮�濮� By xuzhiwen
+
+*******************************/
+
+
+/* 浜у搧鐗堟湰閫夋嫨闈㈡澘 */
+.layadmin-panel-selection{width: 768px; margin: 30px auto;}
+.layadmin-panel-selection .layui-panel-window{padding: 30px 50px; border-top-color: #ddd; text-align: center;}
+.layadmin-panel-selection .layui-panel-window h2{padding-bottom: 15px; font-size: 18px;}
+.layadmin-panel-selection .layui-panel-window ul{margin-top: 15px; text-align: left;}
+.layadmin-panel-selection .layui-btn-container{margin-top: 30px;}
+.layadmin-panel-selection .layui-btn-container .layui-btn{width: 100%;}
+
+/* 閫氳褰曢潰鏉� */
+.layadmin-maillist-fluid .layadmin-contact-box{padding:20px;background-color: #fff;
+ border: 1px solid #e7eaec;overflow: hidden;}
+.layadmin-maillist-fluid .layadmin-text-center{text-align: center;}
+.layadmin-maillist-fluid .layadmin-text-center img{max-width: 80%;border-radius: 50%;margin-top: 5px;}
+.layadmin-maillist-fluid .layadmin-font-blod{font-weight: 600;}
+.layadmin-maillist-fluid .layadmin-maillist-img{margin-top: 5px;}
+.layadmin-maillist-fluid .layadmin-title{margin:5px 0 10px 0;}
+.layadmin-maillist-fluid .layadmin-textimg{line-height: 25px;margin-bottom: 10px;}
+.layadmin-maillist-fluid .layadmin-address{line-height: 1.5;margin-bottom: 20px;}
+.layadmin-maillist-fluid .layadmin-padding-left20{padding-left: 20px;}
+
+/* 涓汉涓婚〉 */
+.layadmin-homepage-shadow{box-shadow: 0 1px 1px rgba(0,0,0,.05);background-color: #fff;border-bottom: 1px solid rgba(0,0,0,0.17);border-radius: 0;border: 1px solid #e7ecf3;}
+.layadmin-homepage-panel{margin-bottom: 15px;}
+.layadmin-homepage-panel .text-center{text-align: center;}
+.layadmin-homepage-information{padding: 15px; border-bottom: 1px solid #e9e9e9;}
+.layadmin-homepage-pad-ver{ padding-top: 15px;padding-bottom: 15px;}
+.layadmin-homepage-pad-img{box-shadow: 0 0 0 4px rgba(0,0,0,0.1);border-radius: 50%;}
+.layadmin-homepage-font{font-weight: 600;color: #2b425b;font-size: 1.2em;}
+.layadmin-homepage-min-font{margin:5px 0 10px 0;font-size: 0.9em;color: #afb9c3;}
+.layadmin-homepage-pad-ver a{line-height: 1.1em;font-size: 1.3em;vertical-align: middle; cursor: pointer;background-color: transparent;color: inherit;padding: 6px 12px;}
+.layadmin-homepage-pad-ver a:hover{background: #5FB878; color:#fff;}
+
+.layadmin-homepage-about{padding: 15px;font-weight: 600;color: #2b425b;}
+.layadmin-homepage-list-group{font-size: 0.9em;line-height: 1.25;margin-bottom: 5px;}
+.layadmin-homepage-list-group li{ padding: 5px 15px;border: 1px solid #ddd;margin-bottom: -1px;border-width: 1px 0;border-radius: 0; background-color: transparent;border-color: transparent;color: inherit;}
+.layadmin-homepage-list-group li i{font-size: 1.333em;line-height: 1.095em;vertical-align: middle; margin-right: 4px;}
+.layadmin-homepage-list-group li a.color{color:#337ab7;}
+.layadmin-homepage-pad-hor{ padding-left: 15px; padding-right: 15px;border-bottom: 15px;color: #758697; text-indent:20px;}
+.layadmin-homepage-list-inline{margin-left: 15px;margin-right: 15px;padding-bottom: 20px}
+.layadmin-homepage-list-inline a{display: inline-block;}
+.layadmin-homepage-list-inline .layui-btn{font-size: .9em;line-height: 1.42857;vertical-align: middle;height: auto;padding:4px 7px;margin-left: 0px;margin:0 10px 10px 0;}
+
+/* 宸︿晶涓汉淇℃伅鍖哄煙 */
+.layadmin-homepage-text-center{text-align: center;margin-bottom: 15px;}
+.layadmin-homepage-padding15{padding:15px;margin-bottom: 15px;}
+.layadmin-homepage-padding8{padding: 0 8px;}
+.layadmin-homepage-paddingmb{margin-bottom: 15px;margin: 0 -7.5px;}
+.layadmin-homepage-content{margin-left: 15px;padding: 0;}
+.layadmin-homepage-content .new-section-xs{margin: 12px 0;color: inherit;border: 0!important;height: 0px;box-sizing: content-box;}
+.layadmin-homepage-content .h4{font-size: 16px;font-weight: 600;color: #2b425b;}
+.layadmin-homepage-content small{color: #afb9c3}
+.layadmin-homepage-text-center .layui-icon{color:#FFB800;padding-right:5px;}
+.layadmin-homepage-padding15 .layui-col-sm5 a{font-size: 11px;height: auto;line-height: 1.5;padding:5px 10px;float: right;}
+.layadmin-homepage-padding15 .layui-btn-normal{margin:0 15px;}
+.layadmin-homepage-list-imgtxt .layui-col-sm10,.layadmin-homepage-list-imgtxt .layui-col-sm2{background: none}
+.layadmin-homepage-list-imgtxt .panel-body{padding: 15px 20px 25px;overflow: hidden;margin-bottom: 15px;}
+.layadmin-homepage-list-imgtxt .panel-body .media-left{display: block;float: left;vertical-align: top;padding-right: 10px;}
+.layadmin-homepage-list-imgtxt .panel-body .media-left img{border-radius: 50%;}
+.layadmin-homepage-list-imgtxt .media-body{width: auto;display: block;overflow: hidden;}
+.layadmin-homepage-list-imgtxt .media-body .pad-btm{padding-bottom: 15px;}
+.layadmin-homepage-list-imgtxt .media-body .pad-btm p:first-child{padding-bottom: 5px;}
+.layadmin-homepage-list-imgtxt .media-body .min-font{margin-bottom: 10px;}
+.layadmin-homepage-list-imgtxt .media-body .min-font .layui-breadcrumb a{font-size: 11px;}
+.layui-breadcrumb span[lay-separator]{margin:0 5px;}
+.layadmin-homepage-list-imgtxt .media-body .pad-btm .fontColor a{font-weight: 600;color: #337ab7;}
+.layadmin-homepage-list-imgtxt .media-body .pad-btm .fontColor span{color: #758697;font-weight: 600;}
+.layadmin-homepage-list-imgtxt .media-body .h-img{display: block;max-width: 100%;height: auto;margin-top: 10px;}
+.layadmin-homepage-list-imgtxt .img-xs{width: 32px;height: 32px;border-radius: 50%;}
+.layadmin-homepage-list-imgtxt .media-body .media{margin-top: 15px;overflow: hidden;}
+.layadmin-homepage-list-imgtxt .media-body .media .media-right{float: right;padding-top: 10px;}
+.layadmin-homepage-list-imgtxt .media-body .media .media-right .list-inline{margin-bottom: 10px;}
+.layadmin-homepage-list-imgtxt .media-body .media .list-inline li{padding:0 5px;display: inline-block;}
+.layadmin-homepage-list-imgtxt .media-body .media .media-right .list-inline li span{font-weight: 600;}
+.layadmin-homepage-list-imgtxt .media-body .media .media-left{display: block;overflow: hidden;width: auto;}
+.layadmin-homepage-list-imgtxt .media-body .media .media-left .font-blod{font-weight: 700;color: #758697;}
+.layadmin-homepage-list-imgtxt .media-body .media-list{padding-top: 15px;margin-top: 15px;border-top: 1px solid #e9e9e9;}
+.layadmin-homepage-list-imgtxt .media-body .media-list .media-item{padding-bottom: 15px;margin-top: 15px;}
+.layadmin-homepage-list-imgtxt .media-body .media-list .media-item-left{display:inline-block;padding-right: 10px;margin-bottom: 5px;}
+.layadmin-homepage-list-imgtxt .media-body .media-list .media-item-left img{display: block;float: left;}
+.layadmin-homepage-list-imgtxt .media-body .media-list .media-text{overflow: hidden;width: auto;display: inline-block;}
+.layadmin-homepage-list-imgtxt .media-body .media-list .media-text a{margin-right: 10px;font-weight: 600;display: inline-block;}
+.layadmin-homepage-list-imgtxt .media-body .media-list .media-text div:nth-child(2){margin-top: 5px;}
+.layadmin-homepage-list-imgtxt .media-body .media-list .layui-btn{height: 24px;line-height: 24px;font-size: 12px;padding:0 20px;margin-bottom: 10px;}
+.layadmin-homepage-list-imgtxt .media-body .media-list .layui-btn{height: 24px;line-height: 24px;font-size: 12px;padding:0 20px;margin-bottom: 10px;}
+
+/* 涓汉鍐呭鍖哄煙 */
+
+.homepage-top .layui-card-body img{width: 100%}
+.homepage-top .layui-card-body .margin-top10{margin-top: 10px;}
+.homepage-top .layui-card-body .layui-btn{width: 100%;display: block;}
+.homepage-top{padding-bottom: 20px;}
+.layadmin-privateletterlist-item{position: relative;display: block;padding: 10px 15px;}
+.homepage-bottom .layui-card-body{padding:0;}
+.homepage-bottom .layui-card-body img{width: 32px;height: 32px;border-radius: 50%;margin-top: 10px;}
+.homepage-bottom .layui-card-body .meida-left{display: table-cell;padding-right: 10px;}
+.homepage-bottom .layui-card-body .meida-right{display: table-cell;vertical-align: top;}
+.homepage-bottom .layui-card-body a:hover{background: #F2F2F2;}
+.homepage-bottom .layui-card-body{background: #fff;}
+.layui-card-header .panel-title .layui-icon{position: relative;left: 0;right: 0px;}
+
+/* 鍙充晶淇℃伅鏍� */
+.layadmin-cmdlist-fluid{padding-bottom: 60px;}
+.cmdlist-container{background: #fff;border:1px solid transparent;}
+.cmdlist-container:hover{border:1px solid #e8e8e8;}
+.cmdlist-container img{width: 100%;}
+.cmdlist-text{padding:20px;}
+.cmdlist-text .info{height: 40px;font-size: 14px;line-height: 20px;width: 100%;overflow: hidden;color: #666;margin-bottom:10px;}
+.cmdlist-text .price{font-size: 14px;}
+.cmdlist-text .price b{margin-right: 20px;}
+.cmdlist-text .price p{display: inline-block;}
+.cmdlist-text .flow{text-align: right;float: right;}
+#demo0{text-align: center;}
+
+/* 鐗╂枡鍒楄〃 */
+.layadmin-message-fluid .layui-col-md12{background: #fff;height: auto;padding-bottom: 50px;}
+.layadmin-message-fluid .layui-input-block{margin-left: 0;}
+.layadmin-message-fluid .layui-form{padding:45px 40px 0 40px;}
+.layadmin-message-fluid .layui-form-label{text-align: left;font-size: 18px;padding-left: 10px;}
+.layadmin-message-fluid .layui-textarea{min-height: 100px;font-size: 16px;}
+.layadmin-message-fluid .layui-input-right{float: right;}
+.layadmin-messag-icon{overflow: hidden;float: left;}
+.layadmin-messag-icon .layui-icon{font-size: 24px;line-height: 30px;margin-right: 15px;color: #C4CBCF;}
+.layadmin-messag-icon{margin-top: 4px;}
+.message-content{padding:0 40px;}
+.message-content .media-body{margin-bottom: 60px;}
+.message-content .media-body .pad-btm{padding-bottom: 0;}
+.message-content .media-left{float: left;margin-right: 10px;}
+.message-content .media-left img{border-radius: 50%;}
+.message-text{padding-top: 10px;}
+.message-content-btn{text-align: center;}
+.message-content .layui-btn{height: auto;line-height: 26px; padding: 5px 30px; font-size: 16px;}
+
+/* 鎼滅储缁撴灉椤甸潰 */
+.layadmin-serach-main .layui-card-header{height: auto; line-height: 24px; padding: 15px;}
+.layadmin-serach-list{margin-bottom: 10px; padding: 10px 0; border-bottom: 1px solid #f6f6f6;}
+.layadmin-serach-list h3{padding: 10px 0;}
+.layadmin-serach-list h3 .layui-badge{top: -2px;}
+.layadmin-serach-list p{color: #666;}
+.layadmin-serach-list li{margin-bottom: 20px; padding-bottom: 20px; clear: both;}
+.layui-serachlist-cover{float: left; margin-right: 15px;}
+.layui-serachlist-cover img{width: 90px; height: 90px;}
+
+
+/****** 妯℃澘缁撴潫 By xuzhiwen ******/
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/tpl/layim/demo.html b/src/main/webapp/static/wms/layuiadmin/tpl/layim/demo.html
new file mode 100644
index 0000000..249bc79
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/tpl/layim/demo.html
@@ -0,0 +1,25 @@
+<div class="layui-btn-container LAY-senior-im-chat-demo">
+ <button class="layui-btn" data-type="chat">鑷畾涔変細璇�</button>
+ <button class="layui-btn" data-type="message">鎺ュ彈濂藉弸鐨勬秷鎭�</button>
+ <button class="layui-btn" data-type="messageAudio">鎺ュ彈闊抽娑堟伅</button>
+ <button class="layui-btn" data-type="messageVideo">鎺ュ彈瑙嗛娑堟伅</button>
+ <button class="layui-btn" data-type="messageTemp">鎺ュ彈涓存椂浼氳瘽娑堟伅</button>
+
+ <br>
+
+ <button class="layui-btn" data-type="add">鐢宠濂藉弸</button>
+ <button class="layui-btn" data-type="addqun">鐢宠鍔犵兢</button>
+ <button class="layui-btn" data-type="addFriend">鍚屾剰濂藉弸</button>
+ <button class="layui-btn" data-type="addGroup">澧炲姞缇ょ粍鍒颁富闈㈡澘</button>
+ <button class="layui-btn" data-type="removeFriend">鍒犻櫎涓婚潰鏉垮ソ鍙�</button>
+ <button class="layui-btn" data-type="removeGroup">鍒犻櫎涓婚潰鏉跨兢缁�</button>
+
+ <br>
+ <button class="layui-btn" data-type="setGray">缃伆绂荤嚎濂藉弸</button>
+ <button class="layui-btn" data-type="unGray">鍙栨秷濂藉弸缃伆</button>
+
+ <button class="layui-btn" data-type="kefu1">鍦ㄧ嚎瀹㈡湇涓�</button>
+ <button class="layui-btn" data-type="kefu2">鍦ㄧ嚎瀹㈡湇浜�</button>
+
+ <button class="layui-btn" data-type="mobile">绉诲姩绔増鏈�</button>
+</div>
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/tpl/system/about.html b/src/main/webapp/static/wms/layuiadmin/tpl/system/about.html
new file mode 100644
index 0000000..5b71f33
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/tpl/system/about.html
@@ -0,0 +1,21 @@
+
+<div class="layui-card-header">鐗堟湰淇℃伅</div>
+<div class="layui-card-body layui-text layadmin-about">
+ <script type="text/html" template>
+ <p>褰撳墠鐗堟湰锛歭ayuiAdmin-v{{ layui.admin.v }}</p>
+ <p>鍩轰簬妗嗘灦锛歭ayui-v{{ layui.v }}</p>
+ </script>
+ <div class="layui-btn-container">
+ <a href="http://www.layui.com/admin/" target="_blank" class="layui-btn layui-btn-danger">鑾峰彇鎺堟潈</a>
+ <a href="http://fly.layui.com/download/layuiAdmin/" target="_blank" class="layui-btn">涓嬭浇鏂扮増</a>
+ </div>
+</div>
+
+<div class="layui-card-header">鍏充簬鐗堟潈</div>
+<div class="layui-card-body layui-text layadmin-about">
+
+ <blockquote class="layui-elem-quote" style="border: none;">
+ layuiAdmin 鍙楀浗瀹惰绠楁満杞欢钁椾綔鏉冧繚鎶わ紙鐧昏鍙凤細2018SR410669锛夛紝鏈粡瀹樼綉姝h娓犻亾鎺堟潈鎿呰嚜鍏紑浜у搧婧愭枃浠躲�佷互鍙婄洿鎺ュ浜у搧浜屾鍑哄敭鐨勶紝鎴戜滑灏嗕繚鐣欒拷绌舵硶寰嬭矗浠荤殑鏉冨埄銆�
+ </blockquote>
+ <p>漏 2018 <a href="http://www.layui.com/">layui.com</a> 鐗堟潈鎵�鏈�</p>
+</div>
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/tpl/system/get.html b/src/main/webapp/static/wms/layuiadmin/tpl/system/get.html
new file mode 100644
index 0000000..7585a7e
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/tpl/system/get.html
@@ -0,0 +1,61 @@
+
+
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8">
+ <title>鎺堟潈鑾峰緱 layuiAdmin</title>
+ <meta name="renderer" content="webkit">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
+ <link rel="stylesheet" href="../../layuiadmin/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../layuiadmin/style/admin.css" media="all">
+</head>
+<body>
+
+ <div class="layui-fluid">
+ <div class="layui-row layadmin-panel-selection">
+ <div class="layui-col-sm12">
+ <div class="layui-panel-window layui-text">
+ <h2>涓撲笟鐗�</h2>
+ <ul>
+ <li>濮嬬粓鍩轰簬鍏ㄦ柊鐨� layui 鐗堟湰</li>
+ <li>鍗曢〉闈㈠簲鐢紝鎵�鏈夋搷浣滄棤闇�璺宠浆</li>
+ <li>鏀寔鍓嶅悗绔垎绂诲紑鍙戞ā寮�</li>
+ <li>闈㈠悜鍏ㄥ睆骞曞昂瀵哥殑鍝嶅簲寮忛�傞厤鑳藉姏</li>
+ <li>鐏垫椿鐨勪富棰樿壊閰嶇疆</li>
+ <li>涓撳睘鐨勫紑鍙戣�呮枃妗o紝鍔╀綘蹇�熸帉鎻�</li>
+ <li>鐗堟湰鐨勬寔缁洿鏂帮紝闆嗗ぇ浼椾箣鎵�闇�</li>
+ <li>涓撳睘鐨勪細鍛樼兢锛屼笌鍚岄亾涓汉闅旂┖浜ゆ祦</li>
+ <li>layui 绀惧尯 VIP 鏍囪瘑</li>
+ <li>涓嶉檺鍒跺煙鍚嶃�佷笉闄愬埗搴旂敤鐨勯」鐩暟閲�</li>
+ </ul>
+ <div class="layui-row layui-col-space10 layui-btn-container">
+ <div class="layui-col-sm6">
+ <a href="http://fly.layui.com/order/bill?itemid=3" target="_blank" class="layui-btn">涓�骞存巿鏉�</a>
+ </div>
+ <div class="layui-col-sm6">
+ <a href="http://fly.layui.com/order/bill?itemid=4" target="_blank" class="layui-btn">
+ 姘镐箙鎺堟潈
+ <span class="layui-badge">hot</span>
+ </a>
+ </div>
+ </div>
+ </div>
+ </div>
+ <blockquote class="layui-col-sm12 layui-elem-quote" style="margin-top: 15px;">
+ 浣犳墍鑾峰緱鐨勪笉浠呬粎鏄竴娆鹃珮绮惧搧鐨勫悗鍙扮鐞嗘ā鏉跨郴缁燂紝鏇存槸涓�椤瑰叧浜庢椂闂翠笌鏁堢巼鐨勯珮鏀剁泭鍥炴姤
+ </blockquote>
+ </div>
+ </div>
+
+ <script src="../../layuiadmin/layui/layui.js"></script>
+ <script>
+ layui.config({
+ base: '../../layuiadmin/' //闈欐�佽祫婧愭墍鍦ㄨ矾寰�
+ }).extend({
+ index: 'lib/index' //涓诲叆鍙fā鍧�
+ }).use(['index']);
+ </script>
+</body>
+</html>
\ No newline at end of file
diff --git a/src/main/webapp/static/wms/layuiadmin/tpl/system/more.html b/src/main/webapp/static/wms/layuiadmin/tpl/system/more.html
new file mode 100644
index 0000000..c1f570b
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/tpl/system/more.html
@@ -0,0 +1,22 @@
+
+<!-- 鏇村闈㈡澘鐨勬ā鏉� -->
+<div class="layadmin-menu-list">
+ <div class="layui-card-header" layadmin-event="about">
+ <a href="javascript:;">
+ <i class="layui-icon layui-icon-about" style="font-size: 20px;"></i>
+ 鑾峰緱浜у搧
+ </a>
+ </div>
+ <div class="layui-card-header" layadmin-event="theme">
+ <a href="javascript:;">
+ <i class="layui-icon layui-icon-theme"></i>
+ 璁剧疆涓婚
+ </a>
+ </div>
+ <div class="layui-card-header" layadmin-event="note">
+ <a href="javascript:;">
+ <i class="layui-icon layui-icon-note"></i>
+ 鏈湴渚跨
+ </a>
+ </div>
+</div>
diff --git a/src/main/webapp/static/wms/layuiadmin/tpl/system/theme.html b/src/main/webapp/static/wms/layuiadmin/tpl/system/theme.html
new file mode 100644
index 0000000..9c497fa
--- /dev/null
+++ b/src/main/webapp/static/wms/layuiadmin/tpl/system/theme.html
@@ -0,0 +1,43 @@
+
+<!-- 涓婚璁剧疆妯℃澘 -->
+
+<script type="text/html" template lay-done="layui.data.theme();">
+ {{#
+ var local = layui.data(layui.setter.tableName)
+ ,theme = local.theme || {}
+ ,themeColorIndex = parseInt((theme && theme.color) ? theme.color.index : 0) || 0;
+ }}
+
+ <div class="layui-card-header">
+ 閰嶈壊鏂规
+ </div>
+ <div class="layui-card-body layadmin-setTheme">
+ <ul class="layadmin-setTheme-color">
+ {{# layui.each(layui.setter.theme.color, function(index, item){ }}
+ <li layadmin-event="setTheme" data-index="{{ index }}" data-alias="{{ item.alias }}"
+ {{ index === themeColorIndex ? 'class="layui-this"' : '' }} title="{{ item.alias }}">
+ <div class="layadmin-setTheme-header" style="background-color: {{ item.header }};"></div>
+ <div class="layadmin-setTheme-side" style="background-color: {{ item.main }};">
+ <div class="layadmin-setTheme-logo" style="background-color: {{ item.logo }};"></div>
+ </div>
+ </li>
+ {{# }); }}
+ </ul>
+ </div>
+</script>
+
+<script>
+layui.data.theme = function(){
+ layui.use('form', function(){
+ var form = layui.form
+ ,admin = layui.admin;
+
+ //鐩戝惉闅愯棌寮�鍏�
+ form.on('switch(system-theme-sideicon)', function(){
+ admin.theme({
+ hideSideIcon: this.checked
+ })
+ });
+ });
+};
+</script>
diff --git "a/src/main/webapp/static/wms/layuiadmin/tpl/system/\350\257\264\346\230\216.txt" "b/src/main/webapp/static/wms/layuiadmin/tpl/system/\350\257\264\346\230\216.txt"
new file mode 100644
index 0000000..e9d0a23
--- /dev/null
+++ "b/src/main/webapp/static/wms/layuiadmin/tpl/system/\350\257\264\346\230\216.txt"
@@ -0,0 +1,3 @@
+
+娉ㄦ剰锛�
+璇ョ洰褰曞瓨鏀剧殑鏄� layuiAdmin 鐨勭郴缁熸ā鏉跨鐗囷紝寰堝鐣岄潰闇�瑕佷緷璧栧埌瀹冿紝鍒囧嬁闅忔剰鍓旈櫎銆�
\ No newline at end of file
diff --git "a/src/main/webapp/static/wms/layuiadmin/tpl/\350\257\264\346\230\216.txt" "b/src/main/webapp/static/wms/layuiadmin/tpl/\350\257\264\346\230\216.txt"
new file mode 100644
index 0000000..d4d4a31
--- /dev/null
+++ "b/src/main/webapp/static/wms/layuiadmin/tpl/\350\257\264\346\230\216.txt"
@@ -0,0 +1,3 @@
+
+娉ㄦ剰锛�
+璇ョ洰褰曞瓨鏀剧殑鏄� layuiAdmin 鐨勫姩鎬佹ā鏉跨鐗�
\ No newline at end of file
diff --git a/src/main/webapp/views/404.html b/src/main/webapp/views/404.html
index b31eb87..803affb 100644
--- a/src/main/webapp/views/404.html
+++ b/src/main/webapp/views/404.html
@@ -4,6 +4,6 @@
<meta charset="UTF-8">
<title>Title</title>
</head>
-<body background="../static/image/404.jpg" style="background-repeat:no-repeat; background-size:100% 100%; background-attachment:fixed;">
+<body background="../static/wms/image/404.jpg" style="background-repeat:no-repeat; background-size:100% 100%; background-attachment:fixed;">
</body>
</html>
\ No newline at end of file
diff --git a/src/main/webapp/views/api/api.html b/src/main/webapp/views/api/api.html
index d00a864..6c17efc 100644
--- a/src/main/webapp/views/api/api.html
+++ b/src/main/webapp/views/api/api.html
@@ -6,9 +6,9 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="../../static/css/cool.css" media="all">
- <link rel="stylesheet" href="../../static/css/common.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/cool.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/common.css" media="all">
</head>
<body>
@@ -42,11 +42,11 @@
<a class="layui-btn layui-btn-xs btn-edit" lay-event="edit">缂栬緫</a>
</script>
-<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/api/api.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../../static/wms/layui/layui.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/common.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/cool.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/api/api.js" charset="utf-8"></script>
<iframe id="detail-iframe" scrolling="auto" style="display:none;"></iframe>
diff --git a/src/main/webapp/views/api/api_detail.html b/src/main/webapp/views/api/api_detail.html
index bd2c161..ae998cc 100644
--- a/src/main/webapp/views/api/api_detail.html
+++ b/src/main/webapp/views/api/api_detail.html
@@ -6,9 +6,9 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="../../static/css/cool.css" media="all">
- <link rel="stylesheet" href="../../static/css/common.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/cool.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/common.css" media="all">
</head>
<body>
@@ -86,10 +86,10 @@
</form>
</div>
</body>
-<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/api/api.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../../static/wms/layui/layui.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/common.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/cool.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/api/api.js" charset="utf-8"></script>
</html>
diff --git a/src/main/webapp/views/basErrLog/basErrLog.html b/src/main/webapp/views/basErrLog/basErrLog.html
index b3fc226..b9ee2a2 100644
--- a/src/main/webapp/views/basErrLog/basErrLog.html
+++ b/src/main/webapp/views/basErrLog/basErrLog.html
@@ -6,9 +6,9 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="../../static/css/cool.css" media="all">
- <link rel="stylesheet" href="../../static/css/common.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/cool.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/common.css" media="all">
</head>
<body>
@@ -69,11 +69,11 @@
<a class="layui-btn layui-btn-xs btn-edit" lay-event="edit">缂栬緫</a>
</script>
-<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/basErrLog/basErrLog.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../../static/wms/layui/layui.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/common.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/cool.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/basErrLog/basErrLog.js" charset="utf-8"></script>
<iframe id="detail-iframe" scrolling="auto" style="display:none;"></iframe>
diff --git a/src/main/webapp/views/basErrLog/basErrLog_detail.html b/src/main/webapp/views/basErrLog/basErrLog_detail.html
index 6525e0c..8ad43ba 100644
--- a/src/main/webapp/views/basErrLog/basErrLog_detail.html
+++ b/src/main/webapp/views/basErrLog/basErrLog_detail.html
@@ -6,9 +6,9 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="../../static/css/cool.css" media="all">
- <link rel="stylesheet" href="../../static/css/common.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/cool.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/common.css" media="all">
</head>
<body>
@@ -199,10 +199,10 @@
</form>
</div>
</body>
-<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/basErrLog/basErrLog.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../../static/wms/layui/layui.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/common.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/cool.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/basErrLog/basErrLog.js" charset="utf-8"></script>
</html>
diff --git a/src/main/webapp/views/config/config.html b/src/main/webapp/views/config/config.html
index fb4d8df..4df861e 100644
--- a/src/main/webapp/views/config/config.html
+++ b/src/main/webapp/views/config/config.html
@@ -6,9 +6,9 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="../../static/css/cool.css" media="all">
- <link rel="stylesheet" href="../../static/css/common.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/cool.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/common.css" media="all">
</head>
<body>
@@ -42,11 +42,11 @@
<a class="layui-btn layui-btn-xs btn-edit" lay-event="edit">缂栬緫</a>
</script>
-<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/config/config.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../../static/wms/layui/layui.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/common.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/cool.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/config/config.js" charset="utf-8"></script>
<iframe id="detail-iframe" scrolling="auto" style="display:none;"></iframe>
diff --git a/src/main/webapp/views/config/config_detail.html b/src/main/webapp/views/config/config_detail.html
index 2838e7b..d4f0aa3 100644
--- a/src/main/webapp/views/config/config_detail.html
+++ b/src/main/webapp/views/config/config_detail.html
@@ -6,9 +6,9 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="../../static/css/cool.css" media="all">
- <link rel="stylesheet" href="../../static/css/common.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/cool.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/common.css" media="all">
</head>
<body>
@@ -74,10 +74,10 @@
</form>
</div>
</body>
-<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/config/config.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../../static/wms/layui/layui.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/common.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/cool.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/config/config.js" charset="utf-8"></script>
</html>
diff --git a/src/main/webapp/views/detail.html b/src/main/webapp/views/detail.html
index ed3397d..1ee45c5 100644
--- a/src/main/webapp/views/detail.html
+++ b/src/main/webapp/views/detail.html
@@ -6,8 +6,8 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../static/layui/css/layui.css" media="all">
- <script type="text/javascript" src="../static/js/common.js"></script>
+ <link rel="stylesheet" href="../static/wms/layui/css/layui.css" media="all">
+ <script type="text/javascript" src="../static/wms/js/common.js"></script>
<style>
body {
background-color: #fff;
@@ -96,8 +96,8 @@
</fieldset>
</div>
</body>
-<script type="text/javascript" src="../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script src="../static/layui/layui.js"></script>
+<script type="text/javascript" src="../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script src="../static/wms/layui/layui.js"></script>
<script>
layui.use(['form'], function(){
var form = layui.form,
diff --git a/src/main/webapp/views/home/console.html b/src/main/webapp/views/home/console.html
index aff7c04..bdb7bfe 100644
--- a/src/main/webapp/views/home/console.html
+++ b/src/main/webapp/views/home/console.html
@@ -6,12 +6,12 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
- <script type="text/javascript" src="../../static/js/common.js"></script>
- <script type="text/javascript" src="../../static/layui/layui.js"></script>
- <script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
- <script type="text/javascript" src="../../static/js/echarts/echarts.min.js"></script>
- <script type="text/javascript" src="../../static/js/echarts/highcharts.js"></script>
+ <link rel="stylesheet" href="../../static/wms/layui/css/layui.css" media="all">
+ <script type="text/javascript" src="../../static/wms/js/common.js"></script>
+ <script type="text/javascript" src="../../static/wms/layui/layui.js"></script>
+ <script type="text/javascript" src="../../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+ <script type="text/javascript" src="../../static/wms/js/echarts/echarts.min.js"></script>
+ <script type="text/javascript" src="../../static/wms/js/echarts/highcharts.js"></script>
<style>
body {
background-color: #f1f1f1;
diff --git a/src/main/webapp/views/home/map.html b/src/main/webapp/views/home/map.html
index 6c43354..f2a5062 100644
--- a/src/main/webapp/views/home/map.html
+++ b/src/main/webapp/views/home/map.html
@@ -3,14 +3,14 @@
<head>
<meta charset="UTF-8">
<title>搴撲綅鍦板浘</title>
- <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="../../static/css/admin.css?v=318" media="all">
- <link rel="stylesheet" href="../../static/css/cool.css" media="all">
- <script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
- <script type="text/javascript" src="../../static/layui/layui.js"></script>
- <script type="text/javascript" src="../../static/js/handlebars/handlebars-v4.5.3.js"></script>
- <script type="text/javascript" src="../../static/js/common.js"></script>
- <script type="text/javascript" src="../../static/js/vue.min.js"></script>
+ <link rel="stylesheet" href="../../static/wms/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/admin.css?v=318" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/cool.css" media="all">
+ <script type="text/javascript" src="../../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+ <script type="text/javascript" src="../../static/wms/layui/layui.js"></script>
+ <script type="text/javascript" src="../../static/wms/js/handlebars/handlebars-v4.5.3.js"></script>
+ <script type="text/javascript" src="../../static/wms/js/common.js"></script>
+ <script type="text/javascript" src="../../static/wms/js/vue.min.js"></script>
<style>
.pointContainer {
display: flex;
diff --git a/src/main/webapp/views/home/map_edit.html b/src/main/webapp/views/home/map_edit.html
index d5497b3..0963ccc 100644
--- a/src/main/webapp/views/home/map_edit.html
+++ b/src/main/webapp/views/home/map_edit.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>搴撲綅鍦板浘缂栬緫</title>
- <script type="text/javascript" src="../../static/js/vue.min.js"></script>
+ <script type="text/javascript" src="../../static/wms/js/vue.min.js"></script>
<style>
.pointContainer {
display: flex;
diff --git a/src/main/webapp/views/home/navigation.html b/src/main/webapp/views/home/navigation.html
index 64ce2a6..296ae28 100644
--- a/src/main/webapp/views/home/navigation.html
+++ b/src/main/webapp/views/home/navigation.html
@@ -6,8 +6,8 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="../../static/css/road.css">
+ <link rel="stylesheet" href="../../static/wms/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/road.css">
<style media="screen">
*{
@@ -20,35 +20,35 @@
letter-spacing: 1px;
}
body{
- background: url(../../static/image/nav/bg_1.png);
+ background: url(../../static/wms/image/nav/bg_1.png);
background-size: cover;
}
.fn_1{
width: 250px; height: 220px;
- background: url(../../static/image/nav/fn_1.png);
+ background: url(../../static/wms/image/nav/fn_1.png);
background-size: cover;
}
.fn_1:hover{
- background: url(../../static/image/nav/fn_1_h.png);
+ background: url(../../static/wms/image/nav/fn_1_h.png);
background-size: cover;
}
.fn_2{
width: 250px; height: 220px;
- background: url(../../static/image/nav/fn_2.png);
+ background: url(../../static/wms/image/nav/fn_2.png);
background-size: cover;
}
.fn_2:hover{
- background: url(../../static/image/nav/fn_2_h.png);
+ background: url(../../static/wms/image/nav/fn_2_h.png);
background-size: cover;
}
.fn_3{
width: 250px; height: 220px;
- background: url(../../static/image/nav/fn_3.png);
+ background: url(../../static/wms/image/nav/fn_3.png);
background-size: cover;
}
.fn_3:hover{
- background: url(../../static/image/nav/fn_3_h.png);
+ background: url(../../static/wms/image/nav/fn_3_h.png);
background-size: cover;
}
@@ -81,7 +81,7 @@
height: 74px;
border: 1px solid #102262;
border-radius: 5px;
- background: url(../../static/image/nav/icon.png) no-repeat center center;
+ background: url(../../static/wms/image/nav/icon.png) no-repeat center center;
background-size: 45% 45%;
cursor: pointer;
}
@@ -130,9 +130,9 @@
</div>
</body>
-<script type="text/javascript" src="../../static/js/common.js"></script>
-<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script type="text/javascript" src="../../static/layui/layui.js"></script>
+<script type="text/javascript" src="../../static/wms/js/common.js"></script>
+<script type="text/javascript" src="../../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../../static/wms/layui/layui.js"></script>
<script>
layui.config({
base: baseUrl + "/static/layui/lay/modules/"
diff --git a/src/main/webapp/views/index.html b/src/main/webapp/views/index.html
index 6d576f4..995e3b0 100644
--- a/src/main/webapp/views/index.html
+++ b/src/main/webapp/views/index.html
@@ -6,9 +6,9 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
- <link rel="stylesheet" href="../static/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="../static/css/admin.css?v=318" media="all">
- <link rel="stylesheet" href="../static/css/loader.css" media="all">
+ <link rel="stylesheet" href="../static/wms/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../static/wms/css/admin.css?v=318" media="all">
+ <link rel="stylesheet" href="../static/wms/css/loader.css" media="all">
<style>
.layui-logo img {
width: 25px;
@@ -25,9 +25,9 @@
<!-- 澶撮儴 -->
<div class="layui-header">
<div class="layui-logo">
- <img src="../static/image/logo.png" style="display: inline-block; width: 60%;height: auto">
+ <img src="../static/wms/image/logo.png" style="display: inline-block; width: 60%;height: auto">
<!-- <span style="margin-top: 0; letter-spacing: 10px">涓壃绔嬪簱</span>-->
- <!-- <img src="../static/image/logo.svg"/>-->
+ <!-- <img src="../static/wms/image/logo.svg"/>-->
<!-- <cite>涓壃 - Zoneyung</cite>-->
</div>
@@ -85,10 +85,10 @@
<div class="layuimini-loader-inner"></div>
</div>
-<script type="text/javascript" src="../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script type="text/javascript" src="../static/layui/layui.js"></script>
-<script type="text/javascript" src="../static/js/handlebars/handlebars-v4.5.3.js"></script>
-<script type="text/javascript" src="../static/js/common.js"></script>
+<script type="text/javascript" src="../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../static/wms/layui/layui.js"></script>
+<script type="text/javascript" src="../static/wms/js/handlebars/handlebars-v4.5.3.js"></script>
+<script type="text/javascript" src="../static/wms/js/common.js"></script>
<script>
console.log('%c 涓壃绔嬪簱骞冲彴 %c 1.0.0','background-color:rgb(53,73,94);color: #fff;border-radius:2px 0 0 2px;padding:2px 4px;','background-color:rgb(25,190,107);color: #fff;border-radius:0 2px 2px 0;padding:2px 4px;font: 9pt "Apercu Regular", Georgia, "Times New Roman", Times, serif;');
$(function () {
@@ -98,7 +98,7 @@
});
layui.config({
- base: baseUrl + "/static/layui/lay/modules/"
+ base: baseUrl + "/static/wms/layui/lay/modules/"
}).extend({
notice: 'notice/notice',
}).use(['index', 'element', 'layer', 'admin', 'notice'], function () {
diff --git a/src/main/webapp/views/login.html b/src/main/webapp/views/login.html
index 34bade7..19e17dc 100644
--- a/src/main/webapp/views/login.html
+++ b/src/main/webapp/views/login.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
- <title>HTML5 Canvas鐭╅樀绮掑瓙娉㈡氮鑳屾櫙鍔ㄧ敾鐗规晥</title>
+ <title>涓壃 鈹� login of zoneyung wcs</title>
<style>
html,body {
@@ -148,7 +148,7 @@
<div class="waves">
<div style="position: absolute;left: calc(50% - 200px);top: 25%;">
<div class="form_main">
- <p style="text-align: center;"><img src="../static/image/logo.png" alt="" style="width: 80%"></p>
+ <p style="text-align: center;"><img src="../static/wcs/images/logo.png" alt="" style="width: 80%"></p>
<p style="margin-top: -15px;"><span class="login100-form-title p-t-20 p-b-45" style="color: #868686;font-size: 24px">WCS</span></p>
<div class="inputContainer">
<svg viewBox="0 0 16 16" fill="#2e2e2e" height="16" width="16" xmlns="http://www.w3.org/2000/svg" class="inputIcon">
@@ -733,10 +733,10 @@
} )
</script>
-<script type="text/javascript" src="../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script type="text/javascript" src="../static/js/tools/md5.js"></script>
-<script type="text/javascript" src="../static/layer/layer.js"></script>
-<script type="text/javascript" src="../static/js/common.js"></script>
+<script type="text/javascript" src="../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../static/wms/js/tools/md5.js"></script>
+<script type="text/javascript" src="../static/wms/layer/layer.js"></script>
+<script type="text/javascript" src="../static/wms/js/common.js"></script>
<script>
// remember pwd
$(function () {
diff --git a/src/main/webapp/views/operateLog/operateLog.html b/src/main/webapp/views/operateLog/operateLog.html
index 827ece5..92a7ce5 100644
--- a/src/main/webapp/views/operateLog/operateLog.html
+++ b/src/main/webapp/views/operateLog/operateLog.html
@@ -6,9 +6,9 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="../../static/css/cool.css" media="all">
- <link rel="stylesheet" href="../../static/css/common.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/cool.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/common.css" media="all">
</head>
<body>
@@ -57,11 +57,11 @@
<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">璇︽儏</a>
</script>
-<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/operateLog/operateLog.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../../static/wms/layui/layui.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/common.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/cool.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/operateLog/operateLog.js" charset="utf-8"></script>
<iframe id="detail-iframe" scrolling="auto" style="display:none;"></iframe>
diff --git a/src/main/webapp/views/password.html b/src/main/webapp/views/password.html
index 70c14d5..3473375 100644
--- a/src/main/webapp/views/password.html
+++ b/src/main/webapp/views/password.html
@@ -6,7 +6,7 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../static/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../static/wms/layui/css/layui.css" media="all">
<style>
#password-div {
padding: 20px 20px 20px 13px;
@@ -62,10 +62,10 @@
</div>
</div>
</body>
-<script type="text/javascript" src="../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script type="text/javascript" src="../static/js/tools/md5.js"></script>
-<script type="text/javascript" src="../static/js/common.js" charset="utf-8"></script>
-<script src="../static/layui/layui.js"></script>
+<script type="text/javascript" src="../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../static/wms/js/tools/md5.js"></script>
+<script type="text/javascript" src="../static/wms/js/common.js" charset="utf-8"></script>
+<script src="../static/wms/layui/layui.js"></script>
<script>
layui.use(['form'], function() {
var form = layui.form,
diff --git a/src/main/webapp/views/permission/permission.html b/src/main/webapp/views/permission/permission.html
index 7e2f98b..b8fc73e 100644
--- a/src/main/webapp/views/permission/permission.html
+++ b/src/main/webapp/views/permission/permission.html
@@ -6,9 +6,9 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="../../static/css/cool.css" media="all">
- <link rel="stylesheet" href="../../static/css/common.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/cool.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/common.css" media="all">
</head>
<body>
@@ -53,11 +53,11 @@
<a class="layui-btn layui-btn-xs btn-edit" lay-event="edit">缂栬緫</a>
</script>
-<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/permission/permission.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../../static/wms/layui/layui.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/common.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/cool.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/permission/permission.js" charset="utf-8"></script>
<iframe id="detail-iframe" scrolling="auto" style="display:none;"></iframe>
diff --git a/src/main/webapp/views/permission/permission_detail.html b/src/main/webapp/views/permission/permission_detail.html
index a238eaf..0fd97db 100644
--- a/src/main/webapp/views/permission/permission_detail.html
+++ b/src/main/webapp/views/permission/permission_detail.html
@@ -6,9 +6,9 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="../../static/css/cool.css" media="all">
- <link rel="stylesheet" href="../../static/css/common.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/cool.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/common.css" media="all">
</head>
<body>
@@ -70,10 +70,10 @@
</form>
</div>
</body>
-<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/permission/permission.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../../static/wms/layui/layui.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/common.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/cool.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/permission/permission.js" charset="utf-8"></script>
</html>
diff --git a/src/main/webapp/views/report/locDetl.html b/src/main/webapp/views/report/locDetl.html
index 9e3ee3d..cda120c 100644
--- a/src/main/webapp/views/report/locDetl.html
+++ b/src/main/webapp/views/report/locDetl.html
@@ -6,9 +6,9 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="../../static/css/cool.css" media="all">
- <link rel="stylesheet" href="../../static/css/common.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/cool.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/common.css" media="all">
<style>
.layui-table-body.layui-table-main{
overflow: auto; !important;
@@ -24,11 +24,11 @@
</div>
<table class="layui-hide" id="locDetlByMap" lay-filter="locDetlByMap"></table>
</body>
-<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/locMast/locMast.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../../static/wms/layui/layui.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/common.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/cool.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/locMast/locMast.js" charset="utf-8"></script>
<script type="text/javascript">
var pageCur;
function getCol() {
diff --git a/src/main/webapp/views/report/viewInOut.html b/src/main/webapp/views/report/viewInOut.html
index 440e00d..18605a4 100644
--- a/src/main/webapp/views/report/viewInOut.html
+++ b/src/main/webapp/views/report/viewInOut.html
@@ -6,9 +6,9 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="../../static/css/cool.css" media="all">
- <link rel="stylesheet" href="../../static/css/common.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/cool.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/common.css" media="all">
<style>
#btn-export {
margin-top: 10px;
@@ -44,11 +44,11 @@
<script type="text/html" id="operate">
</script>
-<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/report/inOut.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../../static/wms/layui/layui.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/common.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/cool.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/report/inOut.js" charset="utf-8"></script>
</body>
</html>
diff --git a/src/main/webapp/views/report/viewLocMap.html b/src/main/webapp/views/report/viewLocMap.html
index b2a54a0..39edfe1 100644
--- a/src/main/webapp/views/report/viewLocMap.html
+++ b/src/main/webapp/views/report/viewLocMap.html
@@ -6,9 +6,9 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="../../static/css/cool.css" media="all">
- <link rel="stylesheet" href="../../static/css/common.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/cool.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/common.css" media="all">
<style>
#locMapContain {
overflow-x: auto;
@@ -95,12 +95,12 @@
{{/each}}
</tbody>
</script>
-<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/handlebars/handlebars-v4.5.3.js"></script>
-<script type="text/javascript" src="../../static/js/report/locMap.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../../static/wms/layui/layui.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/common.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/cool.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/handlebars/handlebars-v4.5.3.js"></script>
+<script type="text/javascript" src="../../static/wms/js/report/locMap.js" charset="utf-8"></script>
</body>
<script type="text/template" id="locMastRowTemplate">
{{#each data}}
diff --git a/src/main/webapp/views/report/viewStayTime.html b/src/main/webapp/views/report/viewStayTime.html
index 6269cce..050f72b 100644
--- a/src/main/webapp/views/report/viewStayTime.html
+++ b/src/main/webapp/views/report/viewStayTime.html
@@ -6,9 +6,9 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="../../static/css/cool.css" media="all">
- <link rel="stylesheet" href="../../static/css/common.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/cool.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/common.css" media="all">
<style>
#btn-export {
margin-top: 10px;
@@ -42,11 +42,11 @@
<script type="text/html" id="operate">
</script>
-<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/report/stayTime.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../../static/wms/layui/layui.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/common.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/cool.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/report/stayTime.js" charset="utf-8"></script>
</body>
</html>
diff --git a/src/main/webapp/views/report/viewStockUse.html b/src/main/webapp/views/report/viewStockUse.html
index 34825c2..63934b1 100644
--- a/src/main/webapp/views/report/viewStockUse.html
+++ b/src/main/webapp/views/report/viewStockUse.html
@@ -6,9 +6,9 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="../../static/css/cool.css" media="all">
- <link rel="stylesheet" href="../../static/css/common.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/cool.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/common.css" media="all">
<style>
#btn-export {
margin-top: 10px;
@@ -32,11 +32,11 @@
<script type="text/html" id="operate">
</script>
-<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/report/reportStockUse.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../../static/wms/layui/layui.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/common.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/cool.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/report/reportStockUse.js" charset="utf-8"></script>
</body>
</html>
diff --git a/src/main/webapp/views/report/viewWorkCountIn.html b/src/main/webapp/views/report/viewWorkCountIn.html
index 0b183b8..eb8b9b6 100644
--- a/src/main/webapp/views/report/viewWorkCountIn.html
+++ b/src/main/webapp/views/report/viewWorkCountIn.html
@@ -6,9 +6,9 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="../../static/css/cool.css" media="all">
- <link rel="stylesheet" href="../../static/css/common.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/cool.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/common.css" media="all">
<style>
#btn-export {
margin-top: 10px;
@@ -53,11 +53,11 @@
<script type="text/html" id="operate">
</script>
-<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/report/workCountIn.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../../static/wms/layui/layui.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/common.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/cool.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/report/workCountIn.js" charset="utf-8"></script>
</body>
</html>
diff --git a/src/main/webapp/views/report/viewWorkCountOut.html b/src/main/webapp/views/report/viewWorkCountOut.html
index d42c553..4605afd 100644
--- a/src/main/webapp/views/report/viewWorkCountOut.html
+++ b/src/main/webapp/views/report/viewWorkCountOut.html
@@ -6,9 +6,9 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="../../static/css/cool.css" media="all">
- <link rel="stylesheet" href="../../static/css/common.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/cool.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/common.css" media="all">
<style>
#btn-export {
margin-top: 10px;
@@ -54,11 +54,11 @@
<script type="text/html" id="operate">
</script>
-<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/report/workCountOut.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../../static/wms/layui/layui.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/common.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/cool.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/report/workCountOut.js" charset="utf-8"></script>
</body>
</html>
diff --git a/src/main/webapp/views/report/viewWorkIn.html b/src/main/webapp/views/report/viewWorkIn.html
index dca05aa..6bf4d1b 100644
--- a/src/main/webapp/views/report/viewWorkIn.html
+++ b/src/main/webapp/views/report/viewWorkIn.html
@@ -6,9 +6,9 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="../../static/css/cool.css" media="all">
- <link rel="stylesheet" href="../../static/css/common.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/cool.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/common.css" media="all">
<style>
#btn-export {
margin-top: 10px;
@@ -51,11 +51,11 @@
<script type="text/html" id="operate">
</script>
-<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/report/workIn.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../../static/wms/layui/layui.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/common.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/cool.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/report/workIn.js" charset="utf-8"></script>
</body>
</html>
diff --git a/src/main/webapp/views/report/viewWorkOut.html b/src/main/webapp/views/report/viewWorkOut.html
index bde3a5e..21c3cdc 100644
--- a/src/main/webapp/views/report/viewWorkOut.html
+++ b/src/main/webapp/views/report/viewWorkOut.html
@@ -6,9 +6,9 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="../../static/css/cool.css" media="all">
- <link rel="stylesheet" href="../../static/css/common.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/cool.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/common.css" media="all">
<style>
#btn-export {
margin-top: 10px;
@@ -51,11 +51,11 @@
<script type="text/html" id="operate">
</script>
-<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/report/workOut.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../../static/wms/layui/layui.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/common.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/cool.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/report/workOut.js" charset="utf-8"></script>
</body>
</html>
diff --git a/src/main/webapp/views/resource/resource.html b/src/main/webapp/views/resource/resource.html
index 099bceb..75a721a 100644
--- a/src/main/webapp/views/resource/resource.html
+++ b/src/main/webapp/views/resource/resource.html
@@ -6,10 +6,10 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="../../static/css/admin.css?v=318" media="all">
- <link rel="stylesheet" href="../../static/css/cool.css" media="all">
- <link rel="stylesheet" href="../../static/css/common.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/admin.css?v=318" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/cool.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/common.css" media="all">
<style>
#detail {
padding: 25px 30px 0 0;
@@ -120,14 +120,14 @@
<span name="level" class="layui-badge layui-badge-gray">鎸夐挳</span>
{{# } }}
</script>
-<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../../static/wms/layui/layui.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/common.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/cool.js" charset="utf-8"></script>
<script>
layui.config({
- base: baseUrl + "/static/layui/lay/modules/"
+ base: baseUrl + "/static/wms/layui/lay/modules/"
}).use(['form','treeTable', 'admin', 'xmSelect'], function() {
var $ = layui.jquery;
var layer = layui.layer;
diff --git a/src/main/webapp/views/role/role.html b/src/main/webapp/views/role/role.html
index 0023b90..9295b47 100644
--- a/src/main/webapp/views/role/role.html
+++ b/src/main/webapp/views/role/role.html
@@ -6,9 +6,9 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="../../static/css/cool.css" media="all">
- <link rel="stylesheet" href="../../static/css/common.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/cool.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/common.css" media="all">
</head>
<body>
@@ -47,11 +47,11 @@
<a class="layui-btn layui-btn-xs btn-edit" lay-event="edit">缂栬緫</a>
</script>
-<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/role/role.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../../static/wms/layui/layui.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/common.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/cool.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/role/role.js" charset="utf-8"></script>
<iframe id="detail-iframe" scrolling="auto" style="display:none;"></iframe>
diff --git a/src/main/webapp/views/role/role_detail.html b/src/main/webapp/views/role/role_detail.html
index e9dfa73..9f43f10 100644
--- a/src/main/webapp/views/role/role_detail.html
+++ b/src/main/webapp/views/role/role_detail.html
@@ -6,9 +6,9 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="../../static/css/cool.css" media="all">
- <link rel="stylesheet" href="../../static/css/common.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/cool.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/common.css" media="all">
</head>
<body>
@@ -73,10 +73,10 @@
</form>
</div>
</body>
-<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/role/role.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../../static/wms/layui/layui.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/common.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/cool.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/role/role.js" charset="utf-8"></script>
</html>
diff --git a/src/main/webapp/views/role/role_power_detail.html b/src/main/webapp/views/role/role_power_detail.html
index b40a41f..479836e 100644
--- a/src/main/webapp/views/role/role_power_detail.html
+++ b/src/main/webapp/views/role/role_power_detail.html
@@ -6,8 +6,8 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="../../static/css/common.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/common.css" media="all">
</head>
<style>
#power {
@@ -29,9 +29,9 @@
</form>
</div>
</body>
-<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/common.js"></script>
-<script type="text/javascript" src="../../static/js/role/rolePower.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../../static/wms/layui/layui.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/common.js"></script>
+<script type="text/javascript" src="../../static/wms/js/role/rolePower.js" charset="utf-8"></script>
</html>
diff --git a/src/main/webapp/views/stoMan/stoQue.html b/src/main/webapp/views/stoMan/stoQue.html
index 897b0dc..651010f 100644
--- a/src/main/webapp/views/stoMan/stoQue.html
+++ b/src/main/webapp/views/stoMan/stoQue.html
@@ -6,9 +6,9 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="../../static/css/cool.css" media="all">
- <link rel="stylesheet" href="../../static/css/common.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/cool.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/common.css" media="all">
<style>
#btn-export {
}
@@ -75,11 +75,11 @@
<table class="layui-hide" id="locDetlByMap" lay-filter="locDetlByMap"></table>
</div>
-<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/stoMan/stoQue.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../../static/wms/layui/layui.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/common.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/cool.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/stoMan/stoQue.js" charset="utf-8"></script>
</body>
</html>
diff --git a/src/main/webapp/views/user/user.html b/src/main/webapp/views/user/user.html
index d2611c8..ef2d052 100644
--- a/src/main/webapp/views/user/user.html
+++ b/src/main/webapp/views/user/user.html
@@ -6,10 +6,10 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="../../static/css/admin.css?v=318" media="all">
- <link rel="stylesheet" href="../../static/css/cool.css" media="all">
- <link rel="stylesheet" href="../../static/css/originTable.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/admin.css?v=318" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/cool.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/originTable.css" media="all">
<style>
body {
color: #595959;
@@ -147,13 +147,13 @@
</form>
</script>
-<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script type="text/javascript" src="../../static/js/handlebars/handlebars-v4.5.3.js"></script>
-<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/tools/md5.js"></script>
-<script type="text/javascript" src="../../static/js/user/user.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../../static/wms/js/handlebars/handlebars-v4.5.3.js"></script>
+<script type="text/javascript" src="../../static/wms/layui/layui.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/common.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/cool.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/tools/md5.js"></script>
+<script type="text/javascript" src="../../static/wms/js/user/user.js" charset="utf-8"></script>
<!-- 椤圭洰缂栬緫绐楀彛 -->
<script type="text/html" id="hostEditDialog">
diff --git a/src/main/webapp/views/user/user_detail.html b/src/main/webapp/views/user/user_detail.html
index e5213f4..2da11e5 100644
--- a/src/main/webapp/views/user/user_detail.html
+++ b/src/main/webapp/views/user/user_detail.html
@@ -6,9 +6,9 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="../../static/css/cool.css" media="all">
- <link rel="stylesheet" href="../../static/css/common.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/cool.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/common.css" media="all">
</head>
<body>
@@ -77,11 +77,11 @@
</form>
</div>
</body>
-<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/tools/md5.js"></script>
-<script type="text/javascript" src="../../static/js/user/user.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../../static/wms/layui/layui.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/common.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/cool.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/tools/md5.js"></script>
+<script type="text/javascript" src="../../static/wms/js/user/user.js" charset="utf-8"></script>
</html>
diff --git a/src/main/webapp/views/userLogin/userLogin.html b/src/main/webapp/views/userLogin/userLogin.html
index f2060b8..aedc533 100644
--- a/src/main/webapp/views/userLogin/userLogin.html
+++ b/src/main/webapp/views/userLogin/userLogin.html
@@ -6,9 +6,9 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="../../static/css/cool.css" media="all">
- <link rel="stylesheet" href="../../static/css/common.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/cool.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/common.css" media="all">
</head>
<body>
@@ -48,11 +48,11 @@
<a class="layui-btn layui-btn-xs btn-edit" lay-event="edit">缂栬緫</a>
</script>
-<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/userLogin/userLogin.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../../static/wms/layui/layui.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/common.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/cool.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/userLogin/userLogin.js" charset="utf-8"></script>
<iframe id="detail-iframe" scrolling="auto" style="display:none;"></iframe>
diff --git a/src/main/webapp/views/userLogin/userLogin_detail.html b/src/main/webapp/views/userLogin/userLogin_detail.html
index 4309891..0b04e88 100644
--- a/src/main/webapp/views/userLogin/userLogin_detail.html
+++ b/src/main/webapp/views/userLogin/userLogin_detail.html
@@ -6,9 +6,9 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="../../static/css/cool.css" media="all">
- <link rel="stylesheet" href="../../static/css/common.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/cool.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/common.css" media="all">
</head>
<body>
@@ -60,10 +60,10 @@
</form>
</div>
</body>
-<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/userLogin/userLogin.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../../static/wms/layui/layui.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/common.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/cool.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/userLogin/userLogin.js" charset="utf-8"></script>
</html>
diff --git a/src/main/webapp/views/wrkMastLog/wrkDetlLog.html b/src/main/webapp/views/wrkMastLog/wrkDetlLog.html
index a279de3..acbb2b8 100644
--- a/src/main/webapp/views/wrkMastLog/wrkDetlLog.html
+++ b/src/main/webapp/views/wrkMastLog/wrkDetlLog.html
@@ -6,9 +6,9 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="../../static/css/cool.css" media="all">
- <link rel="stylesheet" href="../../static/css/common.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/cool.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/common.css" media="all">
<style>
</style>
</head>
@@ -28,11 +28,11 @@
<table class="layui-hide" id="wrkDetlLogByMast" lay-filter="wrkDetlLogByMast"></table>
</body>
-<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/locMast/locMast.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../../static/wms/layui/layui.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/common.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/cool.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/locMast/locMast.js" charset="utf-8"></script>
<script type="text/javascript">
var pageCur;
function getCol() {
diff --git a/src/main/webapp/views/wrkMastLog/wrkMastLog.html b/src/main/webapp/views/wrkMastLog/wrkMastLog.html
index fdaa517..8fe79b7 100644
--- a/src/main/webapp/views/wrkMastLog/wrkMastLog.html
+++ b/src/main/webapp/views/wrkMastLog/wrkMastLog.html
@@ -6,9 +6,9 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="../../static/css/cool.css" media="all">
- <link rel="stylesheet" href="../../static/css/common.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/cool.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/common.css" media="all">
</head>
<body>
<!-- 鎼滅储鏍� -->
@@ -85,11 +85,11 @@
<!-- <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">璇︽儏</a>-->
</script>
-<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/wrkMastLog/wrkMastLog.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../../static/wms/layui/layui.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/common.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/cool.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/wrkMastLog/wrkMastLog.js" charset="utf-8"></script>
<iframe id="detail-iframe" scrolling="auto" style="display:none;"></iframe>
diff --git a/src/main/webapp/views/wrkMastLog/wrkMastLog_detail.html b/src/main/webapp/views/wrkMastLog/wrkMastLog_detail.html
index c6807ff..c909462 100644
--- a/src/main/webapp/views/wrkMastLog/wrkMastLog_detail.html
+++ b/src/main/webapp/views/wrkMastLog/wrkMastLog_detail.html
@@ -6,9 +6,9 @@
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
- <link rel="stylesheet" href="../../static/css/cool.css" media="all">
- <link rel="stylesheet" href="../../static/css/common.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/layui/css/layui.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/cool.css" media="all">
+ <link rel="stylesheet" href="../../static/wms/css/common.css" media="all">
</head>
<body>
@@ -187,10 +187,10 @@
</form>
</div>
</body>
-<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/wrkMastLog/wrkMastLog.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../../static/wms/layui/layui.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/common.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/cool.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/wms/js/wrkMastLog/wrkMastLog.js" charset="utf-8"></script>
</html>
--
Gitblit v1.9.1