Commit 1e768a44164ff15045cb46a62b67325bdf15bf3a
1 parent
160a14d6
移动端线调适配
Showing
107 changed files
with
49579 additions
and
8 deletions
Too many changes to show.
To preserve performance only 107 of 336 files are displayed.
src/main/java/com/bsth/common/Constants.java
| ... | ... | @@ -20,6 +20,8 @@ public class Constants { |
| 20 | 20 | public static final String METRONIC_URL = "/metronic_v4.5.4/**"; |
| 21 | 21 | public static final String LOGIN_FAILURE = "/user/loginFailure"; |
| 22 | 22 | public static final String CAPTCHA = "/captcha.jpg"; |
| 23 | + public static final String XIANDIAO_LOGIN = "/xdlogin.html"; | |
| 24 | + public static final String IPAD_IMG_URL = "/apple-touch-icon-72x72.png"; | |
| 23 | 25 | |
| 24 | 26 | //对外的营运数据接口 |
| 25 | 27 | public static final String SERVICE_INTERFACE = "/companyService/**"; | ... | ... |
src/main/java/com/bsth/controller/realcontrol/PageForwardingController.java
| ... | ... | @@ -6,10 +6,12 @@ import com.bsth.security.util.SecurityUtils; |
| 6 | 6 | import org.slf4j.Logger; |
| 7 | 7 | import org.slf4j.LoggerFactory; |
| 8 | 8 | import org.springframework.stereotype.Controller; |
| 9 | +import org.springframework.web.bind.annotation.PathVariable; | |
| 9 | 10 | import org.springframework.web.bind.annotation.RequestMapping; |
| 10 | 11 | import org.springframework.web.servlet.ModelAndView; |
| 11 | 12 | |
| 12 | 13 | import javax.servlet.http.HttpServletResponse; |
| 14 | +import javax.ws.rs.Path; | |
| 13 | 15 | |
| 14 | 16 | /** |
| 15 | 17 | * 线调登入页面转发 |
| ... | ... | @@ -21,7 +23,7 @@ public class PageForwardingController { |
| 21 | 23 | |
| 22 | 24 | Logger logger = LoggerFactory.getLogger(this.getClass()); |
| 23 | 25 | |
| 24 | - @RequestMapping("/v2") | |
| 26 | + /*@RequestMapping("/v2") | |
| 25 | 27 | public ModelAndView v2(HttpServletResponse response){ |
| 26 | 28 | ModelAndView mv = new ModelAndView(); |
| 27 | 29 | SysUser user = SecurityUtils.getCurrentUser(); |
| ... | ... | @@ -50,5 +52,42 @@ public class PageForwardingController { |
| 50 | 52 | //正常线调主页 |
| 51 | 53 | mv.setViewName("/real_control_v2/main.html"); |
| 52 | 54 | return mv; |
| 55 | + }*/ | |
| 56 | + | |
| 57 | + @RequestMapping("/{type}") | |
| 58 | + public ModelAndView v2(@PathVariable("type") String type, HttpServletResponse response){ | |
| 59 | + ModelAndView mv = new ModelAndView(); | |
| 60 | + SysUser user = SecurityUtils.getCurrentUser(); | |
| 61 | + | |
| 62 | + //班次管理员 | |
| 63 | + if(user.getUserName().equals("bcgly")){ | |
| 64 | + mv.setViewName("/real_control_v2/sch_manage/sch_imitate.html"); | |
| 65 | + return mv; | |
| 66 | + } | |
| 67 | + | |
| 68 | + try{ | |
| 69 | + //闵行运管所,直接打开地图页面 | |
| 70 | + if(user.getRoles().size() == 1){ | |
| 71 | + for(Role role : user.getRoles()){ | |
| 72 | + if(role.getCodeName().equals("MH_YGS")){ | |
| 73 | + // 直接重定向 | |
| 74 | + response.sendRedirect("/pages/mapmonitor/alone/wrap.html"); | |
| 75 | + return null; | |
| 76 | + } | |
| 77 | + } | |
| 78 | + } | |
| 79 | + }catch (Exception e){ | |
| 80 | + logger.error("", e); | |
| 81 | + } | |
| 82 | + | |
| 83 | + | |
| 84 | + if(type.equals("v2_mobile")){ | |
| 85 | + mv.setViewName("/real_control_v2_mobile/main.html"); | |
| 86 | + }else{ | |
| 87 | + //正常线调主页 | |
| 88 | + mv.setViewName("/real_control_v2/main.html"); | |
| 89 | + } | |
| 90 | + | |
| 91 | + return mv; | |
| 53 | 92 | } |
| 54 | 93 | } | ... | ... |
src/main/java/com/bsth/filter/BaseFilter.java
| ... | ... | @@ -17,7 +17,7 @@ public abstract class BaseFilter implements Filter { |
| 17 | 17 | * 白名单 |
| 18 | 18 | */ |
| 19 | 19 | private String[] whiteListURLs = { Constants.LOGIN_PAGE,Constants.CAPTCHA, Constants.SERVICE_INTERFACE, |
| 20 | - Constants.ASSETS_URL, Constants.FAVICON_URL, Constants.METRONIC_URL, Constants.LOGIN, Constants.LOGIN_FAILURE, Constants.UPSTREAM_URL, Constants.XD_CHILD_PAGES, Constants.XD_REAL_GPS, Constants.UP_RFID_URL, Constants.STATION_AND_SECTION_COUNT }; | |
| 20 | + Constants.ASSETS_URL, Constants.FAVICON_URL, Constants.METRONIC_URL, Constants.LOGIN, Constants.LOGIN_FAILURE, Constants.UPSTREAM_URL, Constants.XD_CHILD_PAGES, Constants.XD_REAL_GPS, Constants.UP_RFID_URL, Constants.STATION_AND_SECTION_COUNT,Constants.XIANDIAO_LOGIN ,Constants.IPAD_IMG_URL}; | |
| 21 | 21 | |
| 22 | 22 | @Override |
| 23 | 23 | public void destroy() { | ... | ... |
src/main/java/com/bsth/security/filter/LoginInterceptor.java
| ... | ... | @@ -33,7 +33,7 @@ public class LoginInterceptor implements Filter { |
| 33 | 33 | * 相比于 BaseFilter,此处对线调GPS请求进行了拦截验证 |
| 34 | 34 | */ |
| 35 | 35 | private String[] whiteListURLs = { Constants.LOGIN_PAGE,Constants.CAPTCHA, Constants.SERVICE_INTERFACE, |
| 36 | - Constants.ASSETS_URL, Constants.FAVICON_URL, Constants.METRONIC_URL, Constants.LOGIN, Constants.LOGIN_FAILURE, Constants.UPSTREAM_URL, Constants.XD_CHILD_PAGES, Constants.UP_RFID_URL,Constants.STATION_AND_SECTION_COUNT }; | |
| 36 | + Constants.ASSETS_URL, Constants.FAVICON_URL, Constants.METRONIC_URL, Constants.LOGIN, Constants.LOGIN_FAILURE, Constants.UPSTREAM_URL, Constants.XD_CHILD_PAGES, Constants.UP_RFID_URL,Constants.STATION_AND_SECTION_COUNT,Constants.XIANDIAO_LOGIN,Constants.IPAD_IMG_URL }; | |
| 37 | 37 | |
| 38 | 38 | |
| 39 | 39 | @Override | ... | ... |
src/main/resources/static/apple-touch-icon-72x72.png
0 → 100644
17 KB
src/main/resources/static/pages/control/lineallot_v2/main.html
| ... | ... | @@ -299,11 +299,11 @@ |
| 299 | 299 | } |
| 300 | 300 | }); |
| 301 | 301 | |
| 302 | - $('.checked_list').on('click', '.item', function () { | |
| 302 | + /*$('.checked_list').on('click', '.item', function () { | |
| 303 | 303 | var lineCode = $(this).data('id'); |
| 304 | 304 | $('.item[data-id='+lineCode+']','.line_list_all_wrap').removeClass('active'); |
| 305 | 305 | $(this).remove(); |
| 306 | - }); | |
| 306 | + });*/ | |
| 307 | 307 | |
| 308 | 308 | /** |
| 309 | 309 | * 搜索线路 |
| ... | ... | @@ -492,9 +492,15 @@ |
| 492 | 492 | //进入线调 |
| 493 | 493 | var eq = EventProxy.create('cache_route', 'check_line_config', function () { |
| 494 | 494 | var newWinOpen = $('input','.new_window_open_label')[0].checked; |
| 495 | - if(!newWinOpen) | |
| 495 | + if(!newWinOpen){ | |
| 496 | 496 | top.window.location.href = "/real_control/v2"; |
| 497 | - else{ | |
| 497 | + /*if ((navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i))) { | |
| 498 | + //移动端 | |
| 499 | + top.window.location.href = "/real_control/mobile_v2"; | |
| 500 | + }else{ | |
| 501 | + top.window.location.href = "/real_control/v2"; | |
| 502 | + }*/ | |
| 503 | + }else{ | |
| 498 | 504 | window.open("/real_control/v2"); |
| 499 | 505 | $('#go_to_real_system_btn').html('已经尝试打开新窗口,如看不到,可能被浏览器阻止了'); |
| 500 | 506 | } |
| ... | ... | @@ -570,6 +576,39 @@ |
| 570 | 576 | function show_btn_load(btn, msg) { |
| 571 | 577 | $(btn).html('<div uk-spinner></div> ' + msg); |
| 572 | 578 | } |
| 579 | + | |
| 580 | + window.onload = function () { | |
| 581 | + if ((navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i))) { | |
| 582 | + goPAGE(); | |
| 583 | + $('.checked_list').on('touchstart', '.item', function () { | |
| 584 | + itemDataIdRemoveClass($(this)); | |
| 585 | + }); | |
| 586 | + }else{ | |
| 587 | + $('.checked_list').on('click', '.item', function () { | |
| 588 | + itemDataIdRemoveClass($(this)); | |
| 589 | + }); | |
| 590 | + } | |
| 591 | + | |
| 592 | + } | |
| 593 | + | |
| 594 | + /** | |
| 595 | + * 如何使移动端修改按钮文字 | |
| 596 | + */ | |
| 597 | + function goPAGE() { | |
| 598 | + $("#go_to_real_system_btn")[0].innerText = "进入移动端线调系统"; | |
| 599 | + $.each($("#go_to_real_system_btn").siblings(),function(i,el){ | |
| 600 | + if(i === 1) $(el).css({'display':'none'}); | |
| 601 | + }); | |
| 602 | + } | |
| 603 | + | |
| 604 | + /** | |
| 605 | + * 移除選中的車 | |
| 606 | + */ | |
| 607 | + function itemDataIdRemoveClass(e) { | |
| 608 | + var lineCode = $(e).data('id'); | |
| 609 | + $('.item[data-id='+lineCode+']','.line_list_all_wrap').removeClass('active'); | |
| 610 | + $(e).remove(); | |
| 611 | + } | |
| 573 | 612 | </script> |
| 574 | 613 | </body> |
| 575 | 614 | </html> |
| 576 | 615 | \ No newline at end of file | ... | ... |
src/main/resources/static/pages/forms/statement/waybillQp.html
| ... | ... | @@ -14,6 +14,9 @@ |
| 14 | 14 | |
| 15 | 15 | .table > tbody + tbody { |
| 16 | 16 | border-top: 1px solid; } |
| 17 | + .table { | |
| 18 | + width: 90%; | |
| 19 | + } | |
| 17 | 20 | </style> |
| 18 | 21 | |
| 19 | 22 | <div class="page-head"> |
| ... | ... | @@ -47,7 +50,7 @@ |
| 47 | 50 | <div class="portlet-body"> |
| 48 | 51 | <div class="row"> |
| 49 | 52 | <div class="col-md-2"> |
| 50 | - <div class="" style="margin-top: 10px;overflow:auto;height: 860px"> | |
| 53 | + <div class="" style="margin-top: 10px;overflow:auto;/*height: 860px*/"> | |
| 51 | 54 | <table class="table table-bordered table-hover table-checkable pre-scrollable" id="info"> |
| 52 | 55 | <thead> |
| 53 | 56 | <tr class="hidden"> | ... | ... |
src/main/resources/static/real_control_v2_mobile/alone_page/home/alone_data_basic.js
0 → 100644
| 1 | +/* 基础数据管理模块 */ | |
| 2 | + | |
| 3 | +var gb_data_basic = (function () { | |
| 4 | + | |
| 5 | + var stationRoutes, lineCode2NameAll, lineInformations, nbbm2deviceMap, device2nbbmMap, allPersonnel, svgAttrs; | |
| 6 | + var ep = EventProxy.create("stationRoutes", "lineCode2Name", "lineInformations", "nbbm2deviceId", "all_personnel", "svg_attrs" | |
| 7 | + , function (routes, code2Name, informations, nbbm2device, all_personnel, svgAttrMap) { | |
| 8 | + stationRoutes = routes; | |
| 9 | + lineCode2NameAll = code2Name; | |
| 10 | + lineInformations = informations; | |
| 11 | + nbbm2deviceMap = nbbm2device; | |
| 12 | + device2nbbmMap = gb_common.inverse(nbbm2deviceMap); | |
| 13 | + allPersonnel = all_personnel; | |
| 14 | + svgAttrs = svgAttrMap; | |
| 15 | + | |
| 16 | + res_load_ep.emitLater('data-basic'); | |
| 17 | + }); | |
| 18 | + | |
| 19 | + var storage = window.localStorage; | |
| 20 | + //激活的线路 | |
| 21 | + var activeLines = JSON.parse(storage.getItem('lineControlItems')); | |
| 22 | + //lineCode to line object | |
| 23 | + var codeToLine = {}; | |
| 24 | + //lineCode idx string | |
| 25 | + var line_idx = (function () { | |
| 26 | + var str = ''; | |
| 27 | + for (var i = 0, item; item = activeLines[i++];) { | |
| 28 | + str += (',' + item.lineCode); | |
| 29 | + codeToLine[item.lineCode] = item; | |
| 30 | + } | |
| 31 | + return str.substr(1); | |
| 32 | + })(); | |
| 33 | + | |
| 34 | + //站点路由 | |
| 35 | + gb_common.$get('/stationroute/multiLine', {lineIds: line_idx}, function (rs) { | |
| 36 | + var list = rs.list;//JSON.parse(rs.list); | |
| 37 | + var routeData = gb_common.groupBy(list, 'lineCode'); | |
| 38 | + //排序 | |
| 39 | + for (var lineCode in routeData) { | |
| 40 | + routeData[lineCode].sort(stationRouteSort); | |
| 41 | + } | |
| 42 | + ep.emit('stationRoutes', routeData); | |
| 43 | + }); | |
| 44 | + | |
| 45 | + //线路标准信息 | |
| 46 | + /*gb_common.$get('/lineInformation/line/multi', {lineCodes: line_idx}, function (rs) { | |
| 47 | + var informations = {}; | |
| 48 | + $.each(rs, function () { | |
| 49 | + informations[this.line.lineCode] = this; | |
| 50 | + delete this['line']; | |
| 51 | + }); | |
| 52 | + ep.emit('lineInformations', informations); | |
| 53 | + });*/ | |
| 54 | + ep.emit('lineInformations', {}); | |
| 55 | + | |
| 56 | + //人员信息 | |
| 57 | + ep.emit('all_personnel', {}); | |
| 58 | + /*loadAllPersonnel(function (data) { | |
| 59 | + ep.emit('all_personnel', data); | |
| 60 | + }); | |
| 61 | + function loadAllPersonnel(cb) { | |
| 62 | + $.get('/personnel/all_py', function (rs) { | |
| 63 | + //转换成自动补全组件需要的数据 | |
| 64 | + var data = [], code; | |
| 65 | + for(var i =0, p; p = rs[i++];){ | |
| 66 | + code = p['workId'].indexOf('-')!=-1?p['workId'].split('-')[1]:p['workId']; | |
| 67 | + data.push({ | |
| 68 | + value: code + '/' + p.name, | |
| 69 | + fullChars: p.fullChars.toUpperCase(), | |
| 70 | + camelChars: p.camelChars.toUpperCase() | |
| 71 | + }); | |
| 72 | + } | |
| 73 | + cb && cb(data); | |
| 74 | + }); | |
| 75 | + }*/ | |
| 76 | + | |
| 77 | + var carparks = {}; | |
| 78 | + //停车场数据 | |
| 79 | +/* gb_common.$get('/realMap/carParkSpatialData', {}, function (rs) { | |
| 80 | + rs.list.sort(function (a, b) { | |
| 81 | + return a.parkName.localeCompare(b.parkName); | |
| 82 | + }); | |
| 83 | + $.each(rs.list, function () { | |
| 84 | + carparks[this.parkCode] = this; | |
| 85 | + }); | |
| 86 | + });*/ | |
| 87 | + | |
| 88 | + //车辆数据 | |
| 89 | + var carsArray; | |
| 90 | + /*$.get('/basic/cars?t=' + Math.random(), function (rs) { | |
| 91 | + carsArray = rs; | |
| 92 | + });*/ | |
| 93 | + | |
| 94 | + var getCarparkByCode = function (code) { | |
| 95 | + return carparks[code]; | |
| 96 | + }; | |
| 97 | + | |
| 98 | + //line code to name | |
| 99 | + $.get('/basic/lineCode2Name', function (rs) { | |
| 100 | + ep.emit('lineCode2Name', rs); | |
| 101 | + }); | |
| 102 | + | |
| 103 | + //nbbm to device id | |
| 104 | + $.get('/basic/nbbm2deviceId', function (rs) { | |
| 105 | + ep.emit('nbbm2deviceId', rs); | |
| 106 | + }); | |
| 107 | + //nbbm to 车牌号 | |
| 108 | + var nbbm2PlateMap; | |
| 109 | + $.get('/basic/nbbm2PlateNo', function (rs) { | |
| 110 | + nbbm2PlateMap = rs; | |
| 111 | + }); | |
| 112 | + | |
| 113 | + //模拟图属性数据 | |
| 114 | + gb_common.$get('/realSchedule/svgAttr', {idx: line_idx}, function (rs) { | |
| 115 | + var data = {}; | |
| 116 | + $.each(rs.list, function () { | |
| 117 | + this.hideStations = JSON.parse(this.hideStations); | |
| 118 | + this.nicknames = JSON.parse(this.nicknames); | |
| 119 | + data[this.lineCode] = this; | |
| 120 | + }); | |
| 121 | + ep.emit('svg_attrs', data); | |
| 122 | + }); | |
| 123 | + | |
| 124 | + //站点和停车场历时、公里对照数据 | |
| 125 | + var stat_park_data; | |
| 126 | + /*var load_stat_park_data = function () { | |
| 127 | + $.get('/basic/station2ParkData?t='+Math.random(), {idx: line_idx}, function (rs) { | |
| 128 | + stat_park_data = rs; | |
| 129 | + }); | |
| 130 | + } | |
| 131 | + load_stat_park_data();*/ | |
| 132 | + | |
| 133 | + function findLineByCodes(codeArr) { | |
| 134 | + var rs = []; | |
| 135 | + $.each(codeArr, function () { | |
| 136 | + rs.push(codeToLine[this]); | |
| 137 | + }); | |
| 138 | + return rs; | |
| 139 | + } | |
| 140 | + | |
| 141 | + var findCodeByLinename = function (name) { | |
| 142 | + for (var code in lineCode2NameAll) { | |
| 143 | + if (name == lineCode2NameAll[code]) | |
| 144 | + return code; | |
| 145 | + } | |
| 146 | + | |
| 147 | + return null; | |
| 148 | + }; | |
| 149 | + | |
| 150 | + var getLineInformation = function (lineCode) { | |
| 151 | + return lineInformations[lineCode]; | |
| 152 | + }; | |
| 153 | + | |
| 154 | + var stationRouteSort = function (a, b) { | |
| 155 | + return a.stationRouteCode - b.stationRouteCode; | |
| 156 | + }; | |
| 157 | + | |
| 158 | + /** | |
| 159 | + * 常用的备注补全列表 | |
| 160 | + */ | |
| 161 | + var remarksArray = ['保养', '故障', '肇事', '加油', '维修', '援外', '路阻' | |
| 162 | + , '故障(离合器坏)', '故障,(方向盘坏)', '故障(排挡坏)', '故障(门坏)', '故障(雨刮器坏)','故障(刹车坏)', '故障(气打不上)' | |
| 163 | + ,'故障(整车无电)', '故障(故障灯常亮)', '故障(警报灯亮)', '故障(玻璃坏)', '故障(反光镜坏)', '故障(发电机坏)', '故障(漏防冻液)' | |
| 164 | + , '故障(漏水)','故障(轮胎坏)', '故障(无动力)', '故障(喷机油)', '故障(水温高)', '保养(一级保养)' | |
| 165 | + , '保养(二级保养)', '保养(三级保养)', '换车出场', '临加进场', '临加出场']; | |
| 166 | + var remarksMapps = []; | |
| 167 | + $.each(remarksArray, function (i, t) { | |
| 168 | + remarksMapps.push({ | |
| 169 | + value: t, | |
| 170 | + fullChars: pinyin.getFullChars(t).toUpperCase(), | |
| 171 | + camelChars: pinyin.getCamelChars(t) | |
| 172 | + }); | |
| 173 | + }); | |
| 174 | + | |
| 175 | + //文件载入完毕 | |
| 176 | + res_load_ep.emitLater('load_data_basic'); | |
| 177 | + | |
| 178 | + return { | |
| 179 | + activeLines: activeLines, | |
| 180 | + line_idx: line_idx, | |
| 181 | + codeToLine: codeToLine, | |
| 182 | + nbbm2deviceMap: function () { | |
| 183 | + return nbbm2deviceMap; | |
| 184 | + }, | |
| 185 | + device2nbbmMap: function () { | |
| 186 | + return device2nbbmMap; | |
| 187 | + }, | |
| 188 | + getLineInformation: getLineInformation, | |
| 189 | + allInformations: function () { | |
| 190 | + return lineInformations; | |
| 191 | + }, | |
| 192 | + stationRoutes: function (lineCode) { | |
| 193 | + return stationRoutes[lineCode] | |
| 194 | + }, | |
| 195 | + findLineByCodes: findLineByCodes, | |
| 196 | + lineCode2NameAll: function () { | |
| 197 | + return lineCode2NameAll | |
| 198 | + }, | |
| 199 | + allPersonnel: function () { | |
| 200 | + return allPersonnel; | |
| 201 | + }, | |
| 202 | + findCodeByLinename: findCodeByLinename, | |
| 203 | + getCarparkByCode: getCarparkByCode, | |
| 204 | + getSvgAttr: function (lineCode) { | |
| 205 | + return svgAttrs[lineCode]; | |
| 206 | + }, | |
| 207 | + setSvgAttr: function (attr) { | |
| 208 | + attr.hideStations = JSON.parse(attr.hideStations); | |
| 209 | + attr.nicknames = JSON.parse(attr.nicknames); | |
| 210 | + svgAttrs[attr.lineCode] = attr; | |
| 211 | + }, | |
| 212 | + //是否是环线 | |
| 213 | + isLoopLine: function (lineCode) { | |
| 214 | + var data = gb_common.groupBy(stationRoutes[lineCode], 'directions'); | |
| 215 | + //下行只有2个站点 | |
| 216 | + var len = data[0].length; | |
| 217 | + if (len > 0 && data[1].length == 2) { | |
| 218 | + var first = data[0][0], | |
| 219 | + end = data[0][len - 1]; | |
| 220 | + | |
| 221 | + /*if(first.stationName != end.stationName) | |
| 222 | + return false;*/ | |
| 223 | + | |
| 224 | + var fPoint = {latitude: first.station.gLaty, longitude: first.station.gLonx} | |
| 225 | + , ePoint = {latitude: end.station.gLaty, longitude: end.station.gLonx}; | |
| 226 | + | |
| 227 | + //并且上行起终点距离200米内 | |
| 228 | + if (geolib.getDistance(fPoint, ePoint) < 200) { | |
| 229 | + return true; | |
| 230 | + } | |
| 231 | + } | |
| 232 | + | |
| 233 | + return false; | |
| 234 | + }, | |
| 235 | + //刷新员工信息 | |
| 236 | + refreshAllPersonnel: function (cb) { | |
| 237 | + loadAllPersonnel(function (data) { | |
| 238 | + allPersonnel = data; | |
| 239 | + cb && cb(); | |
| 240 | + }); | |
| 241 | + }, | |
| 242 | + nbbm2PlateMap: function () { | |
| 243 | + return nbbm2PlateMap; | |
| 244 | + }, | |
| 245 | + carsArray: function () { | |
| 246 | + return carsArray; | |
| 247 | + }, | |
| 248 | + simpleParksArray: function () { | |
| 249 | + var map = {}; | |
| 250 | + for(var code in carparks) | |
| 251 | + map[code] = carparks[code].parkName; | |
| 252 | + return map; | |
| 253 | + }, | |
| 254 | + remarksMapps: function () { | |
| 255 | + return remarksMapps; | |
| 256 | + }, | |
| 257 | + get_stat_park_data: function () { | |
| 258 | + return stat_park_data; | |
| 259 | + }, | |
| 260 | + reload_stat_park_data: function () { | |
| 261 | + load_stat_park_data(); | |
| 262 | + } | |
| 263 | + }; | |
| 264 | +})(); | ... | ... |
src/main/resources/static/real_control_v2_mobile/alone_page/home/alone_data_gps.js
0 → 100644
| 1 | +/* gps 数据管理模块 */ | |
| 2 | + | |
| 3 | +var gb_data_gps = (function () { | |
| 4 | + | |
| 5 | + //fixed time refresh delay | |
| 6 | + var delay = 1000 * 7; | |
| 7 | + //deviceId ——> gps | |
| 8 | + var realData = {}; | |
| 9 | + //refresh after callback | |
| 10 | + var refreshEventCallbacks = []; | |
| 11 | + //register callback function | |
| 12 | + var registerCallback = function (cb) { | |
| 13 | + if (cb) | |
| 14 | + refreshEventCallbacks.push(cb); | |
| 15 | + }; | |
| 16 | + | |
| 17 | + var refresh = function (cb) { | |
| 18 | + $.ajax({ | |
| 19 | + url: '/gps/real/line', | |
| 20 | + data: {lineCodes: gb_data_basic.line_idx}, | |
| 21 | + dataType: 'json', | |
| 22 | + success: function (rs) { | |
| 23 | + //用定时的gps来检测session断开 | |
| 24 | + if(rs.status && rs.status==407){ | |
| 25 | + location.href = '/login.html'; | |
| 26 | + return; | |
| 27 | + } | |
| 28 | + refreshData(rs); | |
| 29 | + cb(); | |
| 30 | + }, | |
| 31 | + error: function (xr, t) { | |
| 32 | + notify_err('刷新GPS失败,稍后重试' + t); | |
| 33 | + cb(); | |
| 34 | + } | |
| 35 | + }); | |
| 36 | + }; | |
| 37 | + | |
| 38 | + var refreshData = function (rs) { | |
| 39 | + var old, addArr = [], | |
| 40 | + upArr = [], | |
| 41 | + upDownChange = []; | |
| 42 | + | |
| 43 | + var schArray; | |
| 44 | + $.each(rs.gpsList, function () { | |
| 45 | + old = realData[this.deviceId]; | |
| 46 | + if (old) { | |
| 47 | + if (this.timestamp > old.timestamp) { | |
| 48 | + if (old.upDown != this.upDown) | |
| 49 | + upDownChange.push(this); | |
| 50 | + else | |
| 51 | + upArr.push(this); | |
| 52 | + } | |
| 53 | + | |
| 54 | + } else | |
| 55 | + addArr.push(this); | |
| 56 | + | |
| 57 | + //班次信息 | |
| 58 | + /*if (this.schId) { | |
| 59 | + schArray = gb_schedule_table.findScheduleByLine(this.lineId); | |
| 60 | + if (schArray) | |
| 61 | + this.sch = schArray[this.schId]; | |
| 62 | + }*/ | |
| 63 | + | |
| 64 | + //时间格式化 | |
| 65 | + this.dateStr = moment(this.timestamp).format('YYYY-MM-DD HH:mm:ss'); | |
| 66 | + realData[this.deviceId] = this; | |
| 67 | + }); | |
| 68 | + | |
| 69 | + //console.log('add array size: ' + addArr.length, 'up array size: ' + upArr.length); | |
| 70 | + //CCCallFuncN | |
| 71 | + $.each(refreshEventCallbacks, function (i, cb) { | |
| 72 | + cb(addArr, upArr, upDownChange); | |
| 73 | + }); | |
| 74 | + | |
| 75 | + }; | |
| 76 | + | |
| 77 | + var startFixedTime; | |
| 78 | + var fixedTimeRefresh = function () { | |
| 79 | + if (startFixedTime) | |
| 80 | + return; | |
| 81 | + startFixedTime = true; | |
| 82 | + | |
| 83 | + (function () { | |
| 84 | + var f = arguments.callee; | |
| 85 | + refresh(function () { | |
| 86 | + setTimeout(f, delay); | |
| 87 | + }); | |
| 88 | + })(); | |
| 89 | + }; | |
| 90 | + | |
| 91 | + var gpsByLineCode = function (lineCode) { | |
| 92 | + var rs = []; | |
| 93 | + for (var device in realData) { | |
| 94 | + if (realData[device].lineId == lineCode) | |
| 95 | + rs.push(realData[device]); | |
| 96 | + } | |
| 97 | + return rs; | |
| 98 | + }; | |
| 99 | + | |
| 100 | + var findOne = function (deviceId) { | |
| 101 | + return realData[deviceId]; | |
| 102 | + }; | |
| 103 | + | |
| 104 | + var findGpsByNbbm = function (nbbm) { | |
| 105 | + return realData[gb_data_basic.nbbm2deviceMap()[nbbm]]; | |
| 106 | + }; | |
| 107 | + | |
| 108 | + /** | |
| 109 | + * 设备掉线事件 | |
| 110 | + */ | |
| 111 | + var deviceOffline = function (gps) { | |
| 112 | + $.each(offlineCallbacks, function (i, cb) { | |
| 113 | + cb(gps); | |
| 114 | + }); | |
| 115 | + }; | |
| 116 | + | |
| 117 | + //注册掉线事件回调函数 | |
| 118 | + var offlineCallbacks = []; | |
| 119 | + var registerOfflineCb = function (cb) { | |
| 120 | + if (cb) | |
| 121 | + offlineCallbacks.push(cb); | |
| 122 | + }; | |
| 123 | + | |
| 124 | + return { | |
| 125 | + fixedTimeRefresh: fixedTimeRefresh, | |
| 126 | + registerCallback: registerCallback, | |
| 127 | + allGps: realData, | |
| 128 | + gpsByLineCode: gpsByLineCode, | |
| 129 | + findOne: findOne, | |
| 130 | + findGpsByNbbm: findGpsByNbbm, | |
| 131 | + deviceOffline: deviceOffline, | |
| 132 | + registerOfflineCb: registerOfflineCb | |
| 133 | + }; | |
| 134 | +})(); | ... | ... |
src/main/resources/static/real_control_v2_mobile/alone_page/home/home_wrap.html
0 → 100644
| 1 | +<!DOCTYPE html> | |
| 2 | +<html lang="zh-cn"> | |
| 3 | + | |
| 4 | +<head> | |
| 5 | + <meta charset="UTF-8"> | |
| 6 | + <title>主页模拟图</title> | |
| 7 | + <!-- uikit core style--> | |
| 8 | + <link rel="stylesheet" href="/real_control_v2_mobile/assets/plugins/uikit-2.27.1/css/uikit.gradient.min.css" /> | |
| 9 | + <link rel="stylesheet" href="/real_control_v2_mobile/assets/plugins/uikit-2.27.1/components/notify.gradient.min.css" merge="plugins"/> | |
| 10 | + <link rel="stylesheet" href="/real_control_v2_mobile/assets/plugins/uikit-2.27.1/components/tooltip.gradient.min.css" merge="plugins"/> | |
| 11 | + <link rel="stylesheet" | |
| 12 | + href="/real_control_v2_mobile/assets/plugins/uikit-2.27.1/components/autocomplete.gradient.min.css" merge="plugins"/> | |
| 13 | + <link rel="stylesheet" href="/real_control_v2_mobile/assets/plugins/uikit-2.27.1/components/sticky.gradient.min.css" merge="plugins"/> | |
| 14 | + | |
| 15 | + <!-- main style --> | |
| 16 | + <link rel="stylesheet" href="/real_control_v2_mobile/css/main.css" /> | |
| 17 | + <!-- home style --> | |
| 18 | + <link rel="stylesheet" href="/real_control_v2_mobile/css/home.css" merge="custom_style"/> | |
| 19 | + | |
| 20 | + <!-- custom table --> | |
| 21 | + <link rel="stylesheet" href="/real_control_v2_mobile/css/ct_table.css" merge="custom_style"/> | |
| 22 | + <!-- jquery contextMenu style --> | |
| 23 | + <link rel="stylesheet" href="/real_control_v2_mobile/assets/css/jquery.contextMenu.min.css" merge="plugins"/> | |
| 24 | + <!-- formvalidation style --> | |
| 25 | + <link rel="stylesheet" href="/real_control_v2_mobile/assets/plugins/formvalidation/formValidation.min.css" merge="plugins"/> | |
| 26 | + <!-- js tree --> | |
| 27 | + <link rel="stylesheet" href="/real_control_v2_mobile/assets/plugins/jstree/default/style.css" merge="plugins"/> | |
| 28 | + <!-- tooltip css--> | |
| 29 | + <link rel="stylesheet" href="/real_control_v2_mobile/assets/plugins/qtip/jquery.qtip.min.css" merge="plugins"/> | |
| 30 | + <link rel="stylesheet" href="/real_control_v2_mobile/css/pace.css" merge="plugins"/> | |
| 31 | + | |
| 32 | + <link rel="stylesheet" href="/real_control_v2_mobile/css/modal_extend.css" merge="custom_style"/> | |
| 33 | + <!-- perfect-scrollbar style --> | |
| 34 | + <link rel="stylesheet" href="/real_control_v2_mobile/assets/plugins/perfect-scrollbar/perfect-scrollbar.css" merge="plugins"/> | |
| 35 | + <!-- layer 3.0.3 --> | |
| 36 | + <link rel="stylesheet" href="/real_control_v2_mobile/assets/plugins/layer3.0.3/skin/default/layer.css" merge="plugins"/> | |
| 37 | + <link rel="stylesheet" href="/real_control_v2_mobile/assets/plugins/layer3.0.3/skin/moon/style.css" merge="plugins"/> | |
| 38 | + | |
| 39 | + | |
| 40 | + <style> | |
| 41 | + .main-container{ | |
| 42 | + height: 100% !important; | |
| 43 | + } | |
| 44 | + | |
| 45 | + #main-tab-content{ | |
| 46 | + padding: 0 !important; | |
| 47 | + list-style: none; | |
| 48 | + } | |
| 49 | + | |
| 50 | + .home-panel{ | |
| 51 | + | |
| 52 | + } | |
| 53 | + | |
| 54 | + #home-main-content{ | |
| 55 | + padding: 0 !important; | |
| 56 | + } | |
| 57 | + | |
| 58 | + #main-tab-content>.home-panel>#home-main-content{ | |
| 59 | + overflow: inherit !important; | |
| 60 | + } | |
| 61 | + </style> | |
| 62 | +</head> | |
| 63 | + | |
| 64 | +<body> | |
| 65 | +<!--<div class="main-container" style="height: 100%;"> | |
| 66 | +</div>--> | |
| 67 | +<div class="main-container"> | |
| 68 | + <ul id="main-tab-content"> | |
| 69 | + <li class="home-panel"></li> | |
| 70 | + </ul> | |
| 71 | +</div> | |
| 72 | + | |
| 73 | + | |
| 74 | +<!-- 地图相关 --> | |
| 75 | +<script src="http://api.map.baidu.com/api?v=2.0&ak=IGGrr4UjwIYzatoCRFKEL8sT"></script> | |
| 76 | +<script src="http://api.map.baidu.com/library/TrafficControl/1.4/src/TrafficControl_min.js"></script> | |
| 77 | +<script src="/assets/js/baidu//MarkerClusterer.js" merge="plugins"></script> | |
| 78 | +<script src="/assets/js/TransGPS.js" merge="plugins"></script> | |
| 79 | +<!-- jquery --> | |
| 80 | +<script src="/real_control_v2_mobile/assets/js/jquery.min.js"></script> | |
| 81 | +<!-- jquery actual --> | |
| 82 | +<script src="/real_control_v2_mobile/assets/js/jquery.actual.min.js" merge="plugins"></script> | |
| 83 | +<!-- jquery.serializejson JSON序列化插件 --> | |
| 84 | +<script src="/assets/plugins/jquery.serializejson.js" merge="plugins"></script> | |
| 85 | +<!-- moment.js 日期处理类库 --> | |
| 86 | +<script src="/real_control_v2_mobile/assets/plugins/moment/moment.min.js"></script> | |
| 87 | +<script src="/real_control_v2_mobile/assets/plugins/moment/zh-cn.js"></script> | |
| 88 | + | |
| 89 | +<!-- flatpickr --> | |
| 90 | +<script src="/real_control_v2_mobile/assets/plugins/flatpickr/flatpickr.min.js" merge="plugins"></script> | |
| 91 | +<script src="/real_control_v2_mobile/assets/plugins/flatpickr/l10n/zh.js" merge="plugins"></script> | |
| 92 | + | |
| 93 | +<!-- perfect-scrollbar --> | |
| 94 | +<script src="/real_control_v2_mobile/assets/plugins/perfect-scrollbar/perfect-scrollbar.jquery.js" merge="plugins"></script> | |
| 95 | +<!-- common js --> | |
| 96 | +<script src="/real_control_v2_mobile/js/common.js"></script> | |
| 97 | +<!-- art-template 模版引擎 --> | |
| 98 | +<script src="/assets/plugins/template.js" merge="plugins"></script> | |
| 99 | +<!-- d3 --> | |
| 100 | +<script src="/assets/js/d3.min.js"></script> | |
| 101 | +<!-- EventProxy --> | |
| 102 | +<script src="/assets/js/eventproxy.js"></script> | |
| 103 | +<!-- Geolib --> | |
| 104 | +<script src="/real_control_v2_mobile/geolib/geolib.js" merge="plugins"></script> | |
| 105 | + | |
| 106 | +<script> | |
| 107 | + | |
| 108 | + | |
| 109 | + var res_load_ep = EventProxy.create('load_home_layout', 'load_home_line_panel', 'load_data_basic', 'data-basic', function () { | |
| 110 | + //加载主页 | |
| 111 | + gb_home_layout.layout(function () { | |
| 112 | + gb_home_line_panel.init(function () { | |
| 113 | + //gps自刷新 | |
| 114 | + gb_data_gps.fixedTimeRefresh(); | |
| 115 | + | |
| 116 | + $('.uk-icon-send-o.home_alone_page').remove(); | |
| 117 | + }); | |
| 118 | + }); | |
| 119 | + }); | |
| 120 | + | |
| 121 | + function connectArr(arr, separator, transFun) { | |
| 122 | + var rs = ''; | |
| 123 | + $.each(arr, function (i, item) { | |
| 124 | + if (transFun) | |
| 125 | + item = transFun(item); | |
| 126 | + rs += (separator + item); | |
| 127 | + }); | |
| 128 | + return rs.substr(separator.length); | |
| 129 | + } | |
| 130 | + | |
| 131 | + var isArray = function (obj) { | |
| 132 | + return Object.prototype.toString.call(obj) === '[object Array]'; | |
| 133 | + }; | |
| 134 | + | |
| 135 | + var gb_form_validation_opts = { | |
| 136 | + framework: 'uikit', | |
| 137 | + locale: 'zh_CN', | |
| 138 | + icon: { | |
| 139 | + valid: 'uk-icon-check', | |
| 140 | + invalid: 'uk-icon-times', | |
| 141 | + validating: 'uk-icon-refresh' | |
| 142 | + } | |
| 143 | + }; | |
| 144 | + | |
| 145 | +</script> | |
| 146 | + | |
| 147 | +<!-- uikit core --> | |
| 148 | +<script src="/real_control_v2_mobile/assets/plugins/uikit-2.27.1/uikit.min.js" merge="uikit_js"></script> | |
| 149 | +<script src="/real_control_v2_mobile/assets/plugins/uikit-2.27.1/components/notify.min.js" merge="uikit_js"></script> | |
| 150 | +<script src="/real_control_v2_mobile/assets/plugins/uikit-2.27.1/components/pagination.min.js" merge="uikit_js"></script> | |
| 151 | +<script src="/real_control_v2_mobile/assets/plugins/uikit-2.27.1/components/tooltip.min.js" merge="uikit_js"></script> | |
| 152 | +<script src="/real_control_v2_mobile/assets/plugins/uikit-2.27.1/components/sticky.min.js" merge="uikit_js"></script> | |
| 153 | + | |
| 154 | + | |
| 155 | +<!-- jquery contextMenu --> | |
| 156 | +<script src="/real_control_v2_mobile/assets/js/jquery.contextMenu.min.js" merge="plugins"></script> | |
| 157 | +<script src="/real_control_v2_mobile/assets/js/jquery.ui.position.min.js" merge="plugins"></script> | |
| 158 | +<!-- formvalidation- --> | |
| 159 | +<script src="/real_control_v2_mobile/assets/plugins/formvalidation/formValidation.min.js" merge="plugins"></script> | |
| 160 | +<script src="/real_control_v2_mobile/assets/plugins/formvalidation/zh_CN.js" merge="plugins"></script> | |
| 161 | +<script src="/real_control_v2_mobile/assets/plugins/formvalidation/uikit.min.js" merge="plugins"></script> | |
| 162 | +<!-- js tree --> | |
| 163 | +<script src="/real_control_v2_mobile/assets/plugins/jstree/jstree.min.js" merge="plugins"></script> | |
| 164 | +<!-- simple pinyin --> | |
| 165 | +<script src="/assets/plugins/pinyin.js" merge="plugins"></script> | |
| 166 | +<!-- qtip --> | |
| 167 | +<script src="/real_control_v2_mobile/assets/plugins/qtip/jquery.qtip.min.js" merge="plugins"></script> | |
| 168 | +<!-- layer 3.0.3 --> | |
| 169 | +<script src="/real_control_v2_mobile/assets/plugins/layer3.0.3/layer.js" merge="plugins"></script> | |
| 170 | + | |
| 171 | +<!-- 数据 --> | |
| 172 | +<script src="/real_control_v2_mobile/alone_page/home/alone_data_basic.js" merge="custom_js"></script> | |
| 173 | +<script src="/real_control_v2_mobile/alone_page/home/alone_data_gps.js" merge="custom_js"></script> | |
| 174 | +<script src="/real_control_v2_mobile/js/data/gps_abnormal.js" merge="custom_js"></script> | |
| 175 | +<!-- 线路模拟图 --> | |
| 176 | +<script src="/real_control_v2_mobile/js/utils/svg_chart.js" merge="custom_js"></script> | |
| 177 | +<script src="/real_control_v2_mobile/js/utils/svg_data_convert.js" merge="custom_js"></script> | |
| 178 | +<script src="/real_control_v2_mobile/js/utils/svg_chart_tooltip.js" merge="custom_js"></script> | |
| 179 | +<script src="/real_control_v2_mobile/js/utils/svg_chart_map.js" merge="custom_js"></script> | |
| 180 | + | |
| 181 | +<!-- custom table js --> | |
| 182 | +<script src="/real_control_v2_mobile/js/utils/ct_table.js" merge="custom_js"></script> | |
| 183 | +<!-- home js --> | |
| 184 | +<script src="/real_control_v2_mobile/js/home/layout.js" merge="custom_js"></script> | |
| 185 | +<script src="/real_control_v2_mobile/js/home/line_panel.js" merge="custom_js"></script> | |
| 186 | +<script src="/real_control_v2_mobile/js/home/context_menu.js" merge="custom_js"></script> | |
| 187 | + | |
| 188 | + | |
| 189 | +<!-- 模态框扩展 --> | |
| 190 | +<script src="/real_control_v2_mobile/js/modal_extend.js" merge="custom_js"></script> | |
| 191 | + | |
| 192 | +</body> | |
| 193 | + | |
| 194 | +</html> | ... | ... |
src/main/resources/static/real_control_v2_mobile/alone_page/map/alone_data_basic.js
0 → 100644
| 1 | +/* 基础数据管理模块 */ | |
| 2 | + | |
| 3 | +var gb_data_basic = (function () { | |
| 4 | + | |
| 5 | + var stationRoutes, lineCode2NameAll, lineInformations, nbbm2deviceMap, device2nbbmMap, allPersonnel, svgAttrs; | |
| 6 | + var ep = EventProxy.create("stationRoutes", "lineCode2Name", "lineInformations", "nbbm2deviceId", "all_personnel", "svg_attrs" | |
| 7 | + , function (routes, code2Name, informations, nbbm2device, all_personnel, svgAttrMap) { | |
| 8 | + stationRoutes = routes; | |
| 9 | + lineCode2NameAll = code2Name; | |
| 10 | + lineInformations = informations; | |
| 11 | + nbbm2deviceMap = nbbm2device; | |
| 12 | + device2nbbmMap = gb_common.inverse(nbbm2deviceMap); | |
| 13 | + allPersonnel = all_personnel; | |
| 14 | + svgAttrs = svgAttrMap; | |
| 15 | + | |
| 16 | + res_load_ep.emitLater('data-basic'); | |
| 17 | + }); | |
| 18 | + | |
| 19 | + var storage = window.localStorage; | |
| 20 | + //激活的线路 | |
| 21 | + var activeLines = JSON.parse(storage.getItem('lineControlItems')); | |
| 22 | + //lineCode to line object | |
| 23 | + var codeToLine = {}; | |
| 24 | + //lineCode idx string | |
| 25 | + var line_idx = (function () { | |
| 26 | + var str = ''; | |
| 27 | + for (var i = 0, item; item = activeLines[i++];) { | |
| 28 | + str += (',' + item.lineCode); | |
| 29 | + codeToLine[item.lineCode] = item; | |
| 30 | + } | |
| 31 | + return str.substr(1); | |
| 32 | + })(); | |
| 33 | + | |
| 34 | + //站点路由 | |
| 35 | + gb_common.$get('/stationroute/multiLine', {lineIds: line_idx}, function (rs) { | |
| 36 | + var list = rs.list;//JSON.parse(rs.list); | |
| 37 | + var routeData = gb_common.groupBy(list, 'lineCode'); | |
| 38 | + //排序 | |
| 39 | + for (var lineCode in routeData) { | |
| 40 | + routeData[lineCode].sort(stationRouteSort); | |
| 41 | + } | |
| 42 | + ep.emit('stationRoutes', routeData); | |
| 43 | + }); | |
| 44 | + | |
| 45 | + //线路标准信息 | |
| 46 | + gb_common.$get('/lineInformation/line/multi', {lineCodes: line_idx}, function (rs) { | |
| 47 | + var informations = {}; | |
| 48 | + $.each(rs, function () { | |
| 49 | + informations[this.line.lineCode] = this; | |
| 50 | + delete this['line']; | |
| 51 | + }); | |
| 52 | + ep.emit('lineInformations', informations); | |
| 53 | + }); | |
| 54 | + | |
| 55 | + //人员信息 | |
| 56 | + loadAllPersonnel(function (data) { | |
| 57 | + ep.emit('all_personnel', data); | |
| 58 | + }); | |
| 59 | + function loadAllPersonnel(cb) { | |
| 60 | + $.get('/basic/all_personnel_py', function (rs) { | |
| 61 | + //转换成自动补全组件需要的数据 | |
| 62 | + var data = [], code; | |
| 63 | + for(var i =0, p; p = rs[i++];){ | |
| 64 | + code = p['workId'].indexOf('-')!=-1?p['workId'].split('-')[1]:p['workId']; | |
| 65 | + data.push({ | |
| 66 | + value: code + '/' + p.name, | |
| 67 | + fullChars: p.fullChars.toUpperCase(), | |
| 68 | + camelChars: p.camelChars.toUpperCase() | |
| 69 | + }); | |
| 70 | + } | |
| 71 | + cb && cb(data); | |
| 72 | + }); | |
| 73 | + } | |
| 74 | + | |
| 75 | + var carparks = {}; | |
| 76 | + //停车场数据 | |
| 77 | + gb_common.$get('/realMap/carParkSpatialData', {}, function (rs) { | |
| 78 | + rs.list.sort(function (a, b) { | |
| 79 | + return a.parkName.localeCompare(b.parkName); | |
| 80 | + }); | |
| 81 | + $.each(rs.list, function () { | |
| 82 | + carparks[this.parkCode] = this; | |
| 83 | + }); | |
| 84 | + }); | |
| 85 | + | |
| 86 | + //车辆数据 | |
| 87 | + var carsArray; | |
| 88 | + $.get('/basic/cars?t=' + Math.random(), function (rs) { | |
| 89 | + carsArray = rs; | |
| 90 | + }); | |
| 91 | + | |
| 92 | + var getCarparkByCode = function (code) { | |
| 93 | + return carparks[code]; | |
| 94 | + }; | |
| 95 | + | |
| 96 | + //line code to name | |
| 97 | + $.get('/basic/lineCode2Name', function (rs) { | |
| 98 | + ep.emit('lineCode2Name', rs); | |
| 99 | + }); | |
| 100 | + | |
| 101 | + //nbbm to device id | |
| 102 | + $.get('/basic/nbbm2deviceId', function (rs) { | |
| 103 | + ep.emit('nbbm2deviceId', rs); | |
| 104 | + }); | |
| 105 | + //nbbm to 车牌号 | |
| 106 | + var nbbm2PlateMap; | |
| 107 | + $.get('/basic/nbbm2PlateNo', function (rs) { | |
| 108 | + nbbm2PlateMap = rs; | |
| 109 | + }); | |
| 110 | + | |
| 111 | + //模拟图属性数据 | |
| 112 | + gb_common.$get('/realSchedule/svgAttr', {idx: line_idx}, function (rs) { | |
| 113 | + var data = {}; | |
| 114 | + $.each(rs.list, function () { | |
| 115 | + this.hideStations = JSON.parse(this.hideStations); | |
| 116 | + this.nicknames = JSON.parse(this.nicknames); | |
| 117 | + data[this.lineCode] = this; | |
| 118 | + }); | |
| 119 | + ep.emit('svg_attrs', data); | |
| 120 | + }); | |
| 121 | + | |
| 122 | + //站点和停车场历时、公里对照数据 | |
| 123 | + var stat_park_data; | |
| 124 | + var load_stat_park_data = function () { | |
| 125 | + $.get('/basic/station2ParkData?t='+Math.random(), {idx: line_idx}, function (rs) { | |
| 126 | + stat_park_data = rs; | |
| 127 | + }); | |
| 128 | + } | |
| 129 | + load_stat_park_data(); | |
| 130 | + | |
| 131 | + function findLineByCodes(codeArr) { | |
| 132 | + var rs = []; | |
| 133 | + $.each(codeArr, function () { | |
| 134 | + rs.push(codeToLine[this]); | |
| 135 | + }); | |
| 136 | + return rs; | |
| 137 | + } | |
| 138 | + | |
| 139 | + var findCodeByLinename = function (name) { | |
| 140 | + for (var code in lineCode2NameAll) { | |
| 141 | + if (name == lineCode2NameAll[code]) | |
| 142 | + return code; | |
| 143 | + } | |
| 144 | + | |
| 145 | + return null; | |
| 146 | + }; | |
| 147 | + | |
| 148 | + var getLineInformation = function (lineCode) { | |
| 149 | + return lineInformations[lineCode]; | |
| 150 | + }; | |
| 151 | + | |
| 152 | + var stationRouteSort = function (a, b) { | |
| 153 | + return a.stationRouteCode - b.stationRouteCode; | |
| 154 | + }; | |
| 155 | + | |
| 156 | + return { | |
| 157 | + activeLines: activeLines, | |
| 158 | + line_idx: line_idx, | |
| 159 | + codeToLine: codeToLine, | |
| 160 | + nbbm2deviceMap: function () { | |
| 161 | + return nbbm2deviceMap; | |
| 162 | + }, | |
| 163 | + device2nbbmMap: function () { | |
| 164 | + return device2nbbmMap; | |
| 165 | + }, | |
| 166 | + getLineInformation: getLineInformation, | |
| 167 | + allInformations: function () { | |
| 168 | + return lineInformations; | |
| 169 | + }, | |
| 170 | + stationRoutes: function (lineCode) { | |
| 171 | + return stationRoutes[lineCode] | |
| 172 | + }, | |
| 173 | + findLineByCodes: findLineByCodes, | |
| 174 | + lineCode2NameAll: function () { | |
| 175 | + return lineCode2NameAll | |
| 176 | + }, | |
| 177 | + allPersonnel: function () { | |
| 178 | + return allPersonnel; | |
| 179 | + }, | |
| 180 | + findCodeByLinename: findCodeByLinename, | |
| 181 | + getCarparkByCode: getCarparkByCode, | |
| 182 | + getSvgAttr: function (lineCode) { | |
| 183 | + return svgAttrs[lineCode]; | |
| 184 | + }, | |
| 185 | + setSvgAttr: function (attr) { | |
| 186 | + attr.hideStations = JSON.parse(attr.hideStations); | |
| 187 | + attr.nicknames = JSON.parse(attr.nicknames); | |
| 188 | + svgAttrs[attr.lineCode] = attr; | |
| 189 | + }, | |
| 190 | + //是否是环线 | |
| 191 | + isLoopLine: function (lineCode) { | |
| 192 | + var data = gb_common.groupBy(stationRoutes[lineCode], 'directions'); | |
| 193 | + //下行只有2个站点 | |
| 194 | + var len = data[0].length; | |
| 195 | + if (len > 0 && data[1].length == 2) { | |
| 196 | + var first = data[0][0], | |
| 197 | + end = data[0][len - 1]; | |
| 198 | + | |
| 199 | + /*if(first.stationName != end.stationName) | |
| 200 | + return false;*/ | |
| 201 | + | |
| 202 | + var fPoint = {latitude: first.station.gLaty, longitude: first.station.gLonx} | |
| 203 | + , ePoint = {latitude: end.station.gLaty, longitude: end.station.gLonx}; | |
| 204 | + | |
| 205 | + //并且上行起终点距离200米内 | |
| 206 | + if (geolib.getDistance(fPoint, ePoint) < 200) { | |
| 207 | + return true; | |
| 208 | + } | |
| 209 | + } | |
| 210 | + | |
| 211 | + return false; | |
| 212 | + }, | |
| 213 | + //刷新员工信息 | |
| 214 | + refreshAllPersonnel: function (cb) { | |
| 215 | + loadAllPersonnel(function (data) { | |
| 216 | + allPersonnel = data; | |
| 217 | + cb && cb(); | |
| 218 | + }); | |
| 219 | + }, | |
| 220 | + nbbm2PlateMap: function () { | |
| 221 | + return nbbm2PlateMap; | |
| 222 | + }, | |
| 223 | + carsArray: function () { | |
| 224 | + return carsArray; | |
| 225 | + }, | |
| 226 | + simpleParksArray: function () { | |
| 227 | + var map = {}; | |
| 228 | + for(var code in carparks) | |
| 229 | + map[code] = carparks[code].parkName; | |
| 230 | + return map; | |
| 231 | + }, | |
| 232 | + remarksMapps: function () { | |
| 233 | + return remarksMapps; | |
| 234 | + }, | |
| 235 | + get_stat_park_data: function () { | |
| 236 | + return stat_park_data; | |
| 237 | + }, | |
| 238 | + reload_stat_park_data: function () { | |
| 239 | + load_stat_park_data(); | |
| 240 | + } | |
| 241 | + }; | |
| 242 | +})(); | ... | ... |
src/main/resources/static/real_control_v2_mobile/alone_page/map/alone_data_gps.js
0 → 100644
| 1 | +/* gps 数据管理模块 */ | |
| 2 | + | |
| 3 | +var gb_data_gps = (function () { | |
| 4 | + | |
| 5 | + //fixed time refresh delay | |
| 6 | + var delay = 1000 * 7; | |
| 7 | + //deviceId ——> gps | |
| 8 | + var realData = {}; | |
| 9 | + //refresh after callback | |
| 10 | + var refreshEventCallbacks = []; | |
| 11 | + //register callback function | |
| 12 | + var registerCallback = function (cb) { | |
| 13 | + if (cb) | |
| 14 | + refreshEventCallbacks.push(cb); | |
| 15 | + }; | |
| 16 | + | |
| 17 | + var refresh = function (cb) { | |
| 18 | + $.ajax({ | |
| 19 | + url: '/gps/real/line', | |
| 20 | + data: {lineCodes: gb_data_basic.line_idx}, | |
| 21 | + dataType: 'json', | |
| 22 | + success: function (rs) { | |
| 23 | + //用定时的gps来检测session断开 | |
| 24 | + if(rs.status && rs.status==407){ | |
| 25 | + location.href = '/login.html'; | |
| 26 | + return; | |
| 27 | + } | |
| 28 | + refreshData(rs); | |
| 29 | + cb(); | |
| 30 | + }, | |
| 31 | + error: function (xr, t) { | |
| 32 | + notify_err('刷新GPS失败,稍后重试' + t); | |
| 33 | + cb(); | |
| 34 | + } | |
| 35 | + }); | |
| 36 | + }; | |
| 37 | + | |
| 38 | + var refreshData = function (rs) { | |
| 39 | + var old, addArr = [], | |
| 40 | + upArr = [], | |
| 41 | + upDownChange = []; | |
| 42 | + | |
| 43 | + var schArray; | |
| 44 | + $.each(rs.gpsList, function () { | |
| 45 | + old = realData[this.deviceId]; | |
| 46 | + if (old) { | |
| 47 | + if (this.timestamp > old.timestamp) { | |
| 48 | + if (old.upDown != this.upDown) | |
| 49 | + upDownChange.push(this); | |
| 50 | + else | |
| 51 | + upArr.push(this); | |
| 52 | + } | |
| 53 | + | |
| 54 | + } else | |
| 55 | + addArr.push(this); | |
| 56 | + | |
| 57 | + //班次信息 | |
| 58 | + /*if (this.schId) { | |
| 59 | + //schArray = gb_schedule_table.findScheduleByLine(this.lineId); | |
| 60 | + ///if (schArray) | |
| 61 | + // this.sch = schArray[this.schId]; | |
| 62 | + }*/ | |
| 63 | + | |
| 64 | + //时间格式化 | |
| 65 | + this.dateStr = moment(this.timestamp).format('YYYY-MM-DD HH:mm:ss'); | |
| 66 | + realData[this.deviceId] = this; | |
| 67 | + }); | |
| 68 | + | |
| 69 | + //console.log('add array size: ' + addArr.length, 'up array size: ' + upArr.length); | |
| 70 | + //CCCallFuncN | |
| 71 | + $.each(refreshEventCallbacks, function (i, cb) { | |
| 72 | + cb(addArr, upArr, upDownChange, rs.overspeedList); | |
| 73 | + }); | |
| 74 | + | |
| 75 | + //超速数据回调 | |
| 76 | + //console.log('超速,,,', rs.overspeedList); | |
| 77 | + | |
| 78 | + }; | |
| 79 | + | |
| 80 | + var startFixedTime; | |
| 81 | + var fixedTimeRefresh = function () { | |
| 82 | + if (startFixedTime) | |
| 83 | + return; | |
| 84 | + startFixedTime = true; | |
| 85 | + | |
| 86 | + (function () { | |
| 87 | + var f = arguments.callee; | |
| 88 | + refresh(function () { | |
| 89 | + setTimeout(f, delay); | |
| 90 | + }); | |
| 91 | + })(); | |
| 92 | + }; | |
| 93 | + | |
| 94 | + var gpsByLineCode = function (lineCode) { | |
| 95 | + var rs = []; | |
| 96 | + for (var device in realData) { | |
| 97 | + if (realData[device].lineId == lineCode) | |
| 98 | + rs.push(realData[device]); | |
| 99 | + } | |
| 100 | + return rs; | |
| 101 | + }; | |
| 102 | + | |
| 103 | + var findOne = function (deviceId) { | |
| 104 | + return realData[deviceId]; | |
| 105 | + }; | |
| 106 | + | |
| 107 | + var findGpsByNbbm = function (nbbm) { | |
| 108 | + return realData[gb_data_basic.nbbm2deviceMap()[nbbm]]; | |
| 109 | + }; | |
| 110 | + | |
| 111 | + /** | |
| 112 | + * 设备掉线事件 | |
| 113 | + */ | |
| 114 | + var deviceOffline = function (gps) { | |
| 115 | + $.each(offlineCallbacks, function (i, cb) { | |
| 116 | + cb(gps); | |
| 117 | + }); | |
| 118 | + }; | |
| 119 | + | |
| 120 | + //注册掉线事件回调函数 | |
| 121 | + var offlineCallbacks = []; | |
| 122 | + var registerOfflineCb = function (cb) { | |
| 123 | + if (cb) | |
| 124 | + offlineCallbacks.push(cb); | |
| 125 | + }; | |
| 126 | + | |
| 127 | + return { | |
| 128 | + fixedTimeRefresh: fixedTimeRefresh, | |
| 129 | + registerCallback: registerCallback, | |
| 130 | + allGps: realData, | |
| 131 | + gpsByLineCode: gpsByLineCode, | |
| 132 | + findOne: findOne, | |
| 133 | + findGpsByNbbm: findGpsByNbbm, | |
| 134 | + deviceOffline: deviceOffline, | |
| 135 | + registerOfflineCb: registerOfflineCb | |
| 136 | + }; | |
| 137 | +})(); | ... | ... |
src/main/resources/static/real_control_v2_mobile/alone_page/map/alone_wrap.html
0 → 100644
| 1 | +<!DOCTYPE html> | |
| 2 | +<html lang="zh-cn"> | |
| 3 | + | |
| 4 | +<head> | |
| 5 | + <meta charset="UTF-8"> | |
| 6 | + <title>地图监控 v2.0</title> | |
| 7 | + <!-- uikit core style--> | |
| 8 | + <link rel="stylesheet" href="/real_control_v2_mobile/assets/plugins/uikit-2.27.1/css/uikit.gradient.min.css"/> | |
| 9 | + <link rel="stylesheet" href="/real_control_v2_mobile/assets/plugins/uikit-2.27.1/components/notify.gradient.min.css" | |
| 10 | + merge="plugins"/> | |
| 11 | + <link rel="stylesheet" href="/real_control_v2_mobile/assets/plugins/uikit-2.27.1/components/tooltip.gradient.min.css" | |
| 12 | + merge="plugins"/> | |
| 13 | + <link rel="stylesheet" | |
| 14 | + href="/real_control_v2_mobile/assets/plugins/uikit-2.27.1/components/autocomplete.gradient.min.css" merge="plugins"/> | |
| 15 | + <link rel="stylesheet" href="/real_control_v2_mobile/assets/plugins/uikit-2.27.1/components/accordion.gradient.min.css" | |
| 16 | + merge="plugins"/> | |
| 17 | + <link rel="stylesheet" href="/real_control_v2_mobile/assets/plugins/uikit-2.27.1/components/slidenav.gradient.min.css" | |
| 18 | + merge="plugins"/> | |
| 19 | + <link rel="stylesheet" href="/real_control_v2_mobile/assets/plugins/uikit-2.27.1/components/sticky.gradient.min.css" | |
| 20 | + merge="plugins"/> | |
| 21 | + | |
| 22 | + <!-- main style --> | |
| 23 | + <link rel="stylesheet" href="/real_control_v2_mobile/css/main.css"/> | |
| 24 | + <!-- north style --> | |
| 25 | + <link rel="stylesheet" href="/real_control_v2_mobile/css/north.css" merge="custom_style"/> | |
| 26 | + <!-- home style --> | |
| 27 | + <link rel="stylesheet" href="/real_control_v2_mobile/css/home.css" merge="custom_style"/> | |
| 28 | + | |
| 29 | + <!-- js tree --> | |
| 30 | + <link rel="stylesheet" href="/real_control_v2_mobile/assets/plugins/jstree/default/style.css" merge="plugins"/> | |
| 31 | + | |
| 32 | + <link rel="stylesheet" href="/real_control_v2_mobile/css/modal_extend.css" merge="custom_style"/> | |
| 33 | + <!-- perfect-scrollbar style --> | |
| 34 | + <link rel="stylesheet" href="/real_control_v2_mobile/assets/plugins/perfect-scrollbar/perfect-scrollbar.css" | |
| 35 | + merge="plugins"/> | |
| 36 | + <!-- layer 3.0.3 --> | |
| 37 | + <link rel="stylesheet" href="/real_control_v2_mobile/assets/plugins/layer3.0.3/skin/default/layer.css" merge="plugins"/> | |
| 38 | + <link rel="stylesheet" href="/real_control_v2_mobile/assets/plugins/layer3.0.3/skin/moon/style.css" merge="plugins"/> | |
| 39 | + | |
| 40 | + <!-- flatpickr --> | |
| 41 | + <link rel="stylesheet" href="/real_control_v2_mobile/assets/plugins/flatpickr/flatpickr.min.css" merge="plugins"/> | |
| 42 | + <link rel="stylesheet" href="/real_control_v2_mobile/assets/plugins/flatpickr/themes/airbnb.css" merge="plugins"/> | |
| 43 | + | |
| 44 | + <link rel="stylesheet" href="/real_control_v2_mobile/css/ct_table.css" merge="custom_style"/> | |
| 45 | + | |
| 46 | + <style> | |
| 47 | + .main-container .map-panel{ | |
| 48 | + position: absolute; | |
| 49 | + top:0; | |
| 50 | + left: 0; | |
| 51 | + width: 20px; | |
| 52 | + z-index: 999; | |
| 53 | + height: 20px; | |
| 54 | + } | |
| 55 | + </style> | |
| 56 | +</head> | |
| 57 | + | |
| 58 | +<body> | |
| 59 | +<div class="main-container" style="height: 100%;"> | |
| 60 | + <span style="position: absolute;left: calc(50% - 35px);top: calc(45% - 35px);">加载中...</span> | |
| 61 | +</div> | |
| 62 | +<!-- 地图相关 --> | |
| 63 | +<script src="http://api.map.baidu.com/api?v=2.0&ak=IGGrr4UjwIYzatoCRFKEL8sT"></script> | |
| 64 | +<script src="http://api.map.baidu.com/library/TrafficControl/1.4/src/TrafficControl_min.js"></script> | |
| 65 | +<script src="/assets/js/baidu//MarkerClusterer.js" merge="plugins"></script> | |
| 66 | +<script src="/assets/js/TransGPS.js" merge="plugins"></script> | |
| 67 | +<!-- 高德 --> | |
| 68 | +<script src="http://webapi.amap.com/maps?v=1.3&key=16cb1c5043847e09ef9edafdd77befda"></script> | |
| 69 | +<!-- jquery --> | |
| 70 | +<script src="/real_control_v2_mobile/assets/js/jquery.min.js"></script> | |
| 71 | +<!-- jquery actual --> | |
| 72 | +<script src="/real_control_v2_mobile/assets/js/jquery.actual.min.js" merge="plugins"></script> | |
| 73 | +<!-- moment.js 日期处理类库 --> | |
| 74 | +<script src="/real_control_v2_mobile/assets/plugins/moment/moment.min.js"></script> | |
| 75 | +<script src="/real_control_v2_mobile/assets/plugins/moment/zh-cn.js"></script> | |
| 76 | + | |
| 77 | +<!-- flatpickr --> | |
| 78 | +<script src="/real_control_v2_mobile/assets/plugins/flatpickr/flatpickr.min.js" merge="plugins"></script> | |
| 79 | +<script src="/real_control_v2_mobile/assets/plugins/flatpickr/l10n/zh.js" merge="plugins"></script> | |
| 80 | + | |
| 81 | +<!-- perfect-scrollbar --> | |
| 82 | +<script src="/real_control_v2_mobile/assets/plugins/perfect-scrollbar/perfect-scrollbar.jquery.js" merge="plugins"></script> | |
| 83 | +<!-- common js --> | |
| 84 | +<script src="/real_control_v2_mobile/js/common.js"></script> | |
| 85 | +<!-- art-template 模版引擎 --> | |
| 86 | +<script src="/assets/plugins/template.js" merge="plugins"></script> | |
| 87 | +<!-- d3 --> | |
| 88 | +<script src="/assets/js/d3.min.js"></script> | |
| 89 | +<!-- EventProxy --> | |
| 90 | +<script src="/assets/js/eventproxy.js"></script> | |
| 91 | +<!-- uikit core --> | |
| 92 | +<script src="/real_control_v2_mobile/assets/plugins/uikit-2.27.1/uikit.min.js" merge="uikit_js"></script> | |
| 93 | +<script src="/real_control_v2_mobile/assets/plugins/uikit-2.27.1/components/notify.min.js" merge="uikit_js"></script> | |
| 94 | +<script src="/real_control_v2_mobile/assets/plugins/uikit-2.27.1/components/tooltip.min.js" merge="uikit_js"></script> | |
| 95 | +<script src="/real_control_v2_mobile/assets/plugins/uikit-2.27.1/components/autocomplete.min.js" merge="uikit_js"></script> | |
| 96 | +<script src="/real_control_v2_mobile/assets/plugins/uikit-2.27.1/components/accordion.min.js" merge="uikit_js"></script> | |
| 97 | +<script src="/real_control_v2_mobile/assets/plugins/uikit-2.27.1/components/sticky.min.js" merge="uikit_js"></script> | |
| 98 | + | |
| 99 | +<!-- js tree --> | |
| 100 | +<script src="/real_control_v2_mobile/assets/plugins/jstree/jstree.min.js" merge="plugins"></script> | |
| 101 | +<!-- layer 3.0.3 --> | |
| 102 | +<script src="/real_control_v2_mobile/assets/plugins/layer3.0.3/layer.js" merge="plugins"></script> | |
| 103 | + | |
| 104 | +<!-- 模态框扩展 --> | |
| 105 | +<script src="/real_control_v2_mobile/js/modal_extend.js" merge="custom_js"></script> | |
| 106 | + | |
| 107 | +<script src="/real_control_v2_mobile/alone_page/map/alone_data_basic.js" merge="custom_js"></script> | |
| 108 | +<script src="/real_control_v2_mobile/alone_page/map/alone_data_gps.js" merge="custom_js"></script> | |
| 109 | +<script src="/real_control_v2_mobile/js/utils/ct_table.js" merge="custom_js"></script> | |
| 110 | +<!-- jquery.serializejson JSON序列化插件 --> | |
| 111 | +<script src="/assets/plugins/jquery.serializejson.js" merge="uikit_js"></script> | |
| 112 | + | |
| 113 | +<script src="/assets/plugins/pinyin.js" merge="plugins"></script> | |
| 114 | +</body> | |
| 115 | +<script> | |
| 116 | + gb_data_gps.fixedTimeRefresh(); | |
| 117 | + var res_load_ep = EventProxy.create('data-basic', function () { | |
| 118 | + | |
| 119 | + //嵌入地图页面 | |
| 120 | + $('.main-container').load('/real_control_v2_mobile/mapmonitor/real.html', function () { | |
| 121 | + $('.map-system-msg.flex-left').remove(); | |
| 122 | + | |
| 123 | + $(this).append('<span class="map-panel"></span>');//判断里有JS判定这个容器是否显示 | |
| 124 | + }); | |
| 125 | + }); | |
| 126 | + | |
| 127 | + var isArray = function (obj) { | |
| 128 | + return Object.prototype.toString.call(obj) === '[object Array]'; | |
| 129 | + }; | |
| 130 | +</script> | |
| 131 | +</html> | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/css/jquery.contextMenu.min.css
0 → 100644
| 1 | +@charset "UTF-8";/*! | |
| 2 | + * jQuery contextMenu - Plugin for simple contextMenu handling | |
| 3 | + * | |
| 4 | + * Version: v2.2.5-dev | |
| 5 | + * | |
| 6 | + * Authors: Björn Brala (SWIS.nl), Rodney Rehm, Addy Osmani (patches for FF) | |
| 7 | + * Web: http://swisnl.github.io/jQuery-contextMenu/ | |
| 8 | + * | |
| 9 | + * Copyright (c) 2011-2016 SWIS BV and contributors | |
| 10 | + * | |
| 11 | + * Licensed under | |
| 12 | + * MIT License http://www.opensource.org/licenses/mit-license | |
| 13 | + * | |
| 14 | + * Date: 2016-08-27T11:09:08.919Z | |
| 15 | + */.context-menu-icon.context-menu-icon--fa::before,.context-menu-icon::before{left:0;width:2em;font-size:1em;font-style:normal;font-weight:400;line-height:1;text-align:center;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:50%}@font-face{font-family:context-menu-icons;font-style:normal;font-weight:400;src:url(../fonts/context-menu-icons.eot?4pl8q);src:url(../fonts/context-menu-icons.eot?4pl8q#iefix) format("embedded-opentype"),url(../fonts/context-menu-icons.woff2?4pl8q) format("woff2"),url(../fonts/context-menu-icons.woff?4pl8q) format("woff"),url(../fonts/context-menu-icons.ttf?4pl8q) format("truetype")}.context-menu-icon-add:before{content:"\EA01"}.context-menu-icon-copy:before{content:"\EA02"}.context-menu-icon-cut:before{content:"\EA03"}.context-menu-icon-delete:before{content:"\EA04"}.context-menu-icon-edit:before{content:"\EA05"}.context-menu-icon-paste:before{content:"\EA06"}.context-menu-icon-quit:before{content:"\EA07"}.context-menu-icon::before{font-family:context-menu-icons;color:#2980b9;transform:translateY(-50%)}.context-menu-icon.context-menu-hover:before{color:#fff}.context-menu-icon.context-menu-disabled::before{color:#bbb}.context-menu-icon.context-menu-icon--fa{display:list-item;font-family:inherit}.context-menu-icon.context-menu-icon--fa::before{font-family:FontAwesome;color:#2980b9;transform:translateY(-50%)}.context-menu-icon.context-menu-icon--fa.context-menu-hover:before{color:#fff}.context-menu-icon.context-menu-icon--fa.context-menu-disabled::before{color:#bbb}.context-menu-list{position:absolute;display:inline-block;min-width:13em;max-width:26em;padding:.25em 0;margin:.3em;font-family:inherit;font-size:inherit;list-style-type:none;background:#fff;border:1px solid #bebebe;border-radius:.2em;-webkit-box-shadow:0 2px 5px rgba(0,0,0,.5);box-shadow:0 2px 5px rgba(0,0,0,.5)}.context-menu-item{position:relative;padding:.2em 2em;color:#2f2f2f;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fff}.context-menu-separator{padding:0;margin:.35em 0;border-bottom:1px solid #e6e6e6}.context-menu-item>label>input,.context-menu-item>label>textarea{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.context-menu-item.context-menu-hover{color:#fff;cursor:pointer;background-color:#2980b9}.context-menu-item.context-menu-disabled{color:#bbb;cursor:default;background-color:#fff}.context-menu-input.context-menu-hover{cursor:default}.context-menu-submenu:after{position:absolute;top:50%;right:.5em;z-index:1;width:0;height:0;content:'';border-color:transparent transparent transparent #2f2f2f;border-style:solid;border-width:.25em 0 .25em .25em;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%)}.context-menu-item.context-menu-input{padding:.3em .6em}.context-menu-input>label>*{vertical-align:top}.context-menu-input>label>input[type=checkbox],.context-menu-input>label>input[type=radio]{position:relative;top:.12em;margin-right:.4em}.context-menu-input>label{margin:0}.context-menu-input>label,.context-menu-input>label>input[type=text],.context-menu-input>label>select,.context-menu-input>label>textarea{display:block;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.context-menu-input>label>textarea{height:7em}.context-menu-item>.context-menu-list{top:.3em;right:-.3em;display:none}.context-menu-item.context-menu-visible>.context-menu-list{display:block}.context-menu-accesskey{text-decoration:underline} | |
| 16 | +/*# sourceMappingURL=jquery.contextMenu.min.css.map */ | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/echarts-3/echarts.js
0 → 100644
No preview for this file type
src/main/resources/static/real_control_v2_mobile/assets/fonts/context-menu-icons.eot
0 → 100644
No preview for this file type
src/main/resources/static/real_control_v2_mobile/assets/fonts/context-menu-icons.ttf
0 → 100644
No preview for this file type
src/main/resources/static/real_control_v2_mobile/assets/fonts/context-menu-icons.woff
0 → 100644
No preview for this file type
src/main/resources/static/real_control_v2_mobile/assets/fonts/context-menu-icons.woff2
0 → 100644
No preview for this file type
src/main/resources/static/real_control_v2_mobile/assets/imgs/bus1-R.png
0 → 100644
3.61 KB
src/main/resources/static/real_control_v2_mobile/assets/imgs/icon/minus.png
0 → 100644
119 Bytes
src/main/resources/static/real_control_v2_mobile/assets/imgs/icon/pause.png
0 → 100644
2.29 KB
src/main/resources/static/real_control_v2_mobile/assets/imgs/icon/play.png
0 → 100644
2.36 KB
src/main/resources/static/real_control_v2_mobile/assets/imgs/icon/remove.png
0 → 100644
269 Bytes
src/main/resources/static/real_control_v2_mobile/assets/imgs/time.gif
0 → 100644
src/main/resources/static/real_control_v2_mobile/assets/js/GeoUtils_min.js
0 → 100644
| 1 | +var BMapLib=window.BMapLib=BMapLib||{};(function(){var a=6370996.81;var b=BMapLib.GeoUtils=function(){};b.isPointInRect=function(f,g){if(!(f instanceof BMap.Point)||!(g instanceof BMap.Bounds)){return false}var e=g.getSouthWest();var h=g.getNorthEast();return(f.lng>=e.lng&&f.lng<=h.lng&&f.lat>=e.lat&&f.lat<=h.lat)};b.isPointInCircle=function(e,h){if(!(e instanceof BMap.Point)||!(h instanceof BMap.Circle)){return false}var i=h.getCenter();var g=h.getRadius();var f=b.getDistance(e,i);if(f<=g){return true}else{return false}};b.isPointOnPolyline=function(f,h){if(!(f instanceof BMap.Point)||!(h instanceof BMap.Polyline)){return false}var e=h.getBounds();if(!this.isPointInRect(f,e)){return false}var m=h.getPath();for(var k=0;k<m.length-1;k++){var l=m[k];var j=m[k+1];if(f.lng>=Math.min(l.lng,j.lng)&&f.lng<=Math.max(l.lng,j.lng)&&f.lat>=Math.min(l.lat,j.lat)&&f.lat<=Math.max(l.lat,j.lat)){var g=(l.lng-f.lng)*(j.lat-f.lat)-(j.lng-f.lng)*(l.lat-f.lat);if(g<2e-10&&g>-2e-10){return true}}}return false};b.isPointInPolygon=function(o,l){if(!(o instanceof BMap.Point)||!(l instanceof BMap.Polygon)){return false}var k=l.getBounds();if(!this.isPointInRect(o,k)){return false}var t=l.getPath();var h=t.length;var n=true;var j=0;var g=2e-10;var s,q;var e=o;s=t[0];for(var f=1;f<=h;++f){if(e.equals(s)){return n}q=t[f%h];if(e.lat<Math.min(s.lat,q.lat)||e.lat>Math.max(s.lat,q.lat)){s=q;continue}if(e.lat>Math.min(s.lat,q.lat)&&e.lat<Math.max(s.lat,q.lat)){if(e.lng<=Math.max(s.lng,q.lng)){if(s.lat==q.lat&&e.lng>=Math.min(s.lng,q.lng)){return n}if(s.lng==q.lng){if(s.lng==e.lng){return n}else{++j}}else{var r=(e.lat-s.lat)*(q.lng-s.lng)/(q.lat-s.lat)+s.lng;if(Math.abs(e.lng-r)<g){return n}if(e.lng<r){++j}}}}else{if(e.lat==q.lat&&e.lng<=q.lng){var m=t[(f+1)%h];if(e.lat>=Math.min(s.lat,m.lat)&&e.lat<=Math.max(s.lat,m.lat)){++j}else{j+=2}}}s=q}if(j%2==0){return false}else{return true}};b.degreeToRad=function(e){return Math.PI*e/180};b.radToDegree=function(e){return(180*e)/Math.PI};function d(g,f,e){if(f!=null){g=Math.max(g,f)}if(e!=null){g=Math.min(g,e)}return g}function c(g,f,e){while(g>e){g-=e-f}while(g<f){g+=e-f}return g}b.getDistance=function(j,h){if(!(j instanceof BMap.Point)||!(h instanceof BMap.Point)){return 0}j.lng=c(j.lng,-180,180);j.lat=d(j.lat,-74,74);h.lng=c(h.lng,-180,180);h.lat=d(h.lat,-74,74);var f,e,i,g;f=b.degreeToRad(j.lng);i=b.degreeToRad(j.lat);e=b.degreeToRad(h.lng);g=b.degreeToRad(h.lat);return a*Math.acos((Math.sin(i)*Math.sin(g)+Math.cos(i)*Math.cos(g)*Math.cos(e-f)))};b.getPolylineDistance=function(f){if(f instanceof BMap.Polyline||f instanceof Array){var l;if(f instanceof BMap.Polyline){l=f.getPath()}else{l=f}if(l.length<2){return 0}var j=0;for(var h=0;h<l.length-1;h++){var k=l[h];var g=l[h+1];var e=b.getDistance(k,g);j+=e}return j}else{return 0}};b.getPolygonArea=function(t){if(!(t instanceof BMap.Polygon)&&!(t instanceof Array)){return 0}var R;if(t instanceof BMap.Polygon){R=t.getPath()}else{R=t}if(R.length<3){return 0}var w=0;var D=0;var C=0;var L=0;var J=0;var F=0;var E=0;var S=0;var H=0;var p=0;var T=0;var I=0;var q=0;var e=0;var M=0;var v=0;var K=0;var N=0;var s=0;var O=0;var l=0;var g=0;var z=0;var Q=0;var G=0;var j=0;var A=0;var o=0;var m=0;var y=0;var x=0;var h=0;var k=0;var f=0;var n=a;var B=R.length;for(var P=0;P<B;P++){if(P==0){D=R[B-1].lng*Math.PI/180;C=R[B-1].lat*Math.PI/180;L=R[0].lng*Math.PI/180;J=R[0].lat*Math.PI/180;F=R[1].lng*Math.PI/180;E=R[1].lat*Math.PI/180}else{if(P==B-1){D=R[B-2].lng*Math.PI/180;C=R[B-2].lat*Math.PI/180;L=R[B-1].lng*Math.PI/180;J=R[B-1].lat*Math.PI/180;F=R[0].lng*Math.PI/180;E=R[0].lat*Math.PI/180}else{D=R[P-1].lng*Math.PI/180;C=R[P-1].lat*Math.PI/180;L=R[P].lng*Math.PI/180;J=R[P].lat*Math.PI/180;F=R[P+1].lng*Math.PI/180;E=R[P+1].lat*Math.PI/180}}S=Math.cos(J)*Math.cos(L);H=Math.cos(J)*Math.sin(L);p=Math.sin(J);T=Math.cos(C)*Math.cos(D);I=Math.cos(C)*Math.sin(D);q=Math.sin(C);e=Math.cos(E)*Math.cos(F);M=Math.cos(E)*Math.sin(F);v=Math.sin(E);K=(S*S+H*H+p*p)/(S*T+H*I+p*q);N=(S*S+H*H+p*p)/(S*e+H*M+p*v);s=K*T-S;O=K*I-H;l=K*q-p;g=N*e-S;z=N*M-H;Q=N*v-p;m=(g*s+z*O+Q*l)/(Math.sqrt(g*g+z*z+Q*Q)*Math.sqrt(s*s+O*O+l*l));m=Math.acos(m);G=z*l-Q*O;j=0-(g*l-Q*s);A=g*O-z*s;if(S!=0){o=G/S}else{if(H!=0){o=j/H}else{o=A/p}}if(o>0){y+=m;k++}else{x+=m;h++}}var u,r;u=y+(2*Math.PI*h-x);r=(2*Math.PI*k-y)+x;if(y>x){if((u-(B-2)*Math.PI)<1){f=u}else{f=r}}else{if((r-(B-2)*Math.PI)<1){f=r}else{f=u}}w=(f-(B-2)*Math.PI)*n*n;return w}})(); | |
| 0 | 2 | \ No newline at end of file | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/js/d3.min.js
0 → 100644
| 1 | +// https://d3js.org Version 4.9.1. Copyright 2017 Mike Bostock. | |
| 2 | +(function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n(t.d3=t.d3||{})})(this,function(t){"use strict";function n(t){return function(n,e){return js(t(n),e)}}function e(t,n){return[t,n]}function r(t,n,e){var r=(n-t)/Math.max(0,e),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=sf?10:o>=ff?5:o>=lf?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=sf?10:o>=ff?5:o>=lf?2:1)}function i(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=sf?i*=10:o>=ff?i*=5:o>=lf&&(i*=2),n<t?-i:i}function o(t){return t.length}function u(t){return"translate("+(t+.5)+",0)"}function a(t){return"translate(0,"+(t+.5)+")"}function c(t){var n=Math.max(0,t.bandwidth()-1)/2;return t.round()&&(n=Math.round(n)),function(e){return t(e)+n}}function s(){return!this.__axis}function f(t,n){function e(e){var u=null==i?n.ticks?n.ticks.apply(n,r):n.domain():i,a=null==o?n.tickFormat?n.tickFormat.apply(n,r):Cf:o,_=Math.max(f,0)+h,y=n.range(),g=y[0]+.5,m=y[y.length-1]+.5,x=(n.bandwidth?c:Cf)(n.copy()),b=e.selection?e.selection():e,w=b.selectAll(".domain").data([null]),M=b.selectAll(".tick").data(u,n).order(),T=M.exit(),k=M.enter().append("g").attr("class","tick"),N=M.select("line"),S=M.select("text");w=w.merge(w.enter().insert("path",".tick").attr("class","domain").attr("stroke","#000")),M=M.merge(k),N=N.merge(k.append("line").attr("stroke","#000").attr(d+"2",p*f)),S=S.merge(k.append("text").attr("fill","#000").attr(d,p*_).attr("dy",t===zf?"0em":t===Lf?"0.71em":"0.32em")),e!==b&&(w=w.transition(e),M=M.transition(e),N=N.transition(e),S=S.transition(e),T=T.transition(e).attr("opacity",qf).attr("transform",function(t){return isFinite(t=x(t))?v(t):this.getAttribute("transform")}),k.attr("opacity",qf).attr("transform",function(t){var n=this.parentNode.__axis;return v(n&&isFinite(n=n(t))?n:x(t))})),T.remove(),w.attr("d",t===Rf||t==Pf?"M"+p*l+","+g+"H0.5V"+m+"H"+p*l:"M"+g+","+p*l+"V0.5H"+m+"V"+p*l),M.attr("opacity",1).attr("transform",function(t){return v(x(t))}),N.attr(d+"2",p*f),S.attr(d,p*_).text(a),b.filter(s).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===Pf?"start":t===Rf?"end":"middle"),b.each(function(){this.__axis=x})}var r=[],i=null,o=null,f=6,l=6,h=3,p=t===zf||t===Rf?-1:1,d=t===Rf||t===Pf?"x":"y",v=t===zf||t===Lf?u:a;return e.scale=function(t){return arguments.length?(n=t,e):n},e.ticks=function(){return r=Af.call(arguments),e},e.tickArguments=function(t){return arguments.length?(r=null==t?[]:Af.call(t),e):r.slice()},e.tickValues=function(t){return arguments.length?(i=null==t?null:Af.call(t),e):i&&i.slice()},e.tickFormat=function(t){return arguments.length?(o=t,e):o},e.tickSize=function(t){return arguments.length?(f=l=+t,e):f},e.tickSizeInner=function(t){return arguments.length?(f=+t,e):f},e.tickSizeOuter=function(t){return arguments.length?(l=+t,e):l},e.tickPadding=function(t){return arguments.length?(h=+t,e):h},e}function l(t){return f(zf,t)}function h(t){return f(Pf,t)}function p(t){return f(Lf,t)}function d(t){return f(Rf,t)}function v(){for(var t,n=0,e=arguments.length,r={};n<e;++n){if(!(t=arguments[n]+"")||t in r)throw new Error("illegal type: "+t);r[t]=[]}return new _(r)}function _(t){this._=t}function y(t,n){return t.trim().split(/^|\s+/).map(function(t){var e="",r=t.indexOf(".");if(r>=0&&(e=t.slice(r+1),t=t.slice(0,r)),t&&!n.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}})}function g(t,n){for(var e,r=0,i=t.length;r<i;++r)if((e=t[r]).name===n)return e.value}function m(t,n,e){for(var r=0,i=t.length;r<i;++r)if(t[r].name===n){t[r]=Uf,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=e&&t.push({name:n,value:e}),t}function x(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===Df&&n.documentElement.namespaceURI===Df?n.createElement(t):n.createElementNS(e,t)}}function b(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function w(){return new M}function M(){this._="@"+(++Yf).toString(36)}function T(t,n,e){return t=k(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function k(n,e,r){return function(i){var o=t.event;t.event=i;try{n.call(this,this.__data__,e,r)}finally{t.event=o}}}function N(t){return t.trim().split(/^|\s+/).map(function(t){var n="",e=t.indexOf(".");return e>=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}})}function S(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,o=n.length;r<o;++r)e=n[r],t.type&&e.type!==t.type||e.name!==t.name?n[++i]=e:this.removeEventListener(e.type,e.listener,e.capture);++i?n.length=i:delete this.__on}}}function E(t,n,e){var r=$f.hasOwnProperty(t.type)?T:k;return function(i,o,u){var a,c=this.__on,s=r(n,o,u);if(c)for(var f=0,l=c.length;f<l;++f)if((a=c[f]).type===t.type&&a.name===t.name)return this.removeEventListener(a.type,a.listener,a.capture),this.addEventListener(a.type,a.listener=s,a.capture=e),void(a.value=n);this.addEventListener(t.type,s,e),a={type:t.type,name:t.name,value:n,listener:s,capture:e},c?c.push(a):this.__on=[a]}}function A(n,e,r,i){var o=t.event;n.sourceEvent=t.event,t.event=n;try{return e.apply(r,i)}finally{t.event=o}}function C(){}function z(){return[]}function P(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}function L(t,n,e,r,i,o){for(var u,a=0,c=n.length,s=o.length;a<s;++a)(u=n[a])?(u.__data__=o[a],r[a]=u):e[a]=new P(t,o[a]);for(;a<c;++a)(u=n[a])&&(i[a]=u)}function R(t,n,e,r,i,o,u){var a,c,s,f={},l=n.length,h=o.length,p=new Array(l);for(a=0;a<l;++a)(c=n[a])&&(p[a]=s=ol+u.call(c,c.__data__,a,n),s in f?i[a]=c:f[s]=c);for(a=0;a<h;++a)s=ol+u.call(t,o[a],a,o),(c=f[s])?(r[a]=c,c.__data__=o[a],f[s]=null):e[a]=new P(t,o[a]);for(a=0;a<l;++a)(c=n[a])&&f[p[a]]===c&&(i[a]=c)}function q(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}function U(t){return function(){this.removeAttribute(t)}}function D(t){return function(){this.removeAttributeNS(t.space,t.local)}}function O(t,n){return function(){this.setAttribute(t,n)}}function F(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function I(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function Y(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}function B(t){return function(){this.style.removeProperty(t)}}function H(t,n,e){return function(){this.style.setProperty(t,n,e)}}function j(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}function X(t,n){return t.style.getPropertyValue(n)||gl(t).getComputedStyle(t,null).getPropertyValue(n)}function $(t){return function(){delete this[t]}}function V(t,n){return function(){this[t]=n}}function W(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function Z(t){return t.trim().split(/^|\s+/)}function G(t){return t.classList||new J(t)}function J(t){this._node=t,this._names=Z(t.getAttribute("class")||"")}function Q(t,n){for(var e=G(t),r=-1,i=n.length;++r<i;)e.add(n[r])}function K(t,n){for(var e=G(t),r=-1,i=n.length;++r<i;)e.remove(n[r])}function tt(t){return function(){Q(this,t)}}function nt(t){return function(){K(this,t)}}function et(t,n){return function(){(n.apply(this,arguments)?Q:K)(this,t)}}function rt(){this.textContent=""}function it(t){return function(){this.textContent=t}}function ot(t){return function(){var n=t.apply(this,arguments);this.textContent=null==n?"":n}}function ut(){this.innerHTML=""}function at(t){return function(){this.innerHTML=t}}function ct(t){return function(){var n=t.apply(this,arguments);this.innerHTML=null==n?"":n}}function st(){this.nextSibling&&this.parentNode.appendChild(this)}function ft(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function lt(){return null}function ht(){var t=this.parentNode;t&&t.removeChild(this)}function pt(t,n,e){var r=gl(t),i=r.CustomEvent;"function"==typeof i?i=new i(n,e):(i=r.document.createEvent("Event"),e?(i.initEvent(n,e.bubbles,e.cancelable),i.detail=e.detail):i.initEvent(n,!1,!1)),t.dispatchEvent(i)}function dt(t,n){return function(){return pt(this,t,n)}}function vt(t,n){return function(){return pt(this,t,n.apply(this,arguments))}}function _t(t,n){this._groups=t,this._parents=n}function yt(){return new _t([[document.documentElement]],zl)}function gt(){t.event.stopImmediatePropagation()}function mt(t,n){var e=t.document.documentElement,r=Pl(t).on("dragstart.drag",null);n&&(r.on("click.drag",Ul,!0),setTimeout(function(){r.on("click.drag",null)},0)),"onselectstart"in e?r.on("selectstart.drag",null):(e.style.MozUserSelect=e.__noselect,delete e.__noselect)}function xt(t,n,e,r,i,o,u,a,c,s){this.target=t,this.type=n,this.subject=e,this.identifier=r,this.active=i,this.x=o,this.y=u,this.dx=a,this.dy=c,this._=s}function bt(){return!t.event.button}function wt(){return this.parentNode}function Mt(n){return null==n?{x:t.event.x,y:t.event.y}:n}function Tt(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function kt(){}function Nt(t){var n;return t=(t+"").trim().toLowerCase(),(n=jl.exec(t))?(n=parseInt(n[1],16),new zt(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1)):(n=Xl.exec(t))?St(parseInt(n[1],16)):(n=$l.exec(t))?new zt(n[1],n[2],n[3],1):(n=Vl.exec(t))?new zt(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=Wl.exec(t))?Et(n[1],n[2],n[3],n[4]):(n=Zl.exec(t))?Et(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=Gl.exec(t))?Pt(n[1],n[2]/100,n[3]/100,1):(n=Jl.exec(t))?Pt(n[1],n[2]/100,n[3]/100,n[4]):Ql.hasOwnProperty(t)?St(Ql[t]):"transparent"===t?new zt(NaN,NaN,NaN,0):null}function St(t){return new zt(t>>16&255,t>>8&255,255&t,1)}function Et(t,n,e,r){return r<=0&&(t=n=e=NaN),new zt(t,n,e,r)}function At(t){return t instanceof kt||(t=Nt(t)),t?(t=t.rgb(),new zt(t.r,t.g,t.b,t.opacity)):new zt}function Ct(t,n,e,r){return 1===arguments.length?At(t):new zt(t,n,e,null==r?1:r)}function zt(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function Pt(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new qt(t,n,e,r)}function Lt(t){if(t instanceof qt)return new qt(t.h,t.s,t.l,t.opacity);if(t instanceof kt||(t=Nt(t)),!t)return new qt;if(t instanceof qt)return t;t=t.rgb();var n=t.r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),o=Math.max(n,e,r),u=NaN,a=o-i,c=(o+i)/2;return a?(u=n===o?(e-r)/a+6*(e<r):e===o?(r-n)/a+2:(n-e)/a+4,a/=c<.5?o+i:2-o-i,u*=60):a=c>0&&c<1?0:u,new qt(u,a,c,t.opacity)}function Rt(t,n,e,r){return 1===arguments.length?Lt(t):new qt(t,n,e,null==r?1:r)}function qt(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Ut(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}function Dt(t){if(t instanceof Ft)return new Ft(t.l,t.a,t.b,t.opacity);if(t instanceof $t){var n=t.h*Kl;return new Ft(t.l,Math.cos(n)*t.c,Math.sin(n)*t.c,t.opacity)}t instanceof zt||(t=At(t));var e=Ht(t.r),r=Ht(t.g),i=Ht(t.b),o=It((.4124564*e+.3575761*r+.1804375*i)/nh),u=It((.2126729*e+.7151522*r+.072175*i)/eh);return new Ft(116*u-16,500*(o-u),200*(u-It((.0193339*e+.119192*r+.9503041*i)/rh)),t.opacity)}function Ot(t,n,e,r){return 1===arguments.length?Dt(t):new Ft(t,n,e,null==r?1:r)}function Ft(t,n,e,r){this.l=+t,this.a=+n,this.b=+e,this.opacity=+r}function It(t){return t>ah?Math.pow(t,1/3):t/uh+ih}function Yt(t){return t>oh?t*t*t:uh*(t-ih)}function Bt(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Ht(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function jt(t){if(t instanceof $t)return new $t(t.h,t.c,t.l,t.opacity);t instanceof Ft||(t=Dt(t));var n=Math.atan2(t.b,t.a)*th;return new $t(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function Xt(t,n,e,r){return 1===arguments.length?jt(t):new $t(t,n,e,null==r?1:r)}function $t(t,n,e,r){this.h=+t,this.c=+n,this.l=+e,this.opacity=+r}function Vt(t){if(t instanceof Zt)return new Zt(t.h,t.s,t.l,t.opacity);t instanceof zt||(t=At(t));var n=t.r/255,e=t.g/255,r=t.b/255,i=(vh*r+ph*n-dh*e)/(vh+ph-dh),o=r-i,u=(hh*(e-i)-fh*o)/lh,a=Math.sqrt(u*u+o*o)/(hh*i*(1-i)),c=a?Math.atan2(u,o)*th-120:NaN;return new Zt(c<0?c+360:c,a,i,t.opacity)}function Wt(t,n,e,r){return 1===arguments.length?Vt(t):new Zt(t,n,e,null==r?1:r)}function Zt(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Gt(t,n,e,r,i){var o=t*t,u=o*t;return((1-3*t+3*o-u)*n+(4-6*o+3*u)*e+(1+3*t+3*o-3*u)*r+u*i)/6}function Jt(t,n){return function(e){return t+e*n}}function Qt(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}function Kt(t,n){var e=n-t;return e?Jt(t,e>180||e<-180?e-360*Math.round(e/360):e):Th(isNaN(t)?n:t)}function tn(t){return 1==(t=+t)?nn:function(n,e){return e-n?Qt(n,e,t):Th(isNaN(n)?e:n)}}function nn(t,n){var e=n-t;return e?Jt(t,e):Th(isNaN(t)?n:t)}function en(t){return function(n){var e,r,i=n.length,o=new Array(i),u=new Array(i),a=new Array(i);for(e=0;e<i;++e)r=Ct(n[e]),o[e]=r.r||0,u[e]=r.g||0,a[e]=r.b||0;return o=t(o),u=t(u),a=t(a),r.opacity=1,function(t){return r.r=o(t),r.g=u(t),r.b=a(t),r+""}}}function rn(t){return function(){return t}}function on(t){return function(n){return t(n)+""}}function un(t){return"none"===t?Oh:(_h||(_h=document.createElement("DIV"),yh=document.documentElement,gh=document.defaultView),_h.style.transform=t,t=gh.getComputedStyle(yh.appendChild(_h),null).getPropertyValue("transform"),yh.removeChild(_h),t=t.slice(7,-1).split(","),Fh(+t[0],+t[1],+t[2],+t[3],+t[4],+t[5]))}function an(t){return null==t?Oh:(mh||(mh=document.createElementNS("http://www.w3.org/2000/svg","g")),mh.setAttribute("transform",t),(t=mh.transform.baseVal.consolidate())?(t=t.matrix,Fh(t.a,t.b,t.c,t.d,t.e,t.f)):Oh)}function cn(t,n,e,r){function i(t){return t.length?t.pop()+" ":""}function o(t,r,i,o,u,a){if(t!==i||r!==o){var c=u.push("translate(",null,n,null,e);a.push({i:c-4,x:Ch(t,i)},{i:c-2,x:Ch(r,o)})}else(i||o)&&u.push("translate("+i+n+o+e)}function u(t,n,e,o){t!==n?(t-n>180?n+=360:n-t>180&&(t+=360),o.push({i:e.push(i(e)+"rotate(",null,r)-2,x:Ch(t,n)})):n&&e.push(i(e)+"rotate("+n+r)}function a(t,n,e,o){t!==n?o.push({i:e.push(i(e)+"skewX(",null,r)-2,x:Ch(t,n)}):n&&e.push(i(e)+"skewX("+n+r)}function c(t,n,e,r,o,u){if(t!==e||n!==r){var a=o.push(i(o)+"scale(",null,",",null,")");u.push({i:a-4,x:Ch(t,e)},{i:a-2,x:Ch(n,r)})}else 1===e&&1===r||o.push(i(o)+"scale("+e+","+r+")")}return function(n,e){var r=[],i=[];return n=t(n),e=t(e),o(n.translateX,n.translateY,e.translateX,e.translateY,r,i),u(n.rotate,e.rotate,r,i),a(n.skewX,e.skewX,r,i),c(n.scaleX,n.scaleY,e.scaleX,e.scaleY,r,i),n=e=null,function(t){for(var n,e=-1,o=i.length;++e<o;)r[(n=i[e]).i]=n.x(t);return r.join("")}}}function sn(t){return((t=Math.exp(t))+1/t)/2}function fn(t){return((t=Math.exp(t))-1/t)/2}function ln(t){return((t=Math.exp(2*t))-1)/(t+1)}function hn(t){return function(n,e){var r=t((n=Rt(n)).h,(e=Rt(e)).h),i=nn(n.s,e.s),o=nn(n.l,e.l),u=nn(n.opacity,e.opacity);return function(t){return n.h=r(t),n.s=i(t),n.l=o(t),n.opacity=u(t),n+""}}}function pn(t,n){var e=nn((t=Ot(t)).l,(n=Ot(n)).l),r=nn(t.a,n.a),i=nn(t.b,n.b),o=nn(t.opacity,n.opacity);return function(n){return t.l=e(n),t.a=r(n),t.b=i(n),t.opacity=o(n),t+""}}function dn(t){return function(n,e){var r=t((n=Xt(n)).h,(e=Xt(e)).h),i=nn(n.c,e.c),o=nn(n.l,e.l),u=nn(n.opacity,e.opacity);return function(t){return n.h=r(t),n.c=i(t),n.l=o(t),n.opacity=u(t),n+""}}}function vn(t){return function n(e){function r(n,r){var i=t((n=Wt(n)).h,(r=Wt(r)).h),o=nn(n.s,r.s),u=nn(n.l,r.l),a=nn(n.opacity,r.opacity);return function(t){return n.h=i(t),n.s=o(t),n.l=u(Math.pow(t,e)),n.opacity=a(t),n+""}}return e=+e,r.gamma=n,r}(1)}function _n(){return ep||(op(yn),ep=ip.now()+rp)}function yn(){ep=0}function gn(){this._call=this._time=this._next=null}function mn(t,n,e){var r=new gn;return r.restart(t,n,e),r}function xn(){_n(),++Jh;for(var t,n=xh;n;)(t=ep-n._time)>=0&&n._call.call(null,t),n=n._next;--Jh}function bn(){ep=(np=ip.now())+rp,Jh=Qh=0;try{xn()}finally{Jh=0,Mn(),ep=0}}function wn(){var t=ip.now(),n=t-np;n>tp&&(rp-=n,np=t)}function Mn(){for(var t,n,e=xh,r=1/0;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:xh=n);bh=t,Tn(r)}function Tn(t){if(!Jh){Qh&&(Qh=clearTimeout(Qh));var n=t-ep;n>24?(t<1/0&&(Qh=setTimeout(bn,n)),Kh&&(Kh=clearInterval(Kh))):(Kh||(np=ep,Kh=setInterval(wn,tp)),Jh=1,op(bn))}}function kn(t,n){var e=t.__transition;if(!e||!(e=e[n])||e.state>fp)throw new Error("too late");return e}function Nn(t,n){var e=t.__transition;if(!e||!(e=e[n])||e.state>hp)throw new Error("too late");return e}function Sn(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("too late");return e}function En(t,n,e){function r(t){e.state=lp,e.timer.restart(i,e.delay,e.time),e.delay<=t&&i(t-e.delay)}function i(r){var s,f,l,h;if(e.state!==lp)return u();for(s in c)if(h=c[s],h.name===e.name){if(h.state===pp)return up(i);h.state===dp?(h.state=_p,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete c[s]):+s<n&&(h.state=_p,h.timer.stop(),delete c[s])}if(up(function(){e.state===pp&&(e.state=dp,e.timer.restart(o,e.delay,e.time),o(r))}),e.state=hp,e.on.call("start",t,t.__data__,e.index,e.group),e.state===hp){for(e.state=pp,a=new Array(l=e.tween.length),s=0,f=-1;s<l;++s)(h=e.tween[s].value.call(t,t.__data__,e.index,e.group))&&(a[++f]=h);a.length=f+1}}function o(n){for(var r=n<e.duration?e.ease.call(null,n/e.duration):(e.timer.restart(u),e.state=vp,1),i=-1,o=a.length;++i<o;)a[i].call(null,r);e.state===vp&&(e.on.call("end",t,t.__data__,e.index,e.group),u())}function u(){e.state=_p,e.timer.stop(),delete c[n];for(var r in c)return;delete t.__transition}var a,c=t.__transition;c[n]=e,e.timer=mn(r,0,e.time)}function An(t,n){var e,r;return function(){var i=Nn(this,t),o=i.tween;if(o!==e){r=e=o;for(var u=0,a=r.length;u<a;++u)if(r[u].name===n){r=r.slice(),r.splice(u,1);break}}i.tween=r}}function Cn(t,n,e){var r,i;if("function"!=typeof e)throw new Error;return function(){var o=Nn(this,t),u=o.tween;if(u!==r){i=(r=u).slice();for(var a={name:n,value:e},c=0,s=i.length;c<s;++c)if(i[c].name===n){i[c]=a;break}c===s&&i.push(a)}o.tween=i}}function zn(t,n,e){var r=t._id;return t.each(function(){var t=Nn(this,r);(t.value||(t.value={}))[n]=e.apply(this,arguments)}),function(t){return Sn(t,r).value[n]}}function Pn(t){return function(){this.removeAttribute(t)}}function Ln(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Rn(t,n,e){var r,i;return function(){var o=this.getAttribute(t);return o===e?null:o===r?i:i=n(r=o,e)}}function qn(t,n,e){var r,i;return function(){var o=this.getAttributeNS(t.space,t.local);return o===e?null:o===r?i:i=n(r=o,e)}}function Un(t,n,e){var r,i,o;return function(){var u,a=e(this);return null==a?void this.removeAttribute(t):(u=this.getAttribute(t),u===a?null:u===r&&a===i?o:o=n(r=u,i=a))}}function Dn(t,n,e){var r,i,o;return function(){var u,a=e(this);return null==a?void this.removeAttributeNS(t.space,t.local):(u=this.getAttributeNS(t.space,t.local),u===a?null:u===r&&a===i?o:o=n(r=u,i=a))}}function On(t,n){function e(){var e=this,r=n.apply(e,arguments);return r&&function(n){e.setAttributeNS(t.space,t.local,r(n))}}return e._value=n,e}function Fn(t,n){function e(){var e=this,r=n.apply(e,arguments);return r&&function(n){e.setAttribute(t,r(n))}}return e._value=n,e}function In(t,n){return function(){kn(this,t).delay=+n.apply(this,arguments)}}function Yn(t,n){return n=+n,function(){kn(this,t).delay=n}}function Bn(t,n){return function(){Nn(this,t).duration=+n.apply(this,arguments)}}function Hn(t,n){return n=+n,function(){Nn(this,t).duration=n}}function jn(t,n){if("function"!=typeof n)throw new Error;return function(){Nn(this,t).ease=n}}function Xn(t){return(t+"").trim().split(/^|\s+/).every(function(t){var n=t.indexOf(".");return n>=0&&(t=t.slice(0,n)),!t||"start"===t})}function $n(t,n,e){var r,i,o=Xn(n)?kn:Nn;return function(){var u=o(this,t),a=u.on;a!==r&&(i=(r=a).copy()).on(n,e),u.on=i}}function Vn(t){return function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}}function Wn(t,n){var e,r,i;return function(){var o=X(this,t),u=(this.style.removeProperty(t),X(this,t));return o===u?null:o===e&&u===r?i:i=n(e=o,r=u)}}function Zn(t){return function(){this.style.removeProperty(t)}}function Gn(t,n,e){var r,i;return function(){var o=X(this,t);return o===e?null:o===r?i:i=n(r=o,e)}}function Jn(t,n,e){var r,i,o;return function(){var u=X(this,t),a=e(this);return null==a&&(this.style.removeProperty(t),a=X(this,t)),u===a?null:u===r&&a===i?o:o=n(r=u,i=a)}}function Qn(t,n,e){function r(){var r=this,i=n.apply(r,arguments);return i&&function(n){r.style.setProperty(t,i(n),e)}}return r._value=n,r}function Kn(t){return function(){this.textContent=t}}function te(t){return function(){var n=t(this);this.textContent=null==n?"":n}}function ne(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function ee(t){return yt().transition(t)}function re(){return++Fp}function ie(t){return+t}function oe(t){return t*t}function ue(t){return t*(2-t)}function ae(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function ce(t){return t*t*t}function se(t){return--t*t*t+1}function fe(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}function le(t){return 1-Math.cos(t*Xp)}function he(t){return Math.sin(t*Xp)}function pe(t){return(1-Math.cos(jp*t))/2}function de(t){return Math.pow(2,10*t-10)}function ve(t){return 1-Math.pow(2,-10*t)}function _e(t){return((t*=2)<=1?Math.pow(2,10*t-10):2-Math.pow(2,10-10*t))/2}function ye(t){return 1-Math.sqrt(1-t*t)}function ge(t){return Math.sqrt(1- --t*t)}function me(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}function xe(t){return 1-be(1-t)}function be(t){return(t=+t)<$p?nd*t*t:t<Wp?nd*(t-=Vp)*t+Zp:t<Jp?nd*(t-=Gp)*t+Qp:nd*(t-=Kp)*t+td}function we(t){return((t*=2)<=1?1-be(1-t):be(t-1)+1)/2}function Me(t,n){for(var e;!(e=t.__transition)||!(e=e[n]);)if(!(t=t.parentNode))return sd.time=_n(),sd;return e}function Te(){t.event.stopImmediatePropagation()}function ke(t){return{type:t}}function Ne(){return!t.event.button}function Se(){var t=this.ownerSVGElement||this;return[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function Ee(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function Ae(t){return t[0][0]===t[1][0]||t[0][1]===t[1][1]}function Ce(t){var n=t.__brush;return n?n.dim.output(n.selection):null}function ze(){return Le(xd)}function Pe(){return Le(bd)}function Le(n){function e(t){var e=t.property("__brush",a).selectAll(".overlay").data([ke("overlay")]);e.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",Md.overlay).merge(e).each(function(){var t=Ee(this).extent;Pl(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])}),t.selectAll(".selection").data([ke("selection")]).enter().append("rect").attr("class","selection").attr("cursor",Md.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var i=t.selectAll(".handle").data(n.handles,function(t){return t.type});i.exit().remove(),i.enter().append("rect").attr("class",function(t){return"handle handle--"+t.type}).attr("cursor",function(t){return Md[t.type]}),t.each(r).attr("fill","none").attr("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush touchstart.brush",u)}function r(){var t=Pl(this),n=Ee(this).selection;n?(t.selectAll(".selection").style("display",null).attr("x",n[0][0]).attr("y",n[0][1]).attr("width",n[1][0]-n[0][0]).attr("height",n[1][1]-n[0][1]),t.selectAll(".handle").style("display",null).attr("x",function(t){return"e"===t.type[t.type.length-1]?n[1][0]-h/2:n[0][0]-h/2}).attr("y",function(t){return"s"===t.type[0]?n[1][1]-h/2:n[0][1]-h/2}).attr("width",function(t){return"n"===t.type||"s"===t.type?n[1][0]-n[0][0]+h:h}).attr("height",function(t){return"e"===t.type||"w"===t.type?n[1][1]-n[0][1]+h:h})):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function i(t,n){return t.__brush.emitter||new o(t,n)}function o(t,n){this.that=t,this.args=n,this.state=t.__brush,this.active=0}function u(){function e(){var t=Gf(T);!U||w||M||(Math.abs(t[0]-O[0])>Math.abs(t[1]-O[1])?M=!0:w=!0),O=t,b=!0,vd(),o()}function o(){var t;switch(m=O[0]-D[0],x=O[1]-D[1],N){case yd:case _d:S&&(m=Math.max(P-l,Math.min(R-v,m)),h=l+m,_=v+m),E&&(x=Math.max(L-p,Math.min(q-y,x)),d=p+x,g=y+x);break;case gd:S<0?(m=Math.max(P-l,Math.min(R-l,m)),h=l+m,_=v):S>0&&(m=Math.max(P-v,Math.min(R-v,m)),h=l,_=v+m),E<0?(x=Math.max(L-p,Math.min(q-p,x)),d=p+x,g=y):E>0&&(x=Math.max(L-y,Math.min(q-y,x)),d=p,g=y+x);break;case md:S&&(h=Math.max(P,Math.min(R,l-m*S)),_=Math.max(P,Math.min(R,v+m*S))),E&&(d=Math.max(L,Math.min(q,p-x*E)),g=Math.max(L,Math.min(q,y+x*E)))}_<h&&(S*=-1,t=l,l=v,v=t,t=h,h=_,_=t,k in Td&&Y.attr("cursor",Md[k=Td[k]])),g<d&&(E*=-1,t=p,p=y,y=t,t=d,d=g,g=t,k in kd&&Y.attr("cursor",Md[k=kd[k]])),A.selection&&(z=A.selection),w&&(h=z[0][0],_=z[1][0]),M&&(d=z[0][1],g=z[1][1]),z[0][0]===h&&z[0][1]===d&&z[1][0]===_&&z[1][1]===g||(A.selection=[[h,d],[_,g]],r.call(T),F.brush())}function u(){if(Te(),t.event.touches){if(t.event.touches.length)return;c&&clearTimeout(c),c=setTimeout(function(){c=null},500),I.on("touchmove.brush touchend.brush touchcancel.brush",null)}else mt(t.event.view,b),B.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);I.attr("pointer-events","all"),Y.attr("cursor",Md.overlay),A.selection&&(z=A.selection),Ae(z)&&(A.selection=null,r.call(T)),F.end()}function a(){switch(t.event.keyCode){case 16:U=S&&E;break;case 18:N===gd&&(S&&(v=_-m*S,l=h+m*S),E&&(y=g-x*E,p=d+x*E),N=md,o());break;case 32:N!==gd&&N!==md||(S<0?v=_-m:S>0&&(l=h-m),E<0?y=g-x:E>0&&(p=d-x),N=yd,Y.attr("cursor",Md.selection),o());break;default:return}vd()}function s(){switch(t.event.keyCode){case 16:U&&(w=M=U=!1,o());break;case 18:N===md&&(S<0?v=_:S>0&&(l=h),E<0?y=g:E>0&&(p=d),N=gd,o());break;case 32:N===yd&&(t.event.altKey?(S&&(v=_-m*S,l=h+m*S),E&&(y=g-x*E,p=d+x*E),N=md):(S<0?v=_:S>0&&(l=h),E<0?y=g:E>0&&(p=d),N=gd),Y.attr("cursor",Md[k]),o());break;default:return}vd()}if(t.event.touches){if(t.event.changedTouches.length<t.event.touches.length)return vd()}else if(c)return;if(f.apply(this,arguments)){var l,h,p,d,v,_,y,g,m,x,b,w,M,T=this,k=t.event.target.__data__.type,N="selection"===(t.event.metaKey?k="overlay":k)?_d:t.event.altKey?md:gd,S=n===bd?null:Nd[k],E=n===xd?null:Sd[k],A=Ee(T),C=A.extent,z=A.selection,P=C[0][0],L=C[0][1],R=C[1][0],q=C[1][1],U=S&&E&&t.event.shiftKey,D=Gf(T),O=D,F=i(T,arguments).beforestart();"overlay"===k?A.selection=z=[[l=n===bd?P:D[0],p=n===xd?L:D[1]],[v=n===bd?R:l,y=n===xd?q:p]]:(l=z[0][0],p=z[0][1],v=z[1][0],y=z[1][1]),h=l,d=p,_=v,g=y;var I=Pl(T).attr("pointer-events","none"),Y=I.selectAll(".overlay").attr("cursor",Md[k]);if(t.event.touches)I.on("touchmove.brush",e,!0).on("touchend.brush touchcancel.brush",u,!0);else{var B=Pl(t.event.view).on("keydown.brush",a,!0).on("keyup.brush",s,!0).on("mousemove.brush",e,!0).on("mouseup.brush",u,!0);Dl(t.event.view)}Te(),gp(T),r.call(T),F.start()}}function a(){var t=this.__brush||{selection:null};return t.extent=s.apply(this,arguments),t.dim=n,t}var c,s=Se,f=Ne,l=v(e,"start","brush","end"),h=6;return e.move=function(t,e){t.selection?t.on("start.brush",function(){i(this,arguments).beforestart().start()}).on("interrupt.brush end.brush",function(){i(this,arguments).end()}).tween("brush",function(){function t(t){u.selection=1===t&&Ae(s)?null:f(t),r.call(o),a.brush()}var o=this,u=o.__brush,a=i(o,arguments),c=u.selection,s=n.input("function"==typeof e?e.apply(this,arguments):e,u.extent),f=qh(c,s);return c&&s?t:t(1)}):t.each(function(){var t=this,o=arguments,u=t.__brush,a=n.input("function"==typeof e?e.apply(t,o):e,u.extent),c=i(t,o).beforestart();gp(t),u.selection=null==a||Ae(a)?null:a,r.call(t),c.start().brush().end()})},o.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting&&(this.starting=!1,this.emit("start")),this},brush:function(){return this.emit("brush"),this},end:function(){return 0==--this.active&&(delete this.state.emitter,this.emit("end")),this},emit:function(t){A(new dd(e,t,n.output(this.state.selection)),l.apply,l,[t,this.that,this.args])}},e.extent=function(t){return arguments.length?(s="function"==typeof t?t:pd([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),e):s},e.filter=function(t){return arguments.length?(f="function"==typeof t?t:pd(!!t),e):f},e.handleSize=function(t){return arguments.length?(h=+t,e):h},e.on=function(){var t=l.on.apply(l,arguments);return t===l?e:t},e}function Re(t){return function(n,e){return t(n.source.value+n.target.value,e.source.value+e.target.value)}}function qe(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Ue(){return new qe}function De(t){return t.source}function Oe(t){return t.target}function Fe(t){return t.radius}function Ie(t){return t.startAngle}function Ye(t){return t.endAngle}function Be(){}function He(t,n){var e=new Be;if(t instanceof Be)t.each(function(t,n){e.set(n,t)});else if(Array.isArray(t)){var r,i=-1,o=t.length;if(null==n)for(;++i<o;)e.set(i,t[i]);else for(;++i<o;)e.set(n(r=t[i],i,t),r)}else if(t)for(var u in t)e.set(u,t[u]);return e}function je(){return{}}function Xe(t,n,e){t[n]=e}function $e(){return He()}function Ve(t,n,e){t.set(n,e)}function We(){}function Ze(t,n){var e=new We;if(t instanceof We)t.each(function(t){e.add(t)});else if(t){var r=-1,i=t.length;if(null==n)for(;++r<i;)e.add(t[r]);else for(;++r<i;)e.add(n(t[r],r,t))}return e}function Ge(t){return new Function("d","return {"+t.map(function(t,n){return JSON.stringify(t)+": d["+n+"]"}).join(",")+"}")}function Je(t,n){var e=Ge(t);return function(r,i){return n(e(r),i,t)}}function Qe(t){var n=Object.create(null),e=[];return t.forEach(function(t){for(var r in t)r in n||e.push(n[r]=r)}),e}function Ke(t,n,e,r){if(isNaN(n)||isNaN(e))return t;var i,o,u,a,c,s,f,l,h,p=t._root,d={data:r},v=t._x0,_=t._y0,y=t._x1,g=t._y1;if(!p)return t._root=d,t;for(;p.length;)if((s=n>=(o=(v+y)/2))?v=o:y=o,(f=e>=(u=(_+g)/2))?_=u:g=u,i=p,!(p=p[l=f<<1|s]))return i[l]=d,t;if(a=+t._x.call(null,p.data),c=+t._y.call(null,p.data),n===a&&e===c)return d.next=p,i?i[l]=d:t._root=d,t;do{i=i?i[l]=new Array(4):t._root=new Array(4),(s=n>=(o=(v+y)/2))?v=o:y=o,(f=e>=(u=(_+g)/2))?_=u:g=u}while((l=f<<1|s)==(h=(c>=u)<<1|a>=o));return i[h]=p,i[l]=d,t}function tr(t){var n,e,r,i,o=t.length,u=new Array(o),a=new Array(o),c=1/0,s=1/0,f=-1/0,l=-1/0;for(e=0;e<o;++e)isNaN(r=+this._x.call(null,n=t[e]))||isNaN(i=+this._y.call(null,n))||(u[e]=r,a[e]=i,r<c&&(c=r),r>f&&(f=r),i<s&&(s=i),i>l&&(l=i));for(f<c&&(c=this._x0,f=this._x1),l<s&&(s=this._y0,l=this._y1),this.cover(c,s).cover(f,l),e=0;e<o;++e)Ke(this,u[e],a[e],t[e]);return this}function nr(t){for(var n=0,e=t.length;n<e;++n)this.remove(t[n]);return this}function er(t){return t[0]}function rr(t){return t[1]}function ir(t,n,e){var r=new or(null==n?er:n,null==e?rr:e,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function or(t,n,e,r,i,o){this._x=t,this._y=n,this._x0=e,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function ur(t){for(var n={data:t.data},e=n;t=t.next;)e=e.next={data:t.data};return n}function ar(t){return t.x+t.vx}function cr(t){return t.y+t.vy}function sr(t){return t.index}function fr(t,n){var e=t.get(n);if(!e)throw new Error("missing: "+n);return e}function lr(t){return t.x}function hr(t){return t.y}function pr(t){return new dr(t)}function dr(t){if(!(n=Ov.exec(t)))throw new Error("invalid format: "+t);var n,e=n[1]||" ",r=n[2]||">",i=n[3]||"-",o=n[4]||"",u=!!n[5],a=n[6]&&+n[6],c=!!n[7],s=n[8]&&+n[8].slice(1),f=n[9]||"";"n"===f?(c=!0,f="g"):Dv[f]||(f=""),(u||"0"===e&&"="===r)&&(u=!0,e="0",r="="),this.fill=e,this.align=r, | |
| 3 | +this.sign=i,this.symbol=o,this.zero=u,this.width=a,this.comma=c,this.precision=s,this.type=f}function vr(n){return Fv=Bv(n),t.format=Fv.format,t.formatPrefix=Fv.formatPrefix,Fv}function _r(){this.reset()}function yr(t,n,e){var r=t.s=n+e,i=r-n,o=r-i;t.t=n-o+(e-i)}function gr(t){return t>1?0:t<-1?N_:Math.acos(t)}function mr(t){return t>1?S_:t<-1?-S_:Math.asin(t)}function xr(t){return(t=I_(t/2))*t}function br(){}function wr(t,n){t&&X_.hasOwnProperty(t.type)&&X_[t.type](t,n)}function Mr(t,n,e){var r,i=-1,o=t.length-e;for(n.lineStart();++i<o;)r=t[i],n.point(r[0],r[1],r[2]);n.lineEnd()}function Tr(t,n){var e=-1,r=t.length;for(n.polygonStart();++e<r;)Mr(t[e],n,1);n.polygonEnd()}function kr(){Z_.point=Sr}function Nr(){Er(Vv,Wv)}function Sr(t,n){Z_.point=Er,Vv=t,Wv=n,t*=z_,n*=z_,Zv=t,Gv=q_(n=n/2+E_),Jv=I_(n)}function Er(t,n){t*=z_,n*=z_,n=n/2+E_;var e=t-Zv,r=e>=0?1:-1,i=r*e,o=q_(n),u=I_(n),a=Jv*u,c=Gv*o+a*q_(i),s=a*r*I_(i);V_.add(R_(s,c)),Zv=t,Gv=o,Jv=u}function Ar(t){return[R_(t[1],t[0]),mr(t[2])]}function Cr(t){var n=t[0],e=t[1],r=q_(e);return[r*q_(n),r*I_(n),I_(e)]}function zr(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function Pr(t,n){return[t[1]*n[2]-t[2]*n[1],t[2]*n[0]-t[0]*n[2],t[0]*n[1]-t[1]*n[0]]}function Lr(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]}function Rr(t,n){return[t[0]*n,t[1]*n,t[2]*n]}function qr(t){var n=B_(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n}function Ur(t,n){u_.push(a_=[Qv=t,t_=t]),n<Kv&&(Kv=n),n>n_&&(n_=n)}function Dr(t,n){var e=Cr([t*z_,n*z_]);if(o_){var r=Pr(o_,e),i=[r[1],-r[0],0],o=Pr(i,r);qr(o),o=Ar(o);var u,a=t-e_,c=a>0?1:-1,s=o[0]*C_*c,f=P_(a)>180;f^(c*e_<s&&s<c*t)?(u=o[1]*C_)>n_&&(n_=u):(s=(s+360)%360-180,f^(c*e_<s&&s<c*t)?(u=-o[1]*C_)<Kv&&(Kv=u):(n<Kv&&(Kv=n),n>n_&&(n_=n))),f?t<e_?Hr(Qv,t)>Hr(Qv,t_)&&(t_=t):Hr(t,t_)>Hr(Qv,t_)&&(Qv=t):t_>=Qv?(t<Qv&&(Qv=t),t>t_&&(t_=t)):t>e_?Hr(Qv,t)>Hr(Qv,t_)&&(t_=t):Hr(t,t_)>Hr(Qv,t_)&&(Qv=t)}else u_.push(a_=[Qv=t,t_=t]);n<Kv&&(Kv=n),n>n_&&(n_=n),o_=e,e_=t}function Or(){Q_.point=Dr}function Fr(){a_[0]=Qv,a_[1]=t_,Q_.point=Ur,o_=null}function Ir(t,n){if(o_){var e=t-e_;J_.add(P_(e)>180?e+(e>0?360:-360):e)}else r_=t,i_=n;Z_.point(t,n),Dr(t,n)}function Yr(){Z_.lineStart()}function Br(){Ir(r_,i_),Z_.lineEnd(),P_(J_)>k_&&(Qv=-(t_=180)),a_[0]=Qv,a_[1]=t_,o_=null}function Hr(t,n){return(n-=t)<0?n+360:n}function jr(t,n){return t[0]-n[0]}function Xr(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:n<t[0]||t[1]<n}function $r(t,n){t*=z_,n*=z_;var e=q_(n);Vr(e*q_(t),e*I_(t),I_(n))}function Vr(t,n,e){++c_,f_+=(t-f_)/c_,l_+=(n-l_)/c_,h_+=(e-h_)/c_}function Wr(){ty.point=Zr}function Zr(t,n){t*=z_,n*=z_;var e=q_(n);b_=e*q_(t),w_=e*I_(t),M_=I_(n),ty.point=Gr,Vr(b_,w_,M_)}function Gr(t,n){t*=z_,n*=z_;var e=q_(n),r=e*q_(t),i=e*I_(t),o=I_(n),u=R_(B_((u=w_*o-M_*i)*u+(u=M_*r-b_*o)*u+(u=b_*i-w_*r)*u),b_*r+w_*i+M_*o);s_+=u,p_+=u*(b_+(b_=r)),d_+=u*(w_+(w_=i)),v_+=u*(M_+(M_=o)),Vr(b_,w_,M_)}function Jr(){ty.point=$r}function Qr(){ty.point=ti}function Kr(){ni(m_,x_),ty.point=$r}function ti(t,n){m_=t,x_=n,t*=z_,n*=z_,ty.point=ni;var e=q_(n);b_=e*q_(t),w_=e*I_(t),M_=I_(n),Vr(b_,w_,M_)}function ni(t,n){t*=z_,n*=z_;var e=q_(n),r=e*q_(t),i=e*I_(t),o=I_(n),u=w_*o-M_*i,a=M_*r-b_*o,c=b_*i-w_*r,s=B_(u*u+a*a+c*c),f=mr(s),l=s&&-f/s;__+=l*u,y_+=l*a,g_+=l*c,s_+=f,p_+=f*(b_+(b_=r)),d_+=f*(w_+(w_=i)),v_+=f*(M_+(M_=o)),Vr(b_,w_,M_)}function ei(t,n){return[t>N_?t-A_:t<-N_?t+A_:t,n]}function ri(t,n,e){return(t%=A_)?n||e?ry(oi(t),ui(n,e)):oi(t):n||e?ui(n,e):ei}function ii(t){return function(n,e){return n+=t,[n>N_?n-A_:n<-N_?n+A_:n,e]}}function oi(t){var n=ii(t);return n.invert=ii(-t),n}function ui(t,n){function e(t,n){var e=q_(n),a=q_(t)*e,c=I_(t)*e,s=I_(n),f=s*r+a*i;return[R_(c*o-f*u,a*r-s*i),mr(f*o+c*u)]}var r=q_(t),i=I_(t),o=q_(n),u=I_(n);return e.invert=function(t,n){var e=q_(n),a=q_(t)*e,c=I_(t)*e,s=I_(n),f=s*o-c*u;return[R_(c*o+s*u,a*r+f*i),mr(f*r-a*i)]},e}function ai(t,n,e,r,i,o){if(e){var u=q_(n),a=I_(n),c=r*e;null==i?(i=n+r*A_,o=n-c/2):(i=ci(u,i),o=ci(u,o),(r>0?i<o:i>o)&&(i+=r*A_));for(var s,f=i;r>0?f>o:f<o;f-=c)s=Ar([u,-a*q_(f),-a*I_(f)]),t.point(s[0],s[1])}}function ci(t,n){n=Cr(n),n[0]-=t,qr(n);var e=gr(-n[1]);return((-n[2]<0?-e:e)+A_-k_)%A_}function si(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function fi(t){if(n=t.length){for(var n,e,r=0,i=t[0];++r<n;)i.n=e=t[r],e.p=i,i=e;i.n=e=t[0],e.p=i}}function li(t,n,e,r){function i(i,o){return t<=i&&i<=e&&n<=o&&o<=r}function o(i,o,a,s){var f=0,l=0;if(null==i||(f=u(i,a))!==(l=u(o,a))||c(i,o)<0^a>0)do{s.point(0===f||3===f?t:e,f>1?r:n)}while((f=(f+a+4)%4)!==l);else s.point(o[0],o[1])}function u(r,i){return P_(r[0]-t)<k_?i>0?0:3:P_(r[0]-e)<k_?i>0?2:1:P_(r[1]-n)<k_?i>0?1:0:i>0?3:2}function a(t,n){return c(t.x,n.x)}function c(t,n){var e=u(t,1),r=u(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(u){function c(t,n){i(t,n)&&N.point(t,n)}function s(){for(var n=0,e=0,i=_.length;e<i;++e)for(var o,u,a=_[e],c=1,s=a.length,f=a[0],l=f[0],h=f[1];c<s;++c)o=l,u=h,f=a[c],l=f[0],h=f[1],u<=r?h>r&&(l-o)*(r-u)>(h-u)*(t-o)&&++n:h<=r&&(l-o)*(r-u)<(h-u)*(t-o)&&--n;return n}function f(){N=S,v=[],_=[],k=!0}function l(){var t=s(),n=k&&t,e=(v=bf(v)).length;(n||e)&&(u.polygonStart(),n&&(u.lineStart(),o(null,null,1,u),u.lineEnd()),e&&xy(v,a,t,o,u),u.polygonEnd()),N=u,v=_=y=null}function h(){E.point=d,_&&_.push(y=[]),T=!0,M=!1,b=w=NaN}function p(){v&&(d(g,m),x&&M&&S.rejoin(),v.push(S.result())),E.point=c,M&&N.lineEnd()}function d(o,u){var a=i(o,u);if(_&&y.push([o,u]),T)g=o,m=u,x=a,T=!1,a&&(N.lineStart(),N.point(o,u));else if(a&&M)N.point(o,u);else{var c=[b=Math.max(wy,Math.min(by,b)),w=Math.max(wy,Math.min(by,w))],s=[o=Math.max(wy,Math.min(by,o)),u=Math.max(wy,Math.min(by,u))];gy(c,s,t,n,e,r)?(M||(N.lineStart(),N.point(c[0],c[1])),N.point(s[0],s[1]),a||N.lineEnd(),k=!1):a&&(N.lineStart(),N.point(o,u),k=!1)}b=o,w=u,M=a}var v,_,y,g,m,x,b,w,M,T,k,N=u,S=yy(),E={point:c,lineStart:h,lineEnd:p,polygonStart:f,polygonEnd:l};return E}}function hi(){Sy.point=di,Sy.lineEnd=pi}function pi(){Sy.point=Sy.lineEnd=br}function di(t,n){t*=z_,n*=z_,iy=t,oy=I_(n),uy=q_(n),Sy.point=vi}function vi(t,n){t*=z_,n*=z_;var e=I_(n),r=q_(n),i=P_(t-iy),o=q_(i),u=I_(i),a=r*u,c=uy*e-oy*r*o,s=oy*e+uy*r*o;Ny.add(R_(B_(a*a+c*c),s)),iy=t,oy=e,uy=r}function _i(t,n){return!(!t||!Ly.hasOwnProperty(t.type))&&Ly[t.type](t,n)}function yi(t,n){return 0===zy(t,n)}function gi(t,n){var e=zy(t[0],t[1]);return zy(t[0],n)+zy(n,t[1])<=e+k_}function mi(t,n){return!!ky(t.map(xi),bi(n))}function xi(t){return t=t.map(bi),t.pop(),t}function bi(t){return[t[0]*z_,t[1]*z_]}function wi(t,n,e){var r=cf(t,n-k_,e).concat(n);return function(t){return r.map(function(n){return[t,n]})}}function Mi(t,n,e){var r=cf(t,n-k_,e).concat(n);return function(t){return r.map(function(n){return[n,t]})}}function Ti(){function t(){return{type:"MultiLineString",coordinates:n()}}function n(){return cf(U_(o/_)*_,i,_).map(h).concat(cf(U_(s/y)*y,c,y).map(p)).concat(cf(U_(r/d)*d,e,d).filter(function(t){return P_(t%_)>k_}).map(f)).concat(cf(U_(a/v)*v,u,v).filter(function(t){return P_(t%y)>k_}).map(l))}var e,r,i,o,u,a,c,s,f,l,h,p,d=10,v=d,_=90,y=360,g=2.5;return t.lines=function(){return n().map(function(t){return{type:"LineString",coordinates:t}})},t.outline=function(){return{type:"Polygon",coordinates:[h(o).concat(p(c).slice(1),h(i).reverse().slice(1),p(s).reverse().slice(1))]}},t.extent=function(n){return arguments.length?t.extentMajor(n).extentMinor(n):t.extentMinor()},t.extentMajor=function(n){return arguments.length?(o=+n[0][0],i=+n[1][0],s=+n[0][1],c=+n[1][1],o>i&&(n=o,o=i,i=n),s>c&&(n=s,s=c,c=n),t.precision(g)):[[o,s],[i,c]]},t.extentMinor=function(n){return arguments.length?(r=+n[0][0],e=+n[1][0],a=+n[0][1],u=+n[1][1],r>e&&(n=r,r=e,e=n),a>u&&(n=a,a=u,u=n),t.precision(g)):[[r,a],[e,u]]},t.step=function(n){return arguments.length?t.stepMajor(n).stepMinor(n):t.stepMinor()},t.stepMajor=function(n){return arguments.length?(_=+n[0],y=+n[1],t):[_,y]},t.stepMinor=function(n){return arguments.length?(d=+n[0],v=+n[1],t):[d,v]},t.precision=function(n){return arguments.length?(g=+n,f=wi(a,u,90),l=Mi(r,e,g),h=wi(s,c,90),p=Mi(o,i,g),t):g},t.extentMajor([[-180,-90+k_],[180,90-k_]]).extentMinor([[-180,-80-k_],[180,80+k_]])}function ki(){return Ti()()}function Ni(){Fy.point=Si}function Si(t,n){Fy.point=Ei,ay=sy=t,cy=fy=n}function Ei(t,n){Oy.add(fy*t-sy*n),sy=t,fy=n}function Ai(){Ei(ay,cy)}function Ci(t,n){t<Iy&&(Iy=t),t>By&&(By=t),n<Yy&&(Yy=n),n>Hy&&(Hy=n)}function zi(t,n){Xy+=t,$y+=n,++Vy}function Pi(){tg.point=Li}function Li(t,n){tg.point=Ri,zi(py=t,dy=n)}function Ri(t,n){var e=t-py,r=n-dy,i=B_(e*e+r*r);Wy+=i*(py+t)/2,Zy+=i*(dy+n)/2,Gy+=i,zi(py=t,dy=n)}function qi(){tg.point=zi}function Ui(){tg.point=Oi}function Di(){Fi(ly,hy)}function Oi(t,n){tg.point=Fi,zi(ly=py=t,hy=dy=n)}function Fi(t,n){var e=t-py,r=n-dy,i=B_(e*e+r*r);Wy+=i*(py+t)/2,Zy+=i*(dy+n)/2,Gy+=i,i=dy*t-py*n,Jy+=i*(py+t),Qy+=i*(dy+n),Ky+=3*i,zi(py=t,dy=n)}function Ii(t){this._context=t}function Yi(t,n){ag.point=Bi,eg=ig=t,rg=og=n}function Bi(t,n){ig-=t,og-=n,ug.add(B_(ig*ig+og*og)),ig=t,og=n}function Hi(){this._string=[]}function ji(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function Xi(t){return t.length>1}function $i(t,n){return((t=t.x)[0]<0?t[1]-S_-k_:S_-t[1])-((n=n.x)[0]<0?n[1]-S_-k_:S_-n[1])}function Vi(t){var n,e=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(o,u){var a=o>0?N_:-N_,c=P_(o-e);P_(c-N_)<k_?(t.point(e,r=(r+u)/2>0?S_:-S_),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(a,r),t.point(o,r),n=0):i!==a&&c>=N_&&(P_(e-i)<k_&&(e-=i*k_),P_(o-a)<k_&&(o-=a*k_),r=Wi(e,r,o,u),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(a,r),n=0),t.point(e=o,r=u),i=a},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}}function Wi(t,n,e,r){var i,o,u=I_(t-e);return P_(u)>k_?L_((I_(n)*(o=q_(r))*I_(e)-I_(r)*(i=q_(n))*I_(t))/(i*o*u)):(n+r)/2}function Zi(t,n,e,r){var i;if(null==t)i=e*S_,r.point(-N_,i),r.point(0,i),r.point(N_,i),r.point(N_,0),r.point(N_,-i),r.point(0,-i),r.point(-N_,-i),r.point(-N_,0),r.point(-N_,i);else if(P_(t[0]-n[0])>k_){var o=t[0]<n[0]?N_:-N_;i=e*o/2,r.point(-o,i),r.point(0,i),r.point(o,i)}else r.point(n[0],n[1])}function Gi(t){return function(n){var e=new Ji;for(var r in t)e[r]=t[r];return e.stream=n,e}}function Ji(){}function Qi(t,n,e){var r=n[1][0]-n[0][0],i=n[1][1]-n[0][1],o=t.clipExtent&&t.clipExtent();t.scale(150).translate([0,0]),null!=o&&t.clipExtent(null),$_(e,t.stream(jy));var u=jy.result(),a=Math.min(r/(u[1][0]-u[0][0]),i/(u[1][1]-u[0][1])),c=+n[0][0]+(r-a*(u[1][0]+u[0][0]))/2,s=+n[0][1]+(i-a*(u[1][1]+u[0][1]))/2;return null!=o&&t.clipExtent(o),t.scale(150*a).translate([c,s])}function Ki(t,n,e){return Qi(t,[[0,0],n],e)}function to(t){return Gi({point:function(n,e){n=t(n,e),this.stream.point(n[0],n[1])}})}function no(t,n){function e(r,i,o,u,a,c,s,f,l,h,p,d,v,_){var y=s-r,g=f-i,m=y*y+g*g;if(m>4*n&&v--){var x=u+h,b=a+p,w=c+d,M=B_(x*x+b*b+w*w),T=mr(w/=M),k=P_(P_(w)-1)<k_||P_(o-l)<k_?(o+l)/2:R_(b,x),N=t(k,T),S=N[0],E=N[1],A=S-r,C=E-i,z=g*A-y*C;(z*z/m>n||P_((y*A+g*C)/m-.5)>.3||u*h+a*p+c*d<dg)&&(e(r,i,o,u,a,c,S,E,k,x/=M,b/=M,w,v,_),_.point(S,E),e(S,E,k,x,b,w,s,f,l,h,p,d,v,_))}}return function(n){function r(e,r){e=t(e,r),n.point(e[0],e[1])}function i(){y=NaN,w.point=o,n.lineStart()}function o(r,i){var o=Cr([r,i]),u=t(r,i);e(y,g,_,m,x,b,y=u[0],g=u[1],_=r,m=o[0],x=o[1],b=o[2],pg,n),n.point(y,g)}function u(){w.point=r,n.lineEnd()}function a(){i(),w.point=c,w.lineEnd=s}function c(t,n){o(f=t,n),l=y,h=g,p=m,d=x,v=b,w.point=o}function s(){e(y,g,_,m,x,b,l,h,f,p,d,v,pg,n),w.lineEnd=u,u()}var f,l,h,p,d,v,_,y,g,m,x,b,w={point:r,lineStart:i,lineEnd:u,polygonStart:function(){n.polygonStart(),w.lineStart=a},polygonEnd:function(){n.polygonEnd(),w.lineStart=i}};return w}}function eo(t){return ro(function(){return t})()}function ro(t){function n(t){return t=f(t[0]*z_,t[1]*z_),[t[0]*_+a,c-t[1]*_]}function e(t){return(t=f.invert((t[0]-a)/_,(c-t[1])/_))&&[t[0]*C_,t[1]*C_]}function r(t,n){return t=u(t,n),[t[0]*_+a,c-t[1]*_]}function i(){f=ry(s=ri(b,w,M),u);var t=u(m,x);return a=y-t[0]*_,c=g+t[1]*_,o()}function o(){return d=v=null,n}var u,a,c,s,f,l,h,p,d,v,_=150,y=480,g=250,m=0,x=0,b=0,w=0,M=0,T=null,k=fg,N=null,S=Uy,E=.5,A=vg(r,E);return n.stream=function(t){return d&&v===t?d:d=_g(k(s,A(S(v=t))))},n.clipAngle=function(t){return arguments.length?(k=+t?lg(T=t*z_,6*z_):(T=null,fg),o()):T*C_},n.clipExtent=function(t){return arguments.length?(S=null==t?(N=l=h=p=null,Uy):li(N=+t[0][0],l=+t[0][1],h=+t[1][0],p=+t[1][1]),o()):null==N?null:[[N,l],[h,p]]},n.scale=function(t){return arguments.length?(_=+t,i()):_},n.translate=function(t){return arguments.length?(y=+t[0],g=+t[1],i()):[y,g]},n.center=function(t){return arguments.length?(m=t[0]%360*z_,x=t[1]%360*z_,i()):[m*C_,x*C_]},n.rotate=function(t){return arguments.length?(b=t[0]%360*z_,w=t[1]%360*z_,M=t.length>2?t[2]%360*z_:0,i()):[b*C_,w*C_,M*C_]},n.precision=function(t){return arguments.length?(A=vg(r,E=t*t),o()):B_(E)},n.fitExtent=function(t,e){return Qi(n,t,e)},n.fitSize=function(t,e){return Ki(n,t,e)},function(){return u=t.apply(this,arguments),n.invert=u.invert&&e,i()}}function io(t){var n=0,e=N_/3,r=ro(t),i=r(n,e);return i.parallels=function(t){return arguments.length?r(n=t[0]*z_,e=t[1]*z_):[n*C_,e*C_]},i}function oo(t){function n(t,n){return[t*e,I_(n)/e]}var e=q_(t);return n.invert=function(t,n){return[t/e,mr(n*e)]},n}function uo(t,n){function e(t,n){var e=B_(o-2*i*I_(n))/i;return[e*I_(t*=i),u-e*q_(t)]}var r=I_(t),i=(r+I_(n))/2;if(P_(i)<k_)return oo(t);var o=1+r*(2*i-r),u=B_(o)/i;return e.invert=function(t,n){var e=u-n;return[R_(t,P_(e))/i*Y_(e),mr((o-(t*t+e*e)*i*i)/(2*i))]},e}function ao(t){var n=t.length;return{point:function(e,r){for(var i=-1;++i<n;)t[i].point(e,r)},sphere:function(){for(var e=-1;++e<n;)t[e].sphere()},lineStart:function(){for(var e=-1;++e<n;)t[e].lineStart()},lineEnd:function(){for(var e=-1;++e<n;)t[e].lineEnd()},polygonStart:function(){for(var e=-1;++e<n;)t[e].polygonStart()},polygonEnd:function(){for(var e=-1;++e<n;)t[e].polygonEnd()}}}function co(t){return function(n,e){var r=q_(n),i=q_(e),o=t(r*i);return[o*i*I_(n),o*I_(e)]}}function so(t){return function(n,e){var r=B_(n*n+e*e),i=t(r),o=I_(i),u=q_(i);return[R_(n*o,r*u),mr(r&&e*o/r)]}}function fo(t,n){return[t,O_(H_((S_+n)/2))]}function lo(t){function n(){var n=N_*a(),u=o(vy(o.rotate()).invert([0,0]));return s(null==f?[[u[0]-n,u[1]-n],[u[0]+n,u[1]+n]]:t===fo?[[Math.max(u[0]-n,f),e],[Math.min(u[0]+n,r),i]]:[[f,Math.max(u[1]-n,e)],[r,Math.min(u[1]+n,i)]])}var e,r,i,o=eo(t),u=o.center,a=o.scale,c=o.translate,s=o.clipExtent,f=null;return o.scale=function(t){return arguments.length?(a(t),n()):a()},o.translate=function(t){return arguments.length?(c(t),n()):c()},o.center=function(t){return arguments.length?(u(t),n()):u()},o.clipExtent=function(t){return arguments.length?(null==t?f=e=r=i=null:(f=+t[0][0],e=+t[0][1],r=+t[1][0],i=+t[1][1]),n()):null==f?null:[[f,e],[r,i]]},n()}function ho(t){return H_((S_+t)/2)}function po(t,n){function e(t,n){o>0?n<-S_+k_&&(n=-S_+k_):n>S_-k_&&(n=S_-k_);var e=o/F_(ho(n),i);return[e*I_(i*t),o-e*q_(i*t)]}var r=q_(t),i=t===n?I_(t):O_(r/q_(n))/O_(ho(n)/ho(t)),o=r*F_(ho(t),i)/i;return i?(e.invert=function(t,n){var e=o-n,r=Y_(i)*B_(t*t+e*e);return[R_(t,P_(e))/i*Y_(e),2*L_(F_(o/r,1/i))-S_]},e):fo}function vo(t,n){return[t,n]}function _o(t,n){function e(t,n){var e=o-n,r=i*t;return[e*I_(r),o-e*q_(r)]}var r=q_(t),i=t===n?I_(t):(r-q_(n))/(n-t),o=r/i+t;return P_(i)<k_?vo:(e.invert=function(t,n){var e=o-n;return[R_(t,P_(e))/i*Y_(e),o-Y_(i)*B_(t*t+e*e)]},e)}function yo(t,n){var e=q_(n),r=q_(t)*e;return[e*I_(t)/r,I_(n)/r]}function go(t,n,e,r){return 1===t&&1===n&&0===e&&0===r?Uy:Gi({point:function(i,o){this.stream.point(i*t+e,o*n+r)}})}function mo(t,n){return[q_(n)*I_(t),I_(n)]}function xo(t,n){var e=q_(n),r=1+q_(t)*e;return[e*I_(t)/r,I_(n)/r]}function bo(t,n){return[O_(H_((S_+n)/2)),-t]}function wo(t,n){return t.parent===n.parent?1:2}function Mo(t){return t.reduce(To,0)/t.length}function To(t,n){return t+n.x}function ko(t){return 1+t.reduce(No,0)}function No(t,n){return Math.max(t,n.y)}function So(t){for(var n;n=t.children;)t=n[0];return t}function Eo(t){for(var n;n=t.children;)t=n[n.length-1];return t}function Ao(t){var n=0,e=t.children,r=e&&e.length;if(r)for(;--r>=0;)n+=e[r].value;else n=1;t.value=n}function Co(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;for(t=e.pop(),n=r.pop();t===n;)i=t,t=e.pop(),n=r.pop();return i}function zo(t,n){var e,r,i,o,u,a=new Uo(t),c=+t.value&&(a.value=t.value),s=[a];for(null==n&&(n=Lo);e=s.pop();)if(c&&(e.value=+e.data.value),(i=n(e.data))&&(u=i.length))for(e.children=new Array(u),o=u-1;o>=0;--o)s.push(r=e.children[o]=new Uo(i[o])),r.parent=e,r.depth=e.depth+1;return a.eachBefore(qo)}function Po(){return zo(this).eachBefore(Ro)}function Lo(t){return t.children}function Ro(t){t.data=t.data.data}function qo(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function Uo(t){this.data=t,this.depth=this.height=0,this.parent=null}function Do(t){this._=t,this.next=null}function Oo(t,n){var e=n.x-t.x,r=n.y-t.y,i=t.r-n.r;return i*i+1e-6>e*e+r*r}function Fo(t,n){var e,r,i,o=null,u=t.head;switch(n.length){case 1:e=Io(n[0]);break;case 2:e=Yo(n[0],n[1]);break;case 3:e=Bo(n[0],n[1],n[2])}for(;u;)i=u._,r=u.next,e&&Oo(e,i)?o=u:(o?(t.tail=o,o.next=null):t.head=t.tail=null,n.push(i),e=Fo(t,n),n.pop(),t.head?(u.next=t.head,t.head=u):(u.next=null,t.head=t.tail=u),o=t.tail,o.next=r),u=r;return t.tail=o,e}function Io(t){return{x:t.x,y:t.y,r:t.r}}function Yo(t,n){var e=t.x,r=t.y,i=t.r,o=n.x,u=n.y,a=n.r,c=o-e,s=u-r,f=a-i,l=Math.sqrt(c*c+s*s);return{x:(e+o+c/l*f)/2,y:(r+u+s/l*f)/2,r:(l+i+a)/2}}function Bo(t,n,e){var r=t.x,i=t.y,o=t.r,u=n.x,a=n.y,c=n.r,s=e.x,f=e.y,l=e.r,h=2*(r-u),p=2*(i-a),d=2*(c-o),v=r*r+i*i-o*o-u*u-a*a+c*c,_=2*(r-s),y=2*(i-f),g=2*(l-o),m=r*r+i*i-o*o-s*s-f*f+l*l,x=_*p-h*y,b=(p*m-y*v)/x-r,w=(y*d-p*g)/x,M=(_*v-h*m)/x-i,T=(h*g-_*d)/x,k=w*w+T*T-1,N=2*(b*w+M*T+o),S=b*b+M*M-o*o,E=(-N-Math.sqrt(N*N-4*k*S))/(2*k);return{x:b+w*E+r,y:M+T*E+i,r:E}}function Ho(t,n,e){var r=t.x,i=t.y,o=n.r+e.r,u=t.r+e.r,a=n.x-r,c=n.y-i,s=a*a+c*c;if(s){var f=.5+((u*=u)-(o*=o))/(2*s),l=Math.sqrt(Math.max(0,2*o*(u+s)-(u-=s)*u-o*o))/(2*s);e.x=r+f*a+l*c,e.y=i+f*c-l*a}else e.x=r+u,e.y=i}function jo(t,n){var e=n.x-t.x,r=n.y-t.y,i=t.r+n.r;return i*i-1e-6>e*e+r*r}function Xo(t,n,e){var r=t._,i=t.next._,o=r.r+i.r,u=(r.x*i.r+i.x*r.r)/o-n,a=(r.y*i.r+i.y*r.r)/o-e;return u*u+a*a}function $o(t){this._=t,this.next=null,this.previous=null}function Vo(t){if(!(i=t.length))return 0;var n,e,r,i;if(n=t[0],n.x=0,n.y=0,!(i>1))return n.r;if(e=t[1],n.x=-e.r,e.x=n.r,e.y=0,!(i>2))return n.r+e.r;Ho(e,n,r=t[2]);var o,u,a,c,s,f,l,h=n.r*n.r,p=e.r*e.r,d=r.r*r.r,v=h+p+d,_=h*n.x+p*e.x+d*r.x,y=h*n.y+p*e.y+d*r.y;n=new $o(n),e=new $o(e),r=new $o(r),n.next=r.previous=e,e.next=n.previous=r,r.next=e.previous=n;t:for(a=3;a<i;++a){Ho(n._,e._,r=t[a]),r=new $o(r),c=e.next,s=n.previous,f=e._.r,l=n._.r;do{if(f<=l){if(jo(c._,r._)){e=c,n.next=e,e.previous=n,--a;continue t}f+=c._.r,c=c.next}else{if(jo(s._,r._)){n=s,n.next=e,e.previous=n,--a;continue t}l+=s._.r,s=s.previous}}while(c!==s.next);for(r.previous=n,r.next=e,n.next=e.previous=e=r,v+=d=r._.r*r._.r,_+=d*r._.x,y+=d*r._.y,h=Xo(n,o=_/v,u=y/v);(r=r.next)!==e;)(d=Xo(r,o,u))<h&&(n=r,h=d);e=n.next}for(n=[e._],r=e;(r=r.next)!==e;)n.push(r._);for(r=$g(n),a=0;a<i;++a)n=t[a],n.x-=r.x,n.y-=r.y;return r.r}function Wo(t){return null==t?null:Zo(t)}function Zo(t){if("function"!=typeof t)throw new Error;return t}function Go(){return 0}function Jo(t){return Math.sqrt(t.value)}function Qo(t){return function(n){n.children||(n.r=Math.max(0,+t(n)||0))}}function Ko(t,n){return function(e){if(r=e.children){var r,i,o,u=r.length,a=t(e)*n||0;if(a)for(i=0;i<u;++i)r[i].r+=a;if(o=Vo(r),a)for(i=0;i<u;++i)r[i].r-=a;e.r=o+a}}}function tu(t){return function(n){var e=n.parent;n.r*=t,e&&(n.x=e.x+t*n.x,n.y=e.y+t*n.y)}}function nu(t){return t.id}function eu(t){return t.parentId}function ru(t,n){return t.parent===n.parent?1:2}function iu(t){var n=t.children;return n?n[0]:t.t}function ou(t){var n=t.children;return n?n[n.length-1]:t.t}function uu(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function au(t){for(var n,e=0,r=0,i=t.children,o=i.length;--o>=0;)n=i[o],n.z+=e,n.m+=e,e+=n.s+(r+=n.c)}function cu(t,n,e){return t.a.parent===n.parent?t.a:e}function su(t,n){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=n}function fu(t){for(var n,e,r,i,o,u=new su(t,0),a=[u];n=a.pop();)if(r=n._.children)for(n.children=new Array(o=r.length),i=o-1;i>=0;--i)a.push(e=n.children[i]=new su(r[i],i)),e.parent=n;return(u.parent=new su(null,0)).children=[u],u}function lu(t,n,e,r,i,o){for(var u,a,c,s,f,l,h,p,d,v,_,y=[],g=n.children,m=0,x=0,b=g.length,w=n.value;m<b;){c=i-e,s=o-r;do{f=g[x++].value}while(!f&&x<b);for(l=h=f,v=Math.max(s/c,c/s)/(w*t),_=f*f*v,d=Math.max(h/_,_/l);x<b;++x){if(f+=a=g[x].value,a<l&&(l=a),a>h&&(h=a),_=f*f*v,(p=Math.max(h/_,_/l))>d){f-=a;break}d=p}y.push(u={value:f,dice:c<s,children:g.slice(m,x)}),u.dice?Jg(u,e,r,i,w?r+=s*f/w:o):im(u,e,r,w?e+=c*f/w:i,o),w-=f,m=x}return y}function hu(t,n){return t[0]-n[0]||t[1]-n[1]}function pu(t){for(var n=t.length,e=[0,1],r=2,i=2;i<n;++i){for(;r>1&&pm(t[e[r-2]],t[e[r-1]],t[i])<=0;)--r;e[r++]=i}return e.slice(0,r)}function du(t){this._size=t,this._call=this._error=null,this._tasks=[],this._data=[],this._waiting=this._active=this._ended=this._start=0}function vu(t){if(!t._start)try{_u(t)}catch(n){if(t._tasks[t._ended+t._active-1])gu(t,n);else if(!t._data)throw n}}function _u(t){for(;t._start=t._waiting&&t._active<t._size;){var n=t._ended+t._active,e=t._tasks[n],r=e.length-1,i=e[r];e[r]=yu(t,n),--t._waiting,++t._active,e=i.apply(null,e),t._tasks[n]&&(t._tasks[n]=e||gm)}}function yu(t,n){return function(e,r){t._tasks[n]&&(--t._active,++t._ended,t._tasks[n]=null,null==t._error&&(null!=e?gu(t,e):(t._data[n]=r,t._waiting?vu(t):mu(t))))}}function gu(t,n){var e,r=t._tasks.length;for(t._error=n,t._data=void 0,t._waiting=NaN;--r>=0;)if((e=t._tasks[r])&&(t._tasks[r]=null,e.abort))try{e.abort()}catch(n){}t._active=NaN,mu(t)}function mu(t){if(!t._active&&t._call){var n=t._data;t._data=void 0,t._call(t._error,n)}}function xu(t){if(null==t)t=1/0;else if(!((t=+t)>=1))throw new Error("invalid concurrency");return new du(t)}function bu(t){return function(n,e){t(null==n?e:null)}}function wu(t){var n=t.responseType;return n&&"text"!==n?t.response:t.responseText}function Mu(t,n){return function(e){return t(e.responseText,n)}}function Tu(t){function n(n){var o=n+"",u=e.get(o);if(!u){if(i!==Om)return i;e.set(o,u=r.push(n))}return t[(u-1)%t.length]}var e=He(),r=[],i=Om;return t=null==t?[]:Dm.call(t),n.domain=function(t){if(!arguments.length)return r.slice();r=[],e=He();for(var i,o,u=-1,a=t.length;++u<a;)e.has(o=(i=t[u])+"")||e.set(o,r.push(i));return n},n.range=function(e){return arguments.length?(t=Dm.call(e),n):t.slice()},n.unknown=function(t){return arguments.length?(i=t,n):i},n.copy=function(){return Tu().domain(r).range(t).unknown(i)},n}function ku(){function t(){var t=i().length,r=u[1]<u[0],l=u[r-0],h=u[1-r];n=(h-l)/Math.max(1,t-c+2*s),a&&(n=Math.floor(n)),l+=(h-l-n*(t-c))*f,e=n*(1-c),a&&(l=Math.round(l),e=Math.round(e));var p=cf(t).map(function(t){return l+n*t});return o(r?p.reverse():p)}var n,e,r=Tu().unknown(void 0),i=r.domain,o=r.range,u=[0,1],a=!1,c=0,s=0,f=.5;return delete r.unknown,r.domain=function(n){return arguments.length?(i(n),t()):i()},r.range=function(n){return arguments.length?(u=[+n[0],+n[1]],t()):u.slice()},r.rangeRound=function(n){return u=[+n[0],+n[1]],a=!0,t()},r.bandwidth=function(){return e},r.step=function(){return n},r.round=function(n){return arguments.length?(a=!!n,t()):a},r.padding=function(n){return arguments.length?(c=s=Math.max(0,Math.min(1,n)),t()):c},r.paddingInner=function(n){return arguments.length?(c=Math.max(0,Math.min(1,n)),t()):c},r.paddingOuter=function(n){return arguments.length?(s=Math.max(0,Math.min(1,n)),t()):s},r.align=function(n){return arguments.length?(f=Math.max(0,Math.min(1,n)),t()):f},r.copy=function(){return ku().domain(i()).range(u).round(a).paddingInner(c).paddingOuter(s).align(f)},t()}function Nu(t){var n=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return Nu(n())},t}function Su(){return Nu(ku().paddingInner(1))}function Eu(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:Fm(n)}function Au(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=n?0:t>=e?1:r(t)}}}function Cu(t){return function(n,e){var r=t(n=+n,e=+e);return function(t){return t<=0?n:t>=1?e:r(t)}}}function zu(t,n,e,r){var i=t[0],o=t[1],u=n[0],a=n[1];return o<i?(i=e(o,i),u=r(a,u)):(i=e(i,o),u=r(u,a)),function(t){return u(i(t))}}function Pu(t,n,e,r){var i=Math.min(t.length,n.length)-1,o=new Array(i),u=new Array(i),a=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++a<i;)o[a]=e(t[a],t[a+1]),u[a]=r(n[a],n[a+1]);return function(n){var e=Vs(t,n,1,i)-1;return u[e](o[e](n))}}function Lu(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp())}function Ru(t,n){function e(){return i=Math.min(a.length,c.length)>2?Pu:zu,o=u=null,r}function r(n){return(o||(o=i(a,c,f?Au(t):t,s)))(+n)}var i,o,u,a=Ym,c=Ym,s=qh,f=!1;return r.invert=function(t){return(u||(u=i(c,a,Eu,f?Cu(n):n)))(+t)},r.domain=function(t){return arguments.length?(a=Um.call(t,Im),e()):a.slice()},r.range=function(t){return arguments.length?(c=Dm.call(t),e()):c.slice()},r.rangeRound=function(t){return c=Dm.call(t),s=Uh,e()},r.clamp=function(t){return arguments.length?(f=!!t,e()):f},r.interpolate=function(t){return arguments.length?(s=t,e()):s},e()}function qu(t){var n=t.domain;return t.ticks=function(t){var e=n();return hf(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){return Bm(n(),t,e)},t.nice=function(e){null==e&&(e=10);var i,o=n(),u=0,a=o.length-1,c=o[u],s=o[a];return s<c&&(i=c,c=s,s=i,i=u,u=a,a=i),i=r(c,s,e),i>0?(c=Math.floor(c/i)*i,s=Math.ceil(s/i)*i,i=r(c,s,e)):i<0&&(c=Math.ceil(c*i)/i,s=Math.floor(s*i)/i,i=r(c,s,e)),i>0?(o[u]=Math.floor(c/i)*i,o[a]=Math.ceil(s/i)*i,n(o)):i<0&&(o[u]=Math.ceil(c*i)/i,o[a]=Math.floor(s*i)/i,n(o)),t},t}function Uu(){var t=Ru(Eu,Ch);return t.copy=function(){return Lu(t,Uu())},qu(t)}function Du(){function t(t){return+t}var n=[0,1];return t.invert=t,t.domain=t.range=function(e){return arguments.length?(n=Um.call(e,Im),t):n.slice()},t.copy=function(){return Du().domain(n)},qu(t)}function Ou(t,n){return(n=Math.log(n/t))?function(e){return Math.log(e/t)/n}:Fm(n)}function Fu(t,n){return t<0?function(e){return-Math.pow(-n,e)*Math.pow(-t,1-e)}:function(e){return Math.pow(n,e)*Math.pow(t,1-e)}}function Iu(t){return isFinite(t)?+("1e"+t):t<0?0:t}function Yu(t){return 10===t?Iu:t===Math.E?Math.exp:function(n){return Math.pow(t,n)}}function Bu(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),function(n){return Math.log(n)/t})}function Hu(t){return function(n){return-t(-n)}}function ju(){function n(){return o=Bu(i),u=Yu(i),r()[0]<0&&(o=Hu(o),u=Hu(u)),e}var e=Ru(Ou,Fu).domain([1,10]),r=e.domain,i=10,o=Bu(10),u=Yu(10);return e.base=function(t){return arguments.length?(i=+t,n()):i},e.domain=function(t){return arguments.length?(r(t),n()):r()},e.ticks=function(t){var n,e=r(),a=e[0],c=e[e.length-1];(n=c<a)&&(h=a,a=c,c=h);var s,f,l,h=o(a),p=o(c),d=null==t?10:+t,v=[];if(!(i%1)&&p-h<d){if(h=Math.round(h)-1,p=Math.round(p)+1,a>0){for(;h<p;++h)for(f=1,s=u(h);f<i;++f)if(!((l=s*f)<a)){if(l>c)break;v.push(l)}}else for(;h<p;++h)for(f=i-1,s=u(h);f>=1;--f)if(!((l=s*f)<a)){if(l>c)break;v.push(l)}}else v=hf(h,p,Math.min(p-h,d)).map(u);return n?v.reverse():v},e.tickFormat=function(n,r){if(null==r&&(r=10===i?".0e":","),"function"!=typeof r&&(r=t.format(r)),n===1/0)return r;null==n&&(n=10);var a=Math.max(1,i*n/e.ticks().length);return function(t){var n=t/u(Math.round(o(t)));return n*i<i-.5&&(n*=i),n<=a?r(t):""}},e.nice=function(){return r(Hm(r(),{floor:function(t){return u(Math.floor(o(t)))},ceil:function(t){return u(Math.ceil(o(t)))}}))},e.copy=function(){return Lu(e,ju().base(i))},e}function Xu(t,n){return t<0?-Math.pow(-t,n):Math.pow(t,n)}function $u(){function t(t,n){return(n=Xu(n,e)-(t=Xu(t,e)))?function(r){return(Xu(r,e)-t)/n}:Fm(n)}function n(t,n){return n=Xu(n,e)-(t=Xu(t,e)),function(r){return Xu(t+n*r,1/e)}}var e=1,r=Ru(t,n),i=r.domain;return r.exponent=function(t){return arguments.length?(e=+t,i(i())):e},r.copy=function(){return Lu(r,$u().exponent(e))},qu(r)}function Vu(){return $u().exponent(.5)}function Wu(){function t(){var t=0,o=Math.max(1,r.length);for(i=new Array(o-1);++t<o;)i[t-1]=vf(e,t/o);return n}function n(t){if(!isNaN(t=+t))return r[Vs(i,t)]}var e=[],r=[],i=[];return n.invertExtent=function(t){var n=r.indexOf(t);return n<0?[NaN,NaN]:[n>0?i[n-1]:e[0],n<i.length?i[n]:e[e.length-1]]},n.domain=function(n){if(!arguments.length)return e.slice();e=[];for(var r,i=0,o=n.length;i<o;++i)null==(r=n[i])||isNaN(r=+r)||e.push(r);return e.sort(js),t()},n.range=function(n){return arguments.length?(r=Dm.call(n),t()):r.slice()},n.quantiles=function(){return i.slice()},n.copy=function(){return Wu().domain(e).range(r)},n}function Zu(){function t(t){if(t<=t)return u[Vs(o,t,0,i)]}function n(){var n=-1;for(o=new Array(i);++n<i;)o[n]=((n+1)*r-(n-i)*e)/(i+1);return t}var e=0,r=1,i=1,o=[.5],u=[0,1];return t.domain=function(t){return arguments.length?(e=+t[0],r=+t[1],n()):[e,r]},t.range=function(t){return arguments.length?(i=(u=Dm.call(t)).length-1,n()):u.slice()},t.invertExtent=function(t){var n=u.indexOf(t);return n<0?[NaN,NaN]:n<1?[e,o[0]]:n>=i?[o[i-1],r]:[o[n-1],o[n]]},t.copy=function(){return Zu().domain([e,r]).range(u)},qu(t)}function Gu(){function t(t){if(t<=t)return e[Vs(n,t,0,r)]}var n=[.5],e=[0,1],r=1;return t.domain=function(i){return arguments.length?(n=Dm.call(i),r=Math.min(n.length,e.length-1),t):n.slice()},t.range=function(i){return arguments.length?(e=Dm.call(i),r=Math.min(n.length,e.length-1),t):e.slice()},t.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]},t.copy=function(){return Gu().domain(n).range(e)},t}function Ju(t,n,e,r){function i(n){return t(n=new Date(+n)),n}return i.floor=i,i.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},i.round=function(t){var n=i(t),e=i.ceil(t);return t-n<e-t?n:e},i.offset=function(t,e){return n(t=new Date(+t),null==e?1:Math.floor(e)),t},i.range=function(e,r,o){var u=[];if(e=i.ceil(e),o=null==o?1:Math.floor(o),!(e<r&&o>0))return u;do{u.push(new Date(+e))}while(n(e,o),t(e),e<r);return u},i.filter=function(e){return Ju(function(n){if(n>=n)for(;t(n),!e(n);)n.setTime(n-1)},function(t,r){if(t>=t)for(;--r>=0;)for(;n(t,1),!e(t););})},e&&(i.count=function(n,r){return jm.setTime(+n),Xm.setTime(+r),t(jm),t(Xm),Math.floor(e(jm,Xm))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(n){return r(n)%t==0}:function(n){return i.count(0,n)%t==0}):i:null}),i}function Qu(t){return Ju(function(n){n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)},function(t,n){t.setDate(t.getDate()+7*n)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Wm)/Zm})}function Ku(t){return Ju(function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+7*n)},function(t,n){return(n-t)/Zm})}function ta(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function na(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function ea(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}function ra(t){function n(t,n){return function(e){var r,i,o,u=[],a=-1,c=0,s=t.length;for(e instanceof Date||(e=new Date(+e));++a<s;)37===t.charCodeAt(a)&&(u.push(t.slice(c,a)),null!=(i=Vx[r=t.charAt(++a)])?r=t.charAt(++a):i="e"===r?" ":"0",(o=n[r])&&(r=o(e,i)), | |
| 4 | +u.push(r),c=a+1);return u.push(t.slice(c,a)),u.join("")}}function e(t,n){return function(e){var i=ea(1900);if(r(i,t,e+="",0)!=e.length)return null;if("p"in i&&(i.H=i.H%12+12*i.p),"W"in i||"U"in i){"w"in i||(i.w="W"in i?1:0);var o="Z"in i?na(ea(i.y)).getUTCDay():n(ea(i.y)).getDay();i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7}return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,na(i)):n(i)}}function r(t,n,e,r){for(var i,o,u=0,a=n.length,c=e.length;u<a;){if(r>=c)return-1;if(37===(i=n.charCodeAt(u++))){if(i=n.charAt(u++),!(o=B[i in Vx?n.charAt(u++):i])||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}function i(t,n,e){var r=C.exec(n.slice(e));return r?(t.p=z[r[0].toLowerCase()],e+r[0].length):-1}function o(t,n,e){var r=R.exec(n.slice(e));return r?(t.w=q[r[0].toLowerCase()],e+r[0].length):-1}function u(t,n,e){var r=P.exec(n.slice(e));return r?(t.w=L[r[0].toLowerCase()],e+r[0].length):-1}function a(t,n,e){var r=O.exec(n.slice(e));return r?(t.m=F[r[0].toLowerCase()],e+r[0].length):-1}function c(t,n,e){var r=U.exec(n.slice(e));return r?(t.m=D[r[0].toLowerCase()],e+r[0].length):-1}function s(t,n,e){return r(t,w,n,e)}function f(t,n,e){return r(t,M,n,e)}function l(t,n,e){return r(t,T,n,e)}function h(t){return S[t.getDay()]}function p(t){return N[t.getDay()]}function d(t){return A[t.getMonth()]}function v(t){return E[t.getMonth()]}function _(t){return k[+(t.getHours()>=12)]}function y(t){return S[t.getUTCDay()]}function g(t){return N[t.getUTCDay()]}function m(t){return A[t.getUTCMonth()]}function x(t){return E[t.getUTCMonth()]}function b(t){return k[+(t.getUTCHours()>=12)]}var w=t.dateTime,M=t.date,T=t.time,k=t.periods,N=t.days,S=t.shortDays,E=t.months,A=t.shortMonths,C=ua(k),z=aa(k),P=ua(N),L=aa(N),R=ua(S),q=aa(S),U=ua(E),D=aa(E),O=ua(A),F=aa(A),I={a:h,A:p,b:d,B:v,c:null,d:wa,e:wa,H:Ma,I:Ta,j:ka,L:Na,m:Sa,M:Ea,p:_,S:Aa,U:Ca,w:za,W:Pa,x:null,X:null,y:La,Y:Ra,Z:qa,"%":Ga},Y={a:y,A:g,b:m,B:x,c:null,d:Ua,e:Ua,H:Da,I:Oa,j:Fa,L:Ia,m:Ya,M:Ba,p:b,S:Ha,U:ja,w:Xa,W:$a,x:null,X:null,y:Va,Y:Wa,Z:Za,"%":Ga},B={a:o,A:u,b:a,B:c,c:s,d:va,e:va,H:ya,I:ya,j:_a,L:xa,m:da,M:ga,p:i,S:ma,U:sa,w:ca,W:fa,x:f,X:l,y:ha,Y:la,Z:pa,"%":ba};return I.x=n(M,I),I.X=n(T,I),I.c=n(w,I),Y.x=n(M,Y),Y.X=n(T,Y),Y.c=n(w,Y),{format:function(t){var e=n(t+="",I);return e.toString=function(){return t},e},parse:function(t){var n=e(t+="",ta);return n.toString=function(){return t},n},utcFormat:function(t){var e=n(t+="",Y);return e.toString=function(){return t},e},utcParse:function(t){var n=e(t,na);return n.toString=function(){return t},n}}}function ia(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<e?new Array(e-o+1).join(n)+i:i)}function oa(t){return t.replace(Gx,"\\$&")}function ua(t){return new RegExp("^(?:"+t.map(oa).join("|")+")","i")}function aa(t){for(var n={},e=-1,r=t.length;++e<r;)n[t[e].toLowerCase()]=e;return n}function ca(t,n,e){var r=Wx.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function sa(t,n,e){var r=Wx.exec(n.slice(e));return r?(t.U=+r[0],e+r[0].length):-1}function fa(t,n,e){var r=Wx.exec(n.slice(e));return r?(t.W=+r[0],e+r[0].length):-1}function la(t,n,e){var r=Wx.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function ha(t,n,e){var r=Wx.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function pa(t,n,e){var r=/^(Z)|([+-]\d\d)(?:\:?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function da(t,n,e){var r=Wx.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function va(t,n,e){var r=Wx.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function _a(t,n,e){var r=Wx.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function ya(t,n,e){var r=Wx.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function ga(t,n,e){var r=Wx.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function ma(t,n,e){var r=Wx.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function xa(t,n,e){var r=Wx.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function ba(t,n,e){var r=Zx.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function wa(t,n){return ia(t.getDate(),n,2)}function Ma(t,n){return ia(t.getHours(),n,2)}function Ta(t,n){return ia(t.getHours()%12||12,n,2)}function ka(t,n){return ia(1+ex.count(xx(t),t),n,3)}function Na(t,n){return ia(t.getMilliseconds(),n,3)}function Sa(t,n){return ia(t.getMonth()+1,n,2)}function Ea(t,n){return ia(t.getMinutes(),n,2)}function Aa(t,n){return ia(t.getSeconds(),n,2)}function Ca(t,n){return ia(ix.count(xx(t),t),n,2)}function za(t){return t.getDay()}function Pa(t,n){return ia(ox.count(xx(t),t),n,2)}function La(t,n){return ia(t.getFullYear()%100,n,2)}function Ra(t,n){return ia(t.getFullYear()%1e4,n,4)}function qa(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+ia(n/60|0,"0",2)+ia(n%60,"0",2)}function Ua(t,n){return ia(t.getUTCDate(),n,2)}function Da(t,n){return ia(t.getUTCHours(),n,2)}function Oa(t,n){return ia(t.getUTCHours()%12||12,n,2)}function Fa(t,n){return ia(1+Nx.count(jx(t),t),n,3)}function Ia(t,n){return ia(t.getUTCMilliseconds(),n,3)}function Ya(t,n){return ia(t.getUTCMonth()+1,n,2)}function Ba(t,n){return ia(t.getUTCMinutes(),n,2)}function Ha(t,n){return ia(t.getUTCSeconds(),n,2)}function ja(t,n){return ia(Ex.count(jx(t),t),n,2)}function Xa(t){return t.getUTCDay()}function $a(t,n){return ia(Ax.count(jx(t),t),n,2)}function Va(t,n){return ia(t.getUTCFullYear()%100,n,2)}function Wa(t,n){return ia(t.getUTCFullYear()%1e4,n,4)}function Za(){return"+0000"}function Ga(){return"%"}function Ja(n){return Xx=ra(n),t.timeFormat=Xx.format,t.timeParse=Xx.parse,t.utcFormat=Xx.utcFormat,t.utcParse=Xx.utcParse,Xx}function Qa(t){return t.toISOString()}function Ka(t){var n=new Date(t);return isNaN(n)?null:n}function tc(t){return new Date(t)}function nc(t){return t instanceof Date?+t:+new Date(+t)}function ec(t,n,e,r,o,u,a,c,s){function f(i){return(a(i)<i?v:u(i)<i?_:o(i)<i?y:r(i)<i?g:n(i)<i?e(i)<i?m:x:t(i)<i?b:w)(i)}function l(n,e,r,o){if(null==n&&(n=10),"number"==typeof n){var u=Math.abs(r-e)/n,a=Xs(function(t){return t[2]}).right(M,u);a===M.length?(o=i(e/ob,r/ob,n),n=t):a?(a=M[u/M[a-1][2]<M[a][2]/u?a-1:a],o=a[1],n=a[0]):(o=i(e,r,n),n=c)}return null==o?n:n.every(o)}var h=Ru(Eu,Ch),p=h.invert,d=h.domain,v=s(".%L"),_=s(":%S"),y=s("%I:%M"),g=s("%I %p"),m=s("%a %d"),x=s("%b %d"),b=s("%B"),w=s("%Y"),M=[[a,1,Kx],[a,5,5*Kx],[a,15,15*Kx],[a,30,30*Kx],[u,1,tb],[u,5,5*tb],[u,15,15*tb],[u,30,30*tb],[o,1,nb],[o,3,3*nb],[o,6,6*nb],[o,12,12*nb],[r,1,eb],[r,2,2*eb],[e,1,rb],[n,1,ib],[n,3,3*ib],[t,1,ob]];return h.invert=function(t){return new Date(p(t))},h.domain=function(t){return arguments.length?d(Um.call(t,nc)):d().map(tc)},h.ticks=function(t,n){var e,r=d(),i=r[0],o=r[r.length-1],u=o<i;return u&&(e=i,i=o,o=e),e=l(t,i,o,n),e=e?e.range(i,o+1):[],u?e.reverse():e},h.tickFormat=function(t,n){return null==n?f:s(n)},h.nice=function(t,n){var e=d();return(t=l(t,e[0],e[e.length-1],n))?d(Hm(e,t)):h},h.copy=function(){return Lu(h,ec(t,n,e,r,o,u,a,c,s))},h}function rc(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}function ic(t){function n(n){var o=(n-e)/(r-e);return t(i?Math.max(0,Math.min(1,o)):o)}var e=0,r=1,i=!1;return n.domain=function(t){return arguments.length?(e=+t[0],r=+t[1],n):[e,r]},n.clamp=function(t){return arguments.length?(i=!!t,n):i},n.interpolator=function(e){return arguments.length?(t=e,n):t},n.copy=function(){return ic(t).domain([e,r]).clamp(i)},qu(n)}function oc(t){return t>1?0:t<-1?zb:Math.acos(t)}function uc(t){return t>=1?Pb:t<=-1?-Pb:Math.asin(t)}function ac(t){return t.innerRadius}function cc(t){return t.outerRadius}function sc(t){return t.startAngle}function fc(t){return t.endAngle}function lc(t){return t&&t.padAngle}function hc(t,n,e,r,i,o,u,a){var c=e-t,s=r-n,f=u-i,l=a-o,h=(f*(n-o)-l*(t-i))/(l*c-f*s);return[t+h*c,n+h*s]}function pc(t,n,e,r,i,o,u){var a=t-e,c=n-r,s=(u?o:-o)/Ab(a*a+c*c),f=s*c,l=-s*a,h=t+f,p=n+l,d=e+f,v=r+l,_=(h+d)/2,y=(p+v)/2,g=d-h,m=v-p,x=g*g+m*m,b=i-o,w=h*v-d*p,M=(m<0?-1:1)*Ab(Nb(0,b*b*x-w*w)),T=(w*m-g*M)/x,k=(-w*g-m*M)/x,N=(w*m+g*M)/x,S=(-w*g+m*M)/x,E=T-_,A=k-y,C=N-_,z=S-y;return E*E+A*A>C*C+z*z&&(T=N,k=S),{cx:T,cy:k,x01:-f,y01:-l,x11:T*(i/b-1),y11:k*(i/b-1)}}function dc(t){this._context=t}function vc(t){return t[0]}function _c(t){return t[1]}function yc(t){this._curve=t}function gc(t){function n(n){return new yc(t(n))}return n._curve=t,n}function mc(t){var n=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?n(gc(t)):n()._curve},t}function xc(t){return t.source}function bc(t){return t.target}function wc(t){function n(){var n,a=jb.call(arguments),c=e.apply(this,a),s=r.apply(this,a);if(u||(u=n=Ue()),t(u,+i.apply(this,(a[0]=c,a)),+o.apply(this,a),+i.apply(this,(a[0]=s,a)),+o.apply(this,a)),n)return u=null,n+""||null}var e=xc,r=bc,i=vc,o=_c,u=null;return n.source=function(t){return arguments.length?(e=t,n):e},n.target=function(t){return arguments.length?(r=t,n):r},n.x=function(t){return arguments.length?(i="function"==typeof t?t:wb(+t),n):i},n.y=function(t){return arguments.length?(o="function"==typeof t?t:wb(+t),n):o},n.context=function(t){return arguments.length?(u=null==t?null:t,n):u},n}function Mc(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n=(n+r)/2,e,n,i,r,i)}function Tc(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n,e=(e+i)/2,r,e,r,i)}function kc(t,n,e,r,i){var o=Xb(n,e),u=Xb(n,e=(e+i)/2),a=Xb(r,e),c=Xb(r,i);t.moveTo(o[0],o[1]),t.bezierCurveTo(u[0],u[1],a[0],a[1],c[0],c[1])}function Nc(){return wc(Mc)}function Sc(){return wc(Tc)}function Ec(){var t=wc(kc);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}function Ac(t,n,e){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+n)/6,(t._y0+4*t._y1+e)/6)}function Cc(t){this._context=t}function zc(t){this._context=t}function Pc(t){this._context=t}function Lc(t,n){this._basis=new Cc(t),this._beta=n}function Rc(t,n,e){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-n),t._y2+t._k*(t._y1-e),t._x2,t._y2)}function qc(t,n){this._context=t,this._k=(1-n)/6}function Uc(t,n){this._context=t,this._k=(1-n)/6}function Dc(t,n){this._context=t,this._k=(1-n)/6}function Oc(t,n,e){var r=t._x1,i=t._y1,o=t._x2,u=t._y2;if(t._l01_a>Cb){var a=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,i=(i*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>Cb){var s=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,f=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*s+t._x1*t._l23_2a-n*t._l12_2a)/f,u=(u*s+t._y1*t._l23_2a-e*t._l12_2a)/f}t._context.bezierCurveTo(r,i,o,u,t._x2,t._y2)}function Fc(t,n){this._context=t,this._alpha=n}function Ic(t,n){this._context=t,this._alpha=n}function Yc(t,n){this._context=t,this._alpha=n}function Bc(t){this._context=t}function Hc(t){return t<0?-1:1}function jc(t,n,e){var r=t._x1-t._x0,i=n-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),u=(e-t._y1)/(i||r<0&&-0),a=(o*i+u*r)/(r+i);return(Hc(o)+Hc(u))*Math.min(Math.abs(o),Math.abs(u),.5*Math.abs(a))||0}function Xc(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function $c(t,n,e){var r=t._x0,i=t._y0,o=t._x1,u=t._y1,a=(o-r)/3;t._context.bezierCurveTo(r+a,i+a*n,o-a,u-a*e,o,u)}function Vc(t){this._context=t}function Wc(t){this._context=new Zc(t)}function Zc(t){this._context=t}function Gc(t){return new Vc(t)}function Jc(t){return new Wc(t)}function Qc(t){this._context=t}function Kc(t){var n,e,r=t.length-1,i=new Array(r),o=new Array(r),u=new Array(r);for(i[0]=0,o[0]=2,u[0]=t[0]+2*t[1],n=1;n<r-1;++n)i[n]=1,o[n]=4,u[n]=4*t[n]+2*t[n+1];for(i[r-1]=2,o[r-1]=7,u[r-1]=8*t[r-1]+t[r],n=1;n<r;++n)e=i[n]/o[n-1],o[n]-=e,u[n]-=e*u[n-1];for(i[r-1]=u[r-1]/o[r-1],n=r-2;n>=0;--n)i[n]=(u[n]-i[n+1])/o[n];for(o[r-1]=(t[r]+i[r-1])/2,n=0;n<r-1;++n)o[n]=2*t[n+1]-i[n+1];return[i,o]}function ts(t,n){this._context=t,this._t=n}function ns(t){return new ts(t,0)}function es(t){return new ts(t,1)}function rs(t,n){return t[n]}function is(t){for(var n,e=0,r=-1,i=t.length;++r<i;)(n=+t[r][1])&&(e+=n);return e}function os(t){return t[0]}function us(t){return t[1]}function as(){this._=null}function cs(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function ss(t,n){var e=n,r=n.R,i=e.U;i?i.L===e?i.L=r:i.R=r:t._=r,r.U=i,e.U=r,e.R=r.L,e.R&&(e.R.U=e),r.L=e}function fs(t,n){var e=n,r=n.L,i=e.U;i?i.L===e?i.L=r:i.R=r:t._=r,r.U=i,e.U=r,e.L=r.R,e.L&&(e.L.U=e),r.R=e}function ls(t){for(;t.L;)t=t.L;return t}function hs(t,n,e,r){var i=[null,null],o=Yw.push(i)-1;return i.left=t,i.right=n,e&&ds(i,t,n,e),r&&ds(i,n,t,r),Fw[t.index].halfedges.push(o),Fw[n.index].halfedges.push(o),i}function ps(t,n,e){var r=[n,e];return r.left=t,r}function ds(t,n,e,r){t[0]||t[1]?t.left===e?t[1]=r:t[0]=r:(t[0]=r,t.left=n,t.right=e)}function vs(t,n,e,r,i){var o,u=t[0],a=t[1],c=u[0],s=u[1],f=a[0],l=a[1],h=0,p=1,d=f-c,v=l-s;if(o=n-c,d||!(o>0)){if(o/=d,d<0){if(o<h)return;o<p&&(p=o)}else if(d>0){if(o>p)return;o>h&&(h=o)}if(o=r-c,d||!(o<0)){if(o/=d,d<0){if(o>p)return;o>h&&(h=o)}else if(d>0){if(o<h)return;o<p&&(p=o)}if(o=e-s,v||!(o>0)){if(o/=v,v<0){if(o<h)return;o<p&&(p=o)}else if(v>0){if(o>p)return;o>h&&(h=o)}if(o=i-s,v||!(o<0)){if(o/=v,v<0){if(o>p)return;o>h&&(h=o)}else if(v>0){if(o<h)return;o<p&&(p=o)}return!(h>0||p<1)||(h>0&&(t[0]=[c+h*d,s+h*v]),p<1&&(t[1]=[c+p*d,s+p*v]),!0)}}}}}function _s(t,n,e,r,i){var o=t[1];if(o)return!0;var u,a,c=t[0],s=t.left,f=t.right,l=s[0],h=s[1],p=f[0],d=f[1],v=(l+p)/2,_=(h+d)/2;if(d===h){if(v<n||v>=r)return;if(l>p){if(c){if(c[1]>=i)return}else c=[v,e];o=[v,i]}else{if(c){if(c[1]<e)return}else c=[v,i];o=[v,e]}}else if(u=(l-p)/(d-h),a=_-u*v,u<-1||u>1)if(l>p){if(c){if(c[1]>=i)return}else c=[(e-a)/u,e];o=[(i-a)/u,i]}else{if(c){if(c[1]<e)return}else c=[(i-a)/u,i];o=[(e-a)/u,e]}else if(h<d){if(c){if(c[0]>=r)return}else c=[n,u*n+a];o=[r,u*r+a]}else{if(c){if(c[0]<n)return}else c=[r,u*r+a];o=[n,u*n+a]}return t[0]=c,t[1]=o,!0}function ys(t,n,e,r){for(var i,o=Yw.length;o--;)_s(i=Yw[o],t,n,e,r)&&vs(i,t,n,e,r)&&(Math.abs(i[0][0]-i[1][0])>jw||Math.abs(i[0][1]-i[1][1])>jw)||delete Yw[o]}function gs(t){return Fw[t.index]={site:t,halfedges:[]}}function ms(t,n){var e=t.site,r=n.left,i=n.right;return e===i&&(i=r,r=e),i?Math.atan2(i[1]-r[1],i[0]-r[0]):(e===r?(r=n[1],i=n[0]):(r=n[0],i=n[1]),Math.atan2(r[0]-i[0],i[1]-r[1]))}function xs(t,n){return n[+(n.left!==t.site)]}function bs(t,n){return n[+(n.left===t.site)]}function ws(){for(var t,n,e,r,i=0,o=Fw.length;i<o;++i)if((t=Fw[i])&&(r=(n=t.halfedges).length)){var u=new Array(r),a=new Array(r);for(e=0;e<r;++e)u[e]=e,a[e]=ms(t,Yw[n[e]]);for(u.sort(function(t,n){return a[n]-a[t]}),e=0;e<r;++e)a[e]=n[u[e]];for(e=0;e<r;++e)n[e]=a[e]}}function Ms(t,n,e,r){var i,o,u,a,c,s,f,l,h,p,d,v,_=Fw.length,y=!0;for(i=0;i<_;++i)if(o=Fw[i]){for(u=o.site,c=o.halfedges,a=c.length;a--;)Yw[c[a]]||c.splice(a,1);for(a=0,s=c.length;a<s;)p=bs(o,Yw[c[a]]),d=p[0],v=p[1],f=xs(o,Yw[c[++a%s]]),l=f[0],h=f[1],(Math.abs(d-l)>jw||Math.abs(v-h)>jw)&&(c.splice(a,0,Yw.push(ps(u,p,Math.abs(d-t)<jw&&r-v>jw?[t,Math.abs(l-t)<jw?h:r]:Math.abs(v-r)<jw&&e-d>jw?[Math.abs(h-r)<jw?l:e,r]:Math.abs(d-e)<jw&&v-n>jw?[e,Math.abs(l-e)<jw?h:n]:Math.abs(v-n)<jw&&d-t>jw?[Math.abs(h-n)<jw?l:t,n]:null))-1),++s);s&&(y=!1)}if(y){var g,m,x,b=1/0;for(i=0,y=null;i<_;++i)(o=Fw[i])&&(u=o.site,g=u[0]-t,m=u[1]-n,(x=g*g+m*m)<b&&(b=x,y=o));if(y){var w=[t,n],M=[t,r],T=[e,r],k=[e,n];y.halfedges.push(Yw.push(ps(u=y.site,w,M))-1,Yw.push(ps(u,M,T))-1,Yw.push(ps(u,T,k))-1,Yw.push(ps(u,k,w))-1)}}for(i=0;i<_;++i)(o=Fw[i])&&(o.halfedges.length||delete Fw[i])}function Ts(){cs(this),this.x=this.y=this.arc=this.site=this.cy=null}function ks(t){var n=t.P,e=t.N;if(n&&e){var r=n.site,i=t.site,o=e.site;if(r!==o){var u=i[0],a=i[1],c=r[0]-u,s=r[1]-a,f=o[0]-u,l=o[1]-a,h=2*(c*l-s*f);if(!(h>=-Xw)){var p=c*c+s*s,d=f*f+l*l,v=(l*p-s*d)/h,_=(c*d-f*p)/h,y=Bw.pop()||new Ts;y.arc=t,y.site=i,y.x=v+u,y.y=(y.cy=_+a)+Math.sqrt(v*v+_*_),t.circle=y;for(var g=null,m=Iw._;m;)if(y.y<m.y||y.y===m.y&&y.x<=m.x){if(!m.L){g=m.P;break}m=m.L}else{if(!m.R){g=m;break}m=m.R}Iw.insert(g,y),g||(Dw=y)}}}}function Ns(t){var n=t.circle;n&&(n.P||(Dw=n.N),Iw.remove(n),Bw.push(n),cs(n),t.circle=null)}function Ss(){cs(this),this.edge=this.site=this.circle=null}function Es(t){var n=Hw.pop()||new Ss;return n.site=t,n}function As(t){Ns(t),Ow.remove(t),Hw.push(t),cs(t)}function Cs(t){var n=t.circle,e=n.x,r=n.cy,i=[e,r],o=t.P,u=t.N,a=[t];As(t);for(var c=o;c.circle&&Math.abs(e-c.circle.x)<jw&&Math.abs(r-c.circle.cy)<jw;)o=c.P,a.unshift(c),As(c),c=o;a.unshift(c),Ns(c);for(var s=u;s.circle&&Math.abs(e-s.circle.x)<jw&&Math.abs(r-s.circle.cy)<jw;)u=s.N,a.push(s),As(s),s=u;a.push(s),Ns(s);var f,l=a.length;for(f=1;f<l;++f)s=a[f],c=a[f-1],ds(s.edge,c.site,s.site,i);c=a[0],s=a[l-1],s.edge=hs(c.site,s.site,null,i),ks(c),ks(s)}function zs(t){for(var n,e,r,i,o=t[0],u=t[1],a=Ow._;a;)if((r=Ps(a,u)-o)>jw)a=a.L;else{if(!((i=o-Ls(a,u))>jw)){r>-jw?(n=a.P,e=a):i>-jw?(n=a,e=a.N):n=e=a;break}if(!a.R){n=a;break}a=a.R}gs(t);var c=Es(t);if(Ow.insert(n,c),n||e){if(n===e)return Ns(n),e=Es(n.site),Ow.insert(c,e),c.edge=e.edge=hs(n.site,c.site),ks(n),void ks(e);if(!e)return void(c.edge=hs(n.site,c.site));Ns(n),Ns(e);var s=n.site,f=s[0],l=s[1],h=t[0]-f,p=t[1]-l,d=e.site,v=d[0]-f,_=d[1]-l,y=2*(h*_-p*v),g=h*h+p*p,m=v*v+_*_,x=[(_*g-p*m)/y+f,(h*m-v*g)/y+l];ds(e.edge,s,d,x),c.edge=hs(s,t,null,x),e.edge=hs(t,d,null,x),ks(n),ks(e)}}function Ps(t,n){var e=t.site,r=e[0],i=e[1],o=i-n;if(!o)return r;var u=t.P;if(!u)return-1/0;e=u.site;var a=e[0],c=e[1],s=c-n;if(!s)return a;var f=a-r,l=1/o-1/s,h=f/s;return l?(-h+Math.sqrt(h*h-2*l*(f*f/(-2*s)-c+s/2+i-o/2)))/l+r:(r+a)/2}function Ls(t,n){var e=t.N;if(e)return Ps(e,n);var r=t.site;return r[1]===n?r[0]:1/0}function Rs(t,n,e){return(t[0]-e[0])*(n[1]-t[1])-(t[0]-n[0])*(e[1]-t[1])}function qs(t,n){return n[1]-t[1]||n[0]-t[0]}function Us(t,n){var e,r,i,o=t.sort(qs).pop();for(Yw=[],Fw=new Array(t.length),Ow=new as,Iw=new as;;)if(i=Dw,o&&(!i||o[1]<i.y||o[1]===i.y&&o[0]<i.x))o[0]===e&&o[1]===r||(zs(o),e=o[0],r=o[1]),o=t.pop();else{if(!i)break;Cs(i.arc)}if(ws(),n){var u=+n[0][0],a=+n[0][1],c=+n[1][0],s=+n[1][1];ys(u,a,c,s),Ms(u,a,c,s)}this.edges=Yw,this.cells=Fw,Ow=Iw=Yw=Fw=null}function Ds(t,n,e){this.target=t,this.type=n,this.transform=e}function Os(t,n,e){this.k=t,this.x=n,this.y=e}function Fs(t){return t.__zoom||Ww}function Is(){t.event.stopImmediatePropagation()}function Ys(){return!t.event.button}function Bs(){var t,n,e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e,t=e.width.baseVal.value,n=e.height.baseVal.value):(t=e.clientWidth,n=e.clientHeight),[[0,0],[t,n]]}function Hs(){return this.__zoom||Ww}var js=function(t,n){return t<n?-1:t>n?1:t>=n?0:NaN},Xs=function(t){return 1===t.length&&(t=n(t)),{left:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r<i;){var o=r+i>>>1;t(n[o],e)<0?r=o+1:i=o}return r},right:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r<i;){var o=r+i>>>1;t(n[o],e)>0?i=o:r=o+1}return r}}},$s=Xs(js),Vs=$s.right,Ws=$s.left,Zs=function(t,n){null==n&&(n=e);for(var r=0,i=t.length-1,o=t[0],u=new Array(i<0?0:i);r<i;)u[r]=n(o,o=t[++r]);return u},Gs=function(t,n,r){var i,o,u,a,c=t.length,s=n.length,f=new Array(c*s);for(null==r&&(r=e),i=u=0;i<c;++i)for(a=t[i],o=0;o<s;++o,++u)f[u]=r(a,n[o]);return f},Js=function(t,n){return n<t?-1:n>t?1:n>=t?0:NaN},Qs=function(t){return null===t?NaN:+t},Ks=function(t,n){var e,r,i=t.length,o=0,u=-1,a=0,c=0;if(null==n)for(;++u<i;)isNaN(e=Qs(t[u]))||(r=e-a,a+=r/++o,c+=r*(e-a));else for(;++u<i;)isNaN(e=Qs(n(t[u],u,t)))||(r=e-a,a+=r/++o,c+=r*(e-a));if(o>1)return c/(o-1)},tf=function(t,n){var e=Ks(t,n);return e?Math.sqrt(e):e},nf=function(t,n){var e,r,i,o=t.length,u=-1;if(null==n){for(;++u<o;)if(null!=(e=t[u])&&e>=e)for(r=i=e;++u<o;)null!=(e=t[u])&&(r>e&&(r=e),i<e&&(i=e))}else for(;++u<o;)if(null!=(e=n(t[u],u,t))&&e>=e)for(r=i=e;++u<o;)null!=(e=n(t[u],u,t))&&(r>e&&(r=e),i<e&&(i=e));return[r,i]},ef=Array.prototype,rf=ef.slice,of=ef.map,uf=function(t){return function(){return t}},af=function(t){return t},cf=function(t,n,e){t=+t,n=+n,e=(i=arguments.length)<2?(n=t,t=0,1):i<3?1:+e;for(var r=-1,i=0|Math.max(0,Math.ceil((n-t)/e)),o=new Array(i);++r<i;)o[r]=t+r*e;return o},sf=Math.sqrt(50),ff=Math.sqrt(10),lf=Math.sqrt(2),hf=function(t,n,e){var i,o,u,a=n<t,c=-1;if(a&&(i=t,t=n,n=i),0===(u=r(t,n,e))||!isFinite(u))return[];if(u>0)for(t=Math.ceil(t/u),n=Math.floor(n/u),o=new Array(i=Math.ceil(n-t+1));++c<i;)o[c]=(t+c)*u;else for(t=Math.floor(t*u),n=Math.ceil(n*u),o=new Array(i=Math.ceil(t-n+1));++c<i;)o[c]=(t-c)/u;return a&&o.reverse(),o},pf=function(t){return Math.ceil(Math.log(t.length)/Math.LN2)+1},df=function(){function t(t){var o,u,a=t.length,c=new Array(a);for(o=0;o<a;++o)c[o]=n(t[o],o,t);var s=e(c),f=s[0],l=s[1],h=r(c,f,l);Array.isArray(h)||(h=i(f,l,h),h=cf(Math.ceil(f/h)*h,Math.floor(l/h)*h,h));for(var p=h.length;h[0]<=f;)h.shift(),--p;for(;h[p-1]>l;)h.pop(),--p;var d,v=new Array(p+1);for(o=0;o<=p;++o)d=v[o]=[],d.x0=o>0?h[o-1]:f,d.x1=o<p?h[o]:l;for(o=0;o<a;++o)u=c[o],f<=u&&u<=l&&v[Vs(h,u,0,p)].push(t[o]);return v}var n=af,e=nf,r=pf;return t.value=function(e){return arguments.length?(n="function"==typeof e?e:uf(e),t):n},t.domain=function(n){return arguments.length?(e="function"==typeof n?n:uf([n[0],n[1]]),t):e},t.thresholds=function(n){return arguments.length?(r="function"==typeof n?n:uf(Array.isArray(n)?rf.call(n):n),t):r},t},vf=function(t,n,e){if(null==e&&(e=Qs),r=t.length){if((n=+n)<=0||r<2)return+e(t[0],0,t);if(n>=1)return+e(t[r-1],r-1,t);var r,i=(r-1)*n,o=Math.floor(i),u=+e(t[o],o,t);return u+(+e(t[o+1],o+1,t)-u)*(i-o)}},_f=function(t,n,e){return t=of.call(t,Qs).sort(js),Math.ceil((e-n)/(2*(vf(t,.75)-vf(t,.25))*Math.pow(t.length,-1/3)))},yf=function(t,n,e){return Math.ceil((e-n)/(3.5*tf(t)*Math.pow(t.length,-1/3)))},gf=function(t,n){var e,r,i=t.length,o=-1;if(null==n){for(;++o<i;)if(null!=(e=t[o])&&e>=e)for(r=e;++o<i;)null!=(e=t[o])&&e>r&&(r=e)}else for(;++o<i;)if(null!=(e=n(t[o],o,t))&&e>=e)for(r=e;++o<i;)null!=(e=n(t[o],o,t))&&e>r&&(r=e);return r},mf=function(t,n){var e,r=t.length,i=r,o=-1,u=0;if(null==n)for(;++o<r;)isNaN(e=Qs(t[o]))?--i:u+=e;else for(;++o<r;)isNaN(e=Qs(n(t[o],o,t)))?--i:u+=e;if(i)return u/i},xf=function(t,n){var e,r=t.length,i=-1,o=[];if(null==n)for(;++i<r;)isNaN(e=Qs(t[i]))||o.push(e);else for(;++i<r;)isNaN(e=Qs(n(t[i],i,t)))||o.push(e);return vf(o.sort(js),.5)},bf=function(t){for(var n,e,r,i=t.length,o=-1,u=0;++o<i;)u+=t[o].length;for(e=new Array(u);--i>=0;)for(r=t[i],n=r.length;--n>=0;)e[--u]=r[n];return e},wf=function(t,n){var e,r,i=t.length,o=-1;if(null==n){for(;++o<i;)if(null!=(e=t[o])&&e>=e)for(r=e;++o<i;)null!=(e=t[o])&&r>e&&(r=e)}else for(;++o<i;)if(null!=(e=n(t[o],o,t))&&e>=e)for(r=e;++o<i;)null!=(e=n(t[o],o,t))&&r>e&&(r=e);return r},Mf=function(t,n){for(var e=n.length,r=new Array(e);e--;)r[e]=t[n[e]];return r},Tf=function(t,n){if(e=t.length){var e,r,i=0,o=0,u=t[o];for(null==n&&(n=js);++i<e;)(n(r=t[i],u)<0||0!==n(u,u))&&(u=r,o=i);return 0===n(u,u)?o:void 0}},kf=function(t,n,e){for(var r,i,o=(null==e?t.length:e)-(n=null==n?0:+n);o;)i=Math.random()*o--|0,r=t[o+n],t[o+n]=t[i+n],t[i+n]=r;return t},Nf=function(t,n){var e,r=t.length,i=-1,o=0;if(null==n)for(;++i<r;)(e=+t[i])&&(o+=e);else for(;++i<r;)(e=+n(t[i],i,t))&&(o+=e);return o},Sf=function(t){if(!(i=t.length))return[];for(var n=-1,e=wf(t,o),r=new Array(e);++n<e;)for(var i,u=-1,a=r[n]=new Array(i);++u<i;)a[u]=t[u][n];return r},Ef=function(){return Sf(arguments)},Af=Array.prototype.slice,Cf=function(t){return t},zf=1,Pf=2,Lf=3,Rf=4,qf=1e-6,Uf={value:function(){}};_.prototype=v.prototype={constructor:_,on:function(t,n){var e,r=this._,i=y(t+"",r),o=-1,u=i.length;{if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++o<u;)if(e=(t=i[o]).type)r[e]=m(r[e],t.name,n);else if(null==n)for(e in r)r[e]=m(r[e],t.name,null);return this}for(;++o<u;)if((e=(t=i[o]).type)&&(e=g(r[e],t.name)))return e}},copy:function(){var t={},n=this._;for(var e in n)t[e]=n[e].slice();return new _(t)},call:function(t,n){if((e=arguments.length-2)>0)for(var e,r,i=new Array(e),o=0;o<e;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(r=this._[t],o=0,e=r.length;o<e;++o)r[o].value.apply(n,i)},apply:function(t,n,e){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(n,e)}};var Df="http://www.w3.org/1999/xhtml",Of={svg:"http://www.w3.org/2000/svg",xhtml:Df,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Ff=function(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),Of.hasOwnProperty(n)?{space:Of[n],local:t}:t},If=function(t){var n=Ff(t);return(n.local?b:x)(n)},Yf=0;M.prototype=w.prototype={constructor:M,get:function(t){for(var n=this._;!(n in t);)if(!(t=t.parentNode))return;return t[n]},set:function(t,n){return t[this._]=n},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}};var Bf=function(t){return function(){return this.matches(t)}};if("undefined"!=typeof document){var Hf=document.documentElement;if(!Hf.matches){var jf=Hf.webkitMatchesSelector||Hf.msMatchesSelector||Hf.mozMatchesSelector||Hf.oMatchesSelector;Bf=function(t){return function(){return jf.call(this,t)}}}}var Xf=Bf,$f={};if(t.event=null,"undefined"!=typeof document){"onmouseenter"in document.documentElement||($f={mouseenter:"mouseover",mouseleave:"mouseout"})}var Vf=function(t,n,e){var r,i,o=N(t+""),u=o.length;{if(!(arguments.length<2)){for(a=n?E:S,null==e&&(e=!1),r=0;r<u;++r)this.each(a(o[r],n,e));return this}var a=this.node().__on;if(a)for(var c,s=0,f=a.length;s<f;++s)for(r=0,c=a[s];r<u;++r)if((i=o[r]).type===c.type&&i.name===c.name)return c.value}},Wf=function(){for(var n,e=t.event;n=e.sourceEvent;)e=n;return e},Zf=function(t,n){var e=t.ownerSVGElement||t;if(e.createSVGPoint){var r=e.createSVGPoint();return r.x=n.clientX,r.y=n.clientY,r=r.matrixTransform(t.getScreenCTM().inverse()),[r.x,r.y]}var i=t.getBoundingClientRect();return[n.clientX-i.left-t.clientLeft,n.clientY-i.top-t.clientTop]},Gf=function(t){var n=Wf();return n.changedTouches&&(n=n.changedTouches[0]),Zf(t,n)},Jf=function(t){return null==t?C:function(){return this.querySelector(t)}},Qf=function(t){"function"!=typeof t&&(t=Jf(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,u,a=n[i],c=a.length,s=r[i]=new Array(c),f=0;f<c;++f)(o=a[f])&&(u=t.call(o,o.__data__,f,a))&&("__data__"in o&&(u.__data__=o.__data__),s[f]=u);return new _t(r,this._parents)},Kf=function(t){return null==t?z:function(){return this.querySelectorAll(t)}},tl=function(t){"function"!=typeof t&&(t=Kf(t));for(var n=this._groups,e=n.length,r=[],i=[],o=0;o<e;++o)for(var u,a=n[o],c=a.length,s=0;s<c;++s)(u=a[s])&&(r.push(t.call(u,u.__data__,s,a)),i.push(u));return new _t(r,i)},nl=function(t){"function"!=typeof t&&(t=Xf(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,u=n[i],a=u.length,c=r[i]=[],s=0;s<a;++s)(o=u[s])&&t.call(o,o.__data__,s,u)&&c.push(o);return new _t(r,this._parents)},el=function(t){return new Array(t.length)},rl=function(){return new _t(this._enter||this._groups.map(el),this._parents)};P.prototype={constructor:P,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,n){return this._parent.insertBefore(t,n)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var il=function(t){return function(){return t}},ol="$",ul=function(t,n){if(!t)return p=new Array(this.size()),s=-1,this.each(function(t){p[++s]=t}),p;var e=n?R:L,r=this._parents,i=this._groups;"function"!=typeof t&&(t=il(t));for(var o=i.length,u=new Array(o),a=new Array(o),c=new Array(o),s=0;s<o;++s){var f=r[s],l=i[s],h=l.length,p=t.call(f,f&&f.__data__,s,r),d=p.length,v=a[s]=new Array(d),_=u[s]=new Array(d);e(f,l,v,_,c[s]=new Array(h),p,n);for(var y,g,m=0,x=0;m<d;++m)if(y=v[m]){for(m>=x&&(x=m+1);!(g=_[x])&&++x<d;);y._next=g||null}}return u=new _t(u,r),u._enter=a,u._exit=c,u},al=function(){return new _t(this._exit||this._groups.map(el),this._parents)},cl=function(t){for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),u=new Array(r),a=0;a<o;++a)for(var c,s=n[a],f=e[a],l=s.length,h=u[a]=new Array(l),p=0;p<l;++p)(c=s[p]||f[p])&&(h[p]=c);for(;a<r;++a)u[a]=n[a];return new _t(u,this._parents)},sl=function(){for(var t=this._groups,n=-1,e=t.length;++n<e;)for(var r,i=t[n],o=i.length-1,u=i[o];--o>=0;)(r=i[o])&&(u&&u!==r.nextSibling&&u.parentNode.insertBefore(r,u),u=r);return this},fl=function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=q);for(var e=this._groups,r=e.length,i=new Array(r),o=0;o<r;++o){for(var u,a=e[o],c=a.length,s=i[o]=new Array(c),f=0;f<c;++f)(u=a[f])&&(s[f]=u);s.sort(n)}return new _t(i,this._parents).order()},ll=function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},hl=function(){var t=new Array(this.size()),n=-1;return this.each(function(){t[++n]=this}),t},pl=function(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var r=t[n],i=0,o=r.length;i<o;++i){var u=r[i];if(u)return u}return null},dl=function(){var t=0;return this.each(function(){++t}),t},vl=function(){return!this.node()},_l=function(t){for(var n=this._groups,e=0,r=n.length;e<r;++e)for(var i,o=n[e],u=0,a=o.length;u<a;++u)(i=o[u])&&t.call(i,i.__data__,u,o);return this},yl=function(t,n){var e=Ff(t);if(arguments.length<2){var r=this.node();return e.local?r.getAttributeNS(e.space,e.local):r.getAttribute(e)}return this.each((null==n?e.local?D:U:"function"==typeof n?e.local?Y:I:e.local?F:O)(e,n))},gl=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView},ml=function(t,n,e){return arguments.length>1?this.each((null==n?B:"function"==typeof n?j:H)(t,n,null==e?"":e)):X(this.node(),t)},xl=function(t,n){return arguments.length>1?this.each((null==n?$:"function"==typeof n?W:V)(t,n)):this.node()[t]};J.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var n=this._names.indexOf(t);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var bl=function(t,n){var e=Z(t+"");if(arguments.length<2){for(var r=G(this.node()),i=-1,o=e.length;++i<o;)if(!r.contains(e[i]))return!1;return!0}return this.each(("function"==typeof n?et:n?tt:nt)(e,n))},wl=function(t){return arguments.length?this.each(null==t?rt:("function"==typeof t?ot:it)(t)):this.node().textContent},Ml=function(t){return arguments.length?this.each(null==t?ut:("function"==typeof t?ct:at)(t)):this.node().innerHTML},Tl=function(){return this.each(st)},kl=function(){return this.each(ft)},Nl=function(t){var n="function"==typeof t?t:If(t);return this.select(function(){return this.appendChild(n.apply(this,arguments))})},Sl=function(t,n){var e="function"==typeof t?t:If(t),r=null==n?lt:"function"==typeof n?n:Jf(n);return this.select(function(){return this.insertBefore(e.apply(this,arguments),r.apply(this,arguments)||null)})},El=function(){return this.each(ht)},Al=function(t){return arguments.length?this.property("__data__",t):this.node().__data__},Cl=function(t,n){return this.each(("function"==typeof n?vt:dt)(t,n))},zl=[null];_t.prototype=yt.prototype={constructor:_t,select:Qf,selectAll:tl,filter:nl,data:ul,enter:rl,exit:al,merge:cl,order:sl,sort:fl,call:ll,nodes:hl,node:pl,size:dl,empty:vl,each:_l,attr:yl,style:ml,property:xl,classed:bl,text:wl,html:Ml,raise:Tl,lower:kl,append:Nl,insert:Sl,remove:El,datum:Al,on:Vf,dispatch:Cl};var Pl=function(t){return"string"==typeof t?new _t([[document.querySelector(t)]],[document.documentElement]):new _t([[t]],zl)},Ll=function(t){return"string"==typeof t?new _t([document.querySelectorAll(t)],[document.documentElement]):new _t([null==t?[]:t],zl) | |
| 5 | +},Rl=function(t,n,e){arguments.length<3&&(e=n,n=Wf().changedTouches);for(var r,i=0,o=n?n.length:0;i<o;++i)if((r=n[i]).identifier===e)return Zf(t,r);return null},ql=function(t,n){null==n&&(n=Wf().touches);for(var e=0,r=n?n.length:0,i=new Array(r);e<r;++e)i[e]=Zf(t,n[e]);return i},Ul=function(){t.event.preventDefault(),t.event.stopImmediatePropagation()},Dl=function(t){var n=t.document.documentElement,e=Pl(t).on("dragstart.drag",Ul,!0);"onselectstart"in n?e.on("selectstart.drag",Ul,!0):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")},Ol=function(t){return function(){return t}};xt.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t};var Fl=function(){function n(t){t.on("mousedown.drag",e).on("touchstart.drag",o).on("touchmove.drag",u).on("touchend.drag touchcancel.drag",a).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function e(){if(!h&&p.apply(this,arguments)){var n=c("mouse",d.apply(this,arguments),Gf,this,arguments);n&&(Pl(t.event.view).on("mousemove.drag",r,!0).on("mouseup.drag",i,!0),Dl(t.event.view),gt(),l=!1,s=t.event.clientX,f=t.event.clientY,n("start"))}}function r(){if(Ul(),!l){var n=t.event.clientX-s,e=t.event.clientY-f;l=n*n+e*e>x}y.mouse("drag")}function i(){Pl(t.event.view).on("mousemove.drag mouseup.drag",null),mt(t.event.view,l),Ul(),y.mouse("end")}function o(){if(p.apply(this,arguments)){var n,e,r=t.event.changedTouches,i=d.apply(this,arguments),o=r.length;for(n=0;n<o;++n)(e=c(r[n].identifier,i,Rl,this,arguments))&&(gt(),e("start"))}}function u(){var n,e,r=t.event.changedTouches,i=r.length;for(n=0;n<i;++n)(e=y[r[n].identifier])&&(Ul(),e("drag"))}function a(){var n,e,r=t.event.changedTouches,i=r.length;for(h&&clearTimeout(h),h=setTimeout(function(){h=null},500),n=0;n<i;++n)(e=y[r[n].identifier])&&(gt(),e("end"))}function c(e,r,i,o,u){var a,c,s,f=i(r,e),l=g.copy();if(A(new xt(n,"beforestart",a,e,m,f[0],f[1],0,0,l),function(){return null!=(t.event.subject=a=_.apply(o,u))&&(c=a.x-f[0]||0,s=a.y-f[1]||0,!0)}))return function t(h){var p,d=f;switch(h){case"start":y[e]=t,p=m++;break;case"end":delete y[e],--m;case"drag":f=i(r,e),p=m}A(new xt(n,h,a,e,p,f[0]+c,f[1]+s,f[0]-d[0],f[1]-d[1],l),l.apply,l,[h,o,u])}}var s,f,l,h,p=bt,d=wt,_=Mt,y={},g=v("start","drag","end"),m=0,x=0;return n.filter=function(t){return arguments.length?(p="function"==typeof t?t:Ol(!!t),n):p},n.container=function(t){return arguments.length?(d="function"==typeof t?t:Ol(t),n):d},n.subject=function(t){return arguments.length?(_="function"==typeof t?t:Ol(t),n):_},n.on=function(){var t=g.on.apply(g,arguments);return t===g?n:t},n.clickDistance=function(t){return arguments.length?(x=(t=+t)*t,n):Math.sqrt(x)},n},Il=function(t,n,e){t.prototype=n.prototype=e,e.constructor=t},Yl="\\s*([+-]?\\d+)\\s*",Bl="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Hl="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",jl=/^#([0-9a-f]{3})$/,Xl=/^#([0-9a-f]{6})$/,$l=new RegExp("^rgb\\("+[Yl,Yl,Yl]+"\\)$"),Vl=new RegExp("^rgb\\("+[Hl,Hl,Hl]+"\\)$"),Wl=new RegExp("^rgba\\("+[Yl,Yl,Yl,Bl]+"\\)$"),Zl=new RegExp("^rgba\\("+[Hl,Hl,Hl,Bl]+"\\)$"),Gl=new RegExp("^hsl\\("+[Bl,Hl,Hl]+"\\)$"),Jl=new RegExp("^hsla\\("+[Bl,Hl,Hl,Bl]+"\\)$"),Ql={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};Il(kt,Nt,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Il(zt,Ct,Tt(kt,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new zt(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new zt(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(1===t?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}})),Il(qt,Rt,Tt(kt,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new qt(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new qt(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new zt(Ut(t>=240?t-240:t+120,i,r),Ut(t,i,r),Ut(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var Kl=Math.PI/180,th=180/Math.PI,nh=.95047,eh=1,rh=1.08883,ih=4/29,oh=6/29,uh=3*oh*oh,ah=oh*oh*oh;Il(Ft,Ot,Tt(kt,{brighter:function(t){return new Ft(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new Ft(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return t=eh*Yt(t),n=nh*Yt(n),e=rh*Yt(e),new zt(Bt(3.2404542*n-1.5371385*t-.4985314*e),Bt(-.969266*n+1.8760108*t+.041556*e),Bt(.0556434*n-.2040259*t+1.0572252*e),this.opacity)}})),Il($t,Xt,Tt(kt,{brighter:function(t){return new $t(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new $t(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return Dt(this).rgb()}}));var ch=-.14861,sh=1.78277,fh=-.29227,lh=-.90649,hh=1.97294,ph=hh*lh,dh=hh*sh,vh=sh*fh-lh*ch;Il(Zt,Wt,Tt(kt,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new Zt(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Zt(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*Kl,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),i=Math.sin(t);return new zt(255*(n+e*(ch*r+sh*i)),255*(n+e*(fh*r+lh*i)),255*(n+e*(hh*r)),this.opacity)}}));var _h,yh,gh,mh,xh,bh,wh=function(t){var n=t.length-1;return function(e){var r=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),i=t[r],o=t[r+1],u=r>0?t[r-1]:2*i-o,a=r<n-1?t[r+2]:2*o-i;return Gt((e-r/n)*n,u,i,o,a)}},Mh=function(t){var n=t.length;return function(e){var r=Math.floor(((e%=1)<0?++e:e)*n),i=t[(r+n-1)%n],o=t[r%n],u=t[(r+1)%n],a=t[(r+2)%n];return Gt((e-r/n)*n,i,o,u,a)}},Th=function(t){return function(){return t}},kh=function t(n){function e(t,n){var e=r((t=Ct(t)).r,(n=Ct(n)).r),i=r(t.g,n.g),o=r(t.b,n.b),u=nn(t.opacity,n.opacity);return function(n){return t.r=e(n),t.g=i(n),t.b=o(n),t.opacity=u(n),t+""}}var r=tn(n);return e.gamma=t,e}(1),Nh=en(wh),Sh=en(Mh),Eh=function(t,n){var e,r=n?n.length:0,i=t?Math.min(r,t.length):0,o=new Array(r),u=new Array(r);for(e=0;e<i;++e)o[e]=qh(t[e],n[e]);for(;e<r;++e)u[e]=n[e];return function(t){for(e=0;e<i;++e)u[e]=o[e](t);return u}},Ah=function(t,n){var e=new Date;return t=+t,n-=t,function(r){return e.setTime(t+n*r),e}},Ch=function(t,n){return t=+t,n-=t,function(e){return t+n*e}},zh=function(t,n){var e,r={},i={};null!==t&&"object"==typeof t||(t={}),null!==n&&"object"==typeof n||(n={});for(e in n)e in t?r[e]=qh(t[e],n[e]):i[e]=n[e];return function(t){for(e in r)i[e]=r[e](t);return i}},Ph=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Lh=new RegExp(Ph.source,"g"),Rh=function(t,n){var e,r,i,o=Ph.lastIndex=Lh.lastIndex=0,u=-1,a=[],c=[];for(t+="",n+="";(e=Ph.exec(t))&&(r=Lh.exec(n));)(i=r.index)>o&&(i=n.slice(o,i),a[u]?a[u]+=i:a[++u]=i),(e=e[0])===(r=r[0])?a[u]?a[u]+=r:a[++u]=r:(a[++u]=null,c.push({i:u,x:Ch(e,r)})),o=Lh.lastIndex;return o<n.length&&(i=n.slice(o),a[u]?a[u]+=i:a[++u]=i),a.length<2?c[0]?on(c[0].x):rn(n):(n=c.length,function(t){for(var e,r=0;r<n;++r)a[(e=c[r]).i]=e.x(t);return a.join("")})},qh=function(t,n){var e,r=typeof n;return null==n||"boolean"===r?Th(n):("number"===r?Ch:"string"===r?(e=Nt(n))?(n=e,kh):Rh:n instanceof Nt?kh:n instanceof Date?Ah:Array.isArray(n)?Eh:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?zh:Ch)(t,n)},Uh=function(t,n){return t=+t,n-=t,function(e){return Math.round(t+n*e)}},Dh=180/Math.PI,Oh={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},Fh=function(t,n,e,r,i,o){var u,a,c;return(u=Math.sqrt(t*t+n*n))&&(t/=u,n/=u),(c=t*e+n*r)&&(e-=t*c,r-=n*c),(a=Math.sqrt(e*e+r*r))&&(e/=a,r/=a,c/=a),t*r<n*e&&(t=-t,n=-n,c=-c,u=-u),{translateX:i,translateY:o,rotate:Math.atan2(n,t)*Dh,skewX:Math.atan(c)*Dh,scaleX:u,scaleY:a}},Ih=cn(un,"px, ","px)","deg)"),Yh=cn(an,", ",")",")"),Bh=Math.SQRT2,Hh=function(t,n){var e,r,i=t[0],o=t[1],u=t[2],a=n[0],c=n[1],s=n[2],f=a-i,l=c-o,h=f*f+l*l;if(h<1e-12)r=Math.log(s/u)/Bh,e=function(t){return[i+t*f,o+t*l,u*Math.exp(Bh*t*r)]};else{var p=Math.sqrt(h),d=(s*s-u*u+4*h)/(2*u*2*p),v=(s*s-u*u-4*h)/(2*s*2*p),_=Math.log(Math.sqrt(d*d+1)-d),y=Math.log(Math.sqrt(v*v+1)-v);r=(y-_)/Bh,e=function(t){var n=t*r,e=sn(_),a=u/(2*p)*(e*ln(Bh*n+_)-fn(_));return[i+a*f,o+a*l,u*e/sn(Bh*n+_)]}}return e.duration=1e3*r,e},jh=hn(Kt),Xh=hn(nn),$h=dn(Kt),Vh=dn(nn),Wh=vn(Kt),Zh=vn(nn),Gh=function(t,n){for(var e=new Array(n),r=0;r<n;++r)e[r]=t(r/(n-1));return e},Jh=0,Qh=0,Kh=0,tp=1e3,np=0,ep=0,rp=0,ip="object"==typeof performance&&performance.now?performance:Date,op="function"==typeof requestAnimationFrame?requestAnimationFrame:function(t){setTimeout(t,17)};gn.prototype=mn.prototype={constructor:gn,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?_n():+e)+(null==n?0:+n),this._next||bh===this||(bh?bh._next=this:xh=this,bh=this),this._call=t,this._time=e,Tn()},stop:function(){this._call&&(this._call=null,this._time=1/0,Tn())}};var up=function(t,n,e){var r=new gn;return n=null==n?0:+n,r.restart(function(e){r.stop(),t(e+n)},n,e),r},ap=function(t,n,e){var r=new gn,i=n;return null==n?(r.restart(t,n,e),r):(n=+n,e=null==e?_n():+e,r.restart(function o(u){u+=i,r.restart(o,i+=n,e),t(u)},n,e),r)},cp=v("start","end","interrupt"),sp=[],fp=0,lp=1,hp=2,pp=3,dp=4,vp=5,_p=6,yp=function(t,n,e,r,i,o){var u=t.__transition;if(u){if(e in u)return}else t.__transition={};En(t,e,{name:n,index:r,group:i,on:cp,tween:sp,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:fp})},gp=function(t,n){var e,r,i,o=t.__transition,u=!0;if(o){n=null==n?null:n+"";for(i in o)(e=o[i]).name===n?(r=e.state>hp&&e.state<vp,e.state=_p,e.timer.stop(),r&&e.on.call("interrupt",t,t.__data__,e.index,e.group),delete o[i]):u=!1;u&&delete t.__transition}},mp=function(t){return this.each(function(){gp(this,t)})},xp=function(t,n){var e=this._id;if(t+="",arguments.length<2){for(var r,i=Sn(this.node(),e).tween,o=0,u=i.length;o<u;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==n?An:Cn)(e,t,n))},bp=function(t,n){var e;return("number"==typeof n?Ch:n instanceof Nt?kh:(e=Nt(n))?(n=e,kh):Rh)(t,n)},wp=function(t,n){var e=Ff(t),r="transform"===e?Yh:bp;return this.attrTween(t,"function"==typeof n?(e.local?Dn:Un)(e,r,zn(this,"attr."+t,n)):null==n?(e.local?Ln:Pn)(e):(e.local?qn:Rn)(e,r,n+""))},Mp=function(t,n){var e="attr."+t;if(arguments.length<2)return(e=this.tween(e))&&e._value;if(null==n)return this.tween(e,null);if("function"!=typeof n)throw new Error;var r=Ff(t);return this.tween(e,(r.local?On:Fn)(r,n))},Tp=function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?In:Yn)(n,t)):Sn(this.node(),n).delay},kp=function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?Bn:Hn)(n,t)):Sn(this.node(),n).duration},Np=function(t){var n=this._id;return arguments.length?this.each(jn(n,t)):Sn(this.node(),n).ease},Sp=function(t){"function"!=typeof t&&(t=Xf(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,u=n[i],a=u.length,c=r[i]=[],s=0;s<a;++s)(o=u[s])&&t.call(o,o.__data__,s,u)&&c.push(o);return new ne(r,this._parents,this._name,this._id)},Ep=function(t){if(t._id!==this._id)throw new Error;for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),u=new Array(r),a=0;a<o;++a)for(var c,s=n[a],f=e[a],l=s.length,h=u[a]=new Array(l),p=0;p<l;++p)(c=s[p]||f[p])&&(h[p]=c);for(;a<r;++a)u[a]=n[a];return new ne(u,this._parents,this._name,this._id)},Ap=function(t,n){var e=this._id;return arguments.length<2?Sn(this.node(),e).on.on(t):this.each($n(e,t,n))},Cp=function(){return this.on("end.remove",Vn(this._id))},zp=function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=Jf(t));for(var r=this._groups,i=r.length,o=new Array(i),u=0;u<i;++u)for(var a,c,s=r[u],f=s.length,l=o[u]=new Array(f),h=0;h<f;++h)(a=s[h])&&(c=t.call(a,a.__data__,h,s))&&("__data__"in a&&(c.__data__=a.__data__),l[h]=c,yp(l[h],n,e,h,l,Sn(a,e)));return new ne(o,this._parents,n,e)},Pp=function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=Kf(t));for(var r=this._groups,i=r.length,o=[],u=[],a=0;a<i;++a)for(var c,s=r[a],f=s.length,l=0;l<f;++l)if(c=s[l]){for(var h,p=t.call(c,c.__data__,l,s),d=Sn(c,e),v=0,_=p.length;v<_;++v)(h=p[v])&&yp(h,n,e,v,p,d);o.push(p),u.push(c)}return new ne(o,u,n,e)},Lp=yt.prototype.constructor,Rp=function(){return new Lp(this._groups,this._parents)},qp=function(t,n,e){var r="transform"==(t+="")?Ih:bp;return null==n?this.styleTween(t,Wn(t,r)).on("end.style."+t,Zn(t)):this.styleTween(t,"function"==typeof n?Jn(t,r,zn(this,"style."+t,n)):Gn(t,r,n+""),e)},Up=function(t,n,e){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==n)return this.tween(r,null);if("function"!=typeof n)throw new Error;return this.tween(r,Qn(t,n,null==e?"":e))},Dp=function(t){return this.tween("text","function"==typeof t?te(zn(this,"text",t)):Kn(null==t?"":t+""))},Op=function(){for(var t=this._name,n=this._id,e=re(),r=this._groups,i=r.length,o=0;o<i;++o)for(var u,a=r[o],c=a.length,s=0;s<c;++s)if(u=a[s]){var f=Sn(u,n);yp(u,t,e,s,a,{time:f.time+f.delay+f.duration,delay:0,duration:f.duration,ease:f.ease})}return new ne(r,this._parents,t,e)},Fp=0,Ip=yt.prototype;ne.prototype=ee.prototype={constructor:ne,select:zp,selectAll:Pp,filter:Sp,merge:Ep,selection:Rp,transition:Op,call:Ip.call,nodes:Ip.nodes,node:Ip.node,size:Ip.size,empty:Ip.empty,each:Ip.each,on:Ap,attr:wp,attrTween:Mp,style:qp,styleTween:Up,text:Dp,remove:Cp,tween:xp,delay:Tp,duration:kp,ease:Np};var Yp=function t(n){function e(t){return Math.pow(t,n)}return n=+n,e.exponent=t,e}(3),Bp=function t(n){function e(t){return 1-Math.pow(1-t,n)}return n=+n,e.exponent=t,e}(3),Hp=function t(n){function e(t){return((t*=2)<=1?Math.pow(t,n):2-Math.pow(2-t,n))/2}return n=+n,e.exponent=t,e}(3),jp=Math.PI,Xp=jp/2,$p=4/11,Vp=6/11,Wp=8/11,Zp=.75,Gp=9/11,Jp=10/11,Qp=.9375,Kp=21/22,td=63/64,nd=1/$p/$p,ed=function t(n){function e(t){return t*t*((n+1)*t-n)}return n=+n,e.overshoot=t,e}(1.70158),rd=function t(n){function e(t){return--t*t*((n+1)*t+n)+1}return n=+n,e.overshoot=t,e}(1.70158),id=function t(n){function e(t){return((t*=2)<1?t*t*((n+1)*t-n):(t-=2)*t*((n+1)*t+n)+2)/2}return n=+n,e.overshoot=t,e}(1.70158),od=2*Math.PI,ud=function t(n,e){function r(t){return n*Math.pow(2,10*--t)*Math.sin((i-t)/e)}var i=Math.asin(1/(n=Math.max(1,n)))*(e/=od);return r.amplitude=function(n){return t(n,e*od)},r.period=function(e){return t(n,e)},r}(1,.3),ad=function t(n,e){function r(t){return 1-n*Math.pow(2,-10*(t=+t))*Math.sin((t+i)/e)}var i=Math.asin(1/(n=Math.max(1,n)))*(e/=od);return r.amplitude=function(n){return t(n,e*od)},r.period=function(e){return t(n,e)},r}(1,.3),cd=function t(n,e){function r(t){return((t=2*t-1)<0?n*Math.pow(2,10*t)*Math.sin((i-t)/e):2-n*Math.pow(2,-10*t)*Math.sin((i+t)/e))/2}var i=Math.asin(1/(n=Math.max(1,n)))*(e/=od);return r.amplitude=function(n){return t(n,e*od)},r.period=function(e){return t(n,e)},r}(1,.3),sd={time:null,delay:0,duration:250,ease:fe},fd=function(t){var n,e;t instanceof ne?(n=t._id,t=t._name):(n=re(),(e=sd).time=_n(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var u,a=r[o],c=a.length,s=0;s<c;++s)(u=a[s])&&yp(u,t,n,s,a,e||Me(u,n));return new ne(r,this._parents,t,n)};yt.prototype.interrupt=mp,yt.prototype.transition=fd;var ld=[null],hd=function(t,n){var e,r,i=t.__transition;if(i){n=null==n?null:n+"";for(r in i)if((e=i[r]).state>lp&&e.name===n)return new ne([[t]],ld,n,+r)}return null},pd=function(t){return function(){return t}},dd=function(t,n,e){this.target=t,this.type=n,this.selection=e},vd=function(){t.event.preventDefault(),t.event.stopImmediatePropagation()},_d={name:"drag"},yd={name:"space"},gd={name:"handle"},md={name:"center"},xd={name:"x",handles:["e","w"].map(ke),input:function(t,n){return t&&[[t[0],n[0][1]],[t[1],n[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},bd={name:"y",handles:["n","s"].map(ke),input:function(t,n){return t&&[[n[0][0],t[0]],[n[1][0],t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},wd={name:"xy",handles:["n","e","s","w","nw","ne","se","sw"].map(ke),input:function(t){return t},output:function(t){return t}},Md={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Td={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},kd={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},Nd={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},Sd={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1},Ed=function(){return Le(wd)},Ad=Math.cos,Cd=Math.sin,zd=Math.PI,Pd=zd/2,Ld=2*zd,Rd=Math.max,qd=function(){function t(t){var o,u,a,c,s,f,l=t.length,h=[],p=cf(l),d=[],v=[],_=v.groups=new Array(l),y=new Array(l*l);for(o=0,s=-1;++s<l;){for(u=0,f=-1;++f<l;)u+=t[s][f];h.push(u),d.push(cf(l)),o+=u}for(e&&p.sort(function(t,n){return e(h[t],h[n])}),r&&d.forEach(function(n,e){n.sort(function(n,i){return r(t[e][n],t[e][i])})}),o=Rd(0,Ld-n*l)/o,c=o?n:Ld/l,u=0,s=-1;++s<l;){for(a=u,f=-1;++f<l;){var g=p[s],m=d[g][f],x=t[g][m],b=u,w=u+=x*o;y[m*l+g]={index:g,subindex:m,startAngle:b,endAngle:w,value:x}}_[g]={index:g,startAngle:a,endAngle:u,value:h[g]},u+=c}for(s=-1;++s<l;)for(f=s-1;++f<l;){var M=y[f*l+s],T=y[s*l+f];(M.value||T.value)&&v.push(M.value<T.value?{source:T,target:M}:{source:M,target:T})}return i?v.sort(i):v}var n=0,e=null,r=null,i=null;return t.padAngle=function(e){return arguments.length?(n=Rd(0,e),t):n},t.sortGroups=function(n){return arguments.length?(e=n,t):e},t.sortSubgroups=function(n){return arguments.length?(r=n,t):r},t.sortChords=function(n){return arguments.length?(null==n?i=null:(i=Re(n))._=n,t):i&&i._},t},Ud=Array.prototype.slice,Dd=function(t){return function(){return t}},Od=Math.PI,Fd=2*Od,Id=Fd-1e-6;qe.prototype=Ue.prototype={constructor:qe,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,e,r){this._+="Q"+ +t+","+ +n+","+(this._x1=+e)+","+(this._y1=+r)},bezierCurveTo:function(t,n,e,r,i,o){this._+="C"+ +t+","+ +n+","+ +e+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,n,e,r,i){t=+t,n=+n,e=+e,r=+r,i=+i;var o=this._x1,u=this._y1,a=e-t,c=r-n,s=o-t,f=u-n,l=s*s+f*f;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(l>1e-6)if(Math.abs(f*a-c*s)>1e-6&&i){var h=e-o,p=r-u,d=a*a+c*c,v=h*h+p*p,_=Math.sqrt(d),y=Math.sqrt(l),g=i*Math.tan((Od-Math.acos((d+l-v)/(2*_*y)))/2),m=g/y,x=g/_;Math.abs(m-1)>1e-6&&(this._+="L"+(t+m*s)+","+(n+m*f)),this._+="A"+i+","+i+",0,0,"+ +(f*h>s*p)+","+(this._x1=t+x*a)+","+(this._y1=n+x*c)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,e,r,i,o){t=+t,n=+n,e=+e;var u=e*Math.cos(r),a=e*Math.sin(r),c=t+u,s=n+a,f=1^o,l=o?r-i:i-r;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+c+","+s:(Math.abs(this._x1-c)>1e-6||Math.abs(this._y1-s)>1e-6)&&(this._+="L"+c+","+s),e&&(l<0&&(l=l%Fd+Fd),l>Id?this._+="A"+e+","+e+",0,1,"+f+","+(t-u)+","+(n-a)+"A"+e+","+e+",0,1,"+f+","+(this._x1=c)+","+(this._y1=s):l>1e-6&&(this._+="A"+e+","+e+",0,"+ +(l>=Od)+","+f+","+(this._x1=t+e*Math.cos(i))+","+(this._y1=n+e*Math.sin(i))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}};var Yd=function(){function t(){var t,a=Ud.call(arguments),c=n.apply(this,a),s=e.apply(this,a),f=+r.apply(this,(a[0]=c,a)),l=i.apply(this,a)-Pd,h=o.apply(this,a)-Pd,p=f*Ad(l),d=f*Cd(l),v=+r.apply(this,(a[0]=s,a)),_=i.apply(this,a)-Pd,y=o.apply(this,a)-Pd;if(u||(u=t=Ue()),u.moveTo(p,d),u.arc(0,0,f,l,h),l===_&&h===y||(u.quadraticCurveTo(0,0,v*Ad(_),v*Cd(_)),u.arc(0,0,v,_,y)),u.quadraticCurveTo(0,0,p,d),u.closePath(),t)return u=null,t+""||null}var n=De,e=Oe,r=Fe,i=Ie,o=Ye,u=null;return t.radius=function(n){return arguments.length?(r="function"==typeof n?n:Dd(+n),t):r},t.startAngle=function(n){return arguments.length?(i="function"==typeof n?n:Dd(+n),t):i},t.endAngle=function(n){return arguments.length?(o="function"==typeof n?n:Dd(+n),t):o},t.source=function(e){return arguments.length?(n=e,t):n},t.target=function(n){return arguments.length?(e=n,t):e},t.context=function(n){return arguments.length?(u=null==n?null:n,t):u},t};Be.prototype=He.prototype={constructor:Be,has:function(t){return"$"+t in this},get:function(t){return this["$"+t]},set:function(t,n){return this["$"+t]=n,this},remove:function(t){var n="$"+t;return n in this&&delete this[n]},clear:function(){for(var t in this)"$"===t[0]&&delete this[t]},keys:function(){var t=[];for(var n in this)"$"===n[0]&&t.push(n.slice(1));return t},values:function(){var t=[];for(var n in this)"$"===n[0]&&t.push(this[n]);return t},entries:function(){var t=[];for(var n in this)"$"===n[0]&&t.push({key:n.slice(1),value:this[n]});return t},size:function(){var t=0;for(var n in this)"$"===n[0]&&++t;return t},empty:function(){for(var t in this)if("$"===t[0])return!1;return!0},each:function(t){for(var n in this)"$"===n[0]&&t(this[n],n.slice(1),this)}};var Bd=function(){function t(n,i,u,a){if(i>=o.length)return null!=r?r(n):null!=e?n.sort(e):n;for(var c,s,f,l=-1,h=n.length,p=o[i++],d=He(),v=u();++l<h;)(f=d.get(c=p(s=n[l])+""))?f.push(s):d.set(c,[s]);return d.each(function(n,e){a(v,e,t(n,i,u,a))}),v}function n(t,e){if(++e>o.length)return t;var i,a=u[e-1];return null!=r&&e>=o.length?i=t.entries():(i=[],t.each(function(t,r){i.push({key:r,values:n(t,e)})})),null!=a?i.sort(function(t,n){return a(t.key,n.key)}):i}var e,r,i,o=[],u=[];return i={object:function(n){return t(n,0,je,Xe)},map:function(n){return t(n,0,$e,Ve)},entries:function(e){return n(t(e,0,$e,Ve),0)},key:function(t){return o.push(t),i},sortKeys:function(t){return u[o.length-1]=t,i},sortValues:function(t){return e=t,i},rollup:function(t){return r=t,i}}},Hd=He.prototype;We.prototype=Ze.prototype={constructor:We,has:Hd.has,add:function(t){return t+="",this["$"+t]=t,this},remove:Hd.remove,clear:Hd.clear,values:Hd.keys,size:Hd.size,empty:Hd.empty,each:Hd.each};var jd=function(t){var n=[];for(var e in t)n.push(e);return n},Xd=function(t){var n=[];for(var e in t)n.push(t[e]);return n},$d=function(t){var n=[];for(var e in t)n.push({key:e,value:t[e]});return n},Vd=function(t){function n(t,n){var r,i,o=e(t,function(t,e){if(r)return r(t,e-1);i=t,r=n?Je(t,n):Ge(t)});return o.columns=i,o}function e(t,n){function e(){if(f>=s)return u;if(i)return i=!1,o;var n,e=f;if(34===t.charCodeAt(e)){for(var r=e;r++<s;)if(34===t.charCodeAt(r)){if(34!==t.charCodeAt(r+1))break;++r}return f=r+2,n=t.charCodeAt(r+1),13===n?(i=!0,10===t.charCodeAt(r+2)&&++f):10===n&&(i=!0),t.slice(e+1,r).replace(/""/g,'"')}for(;f<s;){var a=1;if(10===(n=t.charCodeAt(f++)))i=!0;else if(13===n)i=!0,10===t.charCodeAt(f)&&(++f,++a);else if(n!==c)continue;return t.slice(e,f-a)}return t.slice(e)}for(var r,i,o={},u={},a=[],s=t.length,f=0,l=0;(r=e())!==u;){for(var h=[];r!==o&&r!==u;)h.push(r),r=e();n&&null==(h=n(h,l++))||a.push(h)}return a}function r(n,e){return null==e&&(e=Qe(n)),[e.map(u).join(t)].concat(n.map(function(n){return e.map(function(t){return u(n[t])}).join(t)})).join("\n")}function i(t){return t.map(o).join("\n")}function o(n){return n.map(u).join(t)}function u(t){return null==t?"":a.test(t+="")?'"'+t.replace(/\"/g,'""')+'"':t}var a=new RegExp('["'+t+"\n\r]"),c=t.charCodeAt(0);return{parse:n,parseRows:e,format:r,formatRows:i}},Wd=Vd(","),Zd=Wd.parse,Gd=Wd.parseRows,Jd=Wd.format,Qd=Wd.formatRows,Kd=Vd("\t"),tv=Kd.parse,nv=Kd.parseRows,ev=Kd.format,rv=Kd.formatRows,iv=function(t,n){function e(){var e,i,o=r.length,u=0,a=0;for(e=0;e<o;++e)i=r[e],u+=i.x,a+=i.y;for(u=u/o-t,a=a/o-n,e=0;e<o;++e)i=r[e],i.x-=u,i.y-=a}var r;return null==t&&(t=0),null==n&&(n=0),e.initialize=function(t){r=t},e.x=function(n){return arguments.length?(t=+n,e):t},e.y=function(t){return arguments.length?(n=+t,e):n},e},ov=function(t){return function(){return t}},uv=function(){return 1e-6*(Math.random()-.5)},av=function(t){var n=+this._x.call(null,t),e=+this._y.call(null,t);return Ke(this.cover(n,e),n,e,t)},cv=function(t,n){if(isNaN(t=+t)||isNaN(n=+n))return this;var e=this._x0,r=this._y0,i=this._x1,o=this._y1;if(isNaN(e))i=(e=Math.floor(t))+1,o=(r=Math.floor(n))+1;else{if(!(e>t||t>i||r>n||n>o))return this;var u,a,c=i-e,s=this._root;switch(a=(n<(r+o)/2)<<1|t<(e+i)/2){case 0:do{u=new Array(4),u[a]=s,s=u}while(c*=2,i=e+c,o=r+c,t>i||n>o);break;case 1:do{u=new Array(4),u[a]=s,s=u}while(c*=2,e=i-c,o=r+c,e>t||n>o);break;case 2:do{u=new Array(4),u[a]=s,s=u}while(c*=2,i=e+c,r=o-c,t>i||r>n);break;case 3:do{u=new Array(4),u[a]=s,s=u}while(c*=2,e=i-c,r=o-c,e>t||r>n)}this._root&&this._root.length&&(this._root=s)}return this._x0=e,this._y0=r,this._x1=i,this._y1=o,this},sv=function(){var t=[];return this.visit(function(n){if(!n.length)do{t.push(n.data)}while(n=n.next)}),t},fv=function(t){return arguments.length?this.cover(+t[0][0],+t[0][1]).cover(+t[1][0],+t[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},lv=function(t,n,e,r,i){this.node=t,this.x0=n,this.y0=e,this.x1=r,this.y1=i},hv=function(t,n,e){var r,i,o,u,a,c,s,f=this._x0,l=this._y0,h=this._x1,p=this._y1,d=[],v=this._root;for(v&&d.push(new lv(v,f,l,h,p)),null==e?e=1/0:(f=t-e,l=n-e,h=t+e,p=n+e,e*=e);c=d.pop();)if(!(!(v=c.node)||(i=c.x0)>h||(o=c.y0)>p||(u=c.x1)<f||(a=c.y1)<l))if(v.length){var _=(i+u)/2,y=(o+a)/2;d.push(new lv(v[3],_,y,u,a),new lv(v[2],i,y,_,a),new lv(v[1],_,o,u,y),new lv(v[0],i,o,_,y)),(s=(n>=y)<<1|t>=_)&&(c=d[d.length-1],d[d.length-1]=d[d.length-1-s],d[d.length-1-s]=c)}else{var g=t-+this._x.call(null,v.data),m=n-+this._y.call(null,v.data),x=g*g+m*m;if(x<e){var b=Math.sqrt(e=x);f=t-b,l=n-b,h=t+b,p=n+b,r=v.data}}return r},pv=function(t){if(isNaN(o=+this._x.call(null,t))||isNaN(u=+this._y.call(null,t)))return this;var n,e,r,i,o,u,a,c,s,f,l,h,p=this._root,d=this._x0,v=this._y0,_=this._x1,y=this._y1;if(!p)return this;if(p.length)for(;;){if((s=o>=(a=(d+_)/2))?d=a:_=a,(f=u>=(c=(v+y)/2))?v=c:y=c,n=p,!(p=p[l=f<<1|s]))return this;if(!p.length)break;(n[l+1&3]||n[l+2&3]||n[l+3&3])&&(e=n,h=l)}for(;p.data!==t;)if(r=p,!(p=p.next))return this;return(i=p.next)&&delete p.next,r?(i?r.next=i:delete r.next,this):n?(i?n[l]=i:delete n[l],(p=n[0]||n[1]||n[2]||n[3])&&p===(n[3]||n[2]||n[1]||n[0])&&!p.length&&(e?e[h]=p:this._root=p),this):(this._root=i,this)},dv=function(){return this._root},vv=function(){var t=0;return this.visit(function(n){if(!n.length)do{++t}while(n=n.next)}),t},_v=function(t){var n,e,r,i,o,u,a=[],c=this._root;for(c&&a.push(new lv(c,this._x0,this._y0,this._x1,this._y1));n=a.pop();)if(!t(c=n.node,r=n.x0,i=n.y0,o=n.x1,u=n.y1)&&c.length){var s=(r+o)/2,f=(i+u)/2;(e=c[3])&&a.push(new lv(e,s,f,o,u)),(e=c[2])&&a.push(new lv(e,r,f,s,u)),(e=c[1])&&a.push(new lv(e,s,i,o,f)),(e=c[0])&&a.push(new lv(e,r,i,s,f))}return this},yv=function(t){var n,e=[],r=[];for(this._root&&e.push(new lv(this._root,this._x0,this._y0,this._x1,this._y1));n=e.pop();){var i=n.node;if(i.length){var o,u=n.x0,a=n.y0,c=n.x1,s=n.y1,f=(u+c)/2,l=(a+s)/2;(o=i[0])&&e.push(new lv(o,u,a,f,l)),(o=i[1])&&e.push(new lv(o,f,a,c,l)),(o=i[2])&&e.push(new lv(o,u,l,f,s)),(o=i[3])&&e.push(new lv(o,f,l,c,s))}r.push(n)}for(;n=r.pop();)t(n.node,n.x0,n.y0,n.x1,n.y1);return this},gv=function(t){return arguments.length?(this._x=t,this):this._x},mv=function(t){return arguments.length?(this._y=t,this):this._y},xv=ir.prototype=or.prototype;xv.copy=function(){var t,n,e=new or(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return e;if(!r.length)return e._root=ur(r),e;for(t=[{source:r,target:e._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(n=r.source[i])&&(n.length?t.push({source:n,target:r.target[i]=new Array(4)}):r.target[i]=ur(n));return e},xv.add=av,xv.addAll=tr,xv.cover=cv,xv.data=sv,xv.extent=fv,xv.find=hv,xv.remove=pv,xv.removeAll=nr,xv.root=dv,xv.size=vv,xv.visit=_v,xv.visitAfter=yv,xv.x=gv,xv.y=mv;var bv,wv=function(t){function n(){function t(t,n,e,r,i){var o=t.data,a=t.r,p=l+a;{if(!o)return n>s+p||r<s-p||e>f+p||i<f-p;if(o.index>c.index){var d=s-o.x-o.vx,v=f-o.y-o.vy,_=d*d+v*v;_<p*p&&(0===d&&(d=uv(),_+=d*d),0===v&&(v=uv(),_+=v*v),_=(p-(_=Math.sqrt(_)))/_*u,c.vx+=(d*=_)*(p=(a*=a)/(h+a)),c.vy+=(v*=_)*p,o.vx-=d*(p=1-p),o.vy-=v*p)}}}for(var n,r,c,s,f,l,h,p=i.length,d=0;d<a;++d)for(r=ir(i,ar,cr).visitAfter(e),n=0;n<p;++n)c=i[n],l=o[c.index],h=l*l,s=c.x+c.vx,f=c.y+c.vy,r.visit(t)}function e(t){if(t.data)return t.r=o[t.data.index];for(var n=t.r=0;n<4;++n)t[n]&&t[n].r>t.r&&(t.r=t[n].r)}function r(){if(i){var n,e,r=i.length;for(o=new Array(r),n=0;n<r;++n)e=i[n],o[e.index]=+t(e,n,i)}}var i,o,u=1,a=1 | |
| 6 | +;return"function"!=typeof t&&(t=ov(null==t?1:+t)),n.initialize=function(t){i=t,r()},n.iterations=function(t){return arguments.length?(a=+t,n):a},n.strength=function(t){return arguments.length?(u=+t,n):u},n.radius=function(e){return arguments.length?(t="function"==typeof e?e:ov(+e),r(),n):t},n},Mv=function(t){function n(t){return 1/Math.min(s[t.source.index],s[t.target.index])}function e(n){for(var e=0,r=t.length;e<d;++e)for(var i,o,c,s,l,h,p,v=0;v<r;++v)i=t[v],o=i.source,c=i.target,s=c.x+c.vx-o.x-o.vx||uv(),l=c.y+c.vy-o.y-o.vy||uv(),h=Math.sqrt(s*s+l*l),h=(h-a[v])/h*n*u[v],s*=h,l*=h,c.vx-=s*(p=f[v]),c.vy-=l*p,o.vx+=s*(p=1-p),o.vy+=l*p}function r(){if(c){var n,e,r=c.length,h=t.length,p=He(c,l);for(n=0,s=new Array(r);n<h;++n)e=t[n],e.index=n,"object"!=typeof e.source&&(e.source=fr(p,e.source)),"object"!=typeof e.target&&(e.target=fr(p,e.target)),s[e.source.index]=(s[e.source.index]||0)+1,s[e.target.index]=(s[e.target.index]||0)+1;for(n=0,f=new Array(h);n<h;++n)e=t[n],f[n]=s[e.source.index]/(s[e.source.index]+s[e.target.index]);u=new Array(h),i(),a=new Array(h),o()}}function i(){if(c)for(var n=0,e=t.length;n<e;++n)u[n]=+h(t[n],n,t)}function o(){if(c)for(var n=0,e=t.length;n<e;++n)a[n]=+p(t[n],n,t)}var u,a,c,s,f,l=sr,h=n,p=ov(30),d=1;return null==t&&(t=[]),e.initialize=function(t){c=t,r()},e.links=function(n){return arguments.length?(t=n,r(),e):t},e.id=function(t){return arguments.length?(l=t,e):l},e.iterations=function(t){return arguments.length?(d=+t,e):d},e.strength=function(t){return arguments.length?(h="function"==typeof t?t:ov(+t),i(),e):h},e.distance=function(t){return arguments.length?(p="function"==typeof t?t:ov(+t),o(),e):p},e},Tv=10,kv=Math.PI*(3-Math.sqrt(5)),Nv=function(t){function n(){e(),p.call("tick",o),u<a&&(h.stop(),p.call("end",o))}function e(){var n,e,r=t.length;for(u+=(s-u)*c,l.each(function(t){t(u)}),n=0;n<r;++n)e=t[n],null==e.fx?e.x+=e.vx*=f:(e.x=e.fx,e.vx=0),null==e.fy?e.y+=e.vy*=f:(e.y=e.fy,e.vy=0)}function r(){for(var n,e=0,r=t.length;e<r;++e){if(n=t[e],n.index=e,isNaN(n.x)||isNaN(n.y)){var i=Tv*Math.sqrt(e),o=e*kv;n.x=i*Math.cos(o),n.y=i*Math.sin(o)}(isNaN(n.vx)||isNaN(n.vy))&&(n.vx=n.vy=0)}}function i(n){return n.initialize&&n.initialize(t),n}var o,u=1,a=.001,c=1-Math.pow(a,1/300),s=0,f=.6,l=He(),h=mn(n),p=v("tick","end");return null==t&&(t=[]),r(),o={tick:e,restart:function(){return h.restart(n),o},stop:function(){return h.stop(),o},nodes:function(n){return arguments.length?(t=n,r(),l.each(i),o):t},alpha:function(t){return arguments.length?(u=+t,o):u},alphaMin:function(t){return arguments.length?(a=+t,o):a},alphaDecay:function(t){return arguments.length?(c=+t,o):+c},alphaTarget:function(t){return arguments.length?(s=+t,o):s},velocityDecay:function(t){return arguments.length?(f=1-t,o):1-f},force:function(t,n){return arguments.length>1?(null==n?l.remove(t):l.set(t,i(n)),o):l.get(t)},find:function(n,e,r){var i,o,u,a,c,s=0,f=t.length;for(null==r?r=1/0:r*=r,s=0;s<f;++s)a=t[s],i=n-a.x,o=e-a.y,(u=i*i+o*o)<r&&(c=a,r=u);return c},on:function(t,n){return arguments.length>1?(p.on(t,n),o):p.on(t)}}},Sv=function(){function t(t){var n,a=i.length,c=ir(i,lr,hr).visitAfter(e);for(u=t,n=0;n<a;++n)o=i[n],c.visit(r)}function n(){if(i){var t,n,e=i.length;for(a=new Array(e),t=0;t<e;++t)n=i[t],a[n.index]=+c(n,t,i)}}function e(t){var n,e,r,i,o,u=0;if(t.length){for(r=i=o=0;o<4;++o)(n=t[o])&&(e=n.value)&&(u+=e,r+=e*n.x,i+=e*n.y);t.x=r/u,t.y=i/u}else{n=t,n.x=n.data.x,n.y=n.data.y;do{u+=a[n.data.index]}while(n=n.next)}t.value=u}function r(t,n,e,r){if(!t.value)return!0;var i=t.x-o.x,c=t.y-o.y,h=r-n,p=i*i+c*c;if(h*h/l<p)return p<f&&(0===i&&(i=uv(),p+=i*i),0===c&&(c=uv(),p+=c*c),p<s&&(p=Math.sqrt(s*p)),o.vx+=i*t.value*u/p,o.vy+=c*t.value*u/p),!0;if(!(t.length||p>=f)){(t.data!==o||t.next)&&(0===i&&(i=uv(),p+=i*i),0===c&&(c=uv(),p+=c*c),p<s&&(p=Math.sqrt(s*p)));do{t.data!==o&&(h=a[t.data.index]*u/p,o.vx+=i*h,o.vy+=c*h)}while(t=t.next)}}var i,o,u,a,c=ov(-30),s=1,f=1/0,l=.81;return t.initialize=function(t){i=t,n()},t.strength=function(e){return arguments.length?(c="function"==typeof e?e:ov(+e),n(),t):c},t.distanceMin=function(n){return arguments.length?(s=n*n,t):Math.sqrt(s)},t.distanceMax=function(n){return arguments.length?(f=n*n,t):Math.sqrt(f)},t.theta=function(n){return arguments.length?(l=n*n,t):Math.sqrt(l)},t},Ev=function(t){function n(t){for(var n,e=0,u=r.length;e<u;++e)n=r[e],n.vx+=(o[e]-n.x)*i[e]*t}function e(){if(r){var n,e=r.length;for(i=new Array(e),o=new Array(e),n=0;n<e;++n)i[n]=isNaN(o[n]=+t(r[n],n,r))?0:+u(r[n],n,r)}}var r,i,o,u=ov(.1);return"function"!=typeof t&&(t=ov(null==t?0:+t)),n.initialize=function(t){r=t,e()},n.strength=function(t){return arguments.length?(u="function"==typeof t?t:ov(+t),e(),n):u},n.x=function(r){return arguments.length?(t="function"==typeof r?r:ov(+r),e(),n):t},n},Av=function(t){function n(t){for(var n,e=0,u=r.length;e<u;++e)n=r[e],n.vy+=(o[e]-n.y)*i[e]*t}function e(){if(r){var n,e=r.length;for(i=new Array(e),o=new Array(e),n=0;n<e;++n)i[n]=isNaN(o[n]=+t(r[n],n,r))?0:+u(r[n],n,r)}}var r,i,o,u=ov(.1);return"function"!=typeof t&&(t=ov(null==t?0:+t)),n.initialize=function(t){r=t,e()},n.strength=function(t){return arguments.length?(u="function"==typeof t?t:ov(+t),e(),n):u},n.y=function(r){return arguments.length?(t="function"==typeof r?r:ov(+r),e(),n):t},n},Cv=function(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,r=t.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+t.slice(e+1)]},zv=function(t){return t=Cv(Math.abs(t)),t?t[1]:NaN},Pv=function(t,n){return function(e,r){for(var i=e.length,o=[],u=0,a=t[0],c=0;i>0&&a>0&&(c+a+1>r&&(a=Math.max(1,r-c)),o.push(e.substring(i-=a,i+a)),!((c+=a+1)>r));)a=t[u=(u+1)%t.length];return o.reverse().join(n)}},Lv=function(t){return function(n){return n.replace(/[0-9]/g,function(n){return t[+n]})}},Rv=function(t,n){t=t.toPrecision(n);t:for(var e,r=t.length,i=1,o=-1;i<r;++i)switch(t[i]){case".":o=e=i;break;case"0":0===o&&(o=i),e=i;break;case"e":break t;default:o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(e+1):t},qv=function(t,n){var e=Cv(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(bv=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,u=r.length;return o===u?r:o>u?r+new Array(o-u+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Cv(t,Math.max(0,n+o-1))[0]},Uv=function(t,n){var e=Cv(t,n);if(!e)return t+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")},Dv={"":Rv,"%":function(t,n){return(100*t).toFixed(n)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,n){return t.toExponential(n)},f:function(t,n){return t.toFixed(n)},g:function(t,n){return t.toPrecision(n)},o:function(t){return Math.round(t).toString(8)},p:function(t,n){return Uv(100*t,n)},r:Uv,s:qv,X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},Ov=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;pr.prototype=dr.prototype,dr.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type};var Fv,Iv=function(t){return t},Yv=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],Bv=function(t){function n(t){function n(t){var n,i,a,f=_,x=y;if("c"===v)x=g(t)+x,t="";else{t=+t;var b=t<0;if(t=g(Math.abs(t),d),b&&0==+t&&(b=!1),f=(b?"("===s?s:"-":"-"===s||"("===s?"":s)+f,x=x+("s"===v?Yv[8+bv/3]:"")+(b&&"("===s?")":""),m)for(n=-1,i=t.length;++n<i;)if(48>(a=t.charCodeAt(n))||a>57){x=(46===a?o+t.slice(n+1):t.slice(n))+x,t=t.slice(0,n);break}}p&&!l&&(t=r(t,1/0));var w=f.length+t.length+x.length,M=w<h?new Array(h-w+1).join(e):"";switch(p&&l&&(t=r(M+t,M.length?h-x.length:1/0),M=""),c){case"<":t=f+t+x+M;break;case"=":t=f+M+t+x;break;case"^":t=M.slice(0,w=M.length>>1)+f+t+x+M.slice(w);break;default:t=M+f+t+x}return u(t)}t=pr(t);var e=t.fill,c=t.align,s=t.sign,f=t.symbol,l=t.zero,h=t.width,p=t.comma,d=t.precision,v=t.type,_="$"===f?i[0]:"#"===f&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",y="$"===f?i[1]:/[%p]/.test(v)?a:"",g=Dv[v],m=!v||/[defgprs%]/.test(v);return d=null==d?v?6:12:/[gprs]/.test(v)?Math.max(1,Math.min(21,d)):Math.max(0,Math.min(20,d)),n.toString=function(){return t+""},n}function e(t,e){var r=n((t=pr(t),t.type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(zv(e)/3))),o=Math.pow(10,-i),u=Yv[8+i/3];return function(t){return r(o*t)+u}}var r=t.grouping&&t.thousands?Pv(t.grouping,t.thousands):Iv,i=t.currency,o=t.decimal,u=t.numerals?Lv(t.numerals):Iv,a=t.percent||"%";return{format:n,formatPrefix:e}};vr({decimal:".",thousands:",",grouping:[3],currency:["$",""]});var Hv=function(t){return Math.max(0,-zv(Math.abs(t)))},jv=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(zv(n)/3)))-zv(Math.abs(t)))},Xv=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,zv(n)-zv(t))+1},$v=function(){return new _r};_r.prototype={constructor:_r,reset:function(){this.s=this.t=0},add:function(t){yr(T_,t,this.t),yr(this,T_.s,this.s),this.s?this.t+=T_.t:this.s=T_.t},valueOf:function(){return this.s}};var Vv,Wv,Zv,Gv,Jv,Qv,Kv,t_,n_,e_,r_,i_,o_,u_,a_,c_,s_,f_,l_,h_,p_,d_,v_,__,y_,g_,m_,x_,b_,w_,M_,T_=new _r,k_=1e-6,N_=Math.PI,S_=N_/2,E_=N_/4,A_=2*N_,C_=180/N_,z_=N_/180,P_=Math.abs,L_=Math.atan,R_=Math.atan2,q_=Math.cos,U_=Math.ceil,D_=Math.exp,O_=Math.log,F_=Math.pow,I_=Math.sin,Y_=Math.sign||function(t){return t>0?1:t<0?-1:0},B_=Math.sqrt,H_=Math.tan,j_={Feature:function(t,n){wr(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r<i;)wr(e[r].geometry,n)}},X_={Sphere:function(t,n){n.sphere()},Point:function(t,n){t=t.coordinates,n.point(t[0],t[1],t[2])},MultiPoint:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)t=e[r],n.point(t[0],t[1],t[2])},LineString:function(t,n){Mr(t.coordinates,n,0)},MultiLineString:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)Mr(e[r],n,0)},Polygon:function(t,n){Tr(t.coordinates,n)},MultiPolygon:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)Tr(e[r],n)},GeometryCollection:function(t,n){for(var e=t.geometries,r=-1,i=e.length;++r<i;)wr(e[r],n)}},$_=function(t,n){t&&j_.hasOwnProperty(t.type)?j_[t.type](t,n):wr(t,n)},V_=$v(),W_=$v(),Z_={point:br,lineStart:br,lineEnd:br,polygonStart:function(){V_.reset(),Z_.lineStart=kr,Z_.lineEnd=Nr},polygonEnd:function(){var t=+V_;W_.add(t<0?A_+t:t),this.lineStart=this.lineEnd=this.point=br},sphere:function(){W_.add(A_)}},G_=function(t){return W_.reset(),$_(t,Z_),2*W_},J_=$v(),Q_={point:Ur,lineStart:Or,lineEnd:Fr,polygonStart:function(){Q_.point=Ir,Q_.lineStart=Yr,Q_.lineEnd=Br,J_.reset(),Z_.polygonStart()},polygonEnd:function(){Z_.polygonEnd(),Q_.point=Ur,Q_.lineStart=Or,Q_.lineEnd=Fr,V_<0?(Qv=-(t_=180),Kv=-(n_=90)):J_>k_?n_=90:J_<-k_&&(Kv=-90),a_[0]=Qv,a_[1]=t_}},K_=function(t){var n,e,r,i,o,u,a;if(n_=t_=-(Qv=Kv=1/0),u_=[],$_(t,Q_),e=u_.length){for(u_.sort(jr),n=1,r=u_[0],o=[r];n<e;++n)i=u_[n],Xr(r,i[0])||Xr(r,i[1])?(Hr(r[0],i[1])>Hr(r[0],r[1])&&(r[1]=i[1]),Hr(i[0],r[1])>Hr(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(u=-1/0,e=o.length-1,n=0,r=o[e];n<=e;r=i,++n)i=o[n],(a=Hr(r[1],i[0]))>u&&(u=a,Qv=i[0],t_=r[1])}return u_=a_=null,Qv===1/0||Kv===1/0?[[NaN,NaN],[NaN,NaN]]:[[Qv,Kv],[t_,n_]]},ty={sphere:br,point:$r,lineStart:Wr,lineEnd:Jr,polygonStart:function(){ty.lineStart=Qr,ty.lineEnd=Kr},polygonEnd:function(){ty.lineStart=Wr,ty.lineEnd=Jr}},ny=function(t){c_=s_=f_=l_=h_=p_=d_=v_=__=y_=g_=0,$_(t,ty);var n=__,e=y_,r=g_,i=n*n+e*e+r*r;return i<1e-12&&(n=p_,e=d_,r=v_,s_<k_&&(n=f_,e=l_,r=h_),(i=n*n+e*e+r*r)<1e-12)?[NaN,NaN]:[R_(e,n)*C_,mr(r/B_(i))*C_]},ey=function(t){return function(){return t}},ry=function(t,n){function e(e,r){return e=t(e,r),n(e[0],e[1])}return t.invert&&n.invert&&(e.invert=function(e,r){return(e=n.invert(e,r))&&t.invert(e[0],e[1])}),e};ei.invert=ei;var iy,oy,uy,ay,cy,sy,fy,ly,hy,py,dy,vy=function(t){function n(n){return n=t(n[0]*z_,n[1]*z_),n[0]*=C_,n[1]*=C_,n}return t=ri(t[0]*z_,t[1]*z_,t.length>2?t[2]*z_:0),n.invert=function(n){return n=t.invert(n[0]*z_,n[1]*z_),n[0]*=C_,n[1]*=C_,n},n},_y=function(){function t(t,n){e.push(t=r(t,n)),t[0]*=C_,t[1]*=C_}function n(){var t=i.apply(this,arguments),n=o.apply(this,arguments)*z_,c=u.apply(this,arguments)*z_;return e=[],r=ri(-t[0]*z_,-t[1]*z_,0).invert,ai(a,n,c,1),t={type:"Polygon",coordinates:[e]},e=r=null,t}var e,r,i=ey([0,0]),o=ey(90),u=ey(6),a={point:t};return n.center=function(t){return arguments.length?(i="function"==typeof t?t:ey([+t[0],+t[1]]),n):i},n.radius=function(t){return arguments.length?(o="function"==typeof t?t:ey(+t),n):o},n.precision=function(t){return arguments.length?(u="function"==typeof t?t:ey(+t),n):u},n},yy=function(){var t,n=[];return{point:function(n,e){t.push([n,e])},lineStart:function(){n.push(t=[])},lineEnd:br,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}},gy=function(t,n,e,r,i,o){var u,a=t[0],c=t[1],s=n[0],f=n[1],l=0,h=1,p=s-a,d=f-c;if(u=e-a,p||!(u>0)){if(u/=p,p<0){if(u<l)return;u<h&&(h=u)}else if(p>0){if(u>h)return;u>l&&(l=u)}if(u=i-a,p||!(u<0)){if(u/=p,p<0){if(u>h)return;u>l&&(l=u)}else if(p>0){if(u<l)return;u<h&&(h=u)}if(u=r-c,d||!(u>0)){if(u/=d,d<0){if(u<l)return;u<h&&(h=u)}else if(d>0){if(u>h)return;u>l&&(l=u)}if(u=o-c,d||!(u<0)){if(u/=d,d<0){if(u>h)return;u>l&&(l=u)}else if(d>0){if(u<l)return;u<h&&(h=u)}return l>0&&(t[0]=a+l*p,t[1]=c+l*d),h<1&&(n[0]=a+h*p,n[1]=c+h*d),!0}}}}},my=function(t,n){return P_(t[0]-n[0])<k_&&P_(t[1]-n[1])<k_},xy=function(t,n,e,r,i){var o,u,a=[],c=[];if(t.forEach(function(t){if(!((n=t.length-1)<=0)){var n,e,r=t[0],u=t[n];if(my(r,u)){for(i.lineStart(),o=0;o<n;++o)i.point((r=t[o])[0],r[1]);return void i.lineEnd()}a.push(e=new si(r,t,null,!0)),c.push(e.o=new si(r,null,e,!1)),a.push(e=new si(u,t,null,!1)),c.push(e.o=new si(u,null,e,!0))}}),a.length){for(c.sort(n),fi(a),fi(c),o=0,u=c.length;o<u;++o)c[o].e=e=!e;for(var s,f,l=a[0];;){for(var h=l,p=!0;h.v;)if((h=h.n)===l)return;s=h.z,i.lineStart();do{if(h.v=h.o.v=!0,h.e){if(p)for(o=0,u=s.length;o<u;++o)i.point((f=s[o])[0],f[1]);else r(h.x,h.n.x,1,i);h=h.n}else{if(p)for(s=h.p.z,o=s.length-1;o>=0;--o)i.point((f=s[o])[0],f[1]);else r(h.x,h.p.x,-1,i);h=h.p}h=h.o,s=h.z,p=!p}while(!h.v);i.lineEnd()}}},by=1e9,wy=-by,My=function(){var t,n,e,r=0,i=0,o=960,u=500;return e={stream:function(e){return t&&n===e?t:t=li(r,i,o,u)(n=e)},extent:function(a){return arguments.length?(r=+a[0][0],i=+a[0][1],o=+a[1][0],u=+a[1][1],t=n=null,e):[[r,i],[o,u]]}}},Ty=$v(),ky=function(t,n){var e=n[0],r=n[1],i=[I_(e),-q_(e),0],o=0,u=0;Ty.reset();for(var a=0,c=t.length;a<c;++a)if(f=(s=t[a]).length)for(var s,f,l=s[f-1],h=l[0],p=l[1]/2+E_,d=I_(p),v=q_(p),_=0;_<f;++_,h=g,d=x,v=b,l=y){var y=s[_],g=y[0],m=y[1]/2+E_,x=I_(m),b=q_(m),w=g-h,M=w>=0?1:-1,T=M*w,k=T>N_,N=d*x;if(Ty.add(R_(N*M*I_(T),v*b+N*q_(T))),o+=k?w+M*A_:w,k^h>=e^g>=e){var S=Pr(Cr(l),Cr(y));qr(S);var E=Pr(i,S);qr(E);var A=(k^w>=0?-1:1)*mr(E[2]);(r>A||r===A&&(S[0]||S[1]))&&(u+=k^w>=0?1:-1)}}return(o<-k_||o<k_&&Ty<-k_)^1&u},Ny=$v(),Sy={sphere:br,point:br,lineStart:hi,lineEnd:br,polygonStart:br,polygonEnd:br},Ey=function(t){return Ny.reset(),$_(t,Sy),+Ny},Ay=[null,null],Cy={type:"LineString",coordinates:Ay},zy=function(t,n){return Ay[0]=t,Ay[1]=n,Ey(Cy)},Py={Feature:function(t,n){return _i(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r<i;)if(_i(e[r].geometry,n))return!0;return!1}},Ly={Sphere:function(){return!0},Point:function(t,n){return yi(t.coordinates,n)},MultiPoint:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(yi(e[r],n))return!0;return!1},LineString:function(t,n){return gi(t.coordinates,n)},MultiLineString:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(gi(e[r],n))return!0;return!1},Polygon:function(t,n){return mi(t.coordinates,n)},MultiPolygon:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)if(mi(e[r],n))return!0;return!1},GeometryCollection:function(t,n){for(var e=t.geometries,r=-1,i=e.length;++r<i;)if(_i(e[r],n))return!0;return!1}},Ry=function(t,n){return(t&&Py.hasOwnProperty(t.type)?Py[t.type]:_i)(t,n)},qy=function(t,n){var e=t[0]*z_,r=t[1]*z_,i=n[0]*z_,o=n[1]*z_,u=q_(r),a=I_(r),c=q_(o),s=I_(o),f=u*q_(e),l=u*I_(e),h=c*q_(i),p=c*I_(i),d=2*mr(B_(xr(o-r)+u*c*xr(i-e))),v=I_(d),_=d?function(t){var n=I_(t*=d)/v,e=I_(d-t)/v,r=e*f+n*h,i=e*l+n*p,o=e*a+n*s;return[R_(i,r)*C_,R_(o,B_(r*r+i*i))*C_]}:function(){return[e*C_,r*C_]};return _.distance=d,_},Uy=function(t){return t},Dy=$v(),Oy=$v(),Fy={point:br,lineStart:br,lineEnd:br,polygonStart:function(){Fy.lineStart=Ni,Fy.lineEnd=Ai},polygonEnd:function(){Fy.lineStart=Fy.lineEnd=Fy.point=br,Dy.add(P_(Oy)),Oy.reset()},result:function(){var t=Dy/2;return Dy.reset(),t}},Iy=1/0,Yy=Iy,By=-Iy,Hy=By,jy={point:Ci,lineStart:br,lineEnd:br,polygonStart:br,polygonEnd:br,result:function(){var t=[[Iy,Yy],[By,Hy]];return By=Hy=-(Yy=Iy=1/0),t}},Xy=0,$y=0,Vy=0,Wy=0,Zy=0,Gy=0,Jy=0,Qy=0,Ky=0,tg={point:zi,lineStart:Pi,lineEnd:qi,polygonStart:function(){tg.lineStart=Ui,tg.lineEnd=Di},polygonEnd:function(){tg.point=zi,tg.lineStart=Pi,tg.lineEnd=qi},result:function(){var t=Ky?[Jy/Ky,Qy/Ky]:Gy?[Wy/Gy,Zy/Gy]:Vy?[Xy/Vy,$y/Vy]:[NaN,NaN];return Xy=$y=Vy=Wy=Zy=Gy=Jy=Qy=Ky=0,t}};Ii.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._context.moveTo(t,n),this._point=1;break;case 1:this._context.lineTo(t,n);break;default:this._context.moveTo(t+this._radius,n),this._context.arc(t,n,this._radius,0,A_)}},result:br};var ng,eg,rg,ig,og,ug=$v(),ag={point:br,lineStart:function(){ag.point=Yi},lineEnd:function(){ng&&Bi(eg,rg),ag.point=br},polygonStart:function(){ng=!0},polygonEnd:function(){ng=null},result:function(){var t=+ug;return ug.reset(),t}};Hi.prototype={_radius:4.5,_circle:ji(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._string.push("M",t,",",n),this._point=1;break;case 1:this._string.push("L",t,",",n);break;default:null==this._circle&&(this._circle=ji(this._radius)),this._string.push("M",t,",",n,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}};var cg=function(t,n){function e(t){return t&&("function"==typeof o&&i.pointRadius(+o.apply(this,arguments)),$_(t,r(i))),i.result()}var r,i,o=4.5;return e.area=function(t){return $_(t,r(Fy)),Fy.result()},e.measure=function(t){return $_(t,r(ag)),ag.result()},e.bounds=function(t){return $_(t,r(jy)),jy.result()},e.centroid=function(t){return $_(t,r(tg)),tg.result()},e.projection=function(n){return arguments.length?(r=null==n?(t=null,Uy):(t=n).stream,e):t},e.context=function(t){return arguments.length?(i=null==t?(n=null,new Hi):new Ii(n=t),"function"!=typeof o&&i.pointRadius(o),e):n},e.pointRadius=function(t){return arguments.length?(o="function"==typeof t?t:(i.pointRadius(+t),+t),e):o},e.projection(t).context(n)},sg=function(t,n,e,r){return function(i,o){function u(n,e){var r=i(n,e);t(n=r[0],e=r[1])&&o.point(n,e)}function a(t,n){var e=i(t,n);_.point(e[0],e[1])}function c(){b.point=a,_.lineStart()}function s(){b.point=u,_.lineEnd()}function f(t,n){v.push([t,n]);var e=i(t,n);m.point(e[0],e[1])}function l(){m.lineStart(),v=[]}function h(){f(v[0][0],v[0][1]),m.lineEnd();var t,n,e,r,i=m.clean(),u=g.result(),a=u.length;if(v.pop(),p.push(v),v=null,a)if(1&i){if(e=u[0],(n=e.length-1)>0){for(x||(o.polygonStart(),x=!0),o.lineStart(),t=0;t<n;++t)o.point((r=e[t])[0],r[1]);o.lineEnd()}}else a>1&&2&i&&u.push(u.pop().concat(u.shift())),d.push(u.filter(Xi))}var p,d,v,_=n(o),y=i.invert(r[0],r[1]),g=yy(),m=n(g),x=!1,b={point:u,lineStart:c,lineEnd:s,polygonStart:function(){b.point=f,b.lineStart=l,b.lineEnd=h,d=[],p=[]},polygonEnd:function(){b.point=u,b.lineStart=c,b.lineEnd=s,d=bf(d);var t=ky(p,y);d.length?(x||(o.polygonStart(),x=!0),xy(d,$i,t,e,o)):t&&(x||(o.polygonStart(),x=!0),o.lineStart(),e(null,null,1,o),o.lineEnd()),x&&(o.polygonEnd(),x=!1),d=p=null},sphere:function(){o.polygonStart(),o.lineStart(),e(null,null,1,o),o.lineEnd(),o.polygonEnd()}};return b}},fg=sg(function(){return!0},Vi,Zi,[-N_,-S_]),lg=function(t,n){function e(e,r,i,o){ai(o,t,n,i,e,r)}function r(t,n){return q_(t)*q_(n)>a}function i(t){var n,e,i,a,f;return{lineStart:function(){a=i=!1,f=1},point:function(l,h){var p,d=[l,h],v=r(l,h),_=c?v?0:u(l,h):v?u(l+(l<0?N_:-N_),h):0;if(!n&&(a=i=v)&&t.lineStart(),v!==i&&(!(p=o(n,d))||my(n,p)||my(d,p))&&(d[0]+=k_,d[1]+=k_,v=r(d[0],d[1])),v!==i)f=0,v?(t.lineStart(),p=o(d,n),t.point(p[0],p[1])):(p=o(n,d),t.point(p[0],p[1]),t.lineEnd()),n=p;else if(s&&n&&c^v){var y;_&e||!(y=o(d,n,!0))||(f=0,c?(t.lineStart(),t.point(y[0][0],y[0][1]),t.point(y[1][0],y[1][1]),t.lineEnd()):(t.point(y[1][0],y[1][1]),t.lineEnd(),t.lineStart(),t.point(y[0][0],y[0][1])))}!v||n&&my(n,d)||t.point(d[0],d[1]),n=d,i=v,e=_},lineEnd:function(){i&&t.lineEnd(),n=null},clean:function(){return f|(a&&i)<<1}}}function o(t,n,e){var r=Cr(t),i=Cr(n),o=[1,0,0],u=Pr(r,i),c=zr(u,u),s=u[0],f=c-s*s;if(!f)return!e&&t;var l=a*c/f,h=-a*s/f,p=Pr(o,u),d=Rr(o,l);Lr(d,Rr(u,h));var v=p,_=zr(d,v),y=zr(v,v),g=_*_-y*(zr(d,d)-1);if(!(g<0)){var m=B_(g),x=Rr(v,(-_-m)/y);if(Lr(x,d),x=Ar(x),!e)return x;var b,w=t[0],M=n[0],T=t[1],k=n[1];M<w&&(b=w,w=M,M=b);var N=M-w,S=P_(N-N_)<k_,E=S||N<k_;if(!S&&k<T&&(b=T,T=k,k=b),E?S?T+k>0^x[1]<(P_(x[0]-w)<k_?T:k):T<=x[1]&&x[1]<=k:N>N_^(w<=x[0]&&x[0]<=M)){var A=Rr(v,(-_+m)/y);return Lr(A,d),[x,Ar(A)]}}}function u(n,e){var r=c?t:N_-t,i=0;return n<-r?i|=1:n>r&&(i|=2),e<-r?i|=4:e>r&&(i|=8),i}var a=q_(t),c=a>0,s=P_(a)>k_;return sg(r,i,e,c?[0,-t]:[-N_,t-N_])},hg=function(t){return{stream:Gi(t)}};Ji.prototype={constructor:Ji,point:function(t,n){this.stream.point(t,n)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var pg=16,dg=q_(30*z_),vg=function(t,n){return+n?no(t,n):to(t)},_g=Gi({point:function(t,n){this.stream.point(t*z_,n*z_)}}),yg=function(){return io(uo).scale(155.424).center([0,33.6442])},gg=function(){return yg().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])},mg=function(){function t(t){var n=t[0],e=t[1];return a=null,i.point(n,e),a||(o.point(n,e),a)||(u.point(n,e),a)}function n(){return e=r=null,t}var e,r,i,o,u,a,c=gg(),s=yg().rotate([154,0]).center([-2,58.5]).parallels([55,65]),f=yg().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l={point:function(t,n){a=[t,n]}};return t.invert=function(t){var n=c.scale(),e=c.translate(),r=(t[0]-e[0])/n,i=(t[1]-e[1])/n;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?s:i>=.166&&i<.234&&r>=-.214&&r<-.115?f:c).invert(t)},t.stream=function(t){return e&&r===t?e:e=ao([c.stream(r=t),s.stream(t),f.stream(t)])},t.precision=function(t){return arguments.length?(c.precision(t),s.precision(t),f.precision(t),n()):c.precision()},t.scale=function(n){return arguments.length?(c.scale(n),s.scale(.35*n),f.scale(n),t.translate(c.translate())):c.scale()},t.translate=function(t){if(!arguments.length)return c.translate();var e=c.scale(),r=+t[0],a=+t[1];return i=c.translate(t).clipExtent([[r-.455*e,a-.238*e],[r+.455*e,a+.238*e]]).stream(l),o=s.translate([r-.307*e,a+.201*e]).clipExtent([[r-.425*e+k_,a+.12*e+k_],[r-.214*e-k_,a+.234*e-k_]]).stream(l),u=f.translate([r-.205*e,a+.212*e]).clipExtent([[r-.214*e+k_,a+.166*e+k_],[r-.115*e-k_,a+.234*e-k_]]).stream(l),n()},t.fitExtent=function(n,e){return Qi(t,n,e)},t.fitSize=function(n,e){return Ki(t,n,e)},t.scale(1070)},xg=co(function(t){return B_(2/(1+t))});xg.invert=so(function(t){return 2*mr(t/2)});var bg=function(){return eo(xg).scale(124.75).clipAngle(179.999)},wg=co(function(t){return(t=gr(t))&&t/I_(t)});wg.invert=so(function(t){return t});var Mg=function(){return eo(wg).scale(79.4188).clipAngle(179.999)};fo.invert=function(t,n){return[t,2*L_(D_(n))-S_]};var Tg=function(){return lo(fo).scale(961/A_)},kg=function(){return io(po).scale(109.5).parallels([30,30])};vo.invert=vo;var Ng=function(){return eo(vo).scale(152.63)},Sg=function(){return io(_o).scale(131.154).center([0,13.9389])};yo.invert=so(L_);var Eg=function(){return eo(yo).scale(144.049).clipAngle(60)},Ag=function(){function t(){return i=o=null,u}var n,e,r,i,o,u,a=1,c=0,s=0,f=1,l=1,h=Uy,p=null,d=Uy;return u={stream:function(t){return i&&o===t?i:i=h(d(o=t))},clipExtent:function(i){return arguments.length?(d=null==i?(p=n=e=r=null,Uy):li(p=+i[0][0],n=+i[0][1],e=+i[1][0],r=+i[1][1]),t()):null==p?null:[[p,n],[e,r]]},scale:function(n){return arguments.length?(h=go((a=+n)*f,a*l,c,s),t()):a},translate:function(n){return arguments.length?(h=go(a*f,a*l,c=+n[0],s=+n[1]),t()):[c,s]},reflectX:function(n){return arguments.length?(h=go(a*(f=n?-1:1),a*l,c,s),t()):f<0},reflectY:function(n){return arguments.length?(h=go(a*f,a*(l=n?-1:1),c,s),t()):l<0},fitExtent:function(t,n){return Qi(u,t,n)},fitSize:function(t,n){return Ki(u,t,n)}}};mo.invert=so(mr);var Cg=function(){return eo(mo).scale(249.5).clipAngle(90+k_)};xo.invert=so(function(t){return 2*L_(t)});var zg=function(){return eo(xo).scale(250).clipAngle(142)};bo.invert=function(t,n){return[-n,2*L_(D_(t))-S_]};var Pg=function(){var t=lo(bo),n=t.center,e=t.rotate;return t.center=function(t){return arguments.length?n([-t[1],t[0]]):(t=n(),[t[1],-t[0]])},t.rotate=function(t){return arguments.length?e([t[0],t[1],t.length>2?t[2]+90:90]):(t=e(),[t[0],t[1],t[2]-90])},e([0,0,90]).scale(159.155)},Lg=function(){function t(t){var o,u=0;t.eachAfter(function(t){var e=t.children;e?(t.x=Mo(e),t.y=ko(e)):(t.x=o?u+=n(t,o):0,t.y=0,o=t)});var a=So(t),c=Eo(t),s=a.x-n(a,c)/2,f=c.x+n(c,a)/2;return t.eachAfter(i?function(n){n.x=(n.x-t.x)*e,n.y=(t.y-n.y)*r}:function(n){n.x=(n.x-s)/(f-s)*e,n.y=(1-(t.y?n.y/t.y:1))*r})}var n=wo,e=1,r=1,i=!1;return t.separation=function(e){return arguments.length?(n=e,t):n},t.size=function(n){return arguments.length?(i=!1,e=+n[0],r=+n[1],t):i?null:[e,r]},t.nodeSize=function(n){return arguments.length?(i=!0,e=+n[0],r=+n[1],t):i?[e,r]:null},t},Rg=function(){return this.eachAfter(Ao)},qg=function(t){var n,e,r,i,o=this,u=[o];do{for(n=u.reverse(),u=[];o=n.pop();)if(t(o),e=o.children)for(r=0,i=e.length;r<i;++r)u.push(e[r])}while(u.length);return this},Ug=function(t){for(var n,e,r=this,i=[r];r=i.pop();)if(t(r),n=r.children)for(e=n.length-1;e>=0;--e)i.push(n[e]);return this},Dg=function(t){for(var n,e,r,i=this,o=[i],u=[];i=o.pop();)if(u.push(i),n=i.children)for(e=0,r=n.length;e<r;++e)o.push(n[e]);for(;i=u.pop();)t(i);return this},Og=function(t){return this.eachAfter(function(n){for(var e=+t(n.data)||0,r=n.children,i=r&&r.length;--i>=0;)e+=r[i].value;n.value=e})},Fg=function(t){return this.eachBefore(function(n){n.children&&n.children.sort(t)})},Ig=function(t){for(var n=this,e=Co(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var i=r.length;t!==e;)r.splice(i,0,t),t=t.parent;return r},Yg=function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n},Bg=function(){var t=[];return this.each(function(n){t.push(n)}),t},Hg=function(){var t=[];return this.eachBefore(function(n){n.children||t.push(n)}),t},jg=function(){var t=this,n=[];return t.each(function(e){e!==t&&n.push({source:e.parent,target:e})}),n};Uo.prototype=zo.prototype={constructor:Uo,count:Rg,each:qg,eachAfter:Dg,eachBefore:Ug,sum:Og,sort:Fg,path:Ig,ancestors:Yg,descendants:Bg,leaves:Hg,links:jg,copy:Po};var Xg=function(t){for(var n=(t=t.slice()).length,e=null,r=e;n;){var i=new Do(t[n-1]);r=r?r.next=i:e=i,t[void 0]=t[--n]}return{head:e,tail:r}},$g=function(t){return Fo(Xg(t),[])},Vg=function(t){return Vo(t),t},Wg=function(t){return function(){return t}},Zg=function(){function t(t){return t.x=e/2,t.y=r/2,n?t.eachBefore(Qo(n)).eachAfter(Ko(i,.5)).eachBefore(tu(1)):t.eachBefore(Qo(Jo)).eachAfter(Ko(Go,1)).eachAfter(Ko(i,t.r/Math.min(e,r))).eachBefore(tu(Math.min(e,r)/(2*t.r))),t}var n=null,e=1,r=1,i=Go;return t.radius=function(e){return arguments.length?(n=Wo(e),t):n},t.size=function(n){return arguments.length?(e=+n[0],r=+n[1],t):[e,r]},t.padding=function(n){return arguments.length?(i="function"==typeof n?n:Wg(+n),t):i},t},Gg=function(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)},Jg=function(t,n,e,r,i){for(var o,u=t.children,a=-1,c=u.length,s=t.value&&(r-n)/t.value;++a<c;)o=u[a],o.y0=e,o.y1=i,o.x0=n,o.x1=n+=o.value*s},Qg=function(){function t(t){var u=t.height+1;return t.x0=t.y0=i,t.x1=e,t.y1=r/u,t.eachBefore(n(r,u)),o&&t.eachBefore(Gg),t}function n(t,n){return function(e){e.children&&Jg(e,e.x0,t*(e.depth+1)/n,e.x1,t*(e.depth+2)/n);var r=e.x0,o=e.y0,u=e.x1-i,a=e.y1-i;u<r&&(r=u=(r+u)/2),a<o&&(o=a=(o+a)/2),e.x0=r,e.y0=o,e.x1=u,e.y1=a}}var e=1,r=1,i=0,o=!1;return t.round=function(n){return arguments.length?(o=!!n,t):o},t.size=function(n){return arguments.length?(e=+n[0],r=+n[1],t):[e,r]},t.padding=function(n){return arguments.length?(i=+n,t):i},t},Kg="$",tm={depth:-1},nm={},em=function(){function t(t){var r,i,o,u,a,c,s,f=t.length,l=new Array(f),h={};for(i=0;i<f;++i)r=t[i],a=l[i]=new Uo(r),null!=(c=n(r,i,t))&&(c+="")&&(s=Kg+(a.id=c),h[s]=s in h?nm:a);for(i=0;i<f;++i)if(a=l[i],null!=(c=e(t[i],i,t))&&(c+="")){if(!(u=h[Kg+c]))throw new Error("missing: "+c);if(u===nm)throw new Error("ambiguous: "+c);u.children?u.children.push(a):u.children=[a],a.parent=u}else{if(o)throw new Error("multiple roots");o=a}if(!o)throw new Error("no root");if(o.parent=tm,o.eachBefore(function(t){t.depth=t.parent.depth+1,--f}).eachBefore(qo),o.parent=null,f>0)throw new Error("cycle");return o}var n=nu,e=eu;return t.id=function(e){return arguments.length?(n=Zo(e),t):n},t.parentId=function(n){return arguments.length?(e=Zo(n),t):e},t};su.prototype=Object.create(Uo.prototype);var rm=function(){function t(t){var r=fu(t);if(r.eachAfter(n),r.parent.m=-r.z,r.eachBefore(e),c)t.eachBefore(i);else{var s=t,f=t,l=t;t.eachBefore(function(t){t.x<s.x&&(s=t),t.x>f.x&&(f=t),t.depth>l.depth&&(l=t)});var h=s===f?1:o(s,f)/2,p=h-s.x,d=u/(f.x+h+p),v=a/(l.depth||1);t.eachBefore(function(t){t.x=(t.x+p)*d,t.y=t.depth*v})}return t}function n(t){var n=t.children,e=t.parent.children,i=t.i?e[t.i-1]:null;if(n){au(t);var u=(n[0].z+n[n.length-1].z)/2;i?(t.z=i.z+o(t._,i._),t.m=t.z-u):t.z=u}else i&&(t.z=i.z+o(t._,i._));t.parent.A=r(t,i,t.parent.A||e[0])}function e(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function r(t,n,e){if(n){for(var r,i=t,u=t,a=n,c=i.parent.children[0],s=i.m,f=u.m,l=a.m,h=c.m;a=ou(a),i=iu(i),a&&i;)c=iu(c),u=ou(u),u.a=t,r=a.z+l-i.z-s+o(a._,i._),r>0&&(uu(cu(a,t,e),t,r),s+=r,f+=r),l+=a.m,s+=i.m,h+=c.m,f+=u.m;a&&!ou(u)&&(u.t=a,u.m+=l-f),i&&!iu(c)&&(c.t=i,c.m+=s-h,e=t)}return e}function i(t){t.x*=u,t.y=t.depth*a}var o=ru,u=1,a=1,c=null;return t.separation=function(n){return arguments.length?(o=n,t):o},t.size=function(n){return arguments.length?(c=!1,u=+n[0],a=+n[1],t):c?null:[u,a]},t.nodeSize=function(n){return arguments.length?(c=!0,u=+n[0],a=+n[1],t):c?[u,a]:null},t},im=function(t,n,e,r,i){for(var o,u=t.children,a=-1,c=u.length,s=t.value&&(i-e)/t.value;++a<c;)o=u[a],o.x0=n,o.x1=r,o.y0=e,o.y1=e+=o.value*s},om=(1+Math.sqrt(5))/2,um=function t(n){function e(t,e,r,i,o){lu(n,t,e,r,i,o)}return e.ratio=function(n){return t((n=+n)>1?n:1)},e}(om),am=function(){function t(t){return t.x0=t.y0=0,t.x1=i,t.y1=o,t.eachBefore(n),u=[0],r&&t.eachBefore(Gg),t}function n(t){var n=u[t.depth],r=t.x0+n,i=t.y0+n,o=t.x1-n,h=t.y1-n;o<r&&(r=o=(r+o)/2),h<i&&(i=h=(i+h)/2),t.x0=r,t.y0=i,t.x1=o,t.y1=h, | |
| 7 | +t.children&&(n=u[t.depth+1]=a(t)/2,r+=l(t)-n,i+=c(t)-n,o-=s(t)-n,h-=f(t)-n,o<r&&(r=o=(r+o)/2),h<i&&(i=h=(i+h)/2),e(t,r,i,o,h))}var e=um,r=!1,i=1,o=1,u=[0],a=Go,c=Go,s=Go,f=Go,l=Go;return t.round=function(n){return arguments.length?(r=!!n,t):r},t.size=function(n){return arguments.length?(i=+n[0],o=+n[1],t):[i,o]},t.tile=function(n){return arguments.length?(e=Zo(n),t):e},t.padding=function(n){return arguments.length?t.paddingInner(n).paddingOuter(n):t.paddingInner()},t.paddingInner=function(n){return arguments.length?(a="function"==typeof n?n:Wg(+n),t):a},t.paddingOuter=function(n){return arguments.length?t.paddingTop(n).paddingRight(n).paddingBottom(n).paddingLeft(n):t.paddingTop()},t.paddingTop=function(n){return arguments.length?(c="function"==typeof n?n:Wg(+n),t):c},t.paddingRight=function(n){return arguments.length?(s="function"==typeof n?n:Wg(+n),t):s},t.paddingBottom=function(n){return arguments.length?(f="function"==typeof n?n:Wg(+n),t):f},t.paddingLeft=function(n){return arguments.length?(l="function"==typeof n?n:Wg(+n),t):l},t},cm=function(t,n,e,r,i){function o(t,n,e,r,i,u,a){if(t>=n-1){var s=c[t];return s.x0=r,s.y0=i,s.x1=u,s.y1=a,void 0}for(var l=f[t],h=e/2+l,p=t+1,d=n-1;p<d;){var v=p+d>>>1;f[v]<h?p=v+1:d=v}h-f[p-1]<f[p]-h&&t+1<p&&--p;var _=f[p]-l,y=e-_;if(u-r>a-i){var g=(r*y+u*_)/e;o(t,p,_,r,i,g,a),o(p,n,y,g,i,u,a)}else{var m=(i*y+a*_)/e;o(t,p,_,r,i,u,m),o(p,n,y,r,m,u,a)}}var u,a,c=t.children,s=c.length,f=new Array(s+1);for(f[0]=a=u=0;u<s;++u)f[u+1]=a+=c[u].value;o(0,s,t.value,n,e,r,i)},sm=function(t,n,e,r,i){(1&t.depth?im:Jg)(t,n,e,r,i)},fm=function t(n){function e(t,e,r,i,o){if((u=t._squarify)&&u.ratio===n)for(var u,a,c,s,f,l=-1,h=u.length,p=t.value;++l<h;){for(a=u[l],c=a.children,s=a.value=0,f=c.length;s<f;++s)a.value+=c[s].value;a.dice?Jg(a,e,r,i,r+=(o-r)*a.value/p):im(a,e,r,e+=(i-e)*a.value/p,o),p-=a.value}else t._squarify=u=lu(n,t,e,r,i,o),u.ratio=n}return e.ratio=function(n){return t((n=+n)>1?n:1)},e}(om),lm=function(t){for(var n,e=-1,r=t.length,i=t[r-1],o=0;++e<r;)n=i,i=t[e],o+=n[1]*i[0]-n[0]*i[1];return o/2},hm=function(t){for(var n,e,r=-1,i=t.length,o=0,u=0,a=t[i-1],c=0;++r<i;)n=a,a=t[r],c+=e=n[0]*a[1]-a[0]*n[1],o+=(n[0]+a[0])*e,u+=(n[1]+a[1])*e;return c*=3,[o/c,u/c]},pm=function(t,n,e){return(n[0]-t[0])*(e[1]-t[1])-(n[1]-t[1])*(e[0]-t[0])},dm=function(t){if((e=t.length)<3)return null;var n,e,r=new Array(e),i=new Array(e);for(n=0;n<e;++n)r[n]=[+t[n][0],+t[n][1],n];for(r.sort(hu),n=0;n<e;++n)i[n]=[r[n][0],-r[n][1]];var o=pu(r),u=pu(i),a=u[0]===o[0],c=u[u.length-1]===o[o.length-1],s=[];for(n=o.length-1;n>=0;--n)s.push(t[r[o[n]][2]]);for(n=+a;n<u.length-c;++n)s.push(t[r[u[n]][2]]);return s},vm=function(t,n){for(var e,r,i=t.length,o=t[i-1],u=n[0],a=n[1],c=o[0],s=o[1],f=!1,l=0;l<i;++l)o=t[l],e=o[0],r=o[1],r>a!=s>a&&u<(c-e)*(a-r)/(s-r)+e&&(f=!f),c=e,s=r;return f},_m=function(t){for(var n,e,r=-1,i=t.length,o=t[i-1],u=o[0],a=o[1],c=0;++r<i;)n=u,e=a,o=t[r],u=o[0],a=o[1],n-=u,e-=a,c+=Math.sqrt(n*n+e*e);return c},ym=[].slice,gm={};du.prototype=xu.prototype={constructor:du,defer:function(t){if("function"!=typeof t)throw new Error("invalid callback");if(this._call)throw new Error("defer after await");if(null!=this._error)return this;var n=ym.call(arguments,1);return n.push(t),++this._waiting,this._tasks.push(n),vu(this),this},abort:function(){return null==this._error&&gu(this,new Error("abort")),this},await:function(t){if("function"!=typeof t)throw new Error("invalid callback");if(this._call)throw new Error("multiple await");return this._call=function(n,e){t.apply(null,[n].concat(e))},mu(this),this},awaitAll:function(t){if("function"!=typeof t)throw new Error("invalid callback");if(this._call)throw new Error("multiple await");return this._call=t,mu(this),this}};var mm=function(){return Math.random()},xm=function t(n){function e(t,e){return t=null==t?0:+t,e=null==e?1:+e,1===arguments.length?(e=t,t=0):e-=t,function(){return n()*e+t}}return e.source=t,e}(mm),bm=function t(n){function e(t,e){var r,i;return t=null==t?0:+t,e=null==e?1:+e,function(){var o;if(null!=r)o=r,r=null;else do{r=2*n()-1,o=2*n()-1,i=r*r+o*o}while(!i||i>1);return t+e*o*Math.sqrt(-2*Math.log(i)/i)}}return e.source=t,e}(mm),wm=function t(n){function e(){var t=bm.source(n).apply(this,arguments);return function(){return Math.exp(t())}}return e.source=t,e}(mm),Mm=function t(n){function e(t){return function(){for(var e=0,r=0;r<t;++r)e+=n();return e}}return e.source=t,e}(mm),Tm=function t(n){function e(t){var e=Mm.source(n)(t);return function(){return e()/t}}return e.source=t,e}(mm),km=function t(n){function e(t){return function(){return-Math.log(1-n())/t}}return e.source=t,e}(mm),Nm=function(t,n){function e(t){var n,e=s.status;if(!e&&wu(s)||e>=200&&e<300||304===e){if(o)try{n=o.call(r,s)}catch(t){return void a.call("error",r,t)}else n=s;a.call("load",r,n)}else a.call("error",r,t)}var r,i,o,u,a=v("beforesend","progress","load","error"),c=He(),s=new XMLHttpRequest,f=null,l=null,h=0;if("undefined"==typeof XDomainRequest||"withCredentials"in s||!/^(http(s)?:)?\/\//.test(t)||(s=new XDomainRequest),"onload"in s?s.onload=s.onerror=s.ontimeout=e:s.onreadystatechange=function(t){s.readyState>3&&e(t)},s.onprogress=function(t){a.call("progress",r,t)},r={header:function(t,n){return t=(t+"").toLowerCase(),arguments.length<2?c.get(t):(null==n?c.remove(t):c.set(t,n+""),r)},mimeType:function(t){return arguments.length?(i=null==t?null:t+"",r):i},responseType:function(t){return arguments.length?(u=t,r):u},timeout:function(t){return arguments.length?(h=+t,r):h},user:function(t){return arguments.length<1?f:(f=null==t?null:t+"",r)},password:function(t){return arguments.length<1?l:(l=null==t?null:t+"",r)},response:function(t){return o=t,r},get:function(t,n){return r.send("GET",t,n)},post:function(t,n){return r.send("POST",t,n)},send:function(n,e,o){return s.open(n,t,!0,f,l),null==i||c.has("accept")||c.set("accept",i+",*/*"),s.setRequestHeader&&c.each(function(t,n){s.setRequestHeader(n,t)}),null!=i&&s.overrideMimeType&&s.overrideMimeType(i),null!=u&&(s.responseType=u),h>0&&(s.timeout=h),null==o&&"function"==typeof e&&(o=e,e=null),null!=o&&1===o.length&&(o=bu(o)),null!=o&&r.on("error",o).on("load",function(t){o(null,t)}),a.call("beforesend",r,s),s.send(null==e?null:e),r},abort:function(){return s.abort(),r},on:function(){var t=a.on.apply(a,arguments);return t===a?r:t}},null!=n){if("function"!=typeof n)throw new Error("invalid callback: "+n);return r.get(n)}return r},Sm=function(t,n){return function(e,r){var i=Nm(e).mimeType(t).response(n);if(null!=r){if("function"!=typeof r)throw new Error("invalid callback: "+r);return i.get(r)}return i}},Em=Sm("text/html",function(t){return document.createRange().createContextualFragment(t.responseText)}),Am=Sm("application/json",function(t){return JSON.parse(t.responseText)}),Cm=Sm("text/plain",function(t){return t.responseText}),zm=Sm("application/xml",function(t){var n=t.responseXML;if(!n)throw new Error("parse error");return n}),Pm=function(t,n){return function(e,r,i){arguments.length<3&&(i=r,r=null);var o=Nm(e).mimeType(t);return o.row=function(t){return arguments.length?o.response(Mu(n,r=t)):r},o.row(r),i?o.get(i):o}},Lm=Pm("text/csv",Zd),Rm=Pm("text/tab-separated-values",tv),qm=Array.prototype,Um=qm.map,Dm=qm.slice,Om={name:"implicit"},Fm=function(t){return function(){return t}},Im=function(t){return+t},Ym=[0,1],Bm=function(n,e,r){var o,u=n[0],a=n[n.length-1],c=i(u,a,null==e?10:e);switch(r=pr(null==r?",f":r),r.type){case"s":var s=Math.max(Math.abs(u),Math.abs(a));return null!=r.precision||isNaN(o=jv(c,s))||(r.precision=o),t.formatPrefix(r,s);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(o=Xv(c,Math.max(Math.abs(u),Math.abs(a))))||(r.precision=o-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(o=Hv(c))||(r.precision=o-2*("%"===r.type))}return t.format(r)},Hm=function(t,n){t=t.slice();var e,r=0,i=t.length-1,o=t[r],u=t[i];return u<o&&(e=r,r=i,i=e,e=o,o=u,u=e),t[r]=n.floor(o),t[i]=n.ceil(u),t},jm=new Date,Xm=new Date,$m=Ju(function(){},function(t,n){t.setTime(+t+n)},function(t,n){return n-t});$m.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Ju(function(n){n.setTime(Math.floor(n/t)*t)},function(n,e){n.setTime(+n+e*t)},function(n,e){return(e-n)/t}):$m:null};var Vm=$m.range,Wm=6e4,Zm=6048e5,Gm=Ju(function(t){t.setTime(1e3*Math.floor(t/1e3))},function(t,n){t.setTime(+t+1e3*n)},function(t,n){return(n-t)/1e3},function(t){return t.getUTCSeconds()}),Jm=Gm.range,Qm=Ju(function(t){t.setTime(Math.floor(t/Wm)*Wm)},function(t,n){t.setTime(+t+n*Wm)},function(t,n){return(n-t)/Wm},function(t){return t.getMinutes()}),Km=Qm.range,tx=Ju(function(t){var n=t.getTimezoneOffset()*Wm%36e5;n<0&&(n+=36e5),t.setTime(36e5*Math.floor((+t-n)/36e5)+n)},function(t,n){t.setTime(+t+36e5*n)},function(t,n){return(n-t)/36e5},function(t){return t.getHours()}),nx=tx.range,ex=Ju(function(t){t.setHours(0,0,0,0)},function(t,n){t.setDate(t.getDate()+n)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Wm)/864e5},function(t){return t.getDate()-1}),rx=ex.range,ix=Qu(0),ox=Qu(1),ux=Qu(2),ax=Qu(3),cx=Qu(4),sx=Qu(5),fx=Qu(6),lx=ix.range,hx=ox.range,px=ux.range,dx=ax.range,vx=cx.range,_x=sx.range,yx=fx.range,gx=Ju(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,n){t.setMonth(t.getMonth()+n)},function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())},function(t){return t.getMonth()}),mx=gx.range,xx=Ju(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n)},function(t,n){return n.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});xx.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Ju(function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,e){n.setFullYear(n.getFullYear()+e*t)}):null};var bx=xx.range,wx=Ju(function(t){t.setUTCSeconds(0,0)},function(t,n){t.setTime(+t+n*Wm)},function(t,n){return(n-t)/Wm},function(t){return t.getUTCMinutes()}),Mx=wx.range,Tx=Ju(function(t){t.setUTCMinutes(0,0,0)},function(t,n){t.setTime(+t+36e5*n)},function(t,n){return(n-t)/36e5},function(t){return t.getUTCHours()}),kx=Tx.range,Nx=Ju(function(t){t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+n)},function(t,n){return(n-t)/864e5},function(t){return t.getUTCDate()-1}),Sx=Nx.range,Ex=Ku(0),Ax=Ku(1),Cx=Ku(2),zx=Ku(3),Px=Ku(4),Lx=Ku(5),Rx=Ku(6),qx=Ex.range,Ux=Ax.range,Dx=Cx.range,Ox=zx.range,Fx=Px.range,Ix=Lx.range,Yx=Rx.range,Bx=Ju(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCMonth(t.getUTCMonth()+n)},function(t,n){return n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()}),Hx=Bx.range,jx=Ju(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)},function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});jx.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Ju(function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)}):null};var Xx,$x=jx.range,Vx={"-":"",_:" ",0:"0"},Wx=/^\s*\d+/,Zx=/^%/,Gx=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;Ja({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var Jx=Date.prototype.toISOString?Qa:t.utcFormat("%Y-%m-%dT%H:%M:%S.%LZ"),Qx=+new Date("2000-01-01T00:00:00.000Z")?Ka:t.utcParse("%Y-%m-%dT%H:%M:%S.%LZ"),Kx=1e3,tb=60*Kx,nb=60*tb,eb=24*nb,rb=7*eb,ib=30*eb,ob=365*eb,ub=function(){return ec(xx,gx,ix,ex,tx,Qm,Gm,$m,t.timeFormat).domain([new Date(2e3,0,1),new Date(2e3,0,2)])},ab=function(){return ec(jx,Bx,Ex,Nx,Tx,wx,Gm,$m,t.utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])},cb=function(t){return t.match(/.{6}/g).map(function(t){return"#"+t})},sb=cb("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),fb=cb("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"),lb=cb("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"),hb=cb("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5"),pb=Zh(Wt(300,.5,0),Wt(-240,.5,1)),db=Zh(Wt(-100,.75,.35),Wt(80,1.5,.8)),vb=Zh(Wt(260,.75,.35),Wt(80,1.5,.8)),_b=Wt(),yb=function(t){(t<0||t>1)&&(t-=Math.floor(t));var n=Math.abs(t-.5);return _b.h=360*t-100,_b.s=1.5-1.5*n,_b.l=.8-.9*n,_b+""},gb=rc(cb("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),mb=rc(cb("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),xb=rc(cb("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),bb=rc(cb("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")),wb=function(t){return function(){return t}},Mb=Math.abs,Tb=Math.atan2,kb=Math.cos,Nb=Math.max,Sb=Math.min,Eb=Math.sin,Ab=Math.sqrt,Cb=1e-12,zb=Math.PI,Pb=zb/2,Lb=2*zb,Rb=function(){function t(){var t,s,f=+n.apply(this,arguments),l=+e.apply(this,arguments),h=o.apply(this,arguments)-Pb,p=u.apply(this,arguments)-Pb,d=Mb(p-h),v=p>h;if(c||(c=t=Ue()),l<f&&(s=l,l=f,f=s),l>Cb)if(d>Lb-Cb)c.moveTo(l*kb(h),l*Eb(h)),c.arc(0,0,l,h,p,!v),f>Cb&&(c.moveTo(f*kb(p),f*Eb(p)),c.arc(0,0,f,p,h,v));else{var _,y,g=h,m=p,x=h,b=p,w=d,M=d,T=a.apply(this,arguments)/2,k=T>Cb&&(i?+i.apply(this,arguments):Ab(f*f+l*l)),N=Sb(Mb(l-f)/2,+r.apply(this,arguments)),S=N,E=N;if(k>Cb){var A=uc(k/f*Eb(T)),C=uc(k/l*Eb(T));(w-=2*A)>Cb?(A*=v?1:-1,x+=A,b-=A):(w=0,x=b=(h+p)/2),(M-=2*C)>Cb?(C*=v?1:-1,g+=C,m-=C):(M=0,g=m=(h+p)/2)}var z=l*kb(g),P=l*Eb(g),L=f*kb(b),R=f*Eb(b);if(N>Cb){var q=l*kb(m),U=l*Eb(m),D=f*kb(x),O=f*Eb(x);if(d<zb){var F=w>Cb?hc(z,P,D,O,q,U,L,R):[L,R],I=z-F[0],Y=P-F[1],B=q-F[0],H=U-F[1],j=1/Eb(oc((I*B+Y*H)/(Ab(I*I+Y*Y)*Ab(B*B+H*H)))/2),X=Ab(F[0]*F[0]+F[1]*F[1]);S=Sb(N,(f-X)/(j-1)),E=Sb(N,(l-X)/(j+1))}}M>Cb?E>Cb?(_=pc(D,O,z,P,l,E,v),y=pc(q,U,L,R,l,E,v),c.moveTo(_.cx+_.x01,_.cy+_.y01),E<N?c.arc(_.cx,_.cy,E,Tb(_.y01,_.x01),Tb(y.y01,y.x01),!v):(c.arc(_.cx,_.cy,E,Tb(_.y01,_.x01),Tb(_.y11,_.x11),!v),c.arc(0,0,l,Tb(_.cy+_.y11,_.cx+_.x11),Tb(y.cy+y.y11,y.cx+y.x11),!v),c.arc(y.cx,y.cy,E,Tb(y.y11,y.x11),Tb(y.y01,y.x01),!v))):(c.moveTo(z,P),c.arc(0,0,l,g,m,!v)):c.moveTo(z,P),f>Cb&&w>Cb?S>Cb?(_=pc(L,R,q,U,f,-S,v),y=pc(z,P,D,O,f,-S,v),c.lineTo(_.cx+_.x01,_.cy+_.y01),S<N?c.arc(_.cx,_.cy,S,Tb(_.y01,_.x01),Tb(y.y01,y.x01),!v):(c.arc(_.cx,_.cy,S,Tb(_.y01,_.x01),Tb(_.y11,_.x11),!v),c.arc(0,0,f,Tb(_.cy+_.y11,_.cx+_.x11),Tb(y.cy+y.y11,y.cx+y.x11),v),c.arc(y.cx,y.cy,S,Tb(y.y11,y.x11),Tb(y.y01,y.x01),!v))):c.arc(0,0,f,b,x,v):c.lineTo(L,R)}else c.moveTo(0,0);if(c.closePath(),t)return c=null,t+""||null}var n=ac,e=cc,r=wb(0),i=null,o=sc,u=fc,a=lc,c=null;return t.centroid=function(){var t=(+n.apply(this,arguments)+ +e.apply(this,arguments))/2,r=(+o.apply(this,arguments)+ +u.apply(this,arguments))/2-zb/2;return[kb(r)*t,Eb(r)*t]},t.innerRadius=function(e){return arguments.length?(n="function"==typeof e?e:wb(+e),t):n},t.outerRadius=function(n){return arguments.length?(e="function"==typeof n?n:wb(+n),t):e},t.cornerRadius=function(n){return arguments.length?(r="function"==typeof n?n:wb(+n),t):r},t.padRadius=function(n){return arguments.length?(i=null==n?null:"function"==typeof n?n:wb(+n),t):i},t.startAngle=function(n){return arguments.length?(o="function"==typeof n?n:wb(+n),t):o},t.endAngle=function(n){return arguments.length?(u="function"==typeof n?n:wb(+n),t):u},t.padAngle=function(n){return arguments.length?(a="function"==typeof n?n:wb(+n),t):a},t.context=function(n){return arguments.length?(c=null==n?null:n,t):c},t};dc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._context.lineTo(t,n)}}};var qb=function(t){return new dc(t)},Ub=function(){function t(t){var a,c,s,f=t.length,l=!1;for(null==i&&(u=o(s=Ue())),a=0;a<=f;++a)!(a<f&&r(c=t[a],a,t))===l&&((l=!l)?u.lineStart():u.lineEnd()),l&&u.point(+n(c,a,t),+e(c,a,t));if(s)return u=null,s+""||null}var n=vc,e=_c,r=wb(!0),i=null,o=qb,u=null;return t.x=function(e){return arguments.length?(n="function"==typeof e?e:wb(+e),t):n},t.y=function(n){return arguments.length?(e="function"==typeof n?n:wb(+n),t):e},t.defined=function(n){return arguments.length?(r="function"==typeof n?n:wb(!!n),t):r},t.curve=function(n){return arguments.length?(o=n,null!=i&&(u=o(i)),t):o},t.context=function(n){return arguments.length?(null==n?i=u=null:u=o(i=n),t):i},t},Db=function(){function t(t){var n,f,l,h,p,d=t.length,v=!1,_=new Array(d),y=new Array(d);for(null==a&&(s=c(p=Ue())),n=0;n<=d;++n){if(!(n<d&&u(h=t[n],n,t))===v)if(v=!v)f=n,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),l=n-1;l>=f;--l)s.point(_[l],y[l]);s.lineEnd(),s.areaEnd()}v&&(_[n]=+e(h,n,t),y[n]=+i(h,n,t),s.point(r?+r(h,n,t):_[n],o?+o(h,n,t):y[n]))}if(p)return s=null,p+""||null}function n(){return Ub().defined(u).curve(c).context(a)}var e=vc,r=null,i=wb(0),o=_c,u=wb(!0),a=null,c=qb,s=null;return t.x=function(n){return arguments.length?(e="function"==typeof n?n:wb(+n),r=null,t):e},t.x0=function(n){return arguments.length?(e="function"==typeof n?n:wb(+n),t):e},t.x1=function(n){return arguments.length?(r=null==n?null:"function"==typeof n?n:wb(+n),t):r},t.y=function(n){return arguments.length?(i="function"==typeof n?n:wb(+n),o=null,t):i},t.y0=function(n){return arguments.length?(i="function"==typeof n?n:wb(+n),t):i},t.y1=function(n){return arguments.length?(o=null==n?null:"function"==typeof n?n:wb(+n),t):o},t.lineX0=t.lineY0=function(){return n().x(e).y(i)},t.lineY1=function(){return n().x(e).y(o)},t.lineX1=function(){return n().x(r).y(i)},t.defined=function(n){return arguments.length?(u="function"==typeof n?n:wb(!!n),t):u},t.curve=function(n){return arguments.length?(c=n,null!=a&&(s=c(a)),t):c},t.context=function(n){return arguments.length?(null==n?a=s=null:s=c(a=n),t):a},t},Ob=function(t,n){return n<t?-1:n>t?1:n>=t?0:NaN},Fb=function(t){return t},Ib=function(){function t(t){var a,c,s,f,l,h=t.length,p=0,d=new Array(h),v=new Array(h),_=+i.apply(this,arguments),y=Math.min(Lb,Math.max(-Lb,o.apply(this,arguments)-_)),g=Math.min(Math.abs(y)/h,u.apply(this,arguments)),m=g*(y<0?-1:1);for(a=0;a<h;++a)(l=v[d[a]=a]=+n(t[a],a,t))>0&&(p+=l);for(null!=e?d.sort(function(t,n){return e(v[t],v[n])}):null!=r&&d.sort(function(n,e){return r(t[n],t[e])}),a=0,s=p?(y-h*m)/p:0;a<h;++a,_=f)c=d[a],l=v[c],f=_+(l>0?l*s:0)+m,v[c]={data:t[c],index:a,value:l,startAngle:_,endAngle:f,padAngle:g};return v}var n=Fb,e=Ob,r=null,i=wb(0),o=wb(Lb),u=wb(0);return t.value=function(e){return arguments.length?(n="function"==typeof e?e:wb(+e),t):n},t.sortValues=function(n){return arguments.length?(e=n,r=null,t):e},t.sort=function(n){return arguments.length?(r=n,e=null,t):r},t.startAngle=function(n){return arguments.length?(i="function"==typeof n?n:wb(+n),t):i},t.endAngle=function(n){return arguments.length?(o="function"==typeof n?n:wb(+n),t):o},t.padAngle=function(n){return arguments.length?(u="function"==typeof n?n:wb(+n),t):u},t},Yb=gc(qb);yc.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,n){this._curve.point(n*Math.sin(t),n*-Math.cos(t))}};var Bb=function(){return mc(Ub().curve(Yb))},Hb=function(){var t=Db().curve(Yb),n=t.curve,e=t.lineX0,r=t.lineX1,i=t.lineY0,o=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return mc(e())},delete t.lineX0,t.lineEndAngle=function(){return mc(r())},delete t.lineX1,t.lineInnerRadius=function(){return mc(i())},delete t.lineY0,t.lineOuterRadius=function(){return mc(o())},delete t.lineY1,t.curve=function(t){return arguments.length?n(gc(t)):n()._curve},t},jb=Array.prototype.slice,Xb=function(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]},$b={draw:function(t,n){var e=Math.sqrt(n/zb);t.moveTo(e,0),t.arc(0,0,e,0,Lb)}},Vb={draw:function(t,n){var e=Math.sqrt(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}},Wb=Math.sqrt(1/3),Zb=2*Wb,Gb={draw:function(t,n){var e=Math.sqrt(n/Zb),r=e*Wb;t.moveTo(0,-e),t.lineTo(r,0),t.lineTo(0,e),t.lineTo(-r,0),t.closePath()}},Jb=Math.sin(zb/10)/Math.sin(7*zb/10),Qb=Math.sin(Lb/10)*Jb,Kb=-Math.cos(Lb/10)*Jb,tw={draw:function(t,n){var e=Math.sqrt(.8908130915292852*n),r=Qb*e,i=Kb*e;t.moveTo(0,-e),t.lineTo(r,i);for(var o=1;o<5;++o){var u=Lb*o/5,a=Math.cos(u),c=Math.sin(u);t.lineTo(c*e,-a*e),t.lineTo(a*r-c*i,c*r+a*i)}t.closePath()}},nw={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}},ew=Math.sqrt(3),rw={draw:function(t,n){var e=-Math.sqrt(n/(3*ew));t.moveTo(0,2*e),t.lineTo(-ew*e,-e),t.lineTo(ew*e,-e),t.closePath()}},iw=-.5,ow=Math.sqrt(3)/2,uw=1/Math.sqrt(12),aw=3*(uw/2+1),cw={draw:function(t,n){var e=Math.sqrt(n/aw),r=e/2,i=e*uw,o=r,u=e*uw+e,a=-o,c=u;t.moveTo(r,i),t.lineTo(o,u),t.lineTo(a,c),t.lineTo(iw*r-ow*i,ow*r+iw*i),t.lineTo(iw*o-ow*u,ow*o+iw*u),t.lineTo(iw*a-ow*c,ow*a+iw*c),t.lineTo(iw*r+ow*i,iw*i-ow*r),t.lineTo(iw*o+ow*u,iw*u-ow*o),t.lineTo(iw*a+ow*c,iw*c-ow*a),t.closePath()}},sw=[$b,Vb,Gb,nw,tw,rw,cw],fw=function(){function t(){var t;if(r||(r=t=Ue()),n.apply(this,arguments).draw(r,+e.apply(this,arguments)),t)return r=null,t+""||null}var n=wb($b),e=wb(64),r=null;return t.type=function(e){return arguments.length?(n="function"==typeof e?e:wb(e),t):n},t.size=function(n){return arguments.length?(e="function"==typeof n?n:wb(+n),t):e},t.context=function(n){return arguments.length?(r=null==n?null:n,t):r},t},lw=function(){};Cc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Ac(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Ac(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}};var hw=function(t){return new Cc(t)};zc.prototype={areaStart:lw,areaEnd:lw,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:Ac(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}};var pw=function(t){return new zc(t)};Pc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var e=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 3:this._point=4;default:Ac(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}};var dw=function(t){return new Pc(t)};Lc.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var r,i=t[0],o=n[0],u=t[e]-i,a=n[e]-o,c=-1;++c<=e;)r=c/e,this._basis.point(this._beta*t[c]+(1-this._beta)*(i+r*u),this._beta*n[c]+(1-this._beta)*(o+r*a));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}};var vw=function t(n){function e(t){return 1===n?new Cc(t):new Lc(t,n)}return e.beta=function(n){return t(+n)},e}(.85);qc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Rc(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2,this._x1=t,this._y1=n;break;case 2:this._point=3;default:Rc(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1, | |
| 8 | +this._y1=this._y2,this._y2=n}};var _w=function t(n){function e(t){return new qc(t,n)}return e.tension=function(n){return t(+n)},e}(0);Uc.prototype={areaStart:lw,areaEnd:lw,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Rc(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var yw=function t(n){function e(t){return new Uc(t,n)}return e.tension=function(n){return t(+n)},e}(0);Dc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Rc(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var gw=function t(n){function e(t){return new Dc(t,n)}return e.tension=function(n){return t(+n)},e}(0);Fc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3;default:Oc(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var mw=function t(n){function e(t){return n?new Fc(t,n):new qc(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);Ic.prototype={areaStart:lw,areaEnd:lw,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Oc(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var xw=function t(n){function e(t){return n?new Ic(t,n):new Uc(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);Yc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Oc(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var bw=function t(n){function e(t){return n?new Yc(t,n):new Dc(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);Bc.prototype={areaStart:lw,areaEnd:lw,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,n){t=+t,n=+n,this._point?this._context.lineTo(t,n):(this._point=1,this._context.moveTo(t,n))}};var ww=function(t){return new Bc(t)};Vc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:$c(this,this._t0,Xc(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var e=NaN;if(t=+t,n=+n,t!==this._x1||n!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,$c(this,Xc(this,e=jc(this,t,n)),e);break;default:$c(this,this._t0,e=jc(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(Wc.prototype=Object.create(Vc.prototype)).point=function(t,n){Vc.prototype.point.call(this,n,t)},Zc.prototype={moveTo:function(t,n){this._context.moveTo(n,t)},closePath:function(){this._context.closePath()},lineTo:function(t,n){this._context.lineTo(n,t)},bezierCurveTo:function(t,n,e,r,i,o){this._context.bezierCurveTo(n,t,r,e,o,i)}},Qc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,n=this._y,e=t.length;if(e)if(this._line?this._context.lineTo(t[0],n[0]):this._context.moveTo(t[0],n[0]),2===e)this._context.lineTo(t[1],n[1]);else for(var r=Kc(t),i=Kc(n),o=0,u=1;u<e;++o,++u)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[u],n[u]);(this._line||0!==this._line&&1===e)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,n){this._x.push(+t),this._y.push(+n)}};var Mw=function(t){return new Qc(t)};ts.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,n),this._context.lineTo(t,n);else{var e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}};var Tw=function(t){return new ts(t,.5)},kw=function(t,n){if((i=t.length)>1)for(var e,r,i,o=1,u=t[n[0]],a=u.length;o<i;++o)for(r=u,u=t[n[o]],e=0;e<a;++e)u[e][1]+=u[e][0]=isNaN(r[e][1])?r[e][0]:r[e][1]},Nw=function(t){for(var n=t.length,e=new Array(n);--n>=0;)e[n]=n;return e},Sw=function(){function t(t){var o,u,a=n.apply(this,arguments),c=t.length,s=a.length,f=new Array(s);for(o=0;o<s;++o){for(var l,h=a[o],p=f[o]=new Array(c),d=0;d<c;++d)p[d]=l=[0,+i(t[d],h,d,t)],l.data=t[d];p.key=h}for(o=0,u=e(f);o<s;++o)f[u[o]].index=o;return r(f,u),f}var n=wb([]),e=Nw,r=kw,i=rs;return t.keys=function(e){return arguments.length?(n="function"==typeof e?e:wb(jb.call(e)),t):n},t.value=function(n){return arguments.length?(i="function"==typeof n?n:wb(+n),t):i},t.order=function(n){return arguments.length?(e=null==n?Nw:"function"==typeof n?n:wb(jb.call(n)),t):e},t.offset=function(n){return arguments.length?(r=null==n?kw:n,t):r},t},Ew=function(t,n){if((r=t.length)>0){for(var e,r,i,o=0,u=t[0].length;o<u;++o){for(i=e=0;e<r;++e)i+=t[e][o][1]||0;if(i)for(e=0;e<r;++e)t[e][o][1]/=i}kw(t,n)}},Aw=function(t,n){if((a=t.length)>1)for(var e,r,i,o,u,a,c=0,s=t[n[0]].length;c<s;++c)for(o=u=0,e=0;e<a;++e)(i=(r=t[n[e]][c])[1]-r[0])>=0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=u,r[0]=u+=i):r[0]=o},Cw=function(t,n){if((e=t.length)>0){for(var e,r=0,i=t[n[0]],o=i.length;r<o;++r){for(var u=0,a=0;u<e;++u)a+=t[u][r][1]||0;i[r][1]+=i[r][0]=-a/2}kw(t,n)}},zw=function(t,n){if((i=t.length)>0&&(r=(e=t[n[0]]).length)>0){for(var e,r,i,o=0,u=1;u<r;++u){for(var a=0,c=0,s=0;a<i;++a){for(var f=t[n[a]],l=f[u][1]||0,h=f[u-1][1]||0,p=(l-h)/2,d=0;d<a;++d){var v=t[n[d]];p+=(v[u][1]||0)-(v[u-1][1]||0)}c+=l,s+=p*l}e[u-1][1]+=e[u-1][0]=o,c&&(o-=s/c)}e[u-1][1]+=e[u-1][0]=o,kw(t,n)}},Pw=function(t){var n=t.map(is);return Nw(t).sort(function(t,e){return n[t]-n[e]})},Lw=function(t){return Pw(t).reverse()},Rw=function(t){var n,e,r=t.length,i=t.map(is),o=Nw(t).sort(function(t,n){return i[n]-i[t]}),u=0,a=0,c=[],s=[];for(n=0;n<r;++n)e=o[n],u<a?(u+=i[e],c.push(e)):(a+=i[e],s.push(e));return s.reverse().concat(c)},qw=function(t){return Nw(t).reverse()},Uw=function(t){return function(){return t}};as.prototype={constructor:as,insert:function(t,n){var e,r,i;if(t){if(n.P=t,n.N=t.N,t.N&&(t.N.P=n),t.N=n,t.R){for(t=t.R;t.L;)t=t.L;t.L=n}else t.R=n;e=t}else this._?(t=ls(this._),n.P=null,n.N=t,t.P=t.L=n,e=t):(n.P=n.N=null,this._=n,e=null);for(n.L=n.R=null,n.U=e,n.C=!0,t=n;e&&e.C;)r=e.U,e===r.L?(i=r.R,i&&i.C?(e.C=i.C=!1,r.C=!0,t=r):(t===e.R&&(ss(this,e),t=e,e=t.U),e.C=!1,r.C=!0,fs(this,r))):(i=r.L,i&&i.C?(e.C=i.C=!1,r.C=!0,t=r):(t===e.L&&(fs(this,e),t=e,e=t.U),e.C=!1,r.C=!0,ss(this,r))),e=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var n,e,r,i=t.U,o=t.L,u=t.R;if(e=o?u?ls(u):o:u,i?i.L===t?i.L=e:i.R=e:this._=e,o&&u?(r=e.C,e.C=t.C,e.L=o,o.U=e,e!==u?(i=e.U,e.U=t.U,t=e.R,i.L=t,e.R=u,u.U=e):(e.U=i,i=e,t=e.R)):(r=t.C,t=e),t&&(t.U=i),!r){if(t&&t.C)return void(t.C=!1);do{if(t===this._)break;if(t===i.L){if(n=i.R,n.C&&(n.C=!1,i.C=!0,ss(this,i),n=i.R),n.L&&n.L.C||n.R&&n.R.C){n.R&&n.R.C||(n.L.C=!1,n.C=!0,fs(this,n),n=i.R),n.C=i.C,i.C=n.R.C=!1,ss(this,i),t=this._;break}}else if(n=i.L,n.C&&(n.C=!1,i.C=!0,fs(this,i),n=i.L),n.L&&n.L.C||n.R&&n.R.C){n.L&&n.L.C||(n.R.C=!1,n.C=!0,ss(this,n),n=i.L),n.C=i.C,i.C=n.L.C=!1,fs(this,i),t=this._;break}n.C=!0,t=i,i=i.U}while(!t.C);t&&(t.C=!1)}}};var Dw,Ow,Fw,Iw,Yw,Bw=[],Hw=[],jw=1e-6,Xw=1e-12;Us.prototype={constructor:Us,polygons:function(){var t=this.edges;return this.cells.map(function(n){var e=n.halfedges.map(function(e){return xs(n,t[e])});return e.data=n.site.data,e})},triangles:function(){var t=[],n=this.edges;return this.cells.forEach(function(e,r){if(o=(i=e.halfedges).length)for(var i,o,u,a=e.site,c=-1,s=n[i[o-1]],f=s.left===a?s.right:s.left;++c<o;)u=f,s=n[i[c]],f=s.left===a?s.right:s.left,u&&f&&r<u.index&&r<f.index&&Rs(a,u,f)<0&&t.push([a.data,u.data,f.data])}),t},links:function(){return this.edges.filter(function(t){return t.right}).map(function(t){return{source:t.left.data,target:t.right.data}})},find:function(t,n,e){for(var r,i,o=this,u=o._found||0,a=o.cells.length;!(i=o.cells[u]);)if(++u>=a)return null;var c=t-i.site[0],s=n-i.site[1],f=c*c+s*s;do{i=o.cells[r=u],u=null,i.halfedges.forEach(function(e){var r=o.edges[e],a=r.left;if(a!==i.site&&a||(a=r.right)){var c=t-a[0],s=n-a[1],l=c*c+s*s;l<f&&(f=l,u=a.index)}})}while(null!==u);return o._found=r,null==e||f<=e*e?i.site:null}};var $w=function(){function t(t){return new Us(t.map(function(r,i){var o=[Math.round(n(r,i,t)/jw)*jw,Math.round(e(r,i,t)/jw)*jw];return o.index=i,o.data=r,o}),r)}var n=os,e=us,r=null;return t.polygons=function(n){return t(n).polygons()},t.links=function(n){return t(n).links()},t.triangles=function(n){return t(n).triangles()},t.x=function(e){return arguments.length?(n="function"==typeof e?e:Uw(+e),t):n},t.y=function(n){return arguments.length?(e="function"==typeof n?n:Uw(+n),t):e},t.extent=function(n){return arguments.length?(r=null==n?null:[[+n[0][0],+n[0][1]],[+n[1][0],+n[1][1]]],t):r&&[[r[0][0],r[0][1]],[r[1][0],r[1][1]]]},t.size=function(n){return arguments.length?(r=null==n?null:[[0,0],[+n[0],+n[1]]],t):r&&[r[1][0]-r[0][0],r[1][1]-r[0][1]]},t},Vw=function(t){return function(){return t}};Os.prototype={constructor:Os,scale:function(t){return 1===t?this:new Os(this.k*t,this.x,this.y)},translate:function(t,n){return 0===t&0===n?this:new Os(this.k,this.x+this.k*t,this.y+this.k*n)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Ww=new Os(1,0,0);Fs.prototype=Os.prototype;var Zw=function(){t.event.preventDefault(),t.event.stopImmediatePropagation()},Gw=function(){function n(t){t.on("wheel.zoom",s).on("mousedown.zoom",f).on("dblclick.zoom",l).on("touchstart.zoom",h).on("touchmove.zoom",p).on("touchend.zoom touchcancel.zoom",d).style("-webkit-tap-highlight-color","rgba(0,0,0,0)").property("__zoom",Hs)}function e(t,n){return n=Math.max(x,Math.min(b,n)),n===t.k?t:new Os(n,t.x,t.y)}function r(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new Os(t.k,r,i)}function i(t,n){var e=t.invertX(n[0][0])-w,r=t.invertX(n[1][0])-M,i=t.invertY(n[0][1])-T,o=t.invertY(n[1][1])-k;return t.translate(r>e?(e+r)/2:Math.min(0,e)||Math.max(0,r),o>i?(i+o)/2:Math.min(0,i)||Math.max(0,o))}function o(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function u(t,n,e){t.on("start.zoom",function(){a(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){a(this,arguments).end()}).tween("zoom",function(){var t=this,r=arguments,i=a(t,r),u=m.apply(t,r),c=e||o(u),s=Math.max(u[1][0]-u[0][0],u[1][1]-u[0][1]),f=t.__zoom,l="function"==typeof n?n.apply(t,r):n,h=S(f.invert(c).concat(s/f.k),l.invert(c).concat(s/l.k));return function(t){if(1===t)t=l;else{var n=h(t),e=s/n[2];t=new Os(e,c[0]-n[0]*e,c[1]-n[1]*e)}i.zoom(null,t)}})}function a(t,n){for(var e,r=0,i=E.length;r<i;++r)if((e=E[r]).that===t)return e;return new c(t,n)}function c(t,n){this.that=t,this.args=n,this.index=-1,this.active=0,this.extent=m.apply(t,n)}function s(){function n(){o.wheel=null,o.end()}if(g.apply(this,arguments)){var o=a(this,arguments),u=this.__zoom,c=Math.max(x,Math.min(b,u.k*Math.pow(2,-t.event.deltaY*(t.event.deltaMode?120:1)/500))),s=Gf(this);if(o.wheel)o.mouse[0][0]===s[0]&&o.mouse[0][1]===s[1]||(o.mouse[1]=u.invert(o.mouse[0]=s)),clearTimeout(o.wheel);else{if(u.k===c)return;o.mouse=[s,u.invert(s)],gp(this),o.start()}Zw(),o.wheel=setTimeout(n,P),o.zoom("mouse",i(r(e(u,c),o.mouse[0],o.mouse[1]),o.extent))}}function f(){function n(){if(Zw(),!o.moved){var n=t.event.clientX-s,e=t.event.clientY-f;o.moved=n*n+e*e>L}o.zoom("mouse",i(r(o.that.__zoom,o.mouse[0]=Gf(o.that),o.mouse[1]),o.extent))}function e(){u.on("mousemove.zoom mouseup.zoom",null),mt(t.event.view,o.moved),Zw(),o.end()}if(!y&&g.apply(this,arguments)){var o=a(this,arguments),u=Pl(t.event.view).on("mousemove.zoom",n,!0).on("mouseup.zoom",e,!0),c=Gf(this),s=t.event.clientX,f=t.event.clientY;Dl(t.event.view),Is(),o.mouse=[c,this.__zoom.invert(c)],gp(this),o.start()}}function l(){if(g.apply(this,arguments)){var o=this.__zoom,a=Gf(this),c=o.invert(a),s=o.k*(t.event.shiftKey?.5:2),f=i(r(e(o,s),a,c),m.apply(this,arguments));Zw(),N>0?Pl(this).transition().duration(N).call(u,f,a):Pl(this).call(n.transform,f)}}function h(){if(g.apply(this,arguments)){var n,e,r,i,o=a(this,arguments),u=t.event.changedTouches,c=u.length;for(Is(),e=0;e<c;++e)r=u[e],i=Rl(this,u,r.identifier),i=[i,this.__zoom.invert(i),r.identifier],o.touch0?o.touch1||(o.touch1=i):(o.touch0=i,n=!0);if(_&&(_=clearTimeout(_),!o.touch1))return o.end(),void((i=Pl(this).on("dblclick.zoom"))&&i.apply(this,arguments));n&&(_=setTimeout(function(){_=null},z),gp(this),o.start())}}function p(){var n,o,u,c,s=a(this,arguments),f=t.event.changedTouches,l=f.length;for(Zw(),_&&(_=clearTimeout(_)),n=0;n<l;++n)o=f[n],u=Rl(this,f,o.identifier),s.touch0&&s.touch0[2]===o.identifier?s.touch0[0]=u:s.touch1&&s.touch1[2]===o.identifier&&(s.touch1[0]=u);if(o=s.that.__zoom,s.touch1){var h=s.touch0[0],p=s.touch0[1],d=s.touch1[0],v=s.touch1[1],y=(y=d[0]-h[0])*y+(y=d[1]-h[1])*y,g=(g=v[0]-p[0])*g+(g=v[1]-p[1])*g;o=e(o,Math.sqrt(y/g)),u=[(h[0]+d[0])/2,(h[1]+d[1])/2],c=[(p[0]+v[0])/2,(p[1]+v[1])/2]}else{if(!s.touch0)return;u=s.touch0[0],c=s.touch0[1]}s.zoom("touch",i(r(o,u,c),s.extent))}function d(){var n,e,r=a(this,arguments),i=t.event.changedTouches,o=i.length;for(Is(),y&&clearTimeout(y),y=setTimeout(function(){y=null},z),n=0;n<o;++n)e=i[n],r.touch0&&r.touch0[2]===e.identifier?delete r.touch0:r.touch1&&r.touch1[2]===e.identifier&&delete r.touch1;r.touch1&&!r.touch0&&(r.touch0=r.touch1,delete r.touch1),r.touch0?r.touch0[1]=this.__zoom.invert(r.touch0[0]):r.end()}var _,y,g=Ys,m=Bs,x=0,b=1/0,w=-b,M=b,T=w,k=M,N=250,S=Hh,E=[],C=v("start","zoom","end"),z=500,P=150,L=0;return n.transform=function(t,n){var e=t.selection?t.selection():t;e.property("__zoom",Hs),t!==e?u(t,n):e.interrupt().each(function(){a(this,arguments).start().zoom(null,"function"==typeof n?n.apply(this,arguments):n).end()})},n.scaleBy=function(t,e){n.scaleTo(t,function(){return this.__zoom.k*("function"==typeof e?e.apply(this,arguments):e)})},n.scaleTo=function(t,u){n.transform(t,function(){var t=m.apply(this,arguments),n=this.__zoom,a=o(t),c=n.invert(a);return i(r(e(n,"function"==typeof u?u.apply(this,arguments):u),a,c),t)})},n.translateBy=function(t,e,r){n.transform(t,function(){return i(this.__zoom.translate("function"==typeof e?e.apply(this,arguments):e,"function"==typeof r?r.apply(this,arguments):r),m.apply(this,arguments))})},c.prototype={start:function(){return 1==++this.active&&(this.index=E.push(this)-1,this.emit("start")),this},zoom:function(t,n){return this.mouse&&"mouse"!==t&&(this.mouse[1]=n.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=n.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=n.invert(this.touch1[0])),this.that.__zoom=n,this.emit("zoom"),this},end:function(){return 0==--this.active&&(E.splice(this.index,1),this.index=-1,this.emit("end")),this},emit:function(t){A(new Ds(n,t,this.that.__zoom),C.apply,C,[t,this.that,this.args])}},n.filter=function(t){return arguments.length?(g="function"==typeof t?t:Vw(!!t),n):g},n.extent=function(t){return arguments.length?(m="function"==typeof t?t:Vw([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),n):m},n.scaleExtent=function(t){return arguments.length?(x=+t[0],b=+t[1],n):[x,b]},n.translateExtent=function(t){return arguments.length?(w=+t[0][0],M=+t[1][0],T=+t[0][1],k=+t[1][1],n):[[w,T],[M,k]]},n.duration=function(t){return arguments.length?(N=+t,n):N},n.interpolate=function(t){return arguments.length?(S=t,n):S},n.on=function(){var t=C.on.apply(C,arguments);return t===C?n:t},n.clickDistance=function(t){return arguments.length?(L=(t=+t)*t,n):Math.sqrt(L)},n};t.version="4.9.1",t.bisect=Vs,t.bisectRight=Vs,t.bisectLeft=Ws,t.ascending=js,t.bisector=Xs,t.cross=Gs,t.descending=Js,t.deviation=tf,t.extent=nf,t.histogram=df,t.thresholdFreedmanDiaconis=_f,t.thresholdScott=yf,t.thresholdSturges=pf,t.max=gf,t.mean=mf,t.median=xf,t.merge=bf,t.min=wf,t.pairs=Zs,t.permute=Mf,t.quantile=vf,t.range=cf,t.scan=Tf,t.shuffle=kf,t.sum=Nf,t.ticks=hf,t.tickIncrement=r,t.tickStep=i,t.transpose=Sf,t.variance=Ks,t.zip=Ef,t.axisTop=l,t.axisRight=h,t.axisBottom=p,t.axisLeft=d,t.brush=Ed,t.brushX=ze,t.brushY=Pe,t.brushSelection=Ce,t.chord=qd,t.ribbon=Yd,t.nest=Bd,t.set=Ze,t.map=He,t.keys=jd,t.values=Xd,t.entries=$d,t.color=Nt,t.rgb=Ct,t.hsl=Rt,t.lab=Ot,t.hcl=Xt,t.cubehelix=Wt,t.dispatch=v,t.drag=Fl,t.dragDisable=Dl,t.dragEnable=mt,t.dsvFormat=Vd,t.csvParse=Zd,t.csvParseRows=Gd,t.csvFormat=Jd,t.csvFormatRows=Qd,t.tsvParse=tv,t.tsvParseRows=nv,t.tsvFormat=ev,t.tsvFormatRows=rv,t.easeLinear=ie,t.easeQuad=ae,t.easeQuadIn=oe,t.easeQuadOut=ue,t.easeQuadInOut=ae,t.easeCubic=fe,t.easeCubicIn=ce,t.easeCubicOut=se,t.easeCubicInOut=fe,t.easePoly=Hp,t.easePolyIn=Yp,t.easePolyOut=Bp,t.easePolyInOut=Hp,t.easeSin=pe,t.easeSinIn=le,t.easeSinOut=he,t.easeSinInOut=pe,t.easeExp=_e,t.easeExpIn=de,t.easeExpOut=ve,t.easeExpInOut=_e,t.easeCircle=me,t.easeCircleIn=ye,t.easeCircleOut=ge,t.easeCircleInOut=me,t.easeBounce=be,t.easeBounceIn=xe,t.easeBounceOut=be,t.easeBounceInOut=we,t.easeBack=id,t.easeBackIn=ed,t.easeBackOut=rd,t.easeBackInOut=id,t.easeElastic=ad,t.easeElasticIn=ud,t.easeElasticOut=ad,t.easeElasticInOut=cd,t.forceCenter=iv,t.forceCollide=wv,t.forceLink=Mv,t.forceManyBody=Sv,t.forceSimulation=Nv,t.forceX=Ev,t.forceY=Av,t.formatDefaultLocale=vr,t.formatLocale=Bv,t.formatSpecifier=pr,t.precisionFixed=Hv,t.precisionPrefix=jv,t.precisionRound=Xv,t.geoArea=G_,t.geoBounds=K_,t.geoCentroid=ny,t.geoCircle=_y,t.geoClipExtent=My,t.geoContains=Ry,t.geoDistance=zy,t.geoGraticule=Ti,t.geoGraticule10=ki,t.geoInterpolate=qy,t.geoLength=Ey,t.geoPath=cg,t.geoAlbers=gg,t.geoAlbersUsa=mg,t.geoAzimuthalEqualArea=bg,t.geoAzimuthalEqualAreaRaw=xg,t.geoAzimuthalEquidistant=Mg,t.geoAzimuthalEquidistantRaw=wg,t.geoConicConformal=kg,t.geoConicConformalRaw=po,t.geoConicEqualArea=yg,t.geoConicEqualAreaRaw=uo,t.geoConicEquidistant=Sg,t.geoConicEquidistantRaw=_o,t.geoEquirectangular=Ng,t.geoEquirectangularRaw=vo,t.geoGnomonic=Eg,t.geoGnomonicRaw=yo,t.geoIdentity=Ag,t.geoProjection=eo,t.geoProjectionMutator=ro,t.geoMercator=Tg,t.geoMercatorRaw=fo,t.geoOrthographic=Cg,t.geoOrthographicRaw=mo,t.geoStereographic=zg,t.geoStereographicRaw=xo,t.geoTransverseMercator=Pg,t.geoTransverseMercatorRaw=bo,t.geoRotation=vy,t.geoStream=$_,t.geoTransform=hg,t.cluster=Lg,t.hierarchy=zo,t.pack=Zg,t.packSiblings=Vg,t.packEnclose=$g,t.partition=Qg,t.stratify=em,t.tree=rm,t.treemap=am,t.treemapBinary=cm,t.treemapDice=Jg,t.treemapSlice=im,t.treemapSliceDice=sm,t.treemapSquarify=um,t.treemapResquarify=fm,t.interpolate=qh,t.interpolateArray=Eh,t.interpolateBasis=wh,t.interpolateBasisClosed=Mh,t.interpolateDate=Ah,t.interpolateNumber=Ch,t.interpolateObject=zh,t.interpolateRound=Uh,t.interpolateString=Rh,t.interpolateTransformCss=Ih,t.interpolateTransformSvg=Yh,t.interpolateZoom=Hh,t.interpolateRgb=kh,t.interpolateRgbBasis=Nh,t.interpolateRgbBasisClosed=Sh,t.interpolateHsl=jh,t.interpolateHslLong=Xh,t.interpolateLab=pn,t.interpolateHcl=$h,t.interpolateHclLong=Vh,t.interpolateCubehelix=Wh,t.interpolateCubehelixLong=Zh,t.quantize=Gh,t.path=Ue,t.polygonArea=lm,t.polygonCentroid=hm;t.polygonHull=dm,t.polygonContains=vm,t.polygonLength=_m,t.quadtree=ir,t.queue=xu,t.randomUniform=xm,t.randomNormal=bm,t.randomLogNormal=wm,t.randomBates=Tm,t.randomIrwinHall=Mm,t.randomExponential=km,t.request=Nm,t.html=Em,t.json=Am,t.text=Cm,t.xml=zm,t.csv=Lm,t.tsv=Rm,t.scaleBand=ku,t.scalePoint=Su,t.scaleIdentity=Du,t.scaleLinear=Uu,t.scaleLog=ju,t.scaleOrdinal=Tu,t.scaleImplicit=Om,t.scalePow=$u,t.scaleSqrt=Vu,t.scaleQuantile=Wu,t.scaleQuantize=Zu,t.scaleThreshold=Gu,t.scaleTime=ub,t.scaleUtc=ab,t.schemeCategory10=sb,t.schemeCategory20b=fb,t.schemeCategory20c=lb,t.schemeCategory20=hb,t.interpolateCubehelixDefault=pb,t.interpolateRainbow=yb,t.interpolateWarm=db,t.interpolateCool=vb,t.interpolateViridis=gb,t.interpolateMagma=mb,t.interpolateInferno=xb,t.interpolatePlasma=bb,t.scaleSequential=ic,t.creator=If,t.local=w,t.matcher=Xf,t.mouse=Gf,t.namespace=Ff,t.namespaces=Of,t.select=Pl,t.selectAll=Ll,t.selection=yt,t.selector=Jf,t.selectorAll=Kf,t.style=X,t.touch=Rl,t.touches=ql,t.window=gl,t.customEvent=A,t.arc=Rb,t.area=Db,t.line=Ub,t.pie=Ib,t.radialArea=Hb,t.radialLine=Bb,t.linkHorizontal=Nc,t.linkVertical=Sc,t.linkRadial=Ec,t.symbol=fw,t.symbols=sw,t.symbolCircle=$b,t.symbolCross=Vb,t.symbolDiamond=Gb,t.symbolSquare=nw,t.symbolStar=tw,t.symbolTriangle=rw,t.symbolWye=cw,t.curveBasisClosed=pw,t.curveBasisOpen=dw,t.curveBasis=hw,t.curveBundle=vw,t.curveCardinalClosed=yw,t.curveCardinalOpen=gw,t.curveCardinal=_w,t.curveCatmullRomClosed=xw,t.curveCatmullRomOpen=bw,t.curveCatmullRom=mw,t.curveLinearClosed=ww,t.curveLinear=qb,t.curveMonotoneX=Gc,t.curveMonotoneY=Jc,t.curveNatural=Mw,t.curveStep=Tw,t.curveStepAfter=es,t.curveStepBefore=ns,t.stack=Sw,t.stackOffsetExpand=Ew,t.stackOffsetDiverging=Aw,t.stackOffsetNone=kw,t.stackOffsetSilhouette=Cw,t.stackOffsetWiggle=zw,t.stackOrderAscending=Pw,t.stackOrderDescending=Lw,t.stackOrderInsideOut=Rw,t.stackOrderNone=Nw,t.stackOrderReverse=qw,t.timeInterval=Ju,t.timeMillisecond=$m,t.timeMilliseconds=Vm,t.utcMillisecond=$m,t.utcMilliseconds=Vm,t.timeSecond=Gm,t.timeSeconds=Jm,t.utcSecond=Gm,t.utcSeconds=Jm,t.timeMinute=Qm,t.timeMinutes=Km,t.timeHour=tx,t.timeHours=nx,t.timeDay=ex,t.timeDays=rx,t.timeWeek=ix,t.timeWeeks=lx,t.timeSunday=ix,t.timeSundays=lx,t.timeMonday=ox,t.timeMondays=hx,t.timeTuesday=ux,t.timeTuesdays=px,t.timeWednesday=ax,t.timeWednesdays=dx,t.timeThursday=cx,t.timeThursdays=vx,t.timeFriday=sx,t.timeFridays=_x,t.timeSaturday=fx,t.timeSaturdays=yx,t.timeMonth=gx,t.timeMonths=mx,t.timeYear=xx,t.timeYears=bx,t.utcMinute=wx,t.utcMinutes=Mx,t.utcHour=Tx,t.utcHours=kx,t.utcDay=Nx,t.utcDays=Sx,t.utcWeek=Ex,t.utcWeeks=qx,t.utcSunday=Ex,t.utcSundays=qx,t.utcMonday=Ax,t.utcMondays=Ux,t.utcTuesday=Cx,t.utcTuesdays=Dx,t.utcWednesday=zx,t.utcWednesdays=Ox,t.utcThursday=Px,t.utcThursdays=Fx,t.utcFriday=Lx,t.utcFridays=Ix,t.utcSaturday=Rx,t.utcSaturdays=Yx,t.utcMonth=Bx,t.utcMonths=Hx,t.utcYear=jx,t.utcYears=$x,t.timeFormatDefaultLocale=Ja,t.timeFormatLocale=ra,t.isoFormat=Jx,t.isoParse=Qx,t.now=_n,t.timer=mn,t.timerFlush=xn,t.timeout=up,t.interval=ap,t.transition=ee,t.active=hd,t.interrupt=gp,t.voronoi=$w,t.zoom=Gw,t.zoomTransform=Fs,t.zoomIdentity=Ww,Object.defineProperty(t,"__esModule",{value:!0})}); | |
| 0 | 9 | \ No newline at end of file | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/js/jquery.actual.min.js
0 → 100644
| 1 | +/*! Copyright 2012, Ben Lin (http://dreamerslab.com/) | |
| 2 | + * Licensed under the MIT License (LICENSE.txt). | |
| 3 | + * | |
| 4 | + * Version: 1.0.18 | |
| 5 | + * | |
| 6 | + * Requires: jQuery >= 1.2.3 | |
| 7 | + */ | |
| 8 | +(function(a){if(typeof define==="function"&&define.amd){define(["jquery"],a); | |
| 9 | +}else{a(jQuery);}}(function(a){a.fn.addBack=a.fn.addBack||a.fn.andSelf;a.fn.extend({actual:function(b,l){if(!this[b]){throw'$.actual => The jQuery method "'+b+'" you called does not exist'; | |
| 10 | +}var f={absolute:false,clone:false,includeMargin:false,display:"block"};var i=a.extend(f,l);var e=this.eq(0);var h,j;if(i.clone===true){h=function(){var m="position: absolute !important; top: -1000 !important; "; | |
| 11 | +e=e.clone().attr("style",m).appendTo("body");};j=function(){e.remove();};}else{var g=[];var d="";var c;h=function(){c=e.parents().addBack().filter(":hidden"); | |
| 12 | +d+="visibility: hidden !important; display: "+i.display+" !important; ";if(i.absolute===true){d+="position: absolute !important; ";}c.each(function(){var m=a(this); | |
| 13 | +var n=m.attr("style");g.push(n);m.attr("style",n?n+";"+d:d);});};j=function(){c.each(function(m){var o=a(this);var n=g[m];if(n===undefined){o.removeAttr("style"); | |
| 14 | +}else{o.attr("style",n);}});};}h();var k=/(outer)/.test(b)?e[b](i.includeMargin):e[b]();j();return k;}});})); | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/js/jquery.contextMenu.min.js
0 → 100644
| 1 | +/*! | |
| 2 | + * jQuery contextMenu v2.2.5-dev - Plugin for simple contextMenu handling | |
| 3 | + * | |
| 4 | + * Version: v2.2.5-dev | |
| 5 | + * | |
| 6 | + * Authors: Björn Brala (SWIS.nl), Rodney Rehm, Addy Osmani (patches for FF) | |
| 7 | + * Web: http://swisnl.github.io/jQuery-contextMenu/ | |
| 8 | + * | |
| 9 | + * Copyright (c) 2011-2016 SWIS BV and contributors | |
| 10 | + * | |
| 11 | + * Licensed under | |
| 12 | + * MIT License http://www.opensource.org/licenses/mit-license | |
| 13 | + * GPL v3 http://opensource.org/licenses/GPL-3.0 | |
| 14 | + * | |
| 15 | + * Date: 2016-08-27T11:09:09.141Z | |
| 16 | + */ | |
| 17 | +!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e("object"==typeof exports?require("jquery"):jQuery)}(function(e){"use strict";function t(e){for(var t,n=e.split(/\s+/),a=[],o=0;t=n[o];o++)t=t.charAt(0).toUpperCase(),a.push(t);return a}function n(t){return t.id&&e('label[for="'+t.id+'"]').val()||t.name}function a(t,o,s){return s||(s=0),o.each(function(){var o,i,c=e(this),r=this,l=this.nodeName.toLowerCase();switch("label"===l&&c.find("input, textarea, select").length&&(o=c.text(),c=c.children().first(),r=c.get(0),l=r.nodeName.toLowerCase()),l){case"menu":i={name:c.attr("label"),items:{}},s=a(i.items,c.children(),s);break;case"a":case"button":i={name:c.text(),disabled:!!c.attr("disabled"),callback:function(){return function(){c.click()}}()};break;case"menuitem":case"command":switch(c.attr("type")){case void 0:case"command":case"menuitem":i={name:c.attr("label"),disabled:!!c.attr("disabled"),icon:c.attr("icon"),callback:function(){return function(){c.click()}}()};break;case"checkbox":i={type:"checkbox",disabled:!!c.attr("disabled"),name:c.attr("label"),selected:!!c.attr("checked")};break;case"radio":i={type:"radio",disabled:!!c.attr("disabled"),name:c.attr("label"),radio:c.attr("radiogroup"),value:c.attr("id"),selected:!!c.attr("checked")};break;default:i=void 0}break;case"hr":i="-------";break;case"input":switch(c.attr("type")){case"text":i={type:"text",name:o||n(r),disabled:!!c.attr("disabled"),value:c.val()};break;case"checkbox":i={type:"checkbox",name:o||n(r),disabled:!!c.attr("disabled"),selected:!!c.attr("checked")};break;case"radio":i={type:"radio",name:o||n(r),disabled:!!c.attr("disabled"),radio:!!c.attr("name"),value:c.val(),selected:!!c.attr("checked")};break;default:i=void 0}break;case"select":i={type:"select",name:o||n(r),disabled:!!c.attr("disabled"),selected:c.val(),options:{}},c.children().each(function(){i.options[this.value]=e(this).text()});break;case"textarea":i={type:"textarea",name:o||n(r),disabled:!!c.attr("disabled"),value:c.val()};break;case"label":break;default:i={type:"html",html:c.clone(!0)}}i&&(s++,t["key"+s]=i)}),s}e.support.htmlMenuitem="HTMLMenuItemElement"in window,e.support.htmlCommand="HTMLCommandElement"in window,e.support.eventSelectstart="onselectstart"in document.documentElement,e.ui&&e.widget||(e.cleanData=function(t){return function(n){var a,o,s;for(s=0;null!=n[s];s++){o=n[s];try{a=e._data(o,"events"),a&&a.remove&&e(o).triggerHandler("remove")}catch(i){}}t(n)}}(e.cleanData));var o=null,s=!1,i=e(window),c=0,r={},l={},u={},d={selector:null,appendTo:null,trigger:"right",autoHide:!1,delay:200,reposition:!0,classNames:{hover:"context-menu-hover",disabled:"context-menu-disabled",visible:"context-menu-visible",notSelectable:"context-menu-not-selectable",icon:"context-menu-icon",iconEdit:"context-menu-icon-edit",iconCut:"context-menu-icon-cut",iconCopy:"context-menu-icon-copy",iconPaste:"context-menu-icon-paste",iconDelete:"context-menu-icon-delete",iconAdd:"context-menu-icon-add",iconQuit:"context-menu-icon-quit"},determinePosition:function(t){if(e.ui&&e.ui.position)t.css("display","block").position({my:"center top",at:"center bottom",of:this,offset:"0 5",collision:"fit"}).css("display","none");else{var n=this.offset();n.top+=this.outerHeight(),n.left+=this.outerWidth()/2-t.outerWidth()/2,t.css(n)}},position:function(e,t,n){var a;if(!t&&!n)return void e.determinePosition.call(this,e.$menu);a="maintain"===t&&"maintain"===n?e.$menu.position():{top:n,left:t};var o=i.scrollTop()+i.height(),s=i.scrollLeft()+i.width(),c=e.$menu.outerHeight(),r=e.$menu.outerWidth();a.top+c>o&&(a.top-=c),a.top<0&&(a.top=0),a.left+r>s&&(a.left-=r),a.left<0&&(a.left=0),e.$menu.css(a)},positionSubmenu:function(t){if(e.ui&&e.ui.position)t.css("display","block").position({my:"left top",at:"right top",of:this,collision:"flipfit fit"}).css("display","");else{var n={top:0,left:this.outerWidth()};t.css(n)}},zIndex:1,animation:{duration:50,show:"slideDown",hide:"slideUp"},events:{show:e.noop,hide:e.noop},callback:null,items:{}},m={timer:null,pageX:null,pageY:null},p=function(e){for(var t=0,n=e;;)if(t=Math.max(t,parseInt(n.css("z-index"),10)||0),n=n.parent(),!n||!n.length||"html body".indexOf(n.prop("nodeName").toLowerCase())>-1)break;return t},f={abortevent:function(e){e.preventDefault(),e.stopImmediatePropagation()},contextmenu:function(t){var n=e(this);if("right"===t.data.trigger&&(t.preventDefault(),t.stopImmediatePropagation()),!("right"!==t.data.trigger&&"demand"!==t.data.trigger&&t.originalEvent||!(void 0===t.mouseButton||!t.data||"left"===t.data.trigger&&0===t.mouseButton||"right"===t.data.trigger&&2===t.mouseButton)||n.hasClass("context-menu-active")||n.hasClass("context-menu-disabled"))){if(o=n,t.data.build){var a=t.data.build(o,t);if(a===!1)return;if(t.data=e.extend(!0,{},d,t.data,a||{}),!t.data.items||e.isEmptyObject(t.data.items))throw window.console&&(console.error||console.log).call(console,"No items specified to show in contextMenu"),new Error("No Items specified");t.data.$trigger=o,h.create(t.data)}var s=!1;for(var i in t.data.items)if(t.data.items.hasOwnProperty(i)){var c;c=e.isFunction(t.data.items[i].visible)?t.data.items[i].visible.call(e(t.currentTarget),i,t.data):"undefined"==typeof i.visible||t.data.items[i].visible===!0,c&&(s=!0)}s&&h.show.call(n,t.data,t.pageX,t.pageY)}},click:function(t){t.preventDefault(),t.stopImmediatePropagation(),e(this).trigger(e.Event("contextmenu",{data:t.data,pageX:t.pageX,pageY:t.pageY}))},mousedown:function(t){var n=e(this);o&&o.length&&!o.is(n)&&o.data("contextMenu").$menu.trigger("contextmenu:hide"),2===t.button&&(o=n.data("contextMenuActive",!0))},mouseup:function(t){var n=e(this);n.data("contextMenuActive")&&o&&o.length&&o.is(n)&&!n.hasClass("context-menu-disabled")&&(t.preventDefault(),t.stopImmediatePropagation(),o=n,n.trigger(e.Event("contextmenu",{data:t.data,pageX:t.pageX,pageY:t.pageY}))),n.removeData("contextMenuActive")},mouseenter:function(t){var n=e(this),a=e(t.relatedTarget),s=e(document);a.is(".context-menu-list")||a.closest(".context-menu-list").length||o&&o.length||(m.pageX=t.pageX,m.pageY=t.pageY,m.data=t.data,s.on("mousemove.contextMenuShow",f.mousemove),m.timer=setTimeout(function(){m.timer=null,s.off("mousemove.contextMenuShow"),o=n,n.trigger(e.Event("contextmenu",{data:m.data,pageX:m.pageX,pageY:m.pageY}))},t.data.delay))},mousemove:function(e){m.pageX=e.pageX,m.pageY=e.pageY},mouseleave:function(t){var n=e(t.relatedTarget);if(!n.is(".context-menu-list")&&!n.closest(".context-menu-list").length){try{clearTimeout(m.timer)}catch(t){}m.timer=null}},layerClick:function(t){var n,a,o=e(this),s=o.data("contextMenuRoot"),c=t.button,r=t.pageX,l=t.pageY;t.preventDefault(),t.stopImmediatePropagation(),setTimeout(function(){var o,u="left"===s.trigger&&0===c||"right"===s.trigger&&2===c;if(document.elementFromPoint&&s.$layer&&(s.$layer.hide(),n=document.elementFromPoint(r-i.scrollLeft(),l-i.scrollTop()),s.$layer.show()),s.reposition&&u)if(document.elementFromPoint){if(s.$trigger.is(n)||s.$trigger.has(n).length)return void s.position.call(s.$trigger,s,r,l)}else if(a=s.$trigger.offset(),o=e(window),a.top+=o.scrollTop(),a.top<=t.pageY&&(a.left+=o.scrollLeft(),a.left<=t.pageX&&(a.bottom=a.top+s.$trigger.outerHeight(),a.bottom>=t.pageY&&(a.right=a.left+s.$trigger.outerWidth(),a.right>=t.pageX))))return void s.position.call(s.$trigger,s,r,l);n&&u&&s.$trigger.one("contextmenu:hidden",function(){e(n).contextMenu({x:r,y:l,button:c})}),null!=s&&null!=s.$menu&&s.$menu.trigger("contextmenu:hide")},50)},keyStop:function(e,t){t.isInput||e.preventDefault(),e.stopPropagation()},key:function(e){var t={};o&&(t=o.data("contextMenu")||{}),void 0===t.zIndex&&(t.zIndex=0);var n=0,a=function(e){""!==e.style.zIndex?n=e.style.zIndex:null!==e.offsetParent&&void 0!==e.offsetParent?a(e.offsetParent):null!==e.parentElement&&void 0!==e.parentElement&&a(e.parentElement)};if(a(e.target),!(n>t.zIndex)){switch(e.keyCode){case 9:case 38:if(f.keyStop(e,t),t.isInput){if(9===e.keyCode&&e.shiftKey)return e.preventDefault(),t.$selected&&t.$selected.find("input, textarea, select").blur(),void t.$menu.trigger("prevcommand");if(38===e.keyCode&&"checkbox"===t.$selected.find("input, textarea, select").prop("type"))return void e.preventDefault()}else if(9!==e.keyCode||e.shiftKey)return void t.$menu.trigger("prevcommand");break;case 40:if(f.keyStop(e,t),!t.isInput)return void t.$menu.trigger("nextcommand");if(9===e.keyCode)return e.preventDefault(),t.$selected&&t.$selected.find("input, textarea, select").blur(),void t.$menu.trigger("nextcommand");if(40===e.keyCode&&"checkbox"===t.$selected.find("input, textarea, select").prop("type"))return void e.preventDefault();break;case 37:if(f.keyStop(e,t),t.isInput||!t.$selected||!t.$selected.length)break;if(!t.$selected.parent().hasClass("context-menu-root")){var s=t.$selected.parent().parent();return t.$selected.trigger("contextmenu:blur"),void(t.$selected=s)}break;case 39:if(f.keyStop(e,t),t.isInput||!t.$selected||!t.$selected.length)break;var i=t.$selected.data("contextMenu")||{};if(i.$menu&&t.$selected.hasClass("context-menu-submenu"))return t.$selected=null,i.$selected=null,void i.$menu.trigger("nextcommand");break;case 35:case 36:return t.$selected&&t.$selected.find("input, textarea, select").length?void 0:((t.$selected&&t.$selected.parent()||t.$menu).children(":not(."+t.classNames.disabled+", ."+t.classNames.notSelectable+")")[36===e.keyCode?"first":"last"]().trigger("contextmenu:focus"),void e.preventDefault());case 13:if(f.keyStop(e,t),t.isInput){if(t.$selected&&!t.$selected.is("textarea, select"))return void e.preventDefault();break}return void("undefined"!=typeof t.$selected&&null!==t.$selected&&t.$selected.trigger("mouseup"));case 32:case 33:case 34:return void f.keyStop(e,t);case 27:return f.keyStop(e,t),void t.$menu.trigger("contextmenu:hide");default:var c=String.fromCharCode(e.keyCode).toUpperCase();if(t.accesskeys&&t.accesskeys[c])return void t.accesskeys[c].$node.trigger(t.accesskeys[c].$menu?"contextmenu:focus":"mouseup")}e.stopPropagation(),"undefined"!=typeof t.$selected&&null!==t.$selected&&t.$selected.trigger(e)}},prevItem:function(t){t.stopPropagation();var n=e(this).data("contextMenu")||{},a=e(this).data("contextMenuRoot")||{};if(n.$selected){var o=n.$selected;n=n.$selected.parent().data("contextMenu")||{},n.$selected=o}for(var s=n.$menu.children(),i=n.$selected&&n.$selected.prev().length?n.$selected.prev():s.last(),c=i;i.hasClass(a.classNames.disabled)||i.hasClass(a.classNames.notSelectable)||i.is(":hidden");)if(i=i.prev().length?i.prev():s.last(),i.is(c))return;n.$selected&&f.itemMouseleave.call(n.$selected.get(0),t),f.itemMouseenter.call(i.get(0),t);var r=i.find("input, textarea, select");r.length&&r.focus()},nextItem:function(t){t.stopPropagation();var n=e(this).data("contextMenu")||{},a=e(this).data("contextMenuRoot")||{};if(n.$selected){var o=n.$selected;n=n.$selected.parent().data("contextMenu")||{},n.$selected=o}for(var s=n.$menu.children(),i=n.$selected&&n.$selected.next().length?n.$selected.next():s.first(),c=i;i.hasClass(a.classNames.disabled)||i.hasClass(a.classNames.notSelectable)||i.is(":hidden");)if(i=i.next().length?i.next():s.first(),i.is(c))return;n.$selected&&f.itemMouseleave.call(n.$selected.get(0),t),f.itemMouseenter.call(i.get(0),t);var r=i.find("input, textarea, select");r.length&&r.focus()},focusInput:function(){var t=e(this).closest(".context-menu-item"),n=t.data(),a=n.contextMenu,o=n.contextMenuRoot;o.$selected=a.$selected=t,o.isInput=a.isInput=!0},blurInput:function(){var t=e(this).closest(".context-menu-item"),n=t.data(),a=n.contextMenu,o=n.contextMenuRoot;o.isInput=a.isInput=!1},menuMouseenter:function(){var t=e(this).data().contextMenuRoot;t.hovering=!0},menuMouseleave:function(t){var n=e(this).data().contextMenuRoot;n.$layer&&n.$layer.is(t.relatedTarget)&&(n.hovering=!1)},itemMouseenter:function(t){var n=e(this),a=n.data(),o=a.contextMenu,s=a.contextMenuRoot;return s.hovering=!0,t&&s.$layer&&s.$layer.is(t.relatedTarget)&&(t.preventDefault(),t.stopImmediatePropagation()),(o.$menu?o:s).$menu.children("."+s.classNames.hover).trigger("contextmenu:blur").children(".hover").trigger("contextmenu:blur"),n.hasClass(s.classNames.disabled)||n.hasClass(s.classNames.notSelectable)?void(o.$selected=null):void n.trigger("contextmenu:focus")},itemMouseleave:function(t){var n=e(this),a=n.data(),o=a.contextMenu,s=a.contextMenuRoot;return s!==o&&s.$layer&&s.$layer.is(t.relatedTarget)?("undefined"!=typeof s.$selected&&null!==s.$selected&&s.$selected.trigger("contextmenu:blur"),t.preventDefault(),t.stopImmediatePropagation(),void(s.$selected=o.$selected=o.$node)):void n.trigger("contextmenu:blur")},itemClick:function(t){var n,a=e(this),o=a.data(),s=o.contextMenu,i=o.contextMenuRoot,c=o.contextMenuKey;if(s.items[c]&&!a.is("."+i.classNames.disabled+", .context-menu-submenu, .context-menu-separator, ."+i.classNames.notSelectable)){if(t.preventDefault(),t.stopImmediatePropagation(),e.isFunction(s.callbacks[c])&&Object.prototype.hasOwnProperty.call(s.callbacks,c))n=s.callbacks[c];else{if(!e.isFunction(i.callback))return;n=i.callback}n.call(i.$trigger,c,i)!==!1?i.$menu.trigger("contextmenu:hide"):i.$menu.parent().length&&h.update.call(i.$trigger,i)}},inputClick:function(e){e.stopImmediatePropagation()},hideMenu:function(t,n){var a=e(this).data("contextMenuRoot");h.hide.call(a.$trigger,a,n&&n.force)},focusItem:function(t){t.stopPropagation();var n=e(this),a=n.data(),o=a.contextMenu,s=a.contextMenuRoot;n.hasClass(s.classNames.disabled)||n.hasClass(s.classNames.notSelectable)||(n.addClass([s.classNames.hover,s.classNames.visible].join(" ")).parent().find(".context-menu-item").not(n).removeClass(s.classNames.visible).filter("."+s.classNames.hover).trigger("contextmenu:blur"),o.$selected=s.$selected=n,o.$node&&s.positionSubmenu.call(o.$node,o.$menu))},blurItem:function(t){t.stopPropagation();var n=e(this),a=n.data(),o=a.contextMenu,s=a.contextMenuRoot;o.autoHide&&n.removeClass(s.classNames.visible),n.removeClass(s.classNames.hover),o.$selected=null}},h={show:function(t,n,a){var s=e(this),i={};if(e("#context-menu-layer").trigger("mousedown"),t.$trigger=s,t.events.show.call(s,t)===!1)return void(o=null);if(h.update.call(s,t),t.position.call(s,t,n,a),t.zIndex){var c=t.zIndex;"function"==typeof t.zIndex&&(c=t.zIndex.call(s,t)),i.zIndex=p(s)+c}h.layer.call(t.$menu,t,i.zIndex),t.$menu.find("ul").css("zIndex",i.zIndex+1),t.$menu.css(i)[t.animation.show](t.animation.duration,function(){s.trigger("contextmenu:visible")}),s.data("contextMenu",t).addClass("context-menu-active"),e(document).off("keydown.contextMenu").on("keydown.contextMenu",f.key),t.autoHide&&e(document).on("mousemove.contextMenuAutoHide",function(e){var n=s.offset();n.right=n.left+s.outerWidth(),n.bottom=n.top+s.outerHeight(),!t.$layer||t.hovering||e.pageX>=n.left&&e.pageX<=n.right&&e.pageY>=n.top&&e.pageY<=n.bottom||setTimeout(function(){t.hovering||null==t.$menu||t.$menu.trigger("contextmenu:hide")},50)})},hide:function(t,n){var a=e(this);if(t||(t=a.data("contextMenu")||{}),n||!t.events||t.events.hide.call(a,t)!==!1){if(a.removeData("contextMenu").removeClass("context-menu-active"),t.$layer){setTimeout(function(e){return function(){e.remove()}}(t.$layer),10);try{delete t.$layer}catch(s){t.$layer=null}}o=null,t.$menu.find("."+t.classNames.hover).trigger("contextmenu:blur"),t.$selected=null,t.$menu.find("."+t.classNames.visible).removeClass(t.classNames.visible),e(document).off(".contextMenuAutoHide").off("keydown.contextMenu"),t.$menu&&t.$menu[t.animation.hide](t.animation.duration,function(){t.build&&(t.$menu.remove(),e.each(t,function(e){switch(e){case"ns":case"selector":case"build":case"trigger":return!0;default:t[e]=void 0;try{delete t[e]}catch(n){}return!0}})),setTimeout(function(){a.trigger("contextmenu:hidden")},10)})}},create:function(n,a){function o(t){var n=e("<span></span>");if(t._accesskey)t._beforeAccesskey&&n.append(document.createTextNode(t._beforeAccesskey)),e("<span></span>").addClass("context-menu-accesskey").text(t._accesskey).appendTo(n),t._afterAccesskey&&n.append(document.createTextNode(t._afterAccesskey));else if(t.isHtmlName){if("undefined"!=typeof t.accesskey)throw new Error("accesskeys are not compatible with HTML names and cannot be used together in the same item");n.html(t.name)}else n.text(t.name);return n}void 0===a&&(a=n),n.$menu=e('<ul class="context-menu-list"></ul>').addClass(n.className||"").data({contextMenu:n,contextMenuRoot:a}),e.each(["callbacks","commands","inputs"],function(e,t){n[t]={},a[t]||(a[t]={})}),a.accesskeys||(a.accesskeys={}),e.each(n.items,function(s,i){var c=e('<li class="context-menu-item"></li>').addClass(i.className||""),r=null,l=null;if(c.on("click",e.noop),"string"!=typeof i&&"cm_separator"!==i.type||(i={type:"cm_seperator"}),i.$node=c.data({contextMenu:n,contextMenuRoot:a,contextMenuKey:s}),"undefined"!=typeof i.accesskey)for(var d,m=t(i.accesskey),p=0;d=m[p];p++)if(!a.accesskeys[d]){a.accesskeys[d]=i;var x=i.name.match(new RegExp("^(.*?)("+d+")(.*)$","i"));x&&(i._beforeAccesskey=x[1],i._accesskey=x[2],i._afterAccesskey=x[3]);break}if(i.type&&u[i.type])u[i.type].call(c,i,n,a),e.each([n,a],function(t,a){a.commands[s]=i,!e.isFunction(i.callback)||void 0!==a.callbacks[s]&&void 0!==n.type||(a.callbacks[s]=i.callback)});else{switch("cm_seperator"===i.type?c.addClass("context-menu-separator "+a.classNames.notSelectable):"html"===i.type?c.addClass("context-menu-html "+a.classNames.notSelectable):i.type?(r=e("<label></label>").appendTo(c),o(i).appendTo(r),c.addClass("context-menu-input"),n.hasTypes=!0,e.each([n,a],function(e,t){t.commands[s]=i,t.inputs[s]=i})):i.items&&(i.type="sub"),i.type){case"cm_seperator":break;case"text":l=e('<input type="text" value="1" name="" value="">').attr("name","context-menu-input-"+s).val(i.value||"").appendTo(r);break;case"textarea":l=e('<textarea name=""></textarea>').attr("name","context-menu-input-"+s).val(i.value||"").appendTo(r),i.height&&l.height(i.height);break;case"checkbox":l=e('<input type="checkbox" value="1" name="" value="">').attr("name","context-menu-input-"+s).val(i.value||"").prop("checked",!!i.selected).prependTo(r);break;case"radio":l=e('<input type="radio" value="1" name="" value="">').attr("name","context-menu-input-"+i.radio).val(i.value||"").prop("checked",!!i.selected).prependTo(r);break;case"select":l=e('<select name="">').attr("name","context-menu-input-"+s).appendTo(r),i.options&&(e.each(i.options,function(t,n){e("<option></option>").val(t).text(n).appendTo(l)}),l.val(i.selected));break;case"sub":o(i).appendTo(c),i.appendTo=i.$node,h.create(i,a),c.data("contextMenu",i).addClass("context-menu-submenu"),i.callback=null;break;case"html":e(i.html).appendTo(c);break;default:e.each([n,a],function(t,a){a.commands[s]=i,!e.isFunction(i.callback)||void 0!==a.callbacks[s]&&void 0!==n.type||(a.callbacks[s]=i.callback)}),o(i).appendTo(c)}i.type&&"sub"!==i.type&&"html"!==i.type&&"cm_seperator"!==i.type&&(l.on("focus",f.focusInput).on("blur",f.blurInput),i.events&&l.on(i.events,n)),i.icon&&(e.isFunction(i.icon)?i._icon=i.icon.call(this,this,c,s,i):"string"==typeof i.icon&&"fa-"==i.icon.substring(0,3)?i._icon=a.classNames.icon+" "+a.classNames.icon+"--fa fa "+i.icon:i._icon=a.classNames.icon+" "+a.classNames.icon+"-"+i.icon,c.addClass(i._icon))}i.$input=l,i.$label=r,c.appendTo(n.$menu),!n.hasTypes&&e.support.eventSelectstart&&c.on("selectstart.disableTextSelect",f.abortevent)}),n.$node||n.$menu.css("display","none").addClass("context-menu-root"),n.$menu.appendTo(n.appendTo||document.body)},resize:function(t,n){var a;t.css({position:"absolute",display:"block"}),t.data("width",(a=t.get(0)).getBoundingClientRect?Math.ceil(a.getBoundingClientRect().width):t.outerWidth()+1),t.css({position:"static",minWidth:"0px",maxWidth:"100000px"}),t.find("> li > ul").each(function(){h.resize(e(this),!0)}),n||t.find("ul").addBack().css({position:"",display:"",minWidth:"",maxWidth:""}).outerWidth(function(){return e(this).data("width")})},update:function(t,n){var a=this;void 0===n&&(n=t,h.resize(t.$menu)),t.$menu.children().each(function(){var o,s=e(this),i=s.data("contextMenuKey"),c=t.items[i],r=e.isFunction(c.disabled)&&c.disabled.call(a,i,n)||c.disabled===!0;if(o=e.isFunction(c.visible)?c.visible.call(a,i,n):"undefined"==typeof c.visible||c.visible===!0,s[o?"show":"hide"](),s[r?"addClass":"removeClass"](n.classNames.disabled),e.isFunction(c.icon)&&(s.removeClass(c._icon),c._icon=c.icon.call(this,a,s,i,c),s.addClass(c._icon)),c.type)switch(s.find("input, select, textarea").prop("disabled",r),c.type){case"text":case"textarea":c.$input.val(c.value||"");break;case"checkbox":case"radio":c.$input.val(c.value||"").prop("checked",!!c.selected);break;case"select":c.$input.val(c.selected||"")}c.$menu&&h.update.call(a,c,n)})},layer:function(t,n){var a=t.$layer=e('<div id="context-menu-layer" style="position:fixed; z-index:'+n+'; top:0; left:0; opacity: 0; filter: alpha(opacity=0); background-color: #000;"></div>').css({height:i.height(),width:i.width(),display:"block"}).data("contextMenuRoot",t).insertBefore(this).on("contextmenu",f.abortevent).on("mousedown",f.layerClick);return void 0===document.body.style.maxWidth&&a.css({position:"absolute",height:e(document).height()}),a}};e.fn.contextMenu=function(t){var n=this,a=t;if(this.length>0)if(void 0===t)this.first().trigger("contextmenu");else if(void 0!==t.x&&void 0!==t.y)this.first().trigger(e.Event("contextmenu",{pageX:t.x,pageY:t.y,mouseButton:t.button}));else if("hide"===t){var o=this.first().data("contextMenu")?this.first().data("contextMenu").$menu:null;o&&o.trigger("contextmenu:hide")}else"destroy"===t?e.contextMenu("destroy",{context:this}):e.isPlainObject(t)?(t.context=this,e.contextMenu("create",t)):t?this.removeClass("context-menu-disabled"):t||this.addClass("context-menu-disabled");else e.each(l,function(){this.selector===n.selector&&(a.data=this,e.extend(a.data,{trigger:"demand"}))}),f.contextmenu.call(a.target,a);return this},e.contextMenu=function(t,n){"string"!=typeof t&&(n=t,t="create"),"string"==typeof n?n={selector:n}:void 0===n&&(n={});var a=e.extend(!0,{},d,n||{}),o=e(document),i=o,u=!1;switch(a.context&&a.context.length?(i=e(a.context).first(),a.context=i.get(0),u=!e(a.context).is(document)):a.context=document,t){case"create":if(!a.selector)throw new Error("No selector specified");if(a.selector.match(/.context-menu-(list|item|input)($|\s)/))throw new Error('Cannot bind to selector "'+a.selector+'" as it contains a reserved className');if(!a.build&&(!a.items||e.isEmptyObject(a.items)))throw new Error("No Items specified");if(c++,a.ns=".contextMenu"+c,u||(r[a.selector]=a.ns),l[a.ns]=a,a.trigger||(a.trigger="right"),!s){var m="click"===a.itemClickEvent?"click.contextMenu":"mouseup.contextMenu",p={"contextmenu:focus.contextMenu":f.focusItem,"contextmenu:blur.contextMenu":f.blurItem,"contextmenu.contextMenu":f.abortevent,"mouseenter.contextMenu":f.itemMouseenter,"mouseleave.contextMenu":f.itemMouseleave};p[m]=f.itemClick,o.on({"contextmenu:hide.contextMenu":f.hideMenu,"prevcommand.contextMenu":f.prevItem,"nextcommand.contextMenu":f.nextItem,"contextmenu.contextMenu":f.abortevent,"mouseenter.contextMenu":f.menuMouseenter,"mouseleave.contextMenu":f.menuMouseleave},".context-menu-list").on("mouseup.contextMenu",".context-menu-input",f.inputClick).on(p,".context-menu-item"),s=!0}switch(i.on("contextmenu"+a.ns,a.selector,a,f.contextmenu),u&&i.on("remove"+a.ns,function(){e(this).contextMenu("destroy")}),a.trigger){case"hover":i.on("mouseenter"+a.ns,a.selector,a,f.mouseenter).on("mouseleave"+a.ns,a.selector,a,f.mouseleave);break;case"left":i.on("click"+a.ns,a.selector,a,f.click)}a.build||h.create(a);break;case"destroy":var x;if(u){var v=a.context;e.each(l,function(t,n){if(!e(v).is(n.selector))return!0;x=e(".context-menu-list").filter(":visible"),x.length&&x.data().contextMenuRoot.$trigger.is(e(n.context).find(n.selector))&&x.trigger("contextmenu:hide",{force:!0});try{l[n.ns].$menu&&l[n.ns].$menu.remove(),delete l[n.ns]}catch(a){l[n.ns]=null}return e(n.context).off(n.ns),!0})}else if(a.selector){if(r[a.selector]){x=e(".context-menu-list").filter(":visible"),x.length&&x.data().contextMenuRoot.$trigger.is(a.selector)&&x.trigger("contextmenu:hide",{force:!0});try{l[r[a.selector]].$menu&&l[r[a.selector]].$menu.remove(),delete l[r[a.selector]]}catch(g){l[r[a.selector]]=null}o.off(r[a.selector])}}else o.off(".contextMenu .contextMenuAutoHide"),e.each(l,function(t,n){e(n.context).off(n.ns)}),r={},l={},c=0,s=!1,e("#context-menu-layer, .context-menu-list").remove();break;case"html5":(!e.support.htmlCommand&&!e.support.htmlMenuitem||"boolean"==typeof n&&n)&&e('menu[type="context"]').each(function(){this.id&&e.contextMenu({selector:"[contextmenu="+this.id+"]",items:e.contextMenu.fromMenu(this)})}).css("display","none");break;default:throw new Error('Unknown operation "'+t+'"')}return this},e.contextMenu.setInputValues=function(t,n){void 0===n&&(n={}),e.each(t.inputs,function(e,t){switch(t.type){case"text":case"textarea":t.value=n[e]||"";break;case"checkbox":t.selected=!!n[e];break;case"radio":t.selected=(n[t.radio]||"")===t.value;break;case"select":t.selected=n[e]||""}})},e.contextMenu.getInputValues=function(t,n){return void 0===n&&(n={}),e.each(t.inputs,function(e,t){switch(t.type){case"text":case"textarea":case"select":n[e]=t.$input.val();break;case"checkbox":n[e]=t.$input.prop("checked");break;case"radio":t.$input.prop("checked")&&(n[t.radio]=t.value)}}),n},e.contextMenu.fromMenu=function(t){var n=e(t),o={};return a(o,n.children()),o},e.contextMenu.defaults=d,e.contextMenu.types=u,e.contextMenu.handle=f,e.contextMenu.op=h,e.contextMenu.menus=l}); | |
| 18 | +//# sourceMappingURL=jquery.contextMenu.min.js.map | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/js/jquery.min.js
0 → 100644
| 1 | +/*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ | |
| 2 | +!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l="1.11.1",m=function(a,b){return new m.fn.init(a,b)},n=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,o=/^-ms-/,p=/-([\da-z])/gi,q=function(a,b){return b.toUpperCase()};m.fn=m.prototype={jquery:l,constructor:m,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=m.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return m.each(this,a,b)},map:function(a){return this.pushStack(m.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},m.extend=m.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||m.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(m.isPlainObject(c)||(b=m.isArray(c)))?(b?(b=!1,f=a&&m.isArray(a)?a:[]):f=a&&m.isPlainObject(a)?a:{},g[d]=m.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},m.extend({expando:"jQuery"+(l+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===m.type(a)},isArray:Array.isArray||function(a){return"array"===m.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return!m.isArray(a)&&a-parseFloat(a)>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==m.type(a)||a.nodeType||m.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,"constructor")&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(k.ownLast)for(b in a)return j.call(a,b);for(b in a);return void 0===b||j.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(b){b&&m.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(o,"ms-").replace(p,q)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=r(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(n,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(r(Object(a))?m.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=r(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(f=a[b],b=a,a=f),m.isFunction(a)?(c=d.call(arguments,2),e=function(){return a.apply(b||this,c.concat(d.call(arguments)))},e.guid=a.guid=a.guid||m.guid++,e):void 0},now:function(){return+new Date},support:k}),m.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function r(a){var b=a.length,c=m.type(a);return"function"===c||m.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var s=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+-new Date,v=a.document,w=0,x=0,y=gb(),z=gb(),A=gb(),B=function(a,b){return a===b&&(l=!0),0},C="undefined",D=1<<31,E={}.hasOwnProperty,F=[],G=F.pop,H=F.push,I=F.push,J=F.slice,K=F.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",N="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",O=N.replace("w","w#"),P="\\["+M+"*("+N+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+O+"))|)"+M+"*\\]",Q=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+P+")*)|.*)\\)|)",R=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),S=new RegExp("^"+M+"*,"+M+"*"),T=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),V=new RegExp(Q),W=new RegExp("^"+O+"$"),X={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+Q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ab=/[+~]/,bb=/'|\\/g,cb=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),db=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)};try{I.apply(F=J.call(v.childNodes),v.childNodes),F[v.childNodes.length].nodeType}catch(eb){I={apply:F.length?function(a,b){H.apply(a,J.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fb(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],!a||"string"!=typeof a)return d;if(1!==(k=b.nodeType)&&9!==k)return[];if(p&&!e){if(f=_.exec(a))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return I.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName&&b.getElementsByClassName)return I.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=9===k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(bb,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+qb(o[l]);w=ab.test(a)&&ob(b.parentNode)||b,x=o.join(",")}if(x)try{return I.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function gb(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function hb(a){return a[u]=!0,a}function ib(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function jb(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function kb(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||D)-(~a.sourceIndex||D);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function lb(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function mb(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function nb(a){return hb(function(b){return b=+b,hb(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function ob(a){return a&&typeof a.getElementsByTagName!==C&&a}c=fb.support={},f=fb.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fb.setDocument=function(a){var b,e=a?a.ownerDocument||a:v,g=e.defaultView;return e!==n&&9===e.nodeType&&e.documentElement?(n=e,o=e.documentElement,p=!f(e),g&&g!==g.top&&(g.addEventListener?g.addEventListener("unload",function(){m()},!1):g.attachEvent&&g.attachEvent("onunload",function(){m()})),c.attributes=ib(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ib(function(a){return a.appendChild(e.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(e.getElementsByClassName)&&ib(function(a){return a.innerHTML="<div class='a'></div><div class='a i'></div>",a.firstChild.className="i",2===a.getElementsByClassName("i").length}),c.getById=ib(function(a){return o.appendChild(a).id=u,!e.getElementsByName||!e.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if(typeof b.getElementById!==C&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){var c=typeof a.getAttributeNode!==C&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return typeof b.getElementsByTagName!==C?b.getElementsByTagName(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return typeof b.getElementsByClassName!==C&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(e.querySelectorAll))&&(ib(function(a){a.innerHTML="<select msallowclip=''><option selected=''></option></select>",a.querySelectorAll("[msallowclip^='']").length&&q.push("[*^$]="+M+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+M+"*(?:value|"+L+")"),a.querySelectorAll(":checked").length||q.push(":checked")}),ib(function(a){var b=e.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+M+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ib(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",Q)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===e||a.ownerDocument===v&&t(v,a)?-1:b===e||b.ownerDocument===v&&t(v,b)?1:k?K.call(k,a)-K.call(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,f=a.parentNode,g=b.parentNode,h=[a],i=[b];if(!f||!g)return a===e?-1:b===e?1:f?-1:g?1:k?K.call(k,a)-K.call(k,b):0;if(f===g)return kb(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?kb(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},e):n},fb.matches=function(a,b){return fb(a,null,null,b)},fb.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fb(b,n,null,[a]).length>0},fb.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fb.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&E.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fb.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},fb.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fb.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fb.selectors={cacheLength:50,createPseudo:hb,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(cb,db),a[3]=(a[3]||a[4]||a[5]||"").replace(cb,db),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fb.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&fb.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(cb,db).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+M+")"+a+"("+M+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||typeof a.getAttribute!==C&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fb.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fb.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?hb(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=K.call(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:hb(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?hb(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:hb(function(a){return function(b){return fb(a,b).length>0}}),contains:hb(function(a){return function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:hb(function(a){return W.test(a||"")||fb.error("unsupported lang: "+a),a=a.replace(cb,db).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:nb(function(){return[0]}),last:nb(function(a,b){return[b-1]}),eq:nb(function(a,b,c){return[0>c?c+b:c]}),even:nb(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:nb(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:nb(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:nb(function(a,b,c){for(var d=0>c?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=lb(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=mb(b);function pb(){}pb.prototype=d.filters=d.pseudos,d.setFilters=new pb,g=fb.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){(!c||(e=S.exec(h)))&&(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=T.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(R," ")}),h=h.slice(c.length));for(g in d.filter)!(e=X[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?fb.error(a):z(a,i).slice(0)};function qb(a){for(var b=0,c=a.length,d="";c>b;b++)d+=a[b].value;return d}function rb(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function sb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function tb(a,b,c){for(var d=0,e=b.length;e>d;d++)fb(a,b[d],c);return c}function ub(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function vb(a,b,c,d,e,f){return d&&!d[u]&&(d=vb(d)),e&&!e[u]&&(e=vb(e,f)),hb(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||tb(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ub(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ub(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?K.call(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ub(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):I.apply(g,r)})}function wb(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=rb(function(a){return a===b},h,!0),l=rb(function(a){return K.call(b,a)>-1},h,!0),m=[function(a,c,d){return!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d))}];f>i;i++)if(c=d.relative[a[i].type])m=[rb(sb(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return vb(i>1&&sb(m),i>1&&qb(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&wb(a.slice(i,e)),f>e&&wb(a=a.slice(e)),f>e&&qb(a))}m.push(c)}return sb(m)}function xb(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=G.call(i));s=ub(s)}I.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&fb.uniqueSort(i)}return k&&(w=v,j=t),r};return c?hb(f):f}return h=fb.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wb(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xb(e,d)),f.selector=a}return f},i=fb.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(cb,db),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(cb,db),ab.test(j[0].type)&&ob(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qb(j),!a)return I.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,ab.test(a)&&ob(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ib(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ib(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||jb("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ib(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||jb("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ib(function(a){return null==a.getAttribute("disabled")})||jb(L,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fb}(a);m.find=s,m.expr=s.selectors,m.expr[":"]=m.expr.pseudos,m.unique=s.uniqueSort,m.text=s.getText,m.isXMLDoc=s.isXML,m.contains=s.contains;var t=m.expr.match.needsContext,u=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,v=/^.[^:#\[\.,]*$/;function w(a,b,c){if(m.isFunction(b))return m.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return m.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(v.test(b))return m.filter(b,a,c);b=m.filter(b,a)}return m.grep(a,function(a){return m.inArray(a,b)>=0!==c})}m.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?m.find.matchesSelector(d,a)?[d]:[]:m.find.matches(a,m.grep(b,function(a){return 1===a.nodeType}))},m.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(m(a).filter(function(){for(b=0;e>b;b++)if(m.contains(d[b],this))return!0}));for(b=0;e>b;b++)m.find(a,d[b],c);return c=this.pushStack(e>1?m.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(w(this,a||[],!1))},not:function(a){return this.pushStack(w(this,a||[],!0))},is:function(a){return!!w(this,"string"==typeof a&&t.test(a)?m(a):a||[],!1).length}});var x,y=a.document,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=m.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||x).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof m?b[0]:b,m.merge(this,m.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:y,!0)),u.test(c[1])&&m.isPlainObject(b))for(c in b)m.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}if(d=y.getElementById(c[2]),d&&d.parentNode){if(d.id!==c[2])return x.find(a);this.length=1,this[0]=d}return this.context=y,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):m.isFunction(a)?"undefined"!=typeof x.ready?x.ready(a):a(m):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),m.makeArray(a,this))};A.prototype=m.fn,x=m(y);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};m.extend({dir:function(a,b,c){var d=[],e=a[b];while(e&&9!==e.nodeType&&(void 0===c||1!==e.nodeType||!m(e).is(c)))1===e.nodeType&&d.push(e),e=e[b];return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),m.fn.extend({has:function(a){var b,c=m(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(m.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=t.test(a)||"string"!=typeof a?m(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&m.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?m.unique(f):f)},index:function(a){return a?"string"==typeof a?m.inArray(this[0],m(a)):m.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(m.unique(m.merge(this.get(),m(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}m.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return m.dir(a,"parentNode")},parentsUntil:function(a,b,c){return m.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return m.dir(a,"nextSibling")},prevAll:function(a){return m.dir(a,"previousSibling")},nextUntil:function(a,b,c){return m.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return m.dir(a,"previousSibling",c)},siblings:function(a){return m.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return m.sibling(a.firstChild)},contents:function(a){return m.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:m.merge([],a.childNodes)}},function(a,b){m.fn[a]=function(c,d){var e=m.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=m.filter(d,e)),this.length>1&&(C[a]||(e=m.unique(e)),B.test(a)&&(e=e.reverse())),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return m.each(a.match(E)||[],function(a,c){b[c]=!0}),b}m.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):m.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(c=a.memory&&l,d=!0,f=g||0,g=0,e=h.length,b=!0;h&&e>f;f++)if(h[f].apply(l[0],l[1])===!1&&a.stopOnFalse){c=!1;break}b=!1,h&&(i?i.length&&j(i.shift()):c?h=[]:k.disable())},k={add:function(){if(h){var d=h.length;!function f(b){m.each(b,function(b,c){var d=m.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&f(c)})}(arguments),b?e=h.length:c&&(g=d,j(c))}return this},remove:function(){return h&&m.each(arguments,function(a,c){var d;while((d=m.inArray(c,h,d))>-1)h.splice(d,1),b&&(e>=d&&e--,f>=d&&f--)}),this},has:function(a){return a?m.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],e=0,this},disable:function(){return h=i=c=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,c||k.disable(),this},locked:function(){return!i},fireWith:function(a,c){return!h||d&&!i||(c=c||[],c=[a,c.slice?c.slice():c],b?i.push(c):j(c)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!d}};return k},m.extend({Deferred:function(a){var b=[["resolve","done",m.Callbacks("once memory"),"resolved"],["reject","fail",m.Callbacks("once memory"),"rejected"],["notify","progress",m.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return m.Deferred(function(c){m.each(b,function(b,f){var g=m.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&m.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?m.extend(a,d):d}},e={};return d.pipe=d.then,m.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&m.isFunction(a.promise)?e:0,g=1===f?a:m.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&m.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;m.fn.ready=function(a){return m.ready.promise().done(a),this},m.extend({isReady:!1,readyWait:1,holdReady:function(a){a?m.readyWait++:m.ready(!0)},ready:function(a){if(a===!0?!--m.readyWait:!m.isReady){if(!y.body)return setTimeout(m.ready);m.isReady=!0,a!==!0&&--m.readyWait>0||(H.resolveWith(y,[m]),m.fn.triggerHandler&&(m(y).triggerHandler("ready"),m(y).off("ready")))}}});function I(){y.addEventListener?(y.removeEventListener("DOMContentLoaded",J,!1),a.removeEventListener("load",J,!1)):(y.detachEvent("onreadystatechange",J),a.detachEvent("onload",J))}function J(){(y.addEventListener||"load"===event.type||"complete"===y.readyState)&&(I(),m.ready())}m.ready.promise=function(b){if(!H)if(H=m.Deferred(),"complete"===y.readyState)setTimeout(m.ready);else if(y.addEventListener)y.addEventListener("DOMContentLoaded",J,!1),a.addEventListener("load",J,!1);else{y.attachEvent("onreadystatechange",J),a.attachEvent("onload",J);var c=!1;try{c=null==a.frameElement&&y.documentElement}catch(d){}c&&c.doScroll&&!function e(){if(!m.isReady){try{c.doScroll("left")}catch(a){return setTimeout(e,50)}I(),m.ready()}}()}return H.promise(b)};var K="undefined",L;for(L in m(k))break;k.ownLast="0"!==L,k.inlineBlockNeedsLayout=!1,m(function(){var a,b,c,d;c=y.getElementsByTagName("body")[0],c&&c.style&&(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),typeof b.style.zoom!==K&&(b.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",k.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(d))}),function(){var a=y.createElement("div");if(null==k.deleteExpando){k.deleteExpando=!0;try{delete a.test}catch(b){k.deleteExpando=!1}}a=null}(),m.acceptData=function(a){var b=m.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute("classid")===b};var M=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,N=/([A-Z])/g;function O(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(N,"-$1").toLowerCase();if(c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:M.test(c)?m.parseJSON(c):c}catch(e){}m.data(a,b,c)}else c=void 0}return c}function P(a){var b;for(b in a)if(("data"!==b||!m.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeType,j=i?m.cache:a,k=i?a[h]:a[h]&&h; | |
| 3 | +if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||m.guid++:h),j[k]||(j[k]=i?{}:{toJSON:m.noop}),("object"==typeof b||"function"==typeof b)&&(e?j[k]=m.extend(j[k],b):j[k].data=m.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[m.camelCase(b)]=d),"string"==typeof b?(f=g[b],null==f&&(f=g[m.camelCase(b)])):f=g,f}}function R(a,b,c){if(m.acceptData(a)){var d,e,f=a.nodeType,g=f?m.cache:a,h=f?a[m.expando]:m.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){m.isArray(b)?b=b.concat(m.map(b,m.camelCase)):b in d?b=[b]:(b=m.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!P(d):!m.isEmptyObject(d))return}(c||(delete g[h].data,P(g[h])))&&(f?m.cleanData([a],!0):k.deleteExpando||g!=g.window?delete g[h]:g[h]=null)}}}m.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?m.cache[a[m.expando]]:a[m.expando],!!a&&!P(a)},data:function(a,b,c){return Q(a,b,c)},removeData:function(a,b){return R(a,b)},_data:function(a,b,c){return Q(a,b,c,!0)},_removeData:function(a,b){return R(a,b,!0)}}),m.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=m.data(f),1===f.nodeType&&!m._data(f,"parsedAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=m.camelCase(d.slice(5)),O(f,d,e[d])));m._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){m.data(this,a)}):arguments.length>1?this.each(function(){m.data(this,a,b)}):f?O(f,a,m.data(f,a)):void 0},removeData:function(a){return this.each(function(){m.removeData(this,a)})}}),m.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=m._data(a,b),c&&(!d||m.isArray(c)?d=m._data(a,b,m.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=m.queue(a,b),d=c.length,e=c.shift(),f=m._queueHooks(a,b),g=function(){m.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return m._data(a,c)||m._data(a,c,{empty:m.Callbacks("once memory").add(function(){m._removeData(a,b+"queue"),m._removeData(a,c)})})}}),m.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?m.queue(this[0],a):void 0===b?this:this.each(function(){var c=m.queue(this,a,b);m._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&m.dequeue(this,a)})},dequeue:function(a){return this.each(function(){m.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=m.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=m._data(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var S=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=["Top","Right","Bottom","Left"],U=function(a,b){return a=b||a,"none"===m.css(a,"display")||!m.contains(a.ownerDocument,a)},V=m.access=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===m.type(c)){e=!0;for(h in c)m.access(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,m.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(m(a),c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},W=/^(?:checkbox|radio)$/i;!function(){var a=y.createElement("input"),b=y.createElement("div"),c=y.createDocumentFragment();if(b.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",k.leadingWhitespace=3===b.firstChild.nodeType,k.tbody=!b.getElementsByTagName("tbody").length,k.htmlSerialize=!!b.getElementsByTagName("link").length,k.html5Clone="<:nav></:nav>"!==y.createElement("nav").cloneNode(!0).outerHTML,a.type="checkbox",a.checked=!0,c.appendChild(a),k.appendChecked=a.checked,b.innerHTML="<textarea>x</textarea>",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue,c.appendChild(b),b.innerHTML="<input type='radio' checked='checked' name='t'/>",k.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,k.noCloneEvent=!0,b.attachEvent&&(b.attachEvent("onclick",function(){k.noCloneEvent=!1}),b.cloneNode(!0).click()),null==k.deleteExpando){k.deleteExpando=!0;try{delete b.test}catch(d){k.deleteExpando=!1}}}(),function(){var b,c,d=y.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(k[b+"Bubbles"]=c in a)||(d.setAttribute(c,"t"),k[b+"Bubbles"]=d.attributes[c].expando===!1);d=null}();var X=/^(?:input|select|textarea)$/i,Y=/^key/,Z=/^(?:mouse|pointer|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=/^([^.]*)(?:\.(.+)|)$/;function ab(){return!0}function bb(){return!1}function cb(){try{return y.activeElement}catch(a){}}m.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=m.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return typeof m===K||a&&m.event.triggered===a.type?void 0:m.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(E)||[""],h=b.length;while(h--)f=_.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=m.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=m.event.special[o]||{},l=m.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&m.expr.match.needsContext.test(e),namespace:p.join(".")},i),(n=g[o])||(n=g[o]=[],n.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?n.splice(n.delegateCount++,0,l):n.push(l),m.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m.hasData(a)&&m._data(a);if(r&&(k=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=_.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=m.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,n=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=n.length;while(f--)g=n[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(n.splice(f,1),g.selector&&n.delegateCount--,l.remove&&l.remove.call(a,g));i&&!n.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||m.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)m.event.remove(a,o+b[j],c,d,!0);m.isEmptyObject(k)&&(delete r.handle,m._removeData(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,l,n,o=[d||y],p=j.call(b,"type")?b.type:b,q=j.call(b,"namespace")?b.namespace.split("."):[];if(h=l=d=d||y,3!==d.nodeType&&8!==d.nodeType&&!$.test(p+m.event.triggered)&&(p.indexOf(".")>=0&&(q=p.split("."),p=q.shift(),q.sort()),g=p.indexOf(":")<0&&"on"+p,b=b[m.expando]?b:new m.Event(p,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=q.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:m.makeArray(c,[b]),k=m.event.special[p]||{},e||!k.trigger||k.trigger.apply(d,c)!==!1)){if(!e&&!k.noBubble&&!m.isWindow(d)){for(i=k.delegateType||p,$.test(i+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),l=h;l===(d.ownerDocument||y)&&o.push(l.defaultView||l.parentWindow||a)}n=0;while((h=o[n++])&&!b.isPropagationStopped())b.type=n>1?i:k.bindType||p,f=(m._data(h,"events")||{})[b.type]&&m._data(h,"handle"),f&&f.apply(h,c),f=g&&h[g],f&&f.apply&&m.acceptData(h)&&(b.result=f.apply(h,c),b.result===!1&&b.preventDefault());if(b.type=p,!e&&!b.isDefaultPrevented()&&(!k._default||k._default.apply(o.pop(),c)===!1)&&m.acceptData(d)&&g&&d[p]&&!m.isWindow(d)){l=d[g],l&&(d[g]=null),m.event.triggered=p;try{d[p]()}catch(r){}m.event.triggered=void 0,l&&(d[g]=l)}return b.result}},dispatch:function(a){a=m.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(m._data(this,"events")||{})[a.type]||[],k=m.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=m.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,g=0;while((e=f.handlers[g++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(e.namespace))&&(a.handleObj=e,a.data=e.data,c=((m.event.special[e.origType]||{}).handle||e.handler).apply(f.elem,i),void 0!==c&&(a.result=c)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(e=[],f=0;h>f;f++)d=b[f],c=d.selector+" ",void 0===e[c]&&(e[c]=d.needsContext?m(c,this).index(i)>=0:m.find(c,this,null,[i]).length),e[c]&&e.push(d);e.length&&g.push({elem:i,handlers:e})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},fix:function(a){if(a[m.expando])return a;var b,c,d,e=a.type,f=a,g=this.fixHooks[e];g||(this.fixHooks[e]=g=Z.test(e)?this.mouseHooks:Y.test(e)?this.keyHooks:{}),d=g.props?this.props.concat(g.props):this.props,a=new m.Event(f),b=d.length;while(b--)c=d[b],a[c]=f[c];return a.target||(a.target=f.srcElement||y),3===a.target.nodeType&&(a.target=a.target.parentNode),a.metaKey=!!a.metaKey,g.filter?g.filter(a,f):a},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,d,e,f=b.button,g=b.fromElement;return null==a.pageX&&null!=b.clientX&&(d=a.target.ownerDocument||y,e=d.documentElement,c=d.body,a.pageX=b.clientX+(e&&e.scrollLeft||c&&c.scrollLeft||0)-(e&&e.clientLeft||c&&c.clientLeft||0),a.pageY=b.clientY+(e&&e.scrollTop||c&&c.scrollTop||0)-(e&&e.clientTop||c&&c.clientTop||0)),!a.relatedTarget&&g&&(a.relatedTarget=g===a.target?b.toElement:g),a.which||void 0===f||(a.which=1&f?1:2&f?3:4&f?2:0),a}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==cb()&&this.focus)try{return this.focus(),!1}catch(a){}},delegateType:"focusin"},blur:{trigger:function(){return this===cb()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return m.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(a){return m.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}},simulate:function(a,b,c,d){var e=m.extend(new m.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?m.event.trigger(e,null,b):m.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},m.removeEvent=y.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){var d="on"+b;a.detachEvent&&(typeof a[d]===K&&(a[d]=null),a.detachEvent(d,c))},m.Event=function(a,b){return this instanceof m.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?ab:bb):this.type=a,b&&m.extend(this,b),this.timeStamp=a&&a.timeStamp||m.now(),void(this[m.expando]=!0)):new m.Event(a,b)},m.Event.prototype={isDefaultPrevented:bb,isPropagationStopped:bb,isImmediatePropagationStopped:bb,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=ab,a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=ab,a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=ab,a&&a.stopImmediatePropagation&&a.stopImmediatePropagation(),this.stopPropagation()}},m.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){m.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return(!e||e!==d&&!m.contains(d,e))&&(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),k.submitBubbles||(m.event.special.submit={setup:function(){return m.nodeName(this,"form")?!1:void m.event.add(this,"click._submit keypress._submit",function(a){var b=a.target,c=m.nodeName(b,"input")||m.nodeName(b,"button")?b.form:void 0;c&&!m._data(c,"submitBubbles")&&(m.event.add(c,"submit._submit",function(a){a._submit_bubble=!0}),m._data(c,"submitBubbles",!0))})},postDispatch:function(a){a._submit_bubble&&(delete a._submit_bubble,this.parentNode&&!a.isTrigger&&m.event.simulate("submit",this.parentNode,a,!0))},teardown:function(){return m.nodeName(this,"form")?!1:void m.event.remove(this,"._submit")}}),k.changeBubbles||(m.event.special.change={setup:function(){return X.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(m.event.add(this,"propertychange._change",function(a){"checked"===a.originalEvent.propertyName&&(this._just_changed=!0)}),m.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1),m.event.simulate("change",this,a,!0)})),!1):void m.event.add(this,"beforeactivate._change",function(a){var b=a.target;X.test(b.nodeName)&&!m._data(b,"changeBubbles")&&(m.event.add(b,"change._change",function(a){!this.parentNode||a.isSimulated||a.isTrigger||m.event.simulate("change",this.parentNode,a,!0)}),m._data(b,"changeBubbles",!0))})},handle:function(a){var b=a.target;return this!==b||a.isSimulated||a.isTrigger||"radio"!==b.type&&"checkbox"!==b.type?a.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return m.event.remove(this,"._change"),!X.test(this.nodeName)}}),k.focusinBubbles||m.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){m.event.simulate(b,a.target,m.event.fix(a),!0)};m.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=m._data(d,b);e||d.addEventListener(a,c,!0),m._data(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=m._data(d,b)-1;e?m._data(d,b,e):(d.removeEventListener(a,c,!0),m._removeData(d,b))}}}),m.fn.extend({on:function(a,b,c,d,e){var f,g;if("object"==typeof a){"string"!=typeof b&&(c=c||b,b=void 0);for(f in a)this.on(f,b,c,a[f],e);return this}if(null==c&&null==d?(d=b,c=b=void 0):null==d&&("string"==typeof b?(d=c,c=void 0):(d=c,c=b,b=void 0)),d===!1)d=bb;else if(!d)return this;return 1===e&&(g=d,d=function(a){return m().off(a),g.apply(this,arguments)},d.guid=g.guid||(g.guid=m.guid++)),this.each(function(){m.event.add(this,a,d,c,b)})},one:function(a,b,c,d){return this.on(a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,m(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return(b===!1||"function"==typeof b)&&(c=b,b=void 0),c===!1&&(c=bb),this.each(function(){m.event.remove(this,a,c,b)})},trigger:function(a,b){return this.each(function(){m.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];return c?m.event.trigger(a,b,c,!0):void 0}});function db(a){var b=eb.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}var eb="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",fb=/ jQuery\d+="(?:null|\d+)"/g,gb=new RegExp("<(?:"+eb+")[\\s/>]","i"),hb=/^\s+/,ib=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,jb=/<([\w:]+)/,kb=/<tbody/i,lb=/<|&#?\w+;/,mb=/<(?:script|style|link)/i,nb=/checked\s*(?:[^=]|=\s*.checked.)/i,ob=/^$|\/(?:java|ecma)script/i,pb=/^true\/(.*)/,qb=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,rb={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:k.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},sb=db(y),tb=sb.appendChild(y.createElement("div"));rb.optgroup=rb.option,rb.tbody=rb.tfoot=rb.colgroup=rb.caption=rb.thead,rb.th=rb.td;function ub(a,b){var c,d,e=0,f=typeof a.getElementsByTagName!==K?a.getElementsByTagName(b||"*"):typeof a.querySelectorAll!==K?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||m.nodeName(d,b)?f.push(d):m.merge(f,ub(d,b));return void 0===b||b&&m.nodeName(a,b)?m.merge([a],f):f}function vb(a){W.test(a.type)&&(a.defaultChecked=a.checked)}function wb(a,b){return m.nodeName(a,"table")&&m.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function xb(a){return a.type=(null!==m.find.attr(a,"type"))+"/"+a.type,a}function yb(a){var b=pb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function zb(a,b){for(var c,d=0;null!=(c=a[d]);d++)m._data(c,"globalEval",!b||m._data(b[d],"globalEval"))}function Ab(a,b){if(1===b.nodeType&&m.hasData(a)){var c,d,e,f=m._data(a),g=m._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)m.event.add(b,c,h[c][d])}g.data&&(g.data=m.extend({},g.data))}}function Bb(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!k.noCloneEvent&&b[m.expando]){e=m._data(b);for(d in e.events)m.removeEvent(b,d,e.handle);b.removeAttribute(m.expando)}"script"===c&&b.text!==a.text?(xb(b).text=a.text,yb(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),k.html5Clone&&a.innerHTML&&!m.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&W.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}}m.extend({clone:function(a,b,c){var d,e,f,g,h,i=m.contains(a.ownerDocument,a);if(k.html5Clone||m.isXMLDoc(a)||!gb.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(tb.innerHTML=a.outerHTML,tb.removeChild(f=tb.firstChild)),!(k.noCloneEvent&&k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||m.isXMLDoc(a)))for(d=ub(f),h=ub(a),g=0;null!=(e=h[g]);++g)d[g]&&Bb(e,d[g]);if(b)if(c)for(h=h||ub(a),d=d||ub(f),g=0;null!=(e=h[g]);g++)Ab(e,d[g]);else Ab(a,f);return d=ub(f,"script"),d.length>0&&zb(d,!i&&ub(a,"script")),d=h=e=null,f},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,l,n=a.length,o=db(b),p=[],q=0;n>q;q++)if(f=a[q],f||0===f)if("object"===m.type(f))m.merge(p,f.nodeType?[f]:f);else if(lb.test(f)){h=h||o.appendChild(b.createElement("div")),i=(jb.exec(f)||["",""])[1].toLowerCase(),l=rb[i]||rb._default,h.innerHTML=l[1]+f.replace(ib,"<$1></$2>")+l[2],e=l[0];while(e--)h=h.lastChild;if(!k.leadingWhitespace&&hb.test(f)&&p.push(b.createTextNode(hb.exec(f)[0])),!k.tbody){f="table"!==i||kb.test(f)?"<table>"!==l[1]||kb.test(f)?0:h:h.firstChild,e=f&&f.childNodes.length;while(e--)m.nodeName(j=f.childNodes[e],"tbody")&&!j.childNodes.length&&f.removeChild(j)}m.merge(p,h.childNodes),h.textContent="";while(h.firstChild)h.removeChild(h.firstChild);h=o.lastChild}else p.push(b.createTextNode(f));h&&o.removeChild(h),k.appendChecked||m.grep(ub(p,"input"),vb),q=0;while(f=p[q++])if((!d||-1===m.inArray(f,d))&&(g=m.contains(f.ownerDocument,f),h=ub(o.appendChild(f),"script"),g&&zb(h),c)){e=0;while(f=h[e++])ob.test(f.type||"")&&c.push(f)}return h=null,o},cleanData:function(a,b){for(var d,e,f,g,h=0,i=m.expando,j=m.cache,l=k.deleteExpando,n=m.event.special;null!=(d=a[h]);h++)if((b||m.acceptData(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)n[e]?m.event.remove(d,e):m.removeEvent(d,e,g.handle);j[f]&&(delete j[f],l?delete d[i]:typeof d.removeAttribute!==K?d.removeAttribute(i):d[i]=null,c.push(f))}}}),m.fn.extend({text:function(a){return V(this,function(a){return void 0===a?m.text(this):this.empty().append((this[0]&&this[0].ownerDocument||y).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wb(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wb(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?m.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||m.cleanData(ub(c)),c.parentNode&&(b&&m.contains(c.ownerDocument,c)&&zb(ub(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&m.cleanData(ub(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&m.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return m.clone(this,a,b)})},html:function(a){return V(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(fb,""):void 0;if(!("string"!=typeof a||mb.test(a)||!k.htmlSerialize&&gb.test(a)||!k.leadingWhitespace&&hb.test(a)||rb[(jb.exec(a)||["",""])[1].toLowerCase()])){a=a.replace(ib,"<$1></$2>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(m.cleanData(ub(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,m.cleanData(ub(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,n=this,o=l-1,p=a[0],q=m.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&nb.test(p))return this.each(function(c){var d=n.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(i=m.buildFragment(a,this[0].ownerDocument,!1,this),c=i.firstChild,1===i.childNodes.length&&(i=c),c)){for(g=m.map(ub(i,"script"),xb),f=g.length;l>j;j++)d=i,j!==o&&(d=m.clone(d,!0,!0),f&&m.merge(g,ub(d,"script"))),b.call(this[j],d,j);if(f)for(h=g[g.length-1].ownerDocument,m.map(g,yb),j=0;f>j;j++)d=g[j],ob.test(d.type||"")&&!m._data(d,"globalEval")&&m.contains(h,d)&&(d.src?m._evalUrl&&m._evalUrl(d.src):m.globalEval((d.text||d.textContent||d.innerHTML||"").replace(qb,"")));i=c=null}return this}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){m.fn[a]=function(a){for(var c,d=0,e=[],g=m(a),h=g.length-1;h>=d;d++)c=d===h?this:this.clone(!0),m(g[d])[b](c),f.apply(e,c.get());return this.pushStack(e)}});var Cb,Db={};function Eb(b,c){var d,e=m(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:m.css(e[0],"display");return e.detach(),f}function Fb(a){var b=y,c=Db[a];return c||(c=Eb(a,b),"none"!==c&&c||(Cb=(Cb||m("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),b=(Cb[0].contentWindow||Cb[0].contentDocument).document,b.write(),b.close(),c=Eb(a,b),Cb.detach()),Db[a]=c),c}!function(){var a;k.shrinkWrapBlocks=function(){if(null!=a)return a;a=!1;var b,c,d;return c=y.getElementsByTagName("body")[0],c&&c.style?(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),typeof b.style.zoom!==K&&(b.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",b.appendChild(y.createElement("div")).style.width="5px",a=3!==b.offsetWidth),c.removeChild(d),a):void 0}}();var Gb=/^margin/,Hb=new RegExp("^("+S+")(?!px)[a-z%]+$","i"),Ib,Jb,Kb=/^(top|right|bottom|left)$/;a.getComputedStyle?(Ib=function(a){return a.ownerDocument.defaultView.getComputedStyle(a,null)},Jb=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Ib(a),g=c?c.getPropertyValue(b)||c[b]:void 0,c&&(""!==g||m.contains(a.ownerDocument,a)||(g=m.style(a,b)),Hb.test(g)&&Gb.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f)),void 0===g?g:g+""}):y.documentElement.currentStyle&&(Ib=function(a){return a.currentStyle},Jb=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Ib(a),g=c?c[b]:void 0,null==g&&h&&h[b]&&(g=h[b]),Hb.test(g)&&!Kb.test(b)&&(d=h.left,e=a.runtimeStyle,f=e&&e.left,f&&(e.left=a.currentStyle.left),h.left="fontSize"===b?"1em":g,g=h.pixelLeft+"px",h.left=d,f&&(e.left=f)),void 0===g?g:g+""||"auto"});function Lb(a,b){return{get:function(){var c=a();if(null!=c)return c?void delete this.get:(this.get=b).apply(this,arguments)}}}!function(){var b,c,d,e,f,g,h;if(b=y.createElement("div"),b.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",d=b.getElementsByTagName("a")[0],c=d&&d.style){c.cssText="float:left;opacity:.5",k.opacity="0.5"===c.opacity,k.cssFloat=!!c.cssFloat,b.style.backgroundClip="content-box",b.cloneNode(!0).style.backgroundClip="",k.clearCloneStyle="content-box"===b.style.backgroundClip,k.boxSizing=""===c.boxSizing||""===c.MozBoxSizing||""===c.WebkitBoxSizing,m.extend(k,{reliableHiddenOffsets:function(){return null==g&&i(),g},boxSizingReliable:function(){return null==f&&i(),f},pixelPosition:function(){return null==e&&i(),e},reliableMarginRight:function(){return null==h&&i(),h}});function i(){var b,c,d,i;c=y.getElementsByTagName("body")[0],c&&c.style&&(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),b.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",e=f=!1,h=!0,a.getComputedStyle&&(e="1%"!==(a.getComputedStyle(b,null)||{}).top,f="4px"===(a.getComputedStyle(b,null)||{width:"4px"}).width,i=b.appendChild(y.createElement("div")),i.style.cssText=b.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",i.style.marginRight=i.style.width="0",b.style.width="1px",h=!parseFloat((a.getComputedStyle(i,null)||{}).marginRight)),b.innerHTML="<table><tr><td></td><td>t</td></tr></table>",i=b.getElementsByTagName("td"),i[0].style.cssText="margin:0;border:0;padding:0;display:none",g=0===i[0].offsetHeight,g&&(i[0].style.display="",i[1].style.display="none",g=0===i[0].offsetHeight),c.removeChild(d))}}}(),m.swap=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e};var Mb=/alpha\([^)]*\)/i,Nb=/opacity\s*=\s*([^)]*)/,Ob=/^(none|table(?!-c[ea]).+)/,Pb=new RegExp("^("+S+")(.*)$","i"),Qb=new RegExp("^([+-])=("+S+")","i"),Rb={position:"absolute",visibility:"hidden",display:"block"},Sb={letterSpacing:"0",fontWeight:"400"},Tb=["Webkit","O","Moz","ms"];function Ub(a,b){if(b in a)return b;var c=b.charAt(0).toUpperCase()+b.slice(1),d=b,e=Tb.length;while(e--)if(b=Tb[e]+c,b in a)return b;return d}function Vb(a,b){for(var c,d,e,f=[],g=0,h=a.length;h>g;g++)d=a[g],d.style&&(f[g]=m._data(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||(d.style.display=""),""===d.style.display&&U(d)&&(f[g]=m._data(d,"olddisplay",Fb(d.nodeName)))):(e=U(d),(c&&"none"!==c||!e)&&m._data(d,"olddisplay",e?c:m.css(d,"display"))));for(g=0;h>g;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}function Wb(a,b,c){var d=Pb.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function Xb(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;4>f;f+=2)"margin"===c&&(g+=m.css(a,c+T[f],!0,e)),d?("content"===c&&(g-=m.css(a,"padding"+T[f],!0,e)),"margin"!==c&&(g-=m.css(a,"border"+T[f]+"Width",!0,e))):(g+=m.css(a,"padding"+T[f],!0,e),"padding"!==c&&(g+=m.css(a,"border"+T[f]+"Width",!0,e)));return g}function Yb(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=Ib(a),g=k.boxSizing&&"border-box"===m.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=Jb(a,b,f),(0>e||null==e)&&(e=a.style[b]),Hb.test(e))return e;d=g&&(k.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+Xb(a,b,c||(g?"border":"content"),d,f)+"px"}m.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Jb(a,"opacity");return""===c?"1":c}}}},cssNumber:{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":k.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=m.camelCase(b),i=a.style;if(b=m.cssProps[h]||(m.cssProps[h]=Ub(i,h)),g=m.cssHooks[b]||m.cssHooks[h],void 0===c)return g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b];if(f=typeof c,"string"===f&&(e=Qb.exec(c))&&(c=(e[1]+1)*e[2]+parseFloat(m.css(a,b)),f="number"),null!=c&&c===c&&("number"!==f||m.cssNumber[h]||(c+="px"),k.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),!(g&&"set"in g&&void 0===(c=g.set(a,c,d)))))try{i[b]=c}catch(j){}}},css:function(a,b,c,d){var e,f,g,h=m.camelCase(b);return b=m.cssProps[h]||(m.cssProps[h]=Ub(a.style,h)),g=m.cssHooks[b]||m.cssHooks[h],g&&"get"in g&&(f=g.get(a,!0,c)),void 0===f&&(f=Jb(a,b,d)),"normal"===f&&b in Sb&&(f=Sb[b]),""===c||c?(e=parseFloat(f),c===!0||m.isNumeric(e)?e||0:f):f}}),m.each(["height","width"],function(a,b){m.cssHooks[b]={get:function(a,c,d){return c?Ob.test(m.css(a,"display"))&&0===a.offsetWidth?m.swap(a,Rb,function(){return Yb(a,b,d)}):Yb(a,b,d):void 0},set:function(a,c,d){var e=d&&Ib(a);return Wb(a,c,d?Xb(a,b,d,k.boxSizing&&"border-box"===m.css(a,"boxSizing",!1,e),e):0)}}}),k.opacity||(m.cssHooks.opacity={get:function(a,b){return Nb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=m.isNumeric(b)?"alpha(opacity="+100*b+")":"",f=d&&d.filter||c.filter||"";c.zoom=1,(b>=1||""===b)&&""===m.trim(f.replace(Mb,""))&&c.removeAttribute&&(c.removeAttribute("filter"),""===b||d&&!d.filter)||(c.filter=Mb.test(f)?f.replace(Mb,e):f+" "+e)}}),m.cssHooks.marginRight=Lb(k.reliableMarginRight,function(a,b){return b?m.swap(a,{display:"inline-block"},Jb,[a,"marginRight"]):void 0}),m.each({margin:"",padding:"",border:"Width"},function(a,b){m.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];4>d;d++)e[a+T[d]+b]=f[d]||f[d-2]||f[0];return e}},Gb.test(a)||(m.cssHooks[a+b].set=Wb)}),m.fn.extend({css:function(a,b){return V(this,function(a,b,c){var d,e,f={},g=0;if(m.isArray(b)){for(d=Ib(a),e=b.length;e>g;g++)f[b[g]]=m.css(a,b[g],!1,d);return f}return void 0!==c?m.style(a,b,c):m.css(a,b)},a,b,arguments.length>1)},show:function(){return Vb(this,!0)},hide:function(){return Vb(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){U(this)?m(this).show():m(this).hide()})}});function Zb(a,b,c,d,e){return new Zb.prototype.init(a,b,c,d,e)}m.Tween=Zb,Zb.prototype={constructor:Zb,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||"swing",this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(m.cssNumber[c]?"":"px") | |
| 4 | +},cur:function(){var a=Zb.propHooks[this.prop];return a&&a.get?a.get(this):Zb.propHooks._default.get(this)},run:function(a){var b,c=Zb.propHooks[this.prop];return this.pos=b=this.options.duration?m.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):Zb.propHooks._default.set(this),this}},Zb.prototype.init.prototype=Zb.prototype,Zb.propHooks={_default:{get:function(a){var b;return null==a.elem[a.prop]||a.elem.style&&null!=a.elem.style[a.prop]?(b=m.css(a.elem,a.prop,""),b&&"auto"!==b?b:0):a.elem[a.prop]},set:function(a){m.fx.step[a.prop]?m.fx.step[a.prop](a):a.elem.style&&(null!=a.elem.style[m.cssProps[a.prop]]||m.cssHooks[a.prop])?m.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}},Zb.propHooks.scrollTop=Zb.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},m.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2}},m.fx=Zb.prototype.init,m.fx.step={};var $b,_b,ac=/^(?:toggle|show|hide)$/,bc=new RegExp("^(?:([+-])=|)("+S+")([a-z%]*)$","i"),cc=/queueHooks$/,dc=[ic],ec={"*":[function(a,b){var c=this.createTween(a,b),d=c.cur(),e=bc.exec(b),f=e&&e[3]||(m.cssNumber[a]?"":"px"),g=(m.cssNumber[a]||"px"!==f&&+d)&&bc.exec(m.css(c.elem,a)),h=1,i=20;if(g&&g[3]!==f){f=f||g[3],e=e||[],g=+d||1;do h=h||".5",g/=h,m.style(c.elem,a,g+f);while(h!==(h=c.cur()/d)&&1!==h&&--i)}return e&&(g=c.start=+g||+d||0,c.unit=f,c.end=e[1]?g+(e[1]+1)*e[2]:+e[2]),c}]};function fc(){return setTimeout(function(){$b=void 0}),$b=m.now()}function gc(a,b){var c,d={height:a},e=0;for(b=b?1:0;4>e;e+=2-b)c=T[e],d["margin"+c]=d["padding"+c]=a;return b&&(d.opacity=d.width=a),d}function hc(a,b,c){for(var d,e=(ec[b]||[]).concat(ec["*"]),f=0,g=e.length;g>f;f++)if(d=e[f].call(c,b,a))return d}function ic(a,b,c){var d,e,f,g,h,i,j,l,n=this,o={},p=a.style,q=a.nodeType&&U(a),r=m._data(a,"fxshow");c.queue||(h=m._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,n.always(function(){n.always(function(){h.unqueued--,m.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[p.overflow,p.overflowX,p.overflowY],j=m.css(a,"display"),l="none"===j?m._data(a,"olddisplay")||Fb(a.nodeName):j,"inline"===l&&"none"===m.css(a,"float")&&(k.inlineBlockNeedsLayout&&"inline"!==Fb(a.nodeName)?p.zoom=1:p.display="inline-block")),c.overflow&&(p.overflow="hidden",k.shrinkWrapBlocks()||n.always(function(){p.overflow=c.overflow[0],p.overflowX=c.overflow[1],p.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],ac.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(q?"hide":"show")){if("show"!==e||!r||void 0===r[d])continue;q=!0}o[d]=r&&r[d]||m.style(a,d)}else j=void 0;if(m.isEmptyObject(o))"inline"===("none"===j?Fb(a.nodeName):j)&&(p.display=j);else{r?"hidden"in r&&(q=r.hidden):r=m._data(a,"fxshow",{}),f&&(r.hidden=!q),q?m(a).show():n.done(function(){m(a).hide()}),n.done(function(){var b;m._removeData(a,"fxshow");for(b in o)m.style(a,b,o[b])});for(d in o)g=hc(q?r[d]:0,d,n),d in r||(r[d]=g.start,q&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function jc(a,b){var c,d,e,f,g;for(c in a)if(d=m.camelCase(c),e=b[d],f=a[c],m.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=m.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function kc(a,b,c){var d,e,f=0,g=dc.length,h=m.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=$b||fc(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;i>g;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),1>f&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:m.extend({},b),opts:m.extend(!0,{specialEasing:{}},c),originalProperties:b,originalOptions:c,startTime:$b||fc(),duration:c.duration,tweens:[],createTween:function(b,c){var d=m.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;d>c;c++)j.tweens[c].run(1);return b?h.resolveWith(a,[j,b]):h.rejectWith(a,[j,b]),this}}),k=j.props;for(jc(k,j.opts.specialEasing);g>f;f++)if(d=dc[f].call(j,a,k,j.opts))return d;return m.map(k,hc,j),m.isFunction(j.opts.start)&&j.opts.start.call(a,j),m.fx.timer(m.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}m.Animation=m.extend(kc,{tweener:function(a,b){m.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");for(var c,d=0,e=a.length;e>d;d++)c=a[d],ec[c]=ec[c]||[],ec[c].unshift(b)},prefilter:function(a,b){b?dc.unshift(a):dc.push(a)}}),m.speed=function(a,b,c){var d=a&&"object"==typeof a?m.extend({},a):{complete:c||!c&&b||m.isFunction(a)&&a,duration:a,easing:c&&b||b&&!m.isFunction(b)&&b};return d.duration=m.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in m.fx.speeds?m.fx.speeds[d.duration]:m.fx.speeds._default,(null==d.queue||d.queue===!0)&&(d.queue="fx"),d.old=d.complete,d.complete=function(){m.isFunction(d.old)&&d.old.call(this),d.queue&&m.dequeue(this,d.queue)},d},m.fn.extend({fadeTo:function(a,b,c,d){return this.filter(U).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=m.isEmptyObject(a),f=m.speed(b,c,d),g=function(){var b=kc(this,m.extend({},a),f);(e||m._data(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=m.timers,g=m._data(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&cc.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));(b||!c)&&m.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=m._data(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=m.timers,g=d?d.length:0;for(c.finish=!0,m.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;g>b;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),m.each(["toggle","show","hide"],function(a,b){var c=m.fn[b];m.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(gc(b,!0),a,d,e)}}),m.each({slideDown:gc("show"),slideUp:gc("hide"),slideToggle:gc("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){m.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),m.timers=[],m.fx.tick=function(){var a,b=m.timers,c=0;for($b=m.now();c<b.length;c++)a=b[c],a()||b[c]!==a||b.splice(c--,1);b.length||m.fx.stop(),$b=void 0},m.fx.timer=function(a){m.timers.push(a),a()?m.fx.start():m.timers.pop()},m.fx.interval=13,m.fx.start=function(){_b||(_b=setInterval(m.fx.tick,m.fx.interval))},m.fx.stop=function(){clearInterval(_b),_b=null},m.fx.speeds={slow:600,fast:200,_default:400},m.fn.delay=function(a,b){return a=m.fx?m.fx.speeds[a]||a:a,b=b||"fx",this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},function(){var a,b,c,d,e;b=y.createElement("div"),b.setAttribute("className","t"),b.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",d=b.getElementsByTagName("a")[0],c=y.createElement("select"),e=c.appendChild(y.createElement("option")),a=b.getElementsByTagName("input")[0],d.style.cssText="top:1px",k.getSetAttribute="t"!==b.className,k.style=/top/.test(d.getAttribute("style")),k.hrefNormalized="/a"===d.getAttribute("href"),k.checkOn=!!a.value,k.optSelected=e.selected,k.enctype=!!y.createElement("form").enctype,c.disabled=!0,k.optDisabled=!e.disabled,a=y.createElement("input"),a.setAttribute("value",""),k.input=""===a.getAttribute("value"),a.value="t",a.setAttribute("type","radio"),k.radioValue="t"===a.value}();var lc=/\r/g;m.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=m.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,m(this).val()):a,null==e?e="":"number"==typeof e?e+="":m.isArray(e)&&(e=m.map(e,function(a){return null==a?"":a+""})),b=m.valHooks[this.type]||m.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=m.valHooks[e.type]||m.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(lc,""):null==c?"":c)}}}),m.extend({valHooks:{option:{get:function(a){var b=m.find.attr(a,"value");return null!=b?b:m.trim(m.text(a))}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||0>e,g=f?null:[],h=f?e+1:d.length,i=0>e?h:f?e:0;h>i;i++)if(c=d[i],!(!c.selected&&i!==e||(k.optDisabled?c.disabled:null!==c.getAttribute("disabled"))||c.parentNode.disabled&&m.nodeName(c.parentNode,"optgroup"))){if(b=m(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=m.makeArray(b),g=e.length;while(g--)if(d=e[g],m.inArray(m.valHooks.option.get(d),f)>=0)try{d.selected=c=!0}catch(h){d.scrollHeight}else d.selected=!1;return c||(a.selectedIndex=-1),e}}}}),m.each(["radio","checkbox"],function(){m.valHooks[this]={set:function(a,b){return m.isArray(b)?a.checked=m.inArray(m(a).val(),b)>=0:void 0}},k.checkOn||(m.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var mc,nc,oc=m.expr.attrHandle,pc=/^(?:checked|selected)$/i,qc=k.getSetAttribute,rc=k.input;m.fn.extend({attr:function(a,b){return V(this,m.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){m.removeAttr(this,a)})}}),m.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(a&&3!==f&&8!==f&&2!==f)return typeof a.getAttribute===K?m.prop(a,b,c):(1===f&&m.isXMLDoc(a)||(b=b.toLowerCase(),d=m.attrHooks[b]||(m.expr.match.bool.test(b)?nc:mc)),void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=m.find.attr(a,b),null==e?void 0:e):null!==c?d&&"set"in d&&void 0!==(e=d.set(a,c,b))?e:(a.setAttribute(b,c+""),c):void m.removeAttr(a,b))},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(E);if(f&&1===a.nodeType)while(c=f[e++])d=m.propFix[c]||c,m.expr.match.bool.test(c)?rc&&qc||!pc.test(c)?a[d]=!1:a[m.camelCase("default-"+c)]=a[d]=!1:m.attr(a,c,""),a.removeAttribute(qc?c:d)},attrHooks:{type:{set:function(a,b){if(!k.radioValue&&"radio"===b&&m.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}}}),nc={set:function(a,b,c){return b===!1?m.removeAttr(a,c):rc&&qc||!pc.test(c)?a.setAttribute(!qc&&m.propFix[c]||c,c):a[m.camelCase("default-"+c)]=a[c]=!0,c}},m.each(m.expr.match.bool.source.match(/\w+/g),function(a,b){var c=oc[b]||m.find.attr;oc[b]=rc&&qc||!pc.test(b)?function(a,b,d){var e,f;return d||(f=oc[b],oc[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,oc[b]=f),e}:function(a,b,c){return c?void 0:a[m.camelCase("default-"+b)]?b.toLowerCase():null}}),rc&&qc||(m.attrHooks.value={set:function(a,b,c){return m.nodeName(a,"input")?void(a.defaultValue=b):mc&&mc.set(a,b,c)}}),qc||(mc={set:function(a,b,c){var d=a.getAttributeNode(c);return d||a.setAttributeNode(d=a.ownerDocument.createAttribute(c)),d.value=b+="","value"===c||b===a.getAttribute(c)?b:void 0}},oc.id=oc.name=oc.coords=function(a,b,c){var d;return c?void 0:(d=a.getAttributeNode(b))&&""!==d.value?d.value:null},m.valHooks.button={get:function(a,b){var c=a.getAttributeNode(b);return c&&c.specified?c.value:void 0},set:mc.set},m.attrHooks.contenteditable={set:function(a,b,c){mc.set(a,""===b?!1:b,c)}},m.each(["width","height"],function(a,b){m.attrHooks[b]={set:function(a,c){return""===c?(a.setAttribute(b,"auto"),c):void 0}}})),k.style||(m.attrHooks.style={get:function(a){return a.style.cssText||void 0},set:function(a,b){return a.style.cssText=b+""}});var sc=/^(?:input|select|textarea|button|object)$/i,tc=/^(?:a|area)$/i;m.fn.extend({prop:function(a,b){return V(this,m.prop,a,b,arguments.length>1)},removeProp:function(a){return a=m.propFix[a]||a,this.each(function(){try{this[a]=void 0,delete this[a]}catch(b){}})}}),m.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(a,b,c){var d,e,f,g=a.nodeType;if(a&&3!==g&&8!==g&&2!==g)return f=1!==g||!m.isXMLDoc(a),f&&(b=m.propFix[b]||b,e=m.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=m.find.attr(a,"tabindex");return b?parseInt(b,10):sc.test(a.nodeName)||tc.test(a.nodeName)&&a.href?0:-1}}}}),k.hrefNormalized||m.each(["href","src"],function(a,b){m.propHooks[b]={get:function(a){return a.getAttribute(b,4)}}}),k.optSelected||(m.propHooks.selected={get:function(a){var b=a.parentNode;return b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex),null}}),m.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){m.propFix[this.toLowerCase()]=this}),k.enctype||(m.propFix.enctype="encoding");var uc=/[\t\r\n\f]/g;m.fn.extend({addClass:function(a){var b,c,d,e,f,g,h=0,i=this.length,j="string"==typeof a&&a;if(m.isFunction(a))return this.each(function(b){m(this).addClass(a.call(this,b,this.className))});if(j)for(b=(a||"").match(E)||[];i>h;h++)if(c=this[h],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(uc," "):" ")){f=0;while(e=b[f++])d.indexOf(" "+e+" ")<0&&(d+=e+" ");g=m.trim(d),c.className!==g&&(c.className=g)}return this},removeClass:function(a){var b,c,d,e,f,g,h=0,i=this.length,j=0===arguments.length||"string"==typeof a&&a;if(m.isFunction(a))return this.each(function(b){m(this).removeClass(a.call(this,b,this.className))});if(j)for(b=(a||"").match(E)||[];i>h;h++)if(c=this[h],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(uc," "):"")){f=0;while(e=b[f++])while(d.indexOf(" "+e+" ")>=0)d=d.replace(" "+e+" "," ");g=a?m.trim(d):"",c.className!==g&&(c.className=g)}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):this.each(m.isFunction(a)?function(c){m(this).toggleClass(a.call(this,c,this.className,b),b)}:function(){if("string"===c){var b,d=0,e=m(this),f=a.match(E)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else(c===K||"boolean"===c)&&(this.className&&m._data(this,"__className__",this.className),this.className=this.className||a===!1?"":m._data(this,"__className__")||"")})},hasClass:function(a){for(var b=" "+a+" ",c=0,d=this.length;d>c;c++)if(1===this[c].nodeType&&(" "+this[c].className+" ").replace(uc," ").indexOf(b)>=0)return!0;return!1}}),m.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(a,b){m.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),m.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}});var vc=m.now(),wc=/\?/,xc=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;m.parseJSON=function(b){if(a.JSON&&a.JSON.parse)return a.JSON.parse(b+"");var c,d=null,e=m.trim(b+"");return e&&!m.trim(e.replace(xc,function(a,b,e,f){return c&&b&&(d=0),0===d?a:(c=e||b,d+=!f-!e,"")}))?Function("return "+e)():m.error("Invalid JSON: "+b)},m.parseXML=function(b){var c,d;if(!b||"string"!=typeof b)return null;try{a.DOMParser?(d=new DOMParser,c=d.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b))}catch(e){c=void 0}return c&&c.documentElement&&!c.getElementsByTagName("parsererror").length||m.error("Invalid XML: "+b),c};var yc,zc,Ac=/#.*$/,Bc=/([?&])_=[^&]*/,Cc=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Dc=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ec=/^(?:GET|HEAD)$/,Fc=/^\/\//,Gc=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Hc={},Ic={},Jc="*/".concat("*");try{zc=location.href}catch(Kc){zc=y.createElement("a"),zc.href="",zc=zc.href}yc=Gc.exec(zc.toLowerCase())||[];function Lc(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(E)||[];if(m.isFunction(c))while(d=f[e++])"+"===d.charAt(0)?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Mc(a,b,c,d){var e={},f=a===Ic;function g(h){var i;return e[h]=!0,m.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function Nc(a,b){var c,d,e=m.ajaxSettings.flatOptions||{};for(d in b)void 0!==b[d]&&((e[d]?a:c||(c={}))[d]=b[d]);return c&&m.extend(!0,a,c),a}function Oc(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===e&&(e=a.mimeType||b.getResponseHeader("Content-Type"));if(e)for(g in h)if(h[g]&&h[g].test(e)){i.unshift(g);break}if(i[0]in c)f=i[0];else{for(g in c){if(!i[0]||a.converters[g+" "+i[0]]){f=g;break}d||(d=g)}f=f||d}return f?(f!==i[0]&&i.unshift(f),c[f]):void 0}function Pc(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}m.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:zc,type:"GET",isLocal:Dc.test(yc[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Jc,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":m.parseJSON,"text xml":m.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Nc(Nc(a,m.ajaxSettings),b):Nc(m.ajaxSettings,a)},ajaxPrefilter:Lc(Hc),ajaxTransport:Lc(Ic),ajax:function(a,b){"object"==typeof a&&(b=a,a=void 0),b=b||{};var c,d,e,f,g,h,i,j,k=m.ajaxSetup({},b),l=k.context||k,n=k.context&&(l.nodeType||l.jquery)?m(l):m.event,o=m.Deferred(),p=m.Callbacks("once memory"),q=k.statusCode||{},r={},s={},t=0,u="canceled",v={readyState:0,getResponseHeader:function(a){var b;if(2===t){if(!j){j={};while(b=Cc.exec(f))j[b[1].toLowerCase()]=b[2]}b=j[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===t?f:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return t||(a=s[c]=s[c]||a,r[a]=b),this},overrideMimeType:function(a){return t||(k.mimeType=a),this},statusCode:function(a){var b;if(a)if(2>t)for(b in a)q[b]=[q[b],a[b]];else v.always(a[v.status]);return this},abort:function(a){var b=a||u;return i&&i.abort(b),x(0,b),this}};if(o.promise(v).complete=p.add,v.success=v.done,v.error=v.fail,k.url=((a||k.url||zc)+"").replace(Ac,"").replace(Fc,yc[1]+"//"),k.type=b.method||b.type||k.method||k.type,k.dataTypes=m.trim(k.dataType||"*").toLowerCase().match(E)||[""],null==k.crossDomain&&(c=Gc.exec(k.url.toLowerCase()),k.crossDomain=!(!c||c[1]===yc[1]&&c[2]===yc[2]&&(c[3]||("http:"===c[1]?"80":"443"))===(yc[3]||("http:"===yc[1]?"80":"443")))),k.data&&k.processData&&"string"!=typeof k.data&&(k.data=m.param(k.data,k.traditional)),Mc(Hc,k,b,v),2===t)return v;h=k.global,h&&0===m.active++&&m.event.trigger("ajaxStart"),k.type=k.type.toUpperCase(),k.hasContent=!Ec.test(k.type),e=k.url,k.hasContent||(k.data&&(e=k.url+=(wc.test(e)?"&":"?")+k.data,delete k.data),k.cache===!1&&(k.url=Bc.test(e)?e.replace(Bc,"$1_="+vc++):e+(wc.test(e)?"&":"?")+"_="+vc++)),k.ifModified&&(m.lastModified[e]&&v.setRequestHeader("If-Modified-Since",m.lastModified[e]),m.etag[e]&&v.setRequestHeader("If-None-Match",m.etag[e])),(k.data&&k.hasContent&&k.contentType!==!1||b.contentType)&&v.setRequestHeader("Content-Type",k.contentType),v.setRequestHeader("Accept",k.dataTypes[0]&&k.accepts[k.dataTypes[0]]?k.accepts[k.dataTypes[0]]+("*"!==k.dataTypes[0]?", "+Jc+"; q=0.01":""):k.accepts["*"]);for(d in k.headers)v.setRequestHeader(d,k.headers[d]);if(k.beforeSend&&(k.beforeSend.call(l,v,k)===!1||2===t))return v.abort();u="abort";for(d in{success:1,error:1,complete:1})v[d](k[d]);if(i=Mc(Ic,k,b,v)){v.readyState=1,h&&n.trigger("ajaxSend",[v,k]),k.async&&k.timeout>0&&(g=setTimeout(function(){v.abort("timeout")},k.timeout));try{t=1,i.send(r,x)}catch(w){if(!(2>t))throw w;x(-1,w)}}else x(-1,"No Transport");function x(a,b,c,d){var j,r,s,u,w,x=b;2!==t&&(t=2,g&&clearTimeout(g),i=void 0,f=d||"",v.readyState=a>0?4:0,j=a>=200&&300>a||304===a,c&&(u=Oc(k,v,c)),u=Pc(k,u,v,j),j?(k.ifModified&&(w=v.getResponseHeader("Last-Modified"),w&&(m.lastModified[e]=w),w=v.getResponseHeader("etag"),w&&(m.etag[e]=w)),204===a||"HEAD"===k.type?x="nocontent":304===a?x="notmodified":(x=u.state,r=u.data,s=u.error,j=!s)):(s=x,(a||!x)&&(x="error",0>a&&(a=0))),v.status=a,v.statusText=(b||x)+"",j?o.resolveWith(l,[r,x,v]):o.rejectWith(l,[v,x,s]),v.statusCode(q),q=void 0,h&&n.trigger(j?"ajaxSuccess":"ajaxError",[v,k,j?r:s]),p.fireWith(l,[v,x]),h&&(n.trigger("ajaxComplete",[v,k]),--m.active||m.event.trigger("ajaxStop")))}return v},getJSON:function(a,b,c){return m.get(a,b,c,"json")},getScript:function(a,b){return m.get(a,void 0,b,"script")}}),m.each(["get","post"],function(a,b){m[b]=function(a,c,d,e){return m.isFunction(c)&&(e=e||d,d=c,c=void 0),m.ajax({url:a,type:b,dataType:e,data:c,success:d})}}),m.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){m.fn[b]=function(a){return this.on(b,a)}}),m._evalUrl=function(a){return m.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},m.fn.extend({wrapAll:function(a){if(m.isFunction(a))return this.each(function(b){m(this).wrapAll(a.call(this,b))});if(this[0]){var b=m(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&1===a.firstChild.nodeType)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return this.each(m.isFunction(a)?function(b){m(this).wrapInner(a.call(this,b))}:function(){var b=m(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=m.isFunction(a);return this.each(function(c){m(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){m.nodeName(this,"body")||m(this).replaceWith(this.childNodes)}).end()}}),m.expr.filters.hidden=function(a){return a.offsetWidth<=0&&a.offsetHeight<=0||!k.reliableHiddenOffsets()&&"none"===(a.style&&a.style.display||m.css(a,"display"))},m.expr.filters.visible=function(a){return!m.expr.filters.hidden(a)};var Qc=/%20/g,Rc=/\[\]$/,Sc=/\r?\n/g,Tc=/^(?:submit|button|image|reset|file)$/i,Uc=/^(?:input|select|textarea|keygen)/i;function Vc(a,b,c,d){var e;if(m.isArray(b))m.each(b,function(b,e){c||Rc.test(a)?d(a,e):Vc(a+"["+("object"==typeof e?b:"")+"]",e,c,d)});else if(c||"object"!==m.type(b))d(a,b);else for(e in b)Vc(a+"["+e+"]",b[e],c,d)}m.param=function(a,b){var c,d=[],e=function(a,b){b=m.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=m.ajaxSettings&&m.ajaxSettings.traditional),m.isArray(a)||a.jquery&&!m.isPlainObject(a))m.each(a,function(){e(this.name,this.value)});else for(c in a)Vc(c,a[c],b,e);return d.join("&").replace(Qc,"+")},m.fn.extend({serialize:function(){return m.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=m.prop(this,"elements");return a?m.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!m(this).is(":disabled")&&Uc.test(this.nodeName)&&!Tc.test(a)&&(this.checked||!W.test(a))}).map(function(a,b){var c=m(this).val();return null==c?null:m.isArray(c)?m.map(c,function(a){return{name:b.name,value:a.replace(Sc,"\r\n")}}):{name:b.name,value:c.replace(Sc,"\r\n")}}).get()}}),m.ajaxSettings.xhr=void 0!==a.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&Zc()||$c()}:Zc;var Wc=0,Xc={},Yc=m.ajaxSettings.xhr();a.ActiveXObject&&m(a).on("unload",function(){for(var a in Xc)Xc[a](void 0,!0)}),k.cors=!!Yc&&"withCredentials"in Yc,Yc=k.ajax=!!Yc,Yc&&m.ajaxTransport(function(a){if(!a.crossDomain||k.cors){var b;return{send:function(c,d){var e,f=a.xhr(),g=++Wc;if(f.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(e in a.xhrFields)f[e]=a.xhrFields[e];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType),a.crossDomain||c["X-Requested-With"]||(c["X-Requested-With"]="XMLHttpRequest");for(e in c)void 0!==c[e]&&f.setRequestHeader(e,c[e]+"");f.send(a.hasContent&&a.data||null),b=function(c,e){var h,i,j;if(b&&(e||4===f.readyState))if(delete Xc[g],b=void 0,f.onreadystatechange=m.noop,e)4!==f.readyState&&f.abort();else{j={},h=f.status,"string"==typeof f.responseText&&(j.text=f.responseText);try{i=f.statusText}catch(k){i=""}h||!a.isLocal||a.crossDomain?1223===h&&(h=204):h=j.text?200:404}j&&d(h,i,j,f.getAllResponseHeaders())},a.async?4===f.readyState?setTimeout(b):f.onreadystatechange=Xc[g]=b:b()},abort:function(){b&&b(void 0,!0)}}}});function Zc(){try{return new a.XMLHttpRequest}catch(b){}}function $c(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}m.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(a){return m.globalEval(a),a}}}),m.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),m.ajaxTransport("script",function(a){if(a.crossDomain){var b,c=y.head||m("head")[0]||y.documentElement;return{send:function(d,e){b=y.createElement("script"),b.async=!0,a.scriptCharset&&(b.charset=a.scriptCharset),b.src=a.url,b.onload=b.onreadystatechange=function(a,c){(c||!b.readyState||/loaded|complete/.test(b.readyState))&&(b.onload=b.onreadystatechange=null,b.parentNode&&b.parentNode.removeChild(b),b=null,c||e(200,"success"))},c.insertBefore(b,c.firstChild)},abort:function(){b&&b.onload(void 0,!0)}}}});var _c=[],ad=/(=)\?(?=&|$)|\?\?/;m.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=_c.pop()||m.expando+"_"+vc++;return this[a]=!0,a}}),m.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(ad.test(b.url)?"url":"string"==typeof b.data&&!(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&ad.test(b.data)&&"data");return h||"jsonp"===b.dataTypes[0]?(e=b.jsonpCallback=m.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(ad,"$1"+e):b.jsonp!==!1&&(b.url+=(wc.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||m.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,_c.push(e)),g&&m.isFunction(f)&&f(g[0]),g=f=void 0}),"script"):void 0}),m.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||y;var d=u.exec(a),e=!c&&[];return d?[b.createElement(d[1])]:(d=m.buildFragment([a],b,e),e&&e.length&&m(e).remove(),m.merge([],d.childNodes))};var bd=m.fn.load;m.fn.load=function(a,b,c){if("string"!=typeof a&&bd)return bd.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>=0&&(d=m.trim(a.slice(h,a.length)),a=a.slice(0,h)),m.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(f="POST"),g.length>0&&m.ajax({url:a,type:f,dataType:"html",data:b}).done(function(a){e=arguments,g.html(d?m("<div>").append(m.parseHTML(a)).find(d):a)}).complete(c&&function(a,b){g.each(c,e||[a.responseText,b,a])}),this},m.expr.filters.animated=function(a){return m.grep(m.timers,function(b){return a===b.elem}).length};var cd=a.document.documentElement;function dd(a){return m.isWindow(a)?a:9===a.nodeType?a.defaultView||a.parentWindow:!1}m.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=m.css(a,"position"),l=m(a),n={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=m.css(a,"top"),i=m.css(a,"left"),j=("absolute"===k||"fixed"===k)&&m.inArray("auto",[f,i])>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),m.isFunction(b)&&(b=b.call(a,c,h)),null!=b.top&&(n.top=b.top-h.top+g),null!=b.left&&(n.left=b.left-h.left+e),"using"in b?b.using.call(a,n):l.css(n)}},m.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){m.offset.setOffset(this,a,b)});var b,c,d={top:0,left:0},e=this[0],f=e&&e.ownerDocument;if(f)return b=f.documentElement,m.contains(b,e)?(typeof e.getBoundingClientRect!==K&&(d=e.getBoundingClientRect()),c=dd(f),{top:d.top+(c.pageYOffset||b.scrollTop)-(b.clientTop||0),left:d.left+(c.pageXOffset||b.scrollLeft)-(b.clientLeft||0)}):d},position:function(){if(this[0]){var a,b,c={top:0,left:0},d=this[0];return"fixed"===m.css(d,"position")?b=d.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),m.nodeName(a[0],"html")||(c=a.offset()),c.top+=m.css(a[0],"borderTopWidth",!0),c.left+=m.css(a[0],"borderLeftWidth",!0)),{top:b.top-c.top-m.css(d,"marginTop",!0),left:b.left-c.left-m.css(d,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||cd;while(a&&!m.nodeName(a,"html")&&"static"===m.css(a,"position"))a=a.offsetParent;return a||cd})}}),m.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c=/Y/.test(b);m.fn[a]=function(d){return V(this,function(a,d,e){var f=dd(a);return void 0===e?f?b in f?f[b]:f.document.documentElement[d]:a[d]:void(f?f.scrollTo(c?m(f).scrollLeft():e,c?e:m(f).scrollTop()):a[d]=e)},a,d,arguments.length,null)}}),m.each(["top","left"],function(a,b){m.cssHooks[b]=Lb(k.pixelPosition,function(a,c){return c?(c=Jb(a,b),Hb.test(c)?m(a).position()[b]+"px":c):void 0})}),m.each({Height:"height",Width:"width"},function(a,b){m.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){m.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return V(this,function(b,c,d){var e;return m.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===d?m.css(b,c,g):m.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),m.fn.size=function(){return this.length},m.fn.andSelf=m.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return m});var ed=a.jQuery,fd=a.$;return m.noConflict=function(b){return a.$===m&&(a.$=fd),b&&a.jQuery===m&&(a.jQuery=ed),m},typeof b===K&&(a.jQuery=a.$=m),m}); | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/js/jquery.ui.position.min.js
0 → 100644
| 1 | +/*! jQuery UI - v1.12.1 - 2016-09-16 | |
| 2 | + * http://jqueryui.com | |
| 3 | + * Includes: position.js | |
| 4 | + * Copyright jQuery Foundation and other contributors; Licensed MIT */ | |
| 5 | + | |
| 6 | +(function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)})(function(t){t.ui=t.ui||{},t.ui.version="1.12.1",function(){function e(t,e,i){return[parseFloat(t[0])*(u.test(t[0])?e/100:1),parseFloat(t[1])*(u.test(t[1])?i/100:1)]}function i(e,i){return parseInt(t.css(e,i),10)||0}function s(e){var i=e[0];return 9===i.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t.isWindow(i)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}var n,o=Math.max,a=Math.abs,r=/left|center|right/,l=/top|center|bottom/,h=/[\+\-]\d+(\.[\d]+)?%?/,c=/^\w+/,u=/%$/,d=t.fn.position;t.position={scrollbarWidth:function(){if(void 0!==n)return n;var e,i,s=t("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),o=s.children()[0];return t("body").append(s),e=o.offsetWidth,s.css("overflow","scroll"),i=o.offsetWidth,e===i&&(i=s[0].clientWidth),s.remove(),n=e-i},getScrollInfo:function(e){var i=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),s=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),n="scroll"===i||"auto"===i&&e.width<e.element[0].scrollWidth,o="scroll"===s||"auto"===s&&e.height<e.element[0].scrollHeight;return{width:o?t.position.scrollbarWidth():0,height:n?t.position.scrollbarWidth():0}},getWithinInfo:function(e){var i=t(e||window),s=t.isWindow(i[0]),n=!!i[0]&&9===i[0].nodeType,o=!s&&!n;return{element:i,isWindow:s,isDocument:n,offset:o?t(e).offset():{left:0,top:0},scrollLeft:i.scrollLeft(),scrollTop:i.scrollTop(),width:i.outerWidth(),height:i.outerHeight()}}},t.fn.position=function(n){if(!n||!n.of)return d.apply(this,arguments);n=t.extend({},n);var u,p,f,g,m,_,v=t(n.of),b=t.position.getWithinInfo(n.within),y=t.position.getScrollInfo(b),w=(n.collision||"flip").split(" "),k={};return _=s(v),v[0].preventDefault&&(n.at="left top"),p=_.width,f=_.height,g=_.offset,m=t.extend({},g),t.each(["my","at"],function(){var t,e,i=(n[this]||"").split(" ");1===i.length&&(i=r.test(i[0])?i.concat(["center"]):l.test(i[0])?["center"].concat(i):["center","center"]),i[0]=r.test(i[0])?i[0]:"center",i[1]=l.test(i[1])?i[1]:"center",t=h.exec(i[0]),e=h.exec(i[1]),k[this]=[t?t[0]:0,e?e[0]:0],n[this]=[c.exec(i[0])[0],c.exec(i[1])[0]]}),1===w.length&&(w[1]=w[0]),"right"===n.at[0]?m.left+=p:"center"===n.at[0]&&(m.left+=p/2),"bottom"===n.at[1]?m.top+=f:"center"===n.at[1]&&(m.top+=f/2),u=e(k.at,p,f),m.left+=u[0],m.top+=u[1],this.each(function(){var s,r,l=t(this),h=l.outerWidth(),c=l.outerHeight(),d=i(this,"marginLeft"),_=i(this,"marginTop"),x=h+d+i(this,"marginRight")+y.width,C=c+_+i(this,"marginBottom")+y.height,D=t.extend({},m),T=e(k.my,l.outerWidth(),l.outerHeight());"right"===n.my[0]?D.left-=h:"center"===n.my[0]&&(D.left-=h/2),"bottom"===n.my[1]?D.top-=c:"center"===n.my[1]&&(D.top-=c/2),D.left+=T[0],D.top+=T[1],s={marginLeft:d,marginTop:_},t.each(["left","top"],function(e,i){t.ui.position[w[e]]&&t.ui.position[w[e]][i](D,{targetWidth:p,targetHeight:f,elemWidth:h,elemHeight:c,collisionPosition:s,collisionWidth:x,collisionHeight:C,offset:[u[0]+T[0],u[1]+T[1]],my:n.my,at:n.at,within:b,elem:l})}),n.using&&(r=function(t){var e=g.left-D.left,i=e+p-h,s=g.top-D.top,r=s+f-c,u={target:{element:v,left:g.left,top:g.top,width:p,height:f},element:{element:l,left:D.left,top:D.top,width:h,height:c},horizontal:0>i?"left":e>0?"right":"center",vertical:0>r?"top":s>0?"bottom":"middle"};h>p&&p>a(e+i)&&(u.horizontal="center"),c>f&&f>a(s+r)&&(u.vertical="middle"),u.important=o(a(e),a(i))>o(a(s),a(r))?"horizontal":"vertical",n.using.call(this,t,u)}),l.offset(t.extend(D,{using:r}))})},t.ui.position={fit:{left:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollLeft:s.offset.left,a=s.width,r=t.left-e.collisionPosition.marginLeft,l=n-r,h=r+e.collisionWidth-a-n;e.collisionWidth>a?l>0&&0>=h?(i=t.left+l+e.collisionWidth-a-n,t.left+=l-i):t.left=h>0&&0>=l?n:l>h?n+a-e.collisionWidth:n:l>0?t.left+=l:h>0?t.left-=h:t.left=o(t.left-r,t.left)},top:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollTop:s.offset.top,a=e.within.height,r=t.top-e.collisionPosition.marginTop,l=n-r,h=r+e.collisionHeight-a-n;e.collisionHeight>a?l>0&&0>=h?(i=t.top+l+e.collisionHeight-a-n,t.top+=l-i):t.top=h>0&&0>=l?n:l>h?n+a-e.collisionHeight:n:l>0?t.top+=l:h>0?t.top-=h:t.top=o(t.top-r,t.top)}},flip:{left:function(t,e){var i,s,n=e.within,o=n.offset.left+n.scrollLeft,r=n.width,l=n.isWindow?n.scrollLeft:n.offset.left,h=t.left-e.collisionPosition.marginLeft,c=h-l,u=h+e.collisionWidth-r-l,d="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,p="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];0>c?(i=t.left+d+p+f+e.collisionWidth-r-o,(0>i||a(c)>i)&&(t.left+=d+p+f)):u>0&&(s=t.left-e.collisionPosition.marginLeft+d+p+f-l,(s>0||u>a(s))&&(t.left+=d+p+f))},top:function(t,e){var i,s,n=e.within,o=n.offset.top+n.scrollTop,r=n.height,l=n.isWindow?n.scrollTop:n.offset.top,h=t.top-e.collisionPosition.marginTop,c=h-l,u=h+e.collisionHeight-r-l,d="top"===e.my[1],p=d?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,f="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,g=-2*e.offset[1];0>c?(s=t.top+p+f+g+e.collisionHeight-r-o,(0>s||a(c)>s)&&(t.top+=p+f+g)):u>0&&(i=t.top-e.collisionPosition.marginTop+p+f+g-l,(i>0||u>a(i))&&(t.top+=p+f+g))}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}}}(),t.ui.position}); | |
| 0 | 7 | \ No newline at end of file | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/flatpickr/flatpickr.css
0 → 100644
| 1 | +.flatpickr-calendar { | |
| 2 | + background: transparent; | |
| 3 | + overflow: hidden; | |
| 4 | + max-height: 0; | |
| 5 | + opacity: 0; | |
| 6 | + visibility: hidden; | |
| 7 | + text-align: center; | |
| 8 | + padding: 0; | |
| 9 | + -webkit-animation: none; | |
| 10 | + animation: none; | |
| 11 | + direction: ltr; | |
| 12 | + border: 0; | |
| 13 | + font-size: 14px; | |
| 14 | + line-height: 24px; | |
| 15 | + border-radius: 5px; | |
| 16 | + position: absolute; | |
| 17 | + width: 307.875px; | |
| 18 | + -webkit-box-sizing: border-box; | |
| 19 | + box-sizing: border-box; | |
| 20 | + -ms-touch-action: manipulation; | |
| 21 | + touch-action: manipulation; | |
| 22 | + background: #fff; | |
| 23 | + -webkit-box-shadow: 1px 0 0 #e6e6e6, -1px 0 0 #e6e6e6, 0 1px 0 #e6e6e6, 0 -1px 0 #e6e6e6, 0 3px 13px rgba(0,0,0,0.08); | |
| 24 | + box-shadow: 1px 0 0 #e6e6e6, -1px 0 0 #e6e6e6, 0 1px 0 #e6e6e6, 0 -1px 0 #e6e6e6, 0 3px 13px rgba(0,0,0,0.08); | |
| 25 | +} | |
| 26 | +.flatpickr-calendar.open, | |
| 27 | +.flatpickr-calendar.inline { | |
| 28 | + opacity: 1; | |
| 29 | + visibility: visible; | |
| 30 | + overflow: visible; | |
| 31 | + max-height: 640px; | |
| 32 | +} | |
| 33 | +.flatpickr-calendar.open { | |
| 34 | + display: inline-block; | |
| 35 | + z-index: 99999; | |
| 36 | +} | |
| 37 | +.flatpickr-calendar.animate.open { | |
| 38 | + -webkit-animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 39 | + animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 40 | +} | |
| 41 | +.flatpickr-calendar.inline { | |
| 42 | + display: block; | |
| 43 | + position: relative; | |
| 44 | + top: 2px; | |
| 45 | +} | |
| 46 | +.flatpickr-calendar.static { | |
| 47 | + position: absolute; | |
| 48 | + top: calc(100% + 2px); | |
| 49 | +} | |
| 50 | +.flatpickr-calendar.static.open { | |
| 51 | + z-index: 999; | |
| 52 | + display: block; | |
| 53 | +} | |
| 54 | +.flatpickr-calendar.hasWeeks { | |
| 55 | + width: auto; | |
| 56 | +} | |
| 57 | +.flatpickr-calendar .hasWeeks .dayContainer, | |
| 58 | +.flatpickr-calendar .hasTime .dayContainer { | |
| 59 | + border-bottom: 0; | |
| 60 | + border-bottom-right-radius: 0; | |
| 61 | + border-bottom-left-radius: 0; | |
| 62 | +} | |
| 63 | +.flatpickr-calendar .hasWeeks .dayContainer { | |
| 64 | + border-left: 0; | |
| 65 | +} | |
| 66 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time { | |
| 67 | + height: 40px; | |
| 68 | + border-top: 1px solid #e6e6e6; | |
| 69 | +} | |
| 70 | +.flatpickr-calendar.noCalendar.hasTime .flatpickr-time { | |
| 71 | + height: auto; | |
| 72 | +} | |
| 73 | +.flatpickr-calendar:before, | |
| 74 | +.flatpickr-calendar:after { | |
| 75 | + position: absolute; | |
| 76 | + display: block; | |
| 77 | + pointer-events: none; | |
| 78 | + border: solid transparent; | |
| 79 | + content: ''; | |
| 80 | + height: 0; | |
| 81 | + width: 0; | |
| 82 | + left: 22px; | |
| 83 | +} | |
| 84 | +.flatpickr-calendar.rightMost:before, | |
| 85 | +.flatpickr-calendar.rightMost:after { | |
| 86 | + left: auto; | |
| 87 | + right: 22px; | |
| 88 | +} | |
| 89 | +.flatpickr-calendar:before { | |
| 90 | + border-width: 5px; | |
| 91 | + margin: 0 -5px; | |
| 92 | +} | |
| 93 | +.flatpickr-calendar:after { | |
| 94 | + border-width: 4px; | |
| 95 | + margin: 0 -4px; | |
| 96 | +} | |
| 97 | +.flatpickr-calendar.arrowTop:before, | |
| 98 | +.flatpickr-calendar.arrowTop:after { | |
| 99 | + bottom: 100%; | |
| 100 | +} | |
| 101 | +.flatpickr-calendar.arrowTop:before { | |
| 102 | + border-bottom-color: #e6e6e6; | |
| 103 | +} | |
| 104 | +.flatpickr-calendar.arrowTop:after { | |
| 105 | + border-bottom-color: #fff; | |
| 106 | +} | |
| 107 | +.flatpickr-calendar.arrowBottom:before, | |
| 108 | +.flatpickr-calendar.arrowBottom:after { | |
| 109 | + top: 100%; | |
| 110 | +} | |
| 111 | +.flatpickr-calendar.arrowBottom:before { | |
| 112 | + border-top-color: #e6e6e6; | |
| 113 | +} | |
| 114 | +.flatpickr-calendar.arrowBottom:after { | |
| 115 | + border-top-color: #fff; | |
| 116 | +} | |
| 117 | +.flatpickr-calendar:focus { | |
| 118 | + outline: 0; | |
| 119 | +} | |
| 120 | +.flatpickr-wrapper { | |
| 121 | + position: relative; | |
| 122 | + display: inline-block; | |
| 123 | +} | |
| 124 | +.flatpickr-month { | |
| 125 | + background: transparent; | |
| 126 | + color: rgba(0,0,0,0.9); | |
| 127 | + fill: rgba(0,0,0,0.9); | |
| 128 | + height: 28px; | |
| 129 | + line-height: 1; | |
| 130 | + text-align: center; | |
| 131 | + position: relative; | |
| 132 | + -webkit-user-select: none; | |
| 133 | + -moz-user-select: none; | |
| 134 | + -ms-user-select: none; | |
| 135 | + user-select: none; | |
| 136 | + overflow: hidden; | |
| 137 | +} | |
| 138 | +.flatpickr-prev-month, | |
| 139 | +.flatpickr-next-month { | |
| 140 | + text-decoration: none; | |
| 141 | + cursor: pointer; | |
| 142 | + position: absolute; | |
| 143 | + top: 0px; | |
| 144 | + line-height: 16px; | |
| 145 | + height: 28px; | |
| 146 | + padding: 10px calc(3.57% - 1.5px); | |
| 147 | + z-index: 3; | |
| 148 | +} | |
| 149 | +.flatpickr-prev-month i, | |
| 150 | +.flatpickr-next-month i { | |
| 151 | + position: relative; | |
| 152 | +} | |
| 153 | +.flatpickr-prev-month.flatpickr-prev-month, | |
| 154 | +.flatpickr-next-month.flatpickr-prev-month { | |
| 155 | +/* | |
| 156 | + /*rtl:begin:ignore*/ | |
| 157 | +/* | |
| 158 | + */ | |
| 159 | + left: 0; | |
| 160 | +/* | |
| 161 | + /*rtl:end:ignore*/ | |
| 162 | +/* | |
| 163 | + */ | |
| 164 | +} | |
| 165 | +/* | |
| 166 | + /*rtl:begin:ignore*/ | |
| 167 | +/* | |
| 168 | + /*rtl:end:ignore*/ | |
| 169 | +.flatpickr-prev-month.flatpickr-next-month, | |
| 170 | +.flatpickr-next-month.flatpickr-next-month { | |
| 171 | +/* | |
| 172 | + /*rtl:begin:ignore*/ | |
| 173 | +/* | |
| 174 | + */ | |
| 175 | + right: 0; | |
| 176 | +/* | |
| 177 | + /*rtl:end:ignore*/ | |
| 178 | +/* | |
| 179 | + */ | |
| 180 | +} | |
| 181 | +/* | |
| 182 | + /*rtl:begin:ignore*/ | |
| 183 | +/* | |
| 184 | + /*rtl:end:ignore*/ | |
| 185 | +.flatpickr-prev-month:hover, | |
| 186 | +.flatpickr-next-month:hover { | |
| 187 | + color: #959ea9; | |
| 188 | +} | |
| 189 | +.flatpickr-prev-month:hover svg, | |
| 190 | +.flatpickr-next-month:hover svg { | |
| 191 | + fill: #f64747; | |
| 192 | +} | |
| 193 | +.flatpickr-prev-month svg, | |
| 194 | +.flatpickr-next-month svg { | |
| 195 | + width: 14px; | |
| 196 | +} | |
| 197 | +.flatpickr-prev-month svg path, | |
| 198 | +.flatpickr-next-month svg path { | |
| 199 | + -webkit-transition: fill 0.1s; | |
| 200 | + transition: fill 0.1s; | |
| 201 | + fill: inherit; | |
| 202 | +} | |
| 203 | +.numInputWrapper { | |
| 204 | + position: relative; | |
| 205 | + height: auto; | |
| 206 | +} | |
| 207 | +.numInputWrapper input, | |
| 208 | +.numInputWrapper span { | |
| 209 | + display: inline-block; | |
| 210 | +} | |
| 211 | +.numInputWrapper input { | |
| 212 | + width: 100%; | |
| 213 | +} | |
| 214 | +.numInputWrapper span { | |
| 215 | + position: absolute; | |
| 216 | + right: 0; | |
| 217 | + width: 14px; | |
| 218 | + padding: 0 4px 0 2px; | |
| 219 | + height: 50%; | |
| 220 | + line-height: 50%; | |
| 221 | + opacity: 0; | |
| 222 | + cursor: pointer; | |
| 223 | + border: 1px solid rgba(57,57,57,0.05); | |
| 224 | + -webkit-box-sizing: border-box; | |
| 225 | + box-sizing: border-box; | |
| 226 | +} | |
| 227 | +.numInputWrapper span:hover { | |
| 228 | + background: rgba(0,0,0,0.1); | |
| 229 | +} | |
| 230 | +.numInputWrapper span:active { | |
| 231 | + background: rgba(0,0,0,0.2); | |
| 232 | +} | |
| 233 | +.numInputWrapper span:after { | |
| 234 | + display: block; | |
| 235 | + content: ""; | |
| 236 | + position: absolute; | |
| 237 | + top: 33%; | |
| 238 | +} | |
| 239 | +.numInputWrapper span.arrowUp { | |
| 240 | + top: 0; | |
| 241 | + border-bottom: 0; | |
| 242 | +} | |
| 243 | +.numInputWrapper span.arrowUp:after { | |
| 244 | + border-left: 4px solid transparent; | |
| 245 | + border-right: 4px solid transparent; | |
| 246 | + border-bottom: 4px solid rgba(57,57,57,0.6); | |
| 247 | +} | |
| 248 | +.numInputWrapper span.arrowDown { | |
| 249 | + top: 50%; | |
| 250 | +} | |
| 251 | +.numInputWrapper span.arrowDown:after { | |
| 252 | + border-left: 4px solid transparent; | |
| 253 | + border-right: 4px solid transparent; | |
| 254 | + border-top: 4px solid rgba(57,57,57,0.6); | |
| 255 | +} | |
| 256 | +.numInputWrapper span svg { | |
| 257 | + width: inherit; | |
| 258 | + height: auto; | |
| 259 | +} | |
| 260 | +.numInputWrapper span svg path { | |
| 261 | + fill: rgba(0,0,0,0.5); | |
| 262 | +} | |
| 263 | +.numInputWrapper:hover { | |
| 264 | + background: rgba(0,0,0,0.05); | |
| 265 | +} | |
| 266 | +.numInputWrapper:hover span { | |
| 267 | + opacity: 1; | |
| 268 | +} | |
| 269 | +.flatpickr-current-month { | |
| 270 | + font-size: 135%; | |
| 271 | + line-height: inherit; | |
| 272 | + font-weight: 300; | |
| 273 | + color: inherit; | |
| 274 | + position: absolute; | |
| 275 | + width: 75%; | |
| 276 | + left: 12.5%; | |
| 277 | + padding: 6.16px 0 0 0; | |
| 278 | + line-height: 1; | |
| 279 | + height: 28px; | |
| 280 | + display: inline-block; | |
| 281 | + text-align: center; | |
| 282 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 283 | + transform: translate3d(0px, 0px, 0px); | |
| 284 | +} | |
| 285 | +.flatpickr-current-month.slideLeft { | |
| 286 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 287 | + transform: translate3d(-100%, 0px, 0px); | |
| 288 | + -webkit-animation: fpFadeOut 400ms ease, fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 289 | + animation: fpFadeOut 400ms ease, fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 290 | +} | |
| 291 | +.flatpickr-current-month.slideLeftNew { | |
| 292 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 293 | + transform: translate3d(100%, 0px, 0px); | |
| 294 | + -webkit-animation: fpFadeIn 400ms ease, fpSlideLeftNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 295 | + animation: fpFadeIn 400ms ease, fpSlideLeftNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 296 | +} | |
| 297 | +.flatpickr-current-month.slideRight { | |
| 298 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 299 | + transform: translate3d(100%, 0px, 0px); | |
| 300 | + -webkit-animation: fpFadeOut 400ms ease, fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 301 | + animation: fpFadeOut 400ms ease, fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 302 | +} | |
| 303 | +.flatpickr-current-month.slideRightNew { | |
| 304 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 305 | + transform: translate3d(0, 0, 0px); | |
| 306 | + -webkit-animation: fpFadeIn 400ms ease, fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 307 | + animation: fpFadeIn 400ms ease, fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 308 | +} | |
| 309 | +.flatpickr-current-month span.cur-month { | |
| 310 | + font-family: inherit; | |
| 311 | + font-weight: 700; | |
| 312 | + color: inherit; | |
| 313 | + display: inline-block; | |
| 314 | + margin-left: 0.5ch; | |
| 315 | + padding: 0; | |
| 316 | +} | |
| 317 | +.flatpickr-current-month span.cur-month:hover { | |
| 318 | + background: rgba(0,0,0,0.05); | |
| 319 | +} | |
| 320 | +.flatpickr-current-month .numInputWrapper { | |
| 321 | + width: 6ch; | |
| 322 | + width: 7ch\0; | |
| 323 | + display: inline-block; | |
| 324 | +} | |
| 325 | +.flatpickr-current-month .numInputWrapper span.arrowUp:after { | |
| 326 | + border-bottom-color: rgba(0,0,0,0.9); | |
| 327 | +} | |
| 328 | +.flatpickr-current-month .numInputWrapper span.arrowDown:after { | |
| 329 | + border-top-color: rgba(0,0,0,0.9); | |
| 330 | +} | |
| 331 | +.flatpickr-current-month input.cur-year { | |
| 332 | + background: transparent; | |
| 333 | + -webkit-box-sizing: border-box; | |
| 334 | + box-sizing: border-box; | |
| 335 | + color: inherit; | |
| 336 | + cursor: default; | |
| 337 | + padding: 0 0 0 0.5ch; | |
| 338 | + margin: 0; | |
| 339 | + display: inline-block; | |
| 340 | + font-size: inherit; | |
| 341 | + font-family: inherit; | |
| 342 | + font-weight: 300; | |
| 343 | + line-height: inherit; | |
| 344 | + height: initial; | |
| 345 | + border: 0; | |
| 346 | + border-radius: 0; | |
| 347 | + vertical-align: initial; | |
| 348 | +} | |
| 349 | +.flatpickr-current-month input.cur-year:focus { | |
| 350 | + outline: 0; | |
| 351 | +} | |
| 352 | +.flatpickr-current-month input.cur-year[disabled], | |
| 353 | +.flatpickr-current-month input.cur-year[disabled]:hover { | |
| 354 | + font-size: 100%; | |
| 355 | + color: rgba(0,0,0,0.5); | |
| 356 | + background: transparent; | |
| 357 | + pointer-events: none; | |
| 358 | +} | |
| 359 | +.flatpickr-weekdays { | |
| 360 | + background: transparent; | |
| 361 | + text-align: center; | |
| 362 | + overflow: hidden; | |
| 363 | + width: 100%; | |
| 364 | + display: -webkit-box; | |
| 365 | + display: -webkit-flex; | |
| 366 | + display: -ms-flexbox; | |
| 367 | + display: flex; | |
| 368 | + -webkit-box-align: center; | |
| 369 | + -webkit-align-items: center; | |
| 370 | + -ms-flex-align: center; | |
| 371 | + align-items: center; | |
| 372 | + height: 28px; | |
| 373 | +} | |
| 374 | +span.flatpickr-weekday { | |
| 375 | + cursor: default; | |
| 376 | + font-size: 90%; | |
| 377 | + background: transparent; | |
| 378 | + color: rgba(0,0,0,0.54); | |
| 379 | + line-height: 1; | |
| 380 | + margin: 0; | |
| 381 | + text-align: center; | |
| 382 | + display: block; | |
| 383 | + -webkit-box-flex: 1; | |
| 384 | + -webkit-flex: 1; | |
| 385 | + -ms-flex: 1; | |
| 386 | + flex: 1; | |
| 387 | + font-weight: bolder; | |
| 388 | +} | |
| 389 | +.dayContainer, | |
| 390 | +.flatpickr-weeks { | |
| 391 | + padding: 1px 0 0 0; | |
| 392 | +} | |
| 393 | +.flatpickr-days { | |
| 394 | + position: relative; | |
| 395 | + overflow: hidden; | |
| 396 | + display: -webkit-box; | |
| 397 | + display: -webkit-flex; | |
| 398 | + display: -ms-flexbox; | |
| 399 | + display: flex; | |
| 400 | + width: 307.875px; | |
| 401 | +} | |
| 402 | +.flatpickr-days:focus { | |
| 403 | + outline: 0; | |
| 404 | +} | |
| 405 | +.dayContainer { | |
| 406 | + padding: 0; | |
| 407 | + outline: 0; | |
| 408 | + text-align: left; | |
| 409 | + width: 307.875px; | |
| 410 | + min-width: 307.875px; | |
| 411 | + max-width: 307.875px; | |
| 412 | + -webkit-box-sizing: border-box; | |
| 413 | + box-sizing: border-box; | |
| 414 | + display: inline-block; | |
| 415 | + display: -ms-flexbox; | |
| 416 | + display: -webkit-box; | |
| 417 | + display: -webkit-flex; | |
| 418 | + display: flex; | |
| 419 | + -webkit-flex-wrap: wrap; | |
| 420 | + flex-wrap: wrap; | |
| 421 | + -ms-flex-wrap: wrap; | |
| 422 | + -ms-flex-pack: justify; | |
| 423 | + -webkit-justify-content: space-around; | |
| 424 | + justify-content: space-around; | |
| 425 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 426 | + transform: translate3d(0px, 0px, 0px); | |
| 427 | + opacity: 1; | |
| 428 | +} | |
| 429 | +.flatpickr-calendar.animate .dayContainer.slideLeft { | |
| 430 | + -webkit-animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 431 | + animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 432 | +} | |
| 433 | +.flatpickr-calendar.animate .dayContainer.slideLeft, | |
| 434 | +.flatpickr-calendar.animate .dayContainer.slideLeftNew { | |
| 435 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 436 | + transform: translate3d(-100%, 0px, 0px); | |
| 437 | +} | |
| 438 | +.flatpickr-calendar.animate .dayContainer.slideLeftNew { | |
| 439 | + -webkit-animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 440 | + animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 441 | +} | |
| 442 | +.flatpickr-calendar.animate .dayContainer.slideRight { | |
| 443 | + -webkit-animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 444 | + animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 445 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 446 | + transform: translate3d(100%, 0px, 0px); | |
| 447 | +} | |
| 448 | +.flatpickr-calendar.animate .dayContainer.slideRightNew { | |
| 449 | + -webkit-animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 450 | + animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 451 | +} | |
| 452 | +.flatpickr-day { | |
| 453 | + background: none; | |
| 454 | + border: 1px solid transparent; | |
| 455 | + border-radius: 150px; | |
| 456 | + -webkit-box-sizing: border-box; | |
| 457 | + box-sizing: border-box; | |
| 458 | + color: #393939; | |
| 459 | + cursor: pointer; | |
| 460 | + font-weight: 400; | |
| 461 | + width: 14.2857143%; | |
| 462 | + -webkit-flex-basis: 14.2857143%; | |
| 463 | + -ms-flex-preferred-size: 14.2857143%; | |
| 464 | + flex-basis: 14.2857143%; | |
| 465 | + max-width: 39px; | |
| 466 | + height: 39px; | |
| 467 | + line-height: 39px; | |
| 468 | + margin: 0; | |
| 469 | + display: inline-block; | |
| 470 | + position: relative; | |
| 471 | + -webkit-box-pack: center; | |
| 472 | + -webkit-justify-content: center; | |
| 473 | + -ms-flex-pack: center; | |
| 474 | + justify-content: center; | |
| 475 | + text-align: center; | |
| 476 | +} | |
| 477 | +.flatpickr-day.inRange, | |
| 478 | +.flatpickr-day.prevMonthDay.inRange, | |
| 479 | +.flatpickr-day.nextMonthDay.inRange, | |
| 480 | +.flatpickr-day.today.inRange, | |
| 481 | +.flatpickr-day.prevMonthDay.today.inRange, | |
| 482 | +.flatpickr-day.nextMonthDay.today.inRange, | |
| 483 | +.flatpickr-day:hover, | |
| 484 | +.flatpickr-day.prevMonthDay:hover, | |
| 485 | +.flatpickr-day.nextMonthDay:hover, | |
| 486 | +.flatpickr-day:focus, | |
| 487 | +.flatpickr-day.prevMonthDay:focus, | |
| 488 | +.flatpickr-day.nextMonthDay:focus { | |
| 489 | + cursor: pointer; | |
| 490 | + outline: 0; | |
| 491 | + background: #e6e6e6; | |
| 492 | + border-color: #e6e6e6; | |
| 493 | +} | |
| 494 | +.flatpickr-day.today { | |
| 495 | + border-color: #959ea9; | |
| 496 | +} | |
| 497 | +.flatpickr-day.today:hover, | |
| 498 | +.flatpickr-day.today:focus { | |
| 499 | + border-color: #959ea9; | |
| 500 | + background: #959ea9; | |
| 501 | + color: #fff; | |
| 502 | +} | |
| 503 | +.flatpickr-day.selected, | |
| 504 | +.flatpickr-day.startRange, | |
| 505 | +.flatpickr-day.endRange, | |
| 506 | +.flatpickr-day.selected.inRange, | |
| 507 | +.flatpickr-day.startRange.inRange, | |
| 508 | +.flatpickr-day.endRange.inRange, | |
| 509 | +.flatpickr-day.selected:focus, | |
| 510 | +.flatpickr-day.startRange:focus, | |
| 511 | +.flatpickr-day.endRange:focus, | |
| 512 | +.flatpickr-day.selected:hover, | |
| 513 | +.flatpickr-day.startRange:hover, | |
| 514 | +.flatpickr-day.endRange:hover, | |
| 515 | +.flatpickr-day.selected.prevMonthDay, | |
| 516 | +.flatpickr-day.startRange.prevMonthDay, | |
| 517 | +.flatpickr-day.endRange.prevMonthDay, | |
| 518 | +.flatpickr-day.selected.nextMonthDay, | |
| 519 | +.flatpickr-day.startRange.nextMonthDay, | |
| 520 | +.flatpickr-day.endRange.nextMonthDay { | |
| 521 | + background: #569ff7; | |
| 522 | + -webkit-box-shadow: none; | |
| 523 | + box-shadow: none; | |
| 524 | + color: #fff; | |
| 525 | + border-color: #569ff7; | |
| 526 | +} | |
| 527 | +.flatpickr-day.selected.startRange, | |
| 528 | +.flatpickr-day.startRange.startRange, | |
| 529 | +.flatpickr-day.endRange.startRange { | |
| 530 | + border-radius: 50px 0 0 50px; | |
| 531 | +} | |
| 532 | +.flatpickr-day.selected.endRange, | |
| 533 | +.flatpickr-day.startRange.endRange, | |
| 534 | +.flatpickr-day.endRange.endRange { | |
| 535 | + border-radius: 0 50px 50px 0; | |
| 536 | +} | |
| 537 | +.flatpickr-day.selected.startRange + .endRange, | |
| 538 | +.flatpickr-day.startRange.startRange + .endRange, | |
| 539 | +.flatpickr-day.endRange.startRange + .endRange { | |
| 540 | + -webkit-box-shadow: -10px 0 0 #569ff7; | |
| 541 | + box-shadow: -10px 0 0 #569ff7; | |
| 542 | +} | |
| 543 | +.flatpickr-day.selected.startRange.endRange, | |
| 544 | +.flatpickr-day.startRange.startRange.endRange, | |
| 545 | +.flatpickr-day.endRange.startRange.endRange { | |
| 546 | + border-radius: 50px; | |
| 547 | +} | |
| 548 | +.flatpickr-day.inRange { | |
| 549 | + border-radius: 0; | |
| 550 | + -webkit-box-shadow: -5px 0 0 #e6e6e6, 5px 0 0 #e6e6e6; | |
| 551 | + box-shadow: -5px 0 0 #e6e6e6, 5px 0 0 #e6e6e6; | |
| 552 | +} | |
| 553 | +.flatpickr-day.disabled, | |
| 554 | +.flatpickr-day.disabled:hover { | |
| 555 | + pointer-events: none; | |
| 556 | +} | |
| 557 | +.flatpickr-day.disabled, | |
| 558 | +.flatpickr-day.disabled:hover, | |
| 559 | +.flatpickr-day.prevMonthDay, | |
| 560 | +.flatpickr-day.nextMonthDay, | |
| 561 | +.flatpickr-day.notAllowed, | |
| 562 | +.flatpickr-day.notAllowed.prevMonthDay, | |
| 563 | +.flatpickr-day.notAllowed.nextMonthDay { | |
| 564 | + color: rgba(57,57,57,0.3); | |
| 565 | + background: transparent; | |
| 566 | + border-color: transparent; | |
| 567 | + cursor: default; | |
| 568 | +} | |
| 569 | +.flatpickr-day.week.selected { | |
| 570 | + border-radius: 0; | |
| 571 | + -webkit-box-shadow: -5px 0 0 #569ff7, 5px 0 0 #569ff7; | |
| 572 | + box-shadow: -5px 0 0 #569ff7, 5px 0 0 #569ff7; | |
| 573 | +} | |
| 574 | +.rangeMode .flatpickr-day { | |
| 575 | + margin-top: 1px; | |
| 576 | +} | |
| 577 | +.flatpickr-weekwrapper { | |
| 578 | + display: inline-block; | |
| 579 | + float: left; | |
| 580 | +} | |
| 581 | +.flatpickr-weekwrapper .flatpickr-weeks { | |
| 582 | + padding: 0 12px; | |
| 583 | + -webkit-box-shadow: 1px 0 0 #e6e6e6; | |
| 584 | + box-shadow: 1px 0 0 #e6e6e6; | |
| 585 | +} | |
| 586 | +.flatpickr-weekwrapper .flatpickr-weekday { | |
| 587 | + float: none; | |
| 588 | + width: 100%; | |
| 589 | + line-height: 28px; | |
| 590 | +} | |
| 591 | +.flatpickr-weekwrapper span.flatpickr-day { | |
| 592 | + display: block; | |
| 593 | + width: 100%; | |
| 594 | + max-width: none; | |
| 595 | +} | |
| 596 | +.flatpickr-innerContainer { | |
| 597 | + display: block; | |
| 598 | + display: -webkit-box; | |
| 599 | + display: -webkit-flex; | |
| 600 | + display: -ms-flexbox; | |
| 601 | + display: flex; | |
| 602 | + -webkit-box-sizing: border-box; | |
| 603 | + box-sizing: border-box; | |
| 604 | + overflow: hidden; | |
| 605 | +} | |
| 606 | +.flatpickr-rContainer { | |
| 607 | + display: inline-block; | |
| 608 | + padding: 0; | |
| 609 | + -webkit-box-sizing: border-box; | |
| 610 | + box-sizing: border-box; | |
| 611 | +} | |
| 612 | +.flatpickr-time { | |
| 613 | + text-align: center; | |
| 614 | + outline: 0; | |
| 615 | + display: block; | |
| 616 | + height: 0; | |
| 617 | + line-height: 40px; | |
| 618 | + max-height: 40px; | |
| 619 | + -webkit-box-sizing: border-box; | |
| 620 | + box-sizing: border-box; | |
| 621 | + overflow: hidden; | |
| 622 | + display: -webkit-box; | |
| 623 | + display: -webkit-flex; | |
| 624 | + display: -ms-flexbox; | |
| 625 | + display: flex; | |
| 626 | +} | |
| 627 | +.flatpickr-time:after { | |
| 628 | + content: ""; | |
| 629 | + display: table; | |
| 630 | + clear: both; | |
| 631 | +} | |
| 632 | +.flatpickr-time .numInputWrapper { | |
| 633 | + -webkit-box-flex: 1; | |
| 634 | + -webkit-flex: 1; | |
| 635 | + -ms-flex: 1; | |
| 636 | + flex: 1; | |
| 637 | + width: 40%; | |
| 638 | + height: 40px; | |
| 639 | + float: left; | |
| 640 | +} | |
| 641 | +.flatpickr-time .numInputWrapper span.arrowUp:after { | |
| 642 | + border-bottom-color: #393939; | |
| 643 | +} | |
| 644 | +.flatpickr-time .numInputWrapper span.arrowDown:after { | |
| 645 | + border-top-color: #393939; | |
| 646 | +} | |
| 647 | +.flatpickr-time.hasSeconds .numInputWrapper { | |
| 648 | + width: 26%; | |
| 649 | +} | |
| 650 | +.flatpickr-time.time24hr .numInputWrapper { | |
| 651 | + width: 49%; | |
| 652 | +} | |
| 653 | +.flatpickr-time input { | |
| 654 | + background: transparent; | |
| 655 | + -webkit-box-shadow: none; | |
| 656 | + box-shadow: none; | |
| 657 | + border: 0; | |
| 658 | + border-radius: 0; | |
| 659 | + text-align: center; | |
| 660 | + margin: 0; | |
| 661 | + padding: 0; | |
| 662 | + height: inherit; | |
| 663 | + line-height: inherit; | |
| 664 | + cursor: pointer; | |
| 665 | + color: #393939; | |
| 666 | + font-size: 14px; | |
| 667 | + position: relative; | |
| 668 | + -webkit-box-sizing: border-box; | |
| 669 | + box-sizing: border-box; | |
| 670 | +} | |
| 671 | +.flatpickr-time input.flatpickr-hour { | |
| 672 | + font-weight: bold; | |
| 673 | +} | |
| 674 | +.flatpickr-time input.flatpickr-minute, | |
| 675 | +.flatpickr-time input.flatpickr-second { | |
| 676 | + font-weight: 400; | |
| 677 | +} | |
| 678 | +.flatpickr-time input:focus { | |
| 679 | + outline: 0; | |
| 680 | + border: 0; | |
| 681 | +} | |
| 682 | +.flatpickr-time .flatpickr-time-separator, | |
| 683 | +.flatpickr-time .flatpickr-am-pm { | |
| 684 | + height: inherit; | |
| 685 | + display: inline-block; | |
| 686 | + float: left; | |
| 687 | + line-height: inherit; | |
| 688 | + color: #393939; | |
| 689 | + font-weight: bold; | |
| 690 | + width: 2%; | |
| 691 | + -webkit-user-select: none; | |
| 692 | + -moz-user-select: none; | |
| 693 | + -ms-user-select: none; | |
| 694 | + user-select: none; | |
| 695 | + -webkit-align-self: center; | |
| 696 | + -ms-flex-item-align: center; | |
| 697 | + align-self: center; | |
| 698 | +} | |
| 699 | +.flatpickr-time .flatpickr-am-pm { | |
| 700 | + outline: 0; | |
| 701 | + width: 18%; | |
| 702 | + cursor: pointer; | |
| 703 | + text-align: center; | |
| 704 | + font-weight: 400; | |
| 705 | +} | |
| 706 | +.flatpickr-time .flatpickr-am-pm:hover, | |
| 707 | +.flatpickr-time .flatpickr-am-pm:focus { | |
| 708 | + background: #f0f0f0; | |
| 709 | +} | |
| 710 | +.flatpickr-input[readonly] { | |
| 711 | + cursor: pointer; | |
| 712 | +} | |
| 713 | +@-webkit-keyframes fpFadeInDown { | |
| 714 | + from { | |
| 715 | + opacity: 0; | |
| 716 | + -webkit-transform: translate3d(0, -20px, 0); | |
| 717 | + transform: translate3d(0, -20px, 0); | |
| 718 | + } | |
| 719 | + to { | |
| 720 | + opacity: 1; | |
| 721 | + -webkit-transform: translate3d(0, 0, 0); | |
| 722 | + transform: translate3d(0, 0, 0); | |
| 723 | + } | |
| 724 | +} | |
| 725 | +@keyframes fpFadeInDown { | |
| 726 | + from { | |
| 727 | + opacity: 0; | |
| 728 | + -webkit-transform: translate3d(0, -20px, 0); | |
| 729 | + transform: translate3d(0, -20px, 0); | |
| 730 | + } | |
| 731 | + to { | |
| 732 | + opacity: 1; | |
| 733 | + -webkit-transform: translate3d(0, 0, 0); | |
| 734 | + transform: translate3d(0, 0, 0); | |
| 735 | + } | |
| 736 | +} | |
| 737 | +@-webkit-keyframes fpSlideLeft { | |
| 738 | + from { | |
| 739 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 740 | + transform: translate3d(0px, 0px, 0px); | |
| 741 | + } | |
| 742 | + to { | |
| 743 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 744 | + transform: translate3d(-100%, 0px, 0px); | |
| 745 | + } | |
| 746 | +} | |
| 747 | +@keyframes fpSlideLeft { | |
| 748 | + from { | |
| 749 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 750 | + transform: translate3d(0px, 0px, 0px); | |
| 751 | + } | |
| 752 | + to { | |
| 753 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 754 | + transform: translate3d(-100%, 0px, 0px); | |
| 755 | + } | |
| 756 | +} | |
| 757 | +@-webkit-keyframes fpSlideLeftNew { | |
| 758 | + from { | |
| 759 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 760 | + transform: translate3d(100%, 0px, 0px); | |
| 761 | + } | |
| 762 | + to { | |
| 763 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 764 | + transform: translate3d(0px, 0px, 0px); | |
| 765 | + } | |
| 766 | +} | |
| 767 | +@keyframes fpSlideLeftNew { | |
| 768 | + from { | |
| 769 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 770 | + transform: translate3d(100%, 0px, 0px); | |
| 771 | + } | |
| 772 | + to { | |
| 773 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 774 | + transform: translate3d(0px, 0px, 0px); | |
| 775 | + } | |
| 776 | +} | |
| 777 | +@-webkit-keyframes fpSlideRight { | |
| 778 | + from { | |
| 779 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 780 | + transform: translate3d(0, 0, 0px); | |
| 781 | + } | |
| 782 | + to { | |
| 783 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 784 | + transform: translate3d(100%, 0px, 0px); | |
| 785 | + } | |
| 786 | +} | |
| 787 | +@keyframes fpSlideRight { | |
| 788 | + from { | |
| 789 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 790 | + transform: translate3d(0, 0, 0px); | |
| 791 | + } | |
| 792 | + to { | |
| 793 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 794 | + transform: translate3d(100%, 0px, 0px); | |
| 795 | + } | |
| 796 | +} | |
| 797 | +@-webkit-keyframes fpSlideRightNew { | |
| 798 | + from { | |
| 799 | + -webkit-transform: translate3d(-100%, 0, 0px); | |
| 800 | + transform: translate3d(-100%, 0, 0px); | |
| 801 | + } | |
| 802 | + to { | |
| 803 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 804 | + transform: translate3d(0, 0, 0px); | |
| 805 | + } | |
| 806 | +} | |
| 807 | +@keyframes fpSlideRightNew { | |
| 808 | + from { | |
| 809 | + -webkit-transform: translate3d(-100%, 0, 0px); | |
| 810 | + transform: translate3d(-100%, 0, 0px); | |
| 811 | + } | |
| 812 | + to { | |
| 813 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 814 | + transform: translate3d(0, 0, 0px); | |
| 815 | + } | |
| 816 | +} | |
| 817 | +@-webkit-keyframes fpFadeOut { | |
| 818 | + from { | |
| 819 | + opacity: 1; | |
| 820 | + } | |
| 821 | + to { | |
| 822 | + opacity: 0; | |
| 823 | + } | |
| 824 | +} | |
| 825 | +@keyframes fpFadeOut { | |
| 826 | + from { | |
| 827 | + opacity: 1; | |
| 828 | + } | |
| 829 | + to { | |
| 830 | + opacity: 0; | |
| 831 | + } | |
| 832 | +} | |
| 833 | +@-webkit-keyframes fpFadeIn { | |
| 834 | + from { | |
| 835 | + opacity: 0; | |
| 836 | + } | |
| 837 | + to { | |
| 838 | + opacity: 1; | |
| 839 | + } | |
| 840 | +} | |
| 841 | +@keyframes fpFadeIn { | |
| 842 | + from { | |
| 843 | + opacity: 0; | |
| 844 | + } | |
| 845 | + to { | |
| 846 | + opacity: 1; | |
| 847 | + } | |
| 848 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/flatpickr/flatpickr.js
0 → 100644
| 1 | +var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | |
| 2 | + | |
| 3 | +var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; | |
| 4 | + | |
| 5 | +/*! flatpickr v3.0.5-1, @license MIT */ | |
| 6 | +function FlatpickrInstance(element, config) { | |
| 7 | + var self = this; | |
| 8 | + | |
| 9 | + self._ = {}; | |
| 10 | + self._.afterDayAnim = afterDayAnim; | |
| 11 | + self._bind = bind; | |
| 12 | + self._compareDates = compareDates; | |
| 13 | + self._setHoursFromDate = setHoursFromDate; | |
| 14 | + self.changeMonth = changeMonth; | |
| 15 | + self.changeYear = changeYear; | |
| 16 | + self.clear = clear; | |
| 17 | + self.close = close; | |
| 18 | + self._createElement = createElement; | |
| 19 | + self.destroy = destroy; | |
| 20 | + self.isEnabled = isEnabled; | |
| 21 | + self.jumpToDate = jumpToDate; | |
| 22 | + self.open = open; | |
| 23 | + self.redraw = redraw; | |
| 24 | + self.set = set; | |
| 25 | + self.setDate = setDate; | |
| 26 | + self.toggle = toggle; | |
| 27 | + | |
| 28 | + function init() { | |
| 29 | + self.element = self.input = element; | |
| 30 | + self.instanceConfig = config || {}; | |
| 31 | + self.parseDate = FlatpickrInstance.prototype.parseDate.bind(self); | |
| 32 | + self.formatDate = FlatpickrInstance.prototype.formatDate.bind(self); | |
| 33 | + | |
| 34 | + setupFormats(); | |
| 35 | + parseConfig(); | |
| 36 | + setupLocale(); | |
| 37 | + setupInputs(); | |
| 38 | + setupDates(); | |
| 39 | + setupHelperFunctions(); | |
| 40 | + | |
| 41 | + self.isOpen = false; | |
| 42 | + | |
| 43 | + self.isMobile = !self.config.disableMobile && !self.config.inline && self.config.mode === "single" && !self.config.disable.length && !self.config.enable.length && !self.config.weekNumbers && /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent); | |
| 44 | + | |
| 45 | + if (!self.isMobile) build(); | |
| 46 | + | |
| 47 | + bindEvents(); | |
| 48 | + | |
| 49 | + if (self.selectedDates.length || self.config.noCalendar) { | |
| 50 | + if (self.config.enableTime) { | |
| 51 | + setHoursFromDate(self.config.noCalendar ? self.latestSelectedDateObj || self.config.minDate : null); | |
| 52 | + } | |
| 53 | + updateValue(); | |
| 54 | + } | |
| 55 | + | |
| 56 | + self.showTimeInput = self.selectedDates.length > 0 || self.config.noCalendar; | |
| 57 | + | |
| 58 | + if (self.config.weekNumbers) { | |
| 59 | + self.calendarContainer.style.width = self.daysContainer.offsetWidth + self.weekWrapper.offsetWidth + "px"; | |
| 60 | + } | |
| 61 | + | |
| 62 | + if (!self.isMobile) positionCalendar(); | |
| 63 | + | |
| 64 | + triggerEvent("Ready"); | |
| 65 | + } | |
| 66 | + | |
| 67 | + /** | |
| 68 | + * Binds a function to the current flatpickr instance | |
| 69 | + * @param {Function} fn the function | |
| 70 | + * @return {Function} the function bound to the instance | |
| 71 | + */ | |
| 72 | + function bindToInstance(fn) { | |
| 73 | + return fn.bind(self); | |
| 74 | + } | |
| 75 | + | |
| 76 | + /** | |
| 77 | + * The handler for all events targeting the time inputs | |
| 78 | + * @param {Event} e the event - "input", "wheel", "increment", etc | |
| 79 | + */ | |
| 80 | + function updateTime(e) { | |
| 81 | + if (self.config.noCalendar && !self.selectedDates.length) | |
| 82 | + // picking time only | |
| 83 | + self.selectedDates = [self.now]; | |
| 84 | + | |
| 85 | + timeWrapper(e); | |
| 86 | + | |
| 87 | + if (!self.selectedDates.length) return; | |
| 88 | + | |
| 89 | + if (!self.minDateHasTime || e.type !== "input" || e.target.value.length >= 2) { | |
| 90 | + setHoursFromInputs(); | |
| 91 | + updateValue(); | |
| 92 | + } else { | |
| 93 | + setTimeout(function () { | |
| 94 | + setHoursFromInputs(); | |
| 95 | + updateValue(); | |
| 96 | + }, 1000); | |
| 97 | + } | |
| 98 | + } | |
| 99 | + | |
| 100 | + /** | |
| 101 | + * Syncs the selected date object time with user's time input | |
| 102 | + */ | |
| 103 | + function setHoursFromInputs() { | |
| 104 | + if (!self.config.enableTime) return; | |
| 105 | + | |
| 106 | + var hours = (parseInt(self.hourElement.value, 10) || 0) % (self.amPM ? 12 : 24), | |
| 107 | + minutes = (parseInt(self.minuteElement.value, 10) || 0) % 60, | |
| 108 | + seconds = self.config.enableSeconds ? (parseInt(self.secondElement.value, 10) || 0) % 60 : 0; | |
| 109 | + | |
| 110 | + if (self.amPM !== undefined) hours = hours % 12 + 12 * (self.amPM.textContent === "PM"); | |
| 111 | + | |
| 112 | + if (self.minDateHasTime && compareDates(self.latestSelectedDateObj, self.config.minDate) === 0) { | |
| 113 | + | |
| 114 | + hours = Math.max(hours, self.config.minDate.getHours()); | |
| 115 | + if (hours === self.config.minDate.getHours()) minutes = Math.max(minutes, self.config.minDate.getMinutes()); | |
| 116 | + } | |
| 117 | + | |
| 118 | + if (self.maxDateHasTime && compareDates(self.latestSelectedDateObj, self.config.maxDate) === 0) { | |
| 119 | + hours = Math.min(hours, self.config.maxDate.getHours()); | |
| 120 | + if (hours === self.config.maxDate.getHours()) minutes = Math.min(minutes, self.config.maxDate.getMinutes()); | |
| 121 | + } | |
| 122 | + | |
| 123 | + setHours(hours, minutes, seconds); | |
| 124 | + } | |
| 125 | + | |
| 126 | + /** | |
| 127 | + * Syncs time input values with a date | |
| 128 | + * @param {Date} dateObj the date to sync with | |
| 129 | + */ | |
| 130 | + function setHoursFromDate(dateObj) { | |
| 131 | + var date = dateObj || self.latestSelectedDateObj; | |
| 132 | + | |
| 133 | + if (date) setHours(date.getHours(), date.getMinutes(), date.getSeconds()); | |
| 134 | + } | |
| 135 | + | |
| 136 | + /** | |
| 137 | + * Sets the hours, minutes, and optionally seconds | |
| 138 | + * of the latest selected date object and the | |
| 139 | + * corresponding time inputs | |
| 140 | + * @param {Number} hours the hour. whether its military | |
| 141 | + * or am-pm gets inferred from config | |
| 142 | + * @param {Number} minutes the minutes | |
| 143 | + * @param {Number} seconds the seconds (optional) | |
| 144 | + */ | |
| 145 | + function setHours(hours, minutes, seconds) { | |
| 146 | + if (self.selectedDates.length) { | |
| 147 | + self.latestSelectedDateObj.setHours(hours % 24, minutes, seconds || 0, 0); | |
| 148 | + } | |
| 149 | + | |
| 150 | + if (!self.config.enableTime || self.isMobile) return; | |
| 151 | + | |
| 152 | + self.hourElement.value = self.pad(!self.config.time_24hr ? (12 + hours) % 12 + 12 * (hours % 12 === 0) : hours); | |
| 153 | + | |
| 154 | + self.minuteElement.value = self.pad(minutes); | |
| 155 | + | |
| 156 | + if (!self.config.time_24hr) self.amPM.textContent = hours >= 12 ? "PM" : "AM"; | |
| 157 | + | |
| 158 | + if (self.config.enableSeconds === true) self.secondElement.value = self.pad(seconds); | |
| 159 | + } | |
| 160 | + | |
| 161 | + /** | |
| 162 | + * Handles the year input and incrementing events | |
| 163 | + * @param {Event} event the keyup or increment event | |
| 164 | + */ | |
| 165 | + function onYearInput(event) { | |
| 166 | + var year = event.target.value; | |
| 167 | + if (event.delta) year = (parseInt(year) + event.delta).toString(); | |
| 168 | + | |
| 169 | + if (year.length === 4 || event.key === "Enter") { | |
| 170 | + self.currentYearElement.blur(); | |
| 171 | + if (!/[^\d]/.test(year)) changeYear(year); | |
| 172 | + } | |
| 173 | + } | |
| 174 | + | |
| 175 | + /** | |
| 176 | + * Essentially addEventListener + tracking | |
| 177 | + * @param {Element} element the element to addEventListener to | |
| 178 | + * @param {String} event the event name | |
| 179 | + * @param {Function} handler the event handler | |
| 180 | + */ | |
| 181 | + function bind(element, event, handler) { | |
| 182 | + if (event instanceof Array) return event.forEach(function (ev) { | |
| 183 | + return bind(element, ev, handler); | |
| 184 | + }); | |
| 185 | + | |
| 186 | + if (element instanceof Array) return element.forEach(function (el) { | |
| 187 | + return bind(el, event, handler); | |
| 188 | + }); | |
| 189 | + | |
| 190 | + element.addEventListener(event, handler); | |
| 191 | + self._handlers.push({ element: element, event: event, handler: handler }); | |
| 192 | + } | |
| 193 | + | |
| 194 | + /** | |
| 195 | + * A mousedown handler which mimics click. | |
| 196 | + * Minimizes latency, since we don't need to wait for mouseup in most cases. | |
| 197 | + * Also, avoids handling right clicks. | |
| 198 | + * | |
| 199 | + * @param {Function} handler the event handler | |
| 200 | + */ | |
| 201 | + function onClick(handler) { | |
| 202 | + return function (evt) { | |
| 203 | + return evt.which === 1 && handler(evt); | |
| 204 | + }; | |
| 205 | + } | |
| 206 | + | |
| 207 | + /** | |
| 208 | + * Adds all the necessary event listeners | |
| 209 | + */ | |
| 210 | + function bindEvents() { | |
| 211 | + self._handlers = []; | |
| 212 | + self._animationLoop = []; | |
| 213 | + if (self.config.wrap) { | |
| 214 | + ["open", "close", "toggle", "clear"].forEach(function (evt) { | |
| 215 | + Array.prototype.forEach.call(self.element.querySelectorAll("[data-" + evt + "]"), function (el) { | |
| 216 | + return bind(el, "mousedown", onClick(self[evt])); | |
| 217 | + }); | |
| 218 | + }); | |
| 219 | + } | |
| 220 | + | |
| 221 | + if (self.isMobile) return setupMobile(); | |
| 222 | + | |
| 223 | + self.debouncedResize = debounce(onResize, 50); | |
| 224 | + self.triggerChange = function () { | |
| 225 | + triggerEvent("Change"); | |
| 226 | + }; | |
| 227 | + self.debouncedChange = debounce(self.triggerChange, 300); | |
| 228 | + | |
| 229 | + if (self.config.mode === "range" && self.daysContainer) bind(self.daysContainer, "mouseover", function (e) { | |
| 230 | + return onMouseOver(e.target); | |
| 231 | + }); | |
| 232 | + | |
| 233 | + bind(window.document.body, "keydown", onKeyDown); | |
| 234 | + | |
| 235 | + if (!self.config.static) bind(self._input, "keydown", onKeyDown); | |
| 236 | + | |
| 237 | + if (!self.config.inline && !self.config.static) bind(window, "resize", self.debouncedResize); | |
| 238 | + | |
| 239 | + if (window.ontouchstart !== undefined) bind(window.document, "touchstart", documentClick); | |
| 240 | + | |
| 241 | + bind(window.document, "mousedown", onClick(documentClick)); | |
| 242 | + bind(self._input, "blur", documentClick); | |
| 243 | + | |
| 244 | + if (self.config.clickOpens === true) { | |
| 245 | + bind(self._input, "focus", self.open); | |
| 246 | + bind(self._input, "mousedown", onClick(self.open)); | |
| 247 | + } | |
| 248 | + | |
| 249 | + if (!self.config.noCalendar) { | |
| 250 | + self.monthNav.addEventListener("wheel", function (e) { | |
| 251 | + return e.preventDefault(); | |
| 252 | + }); | |
| 253 | + bind(self.monthNav, "wheel", debounce(onMonthNavScroll, 10)); | |
| 254 | + bind(self.monthNav, "mousedown", onClick(onMonthNavClick)); | |
| 255 | + | |
| 256 | + bind(self.monthNav, ["keyup", "increment"], onYearInput); | |
| 257 | + bind(self.daysContainer, "mousedown", onClick(selectDate)); | |
| 258 | + | |
| 259 | + if (self.config.animate) { | |
| 260 | + bind(self.daysContainer, ["webkitAnimationEnd", "animationend"], animateDays); | |
| 261 | + bind(self.monthNav, ["webkitAnimationEnd", "animationend"], animateMonths); | |
| 262 | + } | |
| 263 | + } | |
| 264 | + | |
| 265 | + if (self.config.enableTime) { | |
| 266 | + var selText = function selText(e) { | |
| 267 | + return e.target.select(); | |
| 268 | + }; | |
| 269 | + bind(self.timeContainer, ["wheel", "input", "increment"], updateTime); | |
| 270 | + bind(self.timeContainer, "mousedown", onClick(timeIncrement)); | |
| 271 | + | |
| 272 | + bind(self.timeContainer, ["wheel", "increment"], self.debouncedChange); | |
| 273 | + bind(self.timeContainer, "input", self.triggerChange); | |
| 274 | + | |
| 275 | + bind([self.hourElement, self.minuteElement], "focus", selText); | |
| 276 | + | |
| 277 | + if (self.secondElement !== undefined) bind(self.secondElement, "focus", function () { | |
| 278 | + return self.secondElement.select(); | |
| 279 | + }); | |
| 280 | + | |
| 281 | + if (self.amPM !== undefined) { | |
| 282 | + bind(self.amPM, "mousedown", onClick(function (e) { | |
| 283 | + updateTime(e); | |
| 284 | + self.triggerChange(e); | |
| 285 | + })); | |
| 286 | + } | |
| 287 | + } | |
| 288 | + } | |
| 289 | + | |
| 290 | + function processPostDayAnimation() { | |
| 291 | + for (var i = self._animationLoop.length; i--;) { | |
| 292 | + self._animationLoop[i](); | |
| 293 | + self._animationLoop.splice(i, 1); | |
| 294 | + } | |
| 295 | + } | |
| 296 | + | |
| 297 | + /** | |
| 298 | + * Removes the day container that slided out of view | |
| 299 | + * @param {Event} e the animation event | |
| 300 | + */ | |
| 301 | + function animateDays(e) { | |
| 302 | + if (self.daysContainer.childNodes.length > 1) { | |
| 303 | + switch (e.animationName) { | |
| 304 | + case "fpSlideLeft": | |
| 305 | + self.daysContainer.lastChild.classList.remove("slideLeftNew"); | |
| 306 | + self.daysContainer.removeChild(self.daysContainer.firstChild); | |
| 307 | + self.days = self.daysContainer.firstChild; | |
| 308 | + processPostDayAnimation(); | |
| 309 | + | |
| 310 | + break; | |
| 311 | + | |
| 312 | + case "fpSlideRight": | |
| 313 | + self.daysContainer.firstChild.classList.remove("slideRightNew"); | |
| 314 | + self.daysContainer.removeChild(self.daysContainer.lastChild); | |
| 315 | + self.days = self.daysContainer.firstChild; | |
| 316 | + processPostDayAnimation(); | |
| 317 | + | |
| 318 | + break; | |
| 319 | + | |
| 320 | + default: | |
| 321 | + break; | |
| 322 | + } | |
| 323 | + } | |
| 324 | + } | |
| 325 | + | |
| 326 | + /** | |
| 327 | + * Removes the month element that animated out of view | |
| 328 | + * @param {Event} e the animation event | |
| 329 | + */ | |
| 330 | + function animateMonths(e) { | |
| 331 | + switch (e.animationName) { | |
| 332 | + case "fpSlideLeftNew": | |
| 333 | + case "fpSlideRightNew": | |
| 334 | + self.navigationCurrentMonth.classList.remove("slideLeftNew"); | |
| 335 | + self.navigationCurrentMonth.classList.remove("slideRightNew"); | |
| 336 | + var nav = self.navigationCurrentMonth; | |
| 337 | + | |
| 338 | + while (nav.nextSibling && /curr/.test(nav.nextSibling.className)) { | |
| 339 | + self.monthNav.removeChild(nav.nextSibling); | |
| 340 | + }while (nav.previousSibling && /curr/.test(nav.previousSibling.className)) { | |
| 341 | + self.monthNav.removeChild(nav.previousSibling); | |
| 342 | + }self.oldCurMonth = null; | |
| 343 | + break; | |
| 344 | + } | |
| 345 | + } | |
| 346 | + | |
| 347 | + /** | |
| 348 | + * Set the calendar view to a particular date. | |
| 349 | + * @param {Date} jumpDate the date to set the view to | |
| 350 | + */ | |
| 351 | + function jumpToDate(jumpDate) { | |
| 352 | + jumpDate = jumpDate ? self.parseDate(jumpDate) : self.latestSelectedDateObj || (self.config.minDate > self.now ? self.config.minDate : self.config.maxDate && self.config.maxDate < self.now ? self.config.maxDate : self.now); | |
| 353 | + | |
| 354 | + try { | |
| 355 | + self.currentYear = jumpDate.getFullYear(); | |
| 356 | + self.currentMonth = jumpDate.getMonth(); | |
| 357 | + } catch (e) { | |
| 358 | + /* istanbul ignore next */ | |
| 359 | + console.error(e.stack); | |
| 360 | + /* istanbul ignore next */ | |
| 361 | + console.warn("Invalid date supplied: " + jumpDate); | |
| 362 | + } | |
| 363 | + | |
| 364 | + self.redraw(); | |
| 365 | + } | |
| 366 | + | |
| 367 | + /** | |
| 368 | + * The up/down arrow handler for time inputs | |
| 369 | + * @param {Event} e the click event | |
| 370 | + */ | |
| 371 | + function timeIncrement(e) { | |
| 372 | + if (~e.target.className.indexOf("arrow")) incrementNumInput(e, e.target.classList.contains("arrowUp") ? 1 : -1); | |
| 373 | + } | |
| 374 | + | |
| 375 | + /** | |
| 376 | + * Increments/decrements the value of input associ- | |
| 377 | + * ated with the up/down arrow by dispatching an | |
| 378 | + * "increment" event on the input. | |
| 379 | + * | |
| 380 | + * @param {Event} e the click event | |
| 381 | + * @param {Number} delta the diff (usually 1 or -1) | |
| 382 | + * @param {Element} inputElem the input element | |
| 383 | + */ | |
| 384 | + function incrementNumInput(e, delta, inputElem) { | |
| 385 | + var input = inputElem || e.target.parentNode.childNodes[0]; | |
| 386 | + var event = createEvent("increment"); | |
| 387 | + event.delta = delta; | |
| 388 | + input.dispatchEvent(event); | |
| 389 | + } | |
| 390 | + | |
| 391 | + function createNumberInput(inputClassName) { | |
| 392 | + var wrapper = createElement("div", "numInputWrapper"), | |
| 393 | + numInput = createElement("input", "numInput " + inputClassName), | |
| 394 | + arrowUp = createElement("span", "arrowUp"), | |
| 395 | + arrowDown = createElement("span", "arrowDown"); | |
| 396 | + | |
| 397 | + numInput.type = "text"; | |
| 398 | + numInput.pattern = "\\d*"; | |
| 399 | + | |
| 400 | + wrapper.appendChild(numInput); | |
| 401 | + wrapper.appendChild(arrowUp); | |
| 402 | + wrapper.appendChild(arrowDown); | |
| 403 | + | |
| 404 | + return wrapper; | |
| 405 | + } | |
| 406 | + | |
| 407 | + function build() { | |
| 408 | + var fragment = window.document.createDocumentFragment(); | |
| 409 | + self.calendarContainer = createElement("div", "flatpickr-calendar"); | |
| 410 | + self.calendarContainer.tabIndex = -1; | |
| 411 | + | |
| 412 | + if (!self.config.noCalendar) { | |
| 413 | + fragment.appendChild(buildMonthNav()); | |
| 414 | + self.innerContainer = createElement("div", "flatpickr-innerContainer"); | |
| 415 | + | |
| 416 | + if (self.config.weekNumbers) self.innerContainer.appendChild(buildWeeks()); | |
| 417 | + | |
| 418 | + self.rContainer = createElement("div", "flatpickr-rContainer"); | |
| 419 | + self.rContainer.appendChild(buildWeekdays()); | |
| 420 | + | |
| 421 | + if (!self.daysContainer) { | |
| 422 | + self.daysContainer = createElement("div", "flatpickr-days"); | |
| 423 | + self.daysContainer.tabIndex = -1; | |
| 424 | + } | |
| 425 | + | |
| 426 | + buildDays(); | |
| 427 | + self.rContainer.appendChild(self.daysContainer); | |
| 428 | + | |
| 429 | + self.innerContainer.appendChild(self.rContainer); | |
| 430 | + fragment.appendChild(self.innerContainer); | |
| 431 | + } | |
| 432 | + | |
| 433 | + if (self.config.enableTime) fragment.appendChild(buildTime()); | |
| 434 | + | |
| 435 | + toggleClass(self.calendarContainer, "rangeMode", self.config.mode === "range"); | |
| 436 | + toggleClass(self.calendarContainer, "animate", self.config.animate); | |
| 437 | + | |
| 438 | + self.calendarContainer.appendChild(fragment); | |
| 439 | + | |
| 440 | + var customAppend = self.config.appendTo && self.config.appendTo.nodeType; | |
| 441 | + | |
| 442 | + if (self.config.inline || self.config.static) { | |
| 443 | + self.calendarContainer.classList.add(self.config.inline ? "inline" : "static"); | |
| 444 | + | |
| 445 | + if (self.config.inline && !customAppend) { | |
| 446 | + return self.element.parentNode.insertBefore(self.calendarContainer, self._input.nextSibling); | |
| 447 | + } | |
| 448 | + | |
| 449 | + if (self.config.static) { | |
| 450 | + var wrapper = createElement("div", "flatpickr-wrapper"); | |
| 451 | + self.element.parentNode.insertBefore(wrapper, self.element); | |
| 452 | + wrapper.appendChild(self.element); | |
| 453 | + | |
| 454 | + if (self.altInput) wrapper.appendChild(self.altInput); | |
| 455 | + | |
| 456 | + wrapper.appendChild(self.calendarContainer); | |
| 457 | + return; | |
| 458 | + } | |
| 459 | + } | |
| 460 | + | |
| 461 | + (customAppend ? self.config.appendTo : window.document.body).appendChild(self.calendarContainer); | |
| 462 | + } | |
| 463 | + | |
| 464 | + function createDay(className, date, dayNumber, i) { | |
| 465 | + var dateIsEnabled = isEnabled(date, true), | |
| 466 | + dayElement = createElement("span", "flatpickr-day " + className, date.getDate()); | |
| 467 | + | |
| 468 | + dayElement.dateObj = date; | |
| 469 | + dayElement.$i = i; | |
| 470 | + dayElement.setAttribute("aria-label", self.formatDate(date, self.config.ariaDateFormat)); | |
| 471 | + | |
| 472 | + if (compareDates(date, self.now) === 0) { | |
| 473 | + self.todayDateElem = dayElement; | |
| 474 | + dayElement.classList.add("today"); | |
| 475 | + } | |
| 476 | + | |
| 477 | + if (dateIsEnabled) { | |
| 478 | + dayElement.tabIndex = -1; | |
| 479 | + if (isDateSelected(date)) { | |
| 480 | + dayElement.classList.add("selected"); | |
| 481 | + self.selectedDateElem = dayElement; | |
| 482 | + if (self.config.mode === "range") { | |
| 483 | + toggleClass(dayElement, "startRange", compareDates(date, self.selectedDates[0]) === 0); | |
| 484 | + | |
| 485 | + toggleClass(dayElement, "endRange", compareDates(date, self.selectedDates[1]) === 0); | |
| 486 | + } | |
| 487 | + } | |
| 488 | + } else { | |
| 489 | + dayElement.classList.add("disabled"); | |
| 490 | + if (self.selectedDates[0] && date > self.minRangeDate && date < self.selectedDates[0]) self.minRangeDate = date;else if (self.selectedDates[0] && date < self.maxRangeDate && date > self.selectedDates[0]) self.maxRangeDate = date; | |
| 491 | + } | |
| 492 | + | |
| 493 | + if (self.config.mode === "range") { | |
| 494 | + if (isDateInRange(date) && !isDateSelected(date)) dayElement.classList.add("inRange"); | |
| 495 | + | |
| 496 | + if (self.selectedDates.length === 1 && (date < self.minRangeDate || date > self.maxRangeDate)) dayElement.classList.add("notAllowed"); | |
| 497 | + } | |
| 498 | + | |
| 499 | + if (self.config.weekNumbers && className !== "prevMonthDay" && dayNumber % 7 === 1) { | |
| 500 | + self.weekNumbers.insertAdjacentHTML("beforeend", "<span class='disabled flatpickr-day'>" + self.config.getWeek(date) + "</span>"); | |
| 501 | + } | |
| 502 | + | |
| 503 | + triggerEvent("DayCreate", dayElement); | |
| 504 | + | |
| 505 | + return dayElement; | |
| 506 | + } | |
| 507 | + | |
| 508 | + function focusOnDay(currentIndex, offset) { | |
| 509 | + var newIndex = currentIndex + offset || 0, | |
| 510 | + targetNode = currentIndex !== undefined ? self.days.childNodes[newIndex] : self.selectedDateElem || self.todayDateElem || self.days.childNodes[0], | |
| 511 | + focus = function focus() { | |
| 512 | + targetNode = targetNode || self.days.childNodes[newIndex]; | |
| 513 | + targetNode.focus(); | |
| 514 | + | |
| 515 | + if (self.config.mode === "range") onMouseOver(targetNode); | |
| 516 | + }; | |
| 517 | + | |
| 518 | + if (targetNode === undefined && offset !== 0) { | |
| 519 | + if (offset > 0) { | |
| 520 | + self.changeMonth(1); | |
| 521 | + newIndex = newIndex % 42; | |
| 522 | + } else if (offset < 0) { | |
| 523 | + self.changeMonth(-1); | |
| 524 | + newIndex += 42; | |
| 525 | + } | |
| 526 | + | |
| 527 | + return afterDayAnim(focus); | |
| 528 | + } | |
| 529 | + | |
| 530 | + focus(); | |
| 531 | + } | |
| 532 | + | |
| 533 | + function afterDayAnim(fn) { | |
| 534 | + if (self.config.animate === true) return self._animationLoop.push(fn); | |
| 535 | + fn(); | |
| 536 | + } | |
| 537 | + | |
| 538 | + function buildDays(delta) { | |
| 539 | + var firstOfMonth = (new Date(self.currentYear, self.currentMonth, 1).getDay() - self.l10n.firstDayOfWeek + 7) % 7, | |
| 540 | + isRangeMode = self.config.mode === "range"; | |
| 541 | + | |
| 542 | + self.prevMonthDays = self.utils.getDaysinMonth((self.currentMonth - 1 + 12) % 12); | |
| 543 | + self.selectedDateElem = undefined; | |
| 544 | + self.todayDateElem = undefined; | |
| 545 | + | |
| 546 | + var daysInMonth = self.utils.getDaysinMonth(), | |
| 547 | + days = window.document.createDocumentFragment(); | |
| 548 | + | |
| 549 | + var dayNumber = self.prevMonthDays + 1 - firstOfMonth, | |
| 550 | + dayIndex = 0; | |
| 551 | + | |
| 552 | + if (self.config.weekNumbers && self.weekNumbers.firstChild) self.weekNumbers.textContent = ""; | |
| 553 | + | |
| 554 | + if (isRangeMode) { | |
| 555 | + // const dateLimits = self.config.enable.length || self.config.disable.length || self.config.mixDate || self.config.maxDate; | |
| 556 | + self.minRangeDate = new Date(self.currentYear, self.currentMonth - 1, dayNumber); | |
| 557 | + self.maxRangeDate = new Date(self.currentYear, self.currentMonth + 1, (42 - firstOfMonth) % daysInMonth); | |
| 558 | + } | |
| 559 | + | |
| 560 | + // prepend days from the ending of previous month | |
| 561 | + for (; dayNumber <= self.prevMonthDays; dayNumber++, dayIndex++) { | |
| 562 | + days.appendChild(createDay("prevMonthDay", new Date(self.currentYear, self.currentMonth - 1, dayNumber), dayNumber, dayIndex)); | |
| 563 | + } | |
| 564 | + | |
| 565 | + // Start at 1 since there is no 0th day | |
| 566 | + for (dayNumber = 1; dayNumber <= daysInMonth; dayNumber++, dayIndex++) { | |
| 567 | + days.appendChild(createDay("", new Date(self.currentYear, self.currentMonth, dayNumber), dayNumber, dayIndex)); | |
| 568 | + } | |
| 569 | + | |
| 570 | + // append days from the next month | |
| 571 | + for (var dayNum = daysInMonth + 1; dayNum <= 42 - firstOfMonth; dayNum++, dayIndex++) { | |
| 572 | + days.appendChild(createDay("nextMonthDay", new Date(self.currentYear, self.currentMonth + 1, dayNum % daysInMonth), dayNum, dayIndex)); | |
| 573 | + } | |
| 574 | + | |
| 575 | + if (isRangeMode && self.selectedDates.length === 1 && days.childNodes[0]) { | |
| 576 | + self._hidePrevMonthArrow = self._hidePrevMonthArrow || self.minRangeDate > days.childNodes[0].dateObj; | |
| 577 | + | |
| 578 | + self._hideNextMonthArrow = self._hideNextMonthArrow || self.maxRangeDate < new Date(self.currentYear, self.currentMonth + 1, 1); | |
| 579 | + } else updateNavigationCurrentMonth(); | |
| 580 | + | |
| 581 | + var dayContainer = createElement("div", "dayContainer"); | |
| 582 | + dayContainer.appendChild(days); | |
| 583 | + | |
| 584 | + if (!self.config.animate || delta === undefined) clearNode(self.daysContainer);else { | |
| 585 | + while (self.daysContainer.childNodes.length > 1) { | |
| 586 | + self.daysContainer.removeChild(self.daysContainer.firstChild); | |
| 587 | + } | |
| 588 | + } | |
| 589 | + | |
| 590 | + if (delta >= 0) self.daysContainer.appendChild(dayContainer);else self.daysContainer.insertBefore(dayContainer, self.daysContainer.firstChild); | |
| 591 | + | |
| 592 | + self.days = self.daysContainer.firstChild; | |
| 593 | + return self.daysContainer; | |
| 594 | + } | |
| 595 | + | |
| 596 | + function clearNode(node) { | |
| 597 | + while (node.firstChild) { | |
| 598 | + node.removeChild(node.firstChild); | |
| 599 | + } | |
| 600 | + } | |
| 601 | + | |
| 602 | + function buildMonthNav() { | |
| 603 | + var monthNavFragment = window.document.createDocumentFragment(); | |
| 604 | + self.monthNav = createElement("div", "flatpickr-month"); | |
| 605 | + | |
| 606 | + self.prevMonthNav = createElement("span", "flatpickr-prev-month"); | |
| 607 | + self.prevMonthNav.innerHTML = self.config.prevArrow; | |
| 608 | + | |
| 609 | + self.currentMonthElement = createElement("span", "cur-month"); | |
| 610 | + self.currentMonthElement.title = self.l10n.scrollTitle; | |
| 611 | + | |
| 612 | + var yearInput = createNumberInput("cur-year"); | |
| 613 | + self.currentYearElement = yearInput.childNodes[0]; | |
| 614 | + self.currentYearElement.title = self.l10n.scrollTitle; | |
| 615 | + | |
| 616 | + if (self.config.minDate) self.currentYearElement.min = self.config.minDate.getFullYear(); | |
| 617 | + | |
| 618 | + if (self.config.maxDate) { | |
| 619 | + self.currentYearElement.max = self.config.maxDate.getFullYear(); | |
| 620 | + | |
| 621 | + self.currentYearElement.disabled = self.config.minDate && self.config.minDate.getFullYear() === self.config.maxDate.getFullYear(); | |
| 622 | + } | |
| 623 | + | |
| 624 | + self.nextMonthNav = createElement("span", "flatpickr-next-month"); | |
| 625 | + self.nextMonthNav.innerHTML = self.config.nextArrow; | |
| 626 | + | |
| 627 | + self.navigationCurrentMonth = createElement("span", "flatpickr-current-month"); | |
| 628 | + self.navigationCurrentMonth.appendChild(self.currentMonthElement); | |
| 629 | + self.navigationCurrentMonth.appendChild(yearInput); | |
| 630 | + | |
| 631 | + monthNavFragment.appendChild(self.prevMonthNav); | |
| 632 | + monthNavFragment.appendChild(self.navigationCurrentMonth); | |
| 633 | + monthNavFragment.appendChild(self.nextMonthNav); | |
| 634 | + self.monthNav.appendChild(monthNavFragment); | |
| 635 | + | |
| 636 | + Object.defineProperty(self, "_hidePrevMonthArrow", { | |
| 637 | + get: function get() { | |
| 638 | + return this.__hidePrevMonthArrow; | |
| 639 | + }, | |
| 640 | + set: function set(bool) { | |
| 641 | + if (this.__hidePrevMonthArrow !== bool) self.prevMonthNav.style.display = bool ? "none" : "block"; | |
| 642 | + this.__hidePrevMonthArrow = bool; | |
| 643 | + } | |
| 644 | + }); | |
| 645 | + | |
| 646 | + Object.defineProperty(self, "_hideNextMonthArrow", { | |
| 647 | + get: function get() { | |
| 648 | + return this.__hideNextMonthArrow; | |
| 649 | + }, | |
| 650 | + set: function set(bool) { | |
| 651 | + if (this.__hideNextMonthArrow !== bool) self.nextMonthNav.style.display = bool ? "none" : "block"; | |
| 652 | + this.__hideNextMonthArrow = bool; | |
| 653 | + } | |
| 654 | + }); | |
| 655 | + | |
| 656 | + updateNavigationCurrentMonth(); | |
| 657 | + | |
| 658 | + return self.monthNav; | |
| 659 | + } | |
| 660 | + | |
| 661 | + function buildTime() { | |
| 662 | + self.calendarContainer.classList.add("hasTime"); | |
| 663 | + if (self.config.noCalendar) self.calendarContainer.classList.add("noCalendar"); | |
| 664 | + self.timeContainer = createElement("div", "flatpickr-time"); | |
| 665 | + self.timeContainer.tabIndex = -1; | |
| 666 | + var separator = createElement("span", "flatpickr-time-separator", ":"); | |
| 667 | + | |
| 668 | + var hourInput = createNumberInput("flatpickr-hour"); | |
| 669 | + self.hourElement = hourInput.childNodes[0]; | |
| 670 | + | |
| 671 | + var minuteInput = createNumberInput("flatpickr-minute"); | |
| 672 | + self.minuteElement = minuteInput.childNodes[0]; | |
| 673 | + | |
| 674 | + self.hourElement.tabIndex = self.minuteElement.tabIndex = -1; | |
| 675 | + | |
| 676 | + self.hourElement.value = self.pad(self.latestSelectedDateObj ? self.latestSelectedDateObj.getHours() : self.config.defaultHour); | |
| 677 | + | |
| 678 | + self.minuteElement.value = self.pad(self.latestSelectedDateObj ? self.latestSelectedDateObj.getMinutes() : self.config.defaultMinute); | |
| 679 | + | |
| 680 | + self.hourElement.step = self.config.hourIncrement; | |
| 681 | + self.minuteElement.step = self.config.minuteIncrement; | |
| 682 | + | |
| 683 | + self.hourElement.min = self.config.time_24hr ? 0 : 1; | |
| 684 | + self.hourElement.max = self.config.time_24hr ? 23 : 12; | |
| 685 | + | |
| 686 | + self.minuteElement.min = 0; | |
| 687 | + self.minuteElement.max = 59; | |
| 688 | + | |
| 689 | + self.hourElement.title = self.minuteElement.title = self.l10n.scrollTitle; | |
| 690 | + | |
| 691 | + self.timeContainer.appendChild(hourInput); | |
| 692 | + self.timeContainer.appendChild(separator); | |
| 693 | + self.timeContainer.appendChild(minuteInput); | |
| 694 | + | |
| 695 | + if (self.config.time_24hr) self.timeContainer.classList.add("time24hr"); | |
| 696 | + | |
| 697 | + if (self.config.enableSeconds) { | |
| 698 | + self.timeContainer.classList.add("hasSeconds"); | |
| 699 | + | |
| 700 | + var secondInput = createNumberInput("flatpickr-second"); | |
| 701 | + self.secondElement = secondInput.childNodes[0]; | |
| 702 | + | |
| 703 | + self.secondElement.value = self.latestSelectedDateObj ? self.pad(self.latestSelectedDateObj.getSeconds()) : "00"; | |
| 704 | + | |
| 705 | + self.secondElement.step = self.minuteElement.step; | |
| 706 | + self.secondElement.min = self.minuteElement.min; | |
| 707 | + self.secondElement.max = self.minuteElement.max; | |
| 708 | + | |
| 709 | + self.timeContainer.appendChild(createElement("span", "flatpickr-time-separator", ":")); | |
| 710 | + self.timeContainer.appendChild(secondInput); | |
| 711 | + } | |
| 712 | + | |
| 713 | + if (!self.config.time_24hr) { | |
| 714 | + // add self.amPM if appropriate | |
| 715 | + self.amPM = createElement("span", "flatpickr-am-pm", ["AM", "PM"][self.hourElement.value > 11 | 0]); | |
| 716 | + self.amPM.title = self.l10n.toggleTitle; | |
| 717 | + self.amPM.tabIndex = -1; | |
| 718 | + self.timeContainer.appendChild(self.amPM); | |
| 719 | + } | |
| 720 | + | |
| 721 | + return self.timeContainer; | |
| 722 | + } | |
| 723 | + | |
| 724 | + function buildWeekdays() { | |
| 725 | + if (!self.weekdayContainer) self.weekdayContainer = createElement("div", "flatpickr-weekdays"); | |
| 726 | + | |
| 727 | + var firstDayOfWeek = self.l10n.firstDayOfWeek; | |
| 728 | + var weekdays = self.l10n.weekdays.shorthand.slice(); | |
| 729 | + | |
| 730 | + if (firstDayOfWeek > 0 && firstDayOfWeek < weekdays.length) { | |
| 731 | + weekdays = [].concat(weekdays.splice(firstDayOfWeek, weekdays.length), weekdays.splice(0, firstDayOfWeek)); | |
| 732 | + } | |
| 733 | + | |
| 734 | + self.weekdayContainer.innerHTML = "\n\t\t<span class=flatpickr-weekday>\n\t\t\t" + weekdays.join("</span><span class=flatpickr-weekday>") + "\n\t\t</span>\n\t\t"; | |
| 735 | + | |
| 736 | + return self.weekdayContainer; | |
| 737 | + } | |
| 738 | + | |
| 739 | + /* istanbul ignore next */ | |
| 740 | + function buildWeeks() { | |
| 741 | + self.calendarContainer.classList.add("hasWeeks"); | |
| 742 | + self.weekWrapper = createElement("div", "flatpickr-weekwrapper"); | |
| 743 | + self.weekWrapper.appendChild(createElement("span", "flatpickr-weekday", self.l10n.weekAbbreviation)); | |
| 744 | + self.weekNumbers = createElement("div", "flatpickr-weeks"); | |
| 745 | + self.weekWrapper.appendChild(self.weekNumbers); | |
| 746 | + | |
| 747 | + return self.weekWrapper; | |
| 748 | + } | |
| 749 | + | |
| 750 | + function changeMonth(value, is_offset, animate) { | |
| 751 | + is_offset = is_offset === undefined || is_offset; | |
| 752 | + var delta = is_offset ? value : value - self.currentMonth; | |
| 753 | + var skipAnimations = !self.config.animate || animate === false; | |
| 754 | + | |
| 755 | + if (delta < 0 && self._hidePrevMonthArrow || delta > 0 && self._hideNextMonthArrow) return; | |
| 756 | + | |
| 757 | + self.currentMonth += delta; | |
| 758 | + | |
| 759 | + if (self.currentMonth < 0 || self.currentMonth > 11) { | |
| 760 | + self.currentYear += self.currentMonth > 11 ? 1 : -1; | |
| 761 | + self.currentMonth = (self.currentMonth + 12) % 12; | |
| 762 | + | |
| 763 | + triggerEvent("YearChange"); | |
| 764 | + } | |
| 765 | + | |
| 766 | + buildDays(!skipAnimations ? delta : undefined); | |
| 767 | + | |
| 768 | + if (skipAnimations) { | |
| 769 | + triggerEvent("MonthChange"); | |
| 770 | + return updateNavigationCurrentMonth(); | |
| 771 | + } | |
| 772 | + | |
| 773 | + // remove possible remnants from clicking too fast | |
| 774 | + var nav = self.navigationCurrentMonth; | |
| 775 | + if (delta < 0) { | |
| 776 | + while (nav.nextSibling && /curr/.test(nav.nextSibling.className)) { | |
| 777 | + self.monthNav.removeChild(nav.nextSibling); | |
| 778 | + } | |
| 779 | + } else if (delta > 0) { | |
| 780 | + while (nav.previousSibling && /curr/.test(nav.previousSibling.className)) { | |
| 781 | + self.monthNav.removeChild(nav.previousSibling); | |
| 782 | + } | |
| 783 | + } | |
| 784 | + | |
| 785 | + self.oldCurMonth = self.navigationCurrentMonth; | |
| 786 | + | |
| 787 | + self.navigationCurrentMonth = self.monthNav.insertBefore(self.oldCurMonth.cloneNode(true), delta > 0 ? self.oldCurMonth.nextSibling : self.oldCurMonth); | |
| 788 | + | |
| 789 | + if (delta > 0) { | |
| 790 | + self.daysContainer.firstChild.classList.add("slideLeft"); | |
| 791 | + self.daysContainer.lastChild.classList.add("slideLeftNew"); | |
| 792 | + | |
| 793 | + self.oldCurMonth.classList.add("slideLeft"); | |
| 794 | + self.navigationCurrentMonth.classList.add("slideLeftNew"); | |
| 795 | + } else if (delta < 0) { | |
| 796 | + self.daysContainer.firstChild.classList.add("slideRightNew"); | |
| 797 | + self.daysContainer.lastChild.classList.add("slideRight"); | |
| 798 | + | |
| 799 | + self.oldCurMonth.classList.add("slideRight"); | |
| 800 | + self.navigationCurrentMonth.classList.add("slideRightNew"); | |
| 801 | + } | |
| 802 | + | |
| 803 | + self.currentMonthElement = self.navigationCurrentMonth.firstChild; | |
| 804 | + self.currentYearElement = self.navigationCurrentMonth.lastChild.childNodes[0]; | |
| 805 | + | |
| 806 | + updateNavigationCurrentMonth(); | |
| 807 | + self.oldCurMonth.firstChild.textContent = self.utils.monthToStr(self.currentMonth - delta); | |
| 808 | + | |
| 809 | + triggerEvent("MonthChange"); | |
| 810 | + | |
| 811 | + if (document.activeElement && document.activeElement.$i) { | |
| 812 | + var index = document.activeElement.$i; | |
| 813 | + afterDayAnim(function () { | |
| 814 | + focusOnDay(index, 0); | |
| 815 | + }); | |
| 816 | + } | |
| 817 | + } | |
| 818 | + | |
| 819 | + function clear(triggerChangeEvent) { | |
| 820 | + self.input.value = ""; | |
| 821 | + | |
| 822 | + if (self.altInput) self.altInput.value = ""; | |
| 823 | + | |
| 824 | + if (self.mobileInput) self.mobileInput.value = ""; | |
| 825 | + | |
| 826 | + self.selectedDates = []; | |
| 827 | + self.latestSelectedDateObj = undefined; | |
| 828 | + self.showTimeInput = false; | |
| 829 | + | |
| 830 | + self.redraw(); | |
| 831 | + | |
| 832 | + if (triggerChangeEvent !== false) | |
| 833 | + // triggerChangeEvent is true (default) or an Event | |
| 834 | + triggerEvent("Change"); | |
| 835 | + } | |
| 836 | + | |
| 837 | + function close() { | |
| 838 | + self.isOpen = false; | |
| 839 | + | |
| 840 | + if (!self.isMobile) { | |
| 841 | + self.calendarContainer.classList.remove("open"); | |
| 842 | + self._input.classList.remove("active"); | |
| 843 | + } | |
| 844 | + | |
| 845 | + triggerEvent("Close"); | |
| 846 | + } | |
| 847 | + | |
| 848 | + function destroy() { | |
| 849 | + if (self.config !== undefined) triggerEvent("Destroy"); | |
| 850 | + | |
| 851 | + for (var i = self._handlers.length; i--;) { | |
| 852 | + var h = self._handlers[i]; | |
| 853 | + h.element.removeEventListener(h.event, h.handler); | |
| 854 | + } | |
| 855 | + | |
| 856 | + self._handlers = []; | |
| 857 | + | |
| 858 | + if (self.mobileInput) { | |
| 859 | + if (self.mobileInput.parentNode) self.mobileInput.parentNode.removeChild(self.mobileInput); | |
| 860 | + self.mobileInput = null; | |
| 861 | + } else if (self.calendarContainer && self.calendarContainer.parentNode) self.calendarContainer.parentNode.removeChild(self.calendarContainer); | |
| 862 | + | |
| 863 | + if (self.altInput) { | |
| 864 | + self.input.type = "text"; | |
| 865 | + if (self.altInput.parentNode) self.altInput.parentNode.removeChild(self.altInput); | |
| 866 | + delete self.altInput; | |
| 867 | + } | |
| 868 | + | |
| 869 | + if (self.input) { | |
| 870 | + self.input.type = self.input._type; | |
| 871 | + self.input.classList.remove("flatpickr-input"); | |
| 872 | + self.input.removeAttribute("readonly"); | |
| 873 | + self.input.value = ""; | |
| 874 | + } | |
| 875 | + | |
| 876 | + ["_showTimeInput", "latestSelectedDateObj", "_hideNextMonthArrow", "_hidePrevMonthArrow", "__hideNextMonthArrow", "__hidePrevMonthArrow", "isMobile", "isOpen", "selectedDateElem", "minDateHasTime", "maxDateHasTime", "days", "daysContainer", "_input", "_positionElement", "innerContainer", "rContainer", "monthNav", "todayDateElem", "calendarContainer", "weekdayContainer", "prevMonthNav", "nextMonthNav", "currentMonthElement", "currentYearElement", "navigationCurrentMonth", "selectedDateElem", "config"].forEach(function (k) { | |
| 877 | + return delete self[k]; | |
| 878 | + }); | |
| 879 | + } | |
| 880 | + | |
| 881 | + function isCalendarElem(elem) { | |
| 882 | + if (self.config.appendTo && self.config.appendTo.contains(elem)) return true; | |
| 883 | + | |
| 884 | + return self.calendarContainer.contains(elem); | |
| 885 | + } | |
| 886 | + | |
| 887 | + function documentClick(e) { | |
| 888 | + if (self.isOpen && !self.config.inline) { | |
| 889 | + var isCalendarElement = isCalendarElem(e.target); | |
| 890 | + var isInput = e.target === self.input || e.target === self.altInput || self.element.contains(e.target) || | |
| 891 | + // web components | |
| 892 | + e.path && e.path.indexOf && (~e.path.indexOf(self.input) || ~e.path.indexOf(self.altInput)); | |
| 893 | + | |
| 894 | + var lostFocus = e.type === "blur" ? isInput && e.relatedTarget && !isCalendarElem(e.relatedTarget) : !isInput && !isCalendarElement; | |
| 895 | + | |
| 896 | + if (lostFocus && self.config.ignoredFocusElements.indexOf(e.target) === -1) { | |
| 897 | + self.close(); | |
| 898 | + | |
| 899 | + if (self.config.mode === "range" && self.selectedDates.length === 1) { | |
| 900 | + self.clear(false); | |
| 901 | + self.redraw(); | |
| 902 | + } | |
| 903 | + } | |
| 904 | + } | |
| 905 | + } | |
| 906 | + | |
| 907 | + function changeYear(newYear) { | |
| 908 | + if (!newYear || self.currentYearElement.min && newYear < self.currentYearElement.min || self.currentYearElement.max && newYear > self.currentYearElement.max) return; | |
| 909 | + | |
| 910 | + var newYearNum = parseInt(newYear, 10), | |
| 911 | + isNewYear = self.currentYear !== newYearNum; | |
| 912 | + | |
| 913 | + self.currentYear = newYearNum || self.currentYear; | |
| 914 | + | |
| 915 | + if (self.config.maxDate && self.currentYear === self.config.maxDate.getFullYear()) { | |
| 916 | + self.currentMonth = Math.min(self.config.maxDate.getMonth(), self.currentMonth); | |
| 917 | + } else if (self.config.minDate && self.currentYear === self.config.minDate.getFullYear()) { | |
| 918 | + self.currentMonth = Math.max(self.config.minDate.getMonth(), self.currentMonth); | |
| 919 | + } | |
| 920 | + | |
| 921 | + if (isNewYear) { | |
| 922 | + self.redraw(); | |
| 923 | + triggerEvent("YearChange"); | |
| 924 | + } | |
| 925 | + } | |
| 926 | + | |
| 927 | + function isEnabled(date, timeless) { | |
| 928 | + if (self.config.minDate && compareDates(date, self.config.minDate, timeless !== undefined ? timeless : !self.minDateHasTime) < 0 || self.config.maxDate && compareDates(date, self.config.maxDate, timeless !== undefined ? timeless : !self.maxDateHasTime) > 0) return false; | |
| 929 | + | |
| 930 | + if (!self.config.enable.length && !self.config.disable.length) return true; | |
| 931 | + | |
| 932 | + var dateToCheck = self.parseDate(date, null, true); // timeless | |
| 933 | + | |
| 934 | + var bool = self.config.enable.length > 0, | |
| 935 | + array = bool ? self.config.enable : self.config.disable; | |
| 936 | + | |
| 937 | + for (var i = 0, d; i < array.length; i++) { | |
| 938 | + d = array[i]; | |
| 939 | + | |
| 940 | + if (d instanceof Function && d(dateToCheck)) // disabled by function | |
| 941 | + return bool;else if (d instanceof Date && d.getTime() === dateToCheck.getTime()) | |
| 942 | + // disabled by date | |
| 943 | + return bool;else if (typeof d === "string" && self.parseDate(d, null, true).getTime() === dateToCheck.getTime()) | |
| 944 | + // disabled by date string | |
| 945 | + return bool;else if ( // disabled by range | |
| 946 | + (typeof d === "undefined" ? "undefined" : _typeof(d)) === "object" && d.from && d.to && dateToCheck >= d.from && dateToCheck <= d.to) return bool; | |
| 947 | + } | |
| 948 | + | |
| 949 | + return !bool; | |
| 950 | + } | |
| 951 | + | |
| 952 | + function onKeyDown(e) { | |
| 953 | + var isInput = e.target === self._input; | |
| 954 | + var calendarElem = isCalendarElem(e.target); | |
| 955 | + var allowInput = self.config.allowInput; | |
| 956 | + var allowKeydown = self.isOpen && (!allowInput || !isInput); | |
| 957 | + var allowInlineKeydown = self.config.inline && isInput && !allowInput; | |
| 958 | + | |
| 959 | + if (e.key === "Enter" && allowInput && isInput) { | |
| 960 | + self.setDate(self._input.value, true, e.target === self.altInput ? self.config.altFormat : self.config.dateFormat); | |
| 961 | + return e.target.blur(); | |
| 962 | + } else if (calendarElem || allowKeydown || allowInlineKeydown) { | |
| 963 | + var isTimeObj = self.timeContainer && self.timeContainer.contains(e.target); | |
| 964 | + switch (e.key) { | |
| 965 | + case "Enter": | |
| 966 | + if (isTimeObj) updateValue();else selectDate(e); | |
| 967 | + | |
| 968 | + break; | |
| 969 | + | |
| 970 | + case "Escape": | |
| 971 | + // escape | |
| 972 | + e.preventDefault(); | |
| 973 | + self.close(); | |
| 974 | + break; | |
| 975 | + | |
| 976 | + case "ArrowLeft": | |
| 977 | + case "ArrowRight": | |
| 978 | + if (!isTimeObj) { | |
| 979 | + e.preventDefault(); | |
| 980 | + | |
| 981 | + if (self.daysContainer) { | |
| 982 | + var _delta = e.key === "ArrowRight" ? 1 : -1; | |
| 983 | + | |
| 984 | + if (!e.ctrlKey) focusOnDay(e.target.$i, _delta);else changeMonth(_delta, true); | |
| 985 | + } else if (self.config.enableTime && !isTimeObj) self.hourElement.focus(); | |
| 986 | + } | |
| 987 | + | |
| 988 | + break; | |
| 989 | + | |
| 990 | + case "ArrowUp": | |
| 991 | + case "ArrowDown": | |
| 992 | + e.preventDefault(); | |
| 993 | + var delta = e.key === "ArrowDown" ? 1 : -1; | |
| 994 | + | |
| 995 | + if (self.daysContainer) { | |
| 996 | + if (e.ctrlKey) { | |
| 997 | + changeYear(self.currentYear - delta); | |
| 998 | + focusOnDay(e.target.$i, 0); | |
| 999 | + } else if (!isTimeObj) focusOnDay(e.target.$i, delta * 7); | |
| 1000 | + } else if (self.config.enableTime) { | |
| 1001 | + if (!isTimeObj) self.hourElement.focus(); | |
| 1002 | + updateTime(e); | |
| 1003 | + } | |
| 1004 | + | |
| 1005 | + break; | |
| 1006 | + | |
| 1007 | + case "Tab": | |
| 1008 | + if (e.target === self.hourElement) { | |
| 1009 | + e.preventDefault(); | |
| 1010 | + self.minuteElement.select(); | |
| 1011 | + } else if (e.target === self.minuteElement && (self.secondElement || self.amPM)) { | |
| 1012 | + e.preventDefault(); | |
| 1013 | + (self.secondElement || self.amPM).focus(); | |
| 1014 | + } else if (e.target === self.secondElement) { | |
| 1015 | + e.preventDefault(); | |
| 1016 | + self.amPM.focus(); | |
| 1017 | + } | |
| 1018 | + | |
| 1019 | + break; | |
| 1020 | + | |
| 1021 | + case "a": | |
| 1022 | + if (e.target === self.amPM) { | |
| 1023 | + self.amPM.textContent = "AM"; | |
| 1024 | + setHoursFromInputs(); | |
| 1025 | + updateValue(); | |
| 1026 | + } | |
| 1027 | + break; | |
| 1028 | + | |
| 1029 | + case "p": | |
| 1030 | + if (e.target === self.amPM) { | |
| 1031 | + self.amPM.textContent = "PM"; | |
| 1032 | + setHoursFromInputs(); | |
| 1033 | + updateValue(); | |
| 1034 | + } | |
| 1035 | + break; | |
| 1036 | + | |
| 1037 | + default: | |
| 1038 | + break; | |
| 1039 | + | |
| 1040 | + } | |
| 1041 | + | |
| 1042 | + triggerEvent("KeyDown", e); | |
| 1043 | + } | |
| 1044 | + } | |
| 1045 | + | |
| 1046 | + function onMouseOver(elem) { | |
| 1047 | + if (self.selectedDates.length !== 1 || !elem.classList.contains("flatpickr-day")) return; | |
| 1048 | + | |
| 1049 | + var hoverDate = elem.dateObj, | |
| 1050 | + initialDate = self.parseDate(self.selectedDates[0], null, true), | |
| 1051 | + rangeStartDate = Math.min(hoverDate.getTime(), self.selectedDates[0].getTime()), | |
| 1052 | + rangeEndDate = Math.max(hoverDate.getTime(), self.selectedDates[0].getTime()), | |
| 1053 | + containsDisabled = false; | |
| 1054 | + | |
| 1055 | + for (var t = rangeStartDate; t < rangeEndDate; t += self.utils.duration.DAY) { | |
| 1056 | + if (!isEnabled(new Date(t))) { | |
| 1057 | + containsDisabled = true; | |
| 1058 | + break; | |
| 1059 | + } | |
| 1060 | + } | |
| 1061 | + | |
| 1062 | + var _loop = function _loop(timestamp, i) { | |
| 1063 | + var outOfRange = timestamp < self.minRangeDate.getTime() || timestamp > self.maxRangeDate.getTime(), | |
| 1064 | + dayElem = self.days.childNodes[i]; | |
| 1065 | + | |
| 1066 | + if (outOfRange) { | |
| 1067 | + self.days.childNodes[i].classList.add("notAllowed"); | |
| 1068 | + ["inRange", "startRange", "endRange"].forEach(function (c) { | |
| 1069 | + dayElem.classList.remove(c); | |
| 1070 | + }); | |
| 1071 | + return "continue"; | |
| 1072 | + } else if (containsDisabled && !outOfRange) return "continue"; | |
| 1073 | + | |
| 1074 | + ["startRange", "inRange", "endRange", "notAllowed"].forEach(function (c) { | |
| 1075 | + dayElem.classList.remove(c); | |
| 1076 | + }); | |
| 1077 | + | |
| 1078 | + var minRangeDate = Math.max(self.minRangeDate.getTime(), rangeStartDate), | |
| 1079 | + maxRangeDate = Math.min(self.maxRangeDate.getTime(), rangeEndDate); | |
| 1080 | + | |
| 1081 | + elem.classList.add(hoverDate < self.selectedDates[0] ? "startRange" : "endRange"); | |
| 1082 | + | |
| 1083 | + if (initialDate < hoverDate && timestamp === initialDate.getTime()) dayElem.classList.add("startRange");else if (initialDate > hoverDate && timestamp === initialDate.getTime()) dayElem.classList.add("endRange"); | |
| 1084 | + | |
| 1085 | + if (timestamp >= minRangeDate && timestamp <= maxRangeDate) dayElem.classList.add("inRange"); | |
| 1086 | + }; | |
| 1087 | + | |
| 1088 | + for (var timestamp = self.days.childNodes[0].dateObj.getTime(), i = 0; i < 42; i++, timestamp += self.utils.duration.DAY) { | |
| 1089 | + var _ret = _loop(timestamp, i); | |
| 1090 | + | |
| 1091 | + if (_ret === "continue") continue; | |
| 1092 | + } | |
| 1093 | + } | |
| 1094 | + | |
| 1095 | + function onResize() { | |
| 1096 | + if (self.isOpen && !self.config.static && !self.config.inline) positionCalendar(); | |
| 1097 | + } | |
| 1098 | + | |
| 1099 | + function open(e, positionElement) { | |
| 1100 | + if (self.isMobile) { | |
| 1101 | + if (e) { | |
| 1102 | + e.preventDefault(); | |
| 1103 | + e.target.blur(); | |
| 1104 | + } | |
| 1105 | + | |
| 1106 | + setTimeout(function () { | |
| 1107 | + self.mobileInput.click(); | |
| 1108 | + }, 0); | |
| 1109 | + | |
| 1110 | + triggerEvent("Open"); | |
| 1111 | + return; | |
| 1112 | + } | |
| 1113 | + | |
| 1114 | + if (self.isOpen || self._input.disabled || self.config.inline) return; | |
| 1115 | + | |
| 1116 | + self.isOpen = true; | |
| 1117 | + self.calendarContainer.classList.add("open"); | |
| 1118 | + positionCalendar(positionElement); | |
| 1119 | + self._input.classList.add("active"); | |
| 1120 | + | |
| 1121 | + triggerEvent("Open"); | |
| 1122 | + } | |
| 1123 | + | |
| 1124 | + function minMaxDateSetter(type) { | |
| 1125 | + return function (date) { | |
| 1126 | + var dateObj = self.config["_" + type + "Date"] = self.parseDate(date); | |
| 1127 | + | |
| 1128 | + var inverseDateObj = self.config["_" + (type === "min" ? "max" : "min") + "Date"]; | |
| 1129 | + var isValidDate = date && dateObj instanceof Date; | |
| 1130 | + | |
| 1131 | + if (isValidDate) { | |
| 1132 | + self[type + "DateHasTime"] = dateObj.getHours() || dateObj.getMinutes() || dateObj.getSeconds(); | |
| 1133 | + } | |
| 1134 | + | |
| 1135 | + if (self.selectedDates) { | |
| 1136 | + self.selectedDates = self.selectedDates.filter(function (d) { | |
| 1137 | + return isEnabled(d); | |
| 1138 | + }); | |
| 1139 | + if (!self.selectedDates.length && type === "min") setHoursFromDate(dateObj); | |
| 1140 | + updateValue(); | |
| 1141 | + } | |
| 1142 | + | |
| 1143 | + if (self.daysContainer) { | |
| 1144 | + redraw(); | |
| 1145 | + | |
| 1146 | + if (isValidDate) self.currentYearElement[type] = dateObj.getFullYear();else self.currentYearElement.removeAttribute(type); | |
| 1147 | + | |
| 1148 | + self.currentYearElement.disabled = inverseDateObj && dateObj && inverseDateObj.getFullYear() === dateObj.getFullYear(); | |
| 1149 | + } | |
| 1150 | + }; | |
| 1151 | + } | |
| 1152 | + | |
| 1153 | + function parseConfig() { | |
| 1154 | + var boolOpts = ["wrap", "weekNumbers", "allowInput", "clickOpens", "time_24hr", "enableTime", "noCalendar", "altInput", "shorthandCurrentMonth", "inline", "static", "enableSeconds", "disableMobile"]; | |
| 1155 | + | |
| 1156 | + var hooks = ["onChange", "onClose", "onDayCreate", "onDestroy", "onKeyDown", "onMonthChange", "onOpen", "onParseConfig", "onReady", "onValueUpdate", "onYearChange"]; | |
| 1157 | + | |
| 1158 | + self.config = Object.create(flatpickr.defaultConfig); | |
| 1159 | + | |
| 1160 | + var userConfig = _extends({}, self.instanceConfig, JSON.parse(JSON.stringify(self.element.dataset || {}))); | |
| 1161 | + | |
| 1162 | + self.config.parseDate = userConfig.parseDate; | |
| 1163 | + self.config.formatDate = userConfig.formatDate; | |
| 1164 | + | |
| 1165 | + Object.defineProperty(self.config, "enable", { | |
| 1166 | + get: function get() { | |
| 1167 | + return self.config._enable || []; | |
| 1168 | + }, | |
| 1169 | + set: function set(dates) { | |
| 1170 | + return self.config._enable = parseDateRules(dates); | |
| 1171 | + } | |
| 1172 | + }); | |
| 1173 | + | |
| 1174 | + Object.defineProperty(self.config, "disable", { | |
| 1175 | + get: function get() { | |
| 1176 | + return self.config._disable || []; | |
| 1177 | + }, | |
| 1178 | + set: function set(dates) { | |
| 1179 | + return self.config._disable = parseDateRules(dates); | |
| 1180 | + } | |
| 1181 | + }); | |
| 1182 | + | |
| 1183 | + _extends(self.config, userConfig); | |
| 1184 | + | |
| 1185 | + if (!userConfig.dateFormat && userConfig.enableTime) { | |
| 1186 | + self.config.dateFormat = self.config.noCalendar ? "H:i" + (self.config.enableSeconds ? ":S" : "") : flatpickr.defaultConfig.dateFormat + " H:i" + (self.config.enableSeconds ? ":S" : ""); | |
| 1187 | + } | |
| 1188 | + | |
| 1189 | + if (userConfig.altInput && userConfig.enableTime && !userConfig.altFormat) { | |
| 1190 | + self.config.altFormat = self.config.noCalendar ? "h:i" + (self.config.enableSeconds ? ":S K" : " K") : flatpickr.defaultConfig.altFormat + (" h:i" + (self.config.enableSeconds ? ":S" : "") + " K"); | |
| 1191 | + } | |
| 1192 | + | |
| 1193 | + Object.defineProperty(self.config, "minDate", { | |
| 1194 | + get: function get() { | |
| 1195 | + return this._minDate; | |
| 1196 | + }, | |
| 1197 | + set: minMaxDateSetter("min") | |
| 1198 | + }); | |
| 1199 | + | |
| 1200 | + Object.defineProperty(self.config, "maxDate", { | |
| 1201 | + get: function get() { | |
| 1202 | + return this._maxDate; | |
| 1203 | + }, | |
| 1204 | + set: minMaxDateSetter("max") | |
| 1205 | + }); | |
| 1206 | + | |
| 1207 | + self.config.minDate = userConfig.minDate; | |
| 1208 | + self.config.maxDate = userConfig.maxDate; | |
| 1209 | + | |
| 1210 | + for (var i = 0; i < boolOpts.length; i++) { | |
| 1211 | + self.config[boolOpts[i]] = self.config[boolOpts[i]] === true || self.config[boolOpts[i]] === "true"; | |
| 1212 | + }for (var _i = hooks.length; _i--;) { | |
| 1213 | + if (self.config[hooks[_i]] !== undefined) { | |
| 1214 | + self.config[hooks[_i]] = arrayify(self.config[hooks[_i]] || []).map(bindToInstance); | |
| 1215 | + } | |
| 1216 | + } | |
| 1217 | + | |
| 1218 | + for (var _i2 = 0; _i2 < self.config.plugins.length; _i2++) { | |
| 1219 | + var pluginConf = self.config.plugins[_i2](self) || {}; | |
| 1220 | + for (var key in pluginConf) { | |
| 1221 | + | |
| 1222 | + if (self.config[key] instanceof Array || ~hooks.indexOf(key)) { | |
| 1223 | + self.config[key] = arrayify(pluginConf[key]).map(bindToInstance).concat(self.config[key]); | |
| 1224 | + } else if (typeof userConfig[key] === "undefined") self.config[key] = pluginConf[key]; | |
| 1225 | + } | |
| 1226 | + } | |
| 1227 | + | |
| 1228 | + triggerEvent("ParseConfig"); | |
| 1229 | + } | |
| 1230 | + | |
| 1231 | + function setupLocale() { | |
| 1232 | + if (_typeof(self.config.locale) !== "object" && typeof flatpickr.l10ns[self.config.locale] === "undefined") console.warn("flatpickr: invalid locale " + self.config.locale); | |
| 1233 | + | |
| 1234 | + self.l10n = _extends(Object.create(flatpickr.l10ns.default), _typeof(self.config.locale) === "object" ? self.config.locale : self.config.locale !== "default" ? flatpickr.l10ns[self.config.locale] || {} : {}); | |
| 1235 | + } | |
| 1236 | + | |
| 1237 | + function positionCalendar() { | |
| 1238 | + var positionElement = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : self._positionElement; | |
| 1239 | + | |
| 1240 | + if (self.calendarContainer === undefined) return; | |
| 1241 | + | |
| 1242 | + var calendarHeight = self.calendarContainer.offsetHeight, | |
| 1243 | + calendarWidth = self.calendarContainer.offsetWidth, | |
| 1244 | + configPos = self.config.position, | |
| 1245 | + inputBounds = positionElement.getBoundingClientRect(), | |
| 1246 | + distanceFromBottom = window.innerHeight - inputBounds.bottom, | |
| 1247 | + showOnTop = configPos === "above" || configPos !== "below" && distanceFromBottom < calendarHeight && inputBounds.top > calendarHeight; | |
| 1248 | + | |
| 1249 | + var top = window.pageYOffset + inputBounds.top + (!showOnTop ? positionElement.offsetHeight + 2 : -calendarHeight - 2); | |
| 1250 | + | |
| 1251 | + toggleClass(self.calendarContainer, "arrowTop", !showOnTop); | |
| 1252 | + toggleClass(self.calendarContainer, "arrowBottom", showOnTop); | |
| 1253 | + | |
| 1254 | + if (self.config.inline) return; | |
| 1255 | + | |
| 1256 | + var left = window.pageXOffset + inputBounds.left; | |
| 1257 | + var right = window.document.body.offsetWidth - inputBounds.right; | |
| 1258 | + var rightMost = left + calendarWidth > window.document.body.offsetWidth; | |
| 1259 | + | |
| 1260 | + toggleClass(self.calendarContainer, "rightMost", rightMost); | |
| 1261 | + | |
| 1262 | + if (self.config.static) return; | |
| 1263 | + | |
| 1264 | + self.calendarContainer.style.top = top + "px"; | |
| 1265 | + | |
| 1266 | + if (!rightMost) { | |
| 1267 | + self.calendarContainer.style.left = left + "px"; | |
| 1268 | + self.calendarContainer.style.right = "auto"; | |
| 1269 | + } else { | |
| 1270 | + self.calendarContainer.style.left = "auto"; | |
| 1271 | + self.calendarContainer.style.right = right + "px"; | |
| 1272 | + } | |
| 1273 | + } | |
| 1274 | + | |
| 1275 | + function redraw() { | |
| 1276 | + if (self.config.noCalendar || self.isMobile) return; | |
| 1277 | + | |
| 1278 | + buildWeekdays(); | |
| 1279 | + updateNavigationCurrentMonth(); | |
| 1280 | + buildDays(); | |
| 1281 | + } | |
| 1282 | + | |
| 1283 | + function selectDate(e) { | |
| 1284 | + e.preventDefault(); | |
| 1285 | + e.stopPropagation(); | |
| 1286 | + | |
| 1287 | + if (!e.target.classList.contains("flatpickr-day") || e.target.classList.contains("disabled") || e.target.classList.contains("notAllowed")) return; | |
| 1288 | + | |
| 1289 | + var selectedDate = self.latestSelectedDateObj = new Date(e.target.dateObj.getTime()); | |
| 1290 | + | |
| 1291 | + var shouldChangeMonth = selectedDate.getMonth() !== self.currentMonth && self.config.mode !== "range"; | |
| 1292 | + | |
| 1293 | + self.selectedDateElem = e.target; | |
| 1294 | + | |
| 1295 | + if (self.config.mode === "single") self.selectedDates = [selectedDate];else if (self.config.mode === "multiple") { | |
| 1296 | + var selectedIndex = isDateSelected(selectedDate); | |
| 1297 | + if (selectedIndex) self.selectedDates.splice(selectedIndex, 1);else self.selectedDates.push(selectedDate); | |
| 1298 | + } else if (self.config.mode === "range") { | |
| 1299 | + if (self.selectedDates.length === 2) self.clear(); | |
| 1300 | + | |
| 1301 | + self.selectedDates.push(selectedDate); | |
| 1302 | + | |
| 1303 | + // unless selecting same date twice, sort ascendingly | |
| 1304 | + if (compareDates(selectedDate, self.selectedDates[0], true) !== 0) self.selectedDates.sort(function (a, b) { | |
| 1305 | + return a.getTime() - b.getTime(); | |
| 1306 | + }); | |
| 1307 | + } | |
| 1308 | + | |
| 1309 | + setHoursFromInputs(); | |
| 1310 | + | |
| 1311 | + if (shouldChangeMonth) { | |
| 1312 | + var isNewYear = self.currentYear !== selectedDate.getFullYear(); | |
| 1313 | + self.currentYear = selectedDate.getFullYear(); | |
| 1314 | + self.currentMonth = selectedDate.getMonth(); | |
| 1315 | + | |
| 1316 | + if (isNewYear) triggerEvent("YearChange"); | |
| 1317 | + | |
| 1318 | + triggerEvent("MonthChange"); | |
| 1319 | + } | |
| 1320 | + | |
| 1321 | + buildDays(); | |
| 1322 | + | |
| 1323 | + if (self.minDateHasTime && self.config.enableTime && compareDates(selectedDate, self.config.minDate) === 0) setHoursFromDate(self.config.minDate); | |
| 1324 | + | |
| 1325 | + updateValue(); | |
| 1326 | + | |
| 1327 | + if (self.config.enableTime) setTimeout(function () { | |
| 1328 | + return self.showTimeInput = true; | |
| 1329 | + }, 50); | |
| 1330 | + | |
| 1331 | + if (self.config.mode === "range") { | |
| 1332 | + if (self.selectedDates.length === 1) { | |
| 1333 | + onMouseOver(e.target); | |
| 1334 | + | |
| 1335 | + self._hidePrevMonthArrow = self._hidePrevMonthArrow || self.minRangeDate > self.days.childNodes[0].dateObj; | |
| 1336 | + | |
| 1337 | + self._hideNextMonthArrow = self._hideNextMonthArrow || self.maxRangeDate < new Date(self.currentYear, self.currentMonth + 1, 1); | |
| 1338 | + } else updateNavigationCurrentMonth(); | |
| 1339 | + } | |
| 1340 | + | |
| 1341 | + triggerEvent("Change"); | |
| 1342 | + | |
| 1343 | + // maintain focus | |
| 1344 | + if (!shouldChangeMonth) focusOnDay(e.target.$i, 0);else afterDayAnim(function () { | |
| 1345 | + return self.selectedDateElem.focus(); | |
| 1346 | + }); | |
| 1347 | + | |
| 1348 | + if (self.config.enableTime) setTimeout(function () { | |
| 1349 | + return self.hourElement.select(); | |
| 1350 | + }, 451); | |
| 1351 | + | |
| 1352 | + if (self.config.closeOnSelect) { | |
| 1353 | + var single = self.config.mode === "single" && !self.config.enableTime; | |
| 1354 | + var range = self.config.mode === "range" && self.selectedDates.length === 2 && !self.config.enableTime; | |
| 1355 | + | |
| 1356 | + if (single || range) self.close(); | |
| 1357 | + } | |
| 1358 | + } | |
| 1359 | + | |
| 1360 | + function set(option, value) { | |
| 1361 | + self.config[option] = value; | |
| 1362 | + self.redraw(); | |
| 1363 | + jumpToDate(); | |
| 1364 | + } | |
| 1365 | + | |
| 1366 | + function setSelectedDate(inputDate, format) { | |
| 1367 | + if (inputDate instanceof Array) self.selectedDates = inputDate.map(function (d) { | |
| 1368 | + return self.parseDate(d, format); | |
| 1369 | + });else if (inputDate instanceof Date || !isNaN(inputDate)) self.selectedDates = [self.parseDate(inputDate, format)];else if (inputDate && inputDate.substring) { | |
| 1370 | + switch (self.config.mode) { | |
| 1371 | + case "single": | |
| 1372 | + self.selectedDates = [self.parseDate(inputDate, format)]; | |
| 1373 | + break; | |
| 1374 | + | |
| 1375 | + case "multiple": | |
| 1376 | + self.selectedDates = inputDate.split("; ").map(function (date) { | |
| 1377 | + return self.parseDate(date, format); | |
| 1378 | + }); | |
| 1379 | + break; | |
| 1380 | + | |
| 1381 | + case "range": | |
| 1382 | + self.selectedDates = inputDate.split(self.l10n.rangeSeparator).map(function (date) { | |
| 1383 | + return self.parseDate(date, format); | |
| 1384 | + }); | |
| 1385 | + | |
| 1386 | + break; | |
| 1387 | + | |
| 1388 | + default: | |
| 1389 | + break; | |
| 1390 | + } | |
| 1391 | + } | |
| 1392 | + | |
| 1393 | + self.selectedDates = self.selectedDates.filter(function (d) { | |
| 1394 | + return d instanceof Date && isEnabled(d, false); | |
| 1395 | + }); | |
| 1396 | + | |
| 1397 | + self.selectedDates.sort(function (a, b) { | |
| 1398 | + return a.getTime() - b.getTime(); | |
| 1399 | + }); | |
| 1400 | + } | |
| 1401 | + | |
| 1402 | + function setDate(date, triggerChange, format) { | |
| 1403 | + if (date !== 0 && !date) return self.clear(triggerChange); | |
| 1404 | + | |
| 1405 | + setSelectedDate(date, format); | |
| 1406 | + | |
| 1407 | + self.showTimeInput = self.selectedDates.length > 0; | |
| 1408 | + self.latestSelectedDateObj = self.selectedDates[0]; | |
| 1409 | + | |
| 1410 | + self.redraw(); | |
| 1411 | + jumpToDate(); | |
| 1412 | + | |
| 1413 | + setHoursFromDate(); | |
| 1414 | + updateValue(triggerChange); | |
| 1415 | + | |
| 1416 | + if (triggerChange) triggerEvent("Change"); | |
| 1417 | + } | |
| 1418 | + | |
| 1419 | + function parseDateRules(arr) { | |
| 1420 | + for (var i = arr.length; i--;) { | |
| 1421 | + if (typeof arr[i] === "string" || +arr[i]) arr[i] = self.parseDate(arr[i], null, true);else if (arr[i] && arr[i].from && arr[i].to) { | |
| 1422 | + arr[i].from = self.parseDate(arr[i].from); | |
| 1423 | + arr[i].to = self.parseDate(arr[i].to); | |
| 1424 | + } | |
| 1425 | + } | |
| 1426 | + | |
| 1427 | + return arr.filter(function (x) { | |
| 1428 | + return x; | |
| 1429 | + }); // remove falsy values | |
| 1430 | + } | |
| 1431 | + | |
| 1432 | + function setupDates() { | |
| 1433 | + self.selectedDates = []; | |
| 1434 | + self.now = new Date(); | |
| 1435 | + | |
| 1436 | + var preloadedDate = self.config.defaultDate || self.input.value; | |
| 1437 | + if (preloadedDate) setSelectedDate(preloadedDate, self.config.dateFormat); | |
| 1438 | + | |
| 1439 | + var initialDate = self.selectedDates.length ? self.selectedDates[0] : self.config.minDate && self.config.minDate.getTime() > self.now ? self.config.minDate : self.config.maxDate && self.config.maxDate.getTime() < self.now ? self.config.maxDate : self.now; | |
| 1440 | + | |
| 1441 | + self.currentYear = initialDate.getFullYear(); | |
| 1442 | + self.currentMonth = initialDate.getMonth(); | |
| 1443 | + | |
| 1444 | + if (self.selectedDates.length) self.latestSelectedDateObj = self.selectedDates[0]; | |
| 1445 | + | |
| 1446 | + self.minDateHasTime = self.config.minDate && (self.config.minDate.getHours() || self.config.minDate.getMinutes() || self.config.minDate.getSeconds()); | |
| 1447 | + | |
| 1448 | + self.maxDateHasTime = self.config.maxDate && (self.config.maxDate.getHours() || self.config.maxDate.getMinutes() || self.config.maxDate.getSeconds()); | |
| 1449 | + | |
| 1450 | + Object.defineProperty(self, "latestSelectedDateObj", { | |
| 1451 | + get: function get() { | |
| 1452 | + return self._selectedDateObj || self.selectedDates[self.selectedDates.length - 1]; | |
| 1453 | + }, | |
| 1454 | + set: function set(date) { | |
| 1455 | + self._selectedDateObj = date; | |
| 1456 | + } | |
| 1457 | + }); | |
| 1458 | + | |
| 1459 | + if (!self.isMobile) { | |
| 1460 | + Object.defineProperty(self, "showTimeInput", { | |
| 1461 | + get: function get() { | |
| 1462 | + return self._showTimeInput; | |
| 1463 | + }, | |
| 1464 | + set: function set(bool) { | |
| 1465 | + self._showTimeInput = bool; | |
| 1466 | + if (self.calendarContainer) toggleClass(self.calendarContainer, "showTimeInput", bool); | |
| 1467 | + positionCalendar(); | |
| 1468 | + } | |
| 1469 | + }); | |
| 1470 | + } | |
| 1471 | + } | |
| 1472 | + | |
| 1473 | + function setupHelperFunctions() { | |
| 1474 | + self.utils = { | |
| 1475 | + duration: { | |
| 1476 | + DAY: 86400000 | |
| 1477 | + }, | |
| 1478 | + getDaysinMonth: function getDaysinMonth(month, yr) { | |
| 1479 | + month = typeof month === "undefined" ? self.currentMonth : month; | |
| 1480 | + | |
| 1481 | + yr = typeof yr === "undefined" ? self.currentYear : yr; | |
| 1482 | + | |
| 1483 | + if (month === 1 && (yr % 4 === 0 && yr % 100 !== 0 || yr % 400 === 0)) return 29; | |
| 1484 | + | |
| 1485 | + return self.l10n.daysInMonth[month]; | |
| 1486 | + }, | |
| 1487 | + monthToStr: function monthToStr(monthNumber, shorthand) { | |
| 1488 | + shorthand = typeof shorthand === "undefined" ? self.config.shorthandCurrentMonth : shorthand; | |
| 1489 | + | |
| 1490 | + return self.l10n.months[(shorthand ? "short" : "long") + "hand"][monthNumber]; | |
| 1491 | + } | |
| 1492 | + }; | |
| 1493 | + } | |
| 1494 | + | |
| 1495 | + /* istanbul ignore next */ | |
| 1496 | + function setupFormats() { | |
| 1497 | + self.formats = Object.create(FlatpickrInstance.prototype.formats); | |
| 1498 | + ["D", "F", "J", "M", "W", "l"].forEach(function (f) { | |
| 1499 | + self.formats[f] = FlatpickrInstance.prototype.formats[f].bind(self); | |
| 1500 | + }); | |
| 1501 | + | |
| 1502 | + self.revFormat.F = FlatpickrInstance.prototype.revFormat.F.bind(self); | |
| 1503 | + self.revFormat.M = FlatpickrInstance.prototype.revFormat.M.bind(self); | |
| 1504 | + } | |
| 1505 | + | |
| 1506 | + function setupInputs() { | |
| 1507 | + self.input = self.config.wrap ? self.element.querySelector("[data-input]") : self.element; | |
| 1508 | + | |
| 1509 | + /* istanbul ignore next */ | |
| 1510 | + if (!self.input) return console.warn("Error: invalid input element specified", self.input); | |
| 1511 | + | |
| 1512 | + self.input._type = self.input.type; | |
| 1513 | + self.input.type = "text"; | |
| 1514 | + | |
| 1515 | + self.input.classList.add("flatpickr-input"); | |
| 1516 | + self._input = self.input; | |
| 1517 | + | |
| 1518 | + if (self.config.altInput) { | |
| 1519 | + // replicate self.element | |
| 1520 | + self.altInput = createElement(self.input.nodeName, self.input.className + " " + self.config.altInputClass); | |
| 1521 | + self._input = self.altInput; | |
| 1522 | + self.altInput.placeholder = self.input.placeholder; | |
| 1523 | + self.altInput.disabled = self.input.disabled; | |
| 1524 | + self.altInput.required = self.input.required; | |
| 1525 | + self.altInput.type = "text"; | |
| 1526 | + self.input.type = "hidden"; | |
| 1527 | + | |
| 1528 | + if (!self.config.static && self.input.parentNode) self.input.parentNode.insertBefore(self.altInput, self.input.nextSibling); | |
| 1529 | + } | |
| 1530 | + | |
| 1531 | + if (!self.config.allowInput) self._input.setAttribute("readonly", "readonly"); | |
| 1532 | + | |
| 1533 | + self._positionElement = self.config.positionElement || self._input; | |
| 1534 | + } | |
| 1535 | + | |
| 1536 | + function setupMobile() { | |
| 1537 | + var inputType = self.config.enableTime ? self.config.noCalendar ? "time" : "datetime-local" : "date"; | |
| 1538 | + | |
| 1539 | + self.mobileInput = createElement("input", self.input.className + " flatpickr-mobile"); | |
| 1540 | + self.mobileInput.step = "any"; | |
| 1541 | + self.mobileInput.tabIndex = 1; | |
| 1542 | + self.mobileInput.type = inputType; | |
| 1543 | + self.mobileInput.disabled = self.input.disabled; | |
| 1544 | + self.mobileInput.placeholder = self.input.placeholder; | |
| 1545 | + | |
| 1546 | + self.mobileFormatStr = inputType === "datetime-local" ? "Y-m-d\\TH:i:S" : inputType === "date" ? "Y-m-d" : "H:i:S"; | |
| 1547 | + | |
| 1548 | + if (self.selectedDates.length) { | |
| 1549 | + self.mobileInput.defaultValue = self.mobileInput.value = self.formatDate(self.selectedDates[0], self.mobileFormatStr); | |
| 1550 | + } | |
| 1551 | + | |
| 1552 | + if (self.config.minDate) self.mobileInput.min = self.formatDate(self.config.minDate, "Y-m-d"); | |
| 1553 | + | |
| 1554 | + if (self.config.maxDate) self.mobileInput.max = self.formatDate(self.config.maxDate, "Y-m-d"); | |
| 1555 | + | |
| 1556 | + self.input.type = "hidden"; | |
| 1557 | + if (self.config.altInput) self.altInput.type = "hidden"; | |
| 1558 | + | |
| 1559 | + try { | |
| 1560 | + self.input.parentNode.insertBefore(self.mobileInput, self.input.nextSibling); | |
| 1561 | + } catch (e) { | |
| 1562 | + // | |
| 1563 | + } | |
| 1564 | + | |
| 1565 | + self.mobileInput.addEventListener("change", function (e) { | |
| 1566 | + self.setDate(e.target.value, false, self.mobileFormatStr); | |
| 1567 | + triggerEvent("Change"); | |
| 1568 | + triggerEvent("Close"); | |
| 1569 | + }); | |
| 1570 | + } | |
| 1571 | + | |
| 1572 | + function toggle() { | |
| 1573 | + if (self.isOpen) return self.close(); | |
| 1574 | + self.open(); | |
| 1575 | + } | |
| 1576 | + | |
| 1577 | + function triggerEvent(event, data) { | |
| 1578 | + var hooks = self.config["on" + event]; | |
| 1579 | + | |
| 1580 | + if (hooks !== undefined && hooks.length > 0) { | |
| 1581 | + for (var i = 0; hooks[i] && i < hooks.length; i++) { | |
| 1582 | + hooks[i](self.selectedDates, self.input.value, self, data); | |
| 1583 | + } | |
| 1584 | + } | |
| 1585 | + | |
| 1586 | + if (event === "Change") { | |
| 1587 | + self.input.dispatchEvent(createEvent("change")); | |
| 1588 | + | |
| 1589 | + // many front-end frameworks bind to the input event | |
| 1590 | + self.input.dispatchEvent(createEvent("input")); | |
| 1591 | + } | |
| 1592 | + } | |
| 1593 | + | |
| 1594 | + /** | |
| 1595 | + * Creates an Event, normalized across browsers | |
| 1596 | + * @param {String} name the event name, e.g. "click" | |
| 1597 | + * @return {Event} the created event | |
| 1598 | + */ | |
| 1599 | + function createEvent(name) { | |
| 1600 | + if (self._supportsEvents) return new Event(name, { bubbles: true }); | |
| 1601 | + | |
| 1602 | + self._[name + "Event"] = document.createEvent("Event"); | |
| 1603 | + self._[name + "Event"].initEvent(name, true, true); | |
| 1604 | + return self._[name + "Event"]; | |
| 1605 | + } | |
| 1606 | + | |
| 1607 | + function isDateSelected(date) { | |
| 1608 | + for (var i = 0; i < self.selectedDates.length; i++) { | |
| 1609 | + if (compareDates(self.selectedDates[i], date) === 0) return "" + i; | |
| 1610 | + } | |
| 1611 | + | |
| 1612 | + return false; | |
| 1613 | + } | |
| 1614 | + | |
| 1615 | + function isDateInRange(date) { | |
| 1616 | + if (self.config.mode !== "range" || self.selectedDates.length < 2) return false; | |
| 1617 | + return compareDates(date, self.selectedDates[0]) >= 0 && compareDates(date, self.selectedDates[1]) <= 0; | |
| 1618 | + } | |
| 1619 | + | |
| 1620 | + function updateNavigationCurrentMonth() { | |
| 1621 | + if (self.config.noCalendar || self.isMobile || !self.monthNav) return; | |
| 1622 | + | |
| 1623 | + self.currentMonthElement.textContent = self.utils.monthToStr(self.currentMonth) + " "; | |
| 1624 | + self.currentYearElement.value = self.currentYear; | |
| 1625 | + | |
| 1626 | + self._hidePrevMonthArrow = self.config.minDate && (self.currentYear === self.config.minDate.getFullYear() ? self.currentMonth <= self.config.minDate.getMonth() : self.currentYear < self.config.minDate.getFullYear()); | |
| 1627 | + | |
| 1628 | + self._hideNextMonthArrow = self.config.maxDate && (self.currentYear === self.config.maxDate.getFullYear() ? self.currentMonth + 1 > self.config.maxDate.getMonth() : self.currentYear > self.config.maxDate.getFullYear()); | |
| 1629 | + } | |
| 1630 | + | |
| 1631 | + /** | |
| 1632 | + * Updates the values of inputs associated with the calendar | |
| 1633 | + * @return {void} | |
| 1634 | + */ | |
| 1635 | + function updateValue(triggerChange) { | |
| 1636 | + if (!self.selectedDates.length) return self.clear(triggerChange); | |
| 1637 | + | |
| 1638 | + if (self.isMobile) { | |
| 1639 | + self.mobileInput.value = self.selectedDates.length ? self.formatDate(self.latestSelectedDateObj, self.mobileFormatStr) : ""; | |
| 1640 | + } | |
| 1641 | + | |
| 1642 | + var joinChar = self.config.mode !== "range" ? "; " : self.l10n.rangeSeparator; | |
| 1643 | + | |
| 1644 | + self.input.value = self.selectedDates.map(function (dObj) { | |
| 1645 | + return self.formatDate(dObj, self.config.dateFormat); | |
| 1646 | + }).join(joinChar); | |
| 1647 | + | |
| 1648 | + if (self.config.altInput) { | |
| 1649 | + self.altInput.value = self.selectedDates.map(function (dObj) { | |
| 1650 | + return self.formatDate(dObj, self.config.altFormat); | |
| 1651 | + }).join(joinChar); | |
| 1652 | + } | |
| 1653 | + | |
| 1654 | + if (triggerChange !== false) triggerEvent("ValueUpdate"); | |
| 1655 | + } | |
| 1656 | + | |
| 1657 | + function mouseDelta(e) { | |
| 1658 | + return Math.max(-1, Math.min(1, e.wheelDelta || -e.deltaY)); | |
| 1659 | + } | |
| 1660 | + | |
| 1661 | + function onMonthNavScroll(e) { | |
| 1662 | + e.preventDefault(); | |
| 1663 | + var isYear = self.currentYearElement.parentNode.contains(e.target); | |
| 1664 | + | |
| 1665 | + if (e.target === self.currentMonthElement || isYear) { | |
| 1666 | + | |
| 1667 | + var delta = mouseDelta(e); | |
| 1668 | + | |
| 1669 | + if (isYear) { | |
| 1670 | + changeYear(self.currentYear + delta); | |
| 1671 | + e.target.value = self.currentYear; | |
| 1672 | + } else self.changeMonth(delta, true, false); | |
| 1673 | + } | |
| 1674 | + } | |
| 1675 | + | |
| 1676 | + function onMonthNavClick(e) { | |
| 1677 | + var isPrevMonth = self.prevMonthNav.contains(e.target); | |
| 1678 | + var isNextMonth = self.nextMonthNav.contains(e.target); | |
| 1679 | + | |
| 1680 | + if (isPrevMonth || isNextMonth) changeMonth(isPrevMonth ? -1 : 1);else if (e.target === self.currentYearElement) { | |
| 1681 | + e.preventDefault(); | |
| 1682 | + self.currentYearElement.select(); | |
| 1683 | + } else if (e.target.className === "arrowUp") self.changeYear(self.currentYear + 1);else if (e.target.className === "arrowDown") self.changeYear(self.currentYear - 1); | |
| 1684 | + } | |
| 1685 | + | |
| 1686 | + /** | |
| 1687 | + * Creates an HTMLElement with given tag, class, and textual content | |
| 1688 | + * @param {String} tag the HTML tag | |
| 1689 | + * @param {String} className the new element's class name | |
| 1690 | + * @param {String} content The new element's text content | |
| 1691 | + * @return {HTMLElement} the created HTML element | |
| 1692 | + */ | |
| 1693 | + function createElement(tag, className, content) { | |
| 1694 | + var e = window.document.createElement(tag); | |
| 1695 | + className = className || ""; | |
| 1696 | + content = content || ""; | |
| 1697 | + | |
| 1698 | + e.className = className; | |
| 1699 | + | |
| 1700 | + if (content !== undefined) e.textContent = content; | |
| 1701 | + | |
| 1702 | + return e; | |
| 1703 | + } | |
| 1704 | + | |
| 1705 | + function arrayify(obj) { | |
| 1706 | + if (obj instanceof Array) return obj; | |
| 1707 | + return [obj]; | |
| 1708 | + } | |
| 1709 | + | |
| 1710 | + function toggleClass(elem, className, bool) { | |
| 1711 | + if (bool) return elem.classList.add(className); | |
| 1712 | + elem.classList.remove(className); | |
| 1713 | + } | |
| 1714 | + | |
| 1715 | + /* istanbul ignore next */ | |
| 1716 | + function debounce(func, wait, immediate) { | |
| 1717 | + var timeout = void 0; | |
| 1718 | + return function () { | |
| 1719 | + var context = this, | |
| 1720 | + args = arguments; | |
| 1721 | + clearTimeout(timeout); | |
| 1722 | + timeout = setTimeout(function () { | |
| 1723 | + timeout = null; | |
| 1724 | + if (!immediate) func.apply(context, args); | |
| 1725 | + }, wait); | |
| 1726 | + if (immediate && !timeout) func.apply(context, args); | |
| 1727 | + }; | |
| 1728 | + } | |
| 1729 | + | |
| 1730 | + /** | |
| 1731 | + * Compute the difference in dates, measured in ms | |
| 1732 | + * @param {Date} date1 | |
| 1733 | + * @param {Date} date2 | |
| 1734 | + * @param {Boolean} timeless whether to reset times of both dates to 00:00 | |
| 1735 | + * @return {Number} the difference in ms | |
| 1736 | + */ | |
| 1737 | + function compareDates(date1, date2, timeless) { | |
| 1738 | + if (!(date1 instanceof Date) || !(date2 instanceof Date)) return false; | |
| 1739 | + | |
| 1740 | + if (timeless !== false) { | |
| 1741 | + return new Date(date1.getTime()).setHours(0, 0, 0, 0) - new Date(date2.getTime()).setHours(0, 0, 0, 0); | |
| 1742 | + } | |
| 1743 | + | |
| 1744 | + return date1.getTime() - date2.getTime(); | |
| 1745 | + } | |
| 1746 | + | |
| 1747 | + function timeWrapper(e) { | |
| 1748 | + e.preventDefault(); | |
| 1749 | + | |
| 1750 | + var isKeyDown = e.type === "keydown", | |
| 1751 | + isWheel = e.type === "wheel", | |
| 1752 | + isIncrement = e.type === "increment", | |
| 1753 | + input = e.target; | |
| 1754 | + | |
| 1755 | + if (self.amPM && e.target === self.amPM) return e.target.textContent = ["AM", "PM"][e.target.textContent === "AM" | 0]; | |
| 1756 | + | |
| 1757 | + var min = Number(input.min), | |
| 1758 | + max = Number(input.max), | |
| 1759 | + step = Number(input.step), | |
| 1760 | + curValue = parseInt(input.value, 10), | |
| 1761 | + delta = e.delta || (!isKeyDown ? Math.max(-1, Math.min(1, e.wheelDelta || -e.deltaY)) || 0 : e.which === 38 ? 1 : -1); | |
| 1762 | + | |
| 1763 | + var newValue = curValue + step * delta; | |
| 1764 | + | |
| 1765 | + if (typeof input.value !== "undefined" && input.value.length === 2) { | |
| 1766 | + var isHourElem = input === self.hourElement, | |
| 1767 | + isMinuteElem = input === self.minuteElement; | |
| 1768 | + | |
| 1769 | + if (newValue < min) { | |
| 1770 | + newValue = max + newValue + !isHourElem + (isHourElem && !self.amPM); | |
| 1771 | + | |
| 1772 | + if (isMinuteElem) incrementNumInput(null, -1, self.hourElement); | |
| 1773 | + } else if (newValue > max) { | |
| 1774 | + newValue = input === self.hourElement ? newValue - max - !self.amPM : min; | |
| 1775 | + | |
| 1776 | + if (isMinuteElem) incrementNumInput(null, 1, self.hourElement); | |
| 1777 | + } | |
| 1778 | + | |
| 1779 | + if (self.amPM && isHourElem && (step === 1 ? newValue + curValue === 23 : Math.abs(newValue - curValue) > step)) self.amPM.textContent = self.amPM.textContent === "PM" ? "AM" : "PM"; | |
| 1780 | + | |
| 1781 | + input.value = self.pad(newValue); | |
| 1782 | + } | |
| 1783 | + } | |
| 1784 | + | |
| 1785 | + init(); | |
| 1786 | + return self; | |
| 1787 | +} | |
| 1788 | + | |
| 1789 | +FlatpickrInstance.prototype = { | |
| 1790 | + formats: { | |
| 1791 | + // get the date in UTC | |
| 1792 | + Z: function Z(date) { | |
| 1793 | + return date.toISOString(); | |
| 1794 | + }, | |
| 1795 | + | |
| 1796 | + // weekday name, short, e.g. Thu | |
| 1797 | + D: function D(date) { | |
| 1798 | + return this.l10n.weekdays.shorthand[this.formats.w(date)]; | |
| 1799 | + }, | |
| 1800 | + | |
| 1801 | + // full month name e.g. January | |
| 1802 | + F: function F(date) { | |
| 1803 | + return this.utils.monthToStr(this.formats.n(date) - 1, false); | |
| 1804 | + }, | |
| 1805 | + | |
| 1806 | + // padded hour 1-12 | |
| 1807 | + G: function G(date) { | |
| 1808 | + return FlatpickrInstance.prototype.pad(FlatpickrInstance.prototype.formats.h(date)); | |
| 1809 | + }, | |
| 1810 | + | |
| 1811 | + // hours with leading zero e.g. 03 | |
| 1812 | + H: function H(date) { | |
| 1813 | + return FlatpickrInstance.prototype.pad(date.getHours()); | |
| 1814 | + }, | |
| 1815 | + | |
| 1816 | + // day (1-30) with ordinal suffix e.g. 1st, 2nd | |
| 1817 | + J: function J(date) { | |
| 1818 | + return date.getDate() + this.l10n.ordinal(date.getDate()); | |
| 1819 | + }, | |
| 1820 | + | |
| 1821 | + // AM/PM | |
| 1822 | + K: function K(date) { | |
| 1823 | + return date.getHours() > 11 ? "PM" : "AM"; | |
| 1824 | + }, | |
| 1825 | + | |
| 1826 | + // shorthand month e.g. Jan, Sep, Oct, etc | |
| 1827 | + M: function M(date) { | |
| 1828 | + return this.utils.monthToStr(date.getMonth(), true); | |
| 1829 | + }, | |
| 1830 | + | |
| 1831 | + // seconds 00-59 | |
| 1832 | + S: function S(date) { | |
| 1833 | + return FlatpickrInstance.prototype.pad(date.getSeconds()); | |
| 1834 | + }, | |
| 1835 | + | |
| 1836 | + // unix timestamp | |
| 1837 | + U: function U(date) { | |
| 1838 | + return date.getTime() / 1000; | |
| 1839 | + }, | |
| 1840 | + | |
| 1841 | + W: function W(date) { | |
| 1842 | + return this.config.getWeek(date); | |
| 1843 | + }, | |
| 1844 | + | |
| 1845 | + // full year e.g. 2016 | |
| 1846 | + Y: function Y(date) { | |
| 1847 | + return date.getFullYear(); | |
| 1848 | + }, | |
| 1849 | + | |
| 1850 | + // day in month, padded (01-30) | |
| 1851 | + d: function d(date) { | |
| 1852 | + return FlatpickrInstance.prototype.pad(date.getDate()); | |
| 1853 | + }, | |
| 1854 | + | |
| 1855 | + // hour from 1-12 (am/pm) | |
| 1856 | + h: function h(date) { | |
| 1857 | + return date.getHours() % 12 ? date.getHours() % 12 : 12; | |
| 1858 | + }, | |
| 1859 | + | |
| 1860 | + // minutes, padded with leading zero e.g. 09 | |
| 1861 | + i: function i(date) { | |
| 1862 | + return FlatpickrInstance.prototype.pad(date.getMinutes()); | |
| 1863 | + }, | |
| 1864 | + | |
| 1865 | + // day in month (1-30) | |
| 1866 | + j: function j(date) { | |
| 1867 | + return date.getDate(); | |
| 1868 | + }, | |
| 1869 | + | |
| 1870 | + // weekday name, full, e.g. Thursday | |
| 1871 | + l: function l(date) { | |
| 1872 | + return this.l10n.weekdays.longhand[date.getDay()]; | |
| 1873 | + }, | |
| 1874 | + | |
| 1875 | + // padded month number (01-12) | |
| 1876 | + m: function m(date) { | |
| 1877 | + return FlatpickrInstance.prototype.pad(date.getMonth() + 1); | |
| 1878 | + }, | |
| 1879 | + | |
| 1880 | + // the month number (1-12) | |
| 1881 | + n: function n(date) { | |
| 1882 | + return date.getMonth() + 1; | |
| 1883 | + }, | |
| 1884 | + | |
| 1885 | + // seconds 0-59 | |
| 1886 | + s: function s(date) { | |
| 1887 | + return date.getSeconds(); | |
| 1888 | + }, | |
| 1889 | + | |
| 1890 | + // number of the day of the week | |
| 1891 | + w: function w(date) { | |
| 1892 | + return date.getDay(); | |
| 1893 | + }, | |
| 1894 | + | |
| 1895 | + // last two digits of year e.g. 16 for 2016 | |
| 1896 | + y: function y(date) { | |
| 1897 | + return String(date.getFullYear()).substring(2); | |
| 1898 | + } | |
| 1899 | + }, | |
| 1900 | + | |
| 1901 | + /** | |
| 1902 | + * Formats a given Date object into a string based on supplied format | |
| 1903 | + * @param {Date} dateObj the date object | |
| 1904 | + * @param {String} frmt a string composed of formatting tokens e.g. "Y-m-d" | |
| 1905 | + * @return {String} The textual representation of the date e.g. 2017-02-03 | |
| 1906 | + */ | |
| 1907 | + formatDate: function formatDate(dateObj, frmt) { | |
| 1908 | + var _this = this; | |
| 1909 | + | |
| 1910 | + if (this.config !== undefined && this.config.formatDate !== undefined) return this.config.formatDate(dateObj, frmt); | |
| 1911 | + | |
| 1912 | + return frmt.split("").map(function (c, i, arr) { | |
| 1913 | + return _this.formats[c] && arr[i - 1] !== "\\" ? _this.formats[c](dateObj) : c !== "\\" ? c : ""; | |
| 1914 | + }).join(""); | |
| 1915 | + }, | |
| 1916 | + | |
| 1917 | + | |
| 1918 | + revFormat: { | |
| 1919 | + D: function D() {}, | |
| 1920 | + F: function F(dateObj, monthName) { | |
| 1921 | + dateObj.setMonth(this.l10n.months.longhand.indexOf(monthName)); | |
| 1922 | + }, | |
| 1923 | + G: function G(dateObj, hour) { | |
| 1924 | + dateObj.setHours(parseFloat(hour)); | |
| 1925 | + }, | |
| 1926 | + H: function H(dateObj, hour) { | |
| 1927 | + dateObj.setHours(parseFloat(hour)); | |
| 1928 | + }, | |
| 1929 | + J: function J(dateObj, day) { | |
| 1930 | + dateObj.setDate(parseFloat(day)); | |
| 1931 | + }, | |
| 1932 | + K: function K(dateObj, amPM) { | |
| 1933 | + var hours = dateObj.getHours(); | |
| 1934 | + | |
| 1935 | + if (hours !== 12) dateObj.setHours(hours % 12 + 12 * /pm/i.test(amPM)); | |
| 1936 | + }, | |
| 1937 | + M: function M(dateObj, shortMonth) { | |
| 1938 | + dateObj.setMonth(this.l10n.months.shorthand.indexOf(shortMonth)); | |
| 1939 | + }, | |
| 1940 | + S: function S(dateObj, seconds) { | |
| 1941 | + dateObj.setSeconds(seconds); | |
| 1942 | + }, | |
| 1943 | + U: function U(dateObj, unixSeconds) { | |
| 1944 | + return new Date(parseFloat(unixSeconds) * 1000); | |
| 1945 | + }, | |
| 1946 | + | |
| 1947 | + W: function W(dateObj, weekNumber) { | |
| 1948 | + weekNumber = parseInt(weekNumber); | |
| 1949 | + return new Date(dateObj.getFullYear(), 0, 2 + (weekNumber - 1) * 7, 0, 0, 0, 0, 0); | |
| 1950 | + }, | |
| 1951 | + Y: function Y(dateObj, year) { | |
| 1952 | + dateObj.setFullYear(year); | |
| 1953 | + }, | |
| 1954 | + Z: function Z(dateObj, ISODate) { | |
| 1955 | + return new Date(ISODate); | |
| 1956 | + }, | |
| 1957 | + | |
| 1958 | + d: function d(dateObj, day) { | |
| 1959 | + dateObj.setDate(parseFloat(day)); | |
| 1960 | + }, | |
| 1961 | + h: function h(dateObj, hour) { | |
| 1962 | + dateObj.setHours(parseFloat(hour)); | |
| 1963 | + }, | |
| 1964 | + i: function i(dateObj, minutes) { | |
| 1965 | + dateObj.setMinutes(parseFloat(minutes)); | |
| 1966 | + }, | |
| 1967 | + j: function j(dateObj, day) { | |
| 1968 | + dateObj.setDate(parseFloat(day)); | |
| 1969 | + }, | |
| 1970 | + l: function l() {}, | |
| 1971 | + m: function m(dateObj, month) { | |
| 1972 | + dateObj.setMonth(parseFloat(month) - 1); | |
| 1973 | + }, | |
| 1974 | + n: function n(dateObj, month) { | |
| 1975 | + dateObj.setMonth(parseFloat(month) - 1); | |
| 1976 | + }, | |
| 1977 | + s: function s(dateObj, seconds) { | |
| 1978 | + dateObj.setSeconds(parseFloat(seconds)); | |
| 1979 | + }, | |
| 1980 | + w: function w() {}, | |
| 1981 | + y: function y(dateObj, year) { | |
| 1982 | + dateObj.setFullYear(2000 + parseFloat(year)); | |
| 1983 | + } | |
| 1984 | + }, | |
| 1985 | + | |
| 1986 | + tokenRegex: { | |
| 1987 | + D: "(\\w+)", | |
| 1988 | + F: "(\\w+)", | |
| 1989 | + G: "(\\d\\d|\\d)", | |
| 1990 | + H: "(\\d\\d|\\d)", | |
| 1991 | + J: "(\\d\\d|\\d)\\w+", | |
| 1992 | + K: "(am|AM|Am|aM|pm|PM|Pm|pM)", | |
| 1993 | + M: "(\\w+)", | |
| 1994 | + S: "(\\d\\d|\\d)", | |
| 1995 | + U: "(.+)", | |
| 1996 | + W: "(\\d\\d|\\d)", | |
| 1997 | + Y: "(\\d{4})", | |
| 1998 | + Z: "(.+)", | |
| 1999 | + d: "(\\d\\d|\\d)", | |
| 2000 | + h: "(\\d\\d|\\d)", | |
| 2001 | + i: "(\\d\\d|\\d)", | |
| 2002 | + j: "(\\d\\d|\\d)", | |
| 2003 | + l: "(\\w+)", | |
| 2004 | + m: "(\\d\\d|\\d)", | |
| 2005 | + n: "(\\d\\d|\\d)", | |
| 2006 | + s: "(\\d\\d|\\d)", | |
| 2007 | + w: "(\\d\\d|\\d)", | |
| 2008 | + y: "(\\d{2})" | |
| 2009 | + }, | |
| 2010 | + | |
| 2011 | + pad: function pad(number) { | |
| 2012 | + return ("0" + number).slice(-2); | |
| 2013 | + }, | |
| 2014 | + | |
| 2015 | + /** | |
| 2016 | + * Parses a date(+time) string into a Date object | |
| 2017 | + * @param {String} date the date string, e.g. 2017-02-03 14:45 | |
| 2018 | + * @param {String} givenFormat the date format, e.g. Y-m-d H:i | |
| 2019 | + * @param {Boolean} timeless whether to reset the time of Date object | |
| 2020 | + * @return {Date} the parsed Date object | |
| 2021 | + */ | |
| 2022 | + parseDate: function parseDate(date, givenFormat, timeless) { | |
| 2023 | + if (date !== 0 && !date) return null; | |
| 2024 | + | |
| 2025 | + var date_orig = date; | |
| 2026 | + | |
| 2027 | + if (date instanceof Date) date = new Date(date.getTime()); // create a copy | |
| 2028 | + | |
| 2029 | + else if (date.toFixed !== undefined) // timestamp | |
| 2030 | + date = new Date(date);else { | |
| 2031 | + // date string | |
| 2032 | + var format = givenFormat || (this.config || flatpickr.defaultConfig).dateFormat; | |
| 2033 | + date = String(date).trim(); | |
| 2034 | + | |
| 2035 | + if (date === "today") { | |
| 2036 | + date = new Date(); | |
| 2037 | + timeless = true; | |
| 2038 | + } else if (/Z$/.test(date) || /GMT$/.test(date)) // datestrings w/ timezone | |
| 2039 | + date = new Date(date);else if (this.config && this.config.parseDate) date = this.config.parseDate(date, format);else { | |
| 2040 | + var parsedDate = !this.config || !this.config.noCalendar ? new Date(new Date().getFullYear(), 0, 1, 0, 0, 0, 0) : new Date(new Date().setHours(0, 0, 0, 0)); | |
| 2041 | + | |
| 2042 | + var matched = void 0; | |
| 2043 | + | |
| 2044 | + for (var i = 0, matchIndex = 0, regexStr = ""; i < format.length; i++) { | |
| 2045 | + var token = format[i]; | |
| 2046 | + var isBackSlash = token === "\\"; | |
| 2047 | + var escaped = format[i - 1] === "\\" || isBackSlash; | |
| 2048 | + | |
| 2049 | + if (this.tokenRegex[token] && !escaped) { | |
| 2050 | + regexStr += this.tokenRegex[token]; | |
| 2051 | + var match = new RegExp(regexStr).exec(date); | |
| 2052 | + if (match && (matched = true)) { | |
| 2053 | + parsedDate = this.revFormat[token](parsedDate, match[++matchIndex]) || parsedDate; | |
| 2054 | + } | |
| 2055 | + } else if (!isBackSlash) regexStr += "."; // don't really care | |
| 2056 | + } | |
| 2057 | + | |
| 2058 | + date = matched ? parsedDate : null; | |
| 2059 | + } | |
| 2060 | + } | |
| 2061 | + | |
| 2062 | + /* istanbul ignore next */ | |
| 2063 | + if (!(date instanceof Date)) { | |
| 2064 | + console.warn("flatpickr: invalid date " + date_orig); | |
| 2065 | + console.info(this.element); | |
| 2066 | + return null; | |
| 2067 | + } | |
| 2068 | + | |
| 2069 | + if (timeless === true) date.setHours(0, 0, 0, 0); | |
| 2070 | + | |
| 2071 | + return date; | |
| 2072 | + } | |
| 2073 | +}; | |
| 2074 | + | |
| 2075 | +/* istanbul ignore next */ | |
| 2076 | +function _flatpickr(nodeList, config) { | |
| 2077 | + var nodes = Array.prototype.slice.call(nodeList); // static list | |
| 2078 | + var instances = []; | |
| 2079 | + for (var i = 0; i < nodes.length; i++) { | |
| 2080 | + try { | |
| 2081 | + if (nodes[i].getAttribute("data-fp-omit") !== null) continue; | |
| 2082 | + | |
| 2083 | + if (nodes[i]._flatpickr) { | |
| 2084 | + nodes[i]._flatpickr.destroy(); | |
| 2085 | + nodes[i]._flatpickr = null; | |
| 2086 | + } | |
| 2087 | + | |
| 2088 | + nodes[i]._flatpickr = new FlatpickrInstance(nodes[i], config || {}); | |
| 2089 | + instances.push(nodes[i]._flatpickr); | |
| 2090 | + } catch (e) { | |
| 2091 | + console.warn(e, e.stack); | |
| 2092 | + } | |
| 2093 | + } | |
| 2094 | + | |
| 2095 | + return instances.length === 1 ? instances[0] : instances; | |
| 2096 | +} | |
| 2097 | + | |
| 2098 | +/* istanbul ignore next */ | |
| 2099 | +if (typeof HTMLElement !== "undefined") { | |
| 2100 | + // browser env | |
| 2101 | + HTMLCollection.prototype.flatpickr = NodeList.prototype.flatpickr = function (config) { | |
| 2102 | + return _flatpickr(this, config); | |
| 2103 | + }; | |
| 2104 | + | |
| 2105 | + HTMLElement.prototype.flatpickr = function (config) { | |
| 2106 | + return _flatpickr([this], config); | |
| 2107 | + }; | |
| 2108 | +} | |
| 2109 | + | |
| 2110 | +/* istanbul ignore next */ | |
| 2111 | +function flatpickr(selector, config) { | |
| 2112 | + if (selector instanceof NodeList) return _flatpickr(selector, config);else if (!(selector instanceof HTMLElement)) return _flatpickr(window.document.querySelectorAll(selector), config); | |
| 2113 | + | |
| 2114 | + return _flatpickr([selector], config); | |
| 2115 | +} | |
| 2116 | + | |
| 2117 | +/* istanbul ignore next */ | |
| 2118 | +flatpickr.defaultConfig = FlatpickrInstance.defaultConfig = { | |
| 2119 | + mode: "single", | |
| 2120 | + | |
| 2121 | + position: "auto", | |
| 2122 | + | |
| 2123 | + animate: window.navigator.userAgent.indexOf("MSIE") === -1, | |
| 2124 | + | |
| 2125 | + // wrap: see https://chmln.github.io/flatpickr/examples/#flatpickr-external-elements | |
| 2126 | + wrap: false, | |
| 2127 | + | |
| 2128 | + // enables week numbers | |
| 2129 | + weekNumbers: false, | |
| 2130 | + | |
| 2131 | + // allow manual datetime input | |
| 2132 | + allowInput: false, | |
| 2133 | + | |
| 2134 | + /* | |
| 2135 | + clicking on input opens the date(time)picker. | |
| 2136 | + disable if you wish to open the calendar manually with .open() | |
| 2137 | + */ | |
| 2138 | + clickOpens: true, | |
| 2139 | + | |
| 2140 | + /* | |
| 2141 | + closes calendar after date selection, | |
| 2142 | + unless 'mode' is 'multiple' or enableTime is true | |
| 2143 | + */ | |
| 2144 | + closeOnSelect: true, | |
| 2145 | + | |
| 2146 | + // display time picker in 24 hour mode | |
| 2147 | + time_24hr: false, | |
| 2148 | + | |
| 2149 | + // enables the time picker functionality | |
| 2150 | + enableTime: false, | |
| 2151 | + | |
| 2152 | + // noCalendar: true will hide the calendar. use for a time picker along w/ enableTime | |
| 2153 | + noCalendar: false, | |
| 2154 | + | |
| 2155 | + // more date format chars at https://chmln.github.io/flatpickr/#dateformat | |
| 2156 | + dateFormat: "Y-m-d", | |
| 2157 | + | |
| 2158 | + // date format used in aria-label for days | |
| 2159 | + ariaDateFormat: "F j, Y", | |
| 2160 | + | |
| 2161 | + // altInput - see https://chmln.github.io/flatpickr/#altinput | |
| 2162 | + altInput: false, | |
| 2163 | + | |
| 2164 | + // the created altInput element will have this class. | |
| 2165 | + altInputClass: "form-control input", | |
| 2166 | + | |
| 2167 | + // same as dateFormat, but for altInput | |
| 2168 | + altFormat: "F j, Y", // defaults to e.g. June 10, 2016 | |
| 2169 | + | |
| 2170 | + // defaultDate - either a datestring or a date object. used for datetimepicker"s initial value | |
| 2171 | + defaultDate: null, | |
| 2172 | + | |
| 2173 | + // the minimum date that user can pick (inclusive) | |
| 2174 | + minDate: null, | |
| 2175 | + | |
| 2176 | + // the maximum date that user can pick (inclusive) | |
| 2177 | + maxDate: null, | |
| 2178 | + | |
| 2179 | + // dateparser that transforms a given string to a date object | |
| 2180 | + parseDate: null, | |
| 2181 | + | |
| 2182 | + // dateformatter that transforms a given date object to a string, according to passed format | |
| 2183 | + formatDate: null, | |
| 2184 | + | |
| 2185 | + getWeek: function getWeek(givenDate) { | |
| 2186 | + var date = new Date(givenDate.getTime()); | |
| 2187 | + var onejan = new Date(date.getFullYear(), 0, 1); | |
| 2188 | + return Math.ceil(((date - onejan) / 86400000 + onejan.getDay() + 1) / 7); | |
| 2189 | + }, | |
| 2190 | + | |
| 2191 | + | |
| 2192 | + // see https://chmln.github.io/flatpickr/#disable | |
| 2193 | + enable: [], | |
| 2194 | + | |
| 2195 | + // see https://chmln.github.io/flatpickr/#disable | |
| 2196 | + disable: [], | |
| 2197 | + | |
| 2198 | + // display the short version of month names - e.g. Sep instead of September | |
| 2199 | + shorthandCurrentMonth: false, | |
| 2200 | + | |
| 2201 | + // displays calendar inline. see https://chmln.github.io/flatpickr/#inline-calendar | |
| 2202 | + inline: false, | |
| 2203 | + | |
| 2204 | + // position calendar inside wrapper and next to the input element | |
| 2205 | + // leave at false unless you know what you"re doing | |
| 2206 | + "static": false, | |
| 2207 | + | |
| 2208 | + // DOM node to append the calendar to in *static* mode | |
| 2209 | + appendTo: null, | |
| 2210 | + | |
| 2211 | + // code for previous/next icons. this is where you put your custom icon code e.g. fontawesome | |
| 2212 | + prevArrow: "<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>", | |
| 2213 | + nextArrow: "<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>", | |
| 2214 | + | |
| 2215 | + // enables seconds in the time picker | |
| 2216 | + enableSeconds: false, | |
| 2217 | + | |
| 2218 | + // step size used when scrolling/incrementing the hour element | |
| 2219 | + hourIncrement: 1, | |
| 2220 | + | |
| 2221 | + // step size used when scrolling/incrementing the minute element | |
| 2222 | + minuteIncrement: 5, | |
| 2223 | + | |
| 2224 | + // initial value in the hour element | |
| 2225 | + defaultHour: 12, | |
| 2226 | + | |
| 2227 | + // initial value in the minute element | |
| 2228 | + defaultMinute: 0, | |
| 2229 | + | |
| 2230 | + // disable native mobile datetime input support | |
| 2231 | + disableMobile: false, | |
| 2232 | + | |
| 2233 | + // default locale | |
| 2234 | + locale: "default", | |
| 2235 | + | |
| 2236 | + plugins: [], | |
| 2237 | + | |
| 2238 | + ignoredFocusElements: [], | |
| 2239 | + | |
| 2240 | + // called every time calendar is closed | |
| 2241 | + onClose: undefined, // function (dateObj, dateStr) {} | |
| 2242 | + | |
| 2243 | + // onChange callback when user selects a date or time | |
| 2244 | + onChange: undefined, // function (dateObj, dateStr) {} | |
| 2245 | + | |
| 2246 | + // called for every day element | |
| 2247 | + onDayCreate: undefined, | |
| 2248 | + | |
| 2249 | + // called every time the month is changed | |
| 2250 | + onMonthChange: undefined, | |
| 2251 | + | |
| 2252 | + // called every time calendar is opened | |
| 2253 | + onOpen: undefined, // function (dateObj, dateStr) {} | |
| 2254 | + | |
| 2255 | + // called after the configuration has been parsed | |
| 2256 | + onParseConfig: undefined, | |
| 2257 | + | |
| 2258 | + // called after calendar is ready | |
| 2259 | + onReady: undefined, // function (dateObj, dateStr) {} | |
| 2260 | + | |
| 2261 | + // called after input value updated | |
| 2262 | + onValueUpdate: undefined, | |
| 2263 | + | |
| 2264 | + // called every time the year is changed | |
| 2265 | + onYearChange: undefined, | |
| 2266 | + | |
| 2267 | + onKeyDown: undefined, | |
| 2268 | + | |
| 2269 | + onDestroy: undefined | |
| 2270 | +}; | |
| 2271 | + | |
| 2272 | +/* istanbul ignore next */ | |
| 2273 | +flatpickr.l10ns = { | |
| 2274 | + en: { | |
| 2275 | + weekdays: { | |
| 2276 | + shorthand: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], | |
| 2277 | + longhand: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"] | |
| 2278 | + }, | |
| 2279 | + months: { | |
| 2280 | + shorthand: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], | |
| 2281 | + longhand: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"] | |
| 2282 | + }, | |
| 2283 | + daysInMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], | |
| 2284 | + firstDayOfWeek: 0, | |
| 2285 | + ordinal: function ordinal(nth) { | |
| 2286 | + var s = nth % 100; | |
| 2287 | + if (s > 3 && s < 21) return "th"; | |
| 2288 | + switch (s % 10) { | |
| 2289 | + case 1: | |
| 2290 | + return "st"; | |
| 2291 | + case 2: | |
| 2292 | + return "nd"; | |
| 2293 | + case 3: | |
| 2294 | + return "rd"; | |
| 2295 | + default: | |
| 2296 | + return "th"; | |
| 2297 | + } | |
| 2298 | + }, | |
| 2299 | + rangeSeparator: " to ", | |
| 2300 | + weekAbbreviation: "Wk", | |
| 2301 | + scrollTitle: "Scroll to increment", | |
| 2302 | + toggleTitle: "Click to toggle" | |
| 2303 | + } | |
| 2304 | +}; | |
| 2305 | + | |
| 2306 | +flatpickr.l10ns.default = Object.create(flatpickr.l10ns.en); | |
| 2307 | +flatpickr.localize = function (l10n) { | |
| 2308 | + return _extends(flatpickr.l10ns.default, l10n || {}); | |
| 2309 | +}; | |
| 2310 | +flatpickr.setDefaults = function (config) { | |
| 2311 | + return _extends(flatpickr.defaultConfig, config || {}); | |
| 2312 | +}; | |
| 2313 | + | |
| 2314 | +/* istanbul ignore next */ | |
| 2315 | +if (typeof jQuery !== "undefined") { | |
| 2316 | + jQuery.fn.flatpickr = function (config) { | |
| 2317 | + return _flatpickr(this, config); | |
| 2318 | + }; | |
| 2319 | +} | |
| 2320 | + | |
| 2321 | +Date.prototype.fp_incr = function (days) { | |
| 2322 | + return new Date(this.getFullYear(), this.getMonth(), this.getDate() + parseInt(days, 10)); | |
| 2323 | +}; | |
| 2324 | + | |
| 2325 | +if (typeof module !== "undefined") module.exports = flatpickr; | |
| 0 | 2326 | \ No newline at end of file | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/flatpickr/flatpickr.min.css
0 → 100644
| 1 | +.flatpickr-calendar{background:transparent;overflow:hidden;max-height:0;opacity:0;visibility:hidden;text-align:center;padding:0;-webkit-animation:none;animation:none;direction:ltr;border:0;font-size:14px;line-height:24px;border-radius:5px;position:absolute;width:307.875px;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-touch-action:manipulation;touch-action:manipulation;background:#fff;-webkit-box-shadow:1px 0 0 #e6e6e6,-1px 0 0 #e6e6e6,0 1px 0 #e6e6e6,0 -1px 0 #e6e6e6,0 3px 13px rgba(0,0,0,0.08);box-shadow:1px 0 0 #e6e6e6,-1px 0 0 #e6e6e6,0 1px 0 #e6e6e6,0 -1px 0 #e6e6e6,0 3px 13px rgba(0,0,0,0.08);}.flatpickr-calendar.open,.flatpickr-calendar.inline{opacity:1;visibility:visible;overflow:visible;max-height:640px}.flatpickr-calendar.open{display:inline-block;z-index:99999}.flatpickr-calendar.animate.open{-webkit-animation:fpFadeInDown 300ms cubic-bezier(.23,1,.32,1);animation:fpFadeInDown 300ms cubic-bezier(.23,1,.32,1)}.flatpickr-calendar.inline{display:block;position:relative;top:2px}.flatpickr-calendar.static{position:absolute;top:calc(100% + 2px);}.flatpickr-calendar.static.open{z-index:999;display:block}.flatpickr-calendar.hasWeeks{width:auto}.flatpickr-calendar .hasWeeks .dayContainer,.flatpickr-calendar .hasTime .dayContainer{border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.flatpickr-calendar .hasWeeks .dayContainer{border-left:0}.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time{height:40px;border-top:1px solid #e6e6e6}.flatpickr-calendar.noCalendar.hasTime .flatpickr-time{height:auto}.flatpickr-calendar:before,.flatpickr-calendar:after{position:absolute;display:block;pointer-events:none;border:solid transparent;content:'';height:0;width:0;left:22px}.flatpickr-calendar.rightMost:before,.flatpickr-calendar.rightMost:after{left:auto;right:22px}.flatpickr-calendar:before{border-width:5px;margin:0 -5px}.flatpickr-calendar:after{border-width:4px;margin:0 -4px}.flatpickr-calendar.arrowTop:before,.flatpickr-calendar.arrowTop:after{bottom:100%}.flatpickr-calendar.arrowTop:before{border-bottom-color:#e6e6e6}.flatpickr-calendar.arrowTop:after{border-bottom-color:#fff}.flatpickr-calendar.arrowBottom:before,.flatpickr-calendar.arrowBottom:after{top:100%}.flatpickr-calendar.arrowBottom:before{border-top-color:#e6e6e6}.flatpickr-calendar.arrowBottom:after{border-top-color:#fff}.flatpickr-calendar:focus{outline:0}.flatpickr-wrapper{position:relative;display:inline-block}.flatpickr-month{background:transparent;color:rgba(0,0,0,0.9);fill:rgba(0,0,0,0.9);height:28px;line-height:1;text-align:center;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden}.flatpickr-prev-month,.flatpickr-next-month{text-decoration:none;cursor:pointer;position:absolute;top:0;line-height:16px;height:28px;padding:10px calc(3.57% - 1.5px);z-index:3;}.flatpickr-prev-month i,.flatpickr-next-month i{position:relative}.flatpickr-prev-month.flatpickr-prev-month,.flatpickr-next-month.flatpickr-prev-month{/* | |
| 2 | + /*rtl:begin:ignore*/left:0;/* | |
| 3 | + /*rtl:end:ignore*/}/* | |
| 4 | + /*rtl:begin:ignore*/ | |
| 5 | +/* | |
| 6 | + /*rtl:end:ignore*/ | |
| 7 | +.flatpickr-prev-month.flatpickr-next-month,.flatpickr-next-month.flatpickr-next-month{/* | |
| 8 | + /*rtl:begin:ignore*/right:0;/* | |
| 9 | + /*rtl:end:ignore*/}/* | |
| 10 | + /*rtl:begin:ignore*/ | |
| 11 | +/* | |
| 12 | + /*rtl:end:ignore*/ | |
| 13 | +.flatpickr-prev-month:hover,.flatpickr-next-month:hover{color:#959ea9;}.flatpickr-prev-month:hover svg,.flatpickr-next-month:hover svg{fill:#f64747}.flatpickr-prev-month svg,.flatpickr-next-month svg{width:14px;}.flatpickr-prev-month svg path,.flatpickr-next-month svg path{-webkit-transition:fill .1s;transition:fill .1s;fill:inherit}.numInputWrapper{position:relative;height:auto;}.numInputWrapper input,.numInputWrapper span{display:inline-block}.numInputWrapper input{width:100%}.numInputWrapper span{position:absolute;right:0;width:14px;padding:0 4px 0 2px;height:50%;line-height:50%;opacity:0;cursor:pointer;border:1px solid rgba(57,57,57,0.05);-webkit-box-sizing:border-box;box-sizing:border-box;}.numInputWrapper span:hover{background:rgba(0,0,0,0.1)}.numInputWrapper span:active{background:rgba(0,0,0,0.2)}.numInputWrapper span:after{display:block;content:"";position:absolute;top:33%}.numInputWrapper span.arrowUp{top:0;border-bottom:0;}.numInputWrapper span.arrowUp:after{border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:4px solid rgba(57,57,57,0.6)}.numInputWrapper span.arrowDown{top:50%;}.numInputWrapper span.arrowDown:after{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid rgba(57,57,57,0.6)}.numInputWrapper span svg{width:inherit;height:auto;}.numInputWrapper span svg path{fill:rgba(0,0,0,0.5)}.numInputWrapper:hover{background:rgba(0,0,0,0.05);}.numInputWrapper:hover span{opacity:1}.flatpickr-current-month{font-size:135%;line-height:inherit;font-weight:300;color:inherit;position:absolute;width:75%;left:12.5%;padding:6.16px 0 0 0;line-height:1;height:28px;display:inline-block;text-align:center;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);}.flatpickr-current-month.slideLeft{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);-webkit-animation:fpFadeOut 400ms ease,fpSlideLeft 400ms cubic-bezier(.23,1,.32,1);animation:fpFadeOut 400ms ease,fpSlideLeft 400ms cubic-bezier(.23,1,.32,1)}.flatpickr-current-month.slideLeftNew{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);-webkit-animation:fpFadeIn 400ms ease,fpSlideLeftNew 400ms cubic-bezier(.23,1,.32,1);animation:fpFadeIn 400ms ease,fpSlideLeftNew 400ms cubic-bezier(.23,1,.32,1)}.flatpickr-current-month.slideRight{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);-webkit-animation:fpFadeOut 400ms ease,fpSlideRight 400ms cubic-bezier(.23,1,.32,1);animation:fpFadeOut 400ms ease,fpSlideRight 400ms cubic-bezier(.23,1,.32,1)}.flatpickr-current-month.slideRightNew{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);-webkit-animation:fpFadeIn 400ms ease,fpSlideRightNew 400ms cubic-bezier(.23,1,.32,1);animation:fpFadeIn 400ms ease,fpSlideRightNew 400ms cubic-bezier(.23,1,.32,1)}.flatpickr-current-month span.cur-month{font-family:inherit;font-weight:700;color:inherit;display:inline-block;margin-left:.5ch;padding:0;}.flatpickr-current-month span.cur-month:hover{background:rgba(0,0,0,0.05)}.flatpickr-current-month .numInputWrapper{width:6ch;width:7ch\0;display:inline-block;}.flatpickr-current-month .numInputWrapper span.arrowUp:after{border-bottom-color:rgba(0,0,0,0.9)}.flatpickr-current-month .numInputWrapper span.arrowDown:after{border-top-color:rgba(0,0,0,0.9)}.flatpickr-current-month input.cur-year{background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;cursor:default;padding:0 0 0 .5ch;margin:0;display:inline-block;font-size:inherit;font-family:inherit;font-weight:300;line-height:inherit;height:initial;border:0;border-radius:0;vertical-align:initial;}.flatpickr-current-month input.cur-year:focus{outline:0}.flatpickr-current-month input.cur-year[disabled],.flatpickr-current-month input.cur-year[disabled]:hover{font-size:100%;color:rgba(0,0,0,0.5);background:transparent;pointer-events:none}.flatpickr-weekdays{background:transparent;text-align:center;overflow:hidden;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:28px}span.flatpickr-weekday{cursor:default;font-size:90%;background:transparent;color:rgba(0,0,0,0.54);line-height:1;margin:0;text-align:center;display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-weight:bolder}.dayContainer,.flatpickr-weeks{padding:1px 0 0 0}.flatpickr-days{position:relative;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:307.875px;}.flatpickr-days:focus{outline:0}.dayContainer{padding:0;outline:0;text-align:left;width:307.875px;min-width:307.875px;max-width:307.875px;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;display:-ms-flexbox;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-wrap:wrap;-ms-flex-pack:justify;-webkit-justify-content:space-around;justify-content:space-around;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1}.flatpickr-calendar.animate .dayContainer.slideLeft{-webkit-animation:fpFadeOut 400ms cubic-bezier(.23,1,.32,1),fpSlideLeft 400ms cubic-bezier(.23,1,.32,1);animation:fpFadeOut 400ms cubic-bezier(.23,1,.32,1),fpSlideLeft 400ms cubic-bezier(.23,1,.32,1)}.flatpickr-calendar.animate .dayContainer.slideLeft,.flatpickr-calendar.animate .dayContainer.slideLeftNew{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.flatpickr-calendar.animate .dayContainer.slideLeftNew{-webkit-animation:fpFadeIn 400ms cubic-bezier(.23,1,.32,1),fpSlideLeft 400ms cubic-bezier(.23,1,.32,1);animation:fpFadeIn 400ms cubic-bezier(.23,1,.32,1),fpSlideLeft 400ms cubic-bezier(.23,1,.32,1)}.flatpickr-calendar.animate .dayContainer.slideRight{-webkit-animation:fpFadeOut 400ms cubic-bezier(.23,1,.32,1),fpSlideRight 400ms cubic-bezier(.23,1,.32,1);animation:fpFadeOut 400ms cubic-bezier(.23,1,.32,1),fpSlideRight 400ms cubic-bezier(.23,1,.32,1);-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.flatpickr-calendar.animate .dayContainer.slideRightNew{-webkit-animation:fpFadeIn 400ms cubic-bezier(.23,1,.32,1),fpSlideRightNew 400ms cubic-bezier(.23,1,.32,1);animation:fpFadeIn 400ms cubic-bezier(.23,1,.32,1),fpSlideRightNew 400ms cubic-bezier(.23,1,.32,1)}.flatpickr-day{background:none;border:1px solid transparent;border-radius:150px;-webkit-box-sizing:border-box;box-sizing:border-box;color:#393939;cursor:pointer;font-weight:400;width:14.2857143%;-webkit-flex-basis:14.2857143%;-ms-flex-preferred-size:14.2857143%;flex-basis:14.2857143%;max-width:39px;height:39px;line-height:39px;margin:0;display:inline-block;position:relative;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center;}.flatpickr-day.inRange,.flatpickr-day.prevMonthDay.inRange,.flatpickr-day.nextMonthDay.inRange,.flatpickr-day.today.inRange,.flatpickr-day.prevMonthDay.today.inRange,.flatpickr-day.nextMonthDay.today.inRange,.flatpickr-day:hover,.flatpickr-day.prevMonthDay:hover,.flatpickr-day.nextMonthDay:hover,.flatpickr-day:focus,.flatpickr-day.prevMonthDay:focus,.flatpickr-day.nextMonthDay:focus{cursor:pointer;outline:0;background:#e6e6e6;border-color:#e6e6e6}.flatpickr-day.today{border-color:#959ea9;}.flatpickr-day.today:hover,.flatpickr-day.today:focus{border-color:#959ea9;background:#959ea9;color:#fff}.flatpickr-day.selected,.flatpickr-day.startRange,.flatpickr-day.endRange,.flatpickr-day.selected.inRange,.flatpickr-day.startRange.inRange,.flatpickr-day.endRange.inRange,.flatpickr-day.selected:focus,.flatpickr-day.startRange:focus,.flatpickr-day.endRange:focus,.flatpickr-day.selected:hover,.flatpickr-day.startRange:hover,.flatpickr-day.endRange:hover,.flatpickr-day.selected.prevMonthDay,.flatpickr-day.startRange.prevMonthDay,.flatpickr-day.endRange.prevMonthDay,.flatpickr-day.selected.nextMonthDay,.flatpickr-day.startRange.nextMonthDay,.flatpickr-day.endRange.nextMonthDay{background:#569ff7;-webkit-box-shadow:none;box-shadow:none;color:#fff;border-color:#569ff7}.flatpickr-day.selected.startRange,.flatpickr-day.startRange.startRange,.flatpickr-day.endRange.startRange{border-radius:50px 0 0 50px}.flatpickr-day.selected.endRange,.flatpickr-day.startRange.endRange,.flatpickr-day.endRange.endRange{border-radius:0 50px 50px 0}.flatpickr-day.selected.startRange + .endRange,.flatpickr-day.startRange.startRange + .endRange,.flatpickr-day.endRange.startRange + .endRange{-webkit-box-shadow:-10px 0 0 #569ff7;box-shadow:-10px 0 0 #569ff7}.flatpickr-day.selected.startRange.endRange,.flatpickr-day.startRange.startRange.endRange,.flatpickr-day.endRange.startRange.endRange{border-radius:50px}.flatpickr-day.inRange{border-radius:0;-webkit-box-shadow:-5px 0 0 #e6e6e6,5px 0 0 #e6e6e6;box-shadow:-5px 0 0 #e6e6e6,5px 0 0 #e6e6e6}.flatpickr-day.disabled,.flatpickr-day.disabled:hover{pointer-events:none}.flatpickr-day.disabled,.flatpickr-day.disabled:hover,.flatpickr-day.prevMonthDay,.flatpickr-day.nextMonthDay,.flatpickr-day.notAllowed,.flatpickr-day.notAllowed.prevMonthDay,.flatpickr-day.notAllowed.nextMonthDay{color:rgba(57,57,57,0.3);background:transparent;border-color:transparent;cursor:default}.flatpickr-day.week.selected{border-radius:0;-webkit-box-shadow:-5px 0 0 #569ff7,5px 0 0 #569ff7;box-shadow:-5px 0 0 #569ff7,5px 0 0 #569ff7}.rangeMode .flatpickr-day{margin-top:1px}.flatpickr-weekwrapper{display:inline-block;float:left;}.flatpickr-weekwrapper .flatpickr-weeks{padding:0 12px;-webkit-box-shadow:1px 0 0 #e6e6e6;box-shadow:1px 0 0 #e6e6e6}.flatpickr-weekwrapper .flatpickr-weekday{float:none;width:100%;line-height:28px}.flatpickr-weekwrapper span.flatpickr-day{display:block;width:100%;max-width:none}.flatpickr-innerContainer{display:block;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;}.flatpickr-rContainer{display:inline-block;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box}.flatpickr-time{text-align:center;outline:0;display:block;height:0;line-height:40px;max-height:40px;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}.flatpickr-time:after{content:"";display:table;clear:both}.flatpickr-time .numInputWrapper{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:40%;height:40px;float:left;}.flatpickr-time .numInputWrapper span.arrowUp:after{border-bottom-color:#393939}.flatpickr-time .numInputWrapper span.arrowDown:after{border-top-color:#393939}.flatpickr-time.hasSeconds .numInputWrapper{width:26%}.flatpickr-time.time24hr .numInputWrapper{width:49%}.flatpickr-time input{background:transparent;-webkit-box-shadow:none;box-shadow:none;border:0;border-radius:0;text-align:center;margin:0;padding:0;height:inherit;line-height:inherit;cursor:pointer;color:#393939;font-size:14px;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;}.flatpickr-time input.flatpickr-hour{font-weight:bold}.flatpickr-time input.flatpickr-minute,.flatpickr-time input.flatpickr-second{font-weight:400}.flatpickr-time input:focus{outline:0;border:0}.flatpickr-time .flatpickr-time-separator,.flatpickr-time .flatpickr-am-pm{height:inherit;display:inline-block;float:left;line-height:inherit;color:#393939;font-weight:bold;width:2%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center}.flatpickr-time .flatpickr-am-pm{outline:0;width:18%;cursor:pointer;text-align:center;font-weight:400;}.flatpickr-time .flatpickr-am-pm:hover,.flatpickr-time .flatpickr-am-pm:focus{background:#f0f0f0}.flatpickr-input[readonly]{cursor:pointer}@-webkit-keyframes fpFadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes fpFadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@-webkit-keyframes fpSlideLeft{from{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}to{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes fpSlideLeft{from{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}to{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@-webkit-keyframes fpSlideLeftNew{from{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes fpSlideLeftNew{from{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@-webkit-keyframes fpSlideRight{from{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}to{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes fpSlideRight{from{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}to{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@-webkit-keyframes fpSlideRightNew{from{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes fpSlideRightNew{from{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@-webkit-keyframes fpFadeOut{from{opacity:1}to{opacity:0}}@keyframes fpFadeOut{from{opacity:1}to{opacity:0}}@-webkit-keyframes fpFadeIn{from{opacity:0}to{opacity:1}}@keyframes fpFadeIn{from{opacity:0}to{opacity:1}} | |
| 0 | 14 | \ No newline at end of file | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/flatpickr/flatpickr.min.js
0 → 100644
| 1 | +/*! flatpickr v3.0.5-1, @license MIT */ | |
| 2 | +function FlatpickrInstance(e,t){function n(e){return e.bind(De)}function a(e){De.config.noCalendar&&!De.selectedDates.length&&(De.selectedDates=[De.now]),he(e),De.selectedDates.length&&(!De.minDateHasTime||"input"!==e.type||e.target.value.length>=2?(i(),le()):setTimeout(function(){i(),le()},1e3))}function i(){if(De.config.enableTime){var e=(parseInt(De.hourElement.value,10)||0)%(De.amPM?12:24),t=(parseInt(De.minuteElement.value,10)||0)%60,n=De.config.enableSeconds?(parseInt(De.secondElement.value,10)||0)%60:0;void 0!==De.amPM&&(e=e%12+12*("PM"===De.amPM.textContent)),De.minDateHasTime&&0===pe(De.latestSelectedDateObj,De.config.minDate)&&(e=Math.max(e,De.config.minDate.getHours()))===De.config.minDate.getHours()&&(t=Math.max(t,De.config.minDate.getMinutes())),De.maxDateHasTime&&0===pe(De.latestSelectedDateObj,De.config.maxDate)&&(e=Math.min(e,De.config.maxDate.getHours()))===De.config.maxDate.getHours()&&(t=Math.min(t,De.config.maxDate.getMinutes())),o(e,t,n)}}function r(e){var t=e||De.latestSelectedDateObj;t&&o(t.getHours(),t.getMinutes(),t.getSeconds())}function o(e,t,n){De.selectedDates.length&&De.latestSelectedDateObj.setHours(e%24,t,n||0,0),De.config.enableTime&&!De.isMobile&&(De.hourElement.value=De.pad(De.config.time_24hr?e:(12+e)%12+12*(e%12==0)),De.minuteElement.value=De.pad(t),De.config.time_24hr||(De.amPM.textContent=e>=12?"PM":"AM"),!0===De.config.enableSeconds&&(De.secondElement.value=De.pad(n)))}function l(e){var t=e.target.value;e.delta&&(t=(parseInt(t)+e.delta).toString()),4!==t.length&&"Enter"!==e.key||(De.currentYearElement.blur(),/[^\d]/.test(t)||O(t))}function c(e,t,n){return t instanceof Array?t.forEach(function(t){return c(e,t,n)}):e instanceof Array?e.forEach(function(e){return c(e,t,n)}):(e.addEventListener(t,n),void De._handlers.push({element:e,event:t,handler:n}))}function s(e){return function(t){return 1===t.which&&e(t)}}function d(){if(De._handlers=[],De._animationLoop=[],De.config.wrap&&["open","close","toggle","clear"].forEach(function(e){Array.prototype.forEach.call(De.element.querySelectorAll("[data-"+e+"]"),function(t){return c(t,"mousedown",s(De[e]))})}),De.isMobile)return ee();if(De.debouncedResize=ge(j,50),De.triggerChange=function(){ne("Change")},De.debouncedChange=ge(De.triggerChange,300),"range"===De.config.mode&&De.daysContainer&&c(De.daysContainer,"mouseover",function(e){return P(e.target)}),c(window.document.body,"keydown",L),De.config.static||c(De._input,"keydown",L),De.config.inline||De.config.static||c(window,"resize",De.debouncedResize),void 0!==window.ontouchstart&&c(window.document,"touchstart",Y),c(window.document,"mousedown",s(Y)),c(De._input,"blur",Y),!0===De.config.clickOpens&&(c(De._input,"focus",De.open),c(De._input,"mousedown",s(De.open))),De.config.noCalendar||(De.monthNav.addEventListener("wheel",function(e){return e.preventDefault()}),c(De.monthNav,"wheel",ge(se,10)),c(De.monthNav,"mousedown",s(de)),c(De.monthNav,["keyup","increment"],l),c(De.daysContainer,"mousedown",s(U)),De.config.animate&&(c(De.daysContainer,["webkitAnimationEnd","animationend"],f),c(De.monthNav,["webkitAnimationEnd","animationend"],m))),De.config.enableTime){var e=function(e){return e.target.select()};c(De.timeContainer,["wheel","input","increment"],a),c(De.timeContainer,"mousedown",s(p)),c(De.timeContainer,["wheel","increment"],De.debouncedChange),c(De.timeContainer,"input",De.triggerChange),c([De.hourElement,De.minuteElement],"focus",e),void 0!==De.secondElement&&c(De.secondElement,"focus",function(){return De.secondElement.select()}),void 0!==De.amPM&&c(De.amPM,"mousedown",s(function(e){a(e),De.triggerChange(e)}))}}function u(){for(var e=De._animationLoop.length;e--;)De._animationLoop[e](),De._animationLoop.splice(e,1)}function f(e){if(De.daysContainer.childNodes.length>1)switch(e.animationName){case"fpSlideLeft":De.daysContainer.lastChild.classList.remove("slideLeftNew"),De.daysContainer.removeChild(De.daysContainer.firstChild),De.days=De.daysContainer.firstChild,u();break;case"fpSlideRight":De.daysContainer.firstChild.classList.remove("slideRightNew"),De.daysContainer.removeChild(De.daysContainer.lastChild),De.days=De.daysContainer.firstChild,u()}}function m(e){switch(e.animationName){case"fpSlideLeftNew":case"fpSlideRightNew":De.navigationCurrentMonth.classList.remove("slideLeftNew"),De.navigationCurrentMonth.classList.remove("slideRightNew");for(var t=De.navigationCurrentMonth;t.nextSibling&&/curr/.test(t.nextSibling.className);)De.monthNav.removeChild(t.nextSibling);for(;t.previousSibling&&/curr/.test(t.previousSibling.className);)De.monthNav.removeChild(t.previousSibling);De.oldCurMonth=null}}function g(e){e=e?De.parseDate(e):De.latestSelectedDateObj||(De.config.minDate>De.now?De.config.minDate:De.config.maxDate&&De.config.maxDate<De.now?De.config.maxDate:De.now);try{De.currentYear=e.getFullYear(),De.currentMonth=e.getMonth()}catch(t){console.error(t.stack),console.warn("Invalid date supplied: "+e)}De.redraw()}function p(e){~e.target.className.indexOf("arrow")&&h(e,e.target.classList.contains("arrowUp")?1:-1)}function h(e,t,n){var a=n||e.target.parentNode.childNodes[0],i=ae("increment");i.delta=t,a.dispatchEvent(i)}function D(e){var t=ue("div","numInputWrapper"),n=ue("input","numInput "+e),a=ue("span","arrowUp"),i=ue("span","arrowDown");return n.type="text",n.pattern="\\d*",t.appendChild(n),t.appendChild(a),t.appendChild(i),t}function v(){var e=window.document.createDocumentFragment();De.calendarContainer=ue("div","flatpickr-calendar"),De.calendarContainer.tabIndex=-1,De.config.noCalendar||(e.appendChild(k()),De.innerContainer=ue("div","flatpickr-innerContainer"),De.config.weekNumbers&&De.innerContainer.appendChild(N()),De.rContainer=ue("div","flatpickr-rContainer"),De.rContainer.appendChild(E()),De.daysContainer||(De.daysContainer=ue("div","flatpickr-days"),De.daysContainer.tabIndex=-1),M(),De.rContainer.appendChild(De.daysContainer),De.innerContainer.appendChild(De.rContainer),e.appendChild(De.innerContainer)),De.config.enableTime&&e.appendChild(x()),me(De.calendarContainer,"rangeMode","range"===De.config.mode),me(De.calendarContainer,"animate",De.config.animate),De.calendarContainer.appendChild(e);var t=De.config.appendTo&&De.config.appendTo.nodeType;if(De.config.inline||De.config.static){if(De.calendarContainer.classList.add(De.config.inline?"inline":"static"),De.config.inline&&!t)return De.element.parentNode.insertBefore(De.calendarContainer,De._input.nextSibling);if(De.config.static){var n=ue("div","flatpickr-wrapper");return De.element.parentNode.insertBefore(n,De.element),n.appendChild(De.element),De.altInput&&n.appendChild(De.altInput),void n.appendChild(De.calendarContainer)}}(t?De.config.appendTo:window.document.body).appendChild(De.calendarContainer)}function C(e,t,n,a){var i=A(t,!0),r=ue("span","flatpickr-day "+e,t.getDate());return r.dateObj=t,r.$i=a,r.setAttribute("aria-label",De.formatDate(t,De.config.ariaDateFormat)),0===pe(t,De.now)&&(De.todayDateElem=r,r.classList.add("today")),i?(r.tabIndex=-1,ie(t)&&(r.classList.add("selected"),De.selectedDateElem=r,"range"===De.config.mode&&(me(r,"startRange",0===pe(t,De.selectedDates[0])),me(r,"endRange",0===pe(t,De.selectedDates[1]))))):(r.classList.add("disabled"),De.selectedDates[0]&&t>De.minRangeDate&&t<De.selectedDates[0]?De.minRangeDate=t:De.selectedDates[0]&&t<De.maxRangeDate&&t>De.selectedDates[0]&&(De.maxRangeDate=t)),"range"===De.config.mode&&(re(t)&&!ie(t)&&r.classList.add("inRange"),1===De.selectedDates.length&&(t<De.minRangeDate||t>De.maxRangeDate)&&r.classList.add("notAllowed")),De.config.weekNumbers&&"prevMonthDay"!==e&&n%7==1&&De.weekNumbers.insertAdjacentHTML("beforeend","<span class='disabled flatpickr-day'>"+De.config.getWeek(t)+"</span>"),ne("DayCreate",r),r}function w(e,t){var n=e+t||0,a=void 0!==e?De.days.childNodes[n]:De.selectedDateElem||De.todayDateElem||De.days.childNodes[0],i=function(){(a=a||De.days.childNodes[n]).focus(),"range"===De.config.mode&&P(a)};if(void 0===a&&0!==t)return t>0?(De.changeMonth(1),n%=42):t<0&&(De.changeMonth(-1),n+=42),b(i);i()}function b(e){if(!0===De.config.animate)return De._animationLoop.push(e);e()}function M(e){var t=(new Date(De.currentYear,De.currentMonth,1).getDay()-De.l10n.firstDayOfWeek+7)%7,n="range"===De.config.mode;De.prevMonthDays=De.utils.getDaysinMonth((De.currentMonth-1+12)%12),De.selectedDateElem=void 0,De.todayDateElem=void 0;var a=De.utils.getDaysinMonth(),i=window.document.createDocumentFragment(),r=De.prevMonthDays+1-t,o=0;for(De.config.weekNumbers&&De.weekNumbers.firstChild&&(De.weekNumbers.textContent=""),n&&(De.minRangeDate=new Date(De.currentYear,De.currentMonth-1,r),De.maxRangeDate=new Date(De.currentYear,De.currentMonth+1,(42-t)%a));r<=De.prevMonthDays;r++,o++)i.appendChild(C("prevMonthDay",new Date(De.currentYear,De.currentMonth-1,r),r,o));for(r=1;r<=a;r++,o++)i.appendChild(C("",new Date(De.currentYear,De.currentMonth,r),r,o));for(var l=a+1;l<=42-t;l++,o++)i.appendChild(C("nextMonthDay",new Date(De.currentYear,De.currentMonth+1,l%a),l,o));n&&1===De.selectedDates.length&&i.childNodes[0]?(De._hidePrevMonthArrow=De._hidePrevMonthArrow||De.minRangeDate>i.childNodes[0].dateObj,De._hideNextMonthArrow=De._hideNextMonthArrow||De.maxRangeDate<new Date(De.currentYear,De.currentMonth+1,1)):oe();var c=ue("div","dayContainer");if(c.appendChild(i),De.config.animate&&void 0!==e)for(;De.daysContainer.childNodes.length>1;)De.daysContainer.removeChild(De.daysContainer.firstChild);else y(De.daysContainer);return e>=0?De.daysContainer.appendChild(c):De.daysContainer.insertBefore(c,De.daysContainer.firstChild),De.days=De.daysContainer.firstChild,De.daysContainer}function y(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function k(){var e=window.document.createDocumentFragment();De.monthNav=ue("div","flatpickr-month"),De.prevMonthNav=ue("span","flatpickr-prev-month"),De.prevMonthNav.innerHTML=De.config.prevArrow,De.currentMonthElement=ue("span","cur-month"),De.currentMonthElement.title=De.l10n.scrollTitle;var t=D("cur-year");return De.currentYearElement=t.childNodes[0],De.currentYearElement.title=De.l10n.scrollTitle,De.config.minDate&&(De.currentYearElement.min=De.config.minDate.getFullYear()),De.config.maxDate&&(De.currentYearElement.max=De.config.maxDate.getFullYear(),De.currentYearElement.disabled=De.config.minDate&&De.config.minDate.getFullYear()===De.config.maxDate.getFullYear()),De.nextMonthNav=ue("span","flatpickr-next-month"),De.nextMonthNav.innerHTML=De.config.nextArrow,De.navigationCurrentMonth=ue("span","flatpickr-current-month"),De.navigationCurrentMonth.appendChild(De.currentMonthElement),De.navigationCurrentMonth.appendChild(t),e.appendChild(De.prevMonthNav),e.appendChild(De.navigationCurrentMonth),e.appendChild(De.nextMonthNav),De.monthNav.appendChild(e),Object.defineProperty(De,"_hidePrevMonthArrow",{get:function(){return this.__hidePrevMonthArrow},set:function(e){this.__hidePrevMonthArrow!==e&&(De.prevMonthNav.style.display=e?"none":"block"),this.__hidePrevMonthArrow=e}}),Object.defineProperty(De,"_hideNextMonthArrow",{get:function(){return this.__hideNextMonthArrow},set:function(e){this.__hideNextMonthArrow!==e&&(De.nextMonthNav.style.display=e?"none":"block"),this.__hideNextMonthArrow=e}}),oe(),De.monthNav}function x(){De.calendarContainer.classList.add("hasTime"),De.config.noCalendar&&De.calendarContainer.classList.add("noCalendar"),De.timeContainer=ue("div","flatpickr-time"),De.timeContainer.tabIndex=-1;var e=ue("span","flatpickr-time-separator",":"),t=D("flatpickr-hour");De.hourElement=t.childNodes[0];var n=D("flatpickr-minute");if(De.minuteElement=n.childNodes[0],De.hourElement.tabIndex=De.minuteElement.tabIndex=-1,De.hourElement.value=De.pad(De.latestSelectedDateObj?De.latestSelectedDateObj.getHours():De.config.defaultHour),De.minuteElement.value=De.pad(De.latestSelectedDateObj?De.latestSelectedDateObj.getMinutes():De.config.defaultMinute),De.hourElement.step=De.config.hourIncrement,De.minuteElement.step=De.config.minuteIncrement,De.hourElement.min=De.config.time_24hr?0:1,De.hourElement.max=De.config.time_24hr?23:12,De.minuteElement.min=0,De.minuteElement.max=59,De.hourElement.title=De.minuteElement.title=De.l10n.scrollTitle,De.timeContainer.appendChild(t),De.timeContainer.appendChild(e),De.timeContainer.appendChild(n),De.config.time_24hr&&De.timeContainer.classList.add("time24hr"),De.config.enableSeconds){De.timeContainer.classList.add("hasSeconds");var a=D("flatpickr-second");De.secondElement=a.childNodes[0],De.secondElement.value=De.latestSelectedDateObj?De.pad(De.latestSelectedDateObj.getSeconds()):"00",De.secondElement.step=De.minuteElement.step,De.secondElement.min=De.minuteElement.min,De.secondElement.max=De.minuteElement.max,De.timeContainer.appendChild(ue("span","flatpickr-time-separator",":")),De.timeContainer.appendChild(a)}return De.config.time_24hr||(De.amPM=ue("span","flatpickr-am-pm",["AM","PM"][De.hourElement.value>11|0]),De.amPM.title=De.l10n.toggleTitle,De.amPM.tabIndex=-1,De.timeContainer.appendChild(De.amPM)),De.timeContainer}function E(){De.weekdayContainer||(De.weekdayContainer=ue("div","flatpickr-weekdays"));var e=De.l10n.firstDayOfWeek,t=De.l10n.weekdays.shorthand.slice();return e>0&&e<t.length&&(t=[].concat(t.splice(e,t.length),t.splice(0,e))),De.weekdayContainer.innerHTML="\n\t\t<span class=flatpickr-weekday>\n\t\t\t"+t.join("</span><span class=flatpickr-weekday>")+"\n\t\t</span>\n\t\t",De.weekdayContainer}function N(){return De.calendarContainer.classList.add("hasWeeks"),De.weekWrapper=ue("div","flatpickr-weekwrapper"),De.weekWrapper.appendChild(ue("span","flatpickr-weekday",De.l10n.weekAbbreviation)),De.weekNumbers=ue("div","flatpickr-weeks"),De.weekWrapper.appendChild(De.weekNumbers),De.weekWrapper}function _(e,t,n){var a=(t=void 0===t||t)?e:e-De.currentMonth,i=!De.config.animate||!1===n;if(!(a<0&&De._hidePrevMonthArrow||a>0&&De._hideNextMonthArrow)){if(De.currentMonth+=a,(De.currentMonth<0||De.currentMonth>11)&&(De.currentYear+=De.currentMonth>11?1:-1,De.currentMonth=(De.currentMonth+12)%12,ne("YearChange")),M(i?void 0:a),i)return ne("MonthChange"),oe();var r=De.navigationCurrentMonth;if(a<0)for(;r.nextSibling&&/curr/.test(r.nextSibling.className);)De.monthNav.removeChild(r.nextSibling);else if(a>0)for(;r.previousSibling&&/curr/.test(r.previousSibling.className);)De.monthNav.removeChild(r.previousSibling);if(De.oldCurMonth=De.navigationCurrentMonth,De.navigationCurrentMonth=De.monthNav.insertBefore(De.oldCurMonth.cloneNode(!0),a>0?De.oldCurMonth.nextSibling:De.oldCurMonth),a>0?(De.daysContainer.firstChild.classList.add("slideLeft"),De.daysContainer.lastChild.classList.add("slideLeftNew"),De.oldCurMonth.classList.add("slideLeft"),De.navigationCurrentMonth.classList.add("slideLeftNew")):a<0&&(De.daysContainer.firstChild.classList.add("slideRightNew"),De.daysContainer.lastChild.classList.add("slideRight"),De.oldCurMonth.classList.add("slideRight"),De.navigationCurrentMonth.classList.add("slideRightNew")),De.currentMonthElement=De.navigationCurrentMonth.firstChild,De.currentYearElement=De.navigationCurrentMonth.lastChild.childNodes[0],oe(),De.oldCurMonth.firstChild.textContent=De.utils.monthToStr(De.currentMonth-a),ne("MonthChange"),document.activeElement&&document.activeElement.$i){var o=document.activeElement.$i;b(function(){w(o,0)})}}}function T(e){De.input.value="",De.altInput&&(De.altInput.value=""),De.mobileInput&&(De.mobileInput.value=""),De.selectedDates=[],De.latestSelectedDateObj=void 0,De.showTimeInput=!1,De.redraw(),!1!==e&&ne("Change")}function I(){De.isOpen=!1,De.isMobile||(De.calendarContainer.classList.remove("open"),De._input.classList.remove("active")),ne("Close")}function S(){void 0!==De.config&&ne("Destroy");for(var e=De._handlers.length;e--;){var t=De._handlers[e];t.element.removeEventListener(t.event,t.handler)}De._handlers=[],De.mobileInput?(De.mobileInput.parentNode&&De.mobileInput.parentNode.removeChild(De.mobileInput),De.mobileInput=null):De.calendarContainer&&De.calendarContainer.parentNode&&De.calendarContainer.parentNode.removeChild(De.calendarContainer),De.altInput&&(De.input.type="text",De.altInput.parentNode&&De.altInput.parentNode.removeChild(De.altInput),delete De.altInput),De.input&&(De.input.type=De.input._type,De.input.classList.remove("flatpickr-input"),De.input.removeAttribute("readonly"),De.input.value=""),["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach(function(e){return delete De[e]})}function F(e){return!(!De.config.appendTo||!De.config.appendTo.contains(e))||De.calendarContainer.contains(e)}function Y(e){if(De.isOpen&&!De.config.inline){var t=F(e.target),n=e.target===De.input||e.target===De.altInput||De.element.contains(e.target)||e.path&&e.path.indexOf&&(~e.path.indexOf(De.input)||~e.path.indexOf(De.altInput));("blur"===e.type?n&&e.relatedTarget&&!F(e.relatedTarget):!n&&!t)&&-1===De.config.ignoredFocusElements.indexOf(e.target)&&(De.close(),"range"===De.config.mode&&1===De.selectedDates.length&&(De.clear(!1),De.redraw()))}}function O(e){if(!(!e||De.currentYearElement.min&&e<De.currentYearElement.min||De.currentYearElement.max&&e>De.currentYearElement.max)){var t=parseInt(e,10),n=De.currentYear!==t;De.currentYear=t||De.currentYear,De.config.maxDate&&De.currentYear===De.config.maxDate.getFullYear()?De.currentMonth=Math.min(De.config.maxDate.getMonth(),De.currentMonth):De.config.minDate&&De.currentYear===De.config.minDate.getFullYear()&&(De.currentMonth=Math.max(De.config.minDate.getMonth(),De.currentMonth)),n&&(De.redraw(),ne("YearChange"))}}function A(e,t){if(De.config.minDate&&pe(e,De.config.minDate,void 0!==t?t:!De.minDateHasTime)<0||De.config.maxDate&&pe(e,De.config.maxDate,void 0!==t?t:!De.maxDateHasTime)>0)return!1;if(!De.config.enable.length&&!De.config.disable.length)return!0;for(var n,a=De.parseDate(e,null,!0),i=De.config.enable.length>0,r=i?De.config.enable:De.config.disable,o=0;o<r.length;o++){if((n=r[o])instanceof Function&&n(a))return i;if(n instanceof Date&&n.getTime()===a.getTime())return i;if("string"==typeof n&&De.parseDate(n,null,!0).getTime()===a.getTime())return i;if("object"===(void 0===n?"undefined":_typeof(n))&&n.from&&n.to&&a>=n.from&&a<=n.to)return i}return!i}function L(e){var t=e.target===De._input,n=F(e.target),r=De.config.allowInput,o=De.isOpen&&(!r||!t),l=De.config.inline&&t&&!r;if("Enter"===e.key&&r&&t)return De.setDate(De._input.value,!0,e.target===De.altInput?De.config.altFormat:De.config.dateFormat),e.target.blur();if(n||o||l){var c=De.timeContainer&&De.timeContainer.contains(e.target);switch(e.key){case"Enter":c?le():U(e);break;case"Escape":e.preventDefault(),De.close();break;case"ArrowLeft":case"ArrowRight":if(!c)if(e.preventDefault(),De.daysContainer){var s="ArrowRight"===e.key?1:-1;e.ctrlKey?_(s,!0):w(e.target.$i,s)}else De.config.enableTime&&!c&&De.hourElement.focus();break;case"ArrowUp":case"ArrowDown":e.preventDefault();var d="ArrowDown"===e.key?1:-1;De.daysContainer?e.ctrlKey?(O(De.currentYear-d),w(e.target.$i,0)):c||w(e.target.$i,7*d):De.config.enableTime&&(c||De.hourElement.focus(),a(e));break;case"Tab":e.target===De.hourElement?(e.preventDefault(),De.minuteElement.select()):e.target===De.minuteElement&&(De.secondElement||De.amPM)?(e.preventDefault(),(De.secondElement||De.amPM).focus()):e.target===De.secondElement&&(e.preventDefault(),De.amPM.focus());break;case"a":e.target===De.amPM&&(De.amPM.textContent="AM",i(),le());break;case"p":e.target===De.amPM&&(De.amPM.textContent="PM",i(),le())}ne("KeyDown",e)}}function P(e){if(1===De.selectedDates.length&&e.classList.contains("flatpickr-day")){for(var t=e.dateObj,n=De.parseDate(De.selectedDates[0],null,!0),a=Math.min(t.getTime(),De.selectedDates[0].getTime()),i=Math.max(t.getTime(),De.selectedDates[0].getTime()),r=!1,o=a;o<i;o+=De.utils.duration.DAY)if(!A(new Date(o))){r=!0;break}for(var l=De.days.childNodes[0].dateObj.getTime(),c=0;c<42;c++,l+=De.utils.duration.DAY){(function(o,l){var c=o<De.minRangeDate.getTime()||o>De.maxRangeDate.getTime(),s=De.days.childNodes[l];if(c)return De.days.childNodes[l].classList.add("notAllowed"),["inRange","startRange","endRange"].forEach(function(e){s.classList.remove(e)}),"continue";if(r&&!c)return"continue";["startRange","inRange","endRange","notAllowed"].forEach(function(e){s.classList.remove(e)});var d=Math.max(De.minRangeDate.getTime(),a),u=Math.min(De.maxRangeDate.getTime(),i);e.classList.add(t<De.selectedDates[0]?"startRange":"endRange"),n<t&&o===n.getTime()?s.classList.add("startRange"):n>t&&o===n.getTime()&&s.classList.add("endRange"),o>=d&&o<=u&&s.classList.add("inRange")})(l,c)}}}function j(){!De.isOpen||De.config.static||De.config.inline||J()}function H(e,t){if(De.isMobile)return e&&(e.preventDefault(),e.target.blur()),setTimeout(function(){De.mobileInput.click()},0),void ne("Open");De.isOpen||De._input.disabled||De.config.inline||(De.isOpen=!0,De.calendarContainer.classList.add("open"),J(t),De._input.classList.add("active"),ne("Open"))}function R(e){return function(t){var n=De.config["_"+e+"Date"]=De.parseDate(t),a=De.config["_"+("min"===e?"max":"min")+"Date"],i=t&&n instanceof Date;i&&(De[e+"DateHasTime"]=n.getHours()||n.getMinutes()||n.getSeconds()),De.selectedDates&&(De.selectedDates=De.selectedDates.filter(function(e){return A(e)}),De.selectedDates.length||"min"!==e||r(n),le()),De.daysContainer&&(K(),i?De.currentYearElement[e]=n.getFullYear():De.currentYearElement.removeAttribute(e),De.currentYearElement.disabled=a&&n&&a.getFullYear()===n.getFullYear())}}function W(){var e=["wrap","weekNumbers","allowInput","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],t=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange"];De.config=Object.create(flatpickr.defaultConfig);var a=_extends({},De.instanceConfig,JSON.parse(JSON.stringify(De.element.dataset||{})));De.config.parseDate=a.parseDate,De.config.formatDate=a.formatDate,Object.defineProperty(De.config,"enable",{get:function(){return De.config._enable||[]},set:function(e){return De.config._enable=G(e)}}),Object.defineProperty(De.config,"disable",{get:function(){return De.config._disable||[]},set:function(e){return De.config._disable=G(e)}}),_extends(De.config,a),!a.dateFormat&&a.enableTime&&(De.config.dateFormat=De.config.noCalendar?"H:i"+(De.config.enableSeconds?":S":""):flatpickr.defaultConfig.dateFormat+" H:i"+(De.config.enableSeconds?":S":"")),a.altInput&&a.enableTime&&!a.altFormat&&(De.config.altFormat=De.config.noCalendar?"h:i"+(De.config.enableSeconds?":S K":" K"):flatpickr.defaultConfig.altFormat+" h:i"+(De.config.enableSeconds?":S":"")+" K"),Object.defineProperty(De.config,"minDate",{get:function(){return this._minDate},set:R("min")}),Object.defineProperty(De.config,"maxDate",{get:function(){return this._maxDate},set:R("max")}),De.config.minDate=a.minDate,De.config.maxDate=a.maxDate;for(var i=0;i<e.length;i++)De.config[e[i]]=!0===De.config[e[i]]||"true"===De.config[e[i]];for(var r=t.length;r--;)void 0!==De.config[t[r]]&&(De.config[t[r]]=fe(De.config[t[r]]||[]).map(n));for(var o=0;o<De.config.plugins.length;o++){var l=De.config.plugins[o](De)||{};for(var c in l)De.config[c]instanceof Array||~t.indexOf(c)?De.config[c]=fe(l[c]).map(n).concat(De.config[c]):void 0===a[c]&&(De.config[c]=l[c])}ne("ParseConfig")}function B(){"object"!==_typeof(De.config.locale)&&void 0===flatpickr.l10ns[De.config.locale]&&console.warn("flatpickr: invalid locale "+De.config.locale),De.l10n=_extends(Object.create(flatpickr.l10ns.default),"object"===_typeof(De.config.locale)?De.config.locale:"default"!==De.config.locale?flatpickr.l10ns[De.config.locale]||{}:{})}function J(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:De._positionElement;if(void 0!==De.calendarContainer){var t=De.calendarContainer.offsetHeight,n=De.calendarContainer.offsetWidth,a=De.config.position,i=e.getBoundingClientRect(),r=window.innerHeight-i.bottom,o="above"===a||"below"!==a&&r<t&&i.top>t,l=window.pageYOffset+i.top+(o?-t-2:e.offsetHeight+2);if(me(De.calendarContainer,"arrowTop",!o),me(De.calendarContainer,"arrowBottom",o),!De.config.inline){var c=window.pageXOffset+i.left,s=window.document.body.offsetWidth-i.right,d=c+n>window.document.body.offsetWidth;me(De.calendarContainer,"rightMost",d),De.config.static||(De.calendarContainer.style.top=l+"px",d?(De.calendarContainer.style.left="auto",De.calendarContainer.style.right=s+"px"):(De.calendarContainer.style.left=c+"px",De.calendarContainer.style.right="auto"))}}}function K(){De.config.noCalendar||De.isMobile||(E(),oe(),M())}function U(e){if(e.preventDefault(),e.stopPropagation(),e.target.classList.contains("flatpickr-day")&&!e.target.classList.contains("disabled")&&!e.target.classList.contains("notAllowed")){var t=De.latestSelectedDateObj=new Date(e.target.dateObj.getTime()),n=t.getMonth()!==De.currentMonth&&"range"!==De.config.mode;if(De.selectedDateElem=e.target,"single"===De.config.mode)De.selectedDates=[t];else if("multiple"===De.config.mode){var a=ie(t);a?De.selectedDates.splice(a,1):De.selectedDates.push(t)}else"range"===De.config.mode&&(2===De.selectedDates.length&&De.clear(),De.selectedDates.push(t),0!==pe(t,De.selectedDates[0],!0)&&De.selectedDates.sort(function(e,t){return e.getTime()-t.getTime()}));if(i(),n){var o=De.currentYear!==t.getFullYear();De.currentYear=t.getFullYear(),De.currentMonth=t.getMonth(),o&&ne("YearChange"),ne("MonthChange")}if(M(),De.minDateHasTime&&De.config.enableTime&&0===pe(t,De.config.minDate)&&r(De.config.minDate),le(),De.config.enableTime&&setTimeout(function(){return De.showTimeInput=!0},50),"range"===De.config.mode&&(1===De.selectedDates.length?(P(e.target),De._hidePrevMonthArrow=De._hidePrevMonthArrow||De.minRangeDate>De.days.childNodes[0].dateObj,De._hideNextMonthArrow=De._hideNextMonthArrow||De.maxRangeDate<new Date(De.currentYear,De.currentMonth+1,1)):oe()),ne("Change"),n?b(function(){return De.selectedDateElem.focus()}):w(e.target.$i,0),De.config.enableTime&&setTimeout(function(){return De.hourElement.select()},451),De.config.closeOnSelect){var l="single"===De.config.mode&&!De.config.enableTime,c="range"===De.config.mode&&2===De.selectedDates.length&&!De.config.enableTime;(l||c)&&De.close()}}}function $(e,t){De.config[e]=t,De.redraw(),g()}function z(e,t){if(e instanceof Array)De.selectedDates=e.map(function(e){return De.parseDate(e,t)});else if(e instanceof Date||!isNaN(e))De.selectedDates=[De.parseDate(e,t)];else if(e&&e.substring)switch(De.config.mode){case"single":De.selectedDates=[De.parseDate(e,t)];break;case"multiple":De.selectedDates=e.split("; ").map(function(e){return De.parseDate(e,t)});break;case"range":De.selectedDates=e.split(De.l10n.rangeSeparator).map(function(e){return De.parseDate(e,t)})}De.selectedDates=De.selectedDates.filter(function(e){return e instanceof Date&&A(e,!1)}),De.selectedDates.sort(function(e,t){return e.getTime()-t.getTime()})}function q(e,t,n){if(0!==e&&!e)return De.clear(t);z(e,n),De.showTimeInput=De.selectedDates.length>0,De.latestSelectedDateObj=De.selectedDates[0],De.redraw(),g(),r(),le(t),t&&ne("Change")}function G(e){for(var t=e.length;t--;)"string"==typeof e[t]||+e[t]?e[t]=De.parseDate(e[t],null,!0):e[t]&&e[t].from&&e[t].to&&(e[t].from=De.parseDate(e[t].from),e[t].to=De.parseDate(e[t].to));return e.filter(function(e){return e})}function V(){De.selectedDates=[],De.now=new Date;var e=De.config.defaultDate||De.input.value;e&&z(e,De.config.dateFormat);var t=De.selectedDates.length?De.selectedDates[0]:De.config.minDate&&De.config.minDate.getTime()>De.now?De.config.minDate:De.config.maxDate&&De.config.maxDate.getTime()<De.now?De.config.maxDate:De.now;De.currentYear=t.getFullYear(),De.currentMonth=t.getMonth(),De.selectedDates.length&&(De.latestSelectedDateObj=De.selectedDates[0]),De.minDateHasTime=De.config.minDate&&(De.config.minDate.getHours()||De.config.minDate.getMinutes()||De.config.minDate.getSeconds()),De.maxDateHasTime=De.config.maxDate&&(De.config.maxDate.getHours()||De.config.maxDate.getMinutes()||De.config.maxDate.getSeconds()),Object.defineProperty(De,"latestSelectedDateObj",{get:function(){return De._selectedDateObj||De.selectedDates[De.selectedDates.length-1]},set:function(e){De._selectedDateObj=e}}),De.isMobile||Object.defineProperty(De,"showTimeInput",{get:function(){return De._showTimeInput},set:function(e){De._showTimeInput=e,De.calendarContainer&&me(De.calendarContainer,"showTimeInput",e),J()}})}function Z(){De.utils={duration:{DAY:864e5},getDaysinMonth:function(e,t){return e=void 0===e?De.currentMonth:e,t=void 0===t?De.currentYear:t,1===e&&(t%4==0&&t%100!=0||t%400==0)?29:De.l10n.daysInMonth[e]},monthToStr:function(e,t){return t=void 0===t?De.config.shorthandCurrentMonth:t,De.l10n.months[(t?"short":"long")+"hand"][e]}}}function Q(){De.formats=Object.create(FlatpickrInstance.prototype.formats),["D","F","J","M","W","l"].forEach(function(e){De.formats[e]=FlatpickrInstance.prototype.formats[e].bind(De)}),De.revFormat.F=FlatpickrInstance.prototype.revFormat.F.bind(De),De.revFormat.M=FlatpickrInstance.prototype.revFormat.M.bind(De)}function X(){if(De.input=De.config.wrap?De.element.querySelector("[data-input]"):De.element,!De.input)return console.warn("Error: invalid input element specified",De.input);De.input._type=De.input.type,De.input.type="text",De.input.classList.add("flatpickr-input"),De._input=De.input,De.config.altInput&&(De.altInput=ue(De.input.nodeName,De.input.className+" "+De.config.altInputClass),De._input=De.altInput,De.altInput.placeholder=De.input.placeholder,De.altInput.disabled=De.input.disabled,De.altInput.required=De.input.required,De.altInput.type="text",De.input.type="hidden",!De.config.static&&De.input.parentNode&&De.input.parentNode.insertBefore(De.altInput,De.input.nextSibling)),De.config.allowInput||De._input.setAttribute("readonly","readonly"),De._positionElement=De.config.positionElement||De._input}function ee(){var e=De.config.enableTime?De.config.noCalendar?"time":"datetime-local":"date";De.mobileInput=ue("input",De.input.className+" flatpickr-mobile"),De.mobileInput.step="any",De.mobileInput.tabIndex=1,De.mobileInput.type=e,De.mobileInput.disabled=De.input.disabled,De.mobileInput.placeholder=De.input.placeholder,De.mobileFormatStr="datetime-local"===e?"Y-m-d\\TH:i:S":"date"===e?"Y-m-d":"H:i:S",De.selectedDates.length&&(De.mobileInput.defaultValue=De.mobileInput.value=De.formatDate(De.selectedDates[0],De.mobileFormatStr)),De.config.minDate&&(De.mobileInput.min=De.formatDate(De.config.minDate,"Y-m-d")),De.config.maxDate&&(De.mobileInput.max=De.formatDate(De.config.maxDate,"Y-m-d")),De.input.type="hidden",De.config.altInput&&(De.altInput.type="hidden");try{De.input.parentNode.insertBefore(De.mobileInput,De.input.nextSibling)}catch(e){}De.mobileInput.addEventListener("change",function(e){De.setDate(e.target.value,!1,De.mobileFormatStr),ne("Change"),ne("Close")})}function te(){if(De.isOpen)return De.close();De.open()}function ne(e,t){var n=De.config["on"+e];if(void 0!==n&&n.length>0)for(var a=0;n[a]&&a<n.length;a++)n[a](De.selectedDates,De.input.value,De,t);"Change"===e&&(De.input.dispatchEvent(ae("change")),De.input.dispatchEvent(ae("input")))}function ae(e){return De._supportsEvents?new Event(e,{bubbles:!0}):(De._[e+"Event"]=document.createEvent("Event"),De._[e+"Event"].initEvent(e,!0,!0),De._[e+"Event"])}function ie(e){for(var t=0;t<De.selectedDates.length;t++)if(0===pe(De.selectedDates[t],e))return""+t;return!1}function re(e){return!("range"!==De.config.mode||De.selectedDates.length<2)&&(pe(e,De.selectedDates[0])>=0&&pe(e,De.selectedDates[1])<=0)}function oe(){De.config.noCalendar||De.isMobile||!De.monthNav||(De.currentMonthElement.textContent=De.utils.monthToStr(De.currentMonth)+" ",De.currentYearElement.value=De.currentYear,De._hidePrevMonthArrow=De.config.minDate&&(De.currentYear===De.config.minDate.getFullYear()?De.currentMonth<=De.config.minDate.getMonth():De.currentYear<De.config.minDate.getFullYear()),De._hideNextMonthArrow=De.config.maxDate&&(De.currentYear===De.config.maxDate.getFullYear()?De.currentMonth+1>De.config.maxDate.getMonth():De.currentYear>De.config.maxDate.getFullYear()))}function le(e){if(!De.selectedDates.length)return De.clear(e);De.isMobile&&(De.mobileInput.value=De.selectedDates.length?De.formatDate(De.latestSelectedDateObj,De.mobileFormatStr):"");var t="range"!==De.config.mode?"; ":De.l10n.rangeSeparator;De.input.value=De.selectedDates.map(function(e){return De.formatDate(e,De.config.dateFormat)}).join(t),De.config.altInput&&(De.altInput.value=De.selectedDates.map(function(e){return De.formatDate(e,De.config.altFormat)}).join(t)),!1!==e&&ne("ValueUpdate")}function ce(e){return Math.max(-1,Math.min(1,e.wheelDelta||-e.deltaY))}function se(e){e.preventDefault();var t=De.currentYearElement.parentNode.contains(e.target);if(e.target===De.currentMonthElement||t){var n=ce(e);t?(O(De.currentYear+n),e.target.value=De.currentYear):De.changeMonth(n,!0,!1)}}function de(e){var t=De.prevMonthNav.contains(e.target),n=De.nextMonthNav.contains(e.target);t||n?_(t?-1:1):e.target===De.currentYearElement?(e.preventDefault(),De.currentYearElement.select()):"arrowUp"===e.target.className?De.changeYear(De.currentYear+1):"arrowDown"===e.target.className&&De.changeYear(De.currentYear-1)}function ue(e,t,n){var a=window.document.createElement(e);return t=t||"",n=n||"",a.className=t,void 0!==n&&(a.textContent=n),a}function fe(e){return e instanceof Array?e:[e]}function me(e,t,n){if(n)return e.classList.add(t);e.classList.remove(t)}function ge(e,t,n){var a=void 0;return function(){var i=this,r=arguments;clearTimeout(a),a=setTimeout(function(){a=null,n||e.apply(i,r)},t),n&&!a&&e.apply(i,r)}}function pe(e,t,n){return e instanceof Date&&t instanceof Date&&(!1!==n?new Date(e.getTime()).setHours(0,0,0,0)-new Date(t.getTime()).setHours(0,0,0,0):e.getTime()-t.getTime())}function he(e){e.preventDefault();var t="keydown"===e.type,n=(e.type,e.type,e.target);if(De.amPM&&e.target===De.amPM)return e.target.textContent=["AM","PM"]["AM"===e.target.textContent|0];var a=Number(n.min),i=Number(n.max),r=Number(n.step),o=parseInt(n.value,10),l=o+r*(e.delta||(t?38===e.which?1:-1:Math.max(-1,Math.min(1,e.wheelDelta||-e.deltaY))||0));if(void 0!==n.value&&2===n.value.length){var c=n===De.hourElement,s=n===De.minuteElement;l<a?(l=i+l+!c+(c&&!De.amPM),s&&h(null,-1,De.hourElement)):l>i&&(l=n===De.hourElement?l-i-!De.amPM:a,s&&h(null,1,De.hourElement)),De.amPM&&c&&(1===r?l+o===23:Math.abs(l-o)>r)&&(De.amPM.textContent="PM"===De.amPM.textContent?"AM":"PM"),n.value=De.pad(l)}}var De=this;return De._={},De._.afterDayAnim=b,De._bind=c,De._compareDates=pe,De._setHoursFromDate=r,De.changeMonth=_,De.changeYear=O,De.clear=T,De.close=I,De._createElement=ue,De.destroy=S,De.isEnabled=A,De.jumpToDate=g,De.open=H,De.redraw=K,De.set=$,De.setDate=q,De.toggle=te,function(){De.element=De.input=e,De.instanceConfig=t||{},De.parseDate=FlatpickrInstance.prototype.parseDate.bind(De),De.formatDate=FlatpickrInstance.prototype.formatDate.bind(De),Q(),W(),B(),X(),V(),Z(),De.isOpen=!1,De.isMobile=!De.config.disableMobile&&!De.config.inline&&"single"===De.config.mode&&!De.config.disable.length&&!De.config.enable.length&&!De.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),De.isMobile||v(),d(),(De.selectedDates.length||De.config.noCalendar)&&(De.config.enableTime&&r(De.config.noCalendar?De.latestSelectedDateObj||De.config.minDate:null),le()),De.showTimeInput=De.selectedDates.length>0||De.config.noCalendar,De.config.weekNumbers&&(De.calendarContainer.style.width=De.daysContainer.offsetWidth+De.weekWrapper.offsetWidth+"px"),De.isMobile||J(),ne("Ready")}(),De}function _flatpickr(e,t){for(var n=Array.prototype.slice.call(e),a=[],i=0;i<n.length;i++)try{if(null!==n[i].getAttribute("data-fp-omit"))continue;n[i]._flatpickr&&(n[i]._flatpickr.destroy(),n[i]._flatpickr=null),n[i]._flatpickr=new FlatpickrInstance(n[i],t||{}),a.push(n[i]._flatpickr)}catch(e){console.warn(e,e.stack)}return 1===a.length?a[0]:a}function flatpickr(e,t){return e instanceof NodeList?_flatpickr(e,t):e instanceof HTMLElement?_flatpickr([e],t):_flatpickr(window.document.querySelectorAll(e),t)}var _extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},_typeof="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};FlatpickrInstance.prototype={formats:{Z:function(e){return e.toISOString()},D:function(e){return this.l10n.weekdays.shorthand[this.formats.w(e)]},F:function(e){return this.utils.monthToStr(this.formats.n(e)-1,!1)},G:function(e){return FlatpickrInstance.prototype.pad(FlatpickrInstance.prototype.formats.h(e))},H:function(e){return FlatpickrInstance.prototype.pad(e.getHours())},J:function(e){return e.getDate()+this.l10n.ordinal(e.getDate())},K:function(e){return e.getHours()>11?"PM":"AM"},M:function(e){return this.utils.monthToStr(e.getMonth(),!0)},S:function(e){return FlatpickrInstance.prototype.pad(e.getSeconds())},U:function(e){return e.getTime()/1e3},W:function(e){return this.config.getWeek(e)},Y:function(e){return e.getFullYear()},d:function(e){return FlatpickrInstance.prototype.pad(e.getDate())},h:function(e){return e.getHours()%12?e.getHours()%12:12},i:function(e){return FlatpickrInstance.prototype.pad(e.getMinutes())},j:function(e){return e.getDate()},l:function(e){return this.l10n.weekdays.longhand[e.getDay()]},m:function(e){return FlatpickrInstance.prototype.pad(e.getMonth()+1)},n:function(e){return e.getMonth()+1},s:function(e){return e.getSeconds()},w:function(e){return e.getDay()},y:function(e){return String(e.getFullYear()).substring(2)}},formatDate:function(e,t){var n=this;return void 0!==this.config&&void 0!==this.config.formatDate?this.config.formatDate(e,t):t.split("").map(function(t,a,i){return n.formats[t]&&"\\"!==i[a-1]?n.formats[t](e):"\\"!==t?t:""}).join("")},revFormat:{D:function(){},F:function(e,t){e.setMonth(this.l10n.months.longhand.indexOf(t))},G:function(e,t){e.setHours(parseFloat(t))},H:function(e,t){e.setHours(parseFloat(t))},J:function(e,t){e.setDate(parseFloat(t))},K:function(e,t){var n=e.getHours();12!==n&&e.setHours(n%12+12*/pm/i.test(t))},M:function(e,t){e.setMonth(this.l10n.months.shorthand.indexOf(t))},S:function(e,t){e.setSeconds(t)},U:function(e,t){return new Date(1e3*parseFloat(t))},W:function(e,t){return t=parseInt(t),new Date(e.getFullYear(),0,2+7*(t-1),0,0,0,0,0)},Y:function(e,t){e.setFullYear(t)},Z:function(e,t){return new Date(t)},d:function(e,t){e.setDate(parseFloat(t))},h:function(e,t){e.setHours(parseFloat(t))},i:function(e,t){e.setMinutes(parseFloat(t))},j:function(e,t){e.setDate(parseFloat(t))},l:function(){},m:function(e,t){e.setMonth(parseFloat(t)-1)},n:function(e,t){e.setMonth(parseFloat(t)-1)},s:function(e,t){e.setSeconds(parseFloat(t))},w:function(){},y:function(e,t){e.setFullYear(2e3+parseFloat(t))}},tokenRegex:{D:"(\\w+)",F:"(\\w+)",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"(am|AM|Am|aM|pm|PM|Pm|pM)",M:"(\\w+)",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"(\\w+)",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},pad:function(e){return("0"+e).slice(-2)},parseDate:function(e,t,n){if(0!==e&&!e)return null;var a=e;if(e instanceof Date)e=new Date(e.getTime());else if(void 0!==e.toFixed)e=new Date(e);else{var i=t||(this.config||flatpickr.defaultConfig).dateFormat;if("today"===(e=String(e).trim()))e=new Date,n=!0;else if(/Z$/.test(e)||/GMT$/.test(e))e=new Date(e);else if(this.config&&this.config.parseDate)e=this.config.parseDate(e,i);else{for(var r=this.config&&this.config.noCalendar?new Date((new Date).setHours(0,0,0,0)):new Date((new Date).getFullYear(),0,1,0,0,0,0),o=void 0,l=0,c=0,s="";l<i.length;l++){var d=i[l],u="\\"===d,f="\\"===i[l-1]||u;if(this.tokenRegex[d]&&!f){s+=this.tokenRegex[d];var m=new RegExp(s).exec(e);m&&(o=!0)&&(r=this.revFormat[d](r,m[++c])||r)}else u||(s+=".")}e=o?r:null}}return e instanceof Date?(!0===n&&e.setHours(0,0,0,0),e):(console.warn("flatpickr: invalid date "+a),console.info(this.element),null)}},"undefined"!=typeof HTMLElement&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(e){return _flatpickr(this,e)},HTMLElement.prototype.flatpickr=function(e){return _flatpickr([this],e)}),flatpickr.defaultConfig=FlatpickrInstance.defaultConfig={mode:"single",position:"auto",animate:-1===window.navigator.userAgent.indexOf("MSIE"),wrap:!1,weekNumbers:!1,allowInput:!1,clickOpens:!0,closeOnSelect:!0,time_24hr:!1,enableTime:!1,noCalendar:!1,dateFormat:"Y-m-d",ariaDateFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",altFormat:"F j, Y",defaultDate:null,minDate:null,maxDate:null,parseDate:null,formatDate:null,getWeek:function(e){var t=new Date(e.getTime()),n=new Date(t.getFullYear(),0,1);return Math.ceil(((t-n)/864e5+n.getDay()+1)/7)},enable:[],disable:[],shorthandCurrentMonth:!1,inline:!1,static:!1,appendTo:null,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",enableSeconds:!1,hourIncrement:1,minuteIncrement:5,defaultHour:12,defaultMinute:0,disableMobile:!1,locale:"default",plugins:[],ignoredFocusElements:[],onClose:void 0,onChange:void 0,onDayCreate:void 0,onMonthChange:void 0,onOpen:void 0,onParseConfig:void 0,onReady:void 0,onValueUpdate:void 0,onYearChange:void 0,onKeyDown:void 0,onDestroy:void 0},flatpickr.l10ns={en:{weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(e){var t=e%100;if(t>3&&t<21)return"th";switch(t%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle"}},flatpickr.l10ns.default=Object.create(flatpickr.l10ns.en),flatpickr.localize=function(e){return _extends(flatpickr.l10ns.default,e||{})},flatpickr.setDefaults=function(e){return _extends(flatpickr.defaultConfig,e||{})},"undefined"!=typeof jQuery&&(jQuery.fn.flatpickr=function(e){return _flatpickr(this,e)}),Date.prototype.fp_incr=function(e){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+parseInt(e,10))},"undefined"!=typeof module&&(module.exports=flatpickr); | |
| 0 | 3 | \ No newline at end of file | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/flatpickr/ie.css
0 → 100644
src/main/resources/static/real_control_v2_mobile/assets/plugins/flatpickr/l10n/zh.js
0 → 100644
| 1 | +/* Mandarin locals for flatpickr */ | |
| 2 | +var flatpickr = flatpickr || { l10ns: {} }; | |
| 3 | +flatpickr.l10ns.zh = {}; | |
| 4 | + | |
| 5 | +flatpickr.l10ns.zh.weekdays = { | |
| 6 | + shorthand: ["周日", "周一", "周二", "周三", "周四", "周五", "周六"], | |
| 7 | + longhand: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"] | |
| 8 | +}; | |
| 9 | + | |
| 10 | +flatpickr.l10ns.zh.months = { | |
| 11 | + shorthand: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], | |
| 12 | + longhand: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"] | |
| 13 | +}; | |
| 14 | + | |
| 15 | +flatpickr.l10ns.zh.rangeSeparator = " 至 "; | |
| 16 | +flatpickr.l10ns.zh.weekAbbreviation = "周"; | |
| 17 | +flatpickr.l10ns.zh.scrollTitle = "滚动切换"; | |
| 18 | +flatpickr.l10ns.zh.toggleTitle = "点击切换 12/24 小时时制"; | |
| 19 | + | |
| 20 | +if (typeof module !== "undefined") module.exports = flatpickr.l10ns; | |
| 0 | 21 | \ No newline at end of file | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/flatpickr/plugins/confirmDate/confirmDate.css
0 → 100644
| 1 | +.flatpickr-confirm { | |
| 2 | + height: 40px; | |
| 3 | + max-height: 0px; | |
| 4 | + visibility: hidden; | |
| 5 | + display: flex; | |
| 6 | + justify-content: center; | |
| 7 | + align-items: center; | |
| 8 | + cursor: pointer; | |
| 9 | + background: rgba(0,0,0,0.06) | |
| 10 | +} | |
| 11 | + | |
| 12 | +.flatpickr-confirm svg path { | |
| 13 | + fill: inherit; | |
| 14 | +} | |
| 15 | + | |
| 16 | +.flatpickr-confirm.darkTheme { | |
| 17 | + color: white; | |
| 18 | + fill: white; | |
| 19 | +} | |
| 20 | + | |
| 21 | +.flatpickr-confirm.visible { | |
| 22 | + max-height: 40px; | |
| 23 | + visibility: visible | |
| 24 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/flatpickr/plugins/confirmDate/confirmDate.js
0 → 100644
| 1 | +function confirmDatePlugin(pluginConfig) { | |
| 2 | + var defaultConfig = { | |
| 3 | + confirmIcon: "<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='17' height='17' viewBox='0 0 17 17'> <g> </g> <path d='M15.418 1.774l-8.833 13.485-4.918-4.386 0.666-0.746 4.051 3.614 8.198-12.515 0.836 0.548z' fill='#000000' /> </svg>", | |
| 4 | + confirmText: "OK ", | |
| 5 | + showAlways: false, | |
| 6 | + theme: "light" | |
| 7 | + }; | |
| 8 | + | |
| 9 | + var config = {}; | |
| 10 | + for (var key in defaultConfig) { | |
| 11 | + config[key] = pluginConfig && pluginConfig[key] !== undefined ? pluginConfig[key] : defaultConfig[key]; | |
| 12 | + } | |
| 13 | + | |
| 14 | + return function (fp) { | |
| 15 | + var hooks = { | |
| 16 | + onKeyDown: function onKeyDown(_, __, ___, e) { | |
| 17 | + if (fp.config.enableTime && e.key === "Tab" && e.target === fp.amPM) { | |
| 18 | + e.preventDefault(); | |
| 19 | + fp.confirmContainer.focus(); | |
| 20 | + } else if (e.key === "Enter" && e.target === fp.confirmContainer) fp.close(); | |
| 21 | + }, | |
| 22 | + onReady: function onReady() { | |
| 23 | + if (fp.calendarContainer === undefined) return; | |
| 24 | + | |
| 25 | + fp.confirmContainer = fp._createElement("div", "flatpickr-confirm " + (config.showAlways ? "visible" : "") + " " + config.theme + "Theme", config.confirmText); | |
| 26 | + | |
| 27 | + fp.confirmContainer.tabIndex = -1; | |
| 28 | + fp.confirmContainer.innerHTML += config.confirmIcon; | |
| 29 | + | |
| 30 | + fp.confirmContainer.addEventListener("click", fp.close); | |
| 31 | + fp.calendarContainer.appendChild(fp.confirmContainer); | |
| 32 | + } | |
| 33 | + }; | |
| 34 | + | |
| 35 | + if (!config.showAlways) { | |
| 36 | + hooks.onChange = function (dateObj, dateStr) { | |
| 37 | + var showCondition = fp.config.enableTime || fp.config.mode === "multiple"; | |
| 38 | + if (dateStr && !fp.config.inline && showCondition) return fp.confirmContainer.classList.add("visible"); | |
| 39 | + fp.confirmContainer.classList.remove("visible"); | |
| 40 | + }; | |
| 41 | + } | |
| 42 | + | |
| 43 | + return hooks; | |
| 44 | + }; | |
| 45 | +} | |
| 46 | + | |
| 47 | +if (typeof module !== "undefined") module.exports = confirmDatePlugin; | |
| 0 | 48 | \ No newline at end of file | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/flatpickr/plugins/labelPlugin/labelPlugin.js
0 → 100644
| 1 | +function labelPlugin() { | |
| 2 | + return function (fp) { | |
| 3 | + return { | |
| 4 | + onReady: function onReady() { | |
| 5 | + var id = fp.input.id; | |
| 6 | + if (fp.config.altInput && id) { | |
| 7 | + fp.input.removeAttribute("id"); | |
| 8 | + fp.altInput.id = id; | |
| 9 | + } | |
| 10 | + } | |
| 11 | + }; | |
| 12 | + }; | |
| 13 | +} | |
| 14 | + | |
| 15 | +if (typeof module !== "undefined") module.exports = labelPlugin; | |
| 0 | 16 | \ No newline at end of file | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/flatpickr/plugins/rangePlugin.js
0 → 100644
| 1 | +var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"]) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }; }(); | |
| 2 | + | |
| 3 | +function rangePlugin() { | |
| 4 | + var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 5 | + | |
| 6 | + return function (fp) { | |
| 7 | + var dateFormat = void 0; | |
| 8 | + | |
| 9 | + var createSecondInput = function createSecondInput() { | |
| 10 | + if (config.input) { | |
| 11 | + fp.secondInput = config.input instanceof Element ? config.input : window.document.querySelector(config.input); | |
| 12 | + } else { | |
| 13 | + fp.secondInput = fp._input.cloneNode(); | |
| 14 | + fp.secondInput.removeAttribute("id"); | |
| 15 | + fp.secondInput._flatpickr = null; | |
| 16 | + } | |
| 17 | + | |
| 18 | + fp.secondInput.setAttribute("data-fp-omit", ""); | |
| 19 | + | |
| 20 | + fp._bind(fp.secondInput, ["focus", "click"], function (e) { | |
| 21 | + fp.open(e, fp.secondInput); | |
| 22 | + if (fp.selectedDates[1]) { | |
| 23 | + fp.latestSelectedDateObj = fp.selectedDates[1]; | |
| 24 | + fp._setHoursFromDate(fp.selectedDates[1]); | |
| 25 | + fp.jumpToDate(fp.selectedDates[1]); | |
| 26 | + } | |
| 27 | + | |
| 28 | + var _ref = [false, true]; | |
| 29 | + fp._firstInputFocused = _ref[0]; | |
| 30 | + fp._secondInputFocused = _ref[1]; | |
| 31 | + }); | |
| 32 | + | |
| 33 | + fp._bind(fp.secondInput, "blur", function (e) { | |
| 34 | + fp.isOpen = false; | |
| 35 | + }); | |
| 36 | + | |
| 37 | + fp._bind(fp.secondInput, "keydown", function (e) { | |
| 38 | + if (e.key === "Enter") { | |
| 39 | + fp.setDate([fp.selectedDates[0], fp.secondInput.value], true, dateFormat); | |
| 40 | + fp.secondInput.click(); | |
| 41 | + } | |
| 42 | + }); | |
| 43 | + if (!config.input) fp._input.parentNode.insertBefore(fp.secondInput, fp._input.nextSibling); | |
| 44 | + }; | |
| 45 | + | |
| 46 | + return { | |
| 47 | + onParseConfig: function onParseConfig() { | |
| 48 | + fp.config.mode = "range"; | |
| 49 | + fp.config.allowInput = true; | |
| 50 | + dateFormat = fp.config.altInput ? fp.config.altFormat : fp.config.dateFormat; | |
| 51 | + }, | |
| 52 | + onReady: function onReady() { | |
| 53 | + createSecondInput(); | |
| 54 | + fp.config.ignoredFocusElements.push(fp.secondInput); | |
| 55 | + fp._input.removeAttribute("readonly"); | |
| 56 | + fp.secondInput.removeAttribute("readonly"); | |
| 57 | + | |
| 58 | + fp._bind(fp._input, "focus", function (e) { | |
| 59 | + fp.latestSelectedDateObj = fp.selectedDates[0]; | |
| 60 | + fp._setHoursFromDate(fp.selectedDates[0]); | |
| 61 | + var _ref2 = [true, false]; | |
| 62 | + fp._firstInputFocused = _ref2[0]; | |
| 63 | + fp._secondInputFocused = _ref2[1]; | |
| 64 | + | |
| 65 | + fp.jumpToDate(fp.selectedDates[0]); | |
| 66 | + }); | |
| 67 | + | |
| 68 | + fp._bind(fp._input, "keydown", function (e) { | |
| 69 | + if (e.key === "Enter") fp.setDate([fp._input.value, fp.selectedDates[1]], true, dateFormat); | |
| 70 | + }); | |
| 71 | + | |
| 72 | + fp.setDate(fp.selectedDates); | |
| 73 | + }, | |
| 74 | + onChange: function onChange() { | |
| 75 | + if (!fp.selectedDates.length) { | |
| 76 | + setTimeout(function () { | |
| 77 | + if (fp.selectedDates.length) return; | |
| 78 | + | |
| 79 | + fp.secondInput.value = ""; | |
| 80 | + fp._prevDates = []; | |
| 81 | + }, 10); | |
| 82 | + } | |
| 83 | + }, | |
| 84 | + onDestroy: function onDestroy() { | |
| 85 | + if (!config.input) fp.secondInput.parentNode.removeChild(fp.secondInput); | |
| 86 | + delete fp._prevDates; | |
| 87 | + delete fp._firstInputFocused; | |
| 88 | + delete fp._secondInputFocused; | |
| 89 | + }, | |
| 90 | + onValueUpdate: function onValueUpdate(selDates, dateStr) { | |
| 91 | + if (!fp.secondInput) return; | |
| 92 | + | |
| 93 | + fp._prevDates = !fp._prevDates || selDates.length >= fp._prevDates.length ? selDates.map(function (d) { | |
| 94 | + return d; | |
| 95 | + }) // copy | |
| 96 | + : fp._prevDates; | |
| 97 | + | |
| 98 | + if (fp._prevDates.length > selDates.length) { | |
| 99 | + var newSelectedDate = selDates[0]; | |
| 100 | + | |
| 101 | + if (fp._firstInputFocused) fp.setDate([newSelectedDate, fp._prevDates[1]]);else if (fp._secondInputFocused) fp.setDate([fp._prevDates[0], newSelectedDate]); | |
| 102 | + } | |
| 103 | + | |
| 104 | + var _fp$selectedDates$map = fp.selectedDates.map(function (d) { | |
| 105 | + return fp.formatDate(d, dateFormat); | |
| 106 | + }); | |
| 107 | + | |
| 108 | + var _fp$selectedDates$map2 = _slicedToArray(_fp$selectedDates$map, 2); | |
| 109 | + | |
| 110 | + var _fp$selectedDates$map3 = _fp$selectedDates$map2[0]; | |
| 111 | + fp._input.value = _fp$selectedDates$map3 === undefined ? "" : _fp$selectedDates$map3; | |
| 112 | + var _fp$selectedDates$map4 = _fp$selectedDates$map2[1]; | |
| 113 | + fp.secondInput.value = _fp$selectedDates$map4 === undefined ? "" : _fp$selectedDates$map4; | |
| 114 | + } | |
| 115 | + }; | |
| 116 | + }; | |
| 117 | +} | |
| 118 | + | |
| 119 | +if (typeof module !== "undefined") module.exports = rangePlugin; | |
| 0 | 120 | \ No newline at end of file | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/flatpickr/plugins/weekSelect/weekSelect.js
0 → 100644
| 1 | +function weekSelectPlugin(pluginConfig) { | |
| 2 | + return function (fp) { | |
| 3 | + function onDayHover(event) { | |
| 4 | + if (!event.target.classList.contains("flatpickr-day")) return; | |
| 5 | + | |
| 6 | + var days = event.target.parentNode.childNodes; | |
| 7 | + var dayIndex = event.target.$i; | |
| 8 | + | |
| 9 | + var dayIndSeven = dayIndex / 7; | |
| 10 | + var weekStartDay = days[7 * Math.floor(dayIndSeven)].dateObj; | |
| 11 | + var weekEndDay = days[7 * Math.ceil(dayIndSeven + 0.01) - 1].dateObj; | |
| 12 | + | |
| 13 | + for (var i = days.length; i--;) { | |
| 14 | + var date = days[i].dateObj; | |
| 15 | + if (date > weekEndDay || date < weekStartDay) days[i].classList.remove("inRange");else days[i].classList.add("inRange"); | |
| 16 | + } | |
| 17 | + } | |
| 18 | + | |
| 19 | + function highlightWeek() { | |
| 20 | + if (fp.selectedDateElem) { | |
| 21 | + fp.weekStartDay = fp.days.childNodes[7 * Math.floor(fp.selectedDateElem.$i / 7)].dateObj; | |
| 22 | + fp.weekEndDay = fp.days.childNodes[7 * Math.ceil(fp.selectedDateElem.$i / 7 + 0.01) - 1].dateObj; | |
| 23 | + } | |
| 24 | + var days = fp.days.childNodes; | |
| 25 | + for (var i = days.length; i--;) { | |
| 26 | + var date = days[i].dateObj; | |
| 27 | + if (date >= fp.weekStartDay && date <= fp.weekEndDay) days[i].classList.add("week", "selected"); | |
| 28 | + } | |
| 29 | + } | |
| 30 | + | |
| 31 | + function clearHover() { | |
| 32 | + var days = fp.days.childNodes; | |
| 33 | + for (var i = days.length; i--;) { | |
| 34 | + days[i].classList.remove("inRange"); | |
| 35 | + } | |
| 36 | + } | |
| 37 | + | |
| 38 | + function onReady() { | |
| 39 | + fp.days.parentNode.addEventListener("mouseover", onDayHover); | |
| 40 | + } | |
| 41 | + | |
| 42 | + return { | |
| 43 | + onChange: highlightWeek, | |
| 44 | + onMonthChange: function onMonthChange() { | |
| 45 | + return fp._.afterDayAnim(highlightWeek); | |
| 46 | + }, | |
| 47 | + onClose: clearHover, | |
| 48 | + onParseConfig: function onParseConfig() { | |
| 49 | + fp.config.mode = "single"; | |
| 50 | + fp.config.enableTime = false; | |
| 51 | + fp.config.dateFormat = "\\W\\e\\e\\k #W, Y"; | |
| 52 | + fp.config.altFormat = "\\W\\e\\e\\k #W, Y"; | |
| 53 | + }, | |
| 54 | + onReady: [onReady, highlightWeek] | |
| 55 | + }; | |
| 56 | + }; | |
| 57 | +} | |
| 58 | + | |
| 59 | +if (typeof module !== "undefined") module.exports = weekSelectPlugin; | |
| 0 | 60 | \ No newline at end of file | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/flatpickr/rtl/flatpickr.min.css
0 → 100644
| 1 | +.flatpickr-calendar{background:transparent;overflow:hidden;max-height:0;opacity:0;visibility:hidden;text-align:center;padding:0;animation:none;direction:rtl;border:0;font-size:14px;line-height:24px;border-radius:5px;position:absolute;width:315px;box-sizing:border-box;background:#fff;box-shadow:-1px 0 0 #e6e6e6,1px 0 0 #e6e6e6,0 1px 0 #e6e6e6,0 -1px 0 #e6e6e6,0 3px 13px rgba(0,0,0,0.08);}.flatpickr-calendar.open,.flatpickr-calendar.inline{opacity:1;visibility:visible;overflow:visible;max-height:640px}.flatpickr-calendar.open{display:inline-block;z-index:99999}.flatpickr-calendar.animate.open{animation:flatpickrFadeInDown 300ms cubic-bezier(.23,1,.32,1)}.flatpickr-calendar.inline{display:block;position:relative;top:2px}.flatpickr-calendar.static{position:absolute;top:calc(100% + 2px);}.flatpickr-calendar.static.open{z-index:999;display:block}.flatpickr-calendar.hasWeeks{width:auto}.flatpickr-calendar .hasWeeks .dayContainer,.flatpickr-calendar .hasTime .dayContainer{border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.flatpickr-calendar .hasWeeks .dayContainer{border-right:0}.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time{height:40px;border-top:1px solid #e6e6e6}.flatpickr-calendar.noCalendar.hasTime .flatpickr-time{height:auto}.flatpickr-calendar:before,.flatpickr-calendar:after{position:absolute;display:block;pointer-events:none;border:solid transparent;content:'';height:0;width:0;right:22px}.flatpickr-calendar.rightMost:before,.flatpickr-calendar.rightMost:after{right:auto;left:22px}.flatpickr-calendar:before{border-width:5px;margin:0 -5px}.flatpickr-calendar:after{border-width:4px;margin:0 -4px}.flatpickr-calendar.arrowTop:before,.flatpickr-calendar.arrowTop:after{bottom:100%}.flatpickr-calendar.arrowTop:before{border-bottom-color:#e6e6e6}.flatpickr-calendar.arrowTop:after{border-bottom-color:#fff}.flatpickr-calendar.arrowBottom:before,.flatpickr-calendar.arrowBottom:after{top:100%}.flatpickr-calendar.arrowBottom:before{border-top-color:#e6e6e6}.flatpickr-calendar.arrowBottom:after{border-top-color:#fff}.flatpickr-calendar:focus{outline:0}.flatpickr-wrapper{position:relative;display:inline-block}.flatpickr-month{background:transparent;color:rgba(0,0,0,0.9);fill:rgba(0,0,0,0.9);height:28px;line-height:24px;text-align:center;position:relative;user-select:none;overflow:hidden}.flatpickr-prev-month,.flatpickr-next-month{text-decoration:none;cursor:pointer;position:absolute;top:0;height:28px;line-height:16px;padding:10px calc(3.57% - 1.5px);}.flatpickr-prev-month i,.flatpickr-next-month i{position:relative}.flatpickr-prev-month.flatpickr-prev-month,.flatpickr-next-month.flatpickr-prev-month{/* | |
| 2 | + /*rtl:begin:ignore*/right:0;/* | |
| 3 | + /*rtl:end:ignore*/}/* | |
| 4 | + /*rtl:begin:ignore*/ | |
| 5 | +/* | |
| 6 | + /*rtl:end:ignore*/ | |
| 7 | +.flatpickr-prev-month.flatpickr-next-month,.flatpickr-next-month.flatpickr-next-month{/* | |
| 8 | + /*rtl:begin:ignore*/left:0;/* | |
| 9 | + /*rtl:end:ignore*/}/* | |
| 10 | + /*rtl:begin:ignore*/ | |
| 11 | +/* | |
| 12 | + /*rtl:end:ignore*/ | |
| 13 | +.flatpickr-prev-month:hover,.flatpickr-next-month:hover{color:#959ea9;}.flatpickr-prev-month:hover svg,.flatpickr-next-month:hover svg{fill:#f64747}.flatpickr-prev-month svg,.flatpickr-next-month svg{width:14px;}.flatpickr-prev-month svg path,.flatpickr-next-month svg path{transition:fill .1s;fill:inherit}.numInputWrapper{position:relative;height:auto;}.numInputWrapper input,.numInputWrapper span{display:inline-block}.numInputWrapper input{width:100%}.numInputWrapper span{position:absolute;left:0;width:14px;padding:0 2px 0 4px;height:50%;line-height:50%;opacity:0;cursor:pointer;border:1px solid rgba(57,57,57,0.05);box-sizing:border-box;}.numInputWrapper span:hover{background:rgba(0,0,0,0.1)}.numInputWrapper span:active{background:rgba(0,0,0,0.2)}.numInputWrapper span:after{display:block;content:"";position:absolute;top:33%}.numInputWrapper span.arrowUp{top:0;border-bottom:0;}.numInputWrapper span.arrowUp:after{border-right:4px solid transparent;border-left:4px solid transparent;border-bottom:4px solid rgba(57,57,57,0.6)}.numInputWrapper span.arrowDown{top:50%;}.numInputWrapper span.arrowDown:after{border-right:4px solid transparent;border-left:4px solid transparent;border-top:4px solid rgba(57,57,57,0.6)}.numInputWrapper span svg{width:inherit;height:auto;}.numInputWrapper span svg path{fill:rgba(0,0,0,0.5)}.numInputWrapper:hover{background:rgba(0,0,0,0.05);}.numInputWrapper:hover span{opacity:1}.flatpickr-current-month{font-size:135%;line-height:inherit;font-weight:300;color:inherit;position:absolute;width:75%;right:12.5%;top:5px;display:inline-block;text-align:center;transform:translate(0,0);}.flatpickr-current-month.slideLeft{transform:translate(100%,0);animation:fadeOut 400ms ease,slideLeft 400ms cubic-bezier(.23,1,.32,1)}.flatpickr-current-month.slideLeftNew{transform:translate(-100%,0);animation:fadeIn 400ms ease,slideLeftNew 400ms cubic-bezier(.23,1,.32,1)}.flatpickr-current-month.slideRight{transform:translate(-100%,0);animation:fadeOut 400ms ease,slideRight 400ms cubic-bezier(.23,1,.32,1)}.flatpickr-current-month.slideRightNew{transform:translate(0,0);animation:fadeIn 400ms ease,slideRightNew 400ms cubic-bezier(.23,1,.32,1)}.flatpickr-current-month span.cur-month{font-family:inherit;font-weight:700;color:inherit;display:inline-block;margin-right:7px;padding:0;}.flatpickr-current-month span.cur-month:hover{background:rgba(0,0,0,0.05)}.flatpickr-current-month .numInputWrapper{width:6ch;width:7ch\0;display:inline-block;}.flatpickr-current-month .numInputWrapper span.arrowUp:after{border-bottom-color:rgba(0,0,0,0.9)}.flatpickr-current-month .numInputWrapper span.arrowDown:after{border-top-color:rgba(0,0,0,0.9)}.flatpickr-current-month input.cur-year{background:transparent;box-sizing:border-box;color:inherit;cursor:default;padding:0 .5ch 0 0;margin:0;display:inline;font-size:inherit;font-family:inherit;font-weight:300;line-height:inherit;height:initial;border:0;border-radius:0;vertical-align:initial;}.flatpickr-current-month input.cur-year:focus{outline:0}.flatpickr-current-month input.cur-year[disabled],.flatpickr-current-month input.cur-year[disabled]:hover{font-size:100%;color:rgba(0,0,0,0.5);background:transparent;pointer-events:none}.flatpickr-weekdays{background:transparent;text-align:center;overflow:hidden;width:315px;display:flex;align-items:center;height:28px}span.flatpickr-weekday{cursor:default;font-size:90%;color:rgba(0,0,0,0.54);line-height:1;margin:0;background:transparent;text-align:center;display:block;flex:1;font-weight:bolder;margin:0}.dayContainer,.flatpickr-weeks{padding:1px 0 0 0}.flatpickr-days{position:relative;overflow:hidden;display:flex;width:315px;}.flatpickr-days:focus{outline:0}.dayContainer{padding:0;outline:0;text-align:right;width:315px;min-width:315px;max-width:315px;box-sizing:border-box;display:inline-block;display:-ms-flexbox;display:flex;flex-wrap:wrap;-ms-flex-wrap:wrap;-ms-flex-pack:justify;justify-content:space-around;transform:translate(0,0);opacity:1}.flatpickr-calendar.animate .dayContainer.slideLeft{animation:fadeOut 400ms cubic-bezier(.23,1,.32,1),slideLeft 400ms cubic-bezier(.23,1,.32,1)}.flatpickr-calendar.animate .dayContainer.slideLeft,.flatpickr-calendar.animate .dayContainer.slideLeftNew{transform:translate(100%,0)}.flatpickr-calendar.animate .dayContainer.slideLeftNew{animation:fadeIn 400ms cubic-bezier(.23,1,.32,1),slideLeft 400ms cubic-bezier(.23,1,.32,1)}.flatpickr-calendar.animate .dayContainer.slideRight{animation:fadeOut 400ms cubic-bezier(.23,1,.32,1),slideRight 400ms cubic-bezier(.23,1,.32,1);transform:translate(-100%,0)}.flatpickr-calendar.animate .dayContainer.slideRightNew{animation:fadeIn 400ms cubic-bezier(.23,1,.32,1),slideRightNew 400ms cubic-bezier(.23,1,.32,1)}.flatpickr-day{background:none;border:1px solid transparent;border-radius:150px;box-sizing:border-box;color:#393939;cursor:pointer;font-weight:400;width:14.2857143%;flex-basis:14.2857143%;max-width:40px;height:40px;line-height:40px;margin:0;display:inline-block;position:relative;justify-content:center;text-align:center;}.flatpickr-day.inRange,.flatpickr-day.prevMonthDay.inRange,.flatpickr-day.nextMonthDay.inRange,.flatpickr-day.today.inRange,.flatpickr-day.prevMonthDay.today.inRange,.flatpickr-day.nextMonthDay.today.inRange,.flatpickr-day:hover,.flatpickr-day.prevMonthDay:hover,.flatpickr-day.nextMonthDay:hover,.flatpickr-day:focus,.flatpickr-day.prevMonthDay:focus,.flatpickr-day.nextMonthDay:focus{cursor:pointer;outline:0;background:#e6e6e6;border-color:#e6e6e6}.flatpickr-day.today{border-color:#959ea9;}.flatpickr-day.today:hover,.flatpickr-day.today:focus{border-color:#959ea9;background:#959ea9;color:#fff}.flatpickr-day.selected,.flatpickr-day.startRange,.flatpickr-day.endRange,.flatpickr-day.selected.inRange,.flatpickr-day.startRange.inRange,.flatpickr-day.endRange.inRange,.flatpickr-day.selected:focus,.flatpickr-day.startRange:focus,.flatpickr-day.endRange:focus,.flatpickr-day.selected:hover,.flatpickr-day.startRange:hover,.flatpickr-day.endRange:hover,.flatpickr-day.selected.prevMonthDay,.flatpickr-day.startRange.prevMonthDay,.flatpickr-day.endRange.prevMonthDay,.flatpickr-day.selected.nextMonthDay,.flatpickr-day.startRange.nextMonthDay,.flatpickr-day.endRange.nextMonthDay{background:#569ff7;box-shadow:none;color:#fff;border-color:#569ff7}.flatpickr-day.selected.startRange,.flatpickr-day.startRange.startRange,.flatpickr-day.endRange.startRange{border-radius:0 50px 50px 0}.flatpickr-day.selected.endRange,.flatpickr-day.startRange.endRange,.flatpickr-day.endRange.endRange{border-radius:50px 0 0 50px}.flatpickr-day.selected.startRange + .endRange,.flatpickr-day.startRange.startRange + .endRange,.flatpickr-day.endRange.startRange + .endRange{box-shadow:10px 0 0 #569ff7}.flatpickr-day.selected.startRange.endRange,.flatpickr-day.startRange.startRange.endRange,.flatpickr-day.endRange.startRange.endRange{border-radius:50px}.flatpickr-day.inRange{border-radius:0;box-shadow:5px 0 0 #e6e6e6,-5px 0 0 #e6e6e6}.flatpickr-day.disabled,.flatpickr-day.disabled:hover{pointer-events:none}.flatpickr-day.disabled,.flatpickr-day.disabled:hover,.flatpickr-day.prevMonthDay,.flatpickr-day.nextMonthDay,.flatpickr-day.notAllowed,.flatpickr-day.notAllowed.prevMonthDay,.flatpickr-day.notAllowed.nextMonthDay{color:rgba(57,57,57,0.3);background:transparent;border-color:transparent;cursor:default}.rangeMode .flatpickr-day{margin-top:1px}.flatpickr-weekwrapper{display:inline-block;float:right;}.flatpickr-weekwrapper .flatpickr-weeks{padding:1px 12px 0 12px;box-shadow:-1px 0 0 #e6e6e6}.flatpickr-weekwrapper .flatpickr-weekday{float:none;width:100%}.flatpickr-weekwrapper span.flatpickr-day{display:block;width:100%;max-width:none}.flatpickr-innerContainer{display:block;display:flex;box-sizing:border-box;overflow:hidden;}.flatpickr-rContainer{display:inline-block;padding:0;box-sizing:border-box}.flatpickr-time{text-align:center;outline:0;display:block;height:0;line-height:40px;max-height:40px;box-sizing:border-box;overflow:hidden;display:flex;}.flatpickr-time:after{content:"";display:table;clear:both}.flatpickr-time .numInputWrapper{flex:1;width:40%;height:40px;float:right;}.flatpickr-time .numInputWrapper span.arrowUp:after{border-bottom-color:#393939}.flatpickr-time .numInputWrapper span.arrowDown:after{border-top-color:#393939}.flatpickr-time.hasSeconds .numInputWrapper{width:26%}.flatpickr-time.time24hr .numInputWrapper{width:49%}.flatpickr-time input{background:transparent;box-shadow:none;border:0;border-radius:0;text-align:center;margin:0;padding:0;height:inherit;line-height:inherit;cursor:pointer;color:#393939;font-size:14px;position:relative;box-sizing:border-box;}.flatpickr-time input.flatpickr-hour{font-weight:bold}.flatpickr-time input.flatpickr-minute,.flatpickr-time input.flatpickr-second{font-weight:400}.flatpickr-time input:focus{outline:0;border:0}.flatpickr-time .flatpickr-time-separator,.flatpickr-time .flatpickr-am-pm{height:inherit;display:inline-block;float:right;line-height:inherit;color:#393939;font-weight:bold;width:2%;user-select:none}.flatpickr-time .flatpickr-am-pm{outline:0;width:18%;cursor:pointer;text-align:center;font-weight:400;}.flatpickr-time .flatpickr-am-pm:hover,.flatpickr-time .flatpickr-am-pm:focus{background:#f0f0f0}@media all and (-ms-high-contrast:none){.flatpickr-month{padding:0;}.flatpickr-month svg{top:0 !important}}.flatpickr-input[readonly]{cursor:pointer}@-moz-keyframes flatpickrFadeInDown{from{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translate3d(0,0,0)}}@-webkit-keyframes flatpickrFadeInDown{from{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translate3d(0,0,0)}}@-o-keyframes flatpickrFadeInDown{from{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translate3d(0,0,0)}}@keyframes flatpickrFadeInDown{from{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translate3d(0,0,0)}}@-moz-keyframes slideLeft{from{transform:translate(0,0)}to{transform:translate(100%,0)}}@-webkit-keyframes slideLeft{from{transform:translate(0,0)}to{transform:translate(100%,0)}}@-o-keyframes slideLeft{from{transform:translate(0,0)}to{transform:translate(100%,0)}}@keyframes slideLeft{from{transform:translate(0,0)}to{transform:translate(100%,0)}}@-moz-keyframes slideLeftNew{from{transform:translate(-100%,0)}to{transform:translate(0,0)}}@-webkit-keyframes slideLeftNew{from{transform:translate(-100%,0)}to{transform:translate(0,0)}}@-o-keyframes slideLeftNew{from{transform:translate(-100%,0)}to{transform:translate(0,0)}}@keyframes slideLeftNew{from{transform:translate(-100%,0)}to{transform:translate(0,0)}}@-moz-keyframes slideRight{from{transform:translate(0,0)}to{transform:translate(-100%,0)}}@-webkit-keyframes slideRight{from{transform:translate(0,0)}to{transform:translate(-100%,0)}}@-o-keyframes slideRight{from{transform:translate(0,0)}to{transform:translate(-100%,0)}}@keyframes slideRight{from{transform:translate(0,0)}to{transform:translate(-100%,0)}}@-moz-keyframes slideRightNew{from{transform:translate(100%,0)}to{transform:translate(0,0)}}@-webkit-keyframes slideRightNew{from{transform:translate(100%,0)}to{transform:translate(0,0)}}@-o-keyframes slideRightNew{from{transform:translate(100%,0)}to{transform:translate(0,0)}}@keyframes slideRightNew{from{transform:translate(100%,0)}to{transform:translate(0,0)}}@-moz-keyframes fadeOut{from{opacity:1}to{opacity:0}}@-webkit-keyframes fadeOut{from{opacity:1}to{opacity:0}}@-o-keyframes fadeOut{from{opacity:1}to{opacity:0}}@keyframes fadeOut{from{opacity:1}to{opacity:0}}@-moz-keyframes fadeIn{from{opacity:0}to{opacity:1}}@-webkit-keyframes fadeIn{from{opacity:0}to{opacity:1}}@-o-keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeIn{from{opacity:0}to{opacity:1}} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/flatpickr/rtl/themes/airbnb.rtl.css
0 → 100644
| 1 | +.flatpickr-calendar { | |
| 2 | + background: transparent; | |
| 3 | + overflow: hidden; | |
| 4 | + max-height: 0; | |
| 5 | + opacity: 0; | |
| 6 | + visibility: hidden; | |
| 7 | + text-align: center; | |
| 8 | + padding: 0; | |
| 9 | + animation: none; | |
| 10 | + direction: rtl; | |
| 11 | + border: 0; | |
| 12 | + font-size: 14px; | |
| 13 | + line-height: 24px; | |
| 14 | + border-radius: 5px; | |
| 15 | + position: absolute; | |
| 16 | + width: 315px; | |
| 17 | + box-sizing: border-box; | |
| 18 | + background: #fff; | |
| 19 | + box-shadow: -1px 0 0 #eee, 1px 0 0 #eee, 0 1px 0 #eee, 0 -1px 0 #eee, 0 3px 13px rgba(0,0,0,0.08); | |
| 20 | +} | |
| 21 | +.flatpickr-calendar.open, | |
| 22 | +.flatpickr-calendar.inline { | |
| 23 | + opacity: 1; | |
| 24 | + visibility: visible; | |
| 25 | + overflow: visible; | |
| 26 | + max-height: 640px; | |
| 27 | +} | |
| 28 | +.flatpickr-calendar.open { | |
| 29 | + display: inline-block; | |
| 30 | + z-index: 99999; | |
| 31 | +} | |
| 32 | +.flatpickr-calendar.animate.open { | |
| 33 | + animation: flatpickrFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 34 | +} | |
| 35 | +.flatpickr-calendar.inline { | |
| 36 | + display: block; | |
| 37 | + position: relative; | |
| 38 | + top: 2px; | |
| 39 | +} | |
| 40 | +.flatpickr-calendar.static { | |
| 41 | + position: absolute; | |
| 42 | + top: calc(100% + 2px); | |
| 43 | +} | |
| 44 | +.flatpickr-calendar.static.open { | |
| 45 | + z-index: 999; | |
| 46 | + display: block; | |
| 47 | +} | |
| 48 | +.flatpickr-calendar.hasWeeks { | |
| 49 | + width: auto; | |
| 50 | +} | |
| 51 | +.flatpickr-calendar .hasWeeks .dayContainer, | |
| 52 | +.flatpickr-calendar .hasTime .dayContainer { | |
| 53 | + border-bottom: 0; | |
| 54 | + border-bottom-left-radius: 0; | |
| 55 | + border-bottom-right-radius: 0; | |
| 56 | +} | |
| 57 | +.flatpickr-calendar .hasWeeks .dayContainer { | |
| 58 | + border-right: 0; | |
| 59 | +} | |
| 60 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time { | |
| 61 | + height: 40px; | |
| 62 | + border-top: 1px solid #eee; | |
| 63 | +} | |
| 64 | +.flatpickr-calendar.noCalendar.hasTime .flatpickr-time { | |
| 65 | + height: auto; | |
| 66 | +} | |
| 67 | +.flatpickr-calendar:before, | |
| 68 | +.flatpickr-calendar:after { | |
| 69 | + position: absolute; | |
| 70 | + display: block; | |
| 71 | + pointer-events: none; | |
| 72 | + border: solid transparent; | |
| 73 | + content: ''; | |
| 74 | + height: 0; | |
| 75 | + width: 0; | |
| 76 | + right: 22px; | |
| 77 | +} | |
| 78 | +.flatpickr-calendar.rightMost:before, | |
| 79 | +.flatpickr-calendar.rightMost:after { | |
| 80 | + right: auto; | |
| 81 | + left: 22px; | |
| 82 | +} | |
| 83 | +.flatpickr-calendar:before { | |
| 84 | + border-width: 5px; | |
| 85 | + margin: 0 -5px; | |
| 86 | +} | |
| 87 | +.flatpickr-calendar:after { | |
| 88 | + border-width: 4px; | |
| 89 | + margin: 0 -4px; | |
| 90 | +} | |
| 91 | +.flatpickr-calendar.arrowTop:before, | |
| 92 | +.flatpickr-calendar.arrowTop:after { | |
| 93 | + bottom: 100%; | |
| 94 | +} | |
| 95 | +.flatpickr-calendar.arrowTop:before { | |
| 96 | + border-bottom-color: #eee; | |
| 97 | +} | |
| 98 | +.flatpickr-calendar.arrowTop:after { | |
| 99 | + border-bottom-color: #fff; | |
| 100 | +} | |
| 101 | +.flatpickr-calendar.arrowBottom:before, | |
| 102 | +.flatpickr-calendar.arrowBottom:after { | |
| 103 | + top: 100%; | |
| 104 | +} | |
| 105 | +.flatpickr-calendar.arrowBottom:before { | |
| 106 | + border-top-color: #eee; | |
| 107 | +} | |
| 108 | +.flatpickr-calendar.arrowBottom:after { | |
| 109 | + border-top-color: #fff; | |
| 110 | +} | |
| 111 | +.flatpickr-calendar:focus { | |
| 112 | + outline: 0; | |
| 113 | +} | |
| 114 | +.flatpickr-wrapper { | |
| 115 | + position: relative; | |
| 116 | + display: inline-block; | |
| 117 | +} | |
| 118 | +.flatpickr-month { | |
| 119 | + background: transparent; | |
| 120 | + color: #3c3f40; | |
| 121 | + fill: #3c3f40; | |
| 122 | + height: 28px; | |
| 123 | + line-height: 24px; | |
| 124 | + text-align: center; | |
| 125 | + position: relative; | |
| 126 | + user-select: none; | |
| 127 | + overflow: hidden; | |
| 128 | +} | |
| 129 | +.flatpickr-prev-month, | |
| 130 | +.flatpickr-next-month { | |
| 131 | + text-decoration: none; | |
| 132 | + cursor: pointer; | |
| 133 | + position: absolute; | |
| 134 | + top: 0px; | |
| 135 | + height: 28px; | |
| 136 | + line-height: 16px; | |
| 137 | + padding: 10px calc(3.57% - 1.5px); | |
| 138 | +} | |
| 139 | +.flatpickr-prev-month i, | |
| 140 | +.flatpickr-next-month i { | |
| 141 | + position: relative; | |
| 142 | +} | |
| 143 | +.flatpickr-prev-month.flatpickr-prev-month, | |
| 144 | +.flatpickr-next-month.flatpickr-prev-month { | |
| 145 | +/* | |
| 146 | + /*rtl:begin:ignore*/ | |
| 147 | +/* | |
| 148 | + */ | |
| 149 | + right: 0; | |
| 150 | +/* | |
| 151 | + /*rtl:end:ignore*/ | |
| 152 | +/* | |
| 153 | + */ | |
| 154 | +} | |
| 155 | +/* | |
| 156 | + /*rtl:begin:ignore*/ | |
| 157 | +/* | |
| 158 | + /*rtl:end:ignore*/ | |
| 159 | +.flatpickr-prev-month.flatpickr-next-month, | |
| 160 | +.flatpickr-next-month.flatpickr-next-month { | |
| 161 | +/* | |
| 162 | + /*rtl:begin:ignore*/ | |
| 163 | +/* | |
| 164 | + */ | |
| 165 | + left: 0; | |
| 166 | +/* | |
| 167 | + /*rtl:end:ignore*/ | |
| 168 | +/* | |
| 169 | + */ | |
| 170 | +} | |
| 171 | +/* | |
| 172 | + /*rtl:begin:ignore*/ | |
| 173 | +/* | |
| 174 | + /*rtl:end:ignore*/ | |
| 175 | +.flatpickr-prev-month:hover, | |
| 176 | +.flatpickr-next-month:hover { | |
| 177 | + color: #f64747; | |
| 178 | +} | |
| 179 | +.flatpickr-prev-month:hover svg, | |
| 180 | +.flatpickr-next-month:hover svg { | |
| 181 | + fill: #f64747; | |
| 182 | +} | |
| 183 | +.flatpickr-prev-month svg, | |
| 184 | +.flatpickr-next-month svg { | |
| 185 | + width: 14px; | |
| 186 | +} | |
| 187 | +.flatpickr-prev-month svg path, | |
| 188 | +.flatpickr-next-month svg path { | |
| 189 | + transition: fill 0.1s; | |
| 190 | + fill: inherit; | |
| 191 | +} | |
| 192 | +.numInputWrapper { | |
| 193 | + position: relative; | |
| 194 | + height: auto; | |
| 195 | +} | |
| 196 | +.numInputWrapper input, | |
| 197 | +.numInputWrapper span { | |
| 198 | + display: inline-block; | |
| 199 | +} | |
| 200 | +.numInputWrapper input { | |
| 201 | + width: 100%; | |
| 202 | +} | |
| 203 | +.numInputWrapper span { | |
| 204 | + position: absolute; | |
| 205 | + left: 0; | |
| 206 | + width: 14px; | |
| 207 | + padding: 0 2px 0 4px; | |
| 208 | + height: 50%; | |
| 209 | + line-height: 50%; | |
| 210 | + opacity: 0; | |
| 211 | + cursor: pointer; | |
| 212 | + border: 1px solid rgba(64,72,72,0.05); | |
| 213 | + box-sizing: border-box; | |
| 214 | +} | |
| 215 | +.numInputWrapper span:hover { | |
| 216 | + background: rgba(0,0,0,0.1); | |
| 217 | +} | |
| 218 | +.numInputWrapper span:active { | |
| 219 | + background: rgba(0,0,0,0.2); | |
| 220 | +} | |
| 221 | +.numInputWrapper span:after { | |
| 222 | + display: block; | |
| 223 | + content: ""; | |
| 224 | + position: absolute; | |
| 225 | + top: 33%; | |
| 226 | +} | |
| 227 | +.numInputWrapper span.arrowUp { | |
| 228 | + top: 0; | |
| 229 | + border-bottom: 0; | |
| 230 | +} | |
| 231 | +.numInputWrapper span.arrowUp:after { | |
| 232 | + border-right: 4px solid transparent; | |
| 233 | + border-left: 4px solid transparent; | |
| 234 | + border-bottom: 4px solid rgba(64,72,72,0.6); | |
| 235 | +} | |
| 236 | +.numInputWrapper span.arrowDown { | |
| 237 | + top: 50%; | |
| 238 | +} | |
| 239 | +.numInputWrapper span.arrowDown:after { | |
| 240 | + border-right: 4px solid transparent; | |
| 241 | + border-left: 4px solid transparent; | |
| 242 | + border-top: 4px solid rgba(64,72,72,0.6); | |
| 243 | +} | |
| 244 | +.numInputWrapper span svg { | |
| 245 | + width: inherit; | |
| 246 | + height: auto; | |
| 247 | +} | |
| 248 | +.numInputWrapper span svg path { | |
| 249 | + fill: rgba(60,63,64,0.5); | |
| 250 | +} | |
| 251 | +.numInputWrapper:hover { | |
| 252 | + background: rgba(0,0,0,0.05); | |
| 253 | +} | |
| 254 | +.numInputWrapper:hover span { | |
| 255 | + opacity: 1; | |
| 256 | +} | |
| 257 | +.flatpickr-current-month { | |
| 258 | + font-size: 135%; | |
| 259 | + line-height: inherit; | |
| 260 | + font-weight: 300; | |
| 261 | + color: inherit; | |
| 262 | + position: absolute; | |
| 263 | + width: 75%; | |
| 264 | + right: 12.5%; | |
| 265 | + top: 5px; | |
| 266 | + display: inline-block; | |
| 267 | + text-align: center; | |
| 268 | + transform: translate(0px, 0px); | |
| 269 | +} | |
| 270 | +.flatpickr-current-month.slideLeft { | |
| 271 | + transform: translate(100%, 0px); | |
| 272 | + animation: fadeOut 400ms ease, slideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 273 | +} | |
| 274 | +.flatpickr-current-month.slideLeftNew { | |
| 275 | + transform: translate(-100%, 0px); | |
| 276 | + animation: fadeIn 400ms ease, slideLeftNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 277 | +} | |
| 278 | +.flatpickr-current-month.slideRight { | |
| 279 | + transform: translate(-100%, 0px); | |
| 280 | + animation: fadeOut 400ms ease, slideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 281 | +} | |
| 282 | +.flatpickr-current-month.slideRightNew { | |
| 283 | + transform: translate(0, 0); | |
| 284 | + animation: fadeIn 400ms ease, slideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 285 | +} | |
| 286 | +.flatpickr-current-month span.cur-month { | |
| 287 | + font-family: inherit; | |
| 288 | + font-weight: 700; | |
| 289 | + color: inherit; | |
| 290 | + display: inline-block; | |
| 291 | + margin-right: 7px; | |
| 292 | + padding: 0; | |
| 293 | +} | |
| 294 | +.flatpickr-current-month span.cur-month:hover { | |
| 295 | + background: rgba(0,0,0,0.05); | |
| 296 | +} | |
| 297 | +.flatpickr-current-month .numInputWrapper { | |
| 298 | + width: 6ch; | |
| 299 | + width: 7ch\0; | |
| 300 | + display: inline-block; | |
| 301 | +} | |
| 302 | +.flatpickr-current-month .numInputWrapper span.arrowUp:after { | |
| 303 | + border-bottom-color: #3c3f40; | |
| 304 | +} | |
| 305 | +.flatpickr-current-month .numInputWrapper span.arrowDown:after { | |
| 306 | + border-top-color: #3c3f40; | |
| 307 | +} | |
| 308 | +.flatpickr-current-month input.cur-year { | |
| 309 | + background: transparent; | |
| 310 | + box-sizing: border-box; | |
| 311 | + color: inherit; | |
| 312 | + cursor: default; | |
| 313 | + padding: 0 0.5ch 0 0; | |
| 314 | + margin: 0; | |
| 315 | + display: inline; | |
| 316 | + font-size: inherit; | |
| 317 | + font-family: inherit; | |
| 318 | + font-weight: 300; | |
| 319 | + line-height: inherit; | |
| 320 | + height: initial; | |
| 321 | + border: 0; | |
| 322 | + border-radius: 0; | |
| 323 | + vertical-align: initial; | |
| 324 | +} | |
| 325 | +.flatpickr-current-month input.cur-year:focus { | |
| 326 | + outline: 0; | |
| 327 | +} | |
| 328 | +.flatpickr-current-month input.cur-year[disabled], | |
| 329 | +.flatpickr-current-month input.cur-year[disabled]:hover { | |
| 330 | + font-size: 100%; | |
| 331 | + color: rgba(60,63,64,0.5); | |
| 332 | + background: transparent; | |
| 333 | + pointer-events: none; | |
| 334 | +} | |
| 335 | +.flatpickr-weekdays { | |
| 336 | + background: transparent; | |
| 337 | + text-align: center; | |
| 338 | + overflow: hidden; | |
| 339 | + width: 315px; | |
| 340 | + display: flex; | |
| 341 | + align-items: center; | |
| 342 | + height: 28px; | |
| 343 | +} | |
| 344 | +span.flatpickr-weekday { | |
| 345 | + cursor: default; | |
| 346 | + font-size: 90%; | |
| 347 | + color: rgba(117,117,117,0.54); | |
| 348 | + line-height: 1; | |
| 349 | + margin: 0; | |
| 350 | + background: transparent; | |
| 351 | + text-align: center; | |
| 352 | + display: block; | |
| 353 | + flex: 1; | |
| 354 | + font-weight: bolder; | |
| 355 | + margin: 0; | |
| 356 | +} | |
| 357 | +.dayContainer, | |
| 358 | +.flatpickr-weeks { | |
| 359 | + padding: 1px 0 0 0; | |
| 360 | +} | |
| 361 | +.flatpickr-days { | |
| 362 | + position: relative; | |
| 363 | + overflow: hidden; | |
| 364 | + display: flex; | |
| 365 | + width: 315px; | |
| 366 | +} | |
| 367 | +.flatpickr-days:focus { | |
| 368 | + outline: 0; | |
| 369 | +} | |
| 370 | +.dayContainer { | |
| 371 | + padding: 0; | |
| 372 | + outline: 0; | |
| 373 | + text-align: right; | |
| 374 | + width: 315px; | |
| 375 | + min-width: 315px; | |
| 376 | + max-width: 315px; | |
| 377 | + box-sizing: border-box; | |
| 378 | + display: inline-block; | |
| 379 | + display: -ms-flexbox; | |
| 380 | + display: flex; | |
| 381 | + flex-wrap: wrap; | |
| 382 | + -ms-flex-wrap: wrap; | |
| 383 | + -ms-flex-pack: justify; | |
| 384 | + justify-content: space-around; | |
| 385 | + transform: translate(0px, 0px); | |
| 386 | + opacity: 1; | |
| 387 | +} | |
| 388 | +.flatpickr-calendar.animate .dayContainer.slideLeft { | |
| 389 | + animation: fadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), slideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 390 | +} | |
| 391 | +.flatpickr-calendar.animate .dayContainer.slideLeft, | |
| 392 | +.flatpickr-calendar.animate .dayContainer.slideLeftNew { | |
| 393 | + transform: translate(100%, 0px); | |
| 394 | +} | |
| 395 | +.flatpickr-calendar.animate .dayContainer.slideLeftNew { | |
| 396 | + animation: fadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), slideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 397 | +} | |
| 398 | +.flatpickr-calendar.animate .dayContainer.slideRight { | |
| 399 | + animation: fadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), slideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 400 | + transform: translate(-100%, 0px); | |
| 401 | +} | |
| 402 | +.flatpickr-calendar.animate .dayContainer.slideRightNew { | |
| 403 | + animation: fadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), slideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 404 | +} | |
| 405 | +.flatpickr-day { | |
| 406 | + background: none; | |
| 407 | + border: 1px solid transparent; | |
| 408 | + border-radius: 150px; | |
| 409 | + box-sizing: border-box; | |
| 410 | + color: #404848; | |
| 411 | + cursor: pointer; | |
| 412 | + font-weight: 400; | |
| 413 | + width: 14.2857143%; | |
| 414 | + flex-basis: 14.2857143%; | |
| 415 | + max-width: 40px; | |
| 416 | + height: 40px; | |
| 417 | + line-height: 40px; | |
| 418 | + margin: 0; | |
| 419 | + display: inline-block; | |
| 420 | + position: relative; | |
| 421 | + justify-content: center; | |
| 422 | + text-align: center; | |
| 423 | +} | |
| 424 | +.flatpickr-day.inRange, | |
| 425 | +.flatpickr-day.prevMonthDay.inRange, | |
| 426 | +.flatpickr-day.nextMonthDay.inRange, | |
| 427 | +.flatpickr-day.today.inRange, | |
| 428 | +.flatpickr-day.prevMonthDay.today.inRange, | |
| 429 | +.flatpickr-day.nextMonthDay.today.inRange, | |
| 430 | +.flatpickr-day:hover, | |
| 431 | +.flatpickr-day.prevMonthDay:hover, | |
| 432 | +.flatpickr-day.nextMonthDay:hover, | |
| 433 | +.flatpickr-day:focus, | |
| 434 | +.flatpickr-day.prevMonthDay:focus, | |
| 435 | +.flatpickr-day.nextMonthDay:focus { | |
| 436 | + cursor: pointer; | |
| 437 | + outline: 0; | |
| 438 | + background: #e9e9e9; | |
| 439 | + border-color: #e9e9e9; | |
| 440 | +} | |
| 441 | +.flatpickr-day.today { | |
| 442 | + border-color: #f64747; | |
| 443 | +} | |
| 444 | +.flatpickr-day.today:hover, | |
| 445 | +.flatpickr-day.today:focus { | |
| 446 | + border-color: #f64747; | |
| 447 | + background: #f64747; | |
| 448 | + color: #fff; | |
| 449 | +} | |
| 450 | +.flatpickr-day.selected, | |
| 451 | +.flatpickr-day.startRange, | |
| 452 | +.flatpickr-day.endRange, | |
| 453 | +.flatpickr-day.selected.inRange, | |
| 454 | +.flatpickr-day.startRange.inRange, | |
| 455 | +.flatpickr-day.endRange.inRange, | |
| 456 | +.flatpickr-day.selected:focus, | |
| 457 | +.flatpickr-day.startRange:focus, | |
| 458 | +.flatpickr-day.endRange:focus, | |
| 459 | +.flatpickr-day.selected:hover, | |
| 460 | +.flatpickr-day.startRange:hover, | |
| 461 | +.flatpickr-day.endRange:hover, | |
| 462 | +.flatpickr-day.selected.prevMonthDay, | |
| 463 | +.flatpickr-day.startRange.prevMonthDay, | |
| 464 | +.flatpickr-day.endRange.prevMonthDay, | |
| 465 | +.flatpickr-day.selected.nextMonthDay, | |
| 466 | +.flatpickr-day.startRange.nextMonthDay, | |
| 467 | +.flatpickr-day.endRange.nextMonthDay { | |
| 468 | + background: #4f99ff; | |
| 469 | + box-shadow: none; | |
| 470 | + color: #fff; | |
| 471 | + border-color: #4f99ff; | |
| 472 | +} | |
| 473 | +.flatpickr-day.selected.startRange, | |
| 474 | +.flatpickr-day.startRange.startRange, | |
| 475 | +.flatpickr-day.endRange.startRange { | |
| 476 | + border-radius: 0 50px 50px 0; | |
| 477 | +} | |
| 478 | +.flatpickr-day.selected.endRange, | |
| 479 | +.flatpickr-day.startRange.endRange, | |
| 480 | +.flatpickr-day.endRange.endRange { | |
| 481 | + border-radius: 50px 0 0 50px; | |
| 482 | +} | |
| 483 | +.flatpickr-day.selected.startRange + .endRange, | |
| 484 | +.flatpickr-day.startRange.startRange + .endRange, | |
| 485 | +.flatpickr-day.endRange.startRange + .endRange { | |
| 486 | + box-shadow: 10px 0 0 #4f99ff; | |
| 487 | +} | |
| 488 | +.flatpickr-day.selected.startRange.endRange, | |
| 489 | +.flatpickr-day.startRange.startRange.endRange, | |
| 490 | +.flatpickr-day.endRange.startRange.endRange { | |
| 491 | + border-radius: 50px; | |
| 492 | +} | |
| 493 | +.flatpickr-day.inRange { | |
| 494 | + border-radius: 0; | |
| 495 | + box-shadow: 5px 0 0 #e9e9e9, -5px 0 0 #e9e9e9; | |
| 496 | +} | |
| 497 | +.flatpickr-day.disabled, | |
| 498 | +.flatpickr-day.disabled:hover { | |
| 499 | + pointer-events: none; | |
| 500 | +} | |
| 501 | +.flatpickr-day.disabled, | |
| 502 | +.flatpickr-day.disabled:hover, | |
| 503 | +.flatpickr-day.prevMonthDay, | |
| 504 | +.flatpickr-day.nextMonthDay, | |
| 505 | +.flatpickr-day.notAllowed, | |
| 506 | +.flatpickr-day.notAllowed.prevMonthDay, | |
| 507 | +.flatpickr-day.notAllowed.nextMonthDay { | |
| 508 | + color: rgba(0,0,0,0.15); | |
| 509 | + background: transparent; | |
| 510 | + border-color: #e9e9e9; | |
| 511 | + cursor: default; | |
| 512 | +} | |
| 513 | +.rangeMode .flatpickr-day { | |
| 514 | + margin-top: 1px; | |
| 515 | +} | |
| 516 | +.flatpickr-weekwrapper { | |
| 517 | + display: inline-block; | |
| 518 | + float: right; | |
| 519 | +} | |
| 520 | +.flatpickr-weekwrapper .flatpickr-weeks { | |
| 521 | + padding: 1px 12px 0 12px; | |
| 522 | + box-shadow: -1px 0 0 #eee; | |
| 523 | +} | |
| 524 | +.flatpickr-weekwrapper .flatpickr-weekday { | |
| 525 | + float: none; | |
| 526 | + width: 100%; | |
| 527 | +} | |
| 528 | +.flatpickr-weekwrapper span.flatpickr-day { | |
| 529 | + display: block; | |
| 530 | + width: 100%; | |
| 531 | + max-width: none; | |
| 532 | +} | |
| 533 | +.flatpickr-innerContainer { | |
| 534 | + display: block; | |
| 535 | + display: flex; | |
| 536 | + box-sizing: border-box; | |
| 537 | + overflow: hidden; | |
| 538 | +} | |
| 539 | +.flatpickr-rContainer { | |
| 540 | + display: inline-block; | |
| 541 | + padding: 0; | |
| 542 | + box-sizing: border-box; | |
| 543 | +} | |
| 544 | +.flatpickr-time { | |
| 545 | + text-align: center; | |
| 546 | + outline: 0; | |
| 547 | + display: block; | |
| 548 | + height: 0; | |
| 549 | + line-height: 40px; | |
| 550 | + max-height: 40px; | |
| 551 | + box-sizing: border-box; | |
| 552 | + overflow: hidden; | |
| 553 | + display: flex; | |
| 554 | +} | |
| 555 | +.flatpickr-time:after { | |
| 556 | + content: ""; | |
| 557 | + display: table; | |
| 558 | + clear: both; | |
| 559 | +} | |
| 560 | +.flatpickr-time .numInputWrapper { | |
| 561 | + flex: 1; | |
| 562 | + width: 40%; | |
| 563 | + height: 40px; | |
| 564 | + float: right; | |
| 565 | +} | |
| 566 | +.flatpickr-time .numInputWrapper span.arrowUp:after { | |
| 567 | + border-bottom-color: #404848; | |
| 568 | +} | |
| 569 | +.flatpickr-time .numInputWrapper span.arrowDown:after { | |
| 570 | + border-top-color: #404848; | |
| 571 | +} | |
| 572 | +.flatpickr-time.hasSeconds .numInputWrapper { | |
| 573 | + width: 26%; | |
| 574 | +} | |
| 575 | +.flatpickr-time.time24hr .numInputWrapper { | |
| 576 | + width: 49%; | |
| 577 | +} | |
| 578 | +.flatpickr-time input { | |
| 579 | + background: transparent; | |
| 580 | + box-shadow: none; | |
| 581 | + border: 0; | |
| 582 | + border-radius: 0; | |
| 583 | + text-align: center; | |
| 584 | + margin: 0; | |
| 585 | + padding: 0; | |
| 586 | + height: inherit; | |
| 587 | + line-height: inherit; | |
| 588 | + cursor: pointer; | |
| 589 | + color: #404848; | |
| 590 | + font-size: 14px; | |
| 591 | + position: relative; | |
| 592 | + box-sizing: border-box; | |
| 593 | +} | |
| 594 | +.flatpickr-time input.flatpickr-hour { | |
| 595 | + font-weight: bold; | |
| 596 | +} | |
| 597 | +.flatpickr-time input.flatpickr-minute, | |
| 598 | +.flatpickr-time input.flatpickr-second { | |
| 599 | + font-weight: 400; | |
| 600 | +} | |
| 601 | +.flatpickr-time input:focus { | |
| 602 | + outline: 0; | |
| 603 | + border: 0; | |
| 604 | +} | |
| 605 | +.flatpickr-time .flatpickr-time-separator, | |
| 606 | +.flatpickr-time .flatpickr-am-pm { | |
| 607 | + height: inherit; | |
| 608 | + display: inline-block; | |
| 609 | + float: right; | |
| 610 | + line-height: inherit; | |
| 611 | + color: #404848; | |
| 612 | + font-weight: bold; | |
| 613 | + width: 2%; | |
| 614 | + user-select: none; | |
| 615 | +} | |
| 616 | +.flatpickr-time .flatpickr-am-pm { | |
| 617 | + outline: 0; | |
| 618 | + width: 18%; | |
| 619 | + cursor: pointer; | |
| 620 | + text-align: center; | |
| 621 | + font-weight: 400; | |
| 622 | +} | |
| 623 | +.flatpickr-time .flatpickr-am-pm:hover, | |
| 624 | +.flatpickr-time .flatpickr-am-pm:focus { | |
| 625 | + background: #f3f3f3; | |
| 626 | +} | |
| 627 | +@media all and (-ms-high-contrast: none) { | |
| 628 | + .flatpickr-month { | |
| 629 | + padding: 0; | |
| 630 | + } | |
| 631 | + .flatpickr-month svg { | |
| 632 | + top: 0 !important; | |
| 633 | + } | |
| 634 | +} | |
| 635 | +.flatpickr-input[readonly] { | |
| 636 | + cursor: pointer; | |
| 637 | +} | |
| 638 | +@-moz-keyframes flatpickrFadeInDown { | |
| 639 | + from { | |
| 640 | + opacity: 0; | |
| 641 | + transform: translate3d(0, -20px, 0); | |
| 642 | + } | |
| 643 | + to { | |
| 644 | + opacity: 1; | |
| 645 | + transform: translate3d(0, 0, 0); | |
| 646 | + } | |
| 647 | +} | |
| 648 | +@-webkit-keyframes flatpickrFadeInDown { | |
| 649 | + from { | |
| 650 | + opacity: 0; | |
| 651 | + transform: translate3d(0, -20px, 0); | |
| 652 | + } | |
| 653 | + to { | |
| 654 | + opacity: 1; | |
| 655 | + transform: translate3d(0, 0, 0); | |
| 656 | + } | |
| 657 | +} | |
| 658 | +@-o-keyframes flatpickrFadeInDown { | |
| 659 | + from { | |
| 660 | + opacity: 0; | |
| 661 | + transform: translate3d(0, -20px, 0); | |
| 662 | + } | |
| 663 | + to { | |
| 664 | + opacity: 1; | |
| 665 | + transform: translate3d(0, 0, 0); | |
| 666 | + } | |
| 667 | +} | |
| 668 | +@keyframes flatpickrFadeInDown { | |
| 669 | + from { | |
| 670 | + opacity: 0; | |
| 671 | + transform: translate3d(0, -20px, 0); | |
| 672 | + } | |
| 673 | + to { | |
| 674 | + opacity: 1; | |
| 675 | + transform: translate3d(0, 0, 0); | |
| 676 | + } | |
| 677 | +} | |
| 678 | +@-moz-keyframes slideLeft { | |
| 679 | + from { | |
| 680 | + transform: translate(0px, 0px); | |
| 681 | + } | |
| 682 | + to { | |
| 683 | + transform: translate(100%, 0px); | |
| 684 | + } | |
| 685 | +} | |
| 686 | +@-webkit-keyframes slideLeft { | |
| 687 | + from { | |
| 688 | + transform: translate(0px, 0px); | |
| 689 | + } | |
| 690 | + to { | |
| 691 | + transform: translate(100%, 0px); | |
| 692 | + } | |
| 693 | +} | |
| 694 | +@-o-keyframes slideLeft { | |
| 695 | + from { | |
| 696 | + transform: translate(0px, 0px); | |
| 697 | + } | |
| 698 | + to { | |
| 699 | + transform: translate(100%, 0px); | |
| 700 | + } | |
| 701 | +} | |
| 702 | +@keyframes slideLeft { | |
| 703 | + from { | |
| 704 | + transform: translate(0px, 0px); | |
| 705 | + } | |
| 706 | + to { | |
| 707 | + transform: translate(100%, 0px); | |
| 708 | + } | |
| 709 | +} | |
| 710 | +@-moz-keyframes slideLeftNew { | |
| 711 | + from { | |
| 712 | + transform: translate(-100%, 0px); | |
| 713 | + } | |
| 714 | + to { | |
| 715 | + transform: translate(0px, 0px); | |
| 716 | + } | |
| 717 | +} | |
| 718 | +@-webkit-keyframes slideLeftNew { | |
| 719 | + from { | |
| 720 | + transform: translate(-100%, 0px); | |
| 721 | + } | |
| 722 | + to { | |
| 723 | + transform: translate(0px, 0px); | |
| 724 | + } | |
| 725 | +} | |
| 726 | +@-o-keyframes slideLeftNew { | |
| 727 | + from { | |
| 728 | + transform: translate(-100%, 0px); | |
| 729 | + } | |
| 730 | + to { | |
| 731 | + transform: translate(0px, 0px); | |
| 732 | + } | |
| 733 | +} | |
| 734 | +@keyframes slideLeftNew { | |
| 735 | + from { | |
| 736 | + transform: translate(-100%, 0px); | |
| 737 | + } | |
| 738 | + to { | |
| 739 | + transform: translate(0px, 0px); | |
| 740 | + } | |
| 741 | +} | |
| 742 | +@-moz-keyframes slideRight { | |
| 743 | + from { | |
| 744 | + transform: translate(0, 0); | |
| 745 | + } | |
| 746 | + to { | |
| 747 | + transform: translate(-100%, 0px); | |
| 748 | + } | |
| 749 | +} | |
| 750 | +@-webkit-keyframes slideRight { | |
| 751 | + from { | |
| 752 | + transform: translate(0, 0); | |
| 753 | + } | |
| 754 | + to { | |
| 755 | + transform: translate(-100%, 0px); | |
| 756 | + } | |
| 757 | +} | |
| 758 | +@-o-keyframes slideRight { | |
| 759 | + from { | |
| 760 | + transform: translate(0, 0); | |
| 761 | + } | |
| 762 | + to { | |
| 763 | + transform: translate(-100%, 0px); | |
| 764 | + } | |
| 765 | +} | |
| 766 | +@keyframes slideRight { | |
| 767 | + from { | |
| 768 | + transform: translate(0, 0); | |
| 769 | + } | |
| 770 | + to { | |
| 771 | + transform: translate(-100%, 0px); | |
| 772 | + } | |
| 773 | +} | |
| 774 | +@-moz-keyframes slideRightNew { | |
| 775 | + from { | |
| 776 | + transform: translate(100%, 0); | |
| 777 | + } | |
| 778 | + to { | |
| 779 | + transform: translate(0, 0); | |
| 780 | + } | |
| 781 | +} | |
| 782 | +@-webkit-keyframes slideRightNew { | |
| 783 | + from { | |
| 784 | + transform: translate(100%, 0); | |
| 785 | + } | |
| 786 | + to { | |
| 787 | + transform: translate(0, 0); | |
| 788 | + } | |
| 789 | +} | |
| 790 | +@-o-keyframes slideRightNew { | |
| 791 | + from { | |
| 792 | + transform: translate(100%, 0); | |
| 793 | + } | |
| 794 | + to { | |
| 795 | + transform: translate(0, 0); | |
| 796 | + } | |
| 797 | +} | |
| 798 | +@keyframes slideRightNew { | |
| 799 | + from { | |
| 800 | + transform: translate(100%, 0); | |
| 801 | + } | |
| 802 | + to { | |
| 803 | + transform: translate(0, 0); | |
| 804 | + } | |
| 805 | +} | |
| 806 | +@-moz-keyframes fadeOut { | |
| 807 | + from { | |
| 808 | + opacity: 1; | |
| 809 | + } | |
| 810 | + to { | |
| 811 | + opacity: 0; | |
| 812 | + } | |
| 813 | +} | |
| 814 | +@-webkit-keyframes fadeOut { | |
| 815 | + from { | |
| 816 | + opacity: 1; | |
| 817 | + } | |
| 818 | + to { | |
| 819 | + opacity: 0; | |
| 820 | + } | |
| 821 | +} | |
| 822 | +@-o-keyframes fadeOut { | |
| 823 | + from { | |
| 824 | + opacity: 1; | |
| 825 | + } | |
| 826 | + to { | |
| 827 | + opacity: 0; | |
| 828 | + } | |
| 829 | +} | |
| 830 | +@keyframes fadeOut { | |
| 831 | + from { | |
| 832 | + opacity: 1; | |
| 833 | + } | |
| 834 | + to { | |
| 835 | + opacity: 0; | |
| 836 | + } | |
| 837 | +} | |
| 838 | +@-moz-keyframes fadeIn { | |
| 839 | + from { | |
| 840 | + opacity: 0; | |
| 841 | + } | |
| 842 | + to { | |
| 843 | + opacity: 1; | |
| 844 | + } | |
| 845 | +} | |
| 846 | +@-webkit-keyframes fadeIn { | |
| 847 | + from { | |
| 848 | + opacity: 0; | |
| 849 | + } | |
| 850 | + to { | |
| 851 | + opacity: 1; | |
| 852 | + } | |
| 853 | +} | |
| 854 | +@-o-keyframes fadeIn { | |
| 855 | + from { | |
| 856 | + opacity: 0; | |
| 857 | + } | |
| 858 | + to { | |
| 859 | + opacity: 1; | |
| 860 | + } | |
| 861 | +} | |
| 862 | +@keyframes fadeIn { | |
| 863 | + from { | |
| 864 | + opacity: 0; | |
| 865 | + } | |
| 866 | + to { | |
| 867 | + opacity: 1; | |
| 868 | + } | |
| 869 | +} | |
| 870 | +.flatpickr-calendar { | |
| 871 | + width: 315px; | |
| 872 | +} | |
| 873 | +.dayContainer { | |
| 874 | + padding: 0; | |
| 875 | + border-left: 0; | |
| 876 | +} | |
| 877 | +span.flatpickr-day, | |
| 878 | +span.flatpickr-day.prevMonthDay, | |
| 879 | +span.flatpickr-day.nextMonthDay { | |
| 880 | + border-radius: 0 !important; | |
| 881 | + border: 1px solid #e9e9e9; | |
| 882 | + max-width: none; | |
| 883 | + border-left-color: transparent; | |
| 884 | +} | |
| 885 | +span.flatpickr-day:nth-child(n+8), | |
| 886 | +span.flatpickr-day.prevMonthDay:nth-child(n+8), | |
| 887 | +span.flatpickr-day.nextMonthDay:nth-child(n+8) { | |
| 888 | + border-top-color: transparent; | |
| 889 | +} | |
| 890 | +span.flatpickr-day:nth-child(7n-6), | |
| 891 | +span.flatpickr-day.prevMonthDay:nth-child(7n-6), | |
| 892 | +span.flatpickr-day.nextMonthDay:nth-child(7n-6) { | |
| 893 | + border-right: 0; | |
| 894 | +} | |
| 895 | +span.flatpickr-day:nth-child(n+36), | |
| 896 | +span.flatpickr-day.prevMonthDay:nth-child(n+36), | |
| 897 | +span.flatpickr-day.nextMonthDay:nth-child(n+36) { | |
| 898 | + border-bottom: 0; | |
| 899 | +} | |
| 900 | +span.flatpickr-day:nth-child(-n+7), | |
| 901 | +span.flatpickr-day.prevMonthDay:nth-child(-n+7), | |
| 902 | +span.flatpickr-day.nextMonthDay:nth-child(-n+7) { | |
| 903 | + margin-top: 0; | |
| 904 | +} | |
| 905 | +span.flatpickr-day.today:not(.selected), | |
| 906 | +span.flatpickr-day.prevMonthDay.today:not(.selected), | |
| 907 | +span.flatpickr-day.nextMonthDay.today:not(.selected) { | |
| 908 | + border-color: #e9e9e9; | |
| 909 | + border-left-color: transparent; | |
| 910 | + border-top-color: transparent; | |
| 911 | + border-bottom-color: #f64747; | |
| 912 | +} | |
| 913 | +span.flatpickr-day.today:not(.selected):hover, | |
| 914 | +span.flatpickr-day.prevMonthDay.today:not(.selected):hover, | |
| 915 | +span.flatpickr-day.nextMonthDay.today:not(.selected):hover { | |
| 916 | + border: 1px solid #f64747; | |
| 917 | +} | |
| 918 | +span.flatpickr-day.startRange, | |
| 919 | +span.flatpickr-day.prevMonthDay.startRange, | |
| 920 | +span.flatpickr-day.nextMonthDay.startRange, | |
| 921 | +span.flatpickr-day.endRange, | |
| 922 | +span.flatpickr-day.prevMonthDay.endRange, | |
| 923 | +span.flatpickr-day.nextMonthDay.endRange { | |
| 924 | + border-color: #4f99ff; | |
| 925 | +} | |
| 926 | +span.flatpickr-day.today, | |
| 927 | +span.flatpickr-day.prevMonthDay.today, | |
| 928 | +span.flatpickr-day.nextMonthDay.today, | |
| 929 | +span.flatpickr-day.selected, | |
| 930 | +span.flatpickr-day.prevMonthDay.selected, | |
| 931 | +span.flatpickr-day.nextMonthDay.selected { | |
| 932 | + z-index: 2; | |
| 933 | +} | |
| 934 | +.rangeMode .flatpickr-day { | |
| 935 | + margin-top: -1px; | |
| 936 | +} | |
| 937 | +.flatpickr-weekwrapper .flatpickr-weeks { | |
| 938 | + box-shadow: none; | |
| 939 | +} | |
| 940 | +.flatpickr-weekwrapper span.flatpickr-day { | |
| 941 | + border: 0; | |
| 942 | + margin: -1px -1px 0 0; | |
| 943 | +} | |
| 944 | +.hasWeeks .flatpickr-days { | |
| 945 | + border-left: 0; | |
| 946 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/flatpickr/rtl/themes/base16_flat.rtl.css
0 → 100644
| 1 | +.flatpickr-calendar { | |
| 2 | + background: transparent; | |
| 3 | + overflow: hidden; | |
| 4 | + max-height: 0; | |
| 5 | + opacity: 0; | |
| 6 | + visibility: hidden; | |
| 7 | + text-align: center; | |
| 8 | + padding: 0; | |
| 9 | + animation: none; | |
| 10 | + direction: rtl; | |
| 11 | + border: 0; | |
| 12 | + font-size: 14px; | |
| 13 | + line-height: 24px; | |
| 14 | + border-radius: 5px; | |
| 15 | + position: absolute; | |
| 16 | + width: 315px; | |
| 17 | + box-sizing: border-box; | |
| 18 | + background: rgba(239,239,239,0.95); | |
| 19 | + box-shadow: -1px 0 0 #e3e3e3, 1px 0 0 #e3e3e3, 0 1px 0 #e3e3e3, 0 -1px 0 #e3e3e3, 0 3px 13px rgba(0,0,0,0.08); | |
| 20 | +} | |
| 21 | +.flatpickr-calendar.open, | |
| 22 | +.flatpickr-calendar.inline { | |
| 23 | + opacity: 1; | |
| 24 | + visibility: visible; | |
| 25 | + overflow: visible; | |
| 26 | + max-height: 640px; | |
| 27 | +} | |
| 28 | +.flatpickr-calendar.open { | |
| 29 | + display: inline-block; | |
| 30 | + z-index: 99999; | |
| 31 | +} | |
| 32 | +.flatpickr-calendar.animate.open { | |
| 33 | + animation: flatpickrFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 34 | +} | |
| 35 | +.flatpickr-calendar.inline { | |
| 36 | + display: block; | |
| 37 | + position: relative; | |
| 38 | + top: 2px; | |
| 39 | +} | |
| 40 | +.flatpickr-calendar.static { | |
| 41 | + position: absolute; | |
| 42 | + top: calc(100% + 2px); | |
| 43 | +} | |
| 44 | +.flatpickr-calendar.static.open { | |
| 45 | + z-index: 999; | |
| 46 | + display: block; | |
| 47 | +} | |
| 48 | +.flatpickr-calendar.hasWeeks { | |
| 49 | + width: auto; | |
| 50 | +} | |
| 51 | +.flatpickr-calendar .hasWeeks .dayContainer, | |
| 52 | +.flatpickr-calendar .hasTime .dayContainer { | |
| 53 | + border-bottom: 0; | |
| 54 | + border-bottom-left-radius: 0; | |
| 55 | + border-bottom-right-radius: 0; | |
| 56 | +} | |
| 57 | +.flatpickr-calendar .hasWeeks .dayContainer { | |
| 58 | + border-right: 0; | |
| 59 | +} | |
| 60 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time { | |
| 61 | + height: 40px; | |
| 62 | + border-top: 1px solid #e3e3e3; | |
| 63 | +} | |
| 64 | +.flatpickr-calendar.noCalendar.hasTime .flatpickr-time { | |
| 65 | + height: auto; | |
| 66 | +} | |
| 67 | +.flatpickr-calendar:before, | |
| 68 | +.flatpickr-calendar:after { | |
| 69 | + position: absolute; | |
| 70 | + display: block; | |
| 71 | + pointer-events: none; | |
| 72 | + border: solid transparent; | |
| 73 | + content: ''; | |
| 74 | + height: 0; | |
| 75 | + width: 0; | |
| 76 | + right: 22px; | |
| 77 | +} | |
| 78 | +.flatpickr-calendar.rightMost:before, | |
| 79 | +.flatpickr-calendar.rightMost:after { | |
| 80 | + right: auto; | |
| 81 | + left: 22px; | |
| 82 | +} | |
| 83 | +.flatpickr-calendar:before { | |
| 84 | + border-width: 5px; | |
| 85 | + margin: 0 -5px; | |
| 86 | +} | |
| 87 | +.flatpickr-calendar:after { | |
| 88 | + border-width: 4px; | |
| 89 | + margin: 0 -4px; | |
| 90 | +} | |
| 91 | +.flatpickr-calendar.arrowTop:before, | |
| 92 | +.flatpickr-calendar.arrowTop:after { | |
| 93 | + bottom: 100%; | |
| 94 | +} | |
| 95 | +.flatpickr-calendar.arrowTop:before { | |
| 96 | + border-bottom-color: #e3e3e3; | |
| 97 | +} | |
| 98 | +.flatpickr-calendar.arrowTop:after { | |
| 99 | + border-bottom-color: rgba(239,239,239,0.95); | |
| 100 | +} | |
| 101 | +.flatpickr-calendar.arrowBottom:before, | |
| 102 | +.flatpickr-calendar.arrowBottom:after { | |
| 103 | + top: 100%; | |
| 104 | +} | |
| 105 | +.flatpickr-calendar.arrowBottom:before { | |
| 106 | + border-top-color: #e3e3e3; | |
| 107 | +} | |
| 108 | +.flatpickr-calendar.arrowBottom:after { | |
| 109 | + border-top-color: rgba(239,239,239,0.95); | |
| 110 | +} | |
| 111 | +.flatpickr-calendar:focus { | |
| 112 | + outline: 0; | |
| 113 | +} | |
| 114 | +.flatpickr-wrapper { | |
| 115 | + position: relative; | |
| 116 | + display: inline-block; | |
| 117 | +} | |
| 118 | +.flatpickr-month { | |
| 119 | + background: transparent; | |
| 120 | + color: #2c3e50; | |
| 121 | + fill: #2c3e50; | |
| 122 | + height: 28px; | |
| 123 | + line-height: 24px; | |
| 124 | + text-align: center; | |
| 125 | + position: relative; | |
| 126 | + user-select: none; | |
| 127 | + overflow: hidden; | |
| 128 | +} | |
| 129 | +.flatpickr-prev-month, | |
| 130 | +.flatpickr-next-month { | |
| 131 | + text-decoration: none; | |
| 132 | + cursor: pointer; | |
| 133 | + position: absolute; | |
| 134 | + top: 0px; | |
| 135 | + height: 28px; | |
| 136 | + line-height: 16px; | |
| 137 | + padding: 10px calc(3.57% - 1.5px); | |
| 138 | +} | |
| 139 | +.flatpickr-prev-month i, | |
| 140 | +.flatpickr-next-month i { | |
| 141 | + position: relative; | |
| 142 | +} | |
| 143 | +.flatpickr-prev-month.flatpickr-prev-month, | |
| 144 | +.flatpickr-next-month.flatpickr-prev-month { | |
| 145 | +/* | |
| 146 | + /*rtl:begin:ignore*/ | |
| 147 | +/* | |
| 148 | + */ | |
| 149 | + right: 0; | |
| 150 | +/* | |
| 151 | + /*rtl:end:ignore*/ | |
| 152 | +/* | |
| 153 | + */ | |
| 154 | +} | |
| 155 | +/* | |
| 156 | + /*rtl:begin:ignore*/ | |
| 157 | +/* | |
| 158 | + /*rtl:end:ignore*/ | |
| 159 | +.flatpickr-prev-month.flatpickr-next-month, | |
| 160 | +.flatpickr-next-month.flatpickr-next-month { | |
| 161 | +/* | |
| 162 | + /*rtl:begin:ignore*/ | |
| 163 | +/* | |
| 164 | + */ | |
| 165 | + left: 0; | |
| 166 | +/* | |
| 167 | + /*rtl:end:ignore*/ | |
| 168 | +/* | |
| 169 | + */ | |
| 170 | +} | |
| 171 | +/* | |
| 172 | + /*rtl:begin:ignore*/ | |
| 173 | +/* | |
| 174 | + /*rtl:end:ignore*/ | |
| 175 | +.flatpickr-prev-month:hover, | |
| 176 | +.flatpickr-next-month:hover { | |
| 177 | + color: #7f8c8d; | |
| 178 | +} | |
| 179 | +.flatpickr-prev-month:hover svg, | |
| 180 | +.flatpickr-next-month:hover svg { | |
| 181 | + fill: #f64747; | |
| 182 | +} | |
| 183 | +.flatpickr-prev-month svg, | |
| 184 | +.flatpickr-next-month svg { | |
| 185 | + width: 14px; | |
| 186 | +} | |
| 187 | +.flatpickr-prev-month svg path, | |
| 188 | +.flatpickr-next-month svg path { | |
| 189 | + transition: fill 0.1s; | |
| 190 | + fill: inherit; | |
| 191 | +} | |
| 192 | +.numInputWrapper { | |
| 193 | + position: relative; | |
| 194 | + height: auto; | |
| 195 | +} | |
| 196 | +.numInputWrapper input, | |
| 197 | +.numInputWrapper span { | |
| 198 | + display: inline-block; | |
| 199 | +} | |
| 200 | +.numInputWrapper input { | |
| 201 | + width: 100%; | |
| 202 | +} | |
| 203 | +.numInputWrapper span { | |
| 204 | + position: absolute; | |
| 205 | + left: 0; | |
| 206 | + width: 14px; | |
| 207 | + padding: 0 2px 0 4px; | |
| 208 | + height: 50%; | |
| 209 | + line-height: 50%; | |
| 210 | + opacity: 0; | |
| 211 | + cursor: pointer; | |
| 212 | + border: 1px solid rgba(64,72,72,0.05); | |
| 213 | + box-sizing: border-box; | |
| 214 | +} | |
| 215 | +.numInputWrapper span:hover { | |
| 216 | + background: rgba(16,16,16,0.1); | |
| 217 | +} | |
| 218 | +.numInputWrapper span:active { | |
| 219 | + background: rgba(16,16,16,0.2); | |
| 220 | +} | |
| 221 | +.numInputWrapper span:after { | |
| 222 | + display: block; | |
| 223 | + content: ""; | |
| 224 | + position: absolute; | |
| 225 | + top: 33%; | |
| 226 | +} | |
| 227 | +.numInputWrapper span.arrowUp { | |
| 228 | + top: 0; | |
| 229 | + border-bottom: 0; | |
| 230 | +} | |
| 231 | +.numInputWrapper span.arrowUp:after { | |
| 232 | + border-right: 4px solid transparent; | |
| 233 | + border-left: 4px solid transparent; | |
| 234 | + border-bottom: 4px solid rgba(64,72,72,0.6); | |
| 235 | +} | |
| 236 | +.numInputWrapper span.arrowDown { | |
| 237 | + top: 50%; | |
| 238 | +} | |
| 239 | +.numInputWrapper span.arrowDown:after { | |
| 240 | + border-right: 4px solid transparent; | |
| 241 | + border-left: 4px solid transparent; | |
| 242 | + border-top: 4px solid rgba(64,72,72,0.6); | |
| 243 | +} | |
| 244 | +.numInputWrapper span svg { | |
| 245 | + width: inherit; | |
| 246 | + height: auto; | |
| 247 | +} | |
| 248 | +.numInputWrapper span svg path { | |
| 249 | + fill: rgba(44,62,80,0.5); | |
| 250 | +} | |
| 251 | +.numInputWrapper:hover { | |
| 252 | + background: rgba(16,16,16,0.05); | |
| 253 | +} | |
| 254 | +.numInputWrapper:hover span { | |
| 255 | + opacity: 1; | |
| 256 | +} | |
| 257 | +.flatpickr-current-month { | |
| 258 | + font-size: 135%; | |
| 259 | + line-height: inherit; | |
| 260 | + font-weight: 300; | |
| 261 | + color: inherit; | |
| 262 | + position: absolute; | |
| 263 | + width: 75%; | |
| 264 | + right: 12.5%; | |
| 265 | + top: 5px; | |
| 266 | + display: inline-block; | |
| 267 | + text-align: center; | |
| 268 | + transform: translate(0px, 0px); | |
| 269 | +} | |
| 270 | +.flatpickr-current-month.slideLeft { | |
| 271 | + transform: translate(100%, 0px); | |
| 272 | + animation: fadeOut 400ms ease, slideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 273 | +} | |
| 274 | +.flatpickr-current-month.slideLeftNew { | |
| 275 | + transform: translate(-100%, 0px); | |
| 276 | + animation: fadeIn 400ms ease, slideLeftNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 277 | +} | |
| 278 | +.flatpickr-current-month.slideRight { | |
| 279 | + transform: translate(-100%, 0px); | |
| 280 | + animation: fadeOut 400ms ease, slideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 281 | +} | |
| 282 | +.flatpickr-current-month.slideRightNew { | |
| 283 | + transform: translate(0, 0); | |
| 284 | + animation: fadeIn 400ms ease, slideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 285 | +} | |
| 286 | +.flatpickr-current-month span.cur-month { | |
| 287 | + font-family: inherit; | |
| 288 | + font-weight: 700; | |
| 289 | + color: inherit; | |
| 290 | + display: inline-block; | |
| 291 | + margin-right: 7px; | |
| 292 | + padding: 0; | |
| 293 | +} | |
| 294 | +.flatpickr-current-month span.cur-month:hover { | |
| 295 | + background: rgba(16,16,16,0.05); | |
| 296 | +} | |
| 297 | +.flatpickr-current-month .numInputWrapper { | |
| 298 | + width: 6ch; | |
| 299 | + width: 7ch\0; | |
| 300 | + display: inline-block; | |
| 301 | +} | |
| 302 | +.flatpickr-current-month .numInputWrapper span.arrowUp:after { | |
| 303 | + border-bottom-color: #2c3e50; | |
| 304 | +} | |
| 305 | +.flatpickr-current-month .numInputWrapper span.arrowDown:after { | |
| 306 | + border-top-color: #2c3e50; | |
| 307 | +} | |
| 308 | +.flatpickr-current-month input.cur-year { | |
| 309 | + background: transparent; | |
| 310 | + box-sizing: border-box; | |
| 311 | + color: inherit; | |
| 312 | + cursor: default; | |
| 313 | + padding: 0 0.5ch 0 0; | |
| 314 | + margin: 0; | |
| 315 | + display: inline; | |
| 316 | + font-size: inherit; | |
| 317 | + font-family: inherit; | |
| 318 | + font-weight: 300; | |
| 319 | + line-height: inherit; | |
| 320 | + height: initial; | |
| 321 | + border: 0; | |
| 322 | + border-radius: 0; | |
| 323 | + vertical-align: initial; | |
| 324 | +} | |
| 325 | +.flatpickr-current-month input.cur-year:focus { | |
| 326 | + outline: 0; | |
| 327 | +} | |
| 328 | +.flatpickr-current-month input.cur-year[disabled], | |
| 329 | +.flatpickr-current-month input.cur-year[disabled]:hover { | |
| 330 | + font-size: 100%; | |
| 331 | + color: rgba(44,62,80,0.5); | |
| 332 | + background: transparent; | |
| 333 | + pointer-events: none; | |
| 334 | +} | |
| 335 | +.flatpickr-weekdays { | |
| 336 | + background: transparent; | |
| 337 | + text-align: center; | |
| 338 | + overflow: hidden; | |
| 339 | + width: 315px; | |
| 340 | + display: flex; | |
| 341 | + align-items: center; | |
| 342 | + height: 28px; | |
| 343 | +} | |
| 344 | +span.flatpickr-weekday { | |
| 345 | + cursor: default; | |
| 346 | + font-size: 90%; | |
| 347 | + color: rgba(44,62,80,0.54); | |
| 348 | + line-height: 1; | |
| 349 | + margin: 0; | |
| 350 | + background: transparent; | |
| 351 | + text-align: center; | |
| 352 | + display: block; | |
| 353 | + flex: 1; | |
| 354 | + font-weight: bolder; | |
| 355 | + margin: 0; | |
| 356 | +} | |
| 357 | +.dayContainer, | |
| 358 | +.flatpickr-weeks { | |
| 359 | + padding: 1px 0 0 0; | |
| 360 | +} | |
| 361 | +.flatpickr-days { | |
| 362 | + position: relative; | |
| 363 | + overflow: hidden; | |
| 364 | + display: flex; | |
| 365 | + width: 315px; | |
| 366 | +} | |
| 367 | +.flatpickr-days:focus { | |
| 368 | + outline: 0; | |
| 369 | +} | |
| 370 | +.dayContainer { | |
| 371 | + padding: 0; | |
| 372 | + outline: 0; | |
| 373 | + text-align: right; | |
| 374 | + width: 315px; | |
| 375 | + min-width: 315px; | |
| 376 | + max-width: 315px; | |
| 377 | + box-sizing: border-box; | |
| 378 | + display: inline-block; | |
| 379 | + display: -ms-flexbox; | |
| 380 | + display: flex; | |
| 381 | + flex-wrap: wrap; | |
| 382 | + -ms-flex-wrap: wrap; | |
| 383 | + -ms-flex-pack: justify; | |
| 384 | + justify-content: space-around; | |
| 385 | + transform: translate(0px, 0px); | |
| 386 | + opacity: 1; | |
| 387 | +} | |
| 388 | +.flatpickr-calendar.animate .dayContainer.slideLeft { | |
| 389 | + animation: fadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), slideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 390 | +} | |
| 391 | +.flatpickr-calendar.animate .dayContainer.slideLeft, | |
| 392 | +.flatpickr-calendar.animate .dayContainer.slideLeftNew { | |
| 393 | + transform: translate(100%, 0px); | |
| 394 | +} | |
| 395 | +.flatpickr-calendar.animate .dayContainer.slideLeftNew { | |
| 396 | + animation: fadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), slideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 397 | +} | |
| 398 | +.flatpickr-calendar.animate .dayContainer.slideRight { | |
| 399 | + animation: fadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), slideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 400 | + transform: translate(-100%, 0px); | |
| 401 | +} | |
| 402 | +.flatpickr-calendar.animate .dayContainer.slideRightNew { | |
| 403 | + animation: fadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), slideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 404 | +} | |
| 405 | +.flatpickr-day { | |
| 406 | + background: none; | |
| 407 | + border: 1px solid transparent; | |
| 408 | + border-radius: 150px; | |
| 409 | + box-sizing: border-box; | |
| 410 | + color: #404848; | |
| 411 | + cursor: pointer; | |
| 412 | + font-weight: 400; | |
| 413 | + width: 14.2857143%; | |
| 414 | + flex-basis: 14.2857143%; | |
| 415 | + max-width: 40px; | |
| 416 | + height: 40px; | |
| 417 | + line-height: 40px; | |
| 418 | + margin: 0; | |
| 419 | + display: inline-block; | |
| 420 | + position: relative; | |
| 421 | + justify-content: center; | |
| 422 | + text-align: center; | |
| 423 | +} | |
| 424 | +.flatpickr-day.inRange, | |
| 425 | +.flatpickr-day.prevMonthDay.inRange, | |
| 426 | +.flatpickr-day.nextMonthDay.inRange, | |
| 427 | +.flatpickr-day.today.inRange, | |
| 428 | +.flatpickr-day.prevMonthDay.today.inRange, | |
| 429 | +.flatpickr-day.nextMonthDay.today.inRange, | |
| 430 | +.flatpickr-day:hover, | |
| 431 | +.flatpickr-day.prevMonthDay:hover, | |
| 432 | +.flatpickr-day.nextMonthDay:hover, | |
| 433 | +.flatpickr-day:focus, | |
| 434 | +.flatpickr-day.prevMonthDay:focus, | |
| 435 | +.flatpickr-day.nextMonthDay:focus { | |
| 436 | + cursor: pointer; | |
| 437 | + outline: 0; | |
| 438 | + background: #ccc; | |
| 439 | + border-color: #ccc; | |
| 440 | +} | |
| 441 | +.flatpickr-day.today { | |
| 442 | + border-color: #7f8c8d; | |
| 443 | +} | |
| 444 | +.flatpickr-day.today:hover, | |
| 445 | +.flatpickr-day.today:focus { | |
| 446 | + border-color: #7f8c8d; | |
| 447 | + background: #7f8c8d; | |
| 448 | + color: #fff; | |
| 449 | +} | |
| 450 | +.flatpickr-day.selected, | |
| 451 | +.flatpickr-day.startRange, | |
| 452 | +.flatpickr-day.endRange, | |
| 453 | +.flatpickr-day.selected.inRange, | |
| 454 | +.flatpickr-day.startRange.inRange, | |
| 455 | +.flatpickr-day.endRange.inRange, | |
| 456 | +.flatpickr-day.selected:focus, | |
| 457 | +.flatpickr-day.startRange:focus, | |
| 458 | +.flatpickr-day.endRange:focus, | |
| 459 | +.flatpickr-day.selected:hover, | |
| 460 | +.flatpickr-day.startRange:hover, | |
| 461 | +.flatpickr-day.endRange:hover, | |
| 462 | +.flatpickr-day.selected.prevMonthDay, | |
| 463 | +.flatpickr-day.startRange.prevMonthDay, | |
| 464 | +.flatpickr-day.endRange.prevMonthDay, | |
| 465 | +.flatpickr-day.selected.nextMonthDay, | |
| 466 | +.flatpickr-day.startRange.nextMonthDay, | |
| 467 | +.flatpickr-day.endRange.nextMonthDay { | |
| 468 | + background: #1abc9c; | |
| 469 | + box-shadow: none; | |
| 470 | + color: #ecf0f1; | |
| 471 | + border-color: #1abc9c; | |
| 472 | +} | |
| 473 | +.flatpickr-day.selected.startRange, | |
| 474 | +.flatpickr-day.startRange.startRange, | |
| 475 | +.flatpickr-day.endRange.startRange { | |
| 476 | + border-radius: 0 50px 50px 0; | |
| 477 | +} | |
| 478 | +.flatpickr-day.selected.endRange, | |
| 479 | +.flatpickr-day.startRange.endRange, | |
| 480 | +.flatpickr-day.endRange.endRange { | |
| 481 | + border-radius: 50px 0 0 50px; | |
| 482 | +} | |
| 483 | +.flatpickr-day.selected.startRange + .endRange, | |
| 484 | +.flatpickr-day.startRange.startRange + .endRange, | |
| 485 | +.flatpickr-day.endRange.startRange + .endRange { | |
| 486 | + box-shadow: 10px 0 0 #1abc9c; | |
| 487 | +} | |
| 488 | +.flatpickr-day.selected.startRange.endRange, | |
| 489 | +.flatpickr-day.startRange.startRange.endRange, | |
| 490 | +.flatpickr-day.endRange.startRange.endRange { | |
| 491 | + border-radius: 50px; | |
| 492 | +} | |
| 493 | +.flatpickr-day.inRange { | |
| 494 | + border-radius: 0; | |
| 495 | + box-shadow: 5px 0 0 #ccc, -5px 0 0 #ccc; | |
| 496 | +} | |
| 497 | +.flatpickr-day.disabled, | |
| 498 | +.flatpickr-day.disabled:hover { | |
| 499 | + pointer-events: none; | |
| 500 | +} | |
| 501 | +.flatpickr-day.disabled, | |
| 502 | +.flatpickr-day.disabled:hover, | |
| 503 | +.flatpickr-day.prevMonthDay, | |
| 504 | +.flatpickr-day.nextMonthDay, | |
| 505 | +.flatpickr-day.notAllowed, | |
| 506 | +.flatpickr-day.notAllowed.prevMonthDay, | |
| 507 | +.flatpickr-day.notAllowed.nextMonthDay { | |
| 508 | + color: rgba(0,0,0,0.2); | |
| 509 | + background: transparent; | |
| 510 | + border-color: transparent; | |
| 511 | + cursor: default; | |
| 512 | +} | |
| 513 | +.rangeMode .flatpickr-day { | |
| 514 | + margin-top: 1px; | |
| 515 | +} | |
| 516 | +.flatpickr-weekwrapper { | |
| 517 | + display: inline-block; | |
| 518 | + float: right; | |
| 519 | +} | |
| 520 | +.flatpickr-weekwrapper .flatpickr-weeks { | |
| 521 | + padding: 1px 12px 0 12px; | |
| 522 | + box-shadow: -1px 0 0 #e3e3e3; | |
| 523 | +} | |
| 524 | +.flatpickr-weekwrapper .flatpickr-weekday { | |
| 525 | + float: none; | |
| 526 | + width: 100%; | |
| 527 | +} | |
| 528 | +.flatpickr-weekwrapper span.flatpickr-day { | |
| 529 | + display: block; | |
| 530 | + width: 100%; | |
| 531 | + max-width: none; | |
| 532 | +} | |
| 533 | +.flatpickr-innerContainer { | |
| 534 | + display: block; | |
| 535 | + display: flex; | |
| 536 | + box-sizing: border-box; | |
| 537 | + overflow: hidden; | |
| 538 | +} | |
| 539 | +.flatpickr-rContainer { | |
| 540 | + display: inline-block; | |
| 541 | + padding: 0; | |
| 542 | + box-sizing: border-box; | |
| 543 | +} | |
| 544 | +.flatpickr-time { | |
| 545 | + text-align: center; | |
| 546 | + outline: 0; | |
| 547 | + display: block; | |
| 548 | + height: 0; | |
| 549 | + line-height: 40px; | |
| 550 | + max-height: 40px; | |
| 551 | + box-sizing: border-box; | |
| 552 | + overflow: hidden; | |
| 553 | + display: flex; | |
| 554 | +} | |
| 555 | +.flatpickr-time:after { | |
| 556 | + content: ""; | |
| 557 | + display: table; | |
| 558 | + clear: both; | |
| 559 | +} | |
| 560 | +.flatpickr-time .numInputWrapper { | |
| 561 | + flex: 1; | |
| 562 | + width: 40%; | |
| 563 | + height: 40px; | |
| 564 | + float: right; | |
| 565 | +} | |
| 566 | +.flatpickr-time .numInputWrapper span.arrowUp:after { | |
| 567 | + border-bottom-color: #404848; | |
| 568 | +} | |
| 569 | +.flatpickr-time .numInputWrapper span.arrowDown:after { | |
| 570 | + border-top-color: #404848; | |
| 571 | +} | |
| 572 | +.flatpickr-time.hasSeconds .numInputWrapper { | |
| 573 | + width: 26%; | |
| 574 | +} | |
| 575 | +.flatpickr-time.time24hr .numInputWrapper { | |
| 576 | + width: 49%; | |
| 577 | +} | |
| 578 | +.flatpickr-time input { | |
| 579 | + background: transparent; | |
| 580 | + box-shadow: none; | |
| 581 | + border: 0; | |
| 582 | + border-radius: 0; | |
| 583 | + text-align: center; | |
| 584 | + margin: 0; | |
| 585 | + padding: 0; | |
| 586 | + height: inherit; | |
| 587 | + line-height: inherit; | |
| 588 | + cursor: pointer; | |
| 589 | + color: #404848; | |
| 590 | + font-size: 14px; | |
| 591 | + position: relative; | |
| 592 | + box-sizing: border-box; | |
| 593 | +} | |
| 594 | +.flatpickr-time input.flatpickr-hour { | |
| 595 | + font-weight: bold; | |
| 596 | +} | |
| 597 | +.flatpickr-time input.flatpickr-minute, | |
| 598 | +.flatpickr-time input.flatpickr-second { | |
| 599 | + font-weight: 400; | |
| 600 | +} | |
| 601 | +.flatpickr-time input:focus { | |
| 602 | + outline: 0; | |
| 603 | + border: 0; | |
| 604 | +} | |
| 605 | +.flatpickr-time .flatpickr-time-separator, | |
| 606 | +.flatpickr-time .flatpickr-am-pm { | |
| 607 | + height: inherit; | |
| 608 | + display: inline-block; | |
| 609 | + float: right; | |
| 610 | + line-height: inherit; | |
| 611 | + color: #404848; | |
| 612 | + font-weight: bold; | |
| 613 | + width: 2%; | |
| 614 | + user-select: none; | |
| 615 | +} | |
| 616 | +.flatpickr-time .flatpickr-am-pm { | |
| 617 | + outline: 0; | |
| 618 | + width: 18%; | |
| 619 | + cursor: pointer; | |
| 620 | + text-align: center; | |
| 621 | + font-weight: 400; | |
| 622 | +} | |
| 623 | +.flatpickr-time .flatpickr-am-pm:hover, | |
| 624 | +.flatpickr-time .flatpickr-am-pm:focus { | |
| 625 | + background: #d6d6d6; | |
| 626 | +} | |
| 627 | +@media all and (-ms-high-contrast: none) { | |
| 628 | + .flatpickr-month { | |
| 629 | + padding: 0; | |
| 630 | + } | |
| 631 | + .flatpickr-month svg { | |
| 632 | + top: 0 !important; | |
| 633 | + } | |
| 634 | +} | |
| 635 | +.flatpickr-input[readonly] { | |
| 636 | + cursor: pointer; | |
| 637 | +} | |
| 638 | +@-moz-keyframes flatpickrFadeInDown { | |
| 639 | + from { | |
| 640 | + opacity: 0; | |
| 641 | + transform: translate3d(0, -20px, 0); | |
| 642 | + } | |
| 643 | + to { | |
| 644 | + opacity: 1; | |
| 645 | + transform: translate3d(0, 0, 0); | |
| 646 | + } | |
| 647 | +} | |
| 648 | +@-webkit-keyframes flatpickrFadeInDown { | |
| 649 | + from { | |
| 650 | + opacity: 0; | |
| 651 | + transform: translate3d(0, -20px, 0); | |
| 652 | + } | |
| 653 | + to { | |
| 654 | + opacity: 1; | |
| 655 | + transform: translate3d(0, 0, 0); | |
| 656 | + } | |
| 657 | +} | |
| 658 | +@-o-keyframes flatpickrFadeInDown { | |
| 659 | + from { | |
| 660 | + opacity: 0; | |
| 661 | + transform: translate3d(0, -20px, 0); | |
| 662 | + } | |
| 663 | + to { | |
| 664 | + opacity: 1; | |
| 665 | + transform: translate3d(0, 0, 0); | |
| 666 | + } | |
| 667 | +} | |
| 668 | +@keyframes flatpickrFadeInDown { | |
| 669 | + from { | |
| 670 | + opacity: 0; | |
| 671 | + transform: translate3d(0, -20px, 0); | |
| 672 | + } | |
| 673 | + to { | |
| 674 | + opacity: 1; | |
| 675 | + transform: translate3d(0, 0, 0); | |
| 676 | + } | |
| 677 | +} | |
| 678 | +@-moz-keyframes slideLeft { | |
| 679 | + from { | |
| 680 | + transform: translate(0px, 0px); | |
| 681 | + } | |
| 682 | + to { | |
| 683 | + transform: translate(100%, 0px); | |
| 684 | + } | |
| 685 | +} | |
| 686 | +@-webkit-keyframes slideLeft { | |
| 687 | + from { | |
| 688 | + transform: translate(0px, 0px); | |
| 689 | + } | |
| 690 | + to { | |
| 691 | + transform: translate(100%, 0px); | |
| 692 | + } | |
| 693 | +} | |
| 694 | +@-o-keyframes slideLeft { | |
| 695 | + from { | |
| 696 | + transform: translate(0px, 0px); | |
| 697 | + } | |
| 698 | + to { | |
| 699 | + transform: translate(100%, 0px); | |
| 700 | + } | |
| 701 | +} | |
| 702 | +@keyframes slideLeft { | |
| 703 | + from { | |
| 704 | + transform: translate(0px, 0px); | |
| 705 | + } | |
| 706 | + to { | |
| 707 | + transform: translate(100%, 0px); | |
| 708 | + } | |
| 709 | +} | |
| 710 | +@-moz-keyframes slideLeftNew { | |
| 711 | + from { | |
| 712 | + transform: translate(-100%, 0px); | |
| 713 | + } | |
| 714 | + to { | |
| 715 | + transform: translate(0px, 0px); | |
| 716 | + } | |
| 717 | +} | |
| 718 | +@-webkit-keyframes slideLeftNew { | |
| 719 | + from { | |
| 720 | + transform: translate(-100%, 0px); | |
| 721 | + } | |
| 722 | + to { | |
| 723 | + transform: translate(0px, 0px); | |
| 724 | + } | |
| 725 | +} | |
| 726 | +@-o-keyframes slideLeftNew { | |
| 727 | + from { | |
| 728 | + transform: translate(-100%, 0px); | |
| 729 | + } | |
| 730 | + to { | |
| 731 | + transform: translate(0px, 0px); | |
| 732 | + } | |
| 733 | +} | |
| 734 | +@keyframes slideLeftNew { | |
| 735 | + from { | |
| 736 | + transform: translate(-100%, 0px); | |
| 737 | + } | |
| 738 | + to { | |
| 739 | + transform: translate(0px, 0px); | |
| 740 | + } | |
| 741 | +} | |
| 742 | +@-moz-keyframes slideRight { | |
| 743 | + from { | |
| 744 | + transform: translate(0, 0); | |
| 745 | + } | |
| 746 | + to { | |
| 747 | + transform: translate(-100%, 0px); | |
| 748 | + } | |
| 749 | +} | |
| 750 | +@-webkit-keyframes slideRight { | |
| 751 | + from { | |
| 752 | + transform: translate(0, 0); | |
| 753 | + } | |
| 754 | + to { | |
| 755 | + transform: translate(-100%, 0px); | |
| 756 | + } | |
| 757 | +} | |
| 758 | +@-o-keyframes slideRight { | |
| 759 | + from { | |
| 760 | + transform: translate(0, 0); | |
| 761 | + } | |
| 762 | + to { | |
| 763 | + transform: translate(-100%, 0px); | |
| 764 | + } | |
| 765 | +} | |
| 766 | +@keyframes slideRight { | |
| 767 | + from { | |
| 768 | + transform: translate(0, 0); | |
| 769 | + } | |
| 770 | + to { | |
| 771 | + transform: translate(-100%, 0px); | |
| 772 | + } | |
| 773 | +} | |
| 774 | +@-moz-keyframes slideRightNew { | |
| 775 | + from { | |
| 776 | + transform: translate(100%, 0); | |
| 777 | + } | |
| 778 | + to { | |
| 779 | + transform: translate(0, 0); | |
| 780 | + } | |
| 781 | +} | |
| 782 | +@-webkit-keyframes slideRightNew { | |
| 783 | + from { | |
| 784 | + transform: translate(100%, 0); | |
| 785 | + } | |
| 786 | + to { | |
| 787 | + transform: translate(0, 0); | |
| 788 | + } | |
| 789 | +} | |
| 790 | +@-o-keyframes slideRightNew { | |
| 791 | + from { | |
| 792 | + transform: translate(100%, 0); | |
| 793 | + } | |
| 794 | + to { | |
| 795 | + transform: translate(0, 0); | |
| 796 | + } | |
| 797 | +} | |
| 798 | +@keyframes slideRightNew { | |
| 799 | + from { | |
| 800 | + transform: translate(100%, 0); | |
| 801 | + } | |
| 802 | + to { | |
| 803 | + transform: translate(0, 0); | |
| 804 | + } | |
| 805 | +} | |
| 806 | +@-moz-keyframes fadeOut { | |
| 807 | + from { | |
| 808 | + opacity: 1; | |
| 809 | + } | |
| 810 | + to { | |
| 811 | + opacity: 0; | |
| 812 | + } | |
| 813 | +} | |
| 814 | +@-webkit-keyframes fadeOut { | |
| 815 | + from { | |
| 816 | + opacity: 1; | |
| 817 | + } | |
| 818 | + to { | |
| 819 | + opacity: 0; | |
| 820 | + } | |
| 821 | +} | |
| 822 | +@-o-keyframes fadeOut { | |
| 823 | + from { | |
| 824 | + opacity: 1; | |
| 825 | + } | |
| 826 | + to { | |
| 827 | + opacity: 0; | |
| 828 | + } | |
| 829 | +} | |
| 830 | +@keyframes fadeOut { | |
| 831 | + from { | |
| 832 | + opacity: 1; | |
| 833 | + } | |
| 834 | + to { | |
| 835 | + opacity: 0; | |
| 836 | + } | |
| 837 | +} | |
| 838 | +@-moz-keyframes fadeIn { | |
| 839 | + from { | |
| 840 | + opacity: 0; | |
| 841 | + } | |
| 842 | + to { | |
| 843 | + opacity: 1; | |
| 844 | + } | |
| 845 | +} | |
| 846 | +@-webkit-keyframes fadeIn { | |
| 847 | + from { | |
| 848 | + opacity: 0; | |
| 849 | + } | |
| 850 | + to { | |
| 851 | + opacity: 1; | |
| 852 | + } | |
| 853 | +} | |
| 854 | +@-o-keyframes fadeIn { | |
| 855 | + from { | |
| 856 | + opacity: 0; | |
| 857 | + } | |
| 858 | + to { | |
| 859 | + opacity: 1; | |
| 860 | + } | |
| 861 | +} | |
| 862 | +@keyframes fadeIn { | |
| 863 | + from { | |
| 864 | + opacity: 0; | |
| 865 | + } | |
| 866 | + to { | |
| 867 | + opacity: 1; | |
| 868 | + } | |
| 869 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/flatpickr/rtl/themes/confetti.rtl.css
0 → 100644
| 1 | +.flatpickr-calendar { | |
| 2 | + background: transparent; | |
| 3 | + overflow: hidden; | |
| 4 | + max-height: 0; | |
| 5 | + opacity: 0; | |
| 6 | + visibility: hidden; | |
| 7 | + text-align: center; | |
| 8 | + padding: 0; | |
| 9 | + animation: none; | |
| 10 | + direction: rtl; | |
| 11 | + border: 0; | |
| 12 | + font-size: 14px; | |
| 13 | + line-height: 24px; | |
| 14 | + border-radius: 5px; | |
| 15 | + position: absolute; | |
| 16 | + width: 315px; | |
| 17 | + box-sizing: border-box; | |
| 18 | + box-shadow: 0 3px 13px rgba(0,0,0,0.08); | |
| 19 | +} | |
| 20 | +.flatpickr-calendar.open, | |
| 21 | +.flatpickr-calendar.inline { | |
| 22 | + opacity: 1; | |
| 23 | + visibility: visible; | |
| 24 | + overflow: visible; | |
| 25 | + max-height: 640px; | |
| 26 | +} | |
| 27 | +.flatpickr-calendar.open { | |
| 28 | + display: inline-block; | |
| 29 | + z-index: 99999; | |
| 30 | +} | |
| 31 | +.flatpickr-calendar.animate.open { | |
| 32 | + animation: flatpickrFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 33 | +} | |
| 34 | +.flatpickr-calendar.inline { | |
| 35 | + display: block; | |
| 36 | + position: relative; | |
| 37 | + top: 2px; | |
| 38 | +} | |
| 39 | +.flatpickr-calendar.static { | |
| 40 | + position: absolute; | |
| 41 | + top: calc(100% + 2px); | |
| 42 | +} | |
| 43 | +.flatpickr-calendar.static.open { | |
| 44 | + z-index: 999; | |
| 45 | + display: block; | |
| 46 | +} | |
| 47 | +.flatpickr-calendar.hasWeeks { | |
| 48 | + width: auto; | |
| 49 | +} | |
| 50 | +.flatpickr-calendar .hasWeeks .dayContainer, | |
| 51 | +.flatpickr-calendar .hasTime .dayContainer { | |
| 52 | + border-bottom: 0; | |
| 53 | + border-bottom-left-radius: 0; | |
| 54 | + border-bottom-right-radius: 0; | |
| 55 | +} | |
| 56 | +.flatpickr-calendar .hasWeeks .dayContainer { | |
| 57 | + border-right: 0; | |
| 58 | +} | |
| 59 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time { | |
| 60 | + height: 40px; | |
| 61 | + border-top: 1px solid rgba(72,72,72,0.1); | |
| 62 | +} | |
| 63 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-innerContainer { | |
| 64 | + border-bottom: 0; | |
| 65 | +} | |
| 66 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time { | |
| 67 | + border: 1px solid rgba(72,72,72,0.1); | |
| 68 | +} | |
| 69 | +.flatpickr-calendar.noCalendar.hasTime .flatpickr-time { | |
| 70 | + height: auto; | |
| 71 | +} | |
| 72 | +.flatpickr-calendar:before, | |
| 73 | +.flatpickr-calendar:after { | |
| 74 | + position: absolute; | |
| 75 | + display: block; | |
| 76 | + pointer-events: none; | |
| 77 | + border: solid transparent; | |
| 78 | + content: ''; | |
| 79 | + height: 0; | |
| 80 | + width: 0; | |
| 81 | + right: 22px; | |
| 82 | +} | |
| 83 | +.flatpickr-calendar.rightMost:before, | |
| 84 | +.flatpickr-calendar.rightMost:after { | |
| 85 | + right: auto; | |
| 86 | + left: 22px; | |
| 87 | +} | |
| 88 | +.flatpickr-calendar:before { | |
| 89 | + border-width: 5px; | |
| 90 | + margin: 0 -5px; | |
| 91 | +} | |
| 92 | +.flatpickr-calendar:after { | |
| 93 | + border-width: 4px; | |
| 94 | + margin: 0 -4px; | |
| 95 | +} | |
| 96 | +.flatpickr-calendar.arrowTop:before, | |
| 97 | +.flatpickr-calendar.arrowTop:after { | |
| 98 | + bottom: 100%; | |
| 99 | +} | |
| 100 | +.flatpickr-calendar.arrowTop:before { | |
| 101 | + border-bottom-color: rgba(72,72,72,0.1); | |
| 102 | +} | |
| 103 | +.flatpickr-calendar.arrowTop:after { | |
| 104 | + border-bottom-color: #ffb866; | |
| 105 | +} | |
| 106 | +.flatpickr-calendar.arrowBottom:before, | |
| 107 | +.flatpickr-calendar.arrowBottom:after { | |
| 108 | + top: 100%; | |
| 109 | +} | |
| 110 | +.flatpickr-calendar.arrowBottom:before { | |
| 111 | + border-top-color: rgba(72,72,72,0.1); | |
| 112 | +} | |
| 113 | +.flatpickr-calendar.arrowBottom:after { | |
| 114 | + border-top-color: #ffb866; | |
| 115 | +} | |
| 116 | +.flatpickr-calendar:focus { | |
| 117 | + outline: 0; | |
| 118 | +} | |
| 119 | +.flatpickr-wrapper { | |
| 120 | + position: relative; | |
| 121 | + display: inline-block; | |
| 122 | +} | |
| 123 | +.flatpickr-month { | |
| 124 | + border-radius: 5px 5px 0 0; | |
| 125 | + background: #ffb866; | |
| 126 | + color: #fff; | |
| 127 | + fill: #fff; | |
| 128 | + height: 28px; | |
| 129 | + line-height: 24px; | |
| 130 | + text-align: center; | |
| 131 | + position: relative; | |
| 132 | + user-select: none; | |
| 133 | + overflow: hidden; | |
| 134 | +} | |
| 135 | +.flatpickr-prev-month, | |
| 136 | +.flatpickr-next-month { | |
| 137 | + text-decoration: none; | |
| 138 | + cursor: pointer; | |
| 139 | + position: absolute; | |
| 140 | + top: 0px; | |
| 141 | + height: 28px; | |
| 142 | + line-height: 16px; | |
| 143 | + padding: 10px calc(3.57% - 1.5px); | |
| 144 | +} | |
| 145 | +.flatpickr-prev-month i, | |
| 146 | +.flatpickr-next-month i { | |
| 147 | + position: relative; | |
| 148 | +} | |
| 149 | +.flatpickr-prev-month.flatpickr-prev-month, | |
| 150 | +.flatpickr-next-month.flatpickr-prev-month { | |
| 151 | +/* | |
| 152 | + /*rtl:begin:ignore*/ | |
| 153 | +/* | |
| 154 | + */ | |
| 155 | + right: 0; | |
| 156 | +/* | |
| 157 | + /*rtl:end:ignore*/ | |
| 158 | +/* | |
| 159 | + */ | |
| 160 | +} | |
| 161 | +/* | |
| 162 | + /*rtl:begin:ignore*/ | |
| 163 | +/* | |
| 164 | + /*rtl:end:ignore*/ | |
| 165 | +.flatpickr-prev-month.flatpickr-next-month, | |
| 166 | +.flatpickr-next-month.flatpickr-next-month { | |
| 167 | +/* | |
| 168 | + /*rtl:begin:ignore*/ | |
| 169 | +/* | |
| 170 | + */ | |
| 171 | + left: 0; | |
| 172 | +/* | |
| 173 | + /*rtl:end:ignore*/ | |
| 174 | +/* | |
| 175 | + */ | |
| 176 | +} | |
| 177 | +/* | |
| 178 | + /*rtl:begin:ignore*/ | |
| 179 | +/* | |
| 180 | + /*rtl:end:ignore*/ | |
| 181 | +.flatpickr-prev-month:hover, | |
| 182 | +.flatpickr-next-month:hover { | |
| 183 | + color: #bbb; | |
| 184 | +} | |
| 185 | +.flatpickr-prev-month:hover svg, | |
| 186 | +.flatpickr-next-month:hover svg { | |
| 187 | + fill: #f64747; | |
| 188 | +} | |
| 189 | +.flatpickr-prev-month svg, | |
| 190 | +.flatpickr-next-month svg { | |
| 191 | + width: 14px; | |
| 192 | +} | |
| 193 | +.flatpickr-prev-month svg path, | |
| 194 | +.flatpickr-next-month svg path { | |
| 195 | + transition: fill 0.1s; | |
| 196 | + fill: inherit; | |
| 197 | +} | |
| 198 | +.numInputWrapper { | |
| 199 | + position: relative; | |
| 200 | + height: auto; | |
| 201 | +} | |
| 202 | +.numInputWrapper input, | |
| 203 | +.numInputWrapper span { | |
| 204 | + display: inline-block; | |
| 205 | +} | |
| 206 | +.numInputWrapper input { | |
| 207 | + width: 100%; | |
| 208 | +} | |
| 209 | +.numInputWrapper span { | |
| 210 | + position: absolute; | |
| 211 | + left: 0; | |
| 212 | + width: 14px; | |
| 213 | + padding: 0 2px 0 4px; | |
| 214 | + height: 50%; | |
| 215 | + line-height: 50%; | |
| 216 | + opacity: 0; | |
| 217 | + cursor: pointer; | |
| 218 | + border: 1px solid rgba(72,72,72,0.05); | |
| 219 | + box-sizing: border-box; | |
| 220 | +} | |
| 221 | +.numInputWrapper span:hover { | |
| 222 | + background: rgba(0,0,0,0.1); | |
| 223 | +} | |
| 224 | +.numInputWrapper span:active { | |
| 225 | + background: rgba(0,0,0,0.2); | |
| 226 | +} | |
| 227 | +.numInputWrapper span:after { | |
| 228 | + display: block; | |
| 229 | + content: ""; | |
| 230 | + position: absolute; | |
| 231 | + top: 33%; | |
| 232 | +} | |
| 233 | +.numInputWrapper span.arrowUp { | |
| 234 | + top: 0; | |
| 235 | + border-bottom: 0; | |
| 236 | +} | |
| 237 | +.numInputWrapper span.arrowUp:after { | |
| 238 | + border-right: 4px solid transparent; | |
| 239 | + border-left: 4px solid transparent; | |
| 240 | + border-bottom: 4px solid rgba(72,72,72,0.6); | |
| 241 | +} | |
| 242 | +.numInputWrapper span.arrowDown { | |
| 243 | + top: 50%; | |
| 244 | +} | |
| 245 | +.numInputWrapper span.arrowDown:after { | |
| 246 | + border-right: 4px solid transparent; | |
| 247 | + border-left: 4px solid transparent; | |
| 248 | + border-top: 4px solid rgba(72,72,72,0.6); | |
| 249 | +} | |
| 250 | +.numInputWrapper span svg { | |
| 251 | + width: inherit; | |
| 252 | + height: auto; | |
| 253 | +} | |
| 254 | +.numInputWrapper span svg path { | |
| 255 | + fill: rgba(255,255,255,0.5); | |
| 256 | +} | |
| 257 | +.numInputWrapper:hover { | |
| 258 | + background: rgba(0,0,0,0.05); | |
| 259 | +} | |
| 260 | +.numInputWrapper:hover span { | |
| 261 | + opacity: 1; | |
| 262 | +} | |
| 263 | +.flatpickr-current-month { | |
| 264 | + font-size: 135%; | |
| 265 | + line-height: inherit; | |
| 266 | + font-weight: 300; | |
| 267 | + color: inherit; | |
| 268 | + position: absolute; | |
| 269 | + width: 75%; | |
| 270 | + right: 12.5%; | |
| 271 | + top: 5px; | |
| 272 | + display: inline-block; | |
| 273 | + text-align: center; | |
| 274 | + transform: translate(0px, 0px); | |
| 275 | +} | |
| 276 | +.flatpickr-current-month.slideLeft { | |
| 277 | + transform: translate(100%, 0px); | |
| 278 | + animation: fadeOut 400ms ease, slideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 279 | +} | |
| 280 | +.flatpickr-current-month.slideLeftNew { | |
| 281 | + transform: translate(-100%, 0px); | |
| 282 | + animation: fadeIn 400ms ease, slideLeftNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 283 | +} | |
| 284 | +.flatpickr-current-month.slideRight { | |
| 285 | + transform: translate(-100%, 0px); | |
| 286 | + animation: fadeOut 400ms ease, slideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 287 | +} | |
| 288 | +.flatpickr-current-month.slideRightNew { | |
| 289 | + transform: translate(0, 0); | |
| 290 | + animation: fadeIn 400ms ease, slideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 291 | +} | |
| 292 | +.flatpickr-current-month span.cur-month { | |
| 293 | + font-family: inherit; | |
| 294 | + font-weight: 700; | |
| 295 | + color: inherit; | |
| 296 | + display: inline-block; | |
| 297 | + margin-right: 7px; | |
| 298 | + padding: 0; | |
| 299 | +} | |
| 300 | +.flatpickr-current-month span.cur-month:hover { | |
| 301 | + background: rgba(0,0,0,0.05); | |
| 302 | +} | |
| 303 | +.flatpickr-current-month .numInputWrapper { | |
| 304 | + width: 6ch; | |
| 305 | + width: 7ch\0; | |
| 306 | + display: inline-block; | |
| 307 | +} | |
| 308 | +.flatpickr-current-month .numInputWrapper span.arrowUp:after { | |
| 309 | + border-bottom-color: #fff; | |
| 310 | +} | |
| 311 | +.flatpickr-current-month .numInputWrapper span.arrowDown:after { | |
| 312 | + border-top-color: #fff; | |
| 313 | +} | |
| 314 | +.flatpickr-current-month input.cur-year { | |
| 315 | + background: transparent; | |
| 316 | + box-sizing: border-box; | |
| 317 | + color: inherit; | |
| 318 | + cursor: default; | |
| 319 | + padding: 0 0.5ch 0 0; | |
| 320 | + margin: 0; | |
| 321 | + display: inline; | |
| 322 | + font-size: inherit; | |
| 323 | + font-family: inherit; | |
| 324 | + font-weight: 300; | |
| 325 | + line-height: inherit; | |
| 326 | + height: initial; | |
| 327 | + border: 0; | |
| 328 | + border-radius: 0; | |
| 329 | + vertical-align: initial; | |
| 330 | +} | |
| 331 | +.flatpickr-current-month input.cur-year:focus { | |
| 332 | + outline: 0; | |
| 333 | +} | |
| 334 | +.flatpickr-current-month input.cur-year[disabled], | |
| 335 | +.flatpickr-current-month input.cur-year[disabled]:hover { | |
| 336 | + font-size: 100%; | |
| 337 | + color: rgba(255,255,255,0.5); | |
| 338 | + background: transparent; | |
| 339 | + pointer-events: none; | |
| 340 | +} | |
| 341 | +.flatpickr-weekdays { | |
| 342 | + background: #ffb866; | |
| 343 | + text-align: center; | |
| 344 | + overflow: hidden; | |
| 345 | + width: 315px; | |
| 346 | + display: flex; | |
| 347 | + align-items: center; | |
| 348 | + height: 28px; | |
| 349 | +} | |
| 350 | +span.flatpickr-weekday { | |
| 351 | + cursor: default; | |
| 352 | + font-size: 90%; | |
| 353 | + color: rgba(0,0,0,0.54); | |
| 354 | + line-height: 1; | |
| 355 | + margin: 0; | |
| 356 | + background: #ffb866; | |
| 357 | + text-align: center; | |
| 358 | + display: block; | |
| 359 | + flex: 1; | |
| 360 | + font-weight: bolder; | |
| 361 | + margin: 0; | |
| 362 | +} | |
| 363 | +.dayContainer, | |
| 364 | +.flatpickr-weeks { | |
| 365 | + padding: 1px 0 0 0; | |
| 366 | +} | |
| 367 | +.flatpickr-days { | |
| 368 | + position: relative; | |
| 369 | + overflow: hidden; | |
| 370 | + display: flex; | |
| 371 | + width: 315px; | |
| 372 | + background: #fff; | |
| 373 | + border-right: 1px solid rgba(72,72,72,0.1); | |
| 374 | + border-left: 1px solid rgba(72,72,72,0.1); | |
| 375 | +} | |
| 376 | +.flatpickr-days:focus { | |
| 377 | + outline: 0; | |
| 378 | +} | |
| 379 | +.dayContainer { | |
| 380 | + padding: 0; | |
| 381 | + outline: 0; | |
| 382 | + text-align: right; | |
| 383 | + width: 315px; | |
| 384 | + min-width: 315px; | |
| 385 | + max-width: 315px; | |
| 386 | + box-sizing: border-box; | |
| 387 | + display: inline-block; | |
| 388 | + display: -ms-flexbox; | |
| 389 | + display: flex; | |
| 390 | + flex-wrap: wrap; | |
| 391 | + -ms-flex-wrap: wrap; | |
| 392 | + -ms-flex-pack: justify; | |
| 393 | + justify-content: space-around; | |
| 394 | + transform: translate(0px, 0px); | |
| 395 | + opacity: 1; | |
| 396 | +} | |
| 397 | +.flatpickr-calendar.animate .dayContainer.slideLeft { | |
| 398 | + animation: fadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), slideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 399 | +} | |
| 400 | +.flatpickr-calendar.animate .dayContainer.slideLeft, | |
| 401 | +.flatpickr-calendar.animate .dayContainer.slideLeftNew { | |
| 402 | + transform: translate(100%, 0px); | |
| 403 | +} | |
| 404 | +.flatpickr-calendar.animate .dayContainer.slideLeftNew { | |
| 405 | + animation: fadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), slideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 406 | +} | |
| 407 | +.flatpickr-calendar.animate .dayContainer.slideRight { | |
| 408 | + animation: fadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), slideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 409 | + transform: translate(-100%, 0px); | |
| 410 | +} | |
| 411 | +.flatpickr-calendar.animate .dayContainer.slideRightNew { | |
| 412 | + animation: fadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), slideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 413 | +} | |
| 414 | +.flatpickr-day { | |
| 415 | + background: none; | |
| 416 | + border: 1px solid transparent; | |
| 417 | + border-radius: 150px; | |
| 418 | + box-sizing: border-box; | |
| 419 | + color: #484848; | |
| 420 | + cursor: pointer; | |
| 421 | + font-weight: 400; | |
| 422 | + width: 14.2857143%; | |
| 423 | + flex-basis: 14.2857143%; | |
| 424 | + max-width: 40px; | |
| 425 | + height: 40px; | |
| 426 | + line-height: 40px; | |
| 427 | + margin: 0; | |
| 428 | + display: inline-block; | |
| 429 | + position: relative; | |
| 430 | + justify-content: center; | |
| 431 | + text-align: center; | |
| 432 | +} | |
| 433 | +.flatpickr-day.inRange, | |
| 434 | +.flatpickr-day.prevMonthDay.inRange, | |
| 435 | +.flatpickr-day.nextMonthDay.inRange, | |
| 436 | +.flatpickr-day.today.inRange, | |
| 437 | +.flatpickr-day.prevMonthDay.today.inRange, | |
| 438 | +.flatpickr-day.nextMonthDay.today.inRange, | |
| 439 | +.flatpickr-day:hover, | |
| 440 | +.flatpickr-day.prevMonthDay:hover, | |
| 441 | +.flatpickr-day.nextMonthDay:hover, | |
| 442 | +.flatpickr-day:focus, | |
| 443 | +.flatpickr-day.prevMonthDay:focus, | |
| 444 | +.flatpickr-day.nextMonthDay:focus { | |
| 445 | + cursor: pointer; | |
| 446 | + outline: 0; | |
| 447 | + background: #e2e2e2; | |
| 448 | + border-color: #e2e2e2; | |
| 449 | +} | |
| 450 | +.flatpickr-day.today { | |
| 451 | + border-color: #bbb; | |
| 452 | +} | |
| 453 | +.flatpickr-day.today:hover, | |
| 454 | +.flatpickr-day.today:focus { | |
| 455 | + border-color: #bbb; | |
| 456 | + background: #bbb; | |
| 457 | + color: #fff; | |
| 458 | +} | |
| 459 | +.flatpickr-day.selected, | |
| 460 | +.flatpickr-day.startRange, | |
| 461 | +.flatpickr-day.endRange, | |
| 462 | +.flatpickr-day.selected.inRange, | |
| 463 | +.flatpickr-day.startRange.inRange, | |
| 464 | +.flatpickr-day.endRange.inRange, | |
| 465 | +.flatpickr-day.selected:focus, | |
| 466 | +.flatpickr-day.startRange:focus, | |
| 467 | +.flatpickr-day.endRange:focus, | |
| 468 | +.flatpickr-day.selected:hover, | |
| 469 | +.flatpickr-day.startRange:hover, | |
| 470 | +.flatpickr-day.endRange:hover, | |
| 471 | +.flatpickr-day.selected.prevMonthDay, | |
| 472 | +.flatpickr-day.startRange.prevMonthDay, | |
| 473 | +.flatpickr-day.endRange.prevMonthDay, | |
| 474 | +.flatpickr-day.selected.nextMonthDay, | |
| 475 | +.flatpickr-day.startRange.nextMonthDay, | |
| 476 | +.flatpickr-day.endRange.nextMonthDay { | |
| 477 | + background: #ffb866; | |
| 478 | + box-shadow: none; | |
| 479 | + color: #fff; | |
| 480 | + border-color: #ffb866; | |
| 481 | +} | |
| 482 | +.flatpickr-day.selected.startRange, | |
| 483 | +.flatpickr-day.startRange.startRange, | |
| 484 | +.flatpickr-day.endRange.startRange { | |
| 485 | + border-radius: 0 50px 50px 0; | |
| 486 | +} | |
| 487 | +.flatpickr-day.selected.endRange, | |
| 488 | +.flatpickr-day.startRange.endRange, | |
| 489 | +.flatpickr-day.endRange.endRange { | |
| 490 | + border-radius: 50px 0 0 50px; | |
| 491 | +} | |
| 492 | +.flatpickr-day.selected.startRange + .endRange, | |
| 493 | +.flatpickr-day.startRange.startRange + .endRange, | |
| 494 | +.flatpickr-day.endRange.startRange + .endRange { | |
| 495 | + box-shadow: 10px 0 0 #ffb866; | |
| 496 | +} | |
| 497 | +.flatpickr-day.selected.startRange.endRange, | |
| 498 | +.flatpickr-day.startRange.startRange.endRange, | |
| 499 | +.flatpickr-day.endRange.startRange.endRange { | |
| 500 | + border-radius: 50px; | |
| 501 | +} | |
| 502 | +.flatpickr-day.inRange { | |
| 503 | + border-radius: 0; | |
| 504 | + box-shadow: 5px 0 0 #e2e2e2, -5px 0 0 #e2e2e2; | |
| 505 | +} | |
| 506 | +.flatpickr-day.disabled, | |
| 507 | +.flatpickr-day.disabled:hover { | |
| 508 | + pointer-events: none; | |
| 509 | +} | |
| 510 | +.flatpickr-day.disabled, | |
| 511 | +.flatpickr-day.disabled:hover, | |
| 512 | +.flatpickr-day.prevMonthDay, | |
| 513 | +.flatpickr-day.nextMonthDay, | |
| 514 | +.flatpickr-day.notAllowed, | |
| 515 | +.flatpickr-day.notAllowed.prevMonthDay, | |
| 516 | +.flatpickr-day.notAllowed.nextMonthDay { | |
| 517 | + color: rgba(72,72,72,0.3); | |
| 518 | + background: transparent; | |
| 519 | + border-color: transparent; | |
| 520 | + cursor: default; | |
| 521 | +} | |
| 522 | +.rangeMode .flatpickr-day { | |
| 523 | + margin-top: 1px; | |
| 524 | +} | |
| 525 | +.flatpickr-weekwrapper { | |
| 526 | + display: inline-block; | |
| 527 | + float: right; | |
| 528 | +} | |
| 529 | +.flatpickr-weekwrapper .flatpickr-weeks { | |
| 530 | + padding: 1px 12px 0 12px; | |
| 531 | + border-right: 1px solid rgba(72,72,72,0.1); | |
| 532 | + box-shadow: -1px 0 0 rgba(72,72,72,0.1); | |
| 533 | +} | |
| 534 | +.flatpickr-weekwrapper .flatpickr-weekday { | |
| 535 | + float: none; | |
| 536 | + width: 100%; | |
| 537 | +} | |
| 538 | +.flatpickr-weekwrapper span.flatpickr-day { | |
| 539 | + display: block; | |
| 540 | + width: 100%; | |
| 541 | + max-width: none; | |
| 542 | +} | |
| 543 | +.flatpickr-innerContainer { | |
| 544 | + display: block; | |
| 545 | + display: flex; | |
| 546 | + box-sizing: border-box; | |
| 547 | + overflow: hidden; | |
| 548 | + background: #fff; | |
| 549 | + border-bottom: 1px solid rgba(72,72,72,0.1); | |
| 550 | +} | |
| 551 | +.flatpickr-rContainer { | |
| 552 | + display: inline-block; | |
| 553 | + padding: 0; | |
| 554 | + box-sizing: border-box; | |
| 555 | +} | |
| 556 | +.flatpickr-time { | |
| 557 | + text-align: center; | |
| 558 | + outline: 0; | |
| 559 | + display: block; | |
| 560 | + height: 0; | |
| 561 | + line-height: 40px; | |
| 562 | + max-height: 40px; | |
| 563 | + box-sizing: border-box; | |
| 564 | + overflow: hidden; | |
| 565 | + display: flex; | |
| 566 | + background: #fff; | |
| 567 | + border-radius: 0 0 5px 5px; | |
| 568 | +} | |
| 569 | +.flatpickr-time:after { | |
| 570 | + content: ""; | |
| 571 | + display: table; | |
| 572 | + clear: both; | |
| 573 | +} | |
| 574 | +.flatpickr-time .numInputWrapper { | |
| 575 | + flex: 1; | |
| 576 | + width: 40%; | |
| 577 | + height: 40px; | |
| 578 | + float: right; | |
| 579 | +} | |
| 580 | +.flatpickr-time .numInputWrapper span.arrowUp:after { | |
| 581 | + border-bottom-color: #484848; | |
| 582 | +} | |
| 583 | +.flatpickr-time .numInputWrapper span.arrowDown:after { | |
| 584 | + border-top-color: #484848; | |
| 585 | +} | |
| 586 | +.flatpickr-time.hasSeconds .numInputWrapper { | |
| 587 | + width: 26%; | |
| 588 | +} | |
| 589 | +.flatpickr-time.time24hr .numInputWrapper { | |
| 590 | + width: 49%; | |
| 591 | +} | |
| 592 | +.flatpickr-time input { | |
| 593 | + background: transparent; | |
| 594 | + box-shadow: none; | |
| 595 | + border: 0; | |
| 596 | + border-radius: 0; | |
| 597 | + text-align: center; | |
| 598 | + margin: 0; | |
| 599 | + padding: 0; | |
| 600 | + height: inherit; | |
| 601 | + line-height: inherit; | |
| 602 | + cursor: pointer; | |
| 603 | + color: #484848; | |
| 604 | + font-size: 14px; | |
| 605 | + position: relative; | |
| 606 | + box-sizing: border-box; | |
| 607 | +} | |
| 608 | +.flatpickr-time input.flatpickr-hour { | |
| 609 | + font-weight: bold; | |
| 610 | +} | |
| 611 | +.flatpickr-time input.flatpickr-minute, | |
| 612 | +.flatpickr-time input.flatpickr-second { | |
| 613 | + font-weight: 400; | |
| 614 | +} | |
| 615 | +.flatpickr-time input:focus { | |
| 616 | + outline: 0; | |
| 617 | + border: 0; | |
| 618 | +} | |
| 619 | +.flatpickr-time .flatpickr-time-separator, | |
| 620 | +.flatpickr-time .flatpickr-am-pm { | |
| 621 | + height: inherit; | |
| 622 | + display: inline-block; | |
| 623 | + float: right; | |
| 624 | + line-height: inherit; | |
| 625 | + color: #484848; | |
| 626 | + font-weight: bold; | |
| 627 | + width: 2%; | |
| 628 | + user-select: none; | |
| 629 | +} | |
| 630 | +.flatpickr-time .flatpickr-am-pm { | |
| 631 | + outline: 0; | |
| 632 | + width: 18%; | |
| 633 | + cursor: pointer; | |
| 634 | + text-align: center; | |
| 635 | + font-weight: 400; | |
| 636 | +} | |
| 637 | +.flatpickr-time .flatpickr-am-pm:hover, | |
| 638 | +.flatpickr-time .flatpickr-am-pm:focus { | |
| 639 | + background: #ececec; | |
| 640 | +} | |
| 641 | +@media all and (-ms-high-contrast: none) { | |
| 642 | + .flatpickr-month { | |
| 643 | + padding: 0; | |
| 644 | + } | |
| 645 | + .flatpickr-month svg { | |
| 646 | + top: 0 !important; | |
| 647 | + } | |
| 648 | +} | |
| 649 | +.flatpickr-input[readonly] { | |
| 650 | + cursor: pointer; | |
| 651 | +} | |
| 652 | +@-moz-keyframes flatpickrFadeInDown { | |
| 653 | + from { | |
| 654 | + opacity: 0; | |
| 655 | + transform: translate3d(0, -20px, 0); | |
| 656 | + } | |
| 657 | + to { | |
| 658 | + opacity: 1; | |
| 659 | + transform: translate3d(0, 0, 0); | |
| 660 | + } | |
| 661 | +} | |
| 662 | +@-webkit-keyframes flatpickrFadeInDown { | |
| 663 | + from { | |
| 664 | + opacity: 0; | |
| 665 | + transform: translate3d(0, -20px, 0); | |
| 666 | + } | |
| 667 | + to { | |
| 668 | + opacity: 1; | |
| 669 | + transform: translate3d(0, 0, 0); | |
| 670 | + } | |
| 671 | +} | |
| 672 | +@-o-keyframes flatpickrFadeInDown { | |
| 673 | + from { | |
| 674 | + opacity: 0; | |
| 675 | + transform: translate3d(0, -20px, 0); | |
| 676 | + } | |
| 677 | + to { | |
| 678 | + opacity: 1; | |
| 679 | + transform: translate3d(0, 0, 0); | |
| 680 | + } | |
| 681 | +} | |
| 682 | +@keyframes flatpickrFadeInDown { | |
| 683 | + from { | |
| 684 | + opacity: 0; | |
| 685 | + transform: translate3d(0, -20px, 0); | |
| 686 | + } | |
| 687 | + to { | |
| 688 | + opacity: 1; | |
| 689 | + transform: translate3d(0, 0, 0); | |
| 690 | + } | |
| 691 | +} | |
| 692 | +@-moz-keyframes slideLeft { | |
| 693 | + from { | |
| 694 | + transform: translate(0px, 0px); | |
| 695 | + } | |
| 696 | + to { | |
| 697 | + transform: translate(100%, 0px); | |
| 698 | + } | |
| 699 | +} | |
| 700 | +@-webkit-keyframes slideLeft { | |
| 701 | + from { | |
| 702 | + transform: translate(0px, 0px); | |
| 703 | + } | |
| 704 | + to { | |
| 705 | + transform: translate(100%, 0px); | |
| 706 | + } | |
| 707 | +} | |
| 708 | +@-o-keyframes slideLeft { | |
| 709 | + from { | |
| 710 | + transform: translate(0px, 0px); | |
| 711 | + } | |
| 712 | + to { | |
| 713 | + transform: translate(100%, 0px); | |
| 714 | + } | |
| 715 | +} | |
| 716 | +@keyframes slideLeft { | |
| 717 | + from { | |
| 718 | + transform: translate(0px, 0px); | |
| 719 | + } | |
| 720 | + to { | |
| 721 | + transform: translate(100%, 0px); | |
| 722 | + } | |
| 723 | +} | |
| 724 | +@-moz-keyframes slideLeftNew { | |
| 725 | + from { | |
| 726 | + transform: translate(-100%, 0px); | |
| 727 | + } | |
| 728 | + to { | |
| 729 | + transform: translate(0px, 0px); | |
| 730 | + } | |
| 731 | +} | |
| 732 | +@-webkit-keyframes slideLeftNew { | |
| 733 | + from { | |
| 734 | + transform: translate(-100%, 0px); | |
| 735 | + } | |
| 736 | + to { | |
| 737 | + transform: translate(0px, 0px); | |
| 738 | + } | |
| 739 | +} | |
| 740 | +@-o-keyframes slideLeftNew { | |
| 741 | + from { | |
| 742 | + transform: translate(-100%, 0px); | |
| 743 | + } | |
| 744 | + to { | |
| 745 | + transform: translate(0px, 0px); | |
| 746 | + } | |
| 747 | +} | |
| 748 | +@keyframes slideLeftNew { | |
| 749 | + from { | |
| 750 | + transform: translate(-100%, 0px); | |
| 751 | + } | |
| 752 | + to { | |
| 753 | + transform: translate(0px, 0px); | |
| 754 | + } | |
| 755 | +} | |
| 756 | +@-moz-keyframes slideRight { | |
| 757 | + from { | |
| 758 | + transform: translate(0, 0); | |
| 759 | + } | |
| 760 | + to { | |
| 761 | + transform: translate(-100%, 0px); | |
| 762 | + } | |
| 763 | +} | |
| 764 | +@-webkit-keyframes slideRight { | |
| 765 | + from { | |
| 766 | + transform: translate(0, 0); | |
| 767 | + } | |
| 768 | + to { | |
| 769 | + transform: translate(-100%, 0px); | |
| 770 | + } | |
| 771 | +} | |
| 772 | +@-o-keyframes slideRight { | |
| 773 | + from { | |
| 774 | + transform: translate(0, 0); | |
| 775 | + } | |
| 776 | + to { | |
| 777 | + transform: translate(-100%, 0px); | |
| 778 | + } | |
| 779 | +} | |
| 780 | +@keyframes slideRight { | |
| 781 | + from { | |
| 782 | + transform: translate(0, 0); | |
| 783 | + } | |
| 784 | + to { | |
| 785 | + transform: translate(-100%, 0px); | |
| 786 | + } | |
| 787 | +} | |
| 788 | +@-moz-keyframes slideRightNew { | |
| 789 | + from { | |
| 790 | + transform: translate(100%, 0); | |
| 791 | + } | |
| 792 | + to { | |
| 793 | + transform: translate(0, 0); | |
| 794 | + } | |
| 795 | +} | |
| 796 | +@-webkit-keyframes slideRightNew { | |
| 797 | + from { | |
| 798 | + transform: translate(100%, 0); | |
| 799 | + } | |
| 800 | + to { | |
| 801 | + transform: translate(0, 0); | |
| 802 | + } | |
| 803 | +} | |
| 804 | +@-o-keyframes slideRightNew { | |
| 805 | + from { | |
| 806 | + transform: translate(100%, 0); | |
| 807 | + } | |
| 808 | + to { | |
| 809 | + transform: translate(0, 0); | |
| 810 | + } | |
| 811 | +} | |
| 812 | +@keyframes slideRightNew { | |
| 813 | + from { | |
| 814 | + transform: translate(100%, 0); | |
| 815 | + } | |
| 816 | + to { | |
| 817 | + transform: translate(0, 0); | |
| 818 | + } | |
| 819 | +} | |
| 820 | +@-moz-keyframes fadeOut { | |
| 821 | + from { | |
| 822 | + opacity: 1; | |
| 823 | + } | |
| 824 | + to { | |
| 825 | + opacity: 0; | |
| 826 | + } | |
| 827 | +} | |
| 828 | +@-webkit-keyframes fadeOut { | |
| 829 | + from { | |
| 830 | + opacity: 1; | |
| 831 | + } | |
| 832 | + to { | |
| 833 | + opacity: 0; | |
| 834 | + } | |
| 835 | +} | |
| 836 | +@-o-keyframes fadeOut { | |
| 837 | + from { | |
| 838 | + opacity: 1; | |
| 839 | + } | |
| 840 | + to { | |
| 841 | + opacity: 0; | |
| 842 | + } | |
| 843 | +} | |
| 844 | +@keyframes fadeOut { | |
| 845 | + from { | |
| 846 | + opacity: 1; | |
| 847 | + } | |
| 848 | + to { | |
| 849 | + opacity: 0; | |
| 850 | + } | |
| 851 | +} | |
| 852 | +@-moz-keyframes fadeIn { | |
| 853 | + from { | |
| 854 | + opacity: 0; | |
| 855 | + } | |
| 856 | + to { | |
| 857 | + opacity: 1; | |
| 858 | + } | |
| 859 | +} | |
| 860 | +@-webkit-keyframes fadeIn { | |
| 861 | + from { | |
| 862 | + opacity: 0; | |
| 863 | + } | |
| 864 | + to { | |
| 865 | + opacity: 1; | |
| 866 | + } | |
| 867 | +} | |
| 868 | +@-o-keyframes fadeIn { | |
| 869 | + from { | |
| 870 | + opacity: 0; | |
| 871 | + } | |
| 872 | + to { | |
| 873 | + opacity: 1; | |
| 874 | + } | |
| 875 | +} | |
| 876 | +@keyframes fadeIn { | |
| 877 | + from { | |
| 878 | + opacity: 0; | |
| 879 | + } | |
| 880 | + to { | |
| 881 | + opacity: 1; | |
| 882 | + } | |
| 883 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/flatpickr/rtl/themes/dark.rtl.css
0 → 100644
| 1 | +.flatpickr-calendar { | |
| 2 | + background: transparent; | |
| 3 | + overflow: hidden; | |
| 4 | + max-height: 0; | |
| 5 | + opacity: 0; | |
| 6 | + visibility: hidden; | |
| 7 | + text-align: center; | |
| 8 | + padding: 0; | |
| 9 | + animation: none; | |
| 10 | + direction: rtl; | |
| 11 | + border: 0; | |
| 12 | + font-size: 14px; | |
| 13 | + line-height: 24px; | |
| 14 | + border-radius: 5px; | |
| 15 | + position: absolute; | |
| 16 | + width: 315px; | |
| 17 | + box-sizing: border-box; | |
| 18 | + background: rgba(63,68,88,0.95); | |
| 19 | + box-shadow: -1px 0 0 #3f4458, 1px 0 0 #3f4458, 0 1px 0 #3f4458, 0 -1px 0 #3f4458, 0 3px 13px rgba(0,0,0,0.08); | |
| 20 | +} | |
| 21 | +.flatpickr-calendar.open, | |
| 22 | +.flatpickr-calendar.inline { | |
| 23 | + opacity: 1; | |
| 24 | + visibility: visible; | |
| 25 | + overflow: visible; | |
| 26 | + max-height: 640px; | |
| 27 | +} | |
| 28 | +.flatpickr-calendar.open { | |
| 29 | + display: inline-block; | |
| 30 | + z-index: 99999; | |
| 31 | +} | |
| 32 | +.flatpickr-calendar.animate.open { | |
| 33 | + animation: flatpickrFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 34 | +} | |
| 35 | +.flatpickr-calendar.inline { | |
| 36 | + display: block; | |
| 37 | + position: relative; | |
| 38 | + top: 2px; | |
| 39 | +} | |
| 40 | +.flatpickr-calendar.static { | |
| 41 | + position: absolute; | |
| 42 | + top: calc(100% + 2px); | |
| 43 | +} | |
| 44 | +.flatpickr-calendar.static.open { | |
| 45 | + z-index: 999; | |
| 46 | + display: block; | |
| 47 | +} | |
| 48 | +.flatpickr-calendar.hasWeeks { | |
| 49 | + width: auto; | |
| 50 | +} | |
| 51 | +.flatpickr-calendar .hasWeeks .dayContainer, | |
| 52 | +.flatpickr-calendar .hasTime .dayContainer { | |
| 53 | + border-bottom: 0; | |
| 54 | + border-bottom-left-radius: 0; | |
| 55 | + border-bottom-right-radius: 0; | |
| 56 | +} | |
| 57 | +.flatpickr-calendar .hasWeeks .dayContainer { | |
| 58 | + border-right: 0; | |
| 59 | +} | |
| 60 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time { | |
| 61 | + height: 40px; | |
| 62 | + border-top: 1px solid #3f4458; | |
| 63 | +} | |
| 64 | +.flatpickr-calendar.noCalendar.hasTime .flatpickr-time { | |
| 65 | + height: auto; | |
| 66 | +} | |
| 67 | +.flatpickr-calendar:before, | |
| 68 | +.flatpickr-calendar:after { | |
| 69 | + position: absolute; | |
| 70 | + display: block; | |
| 71 | + pointer-events: none; | |
| 72 | + border: solid transparent; | |
| 73 | + content: ''; | |
| 74 | + height: 0; | |
| 75 | + width: 0; | |
| 76 | + right: 22px; | |
| 77 | +} | |
| 78 | +.flatpickr-calendar.rightMost:before, | |
| 79 | +.flatpickr-calendar.rightMost:after { | |
| 80 | + right: auto; | |
| 81 | + left: 22px; | |
| 82 | +} | |
| 83 | +.flatpickr-calendar:before { | |
| 84 | + border-width: 5px; | |
| 85 | + margin: 0 -5px; | |
| 86 | +} | |
| 87 | +.flatpickr-calendar:after { | |
| 88 | + border-width: 4px; | |
| 89 | + margin: 0 -4px; | |
| 90 | +} | |
| 91 | +.flatpickr-calendar.arrowTop:before, | |
| 92 | +.flatpickr-calendar.arrowTop:after { | |
| 93 | + bottom: 100%; | |
| 94 | +} | |
| 95 | +.flatpickr-calendar.arrowTop:before { | |
| 96 | + border-bottom-color: #3f4458; | |
| 97 | +} | |
| 98 | +.flatpickr-calendar.arrowTop:after { | |
| 99 | + border-bottom-color: rgba(63,68,88,0.95); | |
| 100 | +} | |
| 101 | +.flatpickr-calendar.arrowBottom:before, | |
| 102 | +.flatpickr-calendar.arrowBottom:after { | |
| 103 | + top: 100%; | |
| 104 | +} | |
| 105 | +.flatpickr-calendar.arrowBottom:before { | |
| 106 | + border-top-color: #3f4458; | |
| 107 | +} | |
| 108 | +.flatpickr-calendar.arrowBottom:after { | |
| 109 | + border-top-color: rgba(63,68,88,0.95); | |
| 110 | +} | |
| 111 | +.flatpickr-calendar:focus { | |
| 112 | + outline: 0; | |
| 113 | +} | |
| 114 | +.flatpickr-wrapper { | |
| 115 | + position: relative; | |
| 116 | + display: inline-block; | |
| 117 | +} | |
| 118 | +.flatpickr-month { | |
| 119 | + background: transparent; | |
| 120 | + color: #fff; | |
| 121 | + fill: #fff; | |
| 122 | + height: 28px; | |
| 123 | + line-height: 24px; | |
| 124 | + text-align: center; | |
| 125 | + position: relative; | |
| 126 | + user-select: none; | |
| 127 | + overflow: hidden; | |
| 128 | +} | |
| 129 | +.flatpickr-prev-month, | |
| 130 | +.flatpickr-next-month { | |
| 131 | + text-decoration: none; | |
| 132 | + cursor: pointer; | |
| 133 | + position: absolute; | |
| 134 | + top: 0px; | |
| 135 | + height: 28px; | |
| 136 | + line-height: 16px; | |
| 137 | + padding: 10px calc(3.57% - 1.5px); | |
| 138 | +} | |
| 139 | +.flatpickr-prev-month i, | |
| 140 | +.flatpickr-next-month i { | |
| 141 | + position: relative; | |
| 142 | +} | |
| 143 | +.flatpickr-prev-month.flatpickr-prev-month, | |
| 144 | +.flatpickr-next-month.flatpickr-prev-month { | |
| 145 | +/* | |
| 146 | + /*rtl:begin:ignore*/ | |
| 147 | +/* | |
| 148 | + */ | |
| 149 | + right: 0; | |
| 150 | +/* | |
| 151 | + /*rtl:end:ignore*/ | |
| 152 | +/* | |
| 153 | + */ | |
| 154 | +} | |
| 155 | +/* | |
| 156 | + /*rtl:begin:ignore*/ | |
| 157 | +/* | |
| 158 | + /*rtl:end:ignore*/ | |
| 159 | +.flatpickr-prev-month.flatpickr-next-month, | |
| 160 | +.flatpickr-next-month.flatpickr-next-month { | |
| 161 | +/* | |
| 162 | + /*rtl:begin:ignore*/ | |
| 163 | +/* | |
| 164 | + */ | |
| 165 | + left: 0; | |
| 166 | +/* | |
| 167 | + /*rtl:end:ignore*/ | |
| 168 | +/* | |
| 169 | + */ | |
| 170 | +} | |
| 171 | +/* | |
| 172 | + /*rtl:begin:ignore*/ | |
| 173 | +/* | |
| 174 | + /*rtl:end:ignore*/ | |
| 175 | +.flatpickr-prev-month:hover, | |
| 176 | +.flatpickr-next-month:hover { | |
| 177 | + color: #eee; | |
| 178 | +} | |
| 179 | +.flatpickr-prev-month:hover svg, | |
| 180 | +.flatpickr-next-month:hover svg { | |
| 181 | + fill: #f64747; | |
| 182 | +} | |
| 183 | +.flatpickr-prev-month svg, | |
| 184 | +.flatpickr-next-month svg { | |
| 185 | + width: 14px; | |
| 186 | +} | |
| 187 | +.flatpickr-prev-month svg path, | |
| 188 | +.flatpickr-next-month svg path { | |
| 189 | + transition: fill 0.1s; | |
| 190 | + fill: inherit; | |
| 191 | +} | |
| 192 | +.numInputWrapper { | |
| 193 | + position: relative; | |
| 194 | + height: auto; | |
| 195 | +} | |
| 196 | +.numInputWrapper input, | |
| 197 | +.numInputWrapper span { | |
| 198 | + display: inline-block; | |
| 199 | +} | |
| 200 | +.numInputWrapper input { | |
| 201 | + width: 100%; | |
| 202 | +} | |
| 203 | +.numInputWrapper span { | |
| 204 | + position: absolute; | |
| 205 | + left: 0; | |
| 206 | + width: 14px; | |
| 207 | + padding: 0 2px 0 4px; | |
| 208 | + height: 50%; | |
| 209 | + line-height: 50%; | |
| 210 | + opacity: 0; | |
| 211 | + cursor: pointer; | |
| 212 | + border: 1px solid rgba(255,255,255,0.05); | |
| 213 | + box-sizing: border-box; | |
| 214 | +} | |
| 215 | +.numInputWrapper span:hover { | |
| 216 | + background: rgba(192,187,167,0.1); | |
| 217 | +} | |
| 218 | +.numInputWrapper span:active { | |
| 219 | + background: rgba(192,187,167,0.2); | |
| 220 | +} | |
| 221 | +.numInputWrapper span:after { | |
| 222 | + display: block; | |
| 223 | + content: ""; | |
| 224 | + position: absolute; | |
| 225 | + top: 33%; | |
| 226 | +} | |
| 227 | +.numInputWrapper span.arrowUp { | |
| 228 | + top: 0; | |
| 229 | + border-bottom: 0; | |
| 230 | +} | |
| 231 | +.numInputWrapper span.arrowUp:after { | |
| 232 | + border-right: 4px solid transparent; | |
| 233 | + border-left: 4px solid transparent; | |
| 234 | + border-bottom: 4px solid rgba(255,255,255,0.6); | |
| 235 | +} | |
| 236 | +.numInputWrapper span.arrowDown { | |
| 237 | + top: 50%; | |
| 238 | +} | |
| 239 | +.numInputWrapper span.arrowDown:after { | |
| 240 | + border-right: 4px solid transparent; | |
| 241 | + border-left: 4px solid transparent; | |
| 242 | + border-top: 4px solid rgba(255,255,255,0.6); | |
| 243 | +} | |
| 244 | +.numInputWrapper span svg { | |
| 245 | + width: inherit; | |
| 246 | + height: auto; | |
| 247 | +} | |
| 248 | +.numInputWrapper span svg path { | |
| 249 | + fill: rgba(255,255,255,0.5); | |
| 250 | +} | |
| 251 | +.numInputWrapper:hover { | |
| 252 | + background: rgba(192,187,167,0.05); | |
| 253 | +} | |
| 254 | +.numInputWrapper:hover span { | |
| 255 | + opacity: 1; | |
| 256 | +} | |
| 257 | +.flatpickr-current-month { | |
| 258 | + font-size: 135%; | |
| 259 | + line-height: inherit; | |
| 260 | + font-weight: 300; | |
| 261 | + color: inherit; | |
| 262 | + position: absolute; | |
| 263 | + width: 75%; | |
| 264 | + right: 12.5%; | |
| 265 | + top: 5px; | |
| 266 | + display: inline-block; | |
| 267 | + text-align: center; | |
| 268 | + transform: translate(0px, 0px); | |
| 269 | +} | |
| 270 | +.flatpickr-current-month.slideLeft { | |
| 271 | + transform: translate(100%, 0px); | |
| 272 | + animation: fadeOut 400ms ease, slideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 273 | +} | |
| 274 | +.flatpickr-current-month.slideLeftNew { | |
| 275 | + transform: translate(-100%, 0px); | |
| 276 | + animation: fadeIn 400ms ease, slideLeftNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 277 | +} | |
| 278 | +.flatpickr-current-month.slideRight { | |
| 279 | + transform: translate(-100%, 0px); | |
| 280 | + animation: fadeOut 400ms ease, slideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 281 | +} | |
| 282 | +.flatpickr-current-month.slideRightNew { | |
| 283 | + transform: translate(0, 0); | |
| 284 | + animation: fadeIn 400ms ease, slideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 285 | +} | |
| 286 | +.flatpickr-current-month span.cur-month { | |
| 287 | + font-family: inherit; | |
| 288 | + font-weight: 700; | |
| 289 | + color: inherit; | |
| 290 | + display: inline-block; | |
| 291 | + margin-right: 7px; | |
| 292 | + padding: 0; | |
| 293 | +} | |
| 294 | +.flatpickr-current-month span.cur-month:hover { | |
| 295 | + background: rgba(192,187,167,0.05); | |
| 296 | +} | |
| 297 | +.flatpickr-current-month .numInputWrapper { | |
| 298 | + width: 6ch; | |
| 299 | + width: 7ch\0; | |
| 300 | + display: inline-block; | |
| 301 | +} | |
| 302 | +.flatpickr-current-month .numInputWrapper span.arrowUp:after { | |
| 303 | + border-bottom-color: #fff; | |
| 304 | +} | |
| 305 | +.flatpickr-current-month .numInputWrapper span.arrowDown:after { | |
| 306 | + border-top-color: #fff; | |
| 307 | +} | |
| 308 | +.flatpickr-current-month input.cur-year { | |
| 309 | + background: transparent; | |
| 310 | + box-sizing: border-box; | |
| 311 | + color: inherit; | |
| 312 | + cursor: default; | |
| 313 | + padding: 0 0.5ch 0 0; | |
| 314 | + margin: 0; | |
| 315 | + display: inline; | |
| 316 | + font-size: inherit; | |
| 317 | + font-family: inherit; | |
| 318 | + font-weight: 300; | |
| 319 | + line-height: inherit; | |
| 320 | + height: initial; | |
| 321 | + border: 0; | |
| 322 | + border-radius: 0; | |
| 323 | + vertical-align: initial; | |
| 324 | +} | |
| 325 | +.flatpickr-current-month input.cur-year:focus { | |
| 326 | + outline: 0; | |
| 327 | +} | |
| 328 | +.flatpickr-current-month input.cur-year[disabled], | |
| 329 | +.flatpickr-current-month input.cur-year[disabled]:hover { | |
| 330 | + font-size: 100%; | |
| 331 | + color: rgba(255,255,255,0.5); | |
| 332 | + background: transparent; | |
| 333 | + pointer-events: none; | |
| 334 | +} | |
| 335 | +.flatpickr-weekdays { | |
| 336 | + background: transparent; | |
| 337 | + text-align: center; | |
| 338 | + overflow: hidden; | |
| 339 | + width: 315px; | |
| 340 | + display: flex; | |
| 341 | + align-items: center; | |
| 342 | + height: 28px; | |
| 343 | +} | |
| 344 | +span.flatpickr-weekday { | |
| 345 | + cursor: default; | |
| 346 | + font-size: 90%; | |
| 347 | + color: rgba(255,255,255,0.54); | |
| 348 | + line-height: 1; | |
| 349 | + margin: 0; | |
| 350 | + background: transparent; | |
| 351 | + text-align: center; | |
| 352 | + display: block; | |
| 353 | + flex: 1; | |
| 354 | + font-weight: bolder; | |
| 355 | + margin: 0; | |
| 356 | +} | |
| 357 | +.dayContainer, | |
| 358 | +.flatpickr-weeks { | |
| 359 | + padding: 1px 0 0 0; | |
| 360 | +} | |
| 361 | +.flatpickr-days { | |
| 362 | + position: relative; | |
| 363 | + overflow: hidden; | |
| 364 | + display: flex; | |
| 365 | + width: 315px; | |
| 366 | +} | |
| 367 | +.flatpickr-days:focus { | |
| 368 | + outline: 0; | |
| 369 | +} | |
| 370 | +.dayContainer { | |
| 371 | + padding: 0; | |
| 372 | + outline: 0; | |
| 373 | + text-align: right; | |
| 374 | + width: 315px; | |
| 375 | + min-width: 315px; | |
| 376 | + max-width: 315px; | |
| 377 | + box-sizing: border-box; | |
| 378 | + display: inline-block; | |
| 379 | + display: -ms-flexbox; | |
| 380 | + display: flex; | |
| 381 | + flex-wrap: wrap; | |
| 382 | + -ms-flex-wrap: wrap; | |
| 383 | + -ms-flex-pack: justify; | |
| 384 | + justify-content: space-around; | |
| 385 | + transform: translate(0px, 0px); | |
| 386 | + opacity: 1; | |
| 387 | +} | |
| 388 | +.flatpickr-calendar.animate .dayContainer.slideLeft { | |
| 389 | + animation: fadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), slideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 390 | +} | |
| 391 | +.flatpickr-calendar.animate .dayContainer.slideLeft, | |
| 392 | +.flatpickr-calendar.animate .dayContainer.slideLeftNew { | |
| 393 | + transform: translate(100%, 0px); | |
| 394 | +} | |
| 395 | +.flatpickr-calendar.animate .dayContainer.slideLeftNew { | |
| 396 | + animation: fadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), slideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 397 | +} | |
| 398 | +.flatpickr-calendar.animate .dayContainer.slideRight { | |
| 399 | + animation: fadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), slideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 400 | + transform: translate(-100%, 0px); | |
| 401 | +} | |
| 402 | +.flatpickr-calendar.animate .dayContainer.slideRightNew { | |
| 403 | + animation: fadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), slideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 404 | +} | |
| 405 | +.flatpickr-day { | |
| 406 | + background: none; | |
| 407 | + border: 1px solid transparent; | |
| 408 | + border-radius: 150px; | |
| 409 | + box-sizing: border-box; | |
| 410 | + color: rgba(255,255,255,0.95); | |
| 411 | + cursor: pointer; | |
| 412 | + font-weight: 400; | |
| 413 | + width: 14.2857143%; | |
| 414 | + flex-basis: 14.2857143%; | |
| 415 | + max-width: 40px; | |
| 416 | + height: 40px; | |
| 417 | + line-height: 40px; | |
| 418 | + margin: 0; | |
| 419 | + display: inline-block; | |
| 420 | + position: relative; | |
| 421 | + justify-content: center; | |
| 422 | + text-align: center; | |
| 423 | +} | |
| 424 | +.flatpickr-day.inRange, | |
| 425 | +.flatpickr-day.prevMonthDay.inRange, | |
| 426 | +.flatpickr-day.nextMonthDay.inRange, | |
| 427 | +.flatpickr-day.today.inRange, | |
| 428 | +.flatpickr-day.prevMonthDay.today.inRange, | |
| 429 | +.flatpickr-day.nextMonthDay.today.inRange, | |
| 430 | +.flatpickr-day:hover, | |
| 431 | +.flatpickr-day.prevMonthDay:hover, | |
| 432 | +.flatpickr-day.nextMonthDay:hover, | |
| 433 | +.flatpickr-day:focus, | |
| 434 | +.flatpickr-day.prevMonthDay:focus, | |
| 435 | +.flatpickr-day.nextMonthDay:focus { | |
| 436 | + cursor: pointer; | |
| 437 | + outline: 0; | |
| 438 | + background: rgba(100,108,140,0.95); | |
| 439 | + border-color: rgba(100,108,140,0.95); | |
| 440 | +} | |
| 441 | +.flatpickr-day.today { | |
| 442 | + border-color: #eee; | |
| 443 | +} | |
| 444 | +.flatpickr-day.today:hover, | |
| 445 | +.flatpickr-day.today:focus { | |
| 446 | + border-color: #eee; | |
| 447 | + background: #eee; | |
| 448 | + color: #3f4458; | |
| 449 | +} | |
| 450 | +.flatpickr-day.selected, | |
| 451 | +.flatpickr-day.startRange, | |
| 452 | +.flatpickr-day.endRange, | |
| 453 | +.flatpickr-day.selected.inRange, | |
| 454 | +.flatpickr-day.startRange.inRange, | |
| 455 | +.flatpickr-day.endRange.inRange, | |
| 456 | +.flatpickr-day.selected:focus, | |
| 457 | +.flatpickr-day.startRange:focus, | |
| 458 | +.flatpickr-day.endRange:focus, | |
| 459 | +.flatpickr-day.selected:hover, | |
| 460 | +.flatpickr-day.startRange:hover, | |
| 461 | +.flatpickr-day.endRange:hover, | |
| 462 | +.flatpickr-day.selected.prevMonthDay, | |
| 463 | +.flatpickr-day.startRange.prevMonthDay, | |
| 464 | +.flatpickr-day.endRange.prevMonthDay, | |
| 465 | +.flatpickr-day.selected.nextMonthDay, | |
| 466 | +.flatpickr-day.startRange.nextMonthDay, | |
| 467 | +.flatpickr-day.endRange.nextMonthDay { | |
| 468 | + background: #80cbc4; | |
| 469 | + box-shadow: none; | |
| 470 | + color: #fff; | |
| 471 | + border-color: #80cbc4; | |
| 472 | +} | |
| 473 | +.flatpickr-day.selected.startRange, | |
| 474 | +.flatpickr-day.startRange.startRange, | |
| 475 | +.flatpickr-day.endRange.startRange { | |
| 476 | + border-radius: 0 50px 50px 0; | |
| 477 | +} | |
| 478 | +.flatpickr-day.selected.endRange, | |
| 479 | +.flatpickr-day.startRange.endRange, | |
| 480 | +.flatpickr-day.endRange.endRange { | |
| 481 | + border-radius: 50px 0 0 50px; | |
| 482 | +} | |
| 483 | +.flatpickr-day.selected.startRange + .endRange, | |
| 484 | +.flatpickr-day.startRange.startRange + .endRange, | |
| 485 | +.flatpickr-day.endRange.startRange + .endRange { | |
| 486 | + box-shadow: 10px 0 0 #80cbc4; | |
| 487 | +} | |
| 488 | +.flatpickr-day.selected.startRange.endRange, | |
| 489 | +.flatpickr-day.startRange.startRange.endRange, | |
| 490 | +.flatpickr-day.endRange.startRange.endRange { | |
| 491 | + border-radius: 50px; | |
| 492 | +} | |
| 493 | +.flatpickr-day.inRange { | |
| 494 | + border-radius: 0; | |
| 495 | + box-shadow: 5px 0 0 rgba(100,108,140,0.95), -5px 0 0 rgba(100,108,140,0.95); | |
| 496 | +} | |
| 497 | +.flatpickr-day.disabled, | |
| 498 | +.flatpickr-day.disabled:hover { | |
| 499 | + pointer-events: none; | |
| 500 | +} | |
| 501 | +.flatpickr-day.disabled, | |
| 502 | +.flatpickr-day.disabled:hover, | |
| 503 | +.flatpickr-day.prevMonthDay, | |
| 504 | +.flatpickr-day.nextMonthDay, | |
| 505 | +.flatpickr-day.notAllowed, | |
| 506 | +.flatpickr-day.notAllowed.prevMonthDay, | |
| 507 | +.flatpickr-day.notAllowed.nextMonthDay { | |
| 508 | + color: rgba(255,255,255,0.3); | |
| 509 | + background: transparent; | |
| 510 | + border-color: transparent; | |
| 511 | + cursor: default; | |
| 512 | +} | |
| 513 | +.rangeMode .flatpickr-day { | |
| 514 | + margin-top: 1px; | |
| 515 | +} | |
| 516 | +.flatpickr-weekwrapper { | |
| 517 | + display: inline-block; | |
| 518 | + float: right; | |
| 519 | +} | |
| 520 | +.flatpickr-weekwrapper .flatpickr-weeks { | |
| 521 | + padding: 1px 12px 0 12px; | |
| 522 | + box-shadow: -1px 0 0 #3f4458; | |
| 523 | +} | |
| 524 | +.flatpickr-weekwrapper .flatpickr-weekday { | |
| 525 | + float: none; | |
| 526 | + width: 100%; | |
| 527 | +} | |
| 528 | +.flatpickr-weekwrapper span.flatpickr-day { | |
| 529 | + display: block; | |
| 530 | + width: 100%; | |
| 531 | + max-width: none; | |
| 532 | +} | |
| 533 | +.flatpickr-innerContainer { | |
| 534 | + display: block; | |
| 535 | + display: flex; | |
| 536 | + box-sizing: border-box; | |
| 537 | + overflow: hidden; | |
| 538 | +} | |
| 539 | +.flatpickr-rContainer { | |
| 540 | + display: inline-block; | |
| 541 | + padding: 0; | |
| 542 | + box-sizing: border-box; | |
| 543 | +} | |
| 544 | +.flatpickr-time { | |
| 545 | + text-align: center; | |
| 546 | + outline: 0; | |
| 547 | + display: block; | |
| 548 | + height: 0; | |
| 549 | + line-height: 40px; | |
| 550 | + max-height: 40px; | |
| 551 | + box-sizing: border-box; | |
| 552 | + overflow: hidden; | |
| 553 | + display: flex; | |
| 554 | +} | |
| 555 | +.flatpickr-time:after { | |
| 556 | + content: ""; | |
| 557 | + display: table; | |
| 558 | + clear: both; | |
| 559 | +} | |
| 560 | +.flatpickr-time .numInputWrapper { | |
| 561 | + flex: 1; | |
| 562 | + width: 40%; | |
| 563 | + height: 40px; | |
| 564 | + float: right; | |
| 565 | +} | |
| 566 | +.flatpickr-time .numInputWrapper span.arrowUp:after { | |
| 567 | + border-bottom-color: rgba(255,255,255,0.95); | |
| 568 | +} | |
| 569 | +.flatpickr-time .numInputWrapper span.arrowDown:after { | |
| 570 | + border-top-color: rgba(255,255,255,0.95); | |
| 571 | +} | |
| 572 | +.flatpickr-time.hasSeconds .numInputWrapper { | |
| 573 | + width: 26%; | |
| 574 | +} | |
| 575 | +.flatpickr-time.time24hr .numInputWrapper { | |
| 576 | + width: 49%; | |
| 577 | +} | |
| 578 | +.flatpickr-time input { | |
| 579 | + background: transparent; | |
| 580 | + box-shadow: none; | |
| 581 | + border: 0; | |
| 582 | + border-radius: 0; | |
| 583 | + text-align: center; | |
| 584 | + margin: 0; | |
| 585 | + padding: 0; | |
| 586 | + height: inherit; | |
| 587 | + line-height: inherit; | |
| 588 | + cursor: pointer; | |
| 589 | + color: rgba(255,255,255,0.95); | |
| 590 | + font-size: 14px; | |
| 591 | + position: relative; | |
| 592 | + box-sizing: border-box; | |
| 593 | +} | |
| 594 | +.flatpickr-time input.flatpickr-hour { | |
| 595 | + font-weight: bold; | |
| 596 | +} | |
| 597 | +.flatpickr-time input.flatpickr-minute, | |
| 598 | +.flatpickr-time input.flatpickr-second { | |
| 599 | + font-weight: 400; | |
| 600 | +} | |
| 601 | +.flatpickr-time input:focus { | |
| 602 | + outline: 0; | |
| 603 | + border: 0; | |
| 604 | +} | |
| 605 | +.flatpickr-time .flatpickr-time-separator, | |
| 606 | +.flatpickr-time .flatpickr-am-pm { | |
| 607 | + height: inherit; | |
| 608 | + display: inline-block; | |
| 609 | + float: right; | |
| 610 | + line-height: inherit; | |
| 611 | + color: rgba(255,255,255,0.95); | |
| 612 | + font-weight: bold; | |
| 613 | + width: 2%; | |
| 614 | + user-select: none; | |
| 615 | +} | |
| 616 | +.flatpickr-time .flatpickr-am-pm { | |
| 617 | + outline: 0; | |
| 618 | + width: 18%; | |
| 619 | + cursor: pointer; | |
| 620 | + text-align: center; | |
| 621 | + font-weight: 400; | |
| 622 | +} | |
| 623 | +.flatpickr-time .flatpickr-am-pm:hover, | |
| 624 | +.flatpickr-time .flatpickr-am-pm:focus { | |
| 625 | + background: rgba(109,118,151,0.95); | |
| 626 | +} | |
| 627 | +@media all and (-ms-high-contrast: none) { | |
| 628 | + .flatpickr-month { | |
| 629 | + padding: 0; | |
| 630 | + } | |
| 631 | + .flatpickr-month svg { | |
| 632 | + top: 0 !important; | |
| 633 | + } | |
| 634 | +} | |
| 635 | +.flatpickr-input[readonly] { | |
| 636 | + cursor: pointer; | |
| 637 | +} | |
| 638 | +@-moz-keyframes flatpickrFadeInDown { | |
| 639 | + from { | |
| 640 | + opacity: 0; | |
| 641 | + transform: translate3d(0, -20px, 0); | |
| 642 | + } | |
| 643 | + to { | |
| 644 | + opacity: 1; | |
| 645 | + transform: translate3d(0, 0, 0); | |
| 646 | + } | |
| 647 | +} | |
| 648 | +@-webkit-keyframes flatpickrFadeInDown { | |
| 649 | + from { | |
| 650 | + opacity: 0; | |
| 651 | + transform: translate3d(0, -20px, 0); | |
| 652 | + } | |
| 653 | + to { | |
| 654 | + opacity: 1; | |
| 655 | + transform: translate3d(0, 0, 0); | |
| 656 | + } | |
| 657 | +} | |
| 658 | +@-o-keyframes flatpickrFadeInDown { | |
| 659 | + from { | |
| 660 | + opacity: 0; | |
| 661 | + transform: translate3d(0, -20px, 0); | |
| 662 | + } | |
| 663 | + to { | |
| 664 | + opacity: 1; | |
| 665 | + transform: translate3d(0, 0, 0); | |
| 666 | + } | |
| 667 | +} | |
| 668 | +@keyframes flatpickrFadeInDown { | |
| 669 | + from { | |
| 670 | + opacity: 0; | |
| 671 | + transform: translate3d(0, -20px, 0); | |
| 672 | + } | |
| 673 | + to { | |
| 674 | + opacity: 1; | |
| 675 | + transform: translate3d(0, 0, 0); | |
| 676 | + } | |
| 677 | +} | |
| 678 | +@-moz-keyframes slideLeft { | |
| 679 | + from { | |
| 680 | + transform: translate(0px, 0px); | |
| 681 | + } | |
| 682 | + to { | |
| 683 | + transform: translate(100%, 0px); | |
| 684 | + } | |
| 685 | +} | |
| 686 | +@-webkit-keyframes slideLeft { | |
| 687 | + from { | |
| 688 | + transform: translate(0px, 0px); | |
| 689 | + } | |
| 690 | + to { | |
| 691 | + transform: translate(100%, 0px); | |
| 692 | + } | |
| 693 | +} | |
| 694 | +@-o-keyframes slideLeft { | |
| 695 | + from { | |
| 696 | + transform: translate(0px, 0px); | |
| 697 | + } | |
| 698 | + to { | |
| 699 | + transform: translate(100%, 0px); | |
| 700 | + } | |
| 701 | +} | |
| 702 | +@keyframes slideLeft { | |
| 703 | + from { | |
| 704 | + transform: translate(0px, 0px); | |
| 705 | + } | |
| 706 | + to { | |
| 707 | + transform: translate(100%, 0px); | |
| 708 | + } | |
| 709 | +} | |
| 710 | +@-moz-keyframes slideLeftNew { | |
| 711 | + from { | |
| 712 | + transform: translate(-100%, 0px); | |
| 713 | + } | |
| 714 | + to { | |
| 715 | + transform: translate(0px, 0px); | |
| 716 | + } | |
| 717 | +} | |
| 718 | +@-webkit-keyframes slideLeftNew { | |
| 719 | + from { | |
| 720 | + transform: translate(-100%, 0px); | |
| 721 | + } | |
| 722 | + to { | |
| 723 | + transform: translate(0px, 0px); | |
| 724 | + } | |
| 725 | +} | |
| 726 | +@-o-keyframes slideLeftNew { | |
| 727 | + from { | |
| 728 | + transform: translate(-100%, 0px); | |
| 729 | + } | |
| 730 | + to { | |
| 731 | + transform: translate(0px, 0px); | |
| 732 | + } | |
| 733 | +} | |
| 734 | +@keyframes slideLeftNew { | |
| 735 | + from { | |
| 736 | + transform: translate(-100%, 0px); | |
| 737 | + } | |
| 738 | + to { | |
| 739 | + transform: translate(0px, 0px); | |
| 740 | + } | |
| 741 | +} | |
| 742 | +@-moz-keyframes slideRight { | |
| 743 | + from { | |
| 744 | + transform: translate(0, 0); | |
| 745 | + } | |
| 746 | + to { | |
| 747 | + transform: translate(-100%, 0px); | |
| 748 | + } | |
| 749 | +} | |
| 750 | +@-webkit-keyframes slideRight { | |
| 751 | + from { | |
| 752 | + transform: translate(0, 0); | |
| 753 | + } | |
| 754 | + to { | |
| 755 | + transform: translate(-100%, 0px); | |
| 756 | + } | |
| 757 | +} | |
| 758 | +@-o-keyframes slideRight { | |
| 759 | + from { | |
| 760 | + transform: translate(0, 0); | |
| 761 | + } | |
| 762 | + to { | |
| 763 | + transform: translate(-100%, 0px); | |
| 764 | + } | |
| 765 | +} | |
| 766 | +@keyframes slideRight { | |
| 767 | + from { | |
| 768 | + transform: translate(0, 0); | |
| 769 | + } | |
| 770 | + to { | |
| 771 | + transform: translate(-100%, 0px); | |
| 772 | + } | |
| 773 | +} | |
| 774 | +@-moz-keyframes slideRightNew { | |
| 775 | + from { | |
| 776 | + transform: translate(100%, 0); | |
| 777 | + } | |
| 778 | + to { | |
| 779 | + transform: translate(0, 0); | |
| 780 | + } | |
| 781 | +} | |
| 782 | +@-webkit-keyframes slideRightNew { | |
| 783 | + from { | |
| 784 | + transform: translate(100%, 0); | |
| 785 | + } | |
| 786 | + to { | |
| 787 | + transform: translate(0, 0); | |
| 788 | + } | |
| 789 | +} | |
| 790 | +@-o-keyframes slideRightNew { | |
| 791 | + from { | |
| 792 | + transform: translate(100%, 0); | |
| 793 | + } | |
| 794 | + to { | |
| 795 | + transform: translate(0, 0); | |
| 796 | + } | |
| 797 | +} | |
| 798 | +@keyframes slideRightNew { | |
| 799 | + from { | |
| 800 | + transform: translate(100%, 0); | |
| 801 | + } | |
| 802 | + to { | |
| 803 | + transform: translate(0, 0); | |
| 804 | + } | |
| 805 | +} | |
| 806 | +@-moz-keyframes fadeOut { | |
| 807 | + from { | |
| 808 | + opacity: 1; | |
| 809 | + } | |
| 810 | + to { | |
| 811 | + opacity: 0; | |
| 812 | + } | |
| 813 | +} | |
| 814 | +@-webkit-keyframes fadeOut { | |
| 815 | + from { | |
| 816 | + opacity: 1; | |
| 817 | + } | |
| 818 | + to { | |
| 819 | + opacity: 0; | |
| 820 | + } | |
| 821 | +} | |
| 822 | +@-o-keyframes fadeOut { | |
| 823 | + from { | |
| 824 | + opacity: 1; | |
| 825 | + } | |
| 826 | + to { | |
| 827 | + opacity: 0; | |
| 828 | + } | |
| 829 | +} | |
| 830 | +@keyframes fadeOut { | |
| 831 | + from { | |
| 832 | + opacity: 1; | |
| 833 | + } | |
| 834 | + to { | |
| 835 | + opacity: 0; | |
| 836 | + } | |
| 837 | +} | |
| 838 | +@-moz-keyframes fadeIn { | |
| 839 | + from { | |
| 840 | + opacity: 0; | |
| 841 | + } | |
| 842 | + to { | |
| 843 | + opacity: 1; | |
| 844 | + } | |
| 845 | +} | |
| 846 | +@-webkit-keyframes fadeIn { | |
| 847 | + from { | |
| 848 | + opacity: 0; | |
| 849 | + } | |
| 850 | + to { | |
| 851 | + opacity: 1; | |
| 852 | + } | |
| 853 | +} | |
| 854 | +@-o-keyframes fadeIn { | |
| 855 | + from { | |
| 856 | + opacity: 0; | |
| 857 | + } | |
| 858 | + to { | |
| 859 | + opacity: 1; | |
| 860 | + } | |
| 861 | +} | |
| 862 | +@keyframes fadeIn { | |
| 863 | + from { | |
| 864 | + opacity: 0; | |
| 865 | + } | |
| 866 | + to { | |
| 867 | + opacity: 1; | |
| 868 | + } | |
| 869 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/flatpickr/rtl/themes/material_blue.rtl.css
0 → 100644
| 1 | +.flatpickr-calendar { | |
| 2 | + background: transparent; | |
| 3 | + overflow: hidden; | |
| 4 | + max-height: 0; | |
| 5 | + opacity: 0; | |
| 6 | + visibility: hidden; | |
| 7 | + text-align: center; | |
| 8 | + padding: 0; | |
| 9 | + animation: none; | |
| 10 | + direction: rtl; | |
| 11 | + border: 0; | |
| 12 | + font-size: 14px; | |
| 13 | + line-height: 24px; | |
| 14 | + border-radius: 5px; | |
| 15 | + position: absolute; | |
| 16 | + width: 315px; | |
| 17 | + box-sizing: border-box; | |
| 18 | + box-shadow: 0 3px 13px rgba(0,0,0,0.08); | |
| 19 | +} | |
| 20 | +.flatpickr-calendar.open, | |
| 21 | +.flatpickr-calendar.inline { | |
| 22 | + opacity: 1; | |
| 23 | + visibility: visible; | |
| 24 | + overflow: visible; | |
| 25 | + max-height: 640px; | |
| 26 | +} | |
| 27 | +.flatpickr-calendar.open { | |
| 28 | + display: inline-block; | |
| 29 | + z-index: 99999; | |
| 30 | +} | |
| 31 | +.flatpickr-calendar.animate.open { | |
| 32 | + animation: flatpickrFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 33 | +} | |
| 34 | +.flatpickr-calendar.inline { | |
| 35 | + display: block; | |
| 36 | + position: relative; | |
| 37 | + top: 2px; | |
| 38 | +} | |
| 39 | +.flatpickr-calendar.static { | |
| 40 | + position: absolute; | |
| 41 | + top: calc(100% + 2px); | |
| 42 | +} | |
| 43 | +.flatpickr-calendar.static.open { | |
| 44 | + z-index: 999; | |
| 45 | + display: block; | |
| 46 | +} | |
| 47 | +.flatpickr-calendar.hasWeeks { | |
| 48 | + width: auto; | |
| 49 | +} | |
| 50 | +.flatpickr-calendar .hasWeeks .dayContainer, | |
| 51 | +.flatpickr-calendar .hasTime .dayContainer { | |
| 52 | + border-bottom: 0; | |
| 53 | + border-bottom-left-radius: 0; | |
| 54 | + border-bottom-right-radius: 0; | |
| 55 | +} | |
| 56 | +.flatpickr-calendar .hasWeeks .dayContainer { | |
| 57 | + border-right: 0; | |
| 58 | +} | |
| 59 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time { | |
| 60 | + height: 40px; | |
| 61 | + border-top: 1px solid rgba(72,72,72,0.2); | |
| 62 | +} | |
| 63 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-innerContainer { | |
| 64 | + border-bottom: 0; | |
| 65 | +} | |
| 66 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time { | |
| 67 | + border: 1px solid rgba(72,72,72,0.2); | |
| 68 | +} | |
| 69 | +.flatpickr-calendar.noCalendar.hasTime .flatpickr-time { | |
| 70 | + height: auto; | |
| 71 | +} | |
| 72 | +.flatpickr-calendar:before, | |
| 73 | +.flatpickr-calendar:after { | |
| 74 | + position: absolute; | |
| 75 | + display: block; | |
| 76 | + pointer-events: none; | |
| 77 | + border: solid transparent; | |
| 78 | + content: ''; | |
| 79 | + height: 0; | |
| 80 | + width: 0; | |
| 81 | + right: 22px; | |
| 82 | +} | |
| 83 | +.flatpickr-calendar.rightMost:before, | |
| 84 | +.flatpickr-calendar.rightMost:after { | |
| 85 | + right: auto; | |
| 86 | + left: 22px; | |
| 87 | +} | |
| 88 | +.flatpickr-calendar:before { | |
| 89 | + border-width: 5px; | |
| 90 | + margin: 0 -5px; | |
| 91 | +} | |
| 92 | +.flatpickr-calendar:after { | |
| 93 | + border-width: 4px; | |
| 94 | + margin: 0 -4px; | |
| 95 | +} | |
| 96 | +.flatpickr-calendar.arrowTop:before, | |
| 97 | +.flatpickr-calendar.arrowTop:after { | |
| 98 | + bottom: 100%; | |
| 99 | +} | |
| 100 | +.flatpickr-calendar.arrowTop:before { | |
| 101 | + border-bottom-color: rgba(72,72,72,0.2); | |
| 102 | +} | |
| 103 | +.flatpickr-calendar.arrowTop:after { | |
| 104 | + border-bottom-color: #42a5f5; | |
| 105 | +} | |
| 106 | +.flatpickr-calendar.arrowBottom:before, | |
| 107 | +.flatpickr-calendar.arrowBottom:after { | |
| 108 | + top: 100%; | |
| 109 | +} | |
| 110 | +.flatpickr-calendar.arrowBottom:before { | |
| 111 | + border-top-color: rgba(72,72,72,0.2); | |
| 112 | +} | |
| 113 | +.flatpickr-calendar.arrowBottom:after { | |
| 114 | + border-top-color: #42a5f5; | |
| 115 | +} | |
| 116 | +.flatpickr-calendar:focus { | |
| 117 | + outline: 0; | |
| 118 | +} | |
| 119 | +.flatpickr-wrapper { | |
| 120 | + position: relative; | |
| 121 | + display: inline-block; | |
| 122 | +} | |
| 123 | +.flatpickr-month { | |
| 124 | + border-radius: 5px 5px 0 0; | |
| 125 | + background: #42a5f5; | |
| 126 | + color: #fff; | |
| 127 | + fill: #fff; | |
| 128 | + height: 28px; | |
| 129 | + line-height: 24px; | |
| 130 | + text-align: center; | |
| 131 | + position: relative; | |
| 132 | + user-select: none; | |
| 133 | + overflow: hidden; | |
| 134 | +} | |
| 135 | +.flatpickr-prev-month, | |
| 136 | +.flatpickr-next-month { | |
| 137 | + text-decoration: none; | |
| 138 | + cursor: pointer; | |
| 139 | + position: absolute; | |
| 140 | + top: 0px; | |
| 141 | + height: 28px; | |
| 142 | + line-height: 16px; | |
| 143 | + padding: 10px calc(3.57% - 1.5px); | |
| 144 | +} | |
| 145 | +.flatpickr-prev-month i, | |
| 146 | +.flatpickr-next-month i { | |
| 147 | + position: relative; | |
| 148 | +} | |
| 149 | +.flatpickr-prev-month.flatpickr-prev-month, | |
| 150 | +.flatpickr-next-month.flatpickr-prev-month { | |
| 151 | +/* | |
| 152 | + /*rtl:begin:ignore*/ | |
| 153 | +/* | |
| 154 | + */ | |
| 155 | + right: 0; | |
| 156 | +/* | |
| 157 | + /*rtl:end:ignore*/ | |
| 158 | +/* | |
| 159 | + */ | |
| 160 | +} | |
| 161 | +/* | |
| 162 | + /*rtl:begin:ignore*/ | |
| 163 | +/* | |
| 164 | + /*rtl:end:ignore*/ | |
| 165 | +.flatpickr-prev-month.flatpickr-next-month, | |
| 166 | +.flatpickr-next-month.flatpickr-next-month { | |
| 167 | +/* | |
| 168 | + /*rtl:begin:ignore*/ | |
| 169 | +/* | |
| 170 | + */ | |
| 171 | + left: 0; | |
| 172 | +/* | |
| 173 | + /*rtl:end:ignore*/ | |
| 174 | +/* | |
| 175 | + */ | |
| 176 | +} | |
| 177 | +/* | |
| 178 | + /*rtl:begin:ignore*/ | |
| 179 | +/* | |
| 180 | + /*rtl:end:ignore*/ | |
| 181 | +.flatpickr-prev-month:hover, | |
| 182 | +.flatpickr-next-month:hover { | |
| 183 | + color: #bbb; | |
| 184 | +} | |
| 185 | +.flatpickr-prev-month:hover svg, | |
| 186 | +.flatpickr-next-month:hover svg { | |
| 187 | + fill: #f64747; | |
| 188 | +} | |
| 189 | +.flatpickr-prev-month svg, | |
| 190 | +.flatpickr-next-month svg { | |
| 191 | + width: 14px; | |
| 192 | +} | |
| 193 | +.flatpickr-prev-month svg path, | |
| 194 | +.flatpickr-next-month svg path { | |
| 195 | + transition: fill 0.1s; | |
| 196 | + fill: inherit; | |
| 197 | +} | |
| 198 | +.numInputWrapper { | |
| 199 | + position: relative; | |
| 200 | + height: auto; | |
| 201 | +} | |
| 202 | +.numInputWrapper input, | |
| 203 | +.numInputWrapper span { | |
| 204 | + display: inline-block; | |
| 205 | +} | |
| 206 | +.numInputWrapper input { | |
| 207 | + width: 100%; | |
| 208 | +} | |
| 209 | +.numInputWrapper span { | |
| 210 | + position: absolute; | |
| 211 | + left: 0; | |
| 212 | + width: 14px; | |
| 213 | + padding: 0 2px 0 4px; | |
| 214 | + height: 50%; | |
| 215 | + line-height: 50%; | |
| 216 | + opacity: 0; | |
| 217 | + cursor: pointer; | |
| 218 | + border: 1px solid rgba(72,72,72,0.05); | |
| 219 | + box-sizing: border-box; | |
| 220 | +} | |
| 221 | +.numInputWrapper span:hover { | |
| 222 | + background: rgba(0,0,0,0.1); | |
| 223 | +} | |
| 224 | +.numInputWrapper span:active { | |
| 225 | + background: rgba(0,0,0,0.2); | |
| 226 | +} | |
| 227 | +.numInputWrapper span:after { | |
| 228 | + display: block; | |
| 229 | + content: ""; | |
| 230 | + position: absolute; | |
| 231 | + top: 33%; | |
| 232 | +} | |
| 233 | +.numInputWrapper span.arrowUp { | |
| 234 | + top: 0; | |
| 235 | + border-bottom: 0; | |
| 236 | +} | |
| 237 | +.numInputWrapper span.arrowUp:after { | |
| 238 | + border-right: 4px solid transparent; | |
| 239 | + border-left: 4px solid transparent; | |
| 240 | + border-bottom: 4px solid rgba(72,72,72,0.6); | |
| 241 | +} | |
| 242 | +.numInputWrapper span.arrowDown { | |
| 243 | + top: 50%; | |
| 244 | +} | |
| 245 | +.numInputWrapper span.arrowDown:after { | |
| 246 | + border-right: 4px solid transparent; | |
| 247 | + border-left: 4px solid transparent; | |
| 248 | + border-top: 4px solid rgba(72,72,72,0.6); | |
| 249 | +} | |
| 250 | +.numInputWrapper span svg { | |
| 251 | + width: inherit; | |
| 252 | + height: auto; | |
| 253 | +} | |
| 254 | +.numInputWrapper span svg path { | |
| 255 | + fill: rgba(255,255,255,0.5); | |
| 256 | +} | |
| 257 | +.numInputWrapper:hover { | |
| 258 | + background: rgba(0,0,0,0.05); | |
| 259 | +} | |
| 260 | +.numInputWrapper:hover span { | |
| 261 | + opacity: 1; | |
| 262 | +} | |
| 263 | +.flatpickr-current-month { | |
| 264 | + font-size: 135%; | |
| 265 | + line-height: inherit; | |
| 266 | + font-weight: 300; | |
| 267 | + color: inherit; | |
| 268 | + position: absolute; | |
| 269 | + width: 75%; | |
| 270 | + right: 12.5%; | |
| 271 | + top: 5px; | |
| 272 | + display: inline-block; | |
| 273 | + text-align: center; | |
| 274 | + transform: translate(0px, 0px); | |
| 275 | +} | |
| 276 | +.flatpickr-current-month.slideLeft { | |
| 277 | + transform: translate(100%, 0px); | |
| 278 | + animation: fadeOut 400ms ease, slideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 279 | +} | |
| 280 | +.flatpickr-current-month.slideLeftNew { | |
| 281 | + transform: translate(-100%, 0px); | |
| 282 | + animation: fadeIn 400ms ease, slideLeftNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 283 | +} | |
| 284 | +.flatpickr-current-month.slideRight { | |
| 285 | + transform: translate(-100%, 0px); | |
| 286 | + animation: fadeOut 400ms ease, slideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 287 | +} | |
| 288 | +.flatpickr-current-month.slideRightNew { | |
| 289 | + transform: translate(0, 0); | |
| 290 | + animation: fadeIn 400ms ease, slideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 291 | +} | |
| 292 | +.flatpickr-current-month span.cur-month { | |
| 293 | + font-family: inherit; | |
| 294 | + font-weight: 700; | |
| 295 | + color: inherit; | |
| 296 | + display: inline-block; | |
| 297 | + margin-right: 7px; | |
| 298 | + padding: 0; | |
| 299 | +} | |
| 300 | +.flatpickr-current-month span.cur-month:hover { | |
| 301 | + background: rgba(0,0,0,0.05); | |
| 302 | +} | |
| 303 | +.flatpickr-current-month .numInputWrapper { | |
| 304 | + width: 6ch; | |
| 305 | + width: 7ch\0; | |
| 306 | + display: inline-block; | |
| 307 | +} | |
| 308 | +.flatpickr-current-month .numInputWrapper span.arrowUp:after { | |
| 309 | + border-bottom-color: #fff; | |
| 310 | +} | |
| 311 | +.flatpickr-current-month .numInputWrapper span.arrowDown:after { | |
| 312 | + border-top-color: #fff; | |
| 313 | +} | |
| 314 | +.flatpickr-current-month input.cur-year { | |
| 315 | + background: transparent; | |
| 316 | + box-sizing: border-box; | |
| 317 | + color: inherit; | |
| 318 | + cursor: default; | |
| 319 | + padding: 0 0.5ch 0 0; | |
| 320 | + margin: 0; | |
| 321 | + display: inline; | |
| 322 | + font-size: inherit; | |
| 323 | + font-family: inherit; | |
| 324 | + font-weight: 300; | |
| 325 | + line-height: inherit; | |
| 326 | + height: initial; | |
| 327 | + border: 0; | |
| 328 | + border-radius: 0; | |
| 329 | + vertical-align: initial; | |
| 330 | +} | |
| 331 | +.flatpickr-current-month input.cur-year:focus { | |
| 332 | + outline: 0; | |
| 333 | +} | |
| 334 | +.flatpickr-current-month input.cur-year[disabled], | |
| 335 | +.flatpickr-current-month input.cur-year[disabled]:hover { | |
| 336 | + font-size: 100%; | |
| 337 | + color: rgba(255,255,255,0.5); | |
| 338 | + background: transparent; | |
| 339 | + pointer-events: none; | |
| 340 | +} | |
| 341 | +.flatpickr-weekdays { | |
| 342 | + background: #42a5f5; | |
| 343 | + text-align: center; | |
| 344 | + overflow: hidden; | |
| 345 | + width: 315px; | |
| 346 | + display: flex; | |
| 347 | + align-items: center; | |
| 348 | + height: 28px; | |
| 349 | +} | |
| 350 | +span.flatpickr-weekday { | |
| 351 | + cursor: default; | |
| 352 | + font-size: 90%; | |
| 353 | + color: rgba(0,0,0,0.54); | |
| 354 | + line-height: 1; | |
| 355 | + margin: 0; | |
| 356 | + background: #42a5f5; | |
| 357 | + text-align: center; | |
| 358 | + display: block; | |
| 359 | + flex: 1; | |
| 360 | + font-weight: bolder; | |
| 361 | + margin: 0; | |
| 362 | +} | |
| 363 | +.dayContainer, | |
| 364 | +.flatpickr-weeks { | |
| 365 | + padding: 1px 0 0 0; | |
| 366 | +} | |
| 367 | +.flatpickr-days { | |
| 368 | + position: relative; | |
| 369 | + overflow: hidden; | |
| 370 | + display: flex; | |
| 371 | + width: 315px; | |
| 372 | + background: #fff; | |
| 373 | + border-right: 1px solid rgba(72,72,72,0.2); | |
| 374 | + border-left: 1px solid rgba(72,72,72,0.2); | |
| 375 | +} | |
| 376 | +.flatpickr-days:focus { | |
| 377 | + outline: 0; | |
| 378 | +} | |
| 379 | +.dayContainer { | |
| 380 | + padding: 0; | |
| 381 | + outline: 0; | |
| 382 | + text-align: right; | |
| 383 | + width: 315px; | |
| 384 | + min-width: 315px; | |
| 385 | + max-width: 315px; | |
| 386 | + box-sizing: border-box; | |
| 387 | + display: inline-block; | |
| 388 | + display: -ms-flexbox; | |
| 389 | + display: flex; | |
| 390 | + flex-wrap: wrap; | |
| 391 | + -ms-flex-wrap: wrap; | |
| 392 | + -ms-flex-pack: justify; | |
| 393 | + justify-content: space-around; | |
| 394 | + transform: translate(0px, 0px); | |
| 395 | + opacity: 1; | |
| 396 | +} | |
| 397 | +.flatpickr-calendar.animate .dayContainer.slideLeft { | |
| 398 | + animation: fadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), slideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 399 | +} | |
| 400 | +.flatpickr-calendar.animate .dayContainer.slideLeft, | |
| 401 | +.flatpickr-calendar.animate .dayContainer.slideLeftNew { | |
| 402 | + transform: translate(100%, 0px); | |
| 403 | +} | |
| 404 | +.flatpickr-calendar.animate .dayContainer.slideLeftNew { | |
| 405 | + animation: fadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), slideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 406 | +} | |
| 407 | +.flatpickr-calendar.animate .dayContainer.slideRight { | |
| 408 | + animation: fadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), slideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 409 | + transform: translate(-100%, 0px); | |
| 410 | +} | |
| 411 | +.flatpickr-calendar.animate .dayContainer.slideRightNew { | |
| 412 | + animation: fadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), slideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 413 | +} | |
| 414 | +.flatpickr-day { | |
| 415 | + background: none; | |
| 416 | + border: 1px solid transparent; | |
| 417 | + border-radius: 150px; | |
| 418 | + box-sizing: border-box; | |
| 419 | + color: #484848; | |
| 420 | + cursor: pointer; | |
| 421 | + font-weight: 400; | |
| 422 | + width: 14.2857143%; | |
| 423 | + flex-basis: 14.2857143%; | |
| 424 | + max-width: 40px; | |
| 425 | + height: 40px; | |
| 426 | + line-height: 40px; | |
| 427 | + margin: 0; | |
| 428 | + display: inline-block; | |
| 429 | + position: relative; | |
| 430 | + justify-content: center; | |
| 431 | + text-align: center; | |
| 432 | +} | |
| 433 | +.flatpickr-day.inRange, | |
| 434 | +.flatpickr-day.prevMonthDay.inRange, | |
| 435 | +.flatpickr-day.nextMonthDay.inRange, | |
| 436 | +.flatpickr-day.today.inRange, | |
| 437 | +.flatpickr-day.prevMonthDay.today.inRange, | |
| 438 | +.flatpickr-day.nextMonthDay.today.inRange, | |
| 439 | +.flatpickr-day:hover, | |
| 440 | +.flatpickr-day.prevMonthDay:hover, | |
| 441 | +.flatpickr-day.nextMonthDay:hover, | |
| 442 | +.flatpickr-day:focus, | |
| 443 | +.flatpickr-day.prevMonthDay:focus, | |
| 444 | +.flatpickr-day.nextMonthDay:focus { | |
| 445 | + cursor: pointer; | |
| 446 | + outline: 0; | |
| 447 | + background: #e2e2e2; | |
| 448 | + border-color: #e2e2e2; | |
| 449 | +} | |
| 450 | +.flatpickr-day.today { | |
| 451 | + border-color: #bbb; | |
| 452 | +} | |
| 453 | +.flatpickr-day.today:hover, | |
| 454 | +.flatpickr-day.today:focus { | |
| 455 | + border-color: #bbb; | |
| 456 | + background: #bbb; | |
| 457 | + color: #fff; | |
| 458 | +} | |
| 459 | +.flatpickr-day.selected, | |
| 460 | +.flatpickr-day.startRange, | |
| 461 | +.flatpickr-day.endRange, | |
| 462 | +.flatpickr-day.selected.inRange, | |
| 463 | +.flatpickr-day.startRange.inRange, | |
| 464 | +.flatpickr-day.endRange.inRange, | |
| 465 | +.flatpickr-day.selected:focus, | |
| 466 | +.flatpickr-day.startRange:focus, | |
| 467 | +.flatpickr-day.endRange:focus, | |
| 468 | +.flatpickr-day.selected:hover, | |
| 469 | +.flatpickr-day.startRange:hover, | |
| 470 | +.flatpickr-day.endRange:hover, | |
| 471 | +.flatpickr-day.selected.prevMonthDay, | |
| 472 | +.flatpickr-day.startRange.prevMonthDay, | |
| 473 | +.flatpickr-day.endRange.prevMonthDay, | |
| 474 | +.flatpickr-day.selected.nextMonthDay, | |
| 475 | +.flatpickr-day.startRange.nextMonthDay, | |
| 476 | +.flatpickr-day.endRange.nextMonthDay { | |
| 477 | + background: #42a5f5; | |
| 478 | + box-shadow: none; | |
| 479 | + color: #fff; | |
| 480 | + border-color: #42a5f5; | |
| 481 | +} | |
| 482 | +.flatpickr-day.selected.startRange, | |
| 483 | +.flatpickr-day.startRange.startRange, | |
| 484 | +.flatpickr-day.endRange.startRange { | |
| 485 | + border-radius: 0 50px 50px 0; | |
| 486 | +} | |
| 487 | +.flatpickr-day.selected.endRange, | |
| 488 | +.flatpickr-day.startRange.endRange, | |
| 489 | +.flatpickr-day.endRange.endRange { | |
| 490 | + border-radius: 50px 0 0 50px; | |
| 491 | +} | |
| 492 | +.flatpickr-day.selected.startRange + .endRange, | |
| 493 | +.flatpickr-day.startRange.startRange + .endRange, | |
| 494 | +.flatpickr-day.endRange.startRange + .endRange { | |
| 495 | + box-shadow: 10px 0 0 #42a5f5; | |
| 496 | +} | |
| 497 | +.flatpickr-day.selected.startRange.endRange, | |
| 498 | +.flatpickr-day.startRange.startRange.endRange, | |
| 499 | +.flatpickr-day.endRange.startRange.endRange { | |
| 500 | + border-radius: 50px; | |
| 501 | +} | |
| 502 | +.flatpickr-day.inRange { | |
| 503 | + border-radius: 0; | |
| 504 | + box-shadow: 5px 0 0 #e2e2e2, -5px 0 0 #e2e2e2; | |
| 505 | +} | |
| 506 | +.flatpickr-day.disabled, | |
| 507 | +.flatpickr-day.disabled:hover { | |
| 508 | + pointer-events: none; | |
| 509 | +} | |
| 510 | +.flatpickr-day.disabled, | |
| 511 | +.flatpickr-day.disabled:hover, | |
| 512 | +.flatpickr-day.prevMonthDay, | |
| 513 | +.flatpickr-day.nextMonthDay, | |
| 514 | +.flatpickr-day.notAllowed, | |
| 515 | +.flatpickr-day.notAllowed.prevMonthDay, | |
| 516 | +.flatpickr-day.notAllowed.nextMonthDay { | |
| 517 | + color: rgba(72,72,72,0.3); | |
| 518 | + background: transparent; | |
| 519 | + border-color: transparent; | |
| 520 | + cursor: default; | |
| 521 | +} | |
| 522 | +.rangeMode .flatpickr-day { | |
| 523 | + margin-top: 1px; | |
| 524 | +} | |
| 525 | +.flatpickr-weekwrapper { | |
| 526 | + display: inline-block; | |
| 527 | + float: right; | |
| 528 | +} | |
| 529 | +.flatpickr-weekwrapper .flatpickr-weeks { | |
| 530 | + padding: 1px 12px 0 12px; | |
| 531 | + border-right: 1px solid rgba(72,72,72,0.2); | |
| 532 | + box-shadow: -1px 0 0 rgba(72,72,72,0.2); | |
| 533 | +} | |
| 534 | +.flatpickr-weekwrapper .flatpickr-weekday { | |
| 535 | + float: none; | |
| 536 | + width: 100%; | |
| 537 | +} | |
| 538 | +.flatpickr-weekwrapper span.flatpickr-day { | |
| 539 | + display: block; | |
| 540 | + width: 100%; | |
| 541 | + max-width: none; | |
| 542 | +} | |
| 543 | +.flatpickr-innerContainer { | |
| 544 | + display: block; | |
| 545 | + display: flex; | |
| 546 | + box-sizing: border-box; | |
| 547 | + overflow: hidden; | |
| 548 | + background: #fff; | |
| 549 | + border-bottom: 1px solid rgba(72,72,72,0.2); | |
| 550 | +} | |
| 551 | +.flatpickr-rContainer { | |
| 552 | + display: inline-block; | |
| 553 | + padding: 0; | |
| 554 | + box-sizing: border-box; | |
| 555 | +} | |
| 556 | +.flatpickr-time { | |
| 557 | + text-align: center; | |
| 558 | + outline: 0; | |
| 559 | + display: block; | |
| 560 | + height: 0; | |
| 561 | + line-height: 40px; | |
| 562 | + max-height: 40px; | |
| 563 | + box-sizing: border-box; | |
| 564 | + overflow: hidden; | |
| 565 | + display: flex; | |
| 566 | + background: #fff; | |
| 567 | + border-radius: 0 0 5px 5px; | |
| 568 | +} | |
| 569 | +.flatpickr-time:after { | |
| 570 | + content: ""; | |
| 571 | + display: table; | |
| 572 | + clear: both; | |
| 573 | +} | |
| 574 | +.flatpickr-time .numInputWrapper { | |
| 575 | + flex: 1; | |
| 576 | + width: 40%; | |
| 577 | + height: 40px; | |
| 578 | + float: right; | |
| 579 | +} | |
| 580 | +.flatpickr-time .numInputWrapper span.arrowUp:after { | |
| 581 | + border-bottom-color: #484848; | |
| 582 | +} | |
| 583 | +.flatpickr-time .numInputWrapper span.arrowDown:after { | |
| 584 | + border-top-color: #484848; | |
| 585 | +} | |
| 586 | +.flatpickr-time.hasSeconds .numInputWrapper { | |
| 587 | + width: 26%; | |
| 588 | +} | |
| 589 | +.flatpickr-time.time24hr .numInputWrapper { | |
| 590 | + width: 49%; | |
| 591 | +} | |
| 592 | +.flatpickr-time input { | |
| 593 | + background: transparent; | |
| 594 | + box-shadow: none; | |
| 595 | + border: 0; | |
| 596 | + border-radius: 0; | |
| 597 | + text-align: center; | |
| 598 | + margin: 0; | |
| 599 | + padding: 0; | |
| 600 | + height: inherit; | |
| 601 | + line-height: inherit; | |
| 602 | + cursor: pointer; | |
| 603 | + color: #484848; | |
| 604 | + font-size: 14px; | |
| 605 | + position: relative; | |
| 606 | + box-sizing: border-box; | |
| 607 | +} | |
| 608 | +.flatpickr-time input.flatpickr-hour { | |
| 609 | + font-weight: bold; | |
| 610 | +} | |
| 611 | +.flatpickr-time input.flatpickr-minute, | |
| 612 | +.flatpickr-time input.flatpickr-second { | |
| 613 | + font-weight: 400; | |
| 614 | +} | |
| 615 | +.flatpickr-time input:focus { | |
| 616 | + outline: 0; | |
| 617 | + border: 0; | |
| 618 | +} | |
| 619 | +.flatpickr-time .flatpickr-time-separator, | |
| 620 | +.flatpickr-time .flatpickr-am-pm { | |
| 621 | + height: inherit; | |
| 622 | + display: inline-block; | |
| 623 | + float: right; | |
| 624 | + line-height: inherit; | |
| 625 | + color: #484848; | |
| 626 | + font-weight: bold; | |
| 627 | + width: 2%; | |
| 628 | + user-select: none; | |
| 629 | +} | |
| 630 | +.flatpickr-time .flatpickr-am-pm { | |
| 631 | + outline: 0; | |
| 632 | + width: 18%; | |
| 633 | + cursor: pointer; | |
| 634 | + text-align: center; | |
| 635 | + font-weight: 400; | |
| 636 | +} | |
| 637 | +.flatpickr-time .flatpickr-am-pm:hover, | |
| 638 | +.flatpickr-time .flatpickr-am-pm:focus { | |
| 639 | + background: #ececec; | |
| 640 | +} | |
| 641 | +@media all and (-ms-high-contrast: none) { | |
| 642 | + .flatpickr-month { | |
| 643 | + padding: 0; | |
| 644 | + } | |
| 645 | + .flatpickr-month svg { | |
| 646 | + top: 0 !important; | |
| 647 | + } | |
| 648 | +} | |
| 649 | +.flatpickr-input[readonly] { | |
| 650 | + cursor: pointer; | |
| 651 | +} | |
| 652 | +@-moz-keyframes flatpickrFadeInDown { | |
| 653 | + from { | |
| 654 | + opacity: 0; | |
| 655 | + transform: translate3d(0, -20px, 0); | |
| 656 | + } | |
| 657 | + to { | |
| 658 | + opacity: 1; | |
| 659 | + transform: translate3d(0, 0, 0); | |
| 660 | + } | |
| 661 | +} | |
| 662 | +@-webkit-keyframes flatpickrFadeInDown { | |
| 663 | + from { | |
| 664 | + opacity: 0; | |
| 665 | + transform: translate3d(0, -20px, 0); | |
| 666 | + } | |
| 667 | + to { | |
| 668 | + opacity: 1; | |
| 669 | + transform: translate3d(0, 0, 0); | |
| 670 | + } | |
| 671 | +} | |
| 672 | +@-o-keyframes flatpickrFadeInDown { | |
| 673 | + from { | |
| 674 | + opacity: 0; | |
| 675 | + transform: translate3d(0, -20px, 0); | |
| 676 | + } | |
| 677 | + to { | |
| 678 | + opacity: 1; | |
| 679 | + transform: translate3d(0, 0, 0); | |
| 680 | + } | |
| 681 | +} | |
| 682 | +@keyframes flatpickrFadeInDown { | |
| 683 | + from { | |
| 684 | + opacity: 0; | |
| 685 | + transform: translate3d(0, -20px, 0); | |
| 686 | + } | |
| 687 | + to { | |
| 688 | + opacity: 1; | |
| 689 | + transform: translate3d(0, 0, 0); | |
| 690 | + } | |
| 691 | +} | |
| 692 | +@-moz-keyframes slideLeft { | |
| 693 | + from { | |
| 694 | + transform: translate(0px, 0px); | |
| 695 | + } | |
| 696 | + to { | |
| 697 | + transform: translate(100%, 0px); | |
| 698 | + } | |
| 699 | +} | |
| 700 | +@-webkit-keyframes slideLeft { | |
| 701 | + from { | |
| 702 | + transform: translate(0px, 0px); | |
| 703 | + } | |
| 704 | + to { | |
| 705 | + transform: translate(100%, 0px); | |
| 706 | + } | |
| 707 | +} | |
| 708 | +@-o-keyframes slideLeft { | |
| 709 | + from { | |
| 710 | + transform: translate(0px, 0px); | |
| 711 | + } | |
| 712 | + to { | |
| 713 | + transform: translate(100%, 0px); | |
| 714 | + } | |
| 715 | +} | |
| 716 | +@keyframes slideLeft { | |
| 717 | + from { | |
| 718 | + transform: translate(0px, 0px); | |
| 719 | + } | |
| 720 | + to { | |
| 721 | + transform: translate(100%, 0px); | |
| 722 | + } | |
| 723 | +} | |
| 724 | +@-moz-keyframes slideLeftNew { | |
| 725 | + from { | |
| 726 | + transform: translate(-100%, 0px); | |
| 727 | + } | |
| 728 | + to { | |
| 729 | + transform: translate(0px, 0px); | |
| 730 | + } | |
| 731 | +} | |
| 732 | +@-webkit-keyframes slideLeftNew { | |
| 733 | + from { | |
| 734 | + transform: translate(-100%, 0px); | |
| 735 | + } | |
| 736 | + to { | |
| 737 | + transform: translate(0px, 0px); | |
| 738 | + } | |
| 739 | +} | |
| 740 | +@-o-keyframes slideLeftNew { | |
| 741 | + from { | |
| 742 | + transform: translate(-100%, 0px); | |
| 743 | + } | |
| 744 | + to { | |
| 745 | + transform: translate(0px, 0px); | |
| 746 | + } | |
| 747 | +} | |
| 748 | +@keyframes slideLeftNew { | |
| 749 | + from { | |
| 750 | + transform: translate(-100%, 0px); | |
| 751 | + } | |
| 752 | + to { | |
| 753 | + transform: translate(0px, 0px); | |
| 754 | + } | |
| 755 | +} | |
| 756 | +@-moz-keyframes slideRight { | |
| 757 | + from { | |
| 758 | + transform: translate(0, 0); | |
| 759 | + } | |
| 760 | + to { | |
| 761 | + transform: translate(-100%, 0px); | |
| 762 | + } | |
| 763 | +} | |
| 764 | +@-webkit-keyframes slideRight { | |
| 765 | + from { | |
| 766 | + transform: translate(0, 0); | |
| 767 | + } | |
| 768 | + to { | |
| 769 | + transform: translate(-100%, 0px); | |
| 770 | + } | |
| 771 | +} | |
| 772 | +@-o-keyframes slideRight { | |
| 773 | + from { | |
| 774 | + transform: translate(0, 0); | |
| 775 | + } | |
| 776 | + to { | |
| 777 | + transform: translate(-100%, 0px); | |
| 778 | + } | |
| 779 | +} | |
| 780 | +@keyframes slideRight { | |
| 781 | + from { | |
| 782 | + transform: translate(0, 0); | |
| 783 | + } | |
| 784 | + to { | |
| 785 | + transform: translate(-100%, 0px); | |
| 786 | + } | |
| 787 | +} | |
| 788 | +@-moz-keyframes slideRightNew { | |
| 789 | + from { | |
| 790 | + transform: translate(100%, 0); | |
| 791 | + } | |
| 792 | + to { | |
| 793 | + transform: translate(0, 0); | |
| 794 | + } | |
| 795 | +} | |
| 796 | +@-webkit-keyframes slideRightNew { | |
| 797 | + from { | |
| 798 | + transform: translate(100%, 0); | |
| 799 | + } | |
| 800 | + to { | |
| 801 | + transform: translate(0, 0); | |
| 802 | + } | |
| 803 | +} | |
| 804 | +@-o-keyframes slideRightNew { | |
| 805 | + from { | |
| 806 | + transform: translate(100%, 0); | |
| 807 | + } | |
| 808 | + to { | |
| 809 | + transform: translate(0, 0); | |
| 810 | + } | |
| 811 | +} | |
| 812 | +@keyframes slideRightNew { | |
| 813 | + from { | |
| 814 | + transform: translate(100%, 0); | |
| 815 | + } | |
| 816 | + to { | |
| 817 | + transform: translate(0, 0); | |
| 818 | + } | |
| 819 | +} | |
| 820 | +@-moz-keyframes fadeOut { | |
| 821 | + from { | |
| 822 | + opacity: 1; | |
| 823 | + } | |
| 824 | + to { | |
| 825 | + opacity: 0; | |
| 826 | + } | |
| 827 | +} | |
| 828 | +@-webkit-keyframes fadeOut { | |
| 829 | + from { | |
| 830 | + opacity: 1; | |
| 831 | + } | |
| 832 | + to { | |
| 833 | + opacity: 0; | |
| 834 | + } | |
| 835 | +} | |
| 836 | +@-o-keyframes fadeOut { | |
| 837 | + from { | |
| 838 | + opacity: 1; | |
| 839 | + } | |
| 840 | + to { | |
| 841 | + opacity: 0; | |
| 842 | + } | |
| 843 | +} | |
| 844 | +@keyframes fadeOut { | |
| 845 | + from { | |
| 846 | + opacity: 1; | |
| 847 | + } | |
| 848 | + to { | |
| 849 | + opacity: 0; | |
| 850 | + } | |
| 851 | +} | |
| 852 | +@-moz-keyframes fadeIn { | |
| 853 | + from { | |
| 854 | + opacity: 0; | |
| 855 | + } | |
| 856 | + to { | |
| 857 | + opacity: 1; | |
| 858 | + } | |
| 859 | +} | |
| 860 | +@-webkit-keyframes fadeIn { | |
| 861 | + from { | |
| 862 | + opacity: 0; | |
| 863 | + } | |
| 864 | + to { | |
| 865 | + opacity: 1; | |
| 866 | + } | |
| 867 | +} | |
| 868 | +@-o-keyframes fadeIn { | |
| 869 | + from { | |
| 870 | + opacity: 0; | |
| 871 | + } | |
| 872 | + to { | |
| 873 | + opacity: 1; | |
| 874 | + } | |
| 875 | +} | |
| 876 | +@keyframes fadeIn { | |
| 877 | + from { | |
| 878 | + opacity: 0; | |
| 879 | + } | |
| 880 | + to { | |
| 881 | + opacity: 1; | |
| 882 | + } | |
| 883 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/flatpickr/rtl/themes/material_green.rtl.css
0 → 100644
| 1 | +.flatpickr-calendar { | |
| 2 | + background: transparent; | |
| 3 | + overflow: hidden; | |
| 4 | + max-height: 0; | |
| 5 | + opacity: 0; | |
| 6 | + visibility: hidden; | |
| 7 | + text-align: center; | |
| 8 | + padding: 0; | |
| 9 | + animation: none; | |
| 10 | + direction: rtl; | |
| 11 | + border: 0; | |
| 12 | + font-size: 14px; | |
| 13 | + line-height: 24px; | |
| 14 | + border-radius: 5px; | |
| 15 | + position: absolute; | |
| 16 | + width: 315px; | |
| 17 | + box-sizing: border-box; | |
| 18 | + box-shadow: 0 3px 13px rgba(0,0,0,0.08); | |
| 19 | +} | |
| 20 | +.flatpickr-calendar.open, | |
| 21 | +.flatpickr-calendar.inline { | |
| 22 | + opacity: 1; | |
| 23 | + visibility: visible; | |
| 24 | + overflow: visible; | |
| 25 | + max-height: 640px; | |
| 26 | +} | |
| 27 | +.flatpickr-calendar.open { | |
| 28 | + display: inline-block; | |
| 29 | + z-index: 99999; | |
| 30 | +} | |
| 31 | +.flatpickr-calendar.animate.open { | |
| 32 | + animation: flatpickrFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 33 | +} | |
| 34 | +.flatpickr-calendar.inline { | |
| 35 | + display: block; | |
| 36 | + position: relative; | |
| 37 | + top: 2px; | |
| 38 | +} | |
| 39 | +.flatpickr-calendar.static { | |
| 40 | + position: absolute; | |
| 41 | + top: calc(100% + 2px); | |
| 42 | +} | |
| 43 | +.flatpickr-calendar.static.open { | |
| 44 | + z-index: 999; | |
| 45 | + display: block; | |
| 46 | +} | |
| 47 | +.flatpickr-calendar.hasWeeks { | |
| 48 | + width: auto; | |
| 49 | +} | |
| 50 | +.flatpickr-calendar .hasWeeks .dayContainer, | |
| 51 | +.flatpickr-calendar .hasTime .dayContainer { | |
| 52 | + border-bottom: 0; | |
| 53 | + border-bottom-left-radius: 0; | |
| 54 | + border-bottom-right-radius: 0; | |
| 55 | +} | |
| 56 | +.flatpickr-calendar .hasWeeks .dayContainer { | |
| 57 | + border-right: 0; | |
| 58 | +} | |
| 59 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time { | |
| 60 | + height: 40px; | |
| 61 | + border-top: 1px solid rgba(72,72,72,0.2); | |
| 62 | +} | |
| 63 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-innerContainer { | |
| 64 | + border-bottom: 0; | |
| 65 | +} | |
| 66 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time { | |
| 67 | + border: 1px solid rgba(72,72,72,0.2); | |
| 68 | +} | |
| 69 | +.flatpickr-calendar.noCalendar.hasTime .flatpickr-time { | |
| 70 | + height: auto; | |
| 71 | +} | |
| 72 | +.flatpickr-calendar:before, | |
| 73 | +.flatpickr-calendar:after { | |
| 74 | + position: absolute; | |
| 75 | + display: block; | |
| 76 | + pointer-events: none; | |
| 77 | + border: solid transparent; | |
| 78 | + content: ''; | |
| 79 | + height: 0; | |
| 80 | + width: 0; | |
| 81 | + right: 22px; | |
| 82 | +} | |
| 83 | +.flatpickr-calendar.rightMost:before, | |
| 84 | +.flatpickr-calendar.rightMost:after { | |
| 85 | + right: auto; | |
| 86 | + left: 22px; | |
| 87 | +} | |
| 88 | +.flatpickr-calendar:before { | |
| 89 | + border-width: 5px; | |
| 90 | + margin: 0 -5px; | |
| 91 | +} | |
| 92 | +.flatpickr-calendar:after { | |
| 93 | + border-width: 4px; | |
| 94 | + margin: 0 -4px; | |
| 95 | +} | |
| 96 | +.flatpickr-calendar.arrowTop:before, | |
| 97 | +.flatpickr-calendar.arrowTop:after { | |
| 98 | + bottom: 100%; | |
| 99 | +} | |
| 100 | +.flatpickr-calendar.arrowTop:before { | |
| 101 | + border-bottom-color: rgba(72,72,72,0.2); | |
| 102 | +} | |
| 103 | +.flatpickr-calendar.arrowTop:after { | |
| 104 | + border-bottom-color: #1bbc9b; | |
| 105 | +} | |
| 106 | +.flatpickr-calendar.arrowBottom:before, | |
| 107 | +.flatpickr-calendar.arrowBottom:after { | |
| 108 | + top: 100%; | |
| 109 | +} | |
| 110 | +.flatpickr-calendar.arrowBottom:before { | |
| 111 | + border-top-color: rgba(72,72,72,0.2); | |
| 112 | +} | |
| 113 | +.flatpickr-calendar.arrowBottom:after { | |
| 114 | + border-top-color: #1bbc9b; | |
| 115 | +} | |
| 116 | +.flatpickr-calendar:focus { | |
| 117 | + outline: 0; | |
| 118 | +} | |
| 119 | +.flatpickr-wrapper { | |
| 120 | + position: relative; | |
| 121 | + display: inline-block; | |
| 122 | +} | |
| 123 | +.flatpickr-month { | |
| 124 | + border-radius: 5px 5px 0 0; | |
| 125 | + background: #1bbc9b; | |
| 126 | + color: #fff; | |
| 127 | + fill: #fff; | |
| 128 | + height: 28px; | |
| 129 | + line-height: 24px; | |
| 130 | + text-align: center; | |
| 131 | + position: relative; | |
| 132 | + user-select: none; | |
| 133 | + overflow: hidden; | |
| 134 | +} | |
| 135 | +.flatpickr-prev-month, | |
| 136 | +.flatpickr-next-month { | |
| 137 | + text-decoration: none; | |
| 138 | + cursor: pointer; | |
| 139 | + position: absolute; | |
| 140 | + top: 0px; | |
| 141 | + height: 28px; | |
| 142 | + line-height: 16px; | |
| 143 | + padding: 10px calc(3.57% - 1.5px); | |
| 144 | +} | |
| 145 | +.flatpickr-prev-month i, | |
| 146 | +.flatpickr-next-month i { | |
| 147 | + position: relative; | |
| 148 | +} | |
| 149 | +.flatpickr-prev-month.flatpickr-prev-month, | |
| 150 | +.flatpickr-next-month.flatpickr-prev-month { | |
| 151 | +/* | |
| 152 | + /*rtl:begin:ignore*/ | |
| 153 | +/* | |
| 154 | + */ | |
| 155 | + right: 0; | |
| 156 | +/* | |
| 157 | + /*rtl:end:ignore*/ | |
| 158 | +/* | |
| 159 | + */ | |
| 160 | +} | |
| 161 | +/* | |
| 162 | + /*rtl:begin:ignore*/ | |
| 163 | +/* | |
| 164 | + /*rtl:end:ignore*/ | |
| 165 | +.flatpickr-prev-month.flatpickr-next-month, | |
| 166 | +.flatpickr-next-month.flatpickr-next-month { | |
| 167 | +/* | |
| 168 | + /*rtl:begin:ignore*/ | |
| 169 | +/* | |
| 170 | + */ | |
| 171 | + left: 0; | |
| 172 | +/* | |
| 173 | + /*rtl:end:ignore*/ | |
| 174 | +/* | |
| 175 | + */ | |
| 176 | +} | |
| 177 | +/* | |
| 178 | + /*rtl:begin:ignore*/ | |
| 179 | +/* | |
| 180 | + /*rtl:end:ignore*/ | |
| 181 | +.flatpickr-prev-month:hover, | |
| 182 | +.flatpickr-next-month:hover { | |
| 183 | + color: #bbb; | |
| 184 | +} | |
| 185 | +.flatpickr-prev-month:hover svg, | |
| 186 | +.flatpickr-next-month:hover svg { | |
| 187 | + fill: #f64747; | |
| 188 | +} | |
| 189 | +.flatpickr-prev-month svg, | |
| 190 | +.flatpickr-next-month svg { | |
| 191 | + width: 14px; | |
| 192 | +} | |
| 193 | +.flatpickr-prev-month svg path, | |
| 194 | +.flatpickr-next-month svg path { | |
| 195 | + transition: fill 0.1s; | |
| 196 | + fill: inherit; | |
| 197 | +} | |
| 198 | +.numInputWrapper { | |
| 199 | + position: relative; | |
| 200 | + height: auto; | |
| 201 | +} | |
| 202 | +.numInputWrapper input, | |
| 203 | +.numInputWrapper span { | |
| 204 | + display: inline-block; | |
| 205 | +} | |
| 206 | +.numInputWrapper input { | |
| 207 | + width: 100%; | |
| 208 | +} | |
| 209 | +.numInputWrapper span { | |
| 210 | + position: absolute; | |
| 211 | + left: 0; | |
| 212 | + width: 14px; | |
| 213 | + padding: 0 2px 0 4px; | |
| 214 | + height: 50%; | |
| 215 | + line-height: 50%; | |
| 216 | + opacity: 0; | |
| 217 | + cursor: pointer; | |
| 218 | + border: 1px solid rgba(72,72,72,0.05); | |
| 219 | + box-sizing: border-box; | |
| 220 | +} | |
| 221 | +.numInputWrapper span:hover { | |
| 222 | + background: rgba(0,0,0,0.1); | |
| 223 | +} | |
| 224 | +.numInputWrapper span:active { | |
| 225 | + background: rgba(0,0,0,0.2); | |
| 226 | +} | |
| 227 | +.numInputWrapper span:after { | |
| 228 | + display: block; | |
| 229 | + content: ""; | |
| 230 | + position: absolute; | |
| 231 | + top: 33%; | |
| 232 | +} | |
| 233 | +.numInputWrapper span.arrowUp { | |
| 234 | + top: 0; | |
| 235 | + border-bottom: 0; | |
| 236 | +} | |
| 237 | +.numInputWrapper span.arrowUp:after { | |
| 238 | + border-right: 4px solid transparent; | |
| 239 | + border-left: 4px solid transparent; | |
| 240 | + border-bottom: 4px solid rgba(72,72,72,0.6); | |
| 241 | +} | |
| 242 | +.numInputWrapper span.arrowDown { | |
| 243 | + top: 50%; | |
| 244 | +} | |
| 245 | +.numInputWrapper span.arrowDown:after { | |
| 246 | + border-right: 4px solid transparent; | |
| 247 | + border-left: 4px solid transparent; | |
| 248 | + border-top: 4px solid rgba(72,72,72,0.6); | |
| 249 | +} | |
| 250 | +.numInputWrapper span svg { | |
| 251 | + width: inherit; | |
| 252 | + height: auto; | |
| 253 | +} | |
| 254 | +.numInputWrapper span svg path { | |
| 255 | + fill: rgba(255,255,255,0.5); | |
| 256 | +} | |
| 257 | +.numInputWrapper:hover { | |
| 258 | + background: rgba(0,0,0,0.05); | |
| 259 | +} | |
| 260 | +.numInputWrapper:hover span { | |
| 261 | + opacity: 1; | |
| 262 | +} | |
| 263 | +.flatpickr-current-month { | |
| 264 | + font-size: 135%; | |
| 265 | + line-height: inherit; | |
| 266 | + font-weight: 300; | |
| 267 | + color: inherit; | |
| 268 | + position: absolute; | |
| 269 | + width: 75%; | |
| 270 | + right: 12.5%; | |
| 271 | + top: 5px; | |
| 272 | + display: inline-block; | |
| 273 | + text-align: center; | |
| 274 | + transform: translate(0px, 0px); | |
| 275 | +} | |
| 276 | +.flatpickr-current-month.slideLeft { | |
| 277 | + transform: translate(100%, 0px); | |
| 278 | + animation: fadeOut 400ms ease, slideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 279 | +} | |
| 280 | +.flatpickr-current-month.slideLeftNew { | |
| 281 | + transform: translate(-100%, 0px); | |
| 282 | + animation: fadeIn 400ms ease, slideLeftNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 283 | +} | |
| 284 | +.flatpickr-current-month.slideRight { | |
| 285 | + transform: translate(-100%, 0px); | |
| 286 | + animation: fadeOut 400ms ease, slideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 287 | +} | |
| 288 | +.flatpickr-current-month.slideRightNew { | |
| 289 | + transform: translate(0, 0); | |
| 290 | + animation: fadeIn 400ms ease, slideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 291 | +} | |
| 292 | +.flatpickr-current-month span.cur-month { | |
| 293 | + font-family: inherit; | |
| 294 | + font-weight: 700; | |
| 295 | + color: inherit; | |
| 296 | + display: inline-block; | |
| 297 | + margin-right: 7px; | |
| 298 | + padding: 0; | |
| 299 | +} | |
| 300 | +.flatpickr-current-month span.cur-month:hover { | |
| 301 | + background: rgba(0,0,0,0.05); | |
| 302 | +} | |
| 303 | +.flatpickr-current-month .numInputWrapper { | |
| 304 | + width: 6ch; | |
| 305 | + width: 7ch\0; | |
| 306 | + display: inline-block; | |
| 307 | +} | |
| 308 | +.flatpickr-current-month .numInputWrapper span.arrowUp:after { | |
| 309 | + border-bottom-color: #fff; | |
| 310 | +} | |
| 311 | +.flatpickr-current-month .numInputWrapper span.arrowDown:after { | |
| 312 | + border-top-color: #fff; | |
| 313 | +} | |
| 314 | +.flatpickr-current-month input.cur-year { | |
| 315 | + background: transparent; | |
| 316 | + box-sizing: border-box; | |
| 317 | + color: inherit; | |
| 318 | + cursor: default; | |
| 319 | + padding: 0 0.5ch 0 0; | |
| 320 | + margin: 0; | |
| 321 | + display: inline; | |
| 322 | + font-size: inherit; | |
| 323 | + font-family: inherit; | |
| 324 | + font-weight: 300; | |
| 325 | + line-height: inherit; | |
| 326 | + height: initial; | |
| 327 | + border: 0; | |
| 328 | + border-radius: 0; | |
| 329 | + vertical-align: initial; | |
| 330 | +} | |
| 331 | +.flatpickr-current-month input.cur-year:focus { | |
| 332 | + outline: 0; | |
| 333 | +} | |
| 334 | +.flatpickr-current-month input.cur-year[disabled], | |
| 335 | +.flatpickr-current-month input.cur-year[disabled]:hover { | |
| 336 | + font-size: 100%; | |
| 337 | + color: rgba(255,255,255,0.5); | |
| 338 | + background: transparent; | |
| 339 | + pointer-events: none; | |
| 340 | +} | |
| 341 | +.flatpickr-weekdays { | |
| 342 | + background: #1bbc9b; | |
| 343 | + text-align: center; | |
| 344 | + overflow: hidden; | |
| 345 | + width: 315px; | |
| 346 | + display: flex; | |
| 347 | + align-items: center; | |
| 348 | + height: 28px; | |
| 349 | +} | |
| 350 | +span.flatpickr-weekday { | |
| 351 | + cursor: default; | |
| 352 | + font-size: 90%; | |
| 353 | + color: rgba(0,0,0,0.54); | |
| 354 | + line-height: 1; | |
| 355 | + margin: 0; | |
| 356 | + background: #1bbc9b; | |
| 357 | + text-align: center; | |
| 358 | + display: block; | |
| 359 | + flex: 1; | |
| 360 | + font-weight: bolder; | |
| 361 | + margin: 0; | |
| 362 | +} | |
| 363 | +.dayContainer, | |
| 364 | +.flatpickr-weeks { | |
| 365 | + padding: 1px 0 0 0; | |
| 366 | +} | |
| 367 | +.flatpickr-days { | |
| 368 | + position: relative; | |
| 369 | + overflow: hidden; | |
| 370 | + display: flex; | |
| 371 | + width: 315px; | |
| 372 | + background: #fff; | |
| 373 | + border-right: 1px solid rgba(72,72,72,0.2); | |
| 374 | + border-left: 1px solid rgba(72,72,72,0.2); | |
| 375 | +} | |
| 376 | +.flatpickr-days:focus { | |
| 377 | + outline: 0; | |
| 378 | +} | |
| 379 | +.dayContainer { | |
| 380 | + padding: 0; | |
| 381 | + outline: 0; | |
| 382 | + text-align: right; | |
| 383 | + width: 315px; | |
| 384 | + min-width: 315px; | |
| 385 | + max-width: 315px; | |
| 386 | + box-sizing: border-box; | |
| 387 | + display: inline-block; | |
| 388 | + display: -ms-flexbox; | |
| 389 | + display: flex; | |
| 390 | + flex-wrap: wrap; | |
| 391 | + -ms-flex-wrap: wrap; | |
| 392 | + -ms-flex-pack: justify; | |
| 393 | + justify-content: space-around; | |
| 394 | + transform: translate(0px, 0px); | |
| 395 | + opacity: 1; | |
| 396 | +} | |
| 397 | +.flatpickr-calendar.animate .dayContainer.slideLeft { | |
| 398 | + animation: fadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), slideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 399 | +} | |
| 400 | +.flatpickr-calendar.animate .dayContainer.slideLeft, | |
| 401 | +.flatpickr-calendar.animate .dayContainer.slideLeftNew { | |
| 402 | + transform: translate(100%, 0px); | |
| 403 | +} | |
| 404 | +.flatpickr-calendar.animate .dayContainer.slideLeftNew { | |
| 405 | + animation: fadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), slideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 406 | +} | |
| 407 | +.flatpickr-calendar.animate .dayContainer.slideRight { | |
| 408 | + animation: fadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), slideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 409 | + transform: translate(-100%, 0px); | |
| 410 | +} | |
| 411 | +.flatpickr-calendar.animate .dayContainer.slideRightNew { | |
| 412 | + animation: fadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), slideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 413 | +} | |
| 414 | +.flatpickr-day { | |
| 415 | + background: none; | |
| 416 | + border: 1px solid transparent; | |
| 417 | + border-radius: 150px; | |
| 418 | + box-sizing: border-box; | |
| 419 | + color: #484848; | |
| 420 | + cursor: pointer; | |
| 421 | + font-weight: 400; | |
| 422 | + width: 14.2857143%; | |
| 423 | + flex-basis: 14.2857143%; | |
| 424 | + max-width: 40px; | |
| 425 | + height: 40px; | |
| 426 | + line-height: 40px; | |
| 427 | + margin: 0; | |
| 428 | + display: inline-block; | |
| 429 | + position: relative; | |
| 430 | + justify-content: center; | |
| 431 | + text-align: center; | |
| 432 | +} | |
| 433 | +.flatpickr-day.inRange, | |
| 434 | +.flatpickr-day.prevMonthDay.inRange, | |
| 435 | +.flatpickr-day.nextMonthDay.inRange, | |
| 436 | +.flatpickr-day.today.inRange, | |
| 437 | +.flatpickr-day.prevMonthDay.today.inRange, | |
| 438 | +.flatpickr-day.nextMonthDay.today.inRange, | |
| 439 | +.flatpickr-day:hover, | |
| 440 | +.flatpickr-day.prevMonthDay:hover, | |
| 441 | +.flatpickr-day.nextMonthDay:hover, | |
| 442 | +.flatpickr-day:focus, | |
| 443 | +.flatpickr-day.prevMonthDay:focus, | |
| 444 | +.flatpickr-day.nextMonthDay:focus { | |
| 445 | + cursor: pointer; | |
| 446 | + outline: 0; | |
| 447 | + background: #e2e2e2; | |
| 448 | + border-color: #e2e2e2; | |
| 449 | +} | |
| 450 | +.flatpickr-day.today { | |
| 451 | + border-color: #bbb; | |
| 452 | +} | |
| 453 | +.flatpickr-day.today:hover, | |
| 454 | +.flatpickr-day.today:focus { | |
| 455 | + border-color: #bbb; | |
| 456 | + background: #bbb; | |
| 457 | + color: #fff; | |
| 458 | +} | |
| 459 | +.flatpickr-day.selected, | |
| 460 | +.flatpickr-day.startRange, | |
| 461 | +.flatpickr-day.endRange, | |
| 462 | +.flatpickr-day.selected.inRange, | |
| 463 | +.flatpickr-day.startRange.inRange, | |
| 464 | +.flatpickr-day.endRange.inRange, | |
| 465 | +.flatpickr-day.selected:focus, | |
| 466 | +.flatpickr-day.startRange:focus, | |
| 467 | +.flatpickr-day.endRange:focus, | |
| 468 | +.flatpickr-day.selected:hover, | |
| 469 | +.flatpickr-day.startRange:hover, | |
| 470 | +.flatpickr-day.endRange:hover, | |
| 471 | +.flatpickr-day.selected.prevMonthDay, | |
| 472 | +.flatpickr-day.startRange.prevMonthDay, | |
| 473 | +.flatpickr-day.endRange.prevMonthDay, | |
| 474 | +.flatpickr-day.selected.nextMonthDay, | |
| 475 | +.flatpickr-day.startRange.nextMonthDay, | |
| 476 | +.flatpickr-day.endRange.nextMonthDay { | |
| 477 | + background: #1bbc9b; | |
| 478 | + box-shadow: none; | |
| 479 | + color: #fff; | |
| 480 | + border-color: #1bbc9b; | |
| 481 | +} | |
| 482 | +.flatpickr-day.selected.startRange, | |
| 483 | +.flatpickr-day.startRange.startRange, | |
| 484 | +.flatpickr-day.endRange.startRange { | |
| 485 | + border-radius: 0 50px 50px 0; | |
| 486 | +} | |
| 487 | +.flatpickr-day.selected.endRange, | |
| 488 | +.flatpickr-day.startRange.endRange, | |
| 489 | +.flatpickr-day.endRange.endRange { | |
| 490 | + border-radius: 50px 0 0 50px; | |
| 491 | +} | |
| 492 | +.flatpickr-day.selected.startRange + .endRange, | |
| 493 | +.flatpickr-day.startRange.startRange + .endRange, | |
| 494 | +.flatpickr-day.endRange.startRange + .endRange { | |
| 495 | + box-shadow: 10px 0 0 #1bbc9b; | |
| 496 | +} | |
| 497 | +.flatpickr-day.selected.startRange.endRange, | |
| 498 | +.flatpickr-day.startRange.startRange.endRange, | |
| 499 | +.flatpickr-day.endRange.startRange.endRange { | |
| 500 | + border-radius: 50px; | |
| 501 | +} | |
| 502 | +.flatpickr-day.inRange { | |
| 503 | + border-radius: 0; | |
| 504 | + box-shadow: 5px 0 0 #e2e2e2, -5px 0 0 #e2e2e2; | |
| 505 | +} | |
| 506 | +.flatpickr-day.disabled, | |
| 507 | +.flatpickr-day.disabled:hover { | |
| 508 | + pointer-events: none; | |
| 509 | +} | |
| 510 | +.flatpickr-day.disabled, | |
| 511 | +.flatpickr-day.disabled:hover, | |
| 512 | +.flatpickr-day.prevMonthDay, | |
| 513 | +.flatpickr-day.nextMonthDay, | |
| 514 | +.flatpickr-day.notAllowed, | |
| 515 | +.flatpickr-day.notAllowed.prevMonthDay, | |
| 516 | +.flatpickr-day.notAllowed.nextMonthDay { | |
| 517 | + color: rgba(72,72,72,0.3); | |
| 518 | + background: transparent; | |
| 519 | + border-color: transparent; | |
| 520 | + cursor: default; | |
| 521 | +} | |
| 522 | +.rangeMode .flatpickr-day { | |
| 523 | + margin-top: 1px; | |
| 524 | +} | |
| 525 | +.flatpickr-weekwrapper { | |
| 526 | + display: inline-block; | |
| 527 | + float: right; | |
| 528 | +} | |
| 529 | +.flatpickr-weekwrapper .flatpickr-weeks { | |
| 530 | + padding: 1px 12px 0 12px; | |
| 531 | + border-right: 1px solid rgba(72,72,72,0.2); | |
| 532 | + box-shadow: -1px 0 0 rgba(72,72,72,0.2); | |
| 533 | +} | |
| 534 | +.flatpickr-weekwrapper .flatpickr-weekday { | |
| 535 | + float: none; | |
| 536 | + width: 100%; | |
| 537 | +} | |
| 538 | +.flatpickr-weekwrapper span.flatpickr-day { | |
| 539 | + display: block; | |
| 540 | + width: 100%; | |
| 541 | + max-width: none; | |
| 542 | +} | |
| 543 | +.flatpickr-innerContainer { | |
| 544 | + display: block; | |
| 545 | + display: flex; | |
| 546 | + box-sizing: border-box; | |
| 547 | + overflow: hidden; | |
| 548 | + background: #fff; | |
| 549 | + border-bottom: 1px solid rgba(72,72,72,0.2); | |
| 550 | +} | |
| 551 | +.flatpickr-rContainer { | |
| 552 | + display: inline-block; | |
| 553 | + padding: 0; | |
| 554 | + box-sizing: border-box; | |
| 555 | +} | |
| 556 | +.flatpickr-time { | |
| 557 | + text-align: center; | |
| 558 | + outline: 0; | |
| 559 | + display: block; | |
| 560 | + height: 0; | |
| 561 | + line-height: 40px; | |
| 562 | + max-height: 40px; | |
| 563 | + box-sizing: border-box; | |
| 564 | + overflow: hidden; | |
| 565 | + display: flex; | |
| 566 | + background: #fff; | |
| 567 | + border-radius: 0 0 5px 5px; | |
| 568 | +} | |
| 569 | +.flatpickr-time:after { | |
| 570 | + content: ""; | |
| 571 | + display: table; | |
| 572 | + clear: both; | |
| 573 | +} | |
| 574 | +.flatpickr-time .numInputWrapper { | |
| 575 | + flex: 1; | |
| 576 | + width: 40%; | |
| 577 | + height: 40px; | |
| 578 | + float: right; | |
| 579 | +} | |
| 580 | +.flatpickr-time .numInputWrapper span.arrowUp:after { | |
| 581 | + border-bottom-color: #484848; | |
| 582 | +} | |
| 583 | +.flatpickr-time .numInputWrapper span.arrowDown:after { | |
| 584 | + border-top-color: #484848; | |
| 585 | +} | |
| 586 | +.flatpickr-time.hasSeconds .numInputWrapper { | |
| 587 | + width: 26%; | |
| 588 | +} | |
| 589 | +.flatpickr-time.time24hr .numInputWrapper { | |
| 590 | + width: 49%; | |
| 591 | +} | |
| 592 | +.flatpickr-time input { | |
| 593 | + background: transparent; | |
| 594 | + box-shadow: none; | |
| 595 | + border: 0; | |
| 596 | + border-radius: 0; | |
| 597 | + text-align: center; | |
| 598 | + margin: 0; | |
| 599 | + padding: 0; | |
| 600 | + height: inherit; | |
| 601 | + line-height: inherit; | |
| 602 | + cursor: pointer; | |
| 603 | + color: #484848; | |
| 604 | + font-size: 14px; | |
| 605 | + position: relative; | |
| 606 | + box-sizing: border-box; | |
| 607 | +} | |
| 608 | +.flatpickr-time input.flatpickr-hour { | |
| 609 | + font-weight: bold; | |
| 610 | +} | |
| 611 | +.flatpickr-time input.flatpickr-minute, | |
| 612 | +.flatpickr-time input.flatpickr-second { | |
| 613 | + font-weight: 400; | |
| 614 | +} | |
| 615 | +.flatpickr-time input:focus { | |
| 616 | + outline: 0; | |
| 617 | + border: 0; | |
| 618 | +} | |
| 619 | +.flatpickr-time .flatpickr-time-separator, | |
| 620 | +.flatpickr-time .flatpickr-am-pm { | |
| 621 | + height: inherit; | |
| 622 | + display: inline-block; | |
| 623 | + float: right; | |
| 624 | + line-height: inherit; | |
| 625 | + color: #484848; | |
| 626 | + font-weight: bold; | |
| 627 | + width: 2%; | |
| 628 | + user-select: none; | |
| 629 | +} | |
| 630 | +.flatpickr-time .flatpickr-am-pm { | |
| 631 | + outline: 0; | |
| 632 | + width: 18%; | |
| 633 | + cursor: pointer; | |
| 634 | + text-align: center; | |
| 635 | + font-weight: 400; | |
| 636 | +} | |
| 637 | +.flatpickr-time .flatpickr-am-pm:hover, | |
| 638 | +.flatpickr-time .flatpickr-am-pm:focus { | |
| 639 | + background: #ececec; | |
| 640 | +} | |
| 641 | +@media all and (-ms-high-contrast: none) { | |
| 642 | + .flatpickr-month { | |
| 643 | + padding: 0; | |
| 644 | + } | |
| 645 | + .flatpickr-month svg { | |
| 646 | + top: 0 !important; | |
| 647 | + } | |
| 648 | +} | |
| 649 | +.flatpickr-input[readonly] { | |
| 650 | + cursor: pointer; | |
| 651 | +} | |
| 652 | +@-moz-keyframes flatpickrFadeInDown { | |
| 653 | + from { | |
| 654 | + opacity: 0; | |
| 655 | + transform: translate3d(0, -20px, 0); | |
| 656 | + } | |
| 657 | + to { | |
| 658 | + opacity: 1; | |
| 659 | + transform: translate3d(0, 0, 0); | |
| 660 | + } | |
| 661 | +} | |
| 662 | +@-webkit-keyframes flatpickrFadeInDown { | |
| 663 | + from { | |
| 664 | + opacity: 0; | |
| 665 | + transform: translate3d(0, -20px, 0); | |
| 666 | + } | |
| 667 | + to { | |
| 668 | + opacity: 1; | |
| 669 | + transform: translate3d(0, 0, 0); | |
| 670 | + } | |
| 671 | +} | |
| 672 | +@-o-keyframes flatpickrFadeInDown { | |
| 673 | + from { | |
| 674 | + opacity: 0; | |
| 675 | + transform: translate3d(0, -20px, 0); | |
| 676 | + } | |
| 677 | + to { | |
| 678 | + opacity: 1; | |
| 679 | + transform: translate3d(0, 0, 0); | |
| 680 | + } | |
| 681 | +} | |
| 682 | +@keyframes flatpickrFadeInDown { | |
| 683 | + from { | |
| 684 | + opacity: 0; | |
| 685 | + transform: translate3d(0, -20px, 0); | |
| 686 | + } | |
| 687 | + to { | |
| 688 | + opacity: 1; | |
| 689 | + transform: translate3d(0, 0, 0); | |
| 690 | + } | |
| 691 | +} | |
| 692 | +@-moz-keyframes slideLeft { | |
| 693 | + from { | |
| 694 | + transform: translate(0px, 0px); | |
| 695 | + } | |
| 696 | + to { | |
| 697 | + transform: translate(100%, 0px); | |
| 698 | + } | |
| 699 | +} | |
| 700 | +@-webkit-keyframes slideLeft { | |
| 701 | + from { | |
| 702 | + transform: translate(0px, 0px); | |
| 703 | + } | |
| 704 | + to { | |
| 705 | + transform: translate(100%, 0px); | |
| 706 | + } | |
| 707 | +} | |
| 708 | +@-o-keyframes slideLeft { | |
| 709 | + from { | |
| 710 | + transform: translate(0px, 0px); | |
| 711 | + } | |
| 712 | + to { | |
| 713 | + transform: translate(100%, 0px); | |
| 714 | + } | |
| 715 | +} | |
| 716 | +@keyframes slideLeft { | |
| 717 | + from { | |
| 718 | + transform: translate(0px, 0px); | |
| 719 | + } | |
| 720 | + to { | |
| 721 | + transform: translate(100%, 0px); | |
| 722 | + } | |
| 723 | +} | |
| 724 | +@-moz-keyframes slideLeftNew { | |
| 725 | + from { | |
| 726 | + transform: translate(-100%, 0px); | |
| 727 | + } | |
| 728 | + to { | |
| 729 | + transform: translate(0px, 0px); | |
| 730 | + } | |
| 731 | +} | |
| 732 | +@-webkit-keyframes slideLeftNew { | |
| 733 | + from { | |
| 734 | + transform: translate(-100%, 0px); | |
| 735 | + } | |
| 736 | + to { | |
| 737 | + transform: translate(0px, 0px); | |
| 738 | + } | |
| 739 | +} | |
| 740 | +@-o-keyframes slideLeftNew { | |
| 741 | + from { | |
| 742 | + transform: translate(-100%, 0px); | |
| 743 | + } | |
| 744 | + to { | |
| 745 | + transform: translate(0px, 0px); | |
| 746 | + } | |
| 747 | +} | |
| 748 | +@keyframes slideLeftNew { | |
| 749 | + from { | |
| 750 | + transform: translate(-100%, 0px); | |
| 751 | + } | |
| 752 | + to { | |
| 753 | + transform: translate(0px, 0px); | |
| 754 | + } | |
| 755 | +} | |
| 756 | +@-moz-keyframes slideRight { | |
| 757 | + from { | |
| 758 | + transform: translate(0, 0); | |
| 759 | + } | |
| 760 | + to { | |
| 761 | + transform: translate(-100%, 0px); | |
| 762 | + } | |
| 763 | +} | |
| 764 | +@-webkit-keyframes slideRight { | |
| 765 | + from { | |
| 766 | + transform: translate(0, 0); | |
| 767 | + } | |
| 768 | + to { | |
| 769 | + transform: translate(-100%, 0px); | |
| 770 | + } | |
| 771 | +} | |
| 772 | +@-o-keyframes slideRight { | |
| 773 | + from { | |
| 774 | + transform: translate(0, 0); | |
| 775 | + } | |
| 776 | + to { | |
| 777 | + transform: translate(-100%, 0px); | |
| 778 | + } | |
| 779 | +} | |
| 780 | +@keyframes slideRight { | |
| 781 | + from { | |
| 782 | + transform: translate(0, 0); | |
| 783 | + } | |
| 784 | + to { | |
| 785 | + transform: translate(-100%, 0px); | |
| 786 | + } | |
| 787 | +} | |
| 788 | +@-moz-keyframes slideRightNew { | |
| 789 | + from { | |
| 790 | + transform: translate(100%, 0); | |
| 791 | + } | |
| 792 | + to { | |
| 793 | + transform: translate(0, 0); | |
| 794 | + } | |
| 795 | +} | |
| 796 | +@-webkit-keyframes slideRightNew { | |
| 797 | + from { | |
| 798 | + transform: translate(100%, 0); | |
| 799 | + } | |
| 800 | + to { | |
| 801 | + transform: translate(0, 0); | |
| 802 | + } | |
| 803 | +} | |
| 804 | +@-o-keyframes slideRightNew { | |
| 805 | + from { | |
| 806 | + transform: translate(100%, 0); | |
| 807 | + } | |
| 808 | + to { | |
| 809 | + transform: translate(0, 0); | |
| 810 | + } | |
| 811 | +} | |
| 812 | +@keyframes slideRightNew { | |
| 813 | + from { | |
| 814 | + transform: translate(100%, 0); | |
| 815 | + } | |
| 816 | + to { | |
| 817 | + transform: translate(0, 0); | |
| 818 | + } | |
| 819 | +} | |
| 820 | +@-moz-keyframes fadeOut { | |
| 821 | + from { | |
| 822 | + opacity: 1; | |
| 823 | + } | |
| 824 | + to { | |
| 825 | + opacity: 0; | |
| 826 | + } | |
| 827 | +} | |
| 828 | +@-webkit-keyframes fadeOut { | |
| 829 | + from { | |
| 830 | + opacity: 1; | |
| 831 | + } | |
| 832 | + to { | |
| 833 | + opacity: 0; | |
| 834 | + } | |
| 835 | +} | |
| 836 | +@-o-keyframes fadeOut { | |
| 837 | + from { | |
| 838 | + opacity: 1; | |
| 839 | + } | |
| 840 | + to { | |
| 841 | + opacity: 0; | |
| 842 | + } | |
| 843 | +} | |
| 844 | +@keyframes fadeOut { | |
| 845 | + from { | |
| 846 | + opacity: 1; | |
| 847 | + } | |
| 848 | + to { | |
| 849 | + opacity: 0; | |
| 850 | + } | |
| 851 | +} | |
| 852 | +@-moz-keyframes fadeIn { | |
| 853 | + from { | |
| 854 | + opacity: 0; | |
| 855 | + } | |
| 856 | + to { | |
| 857 | + opacity: 1; | |
| 858 | + } | |
| 859 | +} | |
| 860 | +@-webkit-keyframes fadeIn { | |
| 861 | + from { | |
| 862 | + opacity: 0; | |
| 863 | + } | |
| 864 | + to { | |
| 865 | + opacity: 1; | |
| 866 | + } | |
| 867 | +} | |
| 868 | +@-o-keyframes fadeIn { | |
| 869 | + from { | |
| 870 | + opacity: 0; | |
| 871 | + } | |
| 872 | + to { | |
| 873 | + opacity: 1; | |
| 874 | + } | |
| 875 | +} | |
| 876 | +@keyframes fadeIn { | |
| 877 | + from { | |
| 878 | + opacity: 0; | |
| 879 | + } | |
| 880 | + to { | |
| 881 | + opacity: 1; | |
| 882 | + } | |
| 883 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/flatpickr/rtl/themes/material_orange.rtl.css
0 → 100644
| 1 | +.flatpickr-calendar { | |
| 2 | + background: transparent; | |
| 3 | + overflow: hidden; | |
| 4 | + max-height: 0; | |
| 5 | + opacity: 0; | |
| 6 | + visibility: hidden; | |
| 7 | + text-align: center; | |
| 8 | + padding: 0; | |
| 9 | + animation: none; | |
| 10 | + direction: rtl; | |
| 11 | + border: 0; | |
| 12 | + font-size: 14px; | |
| 13 | + line-height: 24px; | |
| 14 | + border-radius: 5px; | |
| 15 | + position: absolute; | |
| 16 | + width: 315px; | |
| 17 | + box-sizing: border-box; | |
| 18 | + box-shadow: 0 3px 13px rgba(0,0,0,0.08); | |
| 19 | +} | |
| 20 | +.flatpickr-calendar.open, | |
| 21 | +.flatpickr-calendar.inline { | |
| 22 | + opacity: 1; | |
| 23 | + visibility: visible; | |
| 24 | + overflow: visible; | |
| 25 | + max-height: 640px; | |
| 26 | +} | |
| 27 | +.flatpickr-calendar.open { | |
| 28 | + display: inline-block; | |
| 29 | + z-index: 99999; | |
| 30 | +} | |
| 31 | +.flatpickr-calendar.animate.open { | |
| 32 | + animation: flatpickrFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 33 | +} | |
| 34 | +.flatpickr-calendar.inline { | |
| 35 | + display: block; | |
| 36 | + position: relative; | |
| 37 | + top: 2px; | |
| 38 | +} | |
| 39 | +.flatpickr-calendar.static { | |
| 40 | + position: absolute; | |
| 41 | + top: calc(100% + 2px); | |
| 42 | +} | |
| 43 | +.flatpickr-calendar.static.open { | |
| 44 | + z-index: 999; | |
| 45 | + display: block; | |
| 46 | +} | |
| 47 | +.flatpickr-calendar.hasWeeks { | |
| 48 | + width: auto; | |
| 49 | +} | |
| 50 | +.flatpickr-calendar .hasWeeks .dayContainer, | |
| 51 | +.flatpickr-calendar .hasTime .dayContainer { | |
| 52 | + border-bottom: 0; | |
| 53 | + border-bottom-left-radius: 0; | |
| 54 | + border-bottom-right-radius: 0; | |
| 55 | +} | |
| 56 | +.flatpickr-calendar .hasWeeks .dayContainer { | |
| 57 | + border-right: 0; | |
| 58 | +} | |
| 59 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time { | |
| 60 | + height: 40px; | |
| 61 | + border-top: 1px solid rgba(72,72,72,0.2); | |
| 62 | +} | |
| 63 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-innerContainer { | |
| 64 | + border-bottom: 0; | |
| 65 | +} | |
| 66 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time { | |
| 67 | + border: 1px solid rgba(72,72,72,0.2); | |
| 68 | +} | |
| 69 | +.flatpickr-calendar.noCalendar.hasTime .flatpickr-time { | |
| 70 | + height: auto; | |
| 71 | +} | |
| 72 | +.flatpickr-calendar:before, | |
| 73 | +.flatpickr-calendar:after { | |
| 74 | + position: absolute; | |
| 75 | + display: block; | |
| 76 | + pointer-events: none; | |
| 77 | + border: solid transparent; | |
| 78 | + content: ''; | |
| 79 | + height: 0; | |
| 80 | + width: 0; | |
| 81 | + right: 22px; | |
| 82 | +} | |
| 83 | +.flatpickr-calendar.rightMost:before, | |
| 84 | +.flatpickr-calendar.rightMost:after { | |
| 85 | + right: auto; | |
| 86 | + left: 22px; | |
| 87 | +} | |
| 88 | +.flatpickr-calendar:before { | |
| 89 | + border-width: 5px; | |
| 90 | + margin: 0 -5px; | |
| 91 | +} | |
| 92 | +.flatpickr-calendar:after { | |
| 93 | + border-width: 4px; | |
| 94 | + margin: 0 -4px; | |
| 95 | +} | |
| 96 | +.flatpickr-calendar.arrowTop:before, | |
| 97 | +.flatpickr-calendar.arrowTop:after { | |
| 98 | + bottom: 100%; | |
| 99 | +} | |
| 100 | +.flatpickr-calendar.arrowTop:before { | |
| 101 | + border-bottom-color: rgba(72,72,72,0.2); | |
| 102 | +} | |
| 103 | +.flatpickr-calendar.arrowTop:after { | |
| 104 | + border-bottom-color: #ff8a65; | |
| 105 | +} | |
| 106 | +.flatpickr-calendar.arrowBottom:before, | |
| 107 | +.flatpickr-calendar.arrowBottom:after { | |
| 108 | + top: 100%; | |
| 109 | +} | |
| 110 | +.flatpickr-calendar.arrowBottom:before { | |
| 111 | + border-top-color: rgba(72,72,72,0.2); | |
| 112 | +} | |
| 113 | +.flatpickr-calendar.arrowBottom:after { | |
| 114 | + border-top-color: #ff8a65; | |
| 115 | +} | |
| 116 | +.flatpickr-calendar:focus { | |
| 117 | + outline: 0; | |
| 118 | +} | |
| 119 | +.flatpickr-wrapper { | |
| 120 | + position: relative; | |
| 121 | + display: inline-block; | |
| 122 | +} | |
| 123 | +.flatpickr-month { | |
| 124 | + border-radius: 5px 5px 0 0; | |
| 125 | + background: #ff8a65; | |
| 126 | + color: #fff; | |
| 127 | + fill: #fff; | |
| 128 | + height: 28px; | |
| 129 | + line-height: 24px; | |
| 130 | + text-align: center; | |
| 131 | + position: relative; | |
| 132 | + user-select: none; | |
| 133 | + overflow: hidden; | |
| 134 | +} | |
| 135 | +.flatpickr-prev-month, | |
| 136 | +.flatpickr-next-month { | |
| 137 | + text-decoration: none; | |
| 138 | + cursor: pointer; | |
| 139 | + position: absolute; | |
| 140 | + top: 0px; | |
| 141 | + height: 28px; | |
| 142 | + line-height: 16px; | |
| 143 | + padding: 10px calc(3.57% - 1.5px); | |
| 144 | +} | |
| 145 | +.flatpickr-prev-month i, | |
| 146 | +.flatpickr-next-month i { | |
| 147 | + position: relative; | |
| 148 | +} | |
| 149 | +.flatpickr-prev-month.flatpickr-prev-month, | |
| 150 | +.flatpickr-next-month.flatpickr-prev-month { | |
| 151 | +/* | |
| 152 | + /*rtl:begin:ignore*/ | |
| 153 | +/* | |
| 154 | + */ | |
| 155 | + right: 0; | |
| 156 | +/* | |
| 157 | + /*rtl:end:ignore*/ | |
| 158 | +/* | |
| 159 | + */ | |
| 160 | +} | |
| 161 | +/* | |
| 162 | + /*rtl:begin:ignore*/ | |
| 163 | +/* | |
| 164 | + /*rtl:end:ignore*/ | |
| 165 | +.flatpickr-prev-month.flatpickr-next-month, | |
| 166 | +.flatpickr-next-month.flatpickr-next-month { | |
| 167 | +/* | |
| 168 | + /*rtl:begin:ignore*/ | |
| 169 | +/* | |
| 170 | + */ | |
| 171 | + left: 0; | |
| 172 | +/* | |
| 173 | + /*rtl:end:ignore*/ | |
| 174 | +/* | |
| 175 | + */ | |
| 176 | +} | |
| 177 | +/* | |
| 178 | + /*rtl:begin:ignore*/ | |
| 179 | +/* | |
| 180 | + /*rtl:end:ignore*/ | |
| 181 | +.flatpickr-prev-month:hover, | |
| 182 | +.flatpickr-next-month:hover { | |
| 183 | + color: #bbb; | |
| 184 | +} | |
| 185 | +.flatpickr-prev-month:hover svg, | |
| 186 | +.flatpickr-next-month:hover svg { | |
| 187 | + fill: #f64747; | |
| 188 | +} | |
| 189 | +.flatpickr-prev-month svg, | |
| 190 | +.flatpickr-next-month svg { | |
| 191 | + width: 14px; | |
| 192 | +} | |
| 193 | +.flatpickr-prev-month svg path, | |
| 194 | +.flatpickr-next-month svg path { | |
| 195 | + transition: fill 0.1s; | |
| 196 | + fill: inherit; | |
| 197 | +} | |
| 198 | +.numInputWrapper { | |
| 199 | + position: relative; | |
| 200 | + height: auto; | |
| 201 | +} | |
| 202 | +.numInputWrapper input, | |
| 203 | +.numInputWrapper span { | |
| 204 | + display: inline-block; | |
| 205 | +} | |
| 206 | +.numInputWrapper input { | |
| 207 | + width: 100%; | |
| 208 | +} | |
| 209 | +.numInputWrapper span { | |
| 210 | + position: absolute; | |
| 211 | + left: 0; | |
| 212 | + width: 14px; | |
| 213 | + padding: 0 2px 0 4px; | |
| 214 | + height: 50%; | |
| 215 | + line-height: 50%; | |
| 216 | + opacity: 0; | |
| 217 | + cursor: pointer; | |
| 218 | + border: 1px solid rgba(72,72,72,0.05); | |
| 219 | + box-sizing: border-box; | |
| 220 | +} | |
| 221 | +.numInputWrapper span:hover { | |
| 222 | + background: rgba(0,0,0,0.1); | |
| 223 | +} | |
| 224 | +.numInputWrapper span:active { | |
| 225 | + background: rgba(0,0,0,0.2); | |
| 226 | +} | |
| 227 | +.numInputWrapper span:after { | |
| 228 | + display: block; | |
| 229 | + content: ""; | |
| 230 | + position: absolute; | |
| 231 | + top: 33%; | |
| 232 | +} | |
| 233 | +.numInputWrapper span.arrowUp { | |
| 234 | + top: 0; | |
| 235 | + border-bottom: 0; | |
| 236 | +} | |
| 237 | +.numInputWrapper span.arrowUp:after { | |
| 238 | + border-right: 4px solid transparent; | |
| 239 | + border-left: 4px solid transparent; | |
| 240 | + border-bottom: 4px solid rgba(72,72,72,0.6); | |
| 241 | +} | |
| 242 | +.numInputWrapper span.arrowDown { | |
| 243 | + top: 50%; | |
| 244 | +} | |
| 245 | +.numInputWrapper span.arrowDown:after { | |
| 246 | + border-right: 4px solid transparent; | |
| 247 | + border-left: 4px solid transparent; | |
| 248 | + border-top: 4px solid rgba(72,72,72,0.6); | |
| 249 | +} | |
| 250 | +.numInputWrapper span svg { | |
| 251 | + width: inherit; | |
| 252 | + height: auto; | |
| 253 | +} | |
| 254 | +.numInputWrapper span svg path { | |
| 255 | + fill: rgba(255,255,255,0.5); | |
| 256 | +} | |
| 257 | +.numInputWrapper:hover { | |
| 258 | + background: rgba(0,0,0,0.05); | |
| 259 | +} | |
| 260 | +.numInputWrapper:hover span { | |
| 261 | + opacity: 1; | |
| 262 | +} | |
| 263 | +.flatpickr-current-month { | |
| 264 | + font-size: 135%; | |
| 265 | + line-height: inherit; | |
| 266 | + font-weight: 300; | |
| 267 | + color: inherit; | |
| 268 | + position: absolute; | |
| 269 | + width: 75%; | |
| 270 | + right: 12.5%; | |
| 271 | + top: 5px; | |
| 272 | + display: inline-block; | |
| 273 | + text-align: center; | |
| 274 | + transform: translate(0px, 0px); | |
| 275 | +} | |
| 276 | +.flatpickr-current-month.slideLeft { | |
| 277 | + transform: translate(100%, 0px); | |
| 278 | + animation: fadeOut 400ms ease, slideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 279 | +} | |
| 280 | +.flatpickr-current-month.slideLeftNew { | |
| 281 | + transform: translate(-100%, 0px); | |
| 282 | + animation: fadeIn 400ms ease, slideLeftNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 283 | +} | |
| 284 | +.flatpickr-current-month.slideRight { | |
| 285 | + transform: translate(-100%, 0px); | |
| 286 | + animation: fadeOut 400ms ease, slideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 287 | +} | |
| 288 | +.flatpickr-current-month.slideRightNew { | |
| 289 | + transform: translate(0, 0); | |
| 290 | + animation: fadeIn 400ms ease, slideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 291 | +} | |
| 292 | +.flatpickr-current-month span.cur-month { | |
| 293 | + font-family: inherit; | |
| 294 | + font-weight: 700; | |
| 295 | + color: inherit; | |
| 296 | + display: inline-block; | |
| 297 | + margin-right: 7px; | |
| 298 | + padding: 0; | |
| 299 | +} | |
| 300 | +.flatpickr-current-month span.cur-month:hover { | |
| 301 | + background: rgba(0,0,0,0.05); | |
| 302 | +} | |
| 303 | +.flatpickr-current-month .numInputWrapper { | |
| 304 | + width: 6ch; | |
| 305 | + width: 7ch\0; | |
| 306 | + display: inline-block; | |
| 307 | +} | |
| 308 | +.flatpickr-current-month .numInputWrapper span.arrowUp:after { | |
| 309 | + border-bottom-color: #fff; | |
| 310 | +} | |
| 311 | +.flatpickr-current-month .numInputWrapper span.arrowDown:after { | |
| 312 | + border-top-color: #fff; | |
| 313 | +} | |
| 314 | +.flatpickr-current-month input.cur-year { | |
| 315 | + background: transparent; | |
| 316 | + box-sizing: border-box; | |
| 317 | + color: inherit; | |
| 318 | + cursor: default; | |
| 319 | + padding: 0 0.5ch 0 0; | |
| 320 | + margin: 0; | |
| 321 | + display: inline; | |
| 322 | + font-size: inherit; | |
| 323 | + font-family: inherit; | |
| 324 | + font-weight: 300; | |
| 325 | + line-height: inherit; | |
| 326 | + height: initial; | |
| 327 | + border: 0; | |
| 328 | + border-radius: 0; | |
| 329 | + vertical-align: initial; | |
| 330 | +} | |
| 331 | +.flatpickr-current-month input.cur-year:focus { | |
| 332 | + outline: 0; | |
| 333 | +} | |
| 334 | +.flatpickr-current-month input.cur-year[disabled], | |
| 335 | +.flatpickr-current-month input.cur-year[disabled]:hover { | |
| 336 | + font-size: 100%; | |
| 337 | + color: rgba(255,255,255,0.5); | |
| 338 | + background: transparent; | |
| 339 | + pointer-events: none; | |
| 340 | +} | |
| 341 | +.flatpickr-weekdays { | |
| 342 | + background: #ff8a65; | |
| 343 | + text-align: center; | |
| 344 | + overflow: hidden; | |
| 345 | + width: 315px; | |
| 346 | + display: flex; | |
| 347 | + align-items: center; | |
| 348 | + height: 28px; | |
| 349 | +} | |
| 350 | +span.flatpickr-weekday { | |
| 351 | + cursor: default; | |
| 352 | + font-size: 90%; | |
| 353 | + color: rgba(0,0,0,0.54); | |
| 354 | + line-height: 1; | |
| 355 | + margin: 0; | |
| 356 | + background: #ff8a65; | |
| 357 | + text-align: center; | |
| 358 | + display: block; | |
| 359 | + flex: 1; | |
| 360 | + font-weight: bolder; | |
| 361 | + margin: 0; | |
| 362 | +} | |
| 363 | +.dayContainer, | |
| 364 | +.flatpickr-weeks { | |
| 365 | + padding: 1px 0 0 0; | |
| 366 | +} | |
| 367 | +.flatpickr-days { | |
| 368 | + position: relative; | |
| 369 | + overflow: hidden; | |
| 370 | + display: flex; | |
| 371 | + width: 315px; | |
| 372 | + background: #fff; | |
| 373 | + border-right: 1px solid rgba(72,72,72,0.2); | |
| 374 | + border-left: 1px solid rgba(72,72,72,0.2); | |
| 375 | +} | |
| 376 | +.flatpickr-days:focus { | |
| 377 | + outline: 0; | |
| 378 | +} | |
| 379 | +.dayContainer { | |
| 380 | + padding: 0; | |
| 381 | + outline: 0; | |
| 382 | + text-align: right; | |
| 383 | + width: 315px; | |
| 384 | + min-width: 315px; | |
| 385 | + max-width: 315px; | |
| 386 | + box-sizing: border-box; | |
| 387 | + display: inline-block; | |
| 388 | + display: -ms-flexbox; | |
| 389 | + display: flex; | |
| 390 | + flex-wrap: wrap; | |
| 391 | + -ms-flex-wrap: wrap; | |
| 392 | + -ms-flex-pack: justify; | |
| 393 | + justify-content: space-around; | |
| 394 | + transform: translate(0px, 0px); | |
| 395 | + opacity: 1; | |
| 396 | +} | |
| 397 | +.flatpickr-calendar.animate .dayContainer.slideLeft { | |
| 398 | + animation: fadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), slideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 399 | +} | |
| 400 | +.flatpickr-calendar.animate .dayContainer.slideLeft, | |
| 401 | +.flatpickr-calendar.animate .dayContainer.slideLeftNew { | |
| 402 | + transform: translate(100%, 0px); | |
| 403 | +} | |
| 404 | +.flatpickr-calendar.animate .dayContainer.slideLeftNew { | |
| 405 | + animation: fadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), slideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 406 | +} | |
| 407 | +.flatpickr-calendar.animate .dayContainer.slideRight { | |
| 408 | + animation: fadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), slideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 409 | + transform: translate(-100%, 0px); | |
| 410 | +} | |
| 411 | +.flatpickr-calendar.animate .dayContainer.slideRightNew { | |
| 412 | + animation: fadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), slideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 413 | +} | |
| 414 | +.flatpickr-day { | |
| 415 | + background: none; | |
| 416 | + border: 1px solid transparent; | |
| 417 | + border-radius: 150px; | |
| 418 | + box-sizing: border-box; | |
| 419 | + color: #484848; | |
| 420 | + cursor: pointer; | |
| 421 | + font-weight: 400; | |
| 422 | + width: 14.2857143%; | |
| 423 | + flex-basis: 14.2857143%; | |
| 424 | + max-width: 40px; | |
| 425 | + height: 40px; | |
| 426 | + line-height: 40px; | |
| 427 | + margin: 0; | |
| 428 | + display: inline-block; | |
| 429 | + position: relative; | |
| 430 | + justify-content: center; | |
| 431 | + text-align: center; | |
| 432 | +} | |
| 433 | +.flatpickr-day.inRange, | |
| 434 | +.flatpickr-day.prevMonthDay.inRange, | |
| 435 | +.flatpickr-day.nextMonthDay.inRange, | |
| 436 | +.flatpickr-day.today.inRange, | |
| 437 | +.flatpickr-day.prevMonthDay.today.inRange, | |
| 438 | +.flatpickr-day.nextMonthDay.today.inRange, | |
| 439 | +.flatpickr-day:hover, | |
| 440 | +.flatpickr-day.prevMonthDay:hover, | |
| 441 | +.flatpickr-day.nextMonthDay:hover, | |
| 442 | +.flatpickr-day:focus, | |
| 443 | +.flatpickr-day.prevMonthDay:focus, | |
| 444 | +.flatpickr-day.nextMonthDay:focus { | |
| 445 | + cursor: pointer; | |
| 446 | + outline: 0; | |
| 447 | + background: #e2e2e2; | |
| 448 | + border-color: #e2e2e2; | |
| 449 | +} | |
| 450 | +.flatpickr-day.today { | |
| 451 | + border-color: #bbb; | |
| 452 | +} | |
| 453 | +.flatpickr-day.today:hover, | |
| 454 | +.flatpickr-day.today:focus { | |
| 455 | + border-color: #bbb; | |
| 456 | + background: #bbb; | |
| 457 | + color: #fff; | |
| 458 | +} | |
| 459 | +.flatpickr-day.selected, | |
| 460 | +.flatpickr-day.startRange, | |
| 461 | +.flatpickr-day.endRange, | |
| 462 | +.flatpickr-day.selected.inRange, | |
| 463 | +.flatpickr-day.startRange.inRange, | |
| 464 | +.flatpickr-day.endRange.inRange, | |
| 465 | +.flatpickr-day.selected:focus, | |
| 466 | +.flatpickr-day.startRange:focus, | |
| 467 | +.flatpickr-day.endRange:focus, | |
| 468 | +.flatpickr-day.selected:hover, | |
| 469 | +.flatpickr-day.startRange:hover, | |
| 470 | +.flatpickr-day.endRange:hover, | |
| 471 | +.flatpickr-day.selected.prevMonthDay, | |
| 472 | +.flatpickr-day.startRange.prevMonthDay, | |
| 473 | +.flatpickr-day.endRange.prevMonthDay, | |
| 474 | +.flatpickr-day.selected.nextMonthDay, | |
| 475 | +.flatpickr-day.startRange.nextMonthDay, | |
| 476 | +.flatpickr-day.endRange.nextMonthDay { | |
| 477 | + background: #ff8a65; | |
| 478 | + box-shadow: none; | |
| 479 | + color: #fff; | |
| 480 | + border-color: #ff8a65; | |
| 481 | +} | |
| 482 | +.flatpickr-day.selected.startRange, | |
| 483 | +.flatpickr-day.startRange.startRange, | |
| 484 | +.flatpickr-day.endRange.startRange { | |
| 485 | + border-radius: 0 50px 50px 0; | |
| 486 | +} | |
| 487 | +.flatpickr-day.selected.endRange, | |
| 488 | +.flatpickr-day.startRange.endRange, | |
| 489 | +.flatpickr-day.endRange.endRange { | |
| 490 | + border-radius: 50px 0 0 50px; | |
| 491 | +} | |
| 492 | +.flatpickr-day.selected.startRange + .endRange, | |
| 493 | +.flatpickr-day.startRange.startRange + .endRange, | |
| 494 | +.flatpickr-day.endRange.startRange + .endRange { | |
| 495 | + box-shadow: 10px 0 0 #ff8a65; | |
| 496 | +} | |
| 497 | +.flatpickr-day.selected.startRange.endRange, | |
| 498 | +.flatpickr-day.startRange.startRange.endRange, | |
| 499 | +.flatpickr-day.endRange.startRange.endRange { | |
| 500 | + border-radius: 50px; | |
| 501 | +} | |
| 502 | +.flatpickr-day.inRange { | |
| 503 | + border-radius: 0; | |
| 504 | + box-shadow: 5px 0 0 #e2e2e2, -5px 0 0 #e2e2e2; | |
| 505 | +} | |
| 506 | +.flatpickr-day.disabled, | |
| 507 | +.flatpickr-day.disabled:hover { | |
| 508 | + pointer-events: none; | |
| 509 | +} | |
| 510 | +.flatpickr-day.disabled, | |
| 511 | +.flatpickr-day.disabled:hover, | |
| 512 | +.flatpickr-day.prevMonthDay, | |
| 513 | +.flatpickr-day.nextMonthDay, | |
| 514 | +.flatpickr-day.notAllowed, | |
| 515 | +.flatpickr-day.notAllowed.prevMonthDay, | |
| 516 | +.flatpickr-day.notAllowed.nextMonthDay { | |
| 517 | + color: rgba(72,72,72,0.3); | |
| 518 | + background: transparent; | |
| 519 | + border-color: transparent; | |
| 520 | + cursor: default; | |
| 521 | +} | |
| 522 | +.rangeMode .flatpickr-day { | |
| 523 | + margin-top: 1px; | |
| 524 | +} | |
| 525 | +.flatpickr-weekwrapper { | |
| 526 | + display: inline-block; | |
| 527 | + float: right; | |
| 528 | +} | |
| 529 | +.flatpickr-weekwrapper .flatpickr-weeks { | |
| 530 | + padding: 1px 12px 0 12px; | |
| 531 | + border-right: 1px solid rgba(72,72,72,0.2); | |
| 532 | + box-shadow: -1px 0 0 rgba(72,72,72,0.2); | |
| 533 | +} | |
| 534 | +.flatpickr-weekwrapper .flatpickr-weekday { | |
| 535 | + float: none; | |
| 536 | + width: 100%; | |
| 537 | +} | |
| 538 | +.flatpickr-weekwrapper span.flatpickr-day { | |
| 539 | + display: block; | |
| 540 | + width: 100%; | |
| 541 | + max-width: none; | |
| 542 | +} | |
| 543 | +.flatpickr-innerContainer { | |
| 544 | + display: block; | |
| 545 | + display: flex; | |
| 546 | + box-sizing: border-box; | |
| 547 | + overflow: hidden; | |
| 548 | + background: #fff; | |
| 549 | + border-bottom: 1px solid rgba(72,72,72,0.2); | |
| 550 | +} | |
| 551 | +.flatpickr-rContainer { | |
| 552 | + display: inline-block; | |
| 553 | + padding: 0; | |
| 554 | + box-sizing: border-box; | |
| 555 | +} | |
| 556 | +.flatpickr-time { | |
| 557 | + text-align: center; | |
| 558 | + outline: 0; | |
| 559 | + display: block; | |
| 560 | + height: 0; | |
| 561 | + line-height: 40px; | |
| 562 | + max-height: 40px; | |
| 563 | + box-sizing: border-box; | |
| 564 | + overflow: hidden; | |
| 565 | + display: flex; | |
| 566 | + background: #fff; | |
| 567 | + border-radius: 0 0 5px 5px; | |
| 568 | +} | |
| 569 | +.flatpickr-time:after { | |
| 570 | + content: ""; | |
| 571 | + display: table; | |
| 572 | + clear: both; | |
| 573 | +} | |
| 574 | +.flatpickr-time .numInputWrapper { | |
| 575 | + flex: 1; | |
| 576 | + width: 40%; | |
| 577 | + height: 40px; | |
| 578 | + float: right; | |
| 579 | +} | |
| 580 | +.flatpickr-time .numInputWrapper span.arrowUp:after { | |
| 581 | + border-bottom-color: #484848; | |
| 582 | +} | |
| 583 | +.flatpickr-time .numInputWrapper span.arrowDown:after { | |
| 584 | + border-top-color: #484848; | |
| 585 | +} | |
| 586 | +.flatpickr-time.hasSeconds .numInputWrapper { | |
| 587 | + width: 26%; | |
| 588 | +} | |
| 589 | +.flatpickr-time.time24hr .numInputWrapper { | |
| 590 | + width: 49%; | |
| 591 | +} | |
| 592 | +.flatpickr-time input { | |
| 593 | + background: transparent; | |
| 594 | + box-shadow: none; | |
| 595 | + border: 0; | |
| 596 | + border-radius: 0; | |
| 597 | + text-align: center; | |
| 598 | + margin: 0; | |
| 599 | + padding: 0; | |
| 600 | + height: inherit; | |
| 601 | + line-height: inherit; | |
| 602 | + cursor: pointer; | |
| 603 | + color: #484848; | |
| 604 | + font-size: 14px; | |
| 605 | + position: relative; | |
| 606 | + box-sizing: border-box; | |
| 607 | +} | |
| 608 | +.flatpickr-time input.flatpickr-hour { | |
| 609 | + font-weight: bold; | |
| 610 | +} | |
| 611 | +.flatpickr-time input.flatpickr-minute, | |
| 612 | +.flatpickr-time input.flatpickr-second { | |
| 613 | + font-weight: 400; | |
| 614 | +} | |
| 615 | +.flatpickr-time input:focus { | |
| 616 | + outline: 0; | |
| 617 | + border: 0; | |
| 618 | +} | |
| 619 | +.flatpickr-time .flatpickr-time-separator, | |
| 620 | +.flatpickr-time .flatpickr-am-pm { | |
| 621 | + height: inherit; | |
| 622 | + display: inline-block; | |
| 623 | + float: right; | |
| 624 | + line-height: inherit; | |
| 625 | + color: #484848; | |
| 626 | + font-weight: bold; | |
| 627 | + width: 2%; | |
| 628 | + user-select: none; | |
| 629 | +} | |
| 630 | +.flatpickr-time .flatpickr-am-pm { | |
| 631 | + outline: 0; | |
| 632 | + width: 18%; | |
| 633 | + cursor: pointer; | |
| 634 | + text-align: center; | |
| 635 | + font-weight: 400; | |
| 636 | +} | |
| 637 | +.flatpickr-time .flatpickr-am-pm:hover, | |
| 638 | +.flatpickr-time .flatpickr-am-pm:focus { | |
| 639 | + background: #ececec; | |
| 640 | +} | |
| 641 | +@media all and (-ms-high-contrast: none) { | |
| 642 | + .flatpickr-month { | |
| 643 | + padding: 0; | |
| 644 | + } | |
| 645 | + .flatpickr-month svg { | |
| 646 | + top: 0 !important; | |
| 647 | + } | |
| 648 | +} | |
| 649 | +.flatpickr-input[readonly] { | |
| 650 | + cursor: pointer; | |
| 651 | +} | |
| 652 | +@-moz-keyframes flatpickrFadeInDown { | |
| 653 | + from { | |
| 654 | + opacity: 0; | |
| 655 | + transform: translate3d(0, -20px, 0); | |
| 656 | + } | |
| 657 | + to { | |
| 658 | + opacity: 1; | |
| 659 | + transform: translate3d(0, 0, 0); | |
| 660 | + } | |
| 661 | +} | |
| 662 | +@-webkit-keyframes flatpickrFadeInDown { | |
| 663 | + from { | |
| 664 | + opacity: 0; | |
| 665 | + transform: translate3d(0, -20px, 0); | |
| 666 | + } | |
| 667 | + to { | |
| 668 | + opacity: 1; | |
| 669 | + transform: translate3d(0, 0, 0); | |
| 670 | + } | |
| 671 | +} | |
| 672 | +@-o-keyframes flatpickrFadeInDown { | |
| 673 | + from { | |
| 674 | + opacity: 0; | |
| 675 | + transform: translate3d(0, -20px, 0); | |
| 676 | + } | |
| 677 | + to { | |
| 678 | + opacity: 1; | |
| 679 | + transform: translate3d(0, 0, 0); | |
| 680 | + } | |
| 681 | +} | |
| 682 | +@keyframes flatpickrFadeInDown { | |
| 683 | + from { | |
| 684 | + opacity: 0; | |
| 685 | + transform: translate3d(0, -20px, 0); | |
| 686 | + } | |
| 687 | + to { | |
| 688 | + opacity: 1; | |
| 689 | + transform: translate3d(0, 0, 0); | |
| 690 | + } | |
| 691 | +} | |
| 692 | +@-moz-keyframes slideLeft { | |
| 693 | + from { | |
| 694 | + transform: translate(0px, 0px); | |
| 695 | + } | |
| 696 | + to { | |
| 697 | + transform: translate(100%, 0px); | |
| 698 | + } | |
| 699 | +} | |
| 700 | +@-webkit-keyframes slideLeft { | |
| 701 | + from { | |
| 702 | + transform: translate(0px, 0px); | |
| 703 | + } | |
| 704 | + to { | |
| 705 | + transform: translate(100%, 0px); | |
| 706 | + } | |
| 707 | +} | |
| 708 | +@-o-keyframes slideLeft { | |
| 709 | + from { | |
| 710 | + transform: translate(0px, 0px); | |
| 711 | + } | |
| 712 | + to { | |
| 713 | + transform: translate(100%, 0px); | |
| 714 | + } | |
| 715 | +} | |
| 716 | +@keyframes slideLeft { | |
| 717 | + from { | |
| 718 | + transform: translate(0px, 0px); | |
| 719 | + } | |
| 720 | + to { | |
| 721 | + transform: translate(100%, 0px); | |
| 722 | + } | |
| 723 | +} | |
| 724 | +@-moz-keyframes slideLeftNew { | |
| 725 | + from { | |
| 726 | + transform: translate(-100%, 0px); | |
| 727 | + } | |
| 728 | + to { | |
| 729 | + transform: translate(0px, 0px); | |
| 730 | + } | |
| 731 | +} | |
| 732 | +@-webkit-keyframes slideLeftNew { | |
| 733 | + from { | |
| 734 | + transform: translate(-100%, 0px); | |
| 735 | + } | |
| 736 | + to { | |
| 737 | + transform: translate(0px, 0px); | |
| 738 | + } | |
| 739 | +} | |
| 740 | +@-o-keyframes slideLeftNew { | |
| 741 | + from { | |
| 742 | + transform: translate(-100%, 0px); | |
| 743 | + } | |
| 744 | + to { | |
| 745 | + transform: translate(0px, 0px); | |
| 746 | + } | |
| 747 | +} | |
| 748 | +@keyframes slideLeftNew { | |
| 749 | + from { | |
| 750 | + transform: translate(-100%, 0px); | |
| 751 | + } | |
| 752 | + to { | |
| 753 | + transform: translate(0px, 0px); | |
| 754 | + } | |
| 755 | +} | |
| 756 | +@-moz-keyframes slideRight { | |
| 757 | + from { | |
| 758 | + transform: translate(0, 0); | |
| 759 | + } | |
| 760 | + to { | |
| 761 | + transform: translate(-100%, 0px); | |
| 762 | + } | |
| 763 | +} | |
| 764 | +@-webkit-keyframes slideRight { | |
| 765 | + from { | |
| 766 | + transform: translate(0, 0); | |
| 767 | + } | |
| 768 | + to { | |
| 769 | + transform: translate(-100%, 0px); | |
| 770 | + } | |
| 771 | +} | |
| 772 | +@-o-keyframes slideRight { | |
| 773 | + from { | |
| 774 | + transform: translate(0, 0); | |
| 775 | + } | |
| 776 | + to { | |
| 777 | + transform: translate(-100%, 0px); | |
| 778 | + } | |
| 779 | +} | |
| 780 | +@keyframes slideRight { | |
| 781 | + from { | |
| 782 | + transform: translate(0, 0); | |
| 783 | + } | |
| 784 | + to { | |
| 785 | + transform: translate(-100%, 0px); | |
| 786 | + } | |
| 787 | +} | |
| 788 | +@-moz-keyframes slideRightNew { | |
| 789 | + from { | |
| 790 | + transform: translate(100%, 0); | |
| 791 | + } | |
| 792 | + to { | |
| 793 | + transform: translate(0, 0); | |
| 794 | + } | |
| 795 | +} | |
| 796 | +@-webkit-keyframes slideRightNew { | |
| 797 | + from { | |
| 798 | + transform: translate(100%, 0); | |
| 799 | + } | |
| 800 | + to { | |
| 801 | + transform: translate(0, 0); | |
| 802 | + } | |
| 803 | +} | |
| 804 | +@-o-keyframes slideRightNew { | |
| 805 | + from { | |
| 806 | + transform: translate(100%, 0); | |
| 807 | + } | |
| 808 | + to { | |
| 809 | + transform: translate(0, 0); | |
| 810 | + } | |
| 811 | +} | |
| 812 | +@keyframes slideRightNew { | |
| 813 | + from { | |
| 814 | + transform: translate(100%, 0); | |
| 815 | + } | |
| 816 | + to { | |
| 817 | + transform: translate(0, 0); | |
| 818 | + } | |
| 819 | +} | |
| 820 | +@-moz-keyframes fadeOut { | |
| 821 | + from { | |
| 822 | + opacity: 1; | |
| 823 | + } | |
| 824 | + to { | |
| 825 | + opacity: 0; | |
| 826 | + } | |
| 827 | +} | |
| 828 | +@-webkit-keyframes fadeOut { | |
| 829 | + from { | |
| 830 | + opacity: 1; | |
| 831 | + } | |
| 832 | + to { | |
| 833 | + opacity: 0; | |
| 834 | + } | |
| 835 | +} | |
| 836 | +@-o-keyframes fadeOut { | |
| 837 | + from { | |
| 838 | + opacity: 1; | |
| 839 | + } | |
| 840 | + to { | |
| 841 | + opacity: 0; | |
| 842 | + } | |
| 843 | +} | |
| 844 | +@keyframes fadeOut { | |
| 845 | + from { | |
| 846 | + opacity: 1; | |
| 847 | + } | |
| 848 | + to { | |
| 849 | + opacity: 0; | |
| 850 | + } | |
| 851 | +} | |
| 852 | +@-moz-keyframes fadeIn { | |
| 853 | + from { | |
| 854 | + opacity: 0; | |
| 855 | + } | |
| 856 | + to { | |
| 857 | + opacity: 1; | |
| 858 | + } | |
| 859 | +} | |
| 860 | +@-webkit-keyframes fadeIn { | |
| 861 | + from { | |
| 862 | + opacity: 0; | |
| 863 | + } | |
| 864 | + to { | |
| 865 | + opacity: 1; | |
| 866 | + } | |
| 867 | +} | |
| 868 | +@-o-keyframes fadeIn { | |
| 869 | + from { | |
| 870 | + opacity: 0; | |
| 871 | + } | |
| 872 | + to { | |
| 873 | + opacity: 1; | |
| 874 | + } | |
| 875 | +} | |
| 876 | +@keyframes fadeIn { | |
| 877 | + from { | |
| 878 | + opacity: 0; | |
| 879 | + } | |
| 880 | + to { | |
| 881 | + opacity: 1; | |
| 882 | + } | |
| 883 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/flatpickr/rtl/themes/material_red.rtl.css
0 → 100644
| 1 | +.flatpickr-calendar { | |
| 2 | + background: transparent; | |
| 3 | + overflow: hidden; | |
| 4 | + max-height: 0; | |
| 5 | + opacity: 0; | |
| 6 | + visibility: hidden; | |
| 7 | + text-align: center; | |
| 8 | + padding: 0; | |
| 9 | + animation: none; | |
| 10 | + direction: rtl; | |
| 11 | + border: 0; | |
| 12 | + font-size: 14px; | |
| 13 | + line-height: 24px; | |
| 14 | + border-radius: 5px; | |
| 15 | + position: absolute; | |
| 16 | + width: 315px; | |
| 17 | + box-sizing: border-box; | |
| 18 | + box-shadow: 0 3px 13px rgba(0,0,0,0.08); | |
| 19 | +} | |
| 20 | +.flatpickr-calendar.open, | |
| 21 | +.flatpickr-calendar.inline { | |
| 22 | + opacity: 1; | |
| 23 | + visibility: visible; | |
| 24 | + overflow: visible; | |
| 25 | + max-height: 640px; | |
| 26 | +} | |
| 27 | +.flatpickr-calendar.open { | |
| 28 | + display: inline-block; | |
| 29 | + z-index: 99999; | |
| 30 | +} | |
| 31 | +.flatpickr-calendar.animate.open { | |
| 32 | + animation: flatpickrFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 33 | +} | |
| 34 | +.flatpickr-calendar.inline { | |
| 35 | + display: block; | |
| 36 | + position: relative; | |
| 37 | + top: 2px; | |
| 38 | +} | |
| 39 | +.flatpickr-calendar.static { | |
| 40 | + position: absolute; | |
| 41 | + top: calc(100% + 2px); | |
| 42 | +} | |
| 43 | +.flatpickr-calendar.static.open { | |
| 44 | + z-index: 999; | |
| 45 | + display: block; | |
| 46 | +} | |
| 47 | +.flatpickr-calendar.hasWeeks { | |
| 48 | + width: auto; | |
| 49 | +} | |
| 50 | +.flatpickr-calendar .hasWeeks .dayContainer, | |
| 51 | +.flatpickr-calendar .hasTime .dayContainer { | |
| 52 | + border-bottom: 0; | |
| 53 | + border-bottom-left-radius: 0; | |
| 54 | + border-bottom-right-radius: 0; | |
| 55 | +} | |
| 56 | +.flatpickr-calendar .hasWeeks .dayContainer { | |
| 57 | + border-right: 0; | |
| 58 | +} | |
| 59 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time { | |
| 60 | + height: 40px; | |
| 61 | + border-top: 1px solid rgba(72,72,72,0.2); | |
| 62 | +} | |
| 63 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-innerContainer { | |
| 64 | + border-bottom: 0; | |
| 65 | +} | |
| 66 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time { | |
| 67 | + border: 1px solid rgba(72,72,72,0.2); | |
| 68 | +} | |
| 69 | +.flatpickr-calendar.noCalendar.hasTime .flatpickr-time { | |
| 70 | + height: auto; | |
| 71 | +} | |
| 72 | +.flatpickr-calendar:before, | |
| 73 | +.flatpickr-calendar:after { | |
| 74 | + position: absolute; | |
| 75 | + display: block; | |
| 76 | + pointer-events: none; | |
| 77 | + border: solid transparent; | |
| 78 | + content: ''; | |
| 79 | + height: 0; | |
| 80 | + width: 0; | |
| 81 | + right: 22px; | |
| 82 | +} | |
| 83 | +.flatpickr-calendar.rightMost:before, | |
| 84 | +.flatpickr-calendar.rightMost:after { | |
| 85 | + right: auto; | |
| 86 | + left: 22px; | |
| 87 | +} | |
| 88 | +.flatpickr-calendar:before { | |
| 89 | + border-width: 5px; | |
| 90 | + margin: 0 -5px; | |
| 91 | +} | |
| 92 | +.flatpickr-calendar:after { | |
| 93 | + border-width: 4px; | |
| 94 | + margin: 0 -4px; | |
| 95 | +} | |
| 96 | +.flatpickr-calendar.arrowTop:before, | |
| 97 | +.flatpickr-calendar.arrowTop:after { | |
| 98 | + bottom: 100%; | |
| 99 | +} | |
| 100 | +.flatpickr-calendar.arrowTop:before { | |
| 101 | + border-bottom-color: rgba(72,72,72,0.2); | |
| 102 | +} | |
| 103 | +.flatpickr-calendar.arrowTop:after { | |
| 104 | + border-bottom-color: #ef5350; | |
| 105 | +} | |
| 106 | +.flatpickr-calendar.arrowBottom:before, | |
| 107 | +.flatpickr-calendar.arrowBottom:after { | |
| 108 | + top: 100%; | |
| 109 | +} | |
| 110 | +.flatpickr-calendar.arrowBottom:before { | |
| 111 | + border-top-color: rgba(72,72,72,0.2); | |
| 112 | +} | |
| 113 | +.flatpickr-calendar.arrowBottom:after { | |
| 114 | + border-top-color: #ef5350; | |
| 115 | +} | |
| 116 | +.flatpickr-calendar:focus { | |
| 117 | + outline: 0; | |
| 118 | +} | |
| 119 | +.flatpickr-wrapper { | |
| 120 | + position: relative; | |
| 121 | + display: inline-block; | |
| 122 | +} | |
| 123 | +.flatpickr-month { | |
| 124 | + border-radius: 5px 5px 0 0; | |
| 125 | + background: #ef5350; | |
| 126 | + color: #fff; | |
| 127 | + fill: #fff; | |
| 128 | + height: 28px; | |
| 129 | + line-height: 24px; | |
| 130 | + text-align: center; | |
| 131 | + position: relative; | |
| 132 | + user-select: none; | |
| 133 | + overflow: hidden; | |
| 134 | +} | |
| 135 | +.flatpickr-prev-month, | |
| 136 | +.flatpickr-next-month { | |
| 137 | + text-decoration: none; | |
| 138 | + cursor: pointer; | |
| 139 | + position: absolute; | |
| 140 | + top: 0px; | |
| 141 | + height: 28px; | |
| 142 | + line-height: 16px; | |
| 143 | + padding: 10px calc(3.57% - 1.5px); | |
| 144 | +} | |
| 145 | +.flatpickr-prev-month i, | |
| 146 | +.flatpickr-next-month i { | |
| 147 | + position: relative; | |
| 148 | +} | |
| 149 | +.flatpickr-prev-month.flatpickr-prev-month, | |
| 150 | +.flatpickr-next-month.flatpickr-prev-month { | |
| 151 | +/* | |
| 152 | + /*rtl:begin:ignore*/ | |
| 153 | +/* | |
| 154 | + */ | |
| 155 | + right: 0; | |
| 156 | +/* | |
| 157 | + /*rtl:end:ignore*/ | |
| 158 | +/* | |
| 159 | + */ | |
| 160 | +} | |
| 161 | +/* | |
| 162 | + /*rtl:begin:ignore*/ | |
| 163 | +/* | |
| 164 | + /*rtl:end:ignore*/ | |
| 165 | +.flatpickr-prev-month.flatpickr-next-month, | |
| 166 | +.flatpickr-next-month.flatpickr-next-month { | |
| 167 | +/* | |
| 168 | + /*rtl:begin:ignore*/ | |
| 169 | +/* | |
| 170 | + */ | |
| 171 | + left: 0; | |
| 172 | +/* | |
| 173 | + /*rtl:end:ignore*/ | |
| 174 | +/* | |
| 175 | + */ | |
| 176 | +} | |
| 177 | +/* | |
| 178 | + /*rtl:begin:ignore*/ | |
| 179 | +/* | |
| 180 | + /*rtl:end:ignore*/ | |
| 181 | +.flatpickr-prev-month:hover, | |
| 182 | +.flatpickr-next-month:hover { | |
| 183 | + color: #bbb; | |
| 184 | +} | |
| 185 | +.flatpickr-prev-month:hover svg, | |
| 186 | +.flatpickr-next-month:hover svg { | |
| 187 | + fill: #f64747; | |
| 188 | +} | |
| 189 | +.flatpickr-prev-month svg, | |
| 190 | +.flatpickr-next-month svg { | |
| 191 | + width: 14px; | |
| 192 | +} | |
| 193 | +.flatpickr-prev-month svg path, | |
| 194 | +.flatpickr-next-month svg path { | |
| 195 | + transition: fill 0.1s; | |
| 196 | + fill: inherit; | |
| 197 | +} | |
| 198 | +.numInputWrapper { | |
| 199 | + position: relative; | |
| 200 | + height: auto; | |
| 201 | +} | |
| 202 | +.numInputWrapper input, | |
| 203 | +.numInputWrapper span { | |
| 204 | + display: inline-block; | |
| 205 | +} | |
| 206 | +.numInputWrapper input { | |
| 207 | + width: 100%; | |
| 208 | +} | |
| 209 | +.numInputWrapper span { | |
| 210 | + position: absolute; | |
| 211 | + left: 0; | |
| 212 | + width: 14px; | |
| 213 | + padding: 0 2px 0 4px; | |
| 214 | + height: 50%; | |
| 215 | + line-height: 50%; | |
| 216 | + opacity: 0; | |
| 217 | + cursor: pointer; | |
| 218 | + border: 1px solid rgba(72,72,72,0.05); | |
| 219 | + box-sizing: border-box; | |
| 220 | +} | |
| 221 | +.numInputWrapper span:hover { | |
| 222 | + background: rgba(0,0,0,0.1); | |
| 223 | +} | |
| 224 | +.numInputWrapper span:active { | |
| 225 | + background: rgba(0,0,0,0.2); | |
| 226 | +} | |
| 227 | +.numInputWrapper span:after { | |
| 228 | + display: block; | |
| 229 | + content: ""; | |
| 230 | + position: absolute; | |
| 231 | + top: 33%; | |
| 232 | +} | |
| 233 | +.numInputWrapper span.arrowUp { | |
| 234 | + top: 0; | |
| 235 | + border-bottom: 0; | |
| 236 | +} | |
| 237 | +.numInputWrapper span.arrowUp:after { | |
| 238 | + border-right: 4px solid transparent; | |
| 239 | + border-left: 4px solid transparent; | |
| 240 | + border-bottom: 4px solid rgba(72,72,72,0.6); | |
| 241 | +} | |
| 242 | +.numInputWrapper span.arrowDown { | |
| 243 | + top: 50%; | |
| 244 | +} | |
| 245 | +.numInputWrapper span.arrowDown:after { | |
| 246 | + border-right: 4px solid transparent; | |
| 247 | + border-left: 4px solid transparent; | |
| 248 | + border-top: 4px solid rgba(72,72,72,0.6); | |
| 249 | +} | |
| 250 | +.numInputWrapper span svg { | |
| 251 | + width: inherit; | |
| 252 | + height: auto; | |
| 253 | +} | |
| 254 | +.numInputWrapper span svg path { | |
| 255 | + fill: rgba(255,255,255,0.5); | |
| 256 | +} | |
| 257 | +.numInputWrapper:hover { | |
| 258 | + background: rgba(0,0,0,0.05); | |
| 259 | +} | |
| 260 | +.numInputWrapper:hover span { | |
| 261 | + opacity: 1; | |
| 262 | +} | |
| 263 | +.flatpickr-current-month { | |
| 264 | + font-size: 135%; | |
| 265 | + line-height: inherit; | |
| 266 | + font-weight: 300; | |
| 267 | + color: inherit; | |
| 268 | + position: absolute; | |
| 269 | + width: 75%; | |
| 270 | + right: 12.5%; | |
| 271 | + top: 5px; | |
| 272 | + display: inline-block; | |
| 273 | + text-align: center; | |
| 274 | + transform: translate(0px, 0px); | |
| 275 | +} | |
| 276 | +.flatpickr-current-month.slideLeft { | |
| 277 | + transform: translate(100%, 0px); | |
| 278 | + animation: fadeOut 400ms ease, slideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 279 | +} | |
| 280 | +.flatpickr-current-month.slideLeftNew { | |
| 281 | + transform: translate(-100%, 0px); | |
| 282 | + animation: fadeIn 400ms ease, slideLeftNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 283 | +} | |
| 284 | +.flatpickr-current-month.slideRight { | |
| 285 | + transform: translate(-100%, 0px); | |
| 286 | + animation: fadeOut 400ms ease, slideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 287 | +} | |
| 288 | +.flatpickr-current-month.slideRightNew { | |
| 289 | + transform: translate(0, 0); | |
| 290 | + animation: fadeIn 400ms ease, slideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 291 | +} | |
| 292 | +.flatpickr-current-month span.cur-month { | |
| 293 | + font-family: inherit; | |
| 294 | + font-weight: 700; | |
| 295 | + color: inherit; | |
| 296 | + display: inline-block; | |
| 297 | + margin-right: 7px; | |
| 298 | + padding: 0; | |
| 299 | +} | |
| 300 | +.flatpickr-current-month span.cur-month:hover { | |
| 301 | + background: rgba(0,0,0,0.05); | |
| 302 | +} | |
| 303 | +.flatpickr-current-month .numInputWrapper { | |
| 304 | + width: 6ch; | |
| 305 | + width: 7ch\0; | |
| 306 | + display: inline-block; | |
| 307 | +} | |
| 308 | +.flatpickr-current-month .numInputWrapper span.arrowUp:after { | |
| 309 | + border-bottom-color: #fff; | |
| 310 | +} | |
| 311 | +.flatpickr-current-month .numInputWrapper span.arrowDown:after { | |
| 312 | + border-top-color: #fff; | |
| 313 | +} | |
| 314 | +.flatpickr-current-month input.cur-year { | |
| 315 | + background: transparent; | |
| 316 | + box-sizing: border-box; | |
| 317 | + color: inherit; | |
| 318 | + cursor: default; | |
| 319 | + padding: 0 0.5ch 0 0; | |
| 320 | + margin: 0; | |
| 321 | + display: inline; | |
| 322 | + font-size: inherit; | |
| 323 | + font-family: inherit; | |
| 324 | + font-weight: 300; | |
| 325 | + line-height: inherit; | |
| 326 | + height: initial; | |
| 327 | + border: 0; | |
| 328 | + border-radius: 0; | |
| 329 | + vertical-align: initial; | |
| 330 | +} | |
| 331 | +.flatpickr-current-month input.cur-year:focus { | |
| 332 | + outline: 0; | |
| 333 | +} | |
| 334 | +.flatpickr-current-month input.cur-year[disabled], | |
| 335 | +.flatpickr-current-month input.cur-year[disabled]:hover { | |
| 336 | + font-size: 100%; | |
| 337 | + color: rgba(255,255,255,0.5); | |
| 338 | + background: transparent; | |
| 339 | + pointer-events: none; | |
| 340 | +} | |
| 341 | +.flatpickr-weekdays { | |
| 342 | + background: #ef5350; | |
| 343 | + text-align: center; | |
| 344 | + overflow: hidden; | |
| 345 | + width: 315px; | |
| 346 | + display: flex; | |
| 347 | + align-items: center; | |
| 348 | + height: 28px; | |
| 349 | +} | |
| 350 | +span.flatpickr-weekday { | |
| 351 | + cursor: default; | |
| 352 | + font-size: 90%; | |
| 353 | + color: rgba(0,0,0,0.54); | |
| 354 | + line-height: 1; | |
| 355 | + margin: 0; | |
| 356 | + background: #ef5350; | |
| 357 | + text-align: center; | |
| 358 | + display: block; | |
| 359 | + flex: 1; | |
| 360 | + font-weight: bolder; | |
| 361 | + margin: 0; | |
| 362 | +} | |
| 363 | +.dayContainer, | |
| 364 | +.flatpickr-weeks { | |
| 365 | + padding: 1px 0 0 0; | |
| 366 | +} | |
| 367 | +.flatpickr-days { | |
| 368 | + position: relative; | |
| 369 | + overflow: hidden; | |
| 370 | + display: flex; | |
| 371 | + width: 315px; | |
| 372 | + background: #fff; | |
| 373 | + border-right: 1px solid rgba(72,72,72,0.2); | |
| 374 | + border-left: 1px solid rgba(72,72,72,0.2); | |
| 375 | +} | |
| 376 | +.flatpickr-days:focus { | |
| 377 | + outline: 0; | |
| 378 | +} | |
| 379 | +.dayContainer { | |
| 380 | + padding: 0; | |
| 381 | + outline: 0; | |
| 382 | + text-align: right; | |
| 383 | + width: 315px; | |
| 384 | + min-width: 315px; | |
| 385 | + max-width: 315px; | |
| 386 | + box-sizing: border-box; | |
| 387 | + display: inline-block; | |
| 388 | + display: -ms-flexbox; | |
| 389 | + display: flex; | |
| 390 | + flex-wrap: wrap; | |
| 391 | + -ms-flex-wrap: wrap; | |
| 392 | + -ms-flex-pack: justify; | |
| 393 | + justify-content: space-around; | |
| 394 | + transform: translate(0px, 0px); | |
| 395 | + opacity: 1; | |
| 396 | +} | |
| 397 | +.flatpickr-calendar.animate .dayContainer.slideLeft { | |
| 398 | + animation: fadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), slideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 399 | +} | |
| 400 | +.flatpickr-calendar.animate .dayContainer.slideLeft, | |
| 401 | +.flatpickr-calendar.animate .dayContainer.slideLeftNew { | |
| 402 | + transform: translate(100%, 0px); | |
| 403 | +} | |
| 404 | +.flatpickr-calendar.animate .dayContainer.slideLeftNew { | |
| 405 | + animation: fadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), slideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 406 | +} | |
| 407 | +.flatpickr-calendar.animate .dayContainer.slideRight { | |
| 408 | + animation: fadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), slideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 409 | + transform: translate(-100%, 0px); | |
| 410 | +} | |
| 411 | +.flatpickr-calendar.animate .dayContainer.slideRightNew { | |
| 412 | + animation: fadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), slideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 413 | +} | |
| 414 | +.flatpickr-day { | |
| 415 | + background: none; | |
| 416 | + border: 1px solid transparent; | |
| 417 | + border-radius: 150px; | |
| 418 | + box-sizing: border-box; | |
| 419 | + color: #484848; | |
| 420 | + cursor: pointer; | |
| 421 | + font-weight: 400; | |
| 422 | + width: 14.2857143%; | |
| 423 | + flex-basis: 14.2857143%; | |
| 424 | + max-width: 40px; | |
| 425 | + height: 40px; | |
| 426 | + line-height: 40px; | |
| 427 | + margin: 0; | |
| 428 | + display: inline-block; | |
| 429 | + position: relative; | |
| 430 | + justify-content: center; | |
| 431 | + text-align: center; | |
| 432 | +} | |
| 433 | +.flatpickr-day.inRange, | |
| 434 | +.flatpickr-day.prevMonthDay.inRange, | |
| 435 | +.flatpickr-day.nextMonthDay.inRange, | |
| 436 | +.flatpickr-day.today.inRange, | |
| 437 | +.flatpickr-day.prevMonthDay.today.inRange, | |
| 438 | +.flatpickr-day.nextMonthDay.today.inRange, | |
| 439 | +.flatpickr-day:hover, | |
| 440 | +.flatpickr-day.prevMonthDay:hover, | |
| 441 | +.flatpickr-day.nextMonthDay:hover, | |
| 442 | +.flatpickr-day:focus, | |
| 443 | +.flatpickr-day.prevMonthDay:focus, | |
| 444 | +.flatpickr-day.nextMonthDay:focus { | |
| 445 | + cursor: pointer; | |
| 446 | + outline: 0; | |
| 447 | + background: #e2e2e2; | |
| 448 | + border-color: #e2e2e2; | |
| 449 | +} | |
| 450 | +.flatpickr-day.today { | |
| 451 | + border-color: #bbb; | |
| 452 | +} | |
| 453 | +.flatpickr-day.today:hover, | |
| 454 | +.flatpickr-day.today:focus { | |
| 455 | + border-color: #bbb; | |
| 456 | + background: #bbb; | |
| 457 | + color: #fff; | |
| 458 | +} | |
| 459 | +.flatpickr-day.selected, | |
| 460 | +.flatpickr-day.startRange, | |
| 461 | +.flatpickr-day.endRange, | |
| 462 | +.flatpickr-day.selected.inRange, | |
| 463 | +.flatpickr-day.startRange.inRange, | |
| 464 | +.flatpickr-day.endRange.inRange, | |
| 465 | +.flatpickr-day.selected:focus, | |
| 466 | +.flatpickr-day.startRange:focus, | |
| 467 | +.flatpickr-day.endRange:focus, | |
| 468 | +.flatpickr-day.selected:hover, | |
| 469 | +.flatpickr-day.startRange:hover, | |
| 470 | +.flatpickr-day.endRange:hover, | |
| 471 | +.flatpickr-day.selected.prevMonthDay, | |
| 472 | +.flatpickr-day.startRange.prevMonthDay, | |
| 473 | +.flatpickr-day.endRange.prevMonthDay, | |
| 474 | +.flatpickr-day.selected.nextMonthDay, | |
| 475 | +.flatpickr-day.startRange.nextMonthDay, | |
| 476 | +.flatpickr-day.endRange.nextMonthDay { | |
| 477 | + background: #ef5350; | |
| 478 | + box-shadow: none; | |
| 479 | + color: #fff; | |
| 480 | + border-color: #ef5350; | |
| 481 | +} | |
| 482 | +.flatpickr-day.selected.startRange, | |
| 483 | +.flatpickr-day.startRange.startRange, | |
| 484 | +.flatpickr-day.endRange.startRange { | |
| 485 | + border-radius: 0 50px 50px 0; | |
| 486 | +} | |
| 487 | +.flatpickr-day.selected.endRange, | |
| 488 | +.flatpickr-day.startRange.endRange, | |
| 489 | +.flatpickr-day.endRange.endRange { | |
| 490 | + border-radius: 50px 0 0 50px; | |
| 491 | +} | |
| 492 | +.flatpickr-day.selected.startRange + .endRange, | |
| 493 | +.flatpickr-day.startRange.startRange + .endRange, | |
| 494 | +.flatpickr-day.endRange.startRange + .endRange { | |
| 495 | + box-shadow: 10px 0 0 #ef5350; | |
| 496 | +} | |
| 497 | +.flatpickr-day.selected.startRange.endRange, | |
| 498 | +.flatpickr-day.startRange.startRange.endRange, | |
| 499 | +.flatpickr-day.endRange.startRange.endRange { | |
| 500 | + border-radius: 50px; | |
| 501 | +} | |
| 502 | +.flatpickr-day.inRange { | |
| 503 | + border-radius: 0; | |
| 504 | + box-shadow: 5px 0 0 #e2e2e2, -5px 0 0 #e2e2e2; | |
| 505 | +} | |
| 506 | +.flatpickr-day.disabled, | |
| 507 | +.flatpickr-day.disabled:hover { | |
| 508 | + pointer-events: none; | |
| 509 | +} | |
| 510 | +.flatpickr-day.disabled, | |
| 511 | +.flatpickr-day.disabled:hover, | |
| 512 | +.flatpickr-day.prevMonthDay, | |
| 513 | +.flatpickr-day.nextMonthDay, | |
| 514 | +.flatpickr-day.notAllowed, | |
| 515 | +.flatpickr-day.notAllowed.prevMonthDay, | |
| 516 | +.flatpickr-day.notAllowed.nextMonthDay { | |
| 517 | + color: rgba(72,72,72,0.3); | |
| 518 | + background: transparent; | |
| 519 | + border-color: transparent; | |
| 520 | + cursor: default; | |
| 521 | +} | |
| 522 | +.rangeMode .flatpickr-day { | |
| 523 | + margin-top: 1px; | |
| 524 | +} | |
| 525 | +.flatpickr-weekwrapper { | |
| 526 | + display: inline-block; | |
| 527 | + float: right; | |
| 528 | +} | |
| 529 | +.flatpickr-weekwrapper .flatpickr-weeks { | |
| 530 | + padding: 1px 12px 0 12px; | |
| 531 | + border-right: 1px solid rgba(72,72,72,0.2); | |
| 532 | + box-shadow: -1px 0 0 rgba(72,72,72,0.2); | |
| 533 | +} | |
| 534 | +.flatpickr-weekwrapper .flatpickr-weekday { | |
| 535 | + float: none; | |
| 536 | + width: 100%; | |
| 537 | +} | |
| 538 | +.flatpickr-weekwrapper span.flatpickr-day { | |
| 539 | + display: block; | |
| 540 | + width: 100%; | |
| 541 | + max-width: none; | |
| 542 | +} | |
| 543 | +.flatpickr-innerContainer { | |
| 544 | + display: block; | |
| 545 | + display: flex; | |
| 546 | + box-sizing: border-box; | |
| 547 | + overflow: hidden; | |
| 548 | + background: #fff; | |
| 549 | + border-bottom: 1px solid rgba(72,72,72,0.2); | |
| 550 | +} | |
| 551 | +.flatpickr-rContainer { | |
| 552 | + display: inline-block; | |
| 553 | + padding: 0; | |
| 554 | + box-sizing: border-box; | |
| 555 | +} | |
| 556 | +.flatpickr-time { | |
| 557 | + text-align: center; | |
| 558 | + outline: 0; | |
| 559 | + display: block; | |
| 560 | + height: 0; | |
| 561 | + line-height: 40px; | |
| 562 | + max-height: 40px; | |
| 563 | + box-sizing: border-box; | |
| 564 | + overflow: hidden; | |
| 565 | + display: flex; | |
| 566 | + background: #fff; | |
| 567 | + border-radius: 0 0 5px 5px; | |
| 568 | +} | |
| 569 | +.flatpickr-time:after { | |
| 570 | + content: ""; | |
| 571 | + display: table; | |
| 572 | + clear: both; | |
| 573 | +} | |
| 574 | +.flatpickr-time .numInputWrapper { | |
| 575 | + flex: 1; | |
| 576 | + width: 40%; | |
| 577 | + height: 40px; | |
| 578 | + float: right; | |
| 579 | +} | |
| 580 | +.flatpickr-time .numInputWrapper span.arrowUp:after { | |
| 581 | + border-bottom-color: #484848; | |
| 582 | +} | |
| 583 | +.flatpickr-time .numInputWrapper span.arrowDown:after { | |
| 584 | + border-top-color: #484848; | |
| 585 | +} | |
| 586 | +.flatpickr-time.hasSeconds .numInputWrapper { | |
| 587 | + width: 26%; | |
| 588 | +} | |
| 589 | +.flatpickr-time.time24hr .numInputWrapper { | |
| 590 | + width: 49%; | |
| 591 | +} | |
| 592 | +.flatpickr-time input { | |
| 593 | + background: transparent; | |
| 594 | + box-shadow: none; | |
| 595 | + border: 0; | |
| 596 | + border-radius: 0; | |
| 597 | + text-align: center; | |
| 598 | + margin: 0; | |
| 599 | + padding: 0; | |
| 600 | + height: inherit; | |
| 601 | + line-height: inherit; | |
| 602 | + cursor: pointer; | |
| 603 | + color: #484848; | |
| 604 | + font-size: 14px; | |
| 605 | + position: relative; | |
| 606 | + box-sizing: border-box; | |
| 607 | +} | |
| 608 | +.flatpickr-time input.flatpickr-hour { | |
| 609 | + font-weight: bold; | |
| 610 | +} | |
| 611 | +.flatpickr-time input.flatpickr-minute, | |
| 612 | +.flatpickr-time input.flatpickr-second { | |
| 613 | + font-weight: 400; | |
| 614 | +} | |
| 615 | +.flatpickr-time input:focus { | |
| 616 | + outline: 0; | |
| 617 | + border: 0; | |
| 618 | +} | |
| 619 | +.flatpickr-time .flatpickr-time-separator, | |
| 620 | +.flatpickr-time .flatpickr-am-pm { | |
| 621 | + height: inherit; | |
| 622 | + display: inline-block; | |
| 623 | + float: right; | |
| 624 | + line-height: inherit; | |
| 625 | + color: #484848; | |
| 626 | + font-weight: bold; | |
| 627 | + width: 2%; | |
| 628 | + user-select: none; | |
| 629 | +} | |
| 630 | +.flatpickr-time .flatpickr-am-pm { | |
| 631 | + outline: 0; | |
| 632 | + width: 18%; | |
| 633 | + cursor: pointer; | |
| 634 | + text-align: center; | |
| 635 | + font-weight: 400; | |
| 636 | +} | |
| 637 | +.flatpickr-time .flatpickr-am-pm:hover, | |
| 638 | +.flatpickr-time .flatpickr-am-pm:focus { | |
| 639 | + background: #ececec; | |
| 640 | +} | |
| 641 | +@media all and (-ms-high-contrast: none) { | |
| 642 | + .flatpickr-month { | |
| 643 | + padding: 0; | |
| 644 | + } | |
| 645 | + .flatpickr-month svg { | |
| 646 | + top: 0 !important; | |
| 647 | + } | |
| 648 | +} | |
| 649 | +.flatpickr-input[readonly] { | |
| 650 | + cursor: pointer; | |
| 651 | +} | |
| 652 | +@-moz-keyframes flatpickrFadeInDown { | |
| 653 | + from { | |
| 654 | + opacity: 0; | |
| 655 | + transform: translate3d(0, -20px, 0); | |
| 656 | + } | |
| 657 | + to { | |
| 658 | + opacity: 1; | |
| 659 | + transform: translate3d(0, 0, 0); | |
| 660 | + } | |
| 661 | +} | |
| 662 | +@-webkit-keyframes flatpickrFadeInDown { | |
| 663 | + from { | |
| 664 | + opacity: 0; | |
| 665 | + transform: translate3d(0, -20px, 0); | |
| 666 | + } | |
| 667 | + to { | |
| 668 | + opacity: 1; | |
| 669 | + transform: translate3d(0, 0, 0); | |
| 670 | + } | |
| 671 | +} | |
| 672 | +@-o-keyframes flatpickrFadeInDown { | |
| 673 | + from { | |
| 674 | + opacity: 0; | |
| 675 | + transform: translate3d(0, -20px, 0); | |
| 676 | + } | |
| 677 | + to { | |
| 678 | + opacity: 1; | |
| 679 | + transform: translate3d(0, 0, 0); | |
| 680 | + } | |
| 681 | +} | |
| 682 | +@keyframes flatpickrFadeInDown { | |
| 683 | + from { | |
| 684 | + opacity: 0; | |
| 685 | + transform: translate3d(0, -20px, 0); | |
| 686 | + } | |
| 687 | + to { | |
| 688 | + opacity: 1; | |
| 689 | + transform: translate3d(0, 0, 0); | |
| 690 | + } | |
| 691 | +} | |
| 692 | +@-moz-keyframes slideLeft { | |
| 693 | + from { | |
| 694 | + transform: translate(0px, 0px); | |
| 695 | + } | |
| 696 | + to { | |
| 697 | + transform: translate(100%, 0px); | |
| 698 | + } | |
| 699 | +} | |
| 700 | +@-webkit-keyframes slideLeft { | |
| 701 | + from { | |
| 702 | + transform: translate(0px, 0px); | |
| 703 | + } | |
| 704 | + to { | |
| 705 | + transform: translate(100%, 0px); | |
| 706 | + } | |
| 707 | +} | |
| 708 | +@-o-keyframes slideLeft { | |
| 709 | + from { | |
| 710 | + transform: translate(0px, 0px); | |
| 711 | + } | |
| 712 | + to { | |
| 713 | + transform: translate(100%, 0px); | |
| 714 | + } | |
| 715 | +} | |
| 716 | +@keyframes slideLeft { | |
| 717 | + from { | |
| 718 | + transform: translate(0px, 0px); | |
| 719 | + } | |
| 720 | + to { | |
| 721 | + transform: translate(100%, 0px); | |
| 722 | + } | |
| 723 | +} | |
| 724 | +@-moz-keyframes slideLeftNew { | |
| 725 | + from { | |
| 726 | + transform: translate(-100%, 0px); | |
| 727 | + } | |
| 728 | + to { | |
| 729 | + transform: translate(0px, 0px); | |
| 730 | + } | |
| 731 | +} | |
| 732 | +@-webkit-keyframes slideLeftNew { | |
| 733 | + from { | |
| 734 | + transform: translate(-100%, 0px); | |
| 735 | + } | |
| 736 | + to { | |
| 737 | + transform: translate(0px, 0px); | |
| 738 | + } | |
| 739 | +} | |
| 740 | +@-o-keyframes slideLeftNew { | |
| 741 | + from { | |
| 742 | + transform: translate(-100%, 0px); | |
| 743 | + } | |
| 744 | + to { | |
| 745 | + transform: translate(0px, 0px); | |
| 746 | + } | |
| 747 | +} | |
| 748 | +@keyframes slideLeftNew { | |
| 749 | + from { | |
| 750 | + transform: translate(-100%, 0px); | |
| 751 | + } | |
| 752 | + to { | |
| 753 | + transform: translate(0px, 0px); | |
| 754 | + } | |
| 755 | +} | |
| 756 | +@-moz-keyframes slideRight { | |
| 757 | + from { | |
| 758 | + transform: translate(0, 0); | |
| 759 | + } | |
| 760 | + to { | |
| 761 | + transform: translate(-100%, 0px); | |
| 762 | + } | |
| 763 | +} | |
| 764 | +@-webkit-keyframes slideRight { | |
| 765 | + from { | |
| 766 | + transform: translate(0, 0); | |
| 767 | + } | |
| 768 | + to { | |
| 769 | + transform: translate(-100%, 0px); | |
| 770 | + } | |
| 771 | +} | |
| 772 | +@-o-keyframes slideRight { | |
| 773 | + from { | |
| 774 | + transform: translate(0, 0); | |
| 775 | + } | |
| 776 | + to { | |
| 777 | + transform: translate(-100%, 0px); | |
| 778 | + } | |
| 779 | +} | |
| 780 | +@keyframes slideRight { | |
| 781 | + from { | |
| 782 | + transform: translate(0, 0); | |
| 783 | + } | |
| 784 | + to { | |
| 785 | + transform: translate(-100%, 0px); | |
| 786 | + } | |
| 787 | +} | |
| 788 | +@-moz-keyframes slideRightNew { | |
| 789 | + from { | |
| 790 | + transform: translate(100%, 0); | |
| 791 | + } | |
| 792 | + to { | |
| 793 | + transform: translate(0, 0); | |
| 794 | + } | |
| 795 | +} | |
| 796 | +@-webkit-keyframes slideRightNew { | |
| 797 | + from { | |
| 798 | + transform: translate(100%, 0); | |
| 799 | + } | |
| 800 | + to { | |
| 801 | + transform: translate(0, 0); | |
| 802 | + } | |
| 803 | +} | |
| 804 | +@-o-keyframes slideRightNew { | |
| 805 | + from { | |
| 806 | + transform: translate(100%, 0); | |
| 807 | + } | |
| 808 | + to { | |
| 809 | + transform: translate(0, 0); | |
| 810 | + } | |
| 811 | +} | |
| 812 | +@keyframes slideRightNew { | |
| 813 | + from { | |
| 814 | + transform: translate(100%, 0); | |
| 815 | + } | |
| 816 | + to { | |
| 817 | + transform: translate(0, 0); | |
| 818 | + } | |
| 819 | +} | |
| 820 | +@-moz-keyframes fadeOut { | |
| 821 | + from { | |
| 822 | + opacity: 1; | |
| 823 | + } | |
| 824 | + to { | |
| 825 | + opacity: 0; | |
| 826 | + } | |
| 827 | +} | |
| 828 | +@-webkit-keyframes fadeOut { | |
| 829 | + from { | |
| 830 | + opacity: 1; | |
| 831 | + } | |
| 832 | + to { | |
| 833 | + opacity: 0; | |
| 834 | + } | |
| 835 | +} | |
| 836 | +@-o-keyframes fadeOut { | |
| 837 | + from { | |
| 838 | + opacity: 1; | |
| 839 | + } | |
| 840 | + to { | |
| 841 | + opacity: 0; | |
| 842 | + } | |
| 843 | +} | |
| 844 | +@keyframes fadeOut { | |
| 845 | + from { | |
| 846 | + opacity: 1; | |
| 847 | + } | |
| 848 | + to { | |
| 849 | + opacity: 0; | |
| 850 | + } | |
| 851 | +} | |
| 852 | +@-moz-keyframes fadeIn { | |
| 853 | + from { | |
| 854 | + opacity: 0; | |
| 855 | + } | |
| 856 | + to { | |
| 857 | + opacity: 1; | |
| 858 | + } | |
| 859 | +} | |
| 860 | +@-webkit-keyframes fadeIn { | |
| 861 | + from { | |
| 862 | + opacity: 0; | |
| 863 | + } | |
| 864 | + to { | |
| 865 | + opacity: 1; | |
| 866 | + } | |
| 867 | +} | |
| 868 | +@-o-keyframes fadeIn { | |
| 869 | + from { | |
| 870 | + opacity: 0; | |
| 871 | + } | |
| 872 | + to { | |
| 873 | + opacity: 1; | |
| 874 | + } | |
| 875 | +} | |
| 876 | +@keyframes fadeIn { | |
| 877 | + from { | |
| 878 | + opacity: 0; | |
| 879 | + } | |
| 880 | + to { | |
| 881 | + opacity: 1; | |
| 882 | + } | |
| 883 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/flatpickr/themes/airbnb.css
0 → 100644
| 1 | +.flatpickr-calendar { | |
| 2 | + background: transparent; | |
| 3 | + overflow: hidden; | |
| 4 | + max-height: 0; | |
| 5 | + opacity: 0; | |
| 6 | + visibility: hidden; | |
| 7 | + text-align: center; | |
| 8 | + padding: 0; | |
| 9 | + -webkit-animation: none; | |
| 10 | + animation: none; | |
| 11 | + direction: ltr; | |
| 12 | + border: 0; | |
| 13 | + font-size: 14px; | |
| 14 | + line-height: 24px; | |
| 15 | + border-radius: 5px; | |
| 16 | + position: absolute; | |
| 17 | + width: 307.875px; | |
| 18 | + -webkit-box-sizing: border-box; | |
| 19 | + box-sizing: border-box; | |
| 20 | + -ms-touch-action: manipulation; | |
| 21 | + touch-action: manipulation; | |
| 22 | + background: #fff; | |
| 23 | + -webkit-box-shadow: 1px 0 0 #eee, -1px 0 0 #eee, 0 1px 0 #eee, 0 -1px 0 #eee, 0 3px 13px rgba(0,0,0,0.08); | |
| 24 | + box-shadow: 1px 0 0 #eee, -1px 0 0 #eee, 0 1px 0 #eee, 0 -1px 0 #eee, 0 3px 13px rgba(0,0,0,0.08); | |
| 25 | +} | |
| 26 | +.flatpickr-calendar.open, | |
| 27 | +.flatpickr-calendar.inline { | |
| 28 | + opacity: 1; | |
| 29 | + visibility: visible; | |
| 30 | + overflow: visible; | |
| 31 | + max-height: 640px; | |
| 32 | +} | |
| 33 | +.flatpickr-calendar.open { | |
| 34 | + display: inline-block; | |
| 35 | + z-index: 99999; | |
| 36 | +} | |
| 37 | +.flatpickr-calendar.animate.open { | |
| 38 | + -webkit-animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 39 | + animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 40 | +} | |
| 41 | +.flatpickr-calendar.inline { | |
| 42 | + display: block; | |
| 43 | + position: relative; | |
| 44 | + top: 2px; | |
| 45 | +} | |
| 46 | +.flatpickr-calendar.static { | |
| 47 | + position: absolute; | |
| 48 | + top: calc(100% + 2px); | |
| 49 | +} | |
| 50 | +.flatpickr-calendar.static.open { | |
| 51 | + z-index: 999; | |
| 52 | + display: block; | |
| 53 | +} | |
| 54 | +.flatpickr-calendar.hasWeeks { | |
| 55 | + width: auto; | |
| 56 | +} | |
| 57 | +.flatpickr-calendar .hasWeeks .dayContainer, | |
| 58 | +.flatpickr-calendar .hasTime .dayContainer { | |
| 59 | + border-bottom: 0; | |
| 60 | + border-bottom-right-radius: 0; | |
| 61 | + border-bottom-left-radius: 0; | |
| 62 | +} | |
| 63 | +.flatpickr-calendar .hasWeeks .dayContainer { | |
| 64 | + border-left: 0; | |
| 65 | +} | |
| 66 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time { | |
| 67 | + height: 40px; | |
| 68 | + border-top: 1px solid #eee; | |
| 69 | +} | |
| 70 | +.flatpickr-calendar.noCalendar.hasTime .flatpickr-time { | |
| 71 | + height: auto; | |
| 72 | +} | |
| 73 | +.flatpickr-calendar:before, | |
| 74 | +.flatpickr-calendar:after { | |
| 75 | + position: absolute; | |
| 76 | + display: block; | |
| 77 | + pointer-events: none; | |
| 78 | + border: solid transparent; | |
| 79 | + content: ''; | |
| 80 | + height: 0; | |
| 81 | + width: 0; | |
| 82 | + left: 22px; | |
| 83 | +} | |
| 84 | +.flatpickr-calendar.rightMost:before, | |
| 85 | +.flatpickr-calendar.rightMost:after { | |
| 86 | + left: auto; | |
| 87 | + right: 22px; | |
| 88 | +} | |
| 89 | +.flatpickr-calendar:before { | |
| 90 | + border-width: 5px; | |
| 91 | + margin: 0 -5px; | |
| 92 | +} | |
| 93 | +.flatpickr-calendar:after { | |
| 94 | + border-width: 4px; | |
| 95 | + margin: 0 -4px; | |
| 96 | +} | |
| 97 | +.flatpickr-calendar.arrowTop:before, | |
| 98 | +.flatpickr-calendar.arrowTop:after { | |
| 99 | + bottom: 100%; | |
| 100 | +} | |
| 101 | +.flatpickr-calendar.arrowTop:before { | |
| 102 | + border-bottom-color: #eee; | |
| 103 | +} | |
| 104 | +.flatpickr-calendar.arrowTop:after { | |
| 105 | + border-bottom-color: #fff; | |
| 106 | +} | |
| 107 | +.flatpickr-calendar.arrowBottom:before, | |
| 108 | +.flatpickr-calendar.arrowBottom:after { | |
| 109 | + top: 100%; | |
| 110 | +} | |
| 111 | +.flatpickr-calendar.arrowBottom:before { | |
| 112 | + border-top-color: #eee; | |
| 113 | +} | |
| 114 | +.flatpickr-calendar.arrowBottom:after { | |
| 115 | + border-top-color: #fff; | |
| 116 | +} | |
| 117 | +.flatpickr-calendar:focus { | |
| 118 | + outline: 0; | |
| 119 | +} | |
| 120 | +.flatpickr-wrapper { | |
| 121 | + position: relative; | |
| 122 | + display: inline-block; | |
| 123 | +} | |
| 124 | +.flatpickr-month { | |
| 125 | + background: transparent; | |
| 126 | + color: #3c3f40; | |
| 127 | + fill: #3c3f40; | |
| 128 | + height: 28px; | |
| 129 | + line-height: 1; | |
| 130 | + text-align: center; | |
| 131 | + position: relative; | |
| 132 | + -webkit-user-select: none; | |
| 133 | + -moz-user-select: none; | |
| 134 | + -ms-user-select: none; | |
| 135 | + user-select: none; | |
| 136 | + overflow: hidden; | |
| 137 | +} | |
| 138 | +.flatpickr-prev-month, | |
| 139 | +.flatpickr-next-month { | |
| 140 | + text-decoration: none; | |
| 141 | + cursor: pointer; | |
| 142 | + position: absolute; | |
| 143 | + top: 0px; | |
| 144 | + line-height: 16px; | |
| 145 | + height: 28px; | |
| 146 | + padding: 10px calc(3.57% - 1.5px); | |
| 147 | + z-index: 3; | |
| 148 | +} | |
| 149 | +.flatpickr-prev-month i, | |
| 150 | +.flatpickr-next-month i { | |
| 151 | + position: relative; | |
| 152 | +} | |
| 153 | +.flatpickr-prev-month.flatpickr-prev-month, | |
| 154 | +.flatpickr-next-month.flatpickr-prev-month { | |
| 155 | +/* | |
| 156 | + /*rtl:begin:ignore*/ | |
| 157 | +/* | |
| 158 | + */ | |
| 159 | + left: 0; | |
| 160 | +/* | |
| 161 | + /*rtl:end:ignore*/ | |
| 162 | +/* | |
| 163 | + */ | |
| 164 | +} | |
| 165 | +/* | |
| 166 | + /*rtl:begin:ignore*/ | |
| 167 | +/* | |
| 168 | + /*rtl:end:ignore*/ | |
| 169 | +.flatpickr-prev-month.flatpickr-next-month, | |
| 170 | +.flatpickr-next-month.flatpickr-next-month { | |
| 171 | +/* | |
| 172 | + /*rtl:begin:ignore*/ | |
| 173 | +/* | |
| 174 | + */ | |
| 175 | + right: 0; | |
| 176 | +/* | |
| 177 | + /*rtl:end:ignore*/ | |
| 178 | +/* | |
| 179 | + */ | |
| 180 | +} | |
| 181 | +/* | |
| 182 | + /*rtl:begin:ignore*/ | |
| 183 | +/* | |
| 184 | + /*rtl:end:ignore*/ | |
| 185 | +.flatpickr-prev-month:hover, | |
| 186 | +.flatpickr-next-month:hover { | |
| 187 | + color: #f64747; | |
| 188 | +} | |
| 189 | +.flatpickr-prev-month:hover svg, | |
| 190 | +.flatpickr-next-month:hover svg { | |
| 191 | + fill: #f64747; | |
| 192 | +} | |
| 193 | +.flatpickr-prev-month svg, | |
| 194 | +.flatpickr-next-month svg { | |
| 195 | + width: 14px; | |
| 196 | +} | |
| 197 | +.flatpickr-prev-month svg path, | |
| 198 | +.flatpickr-next-month svg path { | |
| 199 | + -webkit-transition: fill 0.1s; | |
| 200 | + transition: fill 0.1s; | |
| 201 | + fill: inherit; | |
| 202 | +} | |
| 203 | +.numInputWrapper { | |
| 204 | + position: relative; | |
| 205 | + height: auto; | |
| 206 | +} | |
| 207 | +.numInputWrapper input, | |
| 208 | +.numInputWrapper span { | |
| 209 | + display: inline-block; | |
| 210 | +} | |
| 211 | +.numInputWrapper input { | |
| 212 | + width: 100%; | |
| 213 | +} | |
| 214 | +.numInputWrapper span { | |
| 215 | + position: absolute; | |
| 216 | + right: 0; | |
| 217 | + width: 14px; | |
| 218 | + padding: 0 4px 0 2px; | |
| 219 | + height: 50%; | |
| 220 | + line-height: 50%; | |
| 221 | + opacity: 0; | |
| 222 | + cursor: pointer; | |
| 223 | + border: 1px solid rgba(64,72,72,0.05); | |
| 224 | + -webkit-box-sizing: border-box; | |
| 225 | + box-sizing: border-box; | |
| 226 | +} | |
| 227 | +.numInputWrapper span:hover { | |
| 228 | + background: rgba(0,0,0,0.1); | |
| 229 | +} | |
| 230 | +.numInputWrapper span:active { | |
| 231 | + background: rgba(0,0,0,0.2); | |
| 232 | +} | |
| 233 | +.numInputWrapper span:after { | |
| 234 | + display: block; | |
| 235 | + content: ""; | |
| 236 | + position: absolute; | |
| 237 | + top: 33%; | |
| 238 | +} | |
| 239 | +.numInputWrapper span.arrowUp { | |
| 240 | + top: 0; | |
| 241 | + border-bottom: 0; | |
| 242 | +} | |
| 243 | +.numInputWrapper span.arrowUp:after { | |
| 244 | + border-left: 4px solid transparent; | |
| 245 | + border-right: 4px solid transparent; | |
| 246 | + border-bottom: 4px solid rgba(64,72,72,0.6); | |
| 247 | +} | |
| 248 | +.numInputWrapper span.arrowDown { | |
| 249 | + top: 50%; | |
| 250 | +} | |
| 251 | +.numInputWrapper span.arrowDown:after { | |
| 252 | + border-left: 4px solid transparent; | |
| 253 | + border-right: 4px solid transparent; | |
| 254 | + border-top: 4px solid rgba(64,72,72,0.6); | |
| 255 | +} | |
| 256 | +.numInputWrapper span svg { | |
| 257 | + width: inherit; | |
| 258 | + height: auto; | |
| 259 | +} | |
| 260 | +.numInputWrapper span svg path { | |
| 261 | + fill: rgba(60,63,64,0.5); | |
| 262 | +} | |
| 263 | +.numInputWrapper:hover { | |
| 264 | + background: rgba(0,0,0,0.05); | |
| 265 | +} | |
| 266 | +.numInputWrapper:hover span { | |
| 267 | + opacity: 1; | |
| 268 | +} | |
| 269 | +.flatpickr-current-month { | |
| 270 | + font-size: 135%; | |
| 271 | + line-height: inherit; | |
| 272 | + font-weight: 300; | |
| 273 | + color: inherit; | |
| 274 | + position: absolute; | |
| 275 | + width: 75%; | |
| 276 | + left: 12.5%; | |
| 277 | + padding: 6.16px 0 0 0; | |
| 278 | + line-height: 1; | |
| 279 | + height: 28px; | |
| 280 | + display: inline-block; | |
| 281 | + text-align: center; | |
| 282 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 283 | + transform: translate3d(0px, 0px, 0px); | |
| 284 | +} | |
| 285 | +.flatpickr-current-month.slideLeft { | |
| 286 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 287 | + transform: translate3d(-100%, 0px, 0px); | |
| 288 | + -webkit-animation: fpFadeOut 400ms ease, fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 289 | + animation: fpFadeOut 400ms ease, fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 290 | +} | |
| 291 | +.flatpickr-current-month.slideLeftNew { | |
| 292 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 293 | + transform: translate3d(100%, 0px, 0px); | |
| 294 | + -webkit-animation: fpFadeIn 400ms ease, fpSlideLeftNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 295 | + animation: fpFadeIn 400ms ease, fpSlideLeftNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 296 | +} | |
| 297 | +.flatpickr-current-month.slideRight { | |
| 298 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 299 | + transform: translate3d(100%, 0px, 0px); | |
| 300 | + -webkit-animation: fpFadeOut 400ms ease, fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 301 | + animation: fpFadeOut 400ms ease, fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 302 | +} | |
| 303 | +.flatpickr-current-month.slideRightNew { | |
| 304 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 305 | + transform: translate3d(0, 0, 0px); | |
| 306 | + -webkit-animation: fpFadeIn 400ms ease, fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 307 | + animation: fpFadeIn 400ms ease, fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 308 | +} | |
| 309 | +.flatpickr-current-month span.cur-month { | |
| 310 | + font-family: inherit; | |
| 311 | + font-weight: 700; | |
| 312 | + color: inherit; | |
| 313 | + display: inline-block; | |
| 314 | + margin-left: 0.5ch; | |
| 315 | + padding: 0; | |
| 316 | +} | |
| 317 | +.flatpickr-current-month span.cur-month:hover { | |
| 318 | + background: rgba(0,0,0,0.05); | |
| 319 | +} | |
| 320 | +.flatpickr-current-month .numInputWrapper { | |
| 321 | + width: 6ch; | |
| 322 | + width: 7ch\0; | |
| 323 | + display: inline-block; | |
| 324 | +} | |
| 325 | +.flatpickr-current-month .numInputWrapper span.arrowUp:after { | |
| 326 | + border-bottom-color: #3c3f40; | |
| 327 | +} | |
| 328 | +.flatpickr-current-month .numInputWrapper span.arrowDown:after { | |
| 329 | + border-top-color: #3c3f40; | |
| 330 | +} | |
| 331 | +.flatpickr-current-month input.cur-year { | |
| 332 | + background: transparent; | |
| 333 | + -webkit-box-sizing: border-box; | |
| 334 | + box-sizing: border-box; | |
| 335 | + color: inherit; | |
| 336 | + cursor: default; | |
| 337 | + padding: 0 0 0 0.5ch; | |
| 338 | + margin: 0; | |
| 339 | + display: inline-block; | |
| 340 | + font-size: inherit; | |
| 341 | + font-family: inherit; | |
| 342 | + font-weight: 300; | |
| 343 | + line-height: inherit; | |
| 344 | + height: initial; | |
| 345 | + border: 0; | |
| 346 | + border-radius: 0; | |
| 347 | + vertical-align: initial; | |
| 348 | +} | |
| 349 | +.flatpickr-current-month input.cur-year:focus { | |
| 350 | + outline: 0; | |
| 351 | +} | |
| 352 | +.flatpickr-current-month input.cur-year[disabled], | |
| 353 | +.flatpickr-current-month input.cur-year[disabled]:hover { | |
| 354 | + font-size: 100%; | |
| 355 | + color: rgba(60,63,64,0.5); | |
| 356 | + background: transparent; | |
| 357 | + pointer-events: none; | |
| 358 | +} | |
| 359 | +.flatpickr-weekdays { | |
| 360 | + background: transparent; | |
| 361 | + text-align: center; | |
| 362 | + overflow: hidden; | |
| 363 | + width: 100%; | |
| 364 | + display: -webkit-box; | |
| 365 | + display: -webkit-flex; | |
| 366 | + display: -ms-flexbox; | |
| 367 | + display: flex; | |
| 368 | + -webkit-box-align: center; | |
| 369 | + -webkit-align-items: center; | |
| 370 | + -ms-flex-align: center; | |
| 371 | + align-items: center; | |
| 372 | + height: 28px; | |
| 373 | +} | |
| 374 | +span.flatpickr-weekday { | |
| 375 | + cursor: default; | |
| 376 | + font-size: 90%; | |
| 377 | + background: transparent; | |
| 378 | + color: rgba(0,0,0,0.54); | |
| 379 | + line-height: 1; | |
| 380 | + margin: 0; | |
| 381 | + text-align: center; | |
| 382 | + display: block; | |
| 383 | + -webkit-box-flex: 1; | |
| 384 | + -webkit-flex: 1; | |
| 385 | + -ms-flex: 1; | |
| 386 | + flex: 1; | |
| 387 | + font-weight: bolder; | |
| 388 | +} | |
| 389 | +.dayContainer, | |
| 390 | +.flatpickr-weeks { | |
| 391 | + padding: 1px 0 0 0; | |
| 392 | +} | |
| 393 | +.flatpickr-days { | |
| 394 | + position: relative; | |
| 395 | + overflow: hidden; | |
| 396 | + display: -webkit-box; | |
| 397 | + display: -webkit-flex; | |
| 398 | + display: -ms-flexbox; | |
| 399 | + display: flex; | |
| 400 | + width: 307.875px; | |
| 401 | +} | |
| 402 | +.flatpickr-days:focus { | |
| 403 | + outline: 0; | |
| 404 | +} | |
| 405 | +.dayContainer { | |
| 406 | + padding: 0; | |
| 407 | + outline: 0; | |
| 408 | + text-align: left; | |
| 409 | + width: 307.875px; | |
| 410 | + min-width: 307.875px; | |
| 411 | + max-width: 307.875px; | |
| 412 | + -webkit-box-sizing: border-box; | |
| 413 | + box-sizing: border-box; | |
| 414 | + display: inline-block; | |
| 415 | + display: -ms-flexbox; | |
| 416 | + display: -webkit-box; | |
| 417 | + display: -webkit-flex; | |
| 418 | + display: flex; | |
| 419 | + -webkit-flex-wrap: wrap; | |
| 420 | + flex-wrap: wrap; | |
| 421 | + -ms-flex-wrap: wrap; | |
| 422 | + -ms-flex-pack: justify; | |
| 423 | + -webkit-justify-content: space-around; | |
| 424 | + justify-content: space-around; | |
| 425 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 426 | + transform: translate3d(0px, 0px, 0px); | |
| 427 | + opacity: 1; | |
| 428 | +} | |
| 429 | +.flatpickr-calendar.animate .dayContainer.slideLeft { | |
| 430 | + -webkit-animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 431 | + animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 432 | +} | |
| 433 | +.flatpickr-calendar.animate .dayContainer.slideLeft, | |
| 434 | +.flatpickr-calendar.animate .dayContainer.slideLeftNew { | |
| 435 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 436 | + transform: translate3d(-100%, 0px, 0px); | |
| 437 | +} | |
| 438 | +.flatpickr-calendar.animate .dayContainer.slideLeftNew { | |
| 439 | + -webkit-animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 440 | + animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 441 | +} | |
| 442 | +.flatpickr-calendar.animate .dayContainer.slideRight { | |
| 443 | + -webkit-animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 444 | + animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 445 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 446 | + transform: translate3d(100%, 0px, 0px); | |
| 447 | +} | |
| 448 | +.flatpickr-calendar.animate .dayContainer.slideRightNew { | |
| 449 | + -webkit-animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 450 | + animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 451 | +} | |
| 452 | +.flatpickr-day { | |
| 453 | + background: none; | |
| 454 | + border: 1px solid transparent; | |
| 455 | + border-radius: 150px; | |
| 456 | + -webkit-box-sizing: border-box; | |
| 457 | + box-sizing: border-box; | |
| 458 | + color: #404848; | |
| 459 | + cursor: pointer; | |
| 460 | + font-weight: 400; | |
| 461 | + width: 14.2857143%; | |
| 462 | + -webkit-flex-basis: 14.2857143%; | |
| 463 | + -ms-flex-preferred-size: 14.2857143%; | |
| 464 | + flex-basis: 14.2857143%; | |
| 465 | + max-width: 39px; | |
| 466 | + height: 39px; | |
| 467 | + line-height: 39px; | |
| 468 | + margin: 0; | |
| 469 | + display: inline-block; | |
| 470 | + position: relative; | |
| 471 | + -webkit-box-pack: center; | |
| 472 | + -webkit-justify-content: center; | |
| 473 | + -ms-flex-pack: center; | |
| 474 | + justify-content: center; | |
| 475 | + text-align: center; | |
| 476 | +} | |
| 477 | +.flatpickr-day.inRange, | |
| 478 | +.flatpickr-day.prevMonthDay.inRange, | |
| 479 | +.flatpickr-day.nextMonthDay.inRange, | |
| 480 | +.flatpickr-day.today.inRange, | |
| 481 | +.flatpickr-day.prevMonthDay.today.inRange, | |
| 482 | +.flatpickr-day.nextMonthDay.today.inRange, | |
| 483 | +.flatpickr-day:hover, | |
| 484 | +.flatpickr-day.prevMonthDay:hover, | |
| 485 | +.flatpickr-day.nextMonthDay:hover, | |
| 486 | +.flatpickr-day:focus, | |
| 487 | +.flatpickr-day.prevMonthDay:focus, | |
| 488 | +.flatpickr-day.nextMonthDay:focus { | |
| 489 | + cursor: pointer; | |
| 490 | + outline: 0; | |
| 491 | + background: #e9e9e9; | |
| 492 | + border-color: #e9e9e9; | |
| 493 | +} | |
| 494 | +.flatpickr-day.today { | |
| 495 | + border-color: #f64747; | |
| 496 | +} | |
| 497 | +.flatpickr-day.today:hover, | |
| 498 | +.flatpickr-day.today:focus { | |
| 499 | + border-color: #f64747; | |
| 500 | + background: #f64747; | |
| 501 | + color: #fff; | |
| 502 | +} | |
| 503 | +.flatpickr-day.selected, | |
| 504 | +.flatpickr-day.startRange, | |
| 505 | +.flatpickr-day.endRange, | |
| 506 | +.flatpickr-day.selected.inRange, | |
| 507 | +.flatpickr-day.startRange.inRange, | |
| 508 | +.flatpickr-day.endRange.inRange, | |
| 509 | +.flatpickr-day.selected:focus, | |
| 510 | +.flatpickr-day.startRange:focus, | |
| 511 | +.flatpickr-day.endRange:focus, | |
| 512 | +.flatpickr-day.selected:hover, | |
| 513 | +.flatpickr-day.startRange:hover, | |
| 514 | +.flatpickr-day.endRange:hover, | |
| 515 | +.flatpickr-day.selected.prevMonthDay, | |
| 516 | +.flatpickr-day.startRange.prevMonthDay, | |
| 517 | +.flatpickr-day.endRange.prevMonthDay, | |
| 518 | +.flatpickr-day.selected.nextMonthDay, | |
| 519 | +.flatpickr-day.startRange.nextMonthDay, | |
| 520 | +.flatpickr-day.endRange.nextMonthDay { | |
| 521 | + background: #4f99ff; | |
| 522 | + -webkit-box-shadow: none; | |
| 523 | + box-shadow: none; | |
| 524 | + color: #fff; | |
| 525 | + border-color: #4f99ff; | |
| 526 | +} | |
| 527 | +.flatpickr-day.selected.startRange, | |
| 528 | +.flatpickr-day.startRange.startRange, | |
| 529 | +.flatpickr-day.endRange.startRange { | |
| 530 | + border-radius: 50px 0 0 50px; | |
| 531 | +} | |
| 532 | +.flatpickr-day.selected.endRange, | |
| 533 | +.flatpickr-day.startRange.endRange, | |
| 534 | +.flatpickr-day.endRange.endRange { | |
| 535 | + border-radius: 0 50px 50px 0; | |
| 536 | +} | |
| 537 | +.flatpickr-day.selected.startRange + .endRange, | |
| 538 | +.flatpickr-day.startRange.startRange + .endRange, | |
| 539 | +.flatpickr-day.endRange.startRange + .endRange { | |
| 540 | + -webkit-box-shadow: -10px 0 0 #4f99ff; | |
| 541 | + box-shadow: -10px 0 0 #4f99ff; | |
| 542 | +} | |
| 543 | +.flatpickr-day.selected.startRange.endRange, | |
| 544 | +.flatpickr-day.startRange.startRange.endRange, | |
| 545 | +.flatpickr-day.endRange.startRange.endRange { | |
| 546 | + border-radius: 50px; | |
| 547 | +} | |
| 548 | +.flatpickr-day.inRange { | |
| 549 | + border-radius: 0; | |
| 550 | + -webkit-box-shadow: -5px 0 0 #e9e9e9, 5px 0 0 #e9e9e9; | |
| 551 | + box-shadow: -5px 0 0 #e9e9e9, 5px 0 0 #e9e9e9; | |
| 552 | +} | |
| 553 | +.flatpickr-day.disabled, | |
| 554 | +.flatpickr-day.disabled:hover { | |
| 555 | + pointer-events: none; | |
| 556 | +} | |
| 557 | +.flatpickr-day.disabled, | |
| 558 | +.flatpickr-day.disabled:hover, | |
| 559 | +.flatpickr-day.prevMonthDay, | |
| 560 | +.flatpickr-day.nextMonthDay, | |
| 561 | +.flatpickr-day.notAllowed, | |
| 562 | +.flatpickr-day.notAllowed.prevMonthDay, | |
| 563 | +.flatpickr-day.notAllowed.nextMonthDay { | |
| 564 | + color: rgba(0,0,0,0.15); | |
| 565 | + background: transparent; | |
| 566 | + border-color: #e9e9e9; | |
| 567 | + cursor: default; | |
| 568 | +} | |
| 569 | +.flatpickr-day.week.selected { | |
| 570 | + border-radius: 0; | |
| 571 | + -webkit-box-shadow: -5px 0 0 #4f99ff, 5px 0 0 #4f99ff; | |
| 572 | + box-shadow: -5px 0 0 #4f99ff, 5px 0 0 #4f99ff; | |
| 573 | +} | |
| 574 | +.rangeMode .flatpickr-day { | |
| 575 | + margin-top: 1px; | |
| 576 | +} | |
| 577 | +.flatpickr-weekwrapper { | |
| 578 | + display: inline-block; | |
| 579 | + float: left; | |
| 580 | +} | |
| 581 | +.flatpickr-weekwrapper .flatpickr-weeks { | |
| 582 | + padding: 0 12px; | |
| 583 | + -webkit-box-shadow: 1px 0 0 #eee; | |
| 584 | + box-shadow: 1px 0 0 #eee; | |
| 585 | +} | |
| 586 | +.flatpickr-weekwrapper .flatpickr-weekday { | |
| 587 | + float: none; | |
| 588 | + width: 100%; | |
| 589 | + line-height: 28px; | |
| 590 | +} | |
| 591 | +.flatpickr-weekwrapper span.flatpickr-day { | |
| 592 | + display: block; | |
| 593 | + width: 100%; | |
| 594 | + max-width: none; | |
| 595 | +} | |
| 596 | +.flatpickr-innerContainer { | |
| 597 | + display: block; | |
| 598 | + display: -webkit-box; | |
| 599 | + display: -webkit-flex; | |
| 600 | + display: -ms-flexbox; | |
| 601 | + display: flex; | |
| 602 | + -webkit-box-sizing: border-box; | |
| 603 | + box-sizing: border-box; | |
| 604 | + overflow: hidden; | |
| 605 | +} | |
| 606 | +.flatpickr-rContainer { | |
| 607 | + display: inline-block; | |
| 608 | + padding: 0; | |
| 609 | + -webkit-box-sizing: border-box; | |
| 610 | + box-sizing: border-box; | |
| 611 | +} | |
| 612 | +.flatpickr-time { | |
| 613 | + text-align: center; | |
| 614 | + outline: 0; | |
| 615 | + display: block; | |
| 616 | + height: 0; | |
| 617 | + line-height: 40px; | |
| 618 | + max-height: 40px; | |
| 619 | + -webkit-box-sizing: border-box; | |
| 620 | + box-sizing: border-box; | |
| 621 | + overflow: hidden; | |
| 622 | + display: -webkit-box; | |
| 623 | + display: -webkit-flex; | |
| 624 | + display: -ms-flexbox; | |
| 625 | + display: flex; | |
| 626 | +} | |
| 627 | +.flatpickr-time:after { | |
| 628 | + content: ""; | |
| 629 | + display: table; | |
| 630 | + clear: both; | |
| 631 | +} | |
| 632 | +.flatpickr-time .numInputWrapper { | |
| 633 | + -webkit-box-flex: 1; | |
| 634 | + -webkit-flex: 1; | |
| 635 | + -ms-flex: 1; | |
| 636 | + flex: 1; | |
| 637 | + width: 40%; | |
| 638 | + height: 40px; | |
| 639 | + float: left; | |
| 640 | +} | |
| 641 | +.flatpickr-time .numInputWrapper span.arrowUp:after { | |
| 642 | + border-bottom-color: #404848; | |
| 643 | +} | |
| 644 | +.flatpickr-time .numInputWrapper span.arrowDown:after { | |
| 645 | + border-top-color: #404848; | |
| 646 | +} | |
| 647 | +.flatpickr-time.hasSeconds .numInputWrapper { | |
| 648 | + width: 26%; | |
| 649 | +} | |
| 650 | +.flatpickr-time.time24hr .numInputWrapper { | |
| 651 | + width: 49%; | |
| 652 | +} | |
| 653 | +.flatpickr-time input { | |
| 654 | + background: transparent; | |
| 655 | + -webkit-box-shadow: none; | |
| 656 | + box-shadow: none; | |
| 657 | + border: 0; | |
| 658 | + border-radius: 0; | |
| 659 | + text-align: center; | |
| 660 | + margin: 0; | |
| 661 | + padding: 0; | |
| 662 | + height: inherit; | |
| 663 | + line-height: inherit; | |
| 664 | + cursor: pointer; | |
| 665 | + color: #404848; | |
| 666 | + font-size: 14px; | |
| 667 | + position: relative; | |
| 668 | + -webkit-box-sizing: border-box; | |
| 669 | + box-sizing: border-box; | |
| 670 | +} | |
| 671 | +.flatpickr-time input.flatpickr-hour { | |
| 672 | + font-weight: bold; | |
| 673 | +} | |
| 674 | +.flatpickr-time input.flatpickr-minute, | |
| 675 | +.flatpickr-time input.flatpickr-second { | |
| 676 | + font-weight: 400; | |
| 677 | +} | |
| 678 | +.flatpickr-time input:focus { | |
| 679 | + outline: 0; | |
| 680 | + border: 0; | |
| 681 | +} | |
| 682 | +.flatpickr-time .flatpickr-time-separator, | |
| 683 | +.flatpickr-time .flatpickr-am-pm { | |
| 684 | + height: inherit; | |
| 685 | + display: inline-block; | |
| 686 | + float: left; | |
| 687 | + line-height: inherit; | |
| 688 | + color: #404848; | |
| 689 | + font-weight: bold; | |
| 690 | + width: 2%; | |
| 691 | + -webkit-user-select: none; | |
| 692 | + -moz-user-select: none; | |
| 693 | + -ms-user-select: none; | |
| 694 | + user-select: none; | |
| 695 | + -webkit-align-self: center; | |
| 696 | + -ms-flex-item-align: center; | |
| 697 | + align-self: center; | |
| 698 | +} | |
| 699 | +.flatpickr-time .flatpickr-am-pm { | |
| 700 | + outline: 0; | |
| 701 | + width: 18%; | |
| 702 | + cursor: pointer; | |
| 703 | + text-align: center; | |
| 704 | + font-weight: 400; | |
| 705 | +} | |
| 706 | +.flatpickr-time .flatpickr-am-pm:hover, | |
| 707 | +.flatpickr-time .flatpickr-am-pm:focus { | |
| 708 | + background: #f3f3f3; | |
| 709 | +} | |
| 710 | +.flatpickr-input[readonly] { | |
| 711 | + cursor: pointer; | |
| 712 | +} | |
| 713 | +@-webkit-keyframes fpFadeInDown { | |
| 714 | + from { | |
| 715 | + opacity: 0; | |
| 716 | + -webkit-transform: translate3d(0, -20px, 0); | |
| 717 | + transform: translate3d(0, -20px, 0); | |
| 718 | + } | |
| 719 | + to { | |
| 720 | + opacity: 1; | |
| 721 | + -webkit-transform: translate3d(0, 0, 0); | |
| 722 | + transform: translate3d(0, 0, 0); | |
| 723 | + } | |
| 724 | +} | |
| 725 | +@keyframes fpFadeInDown { | |
| 726 | + from { | |
| 727 | + opacity: 0; | |
| 728 | + -webkit-transform: translate3d(0, -20px, 0); | |
| 729 | + transform: translate3d(0, -20px, 0); | |
| 730 | + } | |
| 731 | + to { | |
| 732 | + opacity: 1; | |
| 733 | + -webkit-transform: translate3d(0, 0, 0); | |
| 734 | + transform: translate3d(0, 0, 0); | |
| 735 | + } | |
| 736 | +} | |
| 737 | +@-webkit-keyframes fpSlideLeft { | |
| 738 | + from { | |
| 739 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 740 | + transform: translate3d(0px, 0px, 0px); | |
| 741 | + } | |
| 742 | + to { | |
| 743 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 744 | + transform: translate3d(-100%, 0px, 0px); | |
| 745 | + } | |
| 746 | +} | |
| 747 | +@keyframes fpSlideLeft { | |
| 748 | + from { | |
| 749 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 750 | + transform: translate3d(0px, 0px, 0px); | |
| 751 | + } | |
| 752 | + to { | |
| 753 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 754 | + transform: translate3d(-100%, 0px, 0px); | |
| 755 | + } | |
| 756 | +} | |
| 757 | +@-webkit-keyframes fpSlideLeftNew { | |
| 758 | + from { | |
| 759 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 760 | + transform: translate3d(100%, 0px, 0px); | |
| 761 | + } | |
| 762 | + to { | |
| 763 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 764 | + transform: translate3d(0px, 0px, 0px); | |
| 765 | + } | |
| 766 | +} | |
| 767 | +@keyframes fpSlideLeftNew { | |
| 768 | + from { | |
| 769 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 770 | + transform: translate3d(100%, 0px, 0px); | |
| 771 | + } | |
| 772 | + to { | |
| 773 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 774 | + transform: translate3d(0px, 0px, 0px); | |
| 775 | + } | |
| 776 | +} | |
| 777 | +@-webkit-keyframes fpSlideRight { | |
| 778 | + from { | |
| 779 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 780 | + transform: translate3d(0, 0, 0px); | |
| 781 | + } | |
| 782 | + to { | |
| 783 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 784 | + transform: translate3d(100%, 0px, 0px); | |
| 785 | + } | |
| 786 | +} | |
| 787 | +@keyframes fpSlideRight { | |
| 788 | + from { | |
| 789 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 790 | + transform: translate3d(0, 0, 0px); | |
| 791 | + } | |
| 792 | + to { | |
| 793 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 794 | + transform: translate3d(100%, 0px, 0px); | |
| 795 | + } | |
| 796 | +} | |
| 797 | +@-webkit-keyframes fpSlideRightNew { | |
| 798 | + from { | |
| 799 | + -webkit-transform: translate3d(-100%, 0, 0px); | |
| 800 | + transform: translate3d(-100%, 0, 0px); | |
| 801 | + } | |
| 802 | + to { | |
| 803 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 804 | + transform: translate3d(0, 0, 0px); | |
| 805 | + } | |
| 806 | +} | |
| 807 | +@keyframes fpSlideRightNew { | |
| 808 | + from { | |
| 809 | + -webkit-transform: translate3d(-100%, 0, 0px); | |
| 810 | + transform: translate3d(-100%, 0, 0px); | |
| 811 | + } | |
| 812 | + to { | |
| 813 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 814 | + transform: translate3d(0, 0, 0px); | |
| 815 | + } | |
| 816 | +} | |
| 817 | +@-webkit-keyframes fpFadeOut { | |
| 818 | + from { | |
| 819 | + opacity: 1; | |
| 820 | + } | |
| 821 | + to { | |
| 822 | + opacity: 0; | |
| 823 | + } | |
| 824 | +} | |
| 825 | +@keyframes fpFadeOut { | |
| 826 | + from { | |
| 827 | + opacity: 1; | |
| 828 | + } | |
| 829 | + to { | |
| 830 | + opacity: 0; | |
| 831 | + } | |
| 832 | +} | |
| 833 | +@-webkit-keyframes fpFadeIn { | |
| 834 | + from { | |
| 835 | + opacity: 0; | |
| 836 | + } | |
| 837 | + to { | |
| 838 | + opacity: 1; | |
| 839 | + } | |
| 840 | +} | |
| 841 | +@keyframes fpFadeIn { | |
| 842 | + from { | |
| 843 | + opacity: 0; | |
| 844 | + } | |
| 845 | + to { | |
| 846 | + opacity: 1; | |
| 847 | + } | |
| 848 | +} | |
| 849 | +.flatpickr-calendar { | |
| 850 | + width: 307.875px; | |
| 851 | +} | |
| 852 | +.dayContainer { | |
| 853 | + padding: 0; | |
| 854 | + border-right: 0; | |
| 855 | +} | |
| 856 | +span.flatpickr-day, | |
| 857 | +span.flatpickr-day.prevMonthDay, | |
| 858 | +span.flatpickr-day.nextMonthDay { | |
| 859 | + border-radius: 0 !important; | |
| 860 | + border: 1px solid #e9e9e9; | |
| 861 | + max-width: none; | |
| 862 | + border-right-color: transparent; | |
| 863 | +} | |
| 864 | +span.flatpickr-day:nth-child(n+8), | |
| 865 | +span.flatpickr-day.prevMonthDay:nth-child(n+8), | |
| 866 | +span.flatpickr-day.nextMonthDay:nth-child(n+8) { | |
| 867 | + border-top-color: transparent; | |
| 868 | +} | |
| 869 | +span.flatpickr-day:nth-child(7n-6), | |
| 870 | +span.flatpickr-day.prevMonthDay:nth-child(7n-6), | |
| 871 | +span.flatpickr-day.nextMonthDay:nth-child(7n-6) { | |
| 872 | + border-left: 0; | |
| 873 | +} | |
| 874 | +span.flatpickr-day:nth-child(n+36), | |
| 875 | +span.flatpickr-day.prevMonthDay:nth-child(n+36), | |
| 876 | +span.flatpickr-day.nextMonthDay:nth-child(n+36) { | |
| 877 | + border-bottom: 0; | |
| 878 | +} | |
| 879 | +span.flatpickr-day:nth-child(-n+7), | |
| 880 | +span.flatpickr-day.prevMonthDay:nth-child(-n+7), | |
| 881 | +span.flatpickr-day.nextMonthDay:nth-child(-n+7) { | |
| 882 | + margin-top: 0; | |
| 883 | +} | |
| 884 | +span.flatpickr-day.today:not(.selected), | |
| 885 | +span.flatpickr-day.prevMonthDay.today:not(.selected), | |
| 886 | +span.flatpickr-day.nextMonthDay.today:not(.selected) { | |
| 887 | + border-color: #e9e9e9; | |
| 888 | + border-right-color: transparent; | |
| 889 | + border-top-color: transparent; | |
| 890 | + border-bottom-color: #f64747; | |
| 891 | +} | |
| 892 | +span.flatpickr-day.today:not(.selected):hover, | |
| 893 | +span.flatpickr-day.prevMonthDay.today:not(.selected):hover, | |
| 894 | +span.flatpickr-day.nextMonthDay.today:not(.selected):hover { | |
| 895 | + border: 1px solid #f64747; | |
| 896 | +} | |
| 897 | +span.flatpickr-day.startRange, | |
| 898 | +span.flatpickr-day.prevMonthDay.startRange, | |
| 899 | +span.flatpickr-day.nextMonthDay.startRange, | |
| 900 | +span.flatpickr-day.endRange, | |
| 901 | +span.flatpickr-day.prevMonthDay.endRange, | |
| 902 | +span.flatpickr-day.nextMonthDay.endRange { | |
| 903 | + border-color: #4f99ff; | |
| 904 | +} | |
| 905 | +span.flatpickr-day.today, | |
| 906 | +span.flatpickr-day.prevMonthDay.today, | |
| 907 | +span.flatpickr-day.nextMonthDay.today, | |
| 908 | +span.flatpickr-day.selected, | |
| 909 | +span.flatpickr-day.prevMonthDay.selected, | |
| 910 | +span.flatpickr-day.nextMonthDay.selected { | |
| 911 | + z-index: 2; | |
| 912 | +} | |
| 913 | +.rangeMode .flatpickr-day { | |
| 914 | + margin-top: -1px; | |
| 915 | +} | |
| 916 | +.flatpickr-weekwrapper .flatpickr-weeks { | |
| 917 | + -webkit-box-shadow: none; | |
| 918 | + box-shadow: none; | |
| 919 | +} | |
| 920 | +.flatpickr-weekwrapper span.flatpickr-day { | |
| 921 | + border: 0; | |
| 922 | + margin: -1px 0 0 -1px; | |
| 923 | +} | |
| 924 | +.hasWeeks .flatpickr-days { | |
| 925 | + border-right: 0; | |
| 926 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/flatpickr/themes/confetti.css
0 → 100644
| 1 | +.flatpickr-calendar { | |
| 2 | + background: transparent; | |
| 3 | + overflow: hidden; | |
| 4 | + max-height: 0; | |
| 5 | + opacity: 0; | |
| 6 | + visibility: hidden; | |
| 7 | + text-align: center; | |
| 8 | + padding: 0; | |
| 9 | + -webkit-animation: none; | |
| 10 | + animation: none; | |
| 11 | + direction: ltr; | |
| 12 | + border: 0; | |
| 13 | + font-size: 14px; | |
| 14 | + line-height: 24px; | |
| 15 | + border-radius: 5px; | |
| 16 | + position: absolute; | |
| 17 | + width: 307.875px; | |
| 18 | + -webkit-box-sizing: border-box; | |
| 19 | + box-sizing: border-box; | |
| 20 | + -ms-touch-action: manipulation; | |
| 21 | + touch-action: manipulation; | |
| 22 | + -webkit-box-shadow: 0 3px 13px rgba(0,0,0,0.08); | |
| 23 | + box-shadow: 0 3px 13px rgba(0,0,0,0.08); | |
| 24 | +} | |
| 25 | +.flatpickr-calendar.open, | |
| 26 | +.flatpickr-calendar.inline { | |
| 27 | + opacity: 1; | |
| 28 | + visibility: visible; | |
| 29 | + overflow: visible; | |
| 30 | + max-height: 640px; | |
| 31 | +} | |
| 32 | +.flatpickr-calendar.open { | |
| 33 | + display: inline-block; | |
| 34 | + z-index: 99999; | |
| 35 | +} | |
| 36 | +.flatpickr-calendar.animate.open { | |
| 37 | + -webkit-animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 38 | + animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 39 | +} | |
| 40 | +.flatpickr-calendar.inline { | |
| 41 | + display: block; | |
| 42 | + position: relative; | |
| 43 | + top: 2px; | |
| 44 | +} | |
| 45 | +.flatpickr-calendar.static { | |
| 46 | + position: absolute; | |
| 47 | + top: calc(100% + 2px); | |
| 48 | +} | |
| 49 | +.flatpickr-calendar.static.open { | |
| 50 | + z-index: 999; | |
| 51 | + display: block; | |
| 52 | +} | |
| 53 | +.flatpickr-calendar.hasWeeks { | |
| 54 | + width: auto; | |
| 55 | +} | |
| 56 | +.flatpickr-calendar .hasWeeks .dayContainer, | |
| 57 | +.flatpickr-calendar .hasTime .dayContainer { | |
| 58 | + border-bottom: 0; | |
| 59 | + border-bottom-right-radius: 0; | |
| 60 | + border-bottom-left-radius: 0; | |
| 61 | +} | |
| 62 | +.flatpickr-calendar .hasWeeks .dayContainer { | |
| 63 | + border-left: 0; | |
| 64 | +} | |
| 65 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time { | |
| 66 | + height: 40px; | |
| 67 | + border-top: 1px solid rgba(72,72,72,0.1); | |
| 68 | +} | |
| 69 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-innerContainer { | |
| 70 | + border-bottom: 0; | |
| 71 | +} | |
| 72 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time { | |
| 73 | + border: 1px solid rgba(72,72,72,0.1); | |
| 74 | +} | |
| 75 | +.flatpickr-calendar.noCalendar.hasTime .flatpickr-time { | |
| 76 | + height: auto; | |
| 77 | +} | |
| 78 | +.flatpickr-calendar:before, | |
| 79 | +.flatpickr-calendar:after { | |
| 80 | + position: absolute; | |
| 81 | + display: block; | |
| 82 | + pointer-events: none; | |
| 83 | + border: solid transparent; | |
| 84 | + content: ''; | |
| 85 | + height: 0; | |
| 86 | + width: 0; | |
| 87 | + left: 22px; | |
| 88 | +} | |
| 89 | +.flatpickr-calendar.rightMost:before, | |
| 90 | +.flatpickr-calendar.rightMost:after { | |
| 91 | + left: auto; | |
| 92 | + right: 22px; | |
| 93 | +} | |
| 94 | +.flatpickr-calendar:before { | |
| 95 | + border-width: 5px; | |
| 96 | + margin: 0 -5px; | |
| 97 | +} | |
| 98 | +.flatpickr-calendar:after { | |
| 99 | + border-width: 4px; | |
| 100 | + margin: 0 -4px; | |
| 101 | +} | |
| 102 | +.flatpickr-calendar.arrowTop:before, | |
| 103 | +.flatpickr-calendar.arrowTop:after { | |
| 104 | + bottom: 100%; | |
| 105 | +} | |
| 106 | +.flatpickr-calendar.arrowTop:before { | |
| 107 | + border-bottom-color: rgba(72,72,72,0.1); | |
| 108 | +} | |
| 109 | +.flatpickr-calendar.arrowTop:after { | |
| 110 | + border-bottom-color: #ffb866; | |
| 111 | +} | |
| 112 | +.flatpickr-calendar.arrowBottom:before, | |
| 113 | +.flatpickr-calendar.arrowBottom:after { | |
| 114 | + top: 100%; | |
| 115 | +} | |
| 116 | +.flatpickr-calendar.arrowBottom:before { | |
| 117 | + border-top-color: rgba(72,72,72,0.1); | |
| 118 | +} | |
| 119 | +.flatpickr-calendar.arrowBottom:after { | |
| 120 | + border-top-color: #ffb866; | |
| 121 | +} | |
| 122 | +.flatpickr-calendar:focus { | |
| 123 | + outline: 0; | |
| 124 | +} | |
| 125 | +.flatpickr-wrapper { | |
| 126 | + position: relative; | |
| 127 | + display: inline-block; | |
| 128 | +} | |
| 129 | +.flatpickr-month { | |
| 130 | + border-radius: 5px 5px 0 0; | |
| 131 | + background: #ffb866; | |
| 132 | + color: #fff; | |
| 133 | + fill: #fff; | |
| 134 | + height: 28px; | |
| 135 | + line-height: 1; | |
| 136 | + text-align: center; | |
| 137 | + position: relative; | |
| 138 | + -webkit-user-select: none; | |
| 139 | + -moz-user-select: none; | |
| 140 | + -ms-user-select: none; | |
| 141 | + user-select: none; | |
| 142 | + overflow: hidden; | |
| 143 | +} | |
| 144 | +.flatpickr-prev-month, | |
| 145 | +.flatpickr-next-month { | |
| 146 | + text-decoration: none; | |
| 147 | + cursor: pointer; | |
| 148 | + position: absolute; | |
| 149 | + top: 0px; | |
| 150 | + line-height: 16px; | |
| 151 | + height: 28px; | |
| 152 | + padding: 10px calc(3.57% - 1.5px); | |
| 153 | + z-index: 3; | |
| 154 | +} | |
| 155 | +.flatpickr-prev-month i, | |
| 156 | +.flatpickr-next-month i { | |
| 157 | + position: relative; | |
| 158 | +} | |
| 159 | +.flatpickr-prev-month.flatpickr-prev-month, | |
| 160 | +.flatpickr-next-month.flatpickr-prev-month { | |
| 161 | +/* | |
| 162 | + /*rtl:begin:ignore*/ | |
| 163 | +/* | |
| 164 | + */ | |
| 165 | + left: 0; | |
| 166 | +/* | |
| 167 | + /*rtl:end:ignore*/ | |
| 168 | +/* | |
| 169 | + */ | |
| 170 | +} | |
| 171 | +/* | |
| 172 | + /*rtl:begin:ignore*/ | |
| 173 | +/* | |
| 174 | + /*rtl:end:ignore*/ | |
| 175 | +.flatpickr-prev-month.flatpickr-next-month, | |
| 176 | +.flatpickr-next-month.flatpickr-next-month { | |
| 177 | +/* | |
| 178 | + /*rtl:begin:ignore*/ | |
| 179 | +/* | |
| 180 | + */ | |
| 181 | + right: 0; | |
| 182 | +/* | |
| 183 | + /*rtl:end:ignore*/ | |
| 184 | +/* | |
| 185 | + */ | |
| 186 | +} | |
| 187 | +/* | |
| 188 | + /*rtl:begin:ignore*/ | |
| 189 | +/* | |
| 190 | + /*rtl:end:ignore*/ | |
| 191 | +.flatpickr-prev-month:hover, | |
| 192 | +.flatpickr-next-month:hover { | |
| 193 | + color: #bbb; | |
| 194 | +} | |
| 195 | +.flatpickr-prev-month:hover svg, | |
| 196 | +.flatpickr-next-month:hover svg { | |
| 197 | + fill: #f64747; | |
| 198 | +} | |
| 199 | +.flatpickr-prev-month svg, | |
| 200 | +.flatpickr-next-month svg { | |
| 201 | + width: 14px; | |
| 202 | +} | |
| 203 | +.flatpickr-prev-month svg path, | |
| 204 | +.flatpickr-next-month svg path { | |
| 205 | + -webkit-transition: fill 0.1s; | |
| 206 | + transition: fill 0.1s; | |
| 207 | + fill: inherit; | |
| 208 | +} | |
| 209 | +.numInputWrapper { | |
| 210 | + position: relative; | |
| 211 | + height: auto; | |
| 212 | +} | |
| 213 | +.numInputWrapper input, | |
| 214 | +.numInputWrapper span { | |
| 215 | + display: inline-block; | |
| 216 | +} | |
| 217 | +.numInputWrapper input { | |
| 218 | + width: 100%; | |
| 219 | +} | |
| 220 | +.numInputWrapper span { | |
| 221 | + position: absolute; | |
| 222 | + right: 0; | |
| 223 | + width: 14px; | |
| 224 | + padding: 0 4px 0 2px; | |
| 225 | + height: 50%; | |
| 226 | + line-height: 50%; | |
| 227 | + opacity: 0; | |
| 228 | + cursor: pointer; | |
| 229 | + border: 1px solid rgba(72,72,72,0.05); | |
| 230 | + -webkit-box-sizing: border-box; | |
| 231 | + box-sizing: border-box; | |
| 232 | +} | |
| 233 | +.numInputWrapper span:hover { | |
| 234 | + background: rgba(0,0,0,0.1); | |
| 235 | +} | |
| 236 | +.numInputWrapper span:active { | |
| 237 | + background: rgba(0,0,0,0.2); | |
| 238 | +} | |
| 239 | +.numInputWrapper span:after { | |
| 240 | + display: block; | |
| 241 | + content: ""; | |
| 242 | + position: absolute; | |
| 243 | + top: 33%; | |
| 244 | +} | |
| 245 | +.numInputWrapper span.arrowUp { | |
| 246 | + top: 0; | |
| 247 | + border-bottom: 0; | |
| 248 | +} | |
| 249 | +.numInputWrapper span.arrowUp:after { | |
| 250 | + border-left: 4px solid transparent; | |
| 251 | + border-right: 4px solid transparent; | |
| 252 | + border-bottom: 4px solid rgba(72,72,72,0.6); | |
| 253 | +} | |
| 254 | +.numInputWrapper span.arrowDown { | |
| 255 | + top: 50%; | |
| 256 | +} | |
| 257 | +.numInputWrapper span.arrowDown:after { | |
| 258 | + border-left: 4px solid transparent; | |
| 259 | + border-right: 4px solid transparent; | |
| 260 | + border-top: 4px solid rgba(72,72,72,0.6); | |
| 261 | +} | |
| 262 | +.numInputWrapper span svg { | |
| 263 | + width: inherit; | |
| 264 | + height: auto; | |
| 265 | +} | |
| 266 | +.numInputWrapper span svg path { | |
| 267 | + fill: rgba(255,255,255,0.5); | |
| 268 | +} | |
| 269 | +.numInputWrapper:hover { | |
| 270 | + background: rgba(0,0,0,0.05); | |
| 271 | +} | |
| 272 | +.numInputWrapper:hover span { | |
| 273 | + opacity: 1; | |
| 274 | +} | |
| 275 | +.flatpickr-current-month { | |
| 276 | + font-size: 135%; | |
| 277 | + line-height: inherit; | |
| 278 | + font-weight: 300; | |
| 279 | + color: inherit; | |
| 280 | + position: absolute; | |
| 281 | + width: 75%; | |
| 282 | + left: 12.5%; | |
| 283 | + padding: 6.16px 0 0 0; | |
| 284 | + line-height: 1; | |
| 285 | + height: 28px; | |
| 286 | + display: inline-block; | |
| 287 | + text-align: center; | |
| 288 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 289 | + transform: translate3d(0px, 0px, 0px); | |
| 290 | +} | |
| 291 | +.flatpickr-current-month.slideLeft { | |
| 292 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 293 | + transform: translate3d(-100%, 0px, 0px); | |
| 294 | + -webkit-animation: fpFadeOut 400ms ease, fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 295 | + animation: fpFadeOut 400ms ease, fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 296 | +} | |
| 297 | +.flatpickr-current-month.slideLeftNew { | |
| 298 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 299 | + transform: translate3d(100%, 0px, 0px); | |
| 300 | + -webkit-animation: fpFadeIn 400ms ease, fpSlideLeftNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 301 | + animation: fpFadeIn 400ms ease, fpSlideLeftNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 302 | +} | |
| 303 | +.flatpickr-current-month.slideRight { | |
| 304 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 305 | + transform: translate3d(100%, 0px, 0px); | |
| 306 | + -webkit-animation: fpFadeOut 400ms ease, fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 307 | + animation: fpFadeOut 400ms ease, fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 308 | +} | |
| 309 | +.flatpickr-current-month.slideRightNew { | |
| 310 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 311 | + transform: translate3d(0, 0, 0px); | |
| 312 | + -webkit-animation: fpFadeIn 400ms ease, fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 313 | + animation: fpFadeIn 400ms ease, fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 314 | +} | |
| 315 | +.flatpickr-current-month span.cur-month { | |
| 316 | + font-family: inherit; | |
| 317 | + font-weight: 700; | |
| 318 | + color: inherit; | |
| 319 | + display: inline-block; | |
| 320 | + margin-left: 0.5ch; | |
| 321 | + padding: 0; | |
| 322 | +} | |
| 323 | +.flatpickr-current-month span.cur-month:hover { | |
| 324 | + background: rgba(0,0,0,0.05); | |
| 325 | +} | |
| 326 | +.flatpickr-current-month .numInputWrapper { | |
| 327 | + width: 6ch; | |
| 328 | + width: 7ch\0; | |
| 329 | + display: inline-block; | |
| 330 | +} | |
| 331 | +.flatpickr-current-month .numInputWrapper span.arrowUp:after { | |
| 332 | + border-bottom-color: #fff; | |
| 333 | +} | |
| 334 | +.flatpickr-current-month .numInputWrapper span.arrowDown:after { | |
| 335 | + border-top-color: #fff; | |
| 336 | +} | |
| 337 | +.flatpickr-current-month input.cur-year { | |
| 338 | + background: transparent; | |
| 339 | + -webkit-box-sizing: border-box; | |
| 340 | + box-sizing: border-box; | |
| 341 | + color: inherit; | |
| 342 | + cursor: default; | |
| 343 | + padding: 0 0 0 0.5ch; | |
| 344 | + margin: 0; | |
| 345 | + display: inline-block; | |
| 346 | + font-size: inherit; | |
| 347 | + font-family: inherit; | |
| 348 | + font-weight: 300; | |
| 349 | + line-height: inherit; | |
| 350 | + height: initial; | |
| 351 | + border: 0; | |
| 352 | + border-radius: 0; | |
| 353 | + vertical-align: initial; | |
| 354 | +} | |
| 355 | +.flatpickr-current-month input.cur-year:focus { | |
| 356 | + outline: 0; | |
| 357 | +} | |
| 358 | +.flatpickr-current-month input.cur-year[disabled], | |
| 359 | +.flatpickr-current-month input.cur-year[disabled]:hover { | |
| 360 | + font-size: 100%; | |
| 361 | + color: rgba(255,255,255,0.5); | |
| 362 | + background: transparent; | |
| 363 | + pointer-events: none; | |
| 364 | +} | |
| 365 | +.flatpickr-weekdays { | |
| 366 | + background: #ffb866; | |
| 367 | + text-align: center; | |
| 368 | + overflow: hidden; | |
| 369 | + width: 100%; | |
| 370 | + display: -webkit-box; | |
| 371 | + display: -webkit-flex; | |
| 372 | + display: -ms-flexbox; | |
| 373 | + display: flex; | |
| 374 | + -webkit-box-align: center; | |
| 375 | + -webkit-align-items: center; | |
| 376 | + -ms-flex-align: center; | |
| 377 | + align-items: center; | |
| 378 | + height: 28px; | |
| 379 | +} | |
| 380 | +span.flatpickr-weekday { | |
| 381 | + cursor: default; | |
| 382 | + font-size: 90%; | |
| 383 | + background: #ffb866; | |
| 384 | + color: rgba(0,0,0,0.54); | |
| 385 | + line-height: 1; | |
| 386 | + margin: 0; | |
| 387 | + text-align: center; | |
| 388 | + display: block; | |
| 389 | + -webkit-box-flex: 1; | |
| 390 | + -webkit-flex: 1; | |
| 391 | + -ms-flex: 1; | |
| 392 | + flex: 1; | |
| 393 | + font-weight: bolder; | |
| 394 | +} | |
| 395 | +.dayContainer, | |
| 396 | +.flatpickr-weeks { | |
| 397 | + padding: 1px 0 0 0; | |
| 398 | +} | |
| 399 | +.flatpickr-days { | |
| 400 | + position: relative; | |
| 401 | + overflow: hidden; | |
| 402 | + display: -webkit-box; | |
| 403 | + display: -webkit-flex; | |
| 404 | + display: -ms-flexbox; | |
| 405 | + display: flex; | |
| 406 | + width: 307.875px; | |
| 407 | + border-left: 1px solid rgba(72,72,72,0.1); | |
| 408 | + border-right: 1px solid rgba(72,72,72,0.1); | |
| 409 | +} | |
| 410 | +.flatpickr-days:focus { | |
| 411 | + outline: 0; | |
| 412 | +} | |
| 413 | +.dayContainer { | |
| 414 | + padding: 0; | |
| 415 | + outline: 0; | |
| 416 | + text-align: left; | |
| 417 | + width: 307.875px; | |
| 418 | + min-width: 307.875px; | |
| 419 | + max-width: 307.875px; | |
| 420 | + -webkit-box-sizing: border-box; | |
| 421 | + box-sizing: border-box; | |
| 422 | + display: inline-block; | |
| 423 | + display: -ms-flexbox; | |
| 424 | + display: -webkit-box; | |
| 425 | + display: -webkit-flex; | |
| 426 | + display: flex; | |
| 427 | + -webkit-flex-wrap: wrap; | |
| 428 | + flex-wrap: wrap; | |
| 429 | + -ms-flex-wrap: wrap; | |
| 430 | + -ms-flex-pack: justify; | |
| 431 | + -webkit-justify-content: space-around; | |
| 432 | + justify-content: space-around; | |
| 433 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 434 | + transform: translate3d(0px, 0px, 0px); | |
| 435 | + opacity: 1; | |
| 436 | +} | |
| 437 | +.flatpickr-calendar.animate .dayContainer.slideLeft { | |
| 438 | + -webkit-animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 439 | + animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 440 | +} | |
| 441 | +.flatpickr-calendar.animate .dayContainer.slideLeft, | |
| 442 | +.flatpickr-calendar.animate .dayContainer.slideLeftNew { | |
| 443 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 444 | + transform: translate3d(-100%, 0px, 0px); | |
| 445 | +} | |
| 446 | +.flatpickr-calendar.animate .dayContainer.slideLeftNew { | |
| 447 | + -webkit-animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 448 | + animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 449 | +} | |
| 450 | +.flatpickr-calendar.animate .dayContainer.slideRight { | |
| 451 | + -webkit-animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 452 | + animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 453 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 454 | + transform: translate3d(100%, 0px, 0px); | |
| 455 | +} | |
| 456 | +.flatpickr-calendar.animate .dayContainer.slideRightNew { | |
| 457 | + -webkit-animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 458 | + animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 459 | +} | |
| 460 | +.flatpickr-day { | |
| 461 | + background: none; | |
| 462 | + border: 1px solid transparent; | |
| 463 | + border-radius: 150px; | |
| 464 | + -webkit-box-sizing: border-box; | |
| 465 | + box-sizing: border-box; | |
| 466 | + color: #484848; | |
| 467 | + cursor: pointer; | |
| 468 | + font-weight: 400; | |
| 469 | + width: 14.2857143%; | |
| 470 | + -webkit-flex-basis: 14.2857143%; | |
| 471 | + -ms-flex-preferred-size: 14.2857143%; | |
| 472 | + flex-basis: 14.2857143%; | |
| 473 | + max-width: 39px; | |
| 474 | + height: 39px; | |
| 475 | + line-height: 39px; | |
| 476 | + margin: 0; | |
| 477 | + display: inline-block; | |
| 478 | + position: relative; | |
| 479 | + -webkit-box-pack: center; | |
| 480 | + -webkit-justify-content: center; | |
| 481 | + -ms-flex-pack: center; | |
| 482 | + justify-content: center; | |
| 483 | + text-align: center; | |
| 484 | +} | |
| 485 | +.flatpickr-day.inRange, | |
| 486 | +.flatpickr-day.prevMonthDay.inRange, | |
| 487 | +.flatpickr-day.nextMonthDay.inRange, | |
| 488 | +.flatpickr-day.today.inRange, | |
| 489 | +.flatpickr-day.prevMonthDay.today.inRange, | |
| 490 | +.flatpickr-day.nextMonthDay.today.inRange, | |
| 491 | +.flatpickr-day:hover, | |
| 492 | +.flatpickr-day.prevMonthDay:hover, | |
| 493 | +.flatpickr-day.nextMonthDay:hover, | |
| 494 | +.flatpickr-day:focus, | |
| 495 | +.flatpickr-day.prevMonthDay:focus, | |
| 496 | +.flatpickr-day.nextMonthDay:focus { | |
| 497 | + cursor: pointer; | |
| 498 | + outline: 0; | |
| 499 | + background: #e2e2e2; | |
| 500 | + border-color: #e2e2e2; | |
| 501 | +} | |
| 502 | +.flatpickr-day.today { | |
| 503 | + border-color: #bbb; | |
| 504 | +} | |
| 505 | +.flatpickr-day.today:hover, | |
| 506 | +.flatpickr-day.today:focus { | |
| 507 | + border-color: #bbb; | |
| 508 | + background: #bbb; | |
| 509 | + color: #fff; | |
| 510 | +} | |
| 511 | +.flatpickr-day.selected, | |
| 512 | +.flatpickr-day.startRange, | |
| 513 | +.flatpickr-day.endRange, | |
| 514 | +.flatpickr-day.selected.inRange, | |
| 515 | +.flatpickr-day.startRange.inRange, | |
| 516 | +.flatpickr-day.endRange.inRange, | |
| 517 | +.flatpickr-day.selected:focus, | |
| 518 | +.flatpickr-day.startRange:focus, | |
| 519 | +.flatpickr-day.endRange:focus, | |
| 520 | +.flatpickr-day.selected:hover, | |
| 521 | +.flatpickr-day.startRange:hover, | |
| 522 | +.flatpickr-day.endRange:hover, | |
| 523 | +.flatpickr-day.selected.prevMonthDay, | |
| 524 | +.flatpickr-day.startRange.prevMonthDay, | |
| 525 | +.flatpickr-day.endRange.prevMonthDay, | |
| 526 | +.flatpickr-day.selected.nextMonthDay, | |
| 527 | +.flatpickr-day.startRange.nextMonthDay, | |
| 528 | +.flatpickr-day.endRange.nextMonthDay { | |
| 529 | + background: #ffb866; | |
| 530 | + -webkit-box-shadow: none; | |
| 531 | + box-shadow: none; | |
| 532 | + color: #fff; | |
| 533 | + border-color: #ffb866; | |
| 534 | +} | |
| 535 | +.flatpickr-day.selected.startRange, | |
| 536 | +.flatpickr-day.startRange.startRange, | |
| 537 | +.flatpickr-day.endRange.startRange { | |
| 538 | + border-radius: 50px 0 0 50px; | |
| 539 | +} | |
| 540 | +.flatpickr-day.selected.endRange, | |
| 541 | +.flatpickr-day.startRange.endRange, | |
| 542 | +.flatpickr-day.endRange.endRange { | |
| 543 | + border-radius: 0 50px 50px 0; | |
| 544 | +} | |
| 545 | +.flatpickr-day.selected.startRange + .endRange, | |
| 546 | +.flatpickr-day.startRange.startRange + .endRange, | |
| 547 | +.flatpickr-day.endRange.startRange + .endRange { | |
| 548 | + -webkit-box-shadow: -10px 0 0 #ffb866; | |
| 549 | + box-shadow: -10px 0 0 #ffb866; | |
| 550 | +} | |
| 551 | +.flatpickr-day.selected.startRange.endRange, | |
| 552 | +.flatpickr-day.startRange.startRange.endRange, | |
| 553 | +.flatpickr-day.endRange.startRange.endRange { | |
| 554 | + border-radius: 50px; | |
| 555 | +} | |
| 556 | +.flatpickr-day.inRange { | |
| 557 | + border-radius: 0; | |
| 558 | + -webkit-box-shadow: -5px 0 0 #e2e2e2, 5px 0 0 #e2e2e2; | |
| 559 | + box-shadow: -5px 0 0 #e2e2e2, 5px 0 0 #e2e2e2; | |
| 560 | +} | |
| 561 | +.flatpickr-day.disabled, | |
| 562 | +.flatpickr-day.disabled:hover { | |
| 563 | + pointer-events: none; | |
| 564 | +} | |
| 565 | +.flatpickr-day.disabled, | |
| 566 | +.flatpickr-day.disabled:hover, | |
| 567 | +.flatpickr-day.prevMonthDay, | |
| 568 | +.flatpickr-day.nextMonthDay, | |
| 569 | +.flatpickr-day.notAllowed, | |
| 570 | +.flatpickr-day.notAllowed.prevMonthDay, | |
| 571 | +.flatpickr-day.notAllowed.nextMonthDay { | |
| 572 | + color: rgba(72,72,72,0.3); | |
| 573 | + background: transparent; | |
| 574 | + border-color: transparent; | |
| 575 | + cursor: default; | |
| 576 | +} | |
| 577 | +.flatpickr-day.week.selected { | |
| 578 | + border-radius: 0; | |
| 579 | + -webkit-box-shadow: -5px 0 0 #ffb866, 5px 0 0 #ffb866; | |
| 580 | + box-shadow: -5px 0 0 #ffb866, 5px 0 0 #ffb866; | |
| 581 | +} | |
| 582 | +.rangeMode .flatpickr-day { | |
| 583 | + margin-top: 1px; | |
| 584 | +} | |
| 585 | +.flatpickr-weekwrapper { | |
| 586 | + display: inline-block; | |
| 587 | + float: left; | |
| 588 | +} | |
| 589 | +.flatpickr-weekwrapper .flatpickr-weeks { | |
| 590 | + padding: 0 12px; | |
| 591 | + border-left: 1px solid rgba(72,72,72,0.1); | |
| 592 | +} | |
| 593 | +.flatpickr-weekwrapper .flatpickr-weekday { | |
| 594 | + float: none; | |
| 595 | + width: 100%; | |
| 596 | + line-height: 28px; | |
| 597 | +} | |
| 598 | +.flatpickr-weekwrapper span.flatpickr-day { | |
| 599 | + display: block; | |
| 600 | + width: 100%; | |
| 601 | + max-width: none; | |
| 602 | +} | |
| 603 | +.flatpickr-innerContainer { | |
| 604 | + display: block; | |
| 605 | + display: -webkit-box; | |
| 606 | + display: -webkit-flex; | |
| 607 | + display: -ms-flexbox; | |
| 608 | + display: flex; | |
| 609 | + -webkit-box-sizing: border-box; | |
| 610 | + box-sizing: border-box; | |
| 611 | + overflow: hidden; | |
| 612 | + background: #fff; | |
| 613 | + border-bottom: 1px solid rgba(72,72,72,0.1); | |
| 614 | +} | |
| 615 | +.flatpickr-rContainer { | |
| 616 | + display: inline-block; | |
| 617 | + padding: 0; | |
| 618 | + -webkit-box-sizing: border-box; | |
| 619 | + box-sizing: border-box; | |
| 620 | +} | |
| 621 | +.flatpickr-time { | |
| 622 | + text-align: center; | |
| 623 | + outline: 0; | |
| 624 | + display: block; | |
| 625 | + height: 0; | |
| 626 | + line-height: 40px; | |
| 627 | + max-height: 40px; | |
| 628 | + -webkit-box-sizing: border-box; | |
| 629 | + box-sizing: border-box; | |
| 630 | + overflow: hidden; | |
| 631 | + display: -webkit-box; | |
| 632 | + display: -webkit-flex; | |
| 633 | + display: -ms-flexbox; | |
| 634 | + display: flex; | |
| 635 | + background: #fff; | |
| 636 | + border-radius: 0 0 5px 5px; | |
| 637 | +} | |
| 638 | +.flatpickr-time:after { | |
| 639 | + content: ""; | |
| 640 | + display: table; | |
| 641 | + clear: both; | |
| 642 | +} | |
| 643 | +.flatpickr-time .numInputWrapper { | |
| 644 | + -webkit-box-flex: 1; | |
| 645 | + -webkit-flex: 1; | |
| 646 | + -ms-flex: 1; | |
| 647 | + flex: 1; | |
| 648 | + width: 40%; | |
| 649 | + height: 40px; | |
| 650 | + float: left; | |
| 651 | +} | |
| 652 | +.flatpickr-time .numInputWrapper span.arrowUp:after { | |
| 653 | + border-bottom-color: #484848; | |
| 654 | +} | |
| 655 | +.flatpickr-time .numInputWrapper span.arrowDown:after { | |
| 656 | + border-top-color: #484848; | |
| 657 | +} | |
| 658 | +.flatpickr-time.hasSeconds .numInputWrapper { | |
| 659 | + width: 26%; | |
| 660 | +} | |
| 661 | +.flatpickr-time.time24hr .numInputWrapper { | |
| 662 | + width: 49%; | |
| 663 | +} | |
| 664 | +.flatpickr-time input { | |
| 665 | + background: transparent; | |
| 666 | + -webkit-box-shadow: none; | |
| 667 | + box-shadow: none; | |
| 668 | + border: 0; | |
| 669 | + border-radius: 0; | |
| 670 | + text-align: center; | |
| 671 | + margin: 0; | |
| 672 | + padding: 0; | |
| 673 | + height: inherit; | |
| 674 | + line-height: inherit; | |
| 675 | + cursor: pointer; | |
| 676 | + color: #484848; | |
| 677 | + font-size: 14px; | |
| 678 | + position: relative; | |
| 679 | + -webkit-box-sizing: border-box; | |
| 680 | + box-sizing: border-box; | |
| 681 | +} | |
| 682 | +.flatpickr-time input.flatpickr-hour { | |
| 683 | + font-weight: bold; | |
| 684 | +} | |
| 685 | +.flatpickr-time input.flatpickr-minute, | |
| 686 | +.flatpickr-time input.flatpickr-second { | |
| 687 | + font-weight: 400; | |
| 688 | +} | |
| 689 | +.flatpickr-time input:focus { | |
| 690 | + outline: 0; | |
| 691 | + border: 0; | |
| 692 | +} | |
| 693 | +.flatpickr-time .flatpickr-time-separator, | |
| 694 | +.flatpickr-time .flatpickr-am-pm { | |
| 695 | + height: inherit; | |
| 696 | + display: inline-block; | |
| 697 | + float: left; | |
| 698 | + line-height: inherit; | |
| 699 | + color: #484848; | |
| 700 | + font-weight: bold; | |
| 701 | + width: 2%; | |
| 702 | + -webkit-user-select: none; | |
| 703 | + -moz-user-select: none; | |
| 704 | + -ms-user-select: none; | |
| 705 | + user-select: none; | |
| 706 | + -webkit-align-self: center; | |
| 707 | + -ms-flex-item-align: center; | |
| 708 | + align-self: center; | |
| 709 | +} | |
| 710 | +.flatpickr-time .flatpickr-am-pm { | |
| 711 | + outline: 0; | |
| 712 | + width: 18%; | |
| 713 | + cursor: pointer; | |
| 714 | + text-align: center; | |
| 715 | + font-weight: 400; | |
| 716 | +} | |
| 717 | +.flatpickr-time .flatpickr-am-pm:hover, | |
| 718 | +.flatpickr-time .flatpickr-am-pm:focus { | |
| 719 | + background: #ececec; | |
| 720 | +} | |
| 721 | +.flatpickr-input[readonly] { | |
| 722 | + cursor: pointer; | |
| 723 | +} | |
| 724 | +@-webkit-keyframes fpFadeInDown { | |
| 725 | + from { | |
| 726 | + opacity: 0; | |
| 727 | + -webkit-transform: translate3d(0, -20px, 0); | |
| 728 | + transform: translate3d(0, -20px, 0); | |
| 729 | + } | |
| 730 | + to { | |
| 731 | + opacity: 1; | |
| 732 | + -webkit-transform: translate3d(0, 0, 0); | |
| 733 | + transform: translate3d(0, 0, 0); | |
| 734 | + } | |
| 735 | +} | |
| 736 | +@keyframes fpFadeInDown { | |
| 737 | + from { | |
| 738 | + opacity: 0; | |
| 739 | + -webkit-transform: translate3d(0, -20px, 0); | |
| 740 | + transform: translate3d(0, -20px, 0); | |
| 741 | + } | |
| 742 | + to { | |
| 743 | + opacity: 1; | |
| 744 | + -webkit-transform: translate3d(0, 0, 0); | |
| 745 | + transform: translate3d(0, 0, 0); | |
| 746 | + } | |
| 747 | +} | |
| 748 | +@-webkit-keyframes fpSlideLeft { | |
| 749 | + from { | |
| 750 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 751 | + transform: translate3d(0px, 0px, 0px); | |
| 752 | + } | |
| 753 | + to { | |
| 754 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 755 | + transform: translate3d(-100%, 0px, 0px); | |
| 756 | + } | |
| 757 | +} | |
| 758 | +@keyframes fpSlideLeft { | |
| 759 | + from { | |
| 760 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 761 | + transform: translate3d(0px, 0px, 0px); | |
| 762 | + } | |
| 763 | + to { | |
| 764 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 765 | + transform: translate3d(-100%, 0px, 0px); | |
| 766 | + } | |
| 767 | +} | |
| 768 | +@-webkit-keyframes fpSlideLeftNew { | |
| 769 | + from { | |
| 770 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 771 | + transform: translate3d(100%, 0px, 0px); | |
| 772 | + } | |
| 773 | + to { | |
| 774 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 775 | + transform: translate3d(0px, 0px, 0px); | |
| 776 | + } | |
| 777 | +} | |
| 778 | +@keyframes fpSlideLeftNew { | |
| 779 | + from { | |
| 780 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 781 | + transform: translate3d(100%, 0px, 0px); | |
| 782 | + } | |
| 783 | + to { | |
| 784 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 785 | + transform: translate3d(0px, 0px, 0px); | |
| 786 | + } | |
| 787 | +} | |
| 788 | +@-webkit-keyframes fpSlideRight { | |
| 789 | + from { | |
| 790 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 791 | + transform: translate3d(0, 0, 0px); | |
| 792 | + } | |
| 793 | + to { | |
| 794 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 795 | + transform: translate3d(100%, 0px, 0px); | |
| 796 | + } | |
| 797 | +} | |
| 798 | +@keyframes fpSlideRight { | |
| 799 | + from { | |
| 800 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 801 | + transform: translate3d(0, 0, 0px); | |
| 802 | + } | |
| 803 | + to { | |
| 804 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 805 | + transform: translate3d(100%, 0px, 0px); | |
| 806 | + } | |
| 807 | +} | |
| 808 | +@-webkit-keyframes fpSlideRightNew { | |
| 809 | + from { | |
| 810 | + -webkit-transform: translate3d(-100%, 0, 0px); | |
| 811 | + transform: translate3d(-100%, 0, 0px); | |
| 812 | + } | |
| 813 | + to { | |
| 814 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 815 | + transform: translate3d(0, 0, 0px); | |
| 816 | + } | |
| 817 | +} | |
| 818 | +@keyframes fpSlideRightNew { | |
| 819 | + from { | |
| 820 | + -webkit-transform: translate3d(-100%, 0, 0px); | |
| 821 | + transform: translate3d(-100%, 0, 0px); | |
| 822 | + } | |
| 823 | + to { | |
| 824 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 825 | + transform: translate3d(0, 0, 0px); | |
| 826 | + } | |
| 827 | +} | |
| 828 | +@-webkit-keyframes fpFadeOut { | |
| 829 | + from { | |
| 830 | + opacity: 1; | |
| 831 | + } | |
| 832 | + to { | |
| 833 | + opacity: 0; | |
| 834 | + } | |
| 835 | +} | |
| 836 | +@keyframes fpFadeOut { | |
| 837 | + from { | |
| 838 | + opacity: 1; | |
| 839 | + } | |
| 840 | + to { | |
| 841 | + opacity: 0; | |
| 842 | + } | |
| 843 | +} | |
| 844 | +@-webkit-keyframes fpFadeIn { | |
| 845 | + from { | |
| 846 | + opacity: 0; | |
| 847 | + } | |
| 848 | + to { | |
| 849 | + opacity: 1; | |
| 850 | + } | |
| 851 | +} | |
| 852 | +@keyframes fpFadeIn { | |
| 853 | + from { | |
| 854 | + opacity: 0; | |
| 855 | + } | |
| 856 | + to { | |
| 857 | + opacity: 1; | |
| 858 | + } | |
| 859 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/flatpickr/themes/dark.css
0 → 100644
| 1 | +.flatpickr-calendar { | |
| 2 | + background: transparent; | |
| 3 | + overflow: hidden; | |
| 4 | + max-height: 0; | |
| 5 | + opacity: 0; | |
| 6 | + visibility: hidden; | |
| 7 | + text-align: center; | |
| 8 | + padding: 0; | |
| 9 | + -webkit-animation: none; | |
| 10 | + animation: none; | |
| 11 | + direction: ltr; | |
| 12 | + border: 0; | |
| 13 | + font-size: 14px; | |
| 14 | + line-height: 24px; | |
| 15 | + border-radius: 5px; | |
| 16 | + position: absolute; | |
| 17 | + width: 307.875px; | |
| 18 | + -webkit-box-sizing: border-box; | |
| 19 | + box-sizing: border-box; | |
| 20 | + -ms-touch-action: manipulation; | |
| 21 | + touch-action: manipulation; | |
| 22 | + background: rgba(63,68,88,0.95); | |
| 23 | + -webkit-box-shadow: 1px 0 0 #3f4458, -1px 0 0 #3f4458, 0 1px 0 #3f4458, 0 -1px 0 #3f4458, 0 3px 13px rgba(0,0,0,0.08); | |
| 24 | + box-shadow: 1px 0 0 #3f4458, -1px 0 0 #3f4458, 0 1px 0 #3f4458, 0 -1px 0 #3f4458, 0 3px 13px rgba(0,0,0,0.08); | |
| 25 | +} | |
| 26 | +.flatpickr-calendar.open, | |
| 27 | +.flatpickr-calendar.inline { | |
| 28 | + opacity: 1; | |
| 29 | + visibility: visible; | |
| 30 | + overflow: visible; | |
| 31 | + max-height: 640px; | |
| 32 | +} | |
| 33 | +.flatpickr-calendar.open { | |
| 34 | + display: inline-block; | |
| 35 | + z-index: 99999; | |
| 36 | +} | |
| 37 | +.flatpickr-calendar.animate.open { | |
| 38 | + -webkit-animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 39 | + animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 40 | +} | |
| 41 | +.flatpickr-calendar.inline { | |
| 42 | + display: block; | |
| 43 | + position: relative; | |
| 44 | + top: 2px; | |
| 45 | +} | |
| 46 | +.flatpickr-calendar.static { | |
| 47 | + position: absolute; | |
| 48 | + top: calc(100% + 2px); | |
| 49 | +} | |
| 50 | +.flatpickr-calendar.static.open { | |
| 51 | + z-index: 999; | |
| 52 | + display: block; | |
| 53 | +} | |
| 54 | +.flatpickr-calendar.hasWeeks { | |
| 55 | + width: auto; | |
| 56 | +} | |
| 57 | +.flatpickr-calendar .hasWeeks .dayContainer, | |
| 58 | +.flatpickr-calendar .hasTime .dayContainer { | |
| 59 | + border-bottom: 0; | |
| 60 | + border-bottom-right-radius: 0; | |
| 61 | + border-bottom-left-radius: 0; | |
| 62 | +} | |
| 63 | +.flatpickr-calendar .hasWeeks .dayContainer { | |
| 64 | + border-left: 0; | |
| 65 | +} | |
| 66 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time { | |
| 67 | + height: 40px; | |
| 68 | + border-top: 1px solid #3f4458; | |
| 69 | +} | |
| 70 | +.flatpickr-calendar.noCalendar.hasTime .flatpickr-time { | |
| 71 | + height: auto; | |
| 72 | +} | |
| 73 | +.flatpickr-calendar:before, | |
| 74 | +.flatpickr-calendar:after { | |
| 75 | + position: absolute; | |
| 76 | + display: block; | |
| 77 | + pointer-events: none; | |
| 78 | + border: solid transparent; | |
| 79 | + content: ''; | |
| 80 | + height: 0; | |
| 81 | + width: 0; | |
| 82 | + left: 22px; | |
| 83 | +} | |
| 84 | +.flatpickr-calendar.rightMost:before, | |
| 85 | +.flatpickr-calendar.rightMost:after { | |
| 86 | + left: auto; | |
| 87 | + right: 22px; | |
| 88 | +} | |
| 89 | +.flatpickr-calendar:before { | |
| 90 | + border-width: 5px; | |
| 91 | + margin: 0 -5px; | |
| 92 | +} | |
| 93 | +.flatpickr-calendar:after { | |
| 94 | + border-width: 4px; | |
| 95 | + margin: 0 -4px; | |
| 96 | +} | |
| 97 | +.flatpickr-calendar.arrowTop:before, | |
| 98 | +.flatpickr-calendar.arrowTop:after { | |
| 99 | + bottom: 100%; | |
| 100 | +} | |
| 101 | +.flatpickr-calendar.arrowTop:before { | |
| 102 | + border-bottom-color: #3f4458; | |
| 103 | +} | |
| 104 | +.flatpickr-calendar.arrowTop:after { | |
| 105 | + border-bottom-color: rgba(63,68,88,0.95); | |
| 106 | +} | |
| 107 | +.flatpickr-calendar.arrowBottom:before, | |
| 108 | +.flatpickr-calendar.arrowBottom:after { | |
| 109 | + top: 100%; | |
| 110 | +} | |
| 111 | +.flatpickr-calendar.arrowBottom:before { | |
| 112 | + border-top-color: #3f4458; | |
| 113 | +} | |
| 114 | +.flatpickr-calendar.arrowBottom:after { | |
| 115 | + border-top-color: rgba(63,68,88,0.95); | |
| 116 | +} | |
| 117 | +.flatpickr-calendar:focus { | |
| 118 | + outline: 0; | |
| 119 | +} | |
| 120 | +.flatpickr-wrapper { | |
| 121 | + position: relative; | |
| 122 | + display: inline-block; | |
| 123 | +} | |
| 124 | +.flatpickr-month { | |
| 125 | + background: transparent; | |
| 126 | + color: #fff; | |
| 127 | + fill: #fff; | |
| 128 | + height: 28px; | |
| 129 | + line-height: 1; | |
| 130 | + text-align: center; | |
| 131 | + position: relative; | |
| 132 | + -webkit-user-select: none; | |
| 133 | + -moz-user-select: none; | |
| 134 | + -ms-user-select: none; | |
| 135 | + user-select: none; | |
| 136 | + overflow: hidden; | |
| 137 | +} | |
| 138 | +.flatpickr-prev-month, | |
| 139 | +.flatpickr-next-month { | |
| 140 | + text-decoration: none; | |
| 141 | + cursor: pointer; | |
| 142 | + position: absolute; | |
| 143 | + top: 0px; | |
| 144 | + line-height: 16px; | |
| 145 | + height: 28px; | |
| 146 | + padding: 10px calc(3.57% - 1.5px); | |
| 147 | + z-index: 3; | |
| 148 | +} | |
| 149 | +.flatpickr-prev-month i, | |
| 150 | +.flatpickr-next-month i { | |
| 151 | + position: relative; | |
| 152 | +} | |
| 153 | +.flatpickr-prev-month.flatpickr-prev-month, | |
| 154 | +.flatpickr-next-month.flatpickr-prev-month { | |
| 155 | +/* | |
| 156 | + /*rtl:begin:ignore*/ | |
| 157 | +/* | |
| 158 | + */ | |
| 159 | + left: 0; | |
| 160 | +/* | |
| 161 | + /*rtl:end:ignore*/ | |
| 162 | +/* | |
| 163 | + */ | |
| 164 | +} | |
| 165 | +/* | |
| 166 | + /*rtl:begin:ignore*/ | |
| 167 | +/* | |
| 168 | + /*rtl:end:ignore*/ | |
| 169 | +.flatpickr-prev-month.flatpickr-next-month, | |
| 170 | +.flatpickr-next-month.flatpickr-next-month { | |
| 171 | +/* | |
| 172 | + /*rtl:begin:ignore*/ | |
| 173 | +/* | |
| 174 | + */ | |
| 175 | + right: 0; | |
| 176 | +/* | |
| 177 | + /*rtl:end:ignore*/ | |
| 178 | +/* | |
| 179 | + */ | |
| 180 | +} | |
| 181 | +/* | |
| 182 | + /*rtl:begin:ignore*/ | |
| 183 | +/* | |
| 184 | + /*rtl:end:ignore*/ | |
| 185 | +.flatpickr-prev-month:hover, | |
| 186 | +.flatpickr-next-month:hover { | |
| 187 | + color: #eee; | |
| 188 | +} | |
| 189 | +.flatpickr-prev-month:hover svg, | |
| 190 | +.flatpickr-next-month:hover svg { | |
| 191 | + fill: #f64747; | |
| 192 | +} | |
| 193 | +.flatpickr-prev-month svg, | |
| 194 | +.flatpickr-next-month svg { | |
| 195 | + width: 14px; | |
| 196 | +} | |
| 197 | +.flatpickr-prev-month svg path, | |
| 198 | +.flatpickr-next-month svg path { | |
| 199 | + -webkit-transition: fill 0.1s; | |
| 200 | + transition: fill 0.1s; | |
| 201 | + fill: inherit; | |
| 202 | +} | |
| 203 | +.numInputWrapper { | |
| 204 | + position: relative; | |
| 205 | + height: auto; | |
| 206 | +} | |
| 207 | +.numInputWrapper input, | |
| 208 | +.numInputWrapper span { | |
| 209 | + display: inline-block; | |
| 210 | +} | |
| 211 | +.numInputWrapper input { | |
| 212 | + width: 100%; | |
| 213 | +} | |
| 214 | +.numInputWrapper span { | |
| 215 | + position: absolute; | |
| 216 | + right: 0; | |
| 217 | + width: 14px; | |
| 218 | + padding: 0 4px 0 2px; | |
| 219 | + height: 50%; | |
| 220 | + line-height: 50%; | |
| 221 | + opacity: 0; | |
| 222 | + cursor: pointer; | |
| 223 | + border: 1px solid rgba(255,255,255,0.05); | |
| 224 | + -webkit-box-sizing: border-box; | |
| 225 | + box-sizing: border-box; | |
| 226 | +} | |
| 227 | +.numInputWrapper span:hover { | |
| 228 | + background: rgba(192,187,167,0.1); | |
| 229 | +} | |
| 230 | +.numInputWrapper span:active { | |
| 231 | + background: rgba(192,187,167,0.2); | |
| 232 | +} | |
| 233 | +.numInputWrapper span:after { | |
| 234 | + display: block; | |
| 235 | + content: ""; | |
| 236 | + position: absolute; | |
| 237 | + top: 33%; | |
| 238 | +} | |
| 239 | +.numInputWrapper span.arrowUp { | |
| 240 | + top: 0; | |
| 241 | + border-bottom: 0; | |
| 242 | +} | |
| 243 | +.numInputWrapper span.arrowUp:after { | |
| 244 | + border-left: 4px solid transparent; | |
| 245 | + border-right: 4px solid transparent; | |
| 246 | + border-bottom: 4px solid rgba(255,255,255,0.6); | |
| 247 | +} | |
| 248 | +.numInputWrapper span.arrowDown { | |
| 249 | + top: 50%; | |
| 250 | +} | |
| 251 | +.numInputWrapper span.arrowDown:after { | |
| 252 | + border-left: 4px solid transparent; | |
| 253 | + border-right: 4px solid transparent; | |
| 254 | + border-top: 4px solid rgba(255,255,255,0.6); | |
| 255 | +} | |
| 256 | +.numInputWrapper span svg { | |
| 257 | + width: inherit; | |
| 258 | + height: auto; | |
| 259 | +} | |
| 260 | +.numInputWrapper span svg path { | |
| 261 | + fill: rgba(255,255,255,0.5); | |
| 262 | +} | |
| 263 | +.numInputWrapper:hover { | |
| 264 | + background: rgba(192,187,167,0.05); | |
| 265 | +} | |
| 266 | +.numInputWrapper:hover span { | |
| 267 | + opacity: 1; | |
| 268 | +} | |
| 269 | +.flatpickr-current-month { | |
| 270 | + font-size: 135%; | |
| 271 | + line-height: inherit; | |
| 272 | + font-weight: 300; | |
| 273 | + color: inherit; | |
| 274 | + position: absolute; | |
| 275 | + width: 75%; | |
| 276 | + left: 12.5%; | |
| 277 | + padding: 6.16px 0 0 0; | |
| 278 | + line-height: 1; | |
| 279 | + height: 28px; | |
| 280 | + display: inline-block; | |
| 281 | + text-align: center; | |
| 282 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 283 | + transform: translate3d(0px, 0px, 0px); | |
| 284 | +} | |
| 285 | +.flatpickr-current-month.slideLeft { | |
| 286 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 287 | + transform: translate3d(-100%, 0px, 0px); | |
| 288 | + -webkit-animation: fpFadeOut 400ms ease, fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 289 | + animation: fpFadeOut 400ms ease, fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 290 | +} | |
| 291 | +.flatpickr-current-month.slideLeftNew { | |
| 292 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 293 | + transform: translate3d(100%, 0px, 0px); | |
| 294 | + -webkit-animation: fpFadeIn 400ms ease, fpSlideLeftNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 295 | + animation: fpFadeIn 400ms ease, fpSlideLeftNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 296 | +} | |
| 297 | +.flatpickr-current-month.slideRight { | |
| 298 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 299 | + transform: translate3d(100%, 0px, 0px); | |
| 300 | + -webkit-animation: fpFadeOut 400ms ease, fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 301 | + animation: fpFadeOut 400ms ease, fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 302 | +} | |
| 303 | +.flatpickr-current-month.slideRightNew { | |
| 304 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 305 | + transform: translate3d(0, 0, 0px); | |
| 306 | + -webkit-animation: fpFadeIn 400ms ease, fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 307 | + animation: fpFadeIn 400ms ease, fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 308 | +} | |
| 309 | +.flatpickr-current-month span.cur-month { | |
| 310 | + font-family: inherit; | |
| 311 | + font-weight: 700; | |
| 312 | + color: inherit; | |
| 313 | + display: inline-block; | |
| 314 | + margin-left: 0.5ch; | |
| 315 | + padding: 0; | |
| 316 | +} | |
| 317 | +.flatpickr-current-month span.cur-month:hover { | |
| 318 | + background: rgba(192,187,167,0.05); | |
| 319 | +} | |
| 320 | +.flatpickr-current-month .numInputWrapper { | |
| 321 | + width: 6ch; | |
| 322 | + width: 7ch\0; | |
| 323 | + display: inline-block; | |
| 324 | +} | |
| 325 | +.flatpickr-current-month .numInputWrapper span.arrowUp:after { | |
| 326 | + border-bottom-color: #fff; | |
| 327 | +} | |
| 328 | +.flatpickr-current-month .numInputWrapper span.arrowDown:after { | |
| 329 | + border-top-color: #fff; | |
| 330 | +} | |
| 331 | +.flatpickr-current-month input.cur-year { | |
| 332 | + background: transparent; | |
| 333 | + -webkit-box-sizing: border-box; | |
| 334 | + box-sizing: border-box; | |
| 335 | + color: inherit; | |
| 336 | + cursor: default; | |
| 337 | + padding: 0 0 0 0.5ch; | |
| 338 | + margin: 0; | |
| 339 | + display: inline-block; | |
| 340 | + font-size: inherit; | |
| 341 | + font-family: inherit; | |
| 342 | + font-weight: 300; | |
| 343 | + line-height: inherit; | |
| 344 | + height: initial; | |
| 345 | + border: 0; | |
| 346 | + border-radius: 0; | |
| 347 | + vertical-align: initial; | |
| 348 | +} | |
| 349 | +.flatpickr-current-month input.cur-year:focus { | |
| 350 | + outline: 0; | |
| 351 | +} | |
| 352 | +.flatpickr-current-month input.cur-year[disabled], | |
| 353 | +.flatpickr-current-month input.cur-year[disabled]:hover { | |
| 354 | + font-size: 100%; | |
| 355 | + color: rgba(255,255,255,0.5); | |
| 356 | + background: transparent; | |
| 357 | + pointer-events: none; | |
| 358 | +} | |
| 359 | +.flatpickr-weekdays { | |
| 360 | + background: transparent; | |
| 361 | + text-align: center; | |
| 362 | + overflow: hidden; | |
| 363 | + width: 100%; | |
| 364 | + display: -webkit-box; | |
| 365 | + display: -webkit-flex; | |
| 366 | + display: -ms-flexbox; | |
| 367 | + display: flex; | |
| 368 | + -webkit-box-align: center; | |
| 369 | + -webkit-align-items: center; | |
| 370 | + -ms-flex-align: center; | |
| 371 | + align-items: center; | |
| 372 | + height: 28px; | |
| 373 | +} | |
| 374 | +span.flatpickr-weekday { | |
| 375 | + cursor: default; | |
| 376 | + font-size: 90%; | |
| 377 | + background: transparent; | |
| 378 | + color: rgba(0,0,0,0.54); | |
| 379 | + line-height: 1; | |
| 380 | + margin: 0; | |
| 381 | + text-align: center; | |
| 382 | + display: block; | |
| 383 | + -webkit-box-flex: 1; | |
| 384 | + -webkit-flex: 1; | |
| 385 | + -ms-flex: 1; | |
| 386 | + flex: 1; | |
| 387 | + font-weight: bolder; | |
| 388 | +} | |
| 389 | +.dayContainer, | |
| 390 | +.flatpickr-weeks { | |
| 391 | + padding: 1px 0 0 0; | |
| 392 | +} | |
| 393 | +.flatpickr-days { | |
| 394 | + position: relative; | |
| 395 | + overflow: hidden; | |
| 396 | + display: -webkit-box; | |
| 397 | + display: -webkit-flex; | |
| 398 | + display: -ms-flexbox; | |
| 399 | + display: flex; | |
| 400 | + width: 307.875px; | |
| 401 | +} | |
| 402 | +.flatpickr-days:focus { | |
| 403 | + outline: 0; | |
| 404 | +} | |
| 405 | +.dayContainer { | |
| 406 | + padding: 0; | |
| 407 | + outline: 0; | |
| 408 | + text-align: left; | |
| 409 | + width: 307.875px; | |
| 410 | + min-width: 307.875px; | |
| 411 | + max-width: 307.875px; | |
| 412 | + -webkit-box-sizing: border-box; | |
| 413 | + box-sizing: border-box; | |
| 414 | + display: inline-block; | |
| 415 | + display: -ms-flexbox; | |
| 416 | + display: -webkit-box; | |
| 417 | + display: -webkit-flex; | |
| 418 | + display: flex; | |
| 419 | + -webkit-flex-wrap: wrap; | |
| 420 | + flex-wrap: wrap; | |
| 421 | + -ms-flex-wrap: wrap; | |
| 422 | + -ms-flex-pack: justify; | |
| 423 | + -webkit-justify-content: space-around; | |
| 424 | + justify-content: space-around; | |
| 425 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 426 | + transform: translate3d(0px, 0px, 0px); | |
| 427 | + opacity: 1; | |
| 428 | +} | |
| 429 | +.flatpickr-calendar.animate .dayContainer.slideLeft { | |
| 430 | + -webkit-animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 431 | + animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 432 | +} | |
| 433 | +.flatpickr-calendar.animate .dayContainer.slideLeft, | |
| 434 | +.flatpickr-calendar.animate .dayContainer.slideLeftNew { | |
| 435 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 436 | + transform: translate3d(-100%, 0px, 0px); | |
| 437 | +} | |
| 438 | +.flatpickr-calendar.animate .dayContainer.slideLeftNew { | |
| 439 | + -webkit-animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 440 | + animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 441 | +} | |
| 442 | +.flatpickr-calendar.animate .dayContainer.slideRight { | |
| 443 | + -webkit-animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 444 | + animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 445 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 446 | + transform: translate3d(100%, 0px, 0px); | |
| 447 | +} | |
| 448 | +.flatpickr-calendar.animate .dayContainer.slideRightNew { | |
| 449 | + -webkit-animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 450 | + animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 451 | +} | |
| 452 | +.flatpickr-day { | |
| 453 | + background: none; | |
| 454 | + border: 1px solid transparent; | |
| 455 | + border-radius: 150px; | |
| 456 | + -webkit-box-sizing: border-box; | |
| 457 | + box-sizing: border-box; | |
| 458 | + color: rgba(255,255,255,0.95); | |
| 459 | + cursor: pointer; | |
| 460 | + font-weight: 400; | |
| 461 | + width: 14.2857143%; | |
| 462 | + -webkit-flex-basis: 14.2857143%; | |
| 463 | + -ms-flex-preferred-size: 14.2857143%; | |
| 464 | + flex-basis: 14.2857143%; | |
| 465 | + max-width: 39px; | |
| 466 | + height: 39px; | |
| 467 | + line-height: 39px; | |
| 468 | + margin: 0; | |
| 469 | + display: inline-block; | |
| 470 | + position: relative; | |
| 471 | + -webkit-box-pack: center; | |
| 472 | + -webkit-justify-content: center; | |
| 473 | + -ms-flex-pack: center; | |
| 474 | + justify-content: center; | |
| 475 | + text-align: center; | |
| 476 | +} | |
| 477 | +.flatpickr-day.inRange, | |
| 478 | +.flatpickr-day.prevMonthDay.inRange, | |
| 479 | +.flatpickr-day.nextMonthDay.inRange, | |
| 480 | +.flatpickr-day.today.inRange, | |
| 481 | +.flatpickr-day.prevMonthDay.today.inRange, | |
| 482 | +.flatpickr-day.nextMonthDay.today.inRange, | |
| 483 | +.flatpickr-day:hover, | |
| 484 | +.flatpickr-day.prevMonthDay:hover, | |
| 485 | +.flatpickr-day.nextMonthDay:hover, | |
| 486 | +.flatpickr-day:focus, | |
| 487 | +.flatpickr-day.prevMonthDay:focus, | |
| 488 | +.flatpickr-day.nextMonthDay:focus { | |
| 489 | + cursor: pointer; | |
| 490 | + outline: 0; | |
| 491 | + background: rgba(100,108,140,0.95); | |
| 492 | + border-color: rgba(100,108,140,0.95); | |
| 493 | +} | |
| 494 | +.flatpickr-day.today { | |
| 495 | + border-color: #eee; | |
| 496 | +} | |
| 497 | +.flatpickr-day.today:hover, | |
| 498 | +.flatpickr-day.today:focus { | |
| 499 | + border-color: #eee; | |
| 500 | + background: #eee; | |
| 501 | + color: #3f4458; | |
| 502 | +} | |
| 503 | +.flatpickr-day.selected, | |
| 504 | +.flatpickr-day.startRange, | |
| 505 | +.flatpickr-day.endRange, | |
| 506 | +.flatpickr-day.selected.inRange, | |
| 507 | +.flatpickr-day.startRange.inRange, | |
| 508 | +.flatpickr-day.endRange.inRange, | |
| 509 | +.flatpickr-day.selected:focus, | |
| 510 | +.flatpickr-day.startRange:focus, | |
| 511 | +.flatpickr-day.endRange:focus, | |
| 512 | +.flatpickr-day.selected:hover, | |
| 513 | +.flatpickr-day.startRange:hover, | |
| 514 | +.flatpickr-day.endRange:hover, | |
| 515 | +.flatpickr-day.selected.prevMonthDay, | |
| 516 | +.flatpickr-day.startRange.prevMonthDay, | |
| 517 | +.flatpickr-day.endRange.prevMonthDay, | |
| 518 | +.flatpickr-day.selected.nextMonthDay, | |
| 519 | +.flatpickr-day.startRange.nextMonthDay, | |
| 520 | +.flatpickr-day.endRange.nextMonthDay { | |
| 521 | + background: #80cbc4; | |
| 522 | + -webkit-box-shadow: none; | |
| 523 | + box-shadow: none; | |
| 524 | + color: #fff; | |
| 525 | + border-color: #80cbc4; | |
| 526 | +} | |
| 527 | +.flatpickr-day.selected.startRange, | |
| 528 | +.flatpickr-day.startRange.startRange, | |
| 529 | +.flatpickr-day.endRange.startRange { | |
| 530 | + border-radius: 50px 0 0 50px; | |
| 531 | +} | |
| 532 | +.flatpickr-day.selected.endRange, | |
| 533 | +.flatpickr-day.startRange.endRange, | |
| 534 | +.flatpickr-day.endRange.endRange { | |
| 535 | + border-radius: 0 50px 50px 0; | |
| 536 | +} | |
| 537 | +.flatpickr-day.selected.startRange + .endRange, | |
| 538 | +.flatpickr-day.startRange.startRange + .endRange, | |
| 539 | +.flatpickr-day.endRange.startRange + .endRange { | |
| 540 | + -webkit-box-shadow: -10px 0 0 #80cbc4; | |
| 541 | + box-shadow: -10px 0 0 #80cbc4; | |
| 542 | +} | |
| 543 | +.flatpickr-day.selected.startRange.endRange, | |
| 544 | +.flatpickr-day.startRange.startRange.endRange, | |
| 545 | +.flatpickr-day.endRange.startRange.endRange { | |
| 546 | + border-radius: 50px; | |
| 547 | +} | |
| 548 | +.flatpickr-day.inRange { | |
| 549 | + border-radius: 0; | |
| 550 | + -webkit-box-shadow: -5px 0 0 rgba(100,108,140,0.95), 5px 0 0 rgba(100,108,140,0.95); | |
| 551 | + box-shadow: -5px 0 0 rgba(100,108,140,0.95), 5px 0 0 rgba(100,108,140,0.95); | |
| 552 | +} | |
| 553 | +.flatpickr-day.disabled, | |
| 554 | +.flatpickr-day.disabled:hover { | |
| 555 | + pointer-events: none; | |
| 556 | +} | |
| 557 | +.flatpickr-day.disabled, | |
| 558 | +.flatpickr-day.disabled:hover, | |
| 559 | +.flatpickr-day.prevMonthDay, | |
| 560 | +.flatpickr-day.nextMonthDay, | |
| 561 | +.flatpickr-day.notAllowed, | |
| 562 | +.flatpickr-day.notAllowed.prevMonthDay, | |
| 563 | +.flatpickr-day.notAllowed.nextMonthDay { | |
| 564 | + color: rgba(255,255,255,0.3); | |
| 565 | + background: transparent; | |
| 566 | + border-color: transparent; | |
| 567 | + cursor: default; | |
| 568 | +} | |
| 569 | +.flatpickr-day.week.selected { | |
| 570 | + border-radius: 0; | |
| 571 | + -webkit-box-shadow: -5px 0 0 #80cbc4, 5px 0 0 #80cbc4; | |
| 572 | + box-shadow: -5px 0 0 #80cbc4, 5px 0 0 #80cbc4; | |
| 573 | +} | |
| 574 | +.rangeMode .flatpickr-day { | |
| 575 | + margin-top: 1px; | |
| 576 | +} | |
| 577 | +.flatpickr-weekwrapper { | |
| 578 | + display: inline-block; | |
| 579 | + float: left; | |
| 580 | +} | |
| 581 | +.flatpickr-weekwrapper .flatpickr-weeks { | |
| 582 | + padding: 0 12px; | |
| 583 | + -webkit-box-shadow: 1px 0 0 #3f4458; | |
| 584 | + box-shadow: 1px 0 0 #3f4458; | |
| 585 | +} | |
| 586 | +.flatpickr-weekwrapper .flatpickr-weekday { | |
| 587 | + float: none; | |
| 588 | + width: 100%; | |
| 589 | + line-height: 28px; | |
| 590 | +} | |
| 591 | +.flatpickr-weekwrapper span.flatpickr-day { | |
| 592 | + display: block; | |
| 593 | + width: 100%; | |
| 594 | + max-width: none; | |
| 595 | +} | |
| 596 | +.flatpickr-innerContainer { | |
| 597 | + display: block; | |
| 598 | + display: -webkit-box; | |
| 599 | + display: -webkit-flex; | |
| 600 | + display: -ms-flexbox; | |
| 601 | + display: flex; | |
| 602 | + -webkit-box-sizing: border-box; | |
| 603 | + box-sizing: border-box; | |
| 604 | + overflow: hidden; | |
| 605 | +} | |
| 606 | +.flatpickr-rContainer { | |
| 607 | + display: inline-block; | |
| 608 | + padding: 0; | |
| 609 | + -webkit-box-sizing: border-box; | |
| 610 | + box-sizing: border-box; | |
| 611 | +} | |
| 612 | +.flatpickr-time { | |
| 613 | + text-align: center; | |
| 614 | + outline: 0; | |
| 615 | + display: block; | |
| 616 | + height: 0; | |
| 617 | + line-height: 40px; | |
| 618 | + max-height: 40px; | |
| 619 | + -webkit-box-sizing: border-box; | |
| 620 | + box-sizing: border-box; | |
| 621 | + overflow: hidden; | |
| 622 | + display: -webkit-box; | |
| 623 | + display: -webkit-flex; | |
| 624 | + display: -ms-flexbox; | |
| 625 | + display: flex; | |
| 626 | +} | |
| 627 | +.flatpickr-time:after { | |
| 628 | + content: ""; | |
| 629 | + display: table; | |
| 630 | + clear: both; | |
| 631 | +} | |
| 632 | +.flatpickr-time .numInputWrapper { | |
| 633 | + -webkit-box-flex: 1; | |
| 634 | + -webkit-flex: 1; | |
| 635 | + -ms-flex: 1; | |
| 636 | + flex: 1; | |
| 637 | + width: 40%; | |
| 638 | + height: 40px; | |
| 639 | + float: left; | |
| 640 | +} | |
| 641 | +.flatpickr-time .numInputWrapper span.arrowUp:after { | |
| 642 | + border-bottom-color: rgba(255,255,255,0.95); | |
| 643 | +} | |
| 644 | +.flatpickr-time .numInputWrapper span.arrowDown:after { | |
| 645 | + border-top-color: rgba(255,255,255,0.95); | |
| 646 | +} | |
| 647 | +.flatpickr-time.hasSeconds .numInputWrapper { | |
| 648 | + width: 26%; | |
| 649 | +} | |
| 650 | +.flatpickr-time.time24hr .numInputWrapper { | |
| 651 | + width: 49%; | |
| 652 | +} | |
| 653 | +.flatpickr-time input { | |
| 654 | + background: transparent; | |
| 655 | + -webkit-box-shadow: none; | |
| 656 | + box-shadow: none; | |
| 657 | + border: 0; | |
| 658 | + border-radius: 0; | |
| 659 | + text-align: center; | |
| 660 | + margin: 0; | |
| 661 | + padding: 0; | |
| 662 | + height: inherit; | |
| 663 | + line-height: inherit; | |
| 664 | + cursor: pointer; | |
| 665 | + color: rgba(255,255,255,0.95); | |
| 666 | + font-size: 14px; | |
| 667 | + position: relative; | |
| 668 | + -webkit-box-sizing: border-box; | |
| 669 | + box-sizing: border-box; | |
| 670 | +} | |
| 671 | +.flatpickr-time input.flatpickr-hour { | |
| 672 | + font-weight: bold; | |
| 673 | +} | |
| 674 | +.flatpickr-time input.flatpickr-minute, | |
| 675 | +.flatpickr-time input.flatpickr-second { | |
| 676 | + font-weight: 400; | |
| 677 | +} | |
| 678 | +.flatpickr-time input:focus { | |
| 679 | + outline: 0; | |
| 680 | + border: 0; | |
| 681 | +} | |
| 682 | +.flatpickr-time .flatpickr-time-separator, | |
| 683 | +.flatpickr-time .flatpickr-am-pm { | |
| 684 | + height: inherit; | |
| 685 | + display: inline-block; | |
| 686 | + float: left; | |
| 687 | + line-height: inherit; | |
| 688 | + color: rgba(255,255,255,0.95); | |
| 689 | + font-weight: bold; | |
| 690 | + width: 2%; | |
| 691 | + -webkit-user-select: none; | |
| 692 | + -moz-user-select: none; | |
| 693 | + -ms-user-select: none; | |
| 694 | + user-select: none; | |
| 695 | + -webkit-align-self: center; | |
| 696 | + -ms-flex-item-align: center; | |
| 697 | + align-self: center; | |
| 698 | +} | |
| 699 | +.flatpickr-time .flatpickr-am-pm { | |
| 700 | + outline: 0; | |
| 701 | + width: 18%; | |
| 702 | + cursor: pointer; | |
| 703 | + text-align: center; | |
| 704 | + font-weight: 400; | |
| 705 | +} | |
| 706 | +.flatpickr-time .flatpickr-am-pm:hover, | |
| 707 | +.flatpickr-time .flatpickr-am-pm:focus { | |
| 708 | + background: rgba(109,118,151,0.95); | |
| 709 | +} | |
| 710 | +.flatpickr-input[readonly] { | |
| 711 | + cursor: pointer; | |
| 712 | +} | |
| 713 | +@-webkit-keyframes fpFadeInDown { | |
| 714 | + from { | |
| 715 | + opacity: 0; | |
| 716 | + -webkit-transform: translate3d(0, -20px, 0); | |
| 717 | + transform: translate3d(0, -20px, 0); | |
| 718 | + } | |
| 719 | + to { | |
| 720 | + opacity: 1; | |
| 721 | + -webkit-transform: translate3d(0, 0, 0); | |
| 722 | + transform: translate3d(0, 0, 0); | |
| 723 | + } | |
| 724 | +} | |
| 725 | +@keyframes fpFadeInDown { | |
| 726 | + from { | |
| 727 | + opacity: 0; | |
| 728 | + -webkit-transform: translate3d(0, -20px, 0); | |
| 729 | + transform: translate3d(0, -20px, 0); | |
| 730 | + } | |
| 731 | + to { | |
| 732 | + opacity: 1; | |
| 733 | + -webkit-transform: translate3d(0, 0, 0); | |
| 734 | + transform: translate3d(0, 0, 0); | |
| 735 | + } | |
| 736 | +} | |
| 737 | +@-webkit-keyframes fpSlideLeft { | |
| 738 | + from { | |
| 739 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 740 | + transform: translate3d(0px, 0px, 0px); | |
| 741 | + } | |
| 742 | + to { | |
| 743 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 744 | + transform: translate3d(-100%, 0px, 0px); | |
| 745 | + } | |
| 746 | +} | |
| 747 | +@keyframes fpSlideLeft { | |
| 748 | + from { | |
| 749 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 750 | + transform: translate3d(0px, 0px, 0px); | |
| 751 | + } | |
| 752 | + to { | |
| 753 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 754 | + transform: translate3d(-100%, 0px, 0px); | |
| 755 | + } | |
| 756 | +} | |
| 757 | +@-webkit-keyframes fpSlideLeftNew { | |
| 758 | + from { | |
| 759 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 760 | + transform: translate3d(100%, 0px, 0px); | |
| 761 | + } | |
| 762 | + to { | |
| 763 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 764 | + transform: translate3d(0px, 0px, 0px); | |
| 765 | + } | |
| 766 | +} | |
| 767 | +@keyframes fpSlideLeftNew { | |
| 768 | + from { | |
| 769 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 770 | + transform: translate3d(100%, 0px, 0px); | |
| 771 | + } | |
| 772 | + to { | |
| 773 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 774 | + transform: translate3d(0px, 0px, 0px); | |
| 775 | + } | |
| 776 | +} | |
| 777 | +@-webkit-keyframes fpSlideRight { | |
| 778 | + from { | |
| 779 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 780 | + transform: translate3d(0, 0, 0px); | |
| 781 | + } | |
| 782 | + to { | |
| 783 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 784 | + transform: translate3d(100%, 0px, 0px); | |
| 785 | + } | |
| 786 | +} | |
| 787 | +@keyframes fpSlideRight { | |
| 788 | + from { | |
| 789 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 790 | + transform: translate3d(0, 0, 0px); | |
| 791 | + } | |
| 792 | + to { | |
| 793 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 794 | + transform: translate3d(100%, 0px, 0px); | |
| 795 | + } | |
| 796 | +} | |
| 797 | +@-webkit-keyframes fpSlideRightNew { | |
| 798 | + from { | |
| 799 | + -webkit-transform: translate3d(-100%, 0, 0px); | |
| 800 | + transform: translate3d(-100%, 0, 0px); | |
| 801 | + } | |
| 802 | + to { | |
| 803 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 804 | + transform: translate3d(0, 0, 0px); | |
| 805 | + } | |
| 806 | +} | |
| 807 | +@keyframes fpSlideRightNew { | |
| 808 | + from { | |
| 809 | + -webkit-transform: translate3d(-100%, 0, 0px); | |
| 810 | + transform: translate3d(-100%, 0, 0px); | |
| 811 | + } | |
| 812 | + to { | |
| 813 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 814 | + transform: translate3d(0, 0, 0px); | |
| 815 | + } | |
| 816 | +} | |
| 817 | +@-webkit-keyframes fpFadeOut { | |
| 818 | + from { | |
| 819 | + opacity: 1; | |
| 820 | + } | |
| 821 | + to { | |
| 822 | + opacity: 0; | |
| 823 | + } | |
| 824 | +} | |
| 825 | +@keyframes fpFadeOut { | |
| 826 | + from { | |
| 827 | + opacity: 1; | |
| 828 | + } | |
| 829 | + to { | |
| 830 | + opacity: 0; | |
| 831 | + } | |
| 832 | +} | |
| 833 | +@-webkit-keyframes fpFadeIn { | |
| 834 | + from { | |
| 835 | + opacity: 0; | |
| 836 | + } | |
| 837 | + to { | |
| 838 | + opacity: 1; | |
| 839 | + } | |
| 840 | +} | |
| 841 | +@keyframes fpFadeIn { | |
| 842 | + from { | |
| 843 | + opacity: 0; | |
| 844 | + } | |
| 845 | + to { | |
| 846 | + opacity: 1; | |
| 847 | + } | |
| 848 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/flatpickr/themes/light.css
0 → 100644
| 1 | +.flatpickr-calendar { | |
| 2 | + background: transparent; | |
| 3 | + overflow: hidden; | |
| 4 | + max-height: 0; | |
| 5 | + opacity: 0; | |
| 6 | + visibility: hidden; | |
| 7 | + text-align: center; | |
| 8 | + padding: 0; | |
| 9 | + -webkit-animation: none; | |
| 10 | + animation: none; | |
| 11 | + direction: ltr; | |
| 12 | + border: 0; | |
| 13 | + font-size: 14px; | |
| 14 | + line-height: 24px; | |
| 15 | + border-radius: 5px; | |
| 16 | + position: absolute; | |
| 17 | + width: 307.875px; | |
| 18 | + -webkit-box-sizing: border-box; | |
| 19 | + box-sizing: border-box; | |
| 20 | + -ms-touch-action: manipulation; | |
| 21 | + touch-action: manipulation; | |
| 22 | + -webkit-box-shadow: 0 3px 13px rgba(0,0,0,0.08); | |
| 23 | + box-shadow: 0 3px 13px rgba(0,0,0,0.08); | |
| 24 | +} | |
| 25 | +.flatpickr-calendar.open, | |
| 26 | +.flatpickr-calendar.inline { | |
| 27 | + opacity: 1; | |
| 28 | + visibility: visible; | |
| 29 | + overflow: visible; | |
| 30 | + max-height: 640px; | |
| 31 | +} | |
| 32 | +.flatpickr-calendar.open { | |
| 33 | + display: inline-block; | |
| 34 | + z-index: 99999; | |
| 35 | +} | |
| 36 | +.flatpickr-calendar.animate.open { | |
| 37 | + -webkit-animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 38 | + animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 39 | +} | |
| 40 | +.flatpickr-calendar.inline { | |
| 41 | + display: block; | |
| 42 | + position: relative; | |
| 43 | + top: 2px; | |
| 44 | +} | |
| 45 | +.flatpickr-calendar.static { | |
| 46 | + position: absolute; | |
| 47 | + top: calc(100% + 2px); | |
| 48 | +} | |
| 49 | +.flatpickr-calendar.static.open { | |
| 50 | + z-index: 999; | |
| 51 | + display: block; | |
| 52 | +} | |
| 53 | +.flatpickr-calendar.hasWeeks { | |
| 54 | + width: auto; | |
| 55 | +} | |
| 56 | +.flatpickr-calendar .hasWeeks .dayContainer, | |
| 57 | +.flatpickr-calendar .hasTime .dayContainer { | |
| 58 | + border-bottom: 0; | |
| 59 | + border-bottom-right-radius: 0; | |
| 60 | + border-bottom-left-radius: 0; | |
| 61 | +} | |
| 62 | +.flatpickr-calendar .hasWeeks .dayContainer { | |
| 63 | + border-left: 0; | |
| 64 | +} | |
| 65 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time { | |
| 66 | + height: 40px; | |
| 67 | + border-top: 1px solid #eceef1; | |
| 68 | +} | |
| 69 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-innerContainer { | |
| 70 | + border-bottom: 0; | |
| 71 | +} | |
| 72 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time { | |
| 73 | + border: 1px solid #eceef1; | |
| 74 | +} | |
| 75 | +.flatpickr-calendar.noCalendar.hasTime .flatpickr-time { | |
| 76 | + height: auto; | |
| 77 | +} | |
| 78 | +.flatpickr-calendar:before, | |
| 79 | +.flatpickr-calendar:after { | |
| 80 | + position: absolute; | |
| 81 | + display: block; | |
| 82 | + pointer-events: none; | |
| 83 | + border: solid transparent; | |
| 84 | + content: ''; | |
| 85 | + height: 0; | |
| 86 | + width: 0; | |
| 87 | + left: 22px; | |
| 88 | +} | |
| 89 | +.flatpickr-calendar.rightMost:before, | |
| 90 | +.flatpickr-calendar.rightMost:after { | |
| 91 | + left: auto; | |
| 92 | + right: 22px; | |
| 93 | +} | |
| 94 | +.flatpickr-calendar:before { | |
| 95 | + border-width: 5px; | |
| 96 | + margin: 0 -5px; | |
| 97 | +} | |
| 98 | +.flatpickr-calendar:after { | |
| 99 | + border-width: 4px; | |
| 100 | + margin: 0 -4px; | |
| 101 | +} | |
| 102 | +.flatpickr-calendar.arrowTop:before, | |
| 103 | +.flatpickr-calendar.arrowTop:after { | |
| 104 | + bottom: 100%; | |
| 105 | +} | |
| 106 | +.flatpickr-calendar.arrowTop:before { | |
| 107 | + border-bottom-color: #eceef1; | |
| 108 | +} | |
| 109 | +.flatpickr-calendar.arrowTop:after { | |
| 110 | + border-bottom-color: #eceef1; | |
| 111 | +} | |
| 112 | +.flatpickr-calendar.arrowBottom:before, | |
| 113 | +.flatpickr-calendar.arrowBottom:after { | |
| 114 | + top: 100%; | |
| 115 | +} | |
| 116 | +.flatpickr-calendar.arrowBottom:before { | |
| 117 | + border-top-color: #eceef1; | |
| 118 | +} | |
| 119 | +.flatpickr-calendar.arrowBottom:after { | |
| 120 | + border-top-color: #eceef1; | |
| 121 | +} | |
| 122 | +.flatpickr-calendar:focus { | |
| 123 | + outline: 0; | |
| 124 | +} | |
| 125 | +.flatpickr-wrapper { | |
| 126 | + position: relative; | |
| 127 | + display: inline-block; | |
| 128 | +} | |
| 129 | +.flatpickr-month { | |
| 130 | + border-radius: 5px 5px 0 0; | |
| 131 | + background: #eceef1; | |
| 132 | + color: #5a6171; | |
| 133 | + fill: #5a6171; | |
| 134 | + height: 28px; | |
| 135 | + line-height: 1; | |
| 136 | + text-align: center; | |
| 137 | + position: relative; | |
| 138 | + -webkit-user-select: none; | |
| 139 | + -moz-user-select: none; | |
| 140 | + -ms-user-select: none; | |
| 141 | + user-select: none; | |
| 142 | + overflow: hidden; | |
| 143 | +} | |
| 144 | +.flatpickr-prev-month, | |
| 145 | +.flatpickr-next-month { | |
| 146 | + text-decoration: none; | |
| 147 | + cursor: pointer; | |
| 148 | + position: absolute; | |
| 149 | + top: 0px; | |
| 150 | + line-height: 16px; | |
| 151 | + height: 28px; | |
| 152 | + padding: 10px calc(3.57% - 1.5px); | |
| 153 | + z-index: 3; | |
| 154 | +} | |
| 155 | +.flatpickr-prev-month i, | |
| 156 | +.flatpickr-next-month i { | |
| 157 | + position: relative; | |
| 158 | +} | |
| 159 | +.flatpickr-prev-month.flatpickr-prev-month, | |
| 160 | +.flatpickr-next-month.flatpickr-prev-month { | |
| 161 | +/* | |
| 162 | + /*rtl:begin:ignore*/ | |
| 163 | +/* | |
| 164 | + */ | |
| 165 | + left: 0; | |
| 166 | +/* | |
| 167 | + /*rtl:end:ignore*/ | |
| 168 | +/* | |
| 169 | + */ | |
| 170 | +} | |
| 171 | +/* | |
| 172 | + /*rtl:begin:ignore*/ | |
| 173 | +/* | |
| 174 | + /*rtl:end:ignore*/ | |
| 175 | +.flatpickr-prev-month.flatpickr-next-month, | |
| 176 | +.flatpickr-next-month.flatpickr-next-month { | |
| 177 | +/* | |
| 178 | + /*rtl:begin:ignore*/ | |
| 179 | +/* | |
| 180 | + */ | |
| 181 | + right: 0; | |
| 182 | +/* | |
| 183 | + /*rtl:end:ignore*/ | |
| 184 | +/* | |
| 185 | + */ | |
| 186 | +} | |
| 187 | +/* | |
| 188 | + /*rtl:begin:ignore*/ | |
| 189 | +/* | |
| 190 | + /*rtl:end:ignore*/ | |
| 191 | +.flatpickr-prev-month:hover, | |
| 192 | +.flatpickr-next-month:hover { | |
| 193 | + color: #bbb; | |
| 194 | +} | |
| 195 | +.flatpickr-prev-month:hover svg, | |
| 196 | +.flatpickr-next-month:hover svg { | |
| 197 | + fill: #f64747; | |
| 198 | +} | |
| 199 | +.flatpickr-prev-month svg, | |
| 200 | +.flatpickr-next-month svg { | |
| 201 | + width: 14px; | |
| 202 | +} | |
| 203 | +.flatpickr-prev-month svg path, | |
| 204 | +.flatpickr-next-month svg path { | |
| 205 | + -webkit-transition: fill 0.1s; | |
| 206 | + transition: fill 0.1s; | |
| 207 | + fill: inherit; | |
| 208 | +} | |
| 209 | +.numInputWrapper { | |
| 210 | + position: relative; | |
| 211 | + height: auto; | |
| 212 | +} | |
| 213 | +.numInputWrapper input, | |
| 214 | +.numInputWrapper span { | |
| 215 | + display: inline-block; | |
| 216 | +} | |
| 217 | +.numInputWrapper input { | |
| 218 | + width: 100%; | |
| 219 | +} | |
| 220 | +.numInputWrapper span { | |
| 221 | + position: absolute; | |
| 222 | + right: 0; | |
| 223 | + width: 14px; | |
| 224 | + padding: 0 4px 0 2px; | |
| 225 | + height: 50%; | |
| 226 | + line-height: 50%; | |
| 227 | + opacity: 0; | |
| 228 | + cursor: pointer; | |
| 229 | + border: 1px solid rgba(72,72,72,0.05); | |
| 230 | + -webkit-box-sizing: border-box; | |
| 231 | + box-sizing: border-box; | |
| 232 | +} | |
| 233 | +.numInputWrapper span:hover { | |
| 234 | + background: rgba(0,0,0,0.1); | |
| 235 | +} | |
| 236 | +.numInputWrapper span:active { | |
| 237 | + background: rgba(0,0,0,0.2); | |
| 238 | +} | |
| 239 | +.numInputWrapper span:after { | |
| 240 | + display: block; | |
| 241 | + content: ""; | |
| 242 | + position: absolute; | |
| 243 | + top: 33%; | |
| 244 | +} | |
| 245 | +.numInputWrapper span.arrowUp { | |
| 246 | + top: 0; | |
| 247 | + border-bottom: 0; | |
| 248 | +} | |
| 249 | +.numInputWrapper span.arrowUp:after { | |
| 250 | + border-left: 4px solid transparent; | |
| 251 | + border-right: 4px solid transparent; | |
| 252 | + border-bottom: 4px solid rgba(72,72,72,0.6); | |
| 253 | +} | |
| 254 | +.numInputWrapper span.arrowDown { | |
| 255 | + top: 50%; | |
| 256 | +} | |
| 257 | +.numInputWrapper span.arrowDown:after { | |
| 258 | + border-left: 4px solid transparent; | |
| 259 | + border-right: 4px solid transparent; | |
| 260 | + border-top: 4px solid rgba(72,72,72,0.6); | |
| 261 | +} | |
| 262 | +.numInputWrapper span svg { | |
| 263 | + width: inherit; | |
| 264 | + height: auto; | |
| 265 | +} | |
| 266 | +.numInputWrapper span svg path { | |
| 267 | + fill: rgba(90,97,113,0.5); | |
| 268 | +} | |
| 269 | +.numInputWrapper:hover { | |
| 270 | + background: rgba(0,0,0,0.05); | |
| 271 | +} | |
| 272 | +.numInputWrapper:hover span { | |
| 273 | + opacity: 1; | |
| 274 | +} | |
| 275 | +.flatpickr-current-month { | |
| 276 | + font-size: 135%; | |
| 277 | + line-height: inherit; | |
| 278 | + font-weight: 300; | |
| 279 | + color: inherit; | |
| 280 | + position: absolute; | |
| 281 | + width: 75%; | |
| 282 | + left: 12.5%; | |
| 283 | + padding: 6.16px 0 0 0; | |
| 284 | + line-height: 1; | |
| 285 | + height: 28px; | |
| 286 | + display: inline-block; | |
| 287 | + text-align: center; | |
| 288 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 289 | + transform: translate3d(0px, 0px, 0px); | |
| 290 | +} | |
| 291 | +.flatpickr-current-month.slideLeft { | |
| 292 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 293 | + transform: translate3d(-100%, 0px, 0px); | |
| 294 | + -webkit-animation: fpFadeOut 400ms ease, fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 295 | + animation: fpFadeOut 400ms ease, fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 296 | +} | |
| 297 | +.flatpickr-current-month.slideLeftNew { | |
| 298 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 299 | + transform: translate3d(100%, 0px, 0px); | |
| 300 | + -webkit-animation: fpFadeIn 400ms ease, fpSlideLeftNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 301 | + animation: fpFadeIn 400ms ease, fpSlideLeftNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 302 | +} | |
| 303 | +.flatpickr-current-month.slideRight { | |
| 304 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 305 | + transform: translate3d(100%, 0px, 0px); | |
| 306 | + -webkit-animation: fpFadeOut 400ms ease, fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 307 | + animation: fpFadeOut 400ms ease, fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 308 | +} | |
| 309 | +.flatpickr-current-month.slideRightNew { | |
| 310 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 311 | + transform: translate3d(0, 0, 0px); | |
| 312 | + -webkit-animation: fpFadeIn 400ms ease, fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 313 | + animation: fpFadeIn 400ms ease, fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 314 | +} | |
| 315 | +.flatpickr-current-month span.cur-month { | |
| 316 | + font-family: inherit; | |
| 317 | + font-weight: 700; | |
| 318 | + color: inherit; | |
| 319 | + display: inline-block; | |
| 320 | + margin-left: 0.5ch; | |
| 321 | + padding: 0; | |
| 322 | +} | |
| 323 | +.flatpickr-current-month span.cur-month:hover { | |
| 324 | + background: rgba(0,0,0,0.05); | |
| 325 | +} | |
| 326 | +.flatpickr-current-month .numInputWrapper { | |
| 327 | + width: 6ch; | |
| 328 | + width: 7ch\0; | |
| 329 | + display: inline-block; | |
| 330 | +} | |
| 331 | +.flatpickr-current-month .numInputWrapper span.arrowUp:after { | |
| 332 | + border-bottom-color: #5a6171; | |
| 333 | +} | |
| 334 | +.flatpickr-current-month .numInputWrapper span.arrowDown:after { | |
| 335 | + border-top-color: #5a6171; | |
| 336 | +} | |
| 337 | +.flatpickr-current-month input.cur-year { | |
| 338 | + background: transparent; | |
| 339 | + -webkit-box-sizing: border-box; | |
| 340 | + box-sizing: border-box; | |
| 341 | + color: inherit; | |
| 342 | + cursor: default; | |
| 343 | + padding: 0 0 0 0.5ch; | |
| 344 | + margin: 0; | |
| 345 | + display: inline-block; | |
| 346 | + font-size: inherit; | |
| 347 | + font-family: inherit; | |
| 348 | + font-weight: 300; | |
| 349 | + line-height: inherit; | |
| 350 | + height: initial; | |
| 351 | + border: 0; | |
| 352 | + border-radius: 0; | |
| 353 | + vertical-align: initial; | |
| 354 | +} | |
| 355 | +.flatpickr-current-month input.cur-year:focus { | |
| 356 | + outline: 0; | |
| 357 | +} | |
| 358 | +.flatpickr-current-month input.cur-year[disabled], | |
| 359 | +.flatpickr-current-month input.cur-year[disabled]:hover { | |
| 360 | + font-size: 100%; | |
| 361 | + color: rgba(90,97,113,0.5); | |
| 362 | + background: transparent; | |
| 363 | + pointer-events: none; | |
| 364 | +} | |
| 365 | +.flatpickr-weekdays { | |
| 366 | + background: #eceef1; | |
| 367 | + text-align: center; | |
| 368 | + overflow: hidden; | |
| 369 | + width: 100%; | |
| 370 | + display: -webkit-box; | |
| 371 | + display: -webkit-flex; | |
| 372 | + display: -ms-flexbox; | |
| 373 | + display: flex; | |
| 374 | + -webkit-box-align: center; | |
| 375 | + -webkit-align-items: center; | |
| 376 | + -ms-flex-align: center; | |
| 377 | + align-items: center; | |
| 378 | + height: 28px; | |
| 379 | +} | |
| 380 | +span.flatpickr-weekday { | |
| 381 | + cursor: default; | |
| 382 | + font-size: 90%; | |
| 383 | + background: #eceef1; | |
| 384 | + color: #5a6171; | |
| 385 | + line-height: 1; | |
| 386 | + margin: 0; | |
| 387 | + text-align: center; | |
| 388 | + display: block; | |
| 389 | + -webkit-box-flex: 1; | |
| 390 | + -webkit-flex: 1; | |
| 391 | + -ms-flex: 1; | |
| 392 | + flex: 1; | |
| 393 | + font-weight: bolder; | |
| 394 | +} | |
| 395 | +.dayContainer, | |
| 396 | +.flatpickr-weeks { | |
| 397 | + padding: 1px 0 0 0; | |
| 398 | +} | |
| 399 | +.flatpickr-days { | |
| 400 | + position: relative; | |
| 401 | + overflow: hidden; | |
| 402 | + display: -webkit-box; | |
| 403 | + display: -webkit-flex; | |
| 404 | + display: -ms-flexbox; | |
| 405 | + display: flex; | |
| 406 | + width: 307.875px; | |
| 407 | + border-left: 1px solid #eceef1; | |
| 408 | + border-right: 1px solid #eceef1; | |
| 409 | +} | |
| 410 | +.flatpickr-days:focus { | |
| 411 | + outline: 0; | |
| 412 | +} | |
| 413 | +.dayContainer { | |
| 414 | + padding: 0; | |
| 415 | + outline: 0; | |
| 416 | + text-align: left; | |
| 417 | + width: 307.875px; | |
| 418 | + min-width: 307.875px; | |
| 419 | + max-width: 307.875px; | |
| 420 | + -webkit-box-sizing: border-box; | |
| 421 | + box-sizing: border-box; | |
| 422 | + display: inline-block; | |
| 423 | + display: -ms-flexbox; | |
| 424 | + display: -webkit-box; | |
| 425 | + display: -webkit-flex; | |
| 426 | + display: flex; | |
| 427 | + -webkit-flex-wrap: wrap; | |
| 428 | + flex-wrap: wrap; | |
| 429 | + -ms-flex-wrap: wrap; | |
| 430 | + -ms-flex-pack: justify; | |
| 431 | + -webkit-justify-content: space-around; | |
| 432 | + justify-content: space-around; | |
| 433 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 434 | + transform: translate3d(0px, 0px, 0px); | |
| 435 | + opacity: 1; | |
| 436 | +} | |
| 437 | +.flatpickr-calendar.animate .dayContainer.slideLeft { | |
| 438 | + -webkit-animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 439 | + animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 440 | +} | |
| 441 | +.flatpickr-calendar.animate .dayContainer.slideLeft, | |
| 442 | +.flatpickr-calendar.animate .dayContainer.slideLeftNew { | |
| 443 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 444 | + transform: translate3d(-100%, 0px, 0px); | |
| 445 | +} | |
| 446 | +.flatpickr-calendar.animate .dayContainer.slideLeftNew { | |
| 447 | + -webkit-animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 448 | + animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 449 | +} | |
| 450 | +.flatpickr-calendar.animate .dayContainer.slideRight { | |
| 451 | + -webkit-animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 452 | + animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 453 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 454 | + transform: translate3d(100%, 0px, 0px); | |
| 455 | +} | |
| 456 | +.flatpickr-calendar.animate .dayContainer.slideRightNew { | |
| 457 | + -webkit-animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 458 | + animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 459 | +} | |
| 460 | +.flatpickr-day { | |
| 461 | + background: none; | |
| 462 | + border: 1px solid transparent; | |
| 463 | + border-radius: 150px; | |
| 464 | + -webkit-box-sizing: border-box; | |
| 465 | + box-sizing: border-box; | |
| 466 | + color: #484848; | |
| 467 | + cursor: pointer; | |
| 468 | + font-weight: 400; | |
| 469 | + width: 14.2857143%; | |
| 470 | + -webkit-flex-basis: 14.2857143%; | |
| 471 | + -ms-flex-preferred-size: 14.2857143%; | |
| 472 | + flex-basis: 14.2857143%; | |
| 473 | + max-width: 39px; | |
| 474 | + height: 39px; | |
| 475 | + line-height: 39px; | |
| 476 | + margin: 0; | |
| 477 | + display: inline-block; | |
| 478 | + position: relative; | |
| 479 | + -webkit-box-pack: center; | |
| 480 | + -webkit-justify-content: center; | |
| 481 | + -ms-flex-pack: center; | |
| 482 | + justify-content: center; | |
| 483 | + text-align: center; | |
| 484 | +} | |
| 485 | +.flatpickr-day.inRange, | |
| 486 | +.flatpickr-day.prevMonthDay.inRange, | |
| 487 | +.flatpickr-day.nextMonthDay.inRange, | |
| 488 | +.flatpickr-day.today.inRange, | |
| 489 | +.flatpickr-day.prevMonthDay.today.inRange, | |
| 490 | +.flatpickr-day.nextMonthDay.today.inRange, | |
| 491 | +.flatpickr-day:hover, | |
| 492 | +.flatpickr-day.prevMonthDay:hover, | |
| 493 | +.flatpickr-day.nextMonthDay:hover, | |
| 494 | +.flatpickr-day:focus, | |
| 495 | +.flatpickr-day.prevMonthDay:focus, | |
| 496 | +.flatpickr-day.nextMonthDay:focus { | |
| 497 | + cursor: pointer; | |
| 498 | + outline: 0; | |
| 499 | + background: #e2e2e2; | |
| 500 | + border-color: #e2e2e2; | |
| 501 | +} | |
| 502 | +.flatpickr-day.today { | |
| 503 | + border-color: #bbb; | |
| 504 | +} | |
| 505 | +.flatpickr-day.today:hover, | |
| 506 | +.flatpickr-day.today:focus { | |
| 507 | + border-color: #bbb; | |
| 508 | + background: #bbb; | |
| 509 | + color: #fff; | |
| 510 | +} | |
| 511 | +.flatpickr-day.selected, | |
| 512 | +.flatpickr-day.startRange, | |
| 513 | +.flatpickr-day.endRange, | |
| 514 | +.flatpickr-day.selected.inRange, | |
| 515 | +.flatpickr-day.startRange.inRange, | |
| 516 | +.flatpickr-day.endRange.inRange, | |
| 517 | +.flatpickr-day.selected:focus, | |
| 518 | +.flatpickr-day.startRange:focus, | |
| 519 | +.flatpickr-day.endRange:focus, | |
| 520 | +.flatpickr-day.selected:hover, | |
| 521 | +.flatpickr-day.startRange:hover, | |
| 522 | +.flatpickr-day.endRange:hover, | |
| 523 | +.flatpickr-day.selected.prevMonthDay, | |
| 524 | +.flatpickr-day.startRange.prevMonthDay, | |
| 525 | +.flatpickr-day.endRange.prevMonthDay, | |
| 526 | +.flatpickr-day.selected.nextMonthDay, | |
| 527 | +.flatpickr-day.startRange.nextMonthDay, | |
| 528 | +.flatpickr-day.endRange.nextMonthDay { | |
| 529 | + background: #ff5a5f; | |
| 530 | + -webkit-box-shadow: none; | |
| 531 | + box-shadow: none; | |
| 532 | + color: #fff; | |
| 533 | + border-color: #ff5a5f; | |
| 534 | +} | |
| 535 | +.flatpickr-day.selected.startRange, | |
| 536 | +.flatpickr-day.startRange.startRange, | |
| 537 | +.flatpickr-day.endRange.startRange { | |
| 538 | + border-radius: 50px 0 0 50px; | |
| 539 | +} | |
| 540 | +.flatpickr-day.selected.endRange, | |
| 541 | +.flatpickr-day.startRange.endRange, | |
| 542 | +.flatpickr-day.endRange.endRange { | |
| 543 | + border-radius: 0 50px 50px 0; | |
| 544 | +} | |
| 545 | +.flatpickr-day.selected.startRange + .endRange, | |
| 546 | +.flatpickr-day.startRange.startRange + .endRange, | |
| 547 | +.flatpickr-day.endRange.startRange + .endRange { | |
| 548 | + -webkit-box-shadow: -10px 0 0 #ff5a5f; | |
| 549 | + box-shadow: -10px 0 0 #ff5a5f; | |
| 550 | +} | |
| 551 | +.flatpickr-day.selected.startRange.endRange, | |
| 552 | +.flatpickr-day.startRange.startRange.endRange, | |
| 553 | +.flatpickr-day.endRange.startRange.endRange { | |
| 554 | + border-radius: 50px; | |
| 555 | +} | |
| 556 | +.flatpickr-day.inRange { | |
| 557 | + border-radius: 0; | |
| 558 | + -webkit-box-shadow: -5px 0 0 #e2e2e2, 5px 0 0 #e2e2e2; | |
| 559 | + box-shadow: -5px 0 0 #e2e2e2, 5px 0 0 #e2e2e2; | |
| 560 | +} | |
| 561 | +.flatpickr-day.disabled, | |
| 562 | +.flatpickr-day.disabled:hover { | |
| 563 | + pointer-events: none; | |
| 564 | +} | |
| 565 | +.flatpickr-day.disabled, | |
| 566 | +.flatpickr-day.disabled:hover, | |
| 567 | +.flatpickr-day.prevMonthDay, | |
| 568 | +.flatpickr-day.nextMonthDay, | |
| 569 | +.flatpickr-day.notAllowed, | |
| 570 | +.flatpickr-day.notAllowed.prevMonthDay, | |
| 571 | +.flatpickr-day.notAllowed.nextMonthDay { | |
| 572 | + color: rgba(72,72,72,0.3); | |
| 573 | + background: transparent; | |
| 574 | + border-color: transparent; | |
| 575 | + cursor: default; | |
| 576 | +} | |
| 577 | +.flatpickr-day.week.selected { | |
| 578 | + border-radius: 0; | |
| 579 | + -webkit-box-shadow: -5px 0 0 #ff5a5f, 5px 0 0 #ff5a5f; | |
| 580 | + box-shadow: -5px 0 0 #ff5a5f, 5px 0 0 #ff5a5f; | |
| 581 | +} | |
| 582 | +.rangeMode .flatpickr-day { | |
| 583 | + margin-top: 1px; | |
| 584 | +} | |
| 585 | +.flatpickr-weekwrapper { | |
| 586 | + display: inline-block; | |
| 587 | + float: left; | |
| 588 | +} | |
| 589 | +.flatpickr-weekwrapper .flatpickr-weeks { | |
| 590 | + padding: 0 12px; | |
| 591 | + border-left: 1px solid #eceef1; | |
| 592 | +} | |
| 593 | +.flatpickr-weekwrapper .flatpickr-weekday { | |
| 594 | + float: none; | |
| 595 | + width: 100%; | |
| 596 | + line-height: 28px; | |
| 597 | +} | |
| 598 | +.flatpickr-weekwrapper span.flatpickr-day { | |
| 599 | + display: block; | |
| 600 | + width: 100%; | |
| 601 | + max-width: none; | |
| 602 | +} | |
| 603 | +.flatpickr-innerContainer { | |
| 604 | + display: block; | |
| 605 | + display: -webkit-box; | |
| 606 | + display: -webkit-flex; | |
| 607 | + display: -ms-flexbox; | |
| 608 | + display: flex; | |
| 609 | + -webkit-box-sizing: border-box; | |
| 610 | + box-sizing: border-box; | |
| 611 | + overflow: hidden; | |
| 612 | + background: #fff; | |
| 613 | + border-bottom: 1px solid #eceef1; | |
| 614 | +} | |
| 615 | +.flatpickr-rContainer { | |
| 616 | + display: inline-block; | |
| 617 | + padding: 0; | |
| 618 | + -webkit-box-sizing: border-box; | |
| 619 | + box-sizing: border-box; | |
| 620 | +} | |
| 621 | +.flatpickr-time { | |
| 622 | + text-align: center; | |
| 623 | + outline: 0; | |
| 624 | + display: block; | |
| 625 | + height: 0; | |
| 626 | + line-height: 40px; | |
| 627 | + max-height: 40px; | |
| 628 | + -webkit-box-sizing: border-box; | |
| 629 | + box-sizing: border-box; | |
| 630 | + overflow: hidden; | |
| 631 | + display: -webkit-box; | |
| 632 | + display: -webkit-flex; | |
| 633 | + display: -ms-flexbox; | |
| 634 | + display: flex; | |
| 635 | + background: #fff; | |
| 636 | + border-radius: 0 0 5px 5px; | |
| 637 | +} | |
| 638 | +.flatpickr-time:after { | |
| 639 | + content: ""; | |
| 640 | + display: table; | |
| 641 | + clear: both; | |
| 642 | +} | |
| 643 | +.flatpickr-time .numInputWrapper { | |
| 644 | + -webkit-box-flex: 1; | |
| 645 | + -webkit-flex: 1; | |
| 646 | + -ms-flex: 1; | |
| 647 | + flex: 1; | |
| 648 | + width: 40%; | |
| 649 | + height: 40px; | |
| 650 | + float: left; | |
| 651 | +} | |
| 652 | +.flatpickr-time .numInputWrapper span.arrowUp:after { | |
| 653 | + border-bottom-color: #484848; | |
| 654 | +} | |
| 655 | +.flatpickr-time .numInputWrapper span.arrowDown:after { | |
| 656 | + border-top-color: #484848; | |
| 657 | +} | |
| 658 | +.flatpickr-time.hasSeconds .numInputWrapper { | |
| 659 | + width: 26%; | |
| 660 | +} | |
| 661 | +.flatpickr-time.time24hr .numInputWrapper { | |
| 662 | + width: 49%; | |
| 663 | +} | |
| 664 | +.flatpickr-time input { | |
| 665 | + background: transparent; | |
| 666 | + -webkit-box-shadow: none; | |
| 667 | + box-shadow: none; | |
| 668 | + border: 0; | |
| 669 | + border-radius: 0; | |
| 670 | + text-align: center; | |
| 671 | + margin: 0; | |
| 672 | + padding: 0; | |
| 673 | + height: inherit; | |
| 674 | + line-height: inherit; | |
| 675 | + cursor: pointer; | |
| 676 | + color: #484848; | |
| 677 | + font-size: 14px; | |
| 678 | + position: relative; | |
| 679 | + -webkit-box-sizing: border-box; | |
| 680 | + box-sizing: border-box; | |
| 681 | +} | |
| 682 | +.flatpickr-time input.flatpickr-hour { | |
| 683 | + font-weight: bold; | |
| 684 | +} | |
| 685 | +.flatpickr-time input.flatpickr-minute, | |
| 686 | +.flatpickr-time input.flatpickr-second { | |
| 687 | + font-weight: 400; | |
| 688 | +} | |
| 689 | +.flatpickr-time input:focus { | |
| 690 | + outline: 0; | |
| 691 | + border: 0; | |
| 692 | +} | |
| 693 | +.flatpickr-time .flatpickr-time-separator, | |
| 694 | +.flatpickr-time .flatpickr-am-pm { | |
| 695 | + height: inherit; | |
| 696 | + display: inline-block; | |
| 697 | + float: left; | |
| 698 | + line-height: inherit; | |
| 699 | + color: #484848; | |
| 700 | + font-weight: bold; | |
| 701 | + width: 2%; | |
| 702 | + -webkit-user-select: none; | |
| 703 | + -moz-user-select: none; | |
| 704 | + -ms-user-select: none; | |
| 705 | + user-select: none; | |
| 706 | + -webkit-align-self: center; | |
| 707 | + -ms-flex-item-align: center; | |
| 708 | + align-self: center; | |
| 709 | +} | |
| 710 | +.flatpickr-time .flatpickr-am-pm { | |
| 711 | + outline: 0; | |
| 712 | + width: 18%; | |
| 713 | + cursor: pointer; | |
| 714 | + text-align: center; | |
| 715 | + font-weight: 400; | |
| 716 | +} | |
| 717 | +.flatpickr-time .flatpickr-am-pm:hover, | |
| 718 | +.flatpickr-time .flatpickr-am-pm:focus { | |
| 719 | + background: #ececec; | |
| 720 | +} | |
| 721 | +.flatpickr-input[readonly] { | |
| 722 | + cursor: pointer; | |
| 723 | +} | |
| 724 | +@-webkit-keyframes fpFadeInDown { | |
| 725 | + from { | |
| 726 | + opacity: 0; | |
| 727 | + -webkit-transform: translate3d(0, -20px, 0); | |
| 728 | + transform: translate3d(0, -20px, 0); | |
| 729 | + } | |
| 730 | + to { | |
| 731 | + opacity: 1; | |
| 732 | + -webkit-transform: translate3d(0, 0, 0); | |
| 733 | + transform: translate3d(0, 0, 0); | |
| 734 | + } | |
| 735 | +} | |
| 736 | +@keyframes fpFadeInDown { | |
| 737 | + from { | |
| 738 | + opacity: 0; | |
| 739 | + -webkit-transform: translate3d(0, -20px, 0); | |
| 740 | + transform: translate3d(0, -20px, 0); | |
| 741 | + } | |
| 742 | + to { | |
| 743 | + opacity: 1; | |
| 744 | + -webkit-transform: translate3d(0, 0, 0); | |
| 745 | + transform: translate3d(0, 0, 0); | |
| 746 | + } | |
| 747 | +} | |
| 748 | +@-webkit-keyframes fpSlideLeft { | |
| 749 | + from { | |
| 750 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 751 | + transform: translate3d(0px, 0px, 0px); | |
| 752 | + } | |
| 753 | + to { | |
| 754 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 755 | + transform: translate3d(-100%, 0px, 0px); | |
| 756 | + } | |
| 757 | +} | |
| 758 | +@keyframes fpSlideLeft { | |
| 759 | + from { | |
| 760 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 761 | + transform: translate3d(0px, 0px, 0px); | |
| 762 | + } | |
| 763 | + to { | |
| 764 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 765 | + transform: translate3d(-100%, 0px, 0px); | |
| 766 | + } | |
| 767 | +} | |
| 768 | +@-webkit-keyframes fpSlideLeftNew { | |
| 769 | + from { | |
| 770 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 771 | + transform: translate3d(100%, 0px, 0px); | |
| 772 | + } | |
| 773 | + to { | |
| 774 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 775 | + transform: translate3d(0px, 0px, 0px); | |
| 776 | + } | |
| 777 | +} | |
| 778 | +@keyframes fpSlideLeftNew { | |
| 779 | + from { | |
| 780 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 781 | + transform: translate3d(100%, 0px, 0px); | |
| 782 | + } | |
| 783 | + to { | |
| 784 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 785 | + transform: translate3d(0px, 0px, 0px); | |
| 786 | + } | |
| 787 | +} | |
| 788 | +@-webkit-keyframes fpSlideRight { | |
| 789 | + from { | |
| 790 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 791 | + transform: translate3d(0, 0, 0px); | |
| 792 | + } | |
| 793 | + to { | |
| 794 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 795 | + transform: translate3d(100%, 0px, 0px); | |
| 796 | + } | |
| 797 | +} | |
| 798 | +@keyframes fpSlideRight { | |
| 799 | + from { | |
| 800 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 801 | + transform: translate3d(0, 0, 0px); | |
| 802 | + } | |
| 803 | + to { | |
| 804 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 805 | + transform: translate3d(100%, 0px, 0px); | |
| 806 | + } | |
| 807 | +} | |
| 808 | +@-webkit-keyframes fpSlideRightNew { | |
| 809 | + from { | |
| 810 | + -webkit-transform: translate3d(-100%, 0, 0px); | |
| 811 | + transform: translate3d(-100%, 0, 0px); | |
| 812 | + } | |
| 813 | + to { | |
| 814 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 815 | + transform: translate3d(0, 0, 0px); | |
| 816 | + } | |
| 817 | +} | |
| 818 | +@keyframes fpSlideRightNew { | |
| 819 | + from { | |
| 820 | + -webkit-transform: translate3d(-100%, 0, 0px); | |
| 821 | + transform: translate3d(-100%, 0, 0px); | |
| 822 | + } | |
| 823 | + to { | |
| 824 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 825 | + transform: translate3d(0, 0, 0px); | |
| 826 | + } | |
| 827 | +} | |
| 828 | +@-webkit-keyframes fpFadeOut { | |
| 829 | + from { | |
| 830 | + opacity: 1; | |
| 831 | + } | |
| 832 | + to { | |
| 833 | + opacity: 0; | |
| 834 | + } | |
| 835 | +} | |
| 836 | +@keyframes fpFadeOut { | |
| 837 | + from { | |
| 838 | + opacity: 1; | |
| 839 | + } | |
| 840 | + to { | |
| 841 | + opacity: 0; | |
| 842 | + } | |
| 843 | +} | |
| 844 | +@-webkit-keyframes fpFadeIn { | |
| 845 | + from { | |
| 846 | + opacity: 0; | |
| 847 | + } | |
| 848 | + to { | |
| 849 | + opacity: 1; | |
| 850 | + } | |
| 851 | +} | |
| 852 | +@keyframes fpFadeIn { | |
| 853 | + from { | |
| 854 | + opacity: 0; | |
| 855 | + } | |
| 856 | + to { | |
| 857 | + opacity: 1; | |
| 858 | + } | |
| 859 | +} | |
| 860 | +span.flatpickr-day.selected { | |
| 861 | + font-weight: bold; | |
| 862 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/flatpickr/themes/material_blue.css
0 → 100644
| 1 | +.flatpickr-calendar { | |
| 2 | + background: transparent; | |
| 3 | + overflow: hidden; | |
| 4 | + max-height: 0; | |
| 5 | + opacity: 0; | |
| 6 | + visibility: hidden; | |
| 7 | + text-align: center; | |
| 8 | + padding: 0; | |
| 9 | + -webkit-animation: none; | |
| 10 | + animation: none; | |
| 11 | + direction: ltr; | |
| 12 | + border: 0; | |
| 13 | + font-size: 14px; | |
| 14 | + line-height: 24px; | |
| 15 | + border-radius: 5px; | |
| 16 | + position: absolute; | |
| 17 | + width: 307.875px; | |
| 18 | + -webkit-box-sizing: border-box; | |
| 19 | + box-sizing: border-box; | |
| 20 | + -ms-touch-action: manipulation; | |
| 21 | + touch-action: manipulation; | |
| 22 | + -webkit-box-shadow: 0 3px 13px rgba(0,0,0,0.08); | |
| 23 | + box-shadow: 0 3px 13px rgba(0,0,0,0.08); | |
| 24 | +} | |
| 25 | +.flatpickr-calendar.open, | |
| 26 | +.flatpickr-calendar.inline { | |
| 27 | + opacity: 1; | |
| 28 | + visibility: visible; | |
| 29 | + overflow: visible; | |
| 30 | + max-height: 640px; | |
| 31 | +} | |
| 32 | +.flatpickr-calendar.open { | |
| 33 | + display: inline-block; | |
| 34 | + z-index: 99999; | |
| 35 | +} | |
| 36 | +.flatpickr-calendar.animate.open { | |
| 37 | + -webkit-animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 38 | + animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 39 | +} | |
| 40 | +.flatpickr-calendar.inline { | |
| 41 | + display: block; | |
| 42 | + position: relative; | |
| 43 | + top: 2px; | |
| 44 | +} | |
| 45 | +.flatpickr-calendar.static { | |
| 46 | + position: absolute; | |
| 47 | + top: calc(100% + 2px); | |
| 48 | +} | |
| 49 | +.flatpickr-calendar.static.open { | |
| 50 | + z-index: 999; | |
| 51 | + display: block; | |
| 52 | +} | |
| 53 | +.flatpickr-calendar.hasWeeks { | |
| 54 | + width: auto; | |
| 55 | +} | |
| 56 | +.flatpickr-calendar .hasWeeks .dayContainer, | |
| 57 | +.flatpickr-calendar .hasTime .dayContainer { | |
| 58 | + border-bottom: 0; | |
| 59 | + border-bottom-right-radius: 0; | |
| 60 | + border-bottom-left-radius: 0; | |
| 61 | +} | |
| 62 | +.flatpickr-calendar .hasWeeks .dayContainer { | |
| 63 | + border-left: 0; | |
| 64 | +} | |
| 65 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time { | |
| 66 | + height: 40px; | |
| 67 | + border-top: 1px solid rgba(72,72,72,0.2); | |
| 68 | +} | |
| 69 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-innerContainer { | |
| 70 | + border-bottom: 0; | |
| 71 | +} | |
| 72 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time { | |
| 73 | + border: 1px solid rgba(72,72,72,0.2); | |
| 74 | +} | |
| 75 | +.flatpickr-calendar.noCalendar.hasTime .flatpickr-time { | |
| 76 | + height: auto; | |
| 77 | +} | |
| 78 | +.flatpickr-calendar:before, | |
| 79 | +.flatpickr-calendar:after { | |
| 80 | + position: absolute; | |
| 81 | + display: block; | |
| 82 | + pointer-events: none; | |
| 83 | + border: solid transparent; | |
| 84 | + content: ''; | |
| 85 | + height: 0; | |
| 86 | + width: 0; | |
| 87 | + left: 22px; | |
| 88 | +} | |
| 89 | +.flatpickr-calendar.rightMost:before, | |
| 90 | +.flatpickr-calendar.rightMost:after { | |
| 91 | + left: auto; | |
| 92 | + right: 22px; | |
| 93 | +} | |
| 94 | +.flatpickr-calendar:before { | |
| 95 | + border-width: 5px; | |
| 96 | + margin: 0 -5px; | |
| 97 | +} | |
| 98 | +.flatpickr-calendar:after { | |
| 99 | + border-width: 4px; | |
| 100 | + margin: 0 -4px; | |
| 101 | +} | |
| 102 | +.flatpickr-calendar.arrowTop:before, | |
| 103 | +.flatpickr-calendar.arrowTop:after { | |
| 104 | + bottom: 100%; | |
| 105 | +} | |
| 106 | +.flatpickr-calendar.arrowTop:before { | |
| 107 | + border-bottom-color: rgba(72,72,72,0.2); | |
| 108 | +} | |
| 109 | +.flatpickr-calendar.arrowTop:after { | |
| 110 | + border-bottom-color: #42a5f5; | |
| 111 | +} | |
| 112 | +.flatpickr-calendar.arrowBottom:before, | |
| 113 | +.flatpickr-calendar.arrowBottom:after { | |
| 114 | + top: 100%; | |
| 115 | +} | |
| 116 | +.flatpickr-calendar.arrowBottom:before { | |
| 117 | + border-top-color: rgba(72,72,72,0.2); | |
| 118 | +} | |
| 119 | +.flatpickr-calendar.arrowBottom:after { | |
| 120 | + border-top-color: #42a5f5; | |
| 121 | +} | |
| 122 | +.flatpickr-calendar:focus { | |
| 123 | + outline: 0; | |
| 124 | +} | |
| 125 | +.flatpickr-wrapper { | |
| 126 | + position: relative; | |
| 127 | + display: inline-block; | |
| 128 | +} | |
| 129 | +.flatpickr-month { | |
| 130 | + border-radius: 5px 5px 0 0; | |
| 131 | + background: #42a5f5; | |
| 132 | + color: #fff; | |
| 133 | + fill: #fff; | |
| 134 | + height: 28px; | |
| 135 | + line-height: 1; | |
| 136 | + text-align: center; | |
| 137 | + position: relative; | |
| 138 | + -webkit-user-select: none; | |
| 139 | + -moz-user-select: none; | |
| 140 | + -ms-user-select: none; | |
| 141 | + user-select: none; | |
| 142 | + overflow: hidden; | |
| 143 | +} | |
| 144 | +.flatpickr-prev-month, | |
| 145 | +.flatpickr-next-month { | |
| 146 | + text-decoration: none; | |
| 147 | + cursor: pointer; | |
| 148 | + position: absolute; | |
| 149 | + top: 0px; | |
| 150 | + line-height: 16px; | |
| 151 | + height: 28px; | |
| 152 | + padding: 10px calc(3.57% - 1.5px); | |
| 153 | + z-index: 3; | |
| 154 | +} | |
| 155 | +.flatpickr-prev-month i, | |
| 156 | +.flatpickr-next-month i { | |
| 157 | + position: relative; | |
| 158 | +} | |
| 159 | +.flatpickr-prev-month.flatpickr-prev-month, | |
| 160 | +.flatpickr-next-month.flatpickr-prev-month { | |
| 161 | +/* | |
| 162 | + /*rtl:begin:ignore*/ | |
| 163 | +/* | |
| 164 | + */ | |
| 165 | + left: 0; | |
| 166 | +/* | |
| 167 | + /*rtl:end:ignore*/ | |
| 168 | +/* | |
| 169 | + */ | |
| 170 | +} | |
| 171 | +/* | |
| 172 | + /*rtl:begin:ignore*/ | |
| 173 | +/* | |
| 174 | + /*rtl:end:ignore*/ | |
| 175 | +.flatpickr-prev-month.flatpickr-next-month, | |
| 176 | +.flatpickr-next-month.flatpickr-next-month { | |
| 177 | +/* | |
| 178 | + /*rtl:begin:ignore*/ | |
| 179 | +/* | |
| 180 | + */ | |
| 181 | + right: 0; | |
| 182 | +/* | |
| 183 | + /*rtl:end:ignore*/ | |
| 184 | +/* | |
| 185 | + */ | |
| 186 | +} | |
| 187 | +/* | |
| 188 | + /*rtl:begin:ignore*/ | |
| 189 | +/* | |
| 190 | + /*rtl:end:ignore*/ | |
| 191 | +.flatpickr-prev-month:hover, | |
| 192 | +.flatpickr-next-month:hover { | |
| 193 | + color: #bbb; | |
| 194 | +} | |
| 195 | +.flatpickr-prev-month:hover svg, | |
| 196 | +.flatpickr-next-month:hover svg { | |
| 197 | + fill: #f64747; | |
| 198 | +} | |
| 199 | +.flatpickr-prev-month svg, | |
| 200 | +.flatpickr-next-month svg { | |
| 201 | + width: 14px; | |
| 202 | +} | |
| 203 | +.flatpickr-prev-month svg path, | |
| 204 | +.flatpickr-next-month svg path { | |
| 205 | + -webkit-transition: fill 0.1s; | |
| 206 | + transition: fill 0.1s; | |
| 207 | + fill: inherit; | |
| 208 | +} | |
| 209 | +.numInputWrapper { | |
| 210 | + position: relative; | |
| 211 | + height: auto; | |
| 212 | +} | |
| 213 | +.numInputWrapper input, | |
| 214 | +.numInputWrapper span { | |
| 215 | + display: inline-block; | |
| 216 | +} | |
| 217 | +.numInputWrapper input { | |
| 218 | + width: 100%; | |
| 219 | +} | |
| 220 | +.numInputWrapper span { | |
| 221 | + position: absolute; | |
| 222 | + right: 0; | |
| 223 | + width: 14px; | |
| 224 | + padding: 0 4px 0 2px; | |
| 225 | + height: 50%; | |
| 226 | + line-height: 50%; | |
| 227 | + opacity: 0; | |
| 228 | + cursor: pointer; | |
| 229 | + border: 1px solid rgba(72,72,72,0.05); | |
| 230 | + -webkit-box-sizing: border-box; | |
| 231 | + box-sizing: border-box; | |
| 232 | +} | |
| 233 | +.numInputWrapper span:hover { | |
| 234 | + background: rgba(0,0,0,0.1); | |
| 235 | +} | |
| 236 | +.numInputWrapper span:active { | |
| 237 | + background: rgba(0,0,0,0.2); | |
| 238 | +} | |
| 239 | +.numInputWrapper span:after { | |
| 240 | + display: block; | |
| 241 | + content: ""; | |
| 242 | + position: absolute; | |
| 243 | + top: 33%; | |
| 244 | +} | |
| 245 | +.numInputWrapper span.arrowUp { | |
| 246 | + top: 0; | |
| 247 | + border-bottom: 0; | |
| 248 | +} | |
| 249 | +.numInputWrapper span.arrowUp:after { | |
| 250 | + border-left: 4px solid transparent; | |
| 251 | + border-right: 4px solid transparent; | |
| 252 | + border-bottom: 4px solid rgba(72,72,72,0.6); | |
| 253 | +} | |
| 254 | +.numInputWrapper span.arrowDown { | |
| 255 | + top: 50%; | |
| 256 | +} | |
| 257 | +.numInputWrapper span.arrowDown:after { | |
| 258 | + border-left: 4px solid transparent; | |
| 259 | + border-right: 4px solid transparent; | |
| 260 | + border-top: 4px solid rgba(72,72,72,0.6); | |
| 261 | +} | |
| 262 | +.numInputWrapper span svg { | |
| 263 | + width: inherit; | |
| 264 | + height: auto; | |
| 265 | +} | |
| 266 | +.numInputWrapper span svg path { | |
| 267 | + fill: rgba(255,255,255,0.5); | |
| 268 | +} | |
| 269 | +.numInputWrapper:hover { | |
| 270 | + background: rgba(0,0,0,0.05); | |
| 271 | +} | |
| 272 | +.numInputWrapper:hover span { | |
| 273 | + opacity: 1; | |
| 274 | +} | |
| 275 | +.flatpickr-current-month { | |
| 276 | + font-size: 135%; | |
| 277 | + line-height: inherit; | |
| 278 | + font-weight: 300; | |
| 279 | + color: inherit; | |
| 280 | + position: absolute; | |
| 281 | + width: 75%; | |
| 282 | + left: 12.5%; | |
| 283 | + padding: 6.16px 0 0 0; | |
| 284 | + line-height: 1; | |
| 285 | + height: 28px; | |
| 286 | + display: inline-block; | |
| 287 | + text-align: center; | |
| 288 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 289 | + transform: translate3d(0px, 0px, 0px); | |
| 290 | +} | |
| 291 | +.flatpickr-current-month.slideLeft { | |
| 292 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 293 | + transform: translate3d(-100%, 0px, 0px); | |
| 294 | + -webkit-animation: fpFadeOut 400ms ease, fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 295 | + animation: fpFadeOut 400ms ease, fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 296 | +} | |
| 297 | +.flatpickr-current-month.slideLeftNew { | |
| 298 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 299 | + transform: translate3d(100%, 0px, 0px); | |
| 300 | + -webkit-animation: fpFadeIn 400ms ease, fpSlideLeftNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 301 | + animation: fpFadeIn 400ms ease, fpSlideLeftNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 302 | +} | |
| 303 | +.flatpickr-current-month.slideRight { | |
| 304 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 305 | + transform: translate3d(100%, 0px, 0px); | |
| 306 | + -webkit-animation: fpFadeOut 400ms ease, fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 307 | + animation: fpFadeOut 400ms ease, fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 308 | +} | |
| 309 | +.flatpickr-current-month.slideRightNew { | |
| 310 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 311 | + transform: translate3d(0, 0, 0px); | |
| 312 | + -webkit-animation: fpFadeIn 400ms ease, fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 313 | + animation: fpFadeIn 400ms ease, fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 314 | +} | |
| 315 | +.flatpickr-current-month span.cur-month { | |
| 316 | + font-family: inherit; | |
| 317 | + font-weight: 700; | |
| 318 | + color: inherit; | |
| 319 | + display: inline-block; | |
| 320 | + margin-left: 0.5ch; | |
| 321 | + padding: 0; | |
| 322 | +} | |
| 323 | +.flatpickr-current-month span.cur-month:hover { | |
| 324 | + background: rgba(0,0,0,0.05); | |
| 325 | +} | |
| 326 | +.flatpickr-current-month .numInputWrapper { | |
| 327 | + width: 6ch; | |
| 328 | + width: 7ch\0; | |
| 329 | + display: inline-block; | |
| 330 | +} | |
| 331 | +.flatpickr-current-month .numInputWrapper span.arrowUp:after { | |
| 332 | + border-bottom-color: #fff; | |
| 333 | +} | |
| 334 | +.flatpickr-current-month .numInputWrapper span.arrowDown:after { | |
| 335 | + border-top-color: #fff; | |
| 336 | +} | |
| 337 | +.flatpickr-current-month input.cur-year { | |
| 338 | + background: transparent; | |
| 339 | + -webkit-box-sizing: border-box; | |
| 340 | + box-sizing: border-box; | |
| 341 | + color: inherit; | |
| 342 | + cursor: default; | |
| 343 | + padding: 0 0 0 0.5ch; | |
| 344 | + margin: 0; | |
| 345 | + display: inline-block; | |
| 346 | + font-size: inherit; | |
| 347 | + font-family: inherit; | |
| 348 | + font-weight: 300; | |
| 349 | + line-height: inherit; | |
| 350 | + height: initial; | |
| 351 | + border: 0; | |
| 352 | + border-radius: 0; | |
| 353 | + vertical-align: initial; | |
| 354 | +} | |
| 355 | +.flatpickr-current-month input.cur-year:focus { | |
| 356 | + outline: 0; | |
| 357 | +} | |
| 358 | +.flatpickr-current-month input.cur-year[disabled], | |
| 359 | +.flatpickr-current-month input.cur-year[disabled]:hover { | |
| 360 | + font-size: 100%; | |
| 361 | + color: rgba(255,255,255,0.5); | |
| 362 | + background: transparent; | |
| 363 | + pointer-events: none; | |
| 364 | +} | |
| 365 | +.flatpickr-weekdays { | |
| 366 | + background: #42a5f5; | |
| 367 | + text-align: center; | |
| 368 | + overflow: hidden; | |
| 369 | + width: 100%; | |
| 370 | + display: -webkit-box; | |
| 371 | + display: -webkit-flex; | |
| 372 | + display: -ms-flexbox; | |
| 373 | + display: flex; | |
| 374 | + -webkit-box-align: center; | |
| 375 | + -webkit-align-items: center; | |
| 376 | + -ms-flex-align: center; | |
| 377 | + align-items: center; | |
| 378 | + height: 28px; | |
| 379 | +} | |
| 380 | +span.flatpickr-weekday { | |
| 381 | + cursor: default; | |
| 382 | + font-size: 90%; | |
| 383 | + background: #42a5f5; | |
| 384 | + color: rgba(0,0,0,0.54); | |
| 385 | + line-height: 1; | |
| 386 | + margin: 0; | |
| 387 | + text-align: center; | |
| 388 | + display: block; | |
| 389 | + -webkit-box-flex: 1; | |
| 390 | + -webkit-flex: 1; | |
| 391 | + -ms-flex: 1; | |
| 392 | + flex: 1; | |
| 393 | + font-weight: bolder; | |
| 394 | +} | |
| 395 | +.dayContainer, | |
| 396 | +.flatpickr-weeks { | |
| 397 | + padding: 1px 0 0 0; | |
| 398 | +} | |
| 399 | +.flatpickr-days { | |
| 400 | + position: relative; | |
| 401 | + overflow: hidden; | |
| 402 | + display: -webkit-box; | |
| 403 | + display: -webkit-flex; | |
| 404 | + display: -ms-flexbox; | |
| 405 | + display: flex; | |
| 406 | + width: 307.875px; | |
| 407 | + border-left: 1px solid rgba(72,72,72,0.2); | |
| 408 | + border-right: 1px solid rgba(72,72,72,0.2); | |
| 409 | +} | |
| 410 | +.flatpickr-days:focus { | |
| 411 | + outline: 0; | |
| 412 | +} | |
| 413 | +.dayContainer { | |
| 414 | + padding: 0; | |
| 415 | + outline: 0; | |
| 416 | + text-align: left; | |
| 417 | + width: 307.875px; | |
| 418 | + min-width: 307.875px; | |
| 419 | + max-width: 307.875px; | |
| 420 | + -webkit-box-sizing: border-box; | |
| 421 | + box-sizing: border-box; | |
| 422 | + display: inline-block; | |
| 423 | + display: -ms-flexbox; | |
| 424 | + display: -webkit-box; | |
| 425 | + display: -webkit-flex; | |
| 426 | + display: flex; | |
| 427 | + -webkit-flex-wrap: wrap; | |
| 428 | + flex-wrap: wrap; | |
| 429 | + -ms-flex-wrap: wrap; | |
| 430 | + -ms-flex-pack: justify; | |
| 431 | + -webkit-justify-content: space-around; | |
| 432 | + justify-content: space-around; | |
| 433 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 434 | + transform: translate3d(0px, 0px, 0px); | |
| 435 | + opacity: 1; | |
| 436 | +} | |
| 437 | +.flatpickr-calendar.animate .dayContainer.slideLeft { | |
| 438 | + -webkit-animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 439 | + animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 440 | +} | |
| 441 | +.flatpickr-calendar.animate .dayContainer.slideLeft, | |
| 442 | +.flatpickr-calendar.animate .dayContainer.slideLeftNew { | |
| 443 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 444 | + transform: translate3d(-100%, 0px, 0px); | |
| 445 | +} | |
| 446 | +.flatpickr-calendar.animate .dayContainer.slideLeftNew { | |
| 447 | + -webkit-animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 448 | + animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 449 | +} | |
| 450 | +.flatpickr-calendar.animate .dayContainer.slideRight { | |
| 451 | + -webkit-animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 452 | + animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 453 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 454 | + transform: translate3d(100%, 0px, 0px); | |
| 455 | +} | |
| 456 | +.flatpickr-calendar.animate .dayContainer.slideRightNew { | |
| 457 | + -webkit-animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 458 | + animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 459 | +} | |
| 460 | +.flatpickr-day { | |
| 461 | + background: none; | |
| 462 | + border: 1px solid transparent; | |
| 463 | + border-radius: 150px; | |
| 464 | + -webkit-box-sizing: border-box; | |
| 465 | + box-sizing: border-box; | |
| 466 | + color: #484848; | |
| 467 | + cursor: pointer; | |
| 468 | + font-weight: 400; | |
| 469 | + width: 14.2857143%; | |
| 470 | + -webkit-flex-basis: 14.2857143%; | |
| 471 | + -ms-flex-preferred-size: 14.2857143%; | |
| 472 | + flex-basis: 14.2857143%; | |
| 473 | + max-width: 39px; | |
| 474 | + height: 39px; | |
| 475 | + line-height: 39px; | |
| 476 | + margin: 0; | |
| 477 | + display: inline-block; | |
| 478 | + position: relative; | |
| 479 | + -webkit-box-pack: center; | |
| 480 | + -webkit-justify-content: center; | |
| 481 | + -ms-flex-pack: center; | |
| 482 | + justify-content: center; | |
| 483 | + text-align: center; | |
| 484 | +} | |
| 485 | +.flatpickr-day.inRange, | |
| 486 | +.flatpickr-day.prevMonthDay.inRange, | |
| 487 | +.flatpickr-day.nextMonthDay.inRange, | |
| 488 | +.flatpickr-day.today.inRange, | |
| 489 | +.flatpickr-day.prevMonthDay.today.inRange, | |
| 490 | +.flatpickr-day.nextMonthDay.today.inRange, | |
| 491 | +.flatpickr-day:hover, | |
| 492 | +.flatpickr-day.prevMonthDay:hover, | |
| 493 | +.flatpickr-day.nextMonthDay:hover, | |
| 494 | +.flatpickr-day:focus, | |
| 495 | +.flatpickr-day.prevMonthDay:focus, | |
| 496 | +.flatpickr-day.nextMonthDay:focus { | |
| 497 | + cursor: pointer; | |
| 498 | + outline: 0; | |
| 499 | + background: #e2e2e2; | |
| 500 | + border-color: #e2e2e2; | |
| 501 | +} | |
| 502 | +.flatpickr-day.today { | |
| 503 | + border-color: #bbb; | |
| 504 | +} | |
| 505 | +.flatpickr-day.today:hover, | |
| 506 | +.flatpickr-day.today:focus { | |
| 507 | + border-color: #bbb; | |
| 508 | + background: #bbb; | |
| 509 | + color: #fff; | |
| 510 | +} | |
| 511 | +.flatpickr-day.selected, | |
| 512 | +.flatpickr-day.startRange, | |
| 513 | +.flatpickr-day.endRange, | |
| 514 | +.flatpickr-day.selected.inRange, | |
| 515 | +.flatpickr-day.startRange.inRange, | |
| 516 | +.flatpickr-day.endRange.inRange, | |
| 517 | +.flatpickr-day.selected:focus, | |
| 518 | +.flatpickr-day.startRange:focus, | |
| 519 | +.flatpickr-day.endRange:focus, | |
| 520 | +.flatpickr-day.selected:hover, | |
| 521 | +.flatpickr-day.startRange:hover, | |
| 522 | +.flatpickr-day.endRange:hover, | |
| 523 | +.flatpickr-day.selected.prevMonthDay, | |
| 524 | +.flatpickr-day.startRange.prevMonthDay, | |
| 525 | +.flatpickr-day.endRange.prevMonthDay, | |
| 526 | +.flatpickr-day.selected.nextMonthDay, | |
| 527 | +.flatpickr-day.startRange.nextMonthDay, | |
| 528 | +.flatpickr-day.endRange.nextMonthDay { | |
| 529 | + background: #42a5f5; | |
| 530 | + -webkit-box-shadow: none; | |
| 531 | + box-shadow: none; | |
| 532 | + color: #fff; | |
| 533 | + border-color: #42a5f5; | |
| 534 | +} | |
| 535 | +.flatpickr-day.selected.startRange, | |
| 536 | +.flatpickr-day.startRange.startRange, | |
| 537 | +.flatpickr-day.endRange.startRange { | |
| 538 | + border-radius: 50px 0 0 50px; | |
| 539 | +} | |
| 540 | +.flatpickr-day.selected.endRange, | |
| 541 | +.flatpickr-day.startRange.endRange, | |
| 542 | +.flatpickr-day.endRange.endRange { | |
| 543 | + border-radius: 0 50px 50px 0; | |
| 544 | +} | |
| 545 | +.flatpickr-day.selected.startRange + .endRange, | |
| 546 | +.flatpickr-day.startRange.startRange + .endRange, | |
| 547 | +.flatpickr-day.endRange.startRange + .endRange { | |
| 548 | + -webkit-box-shadow: -10px 0 0 #42a5f5; | |
| 549 | + box-shadow: -10px 0 0 #42a5f5; | |
| 550 | +} | |
| 551 | +.flatpickr-day.selected.startRange.endRange, | |
| 552 | +.flatpickr-day.startRange.startRange.endRange, | |
| 553 | +.flatpickr-day.endRange.startRange.endRange { | |
| 554 | + border-radius: 50px; | |
| 555 | +} | |
| 556 | +.flatpickr-day.inRange { | |
| 557 | + border-radius: 0; | |
| 558 | + -webkit-box-shadow: -5px 0 0 #e2e2e2, 5px 0 0 #e2e2e2; | |
| 559 | + box-shadow: -5px 0 0 #e2e2e2, 5px 0 0 #e2e2e2; | |
| 560 | +} | |
| 561 | +.flatpickr-day.disabled, | |
| 562 | +.flatpickr-day.disabled:hover { | |
| 563 | + pointer-events: none; | |
| 564 | +} | |
| 565 | +.flatpickr-day.disabled, | |
| 566 | +.flatpickr-day.disabled:hover, | |
| 567 | +.flatpickr-day.prevMonthDay, | |
| 568 | +.flatpickr-day.nextMonthDay, | |
| 569 | +.flatpickr-day.notAllowed, | |
| 570 | +.flatpickr-day.notAllowed.prevMonthDay, | |
| 571 | +.flatpickr-day.notAllowed.nextMonthDay { | |
| 572 | + color: rgba(72,72,72,0.3); | |
| 573 | + background: transparent; | |
| 574 | + border-color: transparent; | |
| 575 | + cursor: default; | |
| 576 | +} | |
| 577 | +.flatpickr-day.week.selected { | |
| 578 | + border-radius: 0; | |
| 579 | + -webkit-box-shadow: -5px 0 0 #42a5f5, 5px 0 0 #42a5f5; | |
| 580 | + box-shadow: -5px 0 0 #42a5f5, 5px 0 0 #42a5f5; | |
| 581 | +} | |
| 582 | +.rangeMode .flatpickr-day { | |
| 583 | + margin-top: 1px; | |
| 584 | +} | |
| 585 | +.flatpickr-weekwrapper { | |
| 586 | + display: inline-block; | |
| 587 | + float: left; | |
| 588 | +} | |
| 589 | +.flatpickr-weekwrapper .flatpickr-weeks { | |
| 590 | + padding: 0 12px; | |
| 591 | + border-left: 1px solid rgba(72,72,72,0.2); | |
| 592 | +} | |
| 593 | +.flatpickr-weekwrapper .flatpickr-weekday { | |
| 594 | + float: none; | |
| 595 | + width: 100%; | |
| 596 | + line-height: 28px; | |
| 597 | +} | |
| 598 | +.flatpickr-weekwrapper span.flatpickr-day { | |
| 599 | + display: block; | |
| 600 | + width: 100%; | |
| 601 | + max-width: none; | |
| 602 | +} | |
| 603 | +.flatpickr-innerContainer { | |
| 604 | + display: block; | |
| 605 | + display: -webkit-box; | |
| 606 | + display: -webkit-flex; | |
| 607 | + display: -ms-flexbox; | |
| 608 | + display: flex; | |
| 609 | + -webkit-box-sizing: border-box; | |
| 610 | + box-sizing: border-box; | |
| 611 | + overflow: hidden; | |
| 612 | + background: #fff; | |
| 613 | + border-bottom: 1px solid rgba(72,72,72,0.2); | |
| 614 | +} | |
| 615 | +.flatpickr-rContainer { | |
| 616 | + display: inline-block; | |
| 617 | + padding: 0; | |
| 618 | + -webkit-box-sizing: border-box; | |
| 619 | + box-sizing: border-box; | |
| 620 | +} | |
| 621 | +.flatpickr-time { | |
| 622 | + text-align: center; | |
| 623 | + outline: 0; | |
| 624 | + display: block; | |
| 625 | + height: 0; | |
| 626 | + line-height: 40px; | |
| 627 | + max-height: 40px; | |
| 628 | + -webkit-box-sizing: border-box; | |
| 629 | + box-sizing: border-box; | |
| 630 | + overflow: hidden; | |
| 631 | + display: -webkit-box; | |
| 632 | + display: -webkit-flex; | |
| 633 | + display: -ms-flexbox; | |
| 634 | + display: flex; | |
| 635 | + background: #fff; | |
| 636 | + border-radius: 0 0 5px 5px; | |
| 637 | +} | |
| 638 | +.flatpickr-time:after { | |
| 639 | + content: ""; | |
| 640 | + display: table; | |
| 641 | + clear: both; | |
| 642 | +} | |
| 643 | +.flatpickr-time .numInputWrapper { | |
| 644 | + -webkit-box-flex: 1; | |
| 645 | + -webkit-flex: 1; | |
| 646 | + -ms-flex: 1; | |
| 647 | + flex: 1; | |
| 648 | + width: 40%; | |
| 649 | + height: 40px; | |
| 650 | + float: left; | |
| 651 | +} | |
| 652 | +.flatpickr-time .numInputWrapper span.arrowUp:after { | |
| 653 | + border-bottom-color: #484848; | |
| 654 | +} | |
| 655 | +.flatpickr-time .numInputWrapper span.arrowDown:after { | |
| 656 | + border-top-color: #484848; | |
| 657 | +} | |
| 658 | +.flatpickr-time.hasSeconds .numInputWrapper { | |
| 659 | + width: 26%; | |
| 660 | +} | |
| 661 | +.flatpickr-time.time24hr .numInputWrapper { | |
| 662 | + width: 49%; | |
| 663 | +} | |
| 664 | +.flatpickr-time input { | |
| 665 | + background: transparent; | |
| 666 | + -webkit-box-shadow: none; | |
| 667 | + box-shadow: none; | |
| 668 | + border: 0; | |
| 669 | + border-radius: 0; | |
| 670 | + text-align: center; | |
| 671 | + margin: 0; | |
| 672 | + padding: 0; | |
| 673 | + height: inherit; | |
| 674 | + line-height: inherit; | |
| 675 | + cursor: pointer; | |
| 676 | + color: #484848; | |
| 677 | + font-size: 14px; | |
| 678 | + position: relative; | |
| 679 | + -webkit-box-sizing: border-box; | |
| 680 | + box-sizing: border-box; | |
| 681 | +} | |
| 682 | +.flatpickr-time input.flatpickr-hour { | |
| 683 | + font-weight: bold; | |
| 684 | +} | |
| 685 | +.flatpickr-time input.flatpickr-minute, | |
| 686 | +.flatpickr-time input.flatpickr-second { | |
| 687 | + font-weight: 400; | |
| 688 | +} | |
| 689 | +.flatpickr-time input:focus { | |
| 690 | + outline: 0; | |
| 691 | + border: 0; | |
| 692 | +} | |
| 693 | +.flatpickr-time .flatpickr-time-separator, | |
| 694 | +.flatpickr-time .flatpickr-am-pm { | |
| 695 | + height: inherit; | |
| 696 | + display: inline-block; | |
| 697 | + float: left; | |
| 698 | + line-height: inherit; | |
| 699 | + color: #484848; | |
| 700 | + font-weight: bold; | |
| 701 | + width: 2%; | |
| 702 | + -webkit-user-select: none; | |
| 703 | + -moz-user-select: none; | |
| 704 | + -ms-user-select: none; | |
| 705 | + user-select: none; | |
| 706 | + -webkit-align-self: center; | |
| 707 | + -ms-flex-item-align: center; | |
| 708 | + align-self: center; | |
| 709 | +} | |
| 710 | +.flatpickr-time .flatpickr-am-pm { | |
| 711 | + outline: 0; | |
| 712 | + width: 18%; | |
| 713 | + cursor: pointer; | |
| 714 | + text-align: center; | |
| 715 | + font-weight: 400; | |
| 716 | +} | |
| 717 | +.flatpickr-time .flatpickr-am-pm:hover, | |
| 718 | +.flatpickr-time .flatpickr-am-pm:focus { | |
| 719 | + background: #ececec; | |
| 720 | +} | |
| 721 | +.flatpickr-input[readonly] { | |
| 722 | + cursor: pointer; | |
| 723 | +} | |
| 724 | +@-webkit-keyframes fpFadeInDown { | |
| 725 | + from { | |
| 726 | + opacity: 0; | |
| 727 | + -webkit-transform: translate3d(0, -20px, 0); | |
| 728 | + transform: translate3d(0, -20px, 0); | |
| 729 | + } | |
| 730 | + to { | |
| 731 | + opacity: 1; | |
| 732 | + -webkit-transform: translate3d(0, 0, 0); | |
| 733 | + transform: translate3d(0, 0, 0); | |
| 734 | + } | |
| 735 | +} | |
| 736 | +@keyframes fpFadeInDown { | |
| 737 | + from { | |
| 738 | + opacity: 0; | |
| 739 | + -webkit-transform: translate3d(0, -20px, 0); | |
| 740 | + transform: translate3d(0, -20px, 0); | |
| 741 | + } | |
| 742 | + to { | |
| 743 | + opacity: 1; | |
| 744 | + -webkit-transform: translate3d(0, 0, 0); | |
| 745 | + transform: translate3d(0, 0, 0); | |
| 746 | + } | |
| 747 | +} | |
| 748 | +@-webkit-keyframes fpSlideLeft { | |
| 749 | + from { | |
| 750 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 751 | + transform: translate3d(0px, 0px, 0px); | |
| 752 | + } | |
| 753 | + to { | |
| 754 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 755 | + transform: translate3d(-100%, 0px, 0px); | |
| 756 | + } | |
| 757 | +} | |
| 758 | +@keyframes fpSlideLeft { | |
| 759 | + from { | |
| 760 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 761 | + transform: translate3d(0px, 0px, 0px); | |
| 762 | + } | |
| 763 | + to { | |
| 764 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 765 | + transform: translate3d(-100%, 0px, 0px); | |
| 766 | + } | |
| 767 | +} | |
| 768 | +@-webkit-keyframes fpSlideLeftNew { | |
| 769 | + from { | |
| 770 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 771 | + transform: translate3d(100%, 0px, 0px); | |
| 772 | + } | |
| 773 | + to { | |
| 774 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 775 | + transform: translate3d(0px, 0px, 0px); | |
| 776 | + } | |
| 777 | +} | |
| 778 | +@keyframes fpSlideLeftNew { | |
| 779 | + from { | |
| 780 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 781 | + transform: translate3d(100%, 0px, 0px); | |
| 782 | + } | |
| 783 | + to { | |
| 784 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 785 | + transform: translate3d(0px, 0px, 0px); | |
| 786 | + } | |
| 787 | +} | |
| 788 | +@-webkit-keyframes fpSlideRight { | |
| 789 | + from { | |
| 790 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 791 | + transform: translate3d(0, 0, 0px); | |
| 792 | + } | |
| 793 | + to { | |
| 794 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 795 | + transform: translate3d(100%, 0px, 0px); | |
| 796 | + } | |
| 797 | +} | |
| 798 | +@keyframes fpSlideRight { | |
| 799 | + from { | |
| 800 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 801 | + transform: translate3d(0, 0, 0px); | |
| 802 | + } | |
| 803 | + to { | |
| 804 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 805 | + transform: translate3d(100%, 0px, 0px); | |
| 806 | + } | |
| 807 | +} | |
| 808 | +@-webkit-keyframes fpSlideRightNew { | |
| 809 | + from { | |
| 810 | + -webkit-transform: translate3d(-100%, 0, 0px); | |
| 811 | + transform: translate3d(-100%, 0, 0px); | |
| 812 | + } | |
| 813 | + to { | |
| 814 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 815 | + transform: translate3d(0, 0, 0px); | |
| 816 | + } | |
| 817 | +} | |
| 818 | +@keyframes fpSlideRightNew { | |
| 819 | + from { | |
| 820 | + -webkit-transform: translate3d(-100%, 0, 0px); | |
| 821 | + transform: translate3d(-100%, 0, 0px); | |
| 822 | + } | |
| 823 | + to { | |
| 824 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 825 | + transform: translate3d(0, 0, 0px); | |
| 826 | + } | |
| 827 | +} | |
| 828 | +@-webkit-keyframes fpFadeOut { | |
| 829 | + from { | |
| 830 | + opacity: 1; | |
| 831 | + } | |
| 832 | + to { | |
| 833 | + opacity: 0; | |
| 834 | + } | |
| 835 | +} | |
| 836 | +@keyframes fpFadeOut { | |
| 837 | + from { | |
| 838 | + opacity: 1; | |
| 839 | + } | |
| 840 | + to { | |
| 841 | + opacity: 0; | |
| 842 | + } | |
| 843 | +} | |
| 844 | +@-webkit-keyframes fpFadeIn { | |
| 845 | + from { | |
| 846 | + opacity: 0; | |
| 847 | + } | |
| 848 | + to { | |
| 849 | + opacity: 1; | |
| 850 | + } | |
| 851 | +} | |
| 852 | +@keyframes fpFadeIn { | |
| 853 | + from { | |
| 854 | + opacity: 0; | |
| 855 | + } | |
| 856 | + to { | |
| 857 | + opacity: 1; | |
| 858 | + } | |
| 859 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/flatpickr/themes/material_green.css
0 → 100644
| 1 | +.flatpickr-calendar { | |
| 2 | + background: transparent; | |
| 3 | + overflow: hidden; | |
| 4 | + max-height: 0; | |
| 5 | + opacity: 0; | |
| 6 | + visibility: hidden; | |
| 7 | + text-align: center; | |
| 8 | + padding: 0; | |
| 9 | + -webkit-animation: none; | |
| 10 | + animation: none; | |
| 11 | + direction: ltr; | |
| 12 | + border: 0; | |
| 13 | + font-size: 14px; | |
| 14 | + line-height: 24px; | |
| 15 | + border-radius: 5px; | |
| 16 | + position: absolute; | |
| 17 | + width: 307.875px; | |
| 18 | + -webkit-box-sizing: border-box; | |
| 19 | + box-sizing: border-box; | |
| 20 | + -ms-touch-action: manipulation; | |
| 21 | + touch-action: manipulation; | |
| 22 | + -webkit-box-shadow: 0 3px 13px rgba(0,0,0,0.08); | |
| 23 | + box-shadow: 0 3px 13px rgba(0,0,0,0.08); | |
| 24 | +} | |
| 25 | +.flatpickr-calendar.open, | |
| 26 | +.flatpickr-calendar.inline { | |
| 27 | + opacity: 1; | |
| 28 | + visibility: visible; | |
| 29 | + overflow: visible; | |
| 30 | + max-height: 640px; | |
| 31 | +} | |
| 32 | +.flatpickr-calendar.open { | |
| 33 | + display: inline-block; | |
| 34 | + z-index: 99999; | |
| 35 | +} | |
| 36 | +.flatpickr-calendar.animate.open { | |
| 37 | + -webkit-animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 38 | + animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 39 | +} | |
| 40 | +.flatpickr-calendar.inline { | |
| 41 | + display: block; | |
| 42 | + position: relative; | |
| 43 | + top: 2px; | |
| 44 | +} | |
| 45 | +.flatpickr-calendar.static { | |
| 46 | + position: absolute; | |
| 47 | + top: calc(100% + 2px); | |
| 48 | +} | |
| 49 | +.flatpickr-calendar.static.open { | |
| 50 | + z-index: 999; | |
| 51 | + display: block; | |
| 52 | +} | |
| 53 | +.flatpickr-calendar.hasWeeks { | |
| 54 | + width: auto; | |
| 55 | +} | |
| 56 | +.flatpickr-calendar .hasWeeks .dayContainer, | |
| 57 | +.flatpickr-calendar .hasTime .dayContainer { | |
| 58 | + border-bottom: 0; | |
| 59 | + border-bottom-right-radius: 0; | |
| 60 | + border-bottom-left-radius: 0; | |
| 61 | +} | |
| 62 | +.flatpickr-calendar .hasWeeks .dayContainer { | |
| 63 | + border-left: 0; | |
| 64 | +} | |
| 65 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time { | |
| 66 | + height: 40px; | |
| 67 | + border-top: 1px solid rgba(72,72,72,0.2); | |
| 68 | +} | |
| 69 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-innerContainer { | |
| 70 | + border-bottom: 0; | |
| 71 | +} | |
| 72 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time { | |
| 73 | + border: 1px solid rgba(72,72,72,0.2); | |
| 74 | +} | |
| 75 | +.flatpickr-calendar.noCalendar.hasTime .flatpickr-time { | |
| 76 | + height: auto; | |
| 77 | +} | |
| 78 | +.flatpickr-calendar:before, | |
| 79 | +.flatpickr-calendar:after { | |
| 80 | + position: absolute; | |
| 81 | + display: block; | |
| 82 | + pointer-events: none; | |
| 83 | + border: solid transparent; | |
| 84 | + content: ''; | |
| 85 | + height: 0; | |
| 86 | + width: 0; | |
| 87 | + left: 22px; | |
| 88 | +} | |
| 89 | +.flatpickr-calendar.rightMost:before, | |
| 90 | +.flatpickr-calendar.rightMost:after { | |
| 91 | + left: auto; | |
| 92 | + right: 22px; | |
| 93 | +} | |
| 94 | +.flatpickr-calendar:before { | |
| 95 | + border-width: 5px; | |
| 96 | + margin: 0 -5px; | |
| 97 | +} | |
| 98 | +.flatpickr-calendar:after { | |
| 99 | + border-width: 4px; | |
| 100 | + margin: 0 -4px; | |
| 101 | +} | |
| 102 | +.flatpickr-calendar.arrowTop:before, | |
| 103 | +.flatpickr-calendar.arrowTop:after { | |
| 104 | + bottom: 100%; | |
| 105 | +} | |
| 106 | +.flatpickr-calendar.arrowTop:before { | |
| 107 | + border-bottom-color: rgba(72,72,72,0.2); | |
| 108 | +} | |
| 109 | +.flatpickr-calendar.arrowTop:after { | |
| 110 | + border-bottom-color: #1bbc9b; | |
| 111 | +} | |
| 112 | +.flatpickr-calendar.arrowBottom:before, | |
| 113 | +.flatpickr-calendar.arrowBottom:after { | |
| 114 | + top: 100%; | |
| 115 | +} | |
| 116 | +.flatpickr-calendar.arrowBottom:before { | |
| 117 | + border-top-color: rgba(72,72,72,0.2); | |
| 118 | +} | |
| 119 | +.flatpickr-calendar.arrowBottom:after { | |
| 120 | + border-top-color: #1bbc9b; | |
| 121 | +} | |
| 122 | +.flatpickr-calendar:focus { | |
| 123 | + outline: 0; | |
| 124 | +} | |
| 125 | +.flatpickr-wrapper { | |
| 126 | + position: relative; | |
| 127 | + display: inline-block; | |
| 128 | +} | |
| 129 | +.flatpickr-month { | |
| 130 | + border-radius: 5px 5px 0 0; | |
| 131 | + background: #1bbc9b; | |
| 132 | + color: #fff; | |
| 133 | + fill: #fff; | |
| 134 | + height: 28px; | |
| 135 | + line-height: 1; | |
| 136 | + text-align: center; | |
| 137 | + position: relative; | |
| 138 | + -webkit-user-select: none; | |
| 139 | + -moz-user-select: none; | |
| 140 | + -ms-user-select: none; | |
| 141 | + user-select: none; | |
| 142 | + overflow: hidden; | |
| 143 | +} | |
| 144 | +.flatpickr-prev-month, | |
| 145 | +.flatpickr-next-month { | |
| 146 | + text-decoration: none; | |
| 147 | + cursor: pointer; | |
| 148 | + position: absolute; | |
| 149 | + top: 0px; | |
| 150 | + line-height: 16px; | |
| 151 | + height: 28px; | |
| 152 | + padding: 10px calc(3.57% - 1.5px); | |
| 153 | + z-index: 3; | |
| 154 | +} | |
| 155 | +.flatpickr-prev-month i, | |
| 156 | +.flatpickr-next-month i { | |
| 157 | + position: relative; | |
| 158 | +} | |
| 159 | +.flatpickr-prev-month.flatpickr-prev-month, | |
| 160 | +.flatpickr-next-month.flatpickr-prev-month { | |
| 161 | +/* | |
| 162 | + /*rtl:begin:ignore*/ | |
| 163 | +/* | |
| 164 | + */ | |
| 165 | + left: 0; | |
| 166 | +/* | |
| 167 | + /*rtl:end:ignore*/ | |
| 168 | +/* | |
| 169 | + */ | |
| 170 | +} | |
| 171 | +/* | |
| 172 | + /*rtl:begin:ignore*/ | |
| 173 | +/* | |
| 174 | + /*rtl:end:ignore*/ | |
| 175 | +.flatpickr-prev-month.flatpickr-next-month, | |
| 176 | +.flatpickr-next-month.flatpickr-next-month { | |
| 177 | +/* | |
| 178 | + /*rtl:begin:ignore*/ | |
| 179 | +/* | |
| 180 | + */ | |
| 181 | + right: 0; | |
| 182 | +/* | |
| 183 | + /*rtl:end:ignore*/ | |
| 184 | +/* | |
| 185 | + */ | |
| 186 | +} | |
| 187 | +/* | |
| 188 | + /*rtl:begin:ignore*/ | |
| 189 | +/* | |
| 190 | + /*rtl:end:ignore*/ | |
| 191 | +.flatpickr-prev-month:hover, | |
| 192 | +.flatpickr-next-month:hover { | |
| 193 | + color: #bbb; | |
| 194 | +} | |
| 195 | +.flatpickr-prev-month:hover svg, | |
| 196 | +.flatpickr-next-month:hover svg { | |
| 197 | + fill: #f64747; | |
| 198 | +} | |
| 199 | +.flatpickr-prev-month svg, | |
| 200 | +.flatpickr-next-month svg { | |
| 201 | + width: 14px; | |
| 202 | +} | |
| 203 | +.flatpickr-prev-month svg path, | |
| 204 | +.flatpickr-next-month svg path { | |
| 205 | + -webkit-transition: fill 0.1s; | |
| 206 | + transition: fill 0.1s; | |
| 207 | + fill: inherit; | |
| 208 | +} | |
| 209 | +.numInputWrapper { | |
| 210 | + position: relative; | |
| 211 | + height: auto; | |
| 212 | +} | |
| 213 | +.numInputWrapper input, | |
| 214 | +.numInputWrapper span { | |
| 215 | + display: inline-block; | |
| 216 | +} | |
| 217 | +.numInputWrapper input { | |
| 218 | + width: 100%; | |
| 219 | +} | |
| 220 | +.numInputWrapper span { | |
| 221 | + position: absolute; | |
| 222 | + right: 0; | |
| 223 | + width: 14px; | |
| 224 | + padding: 0 4px 0 2px; | |
| 225 | + height: 50%; | |
| 226 | + line-height: 50%; | |
| 227 | + opacity: 0; | |
| 228 | + cursor: pointer; | |
| 229 | + border: 1px solid rgba(72,72,72,0.05); | |
| 230 | + -webkit-box-sizing: border-box; | |
| 231 | + box-sizing: border-box; | |
| 232 | +} | |
| 233 | +.numInputWrapper span:hover { | |
| 234 | + background: rgba(0,0,0,0.1); | |
| 235 | +} | |
| 236 | +.numInputWrapper span:active { | |
| 237 | + background: rgba(0,0,0,0.2); | |
| 238 | +} | |
| 239 | +.numInputWrapper span:after { | |
| 240 | + display: block; | |
| 241 | + content: ""; | |
| 242 | + position: absolute; | |
| 243 | + top: 33%; | |
| 244 | +} | |
| 245 | +.numInputWrapper span.arrowUp { | |
| 246 | + top: 0; | |
| 247 | + border-bottom: 0; | |
| 248 | +} | |
| 249 | +.numInputWrapper span.arrowUp:after { | |
| 250 | + border-left: 4px solid transparent; | |
| 251 | + border-right: 4px solid transparent; | |
| 252 | + border-bottom: 4px solid rgba(72,72,72,0.6); | |
| 253 | +} | |
| 254 | +.numInputWrapper span.arrowDown { | |
| 255 | + top: 50%; | |
| 256 | +} | |
| 257 | +.numInputWrapper span.arrowDown:after { | |
| 258 | + border-left: 4px solid transparent; | |
| 259 | + border-right: 4px solid transparent; | |
| 260 | + border-top: 4px solid rgba(72,72,72,0.6); | |
| 261 | +} | |
| 262 | +.numInputWrapper span svg { | |
| 263 | + width: inherit; | |
| 264 | + height: auto; | |
| 265 | +} | |
| 266 | +.numInputWrapper span svg path { | |
| 267 | + fill: rgba(255,255,255,0.5); | |
| 268 | +} | |
| 269 | +.numInputWrapper:hover { | |
| 270 | + background: rgba(0,0,0,0.05); | |
| 271 | +} | |
| 272 | +.numInputWrapper:hover span { | |
| 273 | + opacity: 1; | |
| 274 | +} | |
| 275 | +.flatpickr-current-month { | |
| 276 | + font-size: 135%; | |
| 277 | + line-height: inherit; | |
| 278 | + font-weight: 300; | |
| 279 | + color: inherit; | |
| 280 | + position: absolute; | |
| 281 | + width: 75%; | |
| 282 | + left: 12.5%; | |
| 283 | + padding: 6.16px 0 0 0; | |
| 284 | + line-height: 1; | |
| 285 | + height: 28px; | |
| 286 | + display: inline-block; | |
| 287 | + text-align: center; | |
| 288 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 289 | + transform: translate3d(0px, 0px, 0px); | |
| 290 | +} | |
| 291 | +.flatpickr-current-month.slideLeft { | |
| 292 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 293 | + transform: translate3d(-100%, 0px, 0px); | |
| 294 | + -webkit-animation: fpFadeOut 400ms ease, fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 295 | + animation: fpFadeOut 400ms ease, fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 296 | +} | |
| 297 | +.flatpickr-current-month.slideLeftNew { | |
| 298 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 299 | + transform: translate3d(100%, 0px, 0px); | |
| 300 | + -webkit-animation: fpFadeIn 400ms ease, fpSlideLeftNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 301 | + animation: fpFadeIn 400ms ease, fpSlideLeftNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 302 | +} | |
| 303 | +.flatpickr-current-month.slideRight { | |
| 304 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 305 | + transform: translate3d(100%, 0px, 0px); | |
| 306 | + -webkit-animation: fpFadeOut 400ms ease, fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 307 | + animation: fpFadeOut 400ms ease, fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 308 | +} | |
| 309 | +.flatpickr-current-month.slideRightNew { | |
| 310 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 311 | + transform: translate3d(0, 0, 0px); | |
| 312 | + -webkit-animation: fpFadeIn 400ms ease, fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 313 | + animation: fpFadeIn 400ms ease, fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 314 | +} | |
| 315 | +.flatpickr-current-month span.cur-month { | |
| 316 | + font-family: inherit; | |
| 317 | + font-weight: 700; | |
| 318 | + color: inherit; | |
| 319 | + display: inline-block; | |
| 320 | + margin-left: 0.5ch; | |
| 321 | + padding: 0; | |
| 322 | +} | |
| 323 | +.flatpickr-current-month span.cur-month:hover { | |
| 324 | + background: rgba(0,0,0,0.05); | |
| 325 | +} | |
| 326 | +.flatpickr-current-month .numInputWrapper { | |
| 327 | + width: 6ch; | |
| 328 | + width: 7ch\0; | |
| 329 | + display: inline-block; | |
| 330 | +} | |
| 331 | +.flatpickr-current-month .numInputWrapper span.arrowUp:after { | |
| 332 | + border-bottom-color: #fff; | |
| 333 | +} | |
| 334 | +.flatpickr-current-month .numInputWrapper span.arrowDown:after { | |
| 335 | + border-top-color: #fff; | |
| 336 | +} | |
| 337 | +.flatpickr-current-month input.cur-year { | |
| 338 | + background: transparent; | |
| 339 | + -webkit-box-sizing: border-box; | |
| 340 | + box-sizing: border-box; | |
| 341 | + color: inherit; | |
| 342 | + cursor: default; | |
| 343 | + padding: 0 0 0 0.5ch; | |
| 344 | + margin: 0; | |
| 345 | + display: inline-block; | |
| 346 | + font-size: inherit; | |
| 347 | + font-family: inherit; | |
| 348 | + font-weight: 300; | |
| 349 | + line-height: inherit; | |
| 350 | + height: initial; | |
| 351 | + border: 0; | |
| 352 | + border-radius: 0; | |
| 353 | + vertical-align: initial; | |
| 354 | +} | |
| 355 | +.flatpickr-current-month input.cur-year:focus { | |
| 356 | + outline: 0; | |
| 357 | +} | |
| 358 | +.flatpickr-current-month input.cur-year[disabled], | |
| 359 | +.flatpickr-current-month input.cur-year[disabled]:hover { | |
| 360 | + font-size: 100%; | |
| 361 | + color: rgba(255,255,255,0.5); | |
| 362 | + background: transparent; | |
| 363 | + pointer-events: none; | |
| 364 | +} | |
| 365 | +.flatpickr-weekdays { | |
| 366 | + background: #1bbc9b; | |
| 367 | + text-align: center; | |
| 368 | + overflow: hidden; | |
| 369 | + width: 100%; | |
| 370 | + display: -webkit-box; | |
| 371 | + display: -webkit-flex; | |
| 372 | + display: -ms-flexbox; | |
| 373 | + display: flex; | |
| 374 | + -webkit-box-align: center; | |
| 375 | + -webkit-align-items: center; | |
| 376 | + -ms-flex-align: center; | |
| 377 | + align-items: center; | |
| 378 | + height: 28px; | |
| 379 | +} | |
| 380 | +span.flatpickr-weekday { | |
| 381 | + cursor: default; | |
| 382 | + font-size: 90%; | |
| 383 | + background: #1bbc9b; | |
| 384 | + color: rgba(0,0,0,0.54); | |
| 385 | + line-height: 1; | |
| 386 | + margin: 0; | |
| 387 | + text-align: center; | |
| 388 | + display: block; | |
| 389 | + -webkit-box-flex: 1; | |
| 390 | + -webkit-flex: 1; | |
| 391 | + -ms-flex: 1; | |
| 392 | + flex: 1; | |
| 393 | + font-weight: bolder; | |
| 394 | +} | |
| 395 | +.dayContainer, | |
| 396 | +.flatpickr-weeks { | |
| 397 | + padding: 1px 0 0 0; | |
| 398 | +} | |
| 399 | +.flatpickr-days { | |
| 400 | + position: relative; | |
| 401 | + overflow: hidden; | |
| 402 | + display: -webkit-box; | |
| 403 | + display: -webkit-flex; | |
| 404 | + display: -ms-flexbox; | |
| 405 | + display: flex; | |
| 406 | + width: 307.875px; | |
| 407 | + border-left: 1px solid rgba(72,72,72,0.2); | |
| 408 | + border-right: 1px solid rgba(72,72,72,0.2); | |
| 409 | +} | |
| 410 | +.flatpickr-days:focus { | |
| 411 | + outline: 0; | |
| 412 | +} | |
| 413 | +.dayContainer { | |
| 414 | + padding: 0; | |
| 415 | + outline: 0; | |
| 416 | + text-align: left; | |
| 417 | + width: 307.875px; | |
| 418 | + min-width: 307.875px; | |
| 419 | + max-width: 307.875px; | |
| 420 | + -webkit-box-sizing: border-box; | |
| 421 | + box-sizing: border-box; | |
| 422 | + display: inline-block; | |
| 423 | + display: -ms-flexbox; | |
| 424 | + display: -webkit-box; | |
| 425 | + display: -webkit-flex; | |
| 426 | + display: flex; | |
| 427 | + -webkit-flex-wrap: wrap; | |
| 428 | + flex-wrap: wrap; | |
| 429 | + -ms-flex-wrap: wrap; | |
| 430 | + -ms-flex-pack: justify; | |
| 431 | + -webkit-justify-content: space-around; | |
| 432 | + justify-content: space-around; | |
| 433 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 434 | + transform: translate3d(0px, 0px, 0px); | |
| 435 | + opacity: 1; | |
| 436 | +} | |
| 437 | +.flatpickr-calendar.animate .dayContainer.slideLeft { | |
| 438 | + -webkit-animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 439 | + animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 440 | +} | |
| 441 | +.flatpickr-calendar.animate .dayContainer.slideLeft, | |
| 442 | +.flatpickr-calendar.animate .dayContainer.slideLeftNew { | |
| 443 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 444 | + transform: translate3d(-100%, 0px, 0px); | |
| 445 | +} | |
| 446 | +.flatpickr-calendar.animate .dayContainer.slideLeftNew { | |
| 447 | + -webkit-animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 448 | + animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 449 | +} | |
| 450 | +.flatpickr-calendar.animate .dayContainer.slideRight { | |
| 451 | + -webkit-animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 452 | + animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 453 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 454 | + transform: translate3d(100%, 0px, 0px); | |
| 455 | +} | |
| 456 | +.flatpickr-calendar.animate .dayContainer.slideRightNew { | |
| 457 | + -webkit-animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 458 | + animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 459 | +} | |
| 460 | +.flatpickr-day { | |
| 461 | + background: none; | |
| 462 | + border: 1px solid transparent; | |
| 463 | + border-radius: 150px; | |
| 464 | + -webkit-box-sizing: border-box; | |
| 465 | + box-sizing: border-box; | |
| 466 | + color: #484848; | |
| 467 | + cursor: pointer; | |
| 468 | + font-weight: 400; | |
| 469 | + width: 14.2857143%; | |
| 470 | + -webkit-flex-basis: 14.2857143%; | |
| 471 | + -ms-flex-preferred-size: 14.2857143%; | |
| 472 | + flex-basis: 14.2857143%; | |
| 473 | + max-width: 39px; | |
| 474 | + height: 39px; | |
| 475 | + line-height: 39px; | |
| 476 | + margin: 0; | |
| 477 | + display: inline-block; | |
| 478 | + position: relative; | |
| 479 | + -webkit-box-pack: center; | |
| 480 | + -webkit-justify-content: center; | |
| 481 | + -ms-flex-pack: center; | |
| 482 | + justify-content: center; | |
| 483 | + text-align: center; | |
| 484 | +} | |
| 485 | +.flatpickr-day.inRange, | |
| 486 | +.flatpickr-day.prevMonthDay.inRange, | |
| 487 | +.flatpickr-day.nextMonthDay.inRange, | |
| 488 | +.flatpickr-day.today.inRange, | |
| 489 | +.flatpickr-day.prevMonthDay.today.inRange, | |
| 490 | +.flatpickr-day.nextMonthDay.today.inRange, | |
| 491 | +.flatpickr-day:hover, | |
| 492 | +.flatpickr-day.prevMonthDay:hover, | |
| 493 | +.flatpickr-day.nextMonthDay:hover, | |
| 494 | +.flatpickr-day:focus, | |
| 495 | +.flatpickr-day.prevMonthDay:focus, | |
| 496 | +.flatpickr-day.nextMonthDay:focus { | |
| 497 | + cursor: pointer; | |
| 498 | + outline: 0; | |
| 499 | + background: #e2e2e2; | |
| 500 | + border-color: #e2e2e2; | |
| 501 | +} | |
| 502 | +.flatpickr-day.today { | |
| 503 | + border-color: #bbb; | |
| 504 | +} | |
| 505 | +.flatpickr-day.today:hover, | |
| 506 | +.flatpickr-day.today:focus { | |
| 507 | + border-color: #bbb; | |
| 508 | + background: #bbb; | |
| 509 | + color: #fff; | |
| 510 | +} | |
| 511 | +.flatpickr-day.selected, | |
| 512 | +.flatpickr-day.startRange, | |
| 513 | +.flatpickr-day.endRange, | |
| 514 | +.flatpickr-day.selected.inRange, | |
| 515 | +.flatpickr-day.startRange.inRange, | |
| 516 | +.flatpickr-day.endRange.inRange, | |
| 517 | +.flatpickr-day.selected:focus, | |
| 518 | +.flatpickr-day.startRange:focus, | |
| 519 | +.flatpickr-day.endRange:focus, | |
| 520 | +.flatpickr-day.selected:hover, | |
| 521 | +.flatpickr-day.startRange:hover, | |
| 522 | +.flatpickr-day.endRange:hover, | |
| 523 | +.flatpickr-day.selected.prevMonthDay, | |
| 524 | +.flatpickr-day.startRange.prevMonthDay, | |
| 525 | +.flatpickr-day.endRange.prevMonthDay, | |
| 526 | +.flatpickr-day.selected.nextMonthDay, | |
| 527 | +.flatpickr-day.startRange.nextMonthDay, | |
| 528 | +.flatpickr-day.endRange.nextMonthDay { | |
| 529 | + background: #1bbc9b; | |
| 530 | + -webkit-box-shadow: none; | |
| 531 | + box-shadow: none; | |
| 532 | + color: #fff; | |
| 533 | + border-color: #1bbc9b; | |
| 534 | +} | |
| 535 | +.flatpickr-day.selected.startRange, | |
| 536 | +.flatpickr-day.startRange.startRange, | |
| 537 | +.flatpickr-day.endRange.startRange { | |
| 538 | + border-radius: 50px 0 0 50px; | |
| 539 | +} | |
| 540 | +.flatpickr-day.selected.endRange, | |
| 541 | +.flatpickr-day.startRange.endRange, | |
| 542 | +.flatpickr-day.endRange.endRange { | |
| 543 | + border-radius: 0 50px 50px 0; | |
| 544 | +} | |
| 545 | +.flatpickr-day.selected.startRange + .endRange, | |
| 546 | +.flatpickr-day.startRange.startRange + .endRange, | |
| 547 | +.flatpickr-day.endRange.startRange + .endRange { | |
| 548 | + -webkit-box-shadow: -10px 0 0 #1bbc9b; | |
| 549 | + box-shadow: -10px 0 0 #1bbc9b; | |
| 550 | +} | |
| 551 | +.flatpickr-day.selected.startRange.endRange, | |
| 552 | +.flatpickr-day.startRange.startRange.endRange, | |
| 553 | +.flatpickr-day.endRange.startRange.endRange { | |
| 554 | + border-radius: 50px; | |
| 555 | +} | |
| 556 | +.flatpickr-day.inRange { | |
| 557 | + border-radius: 0; | |
| 558 | + -webkit-box-shadow: -5px 0 0 #e2e2e2, 5px 0 0 #e2e2e2; | |
| 559 | + box-shadow: -5px 0 0 #e2e2e2, 5px 0 0 #e2e2e2; | |
| 560 | +} | |
| 561 | +.flatpickr-day.disabled, | |
| 562 | +.flatpickr-day.disabled:hover { | |
| 563 | + pointer-events: none; | |
| 564 | +} | |
| 565 | +.flatpickr-day.disabled, | |
| 566 | +.flatpickr-day.disabled:hover, | |
| 567 | +.flatpickr-day.prevMonthDay, | |
| 568 | +.flatpickr-day.nextMonthDay, | |
| 569 | +.flatpickr-day.notAllowed, | |
| 570 | +.flatpickr-day.notAllowed.prevMonthDay, | |
| 571 | +.flatpickr-day.notAllowed.nextMonthDay { | |
| 572 | + color: rgba(72,72,72,0.3); | |
| 573 | + background: transparent; | |
| 574 | + border-color: transparent; | |
| 575 | + cursor: default; | |
| 576 | +} | |
| 577 | +.flatpickr-day.week.selected { | |
| 578 | + border-radius: 0; | |
| 579 | + -webkit-box-shadow: -5px 0 0 #1bbc9b, 5px 0 0 #1bbc9b; | |
| 580 | + box-shadow: -5px 0 0 #1bbc9b, 5px 0 0 #1bbc9b; | |
| 581 | +} | |
| 582 | +.rangeMode .flatpickr-day { | |
| 583 | + margin-top: 1px; | |
| 584 | +} | |
| 585 | +.flatpickr-weekwrapper { | |
| 586 | + display: inline-block; | |
| 587 | + float: left; | |
| 588 | +} | |
| 589 | +.flatpickr-weekwrapper .flatpickr-weeks { | |
| 590 | + padding: 0 12px; | |
| 591 | + border-left: 1px solid rgba(72,72,72,0.2); | |
| 592 | +} | |
| 593 | +.flatpickr-weekwrapper .flatpickr-weekday { | |
| 594 | + float: none; | |
| 595 | + width: 100%; | |
| 596 | + line-height: 28px; | |
| 597 | +} | |
| 598 | +.flatpickr-weekwrapper span.flatpickr-day { | |
| 599 | + display: block; | |
| 600 | + width: 100%; | |
| 601 | + max-width: none; | |
| 602 | +} | |
| 603 | +.flatpickr-innerContainer { | |
| 604 | + display: block; | |
| 605 | + display: -webkit-box; | |
| 606 | + display: -webkit-flex; | |
| 607 | + display: -ms-flexbox; | |
| 608 | + display: flex; | |
| 609 | + -webkit-box-sizing: border-box; | |
| 610 | + box-sizing: border-box; | |
| 611 | + overflow: hidden; | |
| 612 | + background: #fff; | |
| 613 | + border-bottom: 1px solid rgba(72,72,72,0.2); | |
| 614 | +} | |
| 615 | +.flatpickr-rContainer { | |
| 616 | + display: inline-block; | |
| 617 | + padding: 0; | |
| 618 | + -webkit-box-sizing: border-box; | |
| 619 | + box-sizing: border-box; | |
| 620 | +} | |
| 621 | +.flatpickr-time { | |
| 622 | + text-align: center; | |
| 623 | + outline: 0; | |
| 624 | + display: block; | |
| 625 | + height: 0; | |
| 626 | + line-height: 40px; | |
| 627 | + max-height: 40px; | |
| 628 | + -webkit-box-sizing: border-box; | |
| 629 | + box-sizing: border-box; | |
| 630 | + overflow: hidden; | |
| 631 | + display: -webkit-box; | |
| 632 | + display: -webkit-flex; | |
| 633 | + display: -ms-flexbox; | |
| 634 | + display: flex; | |
| 635 | + background: #fff; | |
| 636 | + border-radius: 0 0 5px 5px; | |
| 637 | +} | |
| 638 | +.flatpickr-time:after { | |
| 639 | + content: ""; | |
| 640 | + display: table; | |
| 641 | + clear: both; | |
| 642 | +} | |
| 643 | +.flatpickr-time .numInputWrapper { | |
| 644 | + -webkit-box-flex: 1; | |
| 645 | + -webkit-flex: 1; | |
| 646 | + -ms-flex: 1; | |
| 647 | + flex: 1; | |
| 648 | + width: 40%; | |
| 649 | + height: 40px; | |
| 650 | + float: left; | |
| 651 | +} | |
| 652 | +.flatpickr-time .numInputWrapper span.arrowUp:after { | |
| 653 | + border-bottom-color: #484848; | |
| 654 | +} | |
| 655 | +.flatpickr-time .numInputWrapper span.arrowDown:after { | |
| 656 | + border-top-color: #484848; | |
| 657 | +} | |
| 658 | +.flatpickr-time.hasSeconds .numInputWrapper { | |
| 659 | + width: 26%; | |
| 660 | +} | |
| 661 | +.flatpickr-time.time24hr .numInputWrapper { | |
| 662 | + width: 49%; | |
| 663 | +} | |
| 664 | +.flatpickr-time input { | |
| 665 | + background: transparent; | |
| 666 | + -webkit-box-shadow: none; | |
| 667 | + box-shadow: none; | |
| 668 | + border: 0; | |
| 669 | + border-radius: 0; | |
| 670 | + text-align: center; | |
| 671 | + margin: 0; | |
| 672 | + padding: 0; | |
| 673 | + height: inherit; | |
| 674 | + line-height: inherit; | |
| 675 | + cursor: pointer; | |
| 676 | + color: #484848; | |
| 677 | + font-size: 14px; | |
| 678 | + position: relative; | |
| 679 | + -webkit-box-sizing: border-box; | |
| 680 | + box-sizing: border-box; | |
| 681 | +} | |
| 682 | +.flatpickr-time input.flatpickr-hour { | |
| 683 | + font-weight: bold; | |
| 684 | +} | |
| 685 | +.flatpickr-time input.flatpickr-minute, | |
| 686 | +.flatpickr-time input.flatpickr-second { | |
| 687 | + font-weight: 400; | |
| 688 | +} | |
| 689 | +.flatpickr-time input:focus { | |
| 690 | + outline: 0; | |
| 691 | + border: 0; | |
| 692 | +} | |
| 693 | +.flatpickr-time .flatpickr-time-separator, | |
| 694 | +.flatpickr-time .flatpickr-am-pm { | |
| 695 | + height: inherit; | |
| 696 | + display: inline-block; | |
| 697 | + float: left; | |
| 698 | + line-height: inherit; | |
| 699 | + color: #484848; | |
| 700 | + font-weight: bold; | |
| 701 | + width: 2%; | |
| 702 | + -webkit-user-select: none; | |
| 703 | + -moz-user-select: none; | |
| 704 | + -ms-user-select: none; | |
| 705 | + user-select: none; | |
| 706 | + -webkit-align-self: center; | |
| 707 | + -ms-flex-item-align: center; | |
| 708 | + align-self: center; | |
| 709 | +} | |
| 710 | +.flatpickr-time .flatpickr-am-pm { | |
| 711 | + outline: 0; | |
| 712 | + width: 18%; | |
| 713 | + cursor: pointer; | |
| 714 | + text-align: center; | |
| 715 | + font-weight: 400; | |
| 716 | +} | |
| 717 | +.flatpickr-time .flatpickr-am-pm:hover, | |
| 718 | +.flatpickr-time .flatpickr-am-pm:focus { | |
| 719 | + background: #ececec; | |
| 720 | +} | |
| 721 | +.flatpickr-input[readonly] { | |
| 722 | + cursor: pointer; | |
| 723 | +} | |
| 724 | +@-webkit-keyframes fpFadeInDown { | |
| 725 | + from { | |
| 726 | + opacity: 0; | |
| 727 | + -webkit-transform: translate3d(0, -20px, 0); | |
| 728 | + transform: translate3d(0, -20px, 0); | |
| 729 | + } | |
| 730 | + to { | |
| 731 | + opacity: 1; | |
| 732 | + -webkit-transform: translate3d(0, 0, 0); | |
| 733 | + transform: translate3d(0, 0, 0); | |
| 734 | + } | |
| 735 | +} | |
| 736 | +@keyframes fpFadeInDown { | |
| 737 | + from { | |
| 738 | + opacity: 0; | |
| 739 | + -webkit-transform: translate3d(0, -20px, 0); | |
| 740 | + transform: translate3d(0, -20px, 0); | |
| 741 | + } | |
| 742 | + to { | |
| 743 | + opacity: 1; | |
| 744 | + -webkit-transform: translate3d(0, 0, 0); | |
| 745 | + transform: translate3d(0, 0, 0); | |
| 746 | + } | |
| 747 | +} | |
| 748 | +@-webkit-keyframes fpSlideLeft { | |
| 749 | + from { | |
| 750 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 751 | + transform: translate3d(0px, 0px, 0px); | |
| 752 | + } | |
| 753 | + to { | |
| 754 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 755 | + transform: translate3d(-100%, 0px, 0px); | |
| 756 | + } | |
| 757 | +} | |
| 758 | +@keyframes fpSlideLeft { | |
| 759 | + from { | |
| 760 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 761 | + transform: translate3d(0px, 0px, 0px); | |
| 762 | + } | |
| 763 | + to { | |
| 764 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 765 | + transform: translate3d(-100%, 0px, 0px); | |
| 766 | + } | |
| 767 | +} | |
| 768 | +@-webkit-keyframes fpSlideLeftNew { | |
| 769 | + from { | |
| 770 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 771 | + transform: translate3d(100%, 0px, 0px); | |
| 772 | + } | |
| 773 | + to { | |
| 774 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 775 | + transform: translate3d(0px, 0px, 0px); | |
| 776 | + } | |
| 777 | +} | |
| 778 | +@keyframes fpSlideLeftNew { | |
| 779 | + from { | |
| 780 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 781 | + transform: translate3d(100%, 0px, 0px); | |
| 782 | + } | |
| 783 | + to { | |
| 784 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 785 | + transform: translate3d(0px, 0px, 0px); | |
| 786 | + } | |
| 787 | +} | |
| 788 | +@-webkit-keyframes fpSlideRight { | |
| 789 | + from { | |
| 790 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 791 | + transform: translate3d(0, 0, 0px); | |
| 792 | + } | |
| 793 | + to { | |
| 794 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 795 | + transform: translate3d(100%, 0px, 0px); | |
| 796 | + } | |
| 797 | +} | |
| 798 | +@keyframes fpSlideRight { | |
| 799 | + from { | |
| 800 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 801 | + transform: translate3d(0, 0, 0px); | |
| 802 | + } | |
| 803 | + to { | |
| 804 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 805 | + transform: translate3d(100%, 0px, 0px); | |
| 806 | + } | |
| 807 | +} | |
| 808 | +@-webkit-keyframes fpSlideRightNew { | |
| 809 | + from { | |
| 810 | + -webkit-transform: translate3d(-100%, 0, 0px); | |
| 811 | + transform: translate3d(-100%, 0, 0px); | |
| 812 | + } | |
| 813 | + to { | |
| 814 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 815 | + transform: translate3d(0, 0, 0px); | |
| 816 | + } | |
| 817 | +} | |
| 818 | +@keyframes fpSlideRightNew { | |
| 819 | + from { | |
| 820 | + -webkit-transform: translate3d(-100%, 0, 0px); | |
| 821 | + transform: translate3d(-100%, 0, 0px); | |
| 822 | + } | |
| 823 | + to { | |
| 824 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 825 | + transform: translate3d(0, 0, 0px); | |
| 826 | + } | |
| 827 | +} | |
| 828 | +@-webkit-keyframes fpFadeOut { | |
| 829 | + from { | |
| 830 | + opacity: 1; | |
| 831 | + } | |
| 832 | + to { | |
| 833 | + opacity: 0; | |
| 834 | + } | |
| 835 | +} | |
| 836 | +@keyframes fpFadeOut { | |
| 837 | + from { | |
| 838 | + opacity: 1; | |
| 839 | + } | |
| 840 | + to { | |
| 841 | + opacity: 0; | |
| 842 | + } | |
| 843 | +} | |
| 844 | +@-webkit-keyframes fpFadeIn { | |
| 845 | + from { | |
| 846 | + opacity: 0; | |
| 847 | + } | |
| 848 | + to { | |
| 849 | + opacity: 1; | |
| 850 | + } | |
| 851 | +} | |
| 852 | +@keyframes fpFadeIn { | |
| 853 | + from { | |
| 854 | + opacity: 0; | |
| 855 | + } | |
| 856 | + to { | |
| 857 | + opacity: 1; | |
| 858 | + } | |
| 859 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/flatpickr/themes/material_orange.css
0 → 100644
| 1 | +.flatpickr-calendar { | |
| 2 | + background: transparent; | |
| 3 | + overflow: hidden; | |
| 4 | + max-height: 0; | |
| 5 | + opacity: 0; | |
| 6 | + visibility: hidden; | |
| 7 | + text-align: center; | |
| 8 | + padding: 0; | |
| 9 | + -webkit-animation: none; | |
| 10 | + animation: none; | |
| 11 | + direction: ltr; | |
| 12 | + border: 0; | |
| 13 | + font-size: 14px; | |
| 14 | + line-height: 24px; | |
| 15 | + border-radius: 5px; | |
| 16 | + position: absolute; | |
| 17 | + width: 307.875px; | |
| 18 | + -webkit-box-sizing: border-box; | |
| 19 | + box-sizing: border-box; | |
| 20 | + -ms-touch-action: manipulation; | |
| 21 | + touch-action: manipulation; | |
| 22 | + -webkit-box-shadow: 0 3px 13px rgba(0,0,0,0.08); | |
| 23 | + box-shadow: 0 3px 13px rgba(0,0,0,0.08); | |
| 24 | +} | |
| 25 | +.flatpickr-calendar.open, | |
| 26 | +.flatpickr-calendar.inline { | |
| 27 | + opacity: 1; | |
| 28 | + visibility: visible; | |
| 29 | + overflow: visible; | |
| 30 | + max-height: 640px; | |
| 31 | +} | |
| 32 | +.flatpickr-calendar.open { | |
| 33 | + display: inline-block; | |
| 34 | + z-index: 99999; | |
| 35 | +} | |
| 36 | +.flatpickr-calendar.animate.open { | |
| 37 | + -webkit-animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 38 | + animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 39 | +} | |
| 40 | +.flatpickr-calendar.inline { | |
| 41 | + display: block; | |
| 42 | + position: relative; | |
| 43 | + top: 2px; | |
| 44 | +} | |
| 45 | +.flatpickr-calendar.static { | |
| 46 | + position: absolute; | |
| 47 | + top: calc(100% + 2px); | |
| 48 | +} | |
| 49 | +.flatpickr-calendar.static.open { | |
| 50 | + z-index: 999; | |
| 51 | + display: block; | |
| 52 | +} | |
| 53 | +.flatpickr-calendar.hasWeeks { | |
| 54 | + width: auto; | |
| 55 | +} | |
| 56 | +.flatpickr-calendar .hasWeeks .dayContainer, | |
| 57 | +.flatpickr-calendar .hasTime .dayContainer { | |
| 58 | + border-bottom: 0; | |
| 59 | + border-bottom-right-radius: 0; | |
| 60 | + border-bottom-left-radius: 0; | |
| 61 | +} | |
| 62 | +.flatpickr-calendar .hasWeeks .dayContainer { | |
| 63 | + border-left: 0; | |
| 64 | +} | |
| 65 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time { | |
| 66 | + height: 40px; | |
| 67 | + border-top: 1px solid rgba(72,72,72,0.2); | |
| 68 | +} | |
| 69 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-innerContainer { | |
| 70 | + border-bottom: 0; | |
| 71 | +} | |
| 72 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time { | |
| 73 | + border: 1px solid rgba(72,72,72,0.2); | |
| 74 | +} | |
| 75 | +.flatpickr-calendar.noCalendar.hasTime .flatpickr-time { | |
| 76 | + height: auto; | |
| 77 | +} | |
| 78 | +.flatpickr-calendar:before, | |
| 79 | +.flatpickr-calendar:after { | |
| 80 | + position: absolute; | |
| 81 | + display: block; | |
| 82 | + pointer-events: none; | |
| 83 | + border: solid transparent; | |
| 84 | + content: ''; | |
| 85 | + height: 0; | |
| 86 | + width: 0; | |
| 87 | + left: 22px; | |
| 88 | +} | |
| 89 | +.flatpickr-calendar.rightMost:before, | |
| 90 | +.flatpickr-calendar.rightMost:after { | |
| 91 | + left: auto; | |
| 92 | + right: 22px; | |
| 93 | +} | |
| 94 | +.flatpickr-calendar:before { | |
| 95 | + border-width: 5px; | |
| 96 | + margin: 0 -5px; | |
| 97 | +} | |
| 98 | +.flatpickr-calendar:after { | |
| 99 | + border-width: 4px; | |
| 100 | + margin: 0 -4px; | |
| 101 | +} | |
| 102 | +.flatpickr-calendar.arrowTop:before, | |
| 103 | +.flatpickr-calendar.arrowTop:after { | |
| 104 | + bottom: 100%; | |
| 105 | +} | |
| 106 | +.flatpickr-calendar.arrowTop:before { | |
| 107 | + border-bottom-color: rgba(72,72,72,0.2); | |
| 108 | +} | |
| 109 | +.flatpickr-calendar.arrowTop:after { | |
| 110 | + border-bottom-color: #ff8a65; | |
| 111 | +} | |
| 112 | +.flatpickr-calendar.arrowBottom:before, | |
| 113 | +.flatpickr-calendar.arrowBottom:after { | |
| 114 | + top: 100%; | |
| 115 | +} | |
| 116 | +.flatpickr-calendar.arrowBottom:before { | |
| 117 | + border-top-color: rgba(72,72,72,0.2); | |
| 118 | +} | |
| 119 | +.flatpickr-calendar.arrowBottom:after { | |
| 120 | + border-top-color: #ff8a65; | |
| 121 | +} | |
| 122 | +.flatpickr-calendar:focus { | |
| 123 | + outline: 0; | |
| 124 | +} | |
| 125 | +.flatpickr-wrapper { | |
| 126 | + position: relative; | |
| 127 | + display: inline-block; | |
| 128 | +} | |
| 129 | +.flatpickr-month { | |
| 130 | + border-radius: 5px 5px 0 0; | |
| 131 | + background: #ff8a65; | |
| 132 | + color: #fff; | |
| 133 | + fill: #fff; | |
| 134 | + height: 28px; | |
| 135 | + line-height: 1; | |
| 136 | + text-align: center; | |
| 137 | + position: relative; | |
| 138 | + -webkit-user-select: none; | |
| 139 | + -moz-user-select: none; | |
| 140 | + -ms-user-select: none; | |
| 141 | + user-select: none; | |
| 142 | + overflow: hidden; | |
| 143 | +} | |
| 144 | +.flatpickr-prev-month, | |
| 145 | +.flatpickr-next-month { | |
| 146 | + text-decoration: none; | |
| 147 | + cursor: pointer; | |
| 148 | + position: absolute; | |
| 149 | + top: 0px; | |
| 150 | + line-height: 16px; | |
| 151 | + height: 28px; | |
| 152 | + padding: 10px calc(3.57% - 1.5px); | |
| 153 | + z-index: 3; | |
| 154 | +} | |
| 155 | +.flatpickr-prev-month i, | |
| 156 | +.flatpickr-next-month i { | |
| 157 | + position: relative; | |
| 158 | +} | |
| 159 | +.flatpickr-prev-month.flatpickr-prev-month, | |
| 160 | +.flatpickr-next-month.flatpickr-prev-month { | |
| 161 | +/* | |
| 162 | + /*rtl:begin:ignore*/ | |
| 163 | +/* | |
| 164 | + */ | |
| 165 | + left: 0; | |
| 166 | +/* | |
| 167 | + /*rtl:end:ignore*/ | |
| 168 | +/* | |
| 169 | + */ | |
| 170 | +} | |
| 171 | +/* | |
| 172 | + /*rtl:begin:ignore*/ | |
| 173 | +/* | |
| 174 | + /*rtl:end:ignore*/ | |
| 175 | +.flatpickr-prev-month.flatpickr-next-month, | |
| 176 | +.flatpickr-next-month.flatpickr-next-month { | |
| 177 | +/* | |
| 178 | + /*rtl:begin:ignore*/ | |
| 179 | +/* | |
| 180 | + */ | |
| 181 | + right: 0; | |
| 182 | +/* | |
| 183 | + /*rtl:end:ignore*/ | |
| 184 | +/* | |
| 185 | + */ | |
| 186 | +} | |
| 187 | +/* | |
| 188 | + /*rtl:begin:ignore*/ | |
| 189 | +/* | |
| 190 | + /*rtl:end:ignore*/ | |
| 191 | +.flatpickr-prev-month:hover, | |
| 192 | +.flatpickr-next-month:hover { | |
| 193 | + color: #bbb; | |
| 194 | +} | |
| 195 | +.flatpickr-prev-month:hover svg, | |
| 196 | +.flatpickr-next-month:hover svg { | |
| 197 | + fill: #f64747; | |
| 198 | +} | |
| 199 | +.flatpickr-prev-month svg, | |
| 200 | +.flatpickr-next-month svg { | |
| 201 | + width: 14px; | |
| 202 | +} | |
| 203 | +.flatpickr-prev-month svg path, | |
| 204 | +.flatpickr-next-month svg path { | |
| 205 | + -webkit-transition: fill 0.1s; | |
| 206 | + transition: fill 0.1s; | |
| 207 | + fill: inherit; | |
| 208 | +} | |
| 209 | +.numInputWrapper { | |
| 210 | + position: relative; | |
| 211 | + height: auto; | |
| 212 | +} | |
| 213 | +.numInputWrapper input, | |
| 214 | +.numInputWrapper span { | |
| 215 | + display: inline-block; | |
| 216 | +} | |
| 217 | +.numInputWrapper input { | |
| 218 | + width: 100%; | |
| 219 | +} | |
| 220 | +.numInputWrapper span { | |
| 221 | + position: absolute; | |
| 222 | + right: 0; | |
| 223 | + width: 14px; | |
| 224 | + padding: 0 4px 0 2px; | |
| 225 | + height: 50%; | |
| 226 | + line-height: 50%; | |
| 227 | + opacity: 0; | |
| 228 | + cursor: pointer; | |
| 229 | + border: 1px solid rgba(72,72,72,0.05); | |
| 230 | + -webkit-box-sizing: border-box; | |
| 231 | + box-sizing: border-box; | |
| 232 | +} | |
| 233 | +.numInputWrapper span:hover { | |
| 234 | + background: rgba(0,0,0,0.1); | |
| 235 | +} | |
| 236 | +.numInputWrapper span:active { | |
| 237 | + background: rgba(0,0,0,0.2); | |
| 238 | +} | |
| 239 | +.numInputWrapper span:after { | |
| 240 | + display: block; | |
| 241 | + content: ""; | |
| 242 | + position: absolute; | |
| 243 | + top: 33%; | |
| 244 | +} | |
| 245 | +.numInputWrapper span.arrowUp { | |
| 246 | + top: 0; | |
| 247 | + border-bottom: 0; | |
| 248 | +} | |
| 249 | +.numInputWrapper span.arrowUp:after { | |
| 250 | + border-left: 4px solid transparent; | |
| 251 | + border-right: 4px solid transparent; | |
| 252 | + border-bottom: 4px solid rgba(72,72,72,0.6); | |
| 253 | +} | |
| 254 | +.numInputWrapper span.arrowDown { | |
| 255 | + top: 50%; | |
| 256 | +} | |
| 257 | +.numInputWrapper span.arrowDown:after { | |
| 258 | + border-left: 4px solid transparent; | |
| 259 | + border-right: 4px solid transparent; | |
| 260 | + border-top: 4px solid rgba(72,72,72,0.6); | |
| 261 | +} | |
| 262 | +.numInputWrapper span svg { | |
| 263 | + width: inherit; | |
| 264 | + height: auto; | |
| 265 | +} | |
| 266 | +.numInputWrapper span svg path { | |
| 267 | + fill: rgba(255,255,255,0.5); | |
| 268 | +} | |
| 269 | +.numInputWrapper:hover { | |
| 270 | + background: rgba(0,0,0,0.05); | |
| 271 | +} | |
| 272 | +.numInputWrapper:hover span { | |
| 273 | + opacity: 1; | |
| 274 | +} | |
| 275 | +.flatpickr-current-month { | |
| 276 | + font-size: 135%; | |
| 277 | + line-height: inherit; | |
| 278 | + font-weight: 300; | |
| 279 | + color: inherit; | |
| 280 | + position: absolute; | |
| 281 | + width: 75%; | |
| 282 | + left: 12.5%; | |
| 283 | + padding: 6.16px 0 0 0; | |
| 284 | + line-height: 1; | |
| 285 | + height: 28px; | |
| 286 | + display: inline-block; | |
| 287 | + text-align: center; | |
| 288 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 289 | + transform: translate3d(0px, 0px, 0px); | |
| 290 | +} | |
| 291 | +.flatpickr-current-month.slideLeft { | |
| 292 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 293 | + transform: translate3d(-100%, 0px, 0px); | |
| 294 | + -webkit-animation: fpFadeOut 400ms ease, fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 295 | + animation: fpFadeOut 400ms ease, fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 296 | +} | |
| 297 | +.flatpickr-current-month.slideLeftNew { | |
| 298 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 299 | + transform: translate3d(100%, 0px, 0px); | |
| 300 | + -webkit-animation: fpFadeIn 400ms ease, fpSlideLeftNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 301 | + animation: fpFadeIn 400ms ease, fpSlideLeftNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 302 | +} | |
| 303 | +.flatpickr-current-month.slideRight { | |
| 304 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 305 | + transform: translate3d(100%, 0px, 0px); | |
| 306 | + -webkit-animation: fpFadeOut 400ms ease, fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 307 | + animation: fpFadeOut 400ms ease, fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 308 | +} | |
| 309 | +.flatpickr-current-month.slideRightNew { | |
| 310 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 311 | + transform: translate3d(0, 0, 0px); | |
| 312 | + -webkit-animation: fpFadeIn 400ms ease, fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 313 | + animation: fpFadeIn 400ms ease, fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 314 | +} | |
| 315 | +.flatpickr-current-month span.cur-month { | |
| 316 | + font-family: inherit; | |
| 317 | + font-weight: 700; | |
| 318 | + color: inherit; | |
| 319 | + display: inline-block; | |
| 320 | + margin-left: 0.5ch; | |
| 321 | + padding: 0; | |
| 322 | +} | |
| 323 | +.flatpickr-current-month span.cur-month:hover { | |
| 324 | + background: rgba(0,0,0,0.05); | |
| 325 | +} | |
| 326 | +.flatpickr-current-month .numInputWrapper { | |
| 327 | + width: 6ch; | |
| 328 | + width: 7ch\0; | |
| 329 | + display: inline-block; | |
| 330 | +} | |
| 331 | +.flatpickr-current-month .numInputWrapper span.arrowUp:after { | |
| 332 | + border-bottom-color: #fff; | |
| 333 | +} | |
| 334 | +.flatpickr-current-month .numInputWrapper span.arrowDown:after { | |
| 335 | + border-top-color: #fff; | |
| 336 | +} | |
| 337 | +.flatpickr-current-month input.cur-year { | |
| 338 | + background: transparent; | |
| 339 | + -webkit-box-sizing: border-box; | |
| 340 | + box-sizing: border-box; | |
| 341 | + color: inherit; | |
| 342 | + cursor: default; | |
| 343 | + padding: 0 0 0 0.5ch; | |
| 344 | + margin: 0; | |
| 345 | + display: inline-block; | |
| 346 | + font-size: inherit; | |
| 347 | + font-family: inherit; | |
| 348 | + font-weight: 300; | |
| 349 | + line-height: inherit; | |
| 350 | + height: initial; | |
| 351 | + border: 0; | |
| 352 | + border-radius: 0; | |
| 353 | + vertical-align: initial; | |
| 354 | +} | |
| 355 | +.flatpickr-current-month input.cur-year:focus { | |
| 356 | + outline: 0; | |
| 357 | +} | |
| 358 | +.flatpickr-current-month input.cur-year[disabled], | |
| 359 | +.flatpickr-current-month input.cur-year[disabled]:hover { | |
| 360 | + font-size: 100%; | |
| 361 | + color: rgba(255,255,255,0.5); | |
| 362 | + background: transparent; | |
| 363 | + pointer-events: none; | |
| 364 | +} | |
| 365 | +.flatpickr-weekdays { | |
| 366 | + background: #ff8a65; | |
| 367 | + text-align: center; | |
| 368 | + overflow: hidden; | |
| 369 | + width: 100%; | |
| 370 | + display: -webkit-box; | |
| 371 | + display: -webkit-flex; | |
| 372 | + display: -ms-flexbox; | |
| 373 | + display: flex; | |
| 374 | + -webkit-box-align: center; | |
| 375 | + -webkit-align-items: center; | |
| 376 | + -ms-flex-align: center; | |
| 377 | + align-items: center; | |
| 378 | + height: 28px; | |
| 379 | +} | |
| 380 | +span.flatpickr-weekday { | |
| 381 | + cursor: default; | |
| 382 | + font-size: 90%; | |
| 383 | + background: #ff8a65; | |
| 384 | + color: rgba(0,0,0,0.54); | |
| 385 | + line-height: 1; | |
| 386 | + margin: 0; | |
| 387 | + text-align: center; | |
| 388 | + display: block; | |
| 389 | + -webkit-box-flex: 1; | |
| 390 | + -webkit-flex: 1; | |
| 391 | + -ms-flex: 1; | |
| 392 | + flex: 1; | |
| 393 | + font-weight: bolder; | |
| 394 | +} | |
| 395 | +.dayContainer, | |
| 396 | +.flatpickr-weeks { | |
| 397 | + padding: 1px 0 0 0; | |
| 398 | +} | |
| 399 | +.flatpickr-days { | |
| 400 | + position: relative; | |
| 401 | + overflow: hidden; | |
| 402 | + display: -webkit-box; | |
| 403 | + display: -webkit-flex; | |
| 404 | + display: -ms-flexbox; | |
| 405 | + display: flex; | |
| 406 | + width: 307.875px; | |
| 407 | + border-left: 1px solid rgba(72,72,72,0.2); | |
| 408 | + border-right: 1px solid rgba(72,72,72,0.2); | |
| 409 | +} | |
| 410 | +.flatpickr-days:focus { | |
| 411 | + outline: 0; | |
| 412 | +} | |
| 413 | +.dayContainer { | |
| 414 | + padding: 0; | |
| 415 | + outline: 0; | |
| 416 | + text-align: left; | |
| 417 | + width: 307.875px; | |
| 418 | + min-width: 307.875px; | |
| 419 | + max-width: 307.875px; | |
| 420 | + -webkit-box-sizing: border-box; | |
| 421 | + box-sizing: border-box; | |
| 422 | + display: inline-block; | |
| 423 | + display: -ms-flexbox; | |
| 424 | + display: -webkit-box; | |
| 425 | + display: -webkit-flex; | |
| 426 | + display: flex; | |
| 427 | + -webkit-flex-wrap: wrap; | |
| 428 | + flex-wrap: wrap; | |
| 429 | + -ms-flex-wrap: wrap; | |
| 430 | + -ms-flex-pack: justify; | |
| 431 | + -webkit-justify-content: space-around; | |
| 432 | + justify-content: space-around; | |
| 433 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 434 | + transform: translate3d(0px, 0px, 0px); | |
| 435 | + opacity: 1; | |
| 436 | +} | |
| 437 | +.flatpickr-calendar.animate .dayContainer.slideLeft { | |
| 438 | + -webkit-animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 439 | + animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 440 | +} | |
| 441 | +.flatpickr-calendar.animate .dayContainer.slideLeft, | |
| 442 | +.flatpickr-calendar.animate .dayContainer.slideLeftNew { | |
| 443 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 444 | + transform: translate3d(-100%, 0px, 0px); | |
| 445 | +} | |
| 446 | +.flatpickr-calendar.animate .dayContainer.slideLeftNew { | |
| 447 | + -webkit-animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 448 | + animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 449 | +} | |
| 450 | +.flatpickr-calendar.animate .dayContainer.slideRight { | |
| 451 | + -webkit-animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 452 | + animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 453 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 454 | + transform: translate3d(100%, 0px, 0px); | |
| 455 | +} | |
| 456 | +.flatpickr-calendar.animate .dayContainer.slideRightNew { | |
| 457 | + -webkit-animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 458 | + animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 459 | +} | |
| 460 | +.flatpickr-day { | |
| 461 | + background: none; | |
| 462 | + border: 1px solid transparent; | |
| 463 | + border-radius: 150px; | |
| 464 | + -webkit-box-sizing: border-box; | |
| 465 | + box-sizing: border-box; | |
| 466 | + color: #484848; | |
| 467 | + cursor: pointer; | |
| 468 | + font-weight: 400; | |
| 469 | + width: 14.2857143%; | |
| 470 | + -webkit-flex-basis: 14.2857143%; | |
| 471 | + -ms-flex-preferred-size: 14.2857143%; | |
| 472 | + flex-basis: 14.2857143%; | |
| 473 | + max-width: 39px; | |
| 474 | + height: 39px; | |
| 475 | + line-height: 39px; | |
| 476 | + margin: 0; | |
| 477 | + display: inline-block; | |
| 478 | + position: relative; | |
| 479 | + -webkit-box-pack: center; | |
| 480 | + -webkit-justify-content: center; | |
| 481 | + -ms-flex-pack: center; | |
| 482 | + justify-content: center; | |
| 483 | + text-align: center; | |
| 484 | +} | |
| 485 | +.flatpickr-day.inRange, | |
| 486 | +.flatpickr-day.prevMonthDay.inRange, | |
| 487 | +.flatpickr-day.nextMonthDay.inRange, | |
| 488 | +.flatpickr-day.today.inRange, | |
| 489 | +.flatpickr-day.prevMonthDay.today.inRange, | |
| 490 | +.flatpickr-day.nextMonthDay.today.inRange, | |
| 491 | +.flatpickr-day:hover, | |
| 492 | +.flatpickr-day.prevMonthDay:hover, | |
| 493 | +.flatpickr-day.nextMonthDay:hover, | |
| 494 | +.flatpickr-day:focus, | |
| 495 | +.flatpickr-day.prevMonthDay:focus, | |
| 496 | +.flatpickr-day.nextMonthDay:focus { | |
| 497 | + cursor: pointer; | |
| 498 | + outline: 0; | |
| 499 | + background: #e2e2e2; | |
| 500 | + border-color: #e2e2e2; | |
| 501 | +} | |
| 502 | +.flatpickr-day.today { | |
| 503 | + border-color: #bbb; | |
| 504 | +} | |
| 505 | +.flatpickr-day.today:hover, | |
| 506 | +.flatpickr-day.today:focus { | |
| 507 | + border-color: #bbb; | |
| 508 | + background: #bbb; | |
| 509 | + color: #fff; | |
| 510 | +} | |
| 511 | +.flatpickr-day.selected, | |
| 512 | +.flatpickr-day.startRange, | |
| 513 | +.flatpickr-day.endRange, | |
| 514 | +.flatpickr-day.selected.inRange, | |
| 515 | +.flatpickr-day.startRange.inRange, | |
| 516 | +.flatpickr-day.endRange.inRange, | |
| 517 | +.flatpickr-day.selected:focus, | |
| 518 | +.flatpickr-day.startRange:focus, | |
| 519 | +.flatpickr-day.endRange:focus, | |
| 520 | +.flatpickr-day.selected:hover, | |
| 521 | +.flatpickr-day.startRange:hover, | |
| 522 | +.flatpickr-day.endRange:hover, | |
| 523 | +.flatpickr-day.selected.prevMonthDay, | |
| 524 | +.flatpickr-day.startRange.prevMonthDay, | |
| 525 | +.flatpickr-day.endRange.prevMonthDay, | |
| 526 | +.flatpickr-day.selected.nextMonthDay, | |
| 527 | +.flatpickr-day.startRange.nextMonthDay, | |
| 528 | +.flatpickr-day.endRange.nextMonthDay { | |
| 529 | + background: #ff8a65; | |
| 530 | + -webkit-box-shadow: none; | |
| 531 | + box-shadow: none; | |
| 532 | + color: #fff; | |
| 533 | + border-color: #ff8a65; | |
| 534 | +} | |
| 535 | +.flatpickr-day.selected.startRange, | |
| 536 | +.flatpickr-day.startRange.startRange, | |
| 537 | +.flatpickr-day.endRange.startRange { | |
| 538 | + border-radius: 50px 0 0 50px; | |
| 539 | +} | |
| 540 | +.flatpickr-day.selected.endRange, | |
| 541 | +.flatpickr-day.startRange.endRange, | |
| 542 | +.flatpickr-day.endRange.endRange { | |
| 543 | + border-radius: 0 50px 50px 0; | |
| 544 | +} | |
| 545 | +.flatpickr-day.selected.startRange + .endRange, | |
| 546 | +.flatpickr-day.startRange.startRange + .endRange, | |
| 547 | +.flatpickr-day.endRange.startRange + .endRange { | |
| 548 | + -webkit-box-shadow: -10px 0 0 #ff8a65; | |
| 549 | + box-shadow: -10px 0 0 #ff8a65; | |
| 550 | +} | |
| 551 | +.flatpickr-day.selected.startRange.endRange, | |
| 552 | +.flatpickr-day.startRange.startRange.endRange, | |
| 553 | +.flatpickr-day.endRange.startRange.endRange { | |
| 554 | + border-radius: 50px; | |
| 555 | +} | |
| 556 | +.flatpickr-day.inRange { | |
| 557 | + border-radius: 0; | |
| 558 | + -webkit-box-shadow: -5px 0 0 #e2e2e2, 5px 0 0 #e2e2e2; | |
| 559 | + box-shadow: -5px 0 0 #e2e2e2, 5px 0 0 #e2e2e2; | |
| 560 | +} | |
| 561 | +.flatpickr-day.disabled, | |
| 562 | +.flatpickr-day.disabled:hover { | |
| 563 | + pointer-events: none; | |
| 564 | +} | |
| 565 | +.flatpickr-day.disabled, | |
| 566 | +.flatpickr-day.disabled:hover, | |
| 567 | +.flatpickr-day.prevMonthDay, | |
| 568 | +.flatpickr-day.nextMonthDay, | |
| 569 | +.flatpickr-day.notAllowed, | |
| 570 | +.flatpickr-day.notAllowed.prevMonthDay, | |
| 571 | +.flatpickr-day.notAllowed.nextMonthDay { | |
| 572 | + color: rgba(72,72,72,0.3); | |
| 573 | + background: transparent; | |
| 574 | + border-color: transparent; | |
| 575 | + cursor: default; | |
| 576 | +} | |
| 577 | +.flatpickr-day.week.selected { | |
| 578 | + border-radius: 0; | |
| 579 | + -webkit-box-shadow: -5px 0 0 #ff8a65, 5px 0 0 #ff8a65; | |
| 580 | + box-shadow: -5px 0 0 #ff8a65, 5px 0 0 #ff8a65; | |
| 581 | +} | |
| 582 | +.rangeMode .flatpickr-day { | |
| 583 | + margin-top: 1px; | |
| 584 | +} | |
| 585 | +.flatpickr-weekwrapper { | |
| 586 | + display: inline-block; | |
| 587 | + float: left; | |
| 588 | +} | |
| 589 | +.flatpickr-weekwrapper .flatpickr-weeks { | |
| 590 | + padding: 0 12px; | |
| 591 | + border-left: 1px solid rgba(72,72,72,0.2); | |
| 592 | +} | |
| 593 | +.flatpickr-weekwrapper .flatpickr-weekday { | |
| 594 | + float: none; | |
| 595 | + width: 100%; | |
| 596 | + line-height: 28px; | |
| 597 | +} | |
| 598 | +.flatpickr-weekwrapper span.flatpickr-day { | |
| 599 | + display: block; | |
| 600 | + width: 100%; | |
| 601 | + max-width: none; | |
| 602 | +} | |
| 603 | +.flatpickr-innerContainer { | |
| 604 | + display: block; | |
| 605 | + display: -webkit-box; | |
| 606 | + display: -webkit-flex; | |
| 607 | + display: -ms-flexbox; | |
| 608 | + display: flex; | |
| 609 | + -webkit-box-sizing: border-box; | |
| 610 | + box-sizing: border-box; | |
| 611 | + overflow: hidden; | |
| 612 | + background: #fff; | |
| 613 | + border-bottom: 1px solid rgba(72,72,72,0.2); | |
| 614 | +} | |
| 615 | +.flatpickr-rContainer { | |
| 616 | + display: inline-block; | |
| 617 | + padding: 0; | |
| 618 | + -webkit-box-sizing: border-box; | |
| 619 | + box-sizing: border-box; | |
| 620 | +} | |
| 621 | +.flatpickr-time { | |
| 622 | + text-align: center; | |
| 623 | + outline: 0; | |
| 624 | + display: block; | |
| 625 | + height: 0; | |
| 626 | + line-height: 40px; | |
| 627 | + max-height: 40px; | |
| 628 | + -webkit-box-sizing: border-box; | |
| 629 | + box-sizing: border-box; | |
| 630 | + overflow: hidden; | |
| 631 | + display: -webkit-box; | |
| 632 | + display: -webkit-flex; | |
| 633 | + display: -ms-flexbox; | |
| 634 | + display: flex; | |
| 635 | + background: #fff; | |
| 636 | + border-radius: 0 0 5px 5px; | |
| 637 | +} | |
| 638 | +.flatpickr-time:after { | |
| 639 | + content: ""; | |
| 640 | + display: table; | |
| 641 | + clear: both; | |
| 642 | +} | |
| 643 | +.flatpickr-time .numInputWrapper { | |
| 644 | + -webkit-box-flex: 1; | |
| 645 | + -webkit-flex: 1; | |
| 646 | + -ms-flex: 1; | |
| 647 | + flex: 1; | |
| 648 | + width: 40%; | |
| 649 | + height: 40px; | |
| 650 | + float: left; | |
| 651 | +} | |
| 652 | +.flatpickr-time .numInputWrapper span.arrowUp:after { | |
| 653 | + border-bottom-color: #484848; | |
| 654 | +} | |
| 655 | +.flatpickr-time .numInputWrapper span.arrowDown:after { | |
| 656 | + border-top-color: #484848; | |
| 657 | +} | |
| 658 | +.flatpickr-time.hasSeconds .numInputWrapper { | |
| 659 | + width: 26%; | |
| 660 | +} | |
| 661 | +.flatpickr-time.time24hr .numInputWrapper { | |
| 662 | + width: 49%; | |
| 663 | +} | |
| 664 | +.flatpickr-time input { | |
| 665 | + background: transparent; | |
| 666 | + -webkit-box-shadow: none; | |
| 667 | + box-shadow: none; | |
| 668 | + border: 0; | |
| 669 | + border-radius: 0; | |
| 670 | + text-align: center; | |
| 671 | + margin: 0; | |
| 672 | + padding: 0; | |
| 673 | + height: inherit; | |
| 674 | + line-height: inherit; | |
| 675 | + cursor: pointer; | |
| 676 | + color: #484848; | |
| 677 | + font-size: 14px; | |
| 678 | + position: relative; | |
| 679 | + -webkit-box-sizing: border-box; | |
| 680 | + box-sizing: border-box; | |
| 681 | +} | |
| 682 | +.flatpickr-time input.flatpickr-hour { | |
| 683 | + font-weight: bold; | |
| 684 | +} | |
| 685 | +.flatpickr-time input.flatpickr-minute, | |
| 686 | +.flatpickr-time input.flatpickr-second { | |
| 687 | + font-weight: 400; | |
| 688 | +} | |
| 689 | +.flatpickr-time input:focus { | |
| 690 | + outline: 0; | |
| 691 | + border: 0; | |
| 692 | +} | |
| 693 | +.flatpickr-time .flatpickr-time-separator, | |
| 694 | +.flatpickr-time .flatpickr-am-pm { | |
| 695 | + height: inherit; | |
| 696 | + display: inline-block; | |
| 697 | + float: left; | |
| 698 | + line-height: inherit; | |
| 699 | + color: #484848; | |
| 700 | + font-weight: bold; | |
| 701 | + width: 2%; | |
| 702 | + -webkit-user-select: none; | |
| 703 | + -moz-user-select: none; | |
| 704 | + -ms-user-select: none; | |
| 705 | + user-select: none; | |
| 706 | + -webkit-align-self: center; | |
| 707 | + -ms-flex-item-align: center; | |
| 708 | + align-self: center; | |
| 709 | +} | |
| 710 | +.flatpickr-time .flatpickr-am-pm { | |
| 711 | + outline: 0; | |
| 712 | + width: 18%; | |
| 713 | + cursor: pointer; | |
| 714 | + text-align: center; | |
| 715 | + font-weight: 400; | |
| 716 | +} | |
| 717 | +.flatpickr-time .flatpickr-am-pm:hover, | |
| 718 | +.flatpickr-time .flatpickr-am-pm:focus { | |
| 719 | + background: #ececec; | |
| 720 | +} | |
| 721 | +.flatpickr-input[readonly] { | |
| 722 | + cursor: pointer; | |
| 723 | +} | |
| 724 | +@-webkit-keyframes fpFadeInDown { | |
| 725 | + from { | |
| 726 | + opacity: 0; | |
| 727 | + -webkit-transform: translate3d(0, -20px, 0); | |
| 728 | + transform: translate3d(0, -20px, 0); | |
| 729 | + } | |
| 730 | + to { | |
| 731 | + opacity: 1; | |
| 732 | + -webkit-transform: translate3d(0, 0, 0); | |
| 733 | + transform: translate3d(0, 0, 0); | |
| 734 | + } | |
| 735 | +} | |
| 736 | +@keyframes fpFadeInDown { | |
| 737 | + from { | |
| 738 | + opacity: 0; | |
| 739 | + -webkit-transform: translate3d(0, -20px, 0); | |
| 740 | + transform: translate3d(0, -20px, 0); | |
| 741 | + } | |
| 742 | + to { | |
| 743 | + opacity: 1; | |
| 744 | + -webkit-transform: translate3d(0, 0, 0); | |
| 745 | + transform: translate3d(0, 0, 0); | |
| 746 | + } | |
| 747 | +} | |
| 748 | +@-webkit-keyframes fpSlideLeft { | |
| 749 | + from { | |
| 750 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 751 | + transform: translate3d(0px, 0px, 0px); | |
| 752 | + } | |
| 753 | + to { | |
| 754 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 755 | + transform: translate3d(-100%, 0px, 0px); | |
| 756 | + } | |
| 757 | +} | |
| 758 | +@keyframes fpSlideLeft { | |
| 759 | + from { | |
| 760 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 761 | + transform: translate3d(0px, 0px, 0px); | |
| 762 | + } | |
| 763 | + to { | |
| 764 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 765 | + transform: translate3d(-100%, 0px, 0px); | |
| 766 | + } | |
| 767 | +} | |
| 768 | +@-webkit-keyframes fpSlideLeftNew { | |
| 769 | + from { | |
| 770 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 771 | + transform: translate3d(100%, 0px, 0px); | |
| 772 | + } | |
| 773 | + to { | |
| 774 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 775 | + transform: translate3d(0px, 0px, 0px); | |
| 776 | + } | |
| 777 | +} | |
| 778 | +@keyframes fpSlideLeftNew { | |
| 779 | + from { | |
| 780 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 781 | + transform: translate3d(100%, 0px, 0px); | |
| 782 | + } | |
| 783 | + to { | |
| 784 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 785 | + transform: translate3d(0px, 0px, 0px); | |
| 786 | + } | |
| 787 | +} | |
| 788 | +@-webkit-keyframes fpSlideRight { | |
| 789 | + from { | |
| 790 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 791 | + transform: translate3d(0, 0, 0px); | |
| 792 | + } | |
| 793 | + to { | |
| 794 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 795 | + transform: translate3d(100%, 0px, 0px); | |
| 796 | + } | |
| 797 | +} | |
| 798 | +@keyframes fpSlideRight { | |
| 799 | + from { | |
| 800 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 801 | + transform: translate3d(0, 0, 0px); | |
| 802 | + } | |
| 803 | + to { | |
| 804 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 805 | + transform: translate3d(100%, 0px, 0px); | |
| 806 | + } | |
| 807 | +} | |
| 808 | +@-webkit-keyframes fpSlideRightNew { | |
| 809 | + from { | |
| 810 | + -webkit-transform: translate3d(-100%, 0, 0px); | |
| 811 | + transform: translate3d(-100%, 0, 0px); | |
| 812 | + } | |
| 813 | + to { | |
| 814 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 815 | + transform: translate3d(0, 0, 0px); | |
| 816 | + } | |
| 817 | +} | |
| 818 | +@keyframes fpSlideRightNew { | |
| 819 | + from { | |
| 820 | + -webkit-transform: translate3d(-100%, 0, 0px); | |
| 821 | + transform: translate3d(-100%, 0, 0px); | |
| 822 | + } | |
| 823 | + to { | |
| 824 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 825 | + transform: translate3d(0, 0, 0px); | |
| 826 | + } | |
| 827 | +} | |
| 828 | +@-webkit-keyframes fpFadeOut { | |
| 829 | + from { | |
| 830 | + opacity: 1; | |
| 831 | + } | |
| 832 | + to { | |
| 833 | + opacity: 0; | |
| 834 | + } | |
| 835 | +} | |
| 836 | +@keyframes fpFadeOut { | |
| 837 | + from { | |
| 838 | + opacity: 1; | |
| 839 | + } | |
| 840 | + to { | |
| 841 | + opacity: 0; | |
| 842 | + } | |
| 843 | +} | |
| 844 | +@-webkit-keyframes fpFadeIn { | |
| 845 | + from { | |
| 846 | + opacity: 0; | |
| 847 | + } | |
| 848 | + to { | |
| 849 | + opacity: 1; | |
| 850 | + } | |
| 851 | +} | |
| 852 | +@keyframes fpFadeIn { | |
| 853 | + from { | |
| 854 | + opacity: 0; | |
| 855 | + } | |
| 856 | + to { | |
| 857 | + opacity: 1; | |
| 858 | + } | |
| 859 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/flatpickr/themes/material_red.css
0 → 100644
| 1 | +.flatpickr-calendar { | |
| 2 | + background: transparent; | |
| 3 | + overflow: hidden; | |
| 4 | + max-height: 0; | |
| 5 | + opacity: 0; | |
| 6 | + visibility: hidden; | |
| 7 | + text-align: center; | |
| 8 | + padding: 0; | |
| 9 | + -webkit-animation: none; | |
| 10 | + animation: none; | |
| 11 | + direction: ltr; | |
| 12 | + border: 0; | |
| 13 | + font-size: 14px; | |
| 14 | + line-height: 24px; | |
| 15 | + border-radius: 5px; | |
| 16 | + position: absolute; | |
| 17 | + width: 307.875px; | |
| 18 | + -webkit-box-sizing: border-box; | |
| 19 | + box-sizing: border-box; | |
| 20 | + -ms-touch-action: manipulation; | |
| 21 | + touch-action: manipulation; | |
| 22 | + -webkit-box-shadow: 0 3px 13px rgba(0,0,0,0.08); | |
| 23 | + box-shadow: 0 3px 13px rgba(0,0,0,0.08); | |
| 24 | +} | |
| 25 | +.flatpickr-calendar.open, | |
| 26 | +.flatpickr-calendar.inline { | |
| 27 | + opacity: 1; | |
| 28 | + visibility: visible; | |
| 29 | + overflow: visible; | |
| 30 | + max-height: 640px; | |
| 31 | +} | |
| 32 | +.flatpickr-calendar.open { | |
| 33 | + display: inline-block; | |
| 34 | + z-index: 99999; | |
| 35 | +} | |
| 36 | +.flatpickr-calendar.animate.open { | |
| 37 | + -webkit-animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 38 | + animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 39 | +} | |
| 40 | +.flatpickr-calendar.inline { | |
| 41 | + display: block; | |
| 42 | + position: relative; | |
| 43 | + top: 2px; | |
| 44 | +} | |
| 45 | +.flatpickr-calendar.static { | |
| 46 | + position: absolute; | |
| 47 | + top: calc(100% + 2px); | |
| 48 | +} | |
| 49 | +.flatpickr-calendar.static.open { | |
| 50 | + z-index: 999; | |
| 51 | + display: block; | |
| 52 | +} | |
| 53 | +.flatpickr-calendar.hasWeeks { | |
| 54 | + width: auto; | |
| 55 | +} | |
| 56 | +.flatpickr-calendar .hasWeeks .dayContainer, | |
| 57 | +.flatpickr-calendar .hasTime .dayContainer { | |
| 58 | + border-bottom: 0; | |
| 59 | + border-bottom-right-radius: 0; | |
| 60 | + border-bottom-left-radius: 0; | |
| 61 | +} | |
| 62 | +.flatpickr-calendar .hasWeeks .dayContainer { | |
| 63 | + border-left: 0; | |
| 64 | +} | |
| 65 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time { | |
| 66 | + height: 40px; | |
| 67 | + border-top: 1px solid rgba(72,72,72,0.2); | |
| 68 | +} | |
| 69 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-innerContainer { | |
| 70 | + border-bottom: 0; | |
| 71 | +} | |
| 72 | +.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time { | |
| 73 | + border: 1px solid rgba(72,72,72,0.2); | |
| 74 | +} | |
| 75 | +.flatpickr-calendar.noCalendar.hasTime .flatpickr-time { | |
| 76 | + height: auto; | |
| 77 | +} | |
| 78 | +.flatpickr-calendar:before, | |
| 79 | +.flatpickr-calendar:after { | |
| 80 | + position: absolute; | |
| 81 | + display: block; | |
| 82 | + pointer-events: none; | |
| 83 | + border: solid transparent; | |
| 84 | + content: ''; | |
| 85 | + height: 0; | |
| 86 | + width: 0; | |
| 87 | + left: 22px; | |
| 88 | +} | |
| 89 | +.flatpickr-calendar.rightMost:before, | |
| 90 | +.flatpickr-calendar.rightMost:after { | |
| 91 | + left: auto; | |
| 92 | + right: 22px; | |
| 93 | +} | |
| 94 | +.flatpickr-calendar:before { | |
| 95 | + border-width: 5px; | |
| 96 | + margin: 0 -5px; | |
| 97 | +} | |
| 98 | +.flatpickr-calendar:after { | |
| 99 | + border-width: 4px; | |
| 100 | + margin: 0 -4px; | |
| 101 | +} | |
| 102 | +.flatpickr-calendar.arrowTop:before, | |
| 103 | +.flatpickr-calendar.arrowTop:after { | |
| 104 | + bottom: 100%; | |
| 105 | +} | |
| 106 | +.flatpickr-calendar.arrowTop:before { | |
| 107 | + border-bottom-color: rgba(72,72,72,0.2); | |
| 108 | +} | |
| 109 | +.flatpickr-calendar.arrowTop:after { | |
| 110 | + border-bottom-color: #ef5350; | |
| 111 | +} | |
| 112 | +.flatpickr-calendar.arrowBottom:before, | |
| 113 | +.flatpickr-calendar.arrowBottom:after { | |
| 114 | + top: 100%; | |
| 115 | +} | |
| 116 | +.flatpickr-calendar.arrowBottom:before { | |
| 117 | + border-top-color: rgba(72,72,72,0.2); | |
| 118 | +} | |
| 119 | +.flatpickr-calendar.arrowBottom:after { | |
| 120 | + border-top-color: #ef5350; | |
| 121 | +} | |
| 122 | +.flatpickr-calendar:focus { | |
| 123 | + outline: 0; | |
| 124 | +} | |
| 125 | +.flatpickr-wrapper { | |
| 126 | + position: relative; | |
| 127 | + display: inline-block; | |
| 128 | +} | |
| 129 | +.flatpickr-month { | |
| 130 | + border-radius: 5px 5px 0 0; | |
| 131 | + background: #ef5350; | |
| 132 | + color: #fff; | |
| 133 | + fill: #fff; | |
| 134 | + height: 28px; | |
| 135 | + line-height: 1; | |
| 136 | + text-align: center; | |
| 137 | + position: relative; | |
| 138 | + -webkit-user-select: none; | |
| 139 | + -moz-user-select: none; | |
| 140 | + -ms-user-select: none; | |
| 141 | + user-select: none; | |
| 142 | + overflow: hidden; | |
| 143 | +} | |
| 144 | +.flatpickr-prev-month, | |
| 145 | +.flatpickr-next-month { | |
| 146 | + text-decoration: none; | |
| 147 | + cursor: pointer; | |
| 148 | + position: absolute; | |
| 149 | + top: 0px; | |
| 150 | + line-height: 16px; | |
| 151 | + height: 28px; | |
| 152 | + padding: 10px calc(3.57% - 1.5px); | |
| 153 | + z-index: 3; | |
| 154 | +} | |
| 155 | +.flatpickr-prev-month i, | |
| 156 | +.flatpickr-next-month i { | |
| 157 | + position: relative; | |
| 158 | +} | |
| 159 | +.flatpickr-prev-month.flatpickr-prev-month, | |
| 160 | +.flatpickr-next-month.flatpickr-prev-month { | |
| 161 | +/* | |
| 162 | + /*rtl:begin:ignore*/ | |
| 163 | +/* | |
| 164 | + */ | |
| 165 | + left: 0; | |
| 166 | +/* | |
| 167 | + /*rtl:end:ignore*/ | |
| 168 | +/* | |
| 169 | + */ | |
| 170 | +} | |
| 171 | +/* | |
| 172 | + /*rtl:begin:ignore*/ | |
| 173 | +/* | |
| 174 | + /*rtl:end:ignore*/ | |
| 175 | +.flatpickr-prev-month.flatpickr-next-month, | |
| 176 | +.flatpickr-next-month.flatpickr-next-month { | |
| 177 | +/* | |
| 178 | + /*rtl:begin:ignore*/ | |
| 179 | +/* | |
| 180 | + */ | |
| 181 | + right: 0; | |
| 182 | +/* | |
| 183 | + /*rtl:end:ignore*/ | |
| 184 | +/* | |
| 185 | + */ | |
| 186 | +} | |
| 187 | +/* | |
| 188 | + /*rtl:begin:ignore*/ | |
| 189 | +/* | |
| 190 | + /*rtl:end:ignore*/ | |
| 191 | +.flatpickr-prev-month:hover, | |
| 192 | +.flatpickr-next-month:hover { | |
| 193 | + color: #bbb; | |
| 194 | +} | |
| 195 | +.flatpickr-prev-month:hover svg, | |
| 196 | +.flatpickr-next-month:hover svg { | |
| 197 | + fill: #f64747; | |
| 198 | +} | |
| 199 | +.flatpickr-prev-month svg, | |
| 200 | +.flatpickr-next-month svg { | |
| 201 | + width: 14px; | |
| 202 | +} | |
| 203 | +.flatpickr-prev-month svg path, | |
| 204 | +.flatpickr-next-month svg path { | |
| 205 | + -webkit-transition: fill 0.1s; | |
| 206 | + transition: fill 0.1s; | |
| 207 | + fill: inherit; | |
| 208 | +} | |
| 209 | +.numInputWrapper { | |
| 210 | + position: relative; | |
| 211 | + height: auto; | |
| 212 | +} | |
| 213 | +.numInputWrapper input, | |
| 214 | +.numInputWrapper span { | |
| 215 | + display: inline-block; | |
| 216 | +} | |
| 217 | +.numInputWrapper input { | |
| 218 | + width: 100%; | |
| 219 | +} | |
| 220 | +.numInputWrapper span { | |
| 221 | + position: absolute; | |
| 222 | + right: 0; | |
| 223 | + width: 14px; | |
| 224 | + padding: 0 4px 0 2px; | |
| 225 | + height: 50%; | |
| 226 | + line-height: 50%; | |
| 227 | + opacity: 0; | |
| 228 | + cursor: pointer; | |
| 229 | + border: 1px solid rgba(72,72,72,0.05); | |
| 230 | + -webkit-box-sizing: border-box; | |
| 231 | + box-sizing: border-box; | |
| 232 | +} | |
| 233 | +.numInputWrapper span:hover { | |
| 234 | + background: rgba(0,0,0,0.1); | |
| 235 | +} | |
| 236 | +.numInputWrapper span:active { | |
| 237 | + background: rgba(0,0,0,0.2); | |
| 238 | +} | |
| 239 | +.numInputWrapper span:after { | |
| 240 | + display: block; | |
| 241 | + content: ""; | |
| 242 | + position: absolute; | |
| 243 | + top: 33%; | |
| 244 | +} | |
| 245 | +.numInputWrapper span.arrowUp { | |
| 246 | + top: 0; | |
| 247 | + border-bottom: 0; | |
| 248 | +} | |
| 249 | +.numInputWrapper span.arrowUp:after { | |
| 250 | + border-left: 4px solid transparent; | |
| 251 | + border-right: 4px solid transparent; | |
| 252 | + border-bottom: 4px solid rgba(72,72,72,0.6); | |
| 253 | +} | |
| 254 | +.numInputWrapper span.arrowDown { | |
| 255 | + top: 50%; | |
| 256 | +} | |
| 257 | +.numInputWrapper span.arrowDown:after { | |
| 258 | + border-left: 4px solid transparent; | |
| 259 | + border-right: 4px solid transparent; | |
| 260 | + border-top: 4px solid rgba(72,72,72,0.6); | |
| 261 | +} | |
| 262 | +.numInputWrapper span svg { | |
| 263 | + width: inherit; | |
| 264 | + height: auto; | |
| 265 | +} | |
| 266 | +.numInputWrapper span svg path { | |
| 267 | + fill: rgba(255,255,255,0.5); | |
| 268 | +} | |
| 269 | +.numInputWrapper:hover { | |
| 270 | + background: rgba(0,0,0,0.05); | |
| 271 | +} | |
| 272 | +.numInputWrapper:hover span { | |
| 273 | + opacity: 1; | |
| 274 | +} | |
| 275 | +.flatpickr-current-month { | |
| 276 | + font-size: 135%; | |
| 277 | + line-height: inherit; | |
| 278 | + font-weight: 300; | |
| 279 | + color: inherit; | |
| 280 | + position: absolute; | |
| 281 | + width: 75%; | |
| 282 | + left: 12.5%; | |
| 283 | + padding: 6.16px 0 0 0; | |
| 284 | + line-height: 1; | |
| 285 | + height: 28px; | |
| 286 | + display: inline-block; | |
| 287 | + text-align: center; | |
| 288 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 289 | + transform: translate3d(0px, 0px, 0px); | |
| 290 | +} | |
| 291 | +.flatpickr-current-month.slideLeft { | |
| 292 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 293 | + transform: translate3d(-100%, 0px, 0px); | |
| 294 | + -webkit-animation: fpFadeOut 400ms ease, fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 295 | + animation: fpFadeOut 400ms ease, fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 296 | +} | |
| 297 | +.flatpickr-current-month.slideLeftNew { | |
| 298 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 299 | + transform: translate3d(100%, 0px, 0px); | |
| 300 | + -webkit-animation: fpFadeIn 400ms ease, fpSlideLeftNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 301 | + animation: fpFadeIn 400ms ease, fpSlideLeftNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 302 | +} | |
| 303 | +.flatpickr-current-month.slideRight { | |
| 304 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 305 | + transform: translate3d(100%, 0px, 0px); | |
| 306 | + -webkit-animation: fpFadeOut 400ms ease, fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 307 | + animation: fpFadeOut 400ms ease, fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 308 | +} | |
| 309 | +.flatpickr-current-month.slideRightNew { | |
| 310 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 311 | + transform: translate3d(0, 0, 0px); | |
| 312 | + -webkit-animation: fpFadeIn 400ms ease, fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 313 | + animation: fpFadeIn 400ms ease, fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 314 | +} | |
| 315 | +.flatpickr-current-month span.cur-month { | |
| 316 | + font-family: inherit; | |
| 317 | + font-weight: 700; | |
| 318 | + color: inherit; | |
| 319 | + display: inline-block; | |
| 320 | + margin-left: 0.5ch; | |
| 321 | + padding: 0; | |
| 322 | +} | |
| 323 | +.flatpickr-current-month span.cur-month:hover { | |
| 324 | + background: rgba(0,0,0,0.05); | |
| 325 | +} | |
| 326 | +.flatpickr-current-month .numInputWrapper { | |
| 327 | + width: 6ch; | |
| 328 | + width: 7ch\0; | |
| 329 | + display: inline-block; | |
| 330 | +} | |
| 331 | +.flatpickr-current-month .numInputWrapper span.arrowUp:after { | |
| 332 | + border-bottom-color: #fff; | |
| 333 | +} | |
| 334 | +.flatpickr-current-month .numInputWrapper span.arrowDown:after { | |
| 335 | + border-top-color: #fff; | |
| 336 | +} | |
| 337 | +.flatpickr-current-month input.cur-year { | |
| 338 | + background: transparent; | |
| 339 | + -webkit-box-sizing: border-box; | |
| 340 | + box-sizing: border-box; | |
| 341 | + color: inherit; | |
| 342 | + cursor: default; | |
| 343 | + padding: 0 0 0 0.5ch; | |
| 344 | + margin: 0; | |
| 345 | + display: inline-block; | |
| 346 | + font-size: inherit; | |
| 347 | + font-family: inherit; | |
| 348 | + font-weight: 300; | |
| 349 | + line-height: inherit; | |
| 350 | + height: initial; | |
| 351 | + border: 0; | |
| 352 | + border-radius: 0; | |
| 353 | + vertical-align: initial; | |
| 354 | +} | |
| 355 | +.flatpickr-current-month input.cur-year:focus { | |
| 356 | + outline: 0; | |
| 357 | +} | |
| 358 | +.flatpickr-current-month input.cur-year[disabled], | |
| 359 | +.flatpickr-current-month input.cur-year[disabled]:hover { | |
| 360 | + font-size: 100%; | |
| 361 | + color: rgba(255,255,255,0.5); | |
| 362 | + background: transparent; | |
| 363 | + pointer-events: none; | |
| 364 | +} | |
| 365 | +.flatpickr-weekdays { | |
| 366 | + background: #ef5350; | |
| 367 | + text-align: center; | |
| 368 | + overflow: hidden; | |
| 369 | + width: 100%; | |
| 370 | + display: -webkit-box; | |
| 371 | + display: -webkit-flex; | |
| 372 | + display: -ms-flexbox; | |
| 373 | + display: flex; | |
| 374 | + -webkit-box-align: center; | |
| 375 | + -webkit-align-items: center; | |
| 376 | + -ms-flex-align: center; | |
| 377 | + align-items: center; | |
| 378 | + height: 28px; | |
| 379 | +} | |
| 380 | +span.flatpickr-weekday { | |
| 381 | + cursor: default; | |
| 382 | + font-size: 90%; | |
| 383 | + background: #ef5350; | |
| 384 | + color: rgba(0,0,0,0.54); | |
| 385 | + line-height: 1; | |
| 386 | + margin: 0; | |
| 387 | + text-align: center; | |
| 388 | + display: block; | |
| 389 | + -webkit-box-flex: 1; | |
| 390 | + -webkit-flex: 1; | |
| 391 | + -ms-flex: 1; | |
| 392 | + flex: 1; | |
| 393 | + font-weight: bolder; | |
| 394 | +} | |
| 395 | +.dayContainer, | |
| 396 | +.flatpickr-weeks { | |
| 397 | + padding: 1px 0 0 0; | |
| 398 | +} | |
| 399 | +.flatpickr-days { | |
| 400 | + position: relative; | |
| 401 | + overflow: hidden; | |
| 402 | + display: -webkit-box; | |
| 403 | + display: -webkit-flex; | |
| 404 | + display: -ms-flexbox; | |
| 405 | + display: flex; | |
| 406 | + width: 307.875px; | |
| 407 | + border-left: 1px solid rgba(72,72,72,0.2); | |
| 408 | + border-right: 1px solid rgba(72,72,72,0.2); | |
| 409 | +} | |
| 410 | +.flatpickr-days:focus { | |
| 411 | + outline: 0; | |
| 412 | +} | |
| 413 | +.dayContainer { | |
| 414 | + padding: 0; | |
| 415 | + outline: 0; | |
| 416 | + text-align: left; | |
| 417 | + width: 307.875px; | |
| 418 | + min-width: 307.875px; | |
| 419 | + max-width: 307.875px; | |
| 420 | + -webkit-box-sizing: border-box; | |
| 421 | + box-sizing: border-box; | |
| 422 | + display: inline-block; | |
| 423 | + display: -ms-flexbox; | |
| 424 | + display: -webkit-box; | |
| 425 | + display: -webkit-flex; | |
| 426 | + display: flex; | |
| 427 | + -webkit-flex-wrap: wrap; | |
| 428 | + flex-wrap: wrap; | |
| 429 | + -ms-flex-wrap: wrap; | |
| 430 | + -ms-flex-pack: justify; | |
| 431 | + -webkit-justify-content: space-around; | |
| 432 | + justify-content: space-around; | |
| 433 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 434 | + transform: translate3d(0px, 0px, 0px); | |
| 435 | + opacity: 1; | |
| 436 | +} | |
| 437 | +.flatpickr-calendar.animate .dayContainer.slideLeft { | |
| 438 | + -webkit-animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 439 | + animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 440 | +} | |
| 441 | +.flatpickr-calendar.animate .dayContainer.slideLeft, | |
| 442 | +.flatpickr-calendar.animate .dayContainer.slideLeftNew { | |
| 443 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 444 | + transform: translate3d(-100%, 0px, 0px); | |
| 445 | +} | |
| 446 | +.flatpickr-calendar.animate .dayContainer.slideLeftNew { | |
| 447 | + -webkit-animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 448 | + animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 449 | +} | |
| 450 | +.flatpickr-calendar.animate .dayContainer.slideRight { | |
| 451 | + -webkit-animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 452 | + animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 453 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 454 | + transform: translate3d(100%, 0px, 0px); | |
| 455 | +} | |
| 456 | +.flatpickr-calendar.animate .dayContainer.slideRightNew { | |
| 457 | + -webkit-animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 458 | + animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1), fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1); | |
| 459 | +} | |
| 460 | +.flatpickr-day { | |
| 461 | + background: none; | |
| 462 | + border: 1px solid transparent; | |
| 463 | + border-radius: 150px; | |
| 464 | + -webkit-box-sizing: border-box; | |
| 465 | + box-sizing: border-box; | |
| 466 | + color: #484848; | |
| 467 | + cursor: pointer; | |
| 468 | + font-weight: 400; | |
| 469 | + width: 14.2857143%; | |
| 470 | + -webkit-flex-basis: 14.2857143%; | |
| 471 | + -ms-flex-preferred-size: 14.2857143%; | |
| 472 | + flex-basis: 14.2857143%; | |
| 473 | + max-width: 39px; | |
| 474 | + height: 39px; | |
| 475 | + line-height: 39px; | |
| 476 | + margin: 0; | |
| 477 | + display: inline-block; | |
| 478 | + position: relative; | |
| 479 | + -webkit-box-pack: center; | |
| 480 | + -webkit-justify-content: center; | |
| 481 | + -ms-flex-pack: center; | |
| 482 | + justify-content: center; | |
| 483 | + text-align: center; | |
| 484 | +} | |
| 485 | +.flatpickr-day.inRange, | |
| 486 | +.flatpickr-day.prevMonthDay.inRange, | |
| 487 | +.flatpickr-day.nextMonthDay.inRange, | |
| 488 | +.flatpickr-day.today.inRange, | |
| 489 | +.flatpickr-day.prevMonthDay.today.inRange, | |
| 490 | +.flatpickr-day.nextMonthDay.today.inRange, | |
| 491 | +.flatpickr-day:hover, | |
| 492 | +.flatpickr-day.prevMonthDay:hover, | |
| 493 | +.flatpickr-day.nextMonthDay:hover, | |
| 494 | +.flatpickr-day:focus, | |
| 495 | +.flatpickr-day.prevMonthDay:focus, | |
| 496 | +.flatpickr-day.nextMonthDay:focus { | |
| 497 | + cursor: pointer; | |
| 498 | + outline: 0; | |
| 499 | + background: #e2e2e2; | |
| 500 | + border-color: #e2e2e2; | |
| 501 | +} | |
| 502 | +.flatpickr-day.today { | |
| 503 | + border-color: #bbb; | |
| 504 | +} | |
| 505 | +.flatpickr-day.today:hover, | |
| 506 | +.flatpickr-day.today:focus { | |
| 507 | + border-color: #bbb; | |
| 508 | + background: #bbb; | |
| 509 | + color: #fff; | |
| 510 | +} | |
| 511 | +.flatpickr-day.selected, | |
| 512 | +.flatpickr-day.startRange, | |
| 513 | +.flatpickr-day.endRange, | |
| 514 | +.flatpickr-day.selected.inRange, | |
| 515 | +.flatpickr-day.startRange.inRange, | |
| 516 | +.flatpickr-day.endRange.inRange, | |
| 517 | +.flatpickr-day.selected:focus, | |
| 518 | +.flatpickr-day.startRange:focus, | |
| 519 | +.flatpickr-day.endRange:focus, | |
| 520 | +.flatpickr-day.selected:hover, | |
| 521 | +.flatpickr-day.startRange:hover, | |
| 522 | +.flatpickr-day.endRange:hover, | |
| 523 | +.flatpickr-day.selected.prevMonthDay, | |
| 524 | +.flatpickr-day.startRange.prevMonthDay, | |
| 525 | +.flatpickr-day.endRange.prevMonthDay, | |
| 526 | +.flatpickr-day.selected.nextMonthDay, | |
| 527 | +.flatpickr-day.startRange.nextMonthDay, | |
| 528 | +.flatpickr-day.endRange.nextMonthDay { | |
| 529 | + background: #ef5350; | |
| 530 | + -webkit-box-shadow: none; | |
| 531 | + box-shadow: none; | |
| 532 | + color: #fff; | |
| 533 | + border-color: #ef5350; | |
| 534 | +} | |
| 535 | +.flatpickr-day.selected.startRange, | |
| 536 | +.flatpickr-day.startRange.startRange, | |
| 537 | +.flatpickr-day.endRange.startRange { | |
| 538 | + border-radius: 50px 0 0 50px; | |
| 539 | +} | |
| 540 | +.flatpickr-day.selected.endRange, | |
| 541 | +.flatpickr-day.startRange.endRange, | |
| 542 | +.flatpickr-day.endRange.endRange { | |
| 543 | + border-radius: 0 50px 50px 0; | |
| 544 | +} | |
| 545 | +.flatpickr-day.selected.startRange + .endRange, | |
| 546 | +.flatpickr-day.startRange.startRange + .endRange, | |
| 547 | +.flatpickr-day.endRange.startRange + .endRange { | |
| 548 | + -webkit-box-shadow: -10px 0 0 #ef5350; | |
| 549 | + box-shadow: -10px 0 0 #ef5350; | |
| 550 | +} | |
| 551 | +.flatpickr-day.selected.startRange.endRange, | |
| 552 | +.flatpickr-day.startRange.startRange.endRange, | |
| 553 | +.flatpickr-day.endRange.startRange.endRange { | |
| 554 | + border-radius: 50px; | |
| 555 | +} | |
| 556 | +.flatpickr-day.inRange { | |
| 557 | + border-radius: 0; | |
| 558 | + -webkit-box-shadow: -5px 0 0 #e2e2e2, 5px 0 0 #e2e2e2; | |
| 559 | + box-shadow: -5px 0 0 #e2e2e2, 5px 0 0 #e2e2e2; | |
| 560 | +} | |
| 561 | +.flatpickr-day.disabled, | |
| 562 | +.flatpickr-day.disabled:hover { | |
| 563 | + pointer-events: none; | |
| 564 | +} | |
| 565 | +.flatpickr-day.disabled, | |
| 566 | +.flatpickr-day.disabled:hover, | |
| 567 | +.flatpickr-day.prevMonthDay, | |
| 568 | +.flatpickr-day.nextMonthDay, | |
| 569 | +.flatpickr-day.notAllowed, | |
| 570 | +.flatpickr-day.notAllowed.prevMonthDay, | |
| 571 | +.flatpickr-day.notAllowed.nextMonthDay { | |
| 572 | + color: rgba(72,72,72,0.3); | |
| 573 | + background: transparent; | |
| 574 | + border-color: transparent; | |
| 575 | + cursor: default; | |
| 576 | +} | |
| 577 | +.flatpickr-day.week.selected { | |
| 578 | + border-radius: 0; | |
| 579 | + -webkit-box-shadow: -5px 0 0 #ef5350, 5px 0 0 #ef5350; | |
| 580 | + box-shadow: -5px 0 0 #ef5350, 5px 0 0 #ef5350; | |
| 581 | +} | |
| 582 | +.rangeMode .flatpickr-day { | |
| 583 | + margin-top: 1px; | |
| 584 | +} | |
| 585 | +.flatpickr-weekwrapper { | |
| 586 | + display: inline-block; | |
| 587 | + float: left; | |
| 588 | +} | |
| 589 | +.flatpickr-weekwrapper .flatpickr-weeks { | |
| 590 | + padding: 0 12px; | |
| 591 | + border-left: 1px solid rgba(72,72,72,0.2); | |
| 592 | +} | |
| 593 | +.flatpickr-weekwrapper .flatpickr-weekday { | |
| 594 | + float: none; | |
| 595 | + width: 100%; | |
| 596 | + line-height: 28px; | |
| 597 | +} | |
| 598 | +.flatpickr-weekwrapper span.flatpickr-day { | |
| 599 | + display: block; | |
| 600 | + width: 100%; | |
| 601 | + max-width: none; | |
| 602 | +} | |
| 603 | +.flatpickr-innerContainer { | |
| 604 | + display: block; | |
| 605 | + display: -webkit-box; | |
| 606 | + display: -webkit-flex; | |
| 607 | + display: -ms-flexbox; | |
| 608 | + display: flex; | |
| 609 | + -webkit-box-sizing: border-box; | |
| 610 | + box-sizing: border-box; | |
| 611 | + overflow: hidden; | |
| 612 | + background: #fff; | |
| 613 | + border-bottom: 1px solid rgba(72,72,72,0.2); | |
| 614 | +} | |
| 615 | +.flatpickr-rContainer { | |
| 616 | + display: inline-block; | |
| 617 | + padding: 0; | |
| 618 | + -webkit-box-sizing: border-box; | |
| 619 | + box-sizing: border-box; | |
| 620 | +} | |
| 621 | +.flatpickr-time { | |
| 622 | + text-align: center; | |
| 623 | + outline: 0; | |
| 624 | + display: block; | |
| 625 | + height: 0; | |
| 626 | + line-height: 40px; | |
| 627 | + max-height: 40px; | |
| 628 | + -webkit-box-sizing: border-box; | |
| 629 | + box-sizing: border-box; | |
| 630 | + overflow: hidden; | |
| 631 | + display: -webkit-box; | |
| 632 | + display: -webkit-flex; | |
| 633 | + display: -ms-flexbox; | |
| 634 | + display: flex; | |
| 635 | + background: #fff; | |
| 636 | + border-radius: 0 0 5px 5px; | |
| 637 | +} | |
| 638 | +.flatpickr-time:after { | |
| 639 | + content: ""; | |
| 640 | + display: table; | |
| 641 | + clear: both; | |
| 642 | +} | |
| 643 | +.flatpickr-time .numInputWrapper { | |
| 644 | + -webkit-box-flex: 1; | |
| 645 | + -webkit-flex: 1; | |
| 646 | + -ms-flex: 1; | |
| 647 | + flex: 1; | |
| 648 | + width: 40%; | |
| 649 | + height: 40px; | |
| 650 | + float: left; | |
| 651 | +} | |
| 652 | +.flatpickr-time .numInputWrapper span.arrowUp:after { | |
| 653 | + border-bottom-color: #484848; | |
| 654 | +} | |
| 655 | +.flatpickr-time .numInputWrapper span.arrowDown:after { | |
| 656 | + border-top-color: #484848; | |
| 657 | +} | |
| 658 | +.flatpickr-time.hasSeconds .numInputWrapper { | |
| 659 | + width: 26%; | |
| 660 | +} | |
| 661 | +.flatpickr-time.time24hr .numInputWrapper { | |
| 662 | + width: 49%; | |
| 663 | +} | |
| 664 | +.flatpickr-time input { | |
| 665 | + background: transparent; | |
| 666 | + -webkit-box-shadow: none; | |
| 667 | + box-shadow: none; | |
| 668 | + border: 0; | |
| 669 | + border-radius: 0; | |
| 670 | + text-align: center; | |
| 671 | + margin: 0; | |
| 672 | + padding: 0; | |
| 673 | + height: inherit; | |
| 674 | + line-height: inherit; | |
| 675 | + cursor: pointer; | |
| 676 | + color: #484848; | |
| 677 | + font-size: 14px; | |
| 678 | + position: relative; | |
| 679 | + -webkit-box-sizing: border-box; | |
| 680 | + box-sizing: border-box; | |
| 681 | +} | |
| 682 | +.flatpickr-time input.flatpickr-hour { | |
| 683 | + font-weight: bold; | |
| 684 | +} | |
| 685 | +.flatpickr-time input.flatpickr-minute, | |
| 686 | +.flatpickr-time input.flatpickr-second { | |
| 687 | + font-weight: 400; | |
| 688 | +} | |
| 689 | +.flatpickr-time input:focus { | |
| 690 | + outline: 0; | |
| 691 | + border: 0; | |
| 692 | +} | |
| 693 | +.flatpickr-time .flatpickr-time-separator, | |
| 694 | +.flatpickr-time .flatpickr-am-pm { | |
| 695 | + height: inherit; | |
| 696 | + display: inline-block; | |
| 697 | + float: left; | |
| 698 | + line-height: inherit; | |
| 699 | + color: #484848; | |
| 700 | + font-weight: bold; | |
| 701 | + width: 2%; | |
| 702 | + -webkit-user-select: none; | |
| 703 | + -moz-user-select: none; | |
| 704 | + -ms-user-select: none; | |
| 705 | + user-select: none; | |
| 706 | + -webkit-align-self: center; | |
| 707 | + -ms-flex-item-align: center; | |
| 708 | + align-self: center; | |
| 709 | +} | |
| 710 | +.flatpickr-time .flatpickr-am-pm { | |
| 711 | + outline: 0; | |
| 712 | + width: 18%; | |
| 713 | + cursor: pointer; | |
| 714 | + text-align: center; | |
| 715 | + font-weight: 400; | |
| 716 | +} | |
| 717 | +.flatpickr-time .flatpickr-am-pm:hover, | |
| 718 | +.flatpickr-time .flatpickr-am-pm:focus { | |
| 719 | + background: #ececec; | |
| 720 | +} | |
| 721 | +.flatpickr-input[readonly] { | |
| 722 | + cursor: pointer; | |
| 723 | +} | |
| 724 | +@-webkit-keyframes fpFadeInDown { | |
| 725 | + from { | |
| 726 | + opacity: 0; | |
| 727 | + -webkit-transform: translate3d(0, -20px, 0); | |
| 728 | + transform: translate3d(0, -20px, 0); | |
| 729 | + } | |
| 730 | + to { | |
| 731 | + opacity: 1; | |
| 732 | + -webkit-transform: translate3d(0, 0, 0); | |
| 733 | + transform: translate3d(0, 0, 0); | |
| 734 | + } | |
| 735 | +} | |
| 736 | +@keyframes fpFadeInDown { | |
| 737 | + from { | |
| 738 | + opacity: 0; | |
| 739 | + -webkit-transform: translate3d(0, -20px, 0); | |
| 740 | + transform: translate3d(0, -20px, 0); | |
| 741 | + } | |
| 742 | + to { | |
| 743 | + opacity: 1; | |
| 744 | + -webkit-transform: translate3d(0, 0, 0); | |
| 745 | + transform: translate3d(0, 0, 0); | |
| 746 | + } | |
| 747 | +} | |
| 748 | +@-webkit-keyframes fpSlideLeft { | |
| 749 | + from { | |
| 750 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 751 | + transform: translate3d(0px, 0px, 0px); | |
| 752 | + } | |
| 753 | + to { | |
| 754 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 755 | + transform: translate3d(-100%, 0px, 0px); | |
| 756 | + } | |
| 757 | +} | |
| 758 | +@keyframes fpSlideLeft { | |
| 759 | + from { | |
| 760 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 761 | + transform: translate3d(0px, 0px, 0px); | |
| 762 | + } | |
| 763 | + to { | |
| 764 | + -webkit-transform: translate3d(-100%, 0px, 0px); | |
| 765 | + transform: translate3d(-100%, 0px, 0px); | |
| 766 | + } | |
| 767 | +} | |
| 768 | +@-webkit-keyframes fpSlideLeftNew { | |
| 769 | + from { | |
| 770 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 771 | + transform: translate3d(100%, 0px, 0px); | |
| 772 | + } | |
| 773 | + to { | |
| 774 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 775 | + transform: translate3d(0px, 0px, 0px); | |
| 776 | + } | |
| 777 | +} | |
| 778 | +@keyframes fpSlideLeftNew { | |
| 779 | + from { | |
| 780 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 781 | + transform: translate3d(100%, 0px, 0px); | |
| 782 | + } | |
| 783 | + to { | |
| 784 | + -webkit-transform: translate3d(0px, 0px, 0px); | |
| 785 | + transform: translate3d(0px, 0px, 0px); | |
| 786 | + } | |
| 787 | +} | |
| 788 | +@-webkit-keyframes fpSlideRight { | |
| 789 | + from { | |
| 790 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 791 | + transform: translate3d(0, 0, 0px); | |
| 792 | + } | |
| 793 | + to { | |
| 794 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 795 | + transform: translate3d(100%, 0px, 0px); | |
| 796 | + } | |
| 797 | +} | |
| 798 | +@keyframes fpSlideRight { | |
| 799 | + from { | |
| 800 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 801 | + transform: translate3d(0, 0, 0px); | |
| 802 | + } | |
| 803 | + to { | |
| 804 | + -webkit-transform: translate3d(100%, 0px, 0px); | |
| 805 | + transform: translate3d(100%, 0px, 0px); | |
| 806 | + } | |
| 807 | +} | |
| 808 | +@-webkit-keyframes fpSlideRightNew { | |
| 809 | + from { | |
| 810 | + -webkit-transform: translate3d(-100%, 0, 0px); | |
| 811 | + transform: translate3d(-100%, 0, 0px); | |
| 812 | + } | |
| 813 | + to { | |
| 814 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 815 | + transform: translate3d(0, 0, 0px); | |
| 816 | + } | |
| 817 | +} | |
| 818 | +@keyframes fpSlideRightNew { | |
| 819 | + from { | |
| 820 | + -webkit-transform: translate3d(-100%, 0, 0px); | |
| 821 | + transform: translate3d(-100%, 0, 0px); | |
| 822 | + } | |
| 823 | + to { | |
| 824 | + -webkit-transform: translate3d(0, 0, 0px); | |
| 825 | + transform: translate3d(0, 0, 0px); | |
| 826 | + } | |
| 827 | +} | |
| 828 | +@-webkit-keyframes fpFadeOut { | |
| 829 | + from { | |
| 830 | + opacity: 1; | |
| 831 | + } | |
| 832 | + to { | |
| 833 | + opacity: 0; | |
| 834 | + } | |
| 835 | +} | |
| 836 | +@keyframes fpFadeOut { | |
| 837 | + from { | |
| 838 | + opacity: 1; | |
| 839 | + } | |
| 840 | + to { | |
| 841 | + opacity: 0; | |
| 842 | + } | |
| 843 | +} | |
| 844 | +@-webkit-keyframes fpFadeIn { | |
| 845 | + from { | |
| 846 | + opacity: 0; | |
| 847 | + } | |
| 848 | + to { | |
| 849 | + opacity: 1; | |
| 850 | + } | |
| 851 | +} | |
| 852 | +@keyframes fpFadeIn { | |
| 853 | + from { | |
| 854 | + opacity: 0; | |
| 855 | + } | |
| 856 | + to { | |
| 857 | + opacity: 1; | |
| 858 | + } | |
| 859 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/formvalidation/formValidation.min.css
0 → 100644
| 1 | +.fv-has-feedback{position:relative}.fv-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center}.fv-help-block{display:block}.fv-form-bootstrap .help-block{margin-bottom:0}.fv-form-bootstrap .tooltip-inner{text-align:left}.fv-form-bootstrap .fv-icon-no-label{top:0}.fv-form-bootstrap .fv-bootstrap-icon-input-group{z-index:100}.form-inline.fv-form-bootstrap .form-group{vertical-align:top}.fv-form-foundation .fv-control-feedback{top:21px;right:15px;width:37px;height:37px;line-height:37px}.fv-form-foundation .collapse .fv-control-feedback{top:0;right:0}.fv-form-foundation .fv-icon-no-label,.fv-form-horizontal.fv-form-foundation .fv-control-feedback{top:0}.fv-form-foundation .error .fv-control-feedback{color:#f04124}.error.fv-has-tooltip select,.error.fv-has-tooltip textarea,.fv-form-foundation .error.fv-has-tooltip input{margin-bottom:1rem}.fv-form-pure .fv-control-feedback{top:22px;width:36px;height:36px;line-height:36px}.pure-form-stacked.fv-form-pure .fv-control-feedback{top:4px}.pure-form-aligned .pure-control-group .fv-help-block{margin-top:5px;margin-left:180px}.fv-form-pure .fv-icon-no-label,.pure-form-aligned.fv-form-pure .fv-control-feedback{top:0}.fv-form-pure .fv-has-error .fv-control-feedback,.fv-form-pure .fv-has-error .fv-help-block,.fv-form-pure .fv-has-error label{color:#CA3C3C}.fv-form-semantic .fv-control-feedback.icon{right:7px}.fv-form-semantic .error .icon{color:#d95c5c}.fv-form-horizontal.fv-form-semantic .row{padding-bottom:0}.fv-form-uikit .fv-control-feedback{top:25px;width:30px;height:30px;line-height:30px}.fv-form-uikit .uk-text-danger{display:block}.uk-form-horizontal.fv-form-uikit .fv-control-feedback{top:0}.fv-form-uikit .fv-has-error .fv-control-feedback,.fv-form-uikit .fv-has-error .uk-form-label,.fv-form-uikit .fv-has-error label{color:#D85030}.fv-form-uikit .fv-icon-no-label{top:0} | |
| 0 | 2 | \ No newline at end of file | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/formvalidation/formValidation.min.js
0 → 100644
| 1 | +/*! | |
| 2 | + * FormValidation (http://formvalidation.io) | |
| 3 | + * The best jQuery plugin to validate form fields. Support Bootstrap, Foundation, Pure, SemanticUI, UIKit and custom frameworks | |
| 4 | + * | |
| 5 | + * @version v0.6.2-dev, built on 2015-03-13 8:15:45 AM | |
| 6 | + * @author https://twitter.com/nghuuphuoc | |
| 7 | + * @copyright (c) 2013 - 2015 Nguyen Huu Phuoc | |
| 8 | + * @license http://formvalidation.io/license/ | |
| 9 | + */ | |
| 10 | +if(window.FormValidation={AddOn:{},Framework:{},I18n:{},Validator:{}},"undefined"==typeof jQuery)throw new Error("FormValidation requires jQuery");!function(a){var b=a.fn.jquery.split(" ")[0].split(".");if(+b[0]<2&&+b[1]<9||1===+b[0]&&9===+b[1]&&+b[2]<1)throw new Error("FormValidation requires jQuery version 1.9.1 or higher")}(jQuery),function(a){FormValidation.Base=function(b,c,d){this.$form=a(b),this.options=a.extend({},a.fn.formValidation.DEFAULT_OPTIONS,c),this._namespace=d||"fv",this.$invalidFields=a([]),this.$submitButton=null,this.$hiddenButton=null,this.STATUS_NOT_VALIDATED="NOT_VALIDATED",this.STATUS_VALIDATING="VALIDATING",this.STATUS_INVALID="INVALID",this.STATUS_VALID="VALID",this.STATUS_IGNORED="IGNORED";var e=function(){for(var a=3,b=document.createElement("div"),c=b.all||[];b.innerHTML="<!--[if gt IE "+ ++a+"]><br><![endif]-->",c[0];);return a>4?a:!a}(),f=document.createElement("div");this._changeEvent=9!==e&&"oninput"in f?"input":"keyup",this._submitIfValid=null,this._cacheFields={},this._init()},FormValidation.Base.prototype={constructor:FormValidation.Base,_exceedThreshold:function(b){var c=this._namespace,d=b.attr("data-"+c+"-field"),e=this.options.fields[d].threshold||this.options.threshold;if(!e)return!0;var f=-1!==a.inArray(b.attr("type"),["button","checkbox","file","hidden","image","radio","reset","submit"]);return f||b.val().length>=e},_init:function(){var b=this,c=this._namespace,d={addOns:{},autoFocus:this.$form.attr("data-"+c+"-autofocus"),button:{selector:this.$form.attr("data-"+c+"-button-selector")||this.$form.attr("data-"+c+"-submitbuttons"),disabled:this.$form.attr("data-"+c+"-button-disabled")},control:{valid:this.$form.attr("data-"+c+"-control-valid"),invalid:this.$form.attr("data-"+c+"-control-invalid")},err:{clazz:this.$form.attr("data-"+c+"-err-clazz"),container:this.$form.attr("data-"+c+"-err-container")||this.$form.attr("data-"+c+"-container"),parent:this.$form.attr("data-"+c+"-err-parent")},events:{formInit:this.$form.attr("data-"+c+"-events-form-init"),formError:this.$form.attr("data-"+c+"-events-form-error"),formSuccess:this.$form.attr("data-"+c+"-events-form-success"),fieldAdded:this.$form.attr("data-"+c+"-events-field-added"),fieldRemoved:this.$form.attr("data-"+c+"-events-field-removed"),fieldInit:this.$form.attr("data-"+c+"-events-field-init"),fieldError:this.$form.attr("data-"+c+"-events-field-error"),fieldSuccess:this.$form.attr("data-"+c+"-events-field-success"),fieldStatus:this.$form.attr("data-"+c+"-events-field-status"),localeChanged:this.$form.attr("data-"+c+"-events-locale-changed"),validatorError:this.$form.attr("data-"+c+"-events-validator-error"),validatorSuccess:this.$form.attr("data-"+c+"-events-validator-success"),validatorIgnored:this.$form.attr("data-"+c+"-events-validator-ignored")},excluded:this.$form.attr("data-"+c+"-excluded"),icon:{valid:this.$form.attr("data-"+c+"-icon-valid")||this.$form.attr("data-"+c+"-feedbackicons-valid"),invalid:this.$form.attr("data-"+c+"-icon-invalid")||this.$form.attr("data-"+c+"-feedbackicons-invalid"),validating:this.$form.attr("data-"+c+"-icon-validating")||this.$form.attr("data-"+c+"-feedbackicons-validating"),feedback:this.$form.attr("data-"+c+"-icon-feedback")},live:this.$form.attr("data-"+c+"-live"),locale:this.$form.attr("data-"+c+"-locale"),message:this.$form.attr("data-"+c+"-message"),onError:this.$form.attr("data-"+c+"-onerror"),onSuccess:this.$form.attr("data-"+c+"-onsuccess"),row:{selector:this.$form.attr("data-"+c+"-row-selector")||this.$form.attr("data-"+c+"-group"),valid:this.$form.attr("data-"+c+"-row-valid"),invalid:this.$form.attr("data-"+c+"-row-invalid"),feedback:this.$form.attr("data-"+c+"-row-feedback")},threshold:this.$form.attr("data-"+c+"-threshold"),trigger:this.$form.attr("data-"+c+"-trigger"),verbose:this.$form.attr("data-"+c+"-verbose"),fields:{}};this.$form.attr("novalidate","novalidate").addClass(this.options.elementClass).on("submit."+c,function(a){a.preventDefault(),b.validate()}).on("click."+c,this.options.button.selector,function(){b.$submitButton=a(this),b._submitIfValid=!0}),(this.options.declarative===!0||"true"===this.options.declarative)&&this.$form.find("[name], [data-"+c+"-field]").each(function(){var e=a(this),f=e.attr("name")||e.attr("data-"+c+"-field"),g=b._parseOptions(e);g&&(e.attr("data-"+c+"-field",f),d.fields[f]=a.extend({},g,d.fields[f]))}),this.options=a.extend(!0,this.options,d),"string"==typeof this.options.err.parent&&(this.options.err.parent=new RegExp(this.options.err.parent)),this.options.container&&(this.options.err.container=this.options.container,delete this.options.container),this.options.feedbackIcons&&(this.options.icon=a.extend(!0,this.options.icon,this.options.feedbackIcons),delete this.options.feedbackIcons),this.options.group&&(this.options.row.selector=this.options.group,delete this.options.group),this.options.submitButtons&&(this.options.button.selector=this.options.submitButtons,delete this.options.submitButtons),FormValidation.I18n[this.options.locale]||(this.options.locale=a.fn.formValidation.DEFAULT_OPTIONS.locale),(this.options.declarative===!0||"true"===this.options.declarative)&&(this.options=a.extend(!0,this.options,{addOns:this._parseAddOnOptions()})),this.$hiddenButton=a("<button/>").attr("type","submit").prependTo(this.$form).addClass("fv-hidden-submit").css({display:"none",width:0,height:0}),this.$form.on("click."+this._namespace,'[type="submit"]',function(c){if(!c.isDefaultPrevented()){var d=a(c.target),e=d.is('[type="submit"]')?d.eq(0):d.parent('[type="submit"]').eq(0);!b.options.button.selector||e.is(b.options.button.selector)||e.is(b.$hiddenButton)||b.$form.off("submit."+b._namespace).submit()}});for(var e in this.options.fields)this._initField(e);for(var f in this.options.addOns)"function"==typeof FormValidation.AddOn[f].init&&FormValidation.AddOn[f].init(this,this.options.addOns[f]);this.$form.trigger(a.Event(this.options.events.formInit),{bv:this,fv:this,options:this.options}),this.options.onSuccess&&this.$form.on(this.options.events.formSuccess,function(a){FormValidation.Helper.call(b.options.onSuccess,[a])}),this.options.onError&&this.$form.on(this.options.events.formError,function(a){FormValidation.Helper.call(b.options.onError,[a])})},_initField:function(b){var c=this._namespace,d=a([]);switch(typeof b){case"object":d=b,b=b.attr("data-"+c+"-field");break;case"string":d=this.getFieldElements(b),d.attr("data-"+c+"-field",b)}if(0!==d.length&&null!==this.options.fields[b]&&null!==this.options.fields[b].validators){var e;for(e in this.options.fields[b].validators)FormValidation.Validator[e]||delete this.options.fields[b].validators[e];null===this.options.fields[b].enabled&&(this.options.fields[b].enabled=!0);for(var f=this,g=d.length,h=d.attr("type"),i=1===g||"radio"===h||"checkbox"===h,j=this._getFieldTrigger(d.eq(0)),k=a.map(j,function(a){return a+".update."+c}).join(" "),l=0;g>l;l++){var m=d.eq(l),n=this.options.fields[b].row||this.options.row.selector,o=m.closest(n),p="function"==typeof(this.options.fields[b].container||this.options.fields[b].err||this.options.err.container)?(this.options.fields[b].container||this.options.fields[b].err||this.options.err.container).call(this,m,this):this.options.fields[b].container||this.options.fields[b].err||this.options.err.container,q=p&&"tooltip"!==p&&"popover"!==p?a(p):this._getMessageContainer(m,n);p&&"tooltip"!==p&&"popover"!==p&&q.addClass(this.options.err.clazz),q.find("."+this.options.err.clazz.split(" ").join(".")+"[data-"+c+"-validator][data-"+c+'-for="'+b+'"]').remove(),o.find("i[data-"+c+'-icon-for="'+b+'"]').remove(),m.off(k).on(k,function(){f.updateStatus(a(this),f.STATUS_NOT_VALIDATED)}),m.data(c+".messages",q);for(e in this.options.fields[b].validators)m.data(c+".result."+e,this.STATUS_NOT_VALIDATED),i&&l!==g-1||a("<small/>").css("display","none").addClass(this.options.err.clazz).attr("data-"+c+"-validator",e).attr("data-"+c+"-for",b).attr("data-"+c+"-result",this.STATUS_NOT_VALIDATED).html(this._getMessage(b,e)).appendTo(q),"function"==typeof FormValidation.Validator[e].init&&FormValidation.Validator[e].init(this,m,this.options.fields[b].validators[e]);if(this.options.fields[b].icon!==!1&&"false"!==this.options.fields[b].icon&&this.options.icon&&this.options.icon.valid&&this.options.icon.invalid&&this.options.icon.validating&&(!i||l===g-1)){o.addClass(this.options.row.feedback);var r=a("<i/>").css("display","none").addClass(this.options.icon.feedback).attr("data-"+c+"-icon-for",b).insertAfter(m);(i?d:m).data(c+".icon",r),("tooltip"===p||"popover"===p)&&((i?d:m).on(this.options.events.fieldError,function(){o.addClass("fv-has-tooltip")}).on(this.options.events.fieldSuccess,function(){o.removeClass("fv-has-tooltip")}),m.off("focus.container."+c).on("focus.container."+c,function(){f._showTooltip(m,p)}).off("blur.container."+c).on("blur.container."+c,function(){f._hideTooltip(m,p)})),"string"==typeof this.options.fields[b].icon&&"true"!==this.options.fields[b].icon?r.appendTo(a(this.options.fields[b].icon)):this._fixIcon(m,r)}}d.on(this.options.events.fieldSuccess,function(a,b){var c=f.getOptions(b.field,null,"onSuccess");c&&FormValidation.Helper.call(c,[a,b])}).on(this.options.events.fieldError,function(a,b){var c=f.getOptions(b.field,null,"onError");c&&FormValidation.Helper.call(c,[a,b])}).on(this.options.events.fieldStatus,function(a,b){var c=f.getOptions(b.field,null,"onStatus");c&&FormValidation.Helper.call(c,[a,b])}).on(this.options.events.validatorError,function(a,b){var c=f.getOptions(b.field,b.validator,"onError");c&&FormValidation.Helper.call(c,[a,b])}).on(this.options.events.validatorSuccess,function(a,b){var c=f.getOptions(b.field,b.validator,"onSuccess");c&&FormValidation.Helper.call(c,[a,b])}),this.onLiveChange(d,"live",function(){f._exceedThreshold(a(this))&&f.validateField(a(this))}),d.trigger(a.Event(this.options.events.fieldInit),{bv:this,fv:this,field:b,element:d})}},_isExcluded:function(b){var c=this._namespace,d=b.attr("data-"+c+"-excluded"),e=b.attr("data-"+c+"-field")||b.attr("name");switch(!0){case!!e&&this.options.fields&&this.options.fields[e]&&("true"===this.options.fields[e].excluded||this.options.fields[e].excluded===!0):case"true"===d:case""===d:return!0;case!!e&&this.options.fields&&this.options.fields[e]&&("false"===this.options.fields[e].excluded||this.options.fields[e].excluded===!1):case"false"===d:return!1;case!!e&&this.options.fields&&this.options.fields[e]&&"function"==typeof this.options.fields[e].excluded:return this.options.fields[e].excluded.call(this,b,this);case!!e&&this.options.fields&&this.options.fields[e]&&"string"==typeof this.options.fields[e].excluded:case d:return FormValidation.Helper.call(this.options.fields[e].excluded,[b,this]);default:if(this.options.excluded){"string"==typeof this.options.excluded&&(this.options.excluded=a.map(this.options.excluded.split(","),function(b){return a.trim(b)}));for(var f=this.options.excluded.length,g=0;f>g;g++)if("string"==typeof this.options.excluded[g]&&b.is(this.options.excluded[g])||"function"==typeof this.options.excluded[g]&&this.options.excluded[g].call(this,b,this)===!0)return!0}return!1}},_getFieldTrigger:function(a){var b=this._namespace,c=a.data(b+".trigger");if(c)return c;var d=a.attr("type"),e=a.attr("data-"+b+"-field"),f="radio"===d||"checkbox"===d||"file"===d||"SELECT"===a.get(0).tagName?"change":this._changeEvent;return c=((this.options.fields[e]?this.options.fields[e].trigger:null)||this.options.trigger||f).split(" "),a.data(b+".trigger",c),c},_getMessage:function(a,b){if(!(this.options.fields[a]&&FormValidation.Validator[b]&&this.options.fields[a].validators&&this.options.fields[a].validators[b]))return"";switch(!0){case!!this.options.fields[a].validators[b].message:return this.options.fields[a].validators[b].message;case!!this.options.fields[a].message:return this.options.fields[a].message;case!!FormValidation.I18n[this.options.locale]&&!!FormValidation.I18n[this.options.locale][b]&&!!FormValidation.I18n[this.options.locale][b]["default"]:return FormValidation.I18n[this.options.locale][b]["default"];default:return this.options.message}},_getMessageContainer:function(a,b){if(!this.options.err.parent)throw new Error("The err.parent option is not defined");var c=a.parent();if(c.is(b))return c;var d=c.attr("class");return d&&this.options.err.parent.test(d)?c:this._getMessageContainer(c,b)},_parseAddOnOptions:function(){var a=this._namespace,b=this.$form.attr("data-"+a+"-addons"),c=this.options.addOns||{};if(b){b=b.replace(/\s/g,"").split(",");for(var d=0;d<b.length;d++)c[b[d]]||(c[b[d]]={})}var e,f,g,h;for(e in c)if(FormValidation.AddOn[e]){if(f=FormValidation.AddOn[e].html5Attributes)for(g in f)h=this.$form.attr("data-"+a+"-addons-"+e.toLowerCase()+"-"+g.toLowerCase()),h&&(c[e][f[g]]=h)}else delete c[e];return c},_parseOptions:function(b){var c,d,e,f,g,h,i,j,k,l=this._namespace,m=b.attr("name")||b.attr("data-"+l+"-field"),n={};for(d in FormValidation.Validator)if(c=FormValidation.Validator[d],e="data-"+l+"-"+d.toLowerCase(),f=b.attr(e)+"",k="function"==typeof c.enableByHtml5?c.enableByHtml5(b):null,k&&"false"!==f||k!==!0&&(""===f||"true"===f||e===f.toLowerCase())){c.html5Attributes=a.extend({},{message:"message",onerror:"onError",onsuccess:"onSuccess",transformer:"transformer"},c.html5Attributes),n[d]=a.extend({},k===!0?{}:k,n[d]);for(j in c.html5Attributes)g=c.html5Attributes[j],h="data-"+l+"-"+d.toLowerCase()+"-"+j,i=b.attr(h),i&&("true"===i||h===i.toLowerCase()?i=!0:"false"===i&&(i=!1),n[d][g]=i)}var o={autoFocus:b.attr("data-"+l+"-autofocus"),err:b.attr("data-"+l+"-err-container")||b.attr("data-"+l+"-container"),excluded:b.attr("data-"+l+"-excluded"),icon:b.attr("data-"+l+"-icon")||b.attr("data-"+l+"-feedbackicons")||(this.options.fields&&this.options.fields[m]?this.options.fields[m].feedbackIcons:null),message:b.attr("data-"+l+"-message"),onError:b.attr("data-"+l+"-onerror"),onStatus:b.attr("data-"+l+"-onstatus"),onSuccess:b.attr("data-"+l+"-onsuccess"),row:b.attr("data-"+l+"-row")||b.attr("data-"+l+"-group")||(this.options.fields&&this.options.fields[m]?this.options.fields[m].group:null),selector:b.attr("data-"+l+"-selector"),threshold:b.attr("data-"+l+"-threshold"),transformer:b.attr("data-"+l+"-transformer"),trigger:b.attr("data-"+l+"-trigger"),verbose:b.attr("data-"+l+"-verbose"),validators:n},p=a.isEmptyObject(o),q=a.isEmptyObject(n);return!q||!p&&this.options.fields&&this.options.fields[m]?(o.validators=n,o):null},_submit:function(){var b=this.isValid();if(null!==b){var c=b?this.options.events.formSuccess:this.options.events.formError,d=a.Event(c);this.$form.trigger(d),this.$submitButton&&(b?this._onSuccess(d):this._onError(d))}},_onError:function(b){if(!b.isDefaultPrevented()){if("submitted"===this.options.live){this.options.live="enabled";var c=this;for(var d in this.options.fields)!function(b){var d=c.getFieldElements(b);d.length&&c.onLiveChange(d,"live",function(){c._exceedThreshold(a(this))&&c.validateField(a(this))})}(d)}for(var e=this._namespace,f=0;f<this.$invalidFields.length;f++){var g=this.$invalidFields.eq(f),h=this.isOptionEnabled(g.attr("data-"+e+"-field"),"autoFocus");if(h){g.focus();break}}}},_onFieldValidated:function(b,c){var d=this._namespace,e=b.attr("data-"+d+"-field"),f=this.options.fields[e].validators,g={},h=0,i={bv:this,fv:this,field:e,element:b,validator:c,result:b.data(d+".response."+c)};if(c)switch(b.data(d+".result."+c)){case this.STATUS_INVALID:b.trigger(a.Event(this.options.events.validatorError),i);break;case this.STATUS_VALID:b.trigger(a.Event(this.options.events.validatorSuccess),i);break;case this.STATUS_IGNORED:b.trigger(a.Event(this.options.events.validatorIgnored),i)}g[this.STATUS_NOT_VALIDATED]=0,g[this.STATUS_VALIDATING]=0,g[this.STATUS_INVALID]=0,g[this.STATUS_VALID]=0,g[this.STATUS_IGNORED]=0;for(var j in f)if(f[j].enabled!==!1){h++;var k=b.data(d+".result."+j);k&&g[k]++}g[this.STATUS_VALID]+g[this.STATUS_IGNORED]===h?(this.$invalidFields=this.$invalidFields.not(b),b.trigger(a.Event(this.options.events.fieldSuccess),i)):(0===g[this.STATUS_NOT_VALIDATED]||!this.isOptionEnabled(e,"verbose"))&&0===g[this.STATUS_VALIDATING]&&g[this.STATUS_INVALID]>0&&(this.$invalidFields=this.$invalidFields.add(b),b.trigger(a.Event(this.options.events.fieldError),i))},_onSuccess:function(a){a.isDefaultPrevented()||this.disableSubmitButtons(!0).defaultSubmit()},_fixIcon:function(){},_createTooltip:function(){},_destroyTooltip:function(){},_hideTooltip:function(){},_showTooltip:function(){},defaultSubmit:function(){var b=this._namespace;this.$submitButton&&a("<input/>").attr({type:"hidden",name:this.$submitButton.attr("name")}).attr("data-"+b+"-submit-hidden","").val(this.$submitButton.val()).appendTo(this.$form),this.$form.off("submit."+b).submit()},disableSubmitButtons:function(a){return a?"disabled"!==this.options.live&&this.$form.find(this.options.button.selector).attr("disabled","disabled").addClass(this.options.button.disabled):this.$form.find(this.options.button.selector).removeAttr("disabled").removeClass(this.options.button.disabled),this},getFieldElements:function(b){if(!this._cacheFields[b])if(this.options.fields[b]&&this.options.fields[b].selector){var c=this.$form.find(this.options.fields[b].selector);this._cacheFields[b]=c.length?c:a(this.options.fields[b].selector)}else this._cacheFields[b]=this.$form.find('[name="'+b+'"]');return this._cacheFields[b]},getFieldValue:function(a,b){var c,d=this._namespace;if("string"==typeof a){if(c=this.getFieldElements(a),0===c.length)return null}else c=a,a=c.attr("data-"+d+"-field");if(!a||!this.options.fields[a])return c.val();var e=(this.options.fields[a].validators&&this.options.fields[a].validators[b]?this.options.fields[a].validators[b].transformer:null)||this.options.fields[a].transformer;return e?FormValidation.Helper.call(e,[c,b,this]):c.val()},getNamespace:function(){return this._namespace},getOptions:function(a,b,c){var d=this._namespace;if(!a)return c?this.options[c]:this.options;if("object"==typeof a&&(a=a.attr("data-"+d+"-field")),!this.options.fields[a])return null;var e=this.options.fields[a];return b?e.validators&&e.validators[b]?c?e.validators[b][c]:e.validators[b]:null:c?e[c]:e},getStatus:function(a,b){var c=this._namespace;switch(typeof a){case"object":return a.data(c+".result."+b);case"string":default:return this.getFieldElements(a).eq(0).data(c+".result."+b)}},isOptionEnabled:function(a,b){return!this.options.fields[a]||"true"!==this.options.fields[a][b]&&this.options.fields[a][b]!==!0?!this.options.fields[a]||"false"!==this.options.fields[a][b]&&this.options.fields[a][b]!==!1?"true"===this.options[b]||this.options[b]===!0:!1:!0},isValid:function(){for(var a in this.options.fields){var b=this.isValidField(a);if(null===b)return null;if(b===!1)return!1}return!0},isValidContainer:function(b){var c=this,d=this._namespace,e=[],f="string"==typeof b?a(b):b;if(0===f.length)return!0;f.find("[data-"+d+"-field]").each(function(){var b=a(this);c._isExcluded(b)||e.push(b)});for(var g=e.length,h=0;g>h;h++){var i=e[h],j=i.attr("data-"+d+"-field"),k=i.data(d+".messages").find("."+this.options.err.clazz.split(" ").join(".")+"[data-"+d+"-validator][data-"+d+'-for="'+j+'"]');if(k.filter("[data-"+d+'-result="'+this.STATUS_INVALID+'"]').length>0)return!1;if(k.filter("[data-"+d+'-result="'+this.STATUS_NOT_VALIDATED+'"]').length>0||k.filter("[data-"+d+'-result="'+this.STATUS_VALIDATING+'"]').length>0)return null}return!0},isValidField:function(b){var c=this._namespace,d=a([]);switch(typeof b){case"object":d=b,b=b.attr("data-"+c+"-field");break;case"string":d=this.getFieldElements(b)}if(0===d.length||!this.options.fields[b]||this.options.fields[b].enabled===!1)return!0;for(var e,f,g,h=d.attr("type"),i="radio"===h||"checkbox"===h?1:d.length,j=0;i>j;j++)if(e=d.eq(j),!this._isExcluded(e))for(f in this.options.fields[b].validators)if(this.options.fields[b].validators[f].enabled!==!1){if(g=e.data(c+".result."+f),g===this.STATUS_VALIDATING||g===this.STATUS_NOT_VALIDATED)return null;if(g===this.STATUS_INVALID)return!1}return!0},offLiveChange:function(b,c){if(null===b||0===b.length)return this;var d=this._namespace,e=this._getFieldTrigger(b.eq(0)),f=a.map(e,function(a){return a+"."+c+"."+d}).join(" ");return b.off(f),this},onLiveChange:function(b,c,d){if(null===b||0===b.length)return this;var e=this._namespace,f=this._getFieldTrigger(b.eq(0)),g=a.map(f,function(a){return a+"."+c+"."+e}).join(" ");switch(this.options.live){case"submitted":break;case"disabled":b.off(g);break;case"enabled":default:b.off(g).on(g,function(){d.apply(this,arguments)})}return this},updateMessage:function(b,c,d){var e=this,f=this._namespace,g=a([]);switch(typeof b){case"object":g=b,b=b.attr("data-"+f+"-field");break;case"string":g=this.getFieldElements(b)}return g.each(function(){a(this).data(f+".messages").find("."+e.options.err.clazz+"[data-"+f+'-validator="'+c+'"][data-'+f+'-for="'+b+'"]').html(d)}),this},updateStatus:function(b,c,d){var e=this._namespace,f=a([]);switch(typeof b){case"object":f=b,b=b.attr("data-"+e+"-field");break;case"string":f=this.getFieldElements(b)}if(!b||!this.options.fields[b])return this;c===this.STATUS_NOT_VALIDATED&&(this._submitIfValid=!1);for(var g=this,h=f.attr("type"),i=this.options.fields[b].row||this.options.row.selector,j="radio"===h||"checkbox"===h?1:f.length,k=0;j>k;k++){var l=f.eq(k);if(!this._isExcluded(l)){var m,n,o=l.closest(i),p=l.data(e+".messages"),q=p.find("."+this.options.err.clazz.split(" ").join(".")+"[data-"+e+"-validator][data-"+e+'-for="'+b+'"]'),r=d?q.filter("[data-"+e+'-validator="'+d+'"]'):q,s=l.data(e+".icon"),t="function"==typeof(this.options.fields[b].container||this.options.fields[b].err||this.options.err.container)?(this.options.fields[b].container||this.options.fields[b].err||this.options.err.container).call(this,l,this):this.options.fields[b].container||this.options.fields[b].err||this.options.err.container,u=null;if(d)l.data(e+".result."+d,c);else for(var v in this.options.fields[b].validators)l.data(e+".result."+v,c);switch(r.attr("data-"+e+"-result",c),c){case this.STATUS_VALIDATING:u=null,this.disableSubmitButtons(!0),l.removeClass(this.options.control.valid).removeClass(this.options.control.invalid),o.removeClass(this.options.row.valid).removeClass(this.options.row.invalid),s&&s.removeClass(this.options.icon.valid).removeClass(this.options.icon.invalid).addClass(this.options.icon.validating).show();break;case this.STATUS_INVALID:u=!1,this.disableSubmitButtons(!0),l.removeClass(this.options.control.valid).addClass(this.options.control.invalid),o.removeClass(this.options.row.valid).addClass(this.options.row.invalid),s&&s.removeClass(this.options.icon.valid).removeClass(this.options.icon.validating).addClass(this.options.icon.invalid).show();break;case this.STATUS_VALID:case this.STATUS_IGNORED:m=q.filter("[data-"+e+'-result="'+this.STATUS_VALIDATING+'"]').length>0,n=q.filter("[data-"+e+'-result="'+this.STATUS_NOT_VALIDATED+'"]').length>0,u=m||n?null:q.filter("[data-"+e+'-result="'+this.STATUS_VALID+'"]').length+q.filter("[data-"+e+'-result="'+this.STATUS_IGNORED+'"]').length===q.length,l.removeClass(this.options.control.valid).removeClass(this.options.control.invalid),u===!0?(this.disableSubmitButtons(this.isValid()===!1),c===this.STATUS_VALID&&l.addClass(this.options.control.valid)):u===!1&&(this.disableSubmitButtons(!0),c===this.STATUS_VALID&&l.addClass(this.options.control.invalid)),s&&(s.removeClass(this.options.icon.invalid).removeClass(this.options.icon.validating).removeClass(this.options.icon.valid),c===this.STATUS_VALID&&s.addClass(null===u?"":u?this.options.icon.valid:m?this.options.icon.validating:this.options.icon.invalid).show());var w=this.isValidContainer(o);null!==w&&(o.removeClass(this.options.row.valid).removeClass(this.options.row.invalid),(c===this.STATUS_VALID||q.length>1)&&o.addClass(w?this.options.row.valid:this.options.row.invalid));break;case this.STATUS_NOT_VALIDATED:default:u=null,this.disableSubmitButtons(!1),l.removeClass(this.options.control.valid).removeClass(this.options.control.invalid),o.removeClass(this.options.row.valid).removeClass(this.options.row.invalid),s&&s.removeClass(this.options.icon.valid).removeClass(this.options.icon.invalid).removeClass(this.options.icon.validating).hide()}!s||"tooltip"!==t&&"popover"!==t?c===this.STATUS_INVALID?r.show():r.hide():u===!1?this._createTooltip(l,q.filter("[data-"+e+'-result="'+g.STATUS_INVALID+'"]').eq(0).html(),t):this._destroyTooltip(l,t),l.trigger(a.Event(this.options.events.fieldStatus),{bv:this,fv:this,field:b,element:l,status:c}),this._onFieldValidated(l,d)}}return this},validate:function(){if(a.isEmptyObject(this.options.fields))return this._submit(),this;this.disableSubmitButtons(!0),this._submitIfValid=!1;for(var b in this.options.fields)this.validateField(b);return this._submit(),this._submitIfValid=!0,this},validateField:function(b){var c=this._namespace,d=a([]);switch(typeof b){case"object":d=b,b=b.attr("data-"+c+"-field");break;case"string":d=this.getFieldElements(b)}if(0===d.length||!this.options.fields[b]||this.options.fields[b].enabled===!1)return this;for(var e,f,g=this,h=d.attr("type"),i="radio"===h||"checkbox"===h?1:d.length,j="radio"===h||"checkbox"===h,k=this.options.fields[b].validators,l=this.isOptionEnabled(b,"verbose"),m=0;i>m;m++){var n=d.eq(m);if(!this._isExcluded(n)){var o=!1;for(e in k){if(n.data(c+".dfs."+e)&&n.data(c+".dfs."+e).reject(),o)break;var p=n.data(c+".result."+e);if(p!==this.STATUS_VALID&&p!==this.STATUS_INVALID)if(k[e].enabled!==!1)if(n.data(c+".result."+e,this.STATUS_VALIDATING),f=FormValidation.Validator[e].validate(this,n,k[e]),"object"==typeof f&&f.resolve)this.updateStatus(j?b:n,this.STATUS_VALIDATING,e),n.data(c+".dfs."+e,f),f.done(function(a,b,d){a.removeData(c+".dfs."+b).data(c+".response."+b,d),d.message&&g.updateMessage(a,b,d.message),g.updateStatus(j?a.attr("data-"+c+"-field"):a,d.valid===!0?g.STATUS_VALID:d.valid===!1?g.STATUS_INVALID:g.STATUS_IGNORED,b),d.valid&&g._submitIfValid===!0?g._submit():d.valid!==!1||l||(o=!0)});else if("object"==typeof f&&void 0!==f.valid){if(n.data(c+".response."+e,f),f.message&&this.updateMessage(j?b:n,e,f.message),this.updateStatus(j?b:n,f.valid===!0?this.STATUS_VALID:f.valid===!1?this.STATUS_INVALID:this.STATUS_IGNORED,e),f.valid===!1&&!l)break}else if("boolean"==typeof f){if(n.data(c+".response."+e,f),this.updateStatus(j?b:n,f?this.STATUS_VALID:this.STATUS_INVALID,e),!f&&!l)break}else(null===f||void 0===f)&&(n.data(c+".response."+e,f),this.updateStatus(j?b:n,this.STATUS_IGNORED,e));else this.updateStatus(j?b:n,this.STATUS_VALID,e);else this._onFieldValidated(n,e)}}}return this},addField:function(b,c){var d=this._namespace,e=a([]);switch(typeof b){case"object":e=b,b=b.attr("data-"+d+"-field")||b.attr("name");break;case"string":delete this._cacheFields[b],e=this.getFieldElements(b)}e.attr("data-"+d+"-field",b);for(var f=e.attr("type"),g="radio"===f||"checkbox"===f?1:e.length,h=0;g>h;h++){var i=e.eq(h),j=this._parseOptions(i);j=null===j?c:a.extend(!0,j,c),this.options.fields[b]=a.extend(!0,this.options.fields[b],j),this._cacheFields[b]=this._cacheFields[b]?this._cacheFields[b].add(i):i,this._initField("checkbox"===f||"radio"===f?b:i)}return this.disableSubmitButtons(!1),this.$form.trigger(a.Event(this.options.events.fieldAdded),{field:b,element:e,options:this.options.fields[b]}),this},destroy:function(){var a,b,c,d,e,f,g,h=this._namespace;for(b in this.options.fields)for(c=this.getFieldElements(b),a=0;a<c.length;a++){d=c.eq(a);for(e in this.options.fields[b].validators)d.data(h+".dfs."+e)&&d.data(h+".dfs."+e).reject(),d.removeData(h+".result."+e).removeData(h+".response."+e).removeData(h+".dfs."+e),"function"==typeof FormValidation.Validator[e].destroy&&FormValidation.Validator[e].destroy(this,d,this.options.fields[b].validators[e])}for(b in this.options.fields)for(c=this.getFieldElements(b),g=this.options.fields[b].row||this.options.row.selector,a=0;a<c.length;a++){d=c.eq(a),d.data(h+".messages").find("."+this.options.err.clazz.split(" ").join(".")+"[data-"+h+"-validator][data-"+h+'-for="'+b+'"]').remove().end().end().removeData(h+".messages").closest(g).removeClass(this.options.row.valid).removeClass(this.options.row.invalid).removeClass(this.options.row.feedback).end().off("."+h).removeAttr("data-"+h+"-field");var i="function"==typeof(this.options.fields[b].container||this.options.fields[b].err||this.options.err.container)?(this.options.fields[b].container||this.options.fields[b].err||this.options.err.container).call(this,d,this):this.options.fields[b].container||this.options.fields[b].err||this.options.err.container;("tooltip"===i||"popover"===i)&&this._destroyTooltip(d,i),f=d.data(h+".icon"),f&&f.remove(),d.removeData(h+".icon").removeData(h+".trigger")}for(var j in this.options.addOns)"function"==typeof FormValidation.AddOn[j].destroy&&FormValidation.AddOn[j].destroy(this,this.options.addOns[j]);this.disableSubmitButtons(!1),this.$hiddenButton.remove(),this.$form.removeClass(this.options.elementClass).off("."+h).removeData("bootstrapValidator").removeData("formValidation").find("[data-"+h+"-submit-hidden]").remove().end().find('[type="submit"]').off("click."+h)},enableFieldValidators:function(a,b,c){var d=this.options.fields[a].validators;if(c&&d&&d[c]&&d[c].enabled!==b)this.options.fields[a].validators[c].enabled=b,this.updateStatus(a,this.STATUS_NOT_VALIDATED,c);else if(!c&&this.options.fields[a].enabled!==b){this.options.fields[a].enabled=b;for(var e in d)this.enableFieldValidators(a,b,e)}return this},getDynamicOption:function(a,b){var c="string"==typeof a?this.getFieldElements(a):a,d=c.val();if("function"==typeof b)return FormValidation.Helper.call(b,[d,this,c]);if("string"==typeof b){var e=this.getFieldElements(b);return e.length?e.val():FormValidation.Helper.call(b,[d,this,c])||b}return null},getForm:function(){return this.$form},getInvalidFields:function(){return this.$invalidFields},getLocale:function(){return this.options.locale},getMessages:function(b,c){var d=this,e=this._namespace,f=[],g=a([]);switch(!0){case b&&"object"==typeof b:g=b;break;case b&&"string"==typeof b:var h=this.getFieldElements(b);if(h.length>0){var i=h.attr("type");g="radio"===i||"checkbox"===i?h.eq(0):h}break;default:g=this.$invalidFields}var j=c?"[data-"+e+'-validator="'+c+'"]':"";return g.each(function(){f=f.concat(a(this).data(e+".messages").find("."+d.options.err.clazz+"[data-"+e+'-for="'+a(this).attr("data-"+e+"-field")+'"][data-'+e+'-result="'+d.STATUS_INVALID+'"]'+j).map(function(){var b=a(this).attr("data-"+e+"-validator"),c=a(this).attr("data-"+e+"-for");return d.options.fields[c].validators[b].enabled===!1?"":a(this).html()}).get())}),f},getSubmitButton:function(){return this.$submitButton},removeField:function(b){var c=this._namespace,d=a([]);switch(typeof b){case"object":d=b,b=b.attr("data-"+c+"-field")||b.attr("name"),d.attr("data-"+c+"-field",b);break;case"string":d=this.getFieldElements(b)}if(0===d.length)return this;for(var e=d.attr("type"),f="radio"===e||"checkbox"===e?1:d.length,g=0;f>g;g++){var h=d.eq(g);this.$invalidFields=this.$invalidFields.not(h),this._cacheFields[b]=this._cacheFields[b].not(h)}return this._cacheFields[b]&&0!==this._cacheFields[b].length||delete this.options.fields[b],("checkbox"===e||"radio"===e)&&this._initField(b),this.disableSubmitButtons(!1),this.$form.trigger(a.Event(this.options.events.fieldRemoved),{field:b,element:d}),this},resetField:function(b,c){var d=this._namespace,e=a([]);switch(typeof b){case"object":e=b,b=b.attr("data-"+d+"-field");break;case"string":e=this.getFieldElements(b)}var f=e.length;if(this.options.fields[b])for(var g=0;f>g;g++)for(var h in this.options.fields[b].validators)e.eq(g).removeData(d+".dfs."+h);if(c){var i=e.attr("type");"radio"===i||"checkbox"===i?e.prop("checked",!1).removeAttr("selected"):e.val("")}return this.updateStatus(b,this.STATUS_NOT_VALIDATED),this},resetForm:function(b){for(var c in this.options.fields)this.resetField(c,b);return this.$invalidFields=a([]),this.$submitButton=null,this.disableSubmitButtons(!1),this | |
| 11 | +},revalidateField:function(a){return this.updateStatus(a,this.STATUS_NOT_VALIDATED).validateField(a),this},setLocale:function(b){return this.options.locale=b,this.$form.trigger(a.Event(this.options.events.localeChanged),{locale:b,bv:this,fv:this}),this},updateOption:function(a,b,c,d){var e=this._namespace;return"object"==typeof a&&(a=a.attr("data-"+e+"-field")),this.options.fields[a]&&this.options.fields[a].validators[b]&&(this.options.fields[a].validators[b][c]=d,this.updateStatus(a,this.STATUS_NOT_VALIDATED,b)),this},validateContainer:function(b){var c=this,d=this._namespace,e=[],f="string"==typeof b?a(b):b;if(0===f.length)return this;f.find("[data-"+d+"-field]").each(function(){var b=a(this);c._isExcluded(b)||e.push(b)});for(var g=e.length,h=0;g>h;h++)this.validateField(e[h]);return this}},a.fn.formValidation=function(b){var c=arguments;return this.each(function(){var d=a(this),e=d.data("formValidation"),f="object"==typeof b&&b;if(!e){var g=(f.framework||d.attr("data-fv-framework")||"bootstrap").toLowerCase(),h=g.substr(0,1).toUpperCase()+g.substr(1);if("undefined"==typeof FormValidation.Framework[h])throw new Error("The class FormValidation.Framework."+h+" is not implemented");e=new FormValidation.Framework[h](this,f),d.addClass("fv-form-"+g).data("formValidation",e)}"string"==typeof b&&e[b].apply(e,Array.prototype.slice.call(c,1))})},a.fn.formValidation.Constructor=FormValidation.Base,a.fn.formValidation.DEFAULT_OPTIONS={autoFocus:!0,declarative:!0,elementClass:"fv-form",events:{formInit:"init.form.fv",formError:"err.form.fv",formSuccess:"success.form.fv",fieldAdded:"added.field.fv",fieldRemoved:"removed.field.fv",fieldInit:"init.field.fv",fieldError:"err.field.fv",fieldSuccess:"success.field.fv",fieldStatus:"status.field.fv",localeChanged:"changed.locale.fv",validatorError:"err.validator.fv",validatorSuccess:"success.validator.fv",validatorIgnored:"ignored.validator.fv"},excluded:[":disabled",":hidden",":not(:visible)"],fields:null,live:"enabled",locale:"en_US",message:"This value is not valid",threshold:null,verbose:!0,button:{selector:'[type="submit"]',disabled:""},control:{valid:"",invalid:""},err:{clazz:"",container:null,parent:null},icon:{valid:null,invalid:null,validating:null,feedback:""},row:{selector:null,valid:"",invalid:"",feedback:""}}}(jQuery),function(a){FormValidation.Helper={call:function(a,b){if("function"==typeof a)return a.apply(this,b);if("string"==typeof a){"()"===a.substring(a.length-2)&&(a=a.substring(0,a.length-2));for(var c=a.split("."),d=c.pop(),e=window,f=0;f<c.length;f++)e=e[c[f]];return"undefined"==typeof e[d]?null:e[d].apply(this,b)}},date:function(a,b,c,d){if(isNaN(a)||isNaN(b)||isNaN(c))return!1;if(c.length>2||b.length>2||a.length>4)return!1;if(c=parseInt(c,10),b=parseInt(b,10),a=parseInt(a,10),1e3>a||a>9999||0>=b||b>12)return!1;var e=[31,28,31,30,31,30,31,31,30,31,30,31];if((a%400===0||a%100!==0&&a%4===0)&&(e[1]=29),0>=c||c>e[b-1])return!1;if(d===!0){var f=new Date,g=f.getFullYear(),h=f.getMonth(),i=f.getDate();return g>a||a===g&&h>b-1||a===g&&b-1===h&&i>c}return!0},format:function(b,c){a.isArray(c)||(c=[c]);for(var d in c)b=b.replace("%s",c[d]);return b},luhn:function(a){for(var b=a.length,c=0,d=[[0,1,2,3,4,5,6,7,8,9],[0,2,4,6,8,1,3,5,7,9]],e=0;b--;)e+=d[c][parseInt(a.charAt(b),10)],c^=1;return e%10===0&&e>0},mod11And10:function(a){for(var b=5,c=a.length,d=0;c>d;d++)b=(2*(b||10)%11+parseInt(a.charAt(d),10))%10;return 1===b},mod37And36:function(a,b){b=b||"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";for(var c=b.length,d=a.length,e=Math.floor(c/2),f=0;d>f;f++)e=(2*(e||c)%(c+1)+b.indexOf(a.charAt(f)))%c;return 1===e}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{base64:{"default":"Please enter a valid base 64 encoded"}}}),FormValidation.Validator.base64={validate:function(a,b){var c=a.getFieldValue(b,"base64");return""===c?!0:/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$/.test(c)}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{between:{"default":"Please enter a value between %s and %s",notInclusive:"Please enter a value between %s and %s strictly"}}}),FormValidation.Validator.between={html5Attributes:{message:"message",min:"min",max:"max",inclusive:"inclusive"},enableByHtml5:function(a){return"range"===a.attr("type")?{min:a.attr("min"),max:a.attr("max")}:!1},validate:function(b,c,d){var e=b.getFieldValue(c,"between");if(""===e)return!0;if(e=this._format(e),!a.isNumeric(e))return!1;var f=b.getLocale(),g=a.isNumeric(d.min)?d.min:b.getDynamicOption(c,d.min),h=a.isNumeric(d.max)?d.max:b.getDynamicOption(c,d.max),i=this._format(g),j=this._format(h);return e=parseFloat(e),d.inclusive===!0||void 0===d.inclusive?{valid:e>=i&&j>=e,message:FormValidation.Helper.format(d.message||FormValidation.I18n[f].between["default"],[g,h])}:{valid:e>i&&j>e,message:FormValidation.Helper.format(d.message||FormValidation.I18n[f].between.notInclusive,[g,h])}},_format:function(a){return(a+"").replace(",",".")}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{bic:{"default":"Please enter a valid BIC number"}}}),FormValidation.Validator.bic={validate:function(a,b){var c=a.getFieldValue(b,"bic");return""===c?!0:/^[a-zA-Z]{6}[a-zA-Z0-9]{2}([a-zA-Z0-9]{3})?$/.test(c)}}}(jQuery),function(){FormValidation.Validator.blank={validate:function(){return!0}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{callback:{"default":"Please enter a valid value"}}}),FormValidation.Validator.callback={html5Attributes:{message:"message",callback:"callback"},validate:function(b,c,d){var e=b.getFieldValue(c,"callback"),f=new a.Deferred,g={valid:!0};if(d.callback){var h=FormValidation.Helper.call(d.callback,[e,b,c]);g="boolean"==typeof h||null===h?{valid:h}:h}return f.resolve(c,"callback",g),f}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{choice:{"default":"Please enter a valid value",less:"Please choose %s options at minimum",more:"Please choose %s options at maximum",between:"Please choose %s - %s options"}}}),FormValidation.Validator.choice={html5Attributes:{message:"message",min:"min",max:"max"},validate:function(b,c,d){var e=b.getLocale(),f=b.getNamespace(),g=c.is("select")?b.getFieldElements(c.attr("data-"+f+"-field")).find("option").filter(":selected").length:b.getFieldElements(c.attr("data-"+f+"-field")).filter(":checked").length,h=d.min?a.isNumeric(d.min)?d.min:b.getDynamicOption(c,d.min):null,i=d.max?a.isNumeric(d.max)?d.max:b.getDynamicOption(c,d.max):null,j=!0,k=d.message||FormValidation.I18n[e].choice["default"];switch((h&&g<parseInt(h,10)||i&&g>parseInt(i,10))&&(j=!1),!0){case!!h&&!!i:k=FormValidation.Helper.format(d.message||FormValidation.I18n[e].choice.between,[parseInt(h,10),parseInt(i,10)]);break;case!!h:k=FormValidation.Helper.format(d.message||FormValidation.I18n[e].choice.less,parseInt(h,10));break;case!!i:k=FormValidation.Helper.format(d.message||FormValidation.I18n[e].choice.more,parseInt(i,10))}return{valid:j,message:k}}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{color:{"default":"Please enter a valid color"}}}),FormValidation.Validator.color={html5Attributes:{message:"message",type:"type"},enableByHtml5:function(a){return"color"===a.attr("type")},SUPPORTED_TYPES:["hex","rgb","rgba","hsl","hsla","keyword"],KEYWORD_COLORS:["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","green","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","transparent","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],validate:function(b,c,d){var e=b.getFieldValue(c,"color");if(""===e)return!0;if(this.enableByHtml5(c))return/^#[0-9A-F]{6}$/i.test(e);var f=d.type||this.SUPPORTED_TYPES;a.isArray(f)||(f=f.replace(/s/g,"").split(","));for(var g,h,i=!1,j=0;j<f.length;j++)if(h=f[j],g="_"+h.toLowerCase(),i=i||this[g](e))return!0;return!1},_hex:function(a){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(a)},_hsl:function(a){return/^hsl\((\s*(-?\d+)\s*,)(\s*(\b(0?\d{1,2}|100)\b%)\s*,)(\s*(\b(0?\d{1,2}|100)\b%)\s*)\)$/.test(a)},_hsla:function(a){return/^hsla\((\s*(-?\d+)\s*,)(\s*(\b(0?\d{1,2}|100)\b%)\s*,){2}(\s*(0?(\.\d+)?|1(\.0+)?)\s*)\)$/.test(a)},_keyword:function(b){return a.inArray(b,this.KEYWORD_COLORS)>=0},_rgb:function(a){var b=/^rgb\((\s*(\b([01]?\d{1,2}|2[0-4]\d|25[0-5])\b)\s*,){2}(\s*(\b([01]?\d{1,2}|2[0-4]\d|25[0-5])\b)\s*)\)$/,c=/^rgb\((\s*(\b(0?\d{1,2}|100)\b%)\s*,){2}(\s*(\b(0?\d{1,2}|100)\b%)\s*)\)$/;return b.test(a)||c.test(a)},_rgba:function(a){var b=/^rgba\((\s*(\b([01]?\d{1,2}|2[0-4]\d|25[0-5])\b)\s*,){3}(\s*(0?(\.\d+)?|1(\.0+)?)\s*)\)$/,c=/^rgba\((\s*(\b(0?\d{1,2}|100)\b%)\s*,){3}(\s*(0?(\.\d+)?|1(\.0+)?)\s*)\)$/;return b.test(a)||c.test(a)}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{creditCard:{"default":"Please enter a valid credit card number"}}}),FormValidation.Validator.creditCard={validate:function(b,c){var d=b.getFieldValue(c,"creditCard");if(""===d)return!0;if(/[^0-9-\s]+/.test(d))return!1;if(d=d.replace(/\D/g,""),!FormValidation.Helper.luhn(d))return!1;var e,f,g={AMERICAN_EXPRESS:{length:[15],prefix:["34","37"]},DINERS_CLUB:{length:[14],prefix:["300","301","302","303","304","305","36"]},DINERS_CLUB_US:{length:[16],prefix:["54","55"]},DISCOVER:{length:[16],prefix:["6011","622126","622127","622128","622129","62213","62214","62215","62216","62217","62218","62219","6222","6223","6224","6225","6226","6227","6228","62290","62291","622920","622921","622922","622923","622924","622925","644","645","646","647","648","649","65"]},JCB:{length:[16],prefix:["3528","3529","353","354","355","356","357","358"]},LASER:{length:[16,17,18,19],prefix:["6304","6706","6771","6709"]},MAESTRO:{length:[12,13,14,15,16,17,18,19],prefix:["5018","5020","5038","6304","6759","6761","6762","6763","6764","6765","6766"]},MASTERCARD:{length:[16],prefix:["51","52","53","54","55"]},SOLO:{length:[16,18,19],prefix:["6334","6767"]},UNIONPAY:{length:[16,17,18,19],prefix:["622126","622127","622128","622129","62213","62214","62215","62216","62217","62218","62219","6222","6223","6224","6225","6226","6227","6228","62290","62291","622920","622921","622922","622923","622924","622925"]},VISA:{length:[16],prefix:["4"]}};for(e in g)for(f in g[e].prefix)if(d.substr(0,g[e].prefix[f].length)===g[e].prefix[f]&&-1!==a.inArray(d.length,g[e].length))return{valid:!0,type:e};return!1}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{cusip:{"default":"Please enter a valid CUSIP number"}}}),FormValidation.Validator.cusip={validate:function(b,c){var d=b.getFieldValue(c,"cusip");if(""===d)return!0;if(d=d.toUpperCase(),!/^[0-9A-Z]{9}$/.test(d))return!1;for(var e=a.map(d.split(""),function(a){var b=a.charCodeAt(0);return b>="A".charCodeAt(0)&&b<="Z".charCodeAt(0)?b-"A".charCodeAt(0)+10:a}),f=e.length,g=0,h=0;f-1>h;h++){var i=parseInt(e[h],10);h%2!==0&&(i*=2),i>9&&(i-=9),g+=i}return g=(10-g%10)%10,g===parseInt(e[f-1],10)}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{cvv:{"default":"Please enter a valid CVV number"}}}),FormValidation.Validator.cvv={html5Attributes:{message:"message",ccfield:"creditCardField"},init:function(a,b,c){if(c.creditCardField){var d=a.getFieldElements(c.creditCardField);a.onLiveChange(d,"live_cvv",function(){var c=a.getStatus(b,"cvv");c!==a.STATUS_NOT_VALIDATED&&a.revalidateField(b)})}},destroy:function(a,b,c){if(c.creditCardField){var d=a.getFieldElements(c.creditCardField);a.offLiveChange(d,"live_cvv")}},validate:function(b,c,d){var e=b.getFieldValue(c,"cvv");if(""===e)return!0;if(!/^[0-9]{3,4}$/.test(e))return!1;if(!d.creditCardField)return!0;var f=b.getFieldElements(d.creditCardField).val();if(""===f)return!0;f=f.replace(/\D/g,"");var g,h,i={AMERICAN_EXPRESS:{length:[15],prefix:["34","37"]},DINERS_CLUB:{length:[14],prefix:["300","301","302","303","304","305","36"]},DINERS_CLUB_US:{length:[16],prefix:["54","55"]},DISCOVER:{length:[16],prefix:["6011","622126","622127","622128","622129","62213","62214","62215","62216","62217","62218","62219","6222","6223","6224","6225","6226","6227","6228","62290","62291","622920","622921","622922","622923","622924","622925","644","645","646","647","648","649","65"]},JCB:{length:[16],prefix:["3528","3529","353","354","355","356","357","358"]},LASER:{length:[16,17,18,19],prefix:["6304","6706","6771","6709"]},MAESTRO:{length:[12,13,14,15,16,17,18,19],prefix:["5018","5020","5038","6304","6759","6761","6762","6763","6764","6765","6766"]},MASTERCARD:{length:[16],prefix:["51","52","53","54","55"]},SOLO:{length:[16,18,19],prefix:["6334","6767"]},UNIONPAY:{length:[16,17,18,19],prefix:["622126","622127","622128","622129","62213","62214","62215","62216","62217","62218","62219","6222","6223","6224","6225","6226","6227","6228","62290","62291","622920","622921","622922","622923","622924","622925"]},VISA:{length:[16],prefix:["4"]}},j=null;for(g in i)for(h in i[g].prefix)if(f.substr(0,i[g].prefix[h].length)===i[g].prefix[h]&&-1!==a.inArray(f.length,i[g].length)){j=g;break}return null===j?!1:"AMERICAN_EXPRESS"===j?4===e.length:3===e.length}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{date:{"default":"Please enter a valid date",min:"Please enter a date after %s",max:"Please enter a date before %s",range:"Please enter a date in the range %s - %s"}}}),FormValidation.Validator.date={html5Attributes:{message:"message",format:"format",min:"min",max:"max",separator:"separator"},validate:function(b,c,d){var e=b.getFieldValue(c,"date");if(""===e)return!0;d.format=d.format||"MM/DD/YYYY","date"===c.attr("type")&&(d.format="YYYY-MM-DD");var f=b.getLocale(),g=d.message||FormValidation.I18n[f].date["default"],h=d.format.split(" "),i=h[0],j=h.length>1?h[1]:null,k=h.length>2?h[2]:null,l=e.split(" "),m=l[0],n=l.length>1?l[1]:null;if(h.length!==l.length)return{valid:!1,message:g};var o=d.separator;if(o||(o=-1!==m.indexOf("/")?"/":-1!==m.indexOf("-")?"-":-1!==m.indexOf(".")?".":null),null===o||-1===m.indexOf(o))return{valid:!1,message:g};if(m=m.split(o),i=i.split(o),m.length!==i.length)return{valid:!1,message:g};var p=m[a.inArray("YYYY",i)],q=m[a.inArray("MM",i)],r=m[a.inArray("DD",i)];if(!p||!q||!r||4!==p.length)return{valid:!1,message:g};var s=null,t=null,u=null;if(j){if(j=j.split(":"),n=n.split(":"),j.length!==n.length)return{valid:!1,message:g};if(t=n.length>0?n[0]:null,s=n.length>1?n[1]:null,u=n.length>2?n[2]:null,""===t||""===s||""===u)return{valid:!1,message:g};if(u){if(isNaN(u)||u.length>2)return{valid:!1,message:g};if(u=parseInt(u,10),0>u||u>60)return{valid:!1,message:g}}if(t){if(isNaN(t)||t.length>2)return{valid:!1,message:g};if(t=parseInt(t,10),0>t||t>=24||k&&t>12)return{valid:!1,message:g}}if(s){if(isNaN(s)||s.length>2)return{valid:!1,message:g};if(s=parseInt(s,10),0>s||s>59)return{valid:!1,message:g}}}var v=FormValidation.Helper.date(p,q,r),w=null,x=null,y=d.min,z=d.max;switch(y&&(isNaN(Date.parse(y))&&(y=b.getDynamicOption(c,y)),w=y instanceof Date?y:this._parseDate(y,i,o),y=y instanceof Date?this._formatDate(y,d.format):y),z&&(isNaN(Date.parse(z))&&(z=b.getDynamicOption(c,z)),x=z instanceof Date?z:this._parseDate(z,i,o),z=z instanceof Date?this._formatDate(z,d.format):z),m=new Date(p,q-1,r,t,s,u),!0){case y&&!z&&v:v=m.getTime()>=w.getTime(),g=d.message||FormValidation.Helper.format(FormValidation.I18n[f].date.min,y);break;case z&&!y&&v:v=m.getTime()<=x.getTime(),g=d.message||FormValidation.Helper.format(FormValidation.I18n[f].date.max,z);break;case z&&y&&v:v=m.getTime()<=x.getTime()&&m.getTime()>=w.getTime(),g=d.message||FormValidation.Helper.format(FormValidation.I18n[f].date.range,[y,z])}return{valid:v,message:g}},_parseDate:function(b,c,d){var e=0,f=0,g=0,h=b.split(" "),i=h[0],j=h.length>1?h[1]:null;i=i.split(d);var k=i[a.inArray("YYYY",c)],l=i[a.inArray("MM",c)],m=i[a.inArray("DD",c)];return j&&(j=j.split(":"),f=j.length>0?j[0]:null,e=j.length>1?j[1]:null,g=j.length>2?j[2]:null),new Date(k,l-1,m,f,e,g)},_formatDate:function(a,b){b=b.replace(/Y/g,"y").replace(/M/g,"m").replace(/D/g,"d").replace(/:m/g,":M").replace(/:mm/g,":MM").replace(/:S/,":s").replace(/:SS/,":ss");var c={d:function(a){return a.getDate()},dd:function(a){var b=a.getDate();return 10>b?"0"+b:b},m:function(a){return a.getMonth()+1},mm:function(a){var b=a.getMonth()+1;return 10>b?"0"+b:b},yy:function(a){return(""+a.getFullYear()).substr(2)},yyyy:function(a){return a.getFullYear()},h:function(a){return a.getHours()%12||12},hh:function(a){var b=a.getHours()%12||12;return 10>b?"0"+b:b},H:function(a){return a.getHours()},HH:function(a){var b=a.getHours();return 10>b?"0"+b:b},M:function(a){return a.getMinutes()},MM:function(a){var b=a.getMinutes();return 10>b?"0"+b:b},s:function(a){return a.getSeconds()},ss:function(a){var b=a.getSeconds();return 10>b?"0"+b:b}};return b.replace(/d{1,4}|m{1,4}|yy(?:yy)?|([HhMs])\1?|"[^"]*"|'[^']*'/g,function(b){return c[b]?c[b](a):b.slice(1,b.length-1)})}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{different:{"default":"Please enter a different value"}}}),FormValidation.Validator.different={html5Attributes:{message:"message",field:"field"},init:function(a,b,c){for(var d=c.field.split(","),e=0;e<d.length;e++){var f=a.getFieldElements(d[e]);a.onLiveChange(f,"live_different",function(){var c=a.getStatus(b,"different");c!==a.STATUS_NOT_VALIDATED&&a.revalidateField(b)})}},destroy:function(a,b,c){for(var d=c.field.split(","),e=0;e<d.length;e++){var f=a.getFieldElements(d[e]);a.offLiveChange(f,"live_different")}},validate:function(a,b,c){var d=a.getFieldValue(b,"different");if(""===d)return!0;for(var e=c.field.split(","),f=!0,g=0;g<e.length;g++){var h=a.getFieldElements(e[g]);if(null!=h&&0!==h.length){var i=a.getFieldValue(h,"different");d===i?f=!1:""!==i&&a.updateStatus(h,a.STATUS_VALID,"different")}}return f}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{digits:{"default":"Please enter only digits"}}}),FormValidation.Validator.digits={validate:function(a,b){var c=a.getFieldValue(b,"digits");return""===c?!0:/^\d+$/.test(c)}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{ean:{"default":"Please enter a valid EAN number"}}}),FormValidation.Validator.ean={validate:function(a,b){var c=a.getFieldValue(b,"ean");if(""===c)return!0;if(!/^(\d{8}|\d{12}|\d{13})$/.test(c))return!1;for(var d=c.length,e=0,f=8===d?[3,1]:[1,3],g=0;d-1>g;g++)e+=parseInt(c.charAt(g),10)*f[g%2];return e=(10-e%10)%10,e+""===c.charAt(d-1)}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{ein:{"default":"Please enter a valid EIN number"}}}),FormValidation.Validator.ein={CAMPUS:{ANDOVER:["10","12"],ATLANTA:["60","67"],AUSTIN:["50","53"],BROOKHAVEN:["01","02","03","04","05","06","11","13","14","16","21","22","23","25","34","51","52","54","55","56","57","58","59","65"],CINCINNATI:["30","32","35","36","37","38","61"],FRESNO:["15","24"],KANSAS_CITY:["40","44"],MEMPHIS:["94","95"],OGDEN:["80","90"],PHILADELPHIA:["33","39","41","42","43","46","48","62","63","64","66","68","71","72","73","74","75","76","77","81","82","83","84","85","86","87","88","91","92","93","98","99"],INTERNET:["20","26","27","45","46"],SMALL_BUSINESS_ADMINISTRATION:["31"]},validate:function(b,c){var d=b.getFieldValue(c,"ein");if(""===d)return!0;if(!/^[0-9]{2}-?[0-9]{7}$/.test(d))return!1;var e=d.substr(0,2)+"";for(var f in this.CAMPUS)if(-1!==a.inArray(e,this.CAMPUS[f]))return{valid:!0,campus:f};return!1}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{emailAddress:{"default":"Please enter a valid email address"}}}),FormValidation.Validator.emailAddress={html5Attributes:{message:"message",multiple:"multiple",separator:"separator"},enableByHtml5:function(a){return"email"===a.attr("type")},validate:function(a,b,c){var d=a.getFieldValue(b,"emailAddress");if(""===d)return!0;var e=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,f=c.multiple===!0||"true"===c.multiple;if(f){for(var g=c.separator||/[,;]/,h=this._splitEmailAddresses(d,g),i=0;i<h.length;i++)if(!e.test(h[i]))return!1;return!0}return e.test(d)},_splitEmailAddresses:function(a,b){for(var c=a.split(/"/),d=c.length,e=[],f="",g=0;d>g;g++)if(g%2===0){var h=c[g].split(b),i=h.length;if(1===i)f+=h[0];else{e.push(f+h[0]);for(var j=1;i-1>j;j++)e.push(h[j]);f=h[i-1]}}else f+='"'+c[g],d-1>g&&(f+='"');return e.push(f),e}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{file:{"default":"Please choose a valid file"}}}),FormValidation.Validator.file={html5Attributes:{extension:"extension",maxfiles:"maxFiles",minfiles:"minFiles",maxsize:"maxSize",minsize:"minSize",maxtotalsize:"maxTotalSize",mintotalsize:"minTotalSize",message:"message",type:"type"},validate:function(b,c,d){var e=b.getFieldValue(c,"file");if(""===e)return!0;var f,g=d.extension?d.extension.toLowerCase().split(","):null,h=d.type?d.type.toLowerCase().split(","):null,i=window.File&&window.FileList&&window.FileReader;if(i){var j=c.get(0).files,k=j.length,l=0;if(d.maxFiles&&k>parseInt(d.maxFiles,10)||d.minFiles&&k<parseInt(d.minFiles,10))return!1;for(var m=0;k>m;m++)if(l+=j[m].size,f=j[m].name.substr(j[m].name.lastIndexOf(".")+1),d.minSize&&j[m].size<parseInt(d.minSize,10)||d.maxSize&&j[m].size>parseInt(d.maxSize,10)||g&&-1===a.inArray(f.toLowerCase(),g)||j[m].type&&h&&-1===a.inArray(j[m].type.toLowerCase(),h))return!1;if(d.maxTotalSize&&l>parseInt(d.maxTotalSize,10)||d.minTotalSize&&l<parseInt(d.minTotalSize,10))return!1}else if(f=e.substr(e.lastIndexOf(".")+1),g&&-1===a.inArray(f.toLowerCase(),g))return!1;return!0}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{greaterThan:{"default":"Please enter a value greater than or equal to %s",notInclusive:"Please enter a value greater than %s"}}}),FormValidation.Validator.greaterThan={html5Attributes:{message:"message",value:"value",inclusive:"inclusive"},enableByHtml5:function(a){var b=a.attr("type"),c=a.attr("min");return c&&"date"!==b?{value:c}:!1},validate:function(b,c,d){var e=b.getFieldValue(c,"greaterThan");if(""===e)return!0;if(e=this._format(e),!a.isNumeric(e))return!1;var f=b.getLocale(),g=a.isNumeric(d.value)?d.value:b.getDynamicOption(c,d.value),h=this._format(g);return e=parseFloat(e),d.inclusive===!0||void 0===d.inclusive?{valid:e>=h,message:FormValidation.Helper.format(d.message||FormValidation.I18n[f].greaterThan["default"],g)}:{valid:e>h,message:FormValidation.Helper.format(d.message||FormValidation.I18n[f].greaterThan.notInclusive,g)}},_format:function(a){return(a+"").replace(",",".")}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{grid:{"default":"Please enter a valid GRId number"}}}),FormValidation.Validator.grid={validate:function(a,b){var c=a.getFieldValue(b,"grid");return""===c?!0:(c=c.toUpperCase(),/^[GRID:]*([0-9A-Z]{2})[-\s]*([0-9A-Z]{5})[-\s]*([0-9A-Z]{10})[-\s]*([0-9A-Z]{1})$/g.test(c)?(c=c.replace(/\s/g,"").replace(/-/g,""),"GRID:"===c.substr(0,5)&&(c=c.substr(5)),FormValidation.Helper.mod37And36(c)):!1)}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{hex:{"default":"Please enter a valid hexadecimal number"}}}),FormValidation.Validator.hex={validate:function(a,b){var c=a.getFieldValue(b,"hex");return""===c?!0:/^[0-9a-fA-F]+$/.test(c)}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{iban:{"default":"Please enter a valid IBAN number",country:"Please enter a valid IBAN number in %s",countries:{AD:"Andorra",AE:"United Arab Emirates",AL:"Albania",AO:"Angola",AT:"Austria",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brazil",CH:"Switzerland",CI:"Ivory Coast",CM:"Cameroon",CR:"Costa Rica",CV:"Cape Verde",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",DO:"Dominican Republic",DZ:"Algeria",EE:"Estonia",ES:"Spain",FI:"Finland",FO:"Faroe Islands",FR:"France",GB:"United Kingdom",GE:"Georgia",GI:"Gibraltar",GL:"Greenland",GR:"Greece",GT:"Guatemala",HR:"Croatia",HU:"Hungary",IE:"Ireland",IL:"Israel",IR:"Iran",IS:"Iceland",IT:"Italy",JO:"Jordan",KW:"Kuwait",KZ:"Kazakhstan",LB:"Lebanon",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MG:"Madagascar",MK:"Macedonia",ML:"Mali",MR:"Mauritania",MT:"Malta",MU:"Mauritius",MZ:"Mozambique",NL:"Netherlands",NO:"Norway",PK:"Pakistan",PL:"Poland",PS:"Palestine",PT:"Portugal",QA:"Qatar",RO:"Romania",RS:"Serbia",SA:"Saudi Arabia",SE:"Sweden",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",SN:"Senegal",TN:"Tunisia",TR:"Turkey",VG:"Virgin Islands, British"}}}}),FormValidation.Validator.iban={html5Attributes:{message:"message",country:"country"},REGEX:{AD:"AD[0-9]{2}[0-9]{4}[0-9]{4}[A-Z0-9]{12}",AE:"AE[0-9]{2}[0-9]{3}[0-9]{16}",AL:"AL[0-9]{2}[0-9]{8}[A-Z0-9]{16}",AO:"AO[0-9]{2}[0-9]{21}",AT:"AT[0-9]{2}[0-9]{5}[0-9]{11}",AZ:"AZ[0-9]{2}[A-Z]{4}[A-Z0-9]{20}",BA:"BA[0-9]{2}[0-9]{3}[0-9]{3}[0-9]{8}[0-9]{2}",BE:"BE[0-9]{2}[0-9]{3}[0-9]{7}[0-9]{2}",BF:"BF[0-9]{2}[0-9]{23}",BG:"BG[0-9]{2}[A-Z]{4}[0-9]{4}[0-9]{2}[A-Z0-9]{8}",BH:"BH[0-9]{2}[A-Z]{4}[A-Z0-9]{14}",BI:"BI[0-9]{2}[0-9]{12}",BJ:"BJ[0-9]{2}[A-Z]{1}[0-9]{23}",BR:"BR[0-9]{2}[0-9]{8}[0-9]{5}[0-9]{10}[A-Z][A-Z0-9]",CH:"CH[0-9]{2}[0-9]{5}[A-Z0-9]{12}",CI:"CI[0-9]{2}[A-Z]{1}[0-9]{23}",CM:"CM[0-9]{2}[0-9]{23}",CR:"CR[0-9]{2}[0-9]{3}[0-9]{14}",CV:"CV[0-9]{2}[0-9]{21}",CY:"CY[0-9]{2}[0-9]{3}[0-9]{5}[A-Z0-9]{16}",CZ:"CZ[0-9]{2}[0-9]{20}",DE:"DE[0-9]{2}[0-9]{8}[0-9]{10}",DK:"DK[0-9]{2}[0-9]{14}",DO:"DO[0-9]{2}[A-Z0-9]{4}[0-9]{20}",DZ:"DZ[0-9]{2}[0-9]{20}",EE:"EE[0-9]{2}[0-9]{2}[0-9]{2}[0-9]{11}[0-9]{1}",ES:"ES[0-9]{2}[0-9]{4}[0-9]{4}[0-9]{1}[0-9]{1}[0-9]{10}",FI:"FI[0-9]{2}[0-9]{6}[0-9]{7}[0-9]{1}",FO:"FO[0-9]{2}[0-9]{4}[0-9]{9}[0-9]{1}",FR:"FR[0-9]{2}[0-9]{5}[0-9]{5}[A-Z0-9]{11}[0-9]{2}",GB:"GB[0-9]{2}[A-Z]{4}[0-9]{6}[0-9]{8}",GE:"GE[0-9]{2}[A-Z]{2}[0-9]{16}",GI:"GI[0-9]{2}[A-Z]{4}[A-Z0-9]{15}",GL:"GL[0-9]{2}[0-9]{4}[0-9]{9}[0-9]{1}",GR:"GR[0-9]{2}[0-9]{3}[0-9]{4}[A-Z0-9]{16}",GT:"GT[0-9]{2}[A-Z0-9]{4}[A-Z0-9]{20}",HR:"HR[0-9]{2}[0-9]{7}[0-9]{10}",HU:"HU[0-9]{2}[0-9]{3}[0-9]{4}[0-9]{1}[0-9]{15}[0-9]{1}",IE:"IE[0-9]{2}[A-Z]{4}[0-9]{6}[0-9]{8}",IL:"IL[0-9]{2}[0-9]{3}[0-9]{3}[0-9]{13}",IR:"IR[0-9]{2}[0-9]{22}",IS:"IS[0-9]{2}[0-9]{4}[0-9]{2}[0-9]{6}[0-9]{10}",IT:"IT[0-9]{2}[A-Z]{1}[0-9]{5}[0-9]{5}[A-Z0-9]{12}",JO:"JO[0-9]{2}[A-Z]{4}[0-9]{4}[0]{8}[A-Z0-9]{10}",KW:"KW[0-9]{2}[A-Z]{4}[0-9]{22}",KZ:"KZ[0-9]{2}[0-9]{3}[A-Z0-9]{13}",LB:"LB[0-9]{2}[0-9]{4}[A-Z0-9]{20}",LI:"LI[0-9]{2}[0-9]{5}[A-Z0-9]{12}",LT:"LT[0-9]{2}[0-9]{5}[0-9]{11}",LU:"LU[0-9]{2}[0-9]{3}[A-Z0-9]{13}",LV:"LV[0-9]{2}[A-Z]{4}[A-Z0-9]{13}",MC:"MC[0-9]{2}[0-9]{5}[0-9]{5}[A-Z0-9]{11}[0-9]{2}",MD:"MD[0-9]{2}[A-Z0-9]{20}",ME:"ME[0-9]{2}[0-9]{3}[0-9]{13}[0-9]{2}",MG:"MG[0-9]{2}[0-9]{23}",MK:"MK[0-9]{2}[0-9]{3}[A-Z0-9]{10}[0-9]{2}",ML:"ML[0-9]{2}[A-Z]{1}[0-9]{23}",MR:"MR13[0-9]{5}[0-9]{5}[0-9]{11}[0-9]{2}",MT:"MT[0-9]{2}[A-Z]{4}[0-9]{5}[A-Z0-9]{18}",MU:"MU[0-9]{2}[A-Z]{4}[0-9]{2}[0-9]{2}[0-9]{12}[0-9]{3}[A-Z]{3}",MZ:"MZ[0-9]{2}[0-9]{21}",NL:"NL[0-9]{2}[A-Z]{4}[0-9]{10}",NO:"NO[0-9]{2}[0-9]{4}[0-9]{6}[0-9]{1}",PK:"PK[0-9]{2}[A-Z]{4}[A-Z0-9]{16}",PL:"PL[0-9]{2}[0-9]{8}[0-9]{16}",PS:"PS[0-9]{2}[A-Z]{4}[A-Z0-9]{21}",PT:"PT[0-9]{2}[0-9]{4}[0-9]{4}[0-9]{11}[0-9]{2}",QA:"QA[0-9]{2}[A-Z]{4}[A-Z0-9]{21}",RO:"RO[0-9]{2}[A-Z]{4}[A-Z0-9]{16}",RS:"RS[0-9]{2}[0-9]{3}[0-9]{13}[0-9]{2}",SA:"SA[0-9]{2}[0-9]{2}[A-Z0-9]{18}",SE:"SE[0-9]{2}[0-9]{3}[0-9]{16}[0-9]{1}",SI:"SI[0-9]{2}[0-9]{5}[0-9]{8}[0-9]{2}",SK:"SK[0-9]{2}[0-9]{4}[0-9]{6}[0-9]{10}",SM:"SM[0-9]{2}[A-Z]{1}[0-9]{5}[0-9]{5}[A-Z0-9]{12}",SN:"SN[0-9]{2}[A-Z]{1}[0-9]{23}",TN:"TN59[0-9]{2}[0-9]{3}[0-9]{13}[0-9]{2}",TR:"TR[0-9]{2}[0-9]{5}[A-Z0-9]{1}[A-Z0-9]{16}",VG:"VG[0-9]{2}[A-Z]{4}[0-9]{16}"},validate:function(b,c,d){var e=b.getFieldValue(c,"iban");if(""===e)return!0;e=e.replace(/[^a-zA-Z0-9]/g,"").toUpperCase();var f=d.country;f?"string"==typeof f&&this.REGEX[f]||(f=b.getDynamicOption(c,f)):f=e.substr(0,2);var g=b.getLocale();if(!this.REGEX[f])return!0;if(!new RegExp("^"+this.REGEX[f]+"$").test(e))return{valid:!1,message:FormValidation.Helper.format(d.message||FormValidation.I18n[g].iban.country,FormValidation.I18n[g].iban.countries[f])};e=e.substr(4)+e.substr(0,4),e=a.map(e.split(""),function(a){var b=a.charCodeAt(0);return b>="A".charCodeAt(0)&&b<="Z".charCodeAt(0)?b-"A".charCodeAt(0)+10:a}),e=e.join("");for(var h=parseInt(e.substr(0,1),10),i=e.length,j=1;i>j;++j)h=(10*h+parseInt(e.substr(j,1),10))%97;return{valid:1===h,message:FormValidation.Helper.format(d.message||FormValidation.I18n[g].iban.country,FormValidation.I18n[g].iban.countries[f])}}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{id:{"default":"Please enter a valid identification number",country:"Please enter a valid identification number in %s",countries:{BA:"Bosnia and Herzegovina",BG:"Bulgaria",BR:"Brazil",CH:"Switzerland",CL:"Chile",CN:"China",CZ:"Czech Republic",DK:"Denmark",EE:"Estonia",ES:"Spain",FI:"Finland",HR:"Croatia",IE:"Ireland",IS:"Iceland",LT:"Lithuania",LV:"Latvia",ME:"Montenegro",MK:"Macedonia",NL:"Netherlands",PL:"Poland",RO:"Romania",RS:"Serbia",SE:"Sweden",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",TH:"Thailand",ZA:"South Africa"}}}}),FormValidation.Validator.id={html5Attributes:{message:"message",country:"country"},COUNTRY_CODES:["BA","BG","BR","CH","CL","CN","CZ","DK","EE","ES","FI","HR","IE","IS","LT","LV","ME","MK","NL","PL","RO","RS","SE","SI","SK","SM","TH","ZA"],validate:function(b,c,d){var e=b.getFieldValue(c,"id");if(""===e)return!0;var f=b.getLocale(),g=d.country;if(g?("string"!=typeof g||-1===a.inArray(g.toUpperCase(),this.COUNTRY_CODES))&&(g=b.getDynamicOption(c,g)):g=e.substr(0,2),-1===a.inArray(g,this.COUNTRY_CODES))return!0;var h=["_",g.toLowerCase()].join("");return this[h](e)?!0:{valid:!1,message:FormValidation.Helper.format(d.message||FormValidation.I18n[f].id.country,FormValidation.I18n[f].id.countries[g.toUpperCase()])}},_validateJMBG:function(a,b){if(!/^\d{13}$/.test(a))return!1;var c=parseInt(a.substr(0,2),10),d=parseInt(a.substr(2,2),10),e=(parseInt(a.substr(4,3),10),parseInt(a.substr(7,2),10)),f=parseInt(a.substr(12,1),10); | |
| 12 | +if(c>31||d>12)return!1;for(var g=0,h=0;6>h;h++)g+=(7-h)*(parseInt(a.charAt(h),10)+parseInt(a.charAt(h+6),10));if(g=11-g%11,(10===g||11===g)&&(g=0),g!==f)return!1;switch(b.toUpperCase()){case"BA":return e>=10&&19>=e;case"MK":return e>=41&&49>=e;case"ME":return e>=20&&29>=e;case"RS":return e>=70&&99>=e;case"SI":return e>=50&&59>=e;default:return!0}},_ba:function(a){return this._validateJMBG(a,"BA")},_mk:function(a){return this._validateJMBG(a,"MK")},_me:function(a){return this._validateJMBG(a,"ME")},_rs:function(a){return this._validateJMBG(a,"RS")},_si:function(a){return this._validateJMBG(a,"SI")},_bg:function(a){if(!/^\d{10}$/.test(a)&&!/^\d{6}\s\d{3}\s\d{1}$/.test(a))return!1;a=a.replace(/\s/g,"");var b=parseInt(a.substr(0,2),10)+1900,c=parseInt(a.substr(2,2),10),d=parseInt(a.substr(4,2),10);if(c>40?(b+=100,c-=40):c>20&&(b-=100,c-=20),!FormValidation.Helper.date(b,c,d))return!1;for(var e=0,f=[2,4,8,5,10,9,7,3,6],g=0;9>g;g++)e+=parseInt(a.charAt(g),10)*f[g];return e=e%11%10,e+""===a.substr(9,1)},_br:function(a){if(a=a.replace(/\D/g,""),!/^\d{11}$/.test(a)||/^1{11}|2{11}|3{11}|4{11}|5{11}|6{11}|7{11}|8{11}|9{11}|0{11}$/.test(a))return!1;for(var b=0,c=0;9>c;c++)b+=(10-c)*parseInt(a.charAt(c),10);if(b=11-b%11,(10===b||11===b)&&(b=0),b+""!==a.charAt(9))return!1;var d=0;for(c=0;10>c;c++)d+=(11-c)*parseInt(a.charAt(c),10);return d=11-d%11,(10===d||11===d)&&(d=0),d+""===a.charAt(10)},_ch:function(a){if(!/^756[\.]{0,1}[0-9]{4}[\.]{0,1}[0-9]{4}[\.]{0,1}[0-9]{2}$/.test(a))return!1;a=a.replace(/\D/g,"").substr(3);for(var b=a.length,c=0,d=8===b?[3,1]:[1,3],e=0;b-1>e;e++)c+=parseInt(a.charAt(e),10)*d[e%2];return c=10-c%10,c+""===a.charAt(b-1)},_cl:function(a){if(!/^\d{7,8}[-]{0,1}[0-9K]$/i.test(a))return!1;for(a=a.replace(/\-/g,"");a.length<9;)a="0"+a;for(var b=0,c=[3,2,7,6,5,4,3,2],d=0;8>d;d++)b+=parseInt(a.charAt(d),10)*c[d];return b=11-b%11,11===b?b=0:10===b&&(b="K"),b+""===a.charAt(8).toUpperCase()},_cn:function(b){if(b=b.trim(),!/^\d{15}$/.test(b)&&!/^\d{17}[\dXx]{1}$/.test(b))return!1;var c={11:{0:[0],1:[[0,9],[11,17]],2:[0,28,29]},12:{0:[0],1:[[0,16]],2:[0,21,23,25]},13:{0:[0],1:[[0,5],7,8,21,[23,33],[81,85]],2:[[0,5],[7,9],[23,25],27,29,30,81,83],3:[[0,4],[21,24]],4:[[0,4],6,21,[23,35],81],5:[[0,3],[21,35],81,82],6:[[0,4],[21,38],[81,84]],7:[[0,3],5,6,[21,33]],8:[[0,4],[21,28]],9:[[0,3],[21,30],[81,84]],10:[[0,3],[22,26],28,81,82],11:[[0,2],[21,28],81,82]},14:{0:[0],1:[0,1,[5,10],[21,23],81],2:[[0,3],11,12,[21,27]],3:[[0,3],11,21,22],4:[[0,2],11,21,[23,31],81],5:[[0,2],21,22,24,25,81],6:[[0,3],[21,24]],7:[[0,2],[21,29],81],8:[[0,2],[21,30],81,82],9:[[0,2],[21,32],81],10:[[0,2],[21,34],81,82],11:[[0,2],[21,30],81,82],23:[[0,3],22,23,[25,30],32,33]},15:{0:[0],1:[[0,5],[21,25]],2:[[0,7],[21,23]],3:[[0,4]],4:[[0,4],[21,26],[28,30]],5:[[0,2],[21,26],81],6:[[0,2],[21,27]],7:[[0,3],[21,27],[81,85]],8:[[0,2],[21,26]],9:[[0,2],[21,29],81],22:[[0,2],[21,24]],25:[[0,2],[22,31]],26:[[0,2],[24,27],[29,32],34],28:[0,1,[22,27]],29:[0,[21,23]]},21:{0:[0],1:[[0,6],[11,14],[22,24],81],2:[[0,4],[11,13],24,[81,83]],3:[[0,4],11,21,23,81],4:[[0,4],11,[21,23]],5:[[0,5],21,22],6:[[0,4],24,81,82],7:[[0,3],11,26,27,81,82],8:[[0,4],11,81,82],9:[[0,5],11,21,22],10:[[0,5],11,21,81],11:[[0,3],21,22],12:[[0,2],4,21,23,24,81,82],13:[[0,3],21,22,24,81,82],14:[[0,4],21,22,81]},22:{0:[0],1:[[0,6],12,22,[81,83]],2:[[0,4],11,21,[81,84]],3:[[0,3],22,23,81,82],4:[[0,3],21,22],5:[[0,3],21,23,24,81,82],6:[[0,2],4,5,[21,23],25,81],7:[[0,2],[21,24],81],8:[[0,2],21,22,81,82],24:[[0,6],24,26]},23:{0:[0],1:[[0,12],21,[23,29],[81,84]],2:[[0,8],21,[23,25],27,[29,31],81],3:[[0,7],21,81,82],4:[[0,7],21,22],5:[[0,3],5,6,[21,24]],6:[[0,6],[21,24]],7:[[0,16],22,81],8:[[0,5],11,22,26,28,33,81,82],9:[[0,4],21],10:[[0,5],24,25,81,[83,85]],11:[[0,2],21,23,24,81,82],12:[[0,2],[21,26],[81,83]],27:[[0,4],[21,23]]},31:{0:[0],1:[0,1,[3,10],[12,20]],2:[0,30]},32:{0:[0],1:[[0,7],11,[13,18],24,25],2:[[0,6],11,81,82],3:[[0,5],11,12,[21,24],81,82],4:[[0,2],4,5,11,12,81,82],5:[[0,9],[81,85]],6:[[0,2],11,12,21,23,[81,84]],7:[0,1,3,5,6,[21,24]],8:[[0,4],11,26,[29,31]],9:[[0,3],[21,25],28,81,82],10:[[0,3],11,12,23,81,84,88],11:[[0,2],11,12,[81,83]],12:[[0,4],[81,84]],13:[[0,2],11,[21,24]]},33:{0:[0],1:[[0,6],[8,10],22,27,82,83,85],2:[0,1,[3,6],11,12,25,26,[81,83]],3:[[0,4],22,24,[26,29],81,82],4:[[0,2],11,21,24,[81,83]],5:[[0,3],[21,23]],6:[[0,2],21,24,[81,83]],7:[[0,3],23,26,27,[81,84]],8:[[0,3],22,24,25,81],9:[[0,3],21,22],10:[[0,4],[21,24],81,82],11:[[0,2],[21,27],81]},34:{0:[0],1:[[0,4],11,[21,24],81],2:[[0,4],7,8,[21,23],25],3:[[0,4],11,[21,23]],4:[[0,6],21],5:[[0,4],6,[21,23]],6:[[0,4],21],7:[[0,3],11,21],8:[[0,3],11,[22,28],81],10:[[0,4],[21,24]],11:[[0,3],22,[24,26],81,82],12:[[0,4],21,22,25,26,82],13:[[0,2],[21,24]],14:[[0,2],[21,24]],15:[[0,3],[21,25]],16:[[0,2],[21,23]],17:[[0,2],[21,23]],18:[[0,2],[21,25],81]},35:{0:[0],1:[[0,5],11,[21,25],28,81,82],2:[[0,6],[11,13]],3:[[0,5],22],4:[[0,3],21,[23,30],81],5:[[0,5],21,[24,27],[81,83]],6:[[0,3],[22,29],81],7:[[0,2],[21,25],[81,84]],8:[[0,2],[21,25],81],9:[[0,2],[21,26],81,82]},36:{0:[0],1:[[0,5],11,[21,24]],2:[[0,3],22,81],3:[[0,2],13,[21,23]],4:[[0,3],21,[23,30],81,82],5:[[0,2],21],6:[[0,2],22,81],7:[[0,2],[21,35],81,82],8:[[0,3],[21,30],81],9:[[0,2],[21,26],[81,83]],10:[[0,2],[21,30]],11:[[0,2],[21,30],81]},37:{0:[0],1:[[0,5],12,13,[24,26],81],2:[[0,3],5,[11,14],[81,85]],3:[[0,6],[21,23]],4:[[0,6],81],5:[[0,3],[21,23]],6:[[0,2],[11,13],34,[81,87]],7:[[0,5],24,25,[81,86]],8:[[0,2],11,[26,32],[81,83]],9:[[0,3],11,21,23,82,83],10:[[0,2],[81,83]],11:[[0,3],21,22],12:[[0,3]],13:[[0,2],11,12,[21,29]],14:[[0,2],[21,28],81,82],15:[[0,2],[21,26],81],16:[[0,2],[21,26]],17:[[0,2],[21,28]]},41:{0:[0],1:[[0,6],8,22,[81,85]],2:[[0,5],11,[21,25]],3:[[0,7],11,[22,29],81],4:[[0,4],11,[21,23],25,81,82],5:[[0,3],5,6,22,23,26,27,81],6:[[0,3],11,21,22],7:[[0,4],11,21,[24,28],81,82],8:[[0,4],11,[21,23],25,[81,83]],9:[[0,2],22,23,[26,28]],10:[[0,2],[23,25],81,82],11:[[0,4],[21,23]],12:[[0,2],21,22,24,81,82],13:[[0,3],[21,30],81],14:[[0,3],[21,26],81],15:[[0,3],[21,28]],16:[[0,2],[21,28],81],17:[[0,2],[21,29]],90:[0,1]},42:{0:[0],1:[[0,7],[11,17]],2:[[0,5],22,81],3:[[0,3],[21,25],81],5:[[0,6],[25,29],[81,83]],6:[[0,2],6,7,[24,26],[82,84]],7:[[0,4]],8:[[0,2],4,21,22,81],9:[[0,2],[21,23],81,82,84],10:[[0,3],[22,24],81,83,87],11:[[0,2],[21,27],81,82],12:[[0,2],[21,24],81],13:[[0,3],21,81],28:[[0,2],22,23,[25,28]],90:[0,[4,6],21]},43:{0:[0],1:[[0,5],11,12,21,22,24,81],2:[[0,4],11,21,[23,25],81],3:[[0,2],4,21,81,82],4:[0,1,[5,8],12,[21,24],26,81,82],5:[[0,3],11,[21,25],[27,29],81],6:[[0,3],11,21,23,24,26,81,82],7:[[0,3],[21,26],81],8:[[0,2],11,21,22],9:[[0,3],[21,23],81],10:[[0,3],[21,28],81],11:[[0,3],[21,29]],12:[[0,2],[21,30],81],13:[[0,2],21,22,81,82],31:[0,1,[22,27],30]},44:{0:[0],1:[[0,7],[11,16],83,84],2:[[0,5],21,22,24,29,32,33,81,82],3:[0,1,[3,8]],4:[[0,4]],5:[0,1,[6,15],23,82,83],6:[0,1,[4,8]],7:[0,1,[3,5],81,[83,85]],8:[[0,4],11,23,25,[81,83]],9:[[0,3],23,[81,83]],12:[[0,3],[23,26],83,84],13:[[0,3],[22,24],81],14:[[0,2],[21,24],26,27,81],15:[[0,2],21,23,81],16:[[0,2],[21,25]],17:[[0,2],21,23,81],18:[[0,3],21,23,[25,27],81,82],19:[0],20:[0],51:[[0,3],21,22],52:[[0,3],21,22,24,81],53:[[0,2],[21,23],81]},45:{0:[0],1:[[0,9],[21,27]],2:[[0,5],[21,26]],3:[[0,5],11,12,[21,32]],4:[0,1,[3,6],11,[21,23],81],5:[[0,3],12,21],6:[[0,3],21,81],7:[[0,3],21,22],8:[[0,4],21,81],9:[[0,3],[21,24],81],10:[[0,2],[21,31]],11:[[0,2],[21,23]],12:[[0,2],[21,29],81],13:[[0,2],[21,24],81],14:[[0,2],[21,25],81]},46:{0:[0],1:[0,1,[5,8]],2:[0,1],3:[0,[21,23]],90:[[0,3],[5,7],[21,39]]},50:{0:[0],1:[[0,19]],2:[0,[22,38],[40,43]],3:[0,[81,84]]},51:{0:[0],1:[0,1,[4,8],[12,15],[21,24],29,31,32,[81,84]],3:[[0,4],11,21,22],4:[[0,3],11,21,22],5:[[0,4],21,22,24,25],6:[0,1,3,23,26,[81,83]],7:[0,1,3,4,[22,27],81],8:[[0,2],11,12,[21,24]],9:[[0,4],[21,23]],10:[[0,2],11,24,25,28],11:[[0,2],[11,13],23,24,26,29,32,33,81],13:[[0,4],[21,25],81],14:[[0,2],[21,25]],15:[[0,3],[21,29]],16:[[0,3],[21,23],81],17:[[0,3],[21,25],81],18:[[0,3],[21,27]],19:[[0,3],[21,23]],20:[[0,2],21,22,81],32:[0,[21,33]],33:[0,[21,38]],34:[0,1,[22,37]]},52:{0:[0],1:[[0,3],[11,15],[21,23],81],2:[0,1,3,21,22],3:[[0,3],[21,30],81,82],4:[[0,2],[21,25]],5:[[0,2],[21,27]],6:[[0,3],[21,28]],22:[0,1,[22,30]],23:[0,1,[22,28]],24:[0,1,[22,28]],26:[0,1,[22,36]],27:[[0,2],22,23,[25,32]]},53:{0:[0],1:[[0,3],[11,14],21,22,[24,29],81],3:[[0,2],[21,26],28,81],4:[[0,2],[21,28]],5:[[0,2],[21,24]],6:[[0,2],[21,30]],7:[[0,2],[21,24]],8:[[0,2],[21,29]],9:[[0,2],[21,27]],23:[0,1,[22,29],31],25:[[0,4],[22,32]],26:[0,1,[21,28]],27:[0,1,[22,30]],28:[0,1,22,23],29:[0,1,[22,32]],31:[0,2,3,[22,24]],34:[0,[21,23]],33:[0,21,[23,25]],35:[0,[21,28]]},54:{0:[0],1:[[0,2],[21,27]],21:[0,[21,29],32,33],22:[0,[21,29],[31,33]],23:[0,1,[22,38]],24:[0,[21,31]],25:[0,[21,27]],26:[0,[21,27]]},61:{0:[0],1:[[0,4],[11,16],22,[24,26]],2:[[0,4],22],3:[[0,4],[21,24],[26,31]],4:[[0,4],[22,31],81],5:[[0,2],[21,28],81,82],6:[[0,2],[21,32]],7:[[0,2],[21,30]],8:[[0,2],[21,31]],9:[[0,2],[21,29]],10:[[0,2],[21,26]]},62:{0:[0],1:[[0,5],11,[21,23]],2:[0,1],3:[[0,2],21],4:[[0,3],[21,23]],5:[[0,3],[21,25]],6:[[0,2],[21,23]],7:[[0,2],[21,25]],8:[[0,2],[21,26]],9:[[0,2],[21,24],81,82],10:[[0,2],[21,27]],11:[[0,2],[21,26]],12:[[0,2],[21,28]],24:[0,21,[24,29]],26:[0,21,[23,30]],29:[0,1,[21,27]],30:[0,1,[21,27]]},63:{0:[0],1:[[0,5],[21,23]],2:[0,2,[21,25]],21:[0,[21,23],[26,28]],22:[0,[21,24]],23:[0,[21,24]],25:[0,[21,25]],26:[0,[21,26]],27:[0,1,[21,26]],28:[[0,2],[21,23]]},64:{0:[0],1:[0,1,[4,6],21,22,81],2:[[0,3],5,[21,23]],3:[[0,3],[21,24],81],4:[[0,2],[21,25]],5:[[0,2],21,22]},65:{0:[0],1:[[0,9],21],2:[[0,5]],21:[0,1,22,23],22:[0,1,22,23],23:[[0,3],[23,25],27,28],28:[0,1,[22,29]],29:[0,1,[22,29]],30:[0,1,[22,24]],31:[0,1,[21,31]],32:[0,1,[21,27]],40:[0,2,3,[21,28]],42:[[0,2],21,[23,26]],43:[0,1,[21,26]],90:[[0,4]],27:[[0,2],22,23]},71:{0:[0]},81:{0:[0]},82:{0:[0]}},d=parseInt(b.substr(0,2),10),e=parseInt(b.substr(2,2),10),f=parseInt(b.substr(4,2),10);if(!c[d]||!c[d][e])return!1;for(var g=!1,h=c[d][e],i=0;i<h.length;i++)if(a.isArray(h[i])&&h[i][0]<=f&&f<=h[i][1]||!a.isArray(h[i])&&f===h[i]){g=!0;break}if(!g)return!1;var j;j=18===b.length?b.substr(6,8):"19"+b.substr(6,6);var k=parseInt(j.substr(0,4),10),l=parseInt(j.substr(4,2),10),m=parseInt(j.substr(6,2),10);if(!FormValidation.Helper.date(k,l,m))return!1;if(18===b.length){var n=0,o=[7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2];for(i=0;17>i;i++)n+=parseInt(b.charAt(i),10)*o[i];n=(12-n%11)%11;var p="X"!==b.charAt(17).toUpperCase()?parseInt(b.charAt(17),10):10;return p===n}return!0},_cz:function(a){if(!/^\d{9,10}$/.test(a))return!1;var b=1900+parseInt(a.substr(0,2),10),c=parseInt(a.substr(2,2),10)%50%20,d=parseInt(a.substr(4,2),10);if(9===a.length){if(b>=1980&&(b-=100),b>1953)return!1}else 1954>b&&(b+=100);if(!FormValidation.Helper.date(b,c,d))return!1;if(10===a.length){var e=parseInt(a.substr(0,9),10)%11;return 1985>b&&(e%=10),e+""===a.substr(9,1)}return!0},_dk:function(a){if(!/^[0-9]{6}[-]{0,1}[0-9]{4}$/.test(a))return!1;a=a.replace(/-/g,"");var b=parseInt(a.substr(0,2),10),c=parseInt(a.substr(2,2),10),d=parseInt(a.substr(4,2),10);switch(!0){case-1!=="5678".indexOf(a.charAt(6))&&d>=58:d+=1800;break;case-1!=="0123".indexOf(a.charAt(6)):case-1!=="49".indexOf(a.charAt(6))&&d>=37:d+=1900;break;default:d+=2e3}return FormValidation.Helper.date(d,c,b)},_ee:function(a){return this._lt(a)},_es:function(a){var b=/^[0-9]{8}[-]{0,1}[A-HJ-NP-TV-Z]$/.test(a),c=/^[XYZ][-]{0,1}[0-9]{7}[-]{0,1}[A-HJ-NP-TV-Z]$/.test(a),d=/^[A-HNPQS][-]{0,1}[0-9]{7}[-]{0,1}[0-9A-J]$/.test(a);if(!b&&!c&&!d)return!1;a=a.replace(/-/g,"");var e;if(b||c){var f="XYZ".indexOf(a.charAt(0));return-1!==f&&(a=f+a.substr(1)+""),e=parseInt(a.substr(0,8),10),e="TRWAGMYFPDXBNJZSQVHLCKE"[e%23],e===a.substr(8,1)}e=a.substr(1,7);for(var g=a[0],h=a.substr(-1),i=0,j=0;j<e.length;j++)if(j%2!==0)i+=parseInt(e[j],10);else{var k=""+2*parseInt(e[j],10);i+=parseInt(k[0],10),2===k.length&&(i+=parseInt(k[1],10))}var l=i-10*Math.floor(i/10);return 0!==l&&(l=10-l),-1!=="KQS".indexOf(g)?h==="JABCDEFGHI"[l]:-1!=="ABEH".indexOf(g)?h===""+l:h===""+l||h==="JABCDEFGHI"[l]},_fi:function(a){if(!/^[0-9]{6}[-+A][0-9]{3}[0-9ABCDEFHJKLMNPRSTUVWXY]$/.test(a))return!1;var b=parseInt(a.substr(0,2),10),c=parseInt(a.substr(2,2),10),d=parseInt(a.substr(4,2),10),e={"+":1800,"-":1900,A:2e3};if(d=e[a.charAt(6)]+d,!FormValidation.Helper.date(d,c,b))return!1;var f=parseInt(a.substr(7,3),10);if(2>f)return!1;var g=a.substr(0,6)+a.substr(7,3)+"";return g=parseInt(g,10),"0123456789ABCDEFHJKLMNPRSTUVWXY".charAt(g%31)===a.charAt(10)},_hr:function(a){return/^[0-9]{11}$/.test(a)?FormValidation.Helper.mod11And10(a):!1},_ie:function(a){if(!/^\d{7}[A-W][AHWTX]?$/.test(a))return!1;var b=function(a){for(;a.length<7;)a="0"+a;for(var b="WABCDEFGHIJKLMNOPQRSTUV",c=0,d=0;7>d;d++)c+=parseInt(a.charAt(d),10)*(8-d);return c+=9*b.indexOf(a.substr(7)),b[c%23]};return 9!==a.length||"A"!==a.charAt(8)&&"H"!==a.charAt(8)?a.charAt(7)===b(a.substr(0,7)):a.charAt(7)===b(a.substr(0,7)+a.substr(8)+"")},_is:function(a){if(!/^[0-9]{6}[-]{0,1}[0-9]{4}$/.test(a))return!1;a=a.replace(/-/g,"");var b=parseInt(a.substr(0,2),10),c=parseInt(a.substr(2,2),10),d=parseInt(a.substr(4,2),10),e=parseInt(a.charAt(9),10);if(d=9===e?1900+d:100*(20+e)+d,!FormValidation.Helper.date(d,c,b,!0))return!1;for(var f=0,g=[3,2,7,6,5,4,3,2],h=0;8>h;h++)f+=parseInt(a.charAt(h),10)*g[h];return f=11-f%11,f+""===a.charAt(8)},_lt:function(a){if(!/^[0-9]{11}$/.test(a))return!1;var b=parseInt(a.charAt(0),10),c=parseInt(a.substr(1,2),10),d=parseInt(a.substr(3,2),10),e=parseInt(a.substr(5,2),10),f=b%2===0?17+b/2:17+(b+1)/2;if(c=100*f+c,!FormValidation.Helper.date(c,d,e,!0))return!1;for(var g=0,h=[1,2,3,4,5,6,7,8,9,1],i=0;10>i;i++)g+=parseInt(a.charAt(i),10)*h[i];if(g%=11,10!==g)return g+""===a.charAt(10);for(g=0,h=[3,4,5,6,7,8,9,1,2,3],i=0;10>i;i++)g+=parseInt(a.charAt(i),10)*h[i];return g%=11,10===g&&(g=0),g+""===a.charAt(10)},_lv:function(a){if(!/^[0-9]{6}[-]{0,1}[0-9]{5}$/.test(a))return!1;a=a.replace(/\D/g,"");var b=parseInt(a.substr(0,2),10),c=parseInt(a.substr(2,2),10),d=parseInt(a.substr(4,2),10);if(d=d+1800+100*parseInt(a.charAt(6),10),!FormValidation.Helper.date(d,c,b,!0))return!1;for(var e=0,f=[10,5,8,4,2,1,6,3,7,9],g=0;10>g;g++)e+=parseInt(a.charAt(g),10)*f[g];return e=(e+1)%11%10,e+""===a.charAt(10)},_nl:function(a){for(;a.length<9;)a="0"+a;if(!/^[0-9]{4}[.]{0,1}[0-9]{2}[.]{0,1}[0-9]{3}$/.test(a))return!1;if(a=a.replace(/\./g,""),0===parseInt(a,10))return!1;for(var b=0,c=a.length,d=0;c-1>d;d++)b+=(9-d)*parseInt(a.charAt(d),10);return b%=11,10===b&&(b=0),b+""===a.charAt(c-1)},_pl:function(a){if(!/^[0-9]{11}$/.test(a))return!1;for(var b=0,c=a.length,d=[1,3,7,9,1,3,7,9,1,3,7],e=0;c-1>e;e++)b+=d[e]*parseInt(a.charAt(e),10);return b%=10,0===b&&(b=10),b=10-b,b+""===a.charAt(c-1)},_ro:function(a){if(!/^[0-9]{13}$/.test(a))return!1;var b=parseInt(a.charAt(0),10);if(0===b||7===b||8===b)return!1;var c=parseInt(a.substr(1,2),10),d=parseInt(a.substr(3,2),10),e=parseInt(a.substr(5,2),10),f={1:1900,2:1900,3:1800,4:1800,5:2e3,6:2e3};if(e>31&&d>12)return!1;if(9!==b&&(c=f[b+""]+c,!FormValidation.Helper.date(c,d,e)))return!1;for(var g=0,h=[2,7,9,1,4,6,3,5,8,2,7,9],i=a.length,j=0;i-1>j;j++)g+=parseInt(a.charAt(j),10)*h[j];return g%=11,10===g&&(g=1),g+""===a.charAt(i-1)},_se:function(a){if(!/^[0-9]{10}$/.test(a)&&!/^[0-9]{6}[-|+][0-9]{4}$/.test(a))return!1;a=a.replace(/[^0-9]/g,"");var b=parseInt(a.substr(0,2),10)+1900,c=parseInt(a.substr(2,2),10),d=parseInt(a.substr(4,2),10);return FormValidation.Helper.date(b,c,d)?FormValidation.Helper.luhn(a):!1},_sk:function(a){return this._cz(a)},_sm:function(a){return/^\d{5}$/.test(a)},_th:function(a){if(13!==a.length)return!1;for(var b=0,c=0;12>c;c++)b+=parseInt(a.charAt(c),10)*(13-c);return(11-b%11)%10===parseInt(a.charAt(12),10)},_za:function(a){if(!/^[0-9]{10}[0|1][8|9][0-9]$/.test(a))return!1;var b=parseInt(a.substr(0,2),10),c=(new Date).getFullYear()%100,d=parseInt(a.substr(2,2),10),e=parseInt(a.substr(4,2),10);return b=b>=c?b+1900:b+2e3,FormValidation.Helper.date(b,d,e)?FormValidation.Helper.luhn(a):!1}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{identical:{"default":"Please enter the same value"}}}),FormValidation.Validator.identical={html5Attributes:{message:"message",field:"field"},init:function(a,b,c){var d=a.getFieldElements(c.field);a.onLiveChange(d,"live_identical",function(){var c=a.getStatus(b,"identical");c!==a.STATUS_NOT_VALIDATED&&a.revalidateField(b)})},destroy:function(a,b,c){var d=a.getFieldElements(c.field);a.offLiveChange(d,"live_identical")},validate:function(a,b,c){var d=a.getFieldValue(b,"identical"),e=a.getFieldElements(c.field);if(null===e||0===e.length)return!0;var f=a.getFieldValue(e,"identical");return d===f?(a.updateStatus(e,a.STATUS_VALID,"identical"),!0):!1}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{imei:{"default":"Please enter a valid IMEI number"}}}),FormValidation.Validator.imei={validate:function(a,b){var c=a.getFieldValue(b,"imei");if(""===c)return!0;switch(!0){case/^\d{15}$/.test(c):case/^\d{2}-\d{6}-\d{6}-\d{1}$/.test(c):case/^\d{2}\s\d{6}\s\d{6}\s\d{1}$/.test(c):return c=c.replace(/[^0-9]/g,""),FormValidation.Helper.luhn(c);case/^\d{14}$/.test(c):case/^\d{16}$/.test(c):case/^\d{2}-\d{6}-\d{6}(|-\d{2})$/.test(c):case/^\d{2}\s\d{6}\s\d{6}(|\s\d{2})$/.test(c):return!0;default:return!1}}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{imo:{"default":"Please enter a valid IMO number"}}}),FormValidation.Validator.imo={validate:function(a,b){var c=a.getFieldValue(b,"imo");if(""===c)return!0;if(!/^IMO \d{7}$/i.test(c))return!1;for(var d=0,e=c.replace(/^.*(\d{7})$/,"$1"),f=6;f>=1;f--)d+=e.slice(6-f,-f)*(f+1);return d%10===parseInt(e.charAt(6),10)}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{integer:{"default":"Please enter a valid number"}}}),FormValidation.Validator.integer={enableByHtml5:function(a){return"number"===a.attr("type")&&(void 0===a.attr("step")||a.attr("step")%1===0)},validate:function(a,b){if(this.enableByHtml5(b)&&b.get(0).validity&&b.get(0).validity.badInput===!0)return!1;var c=a.getFieldValue(b,"integer");return""===c?!0:/^(?:-?(?:0|[1-9][0-9]*))$/.test(c)}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{ip:{"default":"Please enter a valid IP address",ipv4:"Please enter a valid IPv4 address",ipv6:"Please enter a valid IPv6 address"}}}),FormValidation.Validator.ip={html5Attributes:{message:"message",ipv4:"ipv4",ipv6:"ipv6"},validate:function(b,c,d){var e=b.getFieldValue(c,"ip");if(""===e)return!0;d=a.extend({},{ipv4:!0,ipv6:!0},d);var f,g=b.getLocale(),h=/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,i=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/,j=!1;switch(!0){case d.ipv4&&!d.ipv6:j=h.test(e),f=d.message||FormValidation.I18n[g].ip.ipv4;break;case!d.ipv4&&d.ipv6:j=i.test(e),f=d.message||FormValidation.I18n[g].ip.ipv6;break;case d.ipv4&&d.ipv6:default:j=h.test(e)||i.test(e),f=d.message||FormValidation.I18n[g].ip["default"]}return{valid:j,message:f}}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{isbn:{"default":"Please enter a valid ISBN number"}}}),FormValidation.Validator.isbn={validate:function(a,b){var c=a.getFieldValue(b,"isbn");if(""===c)return!0;var d;switch(!0){case/^\d{9}[\dX]$/.test(c):case 13===c.length&&/^(\d+)-(\d+)-(\d+)-([\dX])$/.test(c):case 13===c.length&&/^(\d+)\s(\d+)\s(\d+)\s([\dX])$/.test(c):d="ISBN10";break;case/^(978|979)\d{9}[\dX]$/.test(c):case 17===c.length&&/^(978|979)-(\d+)-(\d+)-(\d+)-([\dX])$/.test(c):case 17===c.length&&/^(978|979)\s(\d+)\s(\d+)\s(\d+)\s([\dX])$/.test(c):d="ISBN13";break;default:return!1}c=c.replace(/[^0-9X]/gi,"");var e,f,g=c.split(""),h=g.length,i=0;switch(d){case"ISBN10":for(i=0,e=0;h-1>e;e++)i+=parseInt(g[e],10)*(10-e);return f=11-i%11,11===f?f=0:10===f&&(f="X"),f+""===g[h-1];case"ISBN13":for(i=0,e=0;h-1>e;e++)i+=e%2===0?parseInt(g[e],10):3*parseInt(g[e],10);return f=10-i%10,10===f&&(f="0"),f+""===g[h-1];default:return!1}}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{isin:{"default":"Please enter a valid ISIN number"}}}),FormValidation.Validator.isin={COUNTRY_CODES:"AF|AX|AL|DZ|AS|AD|AO|AI|AQ|AG|AR|AM|AW|AU|AT|AZ|BS|BH|BD|BB|BY|BE|BZ|BJ|BM|BT|BO|BQ|BA|BW|BV|BR|IO|BN|BG|BF|BI|KH|CM|CA|CV|KY|CF|TD|CL|CN|CX|CC|CO|KM|CG|CD|CK|CR|CI|HR|CU|CW|CY|CZ|DK|DJ|DM|DO|EC|EG|SV|GQ|ER|EE|ET|FK|FO|FJ|FI|FR|GF|PF|TF|GA|GM|GE|DE|GH|GI|GR|GL|GD|GP|GU|GT|GG|GN|GW|GY|HT|HM|VA|HN|HK|HU|IS|IN|ID|IR|IQ|IE|IM|IL|IT|JM|JP|JE|JO|KZ|KE|KI|KP|KR|KW|KG|LA|LV|LB|LS|LR|LY|LI|LT|LU|MO|MK|MG|MW|MY|MV|ML|MT|MH|MQ|MR|MU|YT|MX|FM|MD|MC|MN|ME|MS|MA|MZ|MM|NA|NR|NP|NL|NC|NZ|NI|NE|NG|NU|NF|MP|NO|OM|PK|PW|PS|PA|PG|PY|PE|PH|PN|PL|PT|PR|QA|RE|RO|RU|RW|BL|SH|KN|LC|MF|PM|VC|WS|SM|ST|SA|SN|RS|SC|SL|SG|SX|SK|SI|SB|SO|ZA|GS|SS|ES|LK|SD|SR|SJ|SZ|SE|CH|SY|TW|TJ|TZ|TH|TL|TG|TK|TO|TT|TN|TR|TM|TC|TV|UG|UA|AE|GB|US|UM|UY|UZ|VU|VE|VN|VG|VI|WF|EH|YE|ZM|ZW",validate:function(a,b){var c=a.getFieldValue(b,"isin");if(""===c)return!0;c=c.toUpperCase();var d=new RegExp("^("+this.COUNTRY_CODES+")[0-9A-Z]{10}$");if(!d.test(c))return!1;for(var e="",f=c.length,g=0;f-1>g;g++){var h=c.charCodeAt(g);e+=h>57?(h-55).toString():c.charAt(g)}var i="",j=e.length,k=j%2!==0?0:1;for(g=0;j>g;g++)i+=parseInt(e[g],10)*(g%2===k?2:1)+"";var l=0;for(g=0;g<i.length;g++)l+=parseInt(i.charAt(g),10);return l=(10-l%10)%10,l+""===c.charAt(f-1)}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{ismn:{"default":"Please enter a valid ISMN number"}}}),FormValidation.Validator.ismn={validate:function(a,b){var c=a.getFieldValue(b,"ismn");if(""===c)return!0;var d;switch(!0){case/^M\d{9}$/.test(c):case/^M-\d{4}-\d{4}-\d{1}$/.test(c):case/^M\s\d{4}\s\d{4}\s\d{1}$/.test(c):d="ISMN10";break;case/^9790\d{9}$/.test(c):case/^979-0-\d{4}-\d{4}-\d{1}$/.test(c):case/^979\s0\s\d{4}\s\d{4}\s\d{1}$/.test(c):d="ISMN13";break;default:return!1}"ISMN10"===d&&(c="9790"+c.substr(1)),c=c.replace(/[^0-9]/gi,"");for(var e=c.length,f=0,g=[1,3],h=0;e-1>h;h++)f+=parseInt(c.charAt(h),10)*g[h%2];return f=10-f%10,f+""===c.charAt(e-1)}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{issn:{"default":"Please enter a valid ISSN number"}}}),FormValidation.Validator.issn={validate:function(a,b){var c=a.getFieldValue(b,"issn");if(""===c)return!0;if(!/^\d{4}\-\d{3}[\dX]$/.test(c))return!1;c=c.replace(/[^0-9X]/gi,"");var d=c.split(""),e=d.length,f=0;"X"===d[7]&&(d[7]=10);for(var g=0;e>g;g++)f+=parseInt(d[g],10)*(8-g);return f%11===0}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{lessThan:{"default":"Please enter a value less than or equal to %s",notInclusive:"Please enter a value less than %s"}}}),FormValidation.Validator.lessThan={html5Attributes:{message:"message",value:"value",inclusive:"inclusive"},enableByHtml5:function(a){var b=a.attr("type"),c=a.attr("max");return c&&"date"!==b?{value:c}:!1},validate:function(b,c,d){var e=b.getFieldValue(c,"lessThan");if(""===e)return!0;if(e=this._format(e),!a.isNumeric(e))return!1;var f=b.getLocale(),g=a.isNumeric(d.value)?d.value:b.getDynamicOption(c,d.value),h=this._format(g);return e=parseFloat(e),d.inclusive===!0||void 0===d.inclusive?{valid:h>=e,message:FormValidation.Helper.format(d.message||FormValidation.I18n[f].lessThan["default"],g)}:{valid:h>e,message:FormValidation.Helper.format(d.message||FormValidation.I18n[f].lessThan.notInclusive,g)}},_format:function(a){return(a+"").replace(",",".")}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{mac:{"default":"Please enter a valid MAC address"}}}),FormValidation.Validator.mac={validate:function(a,b){var c=a.getFieldValue(b,"mac");return""===c?!0:/^([0-9A-F]{2}[:-]){5}([0-9A-F]{2})$/.test(c)}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{meid:{"default":"Please enter a valid MEID number"}}}),FormValidation.Validator.meid={validate:function(a,b){var c=a.getFieldValue(b,"meid");if(""===c)return!0;switch(!0){case/^[0-9A-F]{15}$/i.test(c):case/^[0-9A-F]{2}[- ][0-9A-F]{6}[- ][0-9A-F]{6}[- ][0-9A-F]$/i.test(c):case/^\d{19}$/.test(c):case/^\d{5}[- ]\d{5}[- ]\d{4}[- ]\d{4}[- ]\d$/.test(c):var d=c.charAt(c.length-1);if(c=c.replace(/[- ]/g,""),c.match(/^\d*$/i))return FormValidation.Helper.luhn(c);c=c.slice(0,-1);for(var e="",f=1;13>=f;f+=2)e+=(2*parseInt(c.charAt(f),16)).toString(16);var g=0;for(f=0;f<e.length;f++)g+=parseInt(e.charAt(f),16);return g%10===0?"0"===d:d===(2*(10*Math.floor((g+10)/10)-g)).toString(16);case/^[0-9A-F]{14}$/i.test(c):case/^[0-9A-F]{2}[- ][0-9A-F]{6}[- ][0-9A-F]{6}$/i.test(c):case/^\d{18}$/.test(c):case/^\d{5}[- ]\d{5}[- ]\d{4}[- ]\d{4}$/.test(c):return!0;default:return!1}}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{notEmpty:{"default":"Please enter a value"}}}),FormValidation.Validator.notEmpty={enableByHtml5:function(a){var b=a.attr("required")+"";return"required"===b||"true"===b},validate:function(b,c){var d=c.attr("type");if("radio"===d||"checkbox"===d){var e=b.getNamespace();return b.getFieldElements(c.attr("data-"+e+"-field")).filter(":checked").length>0}if("number"===d&&c.get(0).validity&&c.get(0).validity.badInput===!0)return!0;var f=b.getFieldValue(c,"notEmpty");return""!==a.trim(f)}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{numeric:{"default":"Please enter a valid float number"}}}),FormValidation.Validator.numeric={html5Attributes:{message:"message",separator:"separator"},enableByHtml5:function(a){return"number"===a.attr("type")&&void 0!==a.attr("step")&&a.attr("step")%1!==0},validate:function(a,b,c){if(this.enableByHtml5(b)&&b.get(0).validity&&b.get(0).validity.badInput===!0)return!1;var d=a.getFieldValue(b,"numeric");if(""===d)return!0;var e=c.separator||".";return"."!==e&&(d=d.replace(e,".")),!isNaN(parseFloat(d))&&isFinite(d)}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{phone:{"default":"Please enter a valid phone number",country:"Please enter a valid phone number in %s",countries:{AE:"United Arab Emirates",BG:"Bulgaria",BR:"Brazil",CN:"China",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",ES:"Spain",FR:"France",GB:"United Kingdom",IN:"India",MA:"Morocco",NL:"Netherlands",PK:"Pakistan",RO:"Romania",RU:"Russia",SK:"Slovakia",TH:"Thailand",US:"USA",VE:"Venezuela"}}}}),FormValidation.Validator.phone={html5Attributes:{message:"message",country:"country"},COUNTRY_CODES:["AE","BG","BR","CN","CZ","DE","DK","ES","FR","GB","IN","MA","NL","PK","RO","RU","SK","TH","US","VE"],validate:function(b,c,d){var e=b.getFieldValue(c,"phone");if(""===e)return!0;var f=b.getLocale(),g=d.country;if(("string"!=typeof g||-1===a.inArray(g,this.COUNTRY_CODES))&&(g=b.getDynamicOption(c,g)),!g||-1===a.inArray(g.toUpperCase(),this.COUNTRY_CODES))return!0;var h=!0;switch(g.toUpperCase()){case"AE":e=a.trim(e),h=/^(((\+|00)?971[\s\.-]?(\(0\)[\s\.-]?)?|0)(\(5(0|2|5|6)\)|5(0|2|5|6)|2|3|4|6|7|9)|60)([\s\.-]?[0-9]){7}$/.test(e);break;case"BG":e=e.replace(/\+|\s|-|\/|\(|\)/gi,""),h=/^(0|359|00)(((700|900)[0-9]{5}|((800)[0-9]{5}|(800)[0-9]{4}))|(87|88|89)([0-9]{7})|((2[0-9]{7})|(([3-9][0-9])(([0-9]{6})|([0-9]{5})))))$/.test(e);break;case"BR":e=a.trim(e),h=/^(([\d]{4}[-.\s]{1}[\d]{2,3}[-.\s]{1}[\d]{2}[-.\s]{1}[\d]{2})|([\d]{4}[-.\s]{1}[\d]{3}[-.\s]{1}[\d]{4})|((\(?\+?[0-9]{2}\)?\s?)?(\(?\d{2}\)?\s?)?\d{4,5}[-.\s]?\d{4}))$/.test(e);break;case"CN":e=a.trim(e),h=/^((00|\+)?(86(?:-| )))?((\d{11})|(\d{3}[- ]{1}\d{4}[- ]{1}\d{4})|((\d{2,4}[- ]){1}(\d{7,8}|(\d{3,4}[- ]{1}\d{4}))([- ]{1}\d{1,4})?))$/.test(e);break;case"CZ":h=/^(((00)([- ]?)|\+)(420)([- ]?))?((\d{3})([- ]?)){2}(\d{3})$/.test(e);break;case"DE":e=a.trim(e),h=/^(((((((00|\+)49[ \-/]?)|0)[1-9][0-9]{1,4})[ \-/]?)|((((00|\+)49\()|\(0)[1-9][0-9]{1,4}\)[ \-/]?))[0-9]{1,7}([ \-/]?[0-9]{1,5})?)$/.test(e);break;case"DK":e=a.trim(e),h=/^(\+45|0045|\(45\))?\s?[2-9](\s?\d){7}$/.test(e);break;case"ES":e=a.trim(e),h=/^(?:(?:(?:\+|00)34\D?))?(?:5|6|7|8|9)(?:\d\D?){8}$/.test(e);break;case"FR":e=a.trim(e),h=/^(?:(?:(?:\+|00)33[ ]?(?:\(0\)[ ]?)?)|0){1}[1-9]{1}([ .-]?)(?:\d{2}\1?){3}\d{2}$/.test(e);break;case"GB":e=a.trim(e),h=/^\(?(?:(?:0(?:0|11)\)?[\s-]?\(?|\+)44\)?[\s-]?\(?(?:0\)?[\s-]?\(?)?|0)(?:\d{2}\)?[\s-]?\d{4}[\s-]?\d{4}|\d{3}\)?[\s-]?\d{3}[\s-]?\d{3,4}|\d{4}\)?[\s-]?(?:\d{5}|\d{3}[\s-]?\d{3})|\d{5}\)?[\s-]?\d{4,5}|8(?:00[\s-]?11[\s-]?11|45[\s-]?46[\s-]?4\d))(?:(?:[\s-]?(?:x|ext\.?\s?|\#)\d+)?)$/.test(e);break;case"IN":e=a.trim(e),h=/((\+?)((0[ -]+)*|(91 )*)(\d{12}|\d{10}))|\d{5}([- ]*)\d{6}/.test(e);break;case"MA":e=a.trim(e),h=/^(?:(?:(?:\+|00)212[\s]?(?:[\s]?\(0\)[\s]?)?)|0){1}(?:5[\s.-]?[2-3]|6[\s.-]?[13-9]){1}[0-9]{1}(?:[\s.-]?\d{2}){3}$/.test(e);break;case"NL":e=a.trim(e),h=/^((\+|00(\s|\s?\-\s?)?)31(\s|\s?\-\s?)?(\(0\)[\-\s]?)?|0)[1-9]((\s|\s?\-\s?)?[0-9])((\s|\s?-\s?)?[0-9])((\s|\s?-\s?)?[0-9])\s?[0-9]\s?[0-9]\s?[0-9]\s?[0-9]\s?[0-9]$/gm.test(e);break;case"PK":e=a.trim(e),h=/^0?3[0-9]{2}[0-9]{7}$/.test(e);break;case"RO":h=/^(\+4|)?(07[0-8]{1}[0-9]{1}|02[0-9]{2}|03[0-9]{2}){1}?(\s|\.|\-)?([0-9]{3}(\s|\.|\-|)){2}$/g.test(e);break;case"RU":h=/^((8|\+7|007)[\-\.\/ ]?)?([\(\/\.]?\d{3}[\)\/\.]?[\-\.\/ ]?)?[\d\-\.\/ ]{7,10}$/g.test(e);break;case"SK":h=/^(((00)([- ]?)|\+)(421)([- ]?))?((\d{3})([- ]?)){2}(\d{3})$/.test(e);break;case"TH":h=/^0\(?([6|8-9]{2})*-([0-9]{3})*-([0-9]{4})$/.test(e);break;case"VE":e=a.trim(e),h=/^0(?:2(?:12|4[0-9]|5[1-9]|6[0-9]|7[0-8]|8[1-35-8]|9[1-5]|3[45789])|4(?:1[246]|2[46]))\d{7}$/.test(e);break;case"US":default:h=/^(?:(1\-?)|(\+1 ?))?\(?(\d{3})[\)\-\.]?(\d{3})[\-\.]?(\d{4})$/.test(e)}return{valid:h,message:FormValidation.Helper.format(d.message||FormValidation.I18n[f].phone.country,FormValidation.I18n[f].phone.countries[g])}}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{regexp:{"default":"Please enter a value matching the pattern"}}}),FormValidation.Validator.regexp={html5Attributes:{message:"message",regexp:"regexp"},enableByHtml5:function(a){var b=a.attr("pattern");return b?{regexp:b}:!1},validate:function(a,b,c){var d=a.getFieldValue(b,"regexp");if(""===d)return!0;var e="string"==typeof c.regexp?new RegExp(c.regexp):c.regexp;return e.test(d)}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{remote:{"default":"Please enter a valid value"}}}),FormValidation.Validator.remote={html5Attributes:{crossdomain:"crossDomain",data:"data",datatype:"dataType",delay:"delay",message:"message",name:"name",type:"type",url:"url",validkey:"validKey"},destroy:function(a,b){var c=a.getNamespace(),d=b.data(c+".remote.timer");d&&(clearTimeout(d),b.removeData(c+".remote.timer"))},validate:function(b,c,d){function e(){var b=a.ajax(m);return b.success(function(a){a.valid=a[l]===!0||"true"===a[l]?!0:a[l]===!1||"false"===a[l]?!1:null,h.resolve(c,"remote",a) | |
| 13 | +}).error(function(){h.resolve(c,"remote",{valid:!1})}),h.fail(function(){b.abort()}),h}var f=b.getNamespace(),g=b.getFieldValue(c,"remote"),h=new a.Deferred;if(""===g)return h.resolve(c,"remote",{valid:!0}),h;var i=c.attr("data-"+f+"-field"),j=d.data||{},k=d.url,l=d.validKey||"valid";"function"==typeof j&&(j=j.call(this,b)),"string"==typeof j&&(j=JSON.parse(j)),"function"==typeof k&&(k=k.call(this,b)),j[d.name||i]=g;var m={data:j,dataType:d.dataType||"json",headers:d.headers||{},type:d.type||"GET",url:k};return null!==d.crossDomain&&(m.crossDomain=d.crossDomain===!0||"true"===d.crossDomain),d.delay?(c.data(f+".remote.timer")&&clearTimeout(c.data(f+".remote.timer")),c.data(f+".remote.timer",setTimeout(e,d.delay)),h):e()}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{rtn:{"default":"Please enter a valid RTN number"}}}),FormValidation.Validator.rtn={validate:function(a,b){var c=a.getFieldValue(b,"rtn");if(""===c)return!0;if(!/^\d{9}$/.test(c))return!1;for(var d=0,e=0;e<c.length;e+=3)d+=3*parseInt(c.charAt(e),10)+7*parseInt(c.charAt(e+1),10)+parseInt(c.charAt(e+2),10);return 0!==d&&d%10===0}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{sedol:{"default":"Please enter a valid SEDOL number"}}}),FormValidation.Validator.sedol={validate:function(a,b){var c=a.getFieldValue(b,"sedol");if(""===c)return!0;if(c=c.toUpperCase(),!/^[0-9A-Z]{7}$/.test(c))return!1;for(var d=0,e=[1,3,1,7,3,9,1],f=c.length,g=0;f-1>g;g++)d+=e[g]*parseInt(c.charAt(g),36);return d=(10-d%10)%10,d+""===c.charAt(f-1)}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{siren:{"default":"Please enter a valid SIREN number"}}}),FormValidation.Validator.siren={validate:function(a,b){var c=a.getFieldValue(b,"siren");return""===c?!0:/^\d{9}$/.test(c)?FormValidation.Helper.luhn(c):!1}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{siret:{"default":"Please enter a valid SIRET number"}}}),FormValidation.Validator.siret={validate:function(a,b){var c=a.getFieldValue(b,"siret");if(""===c)return!0;for(var d,e=0,f=c.length,g=0;f>g;g++)d=parseInt(c.charAt(g),10),g%2===0&&(d=2*d,d>9&&(d-=9)),e+=d;return e%10===0}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{step:{"default":"Please enter a valid step of %s"}}}),FormValidation.Validator.step={html5Attributes:{message:"message",base:"baseValue",step:"step"},validate:function(b,c,d){var e=b.getFieldValue(c,"step");if(""===e)return!0;if(d=a.extend({},{baseValue:0,step:1},d),e=parseFloat(e),!a.isNumeric(e))return!1;var f=function(a,b){var c=Math.pow(10,b);a*=c;var d=a>0|-(0>a),e=a%1===.5*d;return e?(Math.floor(a)+(d>0))/c:Math.round(a)/c},g=function(a,b){if(0===b)return 1;var c=(a+"").split("."),d=(b+"").split("."),e=(1===c.length?0:c[1].length)+(1===d.length?0:d[1].length);return f(a-b*Math.floor(a/b),e)},h=b.getLocale(),i=g(e-d.baseValue,d.step);return{valid:0===i||i===d.step,message:FormValidation.Helper.format(d.message||FormValidation.I18n[h].step["default"],[d.step])}}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{stringCase:{"default":"Please enter only lowercase characters",upper:"Please enter only uppercase characters"}}}),FormValidation.Validator.stringCase={html5Attributes:{message:"message","case":"case"},validate:function(a,b,c){var d=a.getFieldValue(b,"stringCase");if(""===d)return!0;var e=a.getLocale(),f=(c["case"]||"lower").toLowerCase();return{valid:"upper"===f?d===d.toUpperCase():d===d.toLowerCase(),message:c.message||("upper"===f?FormValidation.I18n[e].stringCase.upper:FormValidation.I18n[e].stringCase["default"])}}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{stringLength:{"default":"Please enter a value with valid length",less:"Please enter less than %s characters",more:"Please enter more than %s characters",between:"Please enter value between %s and %s characters long"}}}),FormValidation.Validator.stringLength={html5Attributes:{message:"message",min:"min",max:"max",trim:"trim",utf8bytes:"utf8Bytes"},enableByHtml5:function(b){var c={},d=b.attr("maxlength"),e=b.attr("minlength");return d&&(c.max=parseInt(d,10)),e&&(c.min=parseInt(e,10)),a.isEmptyObject(c)?!1:c},validate:function(b,c,d){var e=b.getFieldValue(c,"stringLength");if((d.trim===!0||"true"===d.trim)&&(e=a.trim(e)),""===e)return!0;var f=b.getLocale(),g=a.isNumeric(d.min)?d.min:b.getDynamicOption(c,d.min),h=a.isNumeric(d.max)?d.max:b.getDynamicOption(c,d.max),i=function(a){for(var b=a.length,c=a.length-1;c>=0;c--){var d=a.charCodeAt(c);d>127&&2047>=d?b++:d>2047&&65535>=d&&(b+=2),d>=56320&&57343>=d&&c--}return b},j=d.utf8Bytes?i(e):e.length,k=!0,l=d.message||FormValidation.I18n[f].stringLength["default"];switch((g&&j<parseInt(g,10)||h&&j>parseInt(h,10))&&(k=!1),!0){case!!g&&!!h:l=FormValidation.Helper.format(d.message||FormValidation.I18n[f].stringLength.between,[parseInt(g,10),parseInt(h,10)]);break;case!!g:l=FormValidation.Helper.format(d.message||FormValidation.I18n[f].stringLength.more,parseInt(g,10));break;case!!h:l=FormValidation.Helper.format(d.message||FormValidation.I18n[f].stringLength.less,parseInt(h,10))}return{valid:k,message:l}}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{uri:{"default":"Please enter a valid URI"}}}),FormValidation.Validator.uri={html5Attributes:{message:"message",allowlocal:"allowLocal",allowemptyprotocol:"allowEmptyProtocol",protocol:"protocol"},enableByHtml5:function(a){return"url"===a.attr("type")},validate:function(a,b,c){var d=a.getFieldValue(b,"uri");if(""===d)return!0;var e=c.allowLocal===!0||"true"===c.allowLocal,f=c.allowEmptyProtocol===!0||"true"===c.allowEmptyProtocol,g=(c.protocol||"http, https, ftp").split(",").join("|").replace(/\s/g,""),h=new RegExp("^(?:(?:"+g+")://)"+(f?"?":"")+"(?:\\S+(?::\\S*)?@)?(?:"+(e?"":"(?!(?:10|127)(?:\\.\\d{1,3}){3})(?!(?:169\\.254|192\\.168)(?:\\.\\d{1,3}){2})(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})")+"(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-?)*[a-z\\u00a1-\\uffff0-9])*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))"+(e?"?":"")+")(?::\\d{2,5})?(?:/[^\\s]*)?$","i");return h.test(d)}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{uuid:{"default":"Please enter a valid UUID number",version:"Please enter a valid UUID version %s number"}}}),FormValidation.Validator.uuid={html5Attributes:{message:"message",version:"version"},validate:function(a,b,c){var d=a.getFieldValue(b,"uuid");if(""===d)return!0;var e=a.getLocale(),f={3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i},g=c.version?c.version+"":"all";return{valid:null===f[g]?!0:f[g].test(d),message:c.version?FormValidation.Helper.format(c.message||FormValidation.I18n[e].uuid.version,c.version):c.message||FormValidation.I18n[e].uuid["default"]}}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{vat:{"default":"Please enter a valid VAT number",country:"Please enter a valid VAT number in %s",countries:{AT:"Austria",BE:"Belgium",BG:"Bulgaria",BR:"Brazil",CH:"Switzerland",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",EE:"Estonia",ES:"Spain",FI:"Finland",FR:"France",GB:"United Kingdom",GR:"Greek",EL:"Greek",HU:"Hungary",HR:"Croatia",IE:"Ireland",IS:"Iceland",IT:"Italy",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",MT:"Malta",NL:"Netherlands",NO:"Norway",PL:"Poland",PT:"Portugal",RO:"Romania",RU:"Russia",RS:"Serbia",SE:"Sweden",SI:"Slovenia",SK:"Slovakia",VE:"Venezuela",ZA:"South Africa"}}}}),FormValidation.Validator.vat={html5Attributes:{message:"message",country:"country"},COUNTRY_CODES:["AT","BE","BG","BR","CH","CY","CZ","DE","DK","EE","EL","ES","FI","FR","GB","GR","HR","HU","IE","IS","IT","LT","LU","LV","MT","NL","NO","PL","PT","RO","RU","RS","SE","SK","SI","VE","ZA"],validate:function(b,c,d){var e=b.getFieldValue(c,"vat");if(""===e)return!0;var f=b.getLocale(),g=d.country;if(g?("string"!=typeof g||-1===a.inArray(g.toUpperCase(),this.COUNTRY_CODES))&&(g=b.getDynamicOption(c,g)):g=e.substr(0,2),-1===a.inArray(g,this.COUNTRY_CODES))return!0;var h=["_",g.toLowerCase()].join("");return this[h](e)?!0:{valid:!1,message:FormValidation.Helper.format(d.message||FormValidation.I18n[f].vat.country,FormValidation.I18n[f].vat.countries[g.toUpperCase()])}},_at:function(a){if(/^ATU[0-9]{8}$/.test(a)&&(a=a.substr(2)),!/^U[0-9]{8}$/.test(a))return!1;a=a.substr(1);for(var b=0,c=[1,2,1,2,1,2,1],d=0,e=0;7>e;e++)d=parseInt(a.charAt(e),10)*c[e],d>9&&(d=Math.floor(d/10)+d%10),b+=d;return b=10-(b+4)%10,10===b&&(b=0),b+""===a.substr(7,1)},_be:function(a){if(/^BE[0]{0,1}[0-9]{9}$/.test(a)&&(a=a.substr(2)),!/^[0]{0,1}[0-9]{9}$/.test(a))return!1;if(9===a.length&&(a="0"+a),"0"===a.substr(1,1))return!1;var b=parseInt(a.substr(0,8),10)+parseInt(a.substr(8,2),10);return b%97===0},_bg:function(a){if(/^BG[0-9]{9,10}$/.test(a)&&(a=a.substr(2)),!/^[0-9]{9,10}$/.test(a))return!1;var b=0,c=0;if(9===a.length){for(c=0;8>c;c++)b+=parseInt(a.charAt(c),10)*(c+1);if(b%=11,10===b)for(b=0,c=0;8>c;c++)b+=parseInt(a.charAt(c),10)*(c+3);return b%=10,b+""===a.substr(8)}if(10===a.length){var d=function(a){var b=parseInt(a.substr(0,2),10)+1900,c=parseInt(a.substr(2,2),10),d=parseInt(a.substr(4,2),10);if(c>40?(b+=100,c-=40):c>20&&(b-=100,c-=20),!FormValidation.Helper.date(b,c,d))return!1;for(var e=0,f=[2,4,8,5,10,9,7,3,6],g=0;9>g;g++)e+=parseInt(a.charAt(g),10)*f[g];return e=e%11%10,e+""===a.substr(9,1)},e=function(a){for(var b=0,c=[21,19,17,13,11,9,7,3,1],d=0;9>d;d++)b+=parseInt(a.charAt(d),10)*c[d];return b%=10,b+""===a.substr(9,1)},f=function(a){for(var b=0,c=[4,3,2,7,6,5,4,3,2],d=0;9>d;d++)b+=parseInt(a.charAt(d),10)*c[d];return b=11-b%11,10===b?!1:(11===b&&(b=0),b+""===a.substr(9,1))};return d(a)||e(a)||f(a)}return!1},_br:function(a){if(""===a)return!0;var b=a.replace(/[^\d]+/g,"");if(""===b||14!==b.length)return!1;if("00000000000000"===b||"11111111111111"===b||"22222222222222"===b||"33333333333333"===b||"44444444444444"===b||"55555555555555"===b||"66666666666666"===b||"77777777777777"===b||"88888888888888"===b||"99999999999999"===b)return!1;for(var c=b.length-2,d=b.substring(0,c),e=b.substring(c),f=0,g=c-7,h=c;h>=1;h--)f+=parseInt(d.charAt(c-h),10)*g--,2>g&&(g=9);var i=2>f%11?0:11-f%11;if(i!==parseInt(e.charAt(0),10))return!1;for(c+=1,d=b.substring(0,c),f=0,g=c-7,h=c;h>=1;h--)f+=parseInt(d.charAt(c-h),10)*g--,2>g&&(g=9);return i=2>f%11?0:11-f%11,i===parseInt(e.charAt(1),10)},_ch:function(a){if(/^CHE[0-9]{9}(MWST)?$/.test(a)&&(a=a.substr(2)),!/^E[0-9]{9}(MWST)?$/.test(a))return!1;a=a.substr(1);for(var b=0,c=[5,4,3,2,7,6,5,4],d=0;8>d;d++)b+=parseInt(a.charAt(d),10)*c[d];return b=11-b%11,10===b?!1:(11===b&&(b=0),b+""===a.substr(8,1))},_cy:function(a){if(/^CY[0-5|9]{1}[0-9]{7}[A-Z]{1}$/.test(a)&&(a=a.substr(2)),!/^[0-5|9]{1}[0-9]{7}[A-Z]{1}$/.test(a))return!1;if("12"===a.substr(0,2))return!1;for(var b=0,c={0:1,1:0,2:5,3:7,4:9,5:13,6:15,7:17,8:19,9:21},d=0;8>d;d++){var e=parseInt(a.charAt(d),10);d%2===0&&(e=c[e+""]),b+=e}return b="ABCDEFGHIJKLMNOPQRSTUVWXYZ"[b%26],b+""===a.substr(8,1)},_cz:function(a){if(/^CZ[0-9]{8,10}$/.test(a)&&(a=a.substr(2)),!/^[0-9]{8,10}$/.test(a))return!1;var b=0,c=0;if(8===a.length){if(a.charAt(0)+""=="9")return!1;for(b=0,c=0;7>c;c++)b+=parseInt(a.charAt(c),10)*(8-c);return b=11-b%11,10===b&&(b=0),11===b&&(b=1),b+""===a.substr(7,1)}if(9===a.length&&a.charAt(0)+""=="6"){for(b=0,c=0;7>c;c++)b+=parseInt(a.charAt(c+1),10)*(8-c);return b=11-b%11,10===b&&(b=0),11===b&&(b=1),b=[8,7,6,5,4,3,2,1,0,9,10][b-1],b+""===a.substr(8,1)}if(9===a.length||10===a.length){var d=1900+parseInt(a.substr(0,2),10),e=parseInt(a.substr(2,2),10)%50%20,f=parseInt(a.substr(4,2),10);if(9===a.length){if(d>=1980&&(d-=100),d>1953)return!1}else 1954>d&&(d+=100);if(!FormValidation.Helper.date(d,e,f))return!1;if(10===a.length){var g=parseInt(a.substr(0,9),10)%11;return 1985>d&&(g%=10),g+""===a.substr(9,1)}return!0}return!1},_de:function(a){return/^DE[0-9]{9}$/.test(a)&&(a=a.substr(2)),/^[0-9]{9}$/.test(a)?FormValidation.Helper.mod11And10(a):!1},_dk:function(a){if(/^DK[0-9]{8}$/.test(a)&&(a=a.substr(2)),!/^[0-9]{8}$/.test(a))return!1;for(var b=0,c=[2,7,6,5,4,3,2,1],d=0;8>d;d++)b+=parseInt(a.charAt(d),10)*c[d];return b%11===0},_ee:function(a){if(/^EE[0-9]{9}$/.test(a)&&(a=a.substr(2)),!/^[0-9]{9}$/.test(a))return!1;for(var b=0,c=[3,7,1,3,7,1,3,7,1],d=0;9>d;d++)b+=parseInt(a.charAt(d),10)*c[d];return b%10===0},_es:function(a){if(/^ES[0-9A-Z][0-9]{7}[0-9A-Z]$/.test(a)&&(a=a.substr(2)),!/^[0-9A-Z][0-9]{7}[0-9A-Z]$/.test(a))return!1;var b=function(a){var b=parseInt(a.substr(0,8),10);return b="TRWAGMYFPDXBNJZSQVHLCKE"[b%23],b+""===a.substr(8,1)},c=function(a){var b=["XYZ".indexOf(a.charAt(0)),a.substr(1)].join("");return b=parseInt(b,10),b="TRWAGMYFPDXBNJZSQVHLCKE"[b%23],b+""===a.substr(8,1)},d=function(a){var b,c=a.charAt(0);if(-1!=="KLM".indexOf(c))return b=parseInt(a.substr(1,8),10),b="TRWAGMYFPDXBNJZSQVHLCKE"[b%23],b+""===a.substr(8,1);if(-1!=="ABCDEFGHJNPQRSUVW".indexOf(c)){for(var d=0,e=[2,1,2,1,2,1,2],f=0,g=0;7>g;g++)f=parseInt(a.charAt(g+1),10)*e[g],f>9&&(f=Math.floor(f/10)+f%10),d+=f;return d=10-d%10,10===d&&(d=0),d+""===a.substr(8,1)||"JABCDEFGHI"[d]===a.substr(8,1)}return!1},e=a.charAt(0);return/^[0-9]$/.test(e)?b(a):/^[XYZ]$/.test(e)?c(a):d(a)},_fi:function(a){if(/^FI[0-9]{8}$/.test(a)&&(a=a.substr(2)),!/^[0-9]{8}$/.test(a))return!1;for(var b=0,c=[7,9,10,5,8,4,2,1],d=0;8>d;d++)b+=parseInt(a.charAt(d),10)*c[d];return b%11===0},_fr:function(a){if(/^FR[0-9A-Z]{2}[0-9]{9}$/.test(a)&&(a=a.substr(2)),!/^[0-9A-Z]{2}[0-9]{9}$/.test(a))return!1;if(!FormValidation.Helper.luhn(a.substr(2)))return!1;if(/^[0-9]{2}$/.test(a.substr(0,2)))return a.substr(0,2)===parseInt(a.substr(2)+"12",10)%97+"";var b,c="0123456789ABCDEFGHJKLMNPQRSTUVWXYZ";return b=/^[0-9]{1}$/.test(a.charAt(0))?24*c.indexOf(a.charAt(0))+c.indexOf(a.charAt(1))-10:34*c.indexOf(a.charAt(0))+c.indexOf(a.charAt(1))-100,(parseInt(a.substr(2),10)+1+Math.floor(b/11))%11===b%11},_gb:function(a){if((/^GB[0-9]{9}$/.test(a)||/^GB[0-9]{12}$/.test(a)||/^GBGD[0-9]{3}$/.test(a)||/^GBHA[0-9]{3}$/.test(a)||/^GB(GD|HA)8888[0-9]{5}$/.test(a))&&(a=a.substr(2)),!(/^[0-9]{9}$/.test(a)||/^[0-9]{12}$/.test(a)||/^GD[0-9]{3}$/.test(a)||/^HA[0-9]{3}$/.test(a)||/^(GD|HA)8888[0-9]{5}$/.test(a)))return!1;var b=a.length;if(5===b){var c=a.substr(0,2),d=parseInt(a.substr(2),10);return"GD"===c&&500>d||"HA"===c&&d>=500}if(11===b&&("GD8888"===a.substr(0,6)||"HA8888"===a.substr(0,6)))return"GD"===a.substr(0,2)&&parseInt(a.substr(6,3),10)>=500||"HA"===a.substr(0,2)&&parseInt(a.substr(6,3),10)<500?!1:parseInt(a.substr(6,3),10)%97===parseInt(a.substr(9,2),10);if(9===b||12===b){for(var e=0,f=[8,7,6,5,4,3,2,10,1],g=0;9>g;g++)e+=parseInt(a.charAt(g),10)*f[g];return e%=97,parseInt(a.substr(0,3),10)>=100?0===e||42===e||55===e:0===e}return!0},_gr:function(a){if(/^(GR|EL)[0-9]{9}$/.test(a)&&(a=a.substr(2)),!/^[0-9]{9}$/.test(a))return!1;8===a.length&&(a="0"+a);for(var b=0,c=[256,128,64,32,16,8,4,2],d=0;8>d;d++)b+=parseInt(a.charAt(d),10)*c[d];return b=b%11%10,b+""===a.substr(8,1)},_el:function(a){return this._gr(a)},_hu:function(a){if(/^HU[0-9]{8}$/.test(a)&&(a=a.substr(2)),!/^[0-9]{8}$/.test(a))return!1;for(var b=0,c=[9,7,3,1,9,7,3,1],d=0;8>d;d++)b+=parseInt(a.charAt(d),10)*c[d];return b%10===0},_hr:function(a){return/^HR[0-9]{11}$/.test(a)&&(a=a.substr(2)),/^[0-9]{11}$/.test(a)?FormValidation.Helper.mod11And10(a):!1},_ie:function(a){if(/^IE[0-9]{1}[0-9A-Z\*\+]{1}[0-9]{5}[A-Z]{1,2}$/.test(a)&&(a=a.substr(2)),!/^[0-9]{1}[0-9A-Z\*\+]{1}[0-9]{5}[A-Z]{1,2}$/.test(a))return!1;var b=function(a){for(;a.length<7;)a="0"+a;for(var b="WABCDEFGHIJKLMNOPQRSTUV",c=0,d=0;7>d;d++)c+=parseInt(a.charAt(d),10)*(8-d);return c+=9*b.indexOf(a.substr(7)),b[c%23]};return/^[0-9]+$/.test(a.substr(0,7))?a.charAt(7)===b(a.substr(0,7)+a.substr(8)+""):-1!=="ABCDEFGHIJKLMNOPQRSTUVWXYZ+*".indexOf(a.charAt(1))?a.charAt(7)===b(a.substr(2,5)+a.substr(0,1)+""):!0},_is:function(a){return/^IS[0-9]{5,6}$/.test(a)&&(a=a.substr(2)),/^[0-9]{5,6}$/.test(a)},_it:function(a){if(/^IT[0-9]{11}$/.test(a)&&(a=a.substr(2)),!/^[0-9]{11}$/.test(a))return!1;if(0===parseInt(a.substr(0,7),10))return!1;var b=parseInt(a.substr(7,3),10);return 1>b||b>201&&999!==b&&888!==b?!1:FormValidation.Helper.luhn(a)},_lt:function(a){if(/^LT([0-9]{7}1[0-9]{1}|[0-9]{10}1[0-9]{1})$/.test(a)&&(a=a.substr(2)),!/^([0-9]{7}1[0-9]{1}|[0-9]{10}1[0-9]{1})$/.test(a))return!1;var b,c=a.length,d=0;for(b=0;c-1>b;b++)d+=parseInt(a.charAt(b),10)*(1+b%9);var e=d%11;if(10===e)for(d=0,b=0;c-1>b;b++)d+=parseInt(a.charAt(b),10)*(1+(b+2)%9);return e=e%11%10,e+""===a.charAt(c-1)},_lu:function(a){return/^LU[0-9]{8}$/.test(a)&&(a=a.substr(2)),/^[0-9]{8}$/.test(a)?parseInt(a.substr(0,6),10)%89+""===a.substr(6,2):!1},_lv:function(a){if(/^LV[0-9]{11}$/.test(a)&&(a=a.substr(2)),!/^[0-9]{11}$/.test(a))return!1;var b,c=parseInt(a.charAt(0),10),d=0,e=[],f=a.length;if(c>3){for(d=0,e=[9,1,4,8,3,10,2,5,7,6,1],b=0;f>b;b++)d+=parseInt(a.charAt(b),10)*e[b];return d%=11,3===d}var g=parseInt(a.substr(0,2),10),h=parseInt(a.substr(2,2),10),i=parseInt(a.substr(4,2),10);if(i=i+1800+100*parseInt(a.charAt(6),10),!FormValidation.Helper.date(i,h,g))return!1;for(d=0,e=[10,5,8,4,2,1,6,3,7,9],b=0;f-1>b;b++)d+=parseInt(a.charAt(b),10)*e[b];return d=(d+1)%11%10,d+""===a.charAt(f-1)},_mt:function(a){if(/^MT[0-9]{8}$/.test(a)&&(a=a.substr(2)),!/^[0-9]{8}$/.test(a))return!1;for(var b=0,c=[3,4,6,7,8,9,10,1],d=0;8>d;d++)b+=parseInt(a.charAt(d),10)*c[d];return b%37===0},_nl:function(a){if(/^NL[0-9]{9}B[0-9]{2}$/.test(a)&&(a=a.substr(2)),!/^[0-9]{9}B[0-9]{2}$/.test(a))return!1;for(var b=0,c=[9,8,7,6,5,4,3,2],d=0;8>d;d++)b+=parseInt(a.charAt(d),10)*c[d];return b%=11,b>9&&(b=0),b+""===a.substr(8,1)},_no:function(a){if(/^NO[0-9]{9}$/.test(a)&&(a=a.substr(2)),!/^[0-9]{9}$/.test(a))return!1;for(var b=0,c=[3,2,7,6,5,4,3,2],d=0;8>d;d++)b+=parseInt(a.charAt(d),10)*c[d];return b=11-b%11,11===b&&(b=0),b+""===a.substr(8,1)},_pl:function(a){if(/^PL[0-9]{10}$/.test(a)&&(a=a.substr(2)),!/^[0-9]{10}$/.test(a))return!1;for(var b=0,c=[6,5,7,2,3,4,5,6,7,-1],d=0;10>d;d++)b+=parseInt(a.charAt(d),10)*c[d];return b%11===0},_pt:function(a){if(/^PT[0-9]{9}$/.test(a)&&(a=a.substr(2)),!/^[0-9]{9}$/.test(a))return!1;for(var b=0,c=[9,8,7,6,5,4,3,2],d=0;8>d;d++)b+=parseInt(a.charAt(d),10)*c[d];return b=11-b%11,b>9&&(b=0),b+""===a.substr(8,1)},_ro:function(a){if(/^RO[1-9][0-9]{1,9}$/.test(a)&&(a=a.substr(2)),!/^[1-9][0-9]{1,9}$/.test(a))return!1;for(var b=a.length,c=[7,5,3,2,1,7,5,3,2].slice(10-b),d=0,e=0;b-1>e;e++)d+=parseInt(a.charAt(e),10)*c[e];return d=10*d%11%10,d+""===a.substr(b-1,1)},_ru:function(a){if(/^RU([0-9]{10}|[0-9]{12})$/.test(a)&&(a=a.substr(2)),!/^([0-9]{10}|[0-9]{12})$/.test(a))return!1;var b=0;if(10===a.length){var c=0,d=[2,4,10,3,5,9,4,6,8,0];for(b=0;10>b;b++)c+=parseInt(a.charAt(b),10)*d[b];return c%=11,c>9&&(c%=10),c+""===a.substr(9,1)}if(12===a.length){var e=0,f=[7,2,4,10,3,5,9,4,6,8,0],g=0,h=[3,7,2,4,10,3,5,9,4,6,8,0];for(b=0;11>b;b++)e+=parseInt(a.charAt(b),10)*f[b],g+=parseInt(a.charAt(b),10)*h[b];return e%=11,e>9&&(e%=10),g%=11,g>9&&(g%=10),e+""===a.substr(10,1)&&g+""===a.substr(11,1)}return!1},_rs:function(a){if(/^RS[0-9]{9}$/.test(a)&&(a=a.substr(2)),!/^[0-9]{9}$/.test(a))return!1;for(var b=10,c=0,d=0;8>d;d++)c=(parseInt(a.charAt(d),10)+b)%10,0===c&&(c=10),b=2*c%11;return(b+parseInt(a.substr(8,1),10))%10===1},_se:function(a){return/^SE[0-9]{10}01$/.test(a)&&(a=a.substr(2)),/^[0-9]{10}01$/.test(a)?(a=a.substr(0,10),FormValidation.Helper.luhn(a)):!1},_si:function(a){var b=a.match(/^(SI)?([1-9][0-9]{7})$/);if(!b)return!1;b[1]&&(a=a.substr(2));for(var c=0,d=[8,7,6,5,4,3,2],e=0;7>e;e++)c+=parseInt(a.charAt(e),10)*d[e];return c=11-c%11,10===c&&(c=0),c+""===a.substr(7,1)},_sk:function(a){return/^SK[1-9][0-9][(2-4)|(6-9)][0-9]{7}$/.test(a)&&(a=a.substr(2)),/^[1-9][0-9][(2-4)|(6-9)][0-9]{7}$/.test(a)?parseInt(a,10)%11===0:!1},_ve:function(a){if(/^VE[VEJPG][0-9]{9}$/.test(a)&&(a=a.substr(2)),!/^[VEJPG][0-9]{9}$/.test(a))return!1;for(var b={V:4,E:8,J:12,P:16,G:20},c=b[a.charAt(0)],d=[3,2,7,6,5,4,3,2],e=0;8>e;e++)c+=parseInt(a.charAt(e+1),10)*d[e];return c=11-c%11,(11===c||10===c)&&(c=0),c+""===a.substr(9,1)},_za:function(a){return/^ZA4[0-9]{9}$/.test(a)&&(a=a.substr(2)),/^4[0-9]{9}$/.test(a)}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{vin:{"default":"Please enter a valid VIN number"}}}),FormValidation.Validator.vin={validate:function(a,b){var c=a.getFieldValue(b,"vin");if(""===c)return!0;if(!/^[a-hj-npr-z0-9]{8}[0-9xX][a-hj-npr-z0-9]{8}$/i.test(c))return!1;c=c.toUpperCase();for(var d={A:1,B:2,C:3,D:4,E:5,F:6,G:7,H:8,J:1,K:2,L:3,M:4,N:5,P:7,R:9,S:2,T:3,U:4,V:5,W:6,X:7,Y:8,Z:9,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,0:0},e=[8,7,6,5,4,3,2,10,0,9,8,7,6,5,4,3,2],f=0,g=c.length,h=0;g>h;h++)f+=d[c.charAt(h)+""]*e[h];var i=f%11;return 10===i&&(i="X"),i+""===c.charAt(8)}}}(jQuery),function(a){FormValidation.I18n=a.extend(!0,FormValidation.I18n||{},{en_US:{zipCode:{"default":"Please enter a valid postal code",country:"Please enter a valid postal code in %s",countries:{AT:"Austria",BG:"Bulgaria",BR:"Brazil",CA:"Canada",CH:"Switzerland",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",ES:"Spain",FR:"France",GB:"United Kingdom",IE:"Ireland",IN:"India",IT:"Italy",MA:"Morocco",NL:"Netherlands",PL:"Poland",PT:"Portugal",RO:"Romania",RU:"Russia",SE:"Sweden",SG:"Singapore",SK:"Slovakia",US:"USA"}}}}),FormValidation.Validator.zipCode={html5Attributes:{message:"message",country:"country"},COUNTRY_CODES:["AT","BG","BR","CA","CH","CZ","DE","DK","ES","FR","GB","IE","IN","IT","MA","NL","PL","PT","RO","RU","SE","SG","SK","US"],validate:function(b,c,d){var e=b.getFieldValue(c,"zipCode");if(""===e||!d.country)return!0;var f=b.getLocale(),g=d.country;if(("string"!=typeof g||-1===a.inArray(g,this.COUNTRY_CODES))&&(g=b.getDynamicOption(c,g)),!g||-1===a.inArray(g.toUpperCase(),this.COUNTRY_CODES))return!0;var h=!1;switch(g=g.toUpperCase()){case"AT":h=/^([1-9]{1})(\d{3})$/.test(e);break;case"BG":h=/^([1-9]{1}[0-9]{3})$/.test(a.trim(e));break;case"BR":h=/^(\d{2})([\.]?)(\d{3})([\-]?)(\d{3})$/.test(e);break;case"CA":h=/^(?:A|B|C|E|G|H|J|K|L|M|N|P|R|S|T|V|X|Y){1}[0-9]{1}(?:A|B|C|E|G|H|J|K|L|M|N|P|R|S|T|V|W|X|Y|Z){1}\s?[0-9]{1}(?:A|B|C|E|G|H|J|K|L|M|N|P|R|S|T|V|W|X|Y|Z){1}[0-9]{1}$/i.test(e);break;case"CH":h=/^([1-9]{1})(\d{3})$/.test(e);break;case"CZ":h=/^(\d{3})([ ]?)(\d{2})$/.test(e);break;case"DE":h=/^(?!01000|99999)(0[1-9]\d{3}|[1-9]\d{4})$/.test(e);break;case"DK":h=/^(DK(-|\s)?)?\d{4}$/i.test(e);break;case"ES":h=/^(?:0[1-9]|[1-4][0-9]|5[0-2])\d{3}$/.test(e);break;case"FR":h=/^[0-9]{5}$/i.test(e);break;case"GB":h=this._gb(e);break;case"IN":h=/^\d{3}\s?\d{3}$/.test(e);break;case"IE":h=/^(D6W|[ACDEFHKNPRTVWXY]\d{2})\s[0-9ACDEFHKNPRTVWXY]{4}$/.test(e);break;case"IT":h=/^(I-|IT-)?\d{5}$/i.test(e);break;case"MA":h=/^[1-9][0-9]{4}$/i.test(e);break;case"NL":h=/^[1-9][0-9]{3} ?(?!sa|sd|ss)[a-z]{2}$/i.test(e);break;case"PL":h=/^[0-9]{2}\-[0-9]{3}$/.test(e);break;case"PT":h=/^[1-9]\d{3}-\d{3}$/.test(e);break;case"RO":h=/^(0[1-8]{1}|[1-9]{1}[0-5]{1})?[0-9]{4}$/i.test(e);break;case"RU":h=/^[0-9]{6}$/i.test(e);break;case"SE":h=/^(S-)?\d{3}\s?\d{2}$/i.test(e);break;case"SG":h=/^([0][1-9]|[1-6][0-9]|[7]([0-3]|[5-9])|[8][0-2])(\d{4})$/i.test(e);break;case"SK":h=/^(\d{3})([ ]?)(\d{2})$/.test(e);break;case"US":default:h=/^\d{4,5}([\-]?\d{4})?$/.test(e)}return{valid:h,message:FormValidation.Helper.format(d.message||FormValidation.I18n[f].zipCode.country,FormValidation.I18n[f].zipCode.countries[g])}},_gb:function(a){for(var b="[ABCDEFGHIJKLMNOPRSTUWYZ]",c="[ABCDEFGHKLMNOPQRSTUVWXY]",d="[ABCDEFGHJKPMNRSTUVWXY]",e="[ABEHMNPRVWXY]",f="[ABDEFGHJLNPQRSTUWXYZ]",g=[new RegExp("^("+b+"{1}"+c+"?[0-9]{1,2})(\\s*)([0-9]{1}"+f+"{2})$","i"),new RegExp("^("+b+"{1}[0-9]{1}"+d+"{1})(\\s*)([0-9]{1}"+f+"{2})$","i"),new RegExp("^("+b+"{1}"+c+"{1}?[0-9]{1}"+e+"{1})(\\s*)([0-9]{1}"+f+"{2})$","i"),new RegExp("^(BF1)(\\s*)([0-6]{1}[ABDEFGHJLNPQRST]{1}[ABDEFGHJLNPQRSTUWZYZ]{1})$","i"),/^(GIR)(\s*)(0AA)$/i,/^(BFPO)(\s*)([0-9]{1,4})$/i,/^(BFPO)(\s*)(c\/o\s*[0-9]{1,3})$/i,/^([A-Z]{4})(\s*)(1ZZ)$/i,/^(AI-2640)$/i],h=0;h<g.length;h++)if(g[h].test(a))return!0;return!1}}}(jQuery); | |
| 0 | 14 | \ No newline at end of file | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/formvalidation/uikit.min.js
0 → 100644
| 1 | +/*! | |
| 2 | + * FormValidation (http://formvalidation.io) | |
| 3 | + * The best jQuery plugin to validate form fields. Support Bootstrap, Foundation, Pure, SemanticUI, UIKit and custom frameworks | |
| 4 | + * | |
| 5 | + * @version v0.6.2-dev, built on 2015-03-13 8:15:46 AM | |
| 6 | + * @author https://twitter.com/nghuuphuoc | |
| 7 | + * @copyright (c) 2013 - 2015 Nguyen Huu Phuoc | |
| 8 | + * @license http://formvalidation.io/license/ | |
| 9 | + */ | |
| 10 | +!function(a){FormValidation.Framework.Uikit=function(b,c){c=a.extend(!0,{button:{selector:'[type="submit"]',disabled:"disabled"},control:{valid:"uk-form-success",invalid:"uk-form-danger"},err:{clazz:"uk-text-danger",parent:"^.*(uk-form-controls|uk-width-[\\d+]-[\\d+]).*$"},icon:{valid:null,invalid:null,validating:null,feedback:"fv-control-feedback"},row:{selector:".uk-form-row",valid:"fv-has-success",invalid:"fv-has-error",feedback:"fv-has-feedback"}},c),FormValidation.Base.apply(this,[b,c])},FormValidation.Framework.Uikit.prototype=a.extend({},FormValidation.Base.prototype,{_fixIcon:function(a,b){var c=this._namespace,d=a.attr("type"),e=a.attr("data-"+c+"-field"),f=this.options.fields[e].row||this.options.row.selector,g=a.closest(f);if("checkbox"===d||"radio"===d){var h=a.parent();h.is("label")&&b.insertAfter(h)}0===g.find("label").length&&b.addClass("fv-icon-no-label")},_createTooltip:function(b,c){var d=b.data("fv.icon");d&&(d.data("tooltip")&&(d.data("tooltip").off(),d.removeData("tooltip")),d.attr("title",c).css({cursor:"pointer"}),new a.UIkit.tooltip(d))},_destroyTooltip:function(a){var b=a.data("fv.icon");if(b){var c=b.data("tooltip");c&&(c.hide(),c.off(),b.off("focus mouseenter").removeData("tooltip")),b.css({cursor:""})}},_hideTooltip:function(a){var b=a.data("fv.icon");if(b){var c=b.data("tooltip");c&&c.hide(),b.css({cursor:""})}},_showTooltip:function(a){var b=a.data("fv.icon");if(b){b.css({cursor:"pointer"});var c=b.data("tooltip");c&&c.show()}}})}(jQuery); | |
| 0 | 11 | \ No newline at end of file | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/formvalidation/zh_CN.js
0 → 100644
| 1 | +(function ($) { | |
| 2 | + /** | |
| 3 | + * Simplified Chinese language package | |
| 4 | + * Translated by @shamiao | |
| 5 | + */ | |
| 6 | + FormValidation.I18n = $.extend(true, FormValidation.I18n, { | |
| 7 | + 'zh_CN': { | |
| 8 | + base64: { | |
| 9 | + 'default': '请输入有效的Base64编码' | |
| 10 | + }, | |
| 11 | + between: { | |
| 12 | + 'default': '请输入在 %s 和 %s 之间的数值', | |
| 13 | + notInclusive: '请输入在 %s 和 %s 之间(不含两端)的数值' | |
| 14 | + }, | |
| 15 | + bic: { | |
| 16 | + 'default': '请输入有效的BIC商品编码' | |
| 17 | + }, | |
| 18 | + callback: { | |
| 19 | + 'default': '请输入有效的值' | |
| 20 | + }, | |
| 21 | + choice: { | |
| 22 | + 'default': '请输入有效的值', | |
| 23 | + less: '请至少选中 %s 个选项', | |
| 24 | + more: '最多只能选中 %s 个选项', | |
| 25 | + between: '请选择 %s 至 %s 个选项' | |
| 26 | + }, | |
| 27 | + color: { | |
| 28 | + 'default': '请输入有效的颜色值' | |
| 29 | + }, | |
| 30 | + creditCard: { | |
| 31 | + 'default': '请输入有效的信用卡号码' | |
| 32 | + }, | |
| 33 | + cusip: { | |
| 34 | + 'default': '请输入有效的美国CUSIP代码' | |
| 35 | + }, | |
| 36 | + cvv: { | |
| 37 | + 'default': '请输入有效的CVV代码' | |
| 38 | + }, | |
| 39 | + date: { | |
| 40 | + 'default': '请输入有效的日期', | |
| 41 | + min: '请输入 %s 或之后的日期', | |
| 42 | + max: '请输入 %s 或以前的日期', | |
| 43 | + range: '请输入 %s 和 %s 之间的日期' | |
| 44 | + }, | |
| 45 | + different: { | |
| 46 | + 'default': '请输入不同的值' | |
| 47 | + }, | |
| 48 | + digits: { | |
| 49 | + 'default': '请输入有效的数字' | |
| 50 | + }, | |
| 51 | + ean: { | |
| 52 | + 'default': '请输入有效的EAN商品编码' | |
| 53 | + }, | |
| 54 | + ein: { | |
| 55 | + 'default': '请输入有效的EIN商品编码' | |
| 56 | + }, | |
| 57 | + emailAddress: { | |
| 58 | + 'default': '请输入有效的邮件地址' | |
| 59 | + }, | |
| 60 | + file: { | |
| 61 | + 'default': '请选择有效的文件' | |
| 62 | + }, | |
| 63 | + greaterThan: { | |
| 64 | + 'default': '请输入大于等于 %s 的数值', | |
| 65 | + notInclusive: '请输入大于 %s 的数值' | |
| 66 | + }, | |
| 67 | + grid: { | |
| 68 | + 'default': '请输入有效的GRId编码' | |
| 69 | + }, | |
| 70 | + hex: { | |
| 71 | + 'default': '请输入有效的16进制数' | |
| 72 | + }, | |
| 73 | + iban: { | |
| 74 | + 'default': '请输入有效的IBAN(国际银行账户)号码', | |
| 75 | + country: '请输入有效的 %s 国家或地区的IBAN(国际银行账户)号码', | |
| 76 | + countries: { | |
| 77 | + AD: '安道尔', | |
| 78 | + AE: '阿联酋', | |
| 79 | + AL: '阿尔巴尼亚', | |
| 80 | + AO: '安哥拉', | |
| 81 | + AT: '奥地利', | |
| 82 | + AZ: '阿塞拜疆', | |
| 83 | + BA: '波斯尼亚和黑塞哥维那', | |
| 84 | + BE: '比利时', | |
| 85 | + BF: '布基纳法索', | |
| 86 | + BG: '保加利亚', | |
| 87 | + BH: '巴林', | |
| 88 | + BI: '布隆迪', | |
| 89 | + BJ: '贝宁', | |
| 90 | + BR: '巴西', | |
| 91 | + CH: '瑞士', | |
| 92 | + CI: '科特迪瓦', | |
| 93 | + CM: '喀麦隆', | |
| 94 | + CR: '哥斯达黎加', | |
| 95 | + CV: '佛得角', | |
| 96 | + CY: '塞浦路斯', | |
| 97 | + CZ: '捷克共和国', | |
| 98 | + DE: '德国', | |
| 99 | + DK: '丹麦', | |
| 100 | + DO: '多米尼加共和国', | |
| 101 | + DZ: '阿尔及利亚', | |
| 102 | + EE: '爱沙尼亚', | |
| 103 | + ES: '西班牙', | |
| 104 | + FI: '芬兰', | |
| 105 | + FO: '法罗群岛', | |
| 106 | + FR: '法国', | |
| 107 | + GB: '英国', | |
| 108 | + GE: '格鲁吉亚', | |
| 109 | + GI: '直布罗陀', | |
| 110 | + GL: '格陵兰岛', | |
| 111 | + GR: '希腊', | |
| 112 | + GT: '危地马拉', | |
| 113 | + HR: '克罗地亚', | |
| 114 | + HU: '匈牙利', | |
| 115 | + IE: '爱尔兰', | |
| 116 | + IL: '以色列', | |
| 117 | + IR: '伊朗', | |
| 118 | + IS: '冰岛', | |
| 119 | + IT: '意大利', | |
| 120 | + JO: '约旦', | |
| 121 | + KW: '科威特', | |
| 122 | + KZ: '哈萨克斯坦', | |
| 123 | + LB: '黎巴嫩', | |
| 124 | + LI: '列支敦士登', | |
| 125 | + LT: '立陶宛', | |
| 126 | + LU: '卢森堡', | |
| 127 | + LV: '拉脱维亚', | |
| 128 | + MC: '摩纳哥', | |
| 129 | + MD: '摩尔多瓦', | |
| 130 | + ME: '黑山', | |
| 131 | + MG: '马达加斯加', | |
| 132 | + MK: '马其顿', | |
| 133 | + ML: '马里', | |
| 134 | + MR: '毛里塔尼亚', | |
| 135 | + MT: '马耳他', | |
| 136 | + MU: '毛里求斯', | |
| 137 | + MZ: '莫桑比克', | |
| 138 | + NL: '荷兰', | |
| 139 | + NO: '挪威', | |
| 140 | + PK: '巴基斯坦', | |
| 141 | + PL: '波兰', | |
| 142 | + PS: '巴勒斯坦', | |
| 143 | + PT: '葡萄牙', | |
| 144 | + QA: '卡塔尔', | |
| 145 | + RO: '罗马尼亚', | |
| 146 | + RS: '塞尔维亚', | |
| 147 | + SA: '沙特阿拉伯', | |
| 148 | + SE: '瑞典', | |
| 149 | + SI: '斯洛文尼亚', | |
| 150 | + SK: '斯洛伐克', | |
| 151 | + SM: '圣马力诺', | |
| 152 | + SN: '塞内加尔', | |
| 153 | + TN: '突尼斯', | |
| 154 | + TR: '土耳其', | |
| 155 | + VG: '英属维尔京群岛' | |
| 156 | + } | |
| 157 | + }, | |
| 158 | + id: { | |
| 159 | + 'default': '请输入有效的身份证件号码', | |
| 160 | + country: '请输入有效的 %s 国家或地区的身份证件号码', | |
| 161 | + countries: { | |
| 162 | + BA: '波黑', | |
| 163 | + BG: '保加利亚', | |
| 164 | + BR: '巴西', | |
| 165 | + CH: '瑞士', | |
| 166 | + CL: '智利', | |
| 167 | + CN: '中国', | |
| 168 | + CZ: '捷克共和国', | |
| 169 | + DK: '丹麦', | |
| 170 | + EE: '爱沙尼亚', | |
| 171 | + ES: '西班牙', | |
| 172 | + FI: '芬兰', | |
| 173 | + HR: '克罗地亚', | |
| 174 | + IE: '爱尔兰', | |
| 175 | + IS: '冰岛', | |
| 176 | + LT: '立陶宛', | |
| 177 | + LV: '拉脱维亚', | |
| 178 | + ME: '黑山', | |
| 179 | + MK: '马其顿', | |
| 180 | + NL: '荷兰', | |
| 181 | + PL: '波兰', | |
| 182 | + RO: '罗马尼亚', | |
| 183 | + RS: '塞尔维亚', | |
| 184 | + SE: '瑞典', | |
| 185 | + SI: '斯洛文尼亚', | |
| 186 | + SK: '斯洛伐克', | |
| 187 | + SM: '圣马力诺', | |
| 188 | + TH: '泰国', | |
| 189 | + ZA: '南非' | |
| 190 | + } | |
| 191 | + }, | |
| 192 | + identical: { | |
| 193 | + 'default': '请输入相同的值' | |
| 194 | + }, | |
| 195 | + imei: { | |
| 196 | + 'default': '请输入有效的IMEI(手机串号)' | |
| 197 | + }, | |
| 198 | + imo: { | |
| 199 | + 'default': '请输入有效的国际海事组织(IMO)号码' | |
| 200 | + }, | |
| 201 | + integer: { | |
| 202 | + 'default': '请输入有效的整数值' | |
| 203 | + }, | |
| 204 | + ip: { | |
| 205 | + 'default': '请输入有效的IP地址', | |
| 206 | + ipv4: '请输入有效的IPv4地址', | |
| 207 | + ipv6: '请输入有效的IPv6地址' | |
| 208 | + }, | |
| 209 | + isbn: { | |
| 210 | + 'default': '请输入有效的ISBN(国际标准书号)' | |
| 211 | + }, | |
| 212 | + isin: { | |
| 213 | + 'default': '请输入有效的ISIN(国际证券编码)' | |
| 214 | + }, | |
| 215 | + ismn: { | |
| 216 | + 'default': '请输入有效的ISMN(印刷音乐作品编码)' | |
| 217 | + }, | |
| 218 | + issn: { | |
| 219 | + 'default': '请输入有效的ISSN(国际标准杂志书号)' | |
| 220 | + }, | |
| 221 | + lessThan: { | |
| 222 | + 'default': '请输入小于等于 %s 的数值', | |
| 223 | + notInclusive: '请输入小于 %s 的数值' | |
| 224 | + }, | |
| 225 | + mac: { | |
| 226 | + 'default': '请输入有效的MAC物理地址' | |
| 227 | + }, | |
| 228 | + meid: { | |
| 229 | + 'default': '请输入有效的MEID(移动设备识别码)' | |
| 230 | + }, | |
| 231 | + notEmpty: { | |
| 232 | + 'default': '请填写必填项目' | |
| 233 | + }, | |
| 234 | + numeric: { | |
| 235 | + 'default': '请输入有效的数值,允许小数' | |
| 236 | + }, | |
| 237 | + phone: { | |
| 238 | + 'default': '请输入有效的电话号码', | |
| 239 | + country: '请输入有效的 %s 国家或地区的电话号码', | |
| 240 | + countries: { | |
| 241 | + AE: '阿联酋', | |
| 242 | + BG: '保加利亚', | |
| 243 | + BR: '巴西', | |
| 244 | + CN: '中国', | |
| 245 | + CZ: '捷克共和国', | |
| 246 | + DE: '德国', | |
| 247 | + DK: '丹麦', | |
| 248 | + ES: '西班牙', | |
| 249 | + FR: '法国', | |
| 250 | + GB: '英国', | |
| 251 | + IN: '印度', | |
| 252 | + MA: '摩洛哥', | |
| 253 | + NL: '荷兰', | |
| 254 | + PK: '巴基斯坦', | |
| 255 | + RO: '罗马尼亚', | |
| 256 | + RU: '俄罗斯', | |
| 257 | + SK: '斯洛伐克', | |
| 258 | + TH: '泰国', | |
| 259 | + US: '美国', | |
| 260 | + VE: '委内瑞拉' | |
| 261 | + } | |
| 262 | + }, | |
| 263 | + regexp: { | |
| 264 | + 'default': '请输入符合正则表达式限制的值' | |
| 265 | + }, | |
| 266 | + remote: { | |
| 267 | + 'default': '请输入有效的值' | |
| 268 | + }, | |
| 269 | + rtn: { | |
| 270 | + 'default': '请输入有效的RTN号码' | |
| 271 | + }, | |
| 272 | + sedol: { | |
| 273 | + 'default': '请输入有效的SEDOL代码' | |
| 274 | + }, | |
| 275 | + siren: { | |
| 276 | + 'default': '请输入有效的SIREN号码' | |
| 277 | + }, | |
| 278 | + siret: { | |
| 279 | + 'default': '请输入有效的SIRET号码' | |
| 280 | + }, | |
| 281 | + step: { | |
| 282 | + 'default': '请输入在基础值上,增加 %s 的整数倍的数值' | |
| 283 | + }, | |
| 284 | + stringCase: { | |
| 285 | + 'default': '只能输入小写字母', | |
| 286 | + upper: '只能输入大写字母' | |
| 287 | + }, | |
| 288 | + stringLength: { | |
| 289 | + 'default': '请输入符合长度限制的值', | |
| 290 | + less: '最多只能输入 %s 个字符', | |
| 291 | + more: '需要输入至少 %s 个字符', | |
| 292 | + between: '请输入 %s 至 %s 个字符' | |
| 293 | + }, | |
| 294 | + uri: { | |
| 295 | + 'default': '请输入一个有效的URL地址' | |
| 296 | + }, | |
| 297 | + uuid: { | |
| 298 | + 'default': '请输入有效的UUID', | |
| 299 | + version: '请输入版本 %s 的UUID' | |
| 300 | + }, | |
| 301 | + vat: { | |
| 302 | + 'default': '请输入有效的VAT(税号)', | |
| 303 | + country: '请输入有效的 %s 国家或地区的VAT(税号)', | |
| 304 | + countries: { | |
| 305 | + AT: '奥地利', | |
| 306 | + BE: '比利时', | |
| 307 | + BG: '保加利亚', | |
| 308 | + BR: '巴西', | |
| 309 | + CH: '瑞士', | |
| 310 | + CY: '塞浦路斯', | |
| 311 | + CZ: '捷克共和国', | |
| 312 | + DE: '德国', | |
| 313 | + DK: '丹麦', | |
| 314 | + EE: '爱沙尼亚', | |
| 315 | + ES: '西班牙', | |
| 316 | + FI: '芬兰', | |
| 317 | + FR: '法语', | |
| 318 | + GB: '英国', | |
| 319 | + GR: '希腊', | |
| 320 | + EL: '希腊', | |
| 321 | + HU: '匈牙利', | |
| 322 | + HR: '克罗地亚', | |
| 323 | + IE: '爱尔兰', | |
| 324 | + IS: '冰岛', | |
| 325 | + IT: '意大利', | |
| 326 | + LT: '立陶宛', | |
| 327 | + LU: '卢森堡', | |
| 328 | + LV: '拉脱维亚', | |
| 329 | + MT: '马耳他', | |
| 330 | + NL: '荷兰', | |
| 331 | + NO: '挪威', | |
| 332 | + PL: '波兰', | |
| 333 | + PT: '葡萄牙', | |
| 334 | + RO: '罗马尼亚', | |
| 335 | + RU: '俄罗斯', | |
| 336 | + RS: '塞尔维亚', | |
| 337 | + SE: '瑞典', | |
| 338 | + SI: '斯洛文尼亚', | |
| 339 | + SK: '斯洛伐克', | |
| 340 | + VE: '委内瑞拉', | |
| 341 | + ZA: '南非' | |
| 342 | + } | |
| 343 | + }, | |
| 344 | + vin: { | |
| 345 | + 'default': '请输入有效的VIN(美国车辆识别号码)' | |
| 346 | + }, | |
| 347 | + zipCode: { | |
| 348 | + 'default': '请输入有效的邮政编码', | |
| 349 | + country: '请输入有效的 %s 国家或地区的邮政编码', | |
| 350 | + countries: { | |
| 351 | + AT: '奥地利', | |
| 352 | + BG: '保加利亚', | |
| 353 | + BR: '巴西', | |
| 354 | + CA: '加拿大', | |
| 355 | + CH: '瑞士', | |
| 356 | + CZ: '捷克共和国', | |
| 357 | + DE: '德国', | |
| 358 | + DK: '丹麦', | |
| 359 | + ES: '西班牙', | |
| 360 | + FR: '法国', | |
| 361 | + GB: '英国', | |
| 362 | + IE: '爱尔兰', | |
| 363 | + IN: '印度', | |
| 364 | + IT: '意大利', | |
| 365 | + MA: '摩洛哥', | |
| 366 | + NL: '荷兰', | |
| 367 | + PL: '波兰', | |
| 368 | + PT: '葡萄牙', | |
| 369 | + RO: '罗马尼亚', | |
| 370 | + RU: '俄罗斯', | |
| 371 | + SE: '瑞典', | |
| 372 | + SG: '新加坡', | |
| 373 | + SK: '斯洛伐克', | |
| 374 | + US: '美国' | |
| 375 | + } | |
| 376 | + } | |
| 377 | + } | |
| 378 | + }); | |
| 379 | +}(jQuery)); | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/core.js
0 → 100644
| 1 | +/*! | |
| 2 | + * jQuery UI Core 1.11.1 | |
| 3 | + * http://jqueryui.com | |
| 4 | + * | |
| 5 | + * Copyright 2014 jQuery Foundation and other contributors | |
| 6 | + * Released under the MIT license. | |
| 7 | + * http://jquery.org/license | |
| 8 | + * | |
| 9 | + * http://api.jqueryui.com/category/ui-core/ | |
| 10 | + */ | |
| 11 | +(function( factory ) { | |
| 12 | + if ( typeof define === "function" && define.amd ) { | |
| 13 | + | |
| 14 | + // AMD. Register as an anonymous module. | |
| 15 | + define( [ "jquery" ], factory ); | |
| 16 | + } else { | |
| 17 | + | |
| 18 | + // Browser globals | |
| 19 | + factory( jQuery ); | |
| 20 | + } | |
| 21 | +}(function( $ ) { | |
| 22 | + | |
| 23 | +// $.ui might exist from components with no dependencies, e.g., $.ui.position | |
| 24 | +$.ui = $.ui || {}; | |
| 25 | + | |
| 26 | +$.extend( $.ui, { | |
| 27 | + version: "1.11.1", | |
| 28 | + | |
| 29 | + keyCode: { | |
| 30 | + BACKSPACE: 8, | |
| 31 | + COMMA: 188, | |
| 32 | + DELETE: 46, | |
| 33 | + DOWN: 40, | |
| 34 | + END: 35, | |
| 35 | + ENTER: 13, | |
| 36 | + ESCAPE: 27, | |
| 37 | + HOME: 36, | |
| 38 | + LEFT: 37, | |
| 39 | + PAGE_DOWN: 34, | |
| 40 | + PAGE_UP: 33, | |
| 41 | + PERIOD: 190, | |
| 42 | + RIGHT: 39, | |
| 43 | + SPACE: 32, | |
| 44 | + TAB: 9, | |
| 45 | + UP: 38 | |
| 46 | + } | |
| 47 | +}); | |
| 48 | + | |
| 49 | +// plugins | |
| 50 | +$.fn.extend({ | |
| 51 | + scrollParent: function( includeHidden ) { | |
| 52 | + var position = this.css( "position" ), | |
| 53 | + excludeStaticParent = position === "absolute", | |
| 54 | + overflowRegex = includeHidden ? /(auto|scroll|hidden)/ : /(auto|scroll)/, | |
| 55 | + scrollParent = this.parents().filter( function() { | |
| 56 | + var parent = $( this ); | |
| 57 | + if ( excludeStaticParent && parent.css( "position" ) === "static" ) { | |
| 58 | + return false; | |
| 59 | + } | |
| 60 | + return overflowRegex.test( parent.css( "overflow" ) + parent.css( "overflow-y" ) + parent.css( "overflow-x" ) ); | |
| 61 | + }).eq( 0 ); | |
| 62 | + | |
| 63 | + return position === "fixed" || !scrollParent.length ? $( this[ 0 ].ownerDocument || document ) : scrollParent; | |
| 64 | + }, | |
| 65 | + | |
| 66 | + uniqueId: (function() { | |
| 67 | + var uuid = 0; | |
| 68 | + | |
| 69 | + return function() { | |
| 70 | + return this.each(function() { | |
| 71 | + if ( !this.id ) { | |
| 72 | + this.id = "ui-id-" + ( ++uuid ); | |
| 73 | + } | |
| 74 | + }); | |
| 75 | + }; | |
| 76 | + })(), | |
| 77 | + | |
| 78 | + removeUniqueId: function() { | |
| 79 | + return this.each(function() { | |
| 80 | + if ( /^ui-id-\d+$/.test( this.id ) ) { | |
| 81 | + $( this ).removeAttr( "id" ); | |
| 82 | + } | |
| 83 | + }); | |
| 84 | + } | |
| 85 | +}); | |
| 86 | + | |
| 87 | +// selectors | |
| 88 | +function focusable( element, isTabIndexNotNaN ) { | |
| 89 | + var map, mapName, img, | |
| 90 | + nodeName = element.nodeName.toLowerCase(); | |
| 91 | + if ( "area" === nodeName ) { | |
| 92 | + map = element.parentNode; | |
| 93 | + mapName = map.name; | |
| 94 | + if ( !element.href || !mapName || map.nodeName.toLowerCase() !== "map" ) { | |
| 95 | + return false; | |
| 96 | + } | |
| 97 | + img = $( "img[usemap='#" + mapName + "']" )[ 0 ]; | |
| 98 | + return !!img && visible( img ); | |
| 99 | + } | |
| 100 | + return ( /input|select|textarea|button|object/.test( nodeName ) ? | |
| 101 | + !element.disabled : | |
| 102 | + "a" === nodeName ? | |
| 103 | + element.href || isTabIndexNotNaN : | |
| 104 | + isTabIndexNotNaN) && | |
| 105 | + // the element and all of its ancestors must be visible | |
| 106 | + visible( element ); | |
| 107 | +} | |
| 108 | + | |
| 109 | +function visible( element ) { | |
| 110 | + return $.expr.filters.visible( element ) && | |
| 111 | + !$( element ).parents().addBack().filter(function() { | |
| 112 | + return $.css( this, "visibility" ) === "hidden"; | |
| 113 | + }).length; | |
| 114 | +} | |
| 115 | + | |
| 116 | +$.extend( $.expr[ ":" ], { | |
| 117 | + data: $.expr.createPseudo ? | |
| 118 | + $.expr.createPseudo(function( dataName ) { | |
| 119 | + return function( elem ) { | |
| 120 | + return !!$.data( elem, dataName ); | |
| 121 | + }; | |
| 122 | + }) : | |
| 123 | + // support: jQuery <1.8 | |
| 124 | + function( elem, i, match ) { | |
| 125 | + return !!$.data( elem, match[ 3 ] ); | |
| 126 | + }, | |
| 127 | + | |
| 128 | + focusable: function( element ) { | |
| 129 | + return focusable( element, !isNaN( $.attr( element, "tabindex" ) ) ); | |
| 130 | + }, | |
| 131 | + | |
| 132 | + tabbable: function( element ) { | |
| 133 | + var tabIndex = $.attr( element, "tabindex" ), | |
| 134 | + isTabIndexNaN = isNaN( tabIndex ); | |
| 135 | + return ( isTabIndexNaN || tabIndex >= 0 ) && focusable( element, !isTabIndexNaN ); | |
| 136 | + } | |
| 137 | +}); | |
| 138 | + | |
| 139 | +// support: jQuery <1.8 | |
| 140 | +if ( !$( "<a>" ).outerWidth( 1 ).jquery ) { | |
| 141 | + $.each( [ "Width", "Height" ], function( i, name ) { | |
| 142 | + var side = name === "Width" ? [ "Left", "Right" ] : [ "Top", "Bottom" ], | |
| 143 | + type = name.toLowerCase(), | |
| 144 | + orig = { | |
| 145 | + innerWidth: $.fn.innerWidth, | |
| 146 | + innerHeight: $.fn.innerHeight, | |
| 147 | + outerWidth: $.fn.outerWidth, | |
| 148 | + outerHeight: $.fn.outerHeight | |
| 149 | + }; | |
| 150 | + | |
| 151 | + function reduce( elem, size, border, margin ) { | |
| 152 | + $.each( side, function() { | |
| 153 | + size -= parseFloat( $.css( elem, "padding" + this ) ) || 0; | |
| 154 | + if ( border ) { | |
| 155 | + size -= parseFloat( $.css( elem, "border" + this + "Width" ) ) || 0; | |
| 156 | + } | |
| 157 | + if ( margin ) { | |
| 158 | + size -= parseFloat( $.css( elem, "margin" + this ) ) || 0; | |
| 159 | + } | |
| 160 | + }); | |
| 161 | + return size; | |
| 162 | + } | |
| 163 | + | |
| 164 | + $.fn[ "inner" + name ] = function( size ) { | |
| 165 | + if ( size === undefined ) { | |
| 166 | + return orig[ "inner" + name ].call( this ); | |
| 167 | + } | |
| 168 | + | |
| 169 | + return this.each(function() { | |
| 170 | + $( this ).css( type, reduce( this, size ) + "px" ); | |
| 171 | + }); | |
| 172 | + }; | |
| 173 | + | |
| 174 | + $.fn[ "outer" + name] = function( size, margin ) { | |
| 175 | + if ( typeof size !== "number" ) { | |
| 176 | + return orig[ "outer" + name ].call( this, size ); | |
| 177 | + } | |
| 178 | + | |
| 179 | + return this.each(function() { | |
| 180 | + $( this).css( type, reduce( this, size, true, margin ) + "px" ); | |
| 181 | + }); | |
| 182 | + }; | |
| 183 | + }); | |
| 184 | +} | |
| 185 | + | |
| 186 | +// support: jQuery <1.8 | |
| 187 | +if ( !$.fn.addBack ) { | |
| 188 | + $.fn.addBack = function( selector ) { | |
| 189 | + return this.add( selector == null ? | |
| 190 | + this.prevObject : this.prevObject.filter( selector ) | |
| 191 | + ); | |
| 192 | + }; | |
| 193 | +} | |
| 194 | + | |
| 195 | +// support: jQuery 1.6.1, 1.6.2 (http://bugs.jquery.com/ticket/9413) | |
| 196 | +if ( $( "<a>" ).data( "a-b", "a" ).removeData( "a-b" ).data( "a-b" ) ) { | |
| 197 | + $.fn.removeData = (function( removeData ) { | |
| 198 | + return function( key ) { | |
| 199 | + if ( arguments.length ) { | |
| 200 | + return removeData.call( this, $.camelCase( key ) ); | |
| 201 | + } else { | |
| 202 | + return removeData.call( this ); | |
| 203 | + } | |
| 204 | + }; | |
| 205 | + })( $.fn.removeData ); | |
| 206 | +} | |
| 207 | + | |
| 208 | +// deprecated | |
| 209 | +$.ui.ie = !!/msie [\w.]+/.exec( navigator.userAgent.toLowerCase() ); | |
| 210 | + | |
| 211 | +$.fn.extend({ | |
| 212 | + focus: (function( orig ) { | |
| 213 | + return function( delay, fn ) { | |
| 214 | + return typeof delay === "number" ? | |
| 215 | + this.each(function() { | |
| 216 | + var elem = this; | |
| 217 | + setTimeout(function() { | |
| 218 | + $( elem ).focus(); | |
| 219 | + if ( fn ) { | |
| 220 | + fn.call( elem ); | |
| 221 | + } | |
| 222 | + }, delay ); | |
| 223 | + }) : | |
| 224 | + orig.apply( this, arguments ); | |
| 225 | + }; | |
| 226 | + })( $.fn.focus ), | |
| 227 | + | |
| 228 | + disableSelection: (function() { | |
| 229 | + var eventType = "onselectstart" in document.createElement( "div" ) ? | |
| 230 | + "selectstart" : | |
| 231 | + "mousedown"; | |
| 232 | + | |
| 233 | + return function() { | |
| 234 | + return this.bind( eventType + ".ui-disableSelection", function( event ) { | |
| 235 | + event.preventDefault(); | |
| 236 | + }); | |
| 237 | + }; | |
| 238 | + })(), | |
| 239 | + | |
| 240 | + enableSelection: function() { | |
| 241 | + return this.unbind( ".ui-disableSelection" ); | |
| 242 | + }, | |
| 243 | + | |
| 244 | + zIndex: function( zIndex ) { | |
| 245 | + if ( zIndex !== undefined ) { | |
| 246 | + return this.css( "zIndex", zIndex ); | |
| 247 | + } | |
| 248 | + | |
| 249 | + if ( this.length ) { | |
| 250 | + var elem = $( this[ 0 ] ), position, value; | |
| 251 | + while ( elem.length && elem[ 0 ] !== document ) { | |
| 252 | + // Ignore z-index if position is set to a value where z-index is ignored by the browser | |
| 253 | + // This makes behavior of this function consistent across browsers | |
| 254 | + // WebKit always returns auto if the element is positioned | |
| 255 | + position = elem.css( "position" ); | |
| 256 | + if ( position === "absolute" || position === "relative" || position === "fixed" ) { | |
| 257 | + // IE returns 0 when zIndex is not specified | |
| 258 | + // other browsers return a string | |
| 259 | + // we ignore the case of nested elements with an explicit value of 0 | |
| 260 | + // <div style="z-index: -10;"><div style="z-index: 0;"></div></div> | |
| 261 | + value = parseInt( elem.css( "zIndex" ), 10 ); | |
| 262 | + if ( !isNaN( value ) && value !== 0 ) { | |
| 263 | + return value; | |
| 264 | + } | |
| 265 | + } | |
| 266 | + elem = elem.parent(); | |
| 267 | + } | |
| 268 | + } | |
| 269 | + | |
| 270 | + return 0; | |
| 271 | + } | |
| 272 | +}); | |
| 273 | + | |
| 274 | +// $.ui.plugin is deprecated. Use $.widget() extensions instead. | |
| 275 | +$.ui.plugin = { | |
| 276 | + add: function( module, option, set ) { | |
| 277 | + var i, | |
| 278 | + proto = $.ui[ module ].prototype; | |
| 279 | + for ( i in set ) { | |
| 280 | + proto.plugins[ i ] = proto.plugins[ i ] || []; | |
| 281 | + proto.plugins[ i ].push( [ option, set[ i ] ] ); | |
| 282 | + } | |
| 283 | + }, | |
| 284 | + call: function( instance, name, args, allowDisconnected ) { | |
| 285 | + var i, | |
| 286 | + set = instance.plugins[ name ]; | |
| 287 | + | |
| 288 | + if ( !set ) { | |
| 289 | + return; | |
| 290 | + } | |
| 291 | + | |
| 292 | + if ( !allowDisconnected && ( !instance.element[ 0 ].parentNode || instance.element[ 0 ].parentNode.nodeType === 11 ) ) { | |
| 293 | + return; | |
| 294 | + } | |
| 295 | + | |
| 296 | + for ( i = 0; i < set.length; i++ ) { | |
| 297 | + if ( instance.options[ set[ i ][ 0 ] ] ) { | |
| 298 | + set[ i ][ 1 ].apply( instance.element, args ); | |
| 299 | + } | |
| 300 | + } | |
| 301 | + } | |
| 302 | +}; | |
| 303 | + | |
| 304 | +})); | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/mouse.js
0 → 100644
| 1 | +/*! | |
| 2 | + * jQuery UI Mouse 1.11.1 | |
| 3 | + * http://jqueryui.com | |
| 4 | + * | |
| 5 | + * Copyright 2014 jQuery Foundation and other contributors | |
| 6 | + * Released under the MIT license. | |
| 7 | + * http://jquery.org/license | |
| 8 | + * | |
| 9 | + * http://api.jqueryui.com/mouse/ | |
| 10 | + */ | |
| 11 | +(function( factory ) { | |
| 12 | + if ( typeof define === "function" && define.amd ) { | |
| 13 | + | |
| 14 | + // AMD. Register as an anonymous module. | |
| 15 | + define([ | |
| 16 | + "jquery", | |
| 17 | + "./widget" | |
| 18 | + ], factory ); | |
| 19 | + } else { | |
| 20 | + | |
| 21 | + // Browser globals | |
| 22 | + factory( jQuery ); | |
| 23 | + } | |
| 24 | +}(function( $ ) { | |
| 25 | + | |
| 26 | +var mouseHandled = false; | |
| 27 | +$( document ).mouseup( function() { | |
| 28 | + mouseHandled = false; | |
| 29 | +}); | |
| 30 | + | |
| 31 | +return $.widget("ui.mouse", { | |
| 32 | + version: "1.11.1", | |
| 33 | + options: { | |
| 34 | + cancel: "input,textarea,button,select,option", | |
| 35 | + distance: 1, | |
| 36 | + delay: 0 | |
| 37 | + }, | |
| 38 | + _mouseInit: function() { | |
| 39 | + var that = this; | |
| 40 | + | |
| 41 | + this.element | |
| 42 | + .bind("mousedown." + this.widgetName, function(event) { | |
| 43 | + return that._mouseDown(event); | |
| 44 | + }) | |
| 45 | + .bind("click." + this.widgetName, function(event) { | |
| 46 | + if (true === $.data(event.target, that.widgetName + ".preventClickEvent")) { | |
| 47 | + $.removeData(event.target, that.widgetName + ".preventClickEvent"); | |
| 48 | + event.stopImmediatePropagation(); | |
| 49 | + return false; | |
| 50 | + } | |
| 51 | + }); | |
| 52 | + | |
| 53 | + this.started = false; | |
| 54 | + }, | |
| 55 | + | |
| 56 | + // TODO: make sure destroying one instance of mouse doesn't mess with | |
| 57 | + // other instances of mouse | |
| 58 | + _mouseDestroy: function() { | |
| 59 | + this.element.unbind("." + this.widgetName); | |
| 60 | + if ( this._mouseMoveDelegate ) { | |
| 61 | + this.document | |
| 62 | + .unbind("mousemove." + this.widgetName, this._mouseMoveDelegate) | |
| 63 | + .unbind("mouseup." + this.widgetName, this._mouseUpDelegate); | |
| 64 | + } | |
| 65 | + }, | |
| 66 | + | |
| 67 | + _mouseDown: function(event) { | |
| 68 | + // don't let more than one widget handle mouseStart | |
| 69 | + if ( mouseHandled ) { | |
| 70 | + return; | |
| 71 | + } | |
| 72 | + | |
| 73 | + // we may have missed mouseup (out of window) | |
| 74 | + (this._mouseStarted && this._mouseUp(event)); | |
| 75 | + | |
| 76 | + this._mouseDownEvent = event; | |
| 77 | + | |
| 78 | + var that = this, | |
| 79 | + btnIsLeft = (event.which === 1), | |
| 80 | + // event.target.nodeName works around a bug in IE 8 with | |
| 81 | + // disabled inputs (#7620) | |
| 82 | + elIsCancel = (typeof this.options.cancel === "string" && event.target.nodeName ? $(event.target).closest(this.options.cancel).length : false); | |
| 83 | + if (!btnIsLeft || elIsCancel || !this._mouseCapture(event)) { | |
| 84 | + return true; | |
| 85 | + } | |
| 86 | + | |
| 87 | + this.mouseDelayMet = !this.options.delay; | |
| 88 | + if (!this.mouseDelayMet) { | |
| 89 | + this._mouseDelayTimer = setTimeout(function() { | |
| 90 | + that.mouseDelayMet = true; | |
| 91 | + }, this.options.delay); | |
| 92 | + } | |
| 93 | + | |
| 94 | + if (this._mouseDistanceMet(event) && this._mouseDelayMet(event)) { | |
| 95 | + this._mouseStarted = (this._mouseStart(event) !== false); | |
| 96 | + if (!this._mouseStarted) { | |
| 97 | + event.preventDefault(); | |
| 98 | + return true; | |
| 99 | + } | |
| 100 | + } | |
| 101 | + | |
| 102 | + // Click event may never have fired (Gecko & Opera) | |
| 103 | + if (true === $.data(event.target, this.widgetName + ".preventClickEvent")) { | |
| 104 | + $.removeData(event.target, this.widgetName + ".preventClickEvent"); | |
| 105 | + } | |
| 106 | + | |
| 107 | + // these delegates are required to keep context | |
| 108 | + this._mouseMoveDelegate = function(event) { | |
| 109 | + return that._mouseMove(event); | |
| 110 | + }; | |
| 111 | + this._mouseUpDelegate = function(event) { | |
| 112 | + return that._mouseUp(event); | |
| 113 | + }; | |
| 114 | + | |
| 115 | + this.document | |
| 116 | + .bind( "mousemove." + this.widgetName, this._mouseMoveDelegate ) | |
| 117 | + .bind( "mouseup." + this.widgetName, this._mouseUpDelegate ); | |
| 118 | + | |
| 119 | + event.preventDefault(); | |
| 120 | + | |
| 121 | + mouseHandled = true; | |
| 122 | + return true; | |
| 123 | + }, | |
| 124 | + | |
| 125 | + _mouseMove: function(event) { | |
| 126 | + // IE mouseup check - mouseup happened when mouse was out of window | |
| 127 | + if ($.ui.ie && ( !document.documentMode || document.documentMode < 9 ) && !event.button) { | |
| 128 | + return this._mouseUp(event); | |
| 129 | + | |
| 130 | + // Iframe mouseup check - mouseup occurred in another document | |
| 131 | + } else if ( !event.which ) { | |
| 132 | + return this._mouseUp( event ); | |
| 133 | + } | |
| 134 | + | |
| 135 | + if (this._mouseStarted) { | |
| 136 | + this._mouseDrag(event); | |
| 137 | + return event.preventDefault(); | |
| 138 | + } | |
| 139 | + | |
| 140 | + if (this._mouseDistanceMet(event) && this._mouseDelayMet(event)) { | |
| 141 | + this._mouseStarted = | |
| 142 | + (this._mouseStart(this._mouseDownEvent, event) !== false); | |
| 143 | + (this._mouseStarted ? this._mouseDrag(event) : this._mouseUp(event)); | |
| 144 | + } | |
| 145 | + | |
| 146 | + return !this._mouseStarted; | |
| 147 | + }, | |
| 148 | + | |
| 149 | + _mouseUp: function(event) { | |
| 150 | + this.document | |
| 151 | + .unbind( "mousemove." + this.widgetName, this._mouseMoveDelegate ) | |
| 152 | + .unbind( "mouseup." + this.widgetName, this._mouseUpDelegate ); | |
| 153 | + | |
| 154 | + if (this._mouseStarted) { | |
| 155 | + this._mouseStarted = false; | |
| 156 | + | |
| 157 | + if (event.target === this._mouseDownEvent.target) { | |
| 158 | + $.data(event.target, this.widgetName + ".preventClickEvent", true); | |
| 159 | + } | |
| 160 | + | |
| 161 | + this._mouseStop(event); | |
| 162 | + } | |
| 163 | + | |
| 164 | + mouseHandled = false; | |
| 165 | + return false; | |
| 166 | + }, | |
| 167 | + | |
| 168 | + _mouseDistanceMet: function(event) { | |
| 169 | + return (Math.max( | |
| 170 | + Math.abs(this._mouseDownEvent.pageX - event.pageX), | |
| 171 | + Math.abs(this._mouseDownEvent.pageY - event.pageY) | |
| 172 | + ) >= this.options.distance | |
| 173 | + ); | |
| 174 | + }, | |
| 175 | + | |
| 176 | + _mouseDelayMet: function(/* event */) { | |
| 177 | + return this.mouseDelayMet; | |
| 178 | + }, | |
| 179 | + | |
| 180 | + // These are placeholder methods, to be overriden by extending plugin | |
| 181 | + _mouseStart: function(/* event */) {}, | |
| 182 | + _mouseDrag: function(/* event */) {}, | |
| 183 | + _mouseStop: function(/* event */) {}, | |
| 184 | + _mouseCapture: function(/* event */) { return true; } | |
| 185 | +}); | |
| 186 | + | |
| 187 | +})); | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/resizable.js
0 → 100644
| 1 | +/*! | |
| 2 | + * jQuery UI Resizable 1.11.1 | |
| 3 | + * http://jqueryui.com | |
| 4 | + * | |
| 5 | + * Copyright 2014 jQuery Foundation and other contributors | |
| 6 | + * Released under the MIT license. | |
| 7 | + * http://jquery.org/license | |
| 8 | + * | |
| 9 | + * http://api.jqueryui.com/resizable/ | |
| 10 | + */ | |
| 11 | +(function( factory ) { | |
| 12 | + if ( typeof define === "function" && define.amd ) { | |
| 13 | + | |
| 14 | + // AMD. Register as an anonymous module. | |
| 15 | + define([ | |
| 16 | + "jquery", | |
| 17 | + "./core", | |
| 18 | + "./mouse", | |
| 19 | + "./widget" | |
| 20 | + ], factory ); | |
| 21 | + } else { | |
| 22 | + | |
| 23 | + // Browser globals | |
| 24 | + factory( jQuery ); | |
| 25 | + } | |
| 26 | +}(function( $ ) { | |
| 27 | + | |
| 28 | +$.widget("ui.resizable", $.ui.mouse, { | |
| 29 | + version: "1.11.1", | |
| 30 | + widgetEventPrefix: "resize", | |
| 31 | + options: { | |
| 32 | + alsoResize: false, | |
| 33 | + animate: false, | |
| 34 | + animateDuration: "slow", | |
| 35 | + animateEasing: "swing", | |
| 36 | + aspectRatio: false, | |
| 37 | + autoHide: false, | |
| 38 | + containment: false, | |
| 39 | + ghost: false, | |
| 40 | + grid: false, | |
| 41 | + handles: "e,s,se", | |
| 42 | + helper: false, | |
| 43 | + maxHeight: null, | |
| 44 | + maxWidth: null, | |
| 45 | + minHeight: 10, | |
| 46 | + minWidth: 10, | |
| 47 | + // See #7960 | |
| 48 | + zIndex: 90, | |
| 49 | + | |
| 50 | + // callbacks | |
| 51 | + resize: null, | |
| 52 | + start: null, | |
| 53 | + stop: null | |
| 54 | + }, | |
| 55 | + | |
| 56 | + _num: function( value ) { | |
| 57 | + return parseInt( value, 10 ) || 0; | |
| 58 | + }, | |
| 59 | + | |
| 60 | + _isNumber: function( value ) { | |
| 61 | + return !isNaN( parseInt( value, 10 ) ); | |
| 62 | + }, | |
| 63 | + | |
| 64 | + _hasScroll: function( el, a ) { | |
| 65 | + | |
| 66 | + if ( $( el ).css( "overflow" ) === "hidden") { | |
| 67 | + return false; | |
| 68 | + } | |
| 69 | + | |
| 70 | + var scroll = ( a && a === "left" ) ? "scrollLeft" : "scrollTop", | |
| 71 | + has = false; | |
| 72 | + | |
| 73 | + if ( el[ scroll ] > 0 ) { | |
| 74 | + return true; | |
| 75 | + } | |
| 76 | + | |
| 77 | + // TODO: determine which cases actually cause this to happen | |
| 78 | + // if the element doesn't have the scroll set, see if it's possible to | |
| 79 | + // set the scroll | |
| 80 | + el[ scroll ] = 1; | |
| 81 | + has = ( el[ scroll ] > 0 ); | |
| 82 | + el[ scroll ] = 0; | |
| 83 | + return has; | |
| 84 | + }, | |
| 85 | + | |
| 86 | + _create: function() { | |
| 87 | + | |
| 88 | + var n, i, handle, axis, hname, | |
| 89 | + that = this, | |
| 90 | + o = this.options; | |
| 91 | + this.element.addClass("ui-resizable"); | |
| 92 | + | |
| 93 | + $.extend(this, { | |
| 94 | + _aspectRatio: !!(o.aspectRatio), | |
| 95 | + aspectRatio: o.aspectRatio, | |
| 96 | + originalElement: this.element, | |
| 97 | + _proportionallyResizeElements: [], | |
| 98 | + _helper: o.helper || o.ghost || o.animate ? o.helper || "ui-resizable-helper" : null | |
| 99 | + }); | |
| 100 | + | |
| 101 | + // Wrap the element if it cannot hold child nodes | |
| 102 | + if (this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)) { | |
| 103 | + | |
| 104 | + this.element.wrap( | |
| 105 | + $("<div class='ui-wrapper' style='overflow: hidden;'></div>").css({ | |
| 106 | + position: this.element.css("position"), | |
| 107 | + width: this.element.outerWidth(), | |
| 108 | + height: this.element.outerHeight(), | |
| 109 | + top: this.element.css("top"), | |
| 110 | + left: this.element.css("left") | |
| 111 | + }) | |
| 112 | + ); | |
| 113 | + | |
| 114 | + this.element = this.element.parent().data( | |
| 115 | + "ui-resizable", this.element.resizable( "instance" ) | |
| 116 | + ); | |
| 117 | + | |
| 118 | + this.elementIsWrapper = true; | |
| 119 | + | |
| 120 | + this.element.css({ | |
| 121 | + marginLeft: this.originalElement.css("marginLeft"), | |
| 122 | + marginTop: this.originalElement.css("marginTop"), | |
| 123 | + marginRight: this.originalElement.css("marginRight"), | |
| 124 | + marginBottom: this.originalElement.css("marginBottom") | |
| 125 | + }); | |
| 126 | + this.originalElement.css({ | |
| 127 | + marginLeft: 0, | |
| 128 | + marginTop: 0, | |
| 129 | + marginRight: 0, | |
| 130 | + marginBottom: 0 | |
| 131 | + }); | |
| 132 | + // support: Safari | |
| 133 | + // Prevent Safari textarea resize | |
| 134 | + this.originalResizeStyle = this.originalElement.css("resize"); | |
| 135 | + this.originalElement.css("resize", "none"); | |
| 136 | + | |
| 137 | + this._proportionallyResizeElements.push( this.originalElement.css({ | |
| 138 | + position: "static", | |
| 139 | + zoom: 1, | |
| 140 | + display: "block" | |
| 141 | + }) ); | |
| 142 | + | |
| 143 | + // support: IE9 | |
| 144 | + // avoid IE jump (hard set the margin) | |
| 145 | + this.originalElement.css({ margin: this.originalElement.css("margin") }); | |
| 146 | + | |
| 147 | + this._proportionallyResize(); | |
| 148 | + } | |
| 149 | + | |
| 150 | + this.handles = o.handles || | |
| 151 | + ( !$(".ui-resizable-handle", this.element).length ? | |
| 152 | + "e,s,se" : { | |
| 153 | + n: ".ui-resizable-n", | |
| 154 | + e: ".ui-resizable-e", | |
| 155 | + s: ".ui-resizable-s", | |
| 156 | + w: ".ui-resizable-w", | |
| 157 | + se: ".ui-resizable-se", | |
| 158 | + sw: ".ui-resizable-sw", | |
| 159 | + ne: ".ui-resizable-ne", | |
| 160 | + nw: ".ui-resizable-nw" | |
| 161 | + } ); | |
| 162 | + | |
| 163 | + if (this.handles.constructor === String) { | |
| 164 | + | |
| 165 | + if ( this.handles === "all") { | |
| 166 | + this.handles = "n,e,s,w,se,sw,ne,nw"; | |
| 167 | + } | |
| 168 | + | |
| 169 | + n = this.handles.split(","); | |
| 170 | + this.handles = {}; | |
| 171 | + | |
| 172 | + for (i = 0; i < n.length; i++) { | |
| 173 | + | |
| 174 | + handle = $.trim(n[i]); | |
| 175 | + hname = "ui-resizable-" + handle; | |
| 176 | + axis = $("<div class='ui-resizable-handle " + hname + "'></div>"); | |
| 177 | + | |
| 178 | + axis.css({ zIndex: o.zIndex }); | |
| 179 | + | |
| 180 | + // TODO : What's going on here? | |
| 181 | + if ("se" === handle) { | |
| 182 | + axis.addClass("ui-icon ui-icon-gripsmall-diagonal-se"); | |
| 183 | + } | |
| 184 | + | |
| 185 | + this.handles[handle] = ".ui-resizable-" + handle; | |
| 186 | + this.element.append(axis); | |
| 187 | + } | |
| 188 | + | |
| 189 | + } | |
| 190 | + | |
| 191 | + this._renderAxis = function(target) { | |
| 192 | + | |
| 193 | + var i, axis, padPos, padWrapper; | |
| 194 | + | |
| 195 | + target = target || this.element; | |
| 196 | + | |
| 197 | + for (i in this.handles) { | |
| 198 | + | |
| 199 | + if (this.handles[i].constructor === String) { | |
| 200 | + this.handles[i] = this.element.children( this.handles[ i ] ).first().show(); | |
| 201 | + } | |
| 202 | + | |
| 203 | + if (this.elementIsWrapper && this.originalElement[0].nodeName.match(/textarea|input|select|button/i)) { | |
| 204 | + | |
| 205 | + axis = $(this.handles[i], this.element); | |
| 206 | + | |
| 207 | + padWrapper = /sw|ne|nw|se|n|s/.test(i) ? axis.outerHeight() : axis.outerWidth(); | |
| 208 | + | |
| 209 | + padPos = [ "padding", | |
| 210 | + /ne|nw|n/.test(i) ? "Top" : | |
| 211 | + /se|sw|s/.test(i) ? "Bottom" : | |
| 212 | + /^e$/.test(i) ? "Right" : "Left" ].join(""); | |
| 213 | + | |
| 214 | + target.css(padPos, padWrapper); | |
| 215 | + | |
| 216 | + this._proportionallyResize(); | |
| 217 | + | |
| 218 | + } | |
| 219 | + | |
| 220 | + // TODO: What's that good for? There's not anything to be executed left | |
| 221 | + if (!$(this.handles[i]).length) { | |
| 222 | + continue; | |
| 223 | + } | |
| 224 | + } | |
| 225 | + }; | |
| 226 | + | |
| 227 | + // TODO: make renderAxis a prototype function | |
| 228 | + this._renderAxis(this.element); | |
| 229 | + | |
| 230 | + this._handles = $(".ui-resizable-handle", this.element) | |
| 231 | + .disableSelection(); | |
| 232 | + | |
| 233 | + this._handles.mouseover(function() { | |
| 234 | + if (!that.resizing) { | |
| 235 | + if (this.className) { | |
| 236 | + axis = this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i); | |
| 237 | + } | |
| 238 | + that.axis = axis && axis[1] ? axis[1] : "se"; | |
| 239 | + } | |
| 240 | + }); | |
| 241 | + | |
| 242 | + if (o.autoHide) { | |
| 243 | + this._handles.hide(); | |
| 244 | + $(this.element) | |
| 245 | + .addClass("ui-resizable-autohide") | |
| 246 | + .mouseenter(function() { | |
| 247 | + if (o.disabled) { | |
| 248 | + return; | |
| 249 | + } | |
| 250 | + $(this).removeClass("ui-resizable-autohide"); | |
| 251 | + that._handles.show(); | |
| 252 | + }) | |
| 253 | + .mouseleave(function() { | |
| 254 | + if (o.disabled) { | |
| 255 | + return; | |
| 256 | + } | |
| 257 | + if (!that.resizing) { | |
| 258 | + $(this).addClass("ui-resizable-autohide"); | |
| 259 | + that._handles.hide(); | |
| 260 | + } | |
| 261 | + }); | |
| 262 | + } | |
| 263 | + | |
| 264 | + this._mouseInit(); | |
| 265 | + | |
| 266 | + }, | |
| 267 | + | |
| 268 | + _destroy: function() { | |
| 269 | + | |
| 270 | + this._mouseDestroy(); | |
| 271 | + | |
| 272 | + var wrapper, | |
| 273 | + _destroy = function(exp) { | |
| 274 | + $(exp) | |
| 275 | + .removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing") | |
| 276 | + .removeData("resizable") | |
| 277 | + .removeData("ui-resizable") | |
| 278 | + .unbind(".resizable") | |
| 279 | + .find(".ui-resizable-handle") | |
| 280 | + .remove(); | |
| 281 | + }; | |
| 282 | + | |
| 283 | + // TODO: Unwrap at same DOM position | |
| 284 | + if (this.elementIsWrapper) { | |
| 285 | + _destroy(this.element); | |
| 286 | + wrapper = this.element; | |
| 287 | + this.originalElement.css({ | |
| 288 | + position: wrapper.css("position"), | |
| 289 | + width: wrapper.outerWidth(), | |
| 290 | + height: wrapper.outerHeight(), | |
| 291 | + top: wrapper.css("top"), | |
| 292 | + left: wrapper.css("left") | |
| 293 | + }).insertAfter( wrapper ); | |
| 294 | + wrapper.remove(); | |
| 295 | + } | |
| 296 | + | |
| 297 | + this.originalElement.css("resize", this.originalResizeStyle); | |
| 298 | + _destroy(this.originalElement); | |
| 299 | + | |
| 300 | + return this; | |
| 301 | + }, | |
| 302 | + | |
| 303 | + _mouseCapture: function(event) { | |
| 304 | + var i, handle, | |
| 305 | + capture = false; | |
| 306 | + | |
| 307 | + for (i in this.handles) { | |
| 308 | + handle = $(this.handles[i])[0]; | |
| 309 | + if (handle === event.target || $.contains(handle, event.target)) { | |
| 310 | + capture = true; | |
| 311 | + } | |
| 312 | + } | |
| 313 | + | |
| 314 | + return !this.options.disabled && capture; | |
| 315 | + }, | |
| 316 | + | |
| 317 | + _mouseStart: function(event) { | |
| 318 | + | |
| 319 | + var curleft, curtop, cursor, | |
| 320 | + o = this.options, | |
| 321 | + el = this.element; | |
| 322 | + | |
| 323 | + this.resizing = true; | |
| 324 | + | |
| 325 | + this._renderProxy(); | |
| 326 | + | |
| 327 | + curleft = this._num(this.helper.css("left")); | |
| 328 | + curtop = this._num(this.helper.css("top")); | |
| 329 | + | |
| 330 | + if (o.containment) { | |
| 331 | + curleft += $(o.containment).scrollLeft() || 0; | |
| 332 | + curtop += $(o.containment).scrollTop() || 0; | |
| 333 | + } | |
| 334 | + | |
| 335 | + this.offset = this.helper.offset(); | |
| 336 | + this.position = { left: curleft, top: curtop }; | |
| 337 | + | |
| 338 | + this.size = this._helper ? { | |
| 339 | + width: this.helper.width(), | |
| 340 | + height: this.helper.height() | |
| 341 | + } : { | |
| 342 | + width: el.width(), | |
| 343 | + height: el.height() | |
| 344 | + }; | |
| 345 | + | |
| 346 | + this.originalSize = this._helper ? { | |
| 347 | + width: el.outerWidth(), | |
| 348 | + height: el.outerHeight() | |
| 349 | + } : { | |
| 350 | + width: el.width(), | |
| 351 | + height: el.height() | |
| 352 | + }; | |
| 353 | + | |
| 354 | + this.sizeDiff = { | |
| 355 | + width: el.outerWidth() - el.width(), | |
| 356 | + height: el.outerHeight() - el.height() | |
| 357 | + }; | |
| 358 | + | |
| 359 | + this.originalPosition = { left: curleft, top: curtop }; | |
| 360 | + this.originalMousePosition = { left: event.pageX, top: event.pageY }; | |
| 361 | + | |
| 362 | + this.aspectRatio = (typeof o.aspectRatio === "number") ? | |
| 363 | + o.aspectRatio : | |
| 364 | + ((this.originalSize.width / this.originalSize.height) || 1); | |
| 365 | + | |
| 366 | + cursor = $(".ui-resizable-" + this.axis).css("cursor"); | |
| 367 | + $("body").css("cursor", cursor === "auto" ? this.axis + "-resize" : cursor); | |
| 368 | + | |
| 369 | + el.addClass("ui-resizable-resizing"); | |
| 370 | + this._propagate("start", event); | |
| 371 | + return true; | |
| 372 | + }, | |
| 373 | + | |
| 374 | + _mouseDrag: function(event) { | |
| 375 | + | |
| 376 | + var data, props, | |
| 377 | + smp = this.originalMousePosition, | |
| 378 | + a = this.axis, | |
| 379 | + dx = (event.pageX - smp.left) || 0, | |
| 380 | + dy = (event.pageY - smp.top) || 0, | |
| 381 | + trigger = this._change[a]; | |
| 382 | + | |
| 383 | + this._updatePrevProperties(); | |
| 384 | + | |
| 385 | + if (!trigger) { | |
| 386 | + return false; | |
| 387 | + } | |
| 388 | + | |
| 389 | + data = trigger.apply(this, [ event, dx, dy ]); | |
| 390 | + | |
| 391 | + this._updateVirtualBoundaries(event.shiftKey); | |
| 392 | + if (this._aspectRatio || event.shiftKey) { | |
| 393 | + data = this._updateRatio(data, event); | |
| 394 | + } | |
| 395 | + | |
| 396 | + data = this._respectSize(data, event); | |
| 397 | + | |
| 398 | + this._updateCache(data); | |
| 399 | + | |
| 400 | + this._propagate("resize", event); | |
| 401 | + | |
| 402 | + props = this._applyChanges(); | |
| 403 | + | |
| 404 | + if ( !this._helper && this._proportionallyResizeElements.length ) { | |
| 405 | + this._proportionallyResize(); | |
| 406 | + } | |
| 407 | + | |
| 408 | + if ( !$.isEmptyObject( props ) ) { | |
| 409 | + this._updatePrevProperties(); | |
| 410 | + this._trigger( "resize", event, this.ui() ); | |
| 411 | + this._applyChanges(); | |
| 412 | + } | |
| 413 | + | |
| 414 | + return false; | |
| 415 | + }, | |
| 416 | + | |
| 417 | + _mouseStop: function(event) { | |
| 418 | + | |
| 419 | + this.resizing = false; | |
| 420 | + var pr, ista, soffseth, soffsetw, s, left, top, | |
| 421 | + o = this.options, that = this; | |
| 422 | + | |
| 423 | + if (this._helper) { | |
| 424 | + | |
| 425 | + pr = this._proportionallyResizeElements; | |
| 426 | + ista = pr.length && (/textarea/i).test(pr[0].nodeName); | |
| 427 | + soffseth = ista && this._hasScroll(pr[0], "left") ? 0 : that.sizeDiff.height; | |
| 428 | + soffsetw = ista ? 0 : that.sizeDiff.width; | |
| 429 | + | |
| 430 | + s = { | |
| 431 | + width: (that.helper.width() - soffsetw), | |
| 432 | + height: (that.helper.height() - soffseth) | |
| 433 | + }; | |
| 434 | + left = (parseInt(that.element.css("left"), 10) + | |
| 435 | + (that.position.left - that.originalPosition.left)) || null; | |
| 436 | + top = (parseInt(that.element.css("top"), 10) + | |
| 437 | + (that.position.top - that.originalPosition.top)) || null; | |
| 438 | + | |
| 439 | + if (!o.animate) { | |
| 440 | + this.element.css($.extend(s, { top: top, left: left })); | |
| 441 | + } | |
| 442 | + | |
| 443 | + that.helper.height(that.size.height); | |
| 444 | + that.helper.width(that.size.width); | |
| 445 | + | |
| 446 | + if (this._helper && !o.animate) { | |
| 447 | + this._proportionallyResize(); | |
| 448 | + } | |
| 449 | + } | |
| 450 | + | |
| 451 | + $("body").css("cursor", "auto"); | |
| 452 | + | |
| 453 | + this.element.removeClass("ui-resizable-resizing"); | |
| 454 | + | |
| 455 | + this._propagate("stop", event); | |
| 456 | + | |
| 457 | + if (this._helper) { | |
| 458 | + this.helper.remove(); | |
| 459 | + } | |
| 460 | + | |
| 461 | + return false; | |
| 462 | + | |
| 463 | + }, | |
| 464 | + | |
| 465 | + _updatePrevProperties: function() { | |
| 466 | + this.prevPosition = { | |
| 467 | + top: this.position.top, | |
| 468 | + left: this.position.left | |
| 469 | + }; | |
| 470 | + this.prevSize = { | |
| 471 | + width: this.size.width, | |
| 472 | + height: this.size.height | |
| 473 | + }; | |
| 474 | + }, | |
| 475 | + | |
| 476 | + _applyChanges: function() { | |
| 477 | + var props = {}; | |
| 478 | + | |
| 479 | + if ( this.position.top !== this.prevPosition.top ) { | |
| 480 | + props.top = this.position.top + "px"; | |
| 481 | + } | |
| 482 | + if ( this.position.left !== this.prevPosition.left ) { | |
| 483 | + props.left = this.position.left + "px"; | |
| 484 | + } | |
| 485 | + if ( this.size.width !== this.prevSize.width ) { | |
| 486 | + props.width = this.size.width + "px"; | |
| 487 | + } | |
| 488 | + if ( this.size.height !== this.prevSize.height ) { | |
| 489 | + props.height = this.size.height + "px"; | |
| 490 | + } | |
| 491 | + | |
| 492 | + this.helper.css( props ); | |
| 493 | + | |
| 494 | + return props; | |
| 495 | + }, | |
| 496 | + | |
| 497 | + _updateVirtualBoundaries: function(forceAspectRatio) { | |
| 498 | + var pMinWidth, pMaxWidth, pMinHeight, pMaxHeight, b, | |
| 499 | + o = this.options; | |
| 500 | + | |
| 501 | + b = { | |
| 502 | + minWidth: this._isNumber(o.minWidth) ? o.minWidth : 0, | |
| 503 | + maxWidth: this._isNumber(o.maxWidth) ? o.maxWidth : Infinity, | |
| 504 | + minHeight: this._isNumber(o.minHeight) ? o.minHeight : 0, | |
| 505 | + maxHeight: this._isNumber(o.maxHeight) ? o.maxHeight : Infinity | |
| 506 | + }; | |
| 507 | + | |
| 508 | + if (this._aspectRatio || forceAspectRatio) { | |
| 509 | + pMinWidth = b.minHeight * this.aspectRatio; | |
| 510 | + pMinHeight = b.minWidth / this.aspectRatio; | |
| 511 | + pMaxWidth = b.maxHeight * this.aspectRatio; | |
| 512 | + pMaxHeight = b.maxWidth / this.aspectRatio; | |
| 513 | + | |
| 514 | + if (pMinWidth > b.minWidth) { | |
| 515 | + b.minWidth = pMinWidth; | |
| 516 | + } | |
| 517 | + if (pMinHeight > b.minHeight) { | |
| 518 | + b.minHeight = pMinHeight; | |
| 519 | + } | |
| 520 | + if (pMaxWidth < b.maxWidth) { | |
| 521 | + b.maxWidth = pMaxWidth; | |
| 522 | + } | |
| 523 | + if (pMaxHeight < b.maxHeight) { | |
| 524 | + b.maxHeight = pMaxHeight; | |
| 525 | + } | |
| 526 | + } | |
| 527 | + this._vBoundaries = b; | |
| 528 | + }, | |
| 529 | + | |
| 530 | + _updateCache: function(data) { | |
| 531 | + this.offset = this.helper.offset(); | |
| 532 | + if (this._isNumber(data.left)) { | |
| 533 | + this.position.left = data.left; | |
| 534 | + } | |
| 535 | + if (this._isNumber(data.top)) { | |
| 536 | + this.position.top = data.top; | |
| 537 | + } | |
| 538 | + if (this._isNumber(data.height)) { | |
| 539 | + this.size.height = data.height; | |
| 540 | + } | |
| 541 | + if (this._isNumber(data.width)) { | |
| 542 | + this.size.width = data.width; | |
| 543 | + } | |
| 544 | + }, | |
| 545 | + | |
| 546 | + _updateRatio: function( data ) { | |
| 547 | + | |
| 548 | + var cpos = this.position, | |
| 549 | + csize = this.size, | |
| 550 | + a = this.axis; | |
| 551 | + | |
| 552 | + if (this._isNumber(data.height)) { | |
| 553 | + data.width = (data.height * this.aspectRatio); | |
| 554 | + } else if (this._isNumber(data.width)) { | |
| 555 | + data.height = (data.width / this.aspectRatio); | |
| 556 | + } | |
| 557 | + | |
| 558 | + if (a === "sw") { | |
| 559 | + data.left = cpos.left + (csize.width - data.width); | |
| 560 | + data.top = null; | |
| 561 | + } | |
| 562 | + if (a === "nw") { | |
| 563 | + data.top = cpos.top + (csize.height - data.height); | |
| 564 | + data.left = cpos.left + (csize.width - data.width); | |
| 565 | + } | |
| 566 | + | |
| 567 | + return data; | |
| 568 | + }, | |
| 569 | + | |
| 570 | + _respectSize: function( data ) { | |
| 571 | + | |
| 572 | + var o = this._vBoundaries, | |
| 573 | + a = this.axis, | |
| 574 | + ismaxw = this._isNumber(data.width) && o.maxWidth && (o.maxWidth < data.width), | |
| 575 | + ismaxh = this._isNumber(data.height) && o.maxHeight && (o.maxHeight < data.height), | |
| 576 | + isminw = this._isNumber(data.width) && o.minWidth && (o.minWidth > data.width), | |
| 577 | + isminh = this._isNumber(data.height) && o.minHeight && (o.minHeight > data.height), | |
| 578 | + dw = this.originalPosition.left + this.originalSize.width, | |
| 579 | + dh = this.position.top + this.size.height, | |
| 580 | + cw = /sw|nw|w/.test(a), ch = /nw|ne|n/.test(a); | |
| 581 | + if (isminw) { | |
| 582 | + data.width = o.minWidth; | |
| 583 | + } | |
| 584 | + if (isminh) { | |
| 585 | + data.height = o.minHeight; | |
| 586 | + } | |
| 587 | + if (ismaxw) { | |
| 588 | + data.width = o.maxWidth; | |
| 589 | + } | |
| 590 | + if (ismaxh) { | |
| 591 | + data.height = o.maxHeight; | |
| 592 | + } | |
| 593 | + | |
| 594 | + if (isminw && cw) { | |
| 595 | + data.left = dw - o.minWidth; | |
| 596 | + } | |
| 597 | + if (ismaxw && cw) { | |
| 598 | + data.left = dw - o.maxWidth; | |
| 599 | + } | |
| 600 | + if (isminh && ch) { | |
| 601 | + data.top = dh - o.minHeight; | |
| 602 | + } | |
| 603 | + if (ismaxh && ch) { | |
| 604 | + data.top = dh - o.maxHeight; | |
| 605 | + } | |
| 606 | + | |
| 607 | + // Fixing jump error on top/left - bug #2330 | |
| 608 | + if (!data.width && !data.height && !data.left && data.top) { | |
| 609 | + data.top = null; | |
| 610 | + } else if (!data.width && !data.height && !data.top && data.left) { | |
| 611 | + data.left = null; | |
| 612 | + } | |
| 613 | + | |
| 614 | + return data; | |
| 615 | + }, | |
| 616 | + | |
| 617 | + _getPaddingPlusBorderDimensions: function( element ) { | |
| 618 | + var i = 0, | |
| 619 | + widths = [], | |
| 620 | + borders = [ | |
| 621 | + element.css( "borderTopWidth" ), | |
| 622 | + element.css( "borderRightWidth" ), | |
| 623 | + element.css( "borderBottomWidth" ), | |
| 624 | + element.css( "borderLeftWidth" ) | |
| 625 | + ], | |
| 626 | + paddings = [ | |
| 627 | + element.css( "paddingTop" ), | |
| 628 | + element.css( "paddingRight" ), | |
| 629 | + element.css( "paddingBottom" ), | |
| 630 | + element.css( "paddingLeft" ) | |
| 631 | + ]; | |
| 632 | + | |
| 633 | + for ( ; i < 4; i++ ) { | |
| 634 | + widths[ i ] = ( parseInt( borders[ i ], 10 ) || 0 ); | |
| 635 | + widths[ i ] += ( parseInt( paddings[ i ], 10 ) || 0 ); | |
| 636 | + } | |
| 637 | + | |
| 638 | + return { | |
| 639 | + height: widths[ 0 ] + widths[ 2 ], | |
| 640 | + width: widths[ 1 ] + widths[ 3 ] | |
| 641 | + }; | |
| 642 | + }, | |
| 643 | + | |
| 644 | + _proportionallyResize: function() { | |
| 645 | + | |
| 646 | + if (!this._proportionallyResizeElements.length) { | |
| 647 | + return; | |
| 648 | + } | |
| 649 | + | |
| 650 | + var prel, | |
| 651 | + i = 0, | |
| 652 | + element = this.helper || this.element; | |
| 653 | + | |
| 654 | + for ( ; i < this._proportionallyResizeElements.length; i++) { | |
| 655 | + | |
| 656 | + prel = this._proportionallyResizeElements[i]; | |
| 657 | + | |
| 658 | + // TODO: Seems like a bug to cache this.outerDimensions | |
| 659 | + // considering that we are in a loop. | |
| 660 | + if (!this.outerDimensions) { | |
| 661 | + this.outerDimensions = this._getPaddingPlusBorderDimensions( prel ); | |
| 662 | + } | |
| 663 | + | |
| 664 | + prel.css({ | |
| 665 | + height: (element.height() - this.outerDimensions.height) || 0, | |
| 666 | + width: (element.width() - this.outerDimensions.width) || 0 | |
| 667 | + }); | |
| 668 | + | |
| 669 | + } | |
| 670 | + | |
| 671 | + }, | |
| 672 | + | |
| 673 | + _renderProxy: function() { | |
| 674 | + | |
| 675 | + var el = this.element, o = this.options; | |
| 676 | + this.elementOffset = el.offset(); | |
| 677 | + | |
| 678 | + if (this._helper) { | |
| 679 | + | |
| 680 | + this.helper = this.helper || $("<div style='overflow:hidden;'></div>"); | |
| 681 | + | |
| 682 | + this.helper.addClass(this._helper).css({ | |
| 683 | + width: this.element.outerWidth() - 1, | |
| 684 | + height: this.element.outerHeight() - 1, | |
| 685 | + position: "absolute", | |
| 686 | + left: this.elementOffset.left + "px", | |
| 687 | + top: this.elementOffset.top + "px", | |
| 688 | + zIndex: ++o.zIndex //TODO: Don't modify option | |
| 689 | + }); | |
| 690 | + | |
| 691 | + this.helper | |
| 692 | + .appendTo("body") | |
| 693 | + .disableSelection(); | |
| 694 | + | |
| 695 | + } else { | |
| 696 | + this.helper = this.element; | |
| 697 | + } | |
| 698 | + | |
| 699 | + }, | |
| 700 | + | |
| 701 | + _change: { | |
| 702 | + e: function(event, dx) { | |
| 703 | + return { width: this.originalSize.width + dx }; | |
| 704 | + }, | |
| 705 | + w: function(event, dx) { | |
| 706 | + var cs = this.originalSize, sp = this.originalPosition; | |
| 707 | + return { left: sp.left + dx, width: cs.width - dx }; | |
| 708 | + }, | |
| 709 | + n: function(event, dx, dy) { | |
| 710 | + var cs = this.originalSize, sp = this.originalPosition; | |
| 711 | + return { top: sp.top + dy, height: cs.height - dy }; | |
| 712 | + }, | |
| 713 | + s: function(event, dx, dy) { | |
| 714 | + return { height: this.originalSize.height + dy }; | |
| 715 | + }, | |
| 716 | + se: function(event, dx, dy) { | |
| 717 | + return $.extend(this._change.s.apply(this, arguments), | |
| 718 | + this._change.e.apply(this, [ event, dx, dy ])); | |
| 719 | + }, | |
| 720 | + sw: function(event, dx, dy) { | |
| 721 | + return $.extend(this._change.s.apply(this, arguments), | |
| 722 | + this._change.w.apply(this, [ event, dx, dy ])); | |
| 723 | + }, | |
| 724 | + ne: function(event, dx, dy) { | |
| 725 | + return $.extend(this._change.n.apply(this, arguments), | |
| 726 | + this._change.e.apply(this, [ event, dx, dy ])); | |
| 727 | + }, | |
| 728 | + nw: function(event, dx, dy) { | |
| 729 | + return $.extend(this._change.n.apply(this, arguments), | |
| 730 | + this._change.w.apply(this, [ event, dx, dy ])); | |
| 731 | + } | |
| 732 | + }, | |
| 733 | + | |
| 734 | + _propagate: function(n, event) { | |
| 735 | + $.ui.plugin.call(this, n, [ event, this.ui() ]); | |
| 736 | + (n !== "resize" && this._trigger(n, event, this.ui())); | |
| 737 | + }, | |
| 738 | + | |
| 739 | + plugins: {}, | |
| 740 | + | |
| 741 | + ui: function() { | |
| 742 | + return { | |
| 743 | + originalElement: this.originalElement, | |
| 744 | + element: this.element, | |
| 745 | + helper: this.helper, | |
| 746 | + position: this.position, | |
| 747 | + size: this.size, | |
| 748 | + originalSize: this.originalSize, | |
| 749 | + originalPosition: this.originalPosition | |
| 750 | + }; | |
| 751 | + } | |
| 752 | + | |
| 753 | +}); | |
| 754 | + | |
| 755 | +/* | |
| 756 | + * Resizable Extensions | |
| 757 | + */ | |
| 758 | + | |
| 759 | +$.ui.plugin.add("resizable", "animate", { | |
| 760 | + | |
| 761 | + stop: function( event ) { | |
| 762 | + var that = $(this).resizable( "instance" ), | |
| 763 | + o = that.options, | |
| 764 | + pr = that._proportionallyResizeElements, | |
| 765 | + ista = pr.length && (/textarea/i).test(pr[0].nodeName), | |
| 766 | + soffseth = ista && that._hasScroll(pr[0], "left") ? 0 : that.sizeDiff.height, | |
| 767 | + soffsetw = ista ? 0 : that.sizeDiff.width, | |
| 768 | + style = { width: (that.size.width - soffsetw), height: (that.size.height - soffseth) }, | |
| 769 | + left = (parseInt(that.element.css("left"), 10) + | |
| 770 | + (that.position.left - that.originalPosition.left)) || null, | |
| 771 | + top = (parseInt(that.element.css("top"), 10) + | |
| 772 | + (that.position.top - that.originalPosition.top)) || null; | |
| 773 | + | |
| 774 | + that.element.animate( | |
| 775 | + $.extend(style, top && left ? { top: top, left: left } : {}), { | |
| 776 | + duration: o.animateDuration, | |
| 777 | + easing: o.animateEasing, | |
| 778 | + step: function() { | |
| 779 | + | |
| 780 | + var data = { | |
| 781 | + width: parseInt(that.element.css("width"), 10), | |
| 782 | + height: parseInt(that.element.css("height"), 10), | |
| 783 | + top: parseInt(that.element.css("top"), 10), | |
| 784 | + left: parseInt(that.element.css("left"), 10) | |
| 785 | + }; | |
| 786 | + | |
| 787 | + if (pr && pr.length) { | |
| 788 | + $(pr[0]).css({ width: data.width, height: data.height }); | |
| 789 | + } | |
| 790 | + | |
| 791 | + // propagating resize, and updating values for each animation step | |
| 792 | + that._updateCache(data); | |
| 793 | + that._propagate("resize", event); | |
| 794 | + | |
| 795 | + } | |
| 796 | + } | |
| 797 | + ); | |
| 798 | + } | |
| 799 | + | |
| 800 | +}); | |
| 801 | + | |
| 802 | +$.ui.plugin.add( "resizable", "containment", { | |
| 803 | + | |
| 804 | + start: function() { | |
| 805 | + var element, p, co, ch, cw, width, height, | |
| 806 | + that = $( this ).resizable( "instance" ), | |
| 807 | + o = that.options, | |
| 808 | + el = that.element, | |
| 809 | + oc = o.containment, | |
| 810 | + ce = ( oc instanceof $ ) ? oc.get( 0 ) : ( /parent/.test( oc ) ) ? el.parent().get( 0 ) : oc; | |
| 811 | + | |
| 812 | + if ( !ce ) { | |
| 813 | + return; | |
| 814 | + } | |
| 815 | + | |
| 816 | + that.containerElement = $( ce ); | |
| 817 | + | |
| 818 | + if ( /document/.test( oc ) || oc === document ) { | |
| 819 | + that.containerOffset = { | |
| 820 | + left: 0, | |
| 821 | + top: 0 | |
| 822 | + }; | |
| 823 | + that.containerPosition = { | |
| 824 | + left: 0, | |
| 825 | + top: 0 | |
| 826 | + }; | |
| 827 | + | |
| 828 | + that.parentData = { | |
| 829 | + element: $( document ), | |
| 830 | + left: 0, | |
| 831 | + top: 0, | |
| 832 | + width: $( document ).width(), | |
| 833 | + height: $( document ).height() || document.body.parentNode.scrollHeight | |
| 834 | + }; | |
| 835 | + } else { | |
| 836 | + element = $( ce ); | |
| 837 | + p = []; | |
| 838 | + $([ "Top", "Right", "Left", "Bottom" ]).each(function( i, name ) { | |
| 839 | + p[ i ] = that._num( element.css( "padding" + name ) ); | |
| 840 | + }); | |
| 841 | + | |
| 842 | + that.containerOffset = element.offset(); | |
| 843 | + that.containerPosition = element.position(); | |
| 844 | + that.containerSize = { | |
| 845 | + height: ( element.innerHeight() - p[ 3 ] ), | |
| 846 | + width: ( element.innerWidth() - p[ 1 ] ) | |
| 847 | + }; | |
| 848 | + | |
| 849 | + co = that.containerOffset; | |
| 850 | + ch = that.containerSize.height; | |
| 851 | + cw = that.containerSize.width; | |
| 852 | + width = ( that._hasScroll ( ce, "left" ) ? ce.scrollWidth : cw ); | |
| 853 | + height = ( that._hasScroll ( ce ) ? ce.scrollHeight : ch ) ; | |
| 854 | + | |
| 855 | + that.parentData = { | |
| 856 | + element: ce, | |
| 857 | + left: co.left, | |
| 858 | + top: co.top, | |
| 859 | + width: width, | |
| 860 | + height: height | |
| 861 | + }; | |
| 862 | + } | |
| 863 | + }, | |
| 864 | + | |
| 865 | + resize: function( event ) { | |
| 866 | + var woset, hoset, isParent, isOffsetRelative, | |
| 867 | + that = $( this ).resizable( "instance" ), | |
| 868 | + o = that.options, | |
| 869 | + co = that.containerOffset, | |
| 870 | + cp = that.position, | |
| 871 | + pRatio = that._aspectRatio || event.shiftKey, | |
| 872 | + cop = { | |
| 873 | + top: 0, | |
| 874 | + left: 0 | |
| 875 | + }, | |
| 876 | + ce = that.containerElement, | |
| 877 | + continueResize = true; | |
| 878 | + | |
| 879 | + if ( ce[ 0 ] !== document && ( /static/ ).test( ce.css( "position" ) ) ) { | |
| 880 | + cop = co; | |
| 881 | + } | |
| 882 | + | |
| 883 | + if ( cp.left < ( that._helper ? co.left : 0 ) ) { | |
| 884 | + that.size.width = that.size.width + | |
| 885 | + ( that._helper ? | |
| 886 | + ( that.position.left - co.left ) : | |
| 887 | + ( that.position.left - cop.left ) ); | |
| 888 | + | |
| 889 | + if ( pRatio ) { | |
| 890 | + that.size.height = that.size.width / that.aspectRatio; | |
| 891 | + continueResize = false; | |
| 892 | + } | |
| 893 | + that.position.left = o.helper ? co.left : 0; | |
| 894 | + } | |
| 895 | + | |
| 896 | + if ( cp.top < ( that._helper ? co.top : 0 ) ) { | |
| 897 | + that.size.height = that.size.height + | |
| 898 | + ( that._helper ? | |
| 899 | + ( that.position.top - co.top ) : | |
| 900 | + that.position.top ); | |
| 901 | + | |
| 902 | + if ( pRatio ) { | |
| 903 | + that.size.width = that.size.height * that.aspectRatio; | |
| 904 | + continueResize = false; | |
| 905 | + } | |
| 906 | + that.position.top = that._helper ? co.top : 0; | |
| 907 | + } | |
| 908 | + | |
| 909 | + isParent = that.containerElement.get( 0 ) === that.element.parent().get( 0 ); | |
| 910 | + isOffsetRelative = /relative|absolute/.test( that.containerElement.css( "position" ) ); | |
| 911 | + | |
| 912 | + if ( isParent && isOffsetRelative ) { | |
| 913 | + that.offset.left = that.parentData.left + that.position.left; | |
| 914 | + that.offset.top = that.parentData.top + that.position.top; | |
| 915 | + } else { | |
| 916 | + that.offset.left = that.element.offset().left; | |
| 917 | + that.offset.top = that.element.offset().top; | |
| 918 | + } | |
| 919 | + | |
| 920 | + woset = Math.abs( that.sizeDiff.width + | |
| 921 | + (that._helper ? | |
| 922 | + that.offset.left - cop.left : | |
| 923 | + (that.offset.left - co.left)) ); | |
| 924 | + | |
| 925 | + hoset = Math.abs( that.sizeDiff.height + | |
| 926 | + (that._helper ? | |
| 927 | + that.offset.top - cop.top : | |
| 928 | + (that.offset.top - co.top)) ); | |
| 929 | + | |
| 930 | + if ( woset + that.size.width >= that.parentData.width ) { | |
| 931 | + that.size.width = that.parentData.width - woset; | |
| 932 | + if ( pRatio ) { | |
| 933 | + that.size.height = that.size.width / that.aspectRatio; | |
| 934 | + continueResize = false; | |
| 935 | + } | |
| 936 | + } | |
| 937 | + | |
| 938 | + if ( hoset + that.size.height >= that.parentData.height ) { | |
| 939 | + that.size.height = that.parentData.height - hoset; | |
| 940 | + if ( pRatio ) { | |
| 941 | + that.size.width = that.size.height * that.aspectRatio; | |
| 942 | + continueResize = false; | |
| 943 | + } | |
| 944 | + } | |
| 945 | + | |
| 946 | + if ( !continueResize ){ | |
| 947 | + that.position.left = that.prevPosition.left; | |
| 948 | + that.position.top = that.prevPosition.top; | |
| 949 | + that.size.width = that.prevSize.width; | |
| 950 | + that.size.height = that.prevSize.height; | |
| 951 | + } | |
| 952 | + }, | |
| 953 | + | |
| 954 | + stop: function() { | |
| 955 | + var that = $( this ).resizable( "instance" ), | |
| 956 | + o = that.options, | |
| 957 | + co = that.containerOffset, | |
| 958 | + cop = that.containerPosition, | |
| 959 | + ce = that.containerElement, | |
| 960 | + helper = $( that.helper ), | |
| 961 | + ho = helper.offset(), | |
| 962 | + w = helper.outerWidth() - that.sizeDiff.width, | |
| 963 | + h = helper.outerHeight() - that.sizeDiff.height; | |
| 964 | + | |
| 965 | + if ( that._helper && !o.animate && ( /relative/ ).test( ce.css( "position" ) ) ) { | |
| 966 | + $( this ).css({ | |
| 967 | + left: ho.left - cop.left - co.left, | |
| 968 | + width: w, | |
| 969 | + height: h | |
| 970 | + }); | |
| 971 | + } | |
| 972 | + | |
| 973 | + if ( that._helper && !o.animate && ( /static/ ).test( ce.css( "position" ) ) ) { | |
| 974 | + $( this ).css({ | |
| 975 | + left: ho.left - cop.left - co.left, | |
| 976 | + width: w, | |
| 977 | + height: h | |
| 978 | + }); | |
| 979 | + } | |
| 980 | + } | |
| 981 | +}); | |
| 982 | + | |
| 983 | +$.ui.plugin.add("resizable", "alsoResize", { | |
| 984 | + | |
| 985 | + start: function() { | |
| 986 | + var that = $(this).resizable( "instance" ), | |
| 987 | + o = that.options, | |
| 988 | + _store = function(exp) { | |
| 989 | + $(exp).each(function() { | |
| 990 | + var el = $(this); | |
| 991 | + el.data("ui-resizable-alsoresize", { | |
| 992 | + width: parseInt(el.width(), 10), height: parseInt(el.height(), 10), | |
| 993 | + left: parseInt(el.css("left"), 10), top: parseInt(el.css("top"), 10) | |
| 994 | + }); | |
| 995 | + }); | |
| 996 | + }; | |
| 997 | + | |
| 998 | + if (typeof(o.alsoResize) === "object" && !o.alsoResize.parentNode) { | |
| 999 | + if (o.alsoResize.length) { | |
| 1000 | + o.alsoResize = o.alsoResize[0]; | |
| 1001 | + _store(o.alsoResize); | |
| 1002 | + } else { | |
| 1003 | + $.each(o.alsoResize, function(exp) { | |
| 1004 | + _store(exp); | |
| 1005 | + }); | |
| 1006 | + } | |
| 1007 | + } else { | |
| 1008 | + _store(o.alsoResize); | |
| 1009 | + } | |
| 1010 | + }, | |
| 1011 | + | |
| 1012 | + resize: function(event, ui) { | |
| 1013 | + var that = $(this).resizable( "instance" ), | |
| 1014 | + o = that.options, | |
| 1015 | + os = that.originalSize, | |
| 1016 | + op = that.originalPosition, | |
| 1017 | + delta = { | |
| 1018 | + height: (that.size.height - os.height) || 0, | |
| 1019 | + width: (that.size.width - os.width) || 0, | |
| 1020 | + top: (that.position.top - op.top) || 0, | |
| 1021 | + left: (that.position.left - op.left) || 0 | |
| 1022 | + }, | |
| 1023 | + | |
| 1024 | + _alsoResize = function(exp, c) { | |
| 1025 | + $(exp).each(function() { | |
| 1026 | + var el = $(this), start = $(this).data("ui-resizable-alsoresize"), style = {}, | |
| 1027 | + css = c && c.length ? | |
| 1028 | + c : | |
| 1029 | + el.parents(ui.originalElement[0]).length ? | |
| 1030 | + [ "width", "height" ] : | |
| 1031 | + [ "width", "height", "top", "left" ]; | |
| 1032 | + | |
| 1033 | + $.each(css, function(i, prop) { | |
| 1034 | + var sum = (start[prop] || 0) + (delta[prop] || 0); | |
| 1035 | + if (sum && sum >= 0) { | |
| 1036 | + style[prop] = sum || null; | |
| 1037 | + } | |
| 1038 | + }); | |
| 1039 | + | |
| 1040 | + el.css(style); | |
| 1041 | + }); | |
| 1042 | + }; | |
| 1043 | + | |
| 1044 | + if (typeof(o.alsoResize) === "object" && !o.alsoResize.nodeType) { | |
| 1045 | + $.each(o.alsoResize, function(exp, c) { | |
| 1046 | + _alsoResize(exp, c); | |
| 1047 | + }); | |
| 1048 | + } else { | |
| 1049 | + _alsoResize(o.alsoResize); | |
| 1050 | + } | |
| 1051 | + }, | |
| 1052 | + | |
| 1053 | + stop: function() { | |
| 1054 | + $(this).removeData("resizable-alsoresize"); | |
| 1055 | + } | |
| 1056 | +}); | |
| 1057 | + | |
| 1058 | +$.ui.plugin.add("resizable", "ghost", { | |
| 1059 | + | |
| 1060 | + start: function() { | |
| 1061 | + | |
| 1062 | + var that = $(this).resizable( "instance" ), o = that.options, cs = that.size; | |
| 1063 | + | |
| 1064 | + that.ghost = that.originalElement.clone(); | |
| 1065 | + that.ghost | |
| 1066 | + .css({ | |
| 1067 | + opacity: 0.25, | |
| 1068 | + display: "block", | |
| 1069 | + position: "relative", | |
| 1070 | + height: cs.height, | |
| 1071 | + width: cs.width, | |
| 1072 | + margin: 0, | |
| 1073 | + left: 0, | |
| 1074 | + top: 0 | |
| 1075 | + }) | |
| 1076 | + .addClass("ui-resizable-ghost") | |
| 1077 | + .addClass(typeof o.ghost === "string" ? o.ghost : ""); | |
| 1078 | + | |
| 1079 | + that.ghost.appendTo(that.helper); | |
| 1080 | + | |
| 1081 | + }, | |
| 1082 | + | |
| 1083 | + resize: function() { | |
| 1084 | + var that = $(this).resizable( "instance" ); | |
| 1085 | + if (that.ghost) { | |
| 1086 | + that.ghost.css({ | |
| 1087 | + position: "relative", | |
| 1088 | + height: that.size.height, | |
| 1089 | + width: that.size.width | |
| 1090 | + }); | |
| 1091 | + } | |
| 1092 | + }, | |
| 1093 | + | |
| 1094 | + stop: function() { | |
| 1095 | + var that = $(this).resizable( "instance" ); | |
| 1096 | + if (that.ghost && that.helper) { | |
| 1097 | + that.helper.get(0).removeChild(that.ghost.get(0)); | |
| 1098 | + } | |
| 1099 | + } | |
| 1100 | + | |
| 1101 | +}); | |
| 1102 | + | |
| 1103 | +$.ui.plugin.add("resizable", "grid", { | |
| 1104 | + | |
| 1105 | + resize: function() { | |
| 1106 | + var outerDimensions, | |
| 1107 | + that = $(this).resizable( "instance" ), | |
| 1108 | + o = that.options, | |
| 1109 | + cs = that.size, | |
| 1110 | + os = that.originalSize, | |
| 1111 | + op = that.originalPosition, | |
| 1112 | + a = that.axis, | |
| 1113 | + grid = typeof o.grid === "number" ? [ o.grid, o.grid ] : o.grid, | |
| 1114 | + gridX = (grid[0] || 1), | |
| 1115 | + gridY = (grid[1] || 1), | |
| 1116 | + ox = Math.round((cs.width - os.width) / gridX) * gridX, | |
| 1117 | + oy = Math.round((cs.height - os.height) / gridY) * gridY, | |
| 1118 | + newWidth = os.width + ox, | |
| 1119 | + newHeight = os.height + oy, | |
| 1120 | + isMaxWidth = o.maxWidth && (o.maxWidth < newWidth), | |
| 1121 | + isMaxHeight = o.maxHeight && (o.maxHeight < newHeight), | |
| 1122 | + isMinWidth = o.minWidth && (o.minWidth > newWidth), | |
| 1123 | + isMinHeight = o.minHeight && (o.minHeight > newHeight); | |
| 1124 | + | |
| 1125 | + o.grid = grid; | |
| 1126 | + | |
| 1127 | + if (isMinWidth) { | |
| 1128 | + newWidth += gridX; | |
| 1129 | + } | |
| 1130 | + if (isMinHeight) { | |
| 1131 | + newHeight += gridY; | |
| 1132 | + } | |
| 1133 | + if (isMaxWidth) { | |
| 1134 | + newWidth -= gridX; | |
| 1135 | + } | |
| 1136 | + if (isMaxHeight) { | |
| 1137 | + newHeight -= gridY; | |
| 1138 | + } | |
| 1139 | + | |
| 1140 | + if (/^(se|s|e)$/.test(a)) { | |
| 1141 | + that.size.width = newWidth; | |
| 1142 | + that.size.height = newHeight; | |
| 1143 | + } else if (/^(ne)$/.test(a)) { | |
| 1144 | + that.size.width = newWidth; | |
| 1145 | + that.size.height = newHeight; | |
| 1146 | + that.position.top = op.top - oy; | |
| 1147 | + } else if (/^(sw)$/.test(a)) { | |
| 1148 | + that.size.width = newWidth; | |
| 1149 | + that.size.height = newHeight; | |
| 1150 | + that.position.left = op.left - ox; | |
| 1151 | + } else { | |
| 1152 | + if ( newHeight - gridY <= 0 || newWidth - gridX <= 0) { | |
| 1153 | + outerDimensions = that._getPaddingPlusBorderDimensions( this ); | |
| 1154 | + } | |
| 1155 | + | |
| 1156 | + if ( newHeight - gridY > 0 ) { | |
| 1157 | + that.size.height = newHeight; | |
| 1158 | + that.position.top = op.top - oy; | |
| 1159 | + } else { | |
| 1160 | + newHeight = gridY - outerDimensions.height; | |
| 1161 | + that.size.height = newHeight; | |
| 1162 | + that.position.top = op.top + os.height - newHeight; | |
| 1163 | + } | |
| 1164 | + if ( newWidth - gridX > 0 ) { | |
| 1165 | + that.size.width = newWidth; | |
| 1166 | + that.position.left = op.left - ox; | |
| 1167 | + } else { | |
| 1168 | + newWidth = gridY - outerDimensions.height; | |
| 1169 | + that.size.width = newWidth; | |
| 1170 | + that.position.left = op.left + os.width - newWidth; | |
| 1171 | + } | |
| 1172 | + } | |
| 1173 | + } | |
| 1174 | + | |
| 1175 | +}); | |
| 1176 | + | |
| 1177 | +return $.ui.resizable; | |
| 1178 | + | |
| 1179 | +})); | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/themes/base/accordion.css
0 → 100644
| 1 | +/* | |
| 2 | + * jQuery UI Accordion 1.11.1 | |
| 3 | + * http://jqueryui.com | |
| 4 | + * | |
| 5 | + * Copyright 2014 jQuery Foundation and other contributors | |
| 6 | + * Released under the MIT license. | |
| 7 | + * http://jquery.org/license | |
| 8 | + * | |
| 9 | + * http://api.jqueryui.com/accordion/#theming | |
| 10 | + */ | |
| 11 | +.ui-accordion .ui-accordion-header { | |
| 12 | + display: block; | |
| 13 | + cursor: pointer; | |
| 14 | + position: relative; | |
| 15 | + margin: 2px 0 0 0; | |
| 16 | + padding: .5em .5em .5em .7em; | |
| 17 | + min-height: 0; /* support: IE7 */ | |
| 18 | + font-size: 100%; | |
| 19 | +} | |
| 20 | +.ui-accordion .ui-accordion-icons { | |
| 21 | + padding-left: 2.2em; | |
| 22 | +} | |
| 23 | +.ui-accordion .ui-accordion-icons .ui-accordion-icons { | |
| 24 | + padding-left: 2.2em; | |
| 25 | +} | |
| 26 | +.ui-accordion .ui-accordion-header .ui-accordion-header-icon { | |
| 27 | + position: absolute; | |
| 28 | + left: .5em; | |
| 29 | + top: 50%; | |
| 30 | + margin-top: -8px; | |
| 31 | +} | |
| 32 | +.ui-accordion .ui-accordion-content { | |
| 33 | + padding: 1em 2.2em; | |
| 34 | + border-top: 0; | |
| 35 | + overflow: auto; | |
| 36 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/themes/base/all.css
0 → 100644
| 1 | +/* | |
| 2 | + * jQuery UI CSS Framework 1.11.1 | |
| 3 | + * http://jqueryui.com | |
| 4 | + * | |
| 5 | + * Copyright 2014 jQuery Foundation and other contributors | |
| 6 | + * Released under the MIT license. | |
| 7 | + * http://jquery.org/license | |
| 8 | + * | |
| 9 | + * http://api.jqueryui.com/category/theming/ | |
| 10 | + */ | |
| 11 | +@import "base.css"; | |
| 12 | +@import "theme.css"; | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/themes/base/autocomplete.css
0 → 100644
| 1 | +/* | |
| 2 | + * jQuery UI Autocomplete 1.11.1 | |
| 3 | + * http://jqueryui.com | |
| 4 | + * | |
| 5 | + * Copyright 2014 jQuery Foundation and other contributors | |
| 6 | + * Released under the MIT license. | |
| 7 | + * http://jquery.org/license | |
| 8 | + * | |
| 9 | + * http://api.jqueryui.com/autocomplete/#theming | |
| 10 | + */ | |
| 11 | +.ui-autocomplete { | |
| 12 | + position: absolute; | |
| 13 | + top: 0; | |
| 14 | + left: 0; | |
| 15 | + cursor: default; | |
| 16 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/themes/base/base.css
0 → 100644
| 1 | +/* | |
| 2 | + * jQuery UI CSS Framework 1.11.1 | |
| 3 | + * http://jqueryui.com | |
| 4 | + * | |
| 5 | + * Copyright 2014 jQuery Foundation and other contributors | |
| 6 | + * Released under the MIT license. | |
| 7 | + * http://jquery.org/license | |
| 8 | + * | |
| 9 | + * http://api.jqueryui.com/category/theming/ | |
| 10 | + */ | |
| 11 | +@import url("core.css"); | |
| 12 | + | |
| 13 | +@import url("accordion.css"); | |
| 14 | +@import url("autocomplete.css"); | |
| 15 | +@import url("button.css"); | |
| 16 | +@import url("datepicker.css"); | |
| 17 | +@import url("dialog.css"); | |
| 18 | +@import url("draggable.css"); | |
| 19 | +@import url("menu.css"); | |
| 20 | +@import url("progressbar.css"); | |
| 21 | +@import url("resizable.css"); | |
| 22 | +@import url("selectable.css"); | |
| 23 | +@import url("selectmenu.css"); | |
| 24 | +@import url("sortable.css"); | |
| 25 | +@import url("slider.css"); | |
| 26 | +@import url("spinner.css"); | |
| 27 | +@import url("tabs.css"); | |
| 28 | +@import url("tooltip.css"); | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/themes/base/button.css
0 → 100644
| 1 | +/* | |
| 2 | + * jQuery UI Button 1.11.1 | |
| 3 | + * http://jqueryui.com | |
| 4 | + * | |
| 5 | + * Copyright 2014 jQuery Foundation and other contributors | |
| 6 | + * Released under the MIT license. | |
| 7 | + * http://jquery.org/license | |
| 8 | + * | |
| 9 | + * http://api.jqueryui.com/button/#theming | |
| 10 | + */ | |
| 11 | +.ui-button { | |
| 12 | + display: inline-block; | |
| 13 | + position: relative; | |
| 14 | + padding: 0; | |
| 15 | + line-height: normal; | |
| 16 | + margin-right: .1em; | |
| 17 | + cursor: pointer; | |
| 18 | + vertical-align: middle; | |
| 19 | + text-align: center; | |
| 20 | + overflow: visible; /* removes extra width in IE */ | |
| 21 | +} | |
| 22 | +.ui-button, | |
| 23 | +.ui-button:link, | |
| 24 | +.ui-button:visited, | |
| 25 | +.ui-button:hover, | |
| 26 | +.ui-button:active { | |
| 27 | + text-decoration: none; | |
| 28 | +} | |
| 29 | +/* to make room for the icon, a width needs to be set here */ | |
| 30 | +.ui-button-icon-only { | |
| 31 | + width: 2.2em; | |
| 32 | +} | |
| 33 | +/* button elements seem to need a little more width */ | |
| 34 | +button.ui-button-icon-only { | |
| 35 | + width: 2.4em; | |
| 36 | +} | |
| 37 | +.ui-button-icons-only { | |
| 38 | + width: 3.4em; | |
| 39 | +} | |
| 40 | +button.ui-button-icons-only { | |
| 41 | + width: 3.7em; | |
| 42 | +} | |
| 43 | + | |
| 44 | +/* button text element */ | |
| 45 | +.ui-button .ui-button-text { | |
| 46 | + display: block; | |
| 47 | + line-height: normal; | |
| 48 | +} | |
| 49 | +.ui-button-text-only .ui-button-text { | |
| 50 | + padding: .4em 1em; | |
| 51 | +} | |
| 52 | +.ui-button-icon-only .ui-button-text, | |
| 53 | +.ui-button-icons-only .ui-button-text { | |
| 54 | + padding: .4em; | |
| 55 | + text-indent: -9999999px; | |
| 56 | +} | |
| 57 | +.ui-button-text-icon-primary .ui-button-text, | |
| 58 | +.ui-button-text-icons .ui-button-text { | |
| 59 | + padding: .4em 1em .4em 2.1em; | |
| 60 | +} | |
| 61 | +.ui-button-text-icon-secondary .ui-button-text, | |
| 62 | +.ui-button-text-icons .ui-button-text { | |
| 63 | + padding: .4em 2.1em .4em 1em; | |
| 64 | +} | |
| 65 | +.ui-button-text-icons .ui-button-text { | |
| 66 | + padding-left: 2.1em; | |
| 67 | + padding-right: 2.1em; | |
| 68 | +} | |
| 69 | +/* no icon support for input elements, provide padding by default */ | |
| 70 | +input.ui-button { | |
| 71 | + padding: .4em 1em; | |
| 72 | +} | |
| 73 | + | |
| 74 | +/* button icon element(s) */ | |
| 75 | +.ui-button-icon-only .ui-icon, | |
| 76 | +.ui-button-text-icon-primary .ui-icon, | |
| 77 | +.ui-button-text-icon-secondary .ui-icon, | |
| 78 | +.ui-button-text-icons .ui-icon, | |
| 79 | +.ui-button-icons-only .ui-icon { | |
| 80 | + position: absolute; | |
| 81 | + top: 50%; | |
| 82 | + margin-top: -8px; | |
| 83 | +} | |
| 84 | +.ui-button-icon-only .ui-icon { | |
| 85 | + left: 50%; | |
| 86 | + margin-left: -8px; | |
| 87 | +} | |
| 88 | +.ui-button-text-icon-primary .ui-button-icon-primary, | |
| 89 | +.ui-button-text-icons .ui-button-icon-primary, | |
| 90 | +.ui-button-icons-only .ui-button-icon-primary { | |
| 91 | + left: .5em; | |
| 92 | +} | |
| 93 | +.ui-button-text-icon-secondary .ui-button-icon-secondary, | |
| 94 | +.ui-button-text-icons .ui-button-icon-secondary, | |
| 95 | +.ui-button-icons-only .ui-button-icon-secondary { | |
| 96 | + right: .5em; | |
| 97 | +} | |
| 98 | + | |
| 99 | +/* button sets */ | |
| 100 | +.ui-buttonset { | |
| 101 | + margin-right: 7px; | |
| 102 | +} | |
| 103 | +.ui-buttonset .ui-button { | |
| 104 | + margin-left: 0; | |
| 105 | + margin-right: -.3em; | |
| 106 | +} | |
| 107 | + | |
| 108 | +/* workarounds */ | |
| 109 | +/* reset extra padding in Firefox, see h5bp.com/l */ | |
| 110 | +input.ui-button::-moz-focus-inner, | |
| 111 | +button.ui-button::-moz-focus-inner { | |
| 112 | + border: 0; | |
| 113 | + padding: 0; | |
| 114 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/themes/base/core.css
0 → 100644
| 1 | +/* | |
| 2 | + * jQuery UI CSS Framework 1.11.1 | |
| 3 | + * http://jqueryui.com | |
| 4 | + * | |
| 5 | + * Copyright 2014 jQuery Foundation and other contributors | |
| 6 | + * Released under the MIT license. | |
| 7 | + * http://jquery.org/license | |
| 8 | + * | |
| 9 | + * http://api.jqueryui.com/category/theming/ | |
| 10 | + */ | |
| 11 | + | |
| 12 | +/* Layout helpers | |
| 13 | +----------------------------------*/ | |
| 14 | +.ui-helper-hidden { | |
| 15 | + display: none; | |
| 16 | +} | |
| 17 | +.ui-helper-hidden-accessible { | |
| 18 | + border: 0; | |
| 19 | + clip: rect(0 0 0 0); | |
| 20 | + height: 1px; | |
| 21 | + margin: -1px; | |
| 22 | + overflow: hidden; | |
| 23 | + padding: 0; | |
| 24 | + position: absolute; | |
| 25 | + width: 1px; | |
| 26 | +} | |
| 27 | +.ui-helper-reset { | |
| 28 | + margin: 0; | |
| 29 | + padding: 0; | |
| 30 | + border: 0; | |
| 31 | + outline: 0; | |
| 32 | + line-height: 1.3; | |
| 33 | + text-decoration: none; | |
| 34 | + font-size: 100%; | |
| 35 | + list-style: none; | |
| 36 | +} | |
| 37 | +.ui-helper-clearfix:before, | |
| 38 | +.ui-helper-clearfix:after { | |
| 39 | + content: ""; | |
| 40 | + display: table; | |
| 41 | + border-collapse: collapse; | |
| 42 | +} | |
| 43 | +.ui-helper-clearfix:after { | |
| 44 | + clear: both; | |
| 45 | +} | |
| 46 | +.ui-helper-clearfix { | |
| 47 | + min-height: 0; /* support: IE7 */ | |
| 48 | +} | |
| 49 | +.ui-helper-zfix { | |
| 50 | + width: 100%; | |
| 51 | + height: 100%; | |
| 52 | + top: 0; | |
| 53 | + left: 0; | |
| 54 | + position: absolute; | |
| 55 | + opacity: 0; | |
| 56 | + filter:Alpha(Opacity=0); /* support: IE8 */ | |
| 57 | +} | |
| 58 | + | |
| 59 | +.ui-front { | |
| 60 | + z-index: 100; | |
| 61 | +} | |
| 62 | + | |
| 63 | + | |
| 64 | +/* Interaction Cues | |
| 65 | +----------------------------------*/ | |
| 66 | +.ui-state-disabled { | |
| 67 | + cursor: default !important; | |
| 68 | +} | |
| 69 | + | |
| 70 | + | |
| 71 | +/* Icons | |
| 72 | +----------------------------------*/ | |
| 73 | + | |
| 74 | +/* states and images */ | |
| 75 | +.ui-icon { | |
| 76 | + display: block; | |
| 77 | + text-indent: -99999px; | |
| 78 | + overflow: hidden; | |
| 79 | + background-repeat: no-repeat; | |
| 80 | +} | |
| 81 | + | |
| 82 | + | |
| 83 | +/* Misc visuals | |
| 84 | +----------------------------------*/ | |
| 85 | + | |
| 86 | +/* Overlays */ | |
| 87 | +.ui-widget-overlay { | |
| 88 | + position: fixed; | |
| 89 | + top: 0; | |
| 90 | + left: 0; | |
| 91 | + width: 100%; | |
| 92 | + height: 100%; | |
| 93 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/themes/base/datepicker.css
0 → 100644
| 1 | +/* | |
| 2 | + * jQuery UI Datepicker 1.11.1 | |
| 3 | + * http://jqueryui.com | |
| 4 | + * | |
| 5 | + * Copyright 2014 jQuery Foundation and other contributors | |
| 6 | + * Released under the MIT license. | |
| 7 | + * http://jquery.org/license | |
| 8 | + * | |
| 9 | + * http://api.jqueryui.com/datepicker/#theming | |
| 10 | + */ | |
| 11 | +.ui-datepicker { | |
| 12 | + width: 17em; | |
| 13 | + padding: .2em .2em 0; | |
| 14 | + display: none; | |
| 15 | +} | |
| 16 | +.ui-datepicker .ui-datepicker-header { | |
| 17 | + position: relative; | |
| 18 | + padding: .2em 0; | |
| 19 | +} | |
| 20 | +.ui-datepicker .ui-datepicker-prev, | |
| 21 | +.ui-datepicker .ui-datepicker-next { | |
| 22 | + position: absolute; | |
| 23 | + top: 2px; | |
| 24 | + width: 1.8em; | |
| 25 | + height: 1.8em; | |
| 26 | +} | |
| 27 | +.ui-datepicker .ui-datepicker-prev-hover, | |
| 28 | +.ui-datepicker .ui-datepicker-next-hover { | |
| 29 | + top: 1px; | |
| 30 | +} | |
| 31 | +.ui-datepicker .ui-datepicker-prev { | |
| 32 | + left: 2px; | |
| 33 | +} | |
| 34 | +.ui-datepicker .ui-datepicker-next { | |
| 35 | + right: 2px; | |
| 36 | +} | |
| 37 | +.ui-datepicker .ui-datepicker-prev-hover { | |
| 38 | + left: 1px; | |
| 39 | +} | |
| 40 | +.ui-datepicker .ui-datepicker-next-hover { | |
| 41 | + right: 1px; | |
| 42 | +} | |
| 43 | +.ui-datepicker .ui-datepicker-prev span, | |
| 44 | +.ui-datepicker .ui-datepicker-next span { | |
| 45 | + display: block; | |
| 46 | + position: absolute; | |
| 47 | + left: 50%; | |
| 48 | + margin-left: -8px; | |
| 49 | + top: 50%; | |
| 50 | + margin-top: -8px; | |
| 51 | +} | |
| 52 | +.ui-datepicker .ui-datepicker-title { | |
| 53 | + margin: 0 2.3em; | |
| 54 | + line-height: 1.8em; | |
| 55 | + text-align: center; | |
| 56 | +} | |
| 57 | +.ui-datepicker .ui-datepicker-title select { | |
| 58 | + font-size: 1em; | |
| 59 | + margin: 1px 0; | |
| 60 | +} | |
| 61 | +.ui-datepicker select.ui-datepicker-month, | |
| 62 | +.ui-datepicker select.ui-datepicker-year { | |
| 63 | + width: 45%; | |
| 64 | +} | |
| 65 | +.ui-datepicker table { | |
| 66 | + width: 100%; | |
| 67 | + font-size: .9em; | |
| 68 | + border-collapse: collapse; | |
| 69 | + margin: 0 0 .4em; | |
| 70 | +} | |
| 71 | +.ui-datepicker th { | |
| 72 | + padding: .7em .3em; | |
| 73 | + text-align: center; | |
| 74 | + font-weight: bold; | |
| 75 | + border: 0; | |
| 76 | +} | |
| 77 | +.ui-datepicker td { | |
| 78 | + border: 0; | |
| 79 | + padding: 1px; | |
| 80 | +} | |
| 81 | +.ui-datepicker td span, | |
| 82 | +.ui-datepicker td a { | |
| 83 | + display: block; | |
| 84 | + padding: .2em; | |
| 85 | + text-align: right; | |
| 86 | + text-decoration: none; | |
| 87 | +} | |
| 88 | +.ui-datepicker .ui-datepicker-buttonpane { | |
| 89 | + background-image: none; | |
| 90 | + margin: .7em 0 0 0; | |
| 91 | + padding: 0 .2em; | |
| 92 | + border-left: 0; | |
| 93 | + border-right: 0; | |
| 94 | + border-bottom: 0; | |
| 95 | +} | |
| 96 | +.ui-datepicker .ui-datepicker-buttonpane button { | |
| 97 | + float: right; | |
| 98 | + margin: .5em .2em .4em; | |
| 99 | + cursor: pointer; | |
| 100 | + padding: .2em .6em .3em .6em; | |
| 101 | + width: auto; | |
| 102 | + overflow: visible; | |
| 103 | +} | |
| 104 | +.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { | |
| 105 | + float: left; | |
| 106 | +} | |
| 107 | + | |
| 108 | +/* with multiple calendars */ | |
| 109 | +.ui-datepicker.ui-datepicker-multi { | |
| 110 | + width: auto; | |
| 111 | +} | |
| 112 | +.ui-datepicker-multi .ui-datepicker-group { | |
| 113 | + float: left; | |
| 114 | +} | |
| 115 | +.ui-datepicker-multi .ui-datepicker-group table { | |
| 116 | + width: 95%; | |
| 117 | + margin: 0 auto .4em; | |
| 118 | +} | |
| 119 | +.ui-datepicker-multi-2 .ui-datepicker-group { | |
| 120 | + width: 50%; | |
| 121 | +} | |
| 122 | +.ui-datepicker-multi-3 .ui-datepicker-group { | |
| 123 | + width: 33.3%; | |
| 124 | +} | |
| 125 | +.ui-datepicker-multi-4 .ui-datepicker-group { | |
| 126 | + width: 25%; | |
| 127 | +} | |
| 128 | +.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header, | |
| 129 | +.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { | |
| 130 | + border-left-width: 0; | |
| 131 | +} | |
| 132 | +.ui-datepicker-multi .ui-datepicker-buttonpane { | |
| 133 | + clear: left; | |
| 134 | +} | |
| 135 | +.ui-datepicker-row-break { | |
| 136 | + clear: both; | |
| 137 | + width: 100%; | |
| 138 | + font-size: 0; | |
| 139 | +} | |
| 140 | + | |
| 141 | +/* RTL support */ | |
| 142 | +.ui-datepicker-rtl { | |
| 143 | + direction: rtl; | |
| 144 | +} | |
| 145 | +.ui-datepicker-rtl .ui-datepicker-prev { | |
| 146 | + right: 2px; | |
| 147 | + left: auto; | |
| 148 | +} | |
| 149 | +.ui-datepicker-rtl .ui-datepicker-next { | |
| 150 | + left: 2px; | |
| 151 | + right: auto; | |
| 152 | +} | |
| 153 | +.ui-datepicker-rtl .ui-datepicker-prev:hover { | |
| 154 | + right: 1px; | |
| 155 | + left: auto; | |
| 156 | +} | |
| 157 | +.ui-datepicker-rtl .ui-datepicker-next:hover { | |
| 158 | + left: 1px; | |
| 159 | + right: auto; | |
| 160 | +} | |
| 161 | +.ui-datepicker-rtl .ui-datepicker-buttonpane { | |
| 162 | + clear: right; | |
| 163 | +} | |
| 164 | +.ui-datepicker-rtl .ui-datepicker-buttonpane button { | |
| 165 | + float: left; | |
| 166 | +} | |
| 167 | +.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current, | |
| 168 | +.ui-datepicker-rtl .ui-datepicker-group { | |
| 169 | + float: right; | |
| 170 | +} | |
| 171 | +.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header, | |
| 172 | +.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { | |
| 173 | + border-right-width: 0; | |
| 174 | + border-left-width: 1px; | |
| 175 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/themes/base/dialog.css
0 → 100644
| 1 | +/* | |
| 2 | + * jQuery UI Dialog 1.11.1 | |
| 3 | + * http://jqueryui.com | |
| 4 | + * | |
| 5 | + * Copyright 2014 jQuery Foundation and other contributors | |
| 6 | + * Released under the MIT license. | |
| 7 | + * http://jquery.org/license | |
| 8 | + * | |
| 9 | + * http://api.jqueryui.com/dialog/#theming | |
| 10 | + */ | |
| 11 | +.ui-dialog { | |
| 12 | + overflow: hidden; | |
| 13 | + position: absolute; | |
| 14 | + top: 0; | |
| 15 | + left: 0; | |
| 16 | + padding: .2em; | |
| 17 | + outline: 0; | |
| 18 | +} | |
| 19 | +.ui-dialog .ui-dialog-titlebar { | |
| 20 | + padding: .4em 1em; | |
| 21 | + position: relative; | |
| 22 | +} | |
| 23 | +.ui-dialog .ui-dialog-title { | |
| 24 | + float: left; | |
| 25 | + margin: .1em 0; | |
| 26 | + white-space: nowrap; | |
| 27 | + width: 90%; | |
| 28 | + overflow: hidden; | |
| 29 | + text-overflow: ellipsis; | |
| 30 | +} | |
| 31 | +.ui-dialog .ui-dialog-titlebar-close { | |
| 32 | + position: absolute; | |
| 33 | + right: .3em; | |
| 34 | + top: 50%; | |
| 35 | + width: 20px; | |
| 36 | + margin: -10px 0 0 0; | |
| 37 | + padding: 1px; | |
| 38 | + height: 20px; | |
| 39 | +} | |
| 40 | +.ui-dialog .ui-dialog-content { | |
| 41 | + position: relative; | |
| 42 | + border: 0; | |
| 43 | + padding: .5em 1em; | |
| 44 | + background: none; | |
| 45 | + overflow: auto; | |
| 46 | +} | |
| 47 | +.ui-dialog .ui-dialog-buttonpane { | |
| 48 | + text-align: left; | |
| 49 | + border-width: 1px 0 0 0; | |
| 50 | + background-image: none; | |
| 51 | + margin-top: .5em; | |
| 52 | + padding: .3em 1em .5em .4em; | |
| 53 | +} | |
| 54 | +.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { | |
| 55 | + float: right; | |
| 56 | +} | |
| 57 | +.ui-dialog .ui-dialog-buttonpane button { | |
| 58 | + margin: .5em .4em .5em 0; | |
| 59 | + cursor: pointer; | |
| 60 | +} | |
| 61 | +.ui-dialog .ui-resizable-se { | |
| 62 | + width: 12px; | |
| 63 | + height: 12px; | |
| 64 | + right: -5px; | |
| 65 | + bottom: -5px; | |
| 66 | + background-position: 16px 16px; | |
| 67 | +} | |
| 68 | +.ui-draggable .ui-dialog-titlebar { | |
| 69 | + cursor: move; | |
| 70 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/themes/base/draggable.css
0 → 100644
| 1 | +/* | |
| 2 | + * jQuery UI Draggable 1.11.1 | |
| 3 | + * http://jqueryui.com | |
| 4 | + * | |
| 5 | + * Copyright 2014 jQuery Foundation and other contributors | |
| 6 | + * Released under the MIT license. | |
| 7 | + * http://jquery.org/license | |
| 8 | + */ | |
| 9 | +.ui-draggable-handle { | |
| 10 | + -ms-touch-action: none; | |
| 11 | + touch-action: none; | |
| 12 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png
0 → 100644
180 Bytes
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/themes/base/images/ui-bg_flat_75_ffffff_40x100.png
0 → 100644
178 Bytes
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png
0 → 100644
120 Bytes
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/themes/base/images/ui-bg_glass_65_ffffff_1x400.png
0 → 100644
105 Bytes
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/themes/base/images/ui-bg_glass_75_dadada_1x400.png
0 → 100644
111 Bytes
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png
0 → 100644
110 Bytes
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png
0 → 100644
119 Bytes
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png
0 → 100644
101 Bytes
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/themes/base/images/ui-icons_222222_256x240.png
0 → 100644
4.27 KB
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/themes/base/images/ui-icons_2e83ff_256x240.png
0 → 100644
4.27 KB
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/themes/base/images/ui-icons_454545_256x240.png
0 → 100644
4.27 KB
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/themes/base/images/ui-icons_888888_256x240.png
0 → 100644
4.27 KB
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/themes/base/images/ui-icons_cd0a0a_256x240.png
0 → 100644
4.27 KB
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/themes/base/menu.css
0 → 100644
| 1 | +/* | |
| 2 | + * jQuery UI Menu 1.11.1 | |
| 3 | + * http://jqueryui.com | |
| 4 | + * | |
| 5 | + * Copyright 2014 jQuery Foundation and other contributors | |
| 6 | + * Released under the MIT license. | |
| 7 | + * http://jquery.org/license | |
| 8 | + * | |
| 9 | + * http://api.jqueryui.com/menu/#theming | |
| 10 | + */ | |
| 11 | +.ui-menu { | |
| 12 | + list-style: none; | |
| 13 | + padding: 0; | |
| 14 | + margin: 0; | |
| 15 | + display: block; | |
| 16 | + outline: none; | |
| 17 | +} | |
| 18 | +.ui-menu .ui-menu { | |
| 19 | + position: absolute; | |
| 20 | +} | |
| 21 | +.ui-menu .ui-menu-item { | |
| 22 | + position: relative; | |
| 23 | + margin: 0; | |
| 24 | + padding: 3px 1em 3px .4em; | |
| 25 | + cursor: pointer; | |
| 26 | + min-height: 0; /* support: IE7 */ | |
| 27 | + /* support: IE10, see #8844 */ | |
| 28 | + list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"); | |
| 29 | +} | |
| 30 | +.ui-menu .ui-menu-divider { | |
| 31 | + margin: 5px 0; | |
| 32 | + height: 0; | |
| 33 | + font-size: 0; | |
| 34 | + line-height: 0; | |
| 35 | + border-width: 1px 0 0 0; | |
| 36 | +} | |
| 37 | +.ui-menu .ui-state-focus, | |
| 38 | +.ui-menu .ui-state-active { | |
| 39 | + margin: -1px; | |
| 40 | +} | |
| 41 | + | |
| 42 | +/* icon support */ | |
| 43 | +.ui-menu-icons { | |
| 44 | + position: relative; | |
| 45 | +} | |
| 46 | +.ui-menu-icons .ui-menu-item { | |
| 47 | + padding-left: 2em; | |
| 48 | +} | |
| 49 | + | |
| 50 | +/* left-aligned */ | |
| 51 | +.ui-menu .ui-icon { | |
| 52 | + position: absolute; | |
| 53 | + top: 0; | |
| 54 | + bottom: 0; | |
| 55 | + left: .2em; | |
| 56 | + margin: auto 0; | |
| 57 | +} | |
| 58 | + | |
| 59 | +/* right-aligned */ | |
| 60 | +.ui-menu .ui-menu-icon { | |
| 61 | + left: auto; | |
| 62 | + right: 0; | |
| 63 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/themes/base/progressbar.css
0 → 100644
| 1 | +/* | |
| 2 | + * jQuery UI Progressbar 1.11.1 | |
| 3 | + * http://jqueryui.com | |
| 4 | + * | |
| 5 | + * Copyright 2014 jQuery Foundation and other contributors | |
| 6 | + * Released under the MIT license. | |
| 7 | + * http://jquery.org/license | |
| 8 | + * | |
| 9 | + * http://api.jqueryui.com/progressbar/#theming | |
| 10 | + */ | |
| 11 | +.ui-progressbar { | |
| 12 | + height: 2em; | |
| 13 | + text-align: left; | |
| 14 | + overflow: hidden; | |
| 15 | +} | |
| 16 | +.ui-progressbar .ui-progressbar-value { | |
| 17 | + margin: -1px; | |
| 18 | + height: 100%; | |
| 19 | +} | |
| 20 | +.ui-progressbar .ui-progressbar-overlay { | |
| 21 | + background: url("data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuBUXKGKXlKjn+DiHWMcYJah4N0lYCMlJOXipGRr5qdgoSTrqWSq6WFl2ypoaUAAAIfkECQEAAQAsAAAAACgAKAAAApaEb6HLgd/iO7FNWtcFWe+ufODGjRfoiJ2akShbueb0wtI50zm02pbvwfWEMWBQ1zKGlLIhskiEPm9R6vRXxV4ZzWT2yHOGpWMyorblKlNp8HmHEb/lCXjcW7bmtXP8Xt229OVWR1fod2eWqNfHuMjXCPkIGNileOiImVmCOEmoSfn3yXlJWmoHGhqp6ilYuWYpmTqKUgAAIfkECQEAAQAsAAAAACgAKAAAApiEH6kb58biQ3FNWtMFWW3eNVcojuFGfqnZqSebuS06w5V80/X02pKe8zFwP6EFWOT1lDFk8rGERh1TTNOocQ61Hm4Xm2VexUHpzjymViHrFbiELsefVrn6XKfnt2Q9G/+Xdie499XHd2g4h7ioOGhXGJboGAnXSBnoBwKYyfioubZJ2Hn0RuRZaflZOil56Zp6iioKSXpUAAAh+QQJAQABACwAAAAAKAAoAAACkoQRqRvnxuI7kU1a1UU5bd5tnSeOZXhmn5lWK3qNTWvRdQxP8qvaC+/yaYQzXO7BMvaUEmJRd3TsiMAgswmNYrSgZdYrTX6tSHGZO73ezuAw2uxuQ+BbeZfMxsexY35+/Qe4J1inV0g4x3WHuMhIl2jXOKT2Q+VU5fgoSUI52VfZyfkJGkha6jmY+aaYdirq+lQAACH5BAkBAAEALAAAAAAoACgAAAKWBIKpYe0L3YNKToqswUlvznigd4wiR4KhZrKt9Upqip61i9E3vMvxRdHlbEFiEXfk9YARYxOZZD6VQ2pUunBmtRXo1Lf8hMVVcNl8JafV38aM2/Fu5V16Bn63r6xt97j09+MXSFi4BniGFae3hzbH9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw=="); | |
| 22 | + height: 100%; | |
| 23 | + filter: alpha(opacity=25); /* support: IE8 */ | |
| 24 | + opacity: 0.25; | |
| 25 | +} | |
| 26 | +.ui-progressbar-indeterminate .ui-progressbar-value { | |
| 27 | + background-image: none; | |
| 28 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/themes/base/resizable.css
0 → 100644
| 1 | +/* | |
| 2 | + * jQuery UI Resizable 1.11.1 | |
| 3 | + * http://jqueryui.com | |
| 4 | + * | |
| 5 | + * Copyright 2014 jQuery Foundation and other contributors | |
| 6 | + * Released under the MIT license. | |
| 7 | + * http://jquery.org/license | |
| 8 | + */ | |
| 9 | +.ui-resizable { | |
| 10 | + position: relative; | |
| 11 | +} | |
| 12 | +.ui-resizable-handle { | |
| 13 | + position: absolute; | |
| 14 | + font-size: 0.1px; | |
| 15 | + display: block; | |
| 16 | + -ms-touch-action: none; | |
| 17 | + touch-action: none; | |
| 18 | +} | |
| 19 | +.ui-resizable-disabled .ui-resizable-handle, | |
| 20 | +.ui-resizable-autohide .ui-resizable-handle { | |
| 21 | + display: none; | |
| 22 | +} | |
| 23 | +.ui-resizable-n { | |
| 24 | + cursor: n-resize; | |
| 25 | + height: 7px; | |
| 26 | + width: 100%; | |
| 27 | + top: -5px; | |
| 28 | + left: 0; | |
| 29 | +} | |
| 30 | +.ui-resizable-s { | |
| 31 | + cursor: s-resize; | |
| 32 | + height: 7px; | |
| 33 | + width: 100%; | |
| 34 | + bottom: -5px; | |
| 35 | + left: 0; | |
| 36 | +} | |
| 37 | +.ui-resizable-e { | |
| 38 | + cursor: e-resize; | |
| 39 | + width: 7px; | |
| 40 | + right: -5px; | |
| 41 | + top: 0; | |
| 42 | + height: 100%; | |
| 43 | +} | |
| 44 | +.ui-resizable-w { | |
| 45 | + cursor: w-resize; | |
| 46 | + width: 7px; | |
| 47 | + left: -5px; | |
| 48 | + top: 0; | |
| 49 | + height: 100%; | |
| 50 | +} | |
| 51 | +.ui-resizable-se { | |
| 52 | + cursor: se-resize; | |
| 53 | + width: 12px; | |
| 54 | + height: 12px; | |
| 55 | + right: 1px; | |
| 56 | + bottom: 1px; | |
| 57 | +} | |
| 58 | +.ui-resizable-sw { | |
| 59 | + cursor: sw-resize; | |
| 60 | + width: 9px; | |
| 61 | + height: 9px; | |
| 62 | + left: -5px; | |
| 63 | + bottom: -5px; | |
| 64 | +} | |
| 65 | +.ui-resizable-nw { | |
| 66 | + cursor: nw-resize; | |
| 67 | + width: 9px; | |
| 68 | + height: 9px; | |
| 69 | + left: -5px; | |
| 70 | + top: -5px; | |
| 71 | +} | |
| 72 | +.ui-resizable-ne { | |
| 73 | + cursor: ne-resize; | |
| 74 | + width: 9px; | |
| 75 | + height: 9px; | |
| 76 | + right: -5px; | |
| 77 | + top: -5px; | |
| 78 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/themes/base/selectable.css
0 → 100644
| 1 | +/* | |
| 2 | + * jQuery UI Selectable 1.11.1 | |
| 3 | + * http://jqueryui.com | |
| 4 | + * | |
| 5 | + * Copyright 2014 jQuery Foundation and other contributors | |
| 6 | + * Released under the MIT license. | |
| 7 | + * http://jquery.org/license | |
| 8 | + */ | |
| 9 | +.ui-selectable { | |
| 10 | + -ms-touch-action: none; | |
| 11 | + touch-action: none; | |
| 12 | +} | |
| 13 | +.ui-selectable-helper { | |
| 14 | + position: absolute; | |
| 15 | + z-index: 100; | |
| 16 | + border: 1px dotted black; | |
| 17 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/themes/base/selectmenu.css
0 → 100644
| 1 | +/* | |
| 2 | + * jQuery UI Selectmenu 1.11.1 | |
| 3 | + * http://jqueryui.com | |
| 4 | + * | |
| 5 | + * Copyright 2014 jQuery Foundation and other contributors | |
| 6 | + * Released under the MIT license. | |
| 7 | + * http://jquery.org/license | |
| 8 | + * | |
| 9 | + * http://api.jqueryui.com/selectmenu/#theming | |
| 10 | + */ | |
| 11 | +.ui-selectmenu-menu { | |
| 12 | + padding: 0; | |
| 13 | + margin: 0; | |
| 14 | + position: absolute; | |
| 15 | + top: 0; | |
| 16 | + left: 0; | |
| 17 | + display: none; | |
| 18 | +} | |
| 19 | +.ui-selectmenu-menu .ui-menu { | |
| 20 | + overflow: auto; | |
| 21 | + /* Support: IE7 */ | |
| 22 | + overflow-x: hidden; | |
| 23 | + padding-bottom: 1px; | |
| 24 | +} | |
| 25 | +.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup { | |
| 26 | + font-size: 1em; | |
| 27 | + font-weight: bold; | |
| 28 | + line-height: 1.5; | |
| 29 | + padding: 2px 0.4em; | |
| 30 | + margin: 0.5em 0 0 0; | |
| 31 | + height: auto; | |
| 32 | + border: 0; | |
| 33 | +} | |
| 34 | +.ui-selectmenu-open { | |
| 35 | + display: block; | |
| 36 | +} | |
| 37 | +.ui-selectmenu-button { | |
| 38 | + display: inline-block; | |
| 39 | + overflow: hidden; | |
| 40 | + position: relative; | |
| 41 | + text-decoration: none; | |
| 42 | + cursor: pointer; | |
| 43 | +} | |
| 44 | +.ui-selectmenu-button span.ui-icon { | |
| 45 | + right: 0.5em; | |
| 46 | + left: auto; | |
| 47 | + margin-top: -8px; | |
| 48 | + position: absolute; | |
| 49 | + top: 50%; | |
| 50 | +} | |
| 51 | +.ui-selectmenu-button span.ui-selectmenu-text { | |
| 52 | + text-align: left; | |
| 53 | + padding: 0.4em 2.1em 0.4em 1em; | |
| 54 | + display: block; | |
| 55 | + line-height: 1.4; | |
| 56 | + overflow: hidden; | |
| 57 | + text-overflow: ellipsis; | |
| 58 | + white-space: nowrap; | |
| 59 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/themes/base/slider.css
0 → 100644
| 1 | +/* | |
| 2 | + * jQuery UI Slider 1.11.1 | |
| 3 | + * http://jqueryui.com | |
| 4 | + * | |
| 5 | + * Copyright 2014 jQuery Foundation and other contributors | |
| 6 | + * Released under the MIT license. | |
| 7 | + * http://jquery.org/license | |
| 8 | + * | |
| 9 | + * http://api.jqueryui.com/slider/#theming | |
| 10 | + */ | |
| 11 | +.ui-slider { | |
| 12 | + position: relative; | |
| 13 | + text-align: left; | |
| 14 | +} | |
| 15 | +.ui-slider .ui-slider-handle { | |
| 16 | + position: absolute; | |
| 17 | + z-index: 2; | |
| 18 | + width: 1.2em; | |
| 19 | + height: 1.2em; | |
| 20 | + cursor: default; | |
| 21 | + -ms-touch-action: none; | |
| 22 | + touch-action: none; | |
| 23 | +} | |
| 24 | +.ui-slider .ui-slider-range { | |
| 25 | + position: absolute; | |
| 26 | + z-index: 1; | |
| 27 | + font-size: .7em; | |
| 28 | + display: block; | |
| 29 | + border: 0; | |
| 30 | + background-position: 0 0; | |
| 31 | +} | |
| 32 | + | |
| 33 | +/* support: IE8 - See #6727 */ | |
| 34 | +.ui-slider.ui-state-disabled .ui-slider-handle, | |
| 35 | +.ui-slider.ui-state-disabled .ui-slider-range { | |
| 36 | + filter: inherit; | |
| 37 | +} | |
| 38 | + | |
| 39 | +.ui-slider-horizontal { | |
| 40 | + height: .8em; | |
| 41 | +} | |
| 42 | +.ui-slider-horizontal .ui-slider-handle { | |
| 43 | + top: -.3em; | |
| 44 | + margin-left: -.6em; | |
| 45 | +} | |
| 46 | +.ui-slider-horizontal .ui-slider-range { | |
| 47 | + top: 0; | |
| 48 | + height: 100%; | |
| 49 | +} | |
| 50 | +.ui-slider-horizontal .ui-slider-range-min { | |
| 51 | + left: 0; | |
| 52 | +} | |
| 53 | +.ui-slider-horizontal .ui-slider-range-max { | |
| 54 | + right: 0; | |
| 55 | +} | |
| 56 | + | |
| 57 | +.ui-slider-vertical { | |
| 58 | + width: .8em; | |
| 59 | + height: 100px; | |
| 60 | +} | |
| 61 | +.ui-slider-vertical .ui-slider-handle { | |
| 62 | + left: -.3em; | |
| 63 | + margin-left: 0; | |
| 64 | + margin-bottom: -.6em; | |
| 65 | +} | |
| 66 | +.ui-slider-vertical .ui-slider-range { | |
| 67 | + left: 0; | |
| 68 | + width: 100%; | |
| 69 | +} | |
| 70 | +.ui-slider-vertical .ui-slider-range-min { | |
| 71 | + bottom: 0; | |
| 72 | +} | |
| 73 | +.ui-slider-vertical .ui-slider-range-max { | |
| 74 | + top: 0; | |
| 75 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/themes/base/sortable.css
0 → 100644
| 1 | +/* | |
| 2 | + * jQuery UI Sortable 1.11.1 | |
| 3 | + * http://jqueryui.com | |
| 4 | + * | |
| 5 | + * Copyright 2014 jQuery Foundation and other contributors | |
| 6 | + * Released under the MIT license. | |
| 7 | + * http://jquery.org/license | |
| 8 | + */ | |
| 9 | +.ui-sortable-handle { | |
| 10 | + -ms-touch-action: none; | |
| 11 | + touch-action: none; | |
| 12 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/themes/base/spinner.css
0 → 100644
| 1 | +/* | |
| 2 | + * jQuery UI Spinner 1.11.1 | |
| 3 | + * http://jqueryui.com | |
| 4 | + * | |
| 5 | + * Copyright 2014 jQuery Foundation and other contributors | |
| 6 | + * Released under the MIT license. | |
| 7 | + * http://jquery.org/license | |
| 8 | + * | |
| 9 | + * http://api.jqueryui.com/spinner/#theming | |
| 10 | + */ | |
| 11 | +.ui-spinner { | |
| 12 | + position: relative; | |
| 13 | + display: inline-block; | |
| 14 | + overflow: hidden; | |
| 15 | + padding: 0; | |
| 16 | + vertical-align: middle; | |
| 17 | +} | |
| 18 | +.ui-spinner-input { | |
| 19 | + border: none; | |
| 20 | + background: none; | |
| 21 | + color: inherit; | |
| 22 | + padding: 0; | |
| 23 | + margin: .2em 0; | |
| 24 | + vertical-align: middle; | |
| 25 | + margin-left: .4em; | |
| 26 | + margin-right: 22px; | |
| 27 | +} | |
| 28 | +.ui-spinner-button { | |
| 29 | + width: 16px; | |
| 30 | + height: 50%; | |
| 31 | + font-size: .5em; | |
| 32 | + padding: 0; | |
| 33 | + margin: 0; | |
| 34 | + text-align: center; | |
| 35 | + position: absolute; | |
| 36 | + cursor: default; | |
| 37 | + display: block; | |
| 38 | + overflow: hidden; | |
| 39 | + right: 0; | |
| 40 | +} | |
| 41 | +/* more specificity required here to override default borders */ | |
| 42 | +.ui-spinner a.ui-spinner-button { | |
| 43 | + border-top: none; | |
| 44 | + border-bottom: none; | |
| 45 | + border-right: none; | |
| 46 | +} | |
| 47 | +/* vertically center icon */ | |
| 48 | +.ui-spinner .ui-icon { | |
| 49 | + position: absolute; | |
| 50 | + margin-top: -8px; | |
| 51 | + top: 50%; | |
| 52 | + left: 0; | |
| 53 | +} | |
| 54 | +.ui-spinner-up { | |
| 55 | + top: 0; | |
| 56 | +} | |
| 57 | +.ui-spinner-down { | |
| 58 | + bottom: 0; | |
| 59 | +} | |
| 60 | + | |
| 61 | +/* TR overrides */ | |
| 62 | +.ui-spinner .ui-icon-triangle-1-s { | |
| 63 | + /* need to fix icons sprite */ | |
| 64 | + background-position: -65px -16px; | |
| 65 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/themes/base/tabs.css
0 → 100644
| 1 | +/* | |
| 2 | + * jQuery UI Tabs 1.11.1 | |
| 3 | + * http://jqueryui.com | |
| 4 | + * | |
| 5 | + * Copyright 2014 jQuery Foundation and other contributors | |
| 6 | + * Released under the MIT license. | |
| 7 | + * http://jquery.org/license | |
| 8 | + * | |
| 9 | + * http://api.jqueryui.com/tabs/#theming | |
| 10 | + */ | |
| 11 | +.ui-tabs { | |
| 12 | + position: relative;/* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ | |
| 13 | + padding: .2em; | |
| 14 | +} | |
| 15 | +.ui-tabs .ui-tabs-nav { | |
| 16 | + margin: 0; | |
| 17 | + padding: .2em .2em 0; | |
| 18 | +} | |
| 19 | +.ui-tabs .ui-tabs-nav li { | |
| 20 | + list-style: none; | |
| 21 | + float: left; | |
| 22 | + position: relative; | |
| 23 | + top: 0; | |
| 24 | + margin: 1px .2em 0 0; | |
| 25 | + border-bottom-width: 0; | |
| 26 | + padding: 0; | |
| 27 | + white-space: nowrap; | |
| 28 | +} | |
| 29 | +.ui-tabs .ui-tabs-nav .ui-tabs-anchor { | |
| 30 | + float: left; | |
| 31 | + padding: .5em 1em; | |
| 32 | + text-decoration: none; | |
| 33 | +} | |
| 34 | +.ui-tabs .ui-tabs-nav li.ui-tabs-active { | |
| 35 | + margin-bottom: -1px; | |
| 36 | + padding-bottom: 1px; | |
| 37 | +} | |
| 38 | +.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor, | |
| 39 | +.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor, | |
| 40 | +.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor { | |
| 41 | + cursor: text; | |
| 42 | +} | |
| 43 | +.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor { | |
| 44 | + cursor: pointer; | |
| 45 | +} | |
| 46 | +.ui-tabs .ui-tabs-panel { | |
| 47 | + display: block; | |
| 48 | + border-width: 0; | |
| 49 | + padding: 1em 1.4em; | |
| 50 | + background: none; | |
| 51 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/themes/base/theme.css
0 → 100644
| 1 | +/* | |
| 2 | + * jQuery UI CSS Framework 1.11.1 | |
| 3 | + * http://jqueryui.com | |
| 4 | + * | |
| 5 | + * Copyright 2014 jQuery Foundation and other contributors | |
| 6 | + * Released under the MIT license. | |
| 7 | + * http://jquery.org/license | |
| 8 | + * | |
| 9 | + * http://api.jqueryui.com/category/theming/ | |
| 10 | + * | |
| 11 | + * To view and modify this theme, visit http://jqueryui.com/themeroller/ | |
| 12 | + */ | |
| 13 | + | |
| 14 | + | |
| 15 | +/* Component containers | |
| 16 | +----------------------------------*/ | |
| 17 | +.ui-widget { | |
| 18 | + font-family: Verdana,Arial,sans-serif/*{ffDefault}*/; | |
| 19 | + font-size: 1.1em/*{fsDefault}*/; | |
| 20 | +} | |
| 21 | +.ui-widget .ui-widget { | |
| 22 | + font-size: 1em; | |
| 23 | +} | |
| 24 | +.ui-widget input, | |
| 25 | +.ui-widget select, | |
| 26 | +.ui-widget textarea, | |
| 27 | +.ui-widget button { | |
| 28 | + font-family: Verdana,Arial,sans-serif/*{ffDefault}*/; | |
| 29 | + font-size: 1em; | |
| 30 | +} | |
| 31 | +.ui-widget-content { | |
| 32 | + border: 1px solid #aaaaaa/*{borderColorContent}*/; | |
| 33 | + background: #ffffff/*{bgColorContent}*/ url("/real_control_v2/assets/plugins/jquery.ui/themes/base/images/ui-bg_flat_75_ffffff_40x100.png")/*{bgImgUrlContent}*/ 50%/*{bgContentXPos}*/ 50%/*{bgContentYPos}*/ repeat-x/*{bgContentRepeat}*/; | |
| 34 | + color: #222222/*{fcContent}*/; | |
| 35 | +} | |
| 36 | +.ui-widget-content a { | |
| 37 | + color: #222222/*{fcContent}*/; | |
| 38 | +} | |
| 39 | +.ui-widget-header { | |
| 40 | + border: 1px solid #aaaaaa/*{borderColorHeader}*/; | |
| 41 | + background: #cccccc/*{bgColorHeader}*/ url("/real_control_v2/assets/plugins/jquery.ui/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png")/*{bgImgUrlHeader}*/ 50%/*{bgHeaderXPos}*/ 50%/*{bgHeaderYPos}*/ repeat-x/*{bgHeaderRepeat}*/; | |
| 42 | + color: #222222/*{fcHeader}*/; | |
| 43 | + font-weight: bold; | |
| 44 | +} | |
| 45 | +.ui-widget-header a { | |
| 46 | + color: #222222/*{fcHeader}*/; | |
| 47 | +} | |
| 48 | + | |
| 49 | +/* Interaction states | |
| 50 | +----------------------------------*/ | |
| 51 | +.ui-state-default, | |
| 52 | +.ui-widget-content .ui-state-default, | |
| 53 | +.ui-widget-header .ui-state-default { | |
| 54 | + border: 1px solid #d3d3d3/*{borderColorDefault}*/; | |
| 55 | + background: #e6e6e6/*{bgColorDefault}*/ url("/real_control_v2/assets/plugins/jquery.ui/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png")/*{bgImgUrlDefault}*/ 50%/*{bgDefaultXPos}*/ 50%/*{bgDefaultYPos}*/ repeat-x/*{bgDefaultRepeat}*/; | |
| 56 | + font-weight: normal/*{fwDefault}*/; | |
| 57 | + color: #555555/*{fcDefault}*/; | |
| 58 | +} | |
| 59 | +.ui-state-default a, | |
| 60 | +.ui-state-default a:link, | |
| 61 | +.ui-state-default a:visited { | |
| 62 | + color: #555555/*{fcDefault}*/; | |
| 63 | + text-decoration: none; | |
| 64 | +} | |
| 65 | +.ui-state-hover, | |
| 66 | +.ui-widget-content .ui-state-hover, | |
| 67 | +.ui-widget-header .ui-state-hover, | |
| 68 | +.ui-state-focus, | |
| 69 | +.ui-widget-content .ui-state-focus, | |
| 70 | +.ui-widget-header .ui-state-focus { | |
| 71 | + border: 1px solid #999999/*{borderColorHover}*/; | |
| 72 | + background: #dadada/*{bgColorHover}*/ url("/real_control_v2/assets/plugins/jquery.ui/themes/base/images/ui-bg_glass_75_dadada_1x400.png")/*{bgImgUrlHover}*/ 50%/*{bgHoverXPos}*/ 50%/*{bgHoverYPos}*/ repeat-x/*{bgHoverRepeat}*/; | |
| 73 | + font-weight: normal/*{fwDefault}*/; | |
| 74 | + color: #212121/*{fcHover}*/; | |
| 75 | +} | |
| 76 | +.ui-state-hover a, | |
| 77 | +.ui-state-hover a:hover, | |
| 78 | +.ui-state-hover a:link, | |
| 79 | +.ui-state-hover a:visited, | |
| 80 | +.ui-state-focus a, | |
| 81 | +.ui-state-focus a:hover, | |
| 82 | +.ui-state-focus a:link, | |
| 83 | +.ui-state-focus a:visited { | |
| 84 | + color: #212121/*{fcHover}*/; | |
| 85 | + text-decoration: none; | |
| 86 | +} | |
| 87 | +.ui-state-active, | |
| 88 | +.ui-widget-content .ui-state-active, | |
| 89 | +.ui-widget-header .ui-state-active { | |
| 90 | + border: 1px solid #aaaaaa/*{borderColorActive}*/; | |
| 91 | + background: #ffffff/*{bgColorActive}*/ url("/real_control_v2/assets/plugins/jquery.ui/themes/base/images/ui-bg_glass_65_ffffff_1x400.png")/*{bgImgUrlActive}*/ 50%/*{bgActiveXPos}*/ 50%/*{bgActiveYPos}*/ repeat-x/*{bgActiveRepeat}*/; | |
| 92 | + font-weight: normal/*{fwDefault}*/; | |
| 93 | + color: #212121/*{fcActive}*/; | |
| 94 | +} | |
| 95 | +.ui-state-active a, | |
| 96 | +.ui-state-active a:link, | |
| 97 | +.ui-state-active a:visited { | |
| 98 | + color: #212121/*{fcActive}*/; | |
| 99 | + text-decoration: none; | |
| 100 | +} | |
| 101 | + | |
| 102 | +/* Interaction Cues | |
| 103 | +----------------------------------*/ | |
| 104 | +.ui-state-highlight, | |
| 105 | +.ui-widget-content .ui-state-highlight, | |
| 106 | +.ui-widget-header .ui-state-highlight { | |
| 107 | + border: 1px solid #fcefa1/*{borderColorHighlight}*/; | |
| 108 | + background: #fbf9ee/*{bgColorHighlight}*/ url("/real_control_v2/assets/plugins/jquery.ui/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png")/*{bgImgUrlHighlight}*/ 50%/*{bgHighlightXPos}*/ 50%/*{bgHighlightYPos}*/ repeat-x/*{bgHighlightRepeat}*/; | |
| 109 | + color: #363636/*{fcHighlight}*/; | |
| 110 | +} | |
| 111 | +.ui-state-highlight a, | |
| 112 | +.ui-widget-content .ui-state-highlight a, | |
| 113 | +.ui-widget-header .ui-state-highlight a { | |
| 114 | + color: #363636/*{fcHighlight}*/; | |
| 115 | +} | |
| 116 | +.ui-state-error, | |
| 117 | +.ui-widget-content .ui-state-error, | |
| 118 | +.ui-widget-header .ui-state-error { | |
| 119 | + border: 1px solid #cd0a0a/*{borderColorError}*/; | |
| 120 | + background: #fef1ec/*{bgColorError}*/ url("/real_control_v2/assets/plugins/jquery.ui/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png")/*{bgImgUrlError}*/ 50%/*{bgErrorXPos}*/ 50%/*{bgErrorYPos}*/ repeat-x/*{bgErrorRepeat}*/; | |
| 121 | + color: #cd0a0a/*{fcError}*/; | |
| 122 | +} | |
| 123 | +.ui-state-error a, | |
| 124 | +.ui-widget-content .ui-state-error a, | |
| 125 | +.ui-widget-header .ui-state-error a { | |
| 126 | + color: #cd0a0a/*{fcError}*/; | |
| 127 | +} | |
| 128 | +.ui-state-error-text, | |
| 129 | +.ui-widget-content .ui-state-error-text, | |
| 130 | +.ui-widget-header .ui-state-error-text { | |
| 131 | + color: #cd0a0a/*{fcError}*/; | |
| 132 | +} | |
| 133 | +.ui-priority-primary, | |
| 134 | +.ui-widget-content .ui-priority-primary, | |
| 135 | +.ui-widget-header .ui-priority-primary { | |
| 136 | + font-weight: bold; | |
| 137 | +} | |
| 138 | +.ui-priority-secondary, | |
| 139 | +.ui-widget-content .ui-priority-secondary, | |
| 140 | +.ui-widget-header .ui-priority-secondary { | |
| 141 | + opacity: .7; | |
| 142 | + filter:Alpha(Opacity=70); /* support: IE8 */ | |
| 143 | + font-weight: normal; | |
| 144 | +} | |
| 145 | +.ui-state-disabled, | |
| 146 | +.ui-widget-content .ui-state-disabled, | |
| 147 | +.ui-widget-header .ui-state-disabled { | |
| 148 | + opacity: .35; | |
| 149 | + filter:Alpha(Opacity=35); /* support: IE8 */ | |
| 150 | + background-image: none; | |
| 151 | +} | |
| 152 | +.ui-state-disabled .ui-icon { | |
| 153 | + filter:Alpha(Opacity=35); /* support: IE8 - See #6059 */ | |
| 154 | +} | |
| 155 | + | |
| 156 | +/* Icons | |
| 157 | +----------------------------------*/ | |
| 158 | + | |
| 159 | +/* states and images */ | |
| 160 | +.ui-icon { | |
| 161 | + width: 16px; | |
| 162 | + height: 16px; | |
| 163 | +} | |
| 164 | +.ui-icon, | |
| 165 | +.ui-widget-content .ui-icon { | |
| 166 | + background-image: url("/real_control_v2/assets/plugins/jquery.ui/themes/base/images/ui-icons_222222_256x240.png")/*{iconsContent}*/; | |
| 167 | +} | |
| 168 | +.ui-widget-header .ui-icon { | |
| 169 | + background-image: url("/real_control_v2/assets/plugins/jquery.ui/themes/base/images/ui-icons_222222_256x240.png")/*{iconsHeader}*/; | |
| 170 | +} | |
| 171 | +.ui-state-default .ui-icon { | |
| 172 | + background-image: url("/real_control_v2/assets/plugins/jquery.ui/themes/base/images/ui-icons_888888_256x240.png")/*{iconsDefault}*/; | |
| 173 | +} | |
| 174 | +.ui-state-hover .ui-icon, | |
| 175 | +.ui-state-focus .ui-icon { | |
| 176 | + background-image: url("/real_control_v2/assets/plugins/jquery.ui/themes/base/images/ui-icons_454545_256x240.png")/*{iconsHover}*/; | |
| 177 | +} | |
| 178 | +.ui-state-active .ui-icon { | |
| 179 | + background-image: url("/real_control_v2/assets/plugins/jquery.ui/themes/base/images/ui-icons_454545_256x240.png")/*{iconsActive}*/; | |
| 180 | +} | |
| 181 | +.ui-state-highlight .ui-icon { | |
| 182 | + background-image: url("/real_control_v2/assets/plugins/jquery.ui/themes/base/images/ui-icons_2e83ff_256x240.png")/*{iconsHighlight}*/; | |
| 183 | +} | |
| 184 | +.ui-state-error .ui-icon, | |
| 185 | +.ui-state-error-text .ui-icon { | |
| 186 | + background-image: url("/real_control_v2/assets/plugins/jquery.ui/themes/base/images/ui-icons_cd0a0a_256x240.png")/*{iconsError}*/; | |
| 187 | +} | |
| 188 | + | |
| 189 | +/* positioning */ | |
| 190 | +.ui-icon-blank { background-position: 16px 16px; } | |
| 191 | +.ui-icon-carat-1-n { background-position: 0 0; } | |
| 192 | +.ui-icon-carat-1-ne { background-position: -16px 0; } | |
| 193 | +.ui-icon-carat-1-e { background-position: -32px 0; } | |
| 194 | +.ui-icon-carat-1-se { background-position: -48px 0; } | |
| 195 | +.ui-icon-carat-1-s { background-position: -64px 0; } | |
| 196 | +.ui-icon-carat-1-sw { background-position: -80px 0; } | |
| 197 | +.ui-icon-carat-1-w { background-position: -96px 0; } | |
| 198 | +.ui-icon-carat-1-nw { background-position: -112px 0; } | |
| 199 | +.ui-icon-carat-2-n-s { background-position: -128px 0; } | |
| 200 | +.ui-icon-carat-2-e-w { background-position: -144px 0; } | |
| 201 | +.ui-icon-triangle-1-n { background-position: 0 -16px; } | |
| 202 | +.ui-icon-triangle-1-ne { background-position: -16px -16px; } | |
| 203 | +.ui-icon-triangle-1-e { background-position: -32px -16px; } | |
| 204 | +.ui-icon-triangle-1-se { background-position: -48px -16px; } | |
| 205 | +.ui-icon-triangle-1-s { background-position: -64px -16px; } | |
| 206 | +.ui-icon-triangle-1-sw { background-position: -80px -16px; } | |
| 207 | +.ui-icon-triangle-1-w { background-position: -96px -16px; } | |
| 208 | +.ui-icon-triangle-1-nw { background-position: -112px -16px; } | |
| 209 | +.ui-icon-triangle-2-n-s { background-position: -128px -16px; } | |
| 210 | +.ui-icon-triangle-2-e-w { background-position: -144px -16px; } | |
| 211 | +.ui-icon-arrow-1-n { background-position: 0 -32px; } | |
| 212 | +.ui-icon-arrow-1-ne { background-position: -16px -32px; } | |
| 213 | +.ui-icon-arrow-1-e { background-position: -32px -32px; } | |
| 214 | +.ui-icon-arrow-1-se { background-position: -48px -32px; } | |
| 215 | +.ui-icon-arrow-1-s { background-position: -64px -32px; } | |
| 216 | +.ui-icon-arrow-1-sw { background-position: -80px -32px; } | |
| 217 | +.ui-icon-arrow-1-w { background-position: -96px -32px; } | |
| 218 | +.ui-icon-arrow-1-nw { background-position: -112px -32px; } | |
| 219 | +.ui-icon-arrow-2-n-s { background-position: -128px -32px; } | |
| 220 | +.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } | |
| 221 | +.ui-icon-arrow-2-e-w { background-position: -160px -32px; } | |
| 222 | +.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } | |
| 223 | +.ui-icon-arrowstop-1-n { background-position: -192px -32px; } | |
| 224 | +.ui-icon-arrowstop-1-e { background-position: -208px -32px; } | |
| 225 | +.ui-icon-arrowstop-1-s { background-position: -224px -32px; } | |
| 226 | +.ui-icon-arrowstop-1-w { background-position: -240px -32px; } | |
| 227 | +.ui-icon-arrowthick-1-n { background-position: 0 -48px; } | |
| 228 | +.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } | |
| 229 | +.ui-icon-arrowthick-1-e { background-position: -32px -48px; } | |
| 230 | +.ui-icon-arrowthick-1-se { background-position: -48px -48px; } | |
| 231 | +.ui-icon-arrowthick-1-s { background-position: -64px -48px; } | |
| 232 | +.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } | |
| 233 | +.ui-icon-arrowthick-1-w { background-position: -96px -48px; } | |
| 234 | +.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } | |
| 235 | +.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } | |
| 236 | +.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } | |
| 237 | +.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } | |
| 238 | +.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } | |
| 239 | +.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } | |
| 240 | +.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } | |
| 241 | +.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } | |
| 242 | +.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } | |
| 243 | +.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } | |
| 244 | +.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } | |
| 245 | +.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } | |
| 246 | +.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } | |
| 247 | +.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } | |
| 248 | +.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } | |
| 249 | +.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } | |
| 250 | +.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } | |
| 251 | +.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } | |
| 252 | +.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } | |
| 253 | +.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } | |
| 254 | +.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } | |
| 255 | +.ui-icon-arrow-4 { background-position: 0 -80px; } | |
| 256 | +.ui-icon-arrow-4-diag { background-position: -16px -80px; } | |
| 257 | +.ui-icon-extlink { background-position: -32px -80px; } | |
| 258 | +.ui-icon-newwin { background-position: -48px -80px; } | |
| 259 | +.ui-icon-refresh { background-position: -64px -80px; } | |
| 260 | +.ui-icon-shuffle { background-position: -80px -80px; } | |
| 261 | +.ui-icon-transfer-e-w { background-position: -96px -80px; } | |
| 262 | +.ui-icon-transferthick-e-w { background-position: -112px -80px; } | |
| 263 | +.ui-icon-folder-collapsed { background-position: 0 -96px; } | |
| 264 | +.ui-icon-folder-open { background-position: -16px -96px; } | |
| 265 | +.ui-icon-document { background-position: -32px -96px; } | |
| 266 | +.ui-icon-document-b { background-position: -48px -96px; } | |
| 267 | +.ui-icon-note { background-position: -64px -96px; } | |
| 268 | +.ui-icon-mail-closed { background-position: -80px -96px; } | |
| 269 | +.ui-icon-mail-open { background-position: -96px -96px; } | |
| 270 | +.ui-icon-suitcase { background-position: -112px -96px; } | |
| 271 | +.ui-icon-comment { background-position: -128px -96px; } | |
| 272 | +.ui-icon-person { background-position: -144px -96px; } | |
| 273 | +.ui-icon-print { background-position: -160px -96px; } | |
| 274 | +.ui-icon-trash { background-position: -176px -96px; } | |
| 275 | +.ui-icon-locked { background-position: -192px -96px; } | |
| 276 | +.ui-icon-unlocked { background-position: -208px -96px; } | |
| 277 | +.ui-icon-bookmark { background-position: -224px -96px; } | |
| 278 | +.ui-icon-tag { background-position: -240px -96px; } | |
| 279 | +.ui-icon-home { background-position: 0 -112px; } | |
| 280 | +.ui-icon-flag { background-position: -16px -112px; } | |
| 281 | +.ui-icon-calendar { background-position: -32px -112px; } | |
| 282 | +.ui-icon-cart { background-position: -48px -112px; } | |
| 283 | +.ui-icon-pencil { background-position: -64px -112px; } | |
| 284 | +.ui-icon-clock { background-position: -80px -112px; } | |
| 285 | +.ui-icon-disk { background-position: -96px -112px; } | |
| 286 | +.ui-icon-calculator { background-position: -112px -112px; } | |
| 287 | +.ui-icon-zoomin { background-position: -128px -112px; } | |
| 288 | +.ui-icon-zoomout { background-position: -144px -112px; } | |
| 289 | +.ui-icon-search { background-position: -160px -112px; } | |
| 290 | +.ui-icon-wrench { background-position: -176px -112px; } | |
| 291 | +.ui-icon-gear { background-position: -192px -112px; } | |
| 292 | +.ui-icon-heart { background-position: -208px -112px; } | |
| 293 | +.ui-icon-star { background-position: -224px -112px; } | |
| 294 | +.ui-icon-link { background-position: -240px -112px; } | |
| 295 | +.ui-icon-cancel { background-position: 0 -128px; } | |
| 296 | +.ui-icon-plus { background-position: -16px -128px; } | |
| 297 | +.ui-icon-plusthick { background-position: -32px -128px; } | |
| 298 | +.ui-icon-minus { background-position: -48px -128px; } | |
| 299 | +.ui-icon-minusthick { background-position: -64px -128px; } | |
| 300 | +.ui-icon-close { background-position: -80px -128px; } | |
| 301 | +.ui-icon-closethick { background-position: -96px -128px; } | |
| 302 | +.ui-icon-key { background-position: -112px -128px; } | |
| 303 | +.ui-icon-lightbulb { background-position: -128px -128px; } | |
| 304 | +.ui-icon-scissors { background-position: -144px -128px; } | |
| 305 | +.ui-icon-clipboard { background-position: -160px -128px; } | |
| 306 | +.ui-icon-copy { background-position: -176px -128px; } | |
| 307 | +.ui-icon-contact { background-position: -192px -128px; } | |
| 308 | +.ui-icon-image { background-position: -208px -128px; } | |
| 309 | +.ui-icon-video { background-position: -224px -128px; } | |
| 310 | +.ui-icon-script { background-position: -240px -128px; } | |
| 311 | +.ui-icon-alert { background-position: 0 -144px; } | |
| 312 | +.ui-icon-info { background-position: -16px -144px; } | |
| 313 | +.ui-icon-notice { background-position: -32px -144px; } | |
| 314 | +.ui-icon-help { background-position: -48px -144px; } | |
| 315 | +.ui-icon-check { background-position: -64px -144px; } | |
| 316 | +.ui-icon-bullet { background-position: -80px -144px; } | |
| 317 | +.ui-icon-radio-on { background-position: -96px -144px; } | |
| 318 | +.ui-icon-radio-off { background-position: -112px -144px; } | |
| 319 | +.ui-icon-pin-w { background-position: -128px -144px; } | |
| 320 | +.ui-icon-pin-s { background-position: -144px -144px; } | |
| 321 | +.ui-icon-play { background-position: 0 -160px; } | |
| 322 | +.ui-icon-pause { background-position: -16px -160px; } | |
| 323 | +.ui-icon-seek-next { background-position: -32px -160px; } | |
| 324 | +.ui-icon-seek-prev { background-position: -48px -160px; } | |
| 325 | +.ui-icon-seek-end { background-position: -64px -160px; } | |
| 326 | +.ui-icon-seek-start { background-position: -80px -160px; } | |
| 327 | +/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ | |
| 328 | +.ui-icon-seek-first { background-position: -80px -160px; } | |
| 329 | +.ui-icon-stop { background-position: -96px -160px; } | |
| 330 | +.ui-icon-eject { background-position: -112px -160px; } | |
| 331 | +.ui-icon-volume-off { background-position: -128px -160px; } | |
| 332 | +.ui-icon-volume-on { background-position: -144px -160px; } | |
| 333 | +.ui-icon-power { background-position: 0 -176px; } | |
| 334 | +.ui-icon-signal-diag { background-position: -16px -176px; } | |
| 335 | +.ui-icon-signal { background-position: -32px -176px; } | |
| 336 | +.ui-icon-battery-0 { background-position: -48px -176px; } | |
| 337 | +.ui-icon-battery-1 { background-position: -64px -176px; } | |
| 338 | +.ui-icon-battery-2 { background-position: -80px -176px; } | |
| 339 | +.ui-icon-battery-3 { background-position: -96px -176px; } | |
| 340 | +.ui-icon-circle-plus { background-position: 0 -192px; } | |
| 341 | +.ui-icon-circle-minus { background-position: -16px -192px; } | |
| 342 | +.ui-icon-circle-close { background-position: -32px -192px; } | |
| 343 | +.ui-icon-circle-triangle-e { background-position: -48px -192px; } | |
| 344 | +.ui-icon-circle-triangle-s { background-position: -64px -192px; } | |
| 345 | +.ui-icon-circle-triangle-w { background-position: -80px -192px; } | |
| 346 | +.ui-icon-circle-triangle-n { background-position: -96px -192px; } | |
| 347 | +.ui-icon-circle-arrow-e { background-position: -112px -192px; } | |
| 348 | +.ui-icon-circle-arrow-s { background-position: -128px -192px; } | |
| 349 | +.ui-icon-circle-arrow-w { background-position: -144px -192px; } | |
| 350 | +.ui-icon-circle-arrow-n { background-position: -160px -192px; } | |
| 351 | +.ui-icon-circle-zoomin { background-position: -176px -192px; } | |
| 352 | +.ui-icon-circle-zoomout { background-position: -192px -192px; } | |
| 353 | +.ui-icon-circle-check { background-position: -208px -192px; } | |
| 354 | +.ui-icon-circlesmall-plus { background-position: 0 -208px; } | |
| 355 | +.ui-icon-circlesmall-minus { background-position: -16px -208px; } | |
| 356 | +.ui-icon-circlesmall-close { background-position: -32px -208px; } | |
| 357 | +.ui-icon-squaresmall-plus { background-position: -48px -208px; } | |
| 358 | +.ui-icon-squaresmall-minus { background-position: -64px -208px; } | |
| 359 | +.ui-icon-squaresmall-close { background-position: -80px -208px; } | |
| 360 | +.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } | |
| 361 | +.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } | |
| 362 | +.ui-icon-grip-solid-vertical { background-position: -32px -224px; } | |
| 363 | +.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } | |
| 364 | +.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } | |
| 365 | +.ui-icon-grip-diagonal-se { background-position: -80px -224px; } | |
| 366 | + | |
| 367 | + | |
| 368 | +/* Misc visuals | |
| 369 | +----------------------------------*/ | |
| 370 | + | |
| 371 | +/* Corner radius */ | |
| 372 | +.ui-corner-all, | |
| 373 | +.ui-corner-top, | |
| 374 | +.ui-corner-left, | |
| 375 | +.ui-corner-tl { | |
| 376 | + border-top-left-radius: 4px/*{cornerRadius}*/; | |
| 377 | +} | |
| 378 | +.ui-corner-all, | |
| 379 | +.ui-corner-top, | |
| 380 | +.ui-corner-right, | |
| 381 | +.ui-corner-tr { | |
| 382 | + border-top-right-radius: 4px/*{cornerRadius}*/; | |
| 383 | +} | |
| 384 | +.ui-corner-all, | |
| 385 | +.ui-corner-bottom, | |
| 386 | +.ui-corner-left, | |
| 387 | +.ui-corner-bl { | |
| 388 | + border-bottom-left-radius: 4px/*{cornerRadius}*/; | |
| 389 | +} | |
| 390 | +.ui-corner-all, | |
| 391 | +.ui-corner-bottom, | |
| 392 | +.ui-corner-right, | |
| 393 | +.ui-corner-br { | |
| 394 | + border-bottom-right-radius: 4px/*{cornerRadius}*/; | |
| 395 | +} | |
| 396 | + | |
| 397 | +/* Overlays */ | |
| 398 | +.ui-widget-overlay { | |
| 399 | + background: #aaaaaa/*{bgColorOverlay}*/ url("/real_control_v2/assets/plugins/jquery.ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png")/*{bgImgUrlOverlay}*/ 50%/*{bgOverlayXPos}*/ 50%/*{bgOverlayYPos}*/ repeat-x/*{bgOverlayRepeat}*/; | |
| 400 | + opacity: .3/*{opacityOverlay}*/; | |
| 401 | + filter: Alpha(Opacity=30)/*{opacityFilterOverlay}*/; /* support: IE8 */ | |
| 402 | +} | |
| 403 | +.ui-widget-shadow { | |
| 404 | + margin: -8px/*{offsetTopShadow}*/ 0 0 -8px/*{offsetLeftShadow}*/; | |
| 405 | + padding: 8px/*{thicknessShadow}*/; | |
| 406 | + background: #aaaaaa/*{bgColorShadow}*/ url("/real_control_v2/assets/plugins/jquery.ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png")/*{bgImgUrlShadow}*/ 50%/*{bgShadowXPos}*/ 50%/*{bgShadowYPos}*/ repeat-x/*{bgShadowRepeat}*/; | |
| 407 | + opacity: .3/*{opacityShadow}*/; | |
| 408 | + filter: Alpha(Opacity=30)/*{opacityFilterShadow}*/; /* support: IE8 */ | |
| 409 | + border-radius: 8px/*{cornerRadiusShadow}*/; | |
| 410 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/themes/base/tooltip.css
0 → 100644
| 1 | +/* | |
| 2 | + * jQuery UI Tooltip 1.11.1 | |
| 3 | + * http://jqueryui.com | |
| 4 | + * | |
| 5 | + * Copyright 2014 jQuery Foundation and other contributors | |
| 6 | + * Released under the MIT license. | |
| 7 | + * http://jquery.org/license | |
| 8 | + * | |
| 9 | + * http://api.jqueryui.com/tooltip/#theming | |
| 10 | + */ | |
| 11 | +.ui-tooltip { | |
| 12 | + padding: 8px; | |
| 13 | + position: absolute; | |
| 14 | + z-index: 9999; | |
| 15 | + max-width: 300px; | |
| 16 | + -webkit-box-shadow: 0 0 5px #aaa; | |
| 17 | + box-shadow: 0 0 5px #aaa; | |
| 18 | +} | |
| 19 | +body .ui-tooltip { | |
| 20 | + border-width: 2px; | |
| 21 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/jquery.ui/widget.js
0 → 100644
| 1 | +/*! | |
| 2 | + * jQuery UI Widget 1.11.1 | |
| 3 | + * http://jqueryui.com | |
| 4 | + * | |
| 5 | + * Copyright 2014 jQuery Foundation and other contributors | |
| 6 | + * Released under the MIT license. | |
| 7 | + * http://jquery.org/license | |
| 8 | + * | |
| 9 | + * http://api.jqueryui.com/jQuery.widget/ | |
| 10 | + */ | |
| 11 | +(function( factory ) { | |
| 12 | + if ( typeof define === "function" && define.amd ) { | |
| 13 | + | |
| 14 | + // AMD. Register as an anonymous module. | |
| 15 | + define( [ "jquery" ], factory ); | |
| 16 | + } else { | |
| 17 | + | |
| 18 | + // Browser globals | |
| 19 | + factory( jQuery ); | |
| 20 | + } | |
| 21 | +}(function( $ ) { | |
| 22 | + | |
| 23 | +var widget_uuid = 0, | |
| 24 | + widget_slice = Array.prototype.slice; | |
| 25 | + | |
| 26 | +$.cleanData = (function( orig ) { | |
| 27 | + return function( elems ) { | |
| 28 | + var events, elem, i; | |
| 29 | + for ( i = 0; (elem = elems[i]) != null; i++ ) { | |
| 30 | + try { | |
| 31 | + | |
| 32 | + // Only trigger remove when necessary to save time | |
| 33 | + events = $._data( elem, "events" ); | |
| 34 | + if ( events && events.remove ) { | |
| 35 | + $( elem ).triggerHandler( "remove" ); | |
| 36 | + } | |
| 37 | + | |
| 38 | + // http://bugs.jquery.com/ticket/8235 | |
| 39 | + } catch( e ) {} | |
| 40 | + } | |
| 41 | + orig( elems ); | |
| 42 | + }; | |
| 43 | +})( $.cleanData ); | |
| 44 | + | |
| 45 | +$.widget = function( name, base, prototype ) { | |
| 46 | + var fullName, existingConstructor, constructor, basePrototype, | |
| 47 | + // proxiedPrototype allows the provided prototype to remain unmodified | |
| 48 | + // so that it can be used as a mixin for multiple widgets (#8876) | |
| 49 | + proxiedPrototype = {}, | |
| 50 | + namespace = name.split( "." )[ 0 ]; | |
| 51 | + | |
| 52 | + name = name.split( "." )[ 1 ]; | |
| 53 | + fullName = namespace + "-" + name; | |
| 54 | + | |
| 55 | + if ( !prototype ) { | |
| 56 | + prototype = base; | |
| 57 | + base = $.Widget; | |
| 58 | + } | |
| 59 | + | |
| 60 | + // create selector for plugin | |
| 61 | + $.expr[ ":" ][ fullName.toLowerCase() ] = function( elem ) { | |
| 62 | + return !!$.data( elem, fullName ); | |
| 63 | + }; | |
| 64 | + | |
| 65 | + $[ namespace ] = $[ namespace ] || {}; | |
| 66 | + existingConstructor = $[ namespace ][ name ]; | |
| 67 | + constructor = $[ namespace ][ name ] = function( options, element ) { | |
| 68 | + // allow instantiation without "new" keyword | |
| 69 | + if ( !this._createWidget ) { | |
| 70 | + return new constructor( options, element ); | |
| 71 | + } | |
| 72 | + | |
| 73 | + // allow instantiation without initializing for simple inheritance | |
| 74 | + // must use "new" keyword (the code above always passes args) | |
| 75 | + if ( arguments.length ) { | |
| 76 | + this._createWidget( options, element ); | |
| 77 | + } | |
| 78 | + }; | |
| 79 | + // extend with the existing constructor to carry over any static properties | |
| 80 | + $.extend( constructor, existingConstructor, { | |
| 81 | + version: prototype.version, | |
| 82 | + // copy the object used to create the prototype in case we need to | |
| 83 | + // redefine the widget later | |
| 84 | + _proto: $.extend( {}, prototype ), | |
| 85 | + // track widgets that inherit from this widget in case this widget is | |
| 86 | + // redefined after a widget inherits from it | |
| 87 | + _childConstructors: [] | |
| 88 | + }); | |
| 89 | + | |
| 90 | + basePrototype = new base(); | |
| 91 | + // we need to make the options hash a property directly on the new instance | |
| 92 | + // otherwise we'll modify the options hash on the prototype that we're | |
| 93 | + // inheriting from | |
| 94 | + basePrototype.options = $.widget.extend( {}, basePrototype.options ); | |
| 95 | + $.each( prototype, function( prop, value ) { | |
| 96 | + if ( !$.isFunction( value ) ) { | |
| 97 | + proxiedPrototype[ prop ] = value; | |
| 98 | + return; | |
| 99 | + } | |
| 100 | + proxiedPrototype[ prop ] = (function() { | |
| 101 | + var _super = function() { | |
| 102 | + return base.prototype[ prop ].apply( this, arguments ); | |
| 103 | + }, | |
| 104 | + _superApply = function( args ) { | |
| 105 | + return base.prototype[ prop ].apply( this, args ); | |
| 106 | + }; | |
| 107 | + return function() { | |
| 108 | + var __super = this._super, | |
| 109 | + __superApply = this._superApply, | |
| 110 | + returnValue; | |
| 111 | + | |
| 112 | + this._super = _super; | |
| 113 | + this._superApply = _superApply; | |
| 114 | + | |
| 115 | + returnValue = value.apply( this, arguments ); | |
| 116 | + | |
| 117 | + this._super = __super; | |
| 118 | + this._superApply = __superApply; | |
| 119 | + | |
| 120 | + return returnValue; | |
| 121 | + }; | |
| 122 | + })(); | |
| 123 | + }); | |
| 124 | + constructor.prototype = $.widget.extend( basePrototype, { | |
| 125 | + // TODO: remove support for widgetEventPrefix | |
| 126 | + // always use the name + a colon as the prefix, e.g., draggable:start | |
| 127 | + // don't prefix for widgets that aren't DOM-based | |
| 128 | + widgetEventPrefix: existingConstructor ? (basePrototype.widgetEventPrefix || name) : name | |
| 129 | + }, proxiedPrototype, { | |
| 130 | + constructor: constructor, | |
| 131 | + namespace: namespace, | |
| 132 | + widgetName: name, | |
| 133 | + widgetFullName: fullName | |
| 134 | + }); | |
| 135 | + | |
| 136 | + // If this widget is being redefined then we need to find all widgets that | |
| 137 | + // are inheriting from it and redefine all of them so that they inherit from | |
| 138 | + // the new version of this widget. We're essentially trying to replace one | |
| 139 | + // level in the prototype chain. | |
| 140 | + if ( existingConstructor ) { | |
| 141 | + $.each( existingConstructor._childConstructors, function( i, child ) { | |
| 142 | + var childPrototype = child.prototype; | |
| 143 | + | |
| 144 | + // redefine the child widget using the same prototype that was | |
| 145 | + // originally used, but inherit from the new version of the base | |
| 146 | + $.widget( childPrototype.namespace + "." + childPrototype.widgetName, constructor, child._proto ); | |
| 147 | + }); | |
| 148 | + // remove the list of existing child constructors from the old constructor | |
| 149 | + // so the old child constructors can be garbage collected | |
| 150 | + delete existingConstructor._childConstructors; | |
| 151 | + } else { | |
| 152 | + base._childConstructors.push( constructor ); | |
| 153 | + } | |
| 154 | + | |
| 155 | + $.widget.bridge( name, constructor ); | |
| 156 | + | |
| 157 | + return constructor; | |
| 158 | +}; | |
| 159 | + | |
| 160 | +$.widget.extend = function( target ) { | |
| 161 | + var input = widget_slice.call( arguments, 1 ), | |
| 162 | + inputIndex = 0, | |
| 163 | + inputLength = input.length, | |
| 164 | + key, | |
| 165 | + value; | |
| 166 | + for ( ; inputIndex < inputLength; inputIndex++ ) { | |
| 167 | + for ( key in input[ inputIndex ] ) { | |
| 168 | + value = input[ inputIndex ][ key ]; | |
| 169 | + if ( input[ inputIndex ].hasOwnProperty( key ) && value !== undefined ) { | |
| 170 | + // Clone objects | |
| 171 | + if ( $.isPlainObject( value ) ) { | |
| 172 | + target[ key ] = $.isPlainObject( target[ key ] ) ? | |
| 173 | + $.widget.extend( {}, target[ key ], value ) : | |
| 174 | + // Don't extend strings, arrays, etc. with objects | |
| 175 | + $.widget.extend( {}, value ); | |
| 176 | + // Copy everything else by reference | |
| 177 | + } else { | |
| 178 | + target[ key ] = value; | |
| 179 | + } | |
| 180 | + } | |
| 181 | + } | |
| 182 | + } | |
| 183 | + return target; | |
| 184 | +}; | |
| 185 | + | |
| 186 | +$.widget.bridge = function( name, object ) { | |
| 187 | + var fullName = object.prototype.widgetFullName || name; | |
| 188 | + $.fn[ name ] = function( options ) { | |
| 189 | + var isMethodCall = typeof options === "string", | |
| 190 | + args = widget_slice.call( arguments, 1 ), | |
| 191 | + returnValue = this; | |
| 192 | + | |
| 193 | + // allow multiple hashes to be passed on init | |
| 194 | + options = !isMethodCall && args.length ? | |
| 195 | + $.widget.extend.apply( null, [ options ].concat(args) ) : | |
| 196 | + options; | |
| 197 | + | |
| 198 | + if ( isMethodCall ) { | |
| 199 | + this.each(function() { | |
| 200 | + var methodValue, | |
| 201 | + instance = $.data( this, fullName ); | |
| 202 | + if ( options === "instance" ) { | |
| 203 | + returnValue = instance; | |
| 204 | + return false; | |
| 205 | + } | |
| 206 | + if ( !instance ) { | |
| 207 | + return $.error( "cannot call methods on " + name + " prior to initialization; " + | |
| 208 | + "attempted to call method '" + options + "'" ); | |
| 209 | + } | |
| 210 | + if ( !$.isFunction( instance[options] ) || options.charAt( 0 ) === "_" ) { | |
| 211 | + return $.error( "no such method '" + options + "' for " + name + " widget instance" ); | |
| 212 | + } | |
| 213 | + methodValue = instance[ options ].apply( instance, args ); | |
| 214 | + if ( methodValue !== instance && methodValue !== undefined ) { | |
| 215 | + returnValue = methodValue && methodValue.jquery ? | |
| 216 | + returnValue.pushStack( methodValue.get() ) : | |
| 217 | + methodValue; | |
| 218 | + return false; | |
| 219 | + } | |
| 220 | + }); | |
| 221 | + } else { | |
| 222 | + this.each(function() { | |
| 223 | + var instance = $.data( this, fullName ); | |
| 224 | + if ( instance ) { | |
| 225 | + instance.option( options || {} ); | |
| 226 | + if ( instance._init ) { | |
| 227 | + instance._init(); | |
| 228 | + } | |
| 229 | + } else { | |
| 230 | + $.data( this, fullName, new object( options, this ) ); | |
| 231 | + } | |
| 232 | + }); | |
| 233 | + } | |
| 234 | + | |
| 235 | + return returnValue; | |
| 236 | + }; | |
| 237 | +}; | |
| 238 | + | |
| 239 | +$.Widget = function( /* options, element */ ) {}; | |
| 240 | +$.Widget._childConstructors = []; | |
| 241 | + | |
| 242 | +$.Widget.prototype = { | |
| 243 | + widgetName: "widget", | |
| 244 | + widgetEventPrefix: "", | |
| 245 | + defaultElement: "<div>", | |
| 246 | + options: { | |
| 247 | + disabled: false, | |
| 248 | + | |
| 249 | + // callbacks | |
| 250 | + create: null | |
| 251 | + }, | |
| 252 | + _createWidget: function( options, element ) { | |
| 253 | + element = $( element || this.defaultElement || this )[ 0 ]; | |
| 254 | + this.element = $( element ); | |
| 255 | + this.uuid = widget_uuid++; | |
| 256 | + this.eventNamespace = "." + this.widgetName + this.uuid; | |
| 257 | + this.options = $.widget.extend( {}, | |
| 258 | + this.options, | |
| 259 | + this._getCreateOptions(), | |
| 260 | + options ); | |
| 261 | + | |
| 262 | + this.bindings = $(); | |
| 263 | + this.hoverable = $(); | |
| 264 | + this.focusable = $(); | |
| 265 | + | |
| 266 | + if ( element !== this ) { | |
| 267 | + $.data( element, this.widgetFullName, this ); | |
| 268 | + this._on( true, this.element, { | |
| 269 | + remove: function( event ) { | |
| 270 | + if ( event.target === element ) { | |
| 271 | + this.destroy(); | |
| 272 | + } | |
| 273 | + } | |
| 274 | + }); | |
| 275 | + this.document = $( element.style ? | |
| 276 | + // element within the document | |
| 277 | + element.ownerDocument : | |
| 278 | + // element is window or document | |
| 279 | + element.document || element ); | |
| 280 | + this.window = $( this.document[0].defaultView || this.document[0].parentWindow ); | |
| 281 | + } | |
| 282 | + | |
| 283 | + this._create(); | |
| 284 | + this._trigger( "create", null, this._getCreateEventData() ); | |
| 285 | + this._init(); | |
| 286 | + }, | |
| 287 | + _getCreateOptions: $.noop, | |
| 288 | + _getCreateEventData: $.noop, | |
| 289 | + _create: $.noop, | |
| 290 | + _init: $.noop, | |
| 291 | + | |
| 292 | + destroy: function() { | |
| 293 | + this._destroy(); | |
| 294 | + // we can probably remove the unbind calls in 2.0 | |
| 295 | + // all event bindings should go through this._on() | |
| 296 | + this.element | |
| 297 | + .unbind( this.eventNamespace ) | |
| 298 | + .removeData( this.widgetFullName ) | |
| 299 | + // support: jquery <1.6.3 | |
| 300 | + // http://bugs.jquery.com/ticket/9413 | |
| 301 | + .removeData( $.camelCase( this.widgetFullName ) ); | |
| 302 | + this.widget() | |
| 303 | + .unbind( this.eventNamespace ) | |
| 304 | + .removeAttr( "aria-disabled" ) | |
| 305 | + .removeClass( | |
| 306 | + this.widgetFullName + "-disabled " + | |
| 307 | + "ui-state-disabled" ); | |
| 308 | + | |
| 309 | + // clean up events and states | |
| 310 | + this.bindings.unbind( this.eventNamespace ); | |
| 311 | + this.hoverable.removeClass( "ui-state-hover" ); | |
| 312 | + this.focusable.removeClass( "ui-state-focus" ); | |
| 313 | + }, | |
| 314 | + _destroy: $.noop, | |
| 315 | + | |
| 316 | + widget: function() { | |
| 317 | + return this.element; | |
| 318 | + }, | |
| 319 | + | |
| 320 | + option: function( key, value ) { | |
| 321 | + var options = key, | |
| 322 | + parts, | |
| 323 | + curOption, | |
| 324 | + i; | |
| 325 | + | |
| 326 | + if ( arguments.length === 0 ) { | |
| 327 | + // don't return a reference to the internal hash | |
| 328 | + return $.widget.extend( {}, this.options ); | |
| 329 | + } | |
| 330 | + | |
| 331 | + if ( typeof key === "string" ) { | |
| 332 | + // handle nested keys, e.g., "foo.bar" => { foo: { bar: ___ } } | |
| 333 | + options = {}; | |
| 334 | + parts = key.split( "." ); | |
| 335 | + key = parts.shift(); | |
| 336 | + if ( parts.length ) { | |
| 337 | + curOption = options[ key ] = $.widget.extend( {}, this.options[ key ] ); | |
| 338 | + for ( i = 0; i < parts.length - 1; i++ ) { | |
| 339 | + curOption[ parts[ i ] ] = curOption[ parts[ i ] ] || {}; | |
| 340 | + curOption = curOption[ parts[ i ] ]; | |
| 341 | + } | |
| 342 | + key = parts.pop(); | |
| 343 | + if ( arguments.length === 1 ) { | |
| 344 | + return curOption[ key ] === undefined ? null : curOption[ key ]; | |
| 345 | + } | |
| 346 | + curOption[ key ] = value; | |
| 347 | + } else { | |
| 348 | + if ( arguments.length === 1 ) { | |
| 349 | + return this.options[ key ] === undefined ? null : this.options[ key ]; | |
| 350 | + } | |
| 351 | + options[ key ] = value; | |
| 352 | + } | |
| 353 | + } | |
| 354 | + | |
| 355 | + this._setOptions( options ); | |
| 356 | + | |
| 357 | + return this; | |
| 358 | + }, | |
| 359 | + _setOptions: function( options ) { | |
| 360 | + var key; | |
| 361 | + | |
| 362 | + for ( key in options ) { | |
| 363 | + this._setOption( key, options[ key ] ); | |
| 364 | + } | |
| 365 | + | |
| 366 | + return this; | |
| 367 | + }, | |
| 368 | + _setOption: function( key, value ) { | |
| 369 | + this.options[ key ] = value; | |
| 370 | + | |
| 371 | + if ( key === "disabled" ) { | |
| 372 | + this.widget() | |
| 373 | + .toggleClass( this.widgetFullName + "-disabled", !!value ); | |
| 374 | + | |
| 375 | + // If the widget is becoming disabled, then nothing is interactive | |
| 376 | + if ( value ) { | |
| 377 | + this.hoverable.removeClass( "ui-state-hover" ); | |
| 378 | + this.focusable.removeClass( "ui-state-focus" ); | |
| 379 | + } | |
| 380 | + } | |
| 381 | + | |
| 382 | + return this; | |
| 383 | + }, | |
| 384 | + | |
| 385 | + enable: function() { | |
| 386 | + return this._setOptions({ disabled: false }); | |
| 387 | + }, | |
| 388 | + disable: function() { | |
| 389 | + return this._setOptions({ disabled: true }); | |
| 390 | + }, | |
| 391 | + | |
| 392 | + _on: function( suppressDisabledCheck, element, handlers ) { | |
| 393 | + var delegateElement, | |
| 394 | + instance = this; | |
| 395 | + | |
| 396 | + // no suppressDisabledCheck flag, shuffle arguments | |
| 397 | + if ( typeof suppressDisabledCheck !== "boolean" ) { | |
| 398 | + handlers = element; | |
| 399 | + element = suppressDisabledCheck; | |
| 400 | + suppressDisabledCheck = false; | |
| 401 | + } | |
| 402 | + | |
| 403 | + // no element argument, shuffle and use this.element | |
| 404 | + if ( !handlers ) { | |
| 405 | + handlers = element; | |
| 406 | + element = this.element; | |
| 407 | + delegateElement = this.widget(); | |
| 408 | + } else { | |
| 409 | + element = delegateElement = $( element ); | |
| 410 | + this.bindings = this.bindings.add( element ); | |
| 411 | + } | |
| 412 | + | |
| 413 | + $.each( handlers, function( event, handler ) { | |
| 414 | + function handlerProxy() { | |
| 415 | + // allow widgets to customize the disabled handling | |
| 416 | + // - disabled as an array instead of boolean | |
| 417 | + // - disabled class as method for disabling individual parts | |
| 418 | + if ( !suppressDisabledCheck && | |
| 419 | + ( instance.options.disabled === true || | |
| 420 | + $( this ).hasClass( "ui-state-disabled" ) ) ) { | |
| 421 | + return; | |
| 422 | + } | |
| 423 | + return ( typeof handler === "string" ? instance[ handler ] : handler ) | |
| 424 | + .apply( instance, arguments ); | |
| 425 | + } | |
| 426 | + | |
| 427 | + // copy the guid so direct unbinding works | |
| 428 | + if ( typeof handler !== "string" ) { | |
| 429 | + handlerProxy.guid = handler.guid = | |
| 430 | + handler.guid || handlerProxy.guid || $.guid++; | |
| 431 | + } | |
| 432 | + | |
| 433 | + var match = event.match( /^([\w:-]*)\s*(.*)$/ ), | |
| 434 | + eventName = match[1] + instance.eventNamespace, | |
| 435 | + selector = match[2]; | |
| 436 | + if ( selector ) { | |
| 437 | + delegateElement.delegate( selector, eventName, handlerProxy ); | |
| 438 | + } else { | |
| 439 | + element.bind( eventName, handlerProxy ); | |
| 440 | + } | |
| 441 | + }); | |
| 442 | + }, | |
| 443 | + | |
| 444 | + _off: function( element, eventName ) { | |
| 445 | + eventName = (eventName || "").split( " " ).join( this.eventNamespace + " " ) + this.eventNamespace; | |
| 446 | + element.unbind( eventName ).undelegate( eventName ); | |
| 447 | + }, | |
| 448 | + | |
| 449 | + _delay: function( handler, delay ) { | |
| 450 | + function handlerProxy() { | |
| 451 | + return ( typeof handler === "string" ? instance[ handler ] : handler ) | |
| 452 | + .apply( instance, arguments ); | |
| 453 | + } | |
| 454 | + var instance = this; | |
| 455 | + return setTimeout( handlerProxy, delay || 0 ); | |
| 456 | + }, | |
| 457 | + | |
| 458 | + _hoverable: function( element ) { | |
| 459 | + this.hoverable = this.hoverable.add( element ); | |
| 460 | + this._on( element, { | |
| 461 | + mouseenter: function( event ) { | |
| 462 | + $( event.currentTarget ).addClass( "ui-state-hover" ); | |
| 463 | + }, | |
| 464 | + mouseleave: function( event ) { | |
| 465 | + $( event.currentTarget ).removeClass( "ui-state-hover" ); | |
| 466 | + } | |
| 467 | + }); | |
| 468 | + }, | |
| 469 | + | |
| 470 | + _focusable: function( element ) { | |
| 471 | + this.focusable = this.focusable.add( element ); | |
| 472 | + this._on( element, { | |
| 473 | + focusin: function( event ) { | |
| 474 | + $( event.currentTarget ).addClass( "ui-state-focus" ); | |
| 475 | + }, | |
| 476 | + focusout: function( event ) { | |
| 477 | + $( event.currentTarget ).removeClass( "ui-state-focus" ); | |
| 478 | + } | |
| 479 | + }); | |
| 480 | + }, | |
| 481 | + | |
| 482 | + _trigger: function( type, event, data ) { | |
| 483 | + var prop, orig, | |
| 484 | + callback = this.options[ type ]; | |
| 485 | + | |
| 486 | + data = data || {}; | |
| 487 | + event = $.Event( event ); | |
| 488 | + event.type = ( type === this.widgetEventPrefix ? | |
| 489 | + type : | |
| 490 | + this.widgetEventPrefix + type ).toLowerCase(); | |
| 491 | + // the original event may come from any element | |
| 492 | + // so we need to reset the target on the new event | |
| 493 | + event.target = this.element[ 0 ]; | |
| 494 | + | |
| 495 | + // copy original event properties over to the new event | |
| 496 | + orig = event.originalEvent; | |
| 497 | + if ( orig ) { | |
| 498 | + for ( prop in orig ) { | |
| 499 | + if ( !( prop in event ) ) { | |
| 500 | + event[ prop ] = orig[ prop ]; | |
| 501 | + } | |
| 502 | + } | |
| 503 | + } | |
| 504 | + | |
| 505 | + this.element.trigger( event, data ); | |
| 506 | + return !( $.isFunction( callback ) && | |
| 507 | + callback.apply( this.element[0], [ event ].concat( data ) ) === false || | |
| 508 | + event.isDefaultPrevented() ); | |
| 509 | + } | |
| 510 | +}; | |
| 511 | + | |
| 512 | +$.each( { show: "fadeIn", hide: "fadeOut" }, function( method, defaultEffect ) { | |
| 513 | + $.Widget.prototype[ "_" + method ] = function( element, options, callback ) { | |
| 514 | + if ( typeof options === "string" ) { | |
| 515 | + options = { effect: options }; | |
| 516 | + } | |
| 517 | + var hasOptions, | |
| 518 | + effectName = !options ? | |
| 519 | + method : | |
| 520 | + options === true || typeof options === "number" ? | |
| 521 | + defaultEffect : | |
| 522 | + options.effect || defaultEffect; | |
| 523 | + options = options || {}; | |
| 524 | + if ( typeof options === "number" ) { | |
| 525 | + options = { duration: options }; | |
| 526 | + } | |
| 527 | + hasOptions = !$.isEmptyObject( options ); | |
| 528 | + options.complete = callback; | |
| 529 | + if ( options.delay ) { | |
| 530 | + element.delay( options.delay ); | |
| 531 | + } | |
| 532 | + if ( hasOptions && $.effects && $.effects.effect[ effectName ] ) { | |
| 533 | + element[ method ]( options ); | |
| 534 | + } else if ( effectName !== method && element[ effectName ] ) { | |
| 535 | + element[ effectName ]( options.duration, options.easing, callback ); | |
| 536 | + } else { | |
| 537 | + element.queue(function( next ) { | |
| 538 | + $( this )[ method ](); | |
| 539 | + if ( callback ) { | |
| 540 | + callback.call( element[ 0 ] ); | |
| 541 | + } | |
| 542 | + next(); | |
| 543 | + }); | |
| 544 | + } | |
| 545 | + }; | |
| 546 | +}); | |
| 547 | + | |
| 548 | +return $.widget; | |
| 549 | + | |
| 550 | +})); | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/jstree/default-dark/32px.png
0 → 100644
1.53 KB
src/main/resources/static/real_control_v2_mobile/assets/plugins/jstree/default-dark/40px.png
0 → 100644
5.58 KB
src/main/resources/static/real_control_v2_mobile/assets/plugins/jstree/default-dark/style.css
0 → 100644
| 1 | +/* jsTree default dark theme */ | |
| 2 | +.jstree-node, | |
| 3 | +.jstree-children, | |
| 4 | +.jstree-container-ul { | |
| 5 | + display: block; | |
| 6 | + margin: 0; | |
| 7 | + padding: 0; | |
| 8 | + list-style-type: none; | |
| 9 | + list-style-image: none; | |
| 10 | +} | |
| 11 | +.jstree-node { | |
| 12 | + white-space: nowrap; | |
| 13 | +} | |
| 14 | +.jstree-anchor { | |
| 15 | + display: inline-block; | |
| 16 | + color: black; | |
| 17 | + white-space: nowrap; | |
| 18 | + padding: 0 4px 0 1px; | |
| 19 | + margin: 0; | |
| 20 | + vertical-align: top; | |
| 21 | +} | |
| 22 | +.jstree-anchor:focus { | |
| 23 | + outline: 0; | |
| 24 | +} | |
| 25 | +.jstree-anchor, | |
| 26 | +.jstree-anchor:link, | |
| 27 | +.jstree-anchor:visited, | |
| 28 | +.jstree-anchor:hover, | |
| 29 | +.jstree-anchor:active { | |
| 30 | + text-decoration: none; | |
| 31 | + color: inherit; | |
| 32 | +} | |
| 33 | +.jstree-icon { | |
| 34 | + display: inline-block; | |
| 35 | + text-decoration: none; | |
| 36 | + margin: 0; | |
| 37 | + padding: 0; | |
| 38 | + vertical-align: top; | |
| 39 | + text-align: center; | |
| 40 | +} | |
| 41 | +.jstree-icon:empty { | |
| 42 | + display: inline-block; | |
| 43 | + text-decoration: none; | |
| 44 | + margin: 0; | |
| 45 | + padding: 0; | |
| 46 | + vertical-align: top; | |
| 47 | + text-align: center; | |
| 48 | +} | |
| 49 | +.jstree-ocl { | |
| 50 | + cursor: pointer; | |
| 51 | +} | |
| 52 | +.jstree-leaf > .jstree-ocl { | |
| 53 | + cursor: default; | |
| 54 | +} | |
| 55 | +.jstree .jstree-open > .jstree-children { | |
| 56 | + display: block; | |
| 57 | +} | |
| 58 | +.jstree .jstree-closed > .jstree-children, | |
| 59 | +.jstree .jstree-leaf > .jstree-children { | |
| 60 | + display: none; | |
| 61 | +} | |
| 62 | +.jstree-anchor > .jstree-themeicon { | |
| 63 | + margin-right: 2px; | |
| 64 | +} | |
| 65 | +.jstree-no-icons .jstree-themeicon, | |
| 66 | +.jstree-anchor > .jstree-themeicon-hidden { | |
| 67 | + display: none; | |
| 68 | +} | |
| 69 | +.jstree-hidden, | |
| 70 | +.jstree-node.jstree-hidden { | |
| 71 | + display: none; | |
| 72 | +} | |
| 73 | +.jstree-rtl .jstree-anchor { | |
| 74 | + padding: 0 1px 0 4px; | |
| 75 | +} | |
| 76 | +.jstree-rtl .jstree-anchor > .jstree-themeicon { | |
| 77 | + margin-left: 2px; | |
| 78 | + margin-right: 0; | |
| 79 | +} | |
| 80 | +.jstree-rtl .jstree-node { | |
| 81 | + margin-left: 0; | |
| 82 | +} | |
| 83 | +.jstree-rtl .jstree-container-ul > .jstree-node { | |
| 84 | + margin-right: 0; | |
| 85 | +} | |
| 86 | +.jstree-wholerow-ul { | |
| 87 | + position: relative; | |
| 88 | + display: inline-block; | |
| 89 | + min-width: 100%; | |
| 90 | +} | |
| 91 | +.jstree-wholerow-ul .jstree-leaf > .jstree-ocl { | |
| 92 | + cursor: pointer; | |
| 93 | +} | |
| 94 | +.jstree-wholerow-ul .jstree-anchor, | |
| 95 | +.jstree-wholerow-ul .jstree-icon { | |
| 96 | + position: relative; | |
| 97 | +} | |
| 98 | +.jstree-wholerow-ul .jstree-wholerow { | |
| 99 | + width: 100%; | |
| 100 | + cursor: pointer; | |
| 101 | + position: absolute; | |
| 102 | + left: 0; | |
| 103 | + -webkit-user-select: none; | |
| 104 | + -moz-user-select: none; | |
| 105 | + -ms-user-select: none; | |
| 106 | + user-select: none; | |
| 107 | +} | |
| 108 | +.vakata-context { | |
| 109 | + display: none; | |
| 110 | +} | |
| 111 | +.vakata-context, | |
| 112 | +.vakata-context ul { | |
| 113 | + margin: 0; | |
| 114 | + padding: 2px; | |
| 115 | + position: absolute; | |
| 116 | + background: #f5f5f5; | |
| 117 | + border: 1px solid #979797; | |
| 118 | + box-shadow: 2px 2px 2px #999999; | |
| 119 | +} | |
| 120 | +.vakata-context ul { | |
| 121 | + list-style: none; | |
| 122 | + left: 100%; | |
| 123 | + margin-top: -2.7em; | |
| 124 | + margin-left: -4px; | |
| 125 | +} | |
| 126 | +.vakata-context .vakata-context-right ul { | |
| 127 | + left: auto; | |
| 128 | + right: 100%; | |
| 129 | + margin-left: auto; | |
| 130 | + margin-right: -4px; | |
| 131 | +} | |
| 132 | +.vakata-context li { | |
| 133 | + list-style: none; | |
| 134 | +} | |
| 135 | +.vakata-context li > a { | |
| 136 | + display: block; | |
| 137 | + padding: 0 2em 0 2em; | |
| 138 | + text-decoration: none; | |
| 139 | + width: auto; | |
| 140 | + color: black; | |
| 141 | + white-space: nowrap; | |
| 142 | + line-height: 2.4em; | |
| 143 | + text-shadow: 1px 1px 0 white; | |
| 144 | + border-radius: 1px; | |
| 145 | +} | |
| 146 | +.vakata-context li > a:hover { | |
| 147 | + position: relative; | |
| 148 | + background-color: #e8eff7; | |
| 149 | + box-shadow: 0 0 2px #0a6aa1; | |
| 150 | +} | |
| 151 | +.vakata-context li > a.vakata-context-parent { | |
| 152 | + background-image: url("data:image/gif;base64,R0lGODlhCwAHAIAAACgoKP///yH5BAEAAAEALAAAAAALAAcAAAIORI4JlrqN1oMSnmmZDQUAOw=="); | |
| 153 | + background-position: right center; | |
| 154 | + background-repeat: no-repeat; | |
| 155 | +} | |
| 156 | +.vakata-context li > a:focus { | |
| 157 | + outline: 0; | |
| 158 | +} | |
| 159 | +.vakata-context .vakata-context-hover > a { | |
| 160 | + position: relative; | |
| 161 | + background-color: #e8eff7; | |
| 162 | + box-shadow: 0 0 2px #0a6aa1; | |
| 163 | +} | |
| 164 | +.vakata-context .vakata-context-separator > a, | |
| 165 | +.vakata-context .vakata-context-separator > a:hover { | |
| 166 | + background: white; | |
| 167 | + border: 0; | |
| 168 | + border-top: 1px solid #e2e3e3; | |
| 169 | + height: 1px; | |
| 170 | + min-height: 1px; | |
| 171 | + max-height: 1px; | |
| 172 | + padding: 0; | |
| 173 | + margin: 0 0 0 2.4em; | |
| 174 | + border-left: 1px solid #e0e0e0; | |
| 175 | + text-shadow: 0 0 0 transparent; | |
| 176 | + box-shadow: 0 0 0 transparent; | |
| 177 | + border-radius: 0; | |
| 178 | +} | |
| 179 | +.vakata-context .vakata-contextmenu-disabled a, | |
| 180 | +.vakata-context .vakata-contextmenu-disabled a:hover { | |
| 181 | + color: silver; | |
| 182 | + background-color: transparent; | |
| 183 | + border: 0; | |
| 184 | + box-shadow: 0 0 0; | |
| 185 | +} | |
| 186 | +.vakata-context li > a > i { | |
| 187 | + text-decoration: none; | |
| 188 | + display: inline-block; | |
| 189 | + width: 2.4em; | |
| 190 | + height: 2.4em; | |
| 191 | + background: transparent; | |
| 192 | + margin: 0 0 0 -2em; | |
| 193 | + vertical-align: top; | |
| 194 | + text-align: center; | |
| 195 | + line-height: 2.4em; | |
| 196 | +} | |
| 197 | +.vakata-context li > a > i:empty { | |
| 198 | + width: 2.4em; | |
| 199 | + line-height: 2.4em; | |
| 200 | +} | |
| 201 | +.vakata-context li > a .vakata-contextmenu-sep { | |
| 202 | + display: inline-block; | |
| 203 | + width: 1px; | |
| 204 | + height: 2.4em; | |
| 205 | + background: white; | |
| 206 | + margin: 0 0.5em 0 0; | |
| 207 | + border-left: 1px solid #e2e3e3; | |
| 208 | +} | |
| 209 | +.vakata-context .vakata-contextmenu-shortcut { | |
| 210 | + font-size: 0.8em; | |
| 211 | + color: silver; | |
| 212 | + opacity: 0.5; | |
| 213 | + display: none; | |
| 214 | +} | |
| 215 | +.vakata-context-rtl ul { | |
| 216 | + left: auto; | |
| 217 | + right: 100%; | |
| 218 | + margin-left: auto; | |
| 219 | + margin-right: -4px; | |
| 220 | +} | |
| 221 | +.vakata-context-rtl li > a.vakata-context-parent { | |
| 222 | + background-image: url("data:image/gif;base64,R0lGODlhCwAHAIAAACgoKP///yH5BAEAAAEALAAAAAALAAcAAAINjI+AC7rWHIsPtmoxLAA7"); | |
| 223 | + background-position: left center; | |
| 224 | + background-repeat: no-repeat; | |
| 225 | +} | |
| 226 | +.vakata-context-rtl .vakata-context-separator > a { | |
| 227 | + margin: 0 2.4em 0 0; | |
| 228 | + border-left: 0; | |
| 229 | + border-right: 1px solid #e2e3e3; | |
| 230 | +} | |
| 231 | +.vakata-context-rtl .vakata-context-left ul { | |
| 232 | + right: auto; | |
| 233 | + left: 100%; | |
| 234 | + margin-left: -4px; | |
| 235 | + margin-right: auto; | |
| 236 | +} | |
| 237 | +.vakata-context-rtl li > a > i { | |
| 238 | + margin: 0 -2em 0 0; | |
| 239 | +} | |
| 240 | +.vakata-context-rtl li > a .vakata-contextmenu-sep { | |
| 241 | + margin: 0 0 0 0.5em; | |
| 242 | + border-left-color: white; | |
| 243 | + background: #e2e3e3; | |
| 244 | +} | |
| 245 | +#jstree-marker { | |
| 246 | + position: absolute; | |
| 247 | + top: 0; | |
| 248 | + left: 0; | |
| 249 | + margin: -5px 0 0 0; | |
| 250 | + padding: 0; | |
| 251 | + border-right: 0; | |
| 252 | + border-top: 5px solid transparent; | |
| 253 | + border-bottom: 5px solid transparent; | |
| 254 | + border-left: 5px solid; | |
| 255 | + width: 0; | |
| 256 | + height: 0; | |
| 257 | + font-size: 0; | |
| 258 | + line-height: 0; | |
| 259 | +} | |
| 260 | +#jstree-dnd { | |
| 261 | + line-height: 16px; | |
| 262 | + margin: 0; | |
| 263 | + padding: 4px; | |
| 264 | +} | |
| 265 | +#jstree-dnd .jstree-icon, | |
| 266 | +#jstree-dnd .jstree-copy { | |
| 267 | + display: inline-block; | |
| 268 | + text-decoration: none; | |
| 269 | + margin: 0 2px 0 0; | |
| 270 | + padding: 0; | |
| 271 | + width: 16px; | |
| 272 | + height: 16px; | |
| 273 | +} | |
| 274 | +#jstree-dnd .jstree-ok { | |
| 275 | + background: green; | |
| 276 | +} | |
| 277 | +#jstree-dnd .jstree-er { | |
| 278 | + background: red; | |
| 279 | +} | |
| 280 | +#jstree-dnd .jstree-copy { | |
| 281 | + margin: 0 2px 0 2px; | |
| 282 | +} | |
| 283 | +.jstree-default-dark .jstree-node, | |
| 284 | +.jstree-default-dark .jstree-icon { | |
| 285 | + background-repeat: no-repeat; | |
| 286 | + background-color: transparent; | |
| 287 | +} | |
| 288 | +.jstree-default-dark .jstree-anchor, | |
| 289 | +.jstree-default-dark .jstree-wholerow { | |
| 290 | + transition: background-color 0.15s, box-shadow 0.15s; | |
| 291 | +} | |
| 292 | +.jstree-default-dark .jstree-hovered { | |
| 293 | + background: #555555; | |
| 294 | + border-radius: 2px; | |
| 295 | + box-shadow: inset 0 0 1px #555555; | |
| 296 | +} | |
| 297 | +.jstree-default-dark .jstree-context { | |
| 298 | + background: #555555; | |
| 299 | + border-radius: 2px; | |
| 300 | + box-shadow: inset 0 0 1px #555555; | |
| 301 | +} | |
| 302 | +.jstree-default-dark .jstree-clicked { | |
| 303 | + background: #5fa2db; | |
| 304 | + border-radius: 2px; | |
| 305 | + box-shadow: inset 0 0 1px #666666; | |
| 306 | +} | |
| 307 | +.jstree-default-dark .jstree-no-icons .jstree-anchor > .jstree-themeicon { | |
| 308 | + display: none; | |
| 309 | +} | |
| 310 | +.jstree-default-dark .jstree-disabled { | |
| 311 | + background: transparent; | |
| 312 | + color: #666666; | |
| 313 | +} | |
| 314 | +.jstree-default-dark .jstree-disabled.jstree-hovered { | |
| 315 | + background: transparent; | |
| 316 | + box-shadow: none; | |
| 317 | +} | |
| 318 | +.jstree-default-dark .jstree-disabled.jstree-clicked { | |
| 319 | + background: #333333; | |
| 320 | +} | |
| 321 | +.jstree-default-dark .jstree-disabled > .jstree-icon { | |
| 322 | + opacity: 0.8; | |
| 323 | + filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'jstree-grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#jstree-grayscale"); | |
| 324 | + /* Firefox 10+ */ | |
| 325 | + filter: gray; | |
| 326 | + /* IE6-9 */ | |
| 327 | + -webkit-filter: grayscale(100%); | |
| 328 | + /* Chrome 19+ & Safari 6+ */ | |
| 329 | +} | |
| 330 | +.jstree-default-dark .jstree-search { | |
| 331 | + font-style: italic; | |
| 332 | + color: #ffffff; | |
| 333 | + font-weight: bold; | |
| 334 | +} | |
| 335 | +.jstree-default-dark .jstree-no-checkboxes .jstree-checkbox { | |
| 336 | + display: none !important; | |
| 337 | +} | |
| 338 | +.jstree-default-dark.jstree-checkbox-no-clicked .jstree-clicked { | |
| 339 | + background: transparent; | |
| 340 | + box-shadow: none; | |
| 341 | +} | |
| 342 | +.jstree-default-dark.jstree-checkbox-no-clicked .jstree-clicked.jstree-hovered { | |
| 343 | + background: #555555; | |
| 344 | +} | |
| 345 | +.jstree-default-dark.jstree-checkbox-no-clicked > .jstree-wholerow-ul .jstree-wholerow-clicked { | |
| 346 | + background: transparent; | |
| 347 | +} | |
| 348 | +.jstree-default-dark.jstree-checkbox-no-clicked > .jstree-wholerow-ul .jstree-wholerow-clicked.jstree-wholerow-hovered { | |
| 349 | + background: #555555; | |
| 350 | +} | |
| 351 | +.jstree-default-dark > .jstree-striped { | |
| 352 | + min-width: 100%; | |
| 353 | + display: inline-block; | |
| 354 | + background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAkCAMAAAB/qqA+AAAABlBMVEUAAAAAAAClZ7nPAAAAAnRSTlMNAMM9s3UAAAAXSURBVHjajcEBAQAAAIKg/H/aCQZ70AUBjAATb6YPDgAAAABJRU5ErkJggg==") left top repeat; | |
| 355 | +} | |
| 356 | +.jstree-default-dark > .jstree-wholerow-ul .jstree-hovered, | |
| 357 | +.jstree-default-dark > .jstree-wholerow-ul .jstree-clicked { | |
| 358 | + background: transparent; | |
| 359 | + box-shadow: none; | |
| 360 | + border-radius: 0; | |
| 361 | +} | |
| 362 | +.jstree-default-dark .jstree-wholerow { | |
| 363 | + -moz-box-sizing: border-box; | |
| 364 | + -webkit-box-sizing: border-box; | |
| 365 | + box-sizing: border-box; | |
| 366 | +} | |
| 367 | +.jstree-default-dark .jstree-wholerow-hovered { | |
| 368 | + background: #555555; | |
| 369 | +} | |
| 370 | +.jstree-default-dark .jstree-wholerow-clicked { | |
| 371 | + background: #5fa2db; | |
| 372 | + background: -webkit-linear-gradient(top, #5fa2db 0%, #5fa2db 100%); | |
| 373 | + background: linear-gradient(to bottom, #5fa2db 0%, #5fa2db 100%); | |
| 374 | +} | |
| 375 | +.jstree-default-dark .jstree-node { | |
| 376 | + min-height: 24px; | |
| 377 | + line-height: 24px; | |
| 378 | + margin-left: 24px; | |
| 379 | + min-width: 24px; | |
| 380 | +} | |
| 381 | +.jstree-default-dark .jstree-anchor { | |
| 382 | + line-height: 24px; | |
| 383 | + height: 24px; | |
| 384 | +} | |
| 385 | +.jstree-default-dark .jstree-icon { | |
| 386 | + width: 24px; | |
| 387 | + height: 24px; | |
| 388 | + line-height: 24px; | |
| 389 | +} | |
| 390 | +.jstree-default-dark .jstree-icon:empty { | |
| 391 | + width: 24px; | |
| 392 | + height: 24px; | |
| 393 | + line-height: 24px; | |
| 394 | +} | |
| 395 | +.jstree-default-dark.jstree-rtl .jstree-node { | |
| 396 | + margin-right: 24px; | |
| 397 | +} | |
| 398 | +.jstree-default-dark .jstree-wholerow { | |
| 399 | + height: 24px; | |
| 400 | +} | |
| 401 | +.jstree-default-dark .jstree-node, | |
| 402 | +.jstree-default-dark .jstree-icon { | |
| 403 | + background-image: url("32px.png"); | |
| 404 | +} | |
| 405 | +.jstree-default-dark .jstree-node { | |
| 406 | + background-position: -292px -4px; | |
| 407 | + background-repeat: repeat-y; | |
| 408 | +} | |
| 409 | +.jstree-default-dark .jstree-last { | |
| 410 | + background: transparent; | |
| 411 | +} | |
| 412 | +.jstree-default-dark .jstree-open > .jstree-ocl { | |
| 413 | + background-position: -132px -4px; | |
| 414 | +} | |
| 415 | +.jstree-default-dark .jstree-closed > .jstree-ocl { | |
| 416 | + background-position: -100px -4px; | |
| 417 | +} | |
| 418 | +.jstree-default-dark .jstree-leaf > .jstree-ocl { | |
| 419 | + background-position: -68px -4px; | |
| 420 | +} | |
| 421 | +.jstree-default-dark .jstree-themeicon { | |
| 422 | + background-position: -260px -4px; | |
| 423 | +} | |
| 424 | +.jstree-default-dark > .jstree-no-dots .jstree-node, | |
| 425 | +.jstree-default-dark > .jstree-no-dots .jstree-leaf > .jstree-ocl { | |
| 426 | + background: transparent; | |
| 427 | +} | |
| 428 | +.jstree-default-dark > .jstree-no-dots .jstree-open > .jstree-ocl { | |
| 429 | + background-position: -36px -4px; | |
| 430 | +} | |
| 431 | +.jstree-default-dark > .jstree-no-dots .jstree-closed > .jstree-ocl { | |
| 432 | + background-position: -4px -4px; | |
| 433 | +} | |
| 434 | +.jstree-default-dark .jstree-disabled { | |
| 435 | + background: transparent; | |
| 436 | +} | |
| 437 | +.jstree-default-dark .jstree-disabled.jstree-hovered { | |
| 438 | + background: transparent; | |
| 439 | +} | |
| 440 | +.jstree-default-dark .jstree-disabled.jstree-clicked { | |
| 441 | + background: #efefef; | |
| 442 | +} | |
| 443 | +.jstree-default-dark .jstree-checkbox { | |
| 444 | + background-position: -164px -4px; | |
| 445 | +} | |
| 446 | +.jstree-default-dark .jstree-checkbox:hover { | |
| 447 | + background-position: -164px -36px; | |
| 448 | +} | |
| 449 | +.jstree-default-dark.jstree-checkbox-selection .jstree-clicked > .jstree-checkbox, | |
| 450 | +.jstree-default-dark .jstree-checked > .jstree-checkbox { | |
| 451 | + background-position: -228px -4px; | |
| 452 | +} | |
| 453 | +.jstree-default-dark.jstree-checkbox-selection .jstree-clicked > .jstree-checkbox:hover, | |
| 454 | +.jstree-default-dark .jstree-checked > .jstree-checkbox:hover { | |
| 455 | + background-position: -228px -36px; | |
| 456 | +} | |
| 457 | +.jstree-default-dark .jstree-anchor > .jstree-undetermined { | |
| 458 | + background-position: -196px -4px; | |
| 459 | +} | |
| 460 | +.jstree-default-dark .jstree-anchor > .jstree-undetermined:hover { | |
| 461 | + background-position: -196px -36px; | |
| 462 | +} | |
| 463 | +.jstree-default-dark .jstree-checkbox-disabled { | |
| 464 | + opacity: 0.8; | |
| 465 | + filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'jstree-grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#jstree-grayscale"); | |
| 466 | + /* Firefox 10+ */ | |
| 467 | + filter: gray; | |
| 468 | + /* IE6-9 */ | |
| 469 | + -webkit-filter: grayscale(100%); | |
| 470 | + /* Chrome 19+ & Safari 6+ */ | |
| 471 | +} | |
| 472 | +.jstree-default-dark > .jstree-striped { | |
| 473 | + background-size: auto 48px; | |
| 474 | +} | |
| 475 | +.jstree-default-dark.jstree-rtl .jstree-node { | |
| 476 | + background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg=="); | |
| 477 | + background-position: 100% 1px; | |
| 478 | + background-repeat: repeat-y; | |
| 479 | +} | |
| 480 | +.jstree-default-dark.jstree-rtl .jstree-last { | |
| 481 | + background: transparent; | |
| 482 | +} | |
| 483 | +.jstree-default-dark.jstree-rtl .jstree-open > .jstree-ocl { | |
| 484 | + background-position: -132px -36px; | |
| 485 | +} | |
| 486 | +.jstree-default-dark.jstree-rtl .jstree-closed > .jstree-ocl { | |
| 487 | + background-position: -100px -36px; | |
| 488 | +} | |
| 489 | +.jstree-default-dark.jstree-rtl .jstree-leaf > .jstree-ocl { | |
| 490 | + background-position: -68px -36px; | |
| 491 | +} | |
| 492 | +.jstree-default-dark.jstree-rtl > .jstree-no-dots .jstree-node, | |
| 493 | +.jstree-default-dark.jstree-rtl > .jstree-no-dots .jstree-leaf > .jstree-ocl { | |
| 494 | + background: transparent; | |
| 495 | +} | |
| 496 | +.jstree-default-dark.jstree-rtl > .jstree-no-dots .jstree-open > .jstree-ocl { | |
| 497 | + background-position: -36px -36px; | |
| 498 | +} | |
| 499 | +.jstree-default-dark.jstree-rtl > .jstree-no-dots .jstree-closed > .jstree-ocl { | |
| 500 | + background-position: -4px -36px; | |
| 501 | +} | |
| 502 | +.jstree-default-dark .jstree-themeicon-custom { | |
| 503 | + background-color: transparent; | |
| 504 | + background-image: none; | |
| 505 | + background-position: 0 0; | |
| 506 | +} | |
| 507 | +.jstree-default-dark > .jstree-container-ul .jstree-loading > .jstree-ocl { | |
| 508 | + background: url("throbber.gif") center center no-repeat; | |
| 509 | +} | |
| 510 | +.jstree-default-dark .jstree-file { | |
| 511 | + background: url("32px.png") -100px -68px no-repeat; | |
| 512 | +} | |
| 513 | +.jstree-default-dark .jstree-folder { | |
| 514 | + background: url("32px.png") -260px -4px no-repeat; | |
| 515 | +} | |
| 516 | +.jstree-default-dark > .jstree-container-ul > .jstree-node { | |
| 517 | + margin-left: 0; | |
| 518 | + margin-right: 0; | |
| 519 | +} | |
| 520 | +#jstree-dnd.jstree-default-dark { | |
| 521 | + line-height: 24px; | |
| 522 | + padding: 0 4px; | |
| 523 | +} | |
| 524 | +#jstree-dnd.jstree-default-dark .jstree-ok, | |
| 525 | +#jstree-dnd.jstree-default-dark .jstree-er { | |
| 526 | + background-image: url("32px.png"); | |
| 527 | + background-repeat: no-repeat; | |
| 528 | + background-color: transparent; | |
| 529 | +} | |
| 530 | +#jstree-dnd.jstree-default-dark i { | |
| 531 | + background: transparent; | |
| 532 | + width: 24px; | |
| 533 | + height: 24px; | |
| 534 | + line-height: 24px; | |
| 535 | +} | |
| 536 | +#jstree-dnd.jstree-default-dark .jstree-ok { | |
| 537 | + background-position: -4px -68px; | |
| 538 | +} | |
| 539 | +#jstree-dnd.jstree-default-dark .jstree-er { | |
| 540 | + background-position: -36px -68px; | |
| 541 | +} | |
| 542 | +.jstree-default-dark.jstree-rtl .jstree-node { | |
| 543 | + background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg=="); | |
| 544 | +} | |
| 545 | +.jstree-default-dark.jstree-rtl .jstree-last { | |
| 546 | + background: transparent; | |
| 547 | +} | |
| 548 | +.jstree-default-dark-small .jstree-node { | |
| 549 | + min-height: 18px; | |
| 550 | + line-height: 18px; | |
| 551 | + margin-left: 18px; | |
| 552 | + min-width: 18px; | |
| 553 | +} | |
| 554 | +.jstree-default-dark-small .jstree-anchor { | |
| 555 | + line-height: 18px; | |
| 556 | + height: 18px; | |
| 557 | +} | |
| 558 | +.jstree-default-dark-small .jstree-icon { | |
| 559 | + width: 18px; | |
| 560 | + height: 18px; | |
| 561 | + line-height: 18px; | |
| 562 | +} | |
| 563 | +.jstree-default-dark-small .jstree-icon:empty { | |
| 564 | + width: 18px; | |
| 565 | + height: 18px; | |
| 566 | + line-height: 18px; | |
| 567 | +} | |
| 568 | +.jstree-default-dark-small.jstree-rtl .jstree-node { | |
| 569 | + margin-right: 18px; | |
| 570 | +} | |
| 571 | +.jstree-default-dark-small .jstree-wholerow { | |
| 572 | + height: 18px; | |
| 573 | +} | |
| 574 | +.jstree-default-dark-small .jstree-node, | |
| 575 | +.jstree-default-dark-small .jstree-icon { | |
| 576 | + background-image: url("32px.png"); | |
| 577 | +} | |
| 578 | +.jstree-default-dark-small .jstree-node { | |
| 579 | + background-position: -295px -7px; | |
| 580 | + background-repeat: repeat-y; | |
| 581 | +} | |
| 582 | +.jstree-default-dark-small .jstree-last { | |
| 583 | + background: transparent; | |
| 584 | +} | |
| 585 | +.jstree-default-dark-small .jstree-open > .jstree-ocl { | |
| 586 | + background-position: -135px -7px; | |
| 587 | +} | |
| 588 | +.jstree-default-dark-small .jstree-closed > .jstree-ocl { | |
| 589 | + background-position: -103px -7px; | |
| 590 | +} | |
| 591 | +.jstree-default-dark-small .jstree-leaf > .jstree-ocl { | |
| 592 | + background-position: -71px -7px; | |
| 593 | +} | |
| 594 | +.jstree-default-dark-small .jstree-themeicon { | |
| 595 | + background-position: -263px -7px; | |
| 596 | +} | |
| 597 | +.jstree-default-dark-small > .jstree-no-dots .jstree-node, | |
| 598 | +.jstree-default-dark-small > .jstree-no-dots .jstree-leaf > .jstree-ocl { | |
| 599 | + background: transparent; | |
| 600 | +} | |
| 601 | +.jstree-default-dark-small > .jstree-no-dots .jstree-open > .jstree-ocl { | |
| 602 | + background-position: -39px -7px; | |
| 603 | +} | |
| 604 | +.jstree-default-dark-small > .jstree-no-dots .jstree-closed > .jstree-ocl { | |
| 605 | + background-position: -7px -7px; | |
| 606 | +} | |
| 607 | +.jstree-default-dark-small .jstree-disabled { | |
| 608 | + background: transparent; | |
| 609 | +} | |
| 610 | +.jstree-default-dark-small .jstree-disabled.jstree-hovered { | |
| 611 | + background: transparent; | |
| 612 | +} | |
| 613 | +.jstree-default-dark-small .jstree-disabled.jstree-clicked { | |
| 614 | + background: #efefef; | |
| 615 | +} | |
| 616 | +.jstree-default-dark-small .jstree-checkbox { | |
| 617 | + background-position: -167px -7px; | |
| 618 | +} | |
| 619 | +.jstree-default-dark-small .jstree-checkbox:hover { | |
| 620 | + background-position: -167px -39px; | |
| 621 | +} | |
| 622 | +.jstree-default-dark-small.jstree-checkbox-selection .jstree-clicked > .jstree-checkbox, | |
| 623 | +.jstree-default-dark-small .jstree-checked > .jstree-checkbox { | |
| 624 | + background-position: -231px -7px; | |
| 625 | +} | |
| 626 | +.jstree-default-dark-small.jstree-checkbox-selection .jstree-clicked > .jstree-checkbox:hover, | |
| 627 | +.jstree-default-dark-small .jstree-checked > .jstree-checkbox:hover { | |
| 628 | + background-position: -231px -39px; | |
| 629 | +} | |
| 630 | +.jstree-default-dark-small .jstree-anchor > .jstree-undetermined { | |
| 631 | + background-position: -199px -7px; | |
| 632 | +} | |
| 633 | +.jstree-default-dark-small .jstree-anchor > .jstree-undetermined:hover { | |
| 634 | + background-position: -199px -39px; | |
| 635 | +} | |
| 636 | +.jstree-default-dark-small .jstree-checkbox-disabled { | |
| 637 | + opacity: 0.8; | |
| 638 | + filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'jstree-grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#jstree-grayscale"); | |
| 639 | + /* Firefox 10+ */ | |
| 640 | + filter: gray; | |
| 641 | + /* IE6-9 */ | |
| 642 | + -webkit-filter: grayscale(100%); | |
| 643 | + /* Chrome 19+ & Safari 6+ */ | |
| 644 | +} | |
| 645 | +.jstree-default-dark-small > .jstree-striped { | |
| 646 | + background-size: auto 36px; | |
| 647 | +} | |
| 648 | +.jstree-default-dark-small.jstree-rtl .jstree-node { | |
| 649 | + background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg=="); | |
| 650 | + background-position: 100% 1px; | |
| 651 | + background-repeat: repeat-y; | |
| 652 | +} | |
| 653 | +.jstree-default-dark-small.jstree-rtl .jstree-last { | |
| 654 | + background: transparent; | |
| 655 | +} | |
| 656 | +.jstree-default-dark-small.jstree-rtl .jstree-open > .jstree-ocl { | |
| 657 | + background-position: -135px -39px; | |
| 658 | +} | |
| 659 | +.jstree-default-dark-small.jstree-rtl .jstree-closed > .jstree-ocl { | |
| 660 | + background-position: -103px -39px; | |
| 661 | +} | |
| 662 | +.jstree-default-dark-small.jstree-rtl .jstree-leaf > .jstree-ocl { | |
| 663 | + background-position: -71px -39px; | |
| 664 | +} | |
| 665 | +.jstree-default-dark-small.jstree-rtl > .jstree-no-dots .jstree-node, | |
| 666 | +.jstree-default-dark-small.jstree-rtl > .jstree-no-dots .jstree-leaf > .jstree-ocl { | |
| 667 | + background: transparent; | |
| 668 | +} | |
| 669 | +.jstree-default-dark-small.jstree-rtl > .jstree-no-dots .jstree-open > .jstree-ocl { | |
| 670 | + background-position: -39px -39px; | |
| 671 | +} | |
| 672 | +.jstree-default-dark-small.jstree-rtl > .jstree-no-dots .jstree-closed > .jstree-ocl { | |
| 673 | + background-position: -7px -39px; | |
| 674 | +} | |
| 675 | +.jstree-default-dark-small .jstree-themeicon-custom { | |
| 676 | + background-color: transparent; | |
| 677 | + background-image: none; | |
| 678 | + background-position: 0 0; | |
| 679 | +} | |
| 680 | +.jstree-default-dark-small > .jstree-container-ul .jstree-loading > .jstree-ocl { | |
| 681 | + background: url("throbber.gif") center center no-repeat; | |
| 682 | +} | |
| 683 | +.jstree-default-dark-small .jstree-file { | |
| 684 | + background: url("32px.png") -103px -71px no-repeat; | |
| 685 | +} | |
| 686 | +.jstree-default-dark-small .jstree-folder { | |
| 687 | + background: url("32px.png") -263px -7px no-repeat; | |
| 688 | +} | |
| 689 | +.jstree-default-dark-small > .jstree-container-ul > .jstree-node { | |
| 690 | + margin-left: 0; | |
| 691 | + margin-right: 0; | |
| 692 | +} | |
| 693 | +#jstree-dnd.jstree-default-dark-small { | |
| 694 | + line-height: 18px; | |
| 695 | + padding: 0 4px; | |
| 696 | +} | |
| 697 | +#jstree-dnd.jstree-default-dark-small .jstree-ok, | |
| 698 | +#jstree-dnd.jstree-default-dark-small .jstree-er { | |
| 699 | + background-image: url("32px.png"); | |
| 700 | + background-repeat: no-repeat; | |
| 701 | + background-color: transparent; | |
| 702 | +} | |
| 703 | +#jstree-dnd.jstree-default-dark-small i { | |
| 704 | + background: transparent; | |
| 705 | + width: 18px; | |
| 706 | + height: 18px; | |
| 707 | + line-height: 18px; | |
| 708 | +} | |
| 709 | +#jstree-dnd.jstree-default-dark-small .jstree-ok { | |
| 710 | + background-position: -7px -71px; | |
| 711 | +} | |
| 712 | +#jstree-dnd.jstree-default-dark-small .jstree-er { | |
| 713 | + background-position: -39px -71px; | |
| 714 | +} | |
| 715 | +.jstree-default-dark-small.jstree-rtl .jstree-node { | |
| 716 | + background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAACAQMAAABv1h6PAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMHBgAAiABBI4gz9AAAAABJRU5ErkJggg=="); | |
| 717 | +} | |
| 718 | +.jstree-default-dark-small.jstree-rtl .jstree-last { | |
| 719 | + background: transparent; | |
| 720 | +} | |
| 721 | +.jstree-default-dark-large .jstree-node { | |
| 722 | + min-height: 32px; | |
| 723 | + line-height: 32px; | |
| 724 | + margin-left: 32px; | |
| 725 | + min-width: 32px; | |
| 726 | +} | |
| 727 | +.jstree-default-dark-large .jstree-anchor { | |
| 728 | + line-height: 32px; | |
| 729 | + height: 32px; | |
| 730 | +} | |
| 731 | +.jstree-default-dark-large .jstree-icon { | |
| 732 | + width: 32px; | |
| 733 | + height: 32px; | |
| 734 | + line-height: 32px; | |
| 735 | +} | |
| 736 | +.jstree-default-dark-large .jstree-icon:empty { | |
| 737 | + width: 32px; | |
| 738 | + height: 32px; | |
| 739 | + line-height: 32px; | |
| 740 | +} | |
| 741 | +.jstree-default-dark-large.jstree-rtl .jstree-node { | |
| 742 | + margin-right: 32px; | |
| 743 | +} | |
| 744 | +.jstree-default-dark-large .jstree-wholerow { | |
| 745 | + height: 32px; | |
| 746 | +} | |
| 747 | +.jstree-default-dark-large .jstree-node, | |
| 748 | +.jstree-default-dark-large .jstree-icon { | |
| 749 | + background-image: url("32px.png"); | |
| 750 | +} | |
| 751 | +.jstree-default-dark-large .jstree-node { | |
| 752 | + background-position: -288px 0px; | |
| 753 | + background-repeat: repeat-y; | |
| 754 | +} | |
| 755 | +.jstree-default-dark-large .jstree-last { | |
| 756 | + background: transparent; | |
| 757 | +} | |
| 758 | +.jstree-default-dark-large .jstree-open > .jstree-ocl { | |
| 759 | + background-position: -128px 0px; | |
| 760 | +} | |
| 761 | +.jstree-default-dark-large .jstree-closed > .jstree-ocl { | |
| 762 | + background-position: -96px 0px; | |
| 763 | +} | |
| 764 | +.jstree-default-dark-large .jstree-leaf > .jstree-ocl { | |
| 765 | + background-position: -64px 0px; | |
| 766 | +} | |
| 767 | +.jstree-default-dark-large .jstree-themeicon { | |
| 768 | + background-position: -256px 0px; | |
| 769 | +} | |
| 770 | +.jstree-default-dark-large > .jstree-no-dots .jstree-node, | |
| 771 | +.jstree-default-dark-large > .jstree-no-dots .jstree-leaf > .jstree-ocl { | |
| 772 | + background: transparent; | |
| 773 | +} | |
| 774 | +.jstree-default-dark-large > .jstree-no-dots .jstree-open > .jstree-ocl { | |
| 775 | + background-position: -32px 0px; | |
| 776 | +} | |
| 777 | +.jstree-default-dark-large > .jstree-no-dots .jstree-closed > .jstree-ocl { | |
| 778 | + background-position: 0px 0px; | |
| 779 | +} | |
| 780 | +.jstree-default-dark-large .jstree-disabled { | |
| 781 | + background: transparent; | |
| 782 | +} | |
| 783 | +.jstree-default-dark-large .jstree-disabled.jstree-hovered { | |
| 784 | + background: transparent; | |
| 785 | +} | |
| 786 | +.jstree-default-dark-large .jstree-disabled.jstree-clicked { | |
| 787 | + background: #efefef; | |
| 788 | +} | |
| 789 | +.jstree-default-dark-large .jstree-checkbox { | |
| 790 | + background-position: -160px 0px; | |
| 791 | +} | |
| 792 | +.jstree-default-dark-large .jstree-checkbox:hover { | |
| 793 | + background-position: -160px -32px; | |
| 794 | +} | |
| 795 | +.jstree-default-dark-large.jstree-checkbox-selection .jstree-clicked > .jstree-checkbox, | |
| 796 | +.jstree-default-dark-large .jstree-checked > .jstree-checkbox { | |
| 797 | + background-position: -224px 0px; | |
| 798 | +} | |
| 799 | +.jstree-default-dark-large.jstree-checkbox-selection .jstree-clicked > .jstree-checkbox:hover, | |
| 800 | +.jstree-default-dark-large .jstree-checked > .jstree-checkbox:hover { | |
| 801 | + background-position: -224px -32px; | |
| 802 | +} | |
| 803 | +.jstree-default-dark-large .jstree-anchor > .jstree-undetermined { | |
| 804 | + background-position: -192px 0px; | |
| 805 | +} | |
| 806 | +.jstree-default-dark-large .jstree-anchor > .jstree-undetermined:hover { | |
| 807 | + background-position: -192px -32px; | |
| 808 | +} | |
| 809 | +.jstree-default-dark-large .jstree-checkbox-disabled { | |
| 810 | + opacity: 0.8; | |
| 811 | + filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'jstree-grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#jstree-grayscale"); | |
| 812 | + /* Firefox 10+ */ | |
| 813 | + filter: gray; | |
| 814 | + /* IE6-9 */ | |
| 815 | + -webkit-filter: grayscale(100%); | |
| 816 | + /* Chrome 19+ & Safari 6+ */ | |
| 817 | +} | |
| 818 | +.jstree-default-dark-large > .jstree-striped { | |
| 819 | + background-size: auto 64px; | |
| 820 | +} | |
| 821 | +.jstree-default-dark-large.jstree-rtl .jstree-node { | |
| 822 | + background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg=="); | |
| 823 | + background-position: 100% 1px; | |
| 824 | + background-repeat: repeat-y; | |
| 825 | +} | |
| 826 | +.jstree-default-dark-large.jstree-rtl .jstree-last { | |
| 827 | + background: transparent; | |
| 828 | +} | |
| 829 | +.jstree-default-dark-large.jstree-rtl .jstree-open > .jstree-ocl { | |
| 830 | + background-position: -128px -32px; | |
| 831 | +} | |
| 832 | +.jstree-default-dark-large.jstree-rtl .jstree-closed > .jstree-ocl { | |
| 833 | + background-position: -96px -32px; | |
| 834 | +} | |
| 835 | +.jstree-default-dark-large.jstree-rtl .jstree-leaf > .jstree-ocl { | |
| 836 | + background-position: -64px -32px; | |
| 837 | +} | |
| 838 | +.jstree-default-dark-large.jstree-rtl > .jstree-no-dots .jstree-node, | |
| 839 | +.jstree-default-dark-large.jstree-rtl > .jstree-no-dots .jstree-leaf > .jstree-ocl { | |
| 840 | + background: transparent; | |
| 841 | +} | |
| 842 | +.jstree-default-dark-large.jstree-rtl > .jstree-no-dots .jstree-open > .jstree-ocl { | |
| 843 | + background-position: -32px -32px; | |
| 844 | +} | |
| 845 | +.jstree-default-dark-large.jstree-rtl > .jstree-no-dots .jstree-closed > .jstree-ocl { | |
| 846 | + background-position: 0px -32px; | |
| 847 | +} | |
| 848 | +.jstree-default-dark-large .jstree-themeicon-custom { | |
| 849 | + background-color: transparent; | |
| 850 | + background-image: none; | |
| 851 | + background-position: 0 0; | |
| 852 | +} | |
| 853 | +.jstree-default-dark-large > .jstree-container-ul .jstree-loading > .jstree-ocl { | |
| 854 | + background: url("throbber.gif") center center no-repeat; | |
| 855 | +} | |
| 856 | +.jstree-default-dark-large .jstree-file { | |
| 857 | + background: url("32px.png") -96px -64px no-repeat; | |
| 858 | +} | |
| 859 | +.jstree-default-dark-large .jstree-folder { | |
| 860 | + background: url("32px.png") -256px 0px no-repeat; | |
| 861 | +} | |
| 862 | +.jstree-default-dark-large > .jstree-container-ul > .jstree-node { | |
| 863 | + margin-left: 0; | |
| 864 | + margin-right: 0; | |
| 865 | +} | |
| 866 | +#jstree-dnd.jstree-default-dark-large { | |
| 867 | + line-height: 32px; | |
| 868 | + padding: 0 4px; | |
| 869 | +} | |
| 870 | +#jstree-dnd.jstree-default-dark-large .jstree-ok, | |
| 871 | +#jstree-dnd.jstree-default-dark-large .jstree-er { | |
| 872 | + background-image: url("32px.png"); | |
| 873 | + background-repeat: no-repeat; | |
| 874 | + background-color: transparent; | |
| 875 | +} | |
| 876 | +#jstree-dnd.jstree-default-dark-large i { | |
| 877 | + background: transparent; | |
| 878 | + width: 32px; | |
| 879 | + height: 32px; | |
| 880 | + line-height: 32px; | |
| 881 | +} | |
| 882 | +#jstree-dnd.jstree-default-dark-large .jstree-ok { | |
| 883 | + background-position: 0px -64px; | |
| 884 | +} | |
| 885 | +#jstree-dnd.jstree-default-dark-large .jstree-er { | |
| 886 | + background-position: -32px -64px; | |
| 887 | +} | |
| 888 | +.jstree-default-dark-large.jstree-rtl .jstree-node { | |
| 889 | + background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAACAQMAAAAD0EyKAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjgIIGBgABCgCBvVLXcAAAAABJRU5ErkJggg=="); | |
| 890 | +} | |
| 891 | +.jstree-default-dark-large.jstree-rtl .jstree-last { | |
| 892 | + background: transparent; | |
| 893 | +} | |
| 894 | +@media (max-width: 768px) { | |
| 895 | + #jstree-dnd.jstree-dnd-responsive { | |
| 896 | + line-height: 40px; | |
| 897 | + font-weight: bold; | |
| 898 | + font-size: 1.1em; | |
| 899 | + text-shadow: 1px 1px white; | |
| 900 | + } | |
| 901 | + #jstree-dnd.jstree-dnd-responsive > i { | |
| 902 | + background: transparent; | |
| 903 | + width: 40px; | |
| 904 | + height: 40px; | |
| 905 | + } | |
| 906 | + #jstree-dnd.jstree-dnd-responsive > .jstree-ok { | |
| 907 | + background-image: url("40px.png"); | |
| 908 | + background-position: 0 -200px; | |
| 909 | + background-size: 120px 240px; | |
| 910 | + } | |
| 911 | + #jstree-dnd.jstree-dnd-responsive > .jstree-er { | |
| 912 | + background-image: url("40px.png"); | |
| 913 | + background-position: -40px -200px; | |
| 914 | + background-size: 120px 240px; | |
| 915 | + } | |
| 916 | + #jstree-marker.jstree-dnd-responsive { | |
| 917 | + border-left-width: 10px; | |
| 918 | + border-top-width: 10px; | |
| 919 | + border-bottom-width: 10px; | |
| 920 | + margin-top: -10px; | |
| 921 | + } | |
| 922 | +} | |
| 923 | +@media (max-width: 768px) { | |
| 924 | + .jstree-default-dark-responsive { | |
| 925 | + /* | |
| 926 | + .jstree-open > .jstree-ocl, | |
| 927 | + .jstree-closed > .jstree-ocl { border-radius:20px; background-color:white; } | |
| 928 | + */ | |
| 929 | + } | |
| 930 | + .jstree-default-dark-responsive .jstree-icon { | |
| 931 | + background-image: url("40px.png"); | |
| 932 | + } | |
| 933 | + .jstree-default-dark-responsive .jstree-node, | |
| 934 | + .jstree-default-dark-responsive .jstree-leaf > .jstree-ocl { | |
| 935 | + background: transparent; | |
| 936 | + } | |
| 937 | + .jstree-default-dark-responsive .jstree-node { | |
| 938 | + min-height: 40px; | |
| 939 | + line-height: 40px; | |
| 940 | + margin-left: 40px; | |
| 941 | + min-width: 40px; | |
| 942 | + white-space: nowrap; | |
| 943 | + } | |
| 944 | + .jstree-default-dark-responsive .jstree-anchor { | |
| 945 | + line-height: 40px; | |
| 946 | + height: 40px; | |
| 947 | + } | |
| 948 | + .jstree-default-dark-responsive .jstree-icon, | |
| 949 | + .jstree-default-dark-responsive .jstree-icon:empty { | |
| 950 | + width: 40px; | |
| 951 | + height: 40px; | |
| 952 | + line-height: 40px; | |
| 953 | + } | |
| 954 | + .jstree-default-dark-responsive > .jstree-container-ul > .jstree-node { | |
| 955 | + margin-left: 0; | |
| 956 | + } | |
| 957 | + .jstree-default-dark-responsive.jstree-rtl .jstree-node { | |
| 958 | + margin-left: 0; | |
| 959 | + margin-right: 40px; | |
| 960 | + background: transparent; | |
| 961 | + } | |
| 962 | + .jstree-default-dark-responsive.jstree-rtl .jstree-container-ul > .jstree-node { | |
| 963 | + margin-right: 0; | |
| 964 | + } | |
| 965 | + .jstree-default-dark-responsive .jstree-ocl, | |
| 966 | + .jstree-default-dark-responsive .jstree-themeicon, | |
| 967 | + .jstree-default-dark-responsive .jstree-checkbox { | |
| 968 | + background-size: 120px 240px; | |
| 969 | + } | |
| 970 | + .jstree-default-dark-responsive .jstree-leaf > .jstree-ocl, | |
| 971 | + .jstree-default-dark-responsive.jstree-rtl .jstree-leaf > .jstree-ocl { | |
| 972 | + background: transparent; | |
| 973 | + } | |
| 974 | + .jstree-default-dark-responsive .jstree-open > .jstree-ocl { | |
| 975 | + background-position: 0 0px !important; | |
| 976 | + } | |
| 977 | + .jstree-default-dark-responsive .jstree-closed > .jstree-ocl { | |
| 978 | + background-position: 0 -40px !important; | |
| 979 | + } | |
| 980 | + .jstree-default-dark-responsive.jstree-rtl .jstree-closed > .jstree-ocl { | |
| 981 | + background-position: -40px 0px !important; | |
| 982 | + } | |
| 983 | + .jstree-default-dark-responsive .jstree-themeicon { | |
| 984 | + background-position: -40px -40px; | |
| 985 | + } | |
| 986 | + .jstree-default-dark-responsive .jstree-checkbox, | |
| 987 | + .jstree-default-dark-responsive .jstree-checkbox:hover { | |
| 988 | + background-position: -40px -80px; | |
| 989 | + } | |
| 990 | + .jstree-default-dark-responsive.jstree-checkbox-selection .jstree-clicked > .jstree-checkbox, | |
| 991 | + .jstree-default-dark-responsive.jstree-checkbox-selection .jstree-clicked > .jstree-checkbox:hover, | |
| 992 | + .jstree-default-dark-responsive .jstree-checked > .jstree-checkbox, | |
| 993 | + .jstree-default-dark-responsive .jstree-checked > .jstree-checkbox:hover { | |
| 994 | + background-position: 0 -80px; | |
| 995 | + } | |
| 996 | + .jstree-default-dark-responsive .jstree-anchor > .jstree-undetermined, | |
| 997 | + .jstree-default-dark-responsive .jstree-anchor > .jstree-undetermined:hover { | |
| 998 | + background-position: 0 -120px; | |
| 999 | + } | |
| 1000 | + .jstree-default-dark-responsive .jstree-anchor { | |
| 1001 | + font-weight: bold; | |
| 1002 | + font-size: 1.1em; | |
| 1003 | + text-shadow: 1px 1px white; | |
| 1004 | + } | |
| 1005 | + .jstree-default-dark-responsive > .jstree-striped { | |
| 1006 | + background: transparent; | |
| 1007 | + } | |
| 1008 | + .jstree-default-dark-responsive .jstree-wholerow { | |
| 1009 | + border-top: 1px solid #666666; | |
| 1010 | + border-bottom: 1px solid #000000; | |
| 1011 | + background: #333333; | |
| 1012 | + height: 40px; | |
| 1013 | + } | |
| 1014 | + .jstree-default-dark-responsive .jstree-wholerow-hovered { | |
| 1015 | + background: #555555; | |
| 1016 | + } | |
| 1017 | + .jstree-default-dark-responsive .jstree-wholerow-clicked { | |
| 1018 | + background: #5fa2db; | |
| 1019 | + } | |
| 1020 | + .jstree-default-dark-responsive .jstree-children .jstree-last > .jstree-wholerow { | |
| 1021 | + box-shadow: inset 0 -6px 3px -5px #111111; | |
| 1022 | + } | |
| 1023 | + .jstree-default-dark-responsive .jstree-children .jstree-open > .jstree-wholerow { | |
| 1024 | + box-shadow: inset 0 6px 3px -5px #111111; | |
| 1025 | + border-top: 0; | |
| 1026 | + } | |
| 1027 | + .jstree-default-dark-responsive .jstree-children .jstree-open + .jstree-open { | |
| 1028 | + box-shadow: none; | |
| 1029 | + } | |
| 1030 | + .jstree-default-dark-responsive .jstree-node, | |
| 1031 | + .jstree-default-dark-responsive .jstree-icon, | |
| 1032 | + .jstree-default-dark-responsive .jstree-node > .jstree-ocl, | |
| 1033 | + .jstree-default-dark-responsive .jstree-themeicon, | |
| 1034 | + .jstree-default-dark-responsive .jstree-checkbox { | |
| 1035 | + background-image: url("40px.png"); | |
| 1036 | + background-size: 120px 240px; | |
| 1037 | + } | |
| 1038 | + .jstree-default-dark-responsive .jstree-node { | |
| 1039 | + background-position: -80px 0; | |
| 1040 | + background-repeat: repeat-y; | |
| 1041 | + } | |
| 1042 | + .jstree-default-dark-responsive .jstree-last { | |
| 1043 | + background: transparent; | |
| 1044 | + } | |
| 1045 | + .jstree-default-dark-responsive .jstree-leaf > .jstree-ocl { | |
| 1046 | + background-position: -40px -120px; | |
| 1047 | + } | |
| 1048 | + .jstree-default-dark-responsive .jstree-last > .jstree-ocl { | |
| 1049 | + background-position: -40px -160px; | |
| 1050 | + } | |
| 1051 | + .jstree-default-dark-responsive .jstree-themeicon-custom { | |
| 1052 | + background-color: transparent; | |
| 1053 | + background-image: none; | |
| 1054 | + background-position: 0 0; | |
| 1055 | + } | |
| 1056 | + .jstree-default-dark-responsive .jstree-file { | |
| 1057 | + background: url("40px.png") 0 -160px no-repeat; | |
| 1058 | + background-size: 120px 240px; | |
| 1059 | + } | |
| 1060 | + .jstree-default-dark-responsive .jstree-folder { | |
| 1061 | + background: url("40px.png") -40px -40px no-repeat; | |
| 1062 | + background-size: 120px 240px; | |
| 1063 | + } | |
| 1064 | + .jstree-default-dark-responsive > .jstree-container-ul > .jstree-node { | |
| 1065 | + margin-left: 0; | |
| 1066 | + margin-right: 0; | |
| 1067 | + } | |
| 1068 | +} | |
| 1069 | +.jstree-default-dark { | |
| 1070 | + background: #333; | |
| 1071 | +} | |
| 1072 | +.jstree-default-dark .jstree-anchor { | |
| 1073 | + color: #999; | |
| 1074 | + text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5); | |
| 1075 | +} | |
| 1076 | +.jstree-default-dark .jstree-clicked, | |
| 1077 | +.jstree-default-dark .jstree-checked { | |
| 1078 | + color: white; | |
| 1079 | +} | |
| 1080 | +.jstree-default-dark .jstree-hovered { | |
| 1081 | + color: white; | |
| 1082 | +} | |
| 1083 | +#jstree-marker.jstree-default-dark { | |
| 1084 | + border-left-color: #999; | |
| 1085 | + background: transparent; | |
| 1086 | +} | |
| 1087 | +.jstree-default-dark .jstree-anchor > .jstree-icon { | |
| 1088 | + opacity: 0.75; | |
| 1089 | +} | |
| 1090 | +.jstree-default-dark .jstree-clicked > .jstree-icon, | |
| 1091 | +.jstree-default-dark .jstree-hovered > .jstree-icon, | |
| 1092 | +.jstree-default-dark .jstree-checked > .jstree-icon { | |
| 1093 | + opacity: 1; | |
| 1094 | +} | |
| 1095 | +.jstree-default-dark.jstree-rtl .jstree-node { | |
| 1096 | + background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAACZmZl+9SADAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg=="); | |
| 1097 | +} | |
| 1098 | +.jstree-default-dark.jstree-rtl .jstree-last { | |
| 1099 | + background: transparent; | |
| 1100 | +} | |
| 1101 | +.jstree-default-dark-small.jstree-rtl .jstree-node { | |
| 1102 | + background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAACAQMAAABv1h6PAAAABlBMVEUAAACZmZl+9SADAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMHBgAAiABBI4gz9AAAAABJRU5ErkJggg=="); | |
| 1103 | +} | |
| 1104 | +.jstree-default-dark-small.jstree-rtl .jstree-last { | |
| 1105 | + background: transparent; | |
| 1106 | +} | |
| 1107 | +.jstree-default-dark-large.jstree-rtl .jstree-node { | |
| 1108 | + background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAACAQMAAAAD0EyKAAAABlBMVEUAAACZmZl+9SADAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjgIIGBgABCgCBvVLXcAAAAABJRU5ErkJggg=="); | |
| 1109 | +} | |
| 1110 | +.jstree-default-dark-large.jstree-rtl .jstree-last { | |
| 1111 | + background: transparent; | |
| 1112 | +} | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/jstree/default-dark/style.min.css
0 → 100644
| 1 | +.jstree-node,.jstree-children,.jstree-container-ul{display:block;margin:0;padding:0;list-style-type:none;list-style-image:none}.jstree-node{white-space:nowrap}.jstree-anchor{display:inline-block;color:#000;white-space:nowrap;padding:0 4px 0 1px;margin:0;vertical-align:top}.jstree-anchor:focus{outline:0}.jstree-anchor,.jstree-anchor:link,.jstree-anchor:visited,.jstree-anchor:hover,.jstree-anchor:active{text-decoration:none;color:inherit}.jstree-icon{display:inline-block;text-decoration:none;margin:0;padding:0;vertical-align:top;text-align:center}.jstree-icon:empty{display:inline-block;text-decoration:none;margin:0;padding:0;vertical-align:top;text-align:center}.jstree-ocl{cursor:pointer}.jstree-leaf>.jstree-ocl{cursor:default}.jstree .jstree-open>.jstree-children{display:block}.jstree .jstree-closed>.jstree-children,.jstree .jstree-leaf>.jstree-children{display:none}.jstree-anchor>.jstree-themeicon{margin-right:2px}.jstree-no-icons .jstree-themeicon,.jstree-anchor>.jstree-themeicon-hidden{display:none}.jstree-hidden,.jstree-node.jstree-hidden{display:none}.jstree-rtl .jstree-anchor{padding:0 1px 0 4px}.jstree-rtl .jstree-anchor>.jstree-themeicon{margin-left:2px;margin-right:0}.jstree-rtl .jstree-node{margin-left:0}.jstree-rtl .jstree-container-ul>.jstree-node{margin-right:0}.jstree-wholerow-ul{position:relative;display:inline-block;min-width:100%}.jstree-wholerow-ul .jstree-leaf>.jstree-ocl{cursor:pointer}.jstree-wholerow-ul .jstree-anchor,.jstree-wholerow-ul .jstree-icon{position:relative}.jstree-wholerow-ul .jstree-wholerow{width:100%;cursor:pointer;position:absolute;left:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vakata-context{display:none}.vakata-context,.vakata-context ul{margin:0;padding:2px;position:absolute;background:#f5f5f5;border:1px solid #979797;box-shadow:2px 2px 2px #999}.vakata-context ul{list-style:none;left:100%;margin-top:-2.7em;margin-left:-4px}.vakata-context .vakata-context-right ul{left:auto;right:100%;margin-left:auto;margin-right:-4px}.vakata-context li{list-style:none}.vakata-context li>a{display:block;padding:0 2em;text-decoration:none;width:auto;color:#000;white-space:nowrap;line-height:2.4em;text-shadow:1px 1px 0 #fff;border-radius:1px}.vakata-context li>a:hover{position:relative;background-color:#e8eff7;box-shadow:0 0 2px #0a6aa1}.vakata-context li>a.vakata-context-parent{background-image:url(data:image/gif;base64,R0lGODlhCwAHAIAAACgoKP///yH5BAEAAAEALAAAAAALAAcAAAIORI4JlrqN1oMSnmmZDQUAOw==);background-position:right center;background-repeat:no-repeat}.vakata-context li>a:focus{outline:0}.vakata-context .vakata-context-hover>a{position:relative;background-color:#e8eff7;box-shadow:0 0 2px #0a6aa1}.vakata-context .vakata-context-separator>a,.vakata-context .vakata-context-separator>a:hover{background:#fff;border:0;border-top:1px solid #e2e3e3;height:1px;min-height:1px;max-height:1px;padding:0;margin:0 0 0 2.4em;border-left:1px solid #e0e0e0;text-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;border-radius:0}.vakata-context .vakata-contextmenu-disabled a,.vakata-context .vakata-contextmenu-disabled a:hover{color:silver;background-color:transparent;border:0;box-shadow:0 0 0}.vakata-context li>a>i{text-decoration:none;display:inline-block;width:2.4em;height:2.4em;background:0 0;margin:0 0 0 -2em;vertical-align:top;text-align:center;line-height:2.4em}.vakata-context li>a>i:empty{width:2.4em;line-height:2.4em}.vakata-context li>a .vakata-contextmenu-sep{display:inline-block;width:1px;height:2.4em;background:#fff;margin:0 .5em 0 0;border-left:1px solid #e2e3e3}.vakata-context .vakata-contextmenu-shortcut{font-size:.8em;color:silver;opacity:.5;display:none}.vakata-context-rtl ul{left:auto;right:100%;margin-left:auto;margin-right:-4px}.vakata-context-rtl li>a.vakata-context-parent{background-image:url(data:image/gif;base64,R0lGODlhCwAHAIAAACgoKP///yH5BAEAAAEALAAAAAALAAcAAAINjI+AC7rWHIsPtmoxLAA7);background-position:left center;background-repeat:no-repeat}.vakata-context-rtl .vakata-context-separator>a{margin:0 2.4em 0 0;border-left:0;border-right:1px solid #e2e3e3}.vakata-context-rtl .vakata-context-left ul{right:auto;left:100%;margin-left:-4px;margin-right:auto}.vakata-context-rtl li>a>i{margin:0 -2em 0 0}.vakata-context-rtl li>a .vakata-contextmenu-sep{margin:0 0 0 .5em;border-left-color:#fff;background:#e2e3e3}#jstree-marker{position:absolute;top:0;left:0;margin:-5px 0 0 0;padding:0;border-right:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid;width:0;height:0;font-size:0;line-height:0}#jstree-dnd{line-height:16px;margin:0;padding:4px}#jstree-dnd .jstree-icon,#jstree-dnd .jstree-copy{display:inline-block;text-decoration:none;margin:0 2px 0 0;padding:0;width:16px;height:16px}#jstree-dnd .jstree-ok{background:green}#jstree-dnd .jstree-er{background:red}#jstree-dnd .jstree-copy{margin:0 2px}.jstree-default-dark .jstree-node,.jstree-default-dark .jstree-icon{background-repeat:no-repeat;background-color:transparent}.jstree-default-dark .jstree-anchor,.jstree-default-dark .jstree-wholerow{transition:background-color .15s,box-shadow .15s}.jstree-default-dark .jstree-hovered{background:#555;border-radius:2px;box-shadow:inset 0 0 1px #555}.jstree-default-dark .jstree-context{background:#555;border-radius:2px;box-shadow:inset 0 0 1px #555}.jstree-default-dark .jstree-clicked{background:#5fa2db;border-radius:2px;box-shadow:inset 0 0 1px #666}.jstree-default-dark .jstree-no-icons .jstree-anchor>.jstree-themeicon{display:none}.jstree-default-dark .jstree-disabled{background:0 0;color:#666}.jstree-default-dark .jstree-disabled.jstree-hovered{background:0 0;box-shadow:none}.jstree-default-dark .jstree-disabled.jstree-clicked{background:#333}.jstree-default-dark .jstree-disabled>.jstree-icon{opacity:.8;filter:url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'jstree-grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#jstree-grayscale");filter:gray;-webkit-filter:grayscale(100%)}.jstree-default-dark .jstree-search{font-style:italic;color:#fff;font-weight:700}.jstree-default-dark .jstree-no-checkboxes .jstree-checkbox{display:none!important}.jstree-default-dark.jstree-checkbox-no-clicked .jstree-clicked{background:0 0;box-shadow:none}.jstree-default-dark.jstree-checkbox-no-clicked .jstree-clicked.jstree-hovered{background:#555}.jstree-default-dark.jstree-checkbox-no-clicked>.jstree-wholerow-ul .jstree-wholerow-clicked{background:0 0}.jstree-default-dark.jstree-checkbox-no-clicked>.jstree-wholerow-ul .jstree-wholerow-clicked.jstree-wholerow-hovered{background:#555}.jstree-default-dark>.jstree-striped{min-width:100%;display:inline-block;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAkCAMAAAB/qqA+AAAABlBMVEUAAAAAAAClZ7nPAAAAAnRSTlMNAMM9s3UAAAAXSURBVHjajcEBAQAAAIKg/H/aCQZ70AUBjAATb6YPDgAAAABJRU5ErkJggg==) left top repeat}.jstree-default-dark>.jstree-wholerow-ul .jstree-hovered,.jstree-default-dark>.jstree-wholerow-ul .jstree-clicked{background:0 0;box-shadow:none;border-radius:0}.jstree-default-dark .jstree-wholerow{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.jstree-default-dark .jstree-wholerow-hovered{background:#555}.jstree-default-dark .jstree-wholerow-clicked{background:#5fa2db;background:-webkit-linear-gradient(top,#5fa2db 0,#5fa2db 100%);background:linear-gradient(to bottom,#5fa2db 0,#5fa2db 100%)}.jstree-default-dark .jstree-node{min-height:24px;line-height:24px;margin-left:24px;min-width:24px}.jstree-default-dark .jstree-anchor{line-height:24px;height:24px}.jstree-default-dark .jstree-icon{width:24px;height:24px;line-height:24px}.jstree-default-dark .jstree-icon:empty{width:24px;height:24px;line-height:24px}.jstree-default-dark.jstree-rtl .jstree-node{margin-right:24px}.jstree-default-dark .jstree-wholerow{height:24px}.jstree-default-dark .jstree-node,.jstree-default-dark .jstree-icon{background-image:url(32px.png)}.jstree-default-dark .jstree-node{background-position:-292px -4px;background-repeat:repeat-y}.jstree-default-dark .jstree-last{background:0 0}.jstree-default-dark .jstree-open>.jstree-ocl{background-position:-132px -4px}.jstree-default-dark .jstree-closed>.jstree-ocl{background-position:-100px -4px}.jstree-default-dark .jstree-leaf>.jstree-ocl{background-position:-68px -4px}.jstree-default-dark .jstree-themeicon{background-position:-260px -4px}.jstree-default-dark>.jstree-no-dots .jstree-node,.jstree-default-dark>.jstree-no-dots .jstree-leaf>.jstree-ocl{background:0 0}.jstree-default-dark>.jstree-no-dots .jstree-open>.jstree-ocl{background-position:-36px -4px}.jstree-default-dark>.jstree-no-dots .jstree-closed>.jstree-ocl{background-position:-4px -4px}.jstree-default-dark .jstree-disabled{background:0 0}.jstree-default-dark .jstree-disabled.jstree-hovered{background:0 0}.jstree-default-dark .jstree-disabled.jstree-clicked{background:#efefef}.jstree-default-dark .jstree-checkbox{background-position:-164px -4px}.jstree-default-dark .jstree-checkbox:hover{background-position:-164px -36px}.jstree-default-dark.jstree-checkbox-selection .jstree-clicked>.jstree-checkbox,.jstree-default-dark .jstree-checked>.jstree-checkbox{background-position:-228px -4px}.jstree-default-dark.jstree-checkbox-selection .jstree-clicked>.jstree-checkbox:hover,.jstree-default-dark .jstree-checked>.jstree-checkbox:hover{background-position:-228px -36px}.jstree-default-dark .jstree-anchor>.jstree-undetermined{background-position:-196px -4px}.jstree-default-dark .jstree-anchor>.jstree-undetermined:hover{background-position:-196px -36px}.jstree-default-dark .jstree-checkbox-disabled{opacity:.8;filter:url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'jstree-grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#jstree-grayscale");filter:gray;-webkit-filter:grayscale(100%)}.jstree-default-dark>.jstree-striped{background-size:auto 48px}.jstree-default-dark.jstree-rtl .jstree-node{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg==);background-position:100% 1px;background-repeat:repeat-y}.jstree-default-dark.jstree-rtl .jstree-last{background:0 0}.jstree-default-dark.jstree-rtl .jstree-open>.jstree-ocl{background-position:-132px -36px}.jstree-default-dark.jstree-rtl .jstree-closed>.jstree-ocl{background-position:-100px -36px}.jstree-default-dark.jstree-rtl .jstree-leaf>.jstree-ocl{background-position:-68px -36px}.jstree-default-dark.jstree-rtl>.jstree-no-dots .jstree-node,.jstree-default-dark.jstree-rtl>.jstree-no-dots .jstree-leaf>.jstree-ocl{background:0 0}.jstree-default-dark.jstree-rtl>.jstree-no-dots .jstree-open>.jstree-ocl{background-position:-36px -36px}.jstree-default-dark.jstree-rtl>.jstree-no-dots .jstree-closed>.jstree-ocl{background-position:-4px -36px}.jstree-default-dark .jstree-themeicon-custom{background-color:transparent;background-image:none;background-position:0 0}.jstree-default-dark>.jstree-container-ul .jstree-loading>.jstree-ocl{background:url(throbber.gif) center center no-repeat}.jstree-default-dark .jstree-file{background:url(32px.png) -100px -68px no-repeat}.jstree-default-dark .jstree-folder{background:url(32px.png) -260px -4px no-repeat}.jstree-default-dark>.jstree-container-ul>.jstree-node{margin-left:0;margin-right:0}#jstree-dnd.jstree-default-dark{line-height:24px;padding:0 4px}#jstree-dnd.jstree-default-dark .jstree-ok,#jstree-dnd.jstree-default-dark .jstree-er{background-image:url(32px.png);background-repeat:no-repeat;background-color:transparent}#jstree-dnd.jstree-default-dark i{background:0 0;width:24px;height:24px;line-height:24px}#jstree-dnd.jstree-default-dark .jstree-ok{background-position:-4px -68px}#jstree-dnd.jstree-default-dark .jstree-er{background-position:-36px -68px}.jstree-default-dark.jstree-rtl .jstree-node{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg==)}.jstree-default-dark.jstree-rtl .jstree-last{background:0 0}.jstree-default-dark-small .jstree-node{min-height:18px;line-height:18px;margin-left:18px;min-width:18px}.jstree-default-dark-small .jstree-anchor{line-height:18px;height:18px}.jstree-default-dark-small .jstree-icon{width:18px;height:18px;line-height:18px}.jstree-default-dark-small .jstree-icon:empty{width:18px;height:18px;line-height:18px}.jstree-default-dark-small.jstree-rtl .jstree-node{margin-right:18px}.jstree-default-dark-small .jstree-wholerow{height:18px}.jstree-default-dark-small .jstree-node,.jstree-default-dark-small .jstree-icon{background-image:url(32px.png)}.jstree-default-dark-small .jstree-node{background-position:-295px -7px;background-repeat:repeat-y}.jstree-default-dark-small .jstree-last{background:0 0}.jstree-default-dark-small .jstree-open>.jstree-ocl{background-position:-135px -7px}.jstree-default-dark-small .jstree-closed>.jstree-ocl{background-position:-103px -7px}.jstree-default-dark-small .jstree-leaf>.jstree-ocl{background-position:-71px -7px}.jstree-default-dark-small .jstree-themeicon{background-position:-263px -7px}.jstree-default-dark-small>.jstree-no-dots .jstree-node,.jstree-default-dark-small>.jstree-no-dots .jstree-leaf>.jstree-ocl{background:0 0}.jstree-default-dark-small>.jstree-no-dots .jstree-open>.jstree-ocl{background-position:-39px -7px}.jstree-default-dark-small>.jstree-no-dots .jstree-closed>.jstree-ocl{background-position:-7px -7px}.jstree-default-dark-small .jstree-disabled{background:0 0}.jstree-default-dark-small .jstree-disabled.jstree-hovered{background:0 0}.jstree-default-dark-small .jstree-disabled.jstree-clicked{background:#efefef}.jstree-default-dark-small .jstree-checkbox{background-position:-167px -7px}.jstree-default-dark-small .jstree-checkbox:hover{background-position:-167px -39px}.jstree-default-dark-small.jstree-checkbox-selection .jstree-clicked>.jstree-checkbox,.jstree-default-dark-small .jstree-checked>.jstree-checkbox{background-position:-231px -7px}.jstree-default-dark-small.jstree-checkbox-selection .jstree-clicked>.jstree-checkbox:hover,.jstree-default-dark-small .jstree-checked>.jstree-checkbox:hover{background-position:-231px -39px}.jstree-default-dark-small .jstree-anchor>.jstree-undetermined{background-position:-199px -7px}.jstree-default-dark-small .jstree-anchor>.jstree-undetermined:hover{background-position:-199px -39px}.jstree-default-dark-small .jstree-checkbox-disabled{opacity:.8;filter:url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'jstree-grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#jstree-grayscale");filter:gray;-webkit-filter:grayscale(100%)}.jstree-default-dark-small>.jstree-striped{background-size:auto 36px}.jstree-default-dark-small.jstree-rtl .jstree-node{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg==);background-position:100% 1px;background-repeat:repeat-y}.jstree-default-dark-small.jstree-rtl .jstree-last{background:0 0}.jstree-default-dark-small.jstree-rtl .jstree-open>.jstree-ocl{background-position:-135px -39px}.jstree-default-dark-small.jstree-rtl .jstree-closed>.jstree-ocl{background-position:-103px -39px}.jstree-default-dark-small.jstree-rtl .jstree-leaf>.jstree-ocl{background-position:-71px -39px}.jstree-default-dark-small.jstree-rtl>.jstree-no-dots .jstree-node,.jstree-default-dark-small.jstree-rtl>.jstree-no-dots .jstree-leaf>.jstree-ocl{background:0 0}.jstree-default-dark-small.jstree-rtl>.jstree-no-dots .jstree-open>.jstree-ocl{background-position:-39px -39px}.jstree-default-dark-small.jstree-rtl>.jstree-no-dots .jstree-closed>.jstree-ocl{background-position:-7px -39px}.jstree-default-dark-small .jstree-themeicon-custom{background-color:transparent;background-image:none;background-position:0 0}.jstree-default-dark-small>.jstree-container-ul .jstree-loading>.jstree-ocl{background:url(throbber.gif) center center no-repeat}.jstree-default-dark-small .jstree-file{background:url(32px.png) -103px -71px no-repeat}.jstree-default-dark-small .jstree-folder{background:url(32px.png) -263px -7px no-repeat}.jstree-default-dark-small>.jstree-container-ul>.jstree-node{margin-left:0;margin-right:0}#jstree-dnd.jstree-default-dark-small{line-height:18px;padding:0 4px}#jstree-dnd.jstree-default-dark-small .jstree-ok,#jstree-dnd.jstree-default-dark-small .jstree-er{background-image:url(32px.png);background-repeat:no-repeat;background-color:transparent}#jstree-dnd.jstree-default-dark-small i{background:0 0;width:18px;height:18px;line-height:18px}#jstree-dnd.jstree-default-dark-small .jstree-ok{background-position:-7px -71px}#jstree-dnd.jstree-default-dark-small .jstree-er{background-position:-39px -71px}.jstree-default-dark-small.jstree-rtl .jstree-node{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAACAQMAAABv1h6PAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMHBgAAiABBI4gz9AAAAABJRU5ErkJggg==)}.jstree-default-dark-small.jstree-rtl .jstree-last{background:0 0}.jstree-default-dark-large .jstree-node{min-height:32px;line-height:32px;margin-left:32px;min-width:32px}.jstree-default-dark-large .jstree-anchor{line-height:32px;height:32px}.jstree-default-dark-large .jstree-icon{width:32px;height:32px;line-height:32px}.jstree-default-dark-large .jstree-icon:empty{width:32px;height:32px;line-height:32px}.jstree-default-dark-large.jstree-rtl .jstree-node{margin-right:32px}.jstree-default-dark-large .jstree-wholerow{height:32px}.jstree-default-dark-large .jstree-node,.jstree-default-dark-large .jstree-icon{background-image:url(32px.png)}.jstree-default-dark-large .jstree-node{background-position:-288px 0;background-repeat:repeat-y}.jstree-default-dark-large .jstree-last{background:0 0}.jstree-default-dark-large .jstree-open>.jstree-ocl{background-position:-128px 0}.jstree-default-dark-large .jstree-closed>.jstree-ocl{background-position:-96px 0}.jstree-default-dark-large .jstree-leaf>.jstree-ocl{background-position:-64px 0}.jstree-default-dark-large .jstree-themeicon{background-position:-256px 0}.jstree-default-dark-large>.jstree-no-dots .jstree-node,.jstree-default-dark-large>.jstree-no-dots .jstree-leaf>.jstree-ocl{background:0 0}.jstree-default-dark-large>.jstree-no-dots .jstree-open>.jstree-ocl{background-position:-32px 0}.jstree-default-dark-large>.jstree-no-dots .jstree-closed>.jstree-ocl{background-position:0 0}.jstree-default-dark-large .jstree-disabled{background:0 0}.jstree-default-dark-large .jstree-disabled.jstree-hovered{background:0 0}.jstree-default-dark-large .jstree-disabled.jstree-clicked{background:#efefef}.jstree-default-dark-large .jstree-checkbox{background-position:-160px 0}.jstree-default-dark-large .jstree-checkbox:hover{background-position:-160px -32px}.jstree-default-dark-large.jstree-checkbox-selection .jstree-clicked>.jstree-checkbox,.jstree-default-dark-large .jstree-checked>.jstree-checkbox{background-position:-224px 0}.jstree-default-dark-large.jstree-checkbox-selection .jstree-clicked>.jstree-checkbox:hover,.jstree-default-dark-large .jstree-checked>.jstree-checkbox:hover{background-position:-224px -32px}.jstree-default-dark-large .jstree-anchor>.jstree-undetermined{background-position:-192px 0}.jstree-default-dark-large .jstree-anchor>.jstree-undetermined:hover{background-position:-192px -32px}.jstree-default-dark-large .jstree-checkbox-disabled{opacity:.8;filter:url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'jstree-grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#jstree-grayscale");filter:gray;-webkit-filter:grayscale(100%)}.jstree-default-dark-large>.jstree-striped{background-size:auto 64px}.jstree-default-dark-large.jstree-rtl .jstree-node{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg==);background-position:100% 1px;background-repeat:repeat-y}.jstree-default-dark-large.jstree-rtl .jstree-last{background:0 0}.jstree-default-dark-large.jstree-rtl .jstree-open>.jstree-ocl{background-position:-128px -32px}.jstree-default-dark-large.jstree-rtl .jstree-closed>.jstree-ocl{background-position:-96px -32px}.jstree-default-dark-large.jstree-rtl .jstree-leaf>.jstree-ocl{background-position:-64px -32px}.jstree-default-dark-large.jstree-rtl>.jstree-no-dots .jstree-node,.jstree-default-dark-large.jstree-rtl>.jstree-no-dots .jstree-leaf>.jstree-ocl{background:0 0}.jstree-default-dark-large.jstree-rtl>.jstree-no-dots .jstree-open>.jstree-ocl{background-position:-32px -32px}.jstree-default-dark-large.jstree-rtl>.jstree-no-dots .jstree-closed>.jstree-ocl{background-position:0 -32px}.jstree-default-dark-large .jstree-themeicon-custom{background-color:transparent;background-image:none;background-position:0 0}.jstree-default-dark-large>.jstree-container-ul .jstree-loading>.jstree-ocl{background:url(throbber.gif) center center no-repeat}.jstree-default-dark-large .jstree-file{background:url(32px.png) -96px -64px no-repeat}.jstree-default-dark-large .jstree-folder{background:url(32px.png) -256px 0 no-repeat}.jstree-default-dark-large>.jstree-container-ul>.jstree-node{margin-left:0;margin-right:0}#jstree-dnd.jstree-default-dark-large{line-height:32px;padding:0 4px}#jstree-dnd.jstree-default-dark-large .jstree-ok,#jstree-dnd.jstree-default-dark-large .jstree-er{background-image:url(32px.png);background-repeat:no-repeat;background-color:transparent}#jstree-dnd.jstree-default-dark-large i{background:0 0;width:32px;height:32px;line-height:32px}#jstree-dnd.jstree-default-dark-large .jstree-ok{background-position:0 -64px}#jstree-dnd.jstree-default-dark-large .jstree-er{background-position:-32px -64px}.jstree-default-dark-large.jstree-rtl .jstree-node{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAACAQMAAAAD0EyKAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjgIIGBgABCgCBvVLXcAAAAABJRU5ErkJggg==)}.jstree-default-dark-large.jstree-rtl .jstree-last{background:0 0}@media (max-width:768px){#jstree-dnd.jstree-dnd-responsive{line-height:40px;font-weight:700;font-size:1.1em;text-shadow:1px 1px #fff}#jstree-dnd.jstree-dnd-responsive>i{background:0 0;width:40px;height:40px}#jstree-dnd.jstree-dnd-responsive>.jstree-ok{background-image:url(40px.png);background-position:0 -200px;background-size:120px 240px}#jstree-dnd.jstree-dnd-responsive>.jstree-er{background-image:url(40px.png);background-position:-40px -200px;background-size:120px 240px}#jstree-marker.jstree-dnd-responsive{border-left-width:10px;border-top-width:10px;border-bottom-width:10px;margin-top:-10px}}@media (max-width:768px){.jstree-default-dark-responsive .jstree-icon{background-image:url(40px.png)}.jstree-default-dark-responsive .jstree-node,.jstree-default-dark-responsive .jstree-leaf>.jstree-ocl{background:0 0}.jstree-default-dark-responsive .jstree-node{min-height:40px;line-height:40px;margin-left:40px;min-width:40px;white-space:nowrap}.jstree-default-dark-responsive .jstree-anchor{line-height:40px;height:40px}.jstree-default-dark-responsive .jstree-icon,.jstree-default-dark-responsive .jstree-icon:empty{width:40px;height:40px;line-height:40px}.jstree-default-dark-responsive>.jstree-container-ul>.jstree-node{margin-left:0}.jstree-default-dark-responsive.jstree-rtl .jstree-node{margin-left:0;margin-right:40px;background:0 0}.jstree-default-dark-responsive.jstree-rtl .jstree-container-ul>.jstree-node{margin-right:0}.jstree-default-dark-responsive .jstree-ocl,.jstree-default-dark-responsive .jstree-themeicon,.jstree-default-dark-responsive .jstree-checkbox{background-size:120px 240px}.jstree-default-dark-responsive .jstree-leaf>.jstree-ocl,.jstree-default-dark-responsive.jstree-rtl .jstree-leaf>.jstree-ocl{background:0 0}.jstree-default-dark-responsive .jstree-open>.jstree-ocl{background-position:0 0!important}.jstree-default-dark-responsive .jstree-closed>.jstree-ocl{background-position:0 -40px!important}.jstree-default-dark-responsive.jstree-rtl .jstree-closed>.jstree-ocl{background-position:-40px 0!important}.jstree-default-dark-responsive .jstree-themeicon{background-position:-40px -40px}.jstree-default-dark-responsive .jstree-checkbox,.jstree-default-dark-responsive .jstree-checkbox:hover{background-position:-40px -80px}.jstree-default-dark-responsive.jstree-checkbox-selection .jstree-clicked>.jstree-checkbox,.jstree-default-dark-responsive.jstree-checkbox-selection .jstree-clicked>.jstree-checkbox:hover,.jstree-default-dark-responsive .jstree-checked>.jstree-checkbox,.jstree-default-dark-responsive .jstree-checked>.jstree-checkbox:hover{background-position:0 -80px}.jstree-default-dark-responsive .jstree-anchor>.jstree-undetermined,.jstree-default-dark-responsive .jstree-anchor>.jstree-undetermined:hover{background-position:0 -120px}.jstree-default-dark-responsive .jstree-anchor{font-weight:700;font-size:1.1em;text-shadow:1px 1px #fff}.jstree-default-dark-responsive>.jstree-striped{background:0 0}.jstree-default-dark-responsive .jstree-wholerow{border-top:1px solid #666;border-bottom:1px solid #000;background:#333;height:40px}.jstree-default-dark-responsive .jstree-wholerow-hovered{background:#555}.jstree-default-dark-responsive .jstree-wholerow-clicked{background:#5fa2db}.jstree-default-dark-responsive .jstree-children .jstree-last>.jstree-wholerow{box-shadow:inset 0 -6px 3px -5px #111}.jstree-default-dark-responsive .jstree-children .jstree-open>.jstree-wholerow{box-shadow:inset 0 6px 3px -5px #111;border-top:0}.jstree-default-dark-responsive .jstree-children .jstree-open+.jstree-open{box-shadow:none}.jstree-default-dark-responsive .jstree-node,.jstree-default-dark-responsive .jstree-icon,.jstree-default-dark-responsive .jstree-node>.jstree-ocl,.jstree-default-dark-responsive .jstree-themeicon,.jstree-default-dark-responsive .jstree-checkbox{background-image:url(40px.png);background-size:120px 240px}.jstree-default-dark-responsive .jstree-node{background-position:-80px 0;background-repeat:repeat-y}.jstree-default-dark-responsive .jstree-last{background:0 0}.jstree-default-dark-responsive .jstree-leaf>.jstree-ocl{background-position:-40px -120px}.jstree-default-dark-responsive .jstree-last>.jstree-ocl{background-position:-40px -160px}.jstree-default-dark-responsive .jstree-themeicon-custom{background-color:transparent;background-image:none;background-position:0 0}.jstree-default-dark-responsive .jstree-file{background:url(40px.png) 0 -160px no-repeat;background-size:120px 240px}.jstree-default-dark-responsive .jstree-folder{background:url(40px.png) -40px -40px no-repeat;background-size:120px 240px}.jstree-default-dark-responsive>.jstree-container-ul>.jstree-node{margin-left:0;margin-right:0}}.jstree-default-dark{background:#333}.jstree-default-dark .jstree-anchor{color:#999;text-shadow:1px 1px 0 rgba(0,0,0,.5)}.jstree-default-dark .jstree-clicked,.jstree-default-dark .jstree-checked{color:#fff}.jstree-default-dark .jstree-hovered{color:#fff}#jstree-marker.jstree-default-dark{border-left-color:#999;background:0 0}.jstree-default-dark .jstree-anchor>.jstree-icon{opacity:.75}.jstree-default-dark .jstree-clicked>.jstree-icon,.jstree-default-dark .jstree-hovered>.jstree-icon,.jstree-default-dark .jstree-checked>.jstree-icon{opacity:1}.jstree-default-dark.jstree-rtl .jstree-node{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAACZmZl+9SADAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg==)}.jstree-default-dark.jstree-rtl .jstree-last{background:0 0}.jstree-default-dark-small.jstree-rtl .jstree-node{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAACAQMAAABv1h6PAAAABlBMVEUAAACZmZl+9SADAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMHBgAAiABBI4gz9AAAAABJRU5ErkJggg==)}.jstree-default-dark-small.jstree-rtl .jstree-last{background:0 0}.jstree-default-dark-large.jstree-rtl .jstree-node{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAACAQMAAAAD0EyKAAAABlBMVEUAAACZmZl+9SADAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjgIIGBgABCgCBvVLXcAAAAABJRU5ErkJggg==)}.jstree-default-dark-large.jstree-rtl .jstree-last{background:0 0} | |
| 0 | 2 | \ No newline at end of file | ... | ... |
src/main/resources/static/real_control_v2_mobile/assets/plugins/jstree/default-dark/throbber.gif
0 → 100644
1.68 KB
src/main/resources/static/real_control_v2_mobile/assets/plugins/jstree/default/32px.png
0 → 100644
3.05 KB
src/main/resources/static/real_control_v2_mobile/assets/plugins/jstree/default/40px.png
0 → 100644
1.84 KB